Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e0accd9328fdd6e1df10535226a15790ead6a2cf 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-ssh312259180356044261.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh3363718133805263483.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh9267212956280062811.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh15180365082686388232.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-ssh8113177261543326907.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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.17 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2508 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 e0accd9328fdd6e1df10535226a15790ead6a2cf (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 e0accd9328fdd6e1df10535226a15790ead6a2cf # timeout=10 Commit message: "feat: Add InvalidMessagesReceived service metric (#1123)" > git rev-list --no-walk 044b8e288b69f5683f9a220f0d6e273a671114b7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:02:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:02:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:02:49 ========================================================= 21:02:49 EdgeX Global Pipelines Version Info 21:02:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:02:50 ------------------- 21:02:50 stable info: 21:02:50 ------------------- 21:02:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:02:50 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 21:02:50 Message: update stable to v1.0.234 21:02:51 ------------------- 21:02:51 experimental info: 21:02:51 ------------------- 21:02:51 Commited By: **** collab-it+edgex@linuxfoundation.org 21:02:51 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 21:02:51 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e0accd9328fdd6e1df10535226a15790ead6a2cf [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e0accd9 [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:02:52 + git rev-list -1 --merges e0accd9328fdd6e1df10535226a15790ead6a2cf~1..e0accd9328fdd6e1df10535226a15790ead6a2cf [Pipeline] echo 21:02:52 -----------> git rev-list -1 --merges e0accd9328fdd6e1df10535226a15790ead6a2cf~1..e0accd9328fdd6e1df10535226a15790ead6a2cf e0accd9328fdd6e1df10535226a15790ead6a2cf [false] [Pipeline] sh 21:02:52 + git log --format=format:%s -1 e0accd9328fdd6e1df10535226a15790ead6a2cf [Pipeline] echo 21:02:52 ========================================================= 21:02:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:02:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:02:52 + git log --format=format:%s -1 e0accd9328fdd6e1df10535226a15790ead6a2cf [Pipeline] echo 21:02:52 [semverPrep] GIT_COMMIT: e0accd9328fdd6e1df10535226a15790ead6a2cf, Commit Message: feat: Add InvalidMessagesReceived service metric (#1123) [Pipeline] echo 21:02:53 [semverPrep] This is not a build commit. [Pipeline] sh 21:02:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:02:53 + grep -v github /etc/ssh/ssh_known_hosts 21:02:53 + [ -e /tmp/ssh_known_hosts ] 21:02:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:02:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:02:53 + sudo tee -a /etc/ssh/ssh_known_hosts 21:02:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:02:54 21:02:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:02:54 0.1.4: Pulling from edgex-devops/py-git-semver 21:02:54 42c077c10790: Pulling fs layer 21:02:54 f63e77b7563a: Pulling fs layer 21:02:54 bd5fdadae976: Pulling fs layer 21:02:54 205491f53016: Pulling fs layer 21:02:54 df18705c85c3: Pulling fs layer 21:02:54 bdb3f477010e: Pulling fs layer 21:02:54 c8a8fc8e1c8f: Pulling fs layer 21:02:54 2c6e9b1d212d: Pulling fs layer 21:02:54 bdb8f0575790: Pulling fs layer 21:02:54 386e3cb2ff24: Pulling fs layer 21:02:54 2343380bae48: Pulling fs layer 21:02:54 c8a8fc8e1c8f: Waiting 21:02:54 2c6e9b1d212d: Waiting 21:02:54 bdb8f0575790: Waiting 21:02:54 205491f53016: Waiting 21:02:54 2343380bae48: Waiting 21:02:54 bdb3f477010e: Waiting 21:02:54 df18705c85c3: Waiting 21:02:54 f63e77b7563a: Verifying Checksum 21:02:54 f63e77b7563a: Download complete 21:02:54 205491f53016: Verifying Checksum 21:02:54 205491f53016: Download complete 21:02:54 df18705c85c3: Verifying Checksum 21:02:54 df18705c85c3: Download complete 21:02:54 bdb3f477010e: Download complete 21:02:54 bd5fdadae976: Verifying Checksum 21:02:54 bd5fdadae976: Download complete 21:02:54 2c6e9b1d212d: Verifying Checksum 21:02:54 2c6e9b1d212d: Download complete 21:02:54 bdb8f0575790: Verifying Checksum 21:02:54 bdb8f0575790: Download complete 21:02:54 386e3cb2ff24: Verifying Checksum 21:02:54 386e3cb2ff24: Download complete 21:02:54 2343380bae48: Verifying Checksum 21:02:54 2343380bae48: Download complete 21:02:54 42c077c10790: Verifying Checksum 21:02:54 42c077c10790: Download complete 21:02:54 c8a8fc8e1c8f: Download complete 21:02:56 42c077c10790: Pull complete 21:02:56 f63e77b7563a: Pull complete 21:02:56 bd5fdadae976: Pull complete 21:02:56 205491f53016: Pull complete 21:02:57 df18705c85c3: Pull complete 21:02:57 bdb3f477010e: Pull complete 21:02:58 c8a8fc8e1c8f: Pull complete 21:02:58 2c6e9b1d212d: Pull complete 21:02:59 bdb8f0575790: Pull complete 21:02:59 386e3cb2ff24: Pull complete 21:02:59 2343380bae48: Pull complete 21:02:59 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 21:02:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:02:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:02:59 prd-ubuntu20.04-docker-8c-8g-2508 does not seem to be running inside a container 21:02:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:03:01 $ docker top 559efe8cb4524bad7bf9376cb00b969bd3e3626861f9947a3361fbcf8c28d99e -eo pid,comm 21:03:01 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:03:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:03:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:03:01 [ssh-agent] Looking for ssh-agent implementation... 21:03:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:03:01 $ docker exec 559efe8cb4524bad7bf9376cb00b969bd3e3626861f9947a3361fbcf8c28d99e ssh-agent 21:03:01 SSH_AUTH_SOCK=/tmp/ssh-dODii17NmoaZ/agent.32 21:03:01 SSH_AGENT_PID=39 21:03:01 Running ssh-add (command line suppressed) 21:03:01 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_336615521510296589.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_336615521510296589.key) 21:03:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:03:01 + git tag --points-at HEAD [Pipeline] } 21:03:02 $ docker exec --env ******** --env ******** 559efe8cb4524bad7bf9376cb00b969bd3e3626861f9947a3361fbcf8c28d99e ssh-agent -k 21:03:02 unset SSH_AUTH_SOCK; 21:03:02 unset SSH_AGENT_PID; 21:03:02 echo Agent pid 39 killed; 21:03:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:03:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:03:02 [ssh-agent] Looking for ssh-agent implementation... 21:03:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:03:02 $ docker exec 559efe8cb4524bad7bf9376cb00b969bd3e3626861f9947a3361fbcf8c28d99e ssh-agent 21:03:02 SSH_AUTH_SOCK=/tmp/ssh-GWKQGdsryzzg/agent.72 21:03:02 SSH_AGENT_PID=78 21:03:02 Running ssh-add (command line suppressed) 21:03:02 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1109860507047604244.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1109860507047604244.key) 21:03:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:03:02 + git semver init 21:03:03 2022-06-16 21:03:03,139 [run_init] DEBUG init version:0.0.0 force:False 21:03:03 2022-06-16 21:03:03,140 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_app-functions-sdk-go_main/.semver 21:03:03 2022-06-16 21:03:03,140 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-functions-sdk-go.git /w/workspace/oundry_app-functions-sdk-go_main/.semver 21:03:03 2022-06-16 21:03:03,140 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-functions-sdk-go.git', '/w/workspace/oundry_app-functions-sdk-go_main/.semver'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) 21:03:04 2022-06-16 21:03:04,437 [append_file] DEBUG append to file:/w/workspace/oundry_app-functions-sdk-go_main/.git/info/exclude 21:03:04 2022-06-16 21:03:04,438 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:False 21:03:04 2022-06-16 21:03:04,438 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 21:03:04 2022-06-16 21:03:04,438 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 21:03:04 2.2.1-dev.5 [Pipeline] } 21:03:04 $ docker exec --env ******** --env ******** 559efe8cb4524bad7bf9376cb00b969bd3e3626861f9947a3361fbcf8c28d99e ssh-agent -k 21:03:04 unset SSH_AUTH_SOCK; 21:03:04 unset SSH_AGENT_PID; 21:03:04 echo Agent pid 78 killed; 21:03:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:03:05 + git semver [Pipeline] } 21:03:05 $ docker stop --time=1 559efe8cb4524bad7bf9376cb00b969bd3e3626861f9947a3361fbcf8c28d99e 21:03:06 $ docker rm -f 559efe8cb4524bad7bf9376cb00b969bd3e3626861f9947a3361fbcf8c28d99e [Pipeline] // withDockerContainer [Pipeline] sh 21:03:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:03:07 Stashed 1 file(s) [Pipeline] echo 21:03:07 [edgeXSemver]: initialized semver on version 2.2.1-dev.5 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 21:03:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:03:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:03:07 ========================================================= 21:03:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 21:03:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 21:03:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 21:03:08 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 21:03:08 59bf1c3509f3: Pulling fs layer 21:03:08 666ba61612fd: Pulling fs layer 21:03:08 8ed8ca486205: Pulling fs layer 21:03:08 cc1cd167ecdc: Pulling fs layer 21:03:08 cc1cd167ecdc: Waiting 21:03:08 c516ae0d96e1: Pulling fs layer 21:03:08 684cea983483: Pulling fs layer 21:03:08 dd3240ac7de5: Pulling fs layer 21:03:08 b1e948a4e11c: Pulling fs layer 21:03:08 a8fd76ee1af6: Pulling fs layer 21:03:08 c516ae0d96e1: Waiting 21:03:08 684cea983483: Waiting 21:03:08 b1e948a4e11c: Waiting 21:03:08 646ad004c059: Pulling fs layer 21:03:08 646ad004c059: Waiting 21:03:08 8ed8ca486205: Download complete 21:03:08 666ba61612fd: Download complete 21:03:08 c516ae0d96e1: Verifying Checksum 21:03:08 c516ae0d96e1: Download complete 21:03:08 684cea983483: Download complete 21:03:08 dd3240ac7de5: Verifying Checksum 21:03:08 dd3240ac7de5: Download complete 21:03:08 59bf1c3509f3: Verifying Checksum 21:03:08 b1e948a4e11c: Verifying Checksum 21:03:08 b1e948a4e11c: Download complete 21:03:08 59bf1c3509f3: Pull complete 21:03:08 666ba61612fd: Pull complete 21:03:08 8ed8ca486205: Pull complete 21:03:08 646ad004c059: Verifying Checksum 21:03:08 646ad004c059: Download complete 21:03:08 a8fd76ee1af6: Verifying Checksum 21:03:08 a8fd76ee1af6: Download complete 21:03:09 cc1cd167ecdc: Verifying Checksum 21:03:09 cc1cd167ecdc: Download complete 21:03:13 cc1cd167ecdc: Pull complete 21:03:13 c516ae0d96e1: Pull complete 21:03:13 684cea983483: Pull complete 21:03:13 dd3240ac7de5: Pull complete 21:03:13 b1e948a4e11c: Pull complete 21:03:15 a8fd76ee1af6: Pull complete 21:03:16 646ad004c059: Pull complete 21:03:16 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 21:03:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 21:03:16 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 21:03:17 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:17 + docker inspect -f . ci-base-image-x86_64 21:03:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:17 prd-ubuntu20.04-docker-8c-8g-2508 does not seem to be running inside a container 21:03:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:03:19 $ docker top 108aada484e1b1ad567ee2cca1b745850f58c152b420ac66aa47ddecc0d8a9fe -eo pid,comm [Pipeline] { [Pipeline] sh 21:03:19 + go version 21:03:19 go version go1.17.7 linux/amd64 [Pipeline] } 21:03:19 $ docker stop --time=1 108aada484e1b1ad567ee2cca1b745850f58c152b420ac66aa47ddecc0d8a9fe 21:03:21 $ docker rm -f 108aada484e1b1ad567ee2cca1b745850f58c152b420ac66aa47ddecc0d8a9fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:21 + docker inspect -f . ci-base-image-x86_64 21:03:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:21 prd-ubuntu20.04-docker-8c-8g-2508 does not seem to be running inside a container 21:03:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:03:22 $ docker top 9aa349f048783378dd82165b7707835d74ae6518537409d3c071813c44138258 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:03:22 + make test 21:03:22 make -C ./app-service-template build 21:03:22 make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 21:03:22 go mod tidy -compat=1.17 21:03:22 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 21:03:22 go: downloading github.com/stretchr/testify v1.7.2 21:03:22 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 21:03:22 go: downloading github.com/google/uuid v1.3.0 21:03:22 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 21:03:22 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.1-dev.4 21:03:22 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 21:03:22 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 21:03:22 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.2 21:03:22 go: downloading github.com/gorilla/mux v1.8.0 21:03:22 go: downloading github.com/hashicorp/go-multierror v1.1.1 21:03:22 go: downloading github.com/davecgh/go-spew v1.1.1 21:03:22 go: downloading github.com/pmezard/go-difflib v1.0.0 21:03:22 go: downloading github.com/stretchr/objx v0.1.1 21:03:22 go: downloading gopkg.in/yaml.v3 v3.0.1 21:03:22 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 21:03:22 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 21:03:22 go: downloading github.com/mitchellh/copystructure v1.0.0 21:03:22 go: downloading github.com/go-playground/validator/v10 v10.10.1 21:03:22 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 21:03:22 go: downloading github.com/go-kit/log v0.2.0 21:03:22 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 21:03:22 go: downloading github.com/pelletier/go-toml v1.9.4 21:03:22 go: downloading github.com/hashicorp/errwrap v1.0.0 21:03:22 go: downloading github.com/hashicorp/consul/api v1.9.1 21:03:22 go: downloading github.com/gorilla/websocket v1.4.2 21:03:22 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 21:03:22 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 21:03:22 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 21:03:22 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 21:03:22 go: downloading github.com/mitchellh/reflectwalk v1.0.0 21:03:22 go: downloading github.com/go-redis/redis/v7 v7.3.0 21:03:22 go: downloading github.com/pebbe/zmq4 v1.2.7 21:03:22 go: downloading github.com/x448/float16 v0.8.4 21:03:22 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 21:03:22 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 21:03:22 go: downloading github.com/hashicorp/go-hclog v0.12.0 21:03:22 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 21:03:22 go: downloading github.com/hashicorp/serf v0.9.5 21:03:22 go: downloading github.com/mitchellh/mapstructure v1.1.2 21:03:22 Still waiting to schedule task 21:03:22 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:03:22 go: downloading github.com/go-playground/universal-translator v0.18.0 21:03:22 go: downloading github.com/leodido/go-urn v1.2.1 21:03:22 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 21:03:22 go: downloading golang.org/x/text v0.3.7 21:03:22 go: downloading github.com/go-playground/locales v0.14.0 21:03:22 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 21:03:22 go: downloading github.com/hashicorp/consul/sdk v0.8.0 21:03:22 go: downloading github.com/hashicorp/go-uuid v1.0.1 21:03:22 go: downloading github.com/go-playground/assert/v2 v2.0.1 21:03:22 go: downloading github.com/onsi/ginkgo v1.10.1 21:03:22 go: downloading github.com/onsi/gomega v1.7.0 21:03:22 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 21:03:22 go: downloading github.com/zeebo/errs v1.2.2 21:03:22 go: downloading google.golang.org/grpc v1.42.0 21:03:23 go: downloading github.com/mitchellh/go-homedir v1.1.0 21:03:23 go: downloading github.com/fatih/color v1.9.0 21:03:23 go: downloading github.com/mattn/go-colorable v0.1.6 21:03:23 go: downloading github.com/mattn/go-isatty v0.0.12 21:03:23 go: downloading github.com/go-logfmt/logfmt v0.5.1 21:03:23 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 21:03:23 go: downloading github.com/hashicorp/go-msgpack v0.5.3 21:03:23 go: downloading github.com/hashicorp/memberlist v0.2.2 21:03:23 go: downloading github.com/kr/pretty v0.3.0 21:03:23 go: downloading github.com/pkg/errors v0.9.1 21:03:23 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 21:03:23 go: downloading google.golang.org/protobuf v1.27.1 21:03:23 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 21:03:23 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 21:03:23 go: downloading github.com/golang/protobuf v1.5.2 21:03:23 go: downloading github.com/google/go-cmp v0.5.6 21:03:24 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 21:03:24 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 21:03:24 go: downloading github.com/kr/text v0.2.0 21:03:24 go: downloading github.com/rogpeppe/go-internal v1.8.0 21:03:24 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 21:03:24 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 21:03:24 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 21:03:24 go: downloading github.com/miekg/dns v1.1.26 21:03:24 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 21:03:24 go: downloading github.com/hpcloud/tail v1.0.0 21:03:24 go: downloading gopkg.in/yaml.v2 v2.2.8 21:03:24 go: downloading github.com/hashicorp/golang-lru v0.5.0 21:03:24 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 21:03:24 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 21:03:24 go: downloading gopkg.in/fsnotify.v1 v1.4.7 21:03:25 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 21:03:43 make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 21:03:43 make -C ./app-service-template test 21:03:43 make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 21:03:43 CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... 21:04:05 ok new-app-service 0.057s coverage: 48.1% of statements 21:04:05 ? new-app-service/config [no test files] 21:04:05 ok new-app-service/functions 0.068s 21:04:05 CGO_ENABLED=1 go vet ./... 21:04:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:04:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:04:12 ./bin/test-attribution-txt.sh 21:04:12 make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 21:04:12 CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:04:12 go: downloading github.com/gomodule/redigo v1.8.8 21:04:12 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 21:04:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.158s coverage: 63.2% of statements 21:04:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.086s coverage: 93.8% of statements 21:04:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 21:04:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.096s coverage: 76.5% of statements 21:04:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 21:04:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.098s coverage: 88.7% of statements 21:04:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.064s coverage: 100.0% of statements 21:04:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.176s coverage: 78.5% of statements 21:04:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 21:04:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 21:04:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.109s coverage: 97.3% of statements 21:04:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 21:04:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] 21:04:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.143s coverage: 82.8% of statements 21:04:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] 21:04:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.693s coverage: 81.5% of statements 21:04:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] 21:04:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] 21:04:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.067s coverage: 28.7% of statements 21:04:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] 21:04:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.067s coverage: 14.0% of statements 21:04:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.081s coverage: 27.3% of statements 21:04:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 21:04:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 21:04:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.061s coverage: 51.4% of statements 21:04:42 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.140s coverage: 78.6% of statements 21:04:42 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.073s coverage: 94.4% of statements 21:04:42 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:04:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:04:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 21:04:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:04:51 $ docker stop --time=1 9aa349f048783378dd82165b7707835d74ae6518537409d3c071813c44138258 21:04:52 $ docker rm -f 9aa349f048783378dd82165b7707835d74ae6518537409d3c071813c44138258 [Pipeline] // withDockerContainer [Pipeline] sh 21:04:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:04:53 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:04:54 21:04:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:04:54 latest: Pulling from edgex-lftools-log-publisher 21:04:54 5eb5b503b376: Pulling fs layer 21:04:54 5c69ac0246d0: Pulling fs layer 21:04:54 ec43610c2a17: Pulling fs layer 21:04:54 3a2ae6a8a46f: Pulling fs layer 21:04:54 33b1e0a273af: Pulling fs layer 21:04:54 5d3b04190fa2: Pulling fs layer 21:04:54 2f39f015ded8: Pulling fs layer 21:04:54 2f39f015ded8: Waiting 21:04:54 5d3b04190fa2: Waiting 21:04:54 3a2ae6a8a46f: Waiting 21:04:54 33b1e0a273af: Waiting 21:04:54 5c69ac0246d0: Verifying Checksum 21:04:54 5c69ac0246d0: Download complete 21:04:54 3a2ae6a8a46f: Verifying Checksum 21:04:54 3a2ae6a8a46f: Download complete 21:04:54 33b1e0a273af: Download complete 21:04:54 ec43610c2a17: Verifying Checksum 21:04:54 ec43610c2a17: Download complete 21:04:54 5d3b04190fa2: Download complete 21:04:54 5eb5b503b376: Verifying Checksum 21:04:54 5eb5b503b376: Download complete 21:04:55 2f39f015ded8: Verifying Checksum 21:04:55 2f39f015ded8: Download complete 21:04:56 5eb5b503b376: Pull complete 21:04:56 5c69ac0246d0: Pull complete 21:04:56 ec43610c2a17: Pull complete 21:04:56 3a2ae6a8a46f: Pull complete 21:04:57 33b1e0a273af: Pull complete 21:04:57 5d3b04190fa2: Pull complete 21:04:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2510 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws 21:04:57 Running in /w/workspace/app-functions-sdk-go/124 [Pipeline] { [Pipeline] checkout 21:04:57 The recommended git tool is: git 21:05:01 2f39f015ded8: Pull complete 21:05:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:05:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:05:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:01 prd-ubuntu20.04-docker-8c-8g-2508 does not seem to be running inside a container 21:05:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:05:03 $ docker top 0f45743ff919ce9733abed25a5ec5f1024b28f632dc2304b826c6a49040af72c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:05:03 ---> job-cost.sh 21:05:03 lf-activate-venv: SKIPPING 21:05:03 INFO: No Stack... 21:05:03 using credential edgex-jenkins-ssh 21:05:03 Cloning the remote Git repository 21:05:03 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 21:05:04 > git init /w/workspace/app-functions-sdk-go/124 # timeout=10 21:05:04 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 21:05:04 > git --version # timeout=10 21:05:04 > git --version # 'git version 2.25.1' 21:05:04 using GIT_SSH to set credentials SSH Credentials for GitHub 21:05:04 INFO: Retrieving Pricing Info for: v3-standard-8 21:05:04 INFO: Archiving Costs [Pipeline] sh 21:05:05 + cat /w/workspace/oundry_app-functions-sdk-go_main/archives/cost.csv 21:05:05 + cut -d, -f6 [Pipeline] lock 21:05:05 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-124-stack-cost] 21:05:05 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-124-stack-cost] did not exist. Created. 21:05:05 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-124-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:05:05 + echo total: 0.2199999988079071 [Pipeline] stash 21:05:05 Stashed 1 file(s) [Pipeline] } 21:05:05 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-124-stack-cost] [Pipeline] // lock [Pipeline] } 21:05:05 $ docker stop --time=1 0f45743ff919ce9733abed25a5ec5f1024b28f632dc2304b826c6a49040af72c 21:05:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:05:06 $ docker rm -f 0f45743ff919ce9733abed25a5ec5f1024b28f632dc2304b826c6a49040af72c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:05:07 Avoid second fetch 21:05:07 Checking out Revision e0accd9328fdd6e1df10535226a15790ead6a2cf (main) 21:05:07 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 21:05:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:05:07 > git config core.sparsecheckout # timeout=10 21:05:07 > git checkout -f e0accd9328fdd6e1df10535226a15790ead6a2cf # timeout=10 21:05:11 Commit message: "feat: Add InvalidMessagesReceived service metric (#1123)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:05:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:05:12 % Total % Received % Xferd Average Speed Time Time Time Current 21:05:12 Dload Upload Total Spent Left Speed 21:05:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 95726 0 --:--:-- --:--:-- --:--:-- 95726 [Pipeline] sh 21:05:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:05:13 + sudo tee /etc/docker/daemon.new 21:05:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:05:13 { 21:05:13 "registry-mirrors": [ 21:05:13 "https://nexus3.edgexfoundry.org:10001" 21:05:13 ], 21:05:13 "bip": "10.250.0.254/24", 21:05:13 "hosts": [ 21:05:13 "tcp://0.0.0.0:5555", 21:05:13 "unix:///var/run/docker.sock" 21:05:13 ], 21:05:13 "mtu": 1458, 21:05:13 "selinux-enabled": true, 21:05:13 "seccomp-profile": "/etc/docker/seccomp.json" 21:05:13 } [Pipeline] sh 21:05:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:05:14 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 21:05:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:05:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:05:33 ========================================================= 21:05:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 21:05:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 21:05:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 21:05:34 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:05:34 9b3977197b4f: Pulling fs layer 21:05:34 1a89e8eeedd5: Pulling fs layer 21:05:34 94645a83ff95: Pulling fs layer 21:05:34 e6fb740bc735: Pulling fs layer 21:05:34 3a77bd46dcc9: Pulling fs layer 21:05:34 355e64cbe906: Pulling fs layer 21:05:34 63ab81a10011: Pulling fs layer 21:05:34 555d1d1c4555: Pulling fs layer 21:05:34 7d9057610161: Pulling fs layer 21:05:34 e6fb740bc735: Waiting 21:05:34 3a77bd46dcc9: Waiting 21:05:34 355e64cbe906: Waiting 21:05:34 63ab81a10011: Waiting 21:05:34 7d9057610161: Waiting 21:05:34 555d1d1c4555: Waiting 21:05:34 94645a83ff95: Verifying Checksum 21:05:34 94645a83ff95: Download complete 21:05:34 1a89e8eeedd5: Verifying Checksum 21:05:34 1a89e8eeedd5: Download complete 21:05:34 3a77bd46dcc9: Verifying Checksum 21:05:34 3a77bd46dcc9: Download complete 21:05:34 355e64cbe906: Verifying Checksum 21:05:34 355e64cbe906: Download complete 21:05:34 9b3977197b4f: Verifying Checksum 21:05:34 9b3977197b4f: Download complete 21:05:34 63ab81a10011: Verifying Checksum 21:05:34 63ab81a10011: Download complete 21:05:35 7d9057610161: Verifying Checksum 21:05:35 7d9057610161: Download complete 21:05:35 9b3977197b4f: Pull complete 21:05:36 1a89e8eeedd5: Pull complete 21:05:36 94645a83ff95: Pull complete 21:05:37 555d1d1c4555: Verifying Checksum 21:05:37 e6fb740bc735: Verifying Checksum 21:05:37 e6fb740bc735: Download complete 21:05:49 e6fb740bc735: Pull complete 21:05:49 3a77bd46dcc9: Pull complete 21:05:49 355e64cbe906: Pull complete 21:05:50 63ab81a10011: Pull complete 21:05:56 555d1d1c4555: Pull complete 21:05:58 7d9057610161: Pull complete 21:05:58 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 21:05:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 21:05:58 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh 21:05:58 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:58 + docker inspect -f . ci-base-image-arm64 21:05:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:59 prd-ubuntu20.04-docker-arm64-4c-16g-2510 does not seem to be running inside a container 21:05:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/124 -v /w/workspace/app-functions-sdk-go/124:/w/workspace/app-functions-sdk-go/124:rw,z -v /w/workspace/app-functions-sdk-go/124@tmp:/w/workspace/app-functions-sdk-go/124@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:06:02 $ docker top ac5019b1340a4e143bd9ee91f17a8d64890696cc058e32f1b2bae84aa47a30ad -eo pid,comm [Pipeline] { [Pipeline] sh 21:06:03 + go version 21:06:03 go version go1.17.7 linux/arm64 [Pipeline] } 21:06:03 $ docker stop --time=1 ac5019b1340a4e143bd9ee91f17a8d64890696cc058e32f1b2bae84aa47a30ad 21:06:04 $ docker rm -f ac5019b1340a4e143bd9ee91f17a8d64890696cc058e32f1b2bae84aa47a30ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:05 + docker inspect -f . ci-base-image-arm64 21:06:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:05 prd-ubuntu20.04-docker-arm64-4c-16g-2510 does not seem to be running inside a container 21:06:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/124 -v /w/workspace/app-functions-sdk-go/124:/w/workspace/app-functions-sdk-go/124:rw,z -v /w/workspace/app-functions-sdk-go/124@tmp:/w/workspace/app-functions-sdk-go/124@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:06:07 $ docker top cecd8e7cc0c189dff1e1b3b1cc8fc18dacbf03555dbe4a307d5d2dd367a7ffa5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:06:08 + make test 21:06:08 make -C ./app-service-template build 21:06:08 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/124/app-service-template' 21:06:08 go mod tidy -compat=1.17 21:06:08 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 21:06:08 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 21:06:08 go: downloading github.com/google/uuid v1.3.0 21:06:08 go: downloading github.com/stretchr/testify v1.7.2 21:06:08 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 21:06:08 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.1-dev.4 21:06:08 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 21:06:08 go: downloading github.com/davecgh/go-spew v1.1.1 21:06:08 go: downloading github.com/pmezard/go-difflib v1.0.0 21:06:08 go: downloading gopkg.in/yaml.v3 v3.0.1 21:06:08 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.2 21:06:08 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 21:06:08 go: downloading github.com/go-playground/validator/v10 v10.10.1 21:06:08 go: downloading github.com/go-kit/log v0.2.0 21:06:08 go: downloading github.com/stretchr/objx v0.1.1 21:06:08 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 21:06:08 go: downloading github.com/gorilla/mux v1.8.0 21:06:08 go: downloading github.com/hashicorp/go-multierror v1.1.1 21:06:08 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 21:06:08 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 21:06:08 go: downloading github.com/mitchellh/copystructure v1.0.0 21:06:08 go: downloading github.com/go-logfmt/logfmt v0.5.1 21:06:09 go: downloading github.com/gorilla/websocket v1.4.2 21:06:09 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 21:06:09 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 21:06:09 go: downloading github.com/pelletier/go-toml v1.9.4 21:06:09 go: downloading github.com/go-playground/universal-translator v0.18.0 21:06:09 go: downloading github.com/leodido/go-urn v1.2.1 21:06:09 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 21:06:09 go: downloading golang.org/x/text v0.3.7 21:06:10 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 21:06:10 go: downloading github.com/go-playground/assert/v2 v2.0.1 21:06:10 go: downloading github.com/go-playground/locales v0.14.0 21:06:13 go: downloading github.com/hashicorp/consul/api v1.9.1 21:06:13 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 21:06:13 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 21:06:13 go: downloading github.com/hashicorp/errwrap v1.0.0 21:06:13 go: downloading github.com/mitchellh/reflectwalk v1.0.0 21:06:13 go: downloading github.com/x448/float16 v0.8.4 21:06:13 go: downloading github.com/kr/pretty v0.3.0 21:06:13 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 21:06:13 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 21:06:13 go: downloading github.com/go-redis/redis/v7 v7.3.0 21:06:13 go: downloading github.com/pebbe/zmq4 v1.2.7 21:06:13 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 21:06:13 go: downloading github.com/hashicorp/go-hclog v0.12.0 21:06:13 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 21:06:13 go: downloading github.com/hashicorp/serf v0.9.5 21:06:13 go: downloading github.com/mitchellh/mapstructure v1.1.2 21:06:13 go: downloading github.com/hashicorp/consul/sdk v0.8.0 21:06:13 go: downloading github.com/hashicorp/go-uuid v1.0.1 21:06:13 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 21:06:13 go: downloading github.com/zeebo/errs v1.2.2 21:06:13 go: downloading google.golang.org/grpc v1.42.0 21:06:14 go: downloading github.com/kr/text v0.2.0 21:06:14 go: downloading github.com/rogpeppe/go-internal v1.8.0 21:06:14 go: downloading github.com/mitchellh/go-homedir v1.1.0 21:06:14 go: downloading github.com/fatih/color v1.9.0 21:06:14 go: downloading github.com/mattn/go-colorable v0.1.6 21:06:14 go: downloading github.com/mattn/go-isatty v0.0.12 21:06:14 go: downloading github.com/onsi/ginkgo v1.10.1 21:06:14 go: downloading github.com/onsi/gomega v1.7.0 21:06:14 go: downloading github.com/pkg/errors v0.9.1 21:06:14 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 21:06:14 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 21:06:14 go: downloading google.golang.org/protobuf v1.27.1 21:06:14 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 21:06:14 go: downloading github.com/hashicorp/go-msgpack v0.5.3 21:06:14 go: downloading github.com/hashicorp/memberlist v0.2.2 21:06:14 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 21:06:15 go: downloading github.com/golang/protobuf v1.5.2 21:06:15 go: downloading github.com/google/go-cmp v0.5.6 21:06:15 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 21:06:15 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 21:06:15 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 21:06:16 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 21:06:16 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 21:06:16 go: downloading github.com/miekg/dns v1.1.26 21:06:16 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 21:06:16 go: downloading gopkg.in/yaml.v2 v2.2.8 21:06:16 go: downloading github.com/hpcloud/tail v1.0.0 21:06:16 go: downloading github.com/hashicorp/golang-lru v0.5.0 21:06:16 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 21:06:16 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 21:06:16 go: downloading gopkg.in/fsnotify.v1 v1.4.7 21:06:20 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 21:08:12 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/124/app-service-template' 21:08:12 make -C ./app-service-template test 21:08:12 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/124/app-service-template' 21:08:12 CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... 21:10:19 ok new-app-service 0.234s coverage: 48.1% of statements 21:10:19 ? new-app-service/config [no test files] 21:10:19 ok new-app-service/functions 0.198s 21:10:19 CGO_ENABLED=1 go vet ./... 21:11:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:11:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:11:41 ./bin/test-attribution-txt.sh 21:11:41 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/124/app-service-template' 21:11:41 CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:11:41 go: downloading github.com/gomodule/redigo v1.8.8 21:11:42 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 21:12:04 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.590s coverage: 63.2% of statements 21:12:04 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.375s coverage: 93.8% of statements 21:12:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 21:12:04 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.384s coverage: 76.5% of statements 21:12:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 21:12:04 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.398s coverage: 88.7% of statements 21:12:04 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.144s coverage: 100.0% of statements 21:12:04 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.620s coverage: 78.5% of statements 21:12:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 21:12:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 21:12:04 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.244s coverage: 97.3% of statements 21:12:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 21:12:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] 21:12:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.324s coverage: 82.8% of statements 21:12:07 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] 21:12:12 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 1.050s coverage: 81.5% of statements 21:12:12 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] 21:12:12 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] 21:12:12 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.342s coverage: 28.7% of statements 21:12:12 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] 21:12:12 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.212s coverage: 14.0% of statements 21:12:17 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.209s coverage: 27.3% of statements 21:12:17 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 21:12:17 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 21:12:17 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.233s coverage: 51.4% of statements 21:12:49 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.497s coverage: 78.6% of statements 21:12:49 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.267s coverage: 94.4% of statements 21:12:49 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:12:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:12:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:12:56 WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] echo 21:12:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:12:56 $ docker stop --time=1 cecd8e7cc0c189dff1e1b3b1cc8fc18dacbf03555dbe4a307d5d2dd367a7ffa5 21:12:58 $ docker rm -f cecd8e7cc0c189dff1e1b3b1cc8fc18dacbf03555dbe4a307d5d2dd367a7ffa5 [Pipeline] // withDockerContainer [Pipeline] sh 21:13:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:13:01 Warning: overwriting stash ‘coverage-report’ 21:13:02 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 21:13:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:13:02 21:13:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:13:03 arm64: Pulling from edgex-lftools-log-publisher 21:13:03 8998bd30e6a1: Pulling fs layer 21:13:03 04944245beec: Pulling fs layer 21:13:03 699f458cf7ca: Pulling fs layer 21:13:03 765212b225bb: Pulling fs layer 21:13:03 f23df028b6ca: Pulling fs layer 21:13:03 d65c8cfc05b1: Pulling fs layer 21:13:03 2437ff75d9bd: Pulling fs layer 21:13:03 f23df028b6ca: Waiting 21:13:03 d65c8cfc05b1: Waiting 21:13:03 2437ff75d9bd: Waiting 21:13:03 765212b225bb: Waiting 21:13:03 04944245beec: Verifying Checksum 21:13:03 04944245beec: Download complete 21:13:03 765212b225bb: Verifying Checksum 21:13:03 765212b225bb: Download complete 21:13:03 f23df028b6ca: Verifying Checksum 21:13:03 f23df028b6ca: Download complete 21:13:03 d65c8cfc05b1: Verifying Checksum 21:13:03 d65c8cfc05b1: Download complete 21:13:03 699f458cf7ca: Verifying Checksum 21:13:03 699f458cf7ca: Download complete 21:13:04 8998bd30e6a1: Download complete 21:13:06 2437ff75d9bd: Verifying Checksum 21:13:06 2437ff75d9bd: Download complete 21:13:08 8998bd30e6a1: Pull complete 21:13:09 04944245beec: Pull complete 21:13:10 699f458cf7ca: Pull complete 21:13:10 765212b225bb: Pull complete 21:13:11 f23df028b6ca: Pull complete 21:13:11 d65c8cfc05b1: Pull complete 21:13:26 2437ff75d9bd: Pull complete 21:13:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:13:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:13:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:13:27 prd-ubuntu20.04-docker-arm64-4c-16g-2510 does not seem to be running inside a container 21:13:27 $ 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/124 -v /w/workspace/app-functions-sdk-go/124:/w/workspace/app-functions-sdk-go/124:rw,z -v /w/workspace/app-functions-sdk-go/124@tmp:/w/workspace/app-functions-sdk-go/124@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:13:29 $ docker top abfc5caf5953d49c37cdd3d356c73bbee06535b03cbe064541f0014a2008cc4e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:13:30 ---> job-cost.sh 21:13:30 lf-activate-venv: SKIPPING 21:13:30 INFO: No Stack... 21:13:31 INFO: Retrieving Pricing Info for: v3-standard-4 21:13:32 INFO: Archiving Costs [Pipeline] sh 21:13:32 + cut -d, -f6 21:13:32 + cat /w/workspace/app-functions-sdk-go/124/archives/cost.csv [Pipeline] lock 21:13:32 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-124-stack-cost] 21:13:32 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-124-stack-cost] did not exist. Created. 21:13:32 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-124-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:13:33 /w/workspace/app-functions-sdk-go/124@tmp/durable-40015d7d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:13:34 + echo total: 0.10999999940395355 [Pipeline] stash 21:13:34 Warning: overwriting stash ‘stack-cost’ 21:13:34 Stashed 1 file(s) [Pipeline] } 21:13:34 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-124-stack-cost] [Pipeline] // lock [Pipeline] } 21:13:34 $ docker stop --time=1 abfc5caf5953d49c37cdd3d356c73bbee06535b03cbe064541f0014a2008cc4e 21:13:35 $ docker rm -f abfc5caf5953d49c37cdd3d356c73bbee06535b03cbe064541f0014a2008cc4e [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 21:13:36 provisioning config files... 21:13:36 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config2108125107770655932tmp [Pipeline] { [Pipeline] sh 21:13:36 + set +x 21:13:36 + curl -s https://codecov.io/bash 21:13:36 + bash -s -- 21:13:36 21:13:36 _____ _ 21:13:36 / ____| | | 21:13:36 | | ___ __| | ___ ___ _____ __ 21:13:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:13:36 | |___| (_) | (_| | __/ (_| (_) \ V / 21:13:36 \_____\___/ \__,_|\___|\___\___/ \_/ 21:13:36 Bash-1.0.6 21:13:36 21:13:36 21:13:36 ==> git version 2.25.1 found 21:13:36 ==> 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 21:13:36 Release-Date: 2020-01-08 21:13:36 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:13:36 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:13:36 ==> Jenkins CI detected. 21:13:36 current dir:  /w/workspace/oundry_app-functions-sdk-go_main 21:13:36 project root: . 21:13:36 --> token set from env 21:13:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:13:36 ==> Running gcov in . (disable via -X gcov) 21:13:36 ==> Python coveragepy not found 21:13:36 ==> Searching for coverage reports in: 21:13:36 + . 21:13:36 -> Found 2 reports 21:13:36 ==> Detecting git/mercurial file structure 21:13:36 ==> Reading reports 21:13:36 + ./app-service-template/coverage.out bytes=1222 21:13:36 + ./coverage.out bytes=121742 21:13:36 ==> Appending adjustments 21:13:36 https://docs.codecov.io/docs/fixing-reports 21:13:37 + Found adjustments 21:13:37 ==> Gzipping contents 21:13:37 24K /tmp/codecov.F60Fw2.gz 21:13:37 ==> Uploading reports 21:13:37 url: https://codecov.io 21:13:37 query: branch=main&commit=e0accd9328fdd6e1df10535226a15790ead6a2cf&build=124&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F124%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:13:37 -> Pinging Codecov 21:13:37 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=e0accd9328fdd6e1df10535226a15790ead6a2cf&build=124&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F124%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:13:37 -> Uploading to 21:13:37 https://storage.googleapis.com/codecov/v4/raw/2022-06-16/3D8B5DFFC46A037C893635FACE044666/e0accd9328fdd6e1df10535226a15790ead6a2cf/78878794-a91f-4325-a8b6-d9b2f21e9a3d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220616%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220616T211337Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=396b5442df845f31e8768d7a3e7902498ce3a3e5bcf0586baedc5be53b40dd25 21:13:37 % Total % Received % Xferd Average Speed Time Time Time Current 21:13:37 Dload Upload Total Spent Left Speed 21:13:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21125 0 0 100 21125 0 91847 --:--:-- --:--:-- --:--:-- 91450 100 21125 0 0 100 21125 0 91847 --:--:-- --:--:-- --:--:-- 91450 21:13:37 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/e0accd9328fdd6e1df10535226a15790ead6a2cf [Pipeline] } 21:13:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:13:37 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:13:37 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:13:38 21:13:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:13:38 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:13:38 df9b9388f04a: Pulling fs layer 21:13:38 52dc419b0ee2: Pulling fs layer 21:13:38 25bc292e5bac: Pulling fs layer 21:13:38 114826534d7a: Pulling fs layer 21:13:38 4657fd5d0bcf: Pulling fs layer 21:13:38 6ad1cebc031e: Pulling fs layer 21:13:38 8a3aa393b2d8: Pulling fs layer 21:13:38 6ad1cebc031e: Waiting 21:13:38 8a3aa393b2d8: Waiting 21:13:38 4657fd5d0bcf: Waiting 21:13:38 114826534d7a: Waiting 21:13:38 25bc292e5bac: Verifying Checksum 21:13:38 25bc292e5bac: Download complete 21:13:38 52dc419b0ee2: Download complete 21:13:38 4657fd5d0bcf: Download complete 21:13:38 df9b9388f04a: Download complete 21:13:38 6ad1cebc031e: Verifying Checksum 21:13:38 6ad1cebc031e: Download complete 21:13:38 df9b9388f04a: Pull complete 21:13:38 52dc419b0ee2: Pull complete 21:13:39 25bc292e5bac: Pull complete 21:13:39 114826534d7a: Verifying Checksum 21:13:39 114826534d7a: Download complete 21:13:39 8a3aa393b2d8: Verifying Checksum 21:13:39 8a3aa393b2d8: Download complete 21:13:42 114826534d7a: Pull complete 21:13:42 4657fd5d0bcf: Pull complete 21:13:43 6ad1cebc031e: Pull complete 21:13:45 8a3aa393b2d8: Pull complete 21:13:45 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:13:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:13:45 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:13:45 prd-ubuntu20.04-docker-8c-8g-2508 does not seem to be running inside a container 21:13:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:13:47 $ docker top c63befbb6af9e3121144d881717d88f5975efc8f396aff0cf77e2a1e0540da72 -eo pid,comm [Pipeline] { [Pipeline] echo 21:13:47 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-functions-sdk-go:main' [Pipeline] sh 21:13:47 + set -o pipefail 21:13:47 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-functions-sdk-go:main' 21:13:53 21:13:53 Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v2)... 21:13:53 21:13:53 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/899a6017-c938-46f1-adf7-2bd1b283a5ba/history/4506a5ad-5396-4d54-ac3b-6966e471e745 21:13:53 21:13:53 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:13:53 21:13:53 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:13:53 21:13:53 [Pipeline] } 21:13:53 $ docker stop --time=1 c63befbb6af9e3121144d881717d88f5975efc8f396aff0cf77e2a1e0540da72 21:13:55 $ docker rm -f c63befbb6af9e3121144d881717d88f5975efc8f396aff0cf77e2a1e0540da72 [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 21:13:55 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:13:55 provisioning config files... 21:13:55 copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config8336317103857005424tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:13:55 --> edgex-publish-swagger.sh 21:13:55 === Publish openapi/v2 API === 21:13:55 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 21:13:55 [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v2/app-functions-sdk.yaml] 21:13:55 % Total % Received % Xferd Average Speed Time Time Time Current 21:13:55 Dload Upload Total Spent Left Speed 21:13:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13708 0 0 100 13708 0 14002 --:--:-- --:--:-- --:--:-- 14002 100 13708 0 0 100 13708 0 14002 --:--:-- --:--:-- --:--:-- 13987 21:13:56 21:13:56 [Pipeline] } 21:13:56 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 21:13:57 + git log --format=format:%s -1 e0accd9328fdd6e1df10535226a15790ead6a2cf [Pipeline] sh 21:13:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:13:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:13:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:13:57 prd-ubuntu20.04-docker-8c-8g-2508 does not seem to be running inside a container 21:13:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:13:58 $ docker top 303f8135fc0ad086f491c7d0b51e87c10a790f775411b398872846fe7165490d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:13:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:13:58 [ssh-agent] Looking for ssh-agent implementation... 21:13:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:13:58 $ docker exec 303f8135fc0ad086f491c7d0b51e87c10a790f775411b398872846fe7165490d ssh-agent 21:13:58 SSH_AUTH_SOCK=/tmp/ssh-SSvEqQ8EmYOS/agent.33 21:13:58 SSH_AGENT_PID=39 21:13:58 Running ssh-add (command line suppressed) 21:13:58 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_8470563303140309629.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_8470563303140309629.key) 21:13:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:13:59 + git semver tag 21:13:59 2022-06-16 21:13:59,237 [run_tag] DEBUG tag force:False 21:13:59 2022-06-16 21:13:59,237 [check_head_tag] DEBUG check head tag 21:13:59 2022-06-16 21:13:59,238 [execute] INFO git cat-file --batch-check 21:13:59 2022-06-16 21:13:59,238 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) 21:13:59 2022-06-16 21:13:59,241 [execute] INFO git cat-file --batch 21:13:59 2022-06-16 21:13:59,242 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) 21:13:59 2022-06-16 21:13:59,251 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 21:13:59 2022-06-16 21:13:59,251 [execute] INFO git tag -a v2.2.1-dev.5 -m v2.2.1-dev.5 21:13:59 2022-06-16 21:13:59,251 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.5', '-m', 'v2.2.1-dev.5'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) 21:13:59 2022-06-16 21:13:59,256 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 21:13:59 2.2.1-dev.5 [Pipeline] } 21:13:59 $ docker exec --env ******** --env ******** 303f8135fc0ad086f491c7d0b51e87c10a790f775411b398872846fe7165490d ssh-agent -k 21:13:59 unset SSH_AUTH_SOCK; 21:13:59 unset SSH_AGENT_PID; 21:13:59 echo Agent pid 39 killed; 21:13:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:13:59 + git semver [Pipeline] } 21:14:00 $ docker stop --time=1 303f8135fc0ad086f491c7d0b51e87c10a790f775411b398872846fe7165490d 21:14:01 $ docker rm -f 303f8135fc0ad086f491c7d0b51e87c10a790f775411b398872846fe7165490d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:14:01 21:14:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:14:02 0.23.1-centos7: Pulling from edgex-lftools 21:14:02 ab5ef0e58194: Pulling fs layer 21:14:02 9712f1f96733: Pulling fs layer 21:14:02 63f879dbbcfc: Pulling fs layer 21:14:02 0d9ebad4ef96: Pulling fs layer 21:14:02 e9a5061849ea: Pulling fs layer 21:14:02 d747dcd14b5f: Pulling fs layer 21:14:02 2de7ff778b66: Pulling fs layer 21:14:02 d747dcd14b5f: Waiting 21:14:02 0d9ebad4ef96: Waiting 21:14:02 e9a5061849ea: Waiting 21:14:02 2de7ff778b66: Waiting 21:14:02 9712f1f96733: Verifying Checksum 21:14:02 9712f1f96733: Download complete 21:14:02 63f879dbbcfc: Verifying Checksum 21:14:02 63f879dbbcfc: Download complete 21:14:02 0d9ebad4ef96: Verifying Checksum 21:14:02 0d9ebad4ef96: Download complete 21:14:02 e9a5061849ea: Verifying Checksum 21:14:02 e9a5061849ea: Download complete 21:14:02 d747dcd14b5f: Verifying Checksum 21:14:02 d747dcd14b5f: Download complete 21:14:02 ab5ef0e58194: Verifying Checksum 21:14:02 ab5ef0e58194: Download complete 21:14:02 2de7ff778b66: Verifying Checksum 21:14:02 2de7ff778b66: Download complete 21:14:05 ab5ef0e58194: Pull complete 21:14:05 9712f1f96733: Pull complete 21:14:06 63f879dbbcfc: Pull complete 21:14:09 0d9ebad4ef96: Pull complete 21:14:09 e9a5061849ea: Pull complete 21:14:09 d747dcd14b5f: Pull complete 21:14:10 2de7ff778b66: Pull complete 21:14:10 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:14:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:14:10 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:11 prd-ubuntu20.04-docker-8c-8g-2508 does not seem to be running inside a container 21:14:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:14:12 $ docker top 115216fea7182f88569a0ac6e209b0112b7a39a5bae10be9c716e9761712aa1e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:14:12 provisioning config files... 21:14:12 copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config667462847716266215tmp 21:14:12 copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config949867575660766241tmp 21:14:12 copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config6924606388731378984tmp [Pipeline] { [Pipeline] echo 21:14:12 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:14:13 ---> sigul-configuration.sh 21:14:13 gpg: directory `/root/.gnupg' created 21:14:13 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:14:13 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:14:13 gpg: keyring `/root/.gnupg/secring.gpg' created 21:14:13 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:14:13 gpg: CAST5 encrypted data 21:14:13 gpg: encrypted with 1 passphrase 21:14:13 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:14:13 + mkdir /home/jenkins 21:14:13 + mkdir /home/jenkins/sigul [Pipeline] sh 21:14:13 + 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 21:14:13 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:14:14 ---> sigul-install.sh 21:14:14 Sigul already installed; skipping installation. [Pipeline] sh 21:14:14 + git tag --list 21:14:14 v0.1.0 21:14:14 v0.1.1 21:14:14 v1.0.0 21:14:14 v1.1.0 21:14:14 v1.2.0 21:14:14 v1.3.0 21:14:14 v1.3.1 21:14:14 v2.0.0 21:14:14 v2.0.1 21:14:14 v2.1.0 21:14:14 v2.1.1 21:14:14 v2.1.1-dev.3 21:14:14 v2.1.1-dev.4 21:14:14 v2.2.0 21:14:14 v2.2.1-dev.1 21:14:14 v2.2.1-dev.2 21:14:14 v2.2.1-dev.3 21:14:14 v2.2.1-dev.4 21:14:14 v2.2.1-dev.5 [Pipeline] sh 21:14:14 + lftools sign git-tag v2.2.1-dev.5 21:14:15 Signing Git tag with Sigul... 21:14:15 Signing v2.2.1-dev.5 [Pipeline] echo 21:14:15 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:14:16 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:14:16 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:14:16 $ docker stop --time=1 115216fea7182f88569a0ac6e209b0112b7a39a5bae10be9c716e9761712aa1e 21:14:17 $ docker rm -f 115216fea7182f88569a0ac6e209b0112b7a39a5bae10be9c716e9761712aa1e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:14:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:14:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:14:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:18 prd-ubuntu20.04-docker-8c-8g-2508 does not seem to be running inside a container 21:14:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:14:18 $ docker top ecabff9233ea93b341a11d7b2058f98e79d3a9f33819ed7bcbee9d95ae504510 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:14:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:14:18 [ssh-agent] Looking for ssh-agent implementation... 21:14:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:14:18 $ docker exec ecabff9233ea93b341a11d7b2058f98e79d3a9f33819ed7bcbee9d95ae504510 ssh-agent 21:14:19 SSH_AUTH_SOCK=/tmp/ssh-gnwsZVBb3dk3/agent.32 21:14:19 SSH_AGENT_PID=39 21:14:19 Running ssh-add (command line suppressed) 21:14:19 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_985973600839000608.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_985973600839000608.key) 21:14:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:14:19 + git semver bump pre 21:14:19 2022-06-16 21:14:19,712 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 21:14:19 2022-06-16 21:14:19,712 [bump_version] DEBUG bumping version:2.2.1-dev.5 on axis:pre with prefix:dev 21:14:19 2022-06-16 21:14:19,713 [bump_version] DEBUG bumped version:2.2.1-dev.6 21:14:19 2022-06-16 21:14:19,713 [write_version] DEBUG write version:2.2.1-dev.6 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:True 21:14:19 2022-06-16 21:14:19,713 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 21:14:19 2022-06-16 21:14:19,713 [write_file] DEBUG write to file:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main 21:14:19 2022-06-16 21:14:19,715 [execute] INFO git cat-file --batch-check 21:14:19 2022-06-16 21:14:19,715 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:14:19 2022-06-16 21:14:19,719 [execute] INFO git cat-file --batch 21:14:19 2022-06-16 21:14:19,720 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:14:19 2022-06-16 21:14:19,724 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 21:14:19 2.2.1-dev.6 [Pipeline] } 21:14:19 $ docker exec --env ******** --env ******** ecabff9233ea93b341a11d7b2058f98e79d3a9f33819ed7bcbee9d95ae504510 ssh-agent -k 21:14:19 unset SSH_AUTH_SOCK; 21:14:19 unset SSH_AGENT_PID; 21:14:19 echo Agent pid 39 killed; 21:14:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:14:20 + git semver [Pipeline] } 21:14:20 $ docker stop --time=1 ecabff9233ea93b341a11d7b2058f98e79d3a9f33819ed7bcbee9d95ae504510 21:14:21 $ docker rm -f ecabff9233ea93b341a11d7b2058f98e79d3a9f33819ed7bcbee9d95ae504510 [Pipeline] // withDockerContainer [Pipeline] sh 21:14:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:14:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:14:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:22 prd-ubuntu20.04-docker-8c-8g-2508 does not seem to be running inside a container 21:14:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:14:22 $ docker top 3dca79d2242b547166440350209adb2743c01a5bfe53b5cfa56c4b40b1b3aac6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:14:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:14:23 [ssh-agent] Looking for ssh-agent implementation... 21:14:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:14:23 $ docker exec 3dca79d2242b547166440350209adb2743c01a5bfe53b5cfa56c4b40b1b3aac6 ssh-agent 21:14:23 SSH_AUTH_SOCK=/tmp/ssh-4JoU9giiXh9M/agent.32 21:14:23 SSH_AGENT_PID=38 21:14:23 Running ssh-add (command line suppressed) 21:14:23 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_329353600294343711.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_329353600294343711.key) 21:14:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:14:23 + git semver push 21:14:23 2022-06-16 21:14:23,905 [run_push] DEBUG push 21:14:23 2022-06-16 21:14:23,906 [execute] INFO git cat-file --batch-check 21:14:23 2022-06-16 21:14:23,906 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:14:23 2022-06-16 21:14:23,909 [execute] INFO git rev-list d93c79a85bb8ef49a8d09245de18ecdad9aa3de2 -- 21:14:23 2022-06-16 21:14:23,910 [execute] DEBUG Popen(['git', 'rev-list', 'd93c79a85bb8ef49a8d09245de18ecdad9aa3de2', '--'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:14:23 2022-06-16 21:14:23,922 [execute] INFO git fetch -v origin 21:14:23 2022-06-16 21:14:23,923 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:14:24 2022-06-16 21:14:24,381 [run_push] DEBUG no remote changes detected 21:14:24 2022-06-16 21:14:24,381 [execute] INFO git push origin semver 21:14:24 2022-06-16 21:14:24,382 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:14:25 2022-06-16 21:14:25,295 [run_push] DEBUG push all version tags 21:14:25 2022-06-16 21:14:25,295 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:14:25 2022-06-16 21:14:25,296 [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) 21:14:26 2022-06-16 21:14:25,947 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 21:14:26 2.2.1-dev.6 [Pipeline] } 21:14:26 $ docker exec --env ******** --env ******** 3dca79d2242b547166440350209adb2743c01a5bfe53b5cfa56c4b40b1b3aac6 ssh-agent -k 21:14:26 unset SSH_AUTH_SOCK; 21:14:26 unset SSH_AGENT_PID; 21:14:26 echo Agent pid 38 killed; 21:14:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:14:26 + git semver [Pipeline] } 21:14:26 $ docker stop --time=1 3dca79d2242b547166440350209adb2743c01a5bfe53b5cfa56c4b40b1b3aac6 21:14:28 $ docker rm -f 3dca79d2242b547166440350209adb2743c01a5bfe53b5cfa56c4b40b1b3aac6 [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 21:14:28 + [ -d /w/workspace/oundry_app-functions-sdk-go_main/archives ] 21:14:28 + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives 21:14:28 total 16 21:14:28 drwxr-xr-x 3 root root 4096 Jun 16 21:05 . 21:14:28 drwxrwxr-x 10 jenkins jenkins 4096 Jun 16 21:14 .. 21:14:28 drwxr-xr-x 2 root root 4096 Jun 16 21:05 cost 21:14:28 -rw-r--r-- 1 root root 91 Jun 16 21:05 cost.csv 21:14:28 + sudo chown -R jenkins:jenkins /w/workspace/oundry_app-functions-sdk-go_main/archives 21:14:28 + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives 21:14:28 total 16 21:14:28 drwxr-xr-x 3 jenkins jenkins 4096 Jun 16 21:05 . 21:14:28 drwxrwxr-x 10 jenkins jenkins 4096 Jun 16 21:14 .. 21:14:28 drwxr-xr-x 2 jenkins jenkins 4096 Jun 16 21:05 cost 21:14:28 -rw-r--r-- 1 jenkins jenkins 91 Jun 16 21:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:14:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:14:29 ---> package-listing.sh 21:14:29 ++ facter osfamily 21:14:29 ++ tr '[:upper:]' '[:lower:]' 21:14:30 + OS_FAMILY=debian 21:14:30 + workspace=/w/workspace/oundry_app-functions-sdk-go_main 21:14:30 + START_PACKAGES=/tmp/packages_start.txt 21:14:30 + END_PACKAGES=/tmp/packages_end.txt 21:14:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:14:30 + PACKAGES=/tmp/packages_start.txt 21:14:30 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 21:14:30 + PACKAGES=/tmp/packages_end.txt 21:14:30 + case "${OS_FAMILY}" in 21:14:30 + dpkg -l 21:14:30 + grep '^ii' 21:14:30 + '[' -f /tmp/packages_start.txt ']' 21:14:30 + '[' -f /tmp/packages_end.txt ']' 21:14:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:14:30 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 21:14:30 + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ 21:14:30 + 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 21:14:30 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 21:14:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:14:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:30 prd-ubuntu20.04-docker-8c-8g-2508 does not seem to be running inside a container 21:14:30 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_app-functions-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:14:31 $ docker top 54c5e01de109fa4284f0ee6d23eab6828e5c4392af3597630810a2810616356f -eo pid,comm [Pipeline] { [Pipeline] sh 21:14:31 + touch /tmp/pre-build-complete [Pipeline] sh 21:14:31 + mkdir -p /var/log/sysstat [Pipeline] sh 21:14:32 + ls /var/log/sa-host 21:14:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:14:32 provisioning config files... 21:14:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config1007327670961335929tmp [Pipeline] { [Pipeline] echo 21:14:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:14:32 ---> create-netrc.sh [Pipeline] } 21:14:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:14:32 ---> python-tools-install.sh [Pipeline] echo 21:14:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:14:33 ---> sudo-logs.sh 21:14:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:14:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:14:33 ---> job-cost.sh 21:14:33 lf-activate-venv: SKIPPING 21:14:33 DEBUG: total: 0.2199999988079071 21:14:33 INFO: Retrieving Stack Cost... 21:14:33 INFO: Retrieving Pricing Info for: v3-standard-8 21:14:34 INFO: Archiving Costs [Pipeline] echo 21:14:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:14:34 ---> logs-deploy.sh 21:14:34 lf-activate-venv: SKIPPING 21:14:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/124 21:14:34 INFO: archiving workspace using pattern(s): 21:14:35 Archives upload complete. 21:14:35 INFO: archiving logs to Nexus