Pull request #1754 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 76302f4af55dd7650589edb0ae421a1e3f7b6fea+e3bb383607e77a78e85f6092845a4ec43370f9e9 (ccf2cbaf95eb02c9dc2beb7a5d07b08de7478165) 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-ssh16441818086901464762.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 056ae7b86453181957306e7078512cbe12174832 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-ssh3590604845742026948.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 056ae7b86453181957306e7078512cbe12174832 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1754/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1754/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8459525240750374980.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1754/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7735248272270464554.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 056ae7b86453181957306e7078512cbe12174832 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 056ae7b86453181957306e7078512cbe12174832 # timeout=10 Commit message: "Merge pull request #473 from cherrycl/fix-seccomp-profile-error" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh13387278319006942839.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1754/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1754/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1035289732528543161.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 056ae7b86453181957306e7078512cbe12174832 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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]] ========================================================= [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.23 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 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-20153’ Running on prd-ubuntu20.04-docker-8c-8g-20235 in /w/workspace/dry_app-functions-sdk-go_PR-1754 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/dry_app-functions-sdk-go_PR-1754 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit e3bb383607e77a78e85f6092845a4ec43370f9e9 into PR head commit 76302f4af55dd7650589edb0ae421a1e3f7b6fea Merge succeeded, producing 76302f4af55dd7650589edb0ae421a1e3f7b6fea Checking out Revision 76302f4af55dd7650589edb0ae421a1e3f7b6fea (PR-1754) Commit message: "fix: app-service-template/Dockerfile to reduce vulnerabilities" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 056ae7b86453181957306e7078512cbe12174832 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/1754/head:refs/remotes/origin/PR-1754 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 76302f4af55dd7650589edb0ae421a1e3f7b6fea # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e3bb383607e77a78e85f6092845a4ec43370f9e9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 76302f4af55dd7650589edb0ae421a1e3f7b6fea # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:13:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:13:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:13:06 ========================================================= 00:13:06 EdgeX Global Pipelines Version Info 00:13:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:13:07 ------------------- 00:13:07 stable info: 00:13:07 ------------------- 00:13:07 Commited By: Cherry Wang cherry@iotechsys.com 00:13:07 Commit SHA: 056ae7b86453181957306e7078512cbe12174832 00:13:07 Message: update stable to v1.0.276 00:13:07 ------------------- 00:13:07 experimental info: 00:13:07 ------------------- 00:13:07 Commited By: **** collab-it+edgex@linuxfoundation.org 00:13:07 Commit SHA: 056ae7b86453181957306e7078512cbe12174832 00:13:07 Message: update experimental to v1.0.276 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:13:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 00:13:08 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 00:13:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:13:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:13:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:13:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 00:13:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:13:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:13:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:13:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:13:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:13:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 00:13:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:13:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:13:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 00:13:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:13:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:13:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:13:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:13:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:13:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:13:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo 00:13:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:13:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:13:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 00:13:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:13:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:13:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1754 [Pipeline] echo 00:13:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1754 [Pipeline] echo 00:13:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1754 [Pipeline] echo 00:13:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 76302f4af55dd7650589edb0ae421a1e3f7b6fea [Pipeline] echo 00:13:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 76302f4 [Pipeline] echo 00:13:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:13:10 + git rev-list -1 --merges 76302f4af55dd7650589edb0ae421a1e3f7b6fea~1..76302f4af55dd7650589edb0ae421a1e3f7b6fea [Pipeline] echo 00:13:10 -----------> git rev-list -1 --merges 76302f4af55dd7650589edb0ae421a1e3f7b6fea~1..76302f4af55dd7650589edb0ae421a1e3f7b6fea 76302f4af55dd7650589edb0ae421a1e3f7b6fea [false] [Pipeline] sh 00:13:10 + git log --format=format:%s -1 76302f4af55dd7650589edb0ae421a1e3f7b6fea [Pipeline] echo 00:13:10 ========================================================= 00:13:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:13:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:13:11 + git log --format=format:%s -1 76302f4af55dd7650589edb0ae421a1e3f7b6fea [Pipeline] echo 00:13:11 [semverPrep] GIT_COMMIT: 76302f4af55dd7650589edb0ae421a1e3f7b6fea, Commit Message: fix: app-service-template/Dockerfile to reduce vulnerabilities [Pipeline] echo 00:13:11 [semverPrep] This is not a build commit. [Pipeline] sh 00:13:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:13:11 + grep -v github /etc/ssh/ssh_known_hosts 00:13:11 + [ -e /tmp/ssh_known_hosts ] 00:13:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:13:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:13:11 + sudo tee -a /etc/ssh/ssh_known_hosts 00:13:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:13:12 00:13:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:13:13 0.1.4: Pulling from edgex-devops/py-git-semver 00:13:13 3dae71ba6b94: Pulling fs layer 00:13:13 6bf1a483ea7c: Pulling fs layer 00:13:13 f5dfc541a4d3: Pulling fs layer 00:13:13 461d9e800cba: Pulling fs layer 00:13:13 80192f66455f: Pulling fs layer 00:13:13 2e8e34ca0e6c: Pulling fs layer 00:13:13 a29436f7fd5d: Pulling fs layer 00:13:13 923cac83aea3: Pulling fs layer 00:13:13 25ad8b0a4227: Pulling fs layer 00:13:13 db01528c6b51: Pulling fs layer 00:13:13 28988de357af: Pulling fs layer 00:13:13 923cac83aea3: Waiting 00:13:13 461d9e800cba: Waiting 00:13:13 25ad8b0a4227: Waiting 00:13:13 28988de357af: Waiting 00:13:13 80192f66455f: Waiting 00:13:13 a29436f7fd5d: Waiting 00:13:13 2e8e34ca0e6c: Waiting 00:13:13 db01528c6b51: Waiting 00:13:13 6bf1a483ea7c: Verifying Checksum 00:13:13 6bf1a483ea7c: Download complete 00:13:13 461d9e800cba: Verifying Checksum 00:13:13 461d9e800cba: Download complete 00:13:13 80192f66455f: Verifying Checksum 00:13:13 80192f66455f: Download complete 00:13:13 f5dfc541a4d3: Verifying Checksum 00:13:13 f5dfc541a4d3: Download complete 00:13:13 3dae71ba6b94: Download complete 00:13:13 923cac83aea3: Verifying Checksum 00:13:13 923cac83aea3: Download complete 00:13:13 25ad8b0a4227: Verifying Checksum 00:13:13 25ad8b0a4227: Download complete 00:13:13 db01528c6b51: Verifying Checksum 00:13:13 db01528c6b51: Download complete 00:13:13 28988de357af: Verifying Checksum 00:13:13 28988de357af: Download complete 00:13:13 a29436f7fd5d: Verifying Checksum 00:13:13 a29436f7fd5d: Download complete 00:13:14 2e8e34ca0e6c: Verifying Checksum 00:13:14 2e8e34ca0e6c: Download complete 00:13:14 3dae71ba6b94: Pull complete 00:13:15 6bf1a483ea7c: Pull complete 00:13:16 f5dfc541a4d3: Pull complete 00:13:16 461d9e800cba: Pull complete 00:13:16 80192f66455f: Pull complete 00:13:20 2e8e34ca0e6c: Pull complete 00:13:21 a29436f7fd5d: Pull complete 00:13:21 923cac83aea3: Pull complete 00:13:21 25ad8b0a4227: Pull complete 00:13:22 db01528c6b51: Pull complete 00:13:22 28988de357af: Pull complete 00:13:23 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 00:13:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:13:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:13:23 prd-ubuntu20.04-docker-8c-8g-20235 does not seem to be running inside a container 00:13:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-functions-sdk-go_PR-1754 -v /w/workspace/dry_app-functions-sdk-go_PR-1754:/w/workspace/dry_app-functions-sdk-go_PR-1754:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1754@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1754@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:13:34 $ docker top 60fcecf9ece5bc9c4c0f9e70a819cc86f1beade073dedfe96bd35e5c1d91a3d0 -eo pid,comm 00:13:35 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:13:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:13:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:13:35 [ssh-agent] Looking for ssh-agent implementation... 00:13:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:13:35 $ docker exec 60fcecf9ece5bc9c4c0f9e70a819cc86f1beade073dedfe96bd35e5c1d91a3d0 ssh-agent 00:13:35 SSH_AUTH_SOCK=/tmp/ssh-NtUVAdARhiu6/agent.14 00:13:35 SSH_AGENT_PID=20 00:13:35 Running ssh-add (command line suppressed) 00:13:35 Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1754@tmp/private_key_9804355993187071616.key (/w/workspace/dry_app-functions-sdk-go_PR-1754@tmp/private_key_9804355993187071616.key) 00:13:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:13:35 + git config --global --add safe.directory /w/workspace/dry_app-functions-sdk-go_PR-1754 [Pipeline] sh 00:13:36 + git tag --points-at HEAD [Pipeline] } 00:13:36 $ docker exec --env ******** --env ******** 60fcecf9ece5bc9c4c0f9e70a819cc86f1beade073dedfe96bd35e5c1d91a3d0 ssh-agent -k 00:13:36 unset SSH_AUTH_SOCK; 00:13:36 unset SSH_AGENT_PID; 00:13:36 echo Agent pid 20 killed; 00:13:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:13:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:13:36 [ssh-agent] Looking for ssh-agent implementation... 00:13:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:13:36 $ docker exec 60fcecf9ece5bc9c4c0f9e70a819cc86f1beade073dedfe96bd35e5c1d91a3d0 ssh-agent 00:13:36 SSH_AUTH_SOCK=/tmp/ssh-KlAb08pLoynI/agent.85 00:13:36 SSH_AGENT_PID=91 00:13:36 Running ssh-add (command line suppressed) 00:13:36 Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1754@tmp/private_key_16224330429306645147.key (/w/workspace/dry_app-functions-sdk-go_PR-1754@tmp/private_key_16224330429306645147.key) 00:13:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:13:37 + git semver init 00:13:37 2025-10-03 00:13:37,369 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 00:13:37 2025-10-03 00:13:37,381 [run_init] DEBUG init version:0.0.0 force:False 00:13:37 2025-10-03 00:13:37,382 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-functions-sdk-go_PR-1754/.semver 00:13:37 2025-10-03 00:13:37,383 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-functions-sdk-go.git /w/workspace/dry_app-functions-sdk-go_PR-1754/.semver 00:13:37 2025-10-03 00:13:37,383 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-functions-sdk-go.git', '/w/workspace/dry_app-functions-sdk-go_PR-1754/.semver'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1754, stdin=None, shell=False, universal_newlines=False) 00:13:39 2025-10-03 00:13:39,599 [append_file] DEBUG append to file:/w/workspace/dry_app-functions-sdk-go_PR-1754/.git/info/exclude 00:13:39 2025-10-03 00:13:39,599 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_app-functions-sdk-go_PR-1754/.semver/PR-1754 with force:False 00:13:39 2025-10-03 00:13:39,599 [write_file] DEBUG write to file:/w/workspace/dry_app-functions-sdk-go_PR-1754/.semver/PR-1754 00:13:39 2025-10-03 00:13:39,604 [execute] INFO git cat-file --batch-check 00:13:39 2025-10-03 00:13:39,605 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1754/.semver, stdin=, shell=False, universal_newlines=False) 00:13:39 2025-10-03 00:13:39,608 [execute] INFO git cat-file --batch 00:13:39 2025-10-03 00:13:39,608 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1754/.semver, stdin=, shell=False, universal_newlines=False) 00:13:39 2025-10-03 00:13:39,611 [read_version] DEBUG read version from /w/workspace/dry_app-functions-sdk-go_PR-1754/.semver/PR-1754 00:13:39 0.0.0 [Pipeline] } 00:13:39 $ docker exec --env ******** --env ******** 60fcecf9ece5bc9c4c0f9e70a819cc86f1beade073dedfe96bd35e5c1d91a3d0 ssh-agent -k 00:13:39 unset SSH_AUTH_SOCK; 00:13:39 unset SSH_AGENT_PID; 00:13:39 echo Agent pid 91 killed; 00:13:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:13:40 + git semver [Pipeline] } 00:13:40 $ docker stop --time=1 60fcecf9ece5bc9c4c0f9e70a819cc86f1beade073dedfe96bd35e5c1d91a3d0 00:13:42 $ docker rm -f --volumes 60fcecf9ece5bc9c4c0f9e70a819cc86f1beade073dedfe96bd35e5c1d91a3d0 [Pipeline] // withDockerContainer [Pipeline] sh 00:13:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:13:43 Stashed 1 file(s) [Pipeline] echo 00:13:43 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 00:13:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 00:13:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 00:13:44 ========================================================= 00:13:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 00:13:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 00:13:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 00:13:44 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 00:13:44 0a9a5dfd008f: Pulling fs layer 00:13:44 36466aa92d05: Pulling fs layer 00:13:44 e10405b45d13: Pulling fs layer 00:13:44 096b7ceb2af7: Pulling fs layer 00:13:44 4f4fb700ef54: Pulling fs layer 00:13:44 c451b95d7931: Pulling fs layer 00:13:44 9febf9df4401: Pulling fs layer 00:13:44 1477f019b032: Pulling fs layer 00:13:44 c7dc25521971: Pulling fs layer 00:13:44 096b7ceb2af7: Waiting 00:13:44 4f4fb700ef54: Waiting 00:13:44 c451b95d7931: Waiting 00:13:44 9febf9df4401: Waiting 00:13:44 1477f019b032: Waiting 00:13:44 c7dc25521971: Waiting 00:13:44 36466aa92d05: Verifying Checksum 00:13:44 36466aa92d05: Download complete 00:13:45 096b7ceb2af7: Verifying Checksum 00:13:45 096b7ceb2af7: Download complete 00:13:45 4f4fb700ef54: Verifying Checksum 00:13:45 4f4fb700ef54: Download complete 00:13:45 c451b95d7931: Verifying Checksum 00:13:45 c451b95d7931: Download complete 00:13:45 0a9a5dfd008f: Verifying Checksum 00:13:45 0a9a5dfd008f: Download complete 00:13:45 9febf9df4401: Verifying Checksum 00:13:45 0a9a5dfd008f: Pull complete 00:13:45 c7dc25521971: Verifying Checksum 00:13:45 c7dc25521971: Download complete 00:13:45 36466aa92d05: Pull complete 00:13:45 e10405b45d13: Verifying Checksum 00:13:45 e10405b45d13: Download complete 00:13:45 1477f019b032: Verifying Checksum 00:13:45 1477f019b032: Download complete 00:13:51 e10405b45d13: Pull complete 00:13:51 096b7ceb2af7: Pull complete 00:13:51 4f4fb700ef54: Pull complete 00:13:51 c451b95d7931: Pull complete 00:13:51 9febf9df4401: Pull complete 00:13:54 1477f019b032: Pull complete 00:13:55 c7dc25521971: Pull complete 00:13:55 Digest: sha256:b992faf2485ce295780ce8bcc3ec6c89c618966a0a233ad776f4c4289344e4b4 00:13:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 00:13:55 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [Pipeline] sh 00:13:55 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:56 + docker inspect -f . ci-base-image-x86_64 00:13:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:13:56 prd-ubuntu20.04-docker-8c-8g-20235 does not seem to be running inside a container 00:13:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-functions-sdk-go_PR-1754 -v /w/workspace/dry_app-functions-sdk-go_PR-1754:/w/workspace/dry_app-functions-sdk-go_PR-1754:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1754@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1754@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:14:06 $ docker top 6bbb782c1672feba5beaf17a0aa55e862360eb48402694ab12ef99293cd6f6af -eo pid,comm [Pipeline] { [Pipeline] sh 00:14:06 + go version 00:14:06 go version go1.23.9 linux/amd64 [Pipeline] } 00:14:06 $ docker stop --time=1 6bbb782c1672feba5beaf17a0aa55e862360eb48402694ab12ef99293cd6f6af 00:14:08 $ docker rm -f --volumes 6bbb782c1672feba5beaf17a0aa55e862360eb48402694ab12ef99293cd6f6af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:08 + docker inspect -f . ci-base-image-x86_64 00:14:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:14:09 prd-ubuntu20.04-docker-8c-8g-20235 does not seem to be running inside a container 00:14:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/dry_app-functions-sdk-go_PR-1754 -v /w/workspace/dry_app-functions-sdk-go_PR-1754:/w/workspace/dry_app-functions-sdk-go_PR-1754:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1754@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1754@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:14:09 $ docker top 6b64ff260597481c9ee6b79ae3e854dcd22b62c3e98530a708f9eed0379112e5 -eo pid,comm [Pipeline] { [Pipeline] sh 00:14:09 + git config --global --add safe.directory /w/workspace/dry_app-functions-sdk-go_PR-1754 [Pipeline] fileExists [Pipeline] sh 00:14:10 + make test 00:14:10 make -C ./app-service-template build 00:14:10 make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1754/app-service-template' 00:14:10 go mod tidy 00:14:10 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v4 v4.1.0-dev.1 00:14:10 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 00:14:10 go: downloading github.com/google/uuid v1.6.0 00:14:10 go: downloading github.com/stretchr/testify v1.10.0 00:14:10 go: downloading github.com/labstack/echo/v4 v4.13.3 00:14:10 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v4 v4.1.0-dev.3 00:14:10 go: downloading github.com/edgexfoundry/go-mod-messaging/v4 v4.1.0-dev.3 00:14:10 go: downloading github.com/edgexfoundry/go-mod-registry/v4 v4.1.0-dev.1 00:14:10 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc 00:14:10 go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 00:14:10 go: downloading github.com/stretchr/objx v0.5.2 00:14:10 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.8.1 00:14:10 go: downloading github.com/eclipse/paho.mqtt.golang v1.5.0 00:14:10 go: downloading github.com/spf13/cast v1.7.1 00:14:10 go: downloading github.com/go-playground/validator/v10 v10.25.0 00:14:10 go: downloading github.com/fxamacker/cbor/v2 v2.7.0 00:14:10 go: downloading gopkg.in/yaml.v3 v3.0.1 00:14:10 go: downloading github.com/go-kit/log v0.2.1 00:14:10 go: downloading github.com/hashicorp/go-multierror v1.1.1 00:14:10 go: downloading github.com/labstack/gommon v0.4.2 00:14:10 go: downloading golang.org/x/crypto v0.36.0 00:14:10 go: downloading golang.org/x/net v0.38.0 00:14:10 go: downloading github.com/edgexfoundry/go-mod-secrets/v4 v4.1.0-dev.1 00:14:11 go: downloading github.com/edgexfoundry/go-mod-configuration/v4 v4.1.0-dev.1 00:14:11 go: downloading github.com/gorilla/websocket v1.5.3 00:14:11 go: downloading golang.org/x/sync v0.12.0 00:14:11 go: downloading github.com/x448/float16 v0.8.4 00:14:11 go: downloading github.com/go-logfmt/logfmt v0.5.1 00:14:11 go: downloading github.com/gabriel-vasile/mimetype v1.4.8 00:14:11 go: downloading github.com/go-playground/universal-translator v0.18.1 00:14:11 go: downloading github.com/leodido/go-urn v1.4.0 00:14:11 go: downloading golang.org/x/text v0.23.0 00:14:11 go: downloading github.com/go-playground/locales v0.14.1 00:14:11 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 00:14:12 go: downloading github.com/blang/semver/v4 v4.0.0 00:14:12 go: downloading github.com/jackc/pgerrcode v0.0.0-20240316143900-6e2875d9b438 00:14:12 go: downloading github.com/jackc/pgx/v5 v5.7.4 00:14:12 go: downloading github.com/pkg/errors v0.9.1 00:14:12 go: downloading github.com/mitchellh/copystructure v1.2.0 00:14:12 go: downloading github.com/golang-jwt/jwt/v5 v5.2.2 00:14:12 go: downloading github.com/openziti/sdk-golang v0.25.1 00:14:12 go: downloading github.com/sirupsen/logrus v1.9.3 00:14:12 go: downloading github.com/mattn/go-colorable v0.1.14 00:14:12 go: downloading github.com/hashicorp/errwrap v1.1.0 00:14:12 go: downloading github.com/mattn/go-isatty v0.0.20 00:14:12 go: downloading github.com/valyala/fasttemplate v1.2.2 00:14:12 go: downloading github.com/barkimedes/go-deepcopy v0.0.0-20220514131651-17c30cfc62df 00:14:12 go: downloading golang.org/x/sys v0.31.0 00:14:12 go: downloading github.com/spiffe/go-spiffe/v2 v2.5.0 00:14:12 go: downloading github.com/jackc/pgpassfile v1.0.0 00:14:12 go: downloading github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 00:14:12 go: downloading github.com/jackc/puddle/v2 v2.2.2 00:14:12 go: downloading github.com/mitchellh/reflectwalk v1.0.2 00:14:12 go: downloading golang.org/x/time v0.8.0 00:14:12 go: downloading github.com/mitchellh/mapstructure v1.5.0 00:14:12 go: downloading github.com/nats-io/nats.go v1.40.1 00:14:12 go: downloading github.com/michaelquigley/pfxlog v0.6.10 00:14:12 go: downloading github.com/openziti/channel/v3 v3.0.39 00:14:12 go: downloading github.com/openziti/edge-api v0.26.42 00:14:12 go: downloading github.com/openziti/foundation/v2 v2.0.59 00:14:12 go: downloading github.com/openziti/secretstream v0.1.32 00:14:12 go: downloading github.com/openziti/transport/v2 v2.0.167 00:14:12 go: downloading golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 00:14:12 go: downloading github.com/valyala/bytebufferpool v1.0.0 00:14:12 go: downloading github.com/Microsoft/go-winio v0.6.2 00:14:12 go: downloading github.com/frankban/quicktest v1.14.6 00:14:12 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 00:14:12 go: downloading github.com/go-playground/assert/v2 v2.2.0 00:14:12 go: downloading github.com/zeebo/errs v1.4.0 00:14:12 go: downloading google.golang.org/grpc v1.70.0 00:14:12 go: downloading github.com/go-openapi/runtime v0.28.0 00:14:12 go: downloading github.com/go-openapi/strfmt v0.23.0 00:14:12 go: downloading github.com/go-resty/resty/v2 v2.16.5 00:14:13 go: downloading github.com/openziti/identity v1.0.100 00:14:13 go: downloading github.com/orcaman/concurrent-map/v2 v2.0.1 00:14:13 go: downloading github.com/zitadel/oidc/v2 v2.12.2 00:14:13 go: downloading golang.org/x/oauth2 v0.28.0 00:14:13 go: downloading github.com/cenkalti/backoff/v4 v4.3.0 00:14:13 go: downloading github.com/kataras/go-events v0.0.3 00:14:13 go: downloading github.com/openziti/metrics v1.3.0 00:14:13 go: downloading github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d 00:14:13 go: downloading google.golang.org/protobuf v1.36.6 00:14:13 go: downloading github.com/speps/go-hashids v2.0.0+incompatible 00:14:13 go: downloading github.com/klauspost/compress v1.18.0 00:14:13 go: downloading github.com/nats-io/nkeys v0.4.9 00:14:13 go: downloading github.com/nats-io/nuid v1.0.1 00:14:13 go: downloading github.com/go-jose/go-jose/v4 v4.0.5 00:14:13 go: downloading github.com/google/go-cmp v0.6.0 00:14:13 go: downloading github.com/kr/pretty v0.3.1 00:14:13 go: downloading github.com/gorilla/mux v1.8.1 00:14:13 go: downloading nhooyr.io/websocket v1.8.17 00:14:13 go: downloading github.com/go-openapi/errors v0.22.0 00:14:13 go: downloading github.com/go-openapi/swag v0.23.0 00:14:13 go: downloading github.com/go-openapi/spec v0.21.0 00:14:13 go: downloading github.com/go-openapi/validate v0.24.0 00:14:13 go: downloading github.com/opentracing/opentracing-go v1.2.0 00:14:13 go: downloading go.opentelemetry.io/otel v1.32.0 00:14:13 go: downloading go.opentelemetry.io/otel/trace v1.32.0 00:14:13 go: downloading go.opentelemetry.io/otel/sdk v1.32.0 00:14:13 go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 00:14:13 go: downloading github.com/oklog/ulid v1.3.1 00:14:13 go: downloading go.mongodb.org/mongo-driver v1.17.0 00:14:13 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a 00:14:13 go: downloading go.opentelemetry.io/otel v1.37.0 00:14:13 go: downloading github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa 00:14:13 go: downloading github.com/mitchellh/go-ps v1.0.0 00:14:13 go: downloading github.com/shirou/gopsutil/v3 v3.24.5 00:14:14 go: downloading go.mozilla.org/pkcs7 v0.9.0 00:14:14 go: downloading golang.org/x/term v0.30.0 00:14:14 go: downloading gopkg.in/go-jose/go-jose.v2 v2.6.3 00:14:14 go: downloading github.com/gorilla/securecookie v1.1.2 00:14:14 go: downloading github.com/gorilla/schema v1.4.1 00:14:14 go: downloading github.com/muhlemmer/gu v0.3.1 00:14:14 go: downloading github.com/fsnotify/fsnotify v1.8.0 00:14:14 go: downloading github.com/kr/text v0.2.0 00:14:14 go: downloading github.com/rogpeppe/go-internal v1.11.0 00:14:14 go: downloading github.com/go-openapi/analysis v0.23.0 00:14:14 go: downloading github.com/go-openapi/loads v0.22.0 00:14:14 go: downloading github.com/mailru/easyjson v0.7.7 00:14:14 go: downloading github.com/go-openapi/jsonpointer v0.21.0 00:14:14 go: downloading github.com/go-openapi/jsonreference v0.21.0 00:14:14 go: downloading github.com/go-logr/logr v1.4.2 00:14:14 go: downloading go.opentelemetry.io/otel/metric v1.32.0 00:14:14 go: downloading github.com/go-logr/stdr v1.2.2 00:14:14 go: downloading github.com/golang/protobuf v1.5.4 00:14:14 go: downloading github.com/emirpasic/gods v1.18.1 00:14:14 go: downloading github.com/yusufpapurcu/wmi v1.2.4 00:14:14 go: downloading github.com/tklauser/go-sysconf v0.3.12 00:14:14 go: downloading github.com/jeremija/gosubmit v0.2.7 00:14:14 go: downloading github.com/google/gofuzz v1.2.0 00:14:14 go: downloading github.com/josharian/intern v1.0.0 00:14:14 go: downloading go.opentelemetry.io/otel/sdk/metric v1.32.0 00:14:14 go: downloading github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 00:14:14 go: downloading github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c 00:14:14 go: downloading github.com/shoenig/go-m1cpu v0.1.6 00:14:14 go: downloading github.com/go-ole/go-ole v1.2.6 00:14:14 go: downloading github.com/tklauser/numcpus v0.6.1 00:14:14 go: downloading github.com/muhlemmer/httpforwarded v0.1.0 00:14:14 go: downloading github.com/rs/cors v1.11.0 00:14:14 go: downloading github.com/parallaxsecond/parsec-client-go v0.0.0-20221025095442-f0a77d263cf9 00:14:14 go: downloading github.com/miekg/pkcs11 v1.1.1 00:14:14 go: downloading github.com/shoenig/test v0.6.4 00:14:14 go: downloading github.com/onsi/gomega v1.13.0 00:14:14 go: downloading github.com/onsi/ginkgo v1.16.4 00:14:14 go: downloading gopkg.in/yaml.v2 v2.4.0 00:14:14 go: downloading github.com/nxadm/tail v1.4.8 00:14:14 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 00:14:15 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v4 v4.1.0-dev.18 00:14:15 go: downloading github.com/rcrowley/go-metrics v0.0.0-20250401214520-65e299d6c5c9 00:14:15 go: downloading github.com/labstack/echo/v4 v4.13.4 00:14:15 go: downloading github.com/stretchr/testify v1.11.1 00:14:15 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v4 v4.1.0-dev.39 00:14:15 go: downloading github.com/edgexfoundry/go-mod-messaging/v4 v4.1.0-dev.17 00:14:15 go: downloading github.com/edgexfoundry/go-mod-registry/v4 v4.1.0-dev.5 00:14:15 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.8.4 00:14:15 go: downloading github.com/spf13/cast v1.10.0 00:14:15 go: downloading golang.org/x/net v0.43.0 00:14:15 go: downloading golang.org/x/crypto v0.41.0 00:14:15 go: downloading github.com/fxamacker/cbor/v2 v2.9.0 00:14:15 go: downloading github.com/go-playground/validator/v10 v10.27.0 00:14:15 go: downloading golang.org/x/sync v0.16.0 00:14:15 go: downloading github.com/jackc/pgx/v5 v5.7.6 00:14:15 go: downloading github.com/edgexfoundry/go-mod-configuration/v4 v4.1.0-dev.16 00:14:15 go: downloading github.com/edgexfoundry/go-mod-secrets/v4 v4.1.0-dev.6 00:14:15 go: downloading github.com/golang-jwt/jwt/v5 v5.3.0 00:14:15 go: downloading github.com/openziti/sdk-golang v1.2.3 00:14:15 go: downloading github.com/google/go-cmp v0.7.0 00:14:15 go: downloading golang.org/x/text v0.28.0 00:14:15 go: downloading golang.org/x/time v0.11.0 00:14:15 go: downloading golang.org/x/sys v0.35.0 00:14:15 go: downloading github.com/openziti/channel/v4 v4.2.21 00:14:15 go: downloading github.com/openziti/edge-api v0.26.47 00:14:15 go: downloading github.com/openziti/foundation/v2 v2.0.70 00:14:15 go: downloading github.com/openziti/secretstream v0.1.38 00:14:15 go: downloading github.com/openziti/transport/v2 v2.0.183 00:14:15 go: downloading github.com/nats-io/nats.go v1.45.0 00:14:16 go: downloading github.com/openziti/identity v1.0.109 00:14:16 go: downloading github.com/zitadel/oidc/v3 v3.44.0 00:14:16 go: downloading golang.org/x/oauth2 v0.30.0 00:14:16 go: downloading github.com/openziti/metrics v1.4.2 00:14:16 go: downloading google.golang.org/protobuf v1.36.7 00:14:16 go: downloading go.opentelemetry.io/otel/trace v1.37.0 00:14:16 go: downloading github.com/nats-io/nkeys v0.4.11 00:14:16 go: downloading github.com/fsnotify/fsnotify v1.9.0 00:14:16 go: downloading github.com/zitadel/logging v0.6.2 00:14:16 go: downloading github.com/zitadel/schema v1.3.1 00:14:16 go: downloading golang.org/x/term v0.34.0 00:14:16 go: downloading github.com/go-logr/logr v1.4.3 00:14:16 go: downloading go.opentelemetry.io/otel/metric v1.37.0 00:14:16 go: downloading go.opentelemetry.io/auto/sdk v1.1.0 00:14:16 go: downloading github.com/rogpeppe/go-internal v1.13.1 00:14:16 go: downloading github.com/jeremija/gosubmit v0.2.8 00:14:16 go: downloading github.com/rs/cors v1.11.1 00:14:16 go: downloading github.com/go-chi/chi/v5 v5.2.2 00:14:16 go: downloading github.com/bmatcuk/doublestar/v4 v4.9.0 00:14:17 CGO_ENABLED=0 go build -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v4/internal.SDKVersion=4.0.0 -X github.com/edgexfoundry/app-functions-sdk-go/v4/internal.ApplicationVersion=0.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o app-new-service 00:14:43 make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1754/app-service-template' 00:14:43 make -C ./app-service-template test 00:14:43 make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1754/app-service-template' 00:14:43 go test -race -coverprofile=coverage.out ./... 00:15:16 app-new-service/config coverage: 0.0% of statements 00:15:16 ok app-new-service 1.048s coverage: 45.9% of statements 00:15:16 ok app-new-service/functions 1.044s coverage: 85.3% of statements 00:15:16 go vet ./... 00:15:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:15:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:15:42 ./bin/test-attribution-txt.sh 00:15:42 An attribution for github.com/emirpasic/gods is missing from Attribution.txt, please add 00:15:42 An attribution for github.com/openziti/channel/v4 is missing from Attribution.txt, please add 00:15:42 An attribution for github.com/zitadel/logging is missing from Attribution.txt, please add 00:15:42 An attribution for github.com/zitadel/oidc/v3 is missing from Attribution.txt, please add 00:15:42 An attribution for github.com/zitadel/schema is missing from Attribution.txt, please add 00:15:42 An attribution for go.opentelemetry.io/auto/sdk is missing from Attribution.txt, please add 00:15:42 make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1754/app-service-template' 00:15:42 go test -race -coverprofile=coverage.out ./... 00:15:42 go: downloading github.com/gomodule/redigo v1.9.2 00:15:42 ? github.com/edgexfoundry/app-functions-sdk-go/v4/internal [no test files] 00:15:44 github.com/edgexfoundry/app-functions-sdk-go/v4/internal/bootstrap/container coverage: 0.0% of statements 00:15:44 github.com/edgexfoundry/app-functions-sdk-go/v4/internal/common coverage: 0.0% of statements 00:15:45 ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/app 1.135s coverage: 66.2% of statements 00:15:45 ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/appfunction 1.047s coverage: 89.3% of statements 00:15:45 ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/bootstrap/handlers 1.066s coverage: 85.1% of statements 00:15:45 ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/etm 1.026s coverage: 100.0% of statements 00:15:45 ? github.com/edgexfoundry/app-functions-sdk-go/v4/internal/store/db [no test files] 00:15:45 ? github.com/edgexfoundry/app-functions-sdk-go/v4/internal/store/db/postgres/embed [no test files] 00:15:45 ? github.com/edgexfoundry/app-functions-sdk-go/v4/internal/trigger [no test files] 00:15:45 github.com/edgexfoundry/app-functions-sdk-go/v4/internal/store/db/redis coverage: 0.0% of statements 00:15:45 github.com/edgexfoundry/app-functions-sdk-go/v4/internal/store/db/postgres coverage: 0.0% of statements 00:15:46 github.com/edgexfoundry/app-functions-sdk-go/v4/internal/trigger/http/mocks coverage: 0.0% of statements 00:15:46 github.com/edgexfoundry/app-functions-sdk-go/v4/internal/trigger/mocks coverage: 0.0% of statements 00:15:46 ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/runtime 1.128s coverage: 75.0% of statements 00:15:46 ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/store/db/models 1.042s coverage: 97.3% of statements 00:15:46 github.com/edgexfoundry/app-functions-sdk-go/v4/internal/trigger/mqtt/mocks coverage: 0.0% of statements 00:15:47 ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/trigger/http 1.042s coverage: 82.8% of statements 00:15:47 ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/trigger/messagebus 1.035s coverage: 65.1% of statements 00:15:47 ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/trigger/mqtt 1.038s coverage: 27.6% of statements 00:15:48 github.com/edgexfoundry/app-functions-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements 00:15:48 github.com/edgexfoundry/app-functions-sdk-go/v4/pkg/interfaces coverage: 0.0% of statements 00:15:49 ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/webserver 1.065s coverage: 13.1% of statements 00:15:49 ok github.com/edgexfoundry/app-functions-sdk-go/v4/pkg 1.054s coverage: 27.3% of statements 00:15:49 ok github.com/edgexfoundry/app-functions-sdk-go/v4/pkg/secure 1.028s coverage: 52.8% of statements 00:16:16 ok github.com/edgexfoundry/app-functions-sdk-go/v4/pkg/transforms 26.163s coverage: 72.2% of statements 00:16:16 ok github.com/edgexfoundry/app-functions-sdk-go/v4/pkg/util 1.023s coverage: 94.4% of statements 00:16:16 go vet ./... 00:16:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:16:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 00:16:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 00:16:28 $ docker stop --time=1 6b64ff260597481c9ee6b79ae3e854dcd22b62c3e98530a708f9eed0379112e5 00:16:30 $ docker rm -f --volumes 6b64ff260597481c9ee6b79ae3e854dcd22b62c3e98530a708f9eed0379112e5 [Pipeline] // withDockerContainer [Pipeline] sh 00:16:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:16:32 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:16:33 00:16:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:16:33 latest: Pulling from edgex-lftools-log-publisher 00:16:33 5eb5b503b376: Pulling fs layer 00:16:33 5c69ac0246d0: Pulling fs layer 00:16:33 ec43610c2a17: Pulling fs layer 00:16:33 3a2ae6a8a46f: Pulling fs layer 00:16:33 33b1e0a273af: Pulling fs layer 00:16:33 5d3b04190fa2: Pulling fs layer 00:16:33 2f39f015ded8: Pulling fs layer 00:16:33 33b1e0a273af: Waiting 00:16:33 5d3b04190fa2: Waiting 00:16:33 2f39f015ded8: Waiting 00:16:33 3a2ae6a8a46f: Waiting 00:16:33 5c69ac0246d0: Download complete 00:16:33 3a2ae6a8a46f: Verifying Checksum 00:16:33 3a2ae6a8a46f: Download complete 00:16:33 33b1e0a273af: Verifying Checksum 00:16:33 33b1e0a273af: Download complete 00:16:33 ec43610c2a17: Verifying Checksum 00:16:33 ec43610c2a17: Download complete 00:16:33 5d3b04190fa2: Verifying Checksum 00:16:33 5d3b04190fa2: Download complete 00:16:33 5eb5b503b376: Verifying Checksum 00:16:33 5eb5b503b376: Download complete 00:16:34 2f39f015ded8: Verifying Checksum 00:16:34 2f39f015ded8: Download complete 00:16:35 5eb5b503b376: Pull complete 00:16:35 5c69ac0246d0: Pull complete 00:16:35 ec43610c2a17: Pull complete 00:16:36 3a2ae6a8a46f: Pull complete 00:16:36 33b1e0a273af: Pull complete 00:16:36 5d3b04190fa2: Pull complete 00:16:42 2f39f015ded8: Pull complete 00:16:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:16:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:16:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:16:43 prd-ubuntu20.04-docker-8c-8g-20235 does not seem to be running inside a container 00:16:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-functions-sdk-go_PR-1754 -v /w/workspace/dry_app-functions-sdk-go_PR-1754:/w/workspace/dry_app-functions-sdk-go_PR-1754:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1754@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1754@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:16:46 $ docker top 06e33b980dc209268a94e163d475d15b662e6e92642321021887b41349ec8bea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:16:46 ---> job-cost.sh 00:16:46 lf-activate-venv: SKIPPING 00:16:46 INFO: No Stack... 00:16:46 INFO: Retrieving Pricing Info for: v3-standard-8 00:16:56 INFO: Archiving Costs [Pipeline] sh 00:16:57 + cat /w/workspace/dry_app-functions-sdk-go_PR-1754/archives/cost.csv 00:16:57 + cut -d, -f6 [Pipeline] lock 00:16:57 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-functions-sdk-go-PR-1754-1-stack-cost] 00:16:57 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1754-1-stack-cost] did not exist. Created. 00:16:57 Lock acquired on [Resource: jenkins-edgexfoundry-app-functions-sdk-go-PR-1754-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:16:57 + echo total: 0.2199999988079071 [Pipeline] stash 00:16:57 Stashed 1 file(s) [Pipeline] } 00:16:57 Lock released on resource [Resource: jenkins-edgexfoundry-app-functions-sdk-go-PR-1754-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:16:57 $ docker stop --time=1 06e33b980dc209268a94e163d475d15b662e6e92642321021887b41349ec8bea 00:16:59 $ docker rm -f --volumes 06e33b980dc209268a94e163d475d15b662e6e92642321021887b41349ec8bea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 00:16:59 provisioning config files... 00:16:59 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/dry_app-functions-sdk-go_PR-1754@tmp/config17141097576676872829tmp [Pipeline] { [Pipeline] sh 00:17:00 + set +x 00:17:00 + curl -s https://codecov.io/bash 00:17:00 + bash -s -- 00:17:00 00:17:00 _____ _ 00:17:00 / ____| | | 00:17:00 | | ___ __| | ___ ___ _____ __ 00:17:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:17:00 | |___| (_) | (_| | __/ (_| (_) \ V / 00:17:00 \_____\___/ \__,_|\___|\___\___/ \_/ 00:17:00 Bash-1.0.6 00:17:00 00:17:00 00:17:00 ==> git version 2.25.1 found 00:17:00 ==> 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 00:17:00 Release-Date: 2020-01-08 00:17:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:17:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:17:00 ==> Jenkins CI detected. 00:17:00 current dir:  /w/workspace/dry_app-functions-sdk-go_PR-1754 00:17:00 project root: . 00:17:00 --> token set from env 00:17:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:17:00 ==> Running gcov in . (disable via -X gcov) 00:17:00 ==> Python coveragepy not found 00:17:00 ==> Searching for coverage reports in: 00:17:00 + . 00:17:00 -> Found 2 reports 00:17:00 ==> Detecting git/mercurial file structure 00:17:00 ==> Reading reports 00:17:00 + ./app-service-template/coverage.out bytes=4438 00:17:00 + ./coverage.out bytes=597119 00:17:00 ==> Appending adjustments 00:17:00 https://docs.codecov.io/docs/fixing-reports 00:17:00 + Found adjustments 00:17:00 ==> Gzipping contents 00:17:00 56K /tmp/codecov.4reXu6.gz 00:17:00 ==> Uploading reports 00:17:00 url: https://codecov.io 00:17:00 query: branch=PR-1754&commit=76302f4af55dd7650589edb0ae421a1e3f7b6fea&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-1754%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=1754&job=&cmd_args= 00:17:00 -> Pinging Codecov 00:17:00 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1754&commit=76302f4af55dd7650589edb0ae421a1e3f7b6fea&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-1754%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=1754&job=&cmd_args= 00:17:01 -> Uploading to 00:17:01 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/app-functions-sdk-go/76302f4af55dd7650589edb0ae421a1e3f7b6fea/58850972-7321-4abf-97f7-fd795ae2abd9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20251003%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20251003T001700Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=7e6221bf9980847d20199d379f7b1a172f20951800c434326d3ac43df4fb6a23 00:17:01 % Total % Received % Xferd Average Speed Time Time Time Current 00:17:01 Dload Upload Total Spent Left Speed 00:17:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 55907 0 0 100 55907 0 188k --:--:-- --:--:-- --:--:-- 188k 00:17:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/76302f4af55dd7650589edb0ae421a1e3f7b6fea [Pipeline] } 00:17:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:17:03 + [ -d /w/workspace/dry_app-functions-sdk-go_PR-1754/archives ] 00:17:03 + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1754/archives 00:17:03 total 16 00:17:03 drwxr-xr-x 3 root root 4096 Oct 3 00:16 . 00:17:03 drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 00:16 .. 00:17:03 drwxr-xr-x 2 root root 4096 Oct 3 00:16 cost 00:17:03 -rw-r--r-- 1 root root 93 Oct 3 00:16 cost.csv 00:17:03 + sudo chown -R jenkins:jenkins /w/workspace/dry_app-functions-sdk-go_PR-1754/archives 00:17:03 + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1754/archives 00:17:03 total 16 00:17:03 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 00:16 . 00:17:03 drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 00:16 .. 00:17:03 drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 00:16 cost 00:17:03 -rw-r--r-- 1 jenkins jenkins 93 Oct 3 00:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:17:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:17:04 ---> package-listing.sh 00:17:04 ++ facter osfamily 00:17:04 ++ tr '[:upper:]' '[:lower:]' 00:17:04 + OS_FAMILY=debian 00:17:04 + workspace=/w/workspace/dry_app-functions-sdk-go_PR-1754 00:17:04 + START_PACKAGES=/tmp/packages_start.txt 00:17:04 + END_PACKAGES=/tmp/packages_end.txt 00:17:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:17:04 + PACKAGES=/tmp/packages_start.txt 00:17:04 + '[' /w/workspace/dry_app-functions-sdk-go_PR-1754 ']' 00:17:04 + PACKAGES=/tmp/packages_end.txt 00:17:04 + case "${OS_FAMILY}" in 00:17:04 + dpkg -l 00:17:04 + grep '^ii' 00:17:04 + '[' -f /tmp/packages_start.txt ']' 00:17:04 + '[' -f /tmp/packages_end.txt ']' 00:17:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:17:04 + '[' /w/workspace/dry_app-functions-sdk-go_PR-1754 ']' 00:17:04 + mkdir -p /w/workspace/dry_app-functions-sdk-go_PR-1754/archives/ 00:17:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_app-functions-sdk-go_PR-1754/archives/ [Pipeline] echo 00:17:04 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-functions-sdk-go_PR-1754/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:17:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:17:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:17:05 prd-ubuntu20.04-docker-8c-8g-20235 does not seem to be running inside a container 00:17:05 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-functions-sdk-go_PR-1754/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-functions-sdk-go_PR-1754 -v /w/workspace/dry_app-functions-sdk-go_PR-1754:/w/workspace/dry_app-functions-sdk-go_PR-1754:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1754@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1754@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:17:06 $ docker top 81c6a24e16e3e99afeb44fc3b9224ab9df50d13e097c5ff96ed79fb866d1e425 -eo pid,comm [Pipeline] { [Pipeline] sh 00:17:06 + touch /tmp/pre-build-complete [Pipeline] sh 00:17:07 + mkdir -p /var/log/sysstat [Pipeline] sh 00:17:07 + ls /var/log/sa-host 00:17:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:17:07 provisioning config files... 00:17:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-functions-sdk-go_PR-1754@tmp/config9963342926581678756tmp [Pipeline] { [Pipeline] echo 00:17:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:17:08 ---> create-netrc.sh [Pipeline] } 00:17:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:17:08 ---> python-tools-install.sh [Pipeline] echo 00:17:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:17:08 ---> sudo-logs.sh 00:17:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:17:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:17:09 ---> job-cost.sh 00:17:09 lf-activate-venv: SKIPPING 00:17:09 DEBUG: total: 0.2199999988079071 00:17:09 INFO: Retrieving Stack Cost... 00:17:09 INFO: Retrieving Pricing Info for: v3-standard-8 00:17:36 INFO: Archiving Costs [Pipeline] echo 00:17:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:17:36 ---> logs-deploy.sh 00:17:36 lf-activate-venv: SKIPPING 00:17:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-1754/1 00:17:36 INFO: archiving workspace using pattern(s): 00:17:37 Archives upload complete. 00:17:37 INFO: archiving logs to Nexus