Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 34e8d8f56fcfbe03d5009e32e986b9ce84575f3f 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-ssh3557900548689676585.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh42119220612302248.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh11351864392459796072.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh4115402891703260021.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-ssh3864031359922662996.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.20 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-18595 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 34e8d8f56fcfbe03d5009e32e986b9ce84575f3f (main) Commit message: "Merge pull request #1428 from lenny-intel/sdk-version-template-main" > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 34e8d8f56fcfbe03d5009e32e986b9ce84575f3f # timeout=10 > git rev-list --no-walk 16e4c3d20f82bd1b6b8af8f646010c109e1d2a62 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:54:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:54:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:54:52 ========================================================= 21:54:52 EdgeX Global Pipelines Version Info 21:54:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:54:53 ------------------- 21:54:53 stable info: 21:54:53 ------------------- 21:54:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:54:53 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:54:53 Message: update stable to v1.0.250 21:54:54 ------------------- 21:54:54 experimental info: 21:54:54 ------------------- 21:54:54 Commited By: **** collab-it+edgex@linuxfoundation.org 21:54:54 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:54:54 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 34e8d8f56fcfbe03d5009e32e986b9ce84575f3f [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 34e8d8f [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:54:55 + git rev-list -1 --merges 34e8d8f56fcfbe03d5009e32e986b9ce84575f3f~1..34e8d8f56fcfbe03d5009e32e986b9ce84575f3f [Pipeline] echo 21:54:55 -----------> git rev-list -1 --merges 34e8d8f56fcfbe03d5009e32e986b9ce84575f3f~1..34e8d8f56fcfbe03d5009e32e986b9ce84575f3f 34e8d8f56fcfbe03d5009e32e986b9ce84575f3f 21:54:55 34e8d8f56fcfbe03d5009e32e986b9ce84575f3f [false] [Pipeline] sh 21:54:55 + git log --format=format:%s -1 34e8d8f56fcfbe03d5009e32e986b9ce84575f3f [Pipeline] echo 21:54:55 ========================================================= 21:54:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:54:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:54:55 + git log --format=format:%s -1 34e8d8f56fcfbe03d5009e32e986b9ce84575f3f [Pipeline] echo 21:54:55 [semverPrep] GIT_COMMIT: 34e8d8f56fcfbe03d5009e32e986b9ce84575f3f, Commit Message: Merge pull request #1428 from lenny-intel/sdk-version-template-main [Pipeline] echo 21:54:55 [semverPrep] This is not a build commit. [Pipeline] sh 21:54:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:54:56 + grep -v github /etc/ssh/ssh_known_hosts 21:54:56 + [ -e /tmp/ssh_known_hosts ] 21:54:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:54:56 + + sudo tee -a /etc/ssh/ssh_known_hosts 21:54:56 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:54:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:54:56 21:54:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:54:57 0.1.4: Pulling from edgex-devops/py-git-semver 21:54:57 b85a868b505f: Pulling fs layer 21:54:57 e2be974225ed: Pulling fs layer 21:54:57 339a4e72a1f5: Pulling fs layer 21:54:57 988bab9f4d93: Pulling fs layer 21:54:57 1469e6f7b9e6: Pulling fs layer 21:54:57 eaf3925da568: Pulling fs layer 21:54:57 bab4dde63d76: Pulling fs layer 21:54:57 bde34c3a00c8: Pulling fs layer 21:54:57 b352a97aabf1: Pulling fs layer 21:54:57 4872d77fe225: Pulling fs layer 21:54:57 988bab9f4d93: Waiting 21:54:57 1469e6f7b9e6: Waiting 21:54:57 eaf3925da568: Waiting 21:54:57 bab4dde63d76: Waiting 21:54:57 bde34c3a00c8: Waiting 21:54:57 b352a97aabf1: Waiting 21:54:57 5851b861e8e6: Pulling fs layer 21:54:57 4872d77fe225: Waiting 21:54:57 e2be974225ed: Download complete 21:54:57 988bab9f4d93: Verifying Checksum 21:54:57 988bab9f4d93: Download complete 21:54:57 1469e6f7b9e6: Verifying Checksum 21:54:57 1469e6f7b9e6: Download complete 21:54:57 339a4e72a1f5: Verifying Checksum 21:54:57 339a4e72a1f5: Download complete 21:54:57 eaf3925da568: Verifying Checksum 21:54:57 eaf3925da568: Download complete 21:54:57 bde34c3a00c8: Verifying Checksum 21:54:57 bde34c3a00c8: Download complete 21:54:57 b352a97aabf1: Download complete 21:54:57 4872d77fe225: Verifying Checksum 21:54:57 4872d77fe225: Download complete 21:54:57 5851b861e8e6: Verifying Checksum 21:54:57 5851b861e8e6: Download complete 21:54:57 b85a868b505f: Verifying Checksum 21:54:57 b85a868b505f: Download complete 21:54:57 bab4dde63d76: Verifying Checksum 21:54:57 bab4dde63d76: Download complete 21:54:58 b85a868b505f: Pull complete 21:54:58 e2be974225ed: Pull complete 21:54:59 339a4e72a1f5: Pull complete 21:54:59 988bab9f4d93: Pull complete 21:54:59 1469e6f7b9e6: Pull complete 21:54:59 eaf3925da568: Pull complete 21:55:01 bab4dde63d76: Pull complete 21:55:01 bde34c3a00c8: Pull complete 21:55:01 b352a97aabf1: Pull complete 21:55:01 4872d77fe225: Pull complete 21:55:01 5851b861e8e6: Pull complete 21:55:01 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:55:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:55:01 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:55:01 prd-ubuntu20.04-docker-8c-8g-18595 does not seem to be running inside a container 21:55:01 $ 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 21:55:05 $ docker top 29e53f381f332b9f7fb4cbe82b4f086b1c7f5b285ea8782753be28b1aff34741 -eo pid,comm 21:55:05 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:55:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:55:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:55:05 [ssh-agent] Looking for ssh-agent implementation... 21:55:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:55:05 $ docker exec 29e53f381f332b9f7fb4cbe82b4f086b1c7f5b285ea8782753be28b1aff34741 ssh-agent 21:55:05 SSH_AUTH_SOCK=/tmp/ssh-UZrweR88I8vJ/agent.33 21:55:05 SSH_AGENT_PID=39 21:55:05 Running ssh-add (command line suppressed) 21:55:05 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4597691724855592408.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4597691724855592408.key) 21:55:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:55:05 + git tag --points-at HEAD [Pipeline] } 21:55:06 $ docker exec --env ******** --env ******** 29e53f381f332b9f7fb4cbe82b4f086b1c7f5b285ea8782753be28b1aff34741 ssh-agent -k 21:55:06 unset SSH_AUTH_SOCK; 21:55:06 unset SSH_AGENT_PID; 21:55:06 echo Agent pid 39 killed; 21:55:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:55:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:55:06 [ssh-agent] Looking for ssh-agent implementation... 21:55:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:55:06 $ docker exec 29e53f381f332b9f7fb4cbe82b4f086b1c7f5b285ea8782753be28b1aff34741 ssh-agent 21:55:06 SSH_AUTH_SOCK=/tmp/ssh-okfiS5KqMD1o/agent.72 21:55:06 SSH_AGENT_PID=78 21:55:06 Running ssh-add (command line suppressed) 21:55:06 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_3254454702120804908.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_3254454702120804908.key) 21:55:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:55:06 + git semver init 21:55:07 2023-06-13 21:55:06,974 [run_init] DEBUG init version:0.0.0 force:False 21:55:07 2023-06-13 21:55:06,974 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_app-functions-sdk-go_main/.semver 21:55:07 2023-06-13 21:55:06,975 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-functions-sdk-go.git /w/workspace/oundry_app-functions-sdk-go_main/.semver 21:55:07 2023-06-13 21:55:06,975 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-functions-sdk-go.git', '/w/workspace/oundry_app-functions-sdk-go_main/.semver'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) 21:55:09 2023-06-13 21:55:08,743 [append_file] DEBUG append to file:/w/workspace/oundry_app-functions-sdk-go_main/.git/info/exclude 21:55:09 2023-06-13 21:55:08,744 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:False 21:55:09 2023-06-13 21:55:08,744 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 21:55:09 2023-06-13 21:55:08,744 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 21:55:09 3.1.0-dev.2 [Pipeline] } 21:55:09 $ docker exec --env ******** --env ******** 29e53f381f332b9f7fb4cbe82b4f086b1c7f5b285ea8782753be28b1aff34741 ssh-agent -k 21:55:09 unset SSH_AUTH_SOCK; 21:55:09 unset SSH_AGENT_PID; 21:55:09 echo Agent pid 78 killed; 21:55:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:55:09 + git semver [Pipeline] } 21:55:09 $ docker stop --time=1 29e53f381f332b9f7fb4cbe82b4f086b1c7f5b285ea8782753be28b1aff34741 21:55:11 $ docker rm -f --volumes 29e53f381f332b9f7fb4cbe82b4f086b1c7f5b285ea8782753be28b1aff34741 [Pipeline] // withDockerContainer [Pipeline] sh 21:55:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:55:11 Stashed 1 file(s) [Pipeline] echo 21:55:11 [edgeXSemver]: initialized semver on version 3.1.0-dev.2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 21:55:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:55:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:55:11 ========================================================= 21:55:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:55:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 21:55:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:55:12 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:55:12 f56be85fc22e: Pulling fs layer 21:55:12 85791d961cd3: Pulling fs layer 21:55:12 d694b5ae8c79: Pulling fs layer 21:55:12 9f32a84ed3da: Pulling fs layer 21:55:12 4d19c01a9841: Pulling fs layer 21:55:12 9325e15d5711: Pulling fs layer 21:55:12 556b6ee489ea: Pulling fs layer 21:55:12 c5a4b2cf53e6: Pulling fs layer 21:55:12 9325e15d5711: Waiting 21:55:12 c5a4b2cf53e6: Waiting 21:55:12 556b6ee489ea: Waiting 21:55:12 9f32a84ed3da: Waiting 21:55:12 4d19c01a9841: Waiting 21:55:12 85791d961cd3: Verifying Checksum 21:55:12 85791d961cd3: Download complete 21:55:12 9f32a84ed3da: Verifying Checksum 21:55:12 9f32a84ed3da: Download complete 21:55:12 4d19c01a9841: Download complete 21:55:12 f56be85fc22e: Verifying Checksum 21:55:12 f56be85fc22e: Download complete 21:55:12 9325e15d5711: Verifying Checksum 21:55:12 9325e15d5711: Download complete 21:55:12 f56be85fc22e: Pull complete 21:55:12 85791d961cd3: Pull complete 21:55:12 c5a4b2cf53e6: Verifying Checksum 21:55:12 c5a4b2cf53e6: Download complete 21:55:12 d694b5ae8c79: Download complete 21:55:13 556b6ee489ea: Verifying Checksum 21:55:13 556b6ee489ea: Download complete 21:55:16 d694b5ae8c79: Pull complete 21:55:16 9f32a84ed3da: Pull complete 21:55:16 4d19c01a9841: Pull complete 21:55:16 9325e15d5711: Pull complete 21:55:18 556b6ee489ea: Pull complete 21:55:19 c5a4b2cf53e6: Pull complete 21:55:19 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:55:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:55:19 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] sh 21:55:19 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:55:20 + docker inspect -f . ci-base-image-x86_64 21:55:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:55:20 prd-ubuntu20.04-docker-8c-8g-18595 does not seem to be running inside a container 21:55:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:55:25 $ docker top 956885a407a5d00eda3f3db3406f192d186b8f46d886fb9f016eb94a309235e5 -eo pid,comm [Pipeline] { [Pipeline] sh 21:55:25 + go version 21:55:25 go version go1.20.2 linux/amd64 [Pipeline] } 21:55:25 $ docker stop --time=1 956885a407a5d00eda3f3db3406f192d186b8f46d886fb9f016eb94a309235e5 21:55:26 $ docker rm -f --volumes 956885a407a5d00eda3f3db3406f192d186b8f46d886fb9f016eb94a309235e5 21:55:26 Still waiting to schedule task 21:55:26 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:55:27 + docker inspect -f . ci-base-image-x86_64 21:55:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:55:27 prd-ubuntu20.04-docker-8c-8g-18595 does not seem to be running inside a container 21:55:27 $ 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 21:55:27 $ docker top f103e10de3522a62a6a135f940259d5e29ed61b989af4a77cfeaadd1ea62e276 -eo pid,comm [Pipeline] { [Pipeline] sh 21:55:27 + git config --global --add safe.directory /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] fileExists [Pipeline] sh 21:55:28 + make test 21:55:28 make -C ./app-service-template build 21:55:28 make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 21:55:28 go mod tidy 21:55:28 go: downloading github.com/stretchr/testify v1.8.4 21:55:28 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0 21:55:28 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 21:55:28 go: downloading github.com/google/uuid v1.3.0 21:55:28 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.1 21:55:28 go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0 21:55:28 go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.0.0 21:55:28 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.7 21:55:28 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.2 21:55:28 go: downloading github.com/davecgh/go-spew v1.1.1 21:55:28 go: downloading github.com/pmezard/go-difflib v1.0.0 21:55:28 go: downloading gopkg.in/yaml.v3 v3.0.1 21:55:28 go: downloading github.com/stretchr/objx v0.5.0 21:55:28 go: downloading github.com/gorilla/mux v1.8.0 21:55:28 go: downloading github.com/hashicorp/go-multierror v1.1.1 21:55:28 go: downloading github.com/go-kit/log v0.2.1 21:55:28 go: downloading github.com/go-playground/validator/v10 v10.13.0 21:55:28 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 21:55:28 go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.0.1 21:55:28 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0 21:55:28 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 21:55:28 go: downloading github.com/mitchellh/copystructure v1.2.0 21:55:28 go: downloading github.com/hashicorp/errwrap v1.0.0 21:55:28 go: downloading github.com/gorilla/websocket v1.4.2 21:55:28 go: downloading golang.org/x/net v0.9.0 21:55:28 go: downloading golang.org/x/sync v0.1.0 21:55:28 go: downloading github.com/go-logfmt/logfmt v0.5.1 21:55:28 go: downloading github.com/x448/float16 v0.8.4 21:55:28 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.4 21:55:28 go: downloading github.com/hashicorp/consul/api v1.20.0 21:55:28 go: downloading github.com/go-playground/universal-translator v0.18.1 21:55:28 go: downloading github.com/leodido/go-urn v1.2.3 21:55:28 go: downloading golang.org/x/crypto v0.8.0 21:55:28 go: downloading golang.org/x/text v0.9.0 21:55:28 go: downloading github.com/go-playground/locales v0.14.1 21:55:28 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 21:55:28 go: downloading github.com/go-playground/assert/v2 v2.2.0 21:55:28 go: downloading github.com/mitchellh/reflectwalk v1.0.2 21:55:28 go: downloading github.com/nats-io/nats.go v1.25.0 21:55:28 go: downloading github.com/nats-io/nats-server/v2 v2.9.16 21:55:28 go: downloading github.com/go-redis/redis/v7 v7.3.0 21:55:28 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 21:55:28 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 21:55:28 go: downloading github.com/hashicorp/go-hclog v0.14.1 21:55:28 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 21:55:28 go: downloading github.com/hashicorp/serf v0.10.1 21:55:28 go: downloading github.com/mitchellh/mapstructure v1.5.0 21:55:28 go: downloading github.com/google/go-cmp v0.5.9 21:55:28 go: downloading github.com/hashicorp/consul/sdk v0.13.1 21:55:28 go: downloading github.com/hashicorp/go-uuid v1.0.2 21:55:28 go: downloading golang.org/x/sys v0.7.0 21:55:29 go: downloading github.com/kr/pretty v0.2.1 21:55:29 go: downloading github.com/Microsoft/go-winio v0.6.0 21:55:29 go: downloading github.com/zeebo/errs v1.3.0 21:55:29 go: downloading google.golang.org/grpc v1.53.0 21:55:29 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 21:55:29 go: downloading github.com/onsi/ginkgo v1.10.1 21:55:29 go: downloading github.com/onsi/gomega v1.7.0 21:55:29 go: downloading github.com/nats-io/nkeys v0.4.4 21:55:29 go: downloading github.com/nats-io/nuid v1.0.1 21:55:29 go: downloading github.com/fatih/color v1.9.0 21:55:29 go: downloading github.com/mattn/go-colorable v0.1.12 21:55:29 go: downloading github.com/mattn/go-isatty v0.0.14 21:55:29 go: downloading github.com/mitchellh/go-homedir v1.1.0 21:55:29 go: downloading github.com/hashicorp/go-version v1.2.1 21:55:29 go: downloading github.com/pkg/errors v0.9.1 21:55:29 go: downloading github.com/armon/go-metrics v0.3.10 21:55:29 go: downloading github.com/hashicorp/go-msgpack v0.5.3 21:55:29 go: downloading github.com/hashicorp/memberlist v0.5.0 21:55:29 go: downloading github.com/klauspost/compress v1.16.4 21:55:29 go: downloading github.com/minio/highwayhash v1.0.2 21:55:29 go: downloading github.com/nats-io/jwt/v2 v2.4.1 21:55:29 go: downloading golang.org/x/time v0.3.0 21:55:29 go: downloading github.com/kr/text v0.2.0 21:55:29 go: downloading github.com/go-jose/go-jose/v3 v3.0.0 21:55:29 go: downloading golang.org/x/tools v0.6.0 21:55:29 go: downloading google.golang.org/protobuf v1.28.1 21:55:29 go: downloading google.golang.org/genproto v0.0.0-20230223222841-637eb2293923 21:55:29 go: downloading github.com/golang/protobuf v1.5.2 21:55:30 go: downloading github.com/hashicorp/go-immutable-radix v1.3.0 21:55:30 go: downloading github.com/pascaldekloe/goe v0.1.0 21:55:30 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 21:55:30 go: downloading github.com/hashicorp/go-sockaddr v1.0.2 21:55:30 go: downloading github.com/miekg/dns v1.1.41 21:55:30 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 21:55:30 go: downloading gopkg.in/yaml.v2 v2.4.0 21:55:30 go: downloading github.com/hashicorp/golang-lru v0.5.4 21:55:30 go: downloading github.com/hpcloud/tail v1.0.0 21:55:30 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 21:55:30 go: downloading gopkg.in/fsnotify.v1 v1.4.7 21:55:30 go: downloading golang.org/x/mod v0.8.0 21:55:32 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-new-service 21:55:47 make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 21:55:47 make -C ./app-service-template test 21:55:47 make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 21:55:47 go test -race -coverprofile=coverage.out ./... 21:56:09 ? app-new-service/config [no test files] 21:56:09 ok app-new-service 0.064s coverage: 48.1% of statements 21:56:09 ok app-new-service/functions 0.063s coverage: 85.3% of statements 21:56:09 go vet ./... 21:56:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:56:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:56:23 ./bin/test-attribution-txt.sh 21:56:23 make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 21:56:23 go test -race -coverprofile=coverage.out ./... 21:56:23 go: downloading github.com/gomodule/redigo v1.8.9 21:56:23 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal [no test files] 21:56:25 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/container [no test files] 21:56:25 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/common [no test files] 21:56:25 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/app 0.103s coverage: 64.4% of statements 21:56:25 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/appfunction 0.098s coverage: 93.0% of statements 21:56:25 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/handlers 0.090s coverage: 85.1% of statements 21:56:25 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/controller/rest 0.081s coverage: 87.8% of statements 21:56:25 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/etm 0.054s coverage: 100.0% of statements 21:56:27 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db [no test files] 21:56:27 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis [no test files] 21:56:27 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger [no test files] 21:56:27 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http/mocks [no test files] 21:56:27 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mocks [no test files] 21:56:27 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/runtime 0.140s coverage: 77.9% of statements 21:56:27 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis/models 0.054s coverage: 97.3% of statements 21:56:27 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http 0.064s coverage: 82.8% of statements 21:56:27 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/messagebus 0.069s coverage: 65.2% of statements 21:56:28 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt/mocks [no test files] 21:56:28 ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces [no test files] 21:56:28 ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces/mocks [no test files] 21:56:28 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt 0.075s coverage: 28.7% of statements 21:56:28 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/webserver 0.056s coverage: 11.5% of statements 21:56:28 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg 0.067s coverage: 27.3% of statements 21:56:28 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/secure 0.073s coverage: 52.8% of statements 21:56:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-18596 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws 21:56:51 Running in /w/workspace/app-functions-sdk-go/265 [Pipeline] { [Pipeline] checkout 21:56:51 The recommended git tool is: git 21:56:54 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/transforms 25.126s coverage: 75.4% of statements 21:56:54 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/util 0.051s coverage: 94.4% of statements 21:56:54 go vet ./... 21:56:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:56:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:56:56 using credential edgex-jenkins-ssh 21:56:56 Cloning the remote Git repository 21:56:56 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 21:56:56 > git init /w/workspace/app-functions-sdk-go/265 # timeout=10 21:56:56 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 21:56:56 > git --version # timeout=10 21:56:56 > git --version # 'git version 2.25.1' 21:56:56 using GIT_SSH to set credentials SSH Credentials for GitHub 21:56:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:57:00 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 21:57:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:57:00 Avoid second fetch 21:57:00 Checking out Revision 34e8d8f56fcfbe03d5009e32e986b9ce84575f3f (main) 21:57:01 Commit message: "Merge pull request #1428 from lenny-intel/sdk-version-template-main" 21:57:00 > git config core.sparsecheckout # timeout=10 21:57:01 > git checkout -f 34e8d8f56fcfbe03d5009e32e986b9ce84575f3f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:57:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:57:02 % Total % Received % Xferd Average Speed Time Time Time Current 21:57:02 Dload Upload Total Spent Left Speed 21:57:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 94451 [Pipeline] sh 21:57:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:57:03 + sudo tee /etc/docker/daemon.new 21:57:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:57:03 { 21:57:03 "registry-mirrors": [ 21:57:03 "https://nexus3.edgexfoundry.org:10001" 21:57:03 ], 21:57:03 "bip": "10.250.0.254/24", 21:57:03 "hosts": [ 21:57:03 "tcp://0.0.0.0:5555", 21:57:03 "unix:///var/run/docker.sock" 21:57:03 ], 21:57:03 "mtu": 1458, 21:57:03 "selinux-enabled": true, 21:57:03 "seccomp-profile": "/etc/docker/seccomp.json" 21:57:03 } [Pipeline] sh 21:57:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:57:03 + sudo service docker restart [Pipeline] echo 21:57:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:57:05 $ docker stop --time=1 f103e10de3522a62a6a135f940259d5e29ed61b989af4a77cfeaadd1ea62e276 21:57:07 $ docker rm -f --volumes f103e10de3522a62a6a135f940259d5e29ed61b989af4a77cfeaadd1ea62e276 [Pipeline] // withDockerContainer [Pipeline] sh 21:57:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:57:08 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 21:57:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:57:08 21:57:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:57:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:57:08 latest: Pulling from edgex-lftools-log-publisher 21:57:08 5eb5b503b376: Pulling fs layer 21:57:08 5c69ac0246d0: Pulling fs layer 21:57:08 ec43610c2a17: Pulling fs layer 21:57:08 3a2ae6a8a46f: Pulling fs layer 21:57:08 33b1e0a273af: Pulling fs layer 21:57:08 5d3b04190fa2: Pulling fs layer 21:57:08 2f39f015ded8: Pulling fs layer 21:57:08 5d3b04190fa2: Waiting 21:57:08 2f39f015ded8: Waiting 21:57:08 33b1e0a273af: Waiting 21:57:09 5c69ac0246d0: Download complete 21:57:09 3a2ae6a8a46f: Verifying Checksum 21:57:09 3a2ae6a8a46f: Download complete 21:57:09 33b1e0a273af: Verifying Checksum 21:57:09 33b1e0a273af: Download complete 21:57:09 ec43610c2a17: Verifying Checksum 21:57:09 ec43610c2a17: Download complete 21:57:09 5d3b04190fa2: Download complete 21:57:09 5eb5b503b376: Verifying Checksum 21:57:09 5eb5b503b376: Download complete 21:57:09 2f39f015ded8: Download complete 21:57:10 5eb5b503b376: Pull complete 21:57:10 5c69ac0246d0: Pull complete 21:57:11 ec43610c2a17: Pull complete 21:57:11 3a2ae6a8a46f: Pull complete 21:57:11 33b1e0a273af: Pull complete 21:57:11 5d3b04190fa2: Pull complete 21:57:16 2f39f015ded8: Pull complete 21:57:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:57:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:57:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:57:16 prd-ubuntu20.04-docker-8c-8g-18595 does not seem to be running inside a container 21:57:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:57:20 $ docker top 633a992e45c4976ab9e8776d3eef6e396bd39e5e4877c86175565cb4ed68033f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:57:20 ---> job-cost.sh 21:57:20 lf-activate-venv: SKIPPING 21:57:20 INFO: No Stack... 21:57:20 INFO: Retrieving Pricing Info for: v3-standard-8 21:57:21 INFO: Archiving Costs [Pipeline] sh 21:57:21 + cat /w/workspace/oundry_app-functions-sdk-go_main/archives/cost.csv 21:57:21 + cut -d, -f6 [Pipeline] lock 21:57:21 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-265-stack-cost] 21:57:21 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-265-stack-cost] did not exist. Created. 21:57:21 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-265-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:57:21 + echo total: 0.2199999988079071 [Pipeline] stash 21:57:21 Stashed 1 file(s) [Pipeline] } 21:57:21 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-265-stack-cost] [Pipeline] // lock [Pipeline] } 21:57:21 $ docker stop --time=1 633a992e45c4976ab9e8776d3eef6e396bd39e5e4877c86175565cb4ed68033f 21:57:23 $ docker rm -f --volumes 633a992e45c4976ab9e8776d3eef6e396bd39e5e4877c86175565cb4ed68033f [Pipeline] // withDockerContainer [Pipeline] unstash [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 21:57:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:57:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:57:23 ========================================================= 21:57:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:57:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 21:57:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:57:24 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:57:24 c41833b44d91: Pulling fs layer 21:57:24 ed15518f5707: Pulling fs layer 21:57:24 feae8fd75edb: Pulling fs layer 21:57:24 242c74f7c9fa: Pulling fs layer 21:57:24 3cdef696dda3: Pulling fs layer 21:57:24 2ced38df9373: Pulling fs layer 21:57:24 58f1dce35555: Pulling fs layer 21:57:24 242c74f7c9fa: Waiting 21:57:24 3cdef696dda3: Waiting 21:57:24 2ced38df9373: Waiting 21:57:24 58f1dce35555: Waiting 21:57:24 ed15518f5707: Verifying Checksum 21:57:24 ed15518f5707: Download complete 21:57:24 242c74f7c9fa: Verifying Checksum 21:57:24 242c74f7c9fa: Download complete 21:57:24 3cdef696dda3: Verifying Checksum 21:57:24 3cdef696dda3: Download complete 21:57:24 c41833b44d91: Verifying Checksum 21:57:24 c41833b44d91: Download complete 21:57:25 c41833b44d91: Pull complete 21:57:25 58f1dce35555: Verifying Checksum 21:57:25 58f1dce35555: Download complete 21:57:25 ed15518f5707: Pull complete 21:57:26 feae8fd75edb: Verifying Checksum 21:57:26 feae8fd75edb: Download complete 21:57:26 2ced38df9373: Verifying Checksum 21:57:26 2ced38df9373: Download complete 21:57:39 feae8fd75edb: Pull complete 21:57:39 242c74f7c9fa: Pull complete 21:57:39 3cdef696dda3: Pull complete 21:57:47 2ced38df9373: Pull complete 21:57:49 58f1dce35555: Pull complete 21:57:49 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:57:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:57:49 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] sh 21:57:49 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:57:49 + docker inspect -f . ci-base-image-arm64 21:57:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:57:50 prd-ubuntu20.04-docker-arm64-4c-16g-18596 does not seem to be running inside a container 21:57:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/265 -v /w/workspace/app-functions-sdk-go/265:/w/workspace/app-functions-sdk-go/265:rw,z -v /w/workspace/app-functions-sdk-go/265@tmp:/w/workspace/app-functions-sdk-go/265@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 21:57:52 $ docker top bc6c66a899f39392cbad807cb710850d5eb90c4d591b94e7686c55e2456d68f4 -eo pid,comm [Pipeline] { [Pipeline] sh 21:57:54 + go version 21:57:54 go version go1.20.2 linux/arm64 [Pipeline] } 21:57:54 $ docker stop --time=1 bc6c66a899f39392cbad807cb710850d5eb90c4d591b94e7686c55e2456d68f4 21:57:55 $ docker rm -f --volumes bc6c66a899f39392cbad807cb710850d5eb90c4d591b94e7686c55e2456d68f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:57:56 + docker inspect -f . ci-base-image-arm64 21:57:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:57:56 prd-ubuntu20.04-docker-arm64-4c-16g-18596 does not seem to be running inside a container 21:57:56 $ 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/265 -v /w/workspace/app-functions-sdk-go/265:/w/workspace/app-functions-sdk-go/265:rw,z -v /w/workspace/app-functions-sdk-go/265@tmp:/w/workspace/app-functions-sdk-go/265@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 21:57:59 $ docker top dfe93cec27831fd8a6aee5db9646cd4dc148bcfd8940a95c6d2f2dc6ceb30af5 -eo pid,comm [Pipeline] { [Pipeline] sh 21:57:59 + git config --global --add safe.directory /w/workspace/app-functions-sdk-go/265 [Pipeline] fileExists [Pipeline] sh 21:58:00 + make test 21:58:00 make -C ./app-service-template build 21:58:00 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/265/app-service-template' 21:58:00 go mod tidy 21:58:00 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0 21:58:00 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 21:58:00 go: downloading github.com/google/uuid v1.3.0 21:58:00 go: downloading github.com/stretchr/testify v1.8.4 21:58:01 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.1 21:58:01 go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0 21:58:01 go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.0.0 21:58:01 go: downloading github.com/go-playground/validator/v10 v10.13.0 21:58:01 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 21:58:01 go: downloading gopkg.in/yaml.v3 v3.0.1 21:58:01 go: downloading github.com/go-kit/log v0.2.1 21:58:01 go: downloading github.com/davecgh/go-spew v1.1.1 21:58:01 go: downloading github.com/pmezard/go-difflib v1.0.0 21:58:01 go: downloading github.com/stretchr/objx v0.5.0 21:58:01 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.7 21:58:01 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.2 21:58:01 go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.0.1 21:58:01 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0 21:58:01 go: downloading github.com/gorilla/mux v1.8.0 21:58:01 go: downloading github.com/hashicorp/go-multierror v1.1.1 21:58:01 go: downloading github.com/x448/float16 v0.8.4 21:58:01 go: downloading github.com/go-logfmt/logfmt v0.5.1 21:58:01 go: downloading github.com/go-playground/universal-translator v0.18.1 21:58:01 go: downloading github.com/leodido/go-urn v1.2.3 21:58:01 go: downloading golang.org/x/crypto v0.8.0 21:58:02 go: downloading golang.org/x/text v0.9.0 21:58:02 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 21:58:02 go: downloading github.com/go-playground/assert/v2 v2.2.0 21:58:02 go: downloading github.com/go-playground/locales v0.14.1 21:58:05 go: downloading github.com/mitchellh/copystructure v1.2.0 21:58:05 go: downloading github.com/gorilla/websocket v1.4.2 21:58:05 go: downloading golang.org/x/net v0.9.0 21:58:06 go: downloading golang.org/x/sync v0.1.0 21:58:06 go: downloading github.com/hashicorp/consul/api v1.20.0 21:58:06 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.4 21:58:06 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 21:58:06 go: downloading github.com/hashicorp/errwrap v1.0.0 21:58:06 go: downloading github.com/kr/pretty v0.2.1 21:58:06 go: downloading golang.org/x/sys v0.7.0 21:58:06 go: downloading github.com/mitchellh/reflectwalk v1.0.2 21:58:06 go: downloading github.com/nats-io/nats.go v1.25.0 21:58:06 go: downloading github.com/nats-io/nats-server/v2 v2.9.16 21:58:06 go: downloading github.com/go-redis/redis/v7 v7.3.0 21:58:06 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 21:58:06 go: downloading github.com/hashicorp/go-hclog v0.14.1 21:58:06 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 21:58:06 go: downloading github.com/hashicorp/serf v0.10.1 21:58:06 go: downloading github.com/mitchellh/mapstructure v1.5.0 21:58:06 go: downloading github.com/google/go-cmp v0.5.9 21:58:07 go: downloading github.com/hashicorp/consul/sdk v0.13.1 21:58:07 go: downloading github.com/hashicorp/go-uuid v1.0.2 21:58:07 go: downloading github.com/Microsoft/go-winio v0.6.0 21:58:07 go: downloading github.com/zeebo/errs v1.3.0 21:58:07 go: downloading google.golang.org/grpc v1.53.0 21:58:08 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 21:58:08 go: downloading github.com/kr/text v0.2.0 21:58:08 go: downloading github.com/onsi/ginkgo v1.10.1 21:58:08 go: downloading github.com/onsi/gomega v1.7.0 21:58:08 go: downloading github.com/nats-io/nkeys v0.4.4 21:58:08 go: downloading github.com/nats-io/nuid v1.0.1 21:58:08 go: downloading github.com/fatih/color v1.9.0 21:58:08 go: downloading github.com/mattn/go-colorable v0.1.12 21:58:08 go: downloading github.com/mattn/go-isatty v0.0.14 21:58:08 go: downloading github.com/mitchellh/go-homedir v1.1.0 21:58:08 go: downloading github.com/hashicorp/go-version v1.2.1 21:58:08 go: downloading github.com/pkg/errors v0.9.1 21:58:08 go: downloading github.com/armon/go-metrics v0.3.10 21:58:08 go: downloading github.com/hashicorp/go-msgpack v0.5.3 21:58:08 go: downloading github.com/hashicorp/memberlist v0.5.0 21:58:08 go: downloading github.com/go-jose/go-jose/v3 v3.0.0 21:58:09 go: downloading google.golang.org/protobuf v1.28.1 21:58:09 go: downloading golang.org/x/tools v0.6.0 21:58:10 go: downloading github.com/klauspost/compress v1.16.4 21:58:10 go: downloading github.com/minio/highwayhash v1.0.2 21:58:10 go: downloading github.com/nats-io/jwt/v2 v2.4.1 21:58:10 go: downloading golang.org/x/time v0.3.0 21:58:10 go: downloading google.golang.org/genproto v0.0.0-20230223222841-637eb2293923 21:58:11 go: downloading github.com/golang/protobuf v1.5.2 21:58:14 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 21:58:14 go: downloading github.com/hashicorp/go-immutable-radix v1.3.0 21:58:14 go: downloading github.com/pascaldekloe/goe v0.1.0 21:58:14 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 21:58:14 go: downloading github.com/hashicorp/go-sockaddr v1.0.2 21:58:14 go: downloading github.com/miekg/dns v1.1.41 21:58:14 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 21:58:14 go: downloading gopkg.in/yaml.v2 v2.4.0 21:58:14 go: downloading github.com/hashicorp/golang-lru v0.5.4 21:58:14 go: downloading github.com/hpcloud/tail v1.0.0 21:58:14 go: downloading golang.org/x/mod v0.8.0 21:58:14 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 21:58:14 go: downloading gopkg.in/fsnotify.v1 v1.4.7 21:58:14 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-new-service 22:00:06 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/265/app-service-template' 22:00:06 make -C ./app-service-template test 22:00:06 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/265/app-service-template' 22:00:06 go test -race -coverprofile=coverage.out ./... 22:02:57 ? app-new-service/config [no test files] 22:02:57 ok app-new-service 0.266s coverage: 48.1% of statements 22:02:57 ok app-new-service/functions 0.232s coverage: 85.3% of statements 22:02:57 go vet ./... 22:05:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:05:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:05:04 ./bin/test-attribution-txt.sh 22:05:04 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/265/app-service-template' 22:05:04 go test -race -coverprofile=coverage.out ./... 22:05:04 go: downloading github.com/gomodule/redigo v1.8.9 22:05:04 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal [no test files] 22:05:08 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/container [no test files] 22:05:08 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/common [no test files] 22:05:09 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/app 0.593s coverage: 64.4% of statements 22:05:09 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/appfunction 0.313s coverage: 93.0% of statements 22:05:09 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/handlers 0.344s coverage: 85.1% of statements 22:05:13 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/controller/rest 0.290s coverage: 87.8% of statements 22:05:13 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/etm 0.136s coverage: 100.0% of statements 22:05:15 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db [no test files] 22:05:15 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis [no test files] 22:05:15 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/runtime 0.551s coverage: 77.9% of statements 22:05:18 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger [no test files] 22:05:18 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis/models 0.260s coverage: 97.3% of statements 22:05:18 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http/mocks [no test files] 22:05:19 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http 0.305s coverage: 82.8% of statements 22:05:22 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mocks [no test files] 22:05:22 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/messagebus 0.295s coverage: 65.2% of statements 22:05:24 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt/mocks [no test files] 22:05:24 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt 0.288s coverage: 28.7% of statements 22:05:26 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/webserver 0.202s coverage: 11.5% of statements 22:05:26 ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces [no test files] 22:05:26 ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces/mocks [no test files] 22:05:27 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg 0.308s coverage: 27.3% of statements 22:05:30 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/secure 0.266s coverage: 52.8% of statements 22:06:02 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/transforms 25.463s coverage: 75.4% of statements 22:06:02 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/util 0.185s coverage: 94.4% of statements 22:06:02 go vet ./... 22:06:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:06:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:06:06 WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] echo 22:06:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:06:06 $ docker stop --time=1 dfe93cec27831fd8a6aee5db9646cd4dc148bcfd8940a95c6d2f2dc6ceb30af5 22:06:08 $ docker rm -f --volumes dfe93cec27831fd8a6aee5db9646cd4dc148bcfd8940a95c6d2f2dc6ceb30af5 [Pipeline] // withDockerContainer [Pipeline] sh 22:06:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:06:12 Warning: overwriting stash ‘coverage-report’ 22:06:13 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 22:06:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:06:13 22:06:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:06:14 arm64: Pulling from edgex-lftools-log-publisher 22:06:14 8998bd30e6a1: Pulling fs layer 22:06:14 04944245beec: Pulling fs layer 22:06:14 699f458cf7ca: Pulling fs layer 22:06:14 765212b225bb: Pulling fs layer 22:06:14 f23df028b6ca: Pulling fs layer 22:06:14 d65c8cfc05b1: Pulling fs layer 22:06:14 2437ff75d9bd: Pulling fs layer 22:06:14 765212b225bb: Waiting 22:06:14 f23df028b6ca: Waiting 22:06:14 d65c8cfc05b1: Waiting 22:06:14 2437ff75d9bd: Waiting 22:06:14 04944245beec: Verifying Checksum 22:06:14 04944245beec: Download complete 22:06:14 765212b225bb: Download complete 22:06:14 f23df028b6ca: Verifying Checksum 22:06:14 f23df028b6ca: Download complete 22:06:14 d65c8cfc05b1: Verifying Checksum 22:06:14 d65c8cfc05b1: Download complete 22:06:14 699f458cf7ca: Verifying Checksum 22:06:14 699f458cf7ca: Download complete 22:06:14 8998bd30e6a1: Download complete 22:06:16 2437ff75d9bd: Verifying Checksum 22:06:16 2437ff75d9bd: Download complete 22:06:18 8998bd30e6a1: Pull complete 22:06:19 04944245beec: Pull complete 22:06:20 699f458cf7ca: Pull complete 22:06:20 765212b225bb: Pull complete 22:06:21 f23df028b6ca: Pull complete 22:06:21 d65c8cfc05b1: Pull complete 22:06:36 2437ff75d9bd: Pull complete 22:06:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:06:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:06:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:06:36 prd-ubuntu20.04-docker-arm64-4c-16g-18596 does not seem to be running inside a container 22:06:36 $ 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/265 -v /w/workspace/app-functions-sdk-go/265:/w/workspace/app-functions-sdk-go/265:rw,z -v /w/workspace/app-functions-sdk-go/265@tmp:/w/workspace/app-functions-sdk-go/265@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 22:06:39 $ docker top 4f1e99efe09058baf67ecdcfaae0795bbc10148b74c5c43a7014d0dd34e54cf4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:06:40 ---> job-cost.sh 22:06:40 lf-activate-venv: SKIPPING 22:06:40 INFO: No Stack... 22:06:40 INFO: Retrieving Pricing Info for: v3-standard-4 22:06:41 INFO: Archiving Costs [Pipeline] sh 22:06:42 + + cut -d,cat -f6 /w/workspace/app-functions-sdk-go/265/archives/cost.csv 22:06:42 [Pipeline] lock 22:06:42 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-265-stack-cost] 22:06:42 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-265-stack-cost] did not exist. Created. 22:06:42 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-265-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:06:42 /w/workspace/app-functions-sdk-go/265@tmp/durable-13596504/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:06:42 + echo total: 0.10999999940395355 [Pipeline] stash 22:06:42 Warning: overwriting stash ‘stack-cost’ 22:06:42 Stashed 1 file(s) [Pipeline] } 22:06:42 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-265-stack-cost] [Pipeline] // lock [Pipeline] } 22:06:42 $ docker stop --time=1 4f1e99efe09058baf67ecdcfaae0795bbc10148b74c5c43a7014d0dd34e54cf4 22:06:44 $ docker rm -f --volumes 4f1e99efe09058baf67ecdcfaae0795bbc10148b74c5c43a7014d0dd34e54cf4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 22:06:44 provisioning config files... 22:06:44 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config13377346210787545496tmp [Pipeline] { [Pipeline] sh 22:06:45 + set +x 22:06:45 + bash -s -- 22:06:45 + curl -s https://codecov.io/bash 22:06:45 22:06:45 _____ _ 22:06:45 / ____| | | 22:06:45 | | ___ __| | ___ ___ _____ __ 22:06:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:06:45 | |___| (_) | (_| | __/ (_| (_) \ V / 22:06:45 \_____\___/ \__,_|\___|\___\___/ \_/ 22:06:45 Bash-1.0.6 22:06:45 22:06:45 22:06:45 ==> git version 2.25.1 found 22:06:45 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 22:06:45 Release-Date: 2020-01-08 22:06:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:06:45 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:06:45 ==> Jenkins CI detected. 22:06:45 current dir:  /w/workspace/oundry_app-functions-sdk-go_main 22:06:45 project root: . 22:06:45 --> token set from env 22:06:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:06:45 ==> Running gcov in . (disable via -X gcov) 22:06:45 ==> Python coveragepy not found 22:06:45 ==> Searching for coverage reports in: 22:06:45 + . 22:06:45 -> Found 2 reports 22:06:45 ==> Detecting git/mercurial file structure 22:06:45 ==> Reading reports 22:06:45 + ./app-service-template/coverage.out bytes=3431 22:06:45 + ./coverage.out bytes=117166 22:06:45 ==> Appending adjustments 22:06:45 https://docs.codecov.io/docs/fixing-reports 22:06:45 + Found adjustments 22:06:45 ==> Gzipping contents 22:06:45 24K /tmp/codecov.Vnkn6L.gz 22:06:45 ==> Uploading reports 22:06:45 url: https://codecov.io 22:06:45 query: branch=main&commit=34e8d8f56fcfbe03d5009e32e986b9ce84575f3f&build=265&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F265%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:06:45 -> Pinging Codecov 22:06:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=main&commit=34e8d8f56fcfbe03d5009e32e986b9ce84575f3f&build=265&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F265%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:06:45 -> Uploading to 22:06:45 https://storage.googleapis.com/codecov/v4/raw/2023-06-13/3D8B5DFFC46A037C893635FACE044666/34e8d8f56fcfbe03d5009e32e986b9ce84575f3f/635be81b-f1d4-4cf2-8f2a-0d766cb97e4d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230613%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230613T220645Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fd24d527e39f1b302364417710e8080facaa3dc351e0a6180b3daba8c682da81 22:06:45 % Total % Received % Xferd Average Speed Time Time Time Current 22:06:45 Dload Upload Total Spent Left Speed 22:06:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20491 0 0 100 20491 0 99956 --:--:-- --:--:-- --:--:-- 99470 22:06:46 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/34e8d8f56fcfbe03d5009e32e986b9ce84575f3f [Pipeline] } 22:06:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:06:46 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:06:46 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:06:46 22:06:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:06:46 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:06:46 df9b9388f04a: Pulling fs layer 22:06:46 52dc419b0ee2: Pulling fs layer 22:06:46 25bc292e5bac: Pulling fs layer 22:06:46 114826534d7a: Pulling fs layer 22:06:46 4657fd5d0bcf: Pulling fs layer 22:06:46 6ad1cebc031e: Pulling fs layer 22:06:46 8a3aa393b2d8: Pulling fs layer 22:06:46 114826534d7a: Waiting 22:06:46 4657fd5d0bcf: Waiting 22:06:46 6ad1cebc031e: Waiting 22:06:46 8a3aa393b2d8: Waiting 22:06:46 25bc292e5bac: Verifying Checksum 22:06:46 25bc292e5bac: Download complete 22:06:46 52dc419b0ee2: Verifying Checksum 22:06:46 52dc419b0ee2: Download complete 22:06:46 4657fd5d0bcf: Verifying Checksum 22:06:46 df9b9388f04a: Download complete 22:06:47 6ad1cebc031e: Verifying Checksum 22:06:47 6ad1cebc031e: Download complete 22:06:47 df9b9388f04a: Pull complete 22:06:47 52dc419b0ee2: Pull complete 22:06:47 25bc292e5bac: Pull complete 22:06:47 114826534d7a: Verifying Checksum 22:06:47 114826534d7a: Download complete 22:06:47 8a3aa393b2d8: Verifying Checksum 22:06:47 8a3aa393b2d8: Download complete 22:06:50 114826534d7a: Pull complete 22:06:50 4657fd5d0bcf: Pull complete 22:06:51 6ad1cebc031e: Pull complete 22:06:54 8a3aa393b2d8: Pull complete 22:06:54 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:06:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:06:54 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:06:54 prd-ubuntu20.04-docker-8c-8g-18595 does not seem to be running inside a container 22:06:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 22:06:57 $ docker top d5b7aa520b8d24ff3429675a8f75f1070cd169501e9cde6bd3d1e7be5ed5a352 -eo pid,comm [Pipeline] { [Pipeline] echo 22:06:58 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-functions-sdk-go:main' [Pipeline] sh 22:06:58 + set -o pipefail 22:06:58 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-functions-sdk-go:main' 22:07:03 22:07:03 Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v3)... 22:07:03 22:07:03 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/899a6017-c938-46f1-adf7-2bd1b283a5ba/history/e32ca881-4b72-4f7c-98a1-b102cacd8179 22:07:03 22:07:03 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 22:07:03 22:07:03 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:07:03 22:07:03 22:07:03 A medium severity vulnerability was found in the Snyk CLI versions you are using. 22:07:03 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 22:07:03 More details here: https://snyk.co/ue1NS 22:07:03 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 22:07:03 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 22:07:03 $ docker stop --time=1 d5b7aa520b8d24ff3429675a8f75f1070cd169501e9cde6bd3d1e7be5ed5a352 22:07:06 $ docker rm -f --volumes d5b7aa520b8d24ff3429675a8f75f1070cd169501e9cde6bd3d1e7be5ed5a352 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 22:07:06 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:07:07 provisioning config files... 22:07:07 copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config7525471603258804123tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:07:07 --> edgex-publish-swagger.sh 22:07:07 === Publish openapi/v3 API === 22:07:07 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 22:07:07 [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v3/app-functions-sdk.yaml] 22:07:07 % Total % Received % Xferd Average Speed Time Time Time Current 22:07:07 Dload Upload Total Spent Left Speed 22:07:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11420 0 0 100 11420 0 18155 --:--:-- --:--:-- --:--:-- 18155 22:07:07 22:07:07 [Pipeline] } 22:07:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:07:08 + git log --format=format:%s -1 34e8d8f56fcfbe03d5009e32e986b9ce84575f3f [Pipeline] sh 22:07:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:07:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:07:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:07:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:07:08 prd-ubuntu20.04-docker-8c-8g-18595 does not seem to be running inside a container 22:07:08 $ 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 22:07:09 $ docker top e76da7f195e5542f22995310c70aa085a63b7833fab4e317da39ab09a4dbf231 -eo pid,comm 22:07:09 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). 22:07:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:07:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:07:09 [ssh-agent] Looking for ssh-agent implementation... 22:07:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:07:09 $ docker exec e76da7f195e5542f22995310c70aa085a63b7833fab4e317da39ab09a4dbf231 ssh-agent 22:07:09 SSH_AUTH_SOCK=/tmp/ssh-9ARgxejcle0H/agent.32 22:07:09 SSH_AGENT_PID=38 22:07:09 Running ssh-add (command line suppressed) 22:07:09 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_3050076129917889486.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_3050076129917889486.key) 22:07:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:07:10 + git semver tag 22:07:10 2023-06-13 22:07:10,396 [run_tag] DEBUG tag force:False 22:07:10 2023-06-13 22:07:10,397 [check_head_tag] DEBUG check head tag 22:07:10 2023-06-13 22:07:10,397 [execute] INFO git cat-file --batch-check 22:07:10 2023-06-13 22:07:10,397 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) 22:07:10 2023-06-13 22:07:10,401 [execute] INFO git cat-file --batch 22:07:10 2023-06-13 22:07:10,402 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) 22:07:10 2023-06-13 22:07:10,411 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 22:07:10 2023-06-13 22:07:10,411 [execute] INFO git tag -a v3.1.0-dev.2 -m v3.1.0-dev.2 22:07:10 2023-06-13 22:07:10,411 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.2', '-m', 'v3.1.0-dev.2'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) 22:07:10 2023-06-13 22:07:10,416 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 22:07:10 3.1.0-dev.2 [Pipeline] } 22:07:10 $ docker exec --env ******** --env ******** e76da7f195e5542f22995310c70aa085a63b7833fab4e317da39ab09a4dbf231 ssh-agent -k 22:07:10 unset SSH_AUTH_SOCK; 22:07:10 unset SSH_AGENT_PID; 22:07:10 echo Agent pid 38 killed; 22:07:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:07:10 + git semver [Pipeline] } 22:07:11 $ docker stop --time=1 e76da7f195e5542f22995310c70aa085a63b7833fab4e317da39ab09a4dbf231 22:07:12 $ docker rm -f --volumes e76da7f195e5542f22995310c70aa085a63b7833fab4e317da39ab09a4dbf231 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:07:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:07:12 22:07:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:07:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:07:13 0.23.1-centos7: Pulling from edgex-lftools 22:07:13 ab5ef0e58194: Pulling fs layer 22:07:13 9712f1f96733: Pulling fs layer 22:07:13 63f879dbbcfc: Pulling fs layer 22:07:13 0d9ebad4ef96: Pulling fs layer 22:07:13 e9a5061849ea: Pulling fs layer 22:07:13 d747dcd14b5f: Pulling fs layer 22:07:13 2de7ff778b66: Pulling fs layer 22:07:13 0d9ebad4ef96: Waiting 22:07:13 e9a5061849ea: Waiting 22:07:13 d747dcd14b5f: Waiting 22:07:13 2de7ff778b66: Waiting 22:07:13 9712f1f96733: Verifying Checksum 22:07:13 63f879dbbcfc: Verifying Checksum 22:07:13 63f879dbbcfc: Download complete 22:07:13 e9a5061849ea: Verifying Checksum 22:07:13 e9a5061849ea: Download complete 22:07:13 d747dcd14b5f: Download complete 22:07:13 0d9ebad4ef96: Verifying Checksum 22:07:13 0d9ebad4ef96: Download complete 22:07:13 ab5ef0e58194: Verifying Checksum 22:07:13 ab5ef0e58194: Download complete 22:07:13 2de7ff778b66: Verifying Checksum 22:07:13 2de7ff778b66: Download complete 22:07:16 ab5ef0e58194: Pull complete 22:07:16 9712f1f96733: Pull complete 22:07:17 63f879dbbcfc: Pull complete 22:07:21 0d9ebad4ef96: Pull complete 22:07:21 e9a5061849ea: Pull complete 22:07:21 d747dcd14b5f: Pull complete 22:07:22 2de7ff778b66: Pull complete 22:07:22 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:07:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:07:22 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:07:22 prd-ubuntu20.04-docker-8c-8g-18595 does not seem to be running inside a container 22:07:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 22:07:27 $ docker top 9f8a9b19ee8169f018769d0616382e21b117b78f421b4316473eead0b32c3d9b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:07:27 provisioning config files... 22:07:27 copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config13395930741725208384tmp 22:07:27 copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config15519907452565822855tmp 22:07:27 copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config3246427550686324127tmp [Pipeline] { [Pipeline] echo 22:07:27 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:07:28 ---> sigul-configuration.sh 22:07:28 gpg: directory `/root/.gnupg' created 22:07:28 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:07:28 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:07:28 gpg: keyring `/root/.gnupg/secring.gpg' created 22:07:28 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:07:28 gpg: CAST5 encrypted data 22:07:28 gpg: encrypted with 1 passphrase 22:07:28 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:07:28 + mkdir /home/jenkins 22:07:28 + mkdir /home/jenkins/sigul [Pipeline] sh 22:07:28 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 22:07:28 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:07:29 ---> sigul-install.sh 22:07:29 Sigul already installed; skipping installation. [Pipeline] sh 22:07:29 + git tag --list 22:07:29 v0.1.0 22:07:29 v0.1.1 22:07:29 v1.0.0 22:07:29 v1.1.0 22:07:29 v1.2.0 22:07:29 v1.3.0 22:07:29 v1.3.1 22:07:29 v2.0.0 22:07:29 v2.0.1 22:07:29 v2.1.0 22:07:29 v2.1.1 22:07:29 v2.1.2 22:07:29 v2.2.0 22:07:29 v2.3 22:07:29 v2.3.0 22:07:29 v2.3.1 22:07:29 v3.0 22:07:29 v3.0.0 22:07:29 v3.1.0-dev.1 22:07:29 v3.1.0-dev.2 [Pipeline] sh 22:07:29 + lftools sign git-tag v3.1.0-dev.2 22:07:30 Signing Git tag with Sigul... 22:07:30 Signing v3.1.0-dev.2 [Pipeline] echo 22:07:30 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:07:30 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:07:30 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:07:30 $ docker stop --time=1 9f8a9b19ee8169f018769d0616382e21b117b78f421b4316473eead0b32c3d9b 22:07:32 $ docker rm -f --volumes 9f8a9b19ee8169f018769d0616382e21b117b78f421b4316473eead0b32c3d9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:07:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:07:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:07:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:07:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:07:32 prd-ubuntu20.04-docker-8c-8g-18595 does not seem to be running inside a container 22:07:32 $ 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 22:07:33 $ docker top 82cebfe7f4898224db0f5cfc7f76934e76aee6c487b86a2690cf2433cfb5268a -eo pid,comm 22:07:33 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). 22:07:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:07:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:07:33 [ssh-agent] Looking for ssh-agent implementation... 22:07:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:07:33 $ docker exec 82cebfe7f4898224db0f5cfc7f76934e76aee6c487b86a2690cf2433cfb5268a ssh-agent 22:07:33 SSH_AUTH_SOCK=/tmp/ssh-TiOQgolsedZv/agent.32 22:07:33 SSH_AGENT_PID=38 22:07:33 Running ssh-add (command line suppressed) 22:07:33 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_11648134495604765519.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_11648134495604765519.key) 22:07:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:07:34 + git semver bump pre 22:07:34 2023-06-13 22:07:34,256 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 22:07:34 2023-06-13 22:07:34,256 [bump_version] DEBUG bumping version:3.1.0-dev.2 on axis:pre with prefix:dev 22:07:34 2023-06-13 22:07:34,256 [bump_version] DEBUG bumped version:3.1.0-dev.3 22:07:34 2023-06-13 22:07:34,256 [write_version] DEBUG write version:3.1.0-dev.3 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:True 22:07:34 2023-06-13 22:07:34,256 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 22:07:34 2023-06-13 22:07:34,256 [write_file] DEBUG write to file:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main 22:07:34 2023-06-13 22:07:34,259 [execute] INFO git cat-file --batch-check 22:07:34 2023-06-13 22:07:34,259 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:07:34 2023-06-13 22:07:34,265 [execute] INFO git cat-file --batch 22:07:34 2023-06-13 22:07:34,265 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:07:34 2023-06-13 22:07:34,271 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 22:07:34 3.1.0-dev.3 [Pipeline] } 22:07:34 $ docker exec --env ******** --env ******** 82cebfe7f4898224db0f5cfc7f76934e76aee6c487b86a2690cf2433cfb5268a ssh-agent -k 22:07:34 unset SSH_AUTH_SOCK; 22:07:34 unset SSH_AGENT_PID; 22:07:34 echo Agent pid 38 killed; 22:07:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:07:34 + git semver [Pipeline] } 22:07:35 $ docker stop --time=1 82cebfe7f4898224db0f5cfc7f76934e76aee6c487b86a2690cf2433cfb5268a 22:07:36 $ docker rm -f --volumes 82cebfe7f4898224db0f5cfc7f76934e76aee6c487b86a2690cf2433cfb5268a [Pipeline] // withDockerContainer [Pipeline] sh 22:07:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:07:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:07:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:07:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:07:37 prd-ubuntu20.04-docker-8c-8g-18595 does not seem to be running inside a container 22:07:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:07:37 $ docker top f05d7141325bf7cbefc3c70a93da0ea8ea7bbc354df677029239daf16db60b86 -eo pid,comm 22:07:37 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). 22:07:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:07:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:07:37 [ssh-agent] Looking for ssh-agent implementation... 22:07:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:07:37 $ docker exec f05d7141325bf7cbefc3c70a93da0ea8ea7bbc354df677029239daf16db60b86 ssh-agent 22:07:37 SSH_AUTH_SOCK=/tmp/ssh-A5yG8IAdNvP3/agent.31 22:07:37 SSH_AGENT_PID=37 22:07:37 Running ssh-add (command line suppressed) 22:07:37 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1541516323682805205.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1541516323682805205.key) 22:07:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:07:38 + git semver push 22:07:38 2023-06-13 22:07:38,338 [run_push] DEBUG push 22:07:38 2023-06-13 22:07:38,338 [execute] INFO git cat-file --batch-check 22:07:38 2023-06-13 22:07:38,339 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:07:38 2023-06-13 22:07:38,343 [execute] INFO git rev-list b7249aab234b566935706e570f8c379581ac76a6 -- 22:07:38 2023-06-13 22:07:38,343 [execute] DEBUG Popen(['git', 'rev-list', 'b7249aab234b566935706e570f8c379581ac76a6', '--'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:07:38 2023-06-13 22:07:38,361 [execute] INFO git fetch -v origin 22:07:38 2023-06-13 22:07:38,361 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 22:07:38 2023-06-13 22:07:38,847 [run_push] DEBUG no remote changes detected 22:07:38 2023-06-13 22:07:38,847 [execute] INFO git push origin semver 22:07:38 2023-06-13 22:07:38,848 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:07:39 2023-06-13 22:07:39,699 [run_push] DEBUG push all version tags 22:07:39 2023-06-13 22:07:39,699 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:07:39 2023-06-13 22:07:39,700 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) 22:07:40 2023-06-13 22:07:40,420 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 22:07:40 3.1.0-dev.3 [Pipeline] } 22:07:40 $ docker exec --env ******** --env ******** f05d7141325bf7cbefc3c70a93da0ea8ea7bbc354df677029239daf16db60b86 ssh-agent -k 22:07:40 unset SSH_AUTH_SOCK; 22:07:40 unset SSH_AGENT_PID; 22:07:40 echo Agent pid 37 killed; 22:07:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:07:40 + git semver [Pipeline] } 22:07:41 $ docker stop --time=1 f05d7141325bf7cbefc3c70a93da0ea8ea7bbc354df677029239daf16db60b86 22:07:42 $ docker rm -f --volumes f05d7141325bf7cbefc3c70a93da0ea8ea7bbc354df677029239daf16db60b86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:07:43 + [ -d /w/workspace/oundry_app-functions-sdk-go_main/archives ] 22:07:43 + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives 22:07:43 total 16 22:07:43 drwxr-xr-x 3 root root 4096 Jun 13 21:57 . 22:07:43 drwxrwxr-x 10 jenkins jenkins 4096 Jun 13 22:07 .. 22:07:43 drwxr-xr-x 2 root root 4096 Jun 13 21:57 cost 22:07:43 -rw-r--r-- 1 root root 92 Jun 13 21:57 cost.csv 22:07:43 + sudo chown -R jenkins:jenkins /w/workspace/oundry_app-functions-sdk-go_main/archives 22:07:43 + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives 22:07:43 total 16 22:07:43 drwxr-xr-x 3 jenkins jenkins 4096 Jun 13 21:57 . 22:07:43 drwxrwxr-x 10 jenkins jenkins 4096 Jun 13 22:07 .. 22:07:43 drwxr-xr-x 2 jenkins jenkins 4096 Jun 13 21:57 cost 22:07:43 -rw-r--r-- 1 jenkins jenkins 92 Jun 13 21:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:07:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:07:44 ---> package-listing.sh 22:07:44 ++ facter osfamily 22:07:44 ++ tr '[:upper:]' '[:lower:]' 22:07:44 + OS_FAMILY=debian 22:07:44 + workspace=/w/workspace/oundry_app-functions-sdk-go_main 22:07:44 + START_PACKAGES=/tmp/packages_start.txt 22:07:44 + END_PACKAGES=/tmp/packages_end.txt 22:07:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:07:44 + PACKAGES=/tmp/packages_start.txt 22:07:44 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 22:07:44 + PACKAGES=/tmp/packages_end.txt 22:07:44 + case "${OS_FAMILY}" in 22:07:44 + dpkg -l 22:07:44 + grep '^ii' 22:07:44 + '[' -f /tmp/packages_start.txt ']' 22:07:44 + '[' -f /tmp/packages_end.txt ']' 22:07:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:07:44 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 22:07:44 + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ 22:07:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_app-functions-sdk-go_main/archives/ [Pipeline] echo 22:07:44 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_app-functions-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:07:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:07:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:07:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:07:45 prd-ubuntu20.04-docker-8c-8g-18595 does not seem to be running inside a container 22:07:45 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_app-functions-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:07:45 $ docker top 639a1d088681027007be80563ff3408a9f6e8f1597d8390a8ab385f2967a10cb -eo pid,comm [Pipeline] { [Pipeline] sh 22:07:45 + touch /tmp/pre-build-complete [Pipeline] sh 22:07:46 + mkdir -p /var/log/sysstat [Pipeline] sh 22:07:46 + ls /var/log/sa-host 22:07:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:07:46 provisioning config files... 22:07:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config2689542299310758557tmp [Pipeline] { [Pipeline] echo 22:07:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:07:46 ---> create-netrc.sh [Pipeline] } 22:07:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:07:47 ---> python-tools-install.sh [Pipeline] echo 22:07:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:07:47 ---> sudo-logs.sh 22:07:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:07:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:07:47 ---> job-cost.sh 22:07:47 lf-activate-venv: SKIPPING 22:07:47 DEBUG: total: 0.2199999988079071 22:07:47 INFO: Retrieving Stack Cost... 22:07:48 INFO: Retrieving Pricing Info for: v3-standard-8 22:07:48 INFO: Archiving Costs [Pipeline] echo 22:07:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:07:49 ---> logs-deploy.sh 22:07:49 lf-activate-venv: SKIPPING 22:07:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/265 22:07:49 INFO: archiving workspace using pattern(s): 22:07:50 Archives upload complete. 22:07:50 INFO: archiving logs to Nexus