Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2342a3136560f87af28233032e68c3b0d8c25719 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-ssh9379523897526084305.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh12984262921332407205.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3334485333488274810.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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 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-ssh3474161425545260391.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13956128135223955226.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 ‘prd-ubuntu20.04-docker-8c-8g-24140’ is offline Running on prd-ubuntu20.04-docker-8c-8g-24145 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 2342a3136560f87af28233032e68c3b0d8c25719 (main) Commit message: "Merge pull request #1629 from jinlinGuan/v4-module" > 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 2342a3136560f87af28233032e68c3b0d8c25719 # timeout=10 > git rev-list --no-walk 4e127a55c9698e7fbe578c6e44a1746ca9bc1a6c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-30T09:34:03.342Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-30T09:34:03.422Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-30T09:34:03.449Z] ========================================================= [2024-10-30T09:34:03.449Z] EdgeX Global Pipelines Version Info [2024-10-30T09:34:03.449Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-30T09:34:04.194Z] ------------------- [2024-10-30T09:34:04.194Z] stable info: [2024-10-30T09:34:04.194Z] ------------------- [2024-10-30T09:34:04.194Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-30T09:34:04.194Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-30T09:34:04.194Z] Message: update stable to v1.0.265 [2024-10-30T09:34:04.766Z] ------------------- [2024-10-30T09:34:04.766Z] experimental info: [2024-10-30T09:34:04.766Z] ------------------- [2024-10-30T09:34:04.766Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-30T09:34:04.766Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-30T09:34:04.766Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-30T09:34:04.877Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2024-10-30T09:34:04.909Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2024-10-30T09:34:04.931Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-30T09:34:04.949Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-30T09:34:04.968Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-30T09:34:04.990Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-30T09:34:05.010Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-30T09:34:05.032Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-30T09:34:05.053Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-30T09:34:05.074Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-30T09:34:05.095Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-30T09:34:05.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2024-10-30T09:34:05.136Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-30T09:34:05.160Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-30T09:34:05.186Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2024-10-30T09:34:05.219Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-10-30T09:34:05.241Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-30T09:34:05.262Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-30T09:34:05.286Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-30T09:34:05.310Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-30T09:34:05.332Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-10-30T09:34:05.351Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo [2024-10-30T09:34:05.370Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-30T09:34:05.396Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-30T09:34:05.420Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2024-10-30T09:34:05.442Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-30T09:34:05.467Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-30T09:34:05.488Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-10-30T09:34:05.511Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-10-30T09:34:05.532Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-10-30T09:34:05.552Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2342a3136560f87af28233032e68c3b0d8c25719 [Pipeline] echo [2024-10-30T09:34:05.574Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2342a31 [Pipeline] echo [2024-10-30T09:34:05.601Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-30T09:34:05.980Z] + git rev-list -1 --merges 2342a3136560f87af28233032e68c3b0d8c25719~1..2342a3136560f87af28233032e68c3b0d8c25719 [Pipeline] echo [2024-10-30T09:34:06.009Z] -----------> git rev-list -1 --merges 2342a3136560f87af28233032e68c3b0d8c25719~1..2342a3136560f87af28233032e68c3b0d8c25719 2342a3136560f87af28233032e68c3b0d8c25719 [2024-10-30T09:34:06.009Z] 2342a3136560f87af28233032e68c3b0d8c25719 [false] [Pipeline] sh [2024-10-30T09:34:06.301Z] + git log --format=format:%s -1 2342a3136560f87af28233032e68c3b0d8c25719 [Pipeline] echo [2024-10-30T09:34:06.318Z] ========================================================= [2024-10-30T09:34:06.319Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-30T09:34:06.319Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-30T09:34:06.653Z] + git log --format=format:%s -1 2342a3136560f87af28233032e68c3b0d8c25719 [Pipeline] echo [2024-10-30T09:34:06.667Z] [semverPrep] GIT_COMMIT: 2342a3136560f87af28233032e68c3b0d8c25719, Commit Message: Merge pull request #1629 from jinlinGuan/v4-module [Pipeline] echo [2024-10-30T09:34:06.683Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-30T09:34:07.092Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-30T09:34:07.092Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-30T09:34:07.092Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-30T09:34:07.092Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-30T09:34:07.092Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-30T09:34:07.092Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-30T09:34:07.092Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T09:34:07.511Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-30T09:34:07.771Z] [2024-10-30T09:34:07.771Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T09:34:08.077Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-30T09:34:08.077Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-30T09:34:08.077Z] b85a868b505f: Pulling fs layer [2024-10-30T09:34:08.077Z] e2be974225ed: Pulling fs layer [2024-10-30T09:34:08.077Z] 339a4e72a1f5: Pulling fs layer [2024-10-30T09:34:08.077Z] 988bab9f4d93: Pulling fs layer [2024-10-30T09:34:08.077Z] 1469e6f7b9e6: Pulling fs layer [2024-10-30T09:34:08.077Z] eaf3925da568: Pulling fs layer [2024-10-30T09:34:08.077Z] bab4dde63d76: Pulling fs layer [2024-10-30T09:34:08.077Z] bde34c3a00c8: Pulling fs layer [2024-10-30T09:34:08.077Z] b352a97aabf1: Pulling fs layer [2024-10-30T09:34:08.077Z] 4872d77fe225: Pulling fs layer [2024-10-30T09:34:08.077Z] 5851b861e8e6: Pulling fs layer [2024-10-30T09:34:08.077Z] 1469e6f7b9e6: Waiting [2024-10-30T09:34:08.077Z] bde34c3a00c8: Waiting [2024-10-30T09:34:08.077Z] eaf3925da568: Waiting [2024-10-30T09:34:08.077Z] 5851b861e8e6: Waiting [2024-10-30T09:34:08.077Z] bab4dde63d76: Waiting [2024-10-30T09:34:08.077Z] b352a97aabf1: Waiting [2024-10-30T09:34:08.077Z] 988bab9f4d93: Waiting [2024-10-30T09:34:08.077Z] 4872d77fe225: Waiting [2024-10-30T09:34:08.077Z] e2be974225ed: Verifying Checksum [2024-10-30T09:34:08.077Z] e2be974225ed: Download complete [2024-10-30T09:34:08.077Z] 988bab9f4d93: Verifying Checksum [2024-10-30T09:34:08.077Z] 988bab9f4d93: Download complete [2024-10-30T09:34:08.338Z] 1469e6f7b9e6: Verifying Checksum [2024-10-30T09:34:08.338Z] 1469e6f7b9e6: Download complete [2024-10-30T09:34:08.338Z] eaf3925da568: Download complete [2024-10-30T09:34:08.338Z] 339a4e72a1f5: Verifying Checksum [2024-10-30T09:34:08.338Z] 339a4e72a1f5: Download complete [2024-10-30T09:34:08.338Z] bde34c3a00c8: Download complete [2024-10-30T09:34:08.338Z] b352a97aabf1: Verifying Checksum [2024-10-30T09:34:08.338Z] b352a97aabf1: Download complete [2024-10-30T09:34:08.338Z] 4872d77fe225: Download complete [2024-10-30T09:34:08.338Z] 5851b861e8e6: Verifying Checksum [2024-10-30T09:34:08.338Z] 5851b861e8e6: Download complete [2024-10-30T09:34:08.338Z] b85a868b505f: Download complete [2024-10-30T09:34:08.596Z] bab4dde63d76: Verifying Checksum [2024-10-30T09:34:08.596Z] bab4dde63d76: Download complete [2024-10-30T09:34:09.971Z] b85a868b505f: Pull complete [2024-10-30T09:34:09.971Z] e2be974225ed: Pull complete [2024-10-30T09:34:10.231Z] 339a4e72a1f5: Pull complete [2024-10-30T09:34:10.232Z] 988bab9f4d93: Pull complete [2024-10-30T09:34:10.522Z] 1469e6f7b9e6: Pull complete [2024-10-30T09:34:10.784Z] eaf3925da568: Pull complete [2024-10-30T09:34:12.694Z] bab4dde63d76: Pull complete [2024-10-30T09:34:12.694Z] bde34c3a00c8: Pull complete [2024-10-30T09:34:12.694Z] b352a97aabf1: Pull complete [2024-10-30T09:34:12.694Z] 4872d77fe225: Pull complete [2024-10-30T09:34:12.953Z] 5851b861e8e6: Pull complete [2024-10-30T09:34:12.953Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-30T09:34:12.953Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-30T09:34:12.953Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T09:34:13.098Z] prd-ubuntu20.04-docker-8c-8g-24145 does not seem to be running inside a container [2024-10-30T09:34:13.129Z] $ 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:0.1.4 cat [2024-10-30T09:34:14.967Z] $ docker top 0b87bd8e36d05411bc492f8524aa45693d31fbff40b022806d9112930a297863 -eo pid,comm [2024-10-30T09:34:15.026Z] 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). [2024-10-30T09:34:15.026Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-30T09:34:15.076Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-30T09:34:15.076Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-30T09:34:15.194Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-30T09:34:15.194Z] $ docker exec 0b87bd8e36d05411bc492f8524aa45693d31fbff40b022806d9112930a297863 ssh-agent [2024-10-30T09:34:15.303Z] SSH_AUTH_SOCK=/tmp/ssh-mWcPKSlGO3Px/agent.33 [2024-10-30T09:34:15.303Z] SSH_AGENT_PID=39 [2024-10-30T09:34:15.309Z] Running ssh-add (command line suppressed) [2024-10-30T09:34:15.413Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_15368081836716170569.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_15368081836716170569.key) [2024-10-30T09:34:15.432Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-30T09:34:15.729Z] + git tag --points-at HEAD [Pipeline] } [2024-10-30T09:34:15.738Z] $ docker exec --env ******** --env ******** 0b87bd8e36d05411bc492f8524aa45693d31fbff40b022806d9112930a297863 ssh-agent -k [2024-10-30T09:34:15.843Z] unset SSH_AUTH_SOCK; [2024-10-30T09:34:15.844Z] unset SSH_AGENT_PID; [2024-10-30T09:34:15.844Z] echo Agent pid 39 killed; [2024-10-30T09:34:15.856Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-30T09:34:15.904Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-30T09:34:15.904Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-30T09:34:16.024Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-30T09:34:16.024Z] $ docker exec 0b87bd8e36d05411bc492f8524aa45693d31fbff40b022806d9112930a297863 ssh-agent [2024-10-30T09:34:16.149Z] SSH_AUTH_SOCK=/tmp/ssh-SAKTojbPiSwb/agent.72 [2024-10-30T09:34:16.149Z] SSH_AGENT_PID=78 [2024-10-30T09:34:16.154Z] Running ssh-add (command line suppressed) [2024-10-30T09:34:16.268Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_12851295971045144577.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_12851295971045144577.key) [2024-10-30T09:34:16.285Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-30T09:34:16.586Z] + git semver init [2024-10-30T09:34:16.849Z] 2024-10-30 09:34:16,801 [run_init] DEBUG init version:0.0.0 force:False [2024-10-30T09:34:16.849Z] 2024-10-30 09:34:16,802 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_app-functions-sdk-go_main/.semver [2024-10-30T09:34:16.849Z] 2024-10-30 09:34:16,802 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-functions-sdk-go.git /w/workspace/oundry_app-functions-sdk-go_main/.semver [2024-10-30T09:34:16.849Z] 2024-10-30 09:34:16,802 [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) [2024-10-30T09:34:18.765Z] 2024-10-30 09:34:18,332 [append_file] DEBUG append to file:/w/workspace/oundry_app-functions-sdk-go_main/.git/info/exclude [2024-10-30T09:34:18.765Z] 2024-10-30 09:34:18,332 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:False [2024-10-30T09:34:18.765Z] 2024-10-30 09:34:18,332 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2024-10-30T09:34:18.765Z] 2024-10-30 09:34:18,333 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2024-10-30T09:34:18.765Z] 4.0.0-dev.2 [Pipeline] } [2024-10-30T09:34:18.774Z] $ docker exec --env ******** --env ******** 0b87bd8e36d05411bc492f8524aa45693d31fbff40b022806d9112930a297863 ssh-agent -k [2024-10-30T09:34:18.881Z] unset SSH_AUTH_SOCK; [2024-10-30T09:34:18.882Z] unset SSH_AGENT_PID; [2024-10-30T09:34:18.882Z] echo Agent pid 78 killed; [2024-10-30T09:34:18.894Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-30T09:34:19.230Z] + git semver [Pipeline] } [2024-10-30T09:34:19.501Z] $ docker stop --time=1 0b87bd8e36d05411bc492f8524aa45693d31fbff40b022806d9112930a297863 [2024-10-30T09:34:20.863Z] $ docker rm -f --volumes 0b87bd8e36d05411bc492f8524aa45693d31fbff40b022806d9112930a297863 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-30T09:34:21.223Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-30T09:34:21.463Z] Stashed 1 file(s) [Pipeline] echo [2024-10-30T09:34:21.468Z] [edgeXSemver]: initialized semver on version 4.0.0-dev.2 [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 [2024-10-30T09:34:21.676Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-30T09:34:21.693Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-30T09:34:21.711Z] ========================================================= [2024-10-30T09:34:21.711Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-30T09:34:21.711Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2024-10-30T09:34:22.047Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-30T09:34:22.047Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-30T09:34:22.047Z] 43c4264eed91: Pulling fs layer [2024-10-30T09:34:22.047Z] 4cc291be95ef: Pulling fs layer [2024-10-30T09:34:22.047Z] 2ac1f1163629: Pulling fs layer [2024-10-30T09:34:22.047Z] 5c3c966382ef: Pulling fs layer [2024-10-30T09:34:22.047Z] 4f4fb700ef54: Pulling fs layer [2024-10-30T09:34:22.047Z] 5d5c8e513c77: Pulling fs layer [2024-10-30T09:34:22.047Z] 9f66e0745190: Pulling fs layer [2024-10-30T09:34:22.047Z] f49a43e4bbc0: Pulling fs layer [2024-10-30T09:34:22.047Z] 561ebcabdf7f: Pulling fs layer [2024-10-30T09:34:22.047Z] 4f4fb700ef54: Waiting [2024-10-30T09:34:22.047Z] 5d5c8e513c77: Waiting [2024-10-30T09:34:22.047Z] f49a43e4bbc0: Waiting [2024-10-30T09:34:22.047Z] 561ebcabdf7f: Waiting [2024-10-30T09:34:22.047Z] 9f66e0745190: Waiting [2024-10-30T09:34:22.047Z] 5c3c966382ef: Waiting [2024-10-30T09:34:22.047Z] 4cc291be95ef: Verifying Checksum [2024-10-30T09:34:22.047Z] 4cc291be95ef: Download complete [2024-10-30T09:34:22.047Z] 5c3c966382ef: Verifying Checksum [2024-10-30T09:34:22.047Z] 5c3c966382ef: Download complete [2024-10-30T09:34:22.047Z] 4f4fb700ef54: Verifying Checksum [2024-10-30T09:34:22.047Z] 4f4fb700ef54: Download complete [2024-10-30T09:34:22.047Z] 5d5c8e513c77: Verifying Checksum [2024-10-30T09:34:22.047Z] 5d5c8e513c77: Download complete [2024-10-30T09:34:22.047Z] 43c4264eed91: Download complete [2024-10-30T09:34:22.047Z] 9f66e0745190: Verifying Checksum [2024-10-30T09:34:22.047Z] 9f66e0745190: Download complete [2024-10-30T09:34:22.306Z] 43c4264eed91: Pull complete [2024-10-30T09:34:22.306Z] 561ebcabdf7f: Verifying Checksum [2024-10-30T09:34:22.306Z] 561ebcabdf7f: Download complete [2024-10-30T09:34:22.306Z] 4cc291be95ef: Pull complete [2024-10-30T09:34:22.565Z] 2ac1f1163629: Verifying Checksum [2024-10-30T09:34:22.565Z] 2ac1f1163629: Download complete [2024-10-30T09:34:22.823Z] f49a43e4bbc0: Verifying Checksum [2024-10-30T09:34:22.823Z] f49a43e4bbc0: Download complete [2024-10-30T09:34:26.104Z] 2ac1f1163629: Pull complete [2024-10-30T09:34:26.104Z] 5c3c966382ef: Pull complete [2024-10-30T09:34:26.104Z] 4f4fb700ef54: Pull complete [2024-10-30T09:34:26.104Z] 5d5c8e513c77: Pull complete [2024-10-30T09:34:26.104Z] 9f66e0745190: Pull complete [2024-10-30T09:34:28.002Z] f49a43e4bbc0: Pull complete [2024-10-30T09:34:28.569Z] 561ebcabdf7f: Pull complete [2024-10-30T09:34:28.569Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-30T09:34:28.569Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-30T09:34:28.569Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [Pipeline] sh [2024-10-30T09:34:28.858Z] + 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 [2024-10-30T09:34:29.161Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-30T09:34:29.161Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T09:34:29.241Z] prd-ubuntu20.04-docker-8c-8g-24145 does not seem to be running inside a container [2024-10-30T09:34:29.267Z] $ 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 [2024-10-30T09:34:31.768Z] $ docker top d7b740bcf1e25b2a517d17c5b532eb3a01fe355c780083a831efb6fa278c70c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T09:34:32.118Z] + go version [2024-10-30T09:34:32.119Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-30T09:34:32.127Z] $ docker stop --time=1 d7b740bcf1e25b2a517d17c5b532eb3a01fe355c780083a831efb6fa278c70c8 [2024-10-30T09:34:33.488Z] $ docker rm -f --volumes d7b740bcf1e25b2a517d17c5b532eb3a01fe355c780083a831efb6fa278c70c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T09:34:34.032Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-30T09:34:34.032Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T09:34:34.118Z] prd-ubuntu20.04-docker-8c-8g-24145 does not seem to be running inside a container [2024-10-30T09:34:34.148Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 [2024-10-30T09:34:34.475Z] $ docker top 62ea800be7dc3147b704f4bbb74d234f8c7346c4f0ecaf336391e038c715d39c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T09:34:34.836Z] + git config --global --add safe.directory /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2024-10-30T09:34:35.142Z] + make test [2024-10-30T09:34:35.143Z] make -C ./app-service-template build [2024-10-30T09:34:35.143Z] make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2024-10-30T09:34:35.143Z] go mod tidy [2024-10-30T09:34:35.143Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v4 v4.0.0-dev.2 [2024-10-30T09:34:35.143Z] go: downloading github.com/labstack/echo/v4 v4.12.0 [2024-10-30T09:34:35.143Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 [2024-10-30T09:34:35.143Z] go: downloading github.com/stretchr/testify v1.9.0 [2024-10-30T09:34:35.401Z] go: downloading github.com/google/uuid v1.6.0 [2024-10-30T09:34:35.401Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v4 v4.0.0-dev.2 [2024-10-30T09:34:35.401Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v4 v4.0.0-dev.3 [2024-10-30T09:34:35.401Z] go: downloading github.com/edgexfoundry/go-mod-registry/v4 v4.0.0-dev.2 [2024-10-30T09:34:35.401Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.5.3 [2024-10-30T09:34:35.401Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.5.0 [2024-10-30T09:34:35.401Z] go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc [2024-10-30T09:34:35.401Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2024-10-30T09:34:35.401Z] go: downloading github.com/stretchr/objx v0.5.2 [2024-10-30T09:34:35.401Z] go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 [2024-10-30T09:34:35.401Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2024-10-30T09:34:35.401Z] go: downloading github.com/labstack/gommon v0.4.2 [2024-10-30T09:34:35.401Z] go: downloading golang.org/x/crypto v0.27.0 [2024-10-30T09:34:35.401Z] go: downloading golang.org/x/net v0.29.0 [2024-10-30T09:34:35.401Z] go: downloading github.com/go-kit/log v0.2.1 [2024-10-30T09:34:35.661Z] go: downloading github.com/go-playground/validator/v10 v10.22.1 [2024-10-30T09:34:35.661Z] go: downloading github.com/fxamacker/cbor/v2 v2.7.0 [2024-10-30T09:34:35.661Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v4 v4.0.0-dev.3 [2024-10-30T09:34:35.661Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v4 v4.0.0-dev.2 [2024-10-30T09:34:35.661Z] go: downloading github.com/barkimedes/go-deepcopy v0.0.0-20220514131651-17c30cfc62df [2024-10-30T09:34:35.661Z] go: downloading github.com/gorilla/websocket v1.5.3 [2024-10-30T09:34:35.661Z] go: downloading golang.org/x/sync v0.8.0 [2024-10-30T09:34:35.661Z] go: downloading github.com/jackc/pgerrcode v0.0.0-20240316143900-6e2875d9b438 [2024-10-30T09:34:35.661Z] go: downloading github.com/jackc/pgx/v5 v5.7.1 [2024-10-30T09:34:35.661Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2024-10-30T09:34:35.661Z] go: downloading github.com/pkg/errors v0.9.1 [2024-10-30T09:34:35.661Z] go: downloading github.com/mitchellh/copystructure v1.2.0 [2024-10-30T09:34:35.661Z] go: downloading github.com/openziti/sdk-golang v0.23.43 [2024-10-30T09:34:35.919Z] go: downloading github.com/sirupsen/logrus v1.9.3 [2024-10-30T09:34:35.919Z] go: downloading github.com/hashicorp/errwrap v1.1.0 [2024-10-30T09:34:35.919Z] go: downloading github.com/mattn/go-colorable v0.1.13 [2024-10-30T09:34:35.919Z] go: downloading github.com/mattn/go-isatty v0.0.20 [2024-10-30T09:34:35.919Z] go: downloading github.com/valyala/fasttemplate v1.2.2 [2024-10-30T09:34:35.919Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2024-10-30T09:34:35.919Z] go: downloading github.com/x448/float16 v0.8.4 [2024-10-30T09:34:35.919Z] go: downloading github.com/gabriel-vasile/mimetype v1.4.3 [2024-10-30T09:34:35.919Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2024-10-30T09:34:35.919Z] go: downloading github.com/leodido/go-urn v1.4.0 [2024-10-30T09:34:35.919Z] go: downloading golang.org/x/text v0.18.0 [2024-10-30T09:34:36.179Z] go: downloading github.com/go-playground/locales v0.14.1 [2024-10-30T09:34:36.179Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.4.0 [2024-10-30T09:34:36.179Z] go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible [2024-10-30T09:34:36.179Z] go: downloading golang.org/x/time v0.6.0 [2024-10-30T09:34:36.179Z] go: downloading github.com/mitchellh/reflectwalk v1.0.2 [2024-10-30T09:34:36.179Z] go: downloading github.com/go-openapi/runtime v0.28.0 [2024-10-30T09:34:36.437Z] go: downloading github.com/go-openapi/strfmt v0.23.0 [2024-10-30T09:34:36.437Z] go: downloading github.com/go-resty/resty/v2 v2.15.3 [2024-10-30T09:34:36.437Z] go: downloading github.com/golang-jwt/jwt/v5 v5.2.1 [2024-10-30T09:34:36.437Z] go: downloading github.com/michaelquigley/pfxlog v0.6.10 [2024-10-30T09:34:36.437Z] go: downloading github.com/openziti/edge-api v0.26.32 [2024-10-30T09:34:36.590Z] Still waiting to schedule task [2024-10-30T09:34:36.591Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-24143’ is offline [2024-10-30T09:34:37.002Z] go: downloading github.com/go-playground/assert/v2 v2.2.0 [2024-10-30T09:34:37.002Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2024-10-30T09:34:37.002Z] go: downloading github.com/openziti/foundation/v2 v2.0.49 [2024-10-30T09:34:37.002Z] go: downloading github.com/openziti/identity v1.0.85 [2024-10-30T09:34:37.003Z] go: downloading github.com/orcaman/concurrent-map/v2 v2.0.1 [2024-10-30T09:34:37.003Z] go: downloading github.com/zitadel/oidc/v2 v2.12.2 [2024-10-30T09:34:37.003Z] go: downloading github.com/cenkalti/backoff/v4 v4.3.0 [2024-10-30T09:34:37.262Z] go: downloading golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63 [2024-10-30T09:34:37.262Z] go: downloading golang.org/x/oauth2 v0.23.0 [2024-10-30T09:34:37.262Z] go: downloading github.com/kataras/go-events v0.0.3 [2024-10-30T09:34:37.262Z] go: downloading github.com/openziti/channel/v3 v3.0.4 [2024-10-30T09:34:37.262Z] go: downloading github.com/openziti/metrics v1.2.58 [2024-10-30T09:34:37.262Z] go: downloading github.com/mitchellh/mapstructure v1.5.0 [2024-10-30T09:34:37.262Z] go: downloading github.com/openziti/secretstream v0.1.25 [2024-10-30T09:34:37.262Z] go: downloading github.com/openziti/transport/v2 v2.0.146 [2024-10-30T09:34:37.262Z] go: downloading golang.org/x/sys v0.25.0 [2024-10-30T09:34:37.262Z] go: downloading github.com/nats-io/nats.go v1.37.0 [2024-10-30T09:34:37.262Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2024-10-30T09:34:37.262Z] go: downloading github.com/jackc/pgpassfile v1.0.0 [2024-10-30T09:34:37.262Z] go: downloading github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 [2024-10-30T09:34:37.262Z] go: downloading github.com/jackc/puddle/v2 v2.2.2 [2024-10-30T09:34:37.262Z] go: downloading github.com/spf13/cast v1.7.0 [2024-10-30T09:34:37.262Z] go: downloading github.com/valyala/bytebufferpool v1.0.0 [2024-10-30T09:34:37.262Z] go: downloading github.com/Microsoft/go-winio v0.6.2 [2024-10-30T09:34:37.262Z] go: downloading github.com/zeebo/errs v1.3.0 [2024-10-30T09:34:37.262Z] go: downloading google.golang.org/grpc v1.67.1 [2024-10-30T09:34:37.521Z] go: downloading github.com/go-openapi/errors v0.22.0 [2024-10-30T09:34:37.522Z] go: downloading github.com/go-openapi/swag v0.23.0 [2024-10-30T09:34:37.522Z] go: downloading github.com/go-openapi/spec v0.21.0 [2024-10-30T09:34:37.522Z] go: downloading github.com/go-openapi/validate v0.24.0 [2024-10-30T09:34:37.522Z] go: downloading github.com/opentracing/opentracing-go v1.2.0 [2024-10-30T09:34:37.522Z] go: downloading go.opentelemetry.io/otel v1.29.0 [2024-10-30T09:34:37.522Z] go: downloading go.opentelemetry.io/otel/trace v1.29.0 [2024-10-30T09:34:37.780Z] go: downloading go.opentelemetry.io/otel/sdk v1.24.0 [2024-10-30T09:34:37.780Z] go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 [2024-10-30T09:34:37.780Z] go: downloading github.com/oklog/ulid v1.3.1 [2024-10-30T09:34:37.780Z] go: downloading go.mongodb.org/mongo-driver v1.17.0 [2024-10-30T09:34:37.780Z] go: downloading github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d [2024-10-30T09:34:37.780Z] go: downloading github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa [2024-10-30T09:34:37.780Z] go: downloading github.com/kr/pretty v0.3.1 [2024-10-30T09:34:37.780Z] go: downloading github.com/fsnotify/fsnotify v1.7.0 [2024-10-30T09:34:37.780Z] go: downloading gopkg.in/go-jose/go-jose.v2 v2.6.3 [2024-10-30T09:34:37.780Z] go: downloading github.com/gorilla/securecookie v1.1.2 [2024-10-30T09:34:37.780Z] go: downloading github.com/mitchellh/go-ps v1.0.0 [2024-10-30T09:34:37.780Z] go: downloading github.com/shirou/gopsutil/v3 v3.24.5 [2024-10-30T09:34:37.780Z] go: downloading go.mozilla.org/pkcs7 v0.9.0 [2024-10-30T09:34:37.780Z] go: downloading github.com/speps/go-hashids v2.0.0+incompatible [2024-10-30T09:34:37.780Z] go: downloading github.com/gorilla/schema v1.4.1 [2024-10-30T09:34:37.780Z] go: downloading github.com/muhlemmer/gu v0.3.1 [2024-10-30T09:34:37.780Z] go: downloading github.com/golang/protobuf v1.5.4 [2024-10-30T09:34:37.780Z] go: downloading google.golang.org/protobuf v1.34.2 [2024-10-30T09:34:37.780Z] go: downloading github.com/google/go-cmp v0.6.0 [2024-10-30T09:34:37.780Z] go: downloading github.com/gorilla/mux v1.8.1 [2024-10-30T09:34:37.780Z] go: downloading nhooyr.io/websocket v1.8.17 [2024-10-30T09:34:37.780Z] go: downloading github.com/onsi/ginkgo v1.16.4 [2024-10-30T09:34:37.780Z] go: downloading github.com/onsi/gomega v1.13.0 [2024-10-30T09:34:38.040Z] go: downloading github.com/frankban/quicktest v1.14.6 [2024-10-30T09:34:38.040Z] go: downloading github.com/go-jose/go-jose/v4 v4.0.4 [2024-10-30T09:34:38.040Z] go: downloading github.com/klauspost/compress v1.17.2 [2024-10-30T09:34:38.040Z] go: downloading github.com/nats-io/nkeys v0.4.7 [2024-10-30T09:34:38.040Z] go: downloading github.com/nats-io/nuid v1.0.1 [2024-10-30T09:34:38.040Z] go: downloading github.com/mailru/easyjson v0.7.7 [2024-10-30T09:34:38.040Z] go: downloading github.com/go-openapi/analysis v0.23.0 [2024-10-30T09:34:38.040Z] go: downloading github.com/go-openapi/loads v0.22.0 [2024-10-30T09:34:38.040Z] go: downloading github.com/go-openapi/jsonpointer v0.21.0 [2024-10-30T09:34:38.040Z] go: downloading github.com/go-openapi/jsonreference v0.21.0 [2024-10-30T09:34:38.040Z] go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 [2024-10-30T09:34:38.040Z] go: downloading github.com/go-logr/logr v1.4.2 [2024-10-30T09:34:38.040Z] go: downloading go.opentelemetry.io/otel/metric v1.29.0 [2024-10-30T09:34:38.040Z] go: downloading github.com/go-logr/stdr v1.2.2 [2024-10-30T09:34:38.302Z] go: downloading golang.org/x/term v0.24.0 [2024-10-30T09:34:38.302Z] go: downloading github.com/emirpasic/gods v1.18.1 [2024-10-30T09:34:38.302Z] go: downloading github.com/jeremija/gosubmit v0.2.7 [2024-10-30T09:34:38.302Z] go: downloading github.com/kr/text v0.2.0 [2024-10-30T09:34:38.302Z] go: downloading github.com/rogpeppe/go-internal v1.11.0 [2024-10-30T09:34:38.302Z] go: downloading github.com/google/gofuzz v1.2.0 [2024-10-30T09:34:38.302Z] go: downloading github.com/yusufpapurcu/wmi v1.2.4 [2024-10-30T09:34:38.302Z] go: downloading github.com/tklauser/go-sysconf v0.3.12 [2024-10-30T09:34:38.302Z] go: downloading github.com/josharian/intern v1.0.0 [2024-10-30T09:34:38.302Z] go: downloading github.com/parallaxsecond/parsec-client-go v0.0.0-20221025095442-f0a77d263cf9 [2024-10-30T09:34:38.302Z] go: downloading github.com/miekg/pkcs11 v1.1.1 [2024-10-30T09:34:38.302Z] go: downloading github.com/muhlemmer/httpforwarded v0.1.0 [2024-10-30T09:34:38.302Z] go: downloading github.com/rs/cors v1.11.0 [2024-10-30T09:34:38.302Z] go: downloading github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 [2024-10-30T09:34:38.302Z] go: downloading github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c [2024-10-30T09:34:38.302Z] go: downloading github.com/shoenig/go-m1cpu v0.1.6 [2024-10-30T09:34:38.302Z] go: downloading github.com/go-ole/go-ole v1.2.6 [2024-10-30T09:34:38.302Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2024-10-30T09:34:38.302Z] go: downloading github.com/nxadm/tail v1.4.8 [2024-10-30T09:34:38.302Z] go: downloading github.com/tklauser/numcpus v0.6.1 [2024-10-30T09:34:38.302Z] go: downloading github.com/shoenig/test v0.6.4 [2024-10-30T09:34:38.302Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2024-10-30T09:34:39.238Z] CGO_ENABLED=0 go build -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v4/internal.SDKVersion= -X github.com/edgexfoundry/app-functions-sdk-go/v4/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o app-new-service [2024-10-30T09:35:05.855Z] make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2024-10-30T09:35:05.855Z] make -C ./app-service-template test [2024-10-30T09:35:05.855Z] make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2024-10-30T09:35:05.855Z] go test -race -coverprofile=coverage.out ./... [2024-10-30T09:35:40.308Z] app-new-service/config coverage: 0.0% of statements [2024-10-30T09:35:40.308Z] ok app-new-service 1.052s coverage: 45.9% of statements [2024-10-30T09:35:40.308Z] ok app-new-service/functions 1.042s coverage: 85.3% of statements [2024-10-30T09:35:40.308Z] go vet ./... [2024-10-30T09:36:02.231Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-30T09:36:02.231Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-30T09:36:02.231Z] ./bin/test-attribution-txt.sh [2024-10-30T09:36:02.231Z] make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2024-10-30T09:36:02.231Z] go test -race -coverprofile=coverage.out ./... [2024-10-30T09:36:02.231Z] go: downloading github.com/gomodule/redigo v1.8.9 [2024-10-30T09:36:02.489Z] ? github.com/edgexfoundry/app-functions-sdk-go/v4/internal [no test files] [2024-10-30T09:36:06.669Z] ? github.com/edgexfoundry/app-functions-sdk-go/v4/internal/store/db [no test files] [2024-10-30T09:36:06.669Z] github.com/edgexfoundry/app-functions-sdk-go/v4/internal/bootstrap/container coverage: 0.0% of statements [2024-10-30T09:36:06.669Z] github.com/edgexfoundry/app-functions-sdk-go/v4/internal/common coverage: 0.0% of statements [2024-10-30T09:36:07.602Z] github.com/edgexfoundry/app-functions-sdk-go/v4/internal/store/db/postgres coverage: 0.0% of statements [2024-10-30T09:36:07.602Z] github.com/edgexfoundry/app-functions-sdk-go/v4/internal/store/db/redis coverage: 0.0% of statements [2024-10-30T09:36:07.602Z] ? github.com/edgexfoundry/app-functions-sdk-go/v4/internal/trigger [no test files] [2024-10-30T09:36:07.864Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/app 1.131s coverage: 66.6% of statements [2024-10-30T09:36:07.864Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/appfunction 1.036s coverage: 89.3% of statements [2024-10-30T09:36:07.864Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/bootstrap/handlers 1.053s coverage: 85.1% of statements [2024-10-30T09:36:07.864Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/etm 1.032s coverage: 100.0% of statements [2024-10-30T09:36:07.864Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/runtime 1.118s coverage: 75.5% of statements [2024-10-30T09:36:08.798Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/store/db/models 1.027s coverage: 97.3% of statements [2024-10-30T09:36:08.798Z] github.com/edgexfoundry/app-functions-sdk-go/v4/internal/trigger/http/mocks coverage: 0.0% of statements [2024-10-30T09:36:08.798Z] github.com/edgexfoundry/app-functions-sdk-go/v4/internal/trigger/mocks coverage: 0.0% of statements [2024-10-30T09:36:09.055Z] github.com/edgexfoundry/app-functions-sdk-go/v4/internal/trigger/mqtt/mocks coverage: 0.0% of statements [2024-10-30T09:36:09.990Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/trigger/http 1.051s coverage: 82.8% of statements [2024-10-30T09:36:09.990Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/trigger/messagebus 1.032s coverage: 65.1% of statements [2024-10-30T09:36:09.990Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/trigger/mqtt 1.039s coverage: 27.6% of statements [2024-10-30T09:36:10.432Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24147 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2024-10-30T09:36:10.452Z] Running in /w/workspace/app-functions-sdk-go/381 [Pipeline] { [Pipeline] checkout [2024-10-30T09:36:10.557Z] github.com/edgexfoundry/app-functions-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements [2024-10-30T09:36:10.557Z] github.com/edgexfoundry/app-functions-sdk-go/v4/pkg/interfaces coverage: 0.0% of statements [2024-10-30T09:36:10.816Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/webserver 1.045s coverage: 11.2% of statements [2024-10-30T09:36:11.755Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/pkg 1.057s coverage: 27.3% of statements [2024-10-30T09:36:11.755Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/pkg/secure 1.034s coverage: 52.8% of statements [2024-10-30T09:36:13.504Z] The recommended git tool is: git [2024-10-30T09:36:17.801Z] using credential edgex-jenkins-ssh [2024-10-30T09:36:17.824Z] Cloning the remote Git repository [2024-10-30T09:36:17.860Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2024-10-30T09:36:17.946Z] > git init /w/workspace/app-functions-sdk-go/381 # timeout=10 [2024-10-30T09:36:18.071Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2024-10-30T09:36:18.072Z] > git --version # timeout=10 [2024-10-30T09:36:18.090Z] > git --version # 'git version 2.25.1' [2024-10-30T09:36:18.092Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-30T09:36:18.217Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-30T09:36:23.530Z] Avoid second fetch [2024-10-30T09:36:23.530Z] Checking out Revision 2342a3136560f87af28233032e68c3b0d8c25719 (main) [2024-10-30T09:36:22.548Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2024-10-30T09:36:22.573Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-30T09:36:23.545Z] > git config core.sparsecheckout # timeout=10 [2024-10-30T09:36:23.605Z] > git checkout -f 2342a3136560f87af28233032e68c3b0d8c25719 # timeout=10 [2024-10-30T09:36:24.195Z] Commit message: "Merge pull request #1629 from jinlinGuan/v4-module" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-30T09:36:28.791Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-30T09:36:28.791Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-30T09:36:28.791Z] Dload Upload Total Spent Left Speed [2024-10-30T09:36:28.791Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k 100 12828 100 12828 0 0 104k 0 --:--:-- --:--:-- --:--:-- 103k [Pipeline] sh [2024-10-30T09:36:29.116Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-30T09:36:29.441Z] + sudo tee /etc/docker/daemon.new [2024-10-30T09:36:29.442Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-30T09:36:29.442Z] { [2024-10-30T09:36:29.442Z] "registry-mirrors": [ [2024-10-30T09:36:29.442Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-30T09:36:29.442Z] ], [2024-10-30T09:36:29.442Z] "bip": "10.250.0.254/24", [2024-10-30T09:36:29.442Z] "hosts": [ [2024-10-30T09:36:29.442Z] "tcp://0.0.0.0:5555", [2024-10-30T09:36:29.442Z] "unix:///var/run/docker.sock" [2024-10-30T09:36:29.442Z] ], [2024-10-30T09:36:29.442Z] "mtu": 1458, [2024-10-30T09:36:29.442Z] "selinux-enabled": true, [2024-10-30T09:36:29.442Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-30T09:36:29.442Z] } [Pipeline] sh [2024-10-30T09:36:29.766Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-30T09:36:30.148Z] + sudo service docker restart [2024-10-30T09:36:38.324Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/pkg/transforms 26.152s coverage: 72.2% of statements [2024-10-30T09:36:38.324Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/pkg/util 1.025s coverage: 94.4% of statements [2024-10-30T09:36:38.324Z] go vet ./... [2024-10-30T09:36:38.894Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-30T09:36:38.894Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] unstash [Pipeline] echo [2024-10-30T09:36:48.643Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-30T09:36:48.666Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-30T09:36:48.692Z] ========================================================= [2024-10-30T09:36:48.692Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-30T09:36:48.692Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2024-10-30T09:36:49.043Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-30T09:36:49.629Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-30T09:36:49.629Z] cf04c63912e1: Pulling fs layer [2024-10-30T09:36:49.629Z] 55b35a11ae5e: Pulling fs layer [2024-10-30T09:36:49.629Z] a37a00ec5f00: Pulling fs layer [2024-10-30T09:36:49.629Z] 50b3750afda1: Pulling fs layer [2024-10-30T09:36:49.629Z] 4f4fb700ef54: Pulling fs layer [2024-10-30T09:36:49.629Z] 80978eb59214: Pulling fs layer [2024-10-30T09:36:49.629Z] 50b3750afda1: Waiting [2024-10-30T09:36:49.629Z] c9f46d7d2bd2: Pulling fs layer [2024-10-30T09:36:49.629Z] c5a475d317c9: Pulling fs layer [2024-10-30T09:36:49.629Z] 4f4fb700ef54: Waiting [2024-10-30T09:36:49.629Z] 80978eb59214: Waiting [2024-10-30T09:36:49.629Z] c9f46d7d2bd2: Waiting [2024-10-30T09:36:49.629Z] c5a475d317c9: Waiting [2024-10-30T09:36:49.629Z] 55b35a11ae5e: Download complete [2024-10-30T09:36:49.629Z] 50b3750afda1: Verifying Checksum [2024-10-30T09:36:49.629Z] 50b3750afda1: Download complete [2024-10-30T09:36:49.629Z] 4f4fb700ef54: Verifying Checksum [2024-10-30T09:36:49.629Z] 4f4fb700ef54: Download complete [2024-10-30T09:36:49.629Z] 80978eb59214: Verifying Checksum [2024-10-30T09:36:49.629Z] 80978eb59214: Download complete [2024-10-30T09:36:49.898Z] cf04c63912e1: Verifying Checksum [2024-10-30T09:36:49.898Z] cf04c63912e1: Download complete [2024-10-30T09:36:50.167Z] c5a475d317c9: Verifying Checksum [2024-10-30T09:36:50.167Z] c5a475d317c9: Download complete [2024-10-30T09:36:50.756Z] cf04c63912e1: Pull complete [Pipeline] echo [2024-10-30T09:36:51.101Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-30T09:36:51.120Z] $ docker stop --time=1 62ea800be7dc3147b704f4bbb74d234f8c7346c4f0ecaf336391e038c715d39c [2024-10-30T09:36:51.344Z] 55b35a11ae5e: Pull complete [2024-10-30T09:36:51.934Z] a37a00ec5f00: Verifying Checksum [2024-10-30T09:36:51.934Z] a37a00ec5f00: Download complete [2024-10-30T09:36:52.528Z] c9f46d7d2bd2: Verifying Checksum [2024-10-30T09:36:52.528Z] c9f46d7d2bd2: Download complete [2024-10-30T09:36:52.716Z] $ docker rm -f --volumes 62ea800be7dc3147b704f4bbb74d234f8c7346c4f0ecaf336391e038c715d39c [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-30T09:36:53.797Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-30T09:36:53.891Z] 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 [2024-10-30T09:36:54.456Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-30T09:36:54.456Z] [2024-10-30T09:36:54.456Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T09:36:54.760Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-30T09:36:54.761Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-30T09:36:54.761Z] 5eb5b503b376: Pulling fs layer [2024-10-30T09:36:54.761Z] 5c69ac0246d0: Pulling fs layer [2024-10-30T09:36:54.761Z] ec43610c2a17: Pulling fs layer [2024-10-30T09:36:54.761Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-30T09:36:54.761Z] 33b1e0a273af: Pulling fs layer [2024-10-30T09:36:54.761Z] 5d3b04190fa2: Pulling fs layer [2024-10-30T09:36:54.761Z] 2f39f015ded8: Pulling fs layer [2024-10-30T09:36:54.761Z] 33b1e0a273af: Waiting [2024-10-30T09:36:54.761Z] 3a2ae6a8a46f: Waiting [2024-10-30T09:36:54.761Z] 5c69ac0246d0: Verifying Checksum [2024-10-30T09:36:54.761Z] 5c69ac0246d0: Download complete [2024-10-30T09:36:54.761Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-30T09:36:54.761Z] 3a2ae6a8a46f: Download complete [2024-10-30T09:36:54.761Z] 33b1e0a273af: Verifying Checksum [2024-10-30T09:36:54.761Z] 33b1e0a273af: Download complete [2024-10-30T09:36:54.761Z] 5d3b04190fa2: Verifying Checksum [2024-10-30T09:36:54.761Z] 5d3b04190fa2: Download complete [2024-10-30T09:36:55.018Z] ec43610c2a17: Verifying Checksum [2024-10-30T09:36:55.018Z] ec43610c2a17: Download complete [2024-10-30T09:36:55.018Z] 5eb5b503b376: Verifying Checksum [2024-10-30T09:36:55.018Z] 5eb5b503b376: Download complete [2024-10-30T09:36:55.583Z] 2f39f015ded8: Download complete [2024-10-30T09:36:56.149Z] 5eb5b503b376: Pull complete [2024-10-30T09:36:56.406Z] 5c69ac0246d0: Pull complete [2024-10-30T09:36:56.664Z] ec43610c2a17: Pull complete [2024-10-30T09:36:56.924Z] 3a2ae6a8a46f: Pull complete [2024-10-30T09:36:56.924Z] 33b1e0a273af: Pull complete [2024-10-30T09:36:57.183Z] 5d3b04190fa2: Pull complete [2024-10-30T09:37:01.373Z] 2f39f015ded8: Pull complete [2024-10-30T09:37:01.373Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-30T09:37:01.373Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-30T09:37:01.373Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T09:37:01.475Z] prd-ubuntu20.04-docker-8c-8g-24145 does not seem to be running inside a container [2024-10-30T09:37:01.505Z] $ 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 [2024-10-30T09:37:03.683Z] $ docker top 08332386507e80dea45a5778089ec1e936be9ad6c116a4b84824380bbaaca05e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T09:37:04.090Z] ---> job-cost.sh [2024-10-30T09:37:04.090Z] lf-activate-venv: SKIPPING [2024-10-30T09:37:04.090Z] INFO: No Stack... [2024-10-30T09:37:04.349Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-30T09:37:04.609Z] INFO: Archiving Costs [Pipeline] sh [2024-10-30T09:37:04.868Z] a37a00ec5f00: Pull complete [2024-10-30T09:37:04.868Z] 50b3750afda1: Pull complete [2024-10-30T09:37:04.904Z] + cat /w/workspace/oundry_app-functions-sdk-go_main/archives/cost.csv [2024-10-30T09:37:04.904Z] + cut -d, -f6 [Pipeline] lock [2024-10-30T09:37:04.920Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-functions-sdk-go-main-381-stack-cost] [2024-10-30T09:37:04.931Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-381-stack-cost] did not exist. Created. [2024-10-30T09:37:04.937Z] Lock acquired on [Resource: jenkins-edgexfoundry-app-functions-sdk-go-main-381-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-30T09:37:05.136Z] 4f4fb700ef54: Pull complete [2024-10-30T09:37:05.136Z] 80978eb59214: Pull complete [2024-10-30T09:37:05.252Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-30T09:37:05.293Z] Stashed 1 file(s) [Pipeline] } [2024-10-30T09:37:05.301Z] Lock released on resource [Resource: jenkins-edgexfoundry-app-functions-sdk-go-main-381-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-30T09:37:05.332Z] $ docker stop --time=1 08332386507e80dea45a5778089ec1e936be9ad6c116a4b84824380bbaaca05e [2024-10-30T09:37:06.504Z] $ docker rm -f --volumes 08332386507e80dea45a5778089ec1e936be9ad6c116a4b84824380bbaaca05e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-30T09:37:13.385Z] c9f46d7d2bd2: Pull complete [2024-10-30T09:37:14.345Z] c5a475d317c9: Pull complete [2024-10-30T09:37:14.345Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-30T09:37:14.345Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-30T09:37:14.345Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [Pipeline] sh [2024-10-30T09:37:14.686Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T09:37:15.028Z] + docker inspect -f . ci-base-image-arm64 [2024-10-30T09:37:15.029Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T09:37:15.465Z] prd-ubuntu20.04-docker-arm64-4c-16g-24147 does not seem to be running inside a container [2024-10-30T09:37:15.519Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/381 -v /w/workspace/app-functions-sdk-go/381:/w/workspace/app-functions-sdk-go/381:rw,z -v /w/workspace/app-functions-sdk-go/381@tmp:/w/workspace/app-functions-sdk-go/381@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 ******** ci-base-image-arm64 cat [2024-10-30T09:37:18.393Z] $ docker top 4cea9af9386cbdacdcce07f3f921e18983c83b0a1ec06f1d4f2b2a68cb7d234e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T09:37:19.228Z] + go version [2024-10-30T09:37:19.228Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-30T09:37:19.246Z] $ docker stop --time=1 4cea9af9386cbdacdcce07f3f921e18983c83b0a1ec06f1d4f2b2a68cb7d234e [2024-10-30T09:37:21.127Z] $ docker rm -f --volumes 4cea9af9386cbdacdcce07f3f921e18983c83b0a1ec06f1d4f2b2a68cb7d234e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T09:37:21.714Z] + docker inspect -f . ci-base-image-arm64 [2024-10-30T09:37:21.714Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T09:37:21.897Z] prd-ubuntu20.04-docker-arm64-4c-16g-24147 does not seem to be running inside a container [2024-10-30T09:37:21.959Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-functions-sdk-go/381 -v /w/workspace/app-functions-sdk-go/381:/w/workspace/app-functions-sdk-go/381:rw,z -v /w/workspace/app-functions-sdk-go/381@tmp:/w/workspace/app-functions-sdk-go/381@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 ******** ci-base-image-arm64 cat [2024-10-30T09:37:23.412Z] $ docker top b9578c24178298a12ba26919f3931b2824632b17e65e17123707403dc4b6b867 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T09:37:24.250Z] + git config --global --add safe.directory /w/workspace/app-functions-sdk-go/381 [Pipeline] fileExists [Pipeline] sh [2024-10-30T09:37:24.910Z] + make test [2024-10-30T09:37:24.910Z] make -C ./app-service-template build [2024-10-30T09:37:24.910Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/381/app-service-template' [2024-10-30T09:37:24.910Z] go mod tidy [2024-10-30T09:37:24.910Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v4 v4.0.0-dev.2 [2024-10-30T09:37:24.910Z] go: downloading github.com/labstack/echo/v4 v4.12.0 [2024-10-30T09:37:24.910Z] go: downloading github.com/stretchr/testify v1.9.0 [2024-10-30T09:37:25.178Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 [2024-10-30T09:37:25.443Z] go: downloading github.com/google/uuid v1.6.0 [2024-10-30T09:37:25.443Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v4 v4.0.0-dev.2 [2024-10-30T09:37:25.709Z] go: downloading github.com/edgexfoundry/go-mod-registry/v4 v4.0.0-dev.2 [2024-10-30T09:37:25.709Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v4 v4.0.0-dev.3 [2024-10-30T09:37:25.709Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.5.3 [2024-10-30T09:37:25.709Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.5.0 [2024-10-30T09:37:25.974Z] go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc [2024-10-30T09:37:25.974Z] go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 [2024-10-30T09:37:25.974Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2024-10-30T09:37:25.974Z] go: downloading github.com/stretchr/objx v0.5.2 [2024-10-30T09:37:25.974Z] go: downloading github.com/labstack/gommon v0.4.2 [2024-10-30T09:37:25.974Z] go: downloading golang.org/x/crypto v0.27.0 [2024-10-30T09:37:26.239Z] go: downloading golang.org/x/net v0.29.0 [2024-10-30T09:37:26.822Z] go: downloading github.com/go-kit/log v0.2.1 [2024-10-30T09:37:26.822Z] go: downloading github.com/go-playground/validator/v10 v10.22.1 [2024-10-30T09:37:26.822Z] go: downloading github.com/fxamacker/cbor/v2 v2.7.0 [2024-10-30T09:37:27.096Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2024-10-30T09:37:27.362Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v4 v4.0.0-dev.3 [2024-10-30T09:37:27.363Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v4 v4.0.0-dev.2 [2024-10-30T09:37:27.363Z] go: downloading github.com/barkimedes/go-deepcopy v0.0.0-20220514131651-17c30cfc62df [2024-10-30T09:37:27.631Z] go: downloading github.com/gorilla/websocket v1.5.3 [2024-10-30T09:37:27.631Z] go: downloading golang.org/x/sync v0.8.0 [2024-10-30T09:37:27.631Z] go: downloading github.com/mattn/go-colorable v0.1.13 [2024-10-30T09:37:27.631Z] go: downloading github.com/mattn/go-isatty v0.0.20 [2024-10-30T09:37:27.631Z] go: downloading github.com/valyala/fasttemplate v1.2.2 [2024-10-30T09:37:27.631Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2024-10-30T09:37:27.631Z] go: downloading github.com/x448/float16 v0.8.4 [2024-10-30T09:37:27.631Z] go: downloading github.com/jackc/pgerrcode v0.0.0-20240316143900-6e2875d9b438 [2024-10-30T09:37:27.631Z] go: downloading github.com/jackc/pgx/v5 v5.7.1 [2024-10-30T09:37:28.218Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2024-10-30T09:37:28.218Z] go: downloading github.com/pkg/errors v0.9.1 [2024-10-30T09:37:28.218Z] go: downloading github.com/gabriel-vasile/mimetype v1.4.3 [2024-10-30T09:37:28.218Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2024-10-30T09:37:28.218Z] go: downloading github.com/leodido/go-urn v1.4.0 [2024-10-30T09:37:28.218Z] go: downloading golang.org/x/text v0.18.0 [2024-10-30T09:37:30.159Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2024-10-30T09:37:30.159Z] go: downloading github.com/go-playground/assert/v2 v2.2.0 [2024-10-30T09:37:30.159Z] go: downloading github.com/go-playground/locales v0.14.1 [2024-10-30T09:37:32.797Z] go: downloading github.com/mitchellh/copystructure v1.2.0 [2024-10-30T09:37:33.067Z] go: downloading github.com/openziti/sdk-golang v0.23.43 [2024-10-30T09:37:33.067Z] go: downloading github.com/sirupsen/logrus v1.9.3 [2024-10-30T09:37:33.338Z] go: downloading github.com/hashicorp/errwrap v1.1.0 [2024-10-30T09:37:33.338Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.4.0 [2024-10-30T09:37:33.605Z] go: downloading golang.org/x/sys v0.25.0 [2024-10-30T09:37:33.605Z] go: downloading github.com/valyala/bytebufferpool v1.0.0 [2024-10-30T09:37:33.605Z] go: downloading github.com/jackc/pgpassfile v1.0.0 [2024-10-30T09:37:33.605Z] go: downloading github.com/jackc/puddle/v2 v2.2.2 [2024-10-30T09:37:33.605Z] go: downloading github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 [2024-10-30T09:37:33.870Z] go: downloading github.com/kr/pretty v0.3.1 [2024-10-30T09:37:33.870Z] go: downloading github.com/mitchellh/reflectwalk v1.0.2 [2024-10-30T09:37:33.870Z] go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible [2024-10-30T09:37:33.870Z] go: downloading golang.org/x/time v0.6.0 [2024-10-30T09:37:33.870Z] go: downloading github.com/go-openapi/runtime v0.28.0 [2024-10-30T09:37:34.137Z] go: downloading github.com/go-openapi/strfmt v0.23.0 [2024-10-30T09:37:34.137Z] go: downloading github.com/go-resty/resty/v2 v2.15.3 [2024-10-30T09:37:34.137Z] go: downloading github.com/golang-jwt/jwt/v5 v5.2.1 [2024-10-30T09:37:34.137Z] go: downloading github.com/michaelquigley/pfxlog v0.6.10 [2024-10-30T09:37:34.137Z] go: downloading github.com/openziti/edge-api v0.26.32 [2024-10-30T09:37:37.484Z] go: downloading github.com/openziti/foundation/v2 v2.0.49 [2024-10-30T09:37:37.484Z] go: downloading github.com/openziti/identity v1.0.85 [2024-10-30T09:37:37.484Z] go: downloading github.com/orcaman/concurrent-map/v2 v2.0.1 [2024-10-30T09:37:37.484Z] go: downloading github.com/zitadel/oidc/v2 v2.12.2 [2024-10-30T09:37:37.484Z] go: downloading golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63 [2024-10-30T09:37:37.484Z] go: downloading golang.org/x/oauth2 v0.23.0 [2024-10-30T09:37:37.484Z] go: downloading github.com/cenkalti/backoff/v4 v4.3.0 [2024-10-30T09:37:37.484Z] go: downloading github.com/kataras/go-events v0.0.3 [2024-10-30T09:37:37.484Z] go: downloading github.com/openziti/channel/v3 v3.0.4 [2024-10-30T09:37:37.484Z] go: downloading github.com/openziti/metrics v1.2.58 [2024-10-30T09:37:37.484Z] go: downloading github.com/openziti/secretstream v0.1.25 [2024-10-30T09:37:37.484Z] go: downloading github.com/openziti/transport/v2 v2.0.146 [2024-10-30T09:37:37.484Z] go: downloading github.com/mitchellh/mapstructure v1.5.0 [2024-10-30T09:37:37.484Z] go: downloading github.com/nats-io/nats.go v1.37.0 [2024-10-30T09:37:37.484Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2024-10-30T09:37:37.753Z] go: downloading github.com/spf13/cast v1.7.0 [2024-10-30T09:37:37.753Z] go: downloading github.com/Microsoft/go-winio v0.6.2 [2024-10-30T09:37:37.753Z] go: downloading github.com/zeebo/errs v1.3.0 [2024-10-30T09:37:37.753Z] go: downloading google.golang.org/grpc v1.67.1 [2024-10-30T09:37:39.158Z] go: downloading github.com/kr/text v0.2.0 [2024-10-30T09:37:39.158Z] go: downloading github.com/rogpeppe/go-internal v1.11.0 [2024-10-30T09:37:39.158Z] go: downloading github.com/go-openapi/errors v0.22.0 [2024-10-30T09:37:39.158Z] go: downloading github.com/go-openapi/swag v0.23.0 [2024-10-30T09:37:39.158Z] go: downloading github.com/go-openapi/spec v0.21.0 [2024-10-30T09:37:39.158Z] go: downloading github.com/go-openapi/validate v0.24.0 [2024-10-30T09:37:39.424Z] go: downloading github.com/opentracing/opentracing-go v1.2.0 [2024-10-30T09:37:39.424Z] go: downloading go.opentelemetry.io/otel v1.29.0 [2024-10-30T09:37:40.387Z] go: downloading go.opentelemetry.io/otel/trace v1.29.0 [2024-10-30T09:37:40.387Z] go: downloading go.opentelemetry.io/otel/sdk v1.24.0 [2024-10-30T09:37:40.387Z] go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 [2024-10-30T09:37:40.387Z] go: downloading github.com/oklog/ulid v1.3.1 [2024-10-30T09:37:40.387Z] go: downloading go.mongodb.org/mongo-driver v1.17.0 [2024-10-30T09:37:40.387Z] go: downloading github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d [2024-10-30T09:37:40.387Z] go: downloading github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa [2024-10-30T09:37:40.387Z] go: downloading github.com/fsnotify/fsnotify v1.7.0 [2024-10-30T09:37:40.656Z] go: downloading gopkg.in/go-jose/go-jose.v2 v2.6.3 [2024-10-30T09:37:40.656Z] go: downloading github.com/gorilla/securecookie v1.1.2 [2024-10-30T09:37:40.656Z] go: downloading github.com/gorilla/schema v1.4.1 [2024-10-30T09:37:40.924Z] go: downloading github.com/muhlemmer/gu v0.3.1 [2024-10-30T09:37:40.924Z] go: downloading github.com/mitchellh/go-ps v1.0.0 [2024-10-30T09:37:40.924Z] go: downloading github.com/shirou/gopsutil/v3 v3.24.5 [2024-10-30T09:37:41.191Z] go: downloading go.mozilla.org/pkcs7 v0.9.0 [2024-10-30T09:37:41.191Z] go: downloading github.com/google/go-cmp v0.6.0 [2024-10-30T09:37:41.463Z] go: downloading google.golang.org/protobuf v1.34.2 [2024-10-30T09:37:42.423Z] go: downloading github.com/speps/go-hashids v2.0.0+incompatible [2024-10-30T09:37:42.423Z] go: downloading github.com/golang/protobuf v1.5.4 [2024-10-30T09:37:42.688Z] go: downloading github.com/gorilla/mux v1.8.1 [2024-10-30T09:37:42.688Z] go: downloading nhooyr.io/websocket v1.8.17 [2024-10-30T09:37:42.953Z] go: downloading github.com/onsi/ginkgo v1.16.4 [2024-10-30T09:37:43.218Z] go: downloading github.com/onsi/gomega v1.13.0 [2024-10-30T09:37:43.482Z] go: downloading github.com/frankban/quicktest v1.14.6 [2024-10-30T09:37:43.482Z] go: downloading github.com/go-jose/go-jose/v4 v4.0.4 [2024-10-30T09:37:43.482Z] go: downloading github.com/klauspost/compress v1.17.2 [2024-10-30T09:37:43.482Z] go: downloading github.com/nats-io/nkeys v0.4.7 [2024-10-30T09:37:43.482Z] go: downloading github.com/nats-io/nuid v1.0.1 [2024-10-30T09:37:43.482Z] go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 [2024-10-30T09:37:43.482Z] go: downloading github.com/mailru/easyjson v0.7.7 [2024-10-30T09:37:43.482Z] go: downloading github.com/go-openapi/analysis v0.23.0 [2024-10-30T09:37:43.747Z] go: downloading github.com/go-openapi/loads v0.22.0 [2024-10-30T09:37:44.023Z] go: downloading github.com/go-openapi/jsonpointer v0.21.0 [2024-10-30T09:37:44.023Z] go: downloading github.com/go-openapi/jsonreference v0.21.0 [2024-10-30T09:37:44.023Z] go: downloading github.com/go-logr/logr v1.4.2 [2024-10-30T09:37:44.023Z] go: downloading go.opentelemetry.io/otel/metric v1.29.0 [2024-10-30T09:37:44.023Z] go: downloading github.com/go-logr/stdr v1.2.2 [2024-10-30T09:37:44.023Z] go: downloading golang.org/x/term v0.24.0 [2024-10-30T09:37:44.023Z] go: downloading github.com/emirpasic/gods v1.18.1 [2024-10-30T09:37:44.023Z] go: downloading github.com/jeremija/gosubmit v0.2.7 [2024-10-30T09:37:44.291Z] go: downloading github.com/google/gofuzz v1.2.0 [2024-10-30T09:37:44.291Z] go: downloading github.com/yusufpapurcu/wmi v1.2.4 [2024-10-30T09:37:44.291Z] go: downloading github.com/tklauser/go-sysconf v0.3.12 [2024-10-30T09:37:44.558Z] go: downloading github.com/josharian/intern v1.0.0 [2024-10-30T09:37:44.558Z] go: downloading github.com/parallaxsecond/parsec-client-go v0.0.0-20221025095442-f0a77d263cf9 [2024-10-30T09:37:44.558Z] go: downloading github.com/miekg/pkcs11 v1.1.1 [2024-10-30T09:37:44.558Z] go: downloading github.com/muhlemmer/httpforwarded v0.1.0 [2024-10-30T09:37:44.558Z] go: downloading github.com/rs/cors v1.11.0 [2024-10-30T09:37:44.558Z] go: downloading github.com/go-ole/go-ole v1.2.6 [2024-10-30T09:37:44.834Z] go: downloading github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 [2024-10-30T09:37:44.834Z] go: downloading github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c [2024-10-30T09:37:44.834Z] go: downloading github.com/shoenig/go-m1cpu v0.1.6 [2024-10-30T09:37:44.834Z] go: downloading github.com/nxadm/tail v1.4.8 [2024-10-30T09:37:44.834Z] go: downloading github.com/tklauser/numcpus v0.6.1 [2024-10-30T09:37:44.834Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2024-10-30T09:37:44.834Z] go: downloading github.com/shoenig/test v0.6.4 [2024-10-30T09:37:44.834Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2024-10-30T09:37:48.307Z] CGO_ENABLED=0 go build -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v4/internal.SDKVersion= -X github.com/edgexfoundry/app-functions-sdk-go/v4/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o app-new-service [2024-10-30T09:41:25.453Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/381/app-service-template' [2024-10-30T09:41:25.453Z] make -C ./app-service-template test [2024-10-30T09:41:25.453Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/381/app-service-template' [2024-10-30T09:41:25.453Z] go test -race -coverprofile=coverage.out ./... [2024-10-30T09:46:32.439Z] app-new-service/config coverage: 0.0% of statements [2024-10-30T09:46:32.439Z] ok app-new-service 1.261s coverage: 45.9% of statements [2024-10-30T09:46:32.439Z] ok app-new-service/functions 1.263s coverage: 85.3% of statements [2024-10-30T09:46:32.439Z] go vet ./... [2024-10-30T09:51:09.414Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-30T09:51:09.414Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-30T09:51:09.414Z] ./bin/test-attribution-txt.sh [2024-10-30T09:51:09.414Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/381/app-service-template' [2024-10-30T09:51:09.414Z] go test -race -coverprofile=coverage.out ./... [2024-10-30T09:51:09.414Z] go: downloading github.com/gomodule/redigo v1.8.9 [2024-10-30T09:51:09.414Z] ? github.com/edgexfoundry/app-functions-sdk-go/v4/internal [no test files] [2024-10-30T09:51:31.492Z] github.com/edgexfoundry/app-functions-sdk-go/v4/internal/bootstrap/container coverage: 0.0% of statements [2024-10-30T09:51:31.492Z] github.com/edgexfoundry/app-functions-sdk-go/v4/internal/common coverage: 0.0% of statements [2024-10-30T09:51:32.907Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/app 1.745s coverage: 66.6% of statements [2024-10-30T09:51:32.907Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/appfunction 1.192s coverage: 89.3% of statements [2024-10-30T09:51:32.907Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/bootstrap/handlers 1.271s coverage: 85.1% of statements [2024-10-30T09:51:34.855Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/etm 1.143s coverage: 100.0% of statements [2024-10-30T09:51:44.922Z] ? github.com/edgexfoundry/app-functions-sdk-go/v4/internal/store/db [no test files] [2024-10-30T09:51:44.922Z] github.com/edgexfoundry/app-functions-sdk-go/v4/internal/store/db/postgres coverage: 0.0% of statements [2024-10-30T09:51:44.922Z] github.com/edgexfoundry/app-functions-sdk-go/v4/internal/store/db/redis coverage: 0.0% of statements [2024-10-30T09:51:44.922Z] ? github.com/edgexfoundry/app-functions-sdk-go/v4/internal/trigger [no test files] [2024-10-30T09:51:45.504Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/runtime 1.647s coverage: 75.5% of statements [2024-10-30T09:51:45.504Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/store/db/models 1.152s coverage: 97.3% of statements [2024-10-30T09:51:52.135Z] github.com/edgexfoundry/app-functions-sdk-go/v4/internal/trigger/http/mocks coverage: 0.0% of statements [2024-10-30T09:51:52.135Z] github.com/edgexfoundry/app-functions-sdk-go/v4/internal/trigger/mocks coverage: 0.0% of statements [2024-10-30T09:51:52.716Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/trigger/http 1.276s coverage: 82.8% of statements [2024-10-30T09:51:52.716Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/trigger/messagebus 1.276s coverage: 65.1% of statements [2024-10-30T09:52:00.905Z] github.com/edgexfoundry/app-functions-sdk-go/v4/internal/trigger/mqtt/mocks coverage: 0.0% of statements [2024-10-30T09:52:01.169Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/trigger/mqtt 1.273s coverage: 27.6% of statements [2024-10-30T09:52:04.498Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/webserver 1.222s coverage: 11.2% of statements [2024-10-30T09:52:04.498Z] github.com/edgexfoundry/app-functions-sdk-go/v4/pkg/interfaces coverage: 0.0% of statements [2024-10-30T09:52:04.498Z] github.com/edgexfoundry/app-functions-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements [2024-10-30T09:52:05.902Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/pkg 1.269s coverage: 27.3% of statements [2024-10-30T09:52:12.526Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/pkg/secure 1.119s coverage: 52.8% of statements [2024-10-30T09:52:44.734Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/pkg/transforms 26.602s coverage: 72.2% of statements [2024-10-30T09:52:44.734Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/pkg/util 1.086s coverage: 94.4% of statements [2024-10-30T09:52:44.734Z] go vet ./... [2024-10-30T09:52:50.096Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-30T09:52:50.096Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-30T09:52:50.362Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] echo [2024-10-30T09:52:50.383Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-30T09:52:50.393Z] $ docker stop --time=1 b9578c24178298a12ba26919f3931b2824632b17e65e17123707403dc4b6b867 [2024-10-30T09:52:52.451Z] $ docker rm -f --volumes b9578c24178298a12ba26919f3931b2824632b17e65e17123707403dc4b6b867 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-30T09:52:59.273Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-30T09:52:59.301Z] Warning: overwriting stash ‘coverage-report’ [2024-10-30T09:53:00.058Z] 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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T09:53:00.553Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-30T09:53:00.553Z] [2024-10-30T09:53:00.553Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T09:53:00.890Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-30T09:53:01.157Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-30T09:53:01.157Z] 8998bd30e6a1: Pulling fs layer [2024-10-30T09:53:01.157Z] 04944245beec: Pulling fs layer [2024-10-30T09:53:01.157Z] 699f458cf7ca: Pulling fs layer [2024-10-30T09:53:01.157Z] 765212b225bb: Pulling fs layer [2024-10-30T09:53:01.157Z] f23df028b6ca: Pulling fs layer [2024-10-30T09:53:01.157Z] d65c8cfc05b1: Pulling fs layer [2024-10-30T09:53:01.157Z] 2437ff75d9bd: Pulling fs layer [2024-10-30T09:53:01.157Z] 765212b225bb: Waiting [2024-10-30T09:53:01.157Z] f23df028b6ca: Waiting [2024-10-30T09:53:01.157Z] d65c8cfc05b1: Waiting [2024-10-30T09:53:01.157Z] 2437ff75d9bd: Waiting [2024-10-30T09:53:01.157Z] 04944245beec: Verifying Checksum [2024-10-30T09:53:01.157Z] 04944245beec: Download complete [2024-10-30T09:53:01.157Z] 765212b225bb: Download complete [2024-10-30T09:53:01.425Z] f23df028b6ca: Verifying Checksum [2024-10-30T09:53:01.425Z] f23df028b6ca: Download complete [2024-10-30T09:53:01.425Z] d65c8cfc05b1: Verifying Checksum [2024-10-30T09:53:01.425Z] d65c8cfc05b1: Download complete [2024-10-30T09:53:01.425Z] 699f458cf7ca: Verifying Checksum [2024-10-30T09:53:01.425Z] 699f458cf7ca: Download complete [2024-10-30T09:53:02.006Z] 8998bd30e6a1: Verifying Checksum [2024-10-30T09:53:02.006Z] 8998bd30e6a1: Download complete [2024-10-30T09:53:03.942Z] 2437ff75d9bd: Verifying Checksum [2024-10-30T09:53:03.943Z] 2437ff75d9bd: Download complete [2024-10-30T09:53:06.516Z] 8998bd30e6a1: Pull complete [2024-10-30T09:53:06.516Z] 04944245beec: Pull complete [2024-10-30T09:53:09.086Z] 699f458cf7ca: Pull complete [2024-10-30T09:53:09.086Z] 765212b225bb: Pull complete [2024-10-30T09:53:09.666Z] f23df028b6ca: Pull complete [2024-10-30T09:53:09.931Z] d65c8cfc05b1: Pull complete [2024-10-30T09:53:24.899Z] 2437ff75d9bd: Pull complete [2024-10-30T09:53:24.900Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-30T09:53:24.900Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-30T09:53:24.900Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T09:53:25.105Z] prd-ubuntu20.04-docker-arm64-4c-16g-24147 does not seem to be running inside a container [2024-10-30T09:53:25.163Z] $ 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/381 -v /w/workspace/app-functions-sdk-go/381:/w/workspace/app-functions-sdk-go/381:rw,z -v /w/workspace/app-functions-sdk-go/381@tmp:/w/workspace/app-functions-sdk-go/381@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-lftools-log-publisher:arm64 cat [2024-10-30T09:53:27.825Z] $ docker top 2918737ef5ec50730f9f385772aaa6a84c938517fc17df703c7c4d600fcdeaa4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T09:53:28.459Z] ---> job-cost.sh [2024-10-30T09:53:28.726Z] lf-activate-venv: SKIPPING [2024-10-30T09:53:28.726Z] INFO: No Stack... [2024-10-30T09:53:28.994Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-30T09:53:29.951Z] INFO: Archiving Costs [Pipeline] sh [2024-10-30T09:53:30.614Z] + cut -d, -f6 [2024-10-30T09:53:30.614Z] + cat /w/workspace/app-functions-sdk-go/381/archives/cost.csv [Pipeline] lock [2024-10-30T09:53:30.655Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-functions-sdk-go-main-381-stack-cost] [2024-10-30T09:53:30.663Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-381-stack-cost] did not exist. Created. [2024-10-30T09:53:30.671Z] Lock acquired on [Resource: jenkins-edgexfoundry-app-functions-sdk-go-main-381-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-30T09:53:31.043Z] /w/workspace/app-functions-sdk-go/381@tmp/durable-343d102d/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-30T09:53:31.370Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-30T09:53:31.399Z] Warning: overwriting stash ‘stack-cost’ [2024-10-30T09:53:31.478Z] Stashed 1 file(s) [Pipeline] } [2024-10-30T09:53:31.486Z] Lock released on resource [Resource: jenkins-edgexfoundry-app-functions-sdk-go-main-381-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-30T09:53:31.503Z] $ docker stop --time=1 2918737ef5ec50730f9f385772aaa6a84c938517fc17df703c7c4d600fcdeaa4 [2024-10-30T09:53:32.968Z] $ docker rm -f --volumes 2918737ef5ec50730f9f385772aaa6a84c938517fc17df703c7c4d600fcdeaa4 [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 [2024-10-30T09:53:33.501Z] provisioning config files... [2024-10-30T09:53:33.523Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config13853337574892275949tmp [Pipeline] { [Pipeline] sh [2024-10-30T09:53:33.854Z] + set +x [2024-10-30T09:53:33.854Z] + curl -s https://codecov.io/bash [2024-10-30T09:53:33.854Z] + bash -s -- [2024-10-30T09:53:33.854Z] [2024-10-30T09:53:33.854Z] _____ _ [2024-10-30T09:53:33.854Z] / ____| | | [2024-10-30T09:53:33.854Z] | | ___ __| | ___ ___ _____ __ [2024-10-30T09:53:33.854Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-30T09:53:33.854Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-30T09:53:33.854Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-30T09:53:33.854Z] Bash-1.0.6 [2024-10-30T09:53:33.854Z] [2024-10-30T09:53:33.854Z] [2024-10-30T09:53:33.854Z] ==> git version 2.25.1 found [2024-10-30T09:53:33.854Z] ==> 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 [2024-10-30T09:53:33.854Z] Release-Date: 2020-01-08 [2024-10-30T09:53:33.854Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-10-30T09:53:33.854Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-30T09:53:33.854Z] ==> Jenkins CI detected. [2024-10-30T09:53:33.854Z] current dir:  /w/workspace/oundry_app-functions-sdk-go_main [2024-10-30T09:53:33.854Z] project root: . [2024-10-30T09:53:33.854Z] --> token set from env [2024-10-30T09:53:33.854Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-30T09:53:34.113Z] ==> Running gcov in . (disable via -X gcov) [2024-10-30T09:53:34.113Z] ==> Python coveragepy not found [2024-10-30T09:53:34.113Z] ==> Searching for coverage reports in: [2024-10-30T09:53:34.113Z] + . [2024-10-30T09:53:34.113Z] -> Found 2 reports [2024-10-30T09:53:34.113Z] ==> Detecting git/mercurial file structure [2024-10-30T09:53:34.113Z] ==> Reading reports [2024-10-30T09:53:34.113Z] + ./app-service-template/coverage.out bytes=4438 [2024-10-30T09:53:34.113Z] + ./coverage.out bytes=519599 [2024-10-30T09:53:34.113Z] ==> Appending adjustments [2024-10-30T09:53:34.113Z] https://docs.codecov.io/docs/fixing-reports [2024-10-30T09:53:34.680Z] + Found adjustments [2024-10-30T09:53:34.680Z] ==> Gzipping contents [2024-10-30T09:53:34.680Z] 48K /tmp/codecov.QnxOWW.gz [2024-10-30T09:53:34.680Z] ==> Uploading reports [2024-10-30T09:53:34.680Z] url: https://codecov.io [2024-10-30T09:53:34.680Z] query: branch=main&commit=2342a3136560f87af28233032e68c3b0d8c25719&build=381&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F381%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-10-30T09:53:34.680Z] -> Pinging Codecov [2024-10-30T09:53:34.680Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=2342a3136560f87af28233032e68c3b0d8c25719&build=381&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F381%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-10-30T09:53:34.680Z] -> Uploading to [2024-10-30T09:53:34.680Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/app-functions-sdk-go/2342a3136560f87af28233032e68c3b0d8c25719/b9a9256a-e9a8-4870-a5bc-56aba27a0644.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241030%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241030T095334Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=0f83cbae5165492c1eb6707f7f390a71da417f0867bc34cd817a18849bd85bc8 [2024-10-30T09:53:34.680Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-30T09:53:34.680Z] Dload Upload Total Spent Left Speed [2024-10-30T09:53:34.940Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 48662 0 0 100 48662 0 190k --:--:-- --:--:-- --:--:-- 190k [2024-10-30T09:53:34.940Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/2342a3136560f87af28233032e68c3b0d8c25719 [Pipeline] } [2024-10-30T09:53:34.948Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-10-30T09:53:35.189Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-10-30T09:53:35.205Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T09:53:35.520Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-10-30T09:53:35.520Z] [2024-10-30T09:53:35.520Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T09:53:35.831Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-10-30T09:53:35.831Z] latest: Pulling from edgex-devops/edgex-snyk-go [2024-10-30T09:53:35.831Z] 43c4264eed91: Already exists [2024-10-30T09:53:35.831Z] 4cc291be95ef: Already exists [2024-10-30T09:53:35.831Z] 2ac1f1163629: Already exists [2024-10-30T09:53:35.831Z] 5c3c966382ef: Already exists [2024-10-30T09:53:35.831Z] 4f4fb700ef54: Already exists [2024-10-30T09:53:35.831Z] d9c7d2e4e75e: Pulling fs layer [2024-10-30T09:53:35.831Z] 9c3e1370e548: Pulling fs layer [2024-10-30T09:53:36.090Z] d9c7d2e4e75e: Download complete [2024-10-30T09:53:36.348Z] d9c7d2e4e75e: Pull complete [2024-10-30T09:53:36.915Z] 9c3e1370e548: Verifying Checksum [2024-10-30T09:53:36.915Z] 9c3e1370e548: Download complete [2024-10-30T09:53:40.207Z] 9c3e1370e548: Pull complete [2024-10-30T09:53:40.207Z] Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b [2024-10-30T09:53:40.207Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-10-30T09:53:40.207Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T09:53:40.306Z] prd-ubuntu20.04-docker-8c-8g-24145 does not seem to be running inside a container [2024-10-30T09:53:40.341Z] $ 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:latest cat [2024-10-30T09:53:41.585Z] $ docker top 3ccd32c5fb968babadb151ef62ea6fe7468f4816eb2addc166f733e216c05be2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T09:53:41.940Z] + git config --global --add safe.directory /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] echo [2024-10-30T09:53:41.951Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-functions-sdk-go:main' [Pipeline] sh [2024-10-30T09:53:42.230Z] + set -o pipefail [2024-10-30T09:53:42.230Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-functions-sdk-go:main' [2024-10-30T09:53:48.798Z] [2024-10-30T09:53:48.798Z] Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v4)... [2024-10-30T09:53:48.798Z] [2024-10-30T09:53:48.798Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6c09f06e-751f-448b-87b5-b640e988b8fe/history/28169df2-713b-4b04-8f78-e648509d3ed4 [2024-10-30T09:53:48.798Z] [2024-10-30T09:53:48.798Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2024-10-30T09:53:48.798Z] [2024-10-30T09:53:48.798Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2024-10-30T09:53:48.798Z] [Pipeline] } [2024-10-30T09:53:49.375Z] $ docker stop --time=1 3ccd32c5fb968babadb151ef62ea6fe7468f4816eb2addc166f733e216c05be2 [2024-10-30T09:53:52.463Z] $ docker rm -f --volumes 3ccd32c5fb968babadb151ef62ea6fe7468f4816eb2addc166f733e216c05be2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] echo [2024-10-30T09:53:53.042Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-30T09:53:53.066Z] provisioning config files... [2024-10-30T09:53:53.074Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config3553115511430970620tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T09:53:53.371Z] --> edgex-publish-swagger.sh [2024-10-30T09:53:53.371Z] === Publish openapi API === [2024-10-30T09:53:53.371Z] [publishToSwagger] Publishing the API Docs [openapi] to Swagger [2024-10-30T09:53:53.371Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/app-functions-sdk.yaml] [2024-10-30T09:53:53.371Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-30T09:53:53.371Z] Dload Upload Total Spent Left Speed [2024-10-30T09:53:53.630Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11576 100 156 100 11420 332 24349 --:--:-- --:--:-- --:--:-- 24629 100 11576 100 156 100 11420 332 24349 --:--:-- --:--:-- --:--:-- 24629 [2024-10-30T09:53:53.630Z] {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} [2024-10-30T09:53:53.630Z] [Pipeline] } [2024-10-30T09:53:53.637Z] 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 [2024-10-30T09:53:54.074Z] + git log --format=format:%s -1 2342a3136560f87af28233032e68c3b0d8c25719 [Pipeline] sh [2024-10-30T09:53:54.420Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-30T09:53:54.420Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T09:53:54.747Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-30T09:53:54.747Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T09:53:54.889Z] prd-ubuntu20.04-docker-8c-8g-24145 does not seem to be running inside a container [2024-10-30T09:53:54.918Z] $ 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:0.1.4 cat [2024-10-30T09:53:55.273Z] $ docker top d939338f85752716f645f229fbe36ba724af174d8eea525dc1cc96b73c2ff4e4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-30T09:53:55.393Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-30T09:53:55.393Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-30T09:53:55.501Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-30T09:53:55.503Z] $ docker exec d939338f85752716f645f229fbe36ba724af174d8eea525dc1cc96b73c2ff4e4 ssh-agent [2024-10-30T09:53:55.620Z] SSH_AUTH_SOCK=/tmp/ssh-ZATDjHXKpnYY/agent.31 [2024-10-30T09:53:55.620Z] SSH_AGENT_PID=37 [2024-10-30T09:53:55.625Z] Running ssh-add (command line suppressed) [2024-10-30T09:53:55.728Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_11724181821177892945.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_11724181821177892945.key) [2024-10-30T09:53:55.740Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-30T09:53:56.040Z] + git semver tag [2024-10-30T09:53:56.299Z] 2024-10-30 09:53:56,229 [run_tag] DEBUG tag force:False [2024-10-30T09:53:56.300Z] 2024-10-30 09:53:56,229 [check_head_tag] DEBUG check head tag [2024-10-30T09:53:56.300Z] 2024-10-30 09:53:56,232 [execute] INFO git cat-file --batch-check [2024-10-30T09:53:56.300Z] 2024-10-30 09:53:56,232 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) [2024-10-30T09:53:56.300Z] 2024-10-30 09:53:56,237 [execute] INFO git cat-file --batch [2024-10-30T09:53:56.300Z] 2024-10-30 09:53:56,237 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) [2024-10-30T09:53:56.300Z] 2024-10-30 09:53:56,276 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2024-10-30T09:53:56.300Z] 2024-10-30 09:53:56,276 [execute] INFO git tag -a v4.0.0-dev.2 -m v4.0.0-dev.2 [2024-10-30T09:53:56.300Z] 2024-10-30 09:53:56,277 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.2', '-m', 'v4.0.0-dev.2'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2024-10-30T09:53:56.300Z] 2024-10-30 09:53:56,282 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2024-10-30T09:53:56.300Z] 4.0.0-dev.2 [Pipeline] } [2024-10-30T09:53:56.570Z] $ docker exec --env ******** --env ******** d939338f85752716f645f229fbe36ba724af174d8eea525dc1cc96b73c2ff4e4 ssh-agent -k [2024-10-30T09:53:56.676Z] unset SSH_AUTH_SOCK; [2024-10-30T09:53:56.676Z] unset SSH_AGENT_PID; [2024-10-30T09:53:56.676Z] echo Agent pid 37 killed; [2024-10-30T09:53:56.686Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-30T09:53:57.015Z] + git semver [Pipeline] } [2024-10-30T09:53:57.287Z] $ docker stop --time=1 d939338f85752716f645f229fbe36ba724af174d8eea525dc1cc96b73c2ff4e4 [2024-10-30T09:53:58.596Z] $ docker rm -f --volumes d939338f85752716f645f229fbe36ba724af174d8eea525dc1cc96b73c2ff4e4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T09:53:59.007Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-10-30T09:53:59.007Z] [2024-10-30T09:53:59.007Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T09:53:59.316Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-10-30T09:53:59.316Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-10-30T09:53:59.316Z] ab5ef0e58194: Pulling fs layer [2024-10-30T09:53:59.316Z] 9712f1f96733: Pulling fs layer [2024-10-30T09:53:59.316Z] 63f879dbbcfc: Pulling fs layer [2024-10-30T09:53:59.316Z] 0d9ebad4ef96: Pulling fs layer [2024-10-30T09:53:59.316Z] e9a5061849ea: Pulling fs layer [2024-10-30T09:53:59.316Z] d747dcd14b5f: Pulling fs layer [2024-10-30T09:53:59.316Z] 2de7ff778b66: Pulling fs layer [2024-10-30T09:53:59.316Z] e9a5061849ea: Waiting [2024-10-30T09:53:59.316Z] d747dcd14b5f: Waiting [2024-10-30T09:53:59.316Z] 2de7ff778b66: Waiting [2024-10-30T09:53:59.316Z] 0d9ebad4ef96: Waiting [2024-10-30T09:53:59.316Z] 9712f1f96733: Verifying Checksum [2024-10-30T09:53:59.316Z] 9712f1f96733: Download complete [2024-10-30T09:53:59.577Z] 63f879dbbcfc: Verifying Checksum [2024-10-30T09:53:59.577Z] 63f879dbbcfc: Download complete [2024-10-30T09:53:59.834Z] e9a5061849ea: Verifying Checksum [2024-10-30T09:53:59.834Z] e9a5061849ea: Download complete [2024-10-30T09:53:59.834Z] d747dcd14b5f: Download complete [2024-10-30T09:53:59.834Z] 0d9ebad4ef96: Verifying Checksum [2024-10-30T09:53:59.834Z] 0d9ebad4ef96: Download complete [2024-10-30T09:53:59.834Z] ab5ef0e58194: Download complete [2024-10-30T09:53:59.834Z] 2de7ff778b66: Verifying Checksum [2024-10-30T09:53:59.834Z] 2de7ff778b66: Download complete [2024-10-30T09:54:02.379Z] ab5ef0e58194: Pull complete [2024-10-30T09:54:02.379Z] 9712f1f96733: Pull complete [2024-10-30T09:54:02.949Z] 63f879dbbcfc: Pull complete [2024-10-30T09:54:07.142Z] 0d9ebad4ef96: Pull complete [2024-10-30T09:54:07.142Z] e9a5061849ea: Pull complete [2024-10-30T09:54:07.142Z] d747dcd14b5f: Pull complete [2024-10-30T09:54:07.711Z] 2de7ff778b66: Pull complete [2024-10-30T09:54:07.711Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-10-30T09:54:07.711Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-10-30T09:54:07.711Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T09:54:07.824Z] prd-ubuntu20.04-docker-8c-8g-24145 does not seem to be running inside a container [2024-10-30T09:54:07.855Z] $ 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 [2024-10-30T09:54:10.299Z] $ docker top c71ad947a56566c9d7a5b8922995e49d2a2dca4587892bdc0a7dc49bb51509f9 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-10-30T09:54:10.381Z] provisioning config files... [2024-10-30T09:54:10.388Z] copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config16290062618064905304tmp [2024-10-30T09:54:10.396Z] copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config881078170380647120tmp [2024-10-30T09:54:10.405Z] copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config11643673950776095179tmp [Pipeline] { [Pipeline] echo [2024-10-30T09:54:10.436Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T09:54:10.730Z] ---> sigul-configuration.sh [2024-10-30T09:54:10.730Z] gpg: directory `/root/.gnupg' created [2024-10-30T09:54:10.730Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-10-30T09:54:10.730Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-10-30T09:54:10.730Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-10-30T09:54:10.730Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-10-30T09:54:10.730Z] gpg: CAST5 encrypted data [2024-10-30T09:54:10.730Z] gpg: encrypted with 1 passphrase [2024-10-30T09:54:10.730Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-10-30T09:54:11.030Z] + mkdir /home/jenkins [2024-10-30T09:54:11.030Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-10-30T09:54:11.329Z] + 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 [2024-10-30T09:54:11.340Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T09:54:11.634Z] ---> sigul-install.sh [2024-10-30T09:54:11.634Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-10-30T09:54:11.928Z] + git tag --list [2024-10-30T09:54:11.928Z] v0.1.0 [2024-10-30T09:54:11.928Z] v0.1.1 [2024-10-30T09:54:11.928Z] v1.0.0 [2024-10-30T09:54:11.928Z] v1.1.0 [2024-10-30T09:54:11.928Z] v1.2.0 [2024-10-30T09:54:11.928Z] v1.3.0 [2024-10-30T09:54:11.928Z] v1.3.1 [2024-10-30T09:54:11.928Z] v2.0.0 [2024-10-30T09:54:11.928Z] v2.0.1 [2024-10-30T09:54:11.928Z] v2.1.0 [2024-10-30T09:54:11.928Z] v2.1.1 [2024-10-30T09:54:11.928Z] v2.1.2 [2024-10-30T09:54:11.928Z] v2.2.0 [2024-10-30T09:54:11.928Z] v2.3 [2024-10-30T09:54:11.928Z] v2.3.0 [2024-10-30T09:54:11.928Z] v2.3.1 [2024-10-30T09:54:11.928Z] v3.0 [2024-10-30T09:54:11.928Z] v3.0.0 [2024-10-30T09:54:11.928Z] v3.0.1 [2024-10-30T09:54:11.928Z] v3.0.1-dev.1 [2024-10-30T09:54:11.928Z] v3.0.1-dev.2 [2024-10-30T09:54:11.928Z] v3.1 [2024-10-30T09:54:11.928Z] v3.1.0 [2024-10-30T09:54:11.928Z] v3.1.0-dev.1 [2024-10-30T09:54:11.928Z] v3.1.0-dev.10 [2024-10-30T09:54:11.928Z] v3.1.0-dev.11 [2024-10-30T09:54:11.928Z] v3.1.0-dev.12 [2024-10-30T09:54:11.928Z] v3.1.0-dev.13 [2024-10-30T09:54:11.928Z] v3.1.0-dev.14 [2024-10-30T09:54:11.928Z] v3.1.0-dev.15 [2024-10-30T09:54:11.928Z] v3.1.0-dev.16 [2024-10-30T09:54:11.928Z] v3.1.0-dev.17 [2024-10-30T09:54:11.928Z] v3.1.0-dev.18 [2024-10-30T09:54:11.928Z] v3.1.0-dev.19 [2024-10-30T09:54:11.928Z] v3.1.0-dev.2 [2024-10-30T09:54:11.928Z] v3.1.0-dev.20 [2024-10-30T09:54:11.928Z] v3.1.0-dev.21 [2024-10-30T09:54:11.928Z] v3.1.0-dev.22 [2024-10-30T09:54:11.928Z] v3.1.0-dev.23 [2024-10-30T09:54:11.928Z] v3.1.0-dev.24 [2024-10-30T09:54:11.928Z] v3.1.0-dev.25 [2024-10-30T09:54:11.928Z] v3.1.0-dev.26 [2024-10-30T09:54:11.928Z] v3.1.0-dev.27 [2024-10-30T09:54:11.928Z] v3.1.0-dev.28 [2024-10-30T09:54:11.928Z] v3.1.0-dev.29 [2024-10-30T09:54:11.928Z] v3.1.0-dev.3 [2024-10-30T09:54:11.928Z] v3.1.0-dev.30 [2024-10-30T09:54:11.928Z] v3.1.0-dev.31 [2024-10-30T09:54:11.928Z] v3.1.0-dev.32 [2024-10-30T09:54:11.928Z] v3.1.0-dev.33 [2024-10-30T09:54:11.928Z] v3.1.0-dev.34 [2024-10-30T09:54:11.928Z] v3.1.0-dev.35 [2024-10-30T09:54:11.928Z] v3.1.0-dev.36 [2024-10-30T09:54:11.928Z] v3.1.0-dev.37 [2024-10-30T09:54:11.928Z] v3.1.0-dev.38 [2024-10-30T09:54:11.928Z] v3.1.0-dev.39 [2024-10-30T09:54:11.928Z] v3.1.0-dev.4 [2024-10-30T09:54:11.928Z] v3.1.0-dev.40 [2024-10-30T09:54:11.928Z] v3.1.0-dev.41 [2024-10-30T09:54:11.928Z] v3.1.0-dev.42 [2024-10-30T09:54:11.928Z] v3.1.0-dev.43 [2024-10-30T09:54:11.928Z] v3.1.0-dev.44 [2024-10-30T09:54:11.928Z] v3.1.0-dev.45 [2024-10-30T09:54:11.928Z] v3.1.0-dev.46 [2024-10-30T09:54:11.928Z] v3.1.0-dev.47 [2024-10-30T09:54:11.928Z] v3.1.0-dev.48 [2024-10-30T09:54:11.928Z] v3.1.0-dev.49 [2024-10-30T09:54:11.928Z] v3.1.0-dev.5 [2024-10-30T09:54:11.928Z] v3.1.0-dev.50 [2024-10-30T09:54:11.928Z] v3.1.0-dev.51 [2024-10-30T09:54:11.928Z] v3.1.0-dev.52 [2024-10-30T09:54:11.928Z] v3.1.0-dev.6 [2024-10-30T09:54:11.928Z] v3.1.0-dev.7 [2024-10-30T09:54:11.928Z] v3.1.0-dev.8 [2024-10-30T09:54:11.928Z] v3.1.0-dev.9 [2024-10-30T09:54:11.928Z] v3.1.1 [2024-10-30T09:54:11.928Z] v3.1.1-dev.1 [2024-10-30T09:54:11.928Z] v3.2.0-dev.1 [2024-10-30T09:54:11.928Z] v3.2.0-dev.10 [2024-10-30T09:54:11.928Z] v3.2.0-dev.11 [2024-10-30T09:54:11.928Z] v3.2.0-dev.12 [2024-10-30T09:54:11.928Z] v3.2.0-dev.13 [2024-10-30T09:54:11.928Z] v3.2.0-dev.14 [2024-10-30T09:54:11.928Z] v3.2.0-dev.15 [2024-10-30T09:54:11.928Z] v3.2.0-dev.16 [2024-10-30T09:54:11.928Z] v3.2.0-dev.17 [2024-10-30T09:54:11.928Z] v3.2.0-dev.18 [2024-10-30T09:54:11.928Z] v3.2.0-dev.19 [2024-10-30T09:54:11.928Z] v3.2.0-dev.2 [2024-10-30T09:54:11.928Z] v3.2.0-dev.20 [2024-10-30T09:54:11.928Z] v3.2.0-dev.21 [2024-10-30T09:54:11.928Z] v3.2.0-dev.22 [2024-10-30T09:54:11.928Z] v3.2.0-dev.23 [2024-10-30T09:54:11.928Z] v3.2.0-dev.24 [2024-10-30T09:54:11.928Z] v3.2.0-dev.25 [2024-10-30T09:54:11.928Z] v3.2.0-dev.26 [2024-10-30T09:54:11.928Z] v3.2.0-dev.27 [2024-10-30T09:54:11.928Z] v3.2.0-dev.28 [2024-10-30T09:54:11.928Z] v3.2.0-dev.29 [2024-10-30T09:54:11.928Z] v3.2.0-dev.3 [2024-10-30T09:54:11.928Z] v3.2.0-dev.30 [2024-10-30T09:54:11.928Z] v3.2.0-dev.31 [2024-10-30T09:54:11.928Z] v3.2.0-dev.32 [2024-10-30T09:54:11.928Z] v3.2.0-dev.33 [2024-10-30T09:54:11.928Z] v3.2.0-dev.34 [2024-10-30T09:54:11.928Z] v3.2.0-dev.35 [2024-10-30T09:54:11.928Z] v3.2.0-dev.36 [2024-10-30T09:54:11.928Z] v3.2.0-dev.37 [2024-10-30T09:54:11.928Z] v3.2.0-dev.38 [2024-10-30T09:54:11.928Z] v3.2.0-dev.39 [2024-10-30T09:54:11.928Z] v3.2.0-dev.4 [2024-10-30T09:54:11.928Z] v3.2.0-dev.40 [2024-10-30T09:54:11.928Z] v3.2.0-dev.41 [2024-10-30T09:54:11.928Z] v3.2.0-dev.42 [2024-10-30T09:54:11.928Z] v3.2.0-dev.43 [2024-10-30T09:54:11.928Z] v3.2.0-dev.44 [2024-10-30T09:54:11.928Z] v3.2.0-dev.45 [2024-10-30T09:54:11.928Z] v3.2.0-dev.46 [2024-10-30T09:54:11.928Z] v3.2.0-dev.47 [2024-10-30T09:54:11.928Z] v3.2.0-dev.48 [2024-10-30T09:54:11.928Z] v3.2.0-dev.49 [2024-10-30T09:54:11.928Z] v3.2.0-dev.5 [2024-10-30T09:54:11.928Z] v3.2.0-dev.50 [2024-10-30T09:54:11.928Z] v3.2.0-dev.51 [2024-10-30T09:54:11.928Z] v3.2.0-dev.52 [2024-10-30T09:54:11.928Z] v3.2.0-dev.53 [2024-10-30T09:54:11.928Z] v3.2.0-dev.54 [2024-10-30T09:54:11.928Z] v3.2.0-dev.55 [2024-10-30T09:54:11.928Z] v3.2.0-dev.56 [2024-10-30T09:54:11.928Z] v3.2.0-dev.57 [2024-10-30T09:54:11.928Z] v3.2.0-dev.58 [2024-10-30T09:54:11.928Z] v3.2.0-dev.6 [2024-10-30T09:54:11.928Z] v3.2.0-dev.7 [2024-10-30T09:54:11.928Z] v3.2.0-dev.8 [2024-10-30T09:54:11.928Z] v3.2.0-dev.9 [2024-10-30T09:54:11.928Z] v4.0.0-dev.1 [2024-10-30T09:54:11.928Z] v4.0.0-dev.2 [Pipeline] sh [2024-10-30T09:54:12.218Z] + lftools sign git-tag v4.0.0-dev.2 [2024-10-30T09:54:12.786Z] Signing Git tag with Sigul... [2024-10-30T09:54:12.786Z] Signing v4.0.0-dev.2 [Pipeline] echo [2024-10-30T09:54:13.369Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T09:54:13.660Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-10-30T09:54:13.668Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-10-30T09:54:13.694Z] $ docker stop --time=1 c71ad947a56566c9d7a5b8922995e49d2a2dca4587892bdc0a7dc49bb51509f9 [2024-10-30T09:54:15.007Z] $ docker rm -f --volumes c71ad947a56566c9d7a5b8922995e49d2a2dca4587892bdc0a7dc49bb51509f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-10-30T09:54:15.507Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-30T09:54:15.507Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T09:54:15.807Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-30T09:54:15.807Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T09:54:15.893Z] prd-ubuntu20.04-docker-8c-8g-24145 does not seem to be running inside a container [2024-10-30T09:54:15.920Z] $ 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:0.1.4 cat [2024-10-30T09:54:16.252Z] $ docker top 1dbe7b690f108157dc4beb211481d3aa06e1e9df91872b0385a5c496006dbbeb -eo pid,comm [2024-10-30T09:54:16.297Z] 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). [2024-10-30T09:54:16.297Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-30T09:54:16.365Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-30T09:54:16.365Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-30T09:54:16.468Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-30T09:54:16.470Z] $ docker exec 1dbe7b690f108157dc4beb211481d3aa06e1e9df91872b0385a5c496006dbbeb ssh-agent [2024-10-30T09:54:16.577Z] SSH_AUTH_SOCK=/tmp/ssh-ABvXH1ESB2pf/agent.32 [2024-10-30T09:54:16.577Z] SSH_AGENT_PID=38 [2024-10-30T09:54:16.582Z] Running ssh-add (command line suppressed) [2024-10-30T09:54:16.688Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1351929300656952612.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1351929300656952612.key) [2024-10-30T09:54:16.704Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-30T09:54:17.000Z] + git semver bump pre [2024-10-30T09:54:17.261Z] 2024-10-30 09:54:17,197 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2024-10-30T09:54:17.261Z] 2024-10-30 09:54:17,197 [bump_version] DEBUG bumping version:4.0.0-dev.2 on axis:pre with prefix:dev [2024-10-30T09:54:17.261Z] 2024-10-30 09:54:17,197 [bump_version] DEBUG bumped version:4.0.0-dev.3 [2024-10-30T09:54:17.261Z] 2024-10-30 09:54:17,197 [write_version] DEBUG write version:4.0.0-dev.3 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:True [2024-10-30T09:54:17.261Z] 2024-10-30 09:54:17,197 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2024-10-30T09:54:17.261Z] 2024-10-30 09:54:17,198 [write_file] DEBUG write to file:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2024-10-30T09:54:17.261Z] 2024-10-30 09:54:17,199 [execute] INFO git cat-file --batch-check [2024-10-30T09:54:17.261Z] 2024-10-30 09:54:17,200 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-10-30T09:54:17.261Z] 2024-10-30 09:54:17,206 [execute] INFO git cat-file --batch [2024-10-30T09:54:17.261Z] 2024-10-30 09:54:17,206 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-10-30T09:54:17.261Z] 2024-10-30 09:54:17,212 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2024-10-30T09:54:17.261Z] 4.0.0-dev.3 [Pipeline] } [2024-10-30T09:54:17.271Z] $ docker exec --env ******** --env ******** 1dbe7b690f108157dc4beb211481d3aa06e1e9df91872b0385a5c496006dbbeb ssh-agent -k [2024-10-30T09:54:17.372Z] unset SSH_AUTH_SOCK; [2024-10-30T09:54:17.373Z] unset SSH_AGENT_PID; [2024-10-30T09:54:17.373Z] echo Agent pid 38 killed; [2024-10-30T09:54:17.381Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-30T09:54:17.697Z] + git semver [Pipeline] } [2024-10-30T09:54:17.969Z] $ docker stop --time=1 1dbe7b690f108157dc4beb211481d3aa06e1e9df91872b0385a5c496006dbbeb [2024-10-30T09:54:19.260Z] $ docker rm -f --volumes 1dbe7b690f108157dc4beb211481d3aa06e1e9df91872b0385a5c496006dbbeb [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-30T09:54:19.614Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-30T09:54:19.615Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T09:54:19.923Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-30T09:54:19.923Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T09:54:20.015Z] prd-ubuntu20.04-docker-8c-8g-24145 does not seem to be running inside a container [2024-10-30T09:54:20.044Z] $ 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:0.1.4 cat [2024-10-30T09:54:20.383Z] $ docker top dad8fc38ee93ccb986ded3fb8817e22264941e7fcd5c10d9d3d6734e87ea4c12 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-30T09:54:20.492Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-30T09:54:20.492Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-30T09:54:20.600Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-30T09:54:20.602Z] $ docker exec dad8fc38ee93ccb986ded3fb8817e22264941e7fcd5c10d9d3d6734e87ea4c12 ssh-agent [2024-10-30T09:54:20.708Z] SSH_AUTH_SOCK=/tmp/ssh-HYVcpff5UcHC/agent.32 [2024-10-30T09:54:20.708Z] SSH_AGENT_PID=38 [2024-10-30T09:54:20.713Z] Running ssh-add (command line suppressed) [2024-10-30T09:54:20.816Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4365413283564212453.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4365413283564212453.key) [2024-10-30T09:54:20.829Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-30T09:54:21.123Z] + git semver push [2024-10-30T09:54:21.382Z] 2024-10-30 09:54:21,310 [run_push] DEBUG push [2024-10-30T09:54:21.382Z] 2024-10-30 09:54:21,311 [execute] INFO git cat-file --batch-check [2024-10-30T09:54:21.382Z] 2024-10-30 09:54:21,311 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-10-30T09:54:21.382Z] 2024-10-30 09:54:21,314 [execute] INFO git rev-list 8ed8379c358555c76f2d7a51d34485cfe173073b -- [2024-10-30T09:54:21.382Z] 2024-10-30 09:54:21,314 [execute] DEBUG Popen(['git', 'rev-list', '8ed8379c358555c76f2d7a51d34485cfe173073b', '--'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-10-30T09:54:21.382Z] 2024-10-30 09:54:21,329 [execute] INFO git fetch -v origin [2024-10-30T09:54:21.382Z] 2024-10-30 09:54:21,329 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2024-10-30T09:54:21.949Z] 2024-10-30 09:54:21,762 [run_push] DEBUG no remote changes detected [2024-10-30T09:54:21.949Z] 2024-10-30 09:54:21,763 [execute] INFO git push origin semver [2024-10-30T09:54:21.949Z] 2024-10-30 09:54:21,763 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-10-30T09:54:22.518Z] 2024-10-30 09:54:22,463 [run_push] DEBUG push all version tags [2024-10-30T09:54:22.519Z] 2024-10-30 09:54:22,464 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-10-30T09:54:22.519Z] 2024-10-30 09:54:22,464 [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) [2024-10-30T09:54:23.459Z] 2024-10-30 09:54:23,110 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2024-10-30T09:54:23.459Z] 4.0.0-dev.3 [Pipeline] } [2024-10-30T09:54:23.470Z] $ docker exec --env ******** --env ******** dad8fc38ee93ccb986ded3fb8817e22264941e7fcd5c10d9d3d6734e87ea4c12 ssh-agent -k [2024-10-30T09:54:23.570Z] unset SSH_AUTH_SOCK; [2024-10-30T09:54:23.570Z] unset SSH_AGENT_PID; [2024-10-30T09:54:23.570Z] echo Agent pid 38 killed; [2024-10-30T09:54:23.581Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-30T09:54:23.904Z] + git semver [Pipeline] } [2024-10-30T09:54:24.178Z] $ docker stop --time=1 dad8fc38ee93ccb986ded3fb8817e22264941e7fcd5c10d9d3d6734e87ea4c12 [2024-10-30T09:54:25.449Z] $ docker rm -f --volumes dad8fc38ee93ccb986ded3fb8817e22264941e7fcd5c10d9d3d6734e87ea4c12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 [2024-10-30T09:54:26.133Z] + [ -d /w/workspace/oundry_app-functions-sdk-go_main/archives ] [2024-10-30T09:54:26.134Z] + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives [2024-10-30T09:54:26.134Z] total 16 [2024-10-30T09:54:26.134Z] drwxr-xr-x 3 root root 4096 Oct 30 09:37 . [2024-10-30T09:54:26.134Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 30 09:54 .. [2024-10-30T09:54:26.134Z] drwxr-xr-x 2 root root 4096 Oct 30 09:37 cost [2024-10-30T09:54:26.134Z] -rw-r--r-- 1 root root 92 Oct 30 09:37 cost.csv [2024-10-30T09:54:26.134Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_app-functions-sdk-go_main/archives [2024-10-30T09:54:26.134Z] + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives [2024-10-30T09:54:26.134Z] total 16 [2024-10-30T09:54:26.134Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 30 09:37 . [2024-10-30T09:54:26.134Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 30 09:54 .. [2024-10-30T09:54:26.134Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 30 09:37 cost [2024-10-30T09:54:26.134Z] -rw-r--r-- 1 jenkins jenkins 92 Oct 30 09:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-30T09:54:26.420Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T09:54:27.278Z] ---> package-listing.sh [2024-10-30T09:54:27.278Z] ++ facter osfamily [2024-10-30T09:54:27.278Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-30T09:54:27.537Z] + OS_FAMILY=debian [2024-10-30T09:54:27.537Z] + workspace=/w/workspace/oundry_app-functions-sdk-go_main [2024-10-30T09:54:27.537Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-30T09:54:27.537Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-30T09:54:27.537Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-30T09:54:27.537Z] + PACKAGES=/tmp/packages_start.txt [2024-10-30T09:54:27.537Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2024-10-30T09:54:27.537Z] + PACKAGES=/tmp/packages_end.txt [2024-10-30T09:54:27.537Z] + case "${OS_FAMILY}" in [2024-10-30T09:54:27.537Z] + dpkg -l [2024-10-30T09:54:27.537Z] + grep '^ii' [2024-10-30T09:54:27.537Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-30T09:54:27.537Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-30T09:54:27.537Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-30T09:54:27.537Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2024-10-30T09:54:27.537Z] + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ [2024-10-30T09:54:27.537Z] + 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 [2024-10-30T09:54:27.551Z] 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 [2024-10-30T09:54:27.827Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T09:54:28.393Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-30T09:54:28.393Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T09:54:28.474Z] prd-ubuntu20.04-docker-8c-8g-24145 does not seem to be running inside a container [2024-10-30T09:54:28.499Z] $ 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 [2024-10-30T09:54:28.689Z] $ docker top b3da0322ee84027377db53d363aa2562d55e2b09e7b2bda00e3a402327d6f54c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T09:54:29.045Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-30T09:54:29.333Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-30T09:54:29.620Z] + ls /var/log/sa-host [2024-10-30T09:54:29.620Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-30T09:54:29.794Z] provisioning config files... [2024-10-30T09:54:29.804Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config16665914142113354975tmp [Pipeline] { [Pipeline] echo [2024-10-30T09:54:29.821Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T09:54:30.104Z] ---> create-netrc.sh [Pipeline] } [2024-10-30T09:54:30.111Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-30T09:54:30.457Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-30T09:54:30.467Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T09:54:30.749Z] ---> sudo-logs.sh [2024-10-30T09:54:30.749Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-30T09:54:30.783Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T09:54:31.067Z] ---> job-cost.sh [2024-10-30T09:54:31.067Z] lf-activate-venv: SKIPPING [2024-10-30T09:54:31.067Z] DEBUG: total: 0.2199999988079071 [2024-10-30T09:54:31.067Z] INFO: Retrieving Stack Cost... [2024-10-30T09:54:31.636Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-30T09:54:31.895Z] INFO: Archiving Costs [Pipeline] echo [2024-10-30T09:54:31.909Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T09:54:32.193Z] ---> logs-deploy.sh [2024-10-30T09:54:32.193Z] lf-activate-venv: SKIPPING [2024-10-30T09:54:32.193Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/381 [2024-10-30T09:54:32.193Z] INFO: archiving workspace using pattern(s): [2024-10-30T09:54:33.134Z] Archives upload complete. [2024-10-30T09:54:33.393Z] INFO: archiving logs to Nexus