Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 15d59e21dd262a211cf966e2962d46b685e52a83 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-ssh17438874149387944981.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh9748740815093978604.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh13056547003100288083.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh17650420560762855752.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-ssh5578679602073893968.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-27343 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 15d59e21dd262a211cf966e2962d46b685e52a83 (main) Commit message: "feat: Add retry on success capability for Store and Forward (#1536)" > 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 15d59e21dd262a211cf966e2962d46b685e52a83 # timeout=10 > git rev-list --no-walk 0f93857b92b7d5220e013a7377dc8730595001eb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:00:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:00:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:00:53 ========================================================= 00:00:53 EdgeX Global Pipelines Version Info 00:00:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:00:53 ------------------- 00:00:53 stable info: 00:00:53 ------------------- 00:00:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:00:53 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 00:00:53 Message: update stable to v1.0.258 00:00:54 ------------------- 00:00:54 experimental info: 00:00:54 ------------------- 00:00:54 Commited By: **** collab-it+edgex@linuxfoundation.org 00:00:54 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 00:00:54 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:00:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 00:00:54 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 00:00:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:00:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:00:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:00:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 00:00:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:00:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:00:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:00:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:00:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:00:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 00:00:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:00:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:00:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 00:00:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:00:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:00:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:00:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:00:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:00:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:00:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 00:00:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:00:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:00:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 00:00:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:00:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:00:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:00:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:00:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:00:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 15d59e21dd262a211cf966e2962d46b685e52a83 [Pipeline] echo 00:00:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 15d59e2 [Pipeline] echo 00:00:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:00:56 + git rev-list -1 --merges 15d59e21dd262a211cf966e2962d46b685e52a83~1..15d59e21dd262a211cf966e2962d46b685e52a83 [Pipeline] echo 00:00:56 -----------> git rev-list -1 --merges 15d59e21dd262a211cf966e2962d46b685e52a83~1..15d59e21dd262a211cf966e2962d46b685e52a83 15d59e21dd262a211cf966e2962d46b685e52a83 [false] [Pipeline] sh 00:00:56 + git log --format=format:%s -1 15d59e21dd262a211cf966e2962d46b685e52a83 [Pipeline] echo 00:00:56 ========================================================= 00:00:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:00:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:00:56 + git log --format=format:%s -1 15d59e21dd262a211cf966e2962d46b685e52a83 [Pipeline] echo 00:00:56 [semverPrep] GIT_COMMIT: 15d59e21dd262a211cf966e2962d46b685e52a83, Commit Message: feat: Add retry on success capability for Store and Forward (#1536) [Pipeline] echo 00:00:56 [semverPrep] This is not a build commit. [Pipeline] sh 00:00:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:00:57 + grep -v github /etc/ssh/ssh_known_hosts 00:00:57 + [ -e /tmp/ssh_known_hosts ] 00:00:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:00:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:00:57 + sudo tee -a /etc/ssh/ssh_known_hosts 00:00:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:00:57 00:00:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:00:58 0.1.4: Pulling from edgex-devops/py-git-semver 00:00:58 b85a868b505f: Pulling fs layer 00:00:58 e2be974225ed: Pulling fs layer 00:00:58 339a4e72a1f5: Pulling fs layer 00:00:58 988bab9f4d93: Pulling fs layer 00:00:58 1469e6f7b9e6: Pulling fs layer 00:00:58 eaf3925da568: Pulling fs layer 00:00:58 bab4dde63d76: Pulling fs layer 00:00:58 bde34c3a00c8: Pulling fs layer 00:00:58 b352a97aabf1: Pulling fs layer 00:00:58 4872d77fe225: Pulling fs layer 00:00:58 5851b861e8e6: Pulling fs layer 00:00:58 988bab9f4d93: Waiting 00:00:58 1469e6f7b9e6: Waiting 00:00:58 eaf3925da568: Waiting 00:00:58 bab4dde63d76: Waiting 00:00:58 4872d77fe225: Waiting 00:00:58 bde34c3a00c8: Waiting 00:00:58 b352a97aabf1: Waiting 00:00:58 5851b861e8e6: Waiting 00:00:58 e2be974225ed: Verifying Checksum 00:00:58 e2be974225ed: Download complete 00:00:58 988bab9f4d93: Verifying Checksum 00:00:58 988bab9f4d93: Download complete 00:00:58 1469e6f7b9e6: Verifying Checksum 00:00:58 1469e6f7b9e6: Download complete 00:00:58 eaf3925da568: Download complete 00:00:58 339a4e72a1f5: Verifying Checksum 00:00:58 339a4e72a1f5: Download complete 00:00:58 bde34c3a00c8: Verifying Checksum 00:00:58 b352a97aabf1: Download complete 00:00:58 4872d77fe225: Download complete 00:00:58 5851b861e8e6: Verifying Checksum 00:00:58 5851b861e8e6: Download complete 00:00:58 b85a868b505f: Verifying Checksum 00:00:58 b85a868b505f: Download complete 00:00:58 bab4dde63d76: Verifying Checksum 00:00:58 bab4dde63d76: Download complete 00:01:00 b85a868b505f: Pull complete 00:01:00 e2be974225ed: Pull complete 00:01:00 339a4e72a1f5: Pull complete 00:01:00 988bab9f4d93: Pull complete 00:01:00 1469e6f7b9e6: Pull complete 00:01:00 eaf3925da568: Pull complete 00:01:02 bab4dde63d76: Pull complete 00:01:02 bde34c3a00c8: Pull complete 00:01:02 b352a97aabf1: Pull complete 00:01:03 4872d77fe225: Pull complete 00:01:03 5851b861e8e6: Pull complete 00:01:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:01:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:01:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:01:03 prd-ubuntu20.04-docker-8c-8g-27343 does not seem to be running inside a container 00:01:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:01:07 $ docker top 79afd134b10d7af0ef5d3134d46fa0c47d4250f777ed0863ea3c675cd6b4418e -eo pid,comm 00:01:07 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:01:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:01:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:01:07 [ssh-agent] Looking for ssh-agent implementation... 00:01:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:01:07 $ docker exec 79afd134b10d7af0ef5d3134d46fa0c47d4250f777ed0863ea3c675cd6b4418e ssh-agent 00:01:07 SSH_AUTH_SOCK=/tmp/ssh-Glo6YcqdIEE0/agent.33 00:01:07 SSH_AGENT_PID=39 00:01:07 Running ssh-add (command line suppressed) 00:01:07 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_6759578249740431298.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_6759578249740431298.key) 00:01:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:01:07 + git tag --points-at HEAD [Pipeline] } 00:01:07 $ docker exec --env ******** --env ******** 79afd134b10d7af0ef5d3134d46fa0c47d4250f777ed0863ea3c675cd6b4418e ssh-agent -k 00:01:08 unset SSH_AUTH_SOCK; 00:01:08 unset SSH_AGENT_PID; 00:01:08 echo Agent pid 39 killed; 00:01:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:01:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:01:08 [ssh-agent] Looking for ssh-agent implementation... 00:01:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:01:08 $ docker exec 79afd134b10d7af0ef5d3134d46fa0c47d4250f777ed0863ea3c675cd6b4418e ssh-agent 00:01:08 SSH_AUTH_SOCK=/tmp/ssh-7ZQC14U31oWY/agent.71 00:01:08 SSH_AGENT_PID=77 00:01:08 Running ssh-add (command line suppressed) 00:01:08 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1590644465508058345.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1590644465508058345.key) 00:01:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:01:08 + git semver init 00:01:09 2024-01-17 00:01:08,960 [run_init] DEBUG init version:0.0.0 force:False 00:01:09 2024-01-17 00:01:08,961 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_app-functions-sdk-go_main/.semver 00:01:09 2024-01-17 00:01:08,962 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-functions-sdk-go.git /w/workspace/oundry_app-functions-sdk-go_main/.semver 00:01:09 2024-01-17 00:01:08,962 [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) 00:01:10 2024-01-17 00:01:10,716 [append_file] DEBUG append to file:/w/workspace/oundry_app-functions-sdk-go_main/.git/info/exclude 00:01:10 2024-01-17 00:01:10,717 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:False 00:01:10 2024-01-17 00:01:10,717 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 00:01:10 2024-01-17 00:01:10,717 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 00:01:10 3.2.0-dev.10 [Pipeline] } 00:01:10 $ docker exec --env ******** --env ******** 79afd134b10d7af0ef5d3134d46fa0c47d4250f777ed0863ea3c675cd6b4418e ssh-agent -k 00:01:11 unset SSH_AUTH_SOCK; 00:01:11 unset SSH_AGENT_PID; 00:01:11 echo Agent pid 77 killed; 00:01:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:01:11 + git semver [Pipeline] } 00:01:11 $ docker stop --time=1 79afd134b10d7af0ef5d3134d46fa0c47d4250f777ed0863ea3c675cd6b4418e 00:01:12 $ docker rm -f --volumes 79afd134b10d7af0ef5d3134d46fa0c47d4250f777ed0863ea3c675cd6b4418e [Pipeline] // withDockerContainer [Pipeline] sh 00:01:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:01:13 Stashed 1 file(s) [Pipeline] echo 00:01:13 [edgeXSemver]: initialized semver on version 3.2.0-dev.10 [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 00:01:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:01:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:01:13 ========================================================= 00:01:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 00:01:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 00:01:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 00:01:14 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 00:01:14 7264a8db6415: Pulling fs layer 00:01:14 c4d48a809fc2: Pulling fs layer 00:01:14 4f1c88b9dad5: Pulling fs layer 00:01:14 ad3a456e5733: Pulling fs layer 00:01:14 69c7f0334f64: Pulling fs layer 00:01:14 1f1c1a5573a3: Pulling fs layer 00:01:14 ce7588e14bc9: Pulling fs layer 00:01:14 b5e4710f87ac: Pulling fs layer 00:01:14 ad3a456e5733: Waiting 00:01:14 69c7f0334f64: Waiting 00:01:14 1f1c1a5573a3: Waiting 00:01:14 ce7588e14bc9: Waiting 00:01:14 b5e4710f87ac: Waiting 00:01:14 c4d48a809fc2: Download complete 00:01:14 ad3a456e5733: Verifying Checksum 00:01:14 ad3a456e5733: Download complete 00:01:14 69c7f0334f64: Download complete 00:01:14 7264a8db6415: Verifying Checksum 00:01:14 7264a8db6415: Download complete 00:01:14 1f1c1a5573a3: Verifying Checksum 00:01:14 1f1c1a5573a3: Download complete 00:01:14 7264a8db6415: Pull complete 00:01:14 b5e4710f87ac: Verifying Checksum 00:01:14 b5e4710f87ac: Download complete 00:01:14 c4d48a809fc2: Pull complete 00:01:14 4f1c88b9dad5: Verifying Checksum 00:01:14 4f1c88b9dad5: Download complete 00:01:15 ce7588e14bc9: Verifying Checksum 00:01:15 ce7588e14bc9: Download complete 00:01:18 4f1c88b9dad5: Pull complete 00:01:18 ad3a456e5733: Pull complete 00:01:18 69c7f0334f64: Pull complete 00:01:18 1f1c1a5573a3: Pull complete 00:01:20 ce7588e14bc9: Pull complete 00:01:21 b5e4710f87ac: Pull complete 00:01:21 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 00:01:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 00:01:21 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [Pipeline] sh 00:01: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 00:01:21 + docker inspect -f . ci-base-image-x86_64 00:01:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:01:21 prd-ubuntu20.04-docker-8c-8g-27343 does not seem to be running inside a container 00:01: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 ******** ci-base-image-x86_64 cat 00:01:26 $ docker top 165b3c06c40729b85810fc72f2e5bb68816e559b325565fa08508ffcabedc82b -eo pid,comm [Pipeline] { [Pipeline] sh 00:01:27 + go version 00:01:27 go version go1.21.0 linux/amd64 [Pipeline] } 00:01:27 $ docker stop --time=1 165b3c06c40729b85810fc72f2e5bb68816e559b325565fa08508ffcabedc82b 00:01:28 $ docker rm -f --volumes 165b3c06c40729b85810fc72f2e5bb68816e559b325565fa08508ffcabedc82b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 00:01:28 Still waiting to schedule task 00:01:28 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:29 + docker inspect -f . ci-base-image-x86_64 00:01:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:01:29 prd-ubuntu20.04-docker-8c-8g-27343 does not seem to be running inside a container 00:01:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:01:29 $ docker top 5f8451eb7688a8c51f7c997acd64ba97efa17801ebcacfca0c319c643fc13bee -eo pid,comm [Pipeline] { [Pipeline] sh 00:01:30 + git config --global --add safe.directory /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] fileExists [Pipeline] sh 00:01:30 + make test 00:01:30 make -C ./app-service-template build 00:01:30 make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 00:01:30 go mod tidy 00:01:30 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.2.0-dev.4 00:01:30 go: downloading github.com/labstack/echo/v4 v4.11.4 00:01:30 go: downloading github.com/stretchr/testify v1.8.4 00:01:30 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 00:01:30 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.2.0-dev.10 00:01:30 go: downloading github.com/google/uuid v1.5.0 00:01:30 go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.2.0-dev.5 00:01:30 go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.2.0-dev.1 00:01:30 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.4.0 00:01:31 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 00:01:31 go: downloading github.com/hashicorp/go-multierror v1.1.1 00:01:31 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc 00:01:31 go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 00:01:31 go: downloading github.com/stretchr/objx v0.5.0 00:01:31 go: downloading gopkg.in/yaml.v3 v3.0.1 00:01:31 go: downloading github.com/labstack/gommon v0.4.2 00:01:31 go: downloading golang.org/x/crypto v0.17.0 00:01:31 go: downloading golang.org/x/net v0.19.0 00:01:31 go: downloading github.com/go-kit/log v0.2.1 00:01:31 go: downloading github.com/go-playground/validator/v10 v10.16.0 00:01:31 go: downloading github.com/fxamacker/cbor/v2 v2.5.0 00:01:31 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.2.0-dev.1 00:01:31 go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.2.0-dev.4 00:01:31 go: downloading github.com/mitchellh/copystructure v1.2.0 00:01:31 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 00:01:32 go: downloading github.com/hashicorp/errwrap v1.1.0 00:01:32 go: downloading github.com/mattn/go-colorable v0.1.13 00:01:32 go: downloading github.com/go-logfmt/logfmt v0.5.1 00:01:32 go: downloading github.com/mattn/go-isatty v0.0.20 00:01:32 go: downloading github.com/valyala/fasttemplate v1.2.2 00:01:32 go: downloading github.com/gorilla/websocket v1.5.0 00:01:32 go: downloading golang.org/x/sync v0.2.0 00:01:32 go: downloading github.com/gabriel-vasile/mimetype v1.4.2 00:01:32 go: downloading github.com/go-playground/universal-translator v0.18.1 00:01:32 go: downloading github.com/leodido/go-urn v1.2.4 00:01:32 go: downloading golang.org/x/text v0.14.0 00:01:32 go: downloading github.com/go-playground/locales v0.14.1 00:01:32 go: downloading github.com/x448/float16 v0.8.4 00:01:32 go: downloading github.com/hashicorp/consul/api v1.25.1 00:01:32 go: downloading github.com/mitchellh/reflectwalk v1.0.2 00:01:32 go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible 00:01:32 go: downloading golang.org/x/time v0.5.0 00:01:32 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.6 00:01:32 go: downloading github.com/mitchellh/mapstructure v1.5.0 00:01:32 go: downloading github.com/valyala/bytebufferpool v1.0.0 00:01:32 go: downloading golang.org/x/sys v0.15.0 00:01:32 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 00:01:32 go: downloading github.com/go-playground/assert/v2 v2.2.0 00:01:32 go: downloading github.com/nats-io/nats.go v1.31.0 00:01:32 go: downloading github.com/go-redis/redis/v7 v7.3.0 00:01:32 go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 00:01:32 go: downloading github.com/hashicorp/go-hclog v1.5.0 00:01:32 go: downloading github.com/hashicorp/serf v0.10.1 00:01:32 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 00:01:32 go: downloading golang.org/x/exp v0.0.0-20230321023759-10a507213a29 00:01:32 go: downloading github.com/google/go-cmp v0.5.9 00:01:32 go: downloading github.com/hashicorp/consul/sdk v0.14.1 00:01:33 go: downloading github.com/hashicorp/go-uuid v1.0.3 00:01:33 go: downloading github.com/Microsoft/go-winio v0.6.0 00:01:33 go: downloading google.golang.org/grpc v1.56.3 00:01:33 go: downloading github.com/zeebo/errs v1.3.0 00:01:33 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:01:33 go: downloading github.com/kr/pretty v0.1.0 00:01:33 go: downloading github.com/mitchellh/go-homedir v1.1.0 00:01:33 go: downloading github.com/fatih/color v1.14.1 00:01:33 go: downloading github.com/klauspost/compress v1.17.1 00:01:33 go: downloading github.com/nats-io/nkeys v0.4.6 00:01:33 go: downloading github.com/nats-io/nuid v1.0.1 00:01:33 go: downloading github.com/armon/go-metrics v0.4.1 00:01:33 go: downloading github.com/hashicorp/go-msgpack v0.5.5 00:01:33 go: downloading github.com/hashicorp/memberlist v0.5.0 00:01:33 go: downloading github.com/go-jose/go-jose/v3 v3.0.1 00:01:33 go: downloading google.golang.org/protobuf v1.30.0 00:01:33 go: downloading github.com/onsi/ginkgo v1.10.1 00:01:33 go: downloading github.com/onsi/gomega v1.7.0 00:01:33 go: downloading github.com/hashicorp/go-version v1.2.1 00:01:33 go: downloading github.com/pkg/errors v0.9.1 00:01:33 go: downloading golang.org/x/tools v0.6.0 00:01:33 go: downloading github.com/kr/text v0.2.0 00:01:33 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 00:01:33 go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 00:01:33 go: downloading github.com/pascaldekloe/goe v0.1.0 00:01:33 go: downloading google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 00:01:33 go: downloading github.com/golang/protobuf v1.5.3 00:01:33 go: downloading github.com/google/btree v1.0.1 00:01:33 go: downloading github.com/hashicorp/go-sockaddr v1.0.2 00:01:33 go: downloading github.com/miekg/dns v1.1.41 00:01:33 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 00:01:33 go: downloading github.com/hashicorp/golang-lru v0.5.4 00:01:33 go: downloading github.com/hpcloud/tail v1.0.0 00:01:33 go: downloading gopkg.in/yaml.v2 v2.4.0 00:01:33 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 00:01:33 go: downloading gopkg.in/fsnotify.v1 v1.4.7 00:01:34 go: downloading golang.org/x/mod v0.8.0 00:01:34 CGO_ENABLED=0 go build -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-new-service 00:01:49 make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 00:01:49 make -C ./app-service-template test 00:01:49 make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 00:01:49 go test -race -coverprofile=coverage.out ./... 00:02:11 ? app-new-service/config [no test files] 00:02:11 ok app-new-service 1.046s coverage: 45.9% of statements 00:02:11 ok app-new-service/functions 1.055s coverage: 85.3% of statements 00:02:11 go vet ./... 00:02:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:02:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:02:26 ./bin/test-attribution-txt.sh 00:02:26 make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 00:02:26 go test -race -coverprofile=coverage.out ./... 00:02:26 go: downloading github.com/gomodule/redigo v1.8.9 00:02:26 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal [no test files] 00:02:28 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/container [no test files] 00:02:28 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/common [no test files] 00:02:28 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db [no test files] 00:02:28 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis [no test files] 00:02:29 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger [no test files] 00:02:29 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/app 1.107s coverage: 66.9% of statements 00:02:29 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/appfunction 1.076s coverage: 89.3% of statements 00:02:29 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/handlers 1.082s coverage: 85.1% of statements 00:02:29 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/etm 1.034s coverage: 100.0% of statements 00:02:29 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http/mocks [no test files] 00:02:29 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/runtime 1.199s coverage: 75.8% of statements 00:02:30 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis/models 1.045s coverage: 97.3% of statements 00:02:30 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mocks [no test files] 00:02:30 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt/mocks [no test files] 00:02:30 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http 1.051s coverage: 82.8% of statements 00:02:30 ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces [no test files] 00:02:30 ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces/mocks [no test files] 00:02:31 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/messagebus 1.094s coverage: 65.1% of statements 00:02:31 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt 1.048s coverage: 27.6% of statements 00:02:31 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/webserver 1.045s coverage: 17.2% of statements 00:02:31 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg 1.040s coverage: 27.3% of statements 00:02:32 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/secure 1.058s coverage: 52.8% of statements 00:02:59 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/transforms 26.134s coverage: 72.3% of statements 00:02:59 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/util 1.040s coverage: 94.4% of statements 00:02:59 go vet ./... 00:02:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:02:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 00:03:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 00:03:09 $ docker stop --time=1 5f8451eb7688a8c51f7c997acd64ba97efa17801ebcacfca0c319c643fc13bee 00:03:11 $ docker rm -f --volumes 5f8451eb7688a8c51f7c997acd64ba97efa17801ebcacfca0c319c643fc13bee [Pipeline] // withDockerContainer [Pipeline] sh 00:03:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:03:12 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 00:03:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:03:13 00:03:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:03:13 latest: Pulling from edgex-lftools-log-publisher 00:03:13 5eb5b503b376: Pulling fs layer 00:03:13 5c69ac0246d0: Pulling fs layer 00:03:13 ec43610c2a17: Pulling fs layer 00:03:13 3a2ae6a8a46f: Pulling fs layer 00:03:13 33b1e0a273af: Pulling fs layer 00:03:13 5d3b04190fa2: Pulling fs layer 00:03:13 2f39f015ded8: Pulling fs layer 00:03:13 3a2ae6a8a46f: Waiting 00:03:13 33b1e0a273af: Waiting 00:03:13 5d3b04190fa2: Waiting 00:03:13 2f39f015ded8: Waiting 00:03:13 5c69ac0246d0: Verifying Checksum 00:03:13 5c69ac0246d0: Download complete 00:03:13 3a2ae6a8a46f: Verifying Checksum 00:03:13 3a2ae6a8a46f: Download complete 00:03:13 33b1e0a273af: Verifying Checksum 00:03:13 33b1e0a273af: Download complete 00:03:13 5d3b04190fa2: Verifying Checksum 00:03:13 5d3b04190fa2: Download complete 00:03:13 ec43610c2a17: Verifying Checksum 00:03:13 ec43610c2a17: Download complete 00:03:13 5eb5b503b376: Verifying Checksum 00:03:13 5eb5b503b376: Download complete 00:03:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-27345 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws 00:03:14 Running in /w/workspace/app-functions-sdk-go/328 [Pipeline] { [Pipeline] checkout 00:03:14 2f39f015ded8: Verifying Checksum 00:03:14 2f39f015ded8: Download complete 00:03:15 5eb5b503b376: Pull complete 00:03:15 5c69ac0246d0: Pull complete 00:03:16 ec43610c2a17: Pull complete 00:03:16 3a2ae6a8a46f: Pull complete 00:03:16 33b1e0a273af: Pull complete 00:03:16 5d3b04190fa2: Pull complete 00:03:17 The recommended git tool is: git 00:03:21 2f39f015ded8: Pull complete 00:03:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:03:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:03:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:03:21 prd-ubuntu20.04-docker-8c-8g-27343 does not seem to be running inside a container 00:03:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:03:22 using credential edgex-jenkins-ssh 00:03:22 Cloning the remote Git repository 00:03:22 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 00:03:22 > git init /w/workspace/app-functions-sdk-go/328 # timeout=10 00:03:22 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:03:22 > git --version # timeout=10 00:03:22 > git --version # 'git version 2.25.1' 00:03:22 using GIT_SSH to set credentials SSH Credentials for GitHub 00:03:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:03:26 $ docker top d8152d3375c500d59ede5ccee28365f4771716052fb30ad089ce5fb0d9df8497 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:03:27 ---> job-cost.sh 00:03:27 lf-activate-venv: SKIPPING 00:03:27 INFO: No Stack... 00:03:27 INFO: Retrieving Pricing Info for: v3-standard-8 00:03:26 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:03:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:03:27 Avoid second fetch 00:03:27 Checking out Revision 15d59e21dd262a211cf966e2962d46b685e52a83 (main) 00:03:28 INFO: Archiving Costs [Pipeline] sh 00:03:28 Commit message: "feat: Add retry on success capability for Store and Forward (#1536)" 00:03:28 + cat /w/workspace/oundry_app-functions-sdk-go_main/archives/cost.csv 00:03:28 + cut -d, -f6 [Pipeline] lock 00:03:28 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-328-stack-cost] 00:03:28 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-328-stack-cost] did not exist. Created. 00:03:28 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-328-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:03:28 00:03:28 GitHub has been notified of this commit’s build result 00:03:28 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 00:03:28 + echo total: 0.2199999988079071 [Pipeline] script [Pipeline] { [Pipeline] stash [Pipeline] sh 00:03:28 Stashed 1 file(s) [Pipeline] } 00:03:29 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-328-stack-cost] 00:03:27 > git config core.sparsecheckout # timeout=10 00:03:27 > git checkout -f 15d59e21dd262a211cf966e2962d46b685e52a83 # timeout=10 [Pipeline] // lock [Pipeline] } 00:03:29 $ docker stop --time=1 d8152d3375c500d59ede5ccee28365f4771716052fb30ad089ce5fb0d9df8497 00:03:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:03:29 % Total % Received % Xferd Average Speed Time Time Time Current 00:03:29 Dload Upload Total Spent Left Speed 00:03:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 97553 0 --:--:-- --:--:-- --:--:-- 97553 00:03:30 $ docker rm -f --volumes d8152d3375c500d59ede5ccee28365f4771716052fb30ad089ce5fb0d9df8497 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:03:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:03:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:03:31 + sudo tee /etc/docker/daemon.new 00:03:31 { 00:03:31 "registry-mirrors": [ 00:03:31 "https://nexus3.edgexfoundry.org:10001" 00:03:31 ], 00:03:31 "bip": "10.250.0.254/24", 00:03:31 "hosts": [ 00:03:31 "tcp://0.0.0.0:5555", 00:03:31 "unix:///var/run/docker.sock" 00:03:31 ], 00:03:31 "mtu": 1458, 00:03:31 "selinux-enabled": true, 00:03:31 "seccomp-profile": "/etc/docker/seccomp.json" 00:03:31 } [Pipeline] sh 00:03:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:03:31 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 00:03:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:03:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:03:50 ========================================================= 00:03:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 00:03:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 00:03:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 00:03:51 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:03:51 9fda8d8052c6: Pulling fs layer 00:03:51 5d54e960e981: Pulling fs layer 00:03:51 c4a7e357bf2a: Pulling fs layer 00:03:51 f0e02332f6b5: Pulling fs layer 00:03:51 872ee5b61b7b: Pulling fs layer 00:03:51 0c6a40ed1a82: Pulling fs layer 00:03:51 94ae7d8d031c: Pulling fs layer 00:03:51 0c6a40ed1a82: Waiting 00:03:51 94ae7d8d031c: Waiting 00:03:51 f0e02332f6b5: Waiting 00:03:51 872ee5b61b7b: Waiting 00:03:51 5d54e960e981: Verifying Checksum 00:03:51 5d54e960e981: Download complete 00:03:51 f0e02332f6b5: Download complete 00:03:51 872ee5b61b7b: Verifying Checksum 00:03:51 872ee5b61b7b: Download complete 00:03:51 9fda8d8052c6: Download complete 00:03:51 94ae7d8d031c: Verifying Checksum 00:03:51 94ae7d8d031c: Download complete 00:03:52 c4a7e357bf2a: Verifying Checksum 00:03:52 c4a7e357bf2a: Download complete 00:03:53 0c6a40ed1a82: Verifying Checksum 00:03:53 0c6a40ed1a82: Download complete 00:03:55 9fda8d8052c6: Pull complete 00:03:55 5d54e960e981: Pull complete 00:04:14 c4a7e357bf2a: Pull complete 00:04:14 f0e02332f6b5: Pull complete 00:04:14 872ee5b61b7b: Pull complete 00:04:25 0c6a40ed1a82: Pull complete 00:04:25 94ae7d8d031c: Pull complete 00:04:25 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 00:04:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 00:04:25 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [Pipeline] sh 00:04:26 + 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 00:04:26 + docker inspect -f . ci-base-image-arm64 00:04:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:04:26 prd-ubuntu20.04-docker-arm64-4c-16g-27345 does not seem to be running inside a container 00:04:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/328 -v /w/workspace/app-functions-sdk-go/328:/w/workspace/app-functions-sdk-go/328:rw,z -v /w/workspace/app-functions-sdk-go/328@tmp:/w/workspace/app-functions-sdk-go/328@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 00:04:28 $ docker top e9c499976a76dfd601c31ef004d7b19d8a9d85732af478903e36984a36264cd2 -eo pid,comm [Pipeline] { [Pipeline] sh 00:04:29 + go version 00:04:29 go version go1.21.0 linux/arm64 [Pipeline] } 00:04:29 $ docker stop --time=1 e9c499976a76dfd601c31ef004d7b19d8a9d85732af478903e36984a36264cd2 00:04:31 $ docker rm -f --volumes e9c499976a76dfd601c31ef004d7b19d8a9d85732af478903e36984a36264cd2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:31 + docker inspect -f . ci-base-image-arm64 00:04:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:04:32 prd-ubuntu20.04-docker-arm64-4c-16g-27345 does not seem to be running inside a container 00:04:32 $ 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/328 -v /w/workspace/app-functions-sdk-go/328:/w/workspace/app-functions-sdk-go/328:rw,z -v /w/workspace/app-functions-sdk-go/328@tmp:/w/workspace/app-functions-sdk-go/328@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 00:04:33 $ docker top 9d27348a767db04ec066f3e523b525db0b19e6af28d9e92ca06a0499cf138954 -eo pid,comm [Pipeline] { [Pipeline] sh 00:04:33 + git config --global --add safe.directory /w/workspace/app-functions-sdk-go/328 [Pipeline] fileExists [Pipeline] sh 00:04:33 + make test 00:04:33 make -C ./app-service-template build 00:04:33 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/328/app-service-template' 00:04:33 go mod tidy 00:04:33 go: downloading github.com/labstack/echo/v4 v4.11.4 00:04:33 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.2.0-dev.4 00:04:33 go: downloading github.com/stretchr/testify v1.8.4 00:04:34 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 00:04:34 go: downloading github.com/google/uuid v1.5.0 00:04:34 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.2.0-dev.10 00:04:34 go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.2.0-dev.5 00:04:34 go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.2.0-dev.1 00:04:35 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.4.0 00:04:35 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 00:04:35 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc 00:04:35 go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 00:04:35 go: downloading gopkg.in/yaml.v3 v3.0.1 00:04:35 go: downloading github.com/stretchr/objx v0.5.0 00:04:35 go: downloading github.com/hashicorp/go-multierror v1.1.1 00:04:35 go: downloading github.com/labstack/gommon v0.4.2 00:04:35 go: downloading golang.org/x/crypto v0.17.0 00:04:35 go: downloading golang.org/x/net v0.19.0 00:04:35 go: downloading github.com/go-kit/log v0.2.1 00:04:35 go: downloading github.com/go-playground/validator/v10 v10.16.0 00:04:35 go: downloading github.com/fxamacker/cbor/v2 v2.5.0 00:04:35 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.2.0-dev.1 00:04:35 go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.2.0-dev.4 00:04:36 go: downloading github.com/gorilla/websocket v1.5.0 00:04:36 go: downloading golang.org/x/sync v0.2.0 00:04:36 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 00:04:36 go: downloading github.com/mitchellh/copystructure v1.2.0 00:04:36 go: downloading github.com/hashicorp/errwrap v1.1.0 00:04:36 go: downloading github.com/go-logfmt/logfmt v0.5.1 00:04:36 go: downloading github.com/mattn/go-colorable v0.1.13 00:04:36 go: downloading github.com/mattn/go-isatty v0.0.20 00:04:36 go: downloading github.com/valyala/fasttemplate v1.2.2 00:04:36 go: downloading github.com/x448/float16 v0.8.4 00:04:36 go: downloading github.com/hashicorp/consul/api v1.25.1 00:04:36 go: downloading github.com/gabriel-vasile/mimetype v1.4.2 00:04:36 go: downloading github.com/go-playground/universal-translator v0.18.1 00:04:36 go: downloading github.com/leodido/go-urn v1.2.4 00:04:36 go: downloading golang.org/x/text v0.14.0 00:04:37 go: downloading github.com/go-playground/locales v0.14.1 00:04:37 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.6 00:04:37 go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible 00:04:37 go: downloading golang.org/x/time v0.5.0 00:04:37 go: downloading github.com/mitchellh/mapstructure v1.5.0 00:04:37 go: downloading github.com/mitchellh/reflectwalk v1.0.2 00:04:37 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 00:04:37 go: downloading github.com/go-playground/assert/v2 v2.2.0 00:04:37 go: downloading golang.org/x/sys v0.15.0 00:04:37 go: downloading github.com/valyala/bytebufferpool v1.0.0 00:04:37 go: downloading github.com/nats-io/nats.go v1.31.0 00:04:37 go: downloading github.com/go-redis/redis/v7 v7.3.0 00:04:38 go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 00:04:38 go: downloading github.com/hashicorp/go-hclog v1.5.0 00:04:38 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 00:04:38 go: downloading github.com/hashicorp/serf v0.10.1 00:04:39 go: downloading golang.org/x/exp v0.0.0-20230321023759-10a507213a29 00:04:39 go: downloading github.com/google/go-cmp v0.5.9 00:04:39 go: downloading github.com/hashicorp/consul/sdk v0.14.1 00:04:40 go: downloading github.com/hashicorp/go-uuid v1.0.3 00:04:40 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:04:40 go: downloading github.com/Microsoft/go-winio v0.6.0 00:04:40 go: downloading github.com/zeebo/errs v1.3.0 00:04:40 go: downloading google.golang.org/grpc v1.56.3 00:04:40 go: downloading github.com/kr/pretty v0.1.0 00:04:40 go: downloading github.com/onsi/ginkgo v1.10.1 00:04:40 go: downloading github.com/onsi/gomega v1.7.0 00:04:40 go: downloading github.com/klauspost/compress v1.17.1 00:04:41 go: downloading github.com/nats-io/nkeys v0.4.6 00:04:41 go: downloading github.com/nats-io/nuid v1.0.1 00:04:41 go: downloading github.com/fatih/color v1.14.1 00:04:41 go: downloading github.com/mitchellh/go-homedir v1.1.0 00:04:41 go: downloading github.com/armon/go-metrics v0.4.1 00:04:41 go: downloading github.com/hashicorp/go-version v1.2.1 00:04:41 go: downloading github.com/pkg/errors v0.9.1 00:04:41 go: downloading github.com/hashicorp/go-msgpack v0.5.5 00:04:41 go: downloading github.com/hashicorp/memberlist v0.5.0 00:04:41 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 00:04:41 go: downloading github.com/go-jose/go-jose/v3 v3.0.1 00:04:41 go: downloading google.golang.org/protobuf v1.30.0 00:04:41 go: downloading golang.org/x/tools v0.6.0 00:04:41 go: downloading github.com/kr/text v0.2.0 00:04:41 go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 00:04:42 go: downloading github.com/pascaldekloe/goe v0.1.0 00:04:42 go: downloading github.com/google/btree v1.0.1 00:04:42 go: downloading github.com/hashicorp/go-sockaddr v1.0.2 00:04:42 go: downloading github.com/miekg/dns v1.1.41 00:04:42 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 00:04:42 go: downloading google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 00:04:42 go: downloading github.com/golang/protobuf v1.5.3 00:04:42 go: downloading gopkg.in/yaml.v2 v2.4.0 00:04:42 go: downloading github.com/hpcloud/tail v1.0.0 00:04:42 go: downloading github.com/hashicorp/golang-lru v0.5.4 00:04:42 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 00:04:42 go: downloading gopkg.in/fsnotify.v1 v1.4.7 00:04:44 go: downloading golang.org/x/mod v0.8.0 00:04:46 CGO_ENABLED=0 go build -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-new-service 00:05:42 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/328/app-service-template' 00:05:42 make -C ./app-service-template test 00:05:42 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/328/app-service-template' 00:05:42 go test -race -coverprofile=coverage.out ./... 00:07:19 ? app-new-service/config [no test files] 00:07:19 ok app-new-service 1.227s coverage: 45.9% of statements 00:07:19 ok app-new-service/functions 1.228s coverage: 85.3% of statements 00:07:19 go vet ./... 00:08:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:08:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:08:27 ./bin/test-attribution-txt.sh 00:08:27 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/328/app-service-template' 00:08:27 go test -race -coverprofile=coverage.out ./... 00:08:27 go: downloading github.com/gomodule/redigo v1.8.9 00:08:27 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal [no test files] 00:08:33 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/container [no test files] 00:08:33 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/common [no test files] 00:08:33 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db [no test files] 00:08:33 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis [no test files] 00:08:34 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/app 1.626s coverage: 66.9% of statements 00:08:34 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/appfunction 1.315s coverage: 89.3% of statements 00:08:34 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/handlers 1.372s coverage: 85.1% of statements 00:08:34 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/etm 1.132s coverage: 100.0% of statements 00:08:34 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/runtime 1.647s coverage: 75.8% of statements 00:08:35 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger [no test files] 00:08:37 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http/mocks [no test files] 00:08:37 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis/models 1.263s coverage: 97.3% of statements 00:08:38 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mocks [no test files] 00:08:38 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http 1.280s coverage: 82.8% of statements 00:08:39 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt/mocks [no test files] 00:08:39 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/messagebus 1.257s coverage: 65.1% of statements 00:08:40 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt 1.323s coverage: 27.6% of statements 00:08:40 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/webserver 1.220s coverage: 17.2% of statements 00:08:40 ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces [no test files] 00:08:40 ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces/mocks [no test files] 00:08:41 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg 1.200s coverage: 27.3% of statements 00:08:43 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/secure 1.287s coverage: 52.8% of statements 00:09:15 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/transforms 26.548s coverage: 72.3% of statements 00:09:15 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/util 1.181s coverage: 94.4% of statements 00:09:15 go vet ./... 00:09:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:09:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:09:17 WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] echo 00:09:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 00:09:17 $ docker stop --time=1 9d27348a767db04ec066f3e523b525db0b19e6af28d9e92ca06a0499cf138954 00:09:19 $ docker rm -f --volumes 9d27348a767db04ec066f3e523b525db0b19e6af28d9e92ca06a0499cf138954 [Pipeline] // withDockerContainer [Pipeline] sh 00:09:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:09:24 Warning: overwriting stash ‘coverage-report’ 00:09:25 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 00:09:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:09:25 00:09:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:09:26 arm64: Pulling from edgex-lftools-log-publisher 00:09:26 8998bd30e6a1: Pulling fs layer 00:09:26 04944245beec: Pulling fs layer 00:09:26 699f458cf7ca: Pulling fs layer 00:09:26 765212b225bb: Pulling fs layer 00:09:26 f23df028b6ca: Pulling fs layer 00:09:26 d65c8cfc05b1: Pulling fs layer 00:09:26 2437ff75d9bd: Pulling fs layer 00:09:26 f23df028b6ca: Waiting 00:09:26 765212b225bb: Waiting 00:09:26 d65c8cfc05b1: Waiting 00:09:26 2437ff75d9bd: Waiting 00:09:26 04944245beec: Verifying Checksum 00:09:26 04944245beec: Download complete 00:09:26 765212b225bb: Verifying Checksum 00:09:26 f23df028b6ca: Verifying Checksum 00:09:26 f23df028b6ca: Download complete 00:09:26 d65c8cfc05b1: Verifying Checksum 00:09:26 d65c8cfc05b1: Download complete 00:09:26 699f458cf7ca: Verifying Checksum 00:09:26 699f458cf7ca: Download complete 00:09:26 8998bd30e6a1: Download complete 00:09:28 2437ff75d9bd: Verifying Checksum 00:09:28 2437ff75d9bd: Download complete 00:09:33 8998bd30e6a1: Pull complete 00:09:33 04944245beec: Pull complete 00:09:35 699f458cf7ca: Pull complete 00:09:35 765212b225bb: Pull complete 00:09:36 f23df028b6ca: Pull complete 00:09:36 d65c8cfc05b1: Pull complete 00:09:58 2437ff75d9bd: Pull complete 00:09:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:09:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:09:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:09:58 prd-ubuntu20.04-docker-arm64-4c-16g-27345 does not seem to be running inside a container 00:09:58 $ 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/328 -v /w/workspace/app-functions-sdk-go/328:/w/workspace/app-functions-sdk-go/328:rw,z -v /w/workspace/app-functions-sdk-go/328@tmp:/w/workspace/app-functions-sdk-go/328@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 00:10:02 $ docker top a124310b2c473eb0a033482d08447011d7a89eaa0da30548bbc2d34c085773d2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:10:03 ---> job-cost.sh 00:10:03 lf-activate-venv: SKIPPING 00:10:03 INFO: No Stack... 00:10:04 INFO: Retrieving Pricing Info for: v3-standard-8 00:10:04 INFO: Archiving Costs [Pipeline] sh 00:10:05 + cat /w/workspace/app-functions-sdk-go/328/archives/cost.csv 00:10:05 + cut -d, -f6 [Pipeline] lock 00:10:05 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-328-stack-cost] 00:10:05 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-328-stack-cost] did not exist. Created. 00:10:05 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-328-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:10:05 /w/workspace/app-functions-sdk-go/328@tmp/durable-41d47314/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:10:06 + echo total: 0.2199999988079071 [Pipeline] stash 00:10:06 Warning: overwriting stash ‘stack-cost’ 00:10:06 Stashed 1 file(s) [Pipeline] } 00:10:06 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-328-stack-cost] [Pipeline] // lock [Pipeline] } 00:10:06 $ docker stop --time=1 a124310b2c473eb0a033482d08447011d7a89eaa0da30548bbc2d34c085773d2 00:10:07 $ docker rm -f --volumes a124310b2c473eb0a033482d08447011d7a89eaa0da30548bbc2d34c085773d2 [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 00:10:08 provisioning config files... 00:10:08 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config6164418140586489365tmp [Pipeline] { [Pipeline] sh 00:10:09 + set +x 00:10:09 + curl -s https://codecov.io/bash 00:10:09 + bash -s -- 00:10:09 00:10:09 _____ _ 00:10:09 / ____| | | 00:10:09 | | ___ __| | ___ ___ _____ __ 00:10:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:10:09 | |___| (_) | (_| | __/ (_| (_) \ V / 00:10:09 \_____\___/ \__,_|\___|\___\___/ \_/ 00:10:09 Bash-1.0.6 00:10:09 00:10:09 00:10:09 ==> git version 2.25.1 found 00:10:09 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 00:10:09 Release-Date: 2020-01-08 00:10:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:10:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:10:09 ==> Jenkins CI detected. 00:10:09 current dir:  /w/workspace/oundry_app-functions-sdk-go_main 00:10:09 project root: . 00:10:09 --> token set from env 00:10:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:10:09 ==> Running gcov in . (disable via -X gcov) 00:10:09 ==> Python coveragepy not found 00:10:09 ==> Searching for coverage reports in: 00:10:09 + . 00:10:09 -> Found 2 reports 00:10:09 ==> Detecting git/mercurial file structure 00:10:09 ==> Reading reports 00:10:09 + ./app-service-template/coverage.out bytes=3558 00:10:09 + ./coverage.out bytes=126427 00:10:09 ==> Appending adjustments 00:10:09 https://docs.codecov.io/docs/fixing-reports 00:10:09 + Found adjustments 00:10:09 ==> Gzipping contents 00:10:09 24K /tmp/codecov.d2m81Y.gz 00:10:09 ==> Uploading reports 00:10:09 url: https://codecov.io 00:10:09 query: branch=main&commit=15d59e21dd262a211cf966e2962d46b685e52a83&build=328&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F328%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:10:09 -> Pinging Codecov 00:10:09 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=15d59e21dd262a211cf966e2962d46b685e52a83&build=328&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F328%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:10:09 -> Uploading to 00:10:09 https://storage.googleapis.com/codecov/v4/raw/2024-01-17/3D8B5DFFC46A037C893635FACE044666/15d59e21dd262a211cf966e2962d46b685e52a83/e9e71784-b20c-4926-b4c8-d5db9616d647.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240117%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240117T001009Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=21fb797501bba85b3ad3d16012f2d33e98ef80cd6403f676934d21fe854fd51f 00:10:09 % Total % Received % Xferd Average Speed Time Time Time Current 00:10:09 Dload Upload Total Spent Left Speed 00:10:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21740 0 0 100 21740 0 79633 --:--:-- --:--:-- --:--:-- 79343 00:10:10 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/15d59e21dd262a211cf966e2962d46b685e52a83 [Pipeline] } 00:10:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:10:10 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:10:10 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:10:10 00:10:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:10:11 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:10:11 df9b9388f04a: Pulling fs layer 00:10:11 52dc419b0ee2: Pulling fs layer 00:10:11 25bc292e5bac: Pulling fs layer 00:10:11 114826534d7a: Pulling fs layer 00:10:11 4657fd5d0bcf: Pulling fs layer 00:10:11 6ad1cebc031e: Pulling fs layer 00:10:11 8a3aa393b2d8: Pulling fs layer 00:10:11 114826534d7a: Waiting 00:10:11 4657fd5d0bcf: Waiting 00:10:11 6ad1cebc031e: Waiting 00:10:11 8a3aa393b2d8: Waiting 00:10:11 25bc292e5bac: Download complete 00:10:11 52dc419b0ee2: Verifying Checksum 00:10:11 52dc419b0ee2: Download complete 00:10:11 4657fd5d0bcf: Verifying Checksum 00:10:11 4657fd5d0bcf: Download complete 00:10:11 df9b9388f04a: Download complete 00:10:11 df9b9388f04a: Pull complete 00:10:11 6ad1cebc031e: Verifying Checksum 00:10:11 6ad1cebc031e: Download complete 00:10:11 52dc419b0ee2: Pull complete 00:10:11 25bc292e5bac: Pull complete 00:10:12 114826534d7a: Verifying Checksum 00:10:12 114826534d7a: Download complete 00:10:12 8a3aa393b2d8: Verifying Checksum 00:10:12 8a3aa393b2d8: Download complete 00:10:16 114826534d7a: Pull complete 00:10:16 4657fd5d0bcf: Pull complete 00:10:16 6ad1cebc031e: Pull complete 00:10:18 8a3aa393b2d8: Pull complete 00:10:18 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:10:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:10:18 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:10:18 prd-ubuntu20.04-docker-8c-8g-27343 does not seem to be running inside a container 00:10:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 00:10:23 $ docker top eea1a862c0be001d3a3d0a6cb51eaca5f24887a567f73257d5821e0dda9b3b99 -eo pid,comm [Pipeline] { [Pipeline] echo 00:10:23 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-functions-sdk-go:main' [Pipeline] sh 00:10:23 + set -o pipefail 00:10:23 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-functions-sdk-go:main' 00:10:28 00:10:28 Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v3)... 00:10:28 00:10:28 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/899a6017-c938-46f1-adf7-2bd1b283a5ba/history/7425cda2-2a73-437a-afd8-0c94e5c647d0 00:10:28 00:10:28 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 00:10:28 00:10:28 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:10:28 00:10:28 00:10:28 A medium severity vulnerability was found in the Snyk CLI versions you are using. 00:10:28 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 00:10:28 More details here: https://snyk.co/ue1NS [Pipeline] } 00:10:28 $ docker stop --time=1 eea1a862c0be001d3a3d0a6cb51eaca5f24887a567f73257d5821e0dda9b3b99 00:10:33 $ docker rm -f --volumes eea1a862c0be001d3a3d0a6cb51eaca5f24887a567f73257d5821e0dda9b3b99 [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 00:10:33 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:10:33 provisioning config files... 00:10:33 copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config3519380866378682292tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:10:34 --> edgex-publish-swagger.sh 00:10:34 === Publish openapi/v3 API === 00:10:34 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 00:10:34 [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v3/app-functions-sdk.yaml] 00:10:34 % Total % Received % Xferd Average Speed Time Time Time Current 00:10:34 Dload Upload Total Spent Left Speed 00:10:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11600 100 180 100 11420 333 21148 --:--:-- --:--:-- --:--:-- 21481 00:10:34 {"code":403,"message":"This public API is blocked because you have exceeded your current plan's limits","messageCode":"PUBLIC_API_BLOCKED_UPGRADE_OR_DELETE","messageProperties":{}} 00:10:34 [Pipeline] } 00:10:34 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 00:10:35 + git log --format=format:%s -1 15d59e21dd262a211cf966e2962d46b685e52a83 [Pipeline] sh 00:10:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:10:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:10:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:10:36 prd-ubuntu20.04-docker-8c-8g-27343 does not seem to be running inside a container 00:10:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:10:36 $ docker top 2451c852862605b7a05e460ba42a9b9c2ae4b5260fc5dbfb1dc71098466b7096 -eo pid,comm 00:10:36 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:10:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:10:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:10:37 [ssh-agent] Looking for ssh-agent implementation... 00:10:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:10:37 $ docker exec 2451c852862605b7a05e460ba42a9b9c2ae4b5260fc5dbfb1dc71098466b7096 ssh-agent 00:10:37 SSH_AUTH_SOCK=/tmp/ssh-QpYEerwIZYqN/agent.31 00:10:37 SSH_AGENT_PID=37 00:10:37 Running ssh-add (command line suppressed) 00:10:37 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7315671416481242388.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7315671416481242388.key) 00:10:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:10:37 + git semver tag 00:10:37 2024-01-17 00:10:37,874 [run_tag] DEBUG tag force:False 00:10:37 2024-01-17 00:10:37,874 [check_head_tag] DEBUG check head tag 00:10:37 2024-01-17 00:10:37,876 [execute] INFO git cat-file --batch-check 00:10:37 2024-01-17 00:10:37,876 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) 00:10:37 2024-01-17 00:10:37,880 [execute] INFO git cat-file --batch 00:10:37 2024-01-17 00:10:37,881 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) 00:10:37 2024-01-17 00:10:37,906 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 00:10:37 2024-01-17 00:10:37,906 [execute] INFO git tag -a v3.2.0-dev.10 -m v3.2.0-dev.10 00:10:37 2024-01-17 00:10:37,906 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.10', '-m', 'v3.2.0-dev.10'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) 00:10:37 2024-01-17 00:10:37,912 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 00:10:37 3.2.0-dev.10 [Pipeline] } 00:10:37 $ docker exec --env ******** --env ******** 2451c852862605b7a05e460ba42a9b9c2ae4b5260fc5dbfb1dc71098466b7096 ssh-agent -k 00:10:38 unset SSH_AUTH_SOCK; 00:10:38 unset SSH_AGENT_PID; 00:10:38 echo Agent pid 37 killed; 00:10:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:10:38 + git semver [Pipeline] } 00:10:38 $ docker stop --time=1 2451c852862605b7a05e460ba42a9b9c2ae4b5260fc5dbfb1dc71098466b7096 00:10:40 $ docker rm -f --volumes 2451c852862605b7a05e460ba42a9b9c2ae4b5260fc5dbfb1dc71098466b7096 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:10:40 00:10:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:10:40 0.23.1-centos7: Pulling from edgex-lftools 00:10:40 ab5ef0e58194: Pulling fs layer 00:10:40 9712f1f96733: Pulling fs layer 00:10:40 63f879dbbcfc: Pulling fs layer 00:10:40 0d9ebad4ef96: Pulling fs layer 00:10:40 e9a5061849ea: Pulling fs layer 00:10:40 d747dcd14b5f: Pulling fs layer 00:10:40 2de7ff778b66: Pulling fs layer 00:10:40 0d9ebad4ef96: Waiting 00:10:40 e9a5061849ea: Waiting 00:10:40 d747dcd14b5f: Waiting 00:10:40 2de7ff778b66: Waiting 00:10:40 9712f1f96733: Download complete 00:10:41 63f879dbbcfc: Verifying Checksum 00:10:41 63f879dbbcfc: Download complete 00:10:41 e9a5061849ea: Verifying Checksum 00:10:41 e9a5061849ea: Download complete 00:10:41 d747dcd14b5f: Verifying Checksum 00:10:41 d747dcd14b5f: Download complete 00:10:41 0d9ebad4ef96: Verifying Checksum 00:10:41 0d9ebad4ef96: Download complete 00:10:41 ab5ef0e58194: Verifying Checksum 00:10:41 ab5ef0e58194: Download complete 00:10:41 2de7ff778b66: Verifying Checksum 00:10:41 2de7ff778b66: Download complete 00:10:44 ab5ef0e58194: Pull complete 00:10:44 9712f1f96733: Pull complete 00:10:45 63f879dbbcfc: Pull complete 00:10:49 0d9ebad4ef96: Pull complete 00:10:49 e9a5061849ea: Pull complete 00:10:49 d747dcd14b5f: Pull complete 00:10:51 2de7ff778b66: Pull complete 00:10:51 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:10:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:10:51 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:10:51 prd-ubuntu20.04-docker-8c-8g-27343 does not seem to be running inside a container 00:10:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:10:57 $ docker top 21ea98024ab7328aa07e47ec0b3353ea7687c816771944bd102df6bb24355489 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:10:57 provisioning config files... 00:10:57 copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config11534728316893605138tmp 00:10:57 copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config16823379862332156157tmp 00:10:57 copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config14873332493873799876tmp [Pipeline] { [Pipeline] echo 00:10:57 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:10:57 ---> sigul-configuration.sh 00:10:57 gpg: directory `/root/.gnupg' created 00:10:57 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:10:57 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:10:57 gpg: keyring `/root/.gnupg/secring.gpg' created 00:10:57 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:10:57 gpg: CAST5 encrypted data 00:10:57 gpg: encrypted with 1 passphrase 00:10:57 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:10:58 + mkdir /home/jenkins 00:10:58 + mkdir /home/jenkins/sigul [Pipeline] sh 00:10:58 + 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 00:10:58 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:10:58 ---> sigul-install.sh 00:10:58 Sigul already installed; skipping installation. [Pipeline] sh 00:10:59 + git tag --list 00:10:59 v0.1.0 00:10:59 v0.1.1 00:10:59 v1.0.0 00:10:59 v1.1.0 00:10:59 v1.2.0 00:10:59 v1.3.0 00:10:59 v1.3.1 00:10:59 v2.0.0 00:10:59 v2.0.1 00:10:59 v2.1.0 00:10:59 v2.1.1 00:10:59 v2.1.2 00:10:59 v2.2.0 00:10:59 v2.3 00:10:59 v2.3.0 00:10:59 v2.3.1 00:10:59 v3.0 00:10:59 v3.0.0 00:10:59 v3.0.1 00:10:59 v3.0.1-dev.1 00:10:59 v3.0.1-dev.2 00:10:59 v3.1 00:10:59 v3.1.0 00:10:59 v3.1.0-dev.1 00:10:59 v3.1.0-dev.10 00:10:59 v3.1.0-dev.11 00:10:59 v3.1.0-dev.12 00:10:59 v3.1.0-dev.13 00:10:59 v3.1.0-dev.14 00:10:59 v3.1.0-dev.15 00:10:59 v3.1.0-dev.16 00:10:59 v3.1.0-dev.17 00:10:59 v3.1.0-dev.18 00:10:59 v3.1.0-dev.19 00:10:59 v3.1.0-dev.2 00:10:59 v3.1.0-dev.20 00:10:59 v3.1.0-dev.21 00:10:59 v3.1.0-dev.22 00:10:59 v3.1.0-dev.23 00:10:59 v3.1.0-dev.24 00:10:59 v3.1.0-dev.25 00:10:59 v3.1.0-dev.26 00:10:59 v3.1.0-dev.27 00:10:59 v3.1.0-dev.28 00:10:59 v3.1.0-dev.29 00:10:59 v3.1.0-dev.3 00:10:59 v3.1.0-dev.30 00:10:59 v3.1.0-dev.31 00:10:59 v3.1.0-dev.32 00:10:59 v3.1.0-dev.33 00:10:59 v3.1.0-dev.34 00:10:59 v3.1.0-dev.35 00:10:59 v3.1.0-dev.36 00:10:59 v3.1.0-dev.37 00:10:59 v3.1.0-dev.38 00:10:59 v3.1.0-dev.39 00:10:59 v3.1.0-dev.4 00:10:59 v3.1.0-dev.40 00:10:59 v3.1.0-dev.41 00:10:59 v3.1.0-dev.42 00:10:59 v3.1.0-dev.43 00:10:59 v3.1.0-dev.44 00:10:59 v3.1.0-dev.45 00:10:59 v3.1.0-dev.46 00:10:59 v3.1.0-dev.47 00:10:59 v3.1.0-dev.48 00:10:59 v3.1.0-dev.49 00:10:59 v3.1.0-dev.5 00:10:59 v3.1.0-dev.50 00:10:59 v3.1.0-dev.51 00:10:59 v3.1.0-dev.52 00:10:59 v3.1.0-dev.6 00:10:59 v3.1.0-dev.7 00:10:59 v3.1.0-dev.8 00:10:59 v3.1.0-dev.9 00:10:59 v3.2.0-dev.1 00:10:59 v3.2.0-dev.10 00:10:59 v3.2.0-dev.2 00:10:59 v3.2.0-dev.3 00:10:59 v3.2.0-dev.4 00:10:59 v3.2.0-dev.5 00:10:59 v3.2.0-dev.6 00:10:59 v3.2.0-dev.7 00:10:59 v3.2.0-dev.8 00:10:59 v3.2.0-dev.9 [Pipeline] sh 00:10:59 + lftools sign git-tag v3.2.0-dev.10 00:10:59 Signing Git tag with Sigul... 00:10:59 Signing v3.2.0-dev.10 [Pipeline] echo 00:11:00 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:11:00 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:11:00 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:11:00 $ docker stop --time=1 21ea98024ab7328aa07e47ec0b3353ea7687c816771944bd102df6bb24355489 00:11:01 $ docker rm -f --volumes 21ea98024ab7328aa07e47ec0b3353ea7687c816771944bd102df6bb24355489 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:11:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:11:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:11:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:11:03 prd-ubuntu20.04-docker-8c-8g-27343 does not seem to be running inside a container 00:11:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:11:03 $ docker top 5f2b8c596c7c927efc7a066f3a5253a7ac081cbc8f038a8379e7ae55880cd815 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:11:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:11:03 [ssh-agent] Looking for ssh-agent implementation... 00:11:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:11:03 $ docker exec 5f2b8c596c7c927efc7a066f3a5253a7ac081cbc8f038a8379e7ae55880cd815 ssh-agent 00:11:03 SSH_AUTH_SOCK=/tmp/ssh-nIvavMCTnPNM/agent.32 00:11:03 SSH_AGENT_PID=38 00:11:03 Running ssh-add (command line suppressed) 00:11:04 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_6064033420505937922.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_6064033420505937922.key) 00:11:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:11:04 + git semver bump pre 00:11:04 2024-01-17 00:11:04,621 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 00:11:04 2024-01-17 00:11:04,621 [bump_version] DEBUG bumping version:3.2.0-dev.10 on axis:pre with prefix:dev 00:11:04 2024-01-17 00:11:04,621 [bump_version] DEBUG bumped version:3.2.0-dev.11 00:11:04 2024-01-17 00:11:04,621 [write_version] DEBUG write version:3.2.0-dev.11 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:True 00:11:04 2024-01-17 00:11:04,621 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 00:11:04 2024-01-17 00:11:04,621 [write_file] DEBUG write to file:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main 00:11:04 2024-01-17 00:11:04,623 [execute] INFO git cat-file --batch-check 00:11:04 2024-01-17 00:11:04,624 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:11:04 2024-01-17 00:11:04,631 [execute] INFO git cat-file --batch 00:11:04 2024-01-17 00:11:04,631 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:11:04 2024-01-17 00:11:04,637 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 00:11:04 3.2.0-dev.11 [Pipeline] } 00:11:04 $ docker exec --env ******** --env ******** 5f2b8c596c7c927efc7a066f3a5253a7ac081cbc8f038a8379e7ae55880cd815 ssh-agent -k 00:11:04 unset SSH_AUTH_SOCK; 00:11:04 unset SSH_AGENT_PID; 00:11:04 echo Agent pid 38 killed; 00:11:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:11:05 + git semver [Pipeline] } 00:11:05 $ docker stop --time=1 5f2b8c596c7c927efc7a066f3a5253a7ac081cbc8f038a8379e7ae55880cd815 00:11:06 $ docker rm -f --volumes 5f2b8c596c7c927efc7a066f3a5253a7ac081cbc8f038a8379e7ae55880cd815 [Pipeline] // withDockerContainer [Pipeline] sh 00:11:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:11:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:11:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:11:07 prd-ubuntu20.04-docker-8c-8g-27343 does not seem to be running inside a container 00:11:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:11:08 $ docker top 6cf69ae4c238ecd67add1a39b9cc4329248b1347f1b1735c36decb9c441d56e3 -eo pid,comm 00:11:08 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:11:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:11:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:11:08 [ssh-agent] Looking for ssh-agent implementation... 00:11:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:11:08 $ docker exec 6cf69ae4c238ecd67add1a39b9cc4329248b1347f1b1735c36decb9c441d56e3 ssh-agent 00:11:08 SSH_AUTH_SOCK=/tmp/ssh-5LdARHS2JWCQ/agent.31 00:11:08 SSH_AGENT_PID=37 00:11:08 Running ssh-add (command line suppressed) 00:11:08 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_12828462647136840333.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_12828462647136840333.key) 00:11:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:11:09 + git semver push 00:11:09 2024-01-17 00:11:09,188 [run_push] DEBUG push 00:11:09 2024-01-17 00:11:09,188 [execute] INFO git cat-file --batch-check 00:11:09 2024-01-17 00:11:09,188 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:11:09 2024-01-17 00:11:09,194 [execute] INFO git rev-list ed561be2ad2ef75b3775ea956bb5690821773056 -- 00:11:09 2024-01-17 00:11:09,194 [execute] DEBUG Popen(['git', 'rev-list', 'ed561be2ad2ef75b3775ea956bb5690821773056', '--'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:11:09 2024-01-17 00:11:09,211 [execute] INFO git fetch -v origin 00:11:09 2024-01-17 00:11:09,211 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 00:11:09 2024-01-17 00:11:09,733 [run_push] DEBUG no remote changes detected 00:11:09 2024-01-17 00:11:09,733 [execute] INFO git push origin semver 00:11:09 2024-01-17 00:11:09,733 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:11:10 2024-01-17 00:11:10,592 [run_push] DEBUG push all version tags 00:11:10 2024-01-17 00:11:10,593 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:11:10 2024-01-17 00:11:10,593 [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) 00:11:11 2024-01-17 00:11:11,313 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 00:11:11 3.2.0-dev.11 [Pipeline] } 00:11:11 $ docker exec --env ******** --env ******** 6cf69ae4c238ecd67add1a39b9cc4329248b1347f1b1735c36decb9c441d56e3 ssh-agent -k 00:11:11 unset SSH_AUTH_SOCK; 00:11:11 unset SSH_AGENT_PID; 00:11:11 echo Agent pid 37 killed; 00:11:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:11:11 + git semver [Pipeline] } 00:11:12 $ docker stop --time=1 6cf69ae4c238ecd67add1a39b9cc4329248b1347f1b1735c36decb9c441d56e3 00:11:13 $ docker rm -f --volumes 6cf69ae4c238ecd67add1a39b9cc4329248b1347f1b1735c36decb9c441d56e3 [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 00:11:14 + [ -d /w/workspace/oundry_app-functions-sdk-go_main/archives ] 00:11:14 + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives 00:11:14 total 16 00:11:14 drwxr-xr-x 3 root root 4096 Jan 17 00:03 . 00:11:14 drwxrwxr-x 10 jenkins jenkins 4096 Jan 17 00:10 .. 00:11:14 drwxr-xr-x 2 root root 4096 Jan 17 00:03 cost 00:11:14 -rw-r--r-- 1 root root 92 Jan 17 00:03 cost.csv 00:11:14 + sudo chown -R jenkins:jenkins /w/workspace/oundry_app-functions-sdk-go_main/archives 00:11:14 + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives 00:11:14 total 16 00:11:14 drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 00:03 . 00:11:14 drwxrwxr-x 10 jenkins jenkins 4096 Jan 17 00:10 .. 00:11:14 drwxr-xr-x 2 jenkins jenkins 4096 Jan 17 00:03 cost 00:11:14 -rw-r--r-- 1 jenkins jenkins 92 Jan 17 00:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:11:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:11:15 ---> package-listing.sh 00:11:15 ++ facter osfamily 00:11:15 ++ tr '[:upper:]' '[:lower:]' 00:11:16 + OS_FAMILY=debian 00:11:16 + workspace=/w/workspace/oundry_app-functions-sdk-go_main 00:11:16 + START_PACKAGES=/tmp/packages_start.txt 00:11:16 + END_PACKAGES=/tmp/packages_end.txt 00:11:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:11:16 + PACKAGES=/tmp/packages_start.txt 00:11:16 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 00:11:16 + PACKAGES=/tmp/packages_end.txt 00:11:16 + case "${OS_FAMILY}" in 00:11:16 + dpkg -l 00:11:16 + grep '^ii' 00:11:16 + '[' -f /tmp/packages_start.txt ']' 00:11:16 + '[' -f /tmp/packages_end.txt ']' 00:11:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:11:16 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 00:11:16 + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ 00:11:16 + 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 00:11:16 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 00:11:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:11:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:11:17 prd-ubuntu20.04-docker-8c-8g-27343 does not seem to be running inside a container 00:11:17 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_app-functions-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:11:17 $ docker top ac8b1bc19692d012d944e111c124320bd340ba2c5d59f853f3befac1201586b8 -eo pid,comm [Pipeline] { [Pipeline] sh 00:11:18 + touch /tmp/pre-build-complete [Pipeline] sh 00:11:18 + mkdir -p /var/log/sysstat [Pipeline] sh 00:11:18 + ls /var/log/sa-host 00:11:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:11:18 provisioning config files... 00:11:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config14882886685292514197tmp [Pipeline] { [Pipeline] echo 00:11:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:11:19 ---> create-netrc.sh [Pipeline] } 00:11:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:11:19 ---> python-tools-install.sh [Pipeline] echo 00:11:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:11:19 ---> sudo-logs.sh 00:11:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:11:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:11:20 ---> job-cost.sh 00:11:20 lf-activate-venv: SKIPPING 00:11:20 DEBUG: total: 0.2199999988079071 00:11:20 INFO: Retrieving Stack Cost... 00:11:20 INFO: Retrieving Pricing Info for: v3-standard-8 00:11:20 INFO: Archiving Costs [Pipeline] echo 00:11:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:11:21 ---> logs-deploy.sh 00:11:21 lf-activate-venv: SKIPPING 00:11:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/328 00:11:21 INFO: archiving workspace using pattern(s): 00:11:22 Archives upload complete. 00:11:22 INFO: archiving logs to Nexus