Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4f8232b5553de205cea49490e1324d4e07a9f3c3 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-ssh18350391660407769158.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-ssh14569662538719519084.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-ssh10168603937975590608.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-ssh12535381552699159307.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-ssh10653693307742737579.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-16106’ Running on prd-ubuntu20.04-docker-8c-8g-16108 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 4f8232b5553de205cea49490e1324d4e07a9f3c3 (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 4f8232b5553de205cea49490e1324d4e07a9f3c3 # timeout=10 Commit message: "build: Optimize test-attribution-txt.sh to use go.mod, not vendor (#1134)" > git rev-list --no-walk ef8b75df349e1d32158beee41c8b3fe968e296a0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:43:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:43:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:43:10 ========================================================= 15:43:10 EdgeX Global Pipelines Version Info 15:43:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:43:11 ------------------- 15:43:11 stable info: 15:43:11 ------------------- 15:43:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:43:11 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 15:43:11 Message: update stable to v1.0.234 15:43:11 ------------------- 15:43:11 experimental info: 15:43:11 ------------------- 15:43:11 Commited By: **** collab-it+edgex@linuxfoundation.org 15:43:11 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 15:43:11 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:43:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 15:43:12 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 15:43:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:43:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:43:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:43:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:43:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:43:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:43:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:43:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:43:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:43:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 15:43:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:43:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:43:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 15:43:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:43:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:43:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:43:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:43:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:43:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:43:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 15:43:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:43:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:43:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 15:43:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:43:12 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:43:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:43:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:43:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:43:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4f8232b5553de205cea49490e1324d4e07a9f3c3 [Pipeline] echo 15:43:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4f8232b [Pipeline] echo 15:43:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:43:12 + git rev-list -1 --merges 4f8232b5553de205cea49490e1324d4e07a9f3c3~1..4f8232b5553de205cea49490e1324d4e07a9f3c3 [Pipeline] echo 15:43:12 -----------> git rev-list -1 --merges 4f8232b5553de205cea49490e1324d4e07a9f3c3~1..4f8232b5553de205cea49490e1324d4e07a9f3c3 4f8232b5553de205cea49490e1324d4e07a9f3c3 [false] [Pipeline] sh 15:43:13 + git log --format=format:%s -1 4f8232b5553de205cea49490e1324d4e07a9f3c3 [Pipeline] echo 15:43:13 ========================================================= 15:43:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:43:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:43:13 + git log --format=format:%s -1 4f8232b5553de205cea49490e1324d4e07a9f3c3 [Pipeline] echo 15:43:13 [semverPrep] GIT_COMMIT: 4f8232b5553de205cea49490e1324d4e07a9f3c3, Commit Message: build: Optimize test-attribution-txt.sh to use go.mod, not vendor (#1134) [Pipeline] echo 15:43:13 [semverPrep] This is not a build commit. [Pipeline] sh 15:43:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:43:13 + grep -v github /etc/ssh/ssh_known_hosts 15:43:13 + [ -e /tmp/ssh_known_hosts ] 15:43:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:43:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:43:13 + sudo tee -a /etc/ssh/ssh_known_hosts 15:43:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:43:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:43:14 15:43:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:43:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:43:14 0.1.4: Pulling from edgex-devops/py-git-semver 15:43:14 42c077c10790: Pulling fs layer 15:43:14 f63e77b7563a: Pulling fs layer 15:43:14 bd5fdadae976: Pulling fs layer 15:43:14 205491f53016: Pulling fs layer 15:43:14 df18705c85c3: Pulling fs layer 15:43:14 bdb3f477010e: Pulling fs layer 15:43:14 c8a8fc8e1c8f: Pulling fs layer 15:43:14 2c6e9b1d212d: Pulling fs layer 15:43:14 bdb8f0575790: Pulling fs layer 15:43:14 386e3cb2ff24: Pulling fs layer 15:43:14 2343380bae48: Pulling fs layer 15:43:14 386e3cb2ff24: Waiting 15:43:14 c8a8fc8e1c8f: Waiting 15:43:14 2c6e9b1d212d: Waiting 15:43:14 2343380bae48: Waiting 15:43:14 205491f53016: Waiting 15:43:14 bdb8f0575790: Waiting 15:43:14 bdb3f477010e: Waiting 15:43:14 df18705c85c3: Waiting 15:43:14 f63e77b7563a: Verifying Checksum 15:43:14 f63e77b7563a: Download complete 15:43:14 205491f53016: Download complete 15:43:15 df18705c85c3: Verifying Checksum 15:43:15 df18705c85c3: Download complete 15:43:15 bdb3f477010e: Verifying Checksum 15:43:15 bdb3f477010e: Download complete 15:43:15 bd5fdadae976: Verifying Checksum 15:43:15 bd5fdadae976: Download complete 15:43:15 2c6e9b1d212d: Download complete 15:43:15 bdb8f0575790: Verifying Checksum 15:43:15 bdb8f0575790: Download complete 15:43:15 386e3cb2ff24: Verifying Checksum 15:43:15 386e3cb2ff24: Download complete 15:43:15 2343380bae48: Download complete 15:43:15 42c077c10790: Download complete 15:43:15 c8a8fc8e1c8f: Download complete 15:43:16 42c077c10790: Pull complete 15:43:16 f63e77b7563a: Pull complete 15:43:17 bd5fdadae976: Pull complete 15:43:17 205491f53016: Pull complete 15:43:17 df18705c85c3: Pull complete 15:43:17 bdb3f477010e: Pull complete 15:43:19 c8a8fc8e1c8f: Pull complete 15:43:19 2c6e9b1d212d: Pull complete 15:43:19 bdb8f0575790: Pull complete 15:43:20 386e3cb2ff24: Pull complete 15:43:20 2343380bae48: Pull complete 15:43:20 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 15:43:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:43:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:43:20 prd-ubuntu20.04-docker-8c-8g-16108 does not seem to be running inside a container 15:43:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:43:21 $ docker top 95e6b43a3261415cd82682b5b0a0983431ad104400ea8363efe4c3fd2eda2029 -eo pid,comm 15:43:21 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). 15:43:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:43:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:43:21 [ssh-agent] Looking for ssh-agent implementation... 15:43:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:43:21 $ docker exec 95e6b43a3261415cd82682b5b0a0983431ad104400ea8363efe4c3fd2eda2029 ssh-agent 15:43:21 SSH_AUTH_SOCK=/tmp/ssh-jZlpnaiESPTN/agent.32 15:43:21 SSH_AGENT_PID=39 15:43:21 Running ssh-add (command line suppressed) 15:43:21 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1685367796783595388.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1685367796783595388.key) 15:43:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:43:22 + git tag --points-at HEAD [Pipeline] } 15:43:22 $ docker exec --env ******** --env ******** 95e6b43a3261415cd82682b5b0a0983431ad104400ea8363efe4c3fd2eda2029 ssh-agent -k 15:43:22 unset SSH_AUTH_SOCK; 15:43:22 unset SSH_AGENT_PID; 15:43:22 echo Agent pid 39 killed; 15:43:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:43:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:43:22 [ssh-agent] Looking for ssh-agent implementation... 15:43:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:43:22 $ docker exec 95e6b43a3261415cd82682b5b0a0983431ad104400ea8363efe4c3fd2eda2029 ssh-agent 15:43:22 SSH_AUTH_SOCK=/tmp/ssh-jgsJD2bvPnlU/agent.73 15:43:22 SSH_AGENT_PID=79 15:43:22 Running ssh-add (command line suppressed) 15:43:22 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_3110522678911370241.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_3110522678911370241.key) 15:43:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:43:23 + git semver init 15:43:23 2022-06-27 15:43:23,277 [run_init] DEBUG init version:0.0.0 force:False 15:43:23 2022-06-27 15:43:23,278 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_app-functions-sdk-go_main/.semver 15:43:23 2022-06-27 15:43:23,279 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-functions-sdk-go.git /w/workspace/oundry_app-functions-sdk-go_main/.semver 15:43:23 2022-06-27 15:43:23,279 [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) 15:43:24 2022-06-27 15:43:24,615 [append_file] DEBUG append to file:/w/workspace/oundry_app-functions-sdk-go_main/.git/info/exclude 15:43:24 2022-06-27 15:43:24,616 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:False 15:43:24 2022-06-27 15:43:24,616 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 15:43:24 2022-06-27 15:43:24,616 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 15:43:24 2.2.1-dev.11 [Pipeline] } 15:43:24 $ docker exec --env ******** --env ******** 95e6b43a3261415cd82682b5b0a0983431ad104400ea8363efe4c3fd2eda2029 ssh-agent -k 15:43:24 unset SSH_AUTH_SOCK; 15:43:24 unset SSH_AGENT_PID; 15:43:24 echo Agent pid 79 killed; 15:43:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:43:25 + git semver [Pipeline] } 15:43:25 $ docker stop --time=1 95e6b43a3261415cd82682b5b0a0983431ad104400ea8363efe4c3fd2eda2029 15:43:26 $ docker rm -f 95e6b43a3261415cd82682b5b0a0983431ad104400ea8363efe4c3fd2eda2029 [Pipeline] // withDockerContainer [Pipeline] sh 15:43:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:43:27 Stashed 1 file(s) [Pipeline] echo 15:43:27 [edgeXSemver]: initialized semver on version 2.2.1-dev.11 [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 15:43:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:43:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:43:27 ========================================================= 15:43:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 15:43:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 15:43:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:43:27 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 15:43:27 59bf1c3509f3: Pulling fs layer 15:43:27 666ba61612fd: Pulling fs layer 15:43:27 8ed8ca486205: Pulling fs layer 15:43:27 cc1cd167ecdc: Pulling fs layer 15:43:27 c516ae0d96e1: Pulling fs layer 15:43:27 684cea983483: Pulling fs layer 15:43:27 dd3240ac7de5: Pulling fs layer 15:43:27 b1e948a4e11c: Pulling fs layer 15:43:27 a8fd76ee1af6: Pulling fs layer 15:43:27 646ad004c059: Pulling fs layer 15:43:27 cc1cd167ecdc: Waiting 15:43:27 c516ae0d96e1: Waiting 15:43:27 684cea983483: Waiting 15:43:27 dd3240ac7de5: Waiting 15:43:27 b1e948a4e11c: Waiting 15:43:27 a8fd76ee1af6: Waiting 15:43:27 646ad004c059: Waiting 15:43:27 8ed8ca486205: Verifying Checksum 15:43:27 8ed8ca486205: Download complete 15:43:27 666ba61612fd: Verifying Checksum 15:43:27 666ba61612fd: Download complete 15:43:27 c516ae0d96e1: Download complete 15:43:27 684cea983483: Verifying Checksum 15:43:27 684cea983483: Download complete 15:43:27 dd3240ac7de5: Verifying Checksum 15:43:27 dd3240ac7de5: Download complete 15:43:27 59bf1c3509f3: Verifying Checksum 15:43:27 59bf1c3509f3: Download complete 15:43:28 b1e948a4e11c: Verifying Checksum 15:43:28 b1e948a4e11c: Download complete 15:43:28 59bf1c3509f3: Pull complete 15:43:28 666ba61612fd: Pull complete 15:43:28 8ed8ca486205: Pull complete 15:43:28 646ad004c059: Download complete 15:43:28 a8fd76ee1af6: Verifying Checksum 15:43:28 a8fd76ee1af6: Download complete 15:43:28 cc1cd167ecdc: Verifying Checksum 15:43:28 cc1cd167ecdc: Download complete 15:43:32 cc1cd167ecdc: Pull complete 15:43:32 c516ae0d96e1: Pull complete 15:43:32 684cea983483: Pull complete 15:43:32 dd3240ac7de5: Pull complete 15:43:32 b1e948a4e11c: Pull complete 15:43:34 a8fd76ee1af6: Pull complete 15:43:35 646ad004c059: Pull complete 15:43:35 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 15:43:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:43:35 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 15:43:36 + 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 15:43:36 + docker inspect -f . ci-base-image-x86_64 15:43:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:43:36 prd-ubuntu20.04-docker-8c-8g-16108 does not seem to be running inside a container 15:43:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:43:38 $ docker top 267f8ce77b29605c0443de0d3f0a93a5ebbd5b3357f9e3a31f9ecaf903b448bc -eo pid,comm [Pipeline] { [Pipeline] sh 15:43:38 + go version 15:43:38 go version go1.17.7 linux/amd64 [Pipeline] } 15:43:38 $ docker stop --time=1 267f8ce77b29605c0443de0d3f0a93a5ebbd5b3357f9e3a31f9ecaf903b448bc 15:43:39 $ docker rm -f 267f8ce77b29605c0443de0d3f0a93a5ebbd5b3357f9e3a31f9ecaf903b448bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:43:40 + docker inspect -f . ci-base-image-x86_64 15:43:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:43:40 prd-ubuntu20.04-docker-8c-8g-16108 does not seem to be running inside a container 15:43:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:43:40 $ docker top d0126cb73ae6ce17879ac53d18bddc1ac1f760e24ffa689002fe015d5e2c7f75 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:43:41 + make test 15:43:41 make -C ./app-service-template build 15:43:41 make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 15:43:41 go mod tidy -compat=1.17 15:43:41 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 15:43:41 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 15:43:41 go: downloading github.com/google/uuid v1.3.0 15:43:41 go: downloading github.com/stretchr/testify v1.7.3 15:43:41 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.1-dev.4 15:43:41 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.1-dev.5 15:43:41 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 15:43:41 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.2 15:43:41 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 15:43:41 go: downloading github.com/davecgh/go-spew v1.1.1 15:43:41 go: downloading github.com/pmezard/go-difflib v1.0.0 15:43:41 go: downloading github.com/stretchr/objx v0.4.0 15:43:41 go: downloading gopkg.in/yaml.v3 v3.0.1 15:43:41 go: downloading github.com/gorilla/mux v1.8.0 15:43:41 go: downloading github.com/hashicorp/go-multierror v1.1.1 15:43:41 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.1-dev.1 15:43:41 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 15:43:41 go: downloading github.com/go-kit/log v0.2.0 15:43:41 go: downloading github.com/go-playground/validator/v10 v10.10.1 15:43:41 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 15:43:41 go: downloading github.com/mitchellh/copystructure v1.0.0 15:43:41 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 15:43:41 go: downloading github.com/pelletier/go-toml v1.9.5 15:43:41 go: downloading github.com/hashicorp/errwrap v1.0.0 15:43:41 go: downloading github.com/gorilla/websocket v1.4.2 15:43:41 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 15:43:41 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 15:43:41 go: downloading github.com/hashicorp/consul/api v1.9.1 15:43:41 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 15:43:41 go: downloading github.com/mitchellh/reflectwalk v1.0.0 15:43:41 go: downloading github.com/go-logfmt/logfmt v0.5.1 15:43:41 go: downloading github.com/pebbe/zmq4 v1.2.7 15:43:41 go: downloading github.com/go-redis/redis/v7 v7.3.0 15:43:41 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.0 15:43:41 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:43:41 go: downloading github.com/x448/float16 v0.8.4 15:43:41 go: downloading github.com/go-playground/universal-translator v0.18.0 15:43:41 go: downloading github.com/leodido/go-urn v1.2.1 15:43:41 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 15:43:41 go: downloading golang.org/x/text v0.3.7 15:43:41 go: downloading github.com/go-playground/locales v0.14.0 15:43:41 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 15:43:41 go: downloading github.com/hashicorp/go-hclog v0.12.0 15:43:41 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 15:43:41 go: downloading github.com/hashicorp/serf v0.9.5 15:43:41 go: downloading github.com/mitchellh/mapstructure v1.1.2 15:43:41 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 15:43:41 go: downloading github.com/go-playground/assert/v2 v2.0.1 15:43:41 go: downloading github.com/hashicorp/consul/sdk v0.8.0 15:43:41 go: downloading github.com/hashicorp/go-uuid v1.0.1 15:43:41 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 15:43:41 go: downloading github.com/onsi/ginkgo v1.10.1 15:43:41 go: downloading github.com/onsi/gomega v1.7.0 15:43:41 go: downloading github.com/Microsoft/go-winio v0.5.2 15:43:41 go: downloading github.com/zeebo/errs v1.2.2 15:43:41 go: downloading google.golang.org/grpc v1.46.0 15:43:42 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 15:43:42 go: downloading github.com/fatih/color v1.9.0 15:43:42 go: downloading github.com/mattn/go-colorable v0.1.6 15:43:42 go: downloading github.com/mattn/go-isatty v0.0.12 15:43:42 go: downloading github.com/mitchellh/go-homedir v1.1.0 15:43:42 go: downloading github.com/kr/pretty v0.3.0 15:43:42 go: downloading github.com/pkg/errors v0.9.1 15:43:42 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:43:42 go: downloading github.com/hashicorp/go-msgpack v0.5.3 15:43:42 go: downloading github.com/hashicorp/memberlist v0.2.2 15:43:42 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 15:43:42 go: downloading google.golang.org/protobuf v1.28.0 15:43:42 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 15:43:42 go: downloading github.com/golang/protobuf v1.5.2 15:43:42 go: downloading github.com/google/go-cmp v0.5.6 15:43:42 go: downloading github.com/kr/text v0.2.0 15:43:42 go: downloading github.com/rogpeppe/go-internal v1.8.0 15:43:42 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 15:43:42 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 15:43:42 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 15:43:42 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 15:43:42 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 15:43:42 go: downloading github.com/miekg/dns v1.1.26 15:43:42 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 15:43:42 go: downloading gopkg.in/yaml.v2 v2.2.8 15:43:42 Still waiting to schedule task 15:43:42 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16107’ 15:43:42 go: downloading github.com/hpcloud/tail v1.0.0 15:43:42 go: downloading github.com/hashicorp/golang-lru v0.5.0 15:43:42 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 15:43:42 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 15:43:42 go: downloading gopkg.in/fsnotify.v1 v1.4.7 15:43:44 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 15:44:02 make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 15:44:02 make -C ./app-service-template test 15:44:02 make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 15:44:02 CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... 15:44:20 ok new-app-service 0.057s coverage: 48.1% of statements 15:44:20 ? new-app-service/config [no test files] 15:44:20 ok new-app-service/functions 0.046s 15:44:20 CGO_ENABLED=1 go vet ./... 15:44:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:44:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:44:30 ./bin/test-attribution-txt.sh 15:44:30 make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 15:44:30 CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 15:44:30 go: downloading github.com/gomodule/redigo v1.8.8 15:44:30 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 15:44:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.121s coverage: 63.2% of statements 15:44:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.083s coverage: 93.8% of statements 15:44:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 15:44:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.105s coverage: 76.5% of statements 15:44:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 15:44:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.110s coverage: 88.7% of statements 15:44:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.036s coverage: 100.0% of statements 15:44:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.181s coverage: 78.5% of statements 15:44:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 15:44:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 15:44:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.069s coverage: 97.3% of statements 15:44:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 15:44:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] 15:44:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.101s coverage: 82.8% of statements 15:44:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] 15:44:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.757s coverage: 81.5% of statements 15:44:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] 15:44:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] 15:44:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.074s coverage: 28.7% of statements 15:44:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] 15:44:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.063s coverage: 14.0% of statements 15:44:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.053s coverage: 27.3% of statements 15:44:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 15:44:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 15:44:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.058s coverage: 51.4% of statements 15:45:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.150s coverage: 78.8% of statements 15:45:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.057s coverage: 94.4% of statements 15:45:00 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:45:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:45:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 15:45:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:45:10 $ docker stop --time=1 d0126cb73ae6ce17879ac53d18bddc1ac1f760e24ffa689002fe015d5e2c7f75 15:45:12 $ docker rm -f d0126cb73ae6ce17879ac53d18bddc1ac1f760e24ffa689002fe015d5e2c7f75 [Pipeline] // withDockerContainer [Pipeline] sh 15:45:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:45: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 [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 15:45:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:45:13 15:45:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:45:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:45:13 latest: Pulling from edgex-lftools-log-publisher 15:45:13 5eb5b503b376: Pulling fs layer 15:45:13 5c69ac0246d0: Pulling fs layer 15:45:13 ec43610c2a17: Pulling fs layer 15:45:13 3a2ae6a8a46f: Pulling fs layer 15:45:13 33b1e0a273af: Pulling fs layer 15:45:13 5d3b04190fa2: Pulling fs layer 15:45:13 2f39f015ded8: Pulling fs layer 15:45:13 33b1e0a273af: Waiting 15:45:13 2f39f015ded8: Waiting 15:45:13 5d3b04190fa2: Waiting 15:45:13 3a2ae6a8a46f: Waiting 15:45:13 5c69ac0246d0: Verifying Checksum 15:45:13 5c69ac0246d0: Download complete 15:45:13 3a2ae6a8a46f: Verifying Checksum 15:45:13 3a2ae6a8a46f: Download complete 15:45:13 33b1e0a273af: Verifying Checksum 15:45:13 33b1e0a273af: Download complete 15:45:14 5d3b04190fa2: Verifying Checksum 15:45:14 5d3b04190fa2: Download complete 15:45:14 ec43610c2a17: Verifying Checksum 15:45:14 ec43610c2a17: Download complete 15:45:14 5eb5b503b376: Verifying Checksum 15:45:14 5eb5b503b376: Download complete 15:45:14 2f39f015ded8: Verifying Checksum 15:45:14 2f39f015ded8: Download complete 15:45:15 5eb5b503b376: Pull complete 15:45:15 5c69ac0246d0: Pull complete 15:45:16 ec43610c2a17: Pull complete 15:45:16 3a2ae6a8a46f: Pull complete 15:45:16 33b1e0a273af: Pull complete 15:45:16 5d3b04190fa2: Pull complete 15:45:20 2f39f015ded8: Pull complete 15:45:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:45:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:45:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:45:20 prd-ubuntu20.04-docker-8c-8g-16108 does not seem to be running inside a container 15:45:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:45:22 $ docker top 0e664e65947204faf9353222de074f62095ffb62b385c77ce2fa13f7ff8f592a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:45:22 ---> job-cost.sh 15:45:22 lf-activate-venv: SKIPPING 15:45:22 INFO: No Stack... 15:45:22 INFO: Retrieving Pricing Info for: v3-standard-8 15:45:23 INFO: Archiving Costs [Pipeline] sh 15:45:23 + cat /w/workspace/oundry_app-functions-sdk-go_main/archives/cost.csv 15:45:23 + cut -d, -f6 [Pipeline] lock 15:45:23 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-130-stack-cost] 15:45:23 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-130-stack-cost] did not exist. Created. 15:45:23 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-130-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:45:24 + echo total: 0.2199999988079071 [Pipeline] stash 15:45:24 Stashed 1 file(s) [Pipeline] } 15:45:24 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-130-stack-cost] [Pipeline] // lock [Pipeline] } 15:45:24 $ docker stop --time=1 0e664e65947204faf9353222de074f62095ffb62b385c77ce2fa13f7ff8f592a 15:45:25 $ docker rm -f 0e664e65947204faf9353222de074f62095ffb62b385c77ce2fa13f7ff8f592a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:47:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16109 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws 15:47:08 Running in /w/workspace/app-functions-sdk-go/130 [Pipeline] { [Pipeline] checkout 15:47:08 The recommended git tool is: git 15:47:14 using credential edgex-jenkins-ssh 15:47:14 Cloning the remote Git repository 15:47:14 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 15:47:14 > git init /w/workspace/app-functions-sdk-go/130 # timeout=10 15:47:15 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 15:47:15 > git --version # timeout=10 15:47:15 > git --version # 'git version 2.25.1' 15:47:15 using GIT_SSH to set credentials SSH Credentials for GitHub 15:47:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:47:18 Avoid second fetch 15:47:18 Checking out Revision 4f8232b5553de205cea49490e1324d4e07a9f3c3 (main) 15:47:18 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 15:47:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:47:18 > git config core.sparsecheckout # timeout=10 15:47:18 > git checkout -f 4f8232b5553de205cea49490e1324d4e07a9f3c3 # timeout=10 15:47:22 Commit message: "build: Optimize test-attribution-txt.sh to use go.mod, not vendor (#1134)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:47:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:47:23 % Total % Received % Xferd Average Speed Time Time Time Current 15:47:23 Dload Upload Total Spent Left Speed 15:47:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh 15:47:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:47:24 + sudo tee /etc/docker/daemon.new 15:47:24 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:47:24 { 15:47:24 "registry-mirrors": [ 15:47:24 "https://nexus3.edgexfoundry.org:10001" 15:47:24 ], 15:47:24 "bip": "10.250.0.254/24", 15:47:24 "hosts": [ 15:47:24 "tcp://0.0.0.0:5555", 15:47:24 "unix:///var/run/docker.sock" 15:47:24 ], 15:47:24 "mtu": 1458, 15:47:24 "selinux-enabled": true, 15:47:24 "seccomp-profile": "/etc/docker/seccomp.json" 15:47:24 } [Pipeline] sh 15:47:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:47:25 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 15:47:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:47:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:47:44 ========================================================= 15:47:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 15:47:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 15:47:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 15:47:45 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:47:45 9b3977197b4f: Pulling fs layer 15:47:45 1a89e8eeedd5: Pulling fs layer 15:47:45 94645a83ff95: Pulling fs layer 15:47:45 e6fb740bc735: Pulling fs layer 15:47:45 3a77bd46dcc9: Pulling fs layer 15:47:45 355e64cbe906: Pulling fs layer 15:47:45 63ab81a10011: Pulling fs layer 15:47:45 555d1d1c4555: Pulling fs layer 15:47:45 7d9057610161: Pulling fs layer 15:47:45 355e64cbe906: Waiting 15:47:45 63ab81a10011: Waiting 15:47:45 555d1d1c4555: Waiting 15:47:45 e6fb740bc735: Waiting 15:47:45 7d9057610161: Waiting 15:47:45 3a77bd46dcc9: Waiting 15:47:45 94645a83ff95: Download complete 15:47:45 1a89e8eeedd5: Verifying Checksum 15:47:45 1a89e8eeedd5: Download complete 15:47:45 3a77bd46dcc9: Verifying Checksum 15:47:45 3a77bd46dcc9: Download complete 15:47:45 355e64cbe906: Verifying Checksum 15:47:45 355e64cbe906: Download complete 15:47:45 9b3977197b4f: Download complete 15:47:45 63ab81a10011: Verifying Checksum 15:47:45 63ab81a10011: Download complete 15:47:46 9b3977197b4f: Pull complete 15:47:46 7d9057610161: Verifying Checksum 15:47:46 7d9057610161: Download complete 15:47:46 1a89e8eeedd5: Pull complete 15:47:47 94645a83ff95: Pull complete 15:47:47 555d1d1c4555: Verifying Checksum 15:47:47 555d1d1c4555: Download complete 15:47:48 e6fb740bc735: Verifying Checksum 15:47:48 e6fb740bc735: Download complete 15:48:00 e6fb740bc735: Pull complete 15:48:00 3a77bd46dcc9: Pull complete 15:48:00 355e64cbe906: Pull complete 15:48:00 63ab81a10011: Pull complete 15:48:05 555d1d1c4555: Pull complete 15:48:07 7d9057610161: Pull complete 15:48:07 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 15:48:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 15:48:07 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh 15:48:08 + 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 15:48:08 + docker inspect -f . ci-base-image-arm64 15:48:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:48:08 prd-ubuntu20.04-docker-arm64-4c-16g-16109 does not seem to be running inside a container 15:48:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/130 -v /w/workspace/app-functions-sdk-go/130:/w/workspace/app-functions-sdk-go/130:rw,z -v /w/workspace/app-functions-sdk-go/130@tmp:/w/workspace/app-functions-sdk-go/130@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 15:48:11 $ docker top cb2d36fe61a7ac5ada3870927ce421147348db7ad649387e830436413e5a58ee -eo pid,comm [Pipeline] { [Pipeline] sh 15:48:12 + go version 15:48:12 go version go1.17.7 linux/arm64 [Pipeline] } 15:48:12 $ docker stop --time=1 cb2d36fe61a7ac5ada3870927ce421147348db7ad649387e830436413e5a58ee 15:48:14 $ docker rm -f cb2d36fe61a7ac5ada3870927ce421147348db7ad649387e830436413e5a58ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:15 + docker inspect -f . ci-base-image-arm64 15:48:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:48:15 prd-ubuntu20.04-docker-arm64-4c-16g-16109 does not seem to be running inside a container 15:48:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/130 -v /w/workspace/app-functions-sdk-go/130:/w/workspace/app-functions-sdk-go/130:rw,z -v /w/workspace/app-functions-sdk-go/130@tmp:/w/workspace/app-functions-sdk-go/130@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 15:48:16 $ docker top 08f90b196ec4fbbbf9ec3762ce3d405744a480e5781234e4c5a2ec86f681be47 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:48:17 + make test 15:48:17 make -C ./app-service-template build 15:48:17 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/130/app-service-template' 15:48:17 go mod tidy -compat=1.17 15:48:17 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 15:48:17 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 15:48:17 go: downloading github.com/google/uuid v1.3.0 15:48:17 go: downloading github.com/stretchr/testify v1.7.3 15:48:17 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.1-dev.4 15:48:17 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.1-dev.5 15:48:18 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 15:48:18 go: downloading github.com/davecgh/go-spew v1.1.1 15:48:18 go: downloading github.com/pmezard/go-difflib v1.0.0 15:48:18 go: downloading gopkg.in/yaml.v3 v3.0.1 15:48:18 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.2 15:48:18 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 15:48:18 go: downloading github.com/go-playground/validator/v10 v10.10.1 15:48:18 go: downloading github.com/go-kit/log v0.2.0 15:48:18 go: downloading github.com/stretchr/objx v0.4.0 15:48:18 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.1-dev.1 15:48:18 go: downloading github.com/gorilla/mux v1.8.0 15:48:18 go: downloading github.com/hashicorp/go-multierror v1.1.1 15:48:18 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 15:48:18 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 15:48:18 go: downloading github.com/go-logfmt/logfmt v0.5.1 15:48:18 go: downloading github.com/mitchellh/copystructure v1.0.0 15:48:18 go: downloading github.com/gorilla/websocket v1.4.2 15:48:18 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 15:48:18 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 15:48:18 go: downloading github.com/pelletier/go-toml v1.9.5 15:48:18 go: downloading github.com/hashicorp/consul/api v1.9.1 15:48:19 go: downloading github.com/go-playground/universal-translator v0.18.0 15:48:19 go: downloading github.com/leodido/go-urn v1.2.1 15:48:19 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 15:48:19 go: downloading golang.org/x/text v0.3.7 15:48:19 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 15:48:19 go: downloading github.com/go-playground/assert/v2 v2.0.1 15:48:19 go: downloading github.com/go-playground/locales v0.14.0 15:48:22 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 15:48:22 go: downloading github.com/hashicorp/errwrap v1.0.0 15:48:22 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.0 15:48:22 go: downloading github.com/mitchellh/reflectwalk v1.0.0 15:48:22 go: downloading github.com/x448/float16 v0.8.4 15:48:22 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 15:48:22 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 15:48:22 go: downloading github.com/hashicorp/go-hclog v0.12.0 15:48:22 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 15:48:22 go: downloading github.com/hashicorp/serf v0.9.5 15:48:22 go: downloading github.com/mitchellh/mapstructure v1.1.2 15:48:22 go: downloading github.com/hashicorp/consul/sdk v0.8.0 15:48:22 go: downloading github.com/hashicorp/go-uuid v1.0.1 15:48:23 go: downloading github.com/kr/pretty v0.3.0 15:48:23 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 15:48:23 go: downloading github.com/pebbe/zmq4 v1.2.7 15:48:23 go: downloading github.com/go-redis/redis/v7 v7.3.0 15:48:23 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:48:23 go: downloading github.com/fatih/color v1.9.0 15:48:23 go: downloading github.com/mattn/go-colorable v0.1.6 15:48:23 go: downloading github.com/mattn/go-isatty v0.0.12 15:48:23 go: downloading github.com/Microsoft/go-winio v0.5.2 15:48:23 go: downloading github.com/zeebo/errs v1.2.2 15:48:23 go: downloading google.golang.org/grpc v1.46.0 15:48:24 go: downloading github.com/mitchellh/go-homedir v1.1.0 15:48:24 go: downloading github.com/pkg/errors v0.9.1 15:48:24 go: downloading github.com/kr/text v0.2.0 15:48:24 go: downloading github.com/rogpeppe/go-internal v1.8.0 15:48:24 go: downloading github.com/onsi/ginkgo v1.10.1 15:48:24 go: downloading github.com/onsi/gomega v1.7.0 15:48:24 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 15:48:24 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:48:24 go: downloading github.com/hashicorp/go-msgpack v0.5.3 15:48:24 go: downloading github.com/hashicorp/memberlist v0.2.2 15:48:24 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 15:48:24 go: downloading google.golang.org/protobuf v1.28.0 15:48:24 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 15:48:25 go: downloading github.com/golang/protobuf v1.5.2 15:48:25 go: downloading github.com/google/go-cmp v0.5.6 15:48:25 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 15:48:25 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 15:48:26 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 15:48:26 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 15:48:26 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 15:48:26 go: downloading github.com/miekg/dns v1.1.26 15:48:26 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 15:48:26 go: downloading github.com/hashicorp/golang-lru v0.5.0 15:48:26 go: downloading gopkg.in/yaml.v2 v2.2.8 15:48:26 go: downloading github.com/hpcloud/tail v1.0.0 15:48:26 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 15:48:27 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 15:48:27 go: downloading gopkg.in/fsnotify.v1 v1.4.7 15:48:31 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 15:50:38 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/130/app-service-template' 15:50:38 make -C ./app-service-template test 15:50:38 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/130/app-service-template' 15:50:38 CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... 15:53:00 ok new-app-service 0.243s coverage: 48.1% of statements 15:53:00 ? new-app-service/config [no test files] 15:53:00 ok new-app-service/functions 0.198s 15:53:00 CGO_ENABLED=1 go vet ./... 15:54:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:54:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:54:22 ./bin/test-attribution-txt.sh 15:54:22 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/130/app-service-template' 15:54:22 CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 15:54:22 go: downloading github.com/gomodule/redigo v1.8.8 15:54:22 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 15:54:37 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.602s coverage: 63.2% of statements 15:54:37 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.364s coverage: 93.8% of statements 15:54:37 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 15:54:37 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.456s coverage: 76.5% of statements 15:54:37 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 15:54:37 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.356s coverage: 88.7% of statements 15:54:37 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.125s coverage: 100.0% of statements 15:54:39 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.704s coverage: 78.5% of statements 15:54:39 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 15:54:39 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 15:54:39 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.312s coverage: 97.3% of statements 15:54:39 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 15:54:39 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] 15:54:42 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.360s coverage: 82.8% of statements 15:54:42 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] 15:54:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 1.117s coverage: 81.5% of statements 15:54:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] 15:54:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] 15:54:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.344s coverage: 28.7% of statements 15:54:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] 15:54:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.314s coverage: 14.0% of statements 15:54:53 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.278s coverage: 27.3% of statements 15:54:53 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 15:54:53 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 15:54:55 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.254s coverage: 51.4% of statements 15:55:28 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.690s coverage: 78.8% of statements 15:55:28 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.232s coverage: 94.4% of statements 15:55:28 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:55:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:55:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:55:36 WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] echo 15:55:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:55:36 $ docker stop --time=1 08f90b196ec4fbbbf9ec3762ce3d405744a480e5781234e4c5a2ec86f681be47 15:55:38 $ docker rm -f 08f90b196ec4fbbbf9ec3762ce3d405744a480e5781234e4c5a2ec86f681be47 [Pipeline] // withDockerContainer [Pipeline] sh 15:55:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:55:43 Warning: overwriting stash ‘coverage-report’ 15:55:43 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 15:55:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:55:44 15:55:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:55:44 arm64: Pulling from edgex-lftools-log-publisher 15:55:44 8998bd30e6a1: Pulling fs layer 15:55:44 04944245beec: Pulling fs layer 15:55:44 699f458cf7ca: Pulling fs layer 15:55:44 765212b225bb: Pulling fs layer 15:55:44 f23df028b6ca: Pulling fs layer 15:55:44 d65c8cfc05b1: Pulling fs layer 15:55:44 2437ff75d9bd: Pulling fs layer 15:55:44 765212b225bb: Waiting 15:55:44 f23df028b6ca: Waiting 15:55:44 d65c8cfc05b1: Waiting 15:55:44 2437ff75d9bd: Waiting 15:55:44 04944245beec: Verifying Checksum 15:55:44 04944245beec: Download complete 15:55:44 765212b225bb: Download complete 15:55:44 f23df028b6ca: Verifying Checksum 15:55:44 f23df028b6ca: Download complete 15:55:45 d65c8cfc05b1: Verifying Checksum 15:55:45 d65c8cfc05b1: Download complete 15:55:45 699f458cf7ca: Verifying Checksum 15:55:45 699f458cf7ca: Download complete 15:55:45 8998bd30e6a1: Download complete 15:55:47 2437ff75d9bd: Verifying Checksum 15:55:47 2437ff75d9bd: Download complete 15:55:49 8998bd30e6a1: Pull complete 15:55:50 04944245beec: Pull complete 15:55:51 699f458cf7ca: Pull complete 15:55:51 765212b225bb: Pull complete 15:55:52 f23df028b6ca: Pull complete 15:55:53 d65c8cfc05b1: Pull complete 15:56:11 2437ff75d9bd: Pull complete 15:56:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:56:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:56:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:56:11 prd-ubuntu20.04-docker-arm64-4c-16g-16109 does not seem to be running inside a container 15:56:11 $ 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/130 -v /w/workspace/app-functions-sdk-go/130:/w/workspace/app-functions-sdk-go/130:rw,z -v /w/workspace/app-functions-sdk-go/130@tmp:/w/workspace/app-functions-sdk-go/130@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 15:56:14 $ docker top b43582d0d699d4b9cfcf94639c249e399fe880e70bd331bdfbb4ca211429085f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:56:15 ---> job-cost.sh 15:56:15 lf-activate-venv: SKIPPING 15:56:15 INFO: No Stack... 15:56:16 INFO: Retrieving Pricing Info for: v3-standard-4 15:56:17 INFO: Archiving Costs [Pipeline] sh 15:56:17 + cat /w/workspace/app-functions-sdk-go/130/archives/cost.csv 15:56:17 + cut -d, -f6 [Pipeline] lock 15:56:17 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-130-stack-cost] 15:56:17 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-130-stack-cost] did not exist. Created. 15:56:17 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-130-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:56:18 /w/workspace/app-functions-sdk-go/130@tmp/durable-e98bfa1c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:56:19 + echo total: 0.10999999940395355 [Pipeline] stash 15:56:19 Warning: overwriting stash ‘stack-cost’ 15:56:19 Stashed 1 file(s) [Pipeline] } 15:56:19 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-130-stack-cost] [Pipeline] // lock [Pipeline] } 15:56:19 $ docker stop --time=1 b43582d0d699d4b9cfcf94639c249e399fe880e70bd331bdfbb4ca211429085f 15:56:21 $ docker rm -f b43582d0d699d4b9cfcf94639c249e399fe880e70bd331bdfbb4ca211429085f [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 15:56:21 provisioning config files... 15:56:21 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config6222707973335479415tmp [Pipeline] { [Pipeline] sh 15:56:21 + set +x 15:56:21 + + bash -scurl -- -s 15:56:21 https://codecov.io/bash 15:56:21 15:56:21 _____ _ 15:56:21 / ____| | | 15:56:21 | | ___ __| | ___ ___ _____ __ 15:56:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:56:21 | |___| (_) | (_| | __/ (_| (_) \ V / 15:56:21 \_____\___/ \__,_|\___|\___\___/ \_/ 15:56:21 Bash-1.0.6 15:56:21 15:56:21 15:56:21 ==> git version 2.25.1 found 15:56:21 ==> 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 15:56:21 Release-Date: 2020-01-08 15:56:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:56:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:56:21 ==> Jenkins CI detected. 15:56:21 current dir:  /w/workspace/oundry_app-functions-sdk-go_main 15:56:21 project root: . 15:56:21 --> token set from env 15:56:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:56:21 ==> Running gcov in . (disable via -X gcov) 15:56:21 ==> Python coveragepy not found 15:56:21 ==> Searching for coverage reports in: 15:56:21 + . 15:56:21 -> Found 2 reports 15:56:21 ==> Detecting git/mercurial file structure 15:56:21 ==> Reading reports 15:56:21 + ./app-service-template/coverage.out bytes=1222 15:56:21 + ./coverage.out bytes=122362 15:56:22 ==> Appending adjustments 15:56:22 https://docs.codecov.io/docs/fixing-reports 15:56:22 + Found adjustments 15:56:22 ==> Gzipping contents 15:56:22 24K /tmp/codecov.AYtVkO.gz 15:56:22 ==> Uploading reports 15:56:22 url: https://codecov.io 15:56:22 query: branch=main&commit=4f8232b5553de205cea49490e1324d4e07a9f3c3&build=130&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F130%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:56:22 -> Pinging Codecov 15:56:22 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=4f8232b5553de205cea49490e1324d4e07a9f3c3&build=130&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F130%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:56:22 -> Uploading to 15:56:22 https://storage.googleapis.com/codecov/v4/raw/2022-06-27/3D8B5DFFC46A037C893635FACE044666/4f8232b5553de205cea49490e1324d4e07a9f3c3/8843209d-d82d-448b-b1ff-ba79993612d9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220627%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220627T155622Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=11709d2d85537049ac383d4a1397703cc43081d3f156238a153105cb38cf66a0 15:56:22 % Total % Received % Xferd Average Speed Time Time Time Current 15:56:22 Dload Upload Total Spent Left Speed 15:56:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21168 0 0 100 21168 0 94080 --:--:-- --:--:-- --:--:-- 94080 15:56:22 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/4f8232b5553de205cea49490e1324d4e07a9f3c3 [Pipeline] } 15:56:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:56:23 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:56:23 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:56:23 15:56:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:56:23 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:56:23 df9b9388f04a: Pulling fs layer 15:56:23 52dc419b0ee2: Pulling fs layer 15:56:23 25bc292e5bac: Pulling fs layer 15:56:23 114826534d7a: Pulling fs layer 15:56:23 4657fd5d0bcf: Pulling fs layer 15:56:23 6ad1cebc031e: Pulling fs layer 15:56:23 8a3aa393b2d8: Pulling fs layer 15:56:23 114826534d7a: Waiting 15:56:23 4657fd5d0bcf: Waiting 15:56:23 6ad1cebc031e: Waiting 15:56:23 8a3aa393b2d8: Waiting 15:56:23 25bc292e5bac: Verifying Checksum 15:56:23 25bc292e5bac: Download complete 15:56:23 52dc419b0ee2: Verifying Checksum 15:56:23 52dc419b0ee2: Download complete 15:56:23 4657fd5d0bcf: Verifying Checksum 15:56:23 4657fd5d0bcf: Download complete 15:56:23 df9b9388f04a: Verifying Checksum 15:56:23 df9b9388f04a: Download complete 15:56:23 6ad1cebc031e: Verifying Checksum 15:56:23 6ad1cebc031e: Download complete 15:56:23 df9b9388f04a: Pull complete 15:56:23 52dc419b0ee2: Pull complete 15:56:23 25bc292e5bac: Pull complete 15:56:24 114826534d7a: Verifying Checksum 15:56:24 114826534d7a: Download complete 15:56:24 8a3aa393b2d8: Verifying Checksum 15:56:24 8a3aa393b2d8: Download complete 15:56:27 114826534d7a: Pull complete 15:56:27 4657fd5d0bcf: Pull complete 15:56:28 6ad1cebc031e: Pull complete 15:56:31 8a3aa393b2d8: Pull complete 15:56:31 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 15:56:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:56:31 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:56:31 prd-ubuntu20.04-docker-8c-8g-16108 does not seem to be running inside a container 15:56:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 15:56:32 $ docker top 97dd30f9a4baeca672c8f081f2f2b11a7cb0a2466dab91685278f4da35c6b212 -eo pid,comm [Pipeline] { [Pipeline] echo 15:56:32 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-functions-sdk-go:main' [Pipeline] sh 15:56:33 + set -o pipefail 15:56:33 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-functions-sdk-go:main' 15:56:38 15:56:38 Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v2)... 15:56:38 15:56:38 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/899a6017-c938-46f1-adf7-2bd1b283a5ba/history/61e1d6e9-3335-47af-9533-46bed4d4bfd6 15:56:38 15:56:38 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 15:56:38 15:56:38 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:56:38 15:56:38 15:56:38 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 15:56:38 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 15:56:38 $ docker stop --time=1 97dd30f9a4baeca672c8f081f2f2b11a7cb0a2466dab91685278f4da35c6b212 15:56:40 $ docker rm -f 97dd30f9a4baeca672c8f081f2f2b11a7cb0a2466dab91685278f4da35c6b212 [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 15:56:40 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:56:40 provisioning config files... 15:56:40 copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config9054119531129998540tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:56:41 --> edgex-publish-swagger.sh 15:56:41 === Publish openapi/v2 API === 15:56:41 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 15:56:41 [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v2/app-functions-sdk.yaml] 15:56:41 % Total % Received % Xferd Average Speed Time Time Time Current 15:56:41 Dload Upload Total Spent Left Speed 15:56:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13708 0 0 100 13708 0 14521 --:--:-- --:--:-- --:--:-- 14505 100 13708 0 0 100 13708 0 14521 --:--:-- --:--:-- --:--:-- 14505 15:56:42 15:56:42 [Pipeline] } 15:56:42 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 15:56:42 + git log --format=format:%s -1 4f8232b5553de205cea49490e1324d4e07a9f3c3 [Pipeline] sh 15:56:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:56:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:56:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:56:43 prd-ubuntu20.04-docker-8c-8g-16108 does not seem to be running inside a container 15:56:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:56:43 $ docker top 02cfceff08e633c1976558c0ebef12d47fbfef9bbf4533c9f1e32f4cd08fddf7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:56:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:56:43 [ssh-agent] Looking for ssh-agent implementation... 15:56:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:56:43 $ docker exec 02cfceff08e633c1976558c0ebef12d47fbfef9bbf4533c9f1e32f4cd08fddf7 ssh-agent 15:56:44 SSH_AUTH_SOCK=/tmp/ssh-9Ia8QJhxQ8YK/agent.33 15:56:44 SSH_AGENT_PID=40 15:56:44 Running ssh-add (command line suppressed) 15:56:44 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_410205989027052209.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_410205989027052209.key) 15:56:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:56:44 + git semver tag 15:56:44 2022-06-27 15:56:44,663 [run_tag] DEBUG tag force:False 15:56:44 2022-06-27 15:56:44,663 [check_head_tag] DEBUG check head tag 15:56:44 2022-06-27 15:56:44,664 [execute] INFO git cat-file --batch-check 15:56:44 2022-06-27 15:56:44,664 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) 15:56:44 2022-06-27 15:56:44,668 [execute] INFO git cat-file --batch 15:56:44 2022-06-27 15:56:44,668 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) 15:56:44 2022-06-27 15:56:44,679 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 15:56:44 2022-06-27 15:56:44,679 [execute] INFO git tag -a v2.2.1-dev.11 -m v2.2.1-dev.11 15:56:44 2022-06-27 15:56:44,680 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.11', '-m', 'v2.2.1-dev.11'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) 15:56:44 2022-06-27 15:56:44,685 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 15:56:44 2.2.1-dev.11 [Pipeline] } 15:56:44 $ docker exec --env ******** --env ******** 02cfceff08e633c1976558c0ebef12d47fbfef9bbf4533c9f1e32f4cd08fddf7 ssh-agent -k 15:56:44 unset SSH_AUTH_SOCK; 15:56:44 unset SSH_AGENT_PID; 15:56:44 echo Agent pid 40 killed; 15:56:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:56:45 + git semver [Pipeline] } 15:56:45 $ docker stop --time=1 02cfceff08e633c1976558c0ebef12d47fbfef9bbf4533c9f1e32f4cd08fddf7 15:56:46 $ docker rm -f 02cfceff08e633c1976558c0ebef12d47fbfef9bbf4533c9f1e32f4cd08fddf7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:56:47 15:56:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:56:47 0.23.1-centos7: Pulling from edgex-lftools 15:56:47 ab5ef0e58194: Pulling fs layer 15:56:47 9712f1f96733: Pulling fs layer 15:56:47 63f879dbbcfc: Pulling fs layer 15:56:47 0d9ebad4ef96: Pulling fs layer 15:56:47 e9a5061849ea: Pulling fs layer 15:56:47 d747dcd14b5f: Pulling fs layer 15:56:47 2de7ff778b66: Pulling fs layer 15:56:47 0d9ebad4ef96: Waiting 15:56:47 e9a5061849ea: Waiting 15:56:47 d747dcd14b5f: Waiting 15:56:47 9712f1f96733: Verifying Checksum 15:56:47 9712f1f96733: Download complete 15:56:47 63f879dbbcfc: Verifying Checksum 15:56:47 63f879dbbcfc: Download complete 15:56:48 e9a5061849ea: Verifying Checksum 15:56:48 e9a5061849ea: Download complete 15:56:48 0d9ebad4ef96: Verifying Checksum 15:56:48 0d9ebad4ef96: Download complete 15:56:48 ab5ef0e58194: Verifying Checksum 15:56:48 ab5ef0e58194: Download complete 15:56:48 d747dcd14b5f: Verifying Checksum 15:56:48 d747dcd14b5f: Download complete 15:56:48 2de7ff778b66: Verifying Checksum 15:56:48 2de7ff778b66: Download complete 15:56:50 ab5ef0e58194: Pull complete 15:56:50 9712f1f96733: Pull complete 15:56:51 63f879dbbcfc: Pull complete 15:56:55 0d9ebad4ef96: Pull complete 15:56:55 e9a5061849ea: Pull complete 15:56:55 d747dcd14b5f: Pull complete 15:56:56 2de7ff778b66: Pull complete 15:56:56 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:56:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:56:56 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:56:56 prd-ubuntu20.04-docker-8c-8g-16108 does not seem to be running inside a container 15:56:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:56:58 $ docker top b0e42b1924969190a8dc5dd808bdead19a622ac6a8c9429e123fb4a1c97d4b3f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:56:58 provisioning config files... 15:56:58 copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config4105045039733238078tmp 15:56:58 copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config6333370834898366290tmp 15:56:58 copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config685395495064897539tmp [Pipeline] { [Pipeline] echo 15:56:58 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:56:58 ---> sigul-configuration.sh 15:56:58 gpg: directory `/root/.gnupg' created 15:56:58 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:56:58 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:56:58 gpg: keyring `/root/.gnupg/secring.gpg' created 15:56:58 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:56:58 gpg: CAST5 encrypted data 15:56:58 gpg: encrypted with 1 passphrase 15:56:58 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:56:58 + mkdir /home/jenkins 15:56:58 + mkdir /home/jenkins/sigul [Pipeline] sh 15:56:59 + 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 15:56:59 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:56:59 ---> sigul-install.sh 15:56:59 Sigul already installed; skipping installation. [Pipeline] sh 15:56:59 + git tag --list 15:56:59 v0.1.0 15:56:59 v0.1.1 15:56:59 v1.0.0 15:56:59 v1.1.0 15:56:59 v1.2.0 15:56:59 v1.3.0 15:56:59 v1.3.1 15:56:59 v2.0.0 15:56:59 v2.0.1 15:56:59 v2.1.0 15:56:59 v2.1.1 15:56:59 v2.1.1-dev.3 15:56:59 v2.1.1-dev.4 15:56:59 v2.2.0 15:56:59 v2.2.1-dev.1 15:56:59 v2.2.1-dev.10 15:56:59 v2.2.1-dev.11 15:56:59 v2.2.1-dev.2 15:56:59 v2.2.1-dev.3 15:56:59 v2.2.1-dev.4 15:56:59 v2.2.1-dev.5 15:56:59 v2.2.1-dev.6 15:56:59 v2.2.1-dev.7 15:56:59 v2.2.1-dev.8 15:56:59 v2.2.1-dev.9 [Pipeline] sh 15:56:59 + lftools sign git-tag v2.2.1-dev.11 15:57:00 Signing Git tag with Sigul... 15:57:00 Signing v2.2.1-dev.11 [Pipeline] echo 15:57:00 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:57:01 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:57:01 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:57:01 $ docker stop --time=1 b0e42b1924969190a8dc5dd808bdead19a622ac6a8c9429e123fb4a1c97d4b3f 15:57:02 $ docker rm -f b0e42b1924969190a8dc5dd808bdead19a622ac6a8c9429e123fb4a1c97d4b3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:57:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:57:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:57:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:57:03 prd-ubuntu20.04-docker-8c-8g-16108 does not seem to be running inside a container 15:57:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:57:03 $ docker top 5f1a9ee8ae320e4066124a9b7cb6a9763c074f2b37753f62b1e547f9566a044c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:57:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:57:03 [ssh-agent] Looking for ssh-agent implementation... 15:57:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:57:03 $ docker exec 5f1a9ee8ae320e4066124a9b7cb6a9763c074f2b37753f62b1e547f9566a044c ssh-agent 15:57:04 SSH_AUTH_SOCK=/tmp/ssh-FlzeLLoZUa62/agent.33 15:57:04 SSH_AGENT_PID=39 15:57:04 Running ssh-add (command line suppressed) 15:57:04 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5280491921906844430.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5280491921906844430.key) 15:57:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:57:04 + git semver bump pre 15:57:04 2022-06-27 15:57:04,642 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 15:57:04 2022-06-27 15:57:04,642 [bump_version] DEBUG bumping version:2.2.1-dev.11 on axis:pre with prefix:dev 15:57:04 2022-06-27 15:57:04,643 [bump_version] DEBUG bumped version:2.2.1-dev.12 15:57:04 2022-06-27 15:57:04,643 [write_version] DEBUG write version:2.2.1-dev.12 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:True 15:57:04 2022-06-27 15:57:04,643 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 15:57:04 2022-06-27 15:57:04,643 [write_file] DEBUG write to file:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main 15:57:04 2022-06-27 15:57:04,645 [execute] INFO git cat-file --batch-check 15:57:04 2022-06-27 15:57:04,645 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:57:04 2022-06-27 15:57:04,650 [execute] INFO git cat-file --batch 15:57:04 2022-06-27 15:57:04,650 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:57:04 2022-06-27 15:57:04,655 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 15:57:04 2.2.1-dev.12 [Pipeline] } 15:57:04 $ docker exec --env ******** --env ******** 5f1a9ee8ae320e4066124a9b7cb6a9763c074f2b37753f62b1e547f9566a044c ssh-agent -k 15:57:04 unset SSH_AUTH_SOCK; 15:57:04 unset SSH_AGENT_PID; 15:57:04 echo Agent pid 39 killed; 15:57:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:57:05 + git semver [Pipeline] } 15:57:05 $ docker stop --time=1 5f1a9ee8ae320e4066124a9b7cb6a9763c074f2b37753f62b1e547f9566a044c 15:57:06 $ docker rm -f 5f1a9ee8ae320e4066124a9b7cb6a9763c074f2b37753f62b1e547f9566a044c [Pipeline] // withDockerContainer [Pipeline] sh 15:57:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:57:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:57:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:57:07 prd-ubuntu20.04-docker-8c-8g-16108 does not seem to be running inside a container 15:57:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:57:07 $ docker top f15fbe5c9c287a069a16b637cfe4a437608ccaea79510845c5ce28242d1bccbf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:57:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:57:07 [ssh-agent] Looking for ssh-agent implementation... 15:57:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:57:08 $ docker exec f15fbe5c9c287a069a16b637cfe4a437608ccaea79510845c5ce28242d1bccbf ssh-agent 15:57:08 SSH_AUTH_SOCK=/tmp/ssh-0mj6v2C7y8tx/agent.32 15:57:08 SSH_AGENT_PID=39 15:57:08 Running ssh-add (command line suppressed) 15:57:08 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_6811033423571326910.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_6811033423571326910.key) 15:57:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:57:08 + git semver push 15:57:08 2022-06-27 15:57:08,850 [run_push] DEBUG push 15:57:08 2022-06-27 15:57:08,850 [execute] INFO git cat-file --batch-check 15:57:08 2022-06-27 15:57:08,851 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:57:08 2022-06-27 15:57:08,855 [execute] INFO git rev-list 13f50156922f59c448c65d9b1fdfc88a5f937b58 -- 15:57:08 2022-06-27 15:57:08,856 [execute] DEBUG Popen(['git', 'rev-list', '13f50156922f59c448c65d9b1fdfc88a5f937b58', '--'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:57:08 2022-06-27 15:57:08,868 [execute] INFO git fetch -v origin 15:57:08 2022-06-27 15:57:08,869 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 15:57:09 2022-06-27 15:57:09,338 [run_push] DEBUG no remote changes detected 15:57:09 2022-06-27 15:57:09,338 [execute] INFO git push origin semver 15:57:09 2022-06-27 15:57:09,339 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:57:10 2022-06-27 15:57:10,169 [run_push] DEBUG push all version tags 15:57:10 2022-06-27 15:57:10,169 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:57:10 2022-06-27 15:57:10,170 [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) 15:57:11 2022-06-27 15:57:11,040 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 15:57:11 2.2.1-dev.12 [Pipeline] } 15:57:11 $ docker exec --env ******** --env ******** f15fbe5c9c287a069a16b637cfe4a437608ccaea79510845c5ce28242d1bccbf ssh-agent -k 15:57:11 unset SSH_AUTH_SOCK; 15:57:11 unset SSH_AGENT_PID; 15:57:11 echo Agent pid 39 killed; 15:57:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:57:11 + git semver [Pipeline] } 15:57:12 $ docker stop --time=1 f15fbe5c9c287a069a16b637cfe4a437608ccaea79510845c5ce28242d1bccbf 15:57:13 $ docker rm -f f15fbe5c9c287a069a16b637cfe4a437608ccaea79510845c5ce28242d1bccbf [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 15:57:13 + [ -d /w/workspace/oundry_app-functions-sdk-go_main/archives ] 15:57:13 + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives 15:57:13 total 16 15:57:13 drwxr-xr-x 3 root root 4096 Jun 27 15:45 . 15:57:13 drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 15:56 .. 15:57:13 drwxr-xr-x 2 root root 4096 Jun 27 15:45 cost 15:57:13 -rw-r--r-- 1 root root 91 Jun 27 15:45 cost.csv 15:57:13 + sudo chown -R jenkins:jenkins /w/workspace/oundry_app-functions-sdk-go_main/archives 15:57:13 + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives 15:57:13 total 16 15:57:13 drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 15:45 . 15:57:13 drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 15:56 .. 15:57:13 drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 15:45 cost 15:57:13 -rw-r--r-- 1 jenkins jenkins 91 Jun 27 15:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:57:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:57:15 ---> package-listing.sh 15:57:15 ++ facter osfamily 15:57:15 ++ tr '[:upper:]' '[:lower:]' 15:57:15 + OS_FAMILY=debian 15:57:15 + workspace=/w/workspace/oundry_app-functions-sdk-go_main 15:57:15 + START_PACKAGES=/tmp/packages_start.txt 15:57:15 + END_PACKAGES=/tmp/packages_end.txt 15:57:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:57:15 + PACKAGES=/tmp/packages_start.txt 15:57:15 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 15:57:15 + PACKAGES=/tmp/packages_end.txt 15:57:15 + case "${OS_FAMILY}" in 15:57:15 + dpkg -l 15:57:15 + grep '^ii' 15:57:15 + '[' -f /tmp/packages_start.txt ']' 15:57:15 + '[' -f /tmp/packages_end.txt ']' 15:57:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:57:15 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 15:57:15 + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ 15:57:15 + 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 15:57:15 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 15:57:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:57:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:57:16 prd-ubuntu20.04-docker-8c-8g-16108 does not seem to be running inside a container 15:57:16 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_app-functions-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:57:16 $ docker top 53a29da53eca3f1f4322850db16e537fd2ee58d9d8de3796786b4bf89b9a340d -eo pid,comm [Pipeline] { [Pipeline] sh 15:57:16 + touch /tmp/pre-build-complete [Pipeline] sh 15:57:17 + mkdir -p /var/log/sysstat [Pipeline] sh 15:57:17 + ls /var/log/sa-host 15:57:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:57:17 provisioning config files... 15:57:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config1551788807430650847tmp [Pipeline] { [Pipeline] echo 15:57:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:57:17 ---> create-netrc.sh [Pipeline] } 15:57:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:57:18 ---> python-tools-install.sh [Pipeline] echo 15:57:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:57:18 ---> sudo-logs.sh 15:57:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:57:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:57:18 ---> job-cost.sh 15:57:18 lf-activate-venv: SKIPPING 15:57:18 DEBUG: total: 0.2199999988079071 15:57:18 INFO: Retrieving Stack Cost... 15:57:19 INFO: Retrieving Pricing Info for: v3-standard-8 15:57:19 INFO: Archiving Costs [Pipeline] echo 15:57:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:57:20 ---> logs-deploy.sh 15:57:20 lf-activate-venv: SKIPPING 15:57:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/130 15:57:20 INFO: archiving workspace using pattern(s): 15:57:20 Archives upload complete. 15:57:20 INFO: archiving logs to Nexus