Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c1e6a6422f729c76392bcb9de582997aba8400de 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-ssh7082654115577815401.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-ssh16450134001879744904.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/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh539251481333742322.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-ssh7535811127464623605.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/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8976974943576628549.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 ‘prd-ubuntu20.04-docker-8c-8g-33721’ is offline ‘prd-ubuntu20.04-docker-8c-8g-33722’ is offline ‘prd-ubuntu20.04-docker-8c-8g-33723’ is offline ‘prd-ubuntu20.04-docker-8c-8g-33728’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-33720’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-33725’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-33726’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-33752 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/oundry_app-functions-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.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 Avoid second fetch Checking out Revision c1e6a6422f729c76392bcb9de582997aba8400de (main) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c1e6a6422f729c76392bcb9de582997aba8400de # timeout=10 Commit message: "build: Update to latest versions of go-mods (#1106)" > git rev-list --no-walk 8d5a86b954a16b545bb232ec91295e10d2160481 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:24:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:24:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:24:27 ========================================================= 21:24:27 EdgeX Global Pipelines Version Info 21:24:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:24:28 ------------------- 21:24:28 stable info: 21:24:28 ------------------- 21:24:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:24:28 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 21:24:28 Message: update stable to v1.0.227 21:24:29 ------------------- 21:24:29 experimental info: 21:24:29 ------------------- 21:24:29 Commited By: **** collab-it+edgex@linuxfoundation.org 21:24:29 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 21:24:29 Message: update experimental to v1.0.227 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:24:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 21:24:29 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 21:24:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:24:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:24:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:24:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 21:24:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:24:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:24:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:24:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:24:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:24:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 21:24:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:24:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:24:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 21:24:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:24:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:24:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:24:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:24:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:24:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:24:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 21:24:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:24:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:24:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 21:24:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:24:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:24:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:24:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:24:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c1e6a6422f729c76392bcb9de582997aba8400de [Pipeline] echo 21:24:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c1e6a64 [Pipeline] echo 21:24:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:24:30 + git rev-list -1 --merges c1e6a6422f729c76392bcb9de582997aba8400de~1..c1e6a6422f729c76392bcb9de582997aba8400de [Pipeline] echo 21:24:30 -----------> git rev-list -1 --merges c1e6a6422f729c76392bcb9de582997aba8400de~1..c1e6a6422f729c76392bcb9de582997aba8400de c1e6a6422f729c76392bcb9de582997aba8400de [false] [Pipeline] sh 21:24:30 + git log --format=format:%s -1 c1e6a6422f729c76392bcb9de582997aba8400de [Pipeline] echo 21:24:30 ========================================================= 21:24:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:24:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:24:30 + git log --format=format:%s -1 c1e6a6422f729c76392bcb9de582997aba8400de [Pipeline] echo 21:24:30 [semverPrep] GIT_COMMIT: c1e6a6422f729c76392bcb9de582997aba8400de, Commit Message: build: Update to latest versions of go-mods (#1106) [Pipeline] echo 21:24:30 [semverPrep] This is not a build commit. [Pipeline] sh 21:24:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:24:31 + grep -v github /etc/ssh/ssh_known_hosts 21:24:31 + [ -e /tmp/ssh_known_hosts ] 21:24:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:24:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:24:31 + sudo tee -a /etc/ssh/ssh_known_hosts 21:24:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 21:24:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:24:31 21:24:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:24:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:24:32 latest: Pulling from edgex-devops/py-git-semver 21:24:32 1fe172e4850f: Pulling fs layer 21:24:32 caf521ccaac6: Pulling fs layer 21:24:32 3ead6fa29328: Pulling fs layer 21:24:32 5c2a1cbceb83: Pulling fs layer 21:24:32 a8d5f1318db7: Pulling fs layer 21:24:32 c427282e49a2: Pulling fs layer 21:24:32 1827001aaf11: Pulling fs layer 21:24:32 0714d37db230: Pulling fs layer 21:24:32 ac28cf19c067: Pulling fs layer 21:24:32 ca983d60f3e2: Pulling fs layer 21:24:32 9f894cec8388: Pulling fs layer 21:24:32 1827001aaf11: Waiting 21:24:32 0714d37db230: Waiting 21:24:32 9f894cec8388: Waiting 21:24:32 ca983d60f3e2: Waiting 21:24:32 5c2a1cbceb83: Waiting 21:24:32 a8d5f1318db7: Waiting 21:24:32 caf521ccaac6: Verifying Checksum 21:24:32 caf521ccaac6: Download complete 21:24:32 5c2a1cbceb83: Verifying Checksum 21:24:32 5c2a1cbceb83: Download complete 21:24:32 a8d5f1318db7: Verifying Checksum 21:24:32 a8d5f1318db7: Download complete 21:24:32 c427282e49a2: Download complete 21:24:32 3ead6fa29328: Verifying Checksum 21:24:32 3ead6fa29328: Download complete 21:24:32 0714d37db230: Download complete 21:24:32 ac28cf19c067: Download complete 21:24:32 ca983d60f3e2: Verifying Checksum 21:24:32 ca983d60f3e2: Download complete 21:24:32 9f894cec8388: Verifying Checksum 21:24:32 9f894cec8388: Download complete 21:24:32 1fe172e4850f: Verifying Checksum 21:24:32 1fe172e4850f: Download complete 21:24:32 1827001aaf11: Verifying Checksum 21:24:32 1827001aaf11: Download complete 21:24:34 1fe172e4850f: Pull complete 21:24:34 caf521ccaac6: Pull complete 21:24:34 3ead6fa29328: Pull complete 21:24:34 5c2a1cbceb83: Pull complete 21:24:35 a8d5f1318db7: Pull complete 21:24:35 c427282e49a2: Pull complete 21:24:37 1827001aaf11: Pull complete 21:24:37 0714d37db230: Pull complete 21:24:37 ac28cf19c067: Pull complete 21:24:37 ca983d60f3e2: Pull complete 21:24:37 9f894cec8388: Pull complete 21:24:37 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 21:24:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:24:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 21:24:37 prd-ubuntu20.04-docker-8c-8g-33752 does not seem to be running inside a container 21:24:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 21:24:39 $ docker top 40d3f33498753bfa2cfefd6a33128120ec1ecb37be6c84ef6d278ee2b7095668 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:24:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:24:39 [ssh-agent] Looking for ssh-agent implementation... 21:24:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:24:40 $ docker exec 40d3f33498753bfa2cfefd6a33128120ec1ecb37be6c84ef6d278ee2b7095668 ssh-agent 21:24:40 SSH_AUTH_SOCK=/tmp/ssh-WK8zMkTh437g/agent.33 21:24:40 SSH_AGENT_PID=39 21:24:40 Running ssh-add (command line suppressed) 21:24:40 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7208298491954238619.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7208298491954238619.key) 21:24:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:24:40 + git tag --points-at HEAD [Pipeline] } 21:24:40 $ docker exec --env ******** --env ******** 40d3f33498753bfa2cfefd6a33128120ec1ecb37be6c84ef6d278ee2b7095668 ssh-agent -k 21:24:40 unset SSH_AUTH_SOCK; 21:24:40 unset SSH_AGENT_PID; 21:24:40 echo Agent pid 39 killed; 21:24:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:24:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:24:40 [ssh-agent] Looking for ssh-agent implementation... 21:24:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:24:40 $ docker exec 40d3f33498753bfa2cfefd6a33128120ec1ecb37be6c84ef6d278ee2b7095668 ssh-agent 21:24:41 SSH_AUTH_SOCK=/tmp/ssh-hJAJwPmhOlbP/agent.72 21:24:41 SSH_AGENT_PID=78 21:24:41 Running ssh-add (command line suppressed) 21:24:41 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4352854156037210721.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4352854156037210721.key) 21:24:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:24:41 + git semver init 21:24:41 2022-04-28 21:24:41,723 [run_init] DEBUG init version:0.0.0 force:False 21:24:41 2022-04-28 21:24:41,723 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_app-functions-sdk-go_main/.semver 21:24:41 2022-04-28 21:24:41,724 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-functions-sdk-go.git /w/workspace/oundry_app-functions-sdk-go_main/.semver 21:24:41 2022-04-28 21:24:41,724 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-functions-sdk-go.git', '/w/workspace/oundry_app-functions-sdk-go_main/.semver'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) 21:24:43 2022-04-28 21:24:43,111 [append_file] DEBUG append to file:/w/workspace/oundry_app-functions-sdk-go_main/.git/info/exclude 21:24:43 2022-04-28 21:24:43,112 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:False 21:24:43 2022-04-28 21:24:43,112 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 21:24:43 2022-04-28 21:24:43,112 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 21:24:43 2.2.0-dev.53 [Pipeline] } 21:24:43 $ docker exec --env ******** --env ******** 40d3f33498753bfa2cfefd6a33128120ec1ecb37be6c84ef6d278ee2b7095668 ssh-agent -k 21:24:43 unset SSH_AUTH_SOCK; 21:24:43 unset SSH_AGENT_PID; 21:24:43 echo Agent pid 78 killed; 21:24:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:24:43 + git semver [Pipeline] } 21:24:43 $ docker stop --time=1 40d3f33498753bfa2cfefd6a33128120ec1ecb37be6c84ef6d278ee2b7095668 21:24:45 $ docker rm -f 40d3f33498753bfa2cfefd6a33128120ec1ecb37be6c84ef6d278ee2b7095668 [Pipeline] // withDockerContainer [Pipeline] sh 21:24:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:24:45 Stashed 1 file(s) [Pipeline] echo 21:24:45 [edgeXSemver]: initialized semver on version 2.2.0-dev.53 [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 21:24:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:24:46 ========================================================= 21:24:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 21:24:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 21:24:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 21:24:46 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 21:24:46 59bf1c3509f3: Pulling fs layer 21:24:46 666ba61612fd: Pulling fs layer 21:24:46 8ed8ca486205: Pulling fs layer 21:24:46 4fe6c5a15a65: Pulling fs layer 21:24:46 22a0e8bec74d: Pulling fs layer 21:24:46 ca2b28591e48: Pulling fs layer 21:24:46 a51346096db8: Pulling fs layer 21:24:46 daebc70d1ce1: Pulling fs layer 21:24:46 0e18a0eac166: Pulling fs layer 21:24:46 a51346096db8: Waiting 21:24:46 ca2b28591e48: Waiting 21:24:46 daebc70d1ce1: Waiting 21:24:46 0e18a0eac166: Waiting 21:24:46 4fe6c5a15a65: Waiting 21:24:46 22a0e8bec74d: Waiting 21:24:46 8ed8ca486205: Download complete 21:24:46 666ba61612fd: Download complete 21:24:46 22a0e8bec74d: Download complete 21:24:46 ca2b28591e48: Verifying Checksum 21:24:46 ca2b28591e48: Download complete 21:24:46 59bf1c3509f3: Verifying Checksum 21:24:46 59bf1c3509f3: Download complete 21:24:46 a51346096db8: Verifying Checksum 21:24:46 a51346096db8: Download complete 21:24:46 daebc70d1ce1: Verifying Checksum 21:24:46 daebc70d1ce1: Download complete 21:24:46 59bf1c3509f3: Pull complete 21:24:46 666ba61612fd: Pull complete 21:24:46 8ed8ca486205: Pull complete 21:24:47 0e18a0eac166: Verifying Checksum 21:24:47 0e18a0eac166: Download complete 21:24:47 4fe6c5a15a65: Verifying Checksum 21:24:47 4fe6c5a15a65: Download complete 21:24:51 4fe6c5a15a65: Pull complete 21:24:51 22a0e8bec74d: Pull complete 21:24:51 ca2b28591e48: Pull complete 21:24:51 a51346096db8: Pull complete 21:24:51 daebc70d1ce1: Pull complete 21:24:54 0e18a0eac166: Pull complete 21:24:54 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 21:24:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 21:24:54 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 21:24:54 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 21:24:54 + docker inspect -f . ci-base-image-x86_64 21:24:54 . [Pipeline] withDockerContainer 21:24:54 prd-ubuntu20.04-docker-8c-8g-33752 does not seem to be running inside a container 21:24:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:24:56 $ docker top 0a56bf99836abebb8a668fd65a920c82fd6ea8cde546ec44a48ab6bb36553118 -eo pid,comm [Pipeline] { [Pipeline] sh 21:24:57 + go version 21:24:57 go version go1.17.6 linux/amd64 [Pipeline] } 21:24:57 $ docker stop --time=1 0a56bf99836abebb8a668fd65a920c82fd6ea8cde546ec44a48ab6bb36553118 21:24:58 $ docker rm -f 0a56bf99836abebb8a668fd65a920c82fd6ea8cde546ec44a48ab6bb36553118 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:24:58 + docker inspect -f . ci-base-image-x86_64 21:24:58 . [Pipeline] withDockerContainer 21:24:58 prd-ubuntu20.04-docker-8c-8g-33752 does not seem to be running inside a container 21:24:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:24:59 $ docker top 63eba9acaf1bc5b98c582a9bada476be5aa38ca61f6b0e5439b4a78a630f7c9c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:24:59 + make test 21:24:59 make -C ./app-service-template build 21:24:59 make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 21:24:59 go mod tidy -compat=1.17 21:24:59 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 21:24:59 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0-dev.27 21:24:59 go: downloading github.com/stretchr/testify v1.7.1 21:24:59 go: downloading github.com/google/uuid v1.3.0 21:24:59 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0-dev.20 21:24:59 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0-dev.12 21:24:59 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0-dev.3 21:24:59 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 21:24:59 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 21:24:59 go: downloading github.com/gorilla/mux v1.8.0 21:24:59 go: downloading github.com/hashicorp/go-multierror v1.1.1 21:25:00 go: downloading github.com/davecgh/go-spew v1.1.1 21:25:00 go: downloading github.com/pmezard/go-difflib v1.0.0 21:25:00 go: downloading github.com/stretchr/objx v0.1.1 21:25:00 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 21:25:00 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0-dev.3 21:25:00 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0-dev.8 21:25:00 go: downloading github.com/go-kit/log v0.2.0 21:25:00 go: downloading github.com/go-playground/validator/v10 v10.10.1 21:25:00 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 21:25:00 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 21:25:00 go: downloading github.com/pelletier/go-toml v1.9.4 21:25:00 go: downloading github.com/mitchellh/copystructure v1.0.0 21:25:00 go: downloading github.com/hashicorp/errwrap v1.0.0 21:25:00 go: downloading github.com/hashicorp/consul/api v1.9.1 21:25:00 go: downloading github.com/gorilla/websocket v1.4.2 21:25:00 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 21:25:00 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 21:25:00 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 21:25:00 go: downloading github.com/go-redis/redis/v7 v7.3.0 21:25:00 go: downloading github.com/pebbe/zmq4 v1.2.7 21:25:00 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 21:25:00 go: downloading github.com/mitchellh/reflectwalk v1.0.0 21:25:00 go: downloading github.com/go-logfmt/logfmt v0.5.1 21:25:00 go: downloading github.com/x448/float16 v0.8.4 21:25:00 go: downloading github.com/go-playground/universal-translator v0.18.0 21:25:00 go: downloading github.com/leodido/go-urn v1.2.1 21:25:00 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 21:25:00 go: downloading golang.org/x/text v0.3.7 21:25:00 go: downloading github.com/go-playground/locales v0.14.0 21:25:00 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 21:25:00 go: downloading github.com/hashicorp/go-hclog v0.12.0 21:25:00 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 21:25:00 go: downloading github.com/hashicorp/serf v0.9.5 21:25:00 go: downloading github.com/mitchellh/mapstructure v1.1.2 21:25:00 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 21:25:00 go: downloading github.com/go-playground/assert/v2 v2.0.1 21:25:00 go: downloading github.com/hashicorp/consul/sdk v0.8.0 21:25:00 go: downloading github.com/hashicorp/go-uuid v1.0.1 21:25:00 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 21:25:00 go: downloading github.com/onsi/ginkgo v1.10.1 21:25:00 go: downloading github.com/onsi/gomega v1.7.0 21:25:00 go: downloading github.com/zeebo/errs v1.2.2 21:25:00 go: downloading google.golang.org/grpc v1.42.0 21:25:00 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 21:25:00 go: downloading github.com/mitchellh/go-homedir v1.1.0 21:25:00 go: downloading github.com/fatih/color v1.9.0 21:25:00 go: downloading github.com/mattn/go-colorable v0.1.6 21:25:00 go: downloading github.com/mattn/go-isatty v0.0.12 21:25:00 go: downloading github.com/kr/pretty v0.3.0 21:25:00 go: downloading github.com/pkg/errors v0.9.1 21:25:00 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 21:25:00 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 21:25:00 go: downloading github.com/hashicorp/go-msgpack v0.5.3 21:25:00 go: downloading github.com/hashicorp/memberlist v0.2.2 21:25:00 go: downloading google.golang.org/protobuf v1.27.1 21:25:00 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 21:25:00 go: downloading github.com/golang/protobuf v1.5.2 21:25:01 Still waiting to schedule task 21:25:01 ‘prd-ubuntu20.04-docker-8c-8g-33751’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 21:25:01 ‘prd-ubuntu20.04-docker-arm64-4c-16g-33750’ is offline 21:25:01 go: downloading github.com/google/go-cmp v0.5.6 21:25:01 go: downloading github.com/kr/text v0.2.0 21:25:01 go: downloading github.com/rogpeppe/go-internal v1.8.0 21:25:01 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 21:25:01 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 21:25:01 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 21:25:01 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 21:25:01 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 21:25:01 go: downloading github.com/miekg/dns v1.1.26 21:25:01 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 21:25:01 go: downloading github.com/hpcloud/tail v1.0.0 21:25:01 go: downloading gopkg.in/yaml.v2 v2.2.8 21:25:01 go: downloading github.com/hashicorp/golang-lru v0.5.0 21:25:01 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 21:25:01 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 21:25:01 go: downloading gopkg.in/fsnotify.v1 v1.4.7 21:25:02 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 21:25:20 make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 21:25:20 make -C ./app-service-template test 21:25:20 make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 21:25:20 CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... 21:25:38 ok new-app-service 0.057s coverage: 48.1% of statements 21:25:38 ? new-app-service/config [no test files] 21:25:38 ok new-app-service/functions 0.048s 21:25:38 CGO_ENABLED=1 go vet ./... 21:25:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:25:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:25:48 ./bin/test-attribution-txt.sh 21:25:48 make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 21:25:48 CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:25:48 go: downloading github.com/gomodule/redigo v1.8.8 21:25:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 21:25:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.098s coverage: 63.7% of statements 21:25:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.073s coverage: 93.8% of statements 21:25:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 21:25:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.103s coverage: 76.5% of statements 21:25:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 21:25:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.082s coverage: 88.7% of statements 21:25:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.048s coverage: 100.0% of statements 21:25:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.160s coverage: 78.5% of statements 21:25:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 21:25:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 21:25:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.067s coverage: 97.3% of statements 21:25:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 21:25:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] 21:25:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.099s coverage: 91.8% of statements 21:25:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] 21:25:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.713s coverage: 79.8% of statements 21:25:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] 21:25:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] 21:25:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.080s coverage: 28.7% of statements 21:25:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] 21:25:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.072s coverage: 14.0% of statements 21:25:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.051s coverage: 27.3% of statements 21:25:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 21:25:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 21:25:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.067s coverage: 51.4% of statements 21:26:18 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.138s coverage: 78.6% of statements 21:26:18 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.059s coverage: 94.4% of statements 21:26:18 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:26:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:26:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 21:26:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:26:27 $ docker stop --time=1 63eba9acaf1bc5b98c582a9bada476be5aa38ca61f6b0e5439b4a78a630f7c9c 21:26:28 $ docker rm -f 63eba9acaf1bc5b98c582a9bada476be5aa38ca61f6b0e5439b4a78a630f7c9c [Pipeline] // withDockerContainer [Pipeline] sh 21:26:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:26:29 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 21:26:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:26:29 21:26:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 21:26:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:26:30 latest: Pulling from edgex-lftools-log-publisher 21:26:30 5eb5b503b376: Pulling fs layer 21:26:30 5c69ac0246d0: Pulling fs layer 21:26:30 ec43610c2a17: Pulling fs layer 21:26:30 3a2ae6a8a46f: Pulling fs layer 21:26:30 33b1e0a273af: Pulling fs layer 21:26:30 5d3b04190fa2: Pulling fs layer 21:26:30 2f39f015ded8: Pulling fs layer 21:26:30 33b1e0a273af: Waiting 21:26:30 5d3b04190fa2: Waiting 21:26:30 3a2ae6a8a46f: Waiting 21:26:30 2f39f015ded8: Waiting 21:26:30 5c69ac0246d0: Verifying Checksum 21:26:30 5c69ac0246d0: Download complete 21:26:30 3a2ae6a8a46f: Verifying Checksum 21:26:30 3a2ae6a8a46f: Download complete 21:26:30 33b1e0a273af: Verifying Checksum 21:26:30 33b1e0a273af: Download complete 21:26:30 5d3b04190fa2: Verifying Checksum 21:26:30 5d3b04190fa2: Download complete 21:26:30 ec43610c2a17: Verifying Checksum 21:26:30 ec43610c2a17: Download complete 21:26:30 5eb5b503b376: Download complete 21:26:31 2f39f015ded8: Download complete 21:26:32 5eb5b503b376: Pull complete 21:26:32 5c69ac0246d0: Pull complete 21:26:32 ec43610c2a17: Pull complete 21:26:32 3a2ae6a8a46f: Pull complete 21:26:32 33b1e0a273af: Pull complete 21:26:32 5d3b04190fa2: Pull complete 21:26:37 2f39f015ded8: Pull complete 21:26:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:26:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:26:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 21:26:37 prd-ubuntu20.04-docker-8c-8g-33752 does not seem to be running inside a container 21:26: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/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:26:39 $ docker top 4bb5f31e3d8b61d2dcfb5016eb8bac814307996826ce90bee02b3f6c37439457 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:26:40 ---> job-cost.sh 21:26:40 lf-activate-venv: SKIPPING 21:26:40 INFO: No Stack... 21:26:40 INFO: Retrieving Pricing Info for: v3-standard-8 21:26:41 INFO: Archiving Costs [Pipeline] sh 21:26:41 + cat /w/workspace/oundry_app-functions-sdk-go_main/archives/cost.csv 21:26:41 + cut -d, -f6 [Pipeline] lock 21:26:41 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-114-stack-cost] 21:26:41 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-114-stack-cost] did not exist. Created. 21:26:41 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-114-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:26:41 + echo total: 0.2199999988079071 [Pipeline] stash 21:26:41 Stashed 1 file(s) [Pipeline] } 21:26:41 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-114-stack-cost] [Pipeline] // lock [Pipeline] } 21:26:41 $ docker stop --time=1 4bb5f31e3d8b61d2dcfb5016eb8bac814307996826ce90bee02b3f6c37439457 21:26:42 $ docker rm -f 4bb5f31e3d8b61d2dcfb5016eb8bac814307996826ce90bee02b3f6c37439457 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:54:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-34189 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws 21:54:50 Running in /w/workspace/app-functions-sdk-go/114 [Pipeline] { [Pipeline] checkout 21:54:50 The recommended git tool is: git 21:54:58 using credential edgex-jenkins-ssh 21:54:58 Cloning the remote Git repository 21:54:58 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 21:54:58 > git init /w/workspace/app-functions-sdk-go/114 # timeout=10 21:54:58 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 21:54:58 > git --version # timeout=10 21:54:58 > git --version # 'git version 2.25.1' 21:54:58 using GIT_SSH to set credentials SSH Credentials for GitHub 21:54:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:55:02 Avoid second fetch 21:55:02 Checking out Revision c1e6a6422f729c76392bcb9de582997aba8400de (main) 21:55:02 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 21:55:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:55:02 > git config core.sparsecheckout # timeout=10 21:55:02 > git checkout -f c1e6a6422f729c76392bcb9de582997aba8400de # timeout=10 21:55:07 Commit message: "build: Update to latest versions of go-mods (#1106)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:55:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:55:07 % Total % Received % Xferd Average Speed Time Time Time Current 21:55:07 Dload Upload Total Spent Left Speed 21:55:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 82818 0 --:--:-- --:--:-- --:--:-- 82818 [Pipeline] sh 21:55:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:55:08 + sudo tee /etc/docker/daemon.new 21:55:08 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:55:08 { 21:55:08 "registry-mirrors": [ 21:55:08 "https://nexus3.edgexfoundry.org:10001" 21:55:08 ], 21:55:08 "bip": "10.250.0.254/24", 21:55:08 "hosts": [ 21:55:08 "tcp://0.0.0.0:5555", 21:55:08 "unix:///var/run/docker.sock" 21:55:08 ], 21:55:08 "mtu": 1458, 21:55:08 "selinux-enabled": true, 21:55:08 "seccomp-profile": "/etc/docker/seccomp.json" 21:55:08 } [Pipeline] sh 21:55:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:55:09 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 21:55:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:55:28 ========================================================= 21:55:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 21:55:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 21:55:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 21:55:29 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:55:29 9b3977197b4f: Pulling fs layer 21:55:29 1a89e8eeedd5: Pulling fs layer 21:55:29 94645a83ff95: Pulling fs layer 21:55:29 3f3a8bcf1eab: Pulling fs layer 21:55:29 0c92f367c5e7: Pulling fs layer 21:55:29 3096ccb668a1: Pulling fs layer 21:55:29 e8cf19c19ddd: Pulling fs layer 21:55:29 a4caa8a26152: Pulling fs layer 21:55:29 3f3a8bcf1eab: Waiting 21:55:29 0c92f367c5e7: Waiting 21:55:29 3096ccb668a1: Waiting 21:55:29 e8cf19c19ddd: Waiting 21:55:29 a4caa8a26152: Waiting 21:55:29 94645a83ff95: Verifying Checksum 21:55:29 94645a83ff95: Download complete 21:55:29 1a89e8eeedd5: Verifying Checksum 21:55:29 1a89e8eeedd5: Download complete 21:55:29 0c92f367c5e7: Verifying Checksum 21:55:29 0c92f367c5e7: Download complete 21:55:29 3096ccb668a1: Verifying Checksum 21:55:29 3096ccb668a1: Download complete 21:55:29 e8cf19c19ddd: Verifying Checksum 21:55:29 e8cf19c19ddd: Download complete 21:55:29 9b3977197b4f: Download complete 21:55:30 9b3977197b4f: Pull complete 21:55:30 1a89e8eeedd5: Pull complete 21:55:31 94645a83ff95: Pull complete 21:55:31 a4caa8a26152: Verifying Checksum 21:55:31 a4caa8a26152: Download complete 21:55:31 3f3a8bcf1eab: Verifying Checksum 21:55:31 3f3a8bcf1eab: Download complete 21:55:44 3f3a8bcf1eab: Pull complete 21:55:44 0c92f367c5e7: Pull complete 21:55:44 3096ccb668a1: Pull complete 21:55:44 e8cf19c19ddd: Pull complete 21:55:51 a4caa8a26152: Pull complete 21:55:51 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 21:55:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 21:55:51 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh 21:55:51 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 21:55:51 + docker inspect -f . ci-base-image-arm64 21:55:51 . [Pipeline] withDockerContainer 21:55:52 prd-ubuntu20.04-docker-arm64-4c-16g-34189 does not seem to be running inside a container 21:55:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/114 -v /w/workspace/app-functions-sdk-go/114:/w/workspace/app-functions-sdk-go/114:rw,z -v /w/workspace/app-functions-sdk-go/114@tmp:/w/workspace/app-functions-sdk-go/114@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 ******** ci-base-image-arm64 cat 21:55:55 $ docker top 9108ccae601b7853ae6cc114acebf5c37a1e7b7fb8a9f04db1212c2d965f5aa8 -eo pid,comm [Pipeline] { [Pipeline] sh 21:55:56 + go version 21:55:56 go version go1.17.6 linux/arm64 [Pipeline] } 21:55:56 $ docker stop --time=1 9108ccae601b7853ae6cc114acebf5c37a1e7b7fb8a9f04db1212c2d965f5aa8 21:55:57 $ docker rm -f 9108ccae601b7853ae6cc114acebf5c37a1e7b7fb8a9f04db1212c2d965f5aa8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:55:58 + docker inspect -f . ci-base-image-arm64 21:55:58 . [Pipeline] withDockerContainer 21:55:58 prd-ubuntu20.04-docker-arm64-4c-16g-34189 does not seem to be running inside a container 21:55:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/114 -v /w/workspace/app-functions-sdk-go/114:/w/workspace/app-functions-sdk-go/114:rw,z -v /w/workspace/app-functions-sdk-go/114@tmp:/w/workspace/app-functions-sdk-go/114@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 ******** ci-base-image-arm64 cat 21:56:00 $ docker top b2bb9bb046f1ebd6f6b350851ee77c54b9df7c70bac4868c83de0bafb2413776 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:56:01 + make test 21:56:01 make -C ./app-service-template build 21:56:01 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/114/app-service-template' 21:56:01 go mod tidy -compat=1.17 21:56:01 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0-dev.27 21:56:01 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 21:56:01 go: downloading github.com/google/uuid v1.3.0 21:56:01 go: downloading github.com/stretchr/testify v1.7.1 21:56:01 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0-dev.20 21:56:01 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0-dev.12 21:56:01 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0-dev.3 21:56:01 go: downloading github.com/go-playground/validator/v10 v10.10.1 21:56:01 go: downloading github.com/go-kit/log v0.2.0 21:56:01 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 21:56:02 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 21:56:02 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 21:56:02 go: downloading github.com/davecgh/go-spew v1.1.1 21:56:02 go: downloading github.com/pmezard/go-difflib v1.0.0 21:56:02 go: downloading github.com/stretchr/objx v0.1.1 21:56:02 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0-dev.8 21:56:02 go: downloading github.com/gorilla/mux v1.8.0 21:56:02 go: downloading github.com/hashicorp/go-multierror v1.1.1 21:56:02 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0-dev.3 21:56:02 go: downloading github.com/go-logfmt/logfmt v0.5.1 21:56:02 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 21:56:02 go: downloading github.com/mitchellh/copystructure v1.0.0 21:56:02 go: downloading github.com/go-playground/universal-translator v0.18.0 21:56:02 go: downloading github.com/leodido/go-urn v1.2.1 21:56:02 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 21:56:02 go: downloading golang.org/x/text v0.3.7 21:56:03 go: downloading github.com/go-playground/locales v0.14.0 21:56:03 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 21:56:03 go: downloading github.com/go-playground/assert/v2 v2.0.1 21:56:06 go: downloading github.com/gorilla/websocket v1.4.2 21:56:06 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 21:56:06 go: downloading github.com/pelletier/go-toml v1.9.4 21:56:06 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 21:56:06 go: downloading github.com/hashicorp/errwrap v1.0.0 21:56:06 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 21:56:06 go: downloading github.com/hashicorp/consul/api v1.9.1 21:56:06 go: downloading github.com/mitchellh/reflectwalk v1.0.0 21:56:06 go: downloading github.com/x448/float16 v0.8.4 21:56:06 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 21:56:06 go: downloading github.com/kr/pretty v0.3.0 21:56:06 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 21:56:06 go: downloading github.com/go-redis/redis/v7 v7.3.0 21:56:06 go: downloading github.com/pebbe/zmq4 v1.2.7 21:56:06 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 21:56:06 go: downloading google.golang.org/grpc v1.42.0 21:56:06 go: downloading github.com/zeebo/errs v1.2.2 21:56:07 go: downloading github.com/kr/text v0.2.0 21:56:07 go: downloading github.com/rogpeppe/go-internal v1.8.0 21:56:07 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 21:56:07 go: downloading github.com/hashicorp/go-hclog v0.12.0 21:56:07 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 21:56:07 go: downloading github.com/hashicorp/serf v0.9.5 21:56:07 go: downloading github.com/mitchellh/mapstructure v1.1.2 21:56:07 go: downloading github.com/hashicorp/consul/sdk v0.8.0 21:56:07 go: downloading github.com/hashicorp/go-uuid v1.0.1 21:56:07 go: downloading github.com/onsi/ginkgo v1.10.1 21:56:08 go: downloading github.com/onsi/gomega v1.7.0 21:56:08 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 21:56:08 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 21:56:08 go: downloading google.golang.org/protobuf v1.27.1 21:56:08 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 21:56:09 go: downloading github.com/golang/protobuf v1.5.2 21:56:09 go: downloading github.com/google/go-cmp v0.5.6 21:56:09 go: downloading github.com/mitchellh/go-homedir v1.1.0 21:56:09 go: downloading github.com/fatih/color v1.9.0 21:56:09 go: downloading github.com/mattn/go-colorable v0.1.6 21:56:09 go: downloading github.com/mattn/go-isatty v0.0.12 21:56:09 go: downloading github.com/pkg/errors v0.9.1 21:56:09 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 21:56:09 go: downloading github.com/hashicorp/go-msgpack v0.5.3 21:56:09 go: downloading github.com/hashicorp/memberlist v0.2.2 21:56:10 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 21:56:10 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 21:56:10 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 21:56:10 go: downloading gopkg.in/yaml.v2 v2.2.8 21:56:10 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 21:56:10 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 21:56:10 go: downloading github.com/miekg/dns v1.1.26 21:56:10 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 21:56:10 go: downloading github.com/hpcloud/tail v1.0.0 21:56:10 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 21:56:10 go: downloading github.com/hashicorp/golang-lru v0.5.0 21:56:10 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 21:56:10 go: downloading gopkg.in/fsnotify.v1 v1.4.7 21:56:14 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 21:58:21 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/114/app-service-template' 21:58:21 make -C ./app-service-template test 21:58:21 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/114/app-service-template' 21:58:21 CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... 22:00:43 ok new-app-service 0.242s coverage: 48.1% of statements 22:00:43 ? new-app-service/config [no test files] 22:00:43 ok new-app-service/functions 0.223s 22:00:43 CGO_ENABLED=1 go vet ./... 22:02:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:02:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:02:05 ./bin/test-attribution-txt.sh 22:02:05 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/114/app-service-template' 22:02:05 CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:02:05 go: downloading github.com/gomodule/redigo v1.8.8 22:02:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 22:02:23 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.567s coverage: 63.7% of statements 22:02:23 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.356s coverage: 93.8% of statements 22:02:23 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 22:02:23 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.434s coverage: 76.5% of statements 22:02:23 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 22:02:23 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.441s coverage: 88.7% of statements 22:02:23 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.151s coverage: 100.0% of statements 22:02:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.672s coverage: 78.5% of statements 22:02:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 22:02:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 22:02:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.268s coverage: 97.3% of statements 22:02:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 22:02:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] 22:02:30 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.552s coverage: 91.8% of statements 22:02:30 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] 22:02:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 1.012s coverage: 79.8% of statements 22:02:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] 22:02:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] 22:02:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.311s coverage: 28.7% of statements 22:02:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] 22:02:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.249s coverage: 14.0% of statements 22:02:42 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.211s coverage: 27.3% of statements 22:02:42 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 22:02:42 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 22:02:42 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.246s coverage: 51.4% of statements 22:03:14 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.564s coverage: 78.6% of statements 22:03:14 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.352s coverage: 94.4% of statements 22:03:14 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:03:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:03:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:03:22 WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] echo 22:03:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:03:22 $ docker stop --time=1 b2bb9bb046f1ebd6f6b350851ee77c54b9df7c70bac4868c83de0bafb2413776 22:03:24 $ docker rm -f b2bb9bb046f1ebd6f6b350851ee77c54b9df7c70bac4868c83de0bafb2413776 [Pipeline] // withDockerContainer [Pipeline] sh 22:03:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:03:28 Warning: overwriting stash ‘coverage-report’ 22:03:28 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 22:03:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:03:29 22:03:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 22:03:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:03:29 arm64: Pulling from edgex-lftools-log-publisher 22:03:29 8998bd30e6a1: Pulling fs layer 22:03:29 04944245beec: Pulling fs layer 22:03:29 699f458cf7ca: Pulling fs layer 22:03:29 765212b225bb: Pulling fs layer 22:03:29 f23df028b6ca: Pulling fs layer 22:03:29 d65c8cfc05b1: Pulling fs layer 22:03:29 2437ff75d9bd: Pulling fs layer 22:03:29 765212b225bb: Waiting 22:03:29 d65c8cfc05b1: Waiting 22:03:29 2437ff75d9bd: Waiting 22:03:29 f23df028b6ca: Waiting 22:03:29 04944245beec: Verifying Checksum 22:03:29 04944245beec: Download complete 22:03:29 765212b225bb: Verifying Checksum 22:03:29 765212b225bb: Download complete 22:03:29 f23df028b6ca: Download complete 22:03:29 d65c8cfc05b1: Verifying Checksum 22:03:29 d65c8cfc05b1: Download complete 22:03:30 699f458cf7ca: Verifying Checksum 22:03:30 699f458cf7ca: Download complete 22:03:30 8998bd30e6a1: Verifying Checksum 22:03:30 8998bd30e6a1: Download complete 22:03:33 2437ff75d9bd: Verifying Checksum 22:03:33 2437ff75d9bd: Download complete 22:03:35 8998bd30e6a1: Pull complete 22:03:35 04944245beec: Pull complete 22:03:36 699f458cf7ca: Pull complete 22:03:37 765212b225bb: Pull complete 22:03:38 f23df028b6ca: Pull complete 22:03:38 d65c8cfc05b1: Pull complete 22:03:53 2437ff75d9bd: Pull complete 22:03:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:03:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:03:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 22:03:53 prd-ubuntu20.04-docker-arm64-4c-16g-34189 does not seem to be running inside a container 22:03:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/114 -v /w/workspace/app-functions-sdk-go/114:/w/workspace/app-functions-sdk-go/114:rw,z -v /w/workspace/app-functions-sdk-go/114@tmp:/w/workspace/app-functions-sdk-go/114@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:03:56 $ docker top e24e42c26b42284c84c2a2f229cb72e7c6aba150dd95e6dcad4262afc5dbb50d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:03:57 ---> job-cost.sh 22:03:57 lf-activate-venv: SKIPPING 22:03:57 INFO: No Stack... 22:03:57 INFO: Retrieving Pricing Info for: v3-standard-4 22:03:58 INFO: Archiving Costs [Pipeline] sh 22:03:59 + cat /w/workspace/app-functions-sdk-go/114/archives/cost.csv 22:03:59 + cut -d, -f6 [Pipeline] lock 22:03:59 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-114-stack-cost] 22:03:59 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-114-stack-cost] did not exist. Created. 22:03:59 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-114-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:03:59 /w/workspace/app-functions-sdk-go/114@tmp/durable-f6ec3902/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:04:00 + echo total: 0.10999999940395355 [Pipeline] stash 22:04:00 Warning: overwriting stash ‘stack-cost’ 22:04:00 Stashed 1 file(s) [Pipeline] } 22:04:00 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-114-stack-cost] [Pipeline] // lock [Pipeline] } 22:04:00 $ docker stop --time=1 e24e42c26b42284c84c2a2f229cb72e7c6aba150dd95e6dcad4262afc5dbb50d 22:04:02 $ docker rm -f e24e42c26b42284c84c2a2f229cb72e7c6aba150dd95e6dcad4262afc5dbb50d [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 22:04:02 provisioning config files... 22:04:02 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config7218531696487850028tmp [Pipeline] { [Pipeline] sh 22:04:02 + set +x 22:04:02 + curl -s+ https://codecov.io/bash 22:04:02 bash -s -- 22:04:02 22:04:02 _____ _ 22:04:02 / ____| | | 22:04:02 | | ___ __| | ___ ___ _____ __ 22:04:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:04:02 | |___| (_) | (_| | __/ (_| (_) \ V / 22:04:02 \_____\___/ \__,_|\___|\___\___/ \_/ 22:04:02 Bash-1.0.6 22:04:02 22:04:02 22:04:02 ==> git version 2.25.1 found 22:04:02 ==> 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 22:04:02 Release-Date: 2020-01-08 22:04:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:04:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:04:02 ==> Jenkins CI detected. 22:04:02 current dir:  /w/workspace/oundry_app-functions-sdk-go_main 22:04:02 project root: . 22:04:02 --> token set from env 22:04:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:04:02 ==> Running gcov in . (disable via -X gcov) 22:04:02 ==> Python coveragepy not found 22:04:02 ==> Searching for coverage reports in: 22:04:02 + . 22:04:02 -> Found 2 reports 22:04:02 ==> Detecting git/mercurial file structure 22:04:02 ==> Reading reports 22:04:02 + ./app-service-template/coverage.out bytes=1222 22:04:02 + ./coverage.out bytes=119611 22:04:03 ==> Appending adjustments 22:04:03 https://docs.codecov.io/docs/fixing-reports 22:04:03 + Found adjustments 22:04:03 ==> Gzipping contents 22:04:03 24K /tmp/codecov.jcQvPO.gz 22:04:03 ==> Uploading reports 22:04:03 url: https://codecov.io 22:04:03 query: branch=main&commit=c1e6a6422f729c76392bcb9de582997aba8400de&build=114&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F114%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:04:03 -> Pinging Codecov 22:04:03 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=main&commit=c1e6a6422f729c76392bcb9de582997aba8400de&build=114&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F114%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:04:03 -> Uploading to 22:04:03 https://storage.googleapis.com/codecov/v4/raw/2022-04-28/3D8B5DFFC46A037C893635FACE044666/c1e6a6422f729c76392bcb9de582997aba8400de/ad034b58-57e7-4410-a98e-98480fcf0f30.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220428%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220428T220403Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e78f7a5dbfad3d3e911820a7874aea429bb5c84cc06bf5c4138a9e7bef72e8a2 22:04:03 % Total % Received % Xferd Average Speed Time Time Time Current 22:04:03 Dload Upload Total Spent Left Speed 22:04:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20833 0 0 100 20833 0 98734 --:--:-- --:--:-- --:--:-- 98734 22:04:04 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/c1e6a6422f729c76392bcb9de582997aba8400de [Pipeline] } 22:04:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:04:04 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:04:04 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:04:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:04:04 22:04:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 22:04:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:04:04 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:04:04 188c0c94c7c5: Pulling fs layer 22:04:04 0ef7d3d256c8: Pulling fs layer 22:04:04 de9db76c5a1d: Pulling fs layer 22:04:04 0eba1c9be4d2: Pulling fs layer 22:04:04 0d57e429df01: Pulling fs layer 22:04:04 4e4be7b47b0d: Pulling fs layer 22:04:04 e1f770b5df2f: Pulling fs layer 22:04:04 85a0685a4137: Pulling fs layer 22:04:04 0eba1c9be4d2: Waiting 22:04:04 0d57e429df01: Waiting 22:04:04 4e4be7b47b0d: Waiting 22:04:04 e1f770b5df2f: Waiting 22:04:04 de9db76c5a1d: Verifying Checksum 22:04:04 de9db76c5a1d: Download complete 22:04:04 0ef7d3d256c8: Verifying Checksum 22:04:04 0ef7d3d256c8: Download complete 22:04:04 0d57e429df01: Verifying Checksum 22:04:04 0d57e429df01: Download complete 22:04:04 4e4be7b47b0d: Verifying Checksum 22:04:04 4e4be7b47b0d: Download complete 22:04:04 188c0c94c7c5: Verifying Checksum 22:04:05 188c0c94c7c5: Pull complete 22:04:05 e1f770b5df2f: Verifying Checksum 22:04:05 e1f770b5df2f: Download complete 22:04:05 0ef7d3d256c8: Pull complete 22:04:05 de9db76c5a1d: Pull complete 22:04:05 0eba1c9be4d2: Verifying Checksum 22:04:05 0eba1c9be4d2: Download complete 22:04:05 85a0685a4137: Verifying Checksum 22:04:05 85a0685a4137: Download complete 22:04:09 0eba1c9be4d2: Pull complete 22:04:09 0d57e429df01: Pull complete 22:04:09 4e4be7b47b0d: Pull complete 22:04:09 e1f770b5df2f: Pull complete 22:04:12 85a0685a4137: Pull complete 22:04:12 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 22:04:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:04:12 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 22:04:12 prd-ubuntu20.04-docker-8c-8g-33752 does not seem to be running inside a container 22:04:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 22:04:14 $ docker top 4f0737507c37f239cf9700067e76901889e534444805d1b7e68104d177f3b801 -eo pid,comm [Pipeline] { [Pipeline] echo 22:04:14 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 22:04:14 + set -o pipefail 22:04:14 + snyk monitor '--org=edgex-jenkins' 22:04:20 22:04:20 Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v2)... 22:04:20 22:04:20 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/60222be6-12de-422d-a13a-02d2e67f2526 22:04:20 22:04:20 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 22:04:20 22:04:20 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:04:20 22:04:20 [Pipeline] } 22:04:20 $ docker stop --time=1 4f0737507c37f239cf9700067e76901889e534444805d1b7e68104d177f3b801 22:04:22 $ docker rm -f 4f0737507c37f239cf9700067e76901889e534444805d1b7e68104d177f3b801 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 22:04:22 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:04:22 provisioning config files... 22:04:23 copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config7504067221139083418tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:04:23 --> edgex-publish-swagger.sh 22:04:23 === Publish openapi/v2 API === 22:04:23 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 22:04:23 [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v2/app-functions-sdk.yaml] 22:04:23 % Total % Received % Xferd Average Speed Time Time Time Current 22:04:23 Dload Upload Total Spent Left Speed 22:04:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13708 0 0 100 13708 0 13282 0:00:01 0:00:01 --:--:-- 13282 100 13708 0 0 100 13708 0 13270 0:00:01 0:00:01 --:--:-- 13282 22:04:24 22:04:24 [Pipeline] } 22:04:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:04:24 + git log --format=format:%s -1 c1e6a6422f729c76392bcb9de582997aba8400de [Pipeline] sh 22:04:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:04:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 22:04:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:04:25 . [Pipeline] withDockerContainer 22:04:25 prd-ubuntu20.04-docker-8c-8g-33752 does not seem to be running inside a container 22:04:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 22:04:25 $ docker top 0b1c692171abf7dd08f299704847dbeeda78b996c40c3a98ed1a4a2aa539197f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:04:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:04:25 [ssh-agent] Looking for ssh-agent implementation... 22:04:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:04:26 $ docker exec 0b1c692171abf7dd08f299704847dbeeda78b996c40c3a98ed1a4a2aa539197f ssh-agent 22:04:26 SSH_AUTH_SOCK=/tmp/ssh-IY12GRgzX355/agent.33 22:04:26 SSH_AGENT_PID=39 22:04:26 Running ssh-add (command line suppressed) 22:04:26 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5233087777365001824.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5233087777365001824.key) 22:04:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:04:26 + git semver tag 22:04:26 2022-04-28 22:04:26,739 [run_tag] DEBUG tag force:False 22:04:26 2022-04-28 22:04:26,740 [check_head_tag] DEBUG check head tag 22:04:26 2022-04-28 22:04:26,741 [execute] INFO git cat-file --batch-check 22:04:26 2022-04-28 22:04:26,741 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) 22:04:26 2022-04-28 22:04:26,745 [execute] INFO git cat-file --batch 22:04:26 2022-04-28 22:04:26,745 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) 22:04:26 2022-04-28 22:04:26,776 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 22:04:26 2022-04-28 22:04:26,776 [execute] INFO git tag -a v2.2.0-dev.53 -m v2.2.0-dev.53 22:04:26 2022-04-28 22:04:26,776 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.53', '-m', 'v2.2.0-dev.53'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) 22:04:26 2022-04-28 22:04:26,780 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 22:04:26 2.2.0-dev.53 [Pipeline] } 22:04:26 $ docker exec --env ******** --env ******** 0b1c692171abf7dd08f299704847dbeeda78b996c40c3a98ed1a4a2aa539197f ssh-agent -k 22:04:26 unset SSH_AUTH_SOCK; 22:04:26 unset SSH_AGENT_PID; 22:04:26 echo Agent pid 39 killed; 22:04:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:04:27 + git semver [Pipeline] } 22:04:27 $ docker stop --time=1 0b1c692171abf7dd08f299704847dbeeda78b996c40c3a98ed1a4a2aa539197f 22:04:28 $ docker rm -f 0b1c692171abf7dd08f299704847dbeeda78b996c40c3a98ed1a4a2aa539197f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 22:04:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:04:29 22:04:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 22:04:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:04:29 0.23.1-centos7: Pulling from edgex-lftools 22:04:29 ab5ef0e58194: Pulling fs layer 22:04:29 9712f1f96733: Pulling fs layer 22:04:29 63f879dbbcfc: Pulling fs layer 22:04:29 0d9ebad4ef96: Pulling fs layer 22:04:29 e9a5061849ea: Pulling fs layer 22:04:29 d747dcd14b5f: Pulling fs layer 22:04:29 2de7ff778b66: Pulling fs layer 22:04:29 0d9ebad4ef96: Waiting 22:04:29 e9a5061849ea: Waiting 22:04:29 d747dcd14b5f: Waiting 22:04:29 2de7ff778b66: Waiting 22:04:29 9712f1f96733: Verifying Checksum 22:04:29 9712f1f96733: Download complete 22:04:29 63f879dbbcfc: Verifying Checksum 22:04:29 63f879dbbcfc: Download complete 22:04:30 e9a5061849ea: Verifying Checksum 22:04:30 e9a5061849ea: Download complete 22:04:30 d747dcd14b5f: Verifying Checksum 22:04:30 d747dcd14b5f: Download complete 22:04:30 0d9ebad4ef96: Verifying Checksum 22:04:30 0d9ebad4ef96: Download complete 22:04:30 ab5ef0e58194: Verifying Checksum 22:04:30 ab5ef0e58194: Download complete 22:04:30 2de7ff778b66: Verifying Checksum 22:04:30 2de7ff778b66: Download complete 22:04:33 ab5ef0e58194: Pull complete 22:04:33 9712f1f96733: Pull complete 22:04:33 63f879dbbcfc: Pull complete 22:04:37 0d9ebad4ef96: Pull complete 22:04:37 e9a5061849ea: Pull complete 22:04:37 d747dcd14b5f: Pull complete 22:04:38 2de7ff778b66: Pull complete 22:04:38 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:04:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:04:38 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 22:04:38 prd-ubuntu20.04-docker-8c-8g-33752 does not seem to be running inside a container 22:04:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 22:04:40 $ docker top f1f2597baf84ceb5f2c07e8945f28fd69893eb5da9b83e0034f4c24f02206ec6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:04:40 provisioning config files... 22:04:40 copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config569504223929405775tmp 22:04:40 copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config5007830277745112664tmp 22:04:41 copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config4659782077828998947tmp [Pipeline] { [Pipeline] echo 22:04:41 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:04:41 ---> sigul-configuration.sh 22:04:41 gpg: directory `/root/.gnupg' created 22:04:41 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:04:41 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:04:41 gpg: keyring `/root/.gnupg/secring.gpg' created 22:04:41 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:04:41 gpg: CAST5 encrypted data 22:04:41 gpg: encrypted with 1 passphrase 22:04:41 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:04:41 + mkdir /home/jenkins 22:04:41 + mkdir /home/jenkins/sigul [Pipeline] sh 22:04:41 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 22:04:41 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:04:42 ---> sigul-install.sh 22:04:42 Sigul already installed; skipping installation. [Pipeline] sh 22:04:42 + git tag --list 22:04:42 v0.1.0 22:04:42 v0.1.1 22:04:42 v1.0.0 22:04:42 v1.1.0 22:04:42 v1.2.0 22:04:42 v1.3.0 22:04:42 v1.3.1 22:04:42 v2.0.0 22:04:42 v2.0.1 22:04:42 v2.0.1-dev.1 22:04:42 v2.0.1-dev.2 22:04:42 v2.0.1-dev.3 22:04:42 v2.0.1-dev.4 22:04:42 v2.0.1-dev.5 22:04:42 v2.0.1-dev.6 22:04:42 v2.0.1-dev.7 22:04:42 v2.0.2-dev.1 22:04:42 v2.0.2-dev.10 22:04:42 v2.0.2-dev.11 22:04:42 v2.0.2-dev.12 22:04:42 v2.0.2-dev.13 22:04:42 v2.0.2-dev.14 22:04:42 v2.0.2-dev.15 22:04:42 v2.0.2-dev.16 22:04:42 v2.0.2-dev.17 22:04:42 v2.0.2-dev.18 22:04:42 v2.0.2-dev.19 22:04:42 v2.0.2-dev.2 22:04:42 v2.0.2-dev.20 22:04:42 v2.0.2-dev.21 22:04:42 v2.0.2-dev.22 22:04:42 v2.0.2-dev.23 22:04:42 v2.0.2-dev.24 22:04:42 v2.0.2-dev.25 22:04:42 v2.0.2-dev.26 22:04:42 v2.0.2-dev.27 22:04:42 v2.0.2-dev.28 22:04:42 v2.0.2-dev.29 22:04:42 v2.0.2-dev.3 22:04:42 v2.0.2-dev.30 22:04:42 v2.0.2-dev.31 22:04:42 v2.0.2-dev.32 22:04:42 v2.0.2-dev.33 22:04:42 v2.0.2-dev.34 22:04:42 v2.0.2-dev.35 22:04:42 v2.0.2-dev.36 22:04:42 v2.0.2-dev.37 22:04:42 v2.0.2-dev.38 22:04:42 v2.0.2-dev.39 22:04:42 v2.0.2-dev.4 22:04:42 v2.0.2-dev.40 22:04:42 v2.0.2-dev.41 22:04:42 v2.0.2-dev.42 22:04:42 v2.0.2-dev.43 22:04:42 v2.0.2-dev.44 22:04:42 v2.0.2-dev.45 22:04:42 v2.0.2-dev.46 22:04:42 v2.0.2-dev.47 22:04:42 v2.0.2-dev.5 22:04:42 v2.0.2-dev.6 22:04:42 v2.0.2-dev.7 22:04:42 v2.0.2-dev.8 22:04:42 v2.0.2-dev.9 22:04:42 v2.1.0 22:04:42 v2.2.0-dev.1 22:04:42 v2.2.0-dev.10 22:04:42 v2.2.0-dev.11 22:04:42 v2.2.0-dev.12 22:04:42 v2.2.0-dev.13 22:04:42 v2.2.0-dev.14 22:04:42 v2.2.0-dev.15 22:04:42 v2.2.0-dev.16 22:04:42 v2.2.0-dev.17 22:04:42 v2.2.0-dev.18 22:04:42 v2.2.0-dev.19 22:04:42 v2.2.0-dev.2 22:04:42 v2.2.0-dev.20 22:04:42 v2.2.0-dev.21 22:04:42 v2.2.0-dev.22 22:04:42 v2.2.0-dev.23 22:04:42 v2.2.0-dev.24 22:04:42 v2.2.0-dev.25 22:04:42 v2.2.0-dev.26 22:04:42 v2.2.0-dev.27 22:04:42 v2.2.0-dev.28 22:04:42 v2.2.0-dev.29 22:04:42 v2.2.0-dev.3 22:04:42 v2.2.0-dev.30 22:04:42 v2.2.0-dev.31 22:04:42 v2.2.0-dev.32 22:04:42 v2.2.0-dev.33 22:04:42 v2.2.0-dev.34 22:04:42 v2.2.0-dev.35 22:04:42 v2.2.0-dev.36 22:04:42 v2.2.0-dev.37 22:04:42 v2.2.0-dev.38 22:04:42 v2.2.0-dev.39 22:04:42 v2.2.0-dev.4 22:04:42 v2.2.0-dev.40 22:04:42 v2.2.0-dev.41 22:04:42 v2.2.0-dev.42 22:04:42 v2.2.0-dev.43 22:04:42 v2.2.0-dev.44 22:04:42 v2.2.0-dev.45 22:04:42 v2.2.0-dev.46 22:04:42 v2.2.0-dev.47 22:04:42 v2.2.0-dev.48 22:04:42 v2.2.0-dev.49 22:04:42 v2.2.0-dev.5 22:04:42 v2.2.0-dev.50 22:04:42 v2.2.0-dev.51 22:04:42 v2.2.0-dev.52 22:04:42 v2.2.0-dev.53 22:04:42 v2.2.0-dev.6 22:04:42 v2.2.0-dev.7 22:04:42 v2.2.0-dev.8 22:04:42 v2.2.0-dev.9 [Pipeline] sh 22:04:42 + lftools sign git-tag v2.2.0-dev.53 22:04:43 Signing Git tag with Sigul... 22:04:43 Signing v2.2.0-dev.53 [Pipeline] echo 22:04:43 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:04:44 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:04:44 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:04:44 $ docker stop --time=1 f1f2597baf84ceb5f2c07e8945f28fd69893eb5da9b83e0034f4c24f02206ec6 22:04:45 $ docker rm -f f1f2597baf84ceb5f2c07e8945f28fd69893eb5da9b83e0034f4c24f02206ec6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:04:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:04:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 22:04:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:04:46 . [Pipeline] withDockerContainer 22:04:46 prd-ubuntu20.04-docker-8c-8g-33752 does not seem to be running inside a container 22:04:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 22:04:46 $ docker top 72d9cc1f8b90e3e8bc59b6c37dea4df72bd0945e07d33b9735eef8aac7f958b4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:04:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:04:46 [ssh-agent] Looking for ssh-agent implementation... 22:04:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:04:47 $ docker exec 72d9cc1f8b90e3e8bc59b6c37dea4df72bd0945e07d33b9735eef8aac7f958b4 ssh-agent 22:04:47 SSH_AUTH_SOCK=/tmp/ssh-AlGIINEqj848/agent.33 22:04:47 SSH_AGENT_PID=39 22:04:47 Running ssh-add (command line suppressed) 22:04:47 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_8395786155398784454.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_8395786155398784454.key) 22:04:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:04:47 + git semver bump pre 22:04:47 2022-04-28 22:04:47,759 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 22:04:47 2022-04-28 22:04:47,759 [bump_version] DEBUG bumping version:2.2.0-dev.53 on axis:pre with prefix:dev 22:04:47 2022-04-28 22:04:47,759 [bump_version] DEBUG bumped version:2.2.0-dev.54 22:04:47 2022-04-28 22:04:47,760 [write_version] DEBUG write version:2.2.0-dev.54 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:True 22:04:47 2022-04-28 22:04:47,760 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 22:04:47 2022-04-28 22:04:47,760 [write_file] DEBUG write to file:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main 22:04:47 2022-04-28 22:04:47,761 [execute] INFO git cat-file --batch-check 22:04:47 2022-04-28 22:04:47,762 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:04:47 2022-04-28 22:04:47,766 [execute] INFO git cat-file --batch 22:04:47 2022-04-28 22:04:47,766 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:04:47 2022-04-28 22:04:47,771 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 22:04:47 2.2.0-dev.54 [Pipeline] } 22:04:47 $ docker exec --env ******** --env ******** 72d9cc1f8b90e3e8bc59b6c37dea4df72bd0945e07d33b9735eef8aac7f958b4 ssh-agent -k 22:04:47 unset SSH_AUTH_SOCK; 22:04:47 unset SSH_AGENT_PID; 22:04:47 echo Agent pid 39 killed; 22:04:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:04:48 + git semver [Pipeline] } 22:04:48 $ docker stop --time=1 72d9cc1f8b90e3e8bc59b6c37dea4df72bd0945e07d33b9735eef8aac7f958b4 22:04:49 $ docker rm -f 72d9cc1f8b90e3e8bc59b6c37dea4df72bd0945e07d33b9735eef8aac7f958b4 [Pipeline] // withDockerContainer [Pipeline] sh 22:04:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:04:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 22:04:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:04:50 . [Pipeline] withDockerContainer 22:04:50 prd-ubuntu20.04-docker-8c-8g-33752 does not seem to be running inside a container 22:04:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 22:04:51 $ docker top 9f376b64be90d7e48604783b3a0826f6b746b37926ad1a071ed9c23c5df0d1d0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:04:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:04:51 [ssh-agent] Looking for ssh-agent implementation... 22:04:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:04:51 $ docker exec 9f376b64be90d7e48604783b3a0826f6b746b37926ad1a071ed9c23c5df0d1d0 ssh-agent 22:04:51 SSH_AUTH_SOCK=/tmp/ssh-Nis3CS1R8qWj/agent.32 22:04:51 SSH_AGENT_PID=39 22:04:51 Running ssh-add (command line suppressed) 22:04:51 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_967803028743755604.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_967803028743755604.key) 22:04:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:04:51 + git semver push 22:04:52 2022-04-28 22:04:52,019 [run_push] DEBUG push 22:04:52 2022-04-28 22:04:52,020 [execute] INFO git push origin semver 22:04:52 2022-04-28 22:04:52,020 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:04:53 2022-04-28 22:04:52,833 [run_push] DEBUG push all version tags 22:04:53 2022-04-28 22:04:52,834 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:04:53 2022-04-28 22:04:52,834 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) 22:04:53 2022-04-28 22:04:53,669 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 22:04:53 2.2.0-dev.54 [Pipeline] } 22:04:53 $ docker exec --env ******** --env ******** 9f376b64be90d7e48604783b3a0826f6b746b37926ad1a071ed9c23c5df0d1d0 ssh-agent -k 22:04:54 unset SSH_AUTH_SOCK; 22:04:54 unset SSH_AGENT_PID; 22:04:54 echo Agent pid 39 killed; 22:04:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:04:54 + git semver [Pipeline] } 22:04:54 $ docker stop --time=1 9f376b64be90d7e48604783b3a0826f6b746b37926ad1a071ed9c23c5df0d1d0 22:04:55 $ docker rm -f 9f376b64be90d7e48604783b3a0826f6b746b37926ad1a071ed9c23c5df0d1d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:04:56 + [ -d /w/workspace/oundry_app-functions-sdk-go_main/archives ] 22:04:56 + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives 22:04:56 total 16 22:04:56 drwxr-xr-x 3 root root 4096 Apr 28 21:26 . 22:04:56 drwxrwxr-x 10 jenkins jenkins 4096 Apr 28 22:04 .. 22:04:56 drwxr-xr-x 2 root root 4096 Apr 28 21:26 cost 22:04:56 -rw-r--r-- 1 root root 91 Apr 28 21:26 cost.csv 22:04:56 + sudo chown -R jenkins:jenkins /w/workspace/oundry_app-functions-sdk-go_main/archives 22:04:56 + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives 22:04:56 total 16 22:04:56 drwxr-xr-x 3 jenkins jenkins 4096 Apr 28 21:26 . 22:04:56 drwxrwxr-x 10 jenkins jenkins 4096 Apr 28 22:04 .. 22:04:56 drwxr-xr-x 2 jenkins jenkins 4096 Apr 28 21:26 cost 22:04:56 -rw-r--r-- 1 jenkins jenkins 91 Apr 28 21:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:04:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:04:57 ---> package-listing.sh 22:04:57 ++ facter osfamily 22:04:57 ++ tr '[:upper:]' '[:lower:]' 22:04:58 + OS_FAMILY=debian 22:04:58 + workspace=/w/workspace/oundry_app-functions-sdk-go_main 22:04:58 + START_PACKAGES=/tmp/packages_start.txt 22:04:58 + END_PACKAGES=/tmp/packages_end.txt 22:04:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:04:58 + PACKAGES=/tmp/packages_start.txt 22:04:58 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 22:04:58 + PACKAGES=/tmp/packages_end.txt 22:04:58 + case "${OS_FAMILY}" in 22:04:58 + dpkg -l 22:04:58 + grep '^ii' 22:04:58 + '[' -f /tmp/packages_start.txt ']' 22:04:58 + '[' -f /tmp/packages_end.txt ']' 22:04:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:04:58 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 22:04:58 + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ 22:04:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_app-functions-sdk-go_main/archives/ [Pipeline] echo 22:04:58 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/oundry_app-functions-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:04:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:04:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:04:58 . [Pipeline] withDockerContainer 22:04:59 prd-ubuntu20.04-docker-8c-8g-33752 does not seem to be running inside a container 22:04:59 $ 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/oundry_app-functions-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:04:59 $ docker top 3bfcdb4d22d43617e09816b52c2d73b5f1d6e719acd858a1f8264218d3191dfd -eo pid,comm [Pipeline] { [Pipeline] sh 22:04:59 + touch /tmp/pre-build-complete [Pipeline] sh 22:04:59 + mkdir -p /var/log/sysstat [Pipeline] sh 22:05:00 + ls /var/log/sa-host 22:05:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:05:00 provisioning config files... 22:05:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config4856902021054313150tmp [Pipeline] { [Pipeline] echo 22:05:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:05:00 ---> create-netrc.sh [Pipeline] } 22:05:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:05:01 ---> python-tools-install.sh [Pipeline] echo 22:05:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:05:01 ---> sudo-logs.sh 22:05:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:05:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:05:01 ---> job-cost.sh 22:05:01 lf-activate-venv: SKIPPING 22:05:01 DEBUG: total: 0.2199999988079071 22:05:01 INFO: Retrieving Stack Cost... 22:05:02 INFO: Retrieving Pricing Info for: v3-standard-8 22:05:02 INFO: Archiving Costs [Pipeline] echo 22:05:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:05:02 ---> logs-deploy.sh 22:05:02 lf-activate-venv: SKIPPING 22:05:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/114 22:05:02 INFO: archiving workspace using pattern(s): 22:05:03 Archives upload complete. 22:05:03 INFO: archiving logs to Nexus