Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ee79f075673e0cb5bd207a4f5e740d8162669990 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-ssh17969743524056433970.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh16307417727919361845.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh11021297901957139026.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh12203413221889519194.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-ssh11201743901364408056.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/v2]] ========================================================= [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.18 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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-29971 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 ee79f075673e0cb5bd207a4f5e740d8162669990 (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 ee79f075673e0cb5bd207a4f5e740d8162669990 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 (#1174)" > git rev-list --no-walk 77f92e985df5089e60076801efbb7777d210620f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:57:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:57:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:57:00 ========================================================= 16:57:00 EdgeX Global Pipelines Version Info 16:57:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:57:01 ------------------- 16:57:01 stable info: 16:57:01 ------------------- 16:57:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:57:01 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 16:57:01 Message: update stable to v1.0.239 16:57:02 ------------------- 16:57:02 experimental info: 16:57:02 ------------------- 16:57:02 Commited By: **** collab-it+edgex@linuxfoundation.org 16:57:02 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 16:57:02 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:57:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 16:57:02 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 16:57:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:57:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:57:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:57:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:57:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:57:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:57:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:57:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:57:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:57:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 16:57:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:57:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:57:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 16:57:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:57:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:57:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:57:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:57:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:57:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:57:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 16:57:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:57:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:57:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 16:57:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:57:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:57:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:57:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:57:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:57:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ee79f075673e0cb5bd207a4f5e740d8162669990 [Pipeline] echo 16:57:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ee79f07 [Pipeline] echo 16:57:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:57:03 + git rev-list -1 --merges ee79f075673e0cb5bd207a4f5e740d8162669990~1..ee79f075673e0cb5bd207a4f5e740d8162669990 [Pipeline] echo 16:57:03 -----------> git rev-list -1 --merges ee79f075673e0cb5bd207a4f5e740d8162669990~1..ee79f075673e0cb5bd207a4f5e740d8162669990 ee79f075673e0cb5bd207a4f5e740d8162669990 [false] [Pipeline] sh 16:57:03 + git log --format=format:%s -1 ee79f075673e0cb5bd207a4f5e740d8162669990 [Pipeline] echo 16:57:03 ========================================================= 16:57:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:57:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:57:03 + git log --format=format:%s -1 ee79f075673e0cb5bd207a4f5e740d8162669990 [Pipeline] echo 16:57:03 [semverPrep] GIT_COMMIT: ee79f075673e0cb5bd207a4f5e740d8162669990, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 (#1174) [Pipeline] echo 16:57:03 [semverPrep] This is not a build commit. [Pipeline] sh 16:57:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:57:04 + grep -v github /etc/ssh/ssh_known_hosts 16:57:04 + [ -e /tmp/ssh_known_hosts ] 16:57:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:57:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:57:04 + sudo tee -a /etc/ssh/ssh_known_hosts 16:57:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:57:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:57:04 16:57:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:57:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:57:05 0.1.4: Pulling from edgex-devops/py-git-semver 16:57:05 b85a868b505f: Pulling fs layer 16:57:05 e2be974225ed: Pulling fs layer 16:57:05 339a4e72a1f5: Pulling fs layer 16:57:05 988bab9f4d93: Pulling fs layer 16:57:05 1469e6f7b9e6: Pulling fs layer 16:57:05 eaf3925da568: Pulling fs layer 16:57:05 bab4dde63d76: Pulling fs layer 16:57:05 bde34c3a00c8: Pulling fs layer 16:57:05 b352a97aabf1: Pulling fs layer 16:57:05 4872d77fe225: Pulling fs layer 16:57:05 5851b861e8e6: Pulling fs layer 16:57:05 988bab9f4d93: Waiting 16:57:05 1469e6f7b9e6: Waiting 16:57:05 bde34c3a00c8: Waiting 16:57:05 eaf3925da568: Waiting 16:57:05 b352a97aabf1: Waiting 16:57:05 bab4dde63d76: Waiting 16:57:05 5851b861e8e6: Waiting 16:57:05 e2be974225ed: Download complete 16:57:05 988bab9f4d93: Verifying Checksum 16:57:05 988bab9f4d93: Download complete 16:57:05 1469e6f7b9e6: Verifying Checksum 16:57:05 1469e6f7b9e6: Download complete 16:57:05 eaf3925da568: Download complete 16:57:05 339a4e72a1f5: Verifying Checksum 16:57:05 339a4e72a1f5: Download complete 16:57:05 bde34c3a00c8: Download complete 16:57:05 b352a97aabf1: Download complete 16:57:05 4872d77fe225: Verifying Checksum 16:57:05 4872d77fe225: Download complete 16:57:05 5851b861e8e6: Verifying Checksum 16:57:05 5851b861e8e6: Download complete 16:57:05 b85a868b505f: Download complete 16:57:05 bab4dde63d76: Verifying Checksum 16:57:05 bab4dde63d76: Download complete 16:57:07 b85a868b505f: Pull complete 16:57:07 e2be974225ed: Pull complete 16:57:07 339a4e72a1f5: Pull complete 16:57:07 988bab9f4d93: Pull complete 16:57:08 1469e6f7b9e6: Pull complete 16:57:08 eaf3925da568: Pull complete 16:57:10 bab4dde63d76: Pull complete 16:57:10 bde34c3a00c8: Pull complete 16:57:10 b352a97aabf1: Pull complete 16:57:10 4872d77fe225: Pull complete 16:57:10 5851b861e8e6: Pull complete 16:57:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:57:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:57:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:57:10 prd-ubuntu20.04-docker-8c-8g-29971 does not seem to be running inside a container 16:57:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:57:13 $ docker top 2f7a944ecca7ff76062ddde79cdcce996088ea12364b2fcf6e2503ff5fcc760d -eo pid,comm 16:57:13 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). 16:57:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:57:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:57:13 [ssh-agent] Looking for ssh-agent implementation... 16:57:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:57:13 $ docker exec 2f7a944ecca7ff76062ddde79cdcce996088ea12364b2fcf6e2503ff5fcc760d ssh-agent 16:57:13 SSH_AUTH_SOCK=/tmp/ssh-RnKUIVWfkfDl/agent.33 16:57:13 SSH_AGENT_PID=40 16:57:13 Running ssh-add (command line suppressed) 16:57:13 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_584556459183397826.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_584556459183397826.key) 16:57:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:57:14 + git tag --points-at HEAD [Pipeline] } 16:57:14 $ docker exec --env ******** --env ******** 2f7a944ecca7ff76062ddde79cdcce996088ea12364b2fcf6e2503ff5fcc760d ssh-agent -k 16:57:14 unset SSH_AUTH_SOCK; 16:57:14 unset SSH_AGENT_PID; 16:57:14 echo Agent pid 40 killed; 16:57:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:57:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:57:14 [ssh-agent] Looking for ssh-agent implementation... 16:57:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:57:14 $ docker exec 2f7a944ecca7ff76062ddde79cdcce996088ea12364b2fcf6e2503ff5fcc760d ssh-agent 16:57:14 SSH_AUTH_SOCK=/tmp/ssh-VNXxg7EBLHih/agent.74 16:57:14 SSH_AGENT_PID=80 16:57:14 Running ssh-add (command line suppressed) 16:57:14 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_447124871475037070.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_447124871475037070.key) 16:57:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:57:15 + git semver init 16:57:15 2022-09-20 16:57:15,278 [run_init] DEBUG init version:0.0.0 force:False 16:57:15 2022-09-20 16:57:15,279 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_app-functions-sdk-go_main/.semver 16:57:15 2022-09-20 16:57:15,280 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-functions-sdk-go.git /w/workspace/oundry_app-functions-sdk-go_main/.semver 16:57:15 2022-09-20 16:57:15,280 [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) 16:57:17 2022-09-20 16:57:16,959 [append_file] DEBUG append to file:/w/workspace/oundry_app-functions-sdk-go_main/.git/info/exclude 16:57:17 2022-09-20 16:57:16,960 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:False 16:57:17 2022-09-20 16:57:16,960 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 16:57:17 2022-09-20 16:57:16,960 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 16:57:17 2.3.0-dev.40 [Pipeline] } 16:57:17 $ docker exec --env ******** --env ******** 2f7a944ecca7ff76062ddde79cdcce996088ea12364b2fcf6e2503ff5fcc760d ssh-agent -k 16:57:17 unset SSH_AUTH_SOCK; 16:57:17 unset SSH_AGENT_PID; 16:57:17 echo Agent pid 80 killed; 16:57:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:57:17 + git semver [Pipeline] } 16:57:17 $ docker stop --time=1 2f7a944ecca7ff76062ddde79cdcce996088ea12364b2fcf6e2503ff5fcc760d 16:57:19 $ docker rm -f 2f7a944ecca7ff76062ddde79cdcce996088ea12364b2fcf6e2503ff5fcc760d [Pipeline] // withDockerContainer [Pipeline] sh 16:57:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:57:19 Stashed 1 file(s) [Pipeline] echo 16:57:19 [edgeXSemver]: initialized semver on version 2.3.0-dev.40 [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 16:57:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:57:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:57:20 ========================================================= 16:57:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:57:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 16:57:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:57:20 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:57:20 2408cc74d12b: Pulling fs layer 16:57:20 ea60b727a1ce: Pulling fs layer 16:57:20 30c4a7721957: Pulling fs layer 16:57:20 370296b7ddb6: Pulling fs layer 16:57:20 7c6cee850709: Pulling fs layer 16:57:20 370296b7ddb6: Waiting 16:57:20 39a5fcdaea64: Pulling fs layer 16:57:20 d94ebbe4e438: Pulling fs layer 16:57:20 bcfd1f05c69d: Pulling fs layer 16:57:20 7c6cee850709: Waiting 16:57:20 39a5fcdaea64: Waiting 16:57:20 bcfd1f05c69d: Waiting 16:57:20 59ccb84bbe0f: Pulling fs layer 16:57:20 59ccb84bbe0f: Waiting 16:57:20 30c4a7721957: Verifying Checksum 16:57:20 30c4a7721957: Download complete 16:57:20 ea60b727a1ce: Download complete 16:57:20 7c6cee850709: Verifying Checksum 16:57:20 7c6cee850709: Download complete 16:57:20 39a5fcdaea64: Download complete 16:57:20 2408cc74d12b: Verifying Checksum 16:57:20 2408cc74d12b: Download complete 16:57:20 d94ebbe4e438: Download complete 16:57:20 2408cc74d12b: Pull complete 16:57:21 ea60b727a1ce: Pull complete 16:57:21 30c4a7721957: Pull complete 16:57:21 59ccb84bbe0f: Verifying Checksum 16:57:21 59ccb84bbe0f: Download complete 16:57:21 bcfd1f05c69d: Verifying Checksum 16:57:21 bcfd1f05c69d: Download complete 16:57:21 370296b7ddb6: Verifying Checksum 16:57:21 370296b7ddb6: Download complete 16:57:25 370296b7ddb6: Pull complete 16:57:25 7c6cee850709: Pull complete 16:57:25 39a5fcdaea64: Pull complete 16:57:25 d94ebbe4e438: Pull complete 16:57:28 bcfd1f05c69d: Pull complete 16:57:28 59ccb84bbe0f: Pull complete 16:57:28 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 16:57:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:57:28 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] sh 16:57:29 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:57:29 + docker inspect -f . ci-base-image-x86_64 16:57:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:57:29 prd-ubuntu20.04-docker-8c-8g-29971 does not seem to be running inside a container 16:57:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:57:33 $ docker top 3877ffd29215b67e7b7f0cfc127fdf9e3a726eb8fcce8cd085bc2aa265624ff2 -eo pid,comm [Pipeline] { [Pipeline] sh 16:57:33 + go version 16:57:33 go version go1.18.3 linux/amd64 [Pipeline] } 16:57:33 $ docker stop --time=1 3877ffd29215b67e7b7f0cfc127fdf9e3a726eb8fcce8cd085bc2aa265624ff2 16:57:34 $ docker rm -f 3877ffd29215b67e7b7f0cfc127fdf9e3a726eb8fcce8cd085bc2aa265624ff2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:57:35 Still waiting to schedule task 16:57:35 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 16:57:35 + docker inspect -f . ci-base-image-x86_64 16:57:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:57:35 prd-ubuntu20.04-docker-8c-8g-29971 does not seem to be running inside a container 16:57:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:57:35 $ docker top 5a8c104afc179a952c81f3dcccfb60b5dd2a94cadd82e4c98ee797540f8c48c7 -eo pid,comm [Pipeline] { [Pipeline] sh 16:57:36 + git config --global --add safe.directory /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] fileExists [Pipeline] sh 16:57:36 + make test 16:57:36 make -C ./app-service-template build 16:57:36 make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 16:57:36 go mod tidy 16:57:36 go: downloading github.com/stretchr/testify v1.8.0 16:57:36 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 16:57:36 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 16:57:36 go: downloading github.com/google/uuid v1.3.0 16:57:36 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.3.0-dev.16 16:57:36 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.3.0-dev.15 16:57:36 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 16:57:36 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.5 16:57:36 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 16:57:36 go: downloading github.com/davecgh/go-spew v1.1.1 16:57:36 go: downloading github.com/pmezard/go-difflib v1.0.0 16:57:36 go: downloading github.com/stretchr/objx v0.4.0 16:57:36 go: downloading gopkg.in/yaml.v3 v3.0.1 16:57:36 go: downloading github.com/go-kit/log v0.2.0 16:57:36 go: downloading github.com/go-playground/validator/v10 v10.10.1 16:57:36 go: downloading github.com/gorilla/mux v1.8.0 16:57:36 go: downloading github.com/hashicorp/go-multierror v1.1.1 16:57:36 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.3.0-dev.7 16:57:36 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 16:57:36 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 16:57:36 go: downloading github.com/mitchellh/copystructure v1.0.0 16:57:36 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 16:57:36 go: downloading github.com/pelletier/go-toml v1.9.5 16:57:36 go: downloading github.com/go-logfmt/logfmt v0.5.1 16:57:36 go: downloading github.com/gorilla/websocket v1.4.2 16:57:36 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 16:57:36 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 16:57:36 go: downloading github.com/hashicorp/errwrap v1.0.0 16:57:36 go: downloading github.com/hashicorp/consul/api v1.9.1 16:57:36 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 16:57:36 go: downloading github.com/mitchellh/reflectwalk v1.0.0 16:57:36 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.1 16:57:36 go: downloading github.com/nats-io/nats.go v1.16.0 16:57:36 go: downloading github.com/go-redis/redis/v7 v7.3.0 16:57:36 go: downloading github.com/pebbe/zmq4 v1.2.7 16:57:36 go: downloading github.com/go-playground/universal-translator v0.18.0 16:57:36 go: downloading github.com/leodido/go-urn v1.2.1 16:57:36 go: downloading golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e 16:57:36 go: downloading golang.org/x/text v0.3.7 16:57:36 go: downloading github.com/go-playground/locales v0.14.0 16:57:36 go: downloading github.com/x448/float16 v0.8.4 16:57:36 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:57:36 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 16:57:36 go: downloading github.com/hashicorp/go-hclog v0.12.0 16:57:36 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 16:57:36 go: downloading github.com/hashicorp/serf v0.9.5 16:57:36 go: downloading github.com/mitchellh/mapstructure v1.5.0 16:57:37 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 16:57:37 go: downloading github.com/go-playground/assert/v2 v2.0.1 16:57:37 go: downloading github.com/hashicorp/consul/sdk v0.8.0 16:57:37 go: downloading github.com/hashicorp/go-uuid v1.0.1 16:57:37 go: downloading github.com/onsi/ginkgo v1.10.1 16:57:37 go: downloading github.com/onsi/gomega v1.7.0 16:57:37 go: downloading github.com/Microsoft/go-winio v0.5.2 16:57:37 go: downloading github.com/zeebo/errs v1.2.2 16:57:37 go: downloading google.golang.org/grpc v1.46.0 16:57:37 go: downloading github.com/nats-io/nkeys v0.3.0 16:57:37 go: downloading github.com/nats-io/nuid v1.0.1 16:57:37 go: downloading github.com/nats-io/nats-server/v2 v2.7.4 16:57:37 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 16:57:37 go: downloading golang.org/x/sys v0.0.0-20220610221304-9f5ed59c137d 16:57:37 go: downloading github.com/fatih/color v1.9.0 16:57:37 go: downloading github.com/mattn/go-colorable v0.1.12 16:57:37 go: downloading github.com/mattn/go-isatty v0.0.14 16:57:37 go: downloading github.com/mitchellh/go-homedir v1.1.0 16:57:37 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:57:37 go: downloading github.com/kr/pretty v0.3.0 16:57:37 go: downloading github.com/pkg/errors v0.9.1 16:57:37 go: downloading github.com/hashicorp/go-msgpack v0.5.3 16:57:37 go: downloading github.com/hashicorp/memberlist v0.2.2 16:57:37 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 16:57:37 go: downloading google.golang.org/protobuf v1.28.0 16:57:37 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 16:57:37 go: downloading github.com/golang/protobuf v1.5.2 16:57:37 go: downloading github.com/google/go-cmp v0.5.6 16:57:37 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 16:57:37 go: downloading github.com/klauspost/compress v1.15.9 16:57:37 go: downloading github.com/minio/highwayhash v1.0.2 16:57:37 go: downloading github.com/nats-io/jwt/v2 v2.3.0 16:57:37 go: downloading golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 16:57:37 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 16:57:37 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 16:57:37 go: downloading github.com/kr/text v0.2.0 16:57:37 go: downloading github.com/rogpeppe/go-internal v1.8.0 16:57:37 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 16:57:37 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 16:57:37 go: downloading github.com/miekg/dns v1.1.26 16:57:37 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 16:57:37 go: downloading github.com/hpcloud/tail v1.0.0 16:57:37 go: downloading gopkg.in/yaml.v2 v2.4.0 16:57:37 go: downloading github.com/hashicorp/golang-lru v0.5.0 16:57:37 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 16:57:37 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 16:57:37 go: downloading gopkg.in/fsnotify.v1 v1.4.7 16:57:40 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.3.0-dev.16 16:57:40 go: downloading github.com/nats-io/nats.go v1.17.0 16:57:40 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o new-app-service 16:57:58 make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 16:57:58 make -C ./app-service-template test 16:57:58 make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 16:57:58 CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... 16:58:16 ok new-app-service 0.068s coverage: 48.1% of statements 16:58:16 ? new-app-service/config [no test files] 16:58:16 ok new-app-service/functions 0.044s 16:58:16 CGO_ENABLED=1 go vet ./... 16:58:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:58:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:58:24 ./bin/test-attribution-txt.sh 16:58:24 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 16:58:24 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 16:58:24 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 16:58:24 make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 16:58:24 CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:58:24 go: downloading github.com/gomodule/redigo v1.8.9 16:58:24 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 16:58:28 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.117s coverage: 60.4% of statements 16:58:28 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.116s coverage: 93.9% of statements 16:58:28 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 16:58:28 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.107s coverage: 76.5% of statements 16:58:28 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 16:58:28 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.092s coverage: 88.7% of statements 16:58:28 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.048s coverage: 100.0% of statements 16:58:28 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.168s coverage: 78.5% of statements 16:58:28 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 16:58:28 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 16:58:28 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.080s coverage: 97.3% of statements 16:58:28 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 16:58:28 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] 16:58:28 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.061s coverage: 82.8% of statements 16:58:28 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] 16:58:28 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.702s coverage: 81.5% of statements 16:58:28 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] 16:58:28 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] 16:58:28 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.076s coverage: 28.7% of statements 16:58:28 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] 16:58:28 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.066s coverage: 14.0% of statements 16:58:28 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.047s coverage: 27.3% of statements 16:58:28 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 16:58:28 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 16:58:28 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.073s coverage: 51.4% of statements 16:58:54 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.137s coverage: 75.5% of statements 16:58:54 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.059s coverage: 94.4% of statements 16:58:54 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:58:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:58:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:59:02 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [Pipeline] echo 16:59:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:59:02 $ docker stop --time=1 5a8c104afc179a952c81f3dcccfb60b5dd2a94cadd82e4c98ee797540f8c48c7 16:59:04 $ docker rm -f 5a8c104afc179a952c81f3dcccfb60b5dd2a94cadd82e4c98ee797540f8c48c7 [Pipeline] // withDockerContainer [Pipeline] sh 16:59:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:59:05 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:59:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:59:05 16:59:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:59:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:59:06 latest: Pulling from edgex-lftools-log-publisher 16:59:06 5eb5b503b376: Pulling fs layer 16:59:06 5c69ac0246d0: Pulling fs layer 16:59:06 ec43610c2a17: Pulling fs layer 16:59:06 3a2ae6a8a46f: Pulling fs layer 16:59:06 33b1e0a273af: Pulling fs layer 16:59:06 3a2ae6a8a46f: Waiting 16:59:06 5d3b04190fa2: Pulling fs layer 16:59:06 2f39f015ded8: Pulling fs layer 16:59:06 33b1e0a273af: Waiting 16:59:06 5d3b04190fa2: Waiting 16:59:06 5c69ac0246d0: Verifying Checksum 16:59:06 5c69ac0246d0: Download complete 16:59:06 3a2ae6a8a46f: Verifying Checksum 16:59:06 3a2ae6a8a46f: Download complete 16:59:06 33b1e0a273af: Verifying Checksum 16:59:06 33b1e0a273af: Download complete 16:59:06 5d3b04190fa2: Verifying Checksum 16:59:06 5d3b04190fa2: Download complete 16:59:06 ec43610c2a17: Verifying Checksum 16:59:06 ec43610c2a17: Download complete 16:59:06 5eb5b503b376: Verifying Checksum 16:59:06 5eb5b503b376: Download complete 16:59:06 2f39f015ded8: Download complete 16:59:07 5eb5b503b376: Pull complete 16:59:07 5c69ac0246d0: Pull complete 16:59:08 ec43610c2a17: Pull complete 16:59:08 3a2ae6a8a46f: Pull complete 16:59:08 33b1e0a273af: Pull complete 16:59:08 5d3b04190fa2: Pull complete 16:59:13 2f39f015ded8: Pull complete 16:59:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:59:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:59:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:59:14 prd-ubuntu20.04-docker-8c-8g-29971 does not seem to be running inside a container 16:59:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:59:16 $ docker top 4f2ff956860157b8279733ba8474814309551428555e6c39585edc2917b0b94b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:59:16 ---> job-cost.sh 16:59:16 lf-activate-venv: SKIPPING 16:59:16 INFO: No Stack... 16:59:16 INFO: Retrieving Pricing Info for: v3-standard-8 16:59:17 INFO: Archiving Costs [Pipeline] sh 16:59:17 + cat /w/workspace/oundry_app-functions-sdk-go_main/archives/cost.csv 16:59:17 + cut -d, -f6 [Pipeline] lock 16:59:17 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-161-stack-cost] 16:59:17 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-161-stack-cost] did not exist. Created. 16:59:17 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-161-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:59:17 + echo total: 0.2199999988079071 [Pipeline] stash 16:59:18 Stashed 1 file(s) [Pipeline] } 16:59:18 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-161-stack-cost] [Pipeline] // lock [Pipeline] } 16:59:18 $ docker stop --time=1 4f2ff956860157b8279733ba8474814309551428555e6c39585edc2917b0b94b 16:59:19 $ docker rm -f 4f2ff956860157b8279733ba8474814309551428555e6c39585edc2917b0b94b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:02:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-29972 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws 17:02:49 Running in /w/workspace/app-functions-sdk-go/161 [Pipeline] { [Pipeline] checkout 17:02:49 The recommended git tool is: git 17:02:57 using credential edgex-jenkins-ssh 17:02:57 Cloning the remote Git repository 17:02:57 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 17:02:57 > git init /w/workspace/app-functions-sdk-go/161 # timeout=10 17:02:57 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:02:57 > git --version # timeout=10 17:02:57 > git --version # 'git version 2.25.1' 17:02:57 using GIT_SSH to set credentials SSH Credentials for GitHub 17:02:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:03:01 Avoid second fetch 17:03:01 Checking out Revision ee79f075673e0cb5bd207a4f5e740d8162669990 (main) 17:03:01 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:03:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:03:01 > git config core.sparsecheckout # timeout=10 17:03:01 > git checkout -f ee79f075673e0cb5bd207a4f5e740d8162669990 # timeout=10 17:03:06 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 (#1174)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:03:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:03:07 % Total % Received % Xferd Average Speed Time Time Time Current 17:03:07 Dload Upload Total Spent Left Speed 17:03:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 90014 0 --:--:-- --:--:-- --:--:-- 90661 [Pipeline] sh 17:03:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:03:08 + + sudo tee /etc/docker/daemon.new 17:03:08 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:03:08 { 17:03:08 "registry-mirrors": [ 17:03:08 "https://nexus3.edgexfoundry.org:10001" 17:03:08 ], 17:03:08 "bip": "10.250.0.254/24", 17:03:08 "hosts": [ 17:03:08 "tcp://0.0.0.0:5555", 17:03:08 "unix:///var/run/docker.sock" 17:03:08 ], 17:03:08 "mtu": 1458, 17:03:08 "selinux-enabled": true, 17:03:08 "seccomp-profile": "/etc/docker/seccomp.json" 17:03:08 } [Pipeline] sh 17:03:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:03:09 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 17:03:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:03:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:03:28 ========================================================= 17:03:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:03:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 17:03:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:03:29 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:03:29 b3c136eddcbf: Pulling fs layer 17:03:29 c0a3192eca97: Pulling fs layer 17:03:29 a050256f5b6f: Pulling fs layer 17:03:29 656be50a0ddc: Pulling fs layer 17:03:29 2bbca73fdf42: Pulling fs layer 17:03:29 46d945488cbd: Pulling fs layer 17:03:29 8a5474983e97: Pulling fs layer 17:03:29 329c88fbcd65: Pulling fs layer 17:03:29 2bbca73fdf42: Waiting 17:03:29 46d945488cbd: Waiting 17:03:29 8a5474983e97: Waiting 17:03:29 656be50a0ddc: Waiting 17:03:29 a050256f5b6f: Verifying Checksum 17:03:29 a050256f5b6f: Download complete 17:03:29 c0a3192eca97: Verifying Checksum 17:03:29 c0a3192eca97: Download complete 17:03:29 2bbca73fdf42: Verifying Checksum 17:03:29 2bbca73fdf42: Download complete 17:03:29 46d945488cbd: Verifying Checksum 17:03:29 46d945488cbd: Download complete 17:03:29 b3c136eddcbf: Verifying Checksum 17:03:29 b3c136eddcbf: Download complete 17:03:30 b3c136eddcbf: Pull complete 17:03:30 329c88fbcd65: Verifying Checksum 17:03:30 329c88fbcd65: Download complete 17:03:31 c0a3192eca97: Pull complete 17:03:31 a050256f5b6f: Pull complete 17:03:32 8a5474983e97: Verifying Checksum 17:03:32 8a5474983e97: Download complete 17:03:33 656be50a0ddc: Verifying Checksum 17:03:33 656be50a0ddc: Download complete 17:03:48 656be50a0ddc: Pull complete 17:03:48 2bbca73fdf42: Pull complete 17:03:48 46d945488cbd: Pull complete 17:03:53 8a5474983e97: Pull complete 17:03:57 329c88fbcd65: Pull complete 17:03:57 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 17:03:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:03:57 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] sh 17:03:57 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:03:57 + docker inspect -f . ci-base-image-arm64 17:03:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:03:58 prd-ubuntu20.04-docker-arm64-4c-16g-29972 does not seem to be running inside a container 17:03:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/161 -v /w/workspace/app-functions-sdk-go/161:/w/workspace/app-functions-sdk-go/161:rw,z -v /w/workspace/app-functions-sdk-go/161@tmp:/w/workspace/app-functions-sdk-go/161@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-arm64 cat 17:04:01 $ docker top 8fb34ca5baaf1c5a8d8f8ec5d4f165d433733f366d9d7505c0d6e5ccc04192b5 -eo pid,comm [Pipeline] { [Pipeline] sh 17:04:02 + go version 17:04:02 go version go1.18.3 linux/arm64 [Pipeline] } 17:04:02 $ docker stop --time=1 8fb34ca5baaf1c5a8d8f8ec5d4f165d433733f366d9d7505c0d6e5ccc04192b5 17:04:04 $ docker rm -f 8fb34ca5baaf1c5a8d8f8ec5d4f165d433733f366d9d7505c0d6e5ccc04192b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:04:05 + docker inspect -f . ci-base-image-arm64 17:04:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:04:05 prd-ubuntu20.04-docker-arm64-4c-16g-29972 does not seem to be running inside a container 17:04:05 $ 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/161 -v /w/workspace/app-functions-sdk-go/161:/w/workspace/app-functions-sdk-go/161:rw,z -v /w/workspace/app-functions-sdk-go/161@tmp:/w/workspace/app-functions-sdk-go/161@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-arm64 cat 17:04:06 $ docker top 05084739dc2f1450e674dc329cbe6badac2bc512768238c3c991dedee2f80f4d -eo pid,comm [Pipeline] { [Pipeline] sh 17:04:07 + git config --global --add safe.directory /w/workspace/app-functions-sdk-go/161 [Pipeline] fileExists [Pipeline] sh 17:04:08 + make test 17:04:08 make -C ./app-service-template build 17:04:08 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/161/app-service-template' 17:04:08 go mod tidy 17:04:08 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 17:04:08 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 17:04:08 go: downloading github.com/google/uuid v1.3.0 17:04:08 go: downloading github.com/stretchr/testify v1.8.0 17:04:08 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.3.0-dev.16 17:04:09 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.3.0-dev.15 17:04:09 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 17:04:09 go: downloading github.com/go-playground/validator/v10 v10.10.1 17:04:09 go: downloading github.com/go-kit/log v0.2.0 17:04:09 go: downloading gopkg.in/yaml.v3 v3.0.1 17:04:09 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.5 17:04:09 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 17:04:09 go: downloading github.com/davecgh/go-spew v1.1.1 17:04:09 go: downloading github.com/pmezard/go-difflib v1.0.0 17:04:09 go: downloading github.com/stretchr/objx v0.4.0 17:04:09 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.3.0-dev.7 17:04:09 go: downloading github.com/gorilla/mux v1.8.0 17:04:09 go: downloading github.com/hashicorp/go-multierror v1.1.1 17:04:09 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 17:04:09 go: downloading github.com/go-logfmt/logfmt v0.5.1 17:04:09 go: downloading github.com/mitchellh/copystructure v1.0.0 17:04:09 go: downloading github.com/go-playground/universal-translator v0.18.0 17:04:09 go: downloading github.com/leodido/go-urn v1.2.1 17:04:09 go: downloading golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e 17:04:09 go: downloading golang.org/x/text v0.3.7 17:04:10 go: downloading github.com/go-playground/locales v0.14.0 17:04:10 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 17:04:10 go: downloading github.com/go-playground/assert/v2 v2.0.1 17:04:13 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 17:04:13 go: downloading github.com/gorilla/websocket v1.4.2 17:04:13 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 17:04:13 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 17:04:13 go: downloading github.com/pelletier/go-toml v1.9.5 17:04:13 go: downloading github.com/hashicorp/consul/api v1.9.1 17:04:13 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 17:04:13 go: downloading github.com/hashicorp/errwrap v1.0.0 17:04:13 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.1 17:04:13 go: downloading github.com/mitchellh/reflectwalk v1.0.0 17:04:13 go: downloading golang.org/x/sys v0.0.0-20220610221304-9f5ed59c137d 17:04:13 go: downloading github.com/kr/pretty v0.3.0 17:04:13 go: downloading github.com/x448/float16 v0.8.4 17:04:13 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 17:04:13 go: downloading github.com/nats-io/nats.go v1.16.0 17:04:13 go: downloading github.com/go-redis/redis/v7 v7.3.0 17:04:13 go: downloading github.com/pebbe/zmq4 v1.2.7 17:04:13 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:04:13 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 17:04:13 go: downloading github.com/hashicorp/go-hclog v0.12.0 17:04:13 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 17:04:13 go: downloading github.com/hashicorp/serf v0.9.5 17:04:13 go: downloading github.com/mitchellh/mapstructure v1.5.0 17:04:13 go: downloading github.com/hashicorp/consul/sdk v0.8.0 17:04:14 go: downloading github.com/hashicorp/go-uuid v1.0.1 17:04:14 go: downloading github.com/Microsoft/go-winio v0.5.2 17:04:14 go: downloading github.com/zeebo/errs v1.2.2 17:04:14 go: downloading google.golang.org/grpc v1.46.0 17:04:15 go: downloading github.com/kr/text v0.2.0 17:04:15 go: downloading github.com/rogpeppe/go-internal v1.8.0 17:04:15 go: downloading github.com/onsi/ginkgo v1.10.1 17:04:15 go: downloading github.com/onsi/gomega v1.7.0 17:04:15 go: downloading github.com/nats-io/nkeys v0.3.0 17:04:15 go: downloading github.com/nats-io/nuid v1.0.1 17:04:15 go: downloading github.com/nats-io/nats-server/v2 v2.7.4 17:04:15 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 17:04:15 go: downloading github.com/fatih/color v1.9.0 17:04:15 go: downloading github.com/mattn/go-colorable v0.1.12 17:04:15 go: downloading github.com/mattn/go-isatty v0.0.14 17:04:15 go: downloading github.com/mitchellh/go-homedir v1.1.0 17:04:15 go: downloading github.com/pkg/errors v0.9.1 17:04:15 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 17:04:15 go: downloading google.golang.org/protobuf v1.28.0 17:04:15 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:04:15 go: downloading github.com/hashicorp/go-msgpack v0.5.3 17:04:16 go: downloading github.com/hashicorp/memberlist v0.2.2 17:04:16 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 17:04:16 go: downloading github.com/golang/protobuf v1.5.2 17:04:16 go: downloading github.com/google/go-cmp v0.5.6 17:04:16 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 17:04:17 go: downloading github.com/klauspost/compress v1.15.9 17:04:19 go: downloading github.com/minio/highwayhash v1.0.2 17:04:19 go: downloading github.com/nats-io/jwt/v2 v2.3.0 17:04:19 go: downloading golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 17:04:19 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 17:04:19 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 17:04:20 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 17:04:20 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 17:04:20 go: downloading github.com/miekg/dns v1.1.26 17:04:20 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 17:04:20 go: downloading gopkg.in/yaml.v2 v2.4.0 17:04:20 go: downloading github.com/hpcloud/tail v1.0.0 17:04:20 go: downloading github.com/hashicorp/golang-lru v0.5.0 17:04:20 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 17:04:20 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 17:04:20 go: downloading gopkg.in/fsnotify.v1 v1.4.7 17:04:22 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.3.0-dev.16 17:04:22 go: downloading github.com/nats-io/nats.go v1.17.0 17:04:22 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o new-app-service 17:06:44 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/161/app-service-template' 17:06:44 make -C ./app-service-template test 17:06:44 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/161/app-service-template' 17:06:44 CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... 17:09:36 ok new-app-service 0.296s coverage: 48.1% of statements 17:09:36 ? new-app-service/config [no test files] 17:09:36 ok new-app-service/functions 0.242s 17:09:36 CGO_ENABLED=1 go vet ./... 17:11:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:11:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:11:13 ./bin/test-attribution-txt.sh 17:11:13 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 17:11:13 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 17:11:13 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 17:11:13 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/161/app-service-template' 17:11:13 CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 17:11:13 go: downloading github.com/gomodule/redigo v1.8.9 17:11:13 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 17:11:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.631s coverage: 60.4% of statements 17:11:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.370s coverage: 93.9% of statements 17:11:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 17:11:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.401s coverage: 76.5% of statements 17:11:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 17:11:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.335s coverage: 88.7% of statements 17:11:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.137s coverage: 100.0% of statements 17:11:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.847s coverage: 78.5% of statements 17:11:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 17:11:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 17:11:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.273s coverage: 97.3% of statements 17:11:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 17:11:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] 17:11:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.335s coverage: 82.8% of statements 17:11:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] 17:11:36 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 1.106s coverage: 81.5% of statements 17:11:36 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] 17:11:36 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] 17:11:37 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.373s coverage: 28.7% of statements 17:11:37 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] 17:11:38 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.255s coverage: 14.0% of statements 17:11:42 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.218s coverage: 27.3% of statements 17:11:42 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 17:11:42 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 17:11:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.221s coverage: 51.4% of statements 17:12:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.500s coverage: 75.5% of statements 17:12:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.237s coverage: 94.4% of statements 17:12:15 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:12:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:12:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:12:21 WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] echo 17:12:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:12:21 $ docker stop --time=1 05084739dc2f1450e674dc329cbe6badac2bc512768238c3c991dedee2f80f4d 17:12:23 $ docker rm -f 05084739dc2f1450e674dc329cbe6badac2bc512768238c3c991dedee2f80f4d [Pipeline] // withDockerContainer [Pipeline] sh 17:12:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:12:27 Warning: overwriting stash ‘coverage-report’ 17:12:28 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 17:12:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:12:28 17:12:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:12:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:12:29 arm64: Pulling from edgex-lftools-log-publisher 17:12:29 8998bd30e6a1: Pulling fs layer 17:12:29 04944245beec: Pulling fs layer 17:12:29 699f458cf7ca: Pulling fs layer 17:12:29 765212b225bb: Pulling fs layer 17:12:29 f23df028b6ca: Pulling fs layer 17:12:29 d65c8cfc05b1: Pulling fs layer 17:12:29 2437ff75d9bd: Pulling fs layer 17:12:29 f23df028b6ca: Waiting 17:12:29 d65c8cfc05b1: Waiting 17:12:29 2437ff75d9bd: Waiting 17:12:29 765212b225bb: Waiting 17:12:29 04944245beec: Verifying Checksum 17:12:29 04944245beec: Download complete 17:12:29 765212b225bb: Verifying Checksum 17:12:29 765212b225bb: Download complete 17:12:29 f23df028b6ca: Verifying Checksum 17:12:29 f23df028b6ca: Download complete 17:12:29 d65c8cfc05b1: Verifying Checksum 17:12:29 d65c8cfc05b1: Download complete 17:12:29 699f458cf7ca: Verifying Checksum 17:12:29 699f458cf7ca: Download complete 17:12:30 8998bd30e6a1: Verifying Checksum 17:12:30 8998bd30e6a1: Download complete 17:12:32 2437ff75d9bd: Verifying Checksum 17:12:32 2437ff75d9bd: Download complete 17:12:34 8998bd30e6a1: Pull complete 17:12:34 04944245beec: Pull complete 17:12:36 699f458cf7ca: Pull complete 17:12:36 765212b225bb: Pull complete 17:12:37 f23df028b6ca: Pull complete 17:12:37 d65c8cfc05b1: Pull complete 17:12:52 2437ff75d9bd: Pull complete 17:12:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:12:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:12:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:12:52 prd-ubuntu20.04-docker-arm64-4c-16g-29972 does not seem to be running inside a container 17:12:53 $ 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/161 -v /w/workspace/app-functions-sdk-go/161:/w/workspace/app-functions-sdk-go/161:rw,z -v /w/workspace/app-functions-sdk-go/161@tmp:/w/workspace/app-functions-sdk-go/161@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:arm64 cat 17:12:55 $ docker top 71a8840e3bd6fac315967f11bf1d7df5aec02ce7ec3b1794ef117f998f40afe2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:12:56 ---> job-cost.sh 17:12:56 lf-activate-venv: SKIPPING 17:12:56 INFO: No Stack... 17:12:56 INFO: Retrieving Pricing Info for: v3-standard-4 17:12:57 INFO: Archiving Costs [Pipeline] sh 17:12:58 + cat /w/workspace/app-functions-sdk-go/161/archives/cost.csv 17:12:58 + cut -d, -f6 [Pipeline] lock 17:12:58 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-161-stack-cost] 17:12:58 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-161-stack-cost] did not exist. Created. 17:12:58 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-161-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:12:59 /w/workspace/app-functions-sdk-go/161@tmp/durable-08ef597d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:12:59 + echo total: 0.10999999940395355 [Pipeline] stash 17:12:59 Warning: overwriting stash ‘stack-cost’ 17:12:59 Stashed 1 file(s) [Pipeline] } 17:12:59 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-161-stack-cost] [Pipeline] // lock [Pipeline] } 17:12:59 $ docker stop --time=1 71a8840e3bd6fac315967f11bf1d7df5aec02ce7ec3b1794ef117f998f40afe2 17:13:01 $ docker rm -f 71a8840e3bd6fac315967f11bf1d7df5aec02ce7ec3b1794ef117f998f40afe2 [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 17:13:01 provisioning config files... 17:13:01 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config6234603404610113419tmp [Pipeline] { [Pipeline] sh 17:13:02 + set +x 17:13:02 + + bash -s -- 17:13:02 curl -s https://codecov.io/bash 17:13:02 17:13:02 _____ _ 17:13:02 / ____| | | 17:13:02 | | ___ __| | ___ ___ _____ __ 17:13:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:13:02 | |___| (_) | (_| | __/ (_| (_) \ V / 17:13:02 \_____\___/ \__,_|\___|\___\___/ \_/ 17:13:02 Bash-1.0.6 17:13:02 17:13:02 17:13:02 ==> git version 2.25.1 found 17:13:02 ==> 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 17:13:02 Release-Date: 2020-01-08 17:13:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:13:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:13:02 ==> Jenkins CI detected. 17:13:02 current dir:  /w/workspace/oundry_app-functions-sdk-go_main 17:13:02 project root: . 17:13:02 --> token set from env 17:13:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:13:02 ==> Running gcov in . (disable via -X gcov) 17:13:02 ==> Python coveragepy not found 17:13:02 ==> Searching for coverage reports in: 17:13:02 + . 17:13:02 -> Found 2 reports 17:13:02 ==> Detecting git/mercurial file structure 17:13:02 ==> Reading reports 17:13:02 + ./app-service-template/coverage.out bytes=1222 17:13:02 + ./coverage.out bytes=126112 17:13:02 ==> Appending adjustments 17:13:02 https://docs.codecov.io/docs/fixing-reports 17:13:02 + Found adjustments 17:13:02 ==> Gzipping contents 17:13:02 24K /tmp/codecov.2mV16A.gz 17:13:02 ==> Uploading reports 17:13:02 url: https://codecov.io 17:13:02 query: branch=main&commit=ee79f075673e0cb5bd207a4f5e740d8162669990&build=161&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F161%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:13:02 -> Pinging Codecov 17:13:02 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=ee79f075673e0cb5bd207a4f5e740d8162669990&build=161&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F161%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:13:02 -> Uploading to 17:13:02 https://storage.googleapis.com/codecov/v4/raw/2022-09-20/3D8B5DFFC46A037C893635FACE044666/ee79f075673e0cb5bd207a4f5e740d8162669990/50b36333-1657-4ee1-9e77-4b25ba67003f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220920T171302Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6e34241bfa1069ca966e9018542c4067d2a898c8ce387fe1b3d45b9a634db526 17:13:02 % Total % Received % Xferd Average Speed Time Time Time Current 17:13:02 Dload Upload Total Spent Left Speed 17:13:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21711 0 0 100 21711 0 70490 --:--:-- --:--:-- --:--:-- 70490 17:13:03 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/ee79f075673e0cb5bd207a4f5e740d8162669990 [Pipeline] } 17:13:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:13:03 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:13:03 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:13:03 17:13:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:13:04 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:13:04 df9b9388f04a: Pulling fs layer 17:13:04 52dc419b0ee2: Pulling fs layer 17:13:04 25bc292e5bac: Pulling fs layer 17:13:04 114826534d7a: Pulling fs layer 17:13:04 4657fd5d0bcf: Pulling fs layer 17:13:04 6ad1cebc031e: Pulling fs layer 17:13:04 8a3aa393b2d8: Pulling fs layer 17:13:04 6ad1cebc031e: Waiting 17:13:04 114826534d7a: Waiting 17:13:04 4657fd5d0bcf: Waiting 17:13:04 8a3aa393b2d8: Waiting 17:13:04 25bc292e5bac: Verifying Checksum 17:13:04 52dc419b0ee2: Verifying Checksum 17:13:04 52dc419b0ee2: Download complete 17:13:04 4657fd5d0bcf: Download complete 17:13:04 df9b9388f04a: Download complete 17:13:04 6ad1cebc031e: Verifying Checksum 17:13:04 6ad1cebc031e: Download complete 17:13:04 df9b9388f04a: Pull complete 17:13:04 52dc419b0ee2: Pull complete 17:13:04 25bc292e5bac: Pull complete 17:13:04 114826534d7a: Verifying Checksum 17:13:04 114826534d7a: Download complete 17:13:04 8a3aa393b2d8: Verifying Checksum 17:13:04 8a3aa393b2d8: Download complete 17:13:08 114826534d7a: Pull complete 17:13:08 4657fd5d0bcf: Pull complete 17:13:08 6ad1cebc031e: Pull complete 17:13:11 8a3aa393b2d8: Pull complete 17:13:11 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:13:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:13:11 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:13:11 prd-ubuntu20.04-docker-8c-8g-29971 does not seem to be running inside a container 17:13:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 17:13:15 $ docker top cddaa29d1c4441402c2928ec53089c843bd5acbd91f275366f5b233a90768252 -eo pid,comm [Pipeline] { [Pipeline] echo 17:13:15 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-functions-sdk-go:main' [Pipeline] sh 17:13:15 + set -o pipefail 17:13:15 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-functions-sdk-go:main' 17:13:22 17:13:22 Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v2)... 17:13:22 17:13:22 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/899a6017-c938-46f1-adf7-2bd1b283a5ba/history/1ef7d40b-16c3-4ec5-948a-faa88b1f7d36 17:13:22 17:13:22 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 17:13:22 17:13:22 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:13:22 17:13:22 [Pipeline] } 17:13:22 $ docker stop --time=1 cddaa29d1c4441402c2928ec53089c843bd5acbd91f275366f5b233a90768252 17:13:24 $ docker rm -f cddaa29d1c4441402c2928ec53089c843bd5acbd91f275366f5b233a90768252 [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 17:13:25 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:13:25 provisioning config files... 17:13:25 copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config1657138504501958797tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:13:25 --> edgex-publish-swagger.sh 17:13:25 === Publish openapi/v2 API === 17:13:25 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 17:13:25 [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v2/app-functions-sdk.yaml] 17:13:25 % Total % Received % Xferd Average Speed Time Time Time Current 17:13:25 Dload Upload Total Spent Left Speed 17:13:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13708 0 0 100 13708 0 13257 0:00:01 0:00:01 --:--:-- 13257 100 13708 0 0 100 13708 0 13244 0:00:01 0:00:01 --:--:-- 13257 17:13:26 17:13:26 [Pipeline] } 17:13:26 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 17:13:26 + git log --format=format:%s -1 ee79f075673e0cb5bd207a4f5e740d8162669990 [Pipeline] sh 17:13:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:13:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:13:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:13:27 prd-ubuntu20.04-docker-8c-8g-29971 does not seem to be running inside a container 17:13:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:13:27 $ docker top ba1691113ddb8844fc2ec4883c0eff2eacaed8c07c5976974b4a68fc8eee15be -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:13:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:13:28 [ssh-agent] Looking for ssh-agent implementation... 17:13:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:13:28 $ docker exec ba1691113ddb8844fc2ec4883c0eff2eacaed8c07c5976974b4a68fc8eee15be ssh-agent 17:13:28 SSH_AUTH_SOCK=/tmp/ssh-8vrcVCDgySGo/agent.32 17:13:28 SSH_AGENT_PID=38 17:13:28 Running ssh-add (command line suppressed) 17:13:28 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4721770509331905337.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4721770509331905337.key) 17:13:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:13:28 + git semver tag 17:13:28 2022-09-20 17:13:28,881 [run_tag] DEBUG tag force:False 17:13:28 2022-09-20 17:13:28,881 [check_head_tag] DEBUG check head tag 17:13:28 2022-09-20 17:13:28,882 [execute] INFO git cat-file --batch-check 17:13:28 2022-09-20 17:13:28,882 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) 17:13:28 2022-09-20 17:13:28,885 [execute] INFO git cat-file --batch 17:13:28 2022-09-20 17:13:28,886 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) 17:13:28 2022-09-20 17:13:28,906 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 17:13:28 2022-09-20 17:13:28,906 [execute] INFO git tag -a v2.3.0-dev.40 -m v2.3.0-dev.40 17:13:28 2022-09-20 17:13:28,906 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.40', '-m', 'v2.3.0-dev.40'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) 17:13:28 2022-09-20 17:13:28,911 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 17:13:28 2.3.0-dev.40 [Pipeline] } 17:13:28 $ docker exec --env ******** --env ******** ba1691113ddb8844fc2ec4883c0eff2eacaed8c07c5976974b4a68fc8eee15be ssh-agent -k 17:13:29 unset SSH_AUTH_SOCK; 17:13:29 unset SSH_AGENT_PID; 17:13:29 echo Agent pid 38 killed; 17:13:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:13:29 + git semver [Pipeline] } 17:13:29 $ docker stop --time=1 ba1691113ddb8844fc2ec4883c0eff2eacaed8c07c5976974b4a68fc8eee15be 17:13:30 $ docker rm -f ba1691113ddb8844fc2ec4883c0eff2eacaed8c07c5976974b4a68fc8eee15be [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:13:31 17:13:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:13:31 0.23.1-centos7: Pulling from edgex-lftools 17:13:31 ab5ef0e58194: Pulling fs layer 17:13:31 9712f1f96733: Pulling fs layer 17:13:31 63f879dbbcfc: Pulling fs layer 17:13:31 0d9ebad4ef96: Pulling fs layer 17:13:31 e9a5061849ea: Pulling fs layer 17:13:31 d747dcd14b5f: Pulling fs layer 17:13:31 2de7ff778b66: Pulling fs layer 17:13:31 0d9ebad4ef96: Waiting 17:13:31 e9a5061849ea: Waiting 17:13:31 9712f1f96733: Download complete 17:13:31 63f879dbbcfc: Verifying Checksum 17:13:31 63f879dbbcfc: Download complete 17:13:32 e9a5061849ea: Verifying Checksum 17:13:32 e9a5061849ea: Download complete 17:13:32 d747dcd14b5f: Verifying Checksum 17:13:32 d747dcd14b5f: Download complete 17:13:32 0d9ebad4ef96: Verifying Checksum 17:13:32 0d9ebad4ef96: Download complete 17:13:32 ab5ef0e58194: Verifying Checksum 17:13:32 ab5ef0e58194: Download complete 17:13:32 2de7ff778b66: Verifying Checksum 17:13:32 2de7ff778b66: Download complete 17:13:34 ab5ef0e58194: Pull complete 17:13:34 9712f1f96733: Pull complete 17:13:35 63f879dbbcfc: Pull complete 17:13:39 0d9ebad4ef96: Pull complete 17:13:39 e9a5061849ea: Pull complete 17:13:39 d747dcd14b5f: Pull complete 17:13:40 2de7ff778b66: Pull complete 17:13:40 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:13:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:13:40 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:13:40 prd-ubuntu20.04-docker-8c-8g-29971 does not seem to be running inside a container 17:13:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 17:13:43 $ docker top b42112fa37435d5eaadc4347403174531a351906c5de4b7f0d3556027d782993 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:13:43 provisioning config files... 17:13:43 copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config6683298960195394175tmp 17:13:43 copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config4372845511888415197tmp 17:13:43 copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config3830257487544755489tmp [Pipeline] { [Pipeline] echo 17:13:43 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:13:44 ---> sigul-configuration.sh 17:13:44 gpg: directory `/root/.gnupg' created 17:13:44 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:13:44 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:13:44 gpg: keyring `/root/.gnupg/secring.gpg' created 17:13:44 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:13:44 gpg: CAST5 encrypted data 17:13:44 gpg: encrypted with 1 passphrase 17:13:44 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:13:44 + mkdir /home/jenkins 17:13:44 + mkdir /home/jenkins/sigul [Pipeline] sh 17:13:44 + 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 17:13:44 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:13:45 ---> sigul-install.sh 17:13:45 Sigul already installed; skipping installation. [Pipeline] sh 17:13:45 + git tag --list 17:13:45 v0.1.0 17:13:45 v0.1.1 17:13:45 v1.0.0 17:13:45 v1.1.0 17:13:45 v1.2.0 17:13:45 v1.3.0 17:13:45 v1.3.1 17:13:45 v2.0.0 17:13:45 v2.0.1 17:13:45 v2.1.0 17:13:45 v2.1.1 17:13:45 v2.1.1-dev.3 17:13:45 v2.1.1-dev.4 17:13:45 v2.2.0 17:13:45 v2.2.1-dev.1 17:13:45 v2.2.1-dev.10 17:13:45 v2.2.1-dev.11 17:13:45 v2.2.1-dev.12 17:13:45 v2.2.1-dev.13 17:13:45 v2.2.1-dev.14 17:13:45 v2.2.1-dev.15 17:13:45 v2.2.1-dev.16 17:13:45 v2.2.1-dev.17 17:13:45 v2.2.1-dev.18 17:13:45 v2.2.1-dev.19 17:13:45 v2.2.1-dev.2 17:13:45 v2.2.1-dev.20 17:13:45 v2.2.1-dev.21 17:13:45 v2.2.1-dev.22 17:13:45 v2.2.1-dev.23 17:13:45 v2.2.1-dev.3 17:13:45 v2.2.1-dev.4 17:13:45 v2.2.1-dev.5 17:13:45 v2.2.1-dev.6 17:13:45 v2.2.1-dev.7 17:13:45 v2.2.1-dev.8 17:13:45 v2.2.1-dev.9 17:13:45 v2.3.0-dev.24 17:13:45 v2.3.0-dev.25 17:13:45 v2.3.0-dev.26 17:13:45 v2.3.0-dev.27 17:13:45 v2.3.0-dev.28 17:13:45 v2.3.0-dev.29 17:13:45 v2.3.0-dev.30 17:13:45 v2.3.0-dev.31 17:13:45 v2.3.0-dev.32 17:13:45 v2.3.0-dev.33 17:13:45 v2.3.0-dev.34 17:13:45 v2.3.0-dev.35 17:13:45 v2.3.0-dev.36 17:13:45 v2.3.0-dev.37 17:13:45 v2.3.0-dev.38 17:13:45 v2.3.0-dev.39 17:13:45 v2.3.0-dev.40 [Pipeline] sh 17:13:45 + lftools sign git-tag v2.3.0-dev.40 17:13:46 Signing Git tag with Sigul... 17:13:46 Signing v2.3.0-dev.40 [Pipeline] echo 17:13:46 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:13:46 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:13:46 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:13:46 $ docker stop --time=1 b42112fa37435d5eaadc4347403174531a351906c5de4b7f0d3556027d782993 17:13:48 $ docker rm -f b42112fa37435d5eaadc4347403174531a351906c5de4b7f0d3556027d782993 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:13:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:13:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:13:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:13:48 prd-ubuntu20.04-docker-8c-8g-29971 does not seem to be running inside a container 17:13:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:13:49 $ docker top 52e70034bb183455de95417903a67cf67f14cae9005c63cd6462db23f92445f3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:13:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:13:49 [ssh-agent] Looking for ssh-agent implementation... 17:13:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:13:49 $ docker exec 52e70034bb183455de95417903a67cf67f14cae9005c63cd6462db23f92445f3 ssh-agent 17:13:49 SSH_AUTH_SOCK=/tmp/ssh-qeVGRkaU4NLf/agent.34 17:13:49 SSH_AGENT_PID=41 17:13:49 Running ssh-add (command line suppressed) 17:13:49 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_141304482257887803.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_141304482257887803.key) 17:13:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:13:49 + git semver bump pre 17:13:50 2022-09-20 17:13:50,178 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 17:13:50 2022-09-20 17:13:50,179 [bump_version] DEBUG bumping version:2.3.0-dev.40 on axis:pre with prefix:dev 17:13:50 2022-09-20 17:13:50,179 [bump_version] DEBUG bumped version:2.3.0-dev.41 17:13:50 2022-09-20 17:13:50,179 [write_version] DEBUG write version:2.3.0-dev.41 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:True 17:13:50 2022-09-20 17:13:50,179 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 17:13:50 2022-09-20 17:13:50,179 [write_file] DEBUG write to file:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main 17:13:50 2022-09-20 17:13:50,181 [execute] INFO git cat-file --batch-check 17:13:50 2022-09-20 17:13:50,181 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:13:50 2022-09-20 17:13:50,187 [execute] INFO git cat-file --batch 17:13:50 2022-09-20 17:13:50,187 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:13:50 2022-09-20 17:13:50,192 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 17:13:50 2.3.0-dev.41 [Pipeline] } 17:13:50 $ docker exec --env ******** --env ******** 52e70034bb183455de95417903a67cf67f14cae9005c63cd6462db23f92445f3 ssh-agent -k 17:13:50 unset SSH_AUTH_SOCK; 17:13:50 unset SSH_AGENT_PID; 17:13:50 echo Agent pid 41 killed; 17:13:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:13:50 + git semver [Pipeline] } 17:13:50 $ docker stop --time=1 52e70034bb183455de95417903a67cf67f14cae9005c63cd6462db23f92445f3 17:13:52 $ docker rm -f 52e70034bb183455de95417903a67cf67f14cae9005c63cd6462db23f92445f3 [Pipeline] // withDockerContainer [Pipeline] sh 17:13:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:13:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:13:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:13:52 prd-ubuntu20.04-docker-8c-8g-29971 does not seem to be running inside a container 17:13:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:13:53 $ docker top 923d090c14e4e34348573f46544bf6022dedabc05375a9524be7cd80c844c204 -eo pid,comm 17:13:53 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). 17:13:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:13:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:13:53 [ssh-agent] Looking for ssh-agent implementation... 17:13:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:13:53 $ docker exec 923d090c14e4e34348573f46544bf6022dedabc05375a9524be7cd80c844c204 ssh-agent 17:13:53 SSH_AUTH_SOCK=/tmp/ssh-PGmpk6yfNxu9/agent.34 17:13:53 SSH_AGENT_PID=40 17:13:53 Running ssh-add (command line suppressed) 17:13:53 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7279386629302417947.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7279386629302417947.key) 17:13:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:13:54 + git semver push 17:13:54 2022-09-20 17:13:54,318 [run_push] DEBUG push 17:13:54 2022-09-20 17:13:54,319 [execute] INFO git cat-file --batch-check 17:13:54 2022-09-20 17:13:54,319 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:13:54 2022-09-20 17:13:54,323 [execute] INFO git rev-list 051ba936af74dc7b501a109be510f997749ae76d -- 17:13:54 2022-09-20 17:13:54,323 [execute] DEBUG Popen(['git', 'rev-list', '051ba936af74dc7b501a109be510f997749ae76d', '--'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:13:54 2022-09-20 17:13:54,337 [execute] INFO git fetch -v origin 17:13:54 2022-09-20 17:13:54,337 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 17:13:55 2022-09-20 17:13:54,981 [run_push] DEBUG no remote changes detected 17:13:55 2022-09-20 17:13:54,982 [execute] INFO git push origin semver 17:13:55 2022-09-20 17:13:54,982 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:13:56 2022-09-20 17:13:55,958 [run_push] DEBUG push all version tags 17:13:56 2022-09-20 17:13:55,959 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:13:56 2022-09-20 17:13:55,959 [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) 17:13:57 2022-09-20 17:13:56,866 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 17:13:57 2.3.0-dev.41 [Pipeline] } 17:13:57 $ docker exec --env ******** --env ******** 923d090c14e4e34348573f46544bf6022dedabc05375a9524be7cd80c844c204 ssh-agent -k 17:13:57 unset SSH_AUTH_SOCK; 17:13:57 unset SSH_AGENT_PID; 17:13:57 echo Agent pid 40 killed; 17:13:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:13:57 + git semver [Pipeline] } 17:13:57 $ docker stop --time=1 923d090c14e4e34348573f46544bf6022dedabc05375a9524be7cd80c844c204 17:13:59 $ docker rm -f 923d090c14e4e34348573f46544bf6022dedabc05375a9524be7cd80c844c204 [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 17:13:59 + [ -d /w/workspace/oundry_app-functions-sdk-go_main/archives ] 17:13:59 + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives 17:13:59 total 16 17:13:59 drwxr-xr-x 3 root root 4096 Sep 20 16:59 . 17:13:59 drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 17:13 .. 17:13:59 drwxr-xr-x 2 root root 4096 Sep 20 16:59 cost 17:13:59 -rw-r--r-- 1 root root 92 Sep 20 16:59 cost.csv 17:13:59 + sudo chown -R jenkins:jenkins /w/workspace/oundry_app-functions-sdk-go_main/archives 17:13:59 + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives 17:13:59 total 16 17:13:59 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 16:59 . 17:13:59 drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 17:13 .. 17:13:59 drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 16:59 cost 17:13:59 -rw-r--r-- 1 jenkins jenkins 92 Sep 20 16:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:14:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:14:00 ---> package-listing.sh 17:14:00 ++ facter osfamily 17:14:00 ++ tr '[:upper:]' '[:lower:]' 17:14:01 + OS_FAMILY=debian 17:14:01 + workspace=/w/workspace/oundry_app-functions-sdk-go_main 17:14:01 + START_PACKAGES=/tmp/packages_start.txt 17:14:01 + END_PACKAGES=/tmp/packages_end.txt 17:14:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:14:01 + PACKAGES=/tmp/packages_start.txt 17:14:01 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 17:14:01 + PACKAGES=/tmp/packages_end.txt 17:14:01 + case "${OS_FAMILY}" in 17:14:01 + dpkg -l 17:14:01 + grep '^ii' 17:14:01 + '[' -f /tmp/packages_start.txt ']' 17:14:01 + '[' -f /tmp/packages_end.txt ']' 17:14:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:14:01 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 17:14:01 + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ 17:14:01 + 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 17:14:01 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 17:14:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:14:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:14:02 prd-ubuntu20.04-docker-8c-8g-29971 does not seem to be running inside a container 17:14:02 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_app-functions-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:14:02 $ docker top b0c722878fe3ce23397ec9973fa708ecac9fa90ae5a557973b5dbc528d850f8a -eo pid,comm [Pipeline] { [Pipeline] sh 17:14:02 + touch /tmp/pre-build-complete [Pipeline] sh 17:14:03 + mkdir -p /var/log/sysstat [Pipeline] sh 17:14:03 + ls /var/log/sa-host 17:14:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:14:03 provisioning config files... 17:14:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config6006511095306378295tmp [Pipeline] { [Pipeline] echo 17:14:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:14:03 ---> create-netrc.sh [Pipeline] } 17:14:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:14:04 ---> python-tools-install.sh [Pipeline] echo 17:14:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:14:04 ---> sudo-logs.sh 17:14:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:14:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:14:04 ---> job-cost.sh 17:14:04 lf-activate-venv: SKIPPING 17:14:04 DEBUG: total: 0.2199999988079071 17:14:04 INFO: Retrieving Stack Cost... 17:14:05 INFO: Retrieving Pricing Info for: v3-standard-8 17:14:05 INFO: Archiving Costs [Pipeline] echo 17:14:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:14:05 ---> logs-deploy.sh 17:14:05 lf-activate-venv: SKIPPING 17:14:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/161 17:14:05 INFO: archiving workspace using pattern(s): 17:14:06 Archives upload complete. 17:14:06 INFO: archiving logs to Nexus