Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 08a153b8c2965787fd67b09d597875cb9d427991 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-ssh6395406174376065546.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-ssh10229520871698772218.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-ssh14842477012420965888.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-ssh10173260697571098023.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-ssh18393067533182692602.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-16440 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 08a153b8c2965787fd67b09d597875cb9d427991 (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 08a153b8c2965787fd67b09d597875cb9d427991 # timeout=10 Commit message: "feat: add metric to capture mqtt size in bytes (#1137)" > git rev-list --no-walk 819947f4f09d1c07a7b8314458ab127b6895c68f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:09:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:09:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:09:58 ========================================================= 00:09:58 EdgeX Global Pipelines Version Info 00:09:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:09:58 ------------------- 00:09:58 stable info: 00:09:58 ------------------- 00:09:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:09:58 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 00:09:58 Message: update stable to v1.0.234 00:09:59 ------------------- 00:09:59 experimental info: 00:09:59 ------------------- 00:09:59 Commited By: **** collab-it+edgex@linuxfoundation.org 00:09:59 Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 00:09:59 Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:09:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 00:09:59 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 00:09:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:09:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:09:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:09:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 00:09:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:09:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:09:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:09:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:09:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:09:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 00:09:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:09:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:09:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 00:09:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:09:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:09:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:09:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:09:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:09:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:09:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 00:09:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:09:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:09:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 00:09:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:10:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:10:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:10:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:10:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:10:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 08a153b8c2965787fd67b09d597875cb9d427991 [Pipeline] echo 00:10:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 08a153b [Pipeline] echo 00:10:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:10:00 + git rev-list -1 --merges 08a153b8c2965787fd67b09d597875cb9d427991~1..08a153b8c2965787fd67b09d597875cb9d427991 [Pipeline] echo 00:10:00 -----------> git rev-list -1 --merges 08a153b8c2965787fd67b09d597875cb9d427991~1..08a153b8c2965787fd67b09d597875cb9d427991 08a153b8c2965787fd67b09d597875cb9d427991 [false] [Pipeline] sh 00:10:00 + git log --format=format:%s -1 08a153b8c2965787fd67b09d597875cb9d427991 [Pipeline] echo 00:10:00 ========================================================= 00:10:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:10:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:10:01 + git log --format=format:%s -1 08a153b8c2965787fd67b09d597875cb9d427991 [Pipeline] echo 00:10:01 [semverPrep] GIT_COMMIT: 08a153b8c2965787fd67b09d597875cb9d427991, Commit Message: feat: add metric to capture mqtt size in bytes (#1137) [Pipeline] echo 00:10:01 [semverPrep] This is not a build commit. [Pipeline] sh 00:10:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:10:01 + grep -v github /etc/ssh/ssh_known_hosts 00:10:01 + [ -e /tmp/ssh_known_hosts ] 00:10:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:10:01 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:10:01 + sudo tee -a /etc/ssh/ssh_known_hosts 00:10:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:10:02 00:10:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:10:02 0.1.4: Pulling from edgex-devops/py-git-semver 00:10:02 42c077c10790: Pulling fs layer 00:10:02 f63e77b7563a: Pulling fs layer 00:10:02 bd5fdadae976: Pulling fs layer 00:10:02 205491f53016: Pulling fs layer 00:10:02 df18705c85c3: Pulling fs layer 00:10:02 bdb3f477010e: Pulling fs layer 00:10:02 c8a8fc8e1c8f: Pulling fs layer 00:10:02 2c6e9b1d212d: Pulling fs layer 00:10:02 bdb8f0575790: Pulling fs layer 00:10:02 386e3cb2ff24: Pulling fs layer 00:10:02 2343380bae48: Pulling fs layer 00:10:02 bdb8f0575790: Waiting 00:10:02 c8a8fc8e1c8f: Waiting 00:10:02 2c6e9b1d212d: Waiting 00:10:02 386e3cb2ff24: Waiting 00:10:02 205491f53016: Waiting 00:10:02 2343380bae48: Waiting 00:10:02 df18705c85c3: Waiting 00:10:02 bdb3f477010e: Waiting 00:10:02 f63e77b7563a: Download complete 00:10:02 205491f53016: Verifying Checksum 00:10:02 205491f53016: Download complete 00:10:02 df18705c85c3: Verifying Checksum 00:10:02 df18705c85c3: Download complete 00:10:02 bdb3f477010e: Verifying Checksum 00:10:02 bdb3f477010e: Download complete 00:10:02 bd5fdadae976: Verifying Checksum 00:10:02 bd5fdadae976: Download complete 00:10:02 2c6e9b1d212d: Download complete 00:10:02 bdb8f0575790: Download complete 00:10:02 386e3cb2ff24: Verifying Checksum 00:10:02 386e3cb2ff24: Download complete 00:10:02 2343380bae48: Download complete 00:10:02 42c077c10790: Verifying Checksum 00:10:02 42c077c10790: Download complete 00:10:03 c8a8fc8e1c8f: Verifying Checksum 00:10:03 c8a8fc8e1c8f: Download complete 00:10:04 42c077c10790: Pull complete 00:10:04 f63e77b7563a: Pull complete 00:10:04 bd5fdadae976: Pull complete 00:10:05 205491f53016: Pull complete 00:10:05 df18705c85c3: Pull complete 00:10:05 bdb3f477010e: Pull complete 00:10:08 c8a8fc8e1c8f: Pull complete 00:10:08 2c6e9b1d212d: Pull complete 00:10:08 bdb8f0575790: Pull complete 00:10:08 386e3cb2ff24: Pull complete 00:10:08 2343380bae48: Pull complete 00:10:08 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 00:10:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:10:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:10:08 prd-ubuntu20.04-docker-8c-8g-16440 does not seem to be running inside a container 00:10:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:10:09 $ docker top 790cfd63efaaef164fb800eb05053cf663fc96a5f353f1714a28d40b9115364b -eo pid,comm 00:10:09 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:10:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:10:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:10:09 [ssh-agent] Looking for ssh-agent implementation... 00:10:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:10:09 $ docker exec 790cfd63efaaef164fb800eb05053cf663fc96a5f353f1714a28d40b9115364b ssh-agent 00:10:09 SSH_AUTH_SOCK=/tmp/ssh-hAsngmL8JfUL/agent.33 00:10:09 SSH_AGENT_PID=39 00:10:09 Running ssh-add (command line suppressed) 00:10:10 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_2657679158736134203.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_2657679158736134203.key) 00:10:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:10:10 + git tag --points-at HEAD [Pipeline] } 00:10:10 $ docker exec --env ******** --env ******** 790cfd63efaaef164fb800eb05053cf663fc96a5f353f1714a28d40b9115364b ssh-agent -k 00:10:10 unset SSH_AUTH_SOCK; 00:10:10 unset SSH_AGENT_PID; 00:10:10 echo Agent pid 39 killed; 00:10:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:10:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:10:10 [ssh-agent] Looking for ssh-agent implementation... 00:10:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:10:10 $ docker exec 790cfd63efaaef164fb800eb05053cf663fc96a5f353f1714a28d40b9115364b ssh-agent 00:10:10 SSH_AUTH_SOCK=/tmp/ssh-xNgd7jGEsqGh/agent.72 00:10:10 SSH_AGENT_PID=78 00:10:10 Running ssh-add (command line suppressed) 00:10:10 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_3495990787306438325.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_3495990787306438325.key) 00:10:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:10:11 + git semver init 00:10:11 2022-06-30 00:10:11,440 [run_init] DEBUG init version:0.0.0 force:False 00:10:11 2022-06-30 00:10:11,440 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_app-functions-sdk-go_main/.semver 00:10:11 2022-06-30 00:10:11,441 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-functions-sdk-go.git /w/workspace/oundry_app-functions-sdk-go_main/.semver 00:10:11 2022-06-30 00:10:11,441 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-functions-sdk-go.git', '/w/workspace/oundry_app-functions-sdk-go_main/.semver'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) 00:10:12 2022-06-30 00:10:12,653 [append_file] DEBUG append to file:/w/workspace/oundry_app-functions-sdk-go_main/.git/info/exclude 00:10:12 2022-06-30 00:10:12,654 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:False 00:10:12 2022-06-30 00:10:12,654 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 00:10:12 2022-06-30 00:10:12,654 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 00:10:12 2.2.1-dev.13 [Pipeline] } 00:10:12 $ docker exec --env ******** --env ******** 790cfd63efaaef164fb800eb05053cf663fc96a5f353f1714a28d40b9115364b ssh-agent -k 00:10:13 unset SSH_AUTH_SOCK; 00:10:13 unset SSH_AGENT_PID; 00:10:13 echo Agent pid 78 killed; 00:10:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:10:13 + git semver [Pipeline] } 00:10:13 $ docker stop --time=1 790cfd63efaaef164fb800eb05053cf663fc96a5f353f1714a28d40b9115364b 00:10:14 $ docker rm -f 790cfd63efaaef164fb800eb05053cf663fc96a5f353f1714a28d40b9115364b [Pipeline] // withDockerContainer [Pipeline] sh 00:10:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:10:15 Stashed 1 file(s) [Pipeline] echo 00:10:15 [edgeXSemver]: initialized semver on version 2.2.1-dev.13 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 00:10:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:10:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:10:15 ========================================================= 00:10:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 00:10:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 00:10:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 00:10:16 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 00:10:16 59bf1c3509f3: Pulling fs layer 00:10:16 666ba61612fd: Pulling fs layer 00:10:16 8ed8ca486205: Pulling fs layer 00:10:16 cc1cd167ecdc: Pulling fs layer 00:10:16 c516ae0d96e1: Pulling fs layer 00:10:16 684cea983483: Pulling fs layer 00:10:16 dd3240ac7de5: Pulling fs layer 00:10:16 b1e948a4e11c: Pulling fs layer 00:10:16 a8fd76ee1af6: Pulling fs layer 00:10:16 646ad004c059: Pulling fs layer 00:10:16 b1e948a4e11c: Waiting 00:10:16 cc1cd167ecdc: Waiting 00:10:16 c516ae0d96e1: Waiting 00:10:16 a8fd76ee1af6: Waiting 00:10:16 646ad004c059: Waiting 00:10:16 684cea983483: Waiting 00:10:16 dd3240ac7de5: Waiting 00:10:16 8ed8ca486205: Verifying Checksum 00:10:16 8ed8ca486205: Download complete 00:10:16 666ba61612fd: Download complete 00:10:16 c516ae0d96e1: Verifying Checksum 00:10:16 c516ae0d96e1: Download complete 00:10:16 684cea983483: Verifying Checksum 00:10:16 684cea983483: Download complete 00:10:16 dd3240ac7de5: Verifying Checksum 00:10:16 dd3240ac7de5: Download complete 00:10:16 59bf1c3509f3: Verifying Checksum 00:10:16 59bf1c3509f3: Download complete 00:10:16 b1e948a4e11c: Verifying Checksum 00:10:16 b1e948a4e11c: Download complete 00:10:16 59bf1c3509f3: Pull complete 00:10:16 666ba61612fd: Pull complete 00:10:16 8ed8ca486205: Pull complete 00:10:16 646ad004c059: Verifying Checksum 00:10:16 646ad004c059: Download complete 00:10:16 a8fd76ee1af6: Verifying Checksum 00:10:16 a8fd76ee1af6: Download complete 00:10:16 cc1cd167ecdc: Verifying Checksum 00:10:16 cc1cd167ecdc: Download complete 00:10:21 cc1cd167ecdc: Pull complete 00:10:21 c516ae0d96e1: Pull complete 00:10:21 684cea983483: Pull complete 00:10:21 dd3240ac7de5: Pull complete 00:10:21 b1e948a4e11c: Pull complete 00:10:23 a8fd76ee1af6: Pull complete 00:10:24 646ad004c059: Pull complete 00:10:24 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 00:10:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 00:10:24 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 00:10:24 + 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 00:10:25 + docker inspect -f . ci-base-image-x86_64 00:10:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:10:25 prd-ubuntu20.04-docker-8c-8g-16440 does not seem to be running inside a container 00:10:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:10:27 $ docker top c5b94479244b93cb98d88611cf028e11f41a7a978597c3a1c57f60e58976075e -eo pid,comm [Pipeline] { [Pipeline] sh 00:10:27 + go version 00:10:27 go version go1.17.7 linux/amd64 [Pipeline] } 00:10:27 $ docker stop --time=1 c5b94479244b93cb98d88611cf028e11f41a7a978597c3a1c57f60e58976075e 00:10:28 $ docker rm -f c5b94479244b93cb98d88611cf028e11f41a7a978597c3a1c57f60e58976075e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:29 + docker inspect -f . ci-base-image-x86_64 00:10:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:10:29 prd-ubuntu20.04-docker-8c-8g-16440 does not seem to be running inside a container 00:10:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:10:29 $ docker top 5de3ede55e31f9f8402412a64d1e7c1a073d7a059ff90ef50517866312b0e3ff -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:10:30 + make test 00:10:30 make -C ./app-service-template build 00:10:30 make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 00:10:30 go mod tidy -compat=1.17 00:10:30 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 00:10:30 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 00:10:30 go: downloading github.com/stretchr/testify v1.7.3 00:10:30 go: downloading github.com/google/uuid v1.3.0 00:10:30 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.1-dev.4 00:10:30 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.1-dev.5 00:10:30 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 00:10:30 go: downloading github.com/davecgh/go-spew v1.1.1 00:10:30 go: downloading github.com/pmezard/go-difflib v1.0.0 00:10:30 go: downloading gopkg.in/yaml.v3 v3.0.1 00:10:30 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.1-dev.1 00:10:30 go: downloading github.com/gorilla/mux v1.8.0 00:10:30 go: downloading github.com/hashicorp/go-multierror v1.1.1 00:10:30 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 00:10:30 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.2 00:10:30 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 00:10:30 go: downloading github.com/stretchr/objx v0.4.0 00:10:30 go: downloading github.com/go-kit/log v0.2.0 00:10:30 go: downloading github.com/go-playground/validator/v10 v10.10.1 00:10:30 go: downloading github.com/pelletier/go-toml v1.9.5 00:10:30 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 00:10:30 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 00:10:30 go: downloading github.com/hashicorp/consul/api v1.9.1 00:10:30 go: downloading github.com/hashicorp/errwrap v1.0.0 00:10:30 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.0 00:10:30 go: downloading github.com/mitchellh/copystructure v1.0.0 00:10:30 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 00:10:30 go: downloading github.com/go-redis/redis/v7 v7.3.0 00:10:30 go: downloading github.com/pebbe/zmq4 v1.2.7 00:10:30 go: downloading github.com/go-logfmt/logfmt v0.5.1 00:10:30 go: downloading github.com/gorilla/websocket v1.4.2 00:10:30 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 00:10:30 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 00:10:30 go: downloading github.com/x448/float16 v0.8.4 00:10:30 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:10:30 go: downloading github.com/go-playground/universal-translator v0.18.0 00:10:30 go: downloading github.com/leodido/go-urn v1.2.1 00:10:30 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 00:10:30 go: downloading golang.org/x/text v0.3.7 00:10:30 go: downloading github.com/go-playground/locales v0.14.0 00:10:30 go: downloading github.com/mitchellh/reflectwalk v1.0.0 00:10:30 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 00:10:30 Still waiting to schedule task 00:10:30 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 00:10:30 go: downloading github.com/hashicorp/go-hclog v0.12.0 00:10:30 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 00:10:30 go: downloading github.com/hashicorp/serf v0.9.5 00:10:30 go: downloading github.com/mitchellh/mapstructure v1.1.2 00:10:30 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 00:10:30 go: downloading github.com/go-playground/assert/v2 v2.0.1 00:10:30 go: downloading github.com/hashicorp/consul/sdk v0.8.0 00:10:30 go: downloading github.com/hashicorp/go-uuid v1.0.1 00:10:30 go: downloading github.com/Microsoft/go-winio v0.5.2 00:10:30 go: downloading github.com/zeebo/errs v1.2.2 00:10:30 go: downloading google.golang.org/grpc v1.46.0 00:10:31 go: downloading github.com/onsi/ginkgo v1.10.1 00:10:31 go: downloading github.com/onsi/gomega v1.7.0 00:10:31 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 00:10:31 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 00:10:31 go: downloading github.com/fatih/color v1.9.0 00:10:31 go: downloading github.com/mattn/go-colorable v0.1.6 00:10:31 go: downloading github.com/mattn/go-isatty v0.0.12 00:10:31 go: downloading github.com/mitchellh/go-homedir v1.1.0 00:10:31 go: downloading github.com/kr/pretty v0.3.0 00:10:31 go: downloading github.com/pkg/errors v0.9.1 00:10:31 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 00:10:31 go: downloading google.golang.org/protobuf v1.28.0 00:10:31 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 00:10:31 go: downloading github.com/hashicorp/go-msgpack v0.5.3 00:10:31 go: downloading github.com/hashicorp/memberlist v0.2.2 00:10:31 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 00:10:31 go: downloading github.com/golang/protobuf v1.5.2 00:10:31 go: downloading github.com/google/go-cmp v0.5.6 00:10:31 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 00:10:31 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 00:10:31 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 00:10:31 go: downloading github.com/kr/text v0.2.0 00:10:31 go: downloading github.com/rogpeppe/go-internal v1.8.0 00:10:31 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 00:10:31 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 00:10:31 go: downloading github.com/miekg/dns v1.1.26 00:10:31 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 00:10:31 go: downloading gopkg.in/yaml.v2 v2.2.8 00:10:31 go: downloading github.com/hpcloud/tail v1.0.0 00:10:31 go: downloading github.com/hashicorp/golang-lru v0.5.0 00:10:31 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 00:10:31 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 00:10:31 go: downloading gopkg.in/fsnotify.v1 v1.4.7 00:10:33 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 00:10:55 make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 00:10:55 make -C ./app-service-template test 00:10:55 make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 00:10:55 CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... 00:11:13 ok new-app-service 0.062s coverage: 48.1% of statements 00:11:13 ? new-app-service/config [no test files] 00:11:13 ok new-app-service/functions 0.049s 00:11:13 CGO_ENABLED=1 go vet ./... 00:11:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:11:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:11:23 ./bin/test-attribution-txt.sh 00:11:23 make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 00:11:23 CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:11:23 go: downloading github.com/gomodule/redigo v1.8.8 00:11:23 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 00:11:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.147s coverage: 63.2% of statements 00:11:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.069s coverage: 93.8% of statements 00:11:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 00:11:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.115s coverage: 76.5% of statements 00:11:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 00:11:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.086s coverage: 88.7% of statements 00:11:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.046s coverage: 100.0% of statements 00:11:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.193s coverage: 78.5% of statements 00:11:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 00:11:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 00:11:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.083s coverage: 97.3% of statements 00:11:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 00:11:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] 00:11:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.067s coverage: 82.8% of statements 00:11:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] 00:11:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.755s coverage: 81.5% of statements 00:11:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] 00:11:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] 00:11:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.094s coverage: 28.7% of statements 00:11:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] 00:11:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.060s coverage: 14.0% of statements 00:11:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.063s coverage: 27.3% of statements 00:11:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 00:11:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 00:11:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.084s coverage: 51.4% of statements 00:11:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.166s coverage: 76.9% of statements 00:11:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.076s coverage: 94.4% of statements 00:11:52 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:11:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:11:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 00:12:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:12:03 $ docker stop --time=1 5de3ede55e31f9f8402412a64d1e7c1a073d7a059ff90ef50517866312b0e3ff 00:12:04 $ docker rm -f 5de3ede55e31f9f8402412a64d1e7c1a073d7a059ff90ef50517866312b0e3ff [Pipeline] // withDockerContainer [Pipeline] sh 00:12:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:12:05 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:12:06 00:12:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:12:06 latest: Pulling from edgex-lftools-log-publisher 00:12:06 5eb5b503b376: Pulling fs layer 00:12:06 5c69ac0246d0: Pulling fs layer 00:12:06 ec43610c2a17: Pulling fs layer 00:12:06 3a2ae6a8a46f: Pulling fs layer 00:12:06 33b1e0a273af: Pulling fs layer 00:12:06 5d3b04190fa2: Pulling fs layer 00:12:06 2f39f015ded8: Pulling fs layer 00:12:06 33b1e0a273af: Waiting 00:12:06 5d3b04190fa2: Waiting 00:12:06 3a2ae6a8a46f: Waiting 00:12:06 2f39f015ded8: Waiting 00:12:06 5c69ac0246d0: Verifying Checksum 00:12:06 5c69ac0246d0: Download complete 00:12:06 3a2ae6a8a46f: Verifying Checksum 00:12:06 3a2ae6a8a46f: Download complete 00:12:06 33b1e0a273af: Verifying Checksum 00:12:06 33b1e0a273af: Download complete 00:12:06 5d3b04190fa2: Download complete 00:12:06 ec43610c2a17: Verifying Checksum 00:12:06 ec43610c2a17: Download complete 00:12:06 5eb5b503b376: Verifying Checksum 00:12:06 5eb5b503b376: Download complete 00:12:07 2f39f015ded8: Download complete 00:12:08 5eb5b503b376: Pull complete 00:12:08 5c69ac0246d0: Pull complete 00:12:08 ec43610c2a17: Pull complete 00:12:08 3a2ae6a8a46f: Pull complete 00:12:09 33b1e0a273af: Pull complete 00:12:09 5d3b04190fa2: Pull complete 00:12:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16441 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws 00:12:09 Running in /w/workspace/app-functions-sdk-go/132 [Pipeline] { [Pipeline] checkout 00:12:09 The recommended git tool is: git 00:12:14 2f39f015ded8: Pull complete 00:12:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:12:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:12:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:12:14 prd-ubuntu20.04-docker-8c-8g-16440 does not seem to be running inside a container 00:12:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:12:16 using credential edgex-jenkins-ssh 00:12:16 Cloning the remote Git repository 00:12:16 $ docker top 83b7308b48f0b42fecd7d0765c478fb8d77c10426522403e1d4c6c9dc047dbd3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:12:16 ---> job-cost.sh 00:12:16 lf-activate-venv: SKIPPING 00:12:16 INFO: No Stack... 00:12:16 INFO: Retrieving Pricing Info for: v3-standard-8 00:12:17 INFO: Archiving Costs [Pipeline] sh 00:12:16 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 00:12:16 > git init /w/workspace/app-functions-sdk-go/132 # timeout=10 00:12:16 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:12:16 > git --version # timeout=10 00:12:16 > git --version # 'git version 2.25.1' 00:12:16 using GIT_SSH to set credentials SSH Credentials for GitHub 00:12:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:12:17 + cat /w/workspace/oundry_app-functions-sdk-go_main/archives/cost.csv 00:12:17 + cut -d, -f6 [Pipeline] lock 00:12:17 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-132-stack-cost] 00:12:17 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-132-stack-cost] did not exist. Created. 00:12:17 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-132-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:12:17 + echo total: 0.2199999988079071 [Pipeline] stash 00:12:18 Stashed 1 file(s) [Pipeline] } 00:12:18 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-132-stack-cost] [Pipeline] // lock [Pipeline] } 00:12:18 $ docker stop --time=1 83b7308b48f0b42fecd7d0765c478fb8d77c10426522403e1d4c6c9dc047dbd3 00:12:19 $ docker rm -f 83b7308b48f0b42fecd7d0765c478fb8d77c10426522403e1d4c6c9dc047dbd3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:12:19 Avoid second fetch 00:12:19 Checking out Revision 08a153b8c2965787fd67b09d597875cb9d427991 (main) 00:12:19 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:12:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:12:19 > git config core.sparsecheckout # timeout=10 00:12:19 > git checkout -f 08a153b8c2965787fd67b09d597875cb9d427991 # timeout=10 00:12:24 Commit message: "feat: add metric to capture mqtt size in bytes (#1137)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:12:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:12:24 % Total % Received % Xferd Average Speed Time Time Time Current 00:12:24 Dload Upload Total Spent Left Speed 00:12:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 94253 0 --:--:-- --:--:-- --:--:-- 94984 [Pipeline] sh 00:12:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:12:25 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:12:25 + sudo tee /etc/docker/daemon.new 00:12:25 { 00:12:25 "registry-mirrors": [ 00:12:25 "https://nexus3.edgexfoundry.org:10001" 00:12:25 ], 00:12:25 "bip": "10.250.0.254/24", 00:12:25 "hosts": [ 00:12:25 "tcp://0.0.0.0:5555", 00:12:25 "unix:///var/run/docker.sock" 00:12:25 ], 00:12:25 "mtu": 1458, 00:12:25 "selinux-enabled": true, 00:12:25 "seccomp-profile": "/etc/docker/seccomp.json" 00:12:25 } [Pipeline] sh 00:12:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:12:26 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 00:12:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:12:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:12:45 ========================================================= 00:12:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 00:12:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 00:12:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 00:12:46 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:12:46 9b3977197b4f: Pulling fs layer 00:12:46 1a89e8eeedd5: Pulling fs layer 00:12:46 94645a83ff95: Pulling fs layer 00:12:46 e6fb740bc735: Pulling fs layer 00:12:46 3a77bd46dcc9: Pulling fs layer 00:12:46 355e64cbe906: Pulling fs layer 00:12:46 63ab81a10011: Pulling fs layer 00:12:46 555d1d1c4555: Pulling fs layer 00:12:46 7d9057610161: Pulling fs layer 00:12:46 e6fb740bc735: Waiting 00:12:46 3a77bd46dcc9: Waiting 00:12:46 63ab81a10011: Waiting 00:12:46 555d1d1c4555: Waiting 00:12:46 355e64cbe906: Waiting 00:12:46 7d9057610161: Waiting 00:12:46 94645a83ff95: Verifying Checksum 00:12:46 94645a83ff95: Download complete 00:12:46 1a89e8eeedd5: Verifying Checksum 00:12:46 3a77bd46dcc9: Verifying Checksum 00:12:46 3a77bd46dcc9: Download complete 00:12:46 355e64cbe906: Verifying Checksum 00:12:46 355e64cbe906: Download complete 00:12:46 63ab81a10011: Verifying Checksum 00:12:46 63ab81a10011: Download complete 00:12:46 9b3977197b4f: Verifying Checksum 00:12:46 9b3977197b4f: Download complete 00:12:47 9b3977197b4f: Pull complete 00:12:47 7d9057610161: Verifying Checksum 00:12:47 7d9057610161: Download complete 00:12:47 1a89e8eeedd5: Pull complete 00:12:48 94645a83ff95: Pull complete 00:12:48 555d1d1c4555: Verifying Checksum 00:12:48 555d1d1c4555: Download complete 00:12:49 e6fb740bc735: Verifying Checksum 00:12:49 e6fb740bc735: Download complete 00:13:01 e6fb740bc735: Pull complete 00:13:01 3a77bd46dcc9: Pull complete 00:13:01 355e64cbe906: Pull complete 00:13:01 63ab81a10011: Pull complete 00:13:08 555d1d1c4555: Pull complete 00:13:10 7d9057610161: Pull complete 00:13:10 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 00:13:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 00:13:10 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh 00:13:10 + 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 00:13:11 + docker inspect -f . ci-base-image-arm64 00:13:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:13:11 prd-ubuntu20.04-docker-arm64-4c-16g-16441 does not seem to be running inside a container 00:13:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/132 -v /w/workspace/app-functions-sdk-go/132:/w/workspace/app-functions-sdk-go/132:rw,z -v /w/workspace/app-functions-sdk-go/132@tmp:/w/workspace/app-functions-sdk-go/132@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:13:14 $ docker top 493a798321fd9d5127ca901bdd29793ee10800b63b1b316f0e86c04b89ee5f3e -eo pid,comm [Pipeline] { [Pipeline] sh 00:13:15 + go version 00:13:15 go version go1.17.7 linux/arm64 [Pipeline] } 00:13:15 $ docker stop --time=1 493a798321fd9d5127ca901bdd29793ee10800b63b1b316f0e86c04b89ee5f3e 00:13:17 $ docker rm -f 493a798321fd9d5127ca901bdd29793ee10800b63b1b316f0e86c04b89ee5f3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:17 + docker inspect -f . ci-base-image-arm64 00:13:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:13:17 prd-ubuntu20.04-docker-arm64-4c-16g-16441 does not seem to be running inside a container 00:13:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/132 -v /w/workspace/app-functions-sdk-go/132:/w/workspace/app-functions-sdk-go/132:rw,z -v /w/workspace/app-functions-sdk-go/132@tmp:/w/workspace/app-functions-sdk-go/132@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:13:19 $ docker top eaab09b620dea4282a13b6d08842d0ad274f4c28810557ddbcd736e5d695d213 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:13:20 + make test 00:13:20 make -C ./app-service-template build 00:13:20 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/132/app-service-template' 00:13:20 go mod tidy -compat=1.17 00:13:20 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 00:13:20 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 00:13:20 go: downloading github.com/stretchr/testify v1.7.3 00:13:20 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.1-dev.4 00:13:20 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.1-dev.5 00:13:20 go: downloading github.com/google/uuid v1.3.0 00:13:20 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 00:13:20 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.2 00:13:20 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 00:13:20 go: downloading github.com/davecgh/go-spew v1.1.1 00:13:20 go: downloading github.com/pmezard/go-difflib v1.0.0 00:13:20 go: downloading gopkg.in/yaml.v3 v3.0.1 00:13:20 go: downloading github.com/stretchr/objx v0.4.0 00:13:21 go: downloading github.com/go-playground/validator/v10 v10.10.1 00:13:21 go: downloading github.com/go-kit/log v0.2.0 00:13:21 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.1-dev.1 00:13:21 go: downloading github.com/gorilla/mux v1.8.0 00:13:21 go: downloading github.com/hashicorp/go-multierror v1.1.1 00:13:21 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 00:13:21 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 00:13:21 go: downloading github.com/mitchellh/copystructure v1.0.0 00:13:21 go: downloading github.com/gorilla/websocket v1.4.2 00:13:21 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 00:13:21 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 00:13:21 go: downloading github.com/pelletier/go-toml v1.9.5 00:13:21 go: downloading github.com/go-logfmt/logfmt v0.5.1 00:13:21 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 00:13:21 go: downloading github.com/hashicorp/errwrap v1.0.0 00:13:21 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.0 00:13:21 go: downloading github.com/hashicorp/consul/api v1.9.1 00:13:21 go: downloading github.com/go-playground/universal-translator v0.18.0 00:13:21 go: downloading github.com/leodido/go-urn v1.2.1 00:13:21 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 00:13:22 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 00:13:22 go: downloading golang.org/x/text v0.3.7 00:13:22 go: downloading github.com/go-playground/assert/v2 v2.0.1 00:13:22 go: downloading github.com/go-playground/locales v0.14.0 00:13:25 go: downloading github.com/mitchellh/reflectwalk v1.0.0 00:13:25 go: downloading github.com/x448/float16 v0.8.4 00:13:25 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 00:13:25 go: downloading github.com/pebbe/zmq4 v1.2.7 00:13:25 go: downloading github.com/go-redis/redis/v7 v7.3.0 00:13:25 go: downloading github.com/Microsoft/go-winio v0.5.2 00:13:25 go: downloading github.com/zeebo/errs v1.2.2 00:13:25 go: downloading google.golang.org/grpc v1.46.0 00:13:26 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:13:26 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 00:13:26 go: downloading github.com/hashicorp/go-hclog v0.12.0 00:13:26 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 00:13:26 go: downloading github.com/hashicorp/serf v0.9.5 00:13:26 go: downloading github.com/mitchellh/mapstructure v1.1.2 00:13:26 go: downloading github.com/hashicorp/consul/sdk v0.8.0 00:13:26 go: downloading github.com/hashicorp/go-uuid v1.0.1 00:13:26 go: downloading github.com/kr/pretty v0.3.0 00:13:26 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 00:13:26 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 00:13:26 go: downloading google.golang.org/protobuf v1.28.0 00:13:27 go: downloading github.com/onsi/ginkgo v1.10.1 00:13:27 go: downloading github.com/onsi/gomega v1.7.0 00:13:27 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 00:13:27 go: downloading github.com/golang/protobuf v1.5.2 00:13:27 go: downloading github.com/google/go-cmp v0.5.6 00:13:27 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 00:13:27 go: downloading github.com/mitchellh/go-homedir v1.1.0 00:13:27 go: downloading github.com/fatih/color v1.9.0 00:13:28 go: downloading github.com/mattn/go-colorable v0.1.6 00:13:28 go: downloading github.com/mattn/go-isatty v0.0.12 00:13:28 go: downloading github.com/pkg/errors v0.9.1 00:13:28 go: downloading github.com/kr/text v0.2.0 00:13:28 go: downloading github.com/rogpeppe/go-internal v1.8.0 00:13:28 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 00:13:28 go: downloading github.com/hashicorp/go-msgpack v0.5.3 00:13:28 go: downloading github.com/hashicorp/memberlist v0.2.2 00:13:28 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 00:13:28 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 00:13:28 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 00:13:28 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 00:13:28 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 00:13:28 go: downloading github.com/miekg/dns v1.1.26 00:13:28 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 00:13:28 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 00:13:29 go: downloading github.com/hpcloud/tail v1.0.0 00:13:29 go: downloading gopkg.in/yaml.v2 v2.2.8 00:13:29 go: downloading github.com/hashicorp/golang-lru v0.5.0 00:13:29 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 00:13:29 go: downloading gopkg.in/fsnotify.v1 v1.4.7 00:13:33 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 00:15:25 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/132/app-service-template' 00:15:25 make -C ./app-service-template test 00:15:25 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/132/app-service-template' 00:15:25 CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... 00:17:32 ok new-app-service 0.241s coverage: 48.1% of statements 00:17:32 ? new-app-service/config [no test files] 00:17:32 ok new-app-service/functions 0.197s 00:17:32 CGO_ENABLED=1 go vet ./... 00:18:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:18:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:18:54 ./bin/test-attribution-txt.sh 00:18:54 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/132/app-service-template' 00:18:54 CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:18:54 go: downloading github.com/gomodule/redigo v1.8.8 00:18:54 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 00:19:12 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.669s coverage: 63.2% of statements 00:19:12 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.409s coverage: 93.8% of statements 00:19:12 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 00:19:12 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.379s coverage: 76.5% of statements 00:19:12 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 00:19:12 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.527s coverage: 88.7% of statements 00:19:12 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.136s coverage: 100.0% of statements 00:19:12 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.788s coverage: 78.5% of statements 00:19:12 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 00:19:12 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 00:19:12 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.289s coverage: 97.3% of statements 00:19:12 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 00:19:12 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] 00:19:17 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.440s coverage: 82.8% of statements 00:19:17 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] 00:19:23 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 1.049s coverage: 81.5% of statements 00:19:23 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] 00:19:23 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] 00:19:23 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.334s coverage: 28.7% of statements 00:19:23 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] 00:19:23 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.250s coverage: 14.0% of statements 00:19:28 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.262s coverage: 27.3% of statements 00:19:28 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 00:19:28 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 00:19:29 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.250s coverage: 51.4% of statements 00:20:01 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.512s coverage: 76.9% of statements 00:20:01 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.247s coverage: 94.4% of statements 00:20:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:20:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:20:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:20:07 WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] echo 00:20:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:20:07 $ docker stop --time=1 eaab09b620dea4282a13b6d08842d0ad274f4c28810557ddbcd736e5d695d213 00:20:09 $ docker rm -f eaab09b620dea4282a13b6d08842d0ad274f4c28810557ddbcd736e5d695d213 [Pipeline] // withDockerContainer [Pipeline] sh 00:20:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:20:13 Warning: overwriting stash ‘coverage-report’ 00:20:13 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:20:14 00:20:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:20:14 arm64: Pulling from edgex-lftools-log-publisher 00:20:14 8998bd30e6a1: Pulling fs layer 00:20:14 04944245beec: Pulling fs layer 00:20:14 699f458cf7ca: Pulling fs layer 00:20:14 765212b225bb: Pulling fs layer 00:20:14 f23df028b6ca: Pulling fs layer 00:20:14 d65c8cfc05b1: Pulling fs layer 00:20:14 2437ff75d9bd: Pulling fs layer 00:20:14 f23df028b6ca: Waiting 00:20:14 d65c8cfc05b1: Waiting 00:20:14 2437ff75d9bd: Waiting 00:20:14 765212b225bb: Waiting 00:20:14 04944245beec: Verifying Checksum 00:20:14 04944245beec: Download complete 00:20:14 765212b225bb: Verifying Checksum 00:20:14 765212b225bb: Download complete 00:20:14 f23df028b6ca: Verifying Checksum 00:20:14 f23df028b6ca: Download complete 00:20:14 d65c8cfc05b1: Verifying Checksum 00:20:14 d65c8cfc05b1: Download complete 00:20:14 699f458cf7ca: Verifying Checksum 00:20:14 699f458cf7ca: Download complete 00:20:15 8998bd30e6a1: Verifying Checksum 00:20:15 8998bd30e6a1: Download complete 00:20:17 2437ff75d9bd: Verifying Checksum 00:20:17 2437ff75d9bd: Download complete 00:20:19 8998bd30e6a1: Pull complete 00:20:20 04944245beec: Pull complete 00:20:21 699f458cf7ca: Pull complete 00:20:21 765212b225bb: Pull complete 00:20:22 f23df028b6ca: Pull complete 00:20:22 d65c8cfc05b1: Pull complete 00:20:37 2437ff75d9bd: Pull complete 00:20:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:20:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:20:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:20:38 prd-ubuntu20.04-docker-arm64-4c-16g-16441 does not seem to be running inside a container 00:20:38 $ 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/132 -v /w/workspace/app-functions-sdk-go/132:/w/workspace/app-functions-sdk-go/132:rw,z -v /w/workspace/app-functions-sdk-go/132@tmp:/w/workspace/app-functions-sdk-go/132@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:20:40 $ docker top fbc425345c6ff6f8013d2c8587289d5bd203be45e9d730f0b858dbc9c1e684ab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:20:41 ---> job-cost.sh 00:20:41 lf-activate-venv: SKIPPING 00:20:41 INFO: No Stack... 00:20:42 INFO: Retrieving Pricing Info for: v3-standard-4 00:20:42 INFO: Archiving Costs [Pipeline] sh 00:20:43 + + cutcat -d, /w/workspace/app-functions-sdk-go/132/archives/cost.csv -f6 00:20:43 [Pipeline] lock 00:20:43 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-132-stack-cost] 00:20:43 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-132-stack-cost] did not exist. Created. 00:20:43 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-132-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:20:44 /w/workspace/app-functions-sdk-go/132@tmp/durable-494915d7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:20:44 + echo total: 0.10999999940395355 [Pipeline] stash 00:20:44 Warning: overwriting stash ‘stack-cost’ 00:20:45 Stashed 1 file(s) [Pipeline] } 00:20:45 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-132-stack-cost] [Pipeline] // lock [Pipeline] } 00:20:45 $ docker stop --time=1 fbc425345c6ff6f8013d2c8587289d5bd203be45e9d730f0b858dbc9c1e684ab 00:20:46 $ docker rm -f fbc425345c6ff6f8013d2c8587289d5bd203be45e9d730f0b858dbc9c1e684ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 00:20:46 provisioning config files... 00:20:46 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config992466610019356112tmp [Pipeline] { [Pipeline] sh 00:20:47 + set +x 00:20:47 + + curl -s https://codecov.io/bash 00:20:47 bash -s -- 00:20:47 00:20:47 _____ _ 00:20:47 / ____| | | 00:20:47 | | ___ __| | ___ ___ _____ __ 00:20:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:20:47 | |___| (_) | (_| | __/ (_| (_) \ V / 00:20:47 \_____\___/ \__,_|\___|\___\___/ \_/ 00:20:47 Bash-1.0.6 00:20:47 00:20:47 00:20:47 ==> git version 2.25.1 found 00:20:47 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 00:20:47 Release-Date: 2020-01-08 00:20:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:20:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:20:47 ==> Jenkins CI detected. 00:20:47 current dir:  /w/workspace/oundry_app-functions-sdk-go_main 00:20:47 project root: . 00:20:47 --> token set from env 00:20:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:20:47 ==> Running gcov in . (disable via -X gcov) 00:20:47 ==> Python coveragepy not found 00:20:47 ==> Searching for coverage reports in: 00:20:47 + . 00:20:47 -> Found 2 reports 00:20:47 ==> Detecting git/mercurial file structure 00:20:47 ==> Reading reports 00:20:47 + ./app-service-template/coverage.out bytes=1222 00:20:47 + ./coverage.out bytes=122650 00:20:47 ==> Appending adjustments 00:20:47 https://docs.codecov.io/docs/fixing-reports 00:20:47 + Found adjustments 00:20:47 ==> Gzipping contents 00:20:47 24K /tmp/codecov.q3Ghqa.gz 00:20:47 ==> Uploading reports 00:20:47 url: https://codecov.io 00:20:47 query: branch=main&commit=08a153b8c2965787fd67b09d597875cb9d427991&build=132&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F132%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:20:47 -> Pinging Codecov 00:20:47 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=08a153b8c2965787fd67b09d597875cb9d427991&build=132&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F132%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:20:48 -> Uploading to 00:20:48 https://storage.googleapis.com/codecov/v4/raw/2022-06-30/3D8B5DFFC46A037C893635FACE044666/08a153b8c2965787fd67b09d597875cb9d427991/72fc4b85-5d50-4997-9a6f-ee3579c3bb46.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220630%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220630T002048Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=69166c03a9d3a157cff38302c3632762f1db55f75005b337f9cb6a968e17ea5f 00:20:48 % Total % Received % Xferd Average Speed Time Time Time Current 00:20:48 Dload Upload Total Spent Left Speed 00:20:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21184 0 0 100 21184 0 83074 --:--:-- --:--:-- --:--:-- 83074 00:20:48 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/08a153b8c2965787fd67b09d597875cb9d427991 [Pipeline] } 00:20:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:20:48 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:20:48 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:20:49 00:20:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:20:49 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:20:49 df9b9388f04a: Pulling fs layer 00:20:49 52dc419b0ee2: Pulling fs layer 00:20:49 25bc292e5bac: Pulling fs layer 00:20:49 114826534d7a: Pulling fs layer 00:20:49 4657fd5d0bcf: Pulling fs layer 00:20:49 6ad1cebc031e: Pulling fs layer 00:20:49 8a3aa393b2d8: Pulling fs layer 00:20:49 8a3aa393b2d8: Waiting 00:20:49 4657fd5d0bcf: Waiting 00:20:49 6ad1cebc031e: Waiting 00:20:49 114826534d7a: Waiting 00:20:49 25bc292e5bac: Download complete 00:20:49 52dc419b0ee2: Verifying Checksum 00:20:49 4657fd5d0bcf: Verifying Checksum 00:20:49 4657fd5d0bcf: Download complete 00:20:49 df9b9388f04a: Download complete 00:20:49 df9b9388f04a: Pull complete 00:20:49 6ad1cebc031e: Verifying Checksum 00:20:49 6ad1cebc031e: Download complete 00:20:49 52dc419b0ee2: Pull complete 00:20:50 25bc292e5bac: Pull complete 00:20:50 114826534d7a: Verifying Checksum 00:20:50 114826534d7a: Download complete 00:20:50 8a3aa393b2d8: Verifying Checksum 00:20:50 8a3aa393b2d8: Download complete 00:20:54 114826534d7a: Pull complete 00:20:54 4657fd5d0bcf: Pull complete 00:20:54 6ad1cebc031e: Pull complete 00:20:57 8a3aa393b2d8: Pull complete 00:20:57 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:20:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:20:57 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:20:57 prd-ubuntu20.04-docker-8c-8g-16440 does not seem to be running inside a container 00:20:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 00:20:59 $ docker top 496f5fee3c54c238951978518e5bfa1e7747ac2ad4937f7a064460f915845302 -eo pid,comm [Pipeline] { [Pipeline] echo 00:20:59 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-functions-sdk-go:main' [Pipeline] sh 00:20:59 + set -o pipefail 00:20:59 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-functions-sdk-go:main' 00:21:04 00:21:04 Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v2)... 00:21:04 00:21:04 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/899a6017-c938-46f1-adf7-2bd1b283a5ba/history/e31eddc6-1d9b-48e1-ac12-93333fd4785f 00:21:04 00:21:04 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 00:21:04 00:21:04 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:21:04 00:21:04 00:21:04 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 00:21:04 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 00:21:04 $ docker stop --time=1 496f5fee3c54c238951978518e5bfa1e7747ac2ad4937f7a064460f915845302 00:21:06 $ docker rm -f 496f5fee3c54c238951978518e5bfa1e7747ac2ad4937f7a064460f915845302 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 00:21:06 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:21:06 provisioning config files... 00:21:06 copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config9160751357374703279tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:21:07 --> edgex-publish-swagger.sh 00:21:07 === Publish openapi/v2 API === 00:21:07 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 00:21:07 [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v2/app-functions-sdk.yaml] 00:21:07 % Total % Received % Xferd Average Speed Time Time Time Current 00:21:07 Dload Upload Total Spent Left Speed 00:21:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13708 0 0 100 13708 0 100k --:--:-- --:--:-- --:--:-- 99k 100 13708 0 0 100 13708 0 13763 --:--:-- --:--:-- --:--:-- 13749 00:21:07 00:21:07 [Pipeline] } 00:21:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:21:08 + git log --format=format:%s -1 08a153b8c2965787fd67b09d597875cb9d427991 [Pipeline] sh 00:21:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:21:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:21:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:21:09 prd-ubuntu20.04-docker-8c-8g-16440 does not seem to be running inside a container 00:21:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:21:09 $ docker top 689f6fece586dd08084c73dd2d25dbc4eee2fe344a9307e5a060e575a8b5b1ff -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:21:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:21:09 [ssh-agent] Looking for ssh-agent implementation... 00:21:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:21:09 $ docker exec 689f6fece586dd08084c73dd2d25dbc4eee2fe344a9307e5a060e575a8b5b1ff ssh-agent 00:21:09 SSH_AUTH_SOCK=/tmp/ssh-JIGEk6APD8bA/agent.32 00:21:09 SSH_AGENT_PID=39 00:21:09 Running ssh-add (command line suppressed) 00:21:10 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_2511542447394149828.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_2511542447394149828.key) 00:21:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:21:10 + git semver tag 00:21:10 2022-06-30 00:21:10,516 [run_tag] DEBUG tag force:False 00:21:10 2022-06-30 00:21:10,516 [check_head_tag] DEBUG check head tag 00:21:10 2022-06-30 00:21:10,517 [execute] INFO git cat-file --batch-check 00:21:10 2022-06-30 00:21:10,517 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) 00:21:10 2022-06-30 00:21:10,521 [execute] INFO git cat-file --batch 00:21:10 2022-06-30 00:21:10,522 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) 00:21:10 2022-06-30 00:21:10,534 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 00:21:10 2022-06-30 00:21:10,534 [execute] INFO git tag -a v2.2.1-dev.13 -m v2.2.1-dev.13 00:21:10 2022-06-30 00:21:10,534 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.13', '-m', 'v2.2.1-dev.13'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) 00:21:10 2022-06-30 00:21:10,539 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 00:21:10 2.2.1-dev.13 [Pipeline] } 00:21:10 $ docker exec --env ******** --env ******** 689f6fece586dd08084c73dd2d25dbc4eee2fe344a9307e5a060e575a8b5b1ff ssh-agent -k 00:21:10 unset SSH_AUTH_SOCK; 00:21:10 unset SSH_AGENT_PID; 00:21:10 echo Agent pid 39 killed; 00:21:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:21:11 + git semver [Pipeline] } 00:21:11 $ docker stop --time=1 689f6fece586dd08084c73dd2d25dbc4eee2fe344a9307e5a060e575a8b5b1ff 00:21:12 $ docker rm -f 689f6fece586dd08084c73dd2d25dbc4eee2fe344a9307e5a060e575a8b5b1ff [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:21:13 00:21:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:21:13 0.23.1-centos7: Pulling from edgex-lftools 00:21:13 ab5ef0e58194: Pulling fs layer 00:21:13 9712f1f96733: Pulling fs layer 00:21:13 63f879dbbcfc: Pulling fs layer 00:21:13 0d9ebad4ef96: Pulling fs layer 00:21:13 e9a5061849ea: Pulling fs layer 00:21:13 d747dcd14b5f: Pulling fs layer 00:21:13 2de7ff778b66: Pulling fs layer 00:21:13 0d9ebad4ef96: Waiting 00:21:13 e9a5061849ea: Waiting 00:21:13 d747dcd14b5f: Waiting 00:21:13 2de7ff778b66: Waiting 00:21:13 9712f1f96733: Download complete 00:21:13 63f879dbbcfc: Verifying Checksum 00:21:13 63f879dbbcfc: Download complete 00:21:13 ab5ef0e58194: Verifying Checksum 00:21:13 ab5ef0e58194: Download complete 00:21:13 e9a5061849ea: Verifying Checksum 00:21:13 e9a5061849ea: Download complete 00:21:13 d747dcd14b5f: Download complete 00:21:13 0d9ebad4ef96: Verifying Checksum 00:21:13 0d9ebad4ef96: Download complete 00:21:13 2de7ff778b66: Verifying Checksum 00:21:13 2de7ff778b66: Download complete 00:21:17 ab5ef0e58194: Pull complete 00:21:17 9712f1f96733: Pull complete 00:21:17 63f879dbbcfc: Pull complete 00:21:21 0d9ebad4ef96: Pull complete 00:21:21 e9a5061849ea: Pull complete 00:21:22 d747dcd14b5f: Pull complete 00:21:23 2de7ff778b66: Pull complete 00:21:23 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:21:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:21:23 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:21:23 prd-ubuntu20.04-docker-8c-8g-16440 does not seem to be running inside a container 00:21:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:21:25 $ docker top bc0a1b537374890da8defca92f3de2ad83bb0a374f879295aa755e64eae60860 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:21:25 provisioning config files... 00:21:25 copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config1928044789519144841tmp 00:21:25 copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config1320876872139042751tmp 00:21:25 copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config311589467382277708tmp [Pipeline] { [Pipeline] echo 00:21:25 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:21:26 ---> sigul-configuration.sh 00:21:26 gpg: directory `/root/.gnupg' created 00:21:26 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:21:26 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:21:26 gpg: keyring `/root/.gnupg/secring.gpg' created 00:21:26 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:21:26 gpg: CAST5 encrypted data 00:21:26 gpg: encrypted with 1 passphrase 00:21:26 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:21:26 + mkdir /home/jenkins 00:21:26 + mkdir /home/jenkins/sigul [Pipeline] sh 00:21:26 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 00:21:26 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:21:26 ---> sigul-install.sh 00:21:26 Sigul already installed; skipping installation. [Pipeline] sh 00:21:27 + git tag --list 00:21:27 v0.1.0 00:21:27 v0.1.1 00:21:27 v1.0.0 00:21:27 v1.1.0 00:21:27 v1.2.0 00:21:27 v1.3.0 00:21:27 v1.3.1 00:21:27 v2.0.0 00:21:27 v2.0.1 00:21:27 v2.1.0 00:21:27 v2.1.1 00:21:27 v2.1.1-dev.3 00:21:27 v2.1.1-dev.4 00:21:27 v2.2.0 00:21:27 v2.2.1-dev.1 00:21:27 v2.2.1-dev.10 00:21:27 v2.2.1-dev.11 00:21:27 v2.2.1-dev.12 00:21:27 v2.2.1-dev.13 00:21:27 v2.2.1-dev.2 00:21:27 v2.2.1-dev.3 00:21:27 v2.2.1-dev.4 00:21:27 v2.2.1-dev.5 00:21:27 v2.2.1-dev.6 00:21:27 v2.2.1-dev.7 00:21:27 v2.2.1-dev.8 00:21:27 v2.2.1-dev.9 [Pipeline] sh 00:21:27 + lftools sign git-tag v2.2.1-dev.13 00:21:28 Signing Git tag with Sigul... 00:21:28 Signing v2.2.1-dev.13 [Pipeline] echo 00:21:28 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:21:28 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:21:28 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:21:28 $ docker stop --time=1 bc0a1b537374890da8defca92f3de2ad83bb0a374f879295aa755e64eae60860 00:21:30 $ docker rm -f bc0a1b537374890da8defca92f3de2ad83bb0a374f879295aa755e64eae60860 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:21:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:21:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:21:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:21:30 prd-ubuntu20.04-docker-8c-8g-16440 does not seem to be running inside a container 00:21:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:21:31 $ docker top 9431fd10e250e0e348694aede05fd02b0b43743addabb5572ac92806fc5f47ad -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:21:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:21:31 [ssh-agent] Looking for ssh-agent implementation... 00:21:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:21:31 $ docker exec 9431fd10e250e0e348694aede05fd02b0b43743addabb5572ac92806fc5f47ad ssh-agent 00:21:31 SSH_AUTH_SOCK=/tmp/ssh-PYvA2wHIkCzY/agent.35 00:21:31 SSH_AGENT_PID=42 00:21:31 Running ssh-add (command line suppressed) 00:21:31 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4599334883818210664.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4599334883818210664.key) 00:21:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:21:32 + git semver bump pre 00:21:32 2022-06-30 00:21:32,346 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 00:21:32 2022-06-30 00:21:32,347 [bump_version] DEBUG bumping version:2.2.1-dev.13 on axis:pre with prefix:dev 00:21:32 2022-06-30 00:21:32,347 [bump_version] DEBUG bumped version:2.2.1-dev.14 00:21:32 2022-06-30 00:21:32,347 [write_version] DEBUG write version:2.2.1-dev.14 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:True 00:21:32 2022-06-30 00:21:32,347 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 00:21:32 2022-06-30 00:21:32,347 [write_file] DEBUG write to file:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main 00:21:32 2022-06-30 00:21:32,349 [execute] INFO git cat-file --batch-check 00:21:32 2022-06-30 00:21:32,349 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:21:32 2022-06-30 00:21:32,354 [execute] INFO git cat-file --batch 00:21:32 2022-06-30 00:21:32,354 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:21:32 2022-06-30 00:21:32,359 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 00:21:32 2.2.1-dev.14 [Pipeline] } 00:21:32 $ docker exec --env ******** --env ******** 9431fd10e250e0e348694aede05fd02b0b43743addabb5572ac92806fc5f47ad ssh-agent -k 00:21:32 unset SSH_AUTH_SOCK; 00:21:32 unset SSH_AGENT_PID; 00:21:32 echo Agent pid 42 killed; 00:21:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:21:32 + git semver [Pipeline] } 00:21:33 $ docker stop --time=1 9431fd10e250e0e348694aede05fd02b0b43743addabb5572ac92806fc5f47ad 00:21:34 $ docker rm -f 9431fd10e250e0e348694aede05fd02b0b43743addabb5572ac92806fc5f47ad [Pipeline] // withDockerContainer [Pipeline] sh 00:21:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:21:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:21:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:21:35 prd-ubuntu20.04-docker-8c-8g-16440 does not seem to be running inside a container 00:21:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:21:35 $ docker top 9be8188ea84e893a3c02d46a3633646c1a191ea83726054ee5b620c96f972c4d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:21:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:21:35 [ssh-agent] Looking for ssh-agent implementation... 00:21:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:21:35 $ docker exec 9be8188ea84e893a3c02d46a3633646c1a191ea83726054ee5b620c96f972c4d ssh-agent 00:21:36 SSH_AUTH_SOCK=/tmp/ssh-7TrizqI2XgYX/agent.32 00:21:36 SSH_AGENT_PID=38 00:21:36 Running ssh-add (command line suppressed) 00:21:36 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_6267586074542541463.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_6267586074542541463.key) 00:21:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:21:36 + git semver push 00:21:36 2022-06-30 00:21:36,628 [run_push] DEBUG push 00:21:36 2022-06-30 00:21:36,628 [execute] INFO git cat-file --batch-check 00:21:36 2022-06-30 00:21:36,629 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:21:36 2022-06-30 00:21:36,633 [execute] INFO git rev-list d6ac03c485d66970df3188a0101bce0746f3c560 -- 00:21:36 2022-06-30 00:21:36,633 [execute] DEBUG Popen(['git', 'rev-list', 'd6ac03c485d66970df3188a0101bce0746f3c560', '--'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:21:36 2022-06-30 00:21:36,647 [execute] INFO git fetch -v origin 00:21:36 2022-06-30 00:21:36,648 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 00:21:37 2022-06-30 00:21:37,111 [run_push] DEBUG no remote changes detected 00:21:37 2022-06-30 00:21:37,112 [execute] INFO git push origin semver 00:21:37 2022-06-30 00:21:37,112 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:21:38 2022-06-30 00:21:37,883 [run_push] DEBUG push all version tags 00:21:38 2022-06-30 00:21:37,883 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:21:38 2022-06-30 00:21:37,884 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) 00:21:38 2022-06-30 00:21:38,584 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 00:21:38 2.2.1-dev.14 [Pipeline] } 00:21:38 $ docker exec --env ******** --env ******** 9be8188ea84e893a3c02d46a3633646c1a191ea83726054ee5b620c96f972c4d ssh-agent -k 00:21:38 unset SSH_AUTH_SOCK; 00:21:38 unset SSH_AGENT_PID; 00:21:38 echo Agent pid 38 killed; 00:21:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:21:39 + git semver [Pipeline] } 00:21:39 $ docker stop --time=1 9be8188ea84e893a3c02d46a3633646c1a191ea83726054ee5b620c96f972c4d 00:21:40 $ docker rm -f 9be8188ea84e893a3c02d46a3633646c1a191ea83726054ee5b620c96f972c4d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:21:41 + [ -d /w/workspace/oundry_app-functions-sdk-go_main/archives ] 00:21:41 + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives 00:21:41 total 16 00:21:41 drwxr-xr-x 3 root root 4096 Jun 30 00:12 . 00:21:41 drwxrwxr-x 10 jenkins jenkins 4096 Jun 30 00:21 .. 00:21:41 drwxr-xr-x 2 root root 4096 Jun 30 00:12 cost 00:21:41 -rw-r--r-- 1 root root 91 Jun 30 00:12 cost.csv 00:21:41 + sudo chown -R jenkins:jenkins /w/workspace/oundry_app-functions-sdk-go_main/archives 00:21:41 + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives 00:21:41 total 16 00:21:41 drwxr-xr-x 3 jenkins jenkins 4096 Jun 30 00:12 . 00:21:41 drwxrwxr-x 10 jenkins jenkins 4096 Jun 30 00:21 .. 00:21:41 drwxr-xr-x 2 jenkins jenkins 4096 Jun 30 00:12 cost 00:21:41 -rw-r--r-- 1 jenkins jenkins 91 Jun 30 00:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:21:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:21:42 ---> package-listing.sh 00:21:42 ++ facter osfamily 00:21:42 ++ tr '[:upper:]' '[:lower:]' 00:21:42 + OS_FAMILY=debian 00:21:42 + workspace=/w/workspace/oundry_app-functions-sdk-go_main 00:21:42 + START_PACKAGES=/tmp/packages_start.txt 00:21:42 + END_PACKAGES=/tmp/packages_end.txt 00:21:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:21:42 + PACKAGES=/tmp/packages_start.txt 00:21:42 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 00:21:42 + PACKAGES=/tmp/packages_end.txt 00:21:42 + case "${OS_FAMILY}" in 00:21:42 + dpkg -l 00:21:42 + grep '^ii' 00:21:42 + '[' -f /tmp/packages_start.txt ']' 00:21:42 + '[' -f /tmp/packages_end.txt ']' 00:21:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:21:42 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 00:21:42 + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ 00:21:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_app-functions-sdk-go_main/archives/ [Pipeline] echo 00:21:42 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_app-functions-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:21:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:21:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:21:43 prd-ubuntu20.04-docker-8c-8g-16440 does not seem to be running inside a container 00:21:43 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_app-functions-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:21:43 $ docker top 752786f3f68b78f181ca9aadfeead2fd0d1f480fbbd32a1593533442ff84af0b -eo pid,comm [Pipeline] { [Pipeline] sh 00:21:44 + touch /tmp/pre-build-complete [Pipeline] sh 00:21:44 + mkdir -p /var/log/sysstat [Pipeline] sh 00:21:44 + ls /var/log/sa-host 00:21:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:21:45 provisioning config files... 00:21:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config3335308093468239810tmp [Pipeline] { [Pipeline] echo 00:21:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:21:45 ---> create-netrc.sh [Pipeline] } 00:21:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:21:45 ---> python-tools-install.sh [Pipeline] echo 00:21:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:21:46 ---> sudo-logs.sh 00:21:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:21:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:21:46 ---> job-cost.sh 00:21:46 lf-activate-venv: SKIPPING 00:21:46 DEBUG: total: 0.2199999988079071 00:21:46 INFO: Retrieving Stack Cost... 00:21:46 INFO: Retrieving Pricing Info for: v3-standard-8 00:21:47 INFO: Archiving Costs [Pipeline] echo 00:21:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:21:47 ---> logs-deploy.sh 00:21:47 lf-activate-venv: SKIPPING 00:21:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/132 00:21:47 INFO: archiving workspace using pattern(s): 00:21:48 Archives upload complete. 00:21:48 INFO: archiving logs to Nexus