Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bc2bf8d9a29fee771d66dec1af10f11448dbbfcf 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-ssh9209374546049654885.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh5385866480579774555.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh12393710060634661007.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh16112866950040685621.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-ssh1549876287120187653.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/v3]] ========================================================= [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.21 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/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6169 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 bc2bf8d9a29fee771d66dec1af10f11448dbbfcf (main) Commit message: "build: Update go.sum that was missed (#1477)" > 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 bc2bf8d9a29fee771d66dec1af10f11448dbbfcf # timeout=10 > git rev-list --no-walk 534a8b21a43fc6feaa29292196610f3d89cfc830 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:41:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:41:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:41:53 ========================================================= 01:41:53 EdgeX Global Pipelines Version Info 01:41:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:41:54 ------------------- 01:41:54 stable info: 01:41:54 ------------------- 01:41:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:41:54 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 01:41:54 Message: update stable to v1.0.254 01:41:54 ------------------- 01:41:54 experimental info: 01:41:54 ------------------- 01:41:54 Commited By: **** collab-it+edgex@linuxfoundation.org 01:41:54 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 01:41:54 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:41:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 01:41:55 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 01:41:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:41:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:41:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:41:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 01:41:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:41:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:41:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:41:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:41:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:41:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 01:41:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:41:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:41:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 01:41:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 01:41:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:41:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:41:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:41:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:41:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 01:41:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 01:41:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:41:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:41:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 01:41:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:41:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:41:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:41:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:41:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:41:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bc2bf8d9a29fee771d66dec1af10f11448dbbfcf [Pipeline] echo 01:41:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bc2bf8d [Pipeline] echo 01:41:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:41:55 + git rev-list -1 --merges bc2bf8d9a29fee771d66dec1af10f11448dbbfcf~1..bc2bf8d9a29fee771d66dec1af10f11448dbbfcf [Pipeline] echo 01:41:55 -----------> git rev-list -1 --merges bc2bf8d9a29fee771d66dec1af10f11448dbbfcf~1..bc2bf8d9a29fee771d66dec1af10f11448dbbfcf bc2bf8d9a29fee771d66dec1af10f11448dbbfcf [false] [Pipeline] sh 01:41:56 + git log --format=format:%s -1 bc2bf8d9a29fee771d66dec1af10f11448dbbfcf [Pipeline] echo 01:41:56 ========================================================= 01:41:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:41:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:41:56 + git log --format=format:%s -1 bc2bf8d9a29fee771d66dec1af10f11448dbbfcf [Pipeline] echo 01:41:56 [semverPrep] GIT_COMMIT: bc2bf8d9a29fee771d66dec1af10f11448dbbfcf, Commit Message: build: Update go.sum that was missed (#1477) [Pipeline] echo 01:41:56 [semverPrep] This is not a build commit. [Pipeline] sh 01:41:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:41:56 + grep -v github /etc/ssh/ssh_known_hosts 01:41:56 + [ -e /tmp/ssh_known_hosts ] 01:41:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:41:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:41:56 + sudo tee -a /etc/ssh/ssh_known_hosts 01:41:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:41:57 01:41:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:41:57 0.1.4: Pulling from edgex-devops/py-git-semver 01:41:57 b85a868b505f: Pulling fs layer 01:41:57 e2be974225ed: Pulling fs layer 01:41:57 339a4e72a1f5: Pulling fs layer 01:41:57 988bab9f4d93: Pulling fs layer 01:41:57 1469e6f7b9e6: Pulling fs layer 01:41:57 eaf3925da568: Pulling fs layer 01:41:57 bab4dde63d76: Pulling fs layer 01:41:57 bde34c3a00c8: Pulling fs layer 01:41:57 b352a97aabf1: Pulling fs layer 01:41:57 4872d77fe225: Pulling fs layer 01:41:57 5851b861e8e6: Pulling fs layer 01:41:57 b352a97aabf1: Waiting 01:41:57 bab4dde63d76: Waiting 01:41:57 988bab9f4d93: Waiting 01:41:57 4872d77fe225: Waiting 01:41:57 eaf3925da568: Waiting 01:41:57 bde34c3a00c8: Waiting 01:41:58 e2be974225ed: Download complete 01:41:58 988bab9f4d93: Download complete 01:41:58 1469e6f7b9e6: Verifying Checksum 01:41:58 1469e6f7b9e6: Download complete 01:41:58 339a4e72a1f5: Verifying Checksum 01:41:58 339a4e72a1f5: Download complete 01:41:58 eaf3925da568: Verifying Checksum 01:41:58 eaf3925da568: Download complete 01:41:58 bde34c3a00c8: Verifying Checksum 01:41:58 bde34c3a00c8: Download complete 01:41:58 b352a97aabf1: Verifying Checksum 01:41:58 b352a97aabf1: Download complete 01:41:58 4872d77fe225: Download complete 01:41:58 5851b861e8e6: Download complete 01:41:58 b85a868b505f: Verifying Checksum 01:41:58 b85a868b505f: Download complete 01:41:58 bab4dde63d76: Verifying Checksum 01:41:58 bab4dde63d76: Download complete 01:41:59 b85a868b505f: Pull complete 01:41:59 e2be974225ed: Pull complete 01:42:00 339a4e72a1f5: Pull complete 01:42:00 988bab9f4d93: Pull complete 01:42:00 1469e6f7b9e6: Pull complete 01:42:00 eaf3925da568: Pull complete 01:42:02 bab4dde63d76: Pull complete 01:42:02 bde34c3a00c8: Pull complete 01:42:02 b352a97aabf1: Pull complete 01:42:02 4872d77fe225: Pull complete 01:42:02 5851b861e8e6: Pull complete 01:42:02 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:42:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:42:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:42:02 prd-ubuntu20.04-docker-8c-8g-6169 does not seem to be running inside a container 01:42:02 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:42:05 $ docker top a167fe06454e87c1228994a5059d326ff387406d9d5606ec13251e0ca9965d34 -eo pid,comm 01:42:05 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). 01:42:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:42:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:42:05 [ssh-agent] Looking for ssh-agent implementation... 01:42:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:42:06 $ docker exec a167fe06454e87c1228994a5059d326ff387406d9d5606ec13251e0ca9965d34 ssh-agent 01:42:06 SSH_AUTH_SOCK=/tmp/ssh-hl6CWsyWNo0d/agent.33 01:42:06 SSH_AGENT_PID=39 01:42:06 Running ssh-add (command line suppressed) 01:42:06 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5620074776791768562.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5620074776791768562.key) 01:42:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:42:06 + git tag --points-at HEAD [Pipeline] } 01:42:06 $ docker exec --env ******** --env ******** a167fe06454e87c1228994a5059d326ff387406d9d5606ec13251e0ca9965d34 ssh-agent -k 01:42:06 unset SSH_AUTH_SOCK; 01:42:06 unset SSH_AGENT_PID; 01:42:06 echo Agent pid 39 killed; 01:42:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:42:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:42:06 [ssh-agent] Looking for ssh-agent implementation... 01:42:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:42:06 $ docker exec a167fe06454e87c1228994a5059d326ff387406d9d5606ec13251e0ca9965d34 ssh-agent 01:42:06 SSH_AUTH_SOCK=/tmp/ssh-KDtINpnbTSnd/agent.72 01:42:06 SSH_AGENT_PID=78 01:42:07 Running ssh-add (command line suppressed) 01:42:07 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_495532032678416054.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_495532032678416054.key) 01:42:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:42:07 + git semver init 01:42:07 2023-09-14 01:42:07,606 [run_init] DEBUG init version:0.0.0 force:False 01:42:07 2023-09-14 01:42:07,607 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_app-functions-sdk-go_main/.semver 01:42:07 2023-09-14 01:42:07,607 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-functions-sdk-go.git /w/workspace/oundry_app-functions-sdk-go_main/.semver 01:42:07 2023-09-14 01:42:07,607 [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) 01:42:09 2023-09-14 01:42:09,186 [append_file] DEBUG append to file:/w/workspace/oundry_app-functions-sdk-go_main/.git/info/exclude 01:42:09 2023-09-14 01:42:09,186 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:False 01:42:09 2023-09-14 01:42:09,186 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 01:42:09 2023-09-14 01:42:09,187 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 01:42:09 3.1.0-dev.30 [Pipeline] } 01:42:09 $ docker exec --env ******** --env ******** a167fe06454e87c1228994a5059d326ff387406d9d5606ec13251e0ca9965d34 ssh-agent -k 01:42:09 unset SSH_AUTH_SOCK; 01:42:09 unset SSH_AGENT_PID; 01:42:09 echo Agent pid 78 killed; 01:42:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:42:09 + git semver [Pipeline] } 01:42:10 $ docker stop --time=1 a167fe06454e87c1228994a5059d326ff387406d9d5606ec13251e0ca9965d34 01:42:11 $ docker rm -f --volumes a167fe06454e87c1228994a5059d326ff387406d9d5606ec13251e0ca9965d34 [Pipeline] // withDockerContainer [Pipeline] sh 01:42:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:42:12 Stashed 1 file(s) [Pipeline] echo 01:42:12 [edgeXSemver]: initialized semver on version 3.1.0-dev.30 [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 01:42:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:42:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:42:12 ========================================================= 01:42:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 01:42:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 01:42:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 01:42:12 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 01:42:12 7264a8db6415: Pulling fs layer 01:42:12 c4d48a809fc2: Pulling fs layer 01:42:12 4f1c88b9dad5: Pulling fs layer 01:42:12 ad3a456e5733: Pulling fs layer 01:42:12 9e4f439ed901: Pulling fs layer 01:42:12 feaf6a47b606: Pulling fs layer 01:42:12 5e8b037d7d82: Pulling fs layer 01:42:12 8ac70367396e: Pulling fs layer 01:42:12 6db16350a2e2: Pulling fs layer 01:42:12 9250d5d63582: Pulling fs layer 01:42:12 ad3a456e5733: Waiting 01:42:12 9e4f439ed901: Waiting 01:42:12 5e8b037d7d82: Waiting 01:42:12 9250d5d63582: Waiting 01:42:12 8ac70367396e: Waiting 01:42:12 6db16350a2e2: Waiting 01:42:12 c4d48a809fc2: Verifying Checksum 01:42:12 c4d48a809fc2: Download complete 01:42:12 ad3a456e5733: Verifying Checksum 01:42:12 ad3a456e5733: Download complete 01:42:12 7264a8db6415: Download complete 01:42:12 9e4f439ed901: Verifying Checksum 01:42:12 9e4f439ed901: Download complete 01:42:12 feaf6a47b606: Verifying Checksum 01:42:12 feaf6a47b606: Download complete 01:42:13 7264a8db6415: Pull complete 01:42:13 8ac70367396e: Verifying Checksum 01:42:13 8ac70367396e: Download complete 01:42:13 c4d48a809fc2: Pull complete 01:42:13 4f1c88b9dad5: Verifying Checksum 01:42:13 4f1c88b9dad5: Download complete 01:42:13 6db16350a2e2: Verifying Checksum 01:42:13 6db16350a2e2: Download complete 01:42:13 5e8b037d7d82: Verifying Checksum 01:42:13 5e8b037d7d82: Download complete 01:42:13 9250d5d63582: Verifying Checksum 01:42:13 9250d5d63582: Download complete 01:42:17 4f1c88b9dad5: Pull complete 01:42:17 ad3a456e5733: Pull complete 01:42:17 9e4f439ed901: Pull complete 01:42:17 feaf6a47b606: Pull complete 01:42:19 5e8b037d7d82: Pull complete 01:42:19 8ac70367396e: Pull complete 01:42:20 6db16350a2e2: Pull complete 01:42:20 9250d5d63582: Pull complete 01:42:20 Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 01:42:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 01:42:20 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [Pipeline] sh 01:42:21 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:21 + docker inspect -f . ci-base-image-x86_64 01:42:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:42:21 prd-ubuntu20.04-docker-8c-8g-6169 does not seem to be running inside a container 01:42:21 $ 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 ******** -e ******** ci-base-image-x86_64 cat 01:42:26 $ docker top f1c5e4606904347b00edab78180f69714a789c17f3dbcea5398fd2a5fbe8a06c -eo pid,comm [Pipeline] { [Pipeline] sh 01:42:26 + go version 01:42:26 go version go1.21.0 linux/amd64 [Pipeline] } 01:42:26 $ docker stop --time=1 f1c5e4606904347b00edab78180f69714a789c17f3dbcea5398fd2a5fbe8a06c 01:42:27 Still waiting to schedule task 01:42:27 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6167’ 01:42:28 $ docker rm -f --volumes f1c5e4606904347b00edab78180f69714a789c17f3dbcea5398fd2a5fbe8a06c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:28 + docker inspect -f . ci-base-image-x86_64 01:42:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:42:28 prd-ubuntu20.04-docker-8c-8g-6169 does not seem to be running inside a container 01:42:28 $ 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 ******** -e ******** ci-base-image-x86_64 cat 01:42:28 $ docker top 26bd88f69acfbd4e8810060300be3a05b05718301afa3f4db3d981181ba6319b -eo pid,comm [Pipeline] { [Pipeline] sh 01:42:29 + git config --global --add safe.directory /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] fileExists [Pipeline] sh 01:42:29 + make test 01:42:29 make -C ./app-service-template build 01:42:29 make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 01:42:29 go mod tidy 01:42:29 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.1.0-dev.9 01:42:29 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 01:42:29 go: downloading github.com/google/uuid v1.3.1 01:42:29 go: downloading github.com/stretchr/testify v1.8.4 01:42:29 go: downloading github.com/labstack/echo/v4 v4.11.1 01:42:29 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.1.0-dev.32 01:42:30 go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.1.0-dev.20 01:42:30 go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.1.0-dev.5 01:42:30 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc 01:42:30 go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 01:42:30 go: downloading gopkg.in/yaml.v3 v3.0.1 01:42:30 go: downloading github.com/stretchr/objx v0.5.0 01:42:30 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.3.0 01:42:30 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 01:42:30 go: downloading github.com/labstack/gommon v0.4.0 01:42:30 go: downloading golang.org/x/crypto v0.12.0 01:42:30 go: downloading golang.org/x/net v0.13.0 01:42:30 go: downloading github.com/go-playground/validator/v10 v10.15.1 01:42:30 go: downloading github.com/go-kit/log v0.2.1 01:42:30 go: downloading github.com/fxamacker/cbor/v2 v2.5.0 01:42:30 go: downloading github.com/hashicorp/go-multierror v1.1.1 01:42:30 go: downloading github.com/gorilla/websocket v1.5.0 01:42:30 go: downloading golang.org/x/sync v0.2.0 01:42:30 go: downloading github.com/mattn/go-colorable v0.1.13 01:42:30 go: downloading github.com/mattn/go-isatty v0.0.19 01:42:30 go: downloading github.com/valyala/fasttemplate v1.2.2 01:42:30 go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.1.0-dev.6 01:42:30 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.1.0-dev.5 01:42:30 go: downloading github.com/go-logfmt/logfmt v0.5.1 01:42:30 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 01:42:30 go: downloading github.com/mitchellh/copystructure v1.2.0 01:42:30 go: downloading github.com/x448/float16 v0.8.4 01:42:30 go: downloading github.com/hashicorp/errwrap v1.1.0 01:42:30 go: downloading github.com/hashicorp/consul/api v1.24.0 01:42:30 go: downloading github.com/gabriel-vasile/mimetype v1.4.2 01:42:30 go: downloading github.com/go-playground/universal-translator v0.18.1 01:42:30 go: downloading github.com/leodido/go-urn v1.2.4 01:42:30 go: downloading golang.org/x/text v0.12.0 01:42:30 go: downloading github.com/go-playground/locales v0.14.1 01:42:30 go: downloading golang.org/x/sys v0.11.0 01:42:31 go: downloading github.com/valyala/bytebufferpool v1.0.0 01:42:31 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.6 01:42:31 go: downloading github.com/mitchellh/mapstructure v1.5.0 01:42:31 go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible 01:42:31 go: downloading golang.org/x/time v0.3.0 01:42:31 go: downloading github.com/mitchellh/reflectwalk v1.0.2 01:42:31 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 01:42:31 go: downloading github.com/go-playground/assert/v2 v2.2.0 01:42:31 go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 01:42:31 go: downloading github.com/hashicorp/go-hclog v1.5.0 01:42:31 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 01:42:31 go: downloading github.com/hashicorp/serf v0.10.1 01:42:31 go: downloading golang.org/x/exp v0.0.0-20230321023759-10a507213a29 01:42:31 go: downloading github.com/google/go-cmp v0.5.9 01:42:31 go: downloading github.com/hashicorp/consul/sdk v0.14.1 01:42:31 go: downloading github.com/hashicorp/go-uuid v1.0.3 01:42:31 go: downloading github.com/nats-io/nats.go v1.28.0 01:42:31 go: downloading github.com/nats-io/nats-server/v2 v2.9.22 01:42:31 go: downloading github.com/go-redis/redis/v7 v7.3.0 01:42:31 go: downloading github.com/Microsoft/go-winio v0.6.0 01:42:31 go: downloading github.com/zeebo/errs v1.3.0 01:42:31 go: downloading google.golang.org/grpc v1.53.0 01:42:32 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 01:42:32 go: downloading github.com/kr/pretty v0.1.0 01:42:32 go: downloading github.com/fatih/color v1.14.1 01:42:32 go: downloading github.com/mitchellh/go-homedir v1.1.0 01:42:32 go: downloading github.com/armon/go-metrics v0.4.1 01:42:32 go: downloading github.com/hashicorp/go-msgpack v0.5.5 01:42:32 go: downloading github.com/hashicorp/memberlist v0.5.0 01:42:32 go: downloading github.com/klauspost/compress v1.16.7 01:42:32 go: downloading github.com/nats-io/nkeys v0.4.4 01:42:32 go: downloading github.com/nats-io/nuid v1.0.1 01:42:32 go: downloading github.com/go-jose/go-jose/v3 v3.0.0 01:42:32 go: downloading google.golang.org/protobuf v1.28.1 01:42:32 go: downloading github.com/onsi/ginkgo v1.10.1 01:42:32 go: downloading github.com/onsi/gomega v1.7.0 01:42:32 go: downloading github.com/hashicorp/go-version v1.2.1 01:42:32 go: downloading github.com/pkg/errors v0.9.1 01:42:32 go: downloading golang.org/x/tools v0.6.0 01:42:32 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 01:42:32 go: downloading github.com/kr/text v0.2.0 01:42:32 go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 01:42:32 go: downloading github.com/pascaldekloe/goe v0.1.0 01:42:32 go: downloading github.com/google/btree v1.0.1 01:42:32 go: downloading github.com/hashicorp/go-sockaddr v1.0.2 01:42:32 go: downloading github.com/miekg/dns v1.1.41 01:42:32 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 01:42:32 go: downloading github.com/minio/highwayhash v1.0.2 01:42:32 go: downloading github.com/nats-io/jwt/v2 v2.5.0 01:42:32 go: downloading google.golang.org/genproto v0.0.0-20230223222841-637eb2293923 01:42:32 go: downloading github.com/golang/protobuf v1.5.2 01:42:32 go: downloading github.com/hashicorp/golang-lru v0.5.4 01:42:32 go: downloading gopkg.in/yaml.v2 v2.4.0 01:42:32 go: downloading github.com/hpcloud/tail v1.0.0 01:42:32 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 01:42:32 go: downloading gopkg.in/fsnotify.v1 v1.4.7 01:42:32 go: downloading golang.org/x/mod v0.8.0 01:42:33 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-new-service 01:42:48 make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 01:42:48 make -C ./app-service-template test 01:42:48 make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 01:42:48 go test -race -coverprofile=coverage.out ./... 01:43:06 ? app-new-service/config [no test files] 01:43:07 ok app-new-service 1.049s coverage: 45.9% of statements 01:43:07 ok app-new-service/functions 1.045s coverage: 85.3% of statements 01:43:07 go vet ./... 01:43:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:43:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:43:22 ./bin/test-attribution-txt.sh 01:43:22 make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 01:43:22 go test -race -coverprofile=coverage.out ./... 01:43:22 go: downloading github.com/gomodule/redigo v1.8.9 01:43:22 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal [no test files] 01:43:23 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/container [no test files] 01:43:23 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/common [no test files] 01:43:23 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db [no test files] 01:43:23 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis [no test files] 01:43:24 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger [no test files] 01:43:24 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http/mocks [no test files] 01:43:24 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/app 1.108s coverage: 65.6% of statements 01:43:24 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/appfunction 1.077s coverage: 92.5% of statements 01:43:24 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/handlers 1.065s coverage: 85.1% of statements 01:43:24 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/etm 1.026s coverage: 100.0% of statements 01:43:24 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/runtime 1.117s coverage: 77.9% of statements 01:43:25 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis/models 1.041s coverage: 97.3% of statements 01:43:25 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mocks [no test files] 01:43:25 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt/mocks [no test files] 01:43:25 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http 1.053s coverage: 82.8% of statements 01:43:25 ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces [no test files] 01:43:25 ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces/mocks [no test files] 01:43:26 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/messagebus 1.050s coverage: 65.6% of statements 01:43:26 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt 1.052s coverage: 28.7% of statements 01:43:26 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/webserver 1.046s coverage: 17.2% of statements 01:43:27 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg 1.054s coverage: 27.3% of statements 01:43:28 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/secure 1.068s coverage: 52.8% of statements 01:43:54 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/transforms 26.114s coverage: 75.3% of statements 01:43:54 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/util 1.033s coverage: 94.4% of statements 01:43:54 go vet ./... 01:43:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:43:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 01:44:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:44:02 $ docker stop --time=1 26bd88f69acfbd4e8810060300be3a05b05718301afa3f4db3d981181ba6319b 01:44:04 $ docker rm -f --volumes 26bd88f69acfbd4e8810060300be3a05b05718301afa3f4db3d981181ba6319b [Pipeline] // withDockerContainer [Pipeline] sh 01:44:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:44:05 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:44:06 01:44:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:44:06 latest: Pulling from edgex-lftools-log-publisher 01:44:06 5eb5b503b376: Pulling fs layer 01:44:06 5c69ac0246d0: Pulling fs layer 01:44:06 ec43610c2a17: Pulling fs layer 01:44:06 3a2ae6a8a46f: Pulling fs layer 01:44:06 33b1e0a273af: Pulling fs layer 01:44:06 5d3b04190fa2: Pulling fs layer 01:44:06 2f39f015ded8: Pulling fs layer 01:44:06 5d3b04190fa2: Waiting 01:44:06 33b1e0a273af: Waiting 01:44:06 3a2ae6a8a46f: Waiting 01:44:06 5c69ac0246d0: Verifying Checksum 01:44:06 5c69ac0246d0: Download complete 01:44:06 3a2ae6a8a46f: Verifying Checksum 01:44:06 3a2ae6a8a46f: Download complete 01:44:06 ec43610c2a17: Verifying Checksum 01:44:06 ec43610c2a17: Download complete 01:44:06 33b1e0a273af: Verifying Checksum 01:44:06 33b1e0a273af: Download complete 01:44:06 5d3b04190fa2: Verifying Checksum 01:44:06 5d3b04190fa2: Download complete 01:44:06 5eb5b503b376: Verifying Checksum 01:44:06 5eb5b503b376: Download complete 01:44:07 2f39f015ded8: Verifying Checksum 01:44:07 2f39f015ded8: Download complete 01:44:08 5eb5b503b376: Pull complete 01:44:08 5c69ac0246d0: Pull complete 01:44:08 ec43610c2a17: Pull complete 01:44:08 3a2ae6a8a46f: Pull complete 01:44:08 33b1e0a273af: Pull complete 01:44:08 5d3b04190fa2: Pull complete 01:44:12 2f39f015ded8: Pull complete 01:44:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:44:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:44:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:44:13 prd-ubuntu20.04-docker-8c-8g-6169 does not seem to be running inside a container 01:44:13 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:44:16 $ docker top 611778e421925d6691f430361a08e1043b247d279175f9b0caacc2013c9bc9d1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:44:17 ---> job-cost.sh 01:44:17 lf-activate-venv: SKIPPING 01:44:17 INFO: No Stack... 01:44:17 INFO: Retrieving Pricing Info for: v3-standard-8 01:44:18 INFO: Archiving Costs [Pipeline] sh 01:44:18 + cat /w/workspace/oundry_app-functions-sdk-go_main/archives/cost.csv 01:44:18 + cut -d, -f6 [Pipeline] lock 01:44:18 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-293-stack-cost] 01:44:18 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-293-stack-cost] did not exist. Created. 01:44:18 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-293-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:44:18 + echo total: 0.2199999988079071 [Pipeline] stash 01:44:18 Stashed 1 file(s) [Pipeline] } 01:44:18 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-293-stack-cost] [Pipeline] // lock [Pipeline] } 01:44:18 $ docker stop --time=1 611778e421925d6691f430361a08e1043b247d279175f9b0caacc2013c9bc9d1 01:44:19 $ docker rm -f --volumes 611778e421925d6691f430361a08e1043b247d279175f9b0caacc2013c9bc9d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:45:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6171 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws 01:45:21 Running in /w/workspace/app-functions-sdk-go/293 [Pipeline] { [Pipeline] checkout 01:45:21 The recommended git tool is: git 01:45:26 using credential edgex-jenkins-ssh 01:45:26 Cloning the remote Git repository 01:45:26 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 01:45:27 > git init /w/workspace/app-functions-sdk-go/293 # timeout=10 01:45:27 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 01:45:27 > git --version # timeout=10 01:45:27 > git --version # 'git version 2.25.1' 01:45:27 using GIT_SSH to set credentials SSH Credentials for GitHub 01:45:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:45:31 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 01:45:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:45:32 Avoid second fetch 01:45:32 Checking out Revision bc2bf8d9a29fee771d66dec1af10f11448dbbfcf (main) 01:45:32 Commit message: "build: Update go.sum that was missed (#1477)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:45:32 > git config core.sparsecheckout # timeout=10 01:45:32 > git checkout -f bc2bf8d9a29fee771d66dec1af10f11448dbbfcf # timeout=10 01:45:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:45:33 % Total % Received % Xferd Average Speed Time Time Time Current 01:45:33 Dload Upload Total Spent Left Speed 01:45:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 93072 [Pipeline] sh 01:45:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:45:34 + sudo tee /etc/docker/daemon.new 01:45:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:45:34 { 01:45:34 "registry-mirrors": [ 01:45:34 "https://nexus3.edgexfoundry.org:10001" 01:45:34 ], 01:45:34 "bip": "10.250.0.254/24", 01:45:34 "hosts": [ 01:45:34 "tcp://0.0.0.0:5555", 01:45:34 "unix:///var/run/docker.sock" 01:45:34 ], 01:45:34 "mtu": 1458, 01:45:34 "selinux-enabled": true, 01:45:34 "seccomp-profile": "/etc/docker/seccomp.json" 01:45:34 } [Pipeline] sh 01:45:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:45:35 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 01:45:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:45:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:45:53 ========================================================= 01:45:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 01:45:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 01:45:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 01:45:54 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:45:54 9fda8d8052c6: Pulling fs layer 01:45:54 5d54e960e981: Pulling fs layer 01:45:54 c4a7e357bf2a: Pulling fs layer 01:45:54 f0e02332f6b5: Pulling fs layer 01:45:54 66412af1f25a: Pulling fs layer 01:45:54 1baf3a5c0e64: Pulling fs layer 01:45:54 9a37bb91b891: Pulling fs layer 01:45:54 a29adfc67d43: Pulling fs layer 01:45:54 d5de9f91c1a4: Pulling fs layer 01:45:54 1baf3a5c0e64: Waiting 01:45:54 9a37bb91b891: Waiting 01:45:54 a29adfc67d43: Waiting 01:45:54 d5de9f91c1a4: Waiting 01:45:54 f0e02332f6b5: Waiting 01:45:54 66412af1f25a: Waiting 01:45:54 5d54e960e981: Verifying Checksum 01:45:54 5d54e960e981: Download complete 01:45:54 f0e02332f6b5: Verifying Checksum 01:45:54 f0e02332f6b5: Download complete 01:45:54 66412af1f25a: Download complete 01:45:54 9fda8d8052c6: Verifying Checksum 01:45:54 9fda8d8052c6: Download complete 01:45:55 9a37bb91b891: Verifying Checksum 01:45:55 9a37bb91b891: Download complete 01:45:55 9fda8d8052c6: Pull complete 01:45:55 a29adfc67d43: Verifying Checksum 01:45:55 a29adfc67d43: Download complete 01:45:56 5d54e960e981: Pull complete 01:45:56 d5de9f91c1a4: Verifying Checksum 01:45:56 d5de9f91c1a4: Download complete 01:45:56 c4a7e357bf2a: Download complete 01:45:57 1baf3a5c0e64: Verifying Checksum 01:45:57 1baf3a5c0e64: Download complete 01:46:07 c4a7e357bf2a: Pull complete 01:46:07 f0e02332f6b5: Pull complete 01:46:07 66412af1f25a: Pull complete 01:46:16 1baf3a5c0e64: Pull complete 01:46:16 9a37bb91b891: Pull complete 01:46:17 a29adfc67d43: Pull complete 01:46:19 d5de9f91c1a4: Pull complete 01:46:19 Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 01:46:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 01:46:19 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [Pipeline] sh 01:46:20 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:20 + docker inspect -f . ci-base-image-arm64 01:46:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:46:20 prd-ubuntu20.04-docker-arm64-4c-16g-6171 does not seem to be running inside a container 01:46:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/293 -v /w/workspace/app-functions-sdk-go/293:/w/workspace/app-functions-sdk-go/293:rw,z -v /w/workspace/app-functions-sdk-go/293@tmp:/w/workspace/app-functions-sdk-go/293@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 01:46:23 $ docker top f4a7f5b49b897196d91b2b5cf0e2ede49a1c2790159e3ef69ddf82ab521ad8ec -eo pid,comm [Pipeline] { [Pipeline] sh 01:46:24 + go version 01:46:24 go version go1.21.0 linux/arm64 [Pipeline] } 01:46:24 $ docker stop --time=1 f4a7f5b49b897196d91b2b5cf0e2ede49a1c2790159e3ef69ddf82ab521ad8ec 01:46:26 $ docker rm -f --volumes f4a7f5b49b897196d91b2b5cf0e2ede49a1c2790159e3ef69ddf82ab521ad8ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:27 + docker inspect -f . ci-base-image-arm64 01:46:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:46:27 prd-ubuntu20.04-docker-arm64-4c-16g-6171 does not seem to be running inside a container 01:46:27 $ 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/293 -v /w/workspace/app-functions-sdk-go/293:/w/workspace/app-functions-sdk-go/293:rw,z -v /w/workspace/app-functions-sdk-go/293@tmp:/w/workspace/app-functions-sdk-go/293@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 01:46:28 $ docker top 19a0e881507ff385f51841f1cf1fdd2736d191f8945946808c28f24f20a6d952 -eo pid,comm [Pipeline] { [Pipeline] sh 01:46:29 + git config --global --add safe.directory /w/workspace/app-functions-sdk-go/293 [Pipeline] fileExists [Pipeline] sh 01:46:30 + make test 01:46:30 make -C ./app-service-template build 01:46:30 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/293/app-service-template' 01:46:30 go mod tidy 01:46:30 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.1.0-dev.9 01:46:30 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 01:46:30 go: downloading github.com/google/uuid v1.3.1 01:46:30 go: downloading github.com/stretchr/testify v1.8.4 01:46:31 go: downloading github.com/labstack/echo/v4 v4.11.1 01:46:31 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.1.0-dev.32 01:46:31 go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.1.0-dev.20 01:46:31 go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.1.0-dev.5 01:46:31 go: downloading github.com/go-playground/validator/v10 v10.15.1 01:46:31 go: downloading github.com/fxamacker/cbor/v2 v2.5.0 01:46:31 go: downloading gopkg.in/yaml.v3 v3.0.1 01:46:31 go: downloading github.com/go-kit/log v0.2.1 01:46:31 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.3.0 01:46:31 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 01:46:31 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc 01:46:31 go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 01:46:31 go: downloading github.com/stretchr/objx v0.5.0 01:46:31 go: downloading github.com/labstack/gommon v0.4.0 01:46:31 go: downloading golang.org/x/crypto v0.12.0 01:46:31 go: downloading golang.org/x/net v0.13.0 01:46:32 go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.1.0-dev.6 01:46:33 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.1.0-dev.5 01:46:33 go: downloading github.com/hashicorp/go-multierror v1.1.1 01:46:33 go: downloading github.com/go-logfmt/logfmt v0.5.1 01:46:33 go: downloading github.com/x448/float16 v0.8.4 01:46:33 go: downloading github.com/gabriel-vasile/mimetype v1.4.2 01:46:33 go: downloading github.com/go-playground/universal-translator v0.18.1 01:46:33 go: downloading github.com/leodido/go-urn v1.2.4 01:46:33 go: downloading golang.org/x/text v0.12.0 01:46:33 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 01:46:33 go: downloading github.com/go-playground/assert/v2 v2.2.0 01:46:33 go: downloading github.com/go-playground/locales v0.14.1 01:46:37 go: downloading github.com/mitchellh/copystructure v1.2.0 01:46:37 go: downloading github.com/gorilla/websocket v1.5.0 01:46:37 go: downloading golang.org/x/sync v0.2.0 01:46:37 go: downloading github.com/mattn/go-colorable v0.1.13 01:46:37 go: downloading github.com/mattn/go-isatty v0.0.19 01:46:37 go: downloading github.com/valyala/fasttemplate v1.2.2 01:46:37 go: downloading github.com/hashicorp/consul/api v1.24.0 01:46:37 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.6 01:46:37 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 01:46:37 go: downloading github.com/hashicorp/errwrap v1.1.0 01:46:37 go: downloading golang.org/x/sys v0.11.0 01:46:37 go: downloading github.com/kr/pretty v0.1.0 01:46:37 go: downloading github.com/mitchellh/reflectwalk v1.0.2 01:46:37 go: downloading github.com/valyala/bytebufferpool v1.0.0 01:46:37 go: downloading github.com/nats-io/nats.go v1.28.0 01:46:37 go: downloading github.com/nats-io/nats-server/v2 v2.9.22 01:46:38 go: downloading github.com/go-redis/redis/v7 v7.3.0 01:46:38 go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 01:46:38 go: downloading github.com/hashicorp/go-hclog v1.5.0 01:46:38 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 01:46:38 go: downloading github.com/hashicorp/serf v0.10.1 01:46:38 go: downloading github.com/mitchellh/mapstructure v1.5.0 01:46:38 go: downloading golang.org/x/exp v0.0.0-20230321023759-10a507213a29 01:46:38 go: downloading github.com/google/go-cmp v0.5.9 01:46:38 go: downloading github.com/hashicorp/consul/sdk v0.14.1 01:46:39 go: downloading github.com/hashicorp/go-uuid v1.0.3 01:46:39 go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible 01:46:39 go: downloading golang.org/x/time v0.3.0 01:46:39 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 01:46:39 go: downloading github.com/Microsoft/go-winio v0.6.0 01:46:39 go: downloading github.com/zeebo/errs v1.3.0 01:46:39 go: downloading google.golang.org/grpc v1.53.0 01:46:40 go: downloading github.com/kr/text v0.2.0 01:46:40 go: downloading github.com/klauspost/compress v1.16.7 01:46:40 go: downloading github.com/nats-io/nkeys v0.4.4 01:46:40 go: downloading github.com/nats-io/nuid v1.0.1 01:46:40 go: downloading github.com/onsi/ginkgo v1.10.1 01:46:40 go: downloading github.com/onsi/gomega v1.7.0 01:46:41 go: downloading github.com/fatih/color v1.14.1 01:46:41 go: downloading github.com/mitchellh/go-homedir v1.1.0 01:46:41 go: downloading github.com/armon/go-metrics v0.4.1 01:46:41 go: downloading github.com/minio/highwayhash v1.0.2 01:46:41 go: downloading github.com/nats-io/jwt/v2 v2.5.0 01:46:41 go: downloading github.com/hashicorp/go-version v1.2.1 01:46:41 go: downloading github.com/pkg/errors v0.9.1 01:46:41 go: downloading github.com/hashicorp/go-msgpack v0.5.5 01:46:41 go: downloading github.com/hashicorp/memberlist v0.5.0 01:46:41 go: downloading github.com/go-jose/go-jose/v3 v3.0.0 01:46:41 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 01:46:41 go: downloading google.golang.org/protobuf v1.28.1 01:46:42 go: downloading golang.org/x/tools v0.6.0 01:46:42 go: downloading google.golang.org/genproto v0.0.0-20230223222841-637eb2293923 01:46:45 go: downloading github.com/golang/protobuf v1.5.2 01:46:45 go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 01:46:45 go: downloading github.com/pascaldekloe/goe v0.1.0 01:46:45 go: downloading github.com/google/btree v1.0.1 01:46:45 go: downloading github.com/hashicorp/go-sockaddr v1.0.2 01:46:45 go: downloading github.com/miekg/dns v1.1.41 01:46:45 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 01:46:45 go: downloading github.com/hashicorp/golang-lru v0.5.4 01:46:45 go: downloading gopkg.in/yaml.v2 v2.4.0 01:46:45 go: downloading github.com/hpcloud/tail v1.0.0 01:46:45 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 01:46:45 go: downloading golang.org/x/mod v0.8.0 01:46:45 go: downloading gopkg.in/fsnotify.v1 v1.4.7 01:46:46 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-new-service 01:48:38 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/293/app-service-template' 01:48:38 make -C ./app-service-template test 01:48:38 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/293/app-service-template' 01:48:38 go test -race -coverprofile=coverage.out ./... 01:51:00 ? app-new-service/config [no test files] 01:51:00 ok app-new-service 1.250s coverage: 45.9% of statements 01:51:02 ok app-new-service/functions 1.237s coverage: 85.3% of statements 01:51:03 go vet ./... 01:52:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:52:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:52:39 ./bin/test-attribution-txt.sh 01:52:39 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/293/app-service-template' 01:52:39 go test -race -coverprofile=coverage.out ./... 01:52:39 go: downloading github.com/gomodule/redigo v1.8.9 01:52:39 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal [no test files] 01:52:48 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/container [no test files] 01:52:48 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/common [no test files] 01:52:49 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/app 1.536s coverage: 65.6% of statements 01:52:49 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/appfunction 1.287s coverage: 92.5% of statements 01:52:49 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/handlers 1.321s coverage: 85.1% of statements 01:52:50 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/etm 1.101s coverage: 100.0% of statements 01:52:53 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db [no test files] 01:52:53 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis [no test files] 01:52:53 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger [no test files] 01:52:54 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/runtime 1.550s coverage: 77.9% of statements 01:52:54 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis/models 1.264s coverage: 97.3% of statements 01:52:57 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http/mocks [no test files] 01:52:58 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mocks [no test files] 01:52:58 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http 1.244s coverage: 82.8% of statements 01:52:59 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/messagebus 1.233s coverage: 65.6% of statements 01:53:01 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt/mocks [no test files] 01:53:02 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt 1.293s coverage: 28.7% of statements 01:53:02 ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces [no test files] 01:53:02 ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces/mocks [no test files] 01:53:03 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/webserver 1.204s coverage: 17.2% of statements 01:53:04 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg 1.195s coverage: 27.3% of statements 01:53:07 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/secure 1.304s coverage: 52.8% of statements 01:53:39 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/transforms 26.513s coverage: 75.3% of statements 01:53:39 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/util 1.182s coverage: 94.4% of statements 01:53:39 go vet ./... 01:53:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:53:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:53:41 WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] echo 01:53:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:53:41 $ docker stop --time=1 19a0e881507ff385f51841f1cf1fdd2736d191f8945946808c28f24f20a6d952 01:53:43 $ docker rm -f --volumes 19a0e881507ff385f51841f1cf1fdd2736d191f8945946808c28f24f20a6d952 [Pipeline] // withDockerContainer [Pipeline] sh 01:53:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:53:47 Warning: overwriting stash ‘coverage-report’ 01:53:47 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:53:48 01:53:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:53:49 arm64: Pulling from edgex-lftools-log-publisher 01:53:49 8998bd30e6a1: Pulling fs layer 01:53:49 04944245beec: Pulling fs layer 01:53:49 699f458cf7ca: Pulling fs layer 01:53:49 765212b225bb: Pulling fs layer 01:53:49 f23df028b6ca: Pulling fs layer 01:53:49 d65c8cfc05b1: Pulling fs layer 01:53:49 2437ff75d9bd: Pulling fs layer 01:53:49 765212b225bb: Waiting 01:53:49 f23df028b6ca: Waiting 01:53:49 d65c8cfc05b1: Waiting 01:53:49 2437ff75d9bd: Waiting 01:53:49 04944245beec: Verifying Checksum 01:53:49 04944245beec: Download complete 01:53:49 765212b225bb: Download complete 01:53:49 f23df028b6ca: Verifying Checksum 01:53:49 f23df028b6ca: Download complete 01:53:49 d65c8cfc05b1: Verifying Checksum 01:53:49 d65c8cfc05b1: Download complete 01:53:49 699f458cf7ca: Verifying Checksum 01:53:49 699f458cf7ca: Download complete 01:53:49 8998bd30e6a1: Download complete 01:53:52 2437ff75d9bd: Verifying Checksum 01:53:52 2437ff75d9bd: Download complete 01:53:53 8998bd30e6a1: Pull complete 01:53:53 04944245beec: Pull complete 01:53:55 699f458cf7ca: Pull complete 01:53:55 765212b225bb: Pull complete 01:53:56 f23df028b6ca: Pull complete 01:53:56 d65c8cfc05b1: Pull complete 01:54:11 2437ff75d9bd: Pull complete 01:54:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:54:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:54:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:54:11 prd-ubuntu20.04-docker-arm64-4c-16g-6171 does not seem to be running inside a container 01:54:11 $ 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/293 -v /w/workspace/app-functions-sdk-go/293:/w/workspace/app-functions-sdk-go/293:rw,z -v /w/workspace/app-functions-sdk-go/293@tmp:/w/workspace/app-functions-sdk-go/293@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 01:54:14 $ docker top 1de4b0f897705499a8c121fef7ac0f5ae5e7b1d5d6b45c0ef466b6a1d595e656 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:54:14 ---> job-cost.sh 01:54:14 lf-activate-venv: SKIPPING 01:54:14 INFO: No Stack... 01:54:15 INFO: Retrieving Pricing Info for: v3-standard-4 01:54:16 INFO: Archiving Costs [Pipeline] sh 01:54:16 + cat /w/workspace/app-functions-sdk-go/293/archives/cost.csv 01:54:16 + cut -d, -f6 [Pipeline] lock 01:54:16 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-293-stack-cost] 01:54:16 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-293-stack-cost] did not exist. Created. 01:54:16 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-293-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:54:17 /w/workspace/app-functions-sdk-go/293@tmp/durable-f20e4eab/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:54:17 + echo total: 0.10999999940395355 [Pipeline] stash 01:54:17 Warning: overwriting stash ‘stack-cost’ 01:54:17 Stashed 1 file(s) [Pipeline] } 01:54:17 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-293-stack-cost] [Pipeline] // lock [Pipeline] } 01:54:17 $ docker stop --time=1 1de4b0f897705499a8c121fef7ac0f5ae5e7b1d5d6b45c0ef466b6a1d595e656 01:54:18 $ docker rm -f --volumes 1de4b0f897705499a8c121fef7ac0f5ae5e7b1d5d6b45c0ef466b6a1d595e656 [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 01:54:19 provisioning config files... 01:54:19 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config1817044298611113400tmp [Pipeline] { [Pipeline] sh 01:54:19 + set +x 01:54:19 + curl -s https://codecov.io/bash 01:54:19 + bash -s -- 01:54:19 01:54:19 _____ _ 01:54:19 / ____| | | 01:54:19 | | ___ __| | ___ ___ _____ __ 01:54:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:54:19 | |___| (_) | (_| | __/ (_| (_) \ V / 01:54:19 \_____\___/ \__,_|\___|\___\___/ \_/ 01:54:19 Bash-1.0.6 01:54:19 01:54:19 01:54:19 ==> git version 2.25.1 found 01:54:19 ==> 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 01:54:19 Release-Date: 2020-01-08 01:54:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:54:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:54:19 ==> Jenkins CI detected. 01:54:19 current dir:  /w/workspace/oundry_app-functions-sdk-go_main 01:54:19 project root: . 01:54:19 --> token set from env 01:54:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:54:19 ==> Running gcov in . (disable via -X gcov) 01:54:19 ==> Python coveragepy not found 01:54:19 ==> Searching for coverage reports in: 01:54:19 + . 01:54:19 -> Found 2 reports 01:54:19 ==> Detecting git/mercurial file structure 01:54:19 ==> Reading reports 01:54:19 + ./app-service-template/coverage.out bytes=3558 01:54:19 + ./coverage.out bytes=118304 01:54:19 ==> Appending adjustments 01:54:19 https://docs.codecov.io/docs/fixing-reports 01:54:20 + Found adjustments 01:54:20 ==> Gzipping contents 01:54:20 24K /tmp/codecov.fQYm3U.gz 01:54:20 ==> Uploading reports 01:54:20 url: https://codecov.io 01:54:20 query: branch=main&commit=bc2bf8d9a29fee771d66dec1af10f11448dbbfcf&build=293&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F293%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:54:20 -> Pinging Codecov 01:54:20 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=main&commit=bc2bf8d9a29fee771d66dec1af10f11448dbbfcf&build=293&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F293%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:54:20 -> Uploading to 01:54:20 https://storage.googleapis.com/codecov/v4/raw/2023-09-14/3D8B5DFFC46A037C893635FACE044666/bc2bf8d9a29fee771d66dec1af10f11448dbbfcf/22dcc002-6ab5-4958-b3f0-0f23e40bf218.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230914%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230914T015420Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f4e42120018a6b87662d4e8993bc81b798a551e6f7d714073ecf69e7c8d385c2 01:54:20 % Total % Received % Xferd Average Speed Time Time Time Current 01:54:20 Dload Upload Total Spent Left Speed 01:54:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20785 0 0 100 20785 0 95344 --:--:-- --:--:-- --:--:-- 94908 100 20785 0 0 100 20785 0 95344 --:--:-- --:--:-- --:--:-- 94908 01:54:20 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/bc2bf8d9a29fee771d66dec1af10f11448dbbfcf [Pipeline] } 01:54:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:54:20 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:54:20 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:54:21 01:54:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:54:21 1.410.4: Pulling from edgex-devops/edgex-snyk-go 01:54:21 df9b9388f04a: Pulling fs layer 01:54:21 52dc419b0ee2: Pulling fs layer 01:54:21 25bc292e5bac: Pulling fs layer 01:54:21 114826534d7a: Pulling fs layer 01:54:21 4657fd5d0bcf: Pulling fs layer 01:54:21 6ad1cebc031e: Pulling fs layer 01:54:21 8a3aa393b2d8: Pulling fs layer 01:54:21 114826534d7a: Waiting 01:54:21 4657fd5d0bcf: Waiting 01:54:21 25bc292e5bac: Verifying Checksum 01:54:21 25bc292e5bac: Download complete 01:54:21 52dc419b0ee2: Verifying Checksum 01:54:21 52dc419b0ee2: Download complete 01:54:21 4657fd5d0bcf: Download complete 01:54:21 df9b9388f04a: Download complete 01:54:21 6ad1cebc031e: Verifying Checksum 01:54:21 6ad1cebc031e: Download complete 01:54:21 df9b9388f04a: Pull complete 01:54:21 52dc419b0ee2: Pull complete 01:54:21 25bc292e5bac: Pull complete 01:54:22 114826534d7a: Verifying Checksum 01:54:22 114826534d7a: Download complete 01:54:22 8a3aa393b2d8: Verifying Checksum 01:54:22 8a3aa393b2d8: Download complete 01:54:25 114826534d7a: Pull complete 01:54:25 4657fd5d0bcf: Pull complete 01:54:25 6ad1cebc031e: Pull complete 01:54:28 8a3aa393b2d8: Pull complete 01:54:28 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 01:54:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:54:28 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:54:28 prd-ubuntu20.04-docker-8c-8g-6169 does not seem to be running inside a container 01:54:28 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 01:54:32 $ docker top 9b912ace414fd77e92aee83885401154766bb354d9227c4483e3fc2880a0c938 -eo pid,comm [Pipeline] { [Pipeline] echo 01:54:32 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-functions-sdk-go:main' [Pipeline] sh 01:54:33 + set -o pipefail 01:54:33 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-functions-sdk-go:main' 01:54:38 01:54:38 Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v3)... 01:54:38 01:54:38 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/899a6017-c938-46f1-adf7-2bd1b283a5ba/history/d9fa5f22-0e2d-4620-8769-ece2e727d42c 01:54:38 01:54:38 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 01:54:38 01:54:38 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:54:38 01:54:38 01:54:38 A medium severity vulnerability was found in the Snyk CLI versions you are using. 01:54:38 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 01:54:38 More details here: https://snyk.co/ue1NS 01:54:38 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 01:54:38 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 01:54:38 $ docker stop --time=1 9b912ace414fd77e92aee83885401154766bb354d9227c4483e3fc2880a0c938 01:54:42 $ docker rm -f --volumes 9b912ace414fd77e92aee83885401154766bb354d9227c4483e3fc2880a0c938 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 01:54:42 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:54:42 provisioning config files... 01:54:42 copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config16344604286665628857tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:54:43 --> edgex-publish-swagger.sh 01:54:43 === Publish openapi/v3 API === 01:54:43 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 01:54:43 [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v3/app-functions-sdk.yaml] 01:54:43 % Total % Received % Xferd Average Speed Time Time Time Current 01:54:43 Dload Upload Total Spent Left Speed 01:54:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11420 0 0 100 11420 0 25098 --:--:-- --:--:-- --:--:-- 25098 01:54:43 01:54:43 [Pipeline] } 01:54:43 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 01:54:43 + git log --format=format:%s -1 bc2bf8d9a29fee771d66dec1af10f11448dbbfcf [Pipeline] sh 01:54:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:54:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:54:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:54:44 prd-ubuntu20.04-docker-8c-8g-6169 does not seem to be running inside a container 01:54:44 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:54:44 $ docker top 80732a535c559a43424a03adbba929c981d48b1386f84f539498c09dda484421 -eo pid,comm 01:54:44 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). 01:54:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:54:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:54:45 [ssh-agent] Looking for ssh-agent implementation... 01:54:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:54:45 $ docker exec 80732a535c559a43424a03adbba929c981d48b1386f84f539498c09dda484421 ssh-agent 01:54:45 SSH_AUTH_SOCK=/tmp/ssh-qvvm9nHLFUs5/agent.32 01:54:45 SSH_AGENT_PID=38 01:54:45 Running ssh-add (command line suppressed) 01:54:45 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_3817868938586520931.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_3817868938586520931.key) 01:54:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:54:45 + git semver tag 01:54:45 2023-09-14 01:54:45,818 [run_tag] DEBUG tag force:False 01:54:45 2023-09-14 01:54:45,818 [check_head_tag] DEBUG check head tag 01:54:45 2023-09-14 01:54:45,819 [execute] INFO git cat-file --batch-check 01:54:45 2023-09-14 01:54:45,820 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) 01:54:45 2023-09-14 01:54:45,823 [execute] INFO git cat-file --batch 01:54:45 2023-09-14 01:54:45,824 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) 01:54:45 2023-09-14 01:54:45,840 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 01:54:45 2023-09-14 01:54:45,840 [execute] INFO git tag -a v3.1.0-dev.30 -m v3.1.0-dev.30 01:54:45 2023-09-14 01:54:45,840 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.30', '-m', 'v3.1.0-dev.30'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) 01:54:45 2023-09-14 01:54:45,845 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 01:54:45 3.1.0-dev.30 [Pipeline] } 01:54:45 $ docker exec --env ******** --env ******** 80732a535c559a43424a03adbba929c981d48b1386f84f539498c09dda484421 ssh-agent -k 01:54:46 unset SSH_AUTH_SOCK; 01:54:46 unset SSH_AGENT_PID; 01:54:46 echo Agent pid 38 killed; 01:54:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:54:46 + git semver [Pipeline] } 01:54:46 $ docker stop --time=1 80732a535c559a43424a03adbba929c981d48b1386f84f539498c09dda484421 01:54:47 $ docker rm -f --volumes 80732a535c559a43424a03adbba929c981d48b1386f84f539498c09dda484421 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:54:48 01:54:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:54:48 0.23.1-centos7: Pulling from edgex-lftools 01:54:48 ab5ef0e58194: Pulling fs layer 01:54:48 9712f1f96733: Pulling fs layer 01:54:48 63f879dbbcfc: Pulling fs layer 01:54:48 0d9ebad4ef96: Pulling fs layer 01:54:48 e9a5061849ea: Pulling fs layer 01:54:48 d747dcd14b5f: Pulling fs layer 01:54:48 2de7ff778b66: Pulling fs layer 01:54:48 0d9ebad4ef96: Waiting 01:54:48 e9a5061849ea: Waiting 01:54:48 2de7ff778b66: Waiting 01:54:48 d747dcd14b5f: Waiting 01:54:48 9712f1f96733: Verifying Checksum 01:54:48 9712f1f96733: Download complete 01:54:48 63f879dbbcfc: Verifying Checksum 01:54:48 63f879dbbcfc: Download complete 01:54:49 e9a5061849ea: Verifying Checksum 01:54:49 e9a5061849ea: Download complete 01:54:49 d747dcd14b5f: Verifying Checksum 01:54:49 d747dcd14b5f: Download complete 01:54:49 0d9ebad4ef96: Download complete 01:54:49 ab5ef0e58194: Verifying Checksum 01:54:49 ab5ef0e58194: Download complete 01:54:49 2de7ff778b66: Verifying Checksum 01:54:49 2de7ff778b66: Download complete 01:54:51 ab5ef0e58194: Pull complete 01:54:51 9712f1f96733: Pull complete 01:54:52 63f879dbbcfc: Pull complete 01:54:55 0d9ebad4ef96: Pull complete 01:54:56 e9a5061849ea: Pull complete 01:54:56 d747dcd14b5f: Pull complete 01:54:56 2de7ff778b66: Pull complete 01:54:56 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:54:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:54:56 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:54:57 prd-ubuntu20.04-docker-8c-8g-6169 does not seem to be running inside a container 01:54:57 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 01:55:01 $ docker top 98b3cbadef2ea7589952893385fd1e9f6fcc979244d43b5a2b2def8aff3efdd7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:55:01 provisioning config files... 01:55:01 copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config12826864728972338758tmp 01:55:01 copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config10031427898498841046tmp 01:55:01 copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config15251756850431112773tmp [Pipeline] { [Pipeline] echo 01:55:01 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:55:01 ---> sigul-configuration.sh 01:55:01 gpg: directory `/root/.gnupg' created 01:55:01 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:55:01 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:55:01 gpg: keyring `/root/.gnupg/secring.gpg' created 01:55:01 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:55:01 gpg: CAST5 encrypted data 01:55:01 gpg: encrypted with 1 passphrase 01:55:01 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:55:02 + mkdir /home/jenkins 01:55:02 + mkdir /home/jenkins/sigul [Pipeline] sh 01:55:02 + 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 01:55:02 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:55:02 ---> sigul-install.sh 01:55:02 Sigul already installed; skipping installation. [Pipeline] sh 01:55:03 + git tag --list 01:55:03 v0.1.0 01:55:03 v0.1.1 01:55:03 v1.0.0 01:55:03 v1.1.0 01:55:03 v1.2.0 01:55:03 v1.3.0 01:55:03 v1.3.1 01:55:03 v2.0.0 01:55:03 v2.0.1 01:55:03 v2.1.0 01:55:03 v2.1.1 01:55:03 v2.1.2 01:55:03 v2.2.0 01:55:03 v2.3 01:55:03 v2.3.0 01:55:03 v2.3.1 01:55:03 v3.0 01:55:03 v3.0.0 01:55:03 v3.0.1 01:55:03 v3.0.1-dev.1 01:55:03 v3.0.1-dev.2 01:55:03 v3.1.0-dev.1 01:55:03 v3.1.0-dev.10 01:55:03 v3.1.0-dev.11 01:55:03 v3.1.0-dev.12 01:55:03 v3.1.0-dev.13 01:55:03 v3.1.0-dev.14 01:55:03 v3.1.0-dev.15 01:55:03 v3.1.0-dev.16 01:55:03 v3.1.0-dev.17 01:55:03 v3.1.0-dev.18 01:55:03 v3.1.0-dev.19 01:55:03 v3.1.0-dev.2 01:55:03 v3.1.0-dev.20 01:55:03 v3.1.0-dev.21 01:55:03 v3.1.0-dev.22 01:55:03 v3.1.0-dev.23 01:55:03 v3.1.0-dev.24 01:55:03 v3.1.0-dev.25 01:55:03 v3.1.0-dev.26 01:55:03 v3.1.0-dev.27 01:55:03 v3.1.0-dev.28 01:55:03 v3.1.0-dev.29 01:55:03 v3.1.0-dev.3 01:55:03 v3.1.0-dev.30 01:55:03 v3.1.0-dev.4 01:55:03 v3.1.0-dev.5 01:55:03 v3.1.0-dev.6 01:55:03 v3.1.0-dev.7 01:55:03 v3.1.0-dev.8 01:55:03 v3.1.0-dev.9 [Pipeline] sh 01:55:03 + lftools sign git-tag v3.1.0-dev.30 01:55:03 Signing Git tag with Sigul... 01:55:03 Signing v3.1.0-dev.30 [Pipeline] echo 01:55:04 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:55:04 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:55:04 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:55:04 $ docker stop --time=1 98b3cbadef2ea7589952893385fd1e9f6fcc979244d43b5a2b2def8aff3efdd7 01:55:05 $ docker rm -f --volumes 98b3cbadef2ea7589952893385fd1e9f6fcc979244d43b5a2b2def8aff3efdd7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:55:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:55:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:55:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:55:06 prd-ubuntu20.04-docker-8c-8g-6169 does not seem to be running inside a container 01:55:06 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:55:06 $ docker top d86598615258950264fcac917eaa6d60c36a4a17091680e872560c1800d8e0a6 -eo pid,comm 01:55:06 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). 01:55:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:55:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:55:06 [ssh-agent] Looking for ssh-agent implementation... 01:55:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:55:07 $ docker exec d86598615258950264fcac917eaa6d60c36a4a17091680e872560c1800d8e0a6 ssh-agent 01:55:07 SSH_AUTH_SOCK=/tmp/ssh-y58VtmIBpuxx/agent.31 01:55:07 SSH_AGENT_PID=37 01:55:07 Running ssh-add (command line suppressed) 01:55:07 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_9512539049536928140.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_9512539049536928140.key) 01:55:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:55:07 + git semver bump pre 01:55:07 2023-09-14 01:55:07,779 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 01:55:07 2023-09-14 01:55:07,779 [bump_version] DEBUG bumping version:3.1.0-dev.30 on axis:pre with prefix:dev 01:55:07 2023-09-14 01:55:07,779 [bump_version] DEBUG bumped version:3.1.0-dev.31 01:55:07 2023-09-14 01:55:07,779 [write_version] DEBUG write version:3.1.0-dev.31 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:True 01:55:07 2023-09-14 01:55:07,779 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 01:55:07 2023-09-14 01:55:07,779 [write_file] DEBUG write to file:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main 01:55:07 2023-09-14 01:55:07,781 [execute] INFO git cat-file --batch-check 01:55:07 2023-09-14 01:55:07,781 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:55:07 2023-09-14 01:55:07,786 [execute] INFO git cat-file --batch 01:55:07 2023-09-14 01:55:07,786 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:55:07 2023-09-14 01:55:07,791 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 01:55:07 3.1.0-dev.31 [Pipeline] } 01:55:07 $ docker exec --env ******** --env ******** d86598615258950264fcac917eaa6d60c36a4a17091680e872560c1800d8e0a6 ssh-agent -k 01:55:07 unset SSH_AUTH_SOCK; 01:55:07 unset SSH_AGENT_PID; 01:55:07 echo Agent pid 37 killed; 01:55:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:55:08 + git semver [Pipeline] } 01:55:08 $ docker stop --time=1 d86598615258950264fcac917eaa6d60c36a4a17091680e872560c1800d8e0a6 01:55:09 $ docker rm -f --volumes d86598615258950264fcac917eaa6d60c36a4a17091680e872560c1800d8e0a6 [Pipeline] // withDockerContainer [Pipeline] sh 01:55:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:55:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:55:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:55:10 prd-ubuntu20.04-docker-8c-8g-6169 does not seem to be running inside a container 01:55:10 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:55:10 $ docker top f77b284ffd73fdbc605e43ef01e2dceea35c1dc154135f2576a7248f2eec4b30 -eo pid,comm 01:55:10 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). 01:55:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:55:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:55:10 [ssh-agent] Looking for ssh-agent implementation... 01:55:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:55:11 $ docker exec f77b284ffd73fdbc605e43ef01e2dceea35c1dc154135f2576a7248f2eec4b30 ssh-agent 01:55:11 SSH_AUTH_SOCK=/tmp/ssh-dZNeW828aZuc/agent.32 01:55:11 SSH_AGENT_PID=38 01:55:11 Running ssh-add (command line suppressed) 01:55:11 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4392426621529937017.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4392426621529937017.key) 01:55:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:55:11 + git semver push 01:55:11 2023-09-14 01:55:11,762 [run_push] DEBUG push 01:55:11 2023-09-14 01:55:11,763 [execute] INFO git cat-file --batch-check 01:55:11 2023-09-14 01:55:11,763 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:55:11 2023-09-14 01:55:11,767 [execute] INFO git rev-list 61445ae9858c55d1312616f8f654d377a22b93af -- 01:55:11 2023-09-14 01:55:11,768 [execute] DEBUG Popen(['git', 'rev-list', '61445ae9858c55d1312616f8f654d377a22b93af', '--'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 01:55:11 2023-09-14 01:55:11,783 [execute] INFO git fetch -v origin 01:55:11 2023-09-14 01:55:11,784 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 01:55:12 2023-09-14 01:55:12,255 [run_push] DEBUG no remote changes detected 01:55:12 2023-09-14 01:55:12,255 [execute] INFO git push origin semver 01:55:12 2023-09-14 01:55:12,256 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 01:55:13 2023-09-14 01:55:13,023 [run_push] DEBUG push all version tags 01:55:13 2023-09-14 01:55:13,023 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 01:55:13 2023-09-14 01:55:13,024 [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) 01:55:13 2023-09-14 01:55:13,794 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 01:55:13 3.1.0-dev.31 [Pipeline] } 01:55:13 $ docker exec --env ******** --env ******** f77b284ffd73fdbc605e43ef01e2dceea35c1dc154135f2576a7248f2eec4b30 ssh-agent -k 01:55:14 unset SSH_AUTH_SOCK; 01:55:14 unset SSH_AGENT_PID; 01:55:14 echo Agent pid 38 killed; 01:55:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:55:14 + git semver [Pipeline] } 01:55:14 $ docker stop --time=1 f77b284ffd73fdbc605e43ef01e2dceea35c1dc154135f2576a7248f2eec4b30 01:55:15 $ docker rm -f --volumes f77b284ffd73fdbc605e43ef01e2dceea35c1dc154135f2576a7248f2eec4b30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:55:16 + [ -d /w/workspace/oundry_app-functions-sdk-go_main/archives ] 01:55:16 + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives 01:55:16 total 16 01:55:16 drwxr-xr-x 3 root root 4096 Sep 14 01:44 . 01:55:16 drwxrwxr-x 10 jenkins jenkins 4096 Sep 14 01:55 .. 01:55:16 drwxr-xr-x 2 root root 4096 Sep 14 01:44 cost 01:55:16 -rw-r--r-- 1 root root 92 Sep 14 01:44 cost.csv 01:55:16 + sudo chown -R jenkins:jenkins /w/workspace/oundry_app-functions-sdk-go_main/archives 01:55:16 + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives 01:55:16 total 16 01:55:16 drwxr-xr-x 3 jenkins jenkins 4096 Sep 14 01:44 . 01:55:16 drwxrwxr-x 10 jenkins jenkins 4096 Sep 14 01:55 .. 01:55:16 drwxr-xr-x 2 jenkins jenkins 4096 Sep 14 01:44 cost 01:55:16 -rw-r--r-- 1 jenkins jenkins 92 Sep 14 01:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:55:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:55:17 ---> package-listing.sh 01:55:17 ++ facter osfamily 01:55:17 ++ tr '[:upper:]' '[:lower:]' 01:55:17 + OS_FAMILY=debian 01:55:17 + workspace=/w/workspace/oundry_app-functions-sdk-go_main 01:55:17 + START_PACKAGES=/tmp/packages_start.txt 01:55:17 + END_PACKAGES=/tmp/packages_end.txt 01:55:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:55:17 + PACKAGES=/tmp/packages_start.txt 01:55:17 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 01:55:17 + PACKAGES=/tmp/packages_end.txt 01:55:17 + case "${OS_FAMILY}" in 01:55:17 + dpkg -l 01:55:17 + grep '^ii' 01:55:17 + '[' -f /tmp/packages_start.txt ']' 01:55:17 + '[' -f /tmp/packages_end.txt ']' 01:55:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:55:17 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 01:55:17 + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ 01:55:17 + 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 01:55:17 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 01:55:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:55:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:55:18 prd-ubuntu20.04-docker-8c-8g-6169 does not seem to be running inside a container 01:55:18 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:55:19 $ docker top 3a54d6d45e7724e8e4593b2e40cdd9289780e810a6a2d6e18c6d4d78f4b4fd7f -eo pid,comm [Pipeline] { [Pipeline] sh 01:55:19 + touch /tmp/pre-build-complete [Pipeline] sh 01:55:19 + mkdir -p /var/log/sysstat [Pipeline] sh 01:55:19 + ls /var/log/sa-host 01:55:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:55:19 provisioning config files... 01:55:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config7432823764655327981tmp [Pipeline] { [Pipeline] echo 01:55:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:55:20 ---> create-netrc.sh [Pipeline] } 01:55:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:55:20 ---> python-tools-install.sh [Pipeline] echo 01:55:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:55:20 ---> sudo-logs.sh 01:55:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:55:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:55:21 ---> job-cost.sh 01:55:21 lf-activate-venv: SKIPPING 01:55:21 DEBUG: total: 0.2199999988079071 01:55:21 INFO: Retrieving Stack Cost... 01:55:21 INFO: Retrieving Pricing Info for: v3-standard-8 01:55:22 INFO: Archiving Costs [Pipeline] echo 01:55:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:55:22 ---> logs-deploy.sh 01:55:22 lf-activate-venv: SKIPPING 01:55:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/293 01:55:22 INFO: archiving workspace using pattern(s): 01:55:23 Archives upload complete. 01:55:23 INFO: archiving logs to Nexus