Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 137889e1bd860a3188d5b5d2b918d7a2ae9915c0 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-ssh5231024926241008497.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-ssh13314460764540233072.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-ssh4033174469631426934.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-ssh14911987654904209060.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-ssh17069776950019889258.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-15331 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 137889e1bd860a3188d5b5d2b918d7a2ae9915c0 (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 137889e1bd860a3188d5b5d2b918d7a2ae9915c0 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 (#1130)" > git rev-list --no-walk 95730d3ee73a57d430fa7e8d0e2d1216ad0bb9d5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:57:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:57:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:57:50 ========================================================= 15:57:50 EdgeX Global Pipelines Version Info 15:57:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:57:50 ------------------- 15:57:50 stable info: 15:57:50 ------------------- 15:57:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:57:50 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 15:57:50 Message: update stable to v1.0.234 15:57:51 ------------------- 15:57:51 experimental info: 15:57:51 ------------------- 15:57:51 Commited By: **** collab-it+edgex@linuxfoundation.org 15:57:51 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 15:57:51 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:57:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 15:57:52 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 15:57:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:57:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:57:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:57:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:57:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:57:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:57:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:57:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:57:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:57:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 15:57:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:57:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:57:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 15:57:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:57:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:57:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:57:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:57:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:57:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:57:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 15:57:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:57:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:57:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 15:57:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:57:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:57:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:57:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:57:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:57:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 137889e1bd860a3188d5b5d2b918d7a2ae9915c0 [Pipeline] echo 15:57:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 137889e [Pipeline] echo 15:57:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:57:52 + git rev-list -1 --merges 137889e1bd860a3188d5b5d2b918d7a2ae9915c0~1..137889e1bd860a3188d5b5d2b918d7a2ae9915c0 [Pipeline] echo 15:57:52 -----------> git rev-list -1 --merges 137889e1bd860a3188d5b5d2b918d7a2ae9915c0~1..137889e1bd860a3188d5b5d2b918d7a2ae9915c0 137889e1bd860a3188d5b5d2b918d7a2ae9915c0 [false] [Pipeline] sh 15:57:53 + git log --format=format:%s -1 137889e1bd860a3188d5b5d2b918d7a2ae9915c0 [Pipeline] echo 15:57:53 ========================================================= 15:57:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:57:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:57:53 + git log --format=format:%s -1 137889e1bd860a3188d5b5d2b918d7a2ae9915c0 [Pipeline] echo 15:57:53 [semverPrep] GIT_COMMIT: 137889e1bd860a3188d5b5d2b918d7a2ae9915c0, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 (#1130) [Pipeline] echo 15:57:53 [semverPrep] This is not a build commit. [Pipeline] sh 15:57:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:57:54 + grep -v github /etc/ssh/ssh_known_hosts 15:57:54 + [ -e /tmp/ssh_known_hosts ] 15:57:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:57:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:57:54 + sudo tee -a /etc/ssh/ssh_known_hosts 15:57:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:57:54 15:57:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:57:55 0.1.4: Pulling from edgex-devops/py-git-semver 15:57:55 42c077c10790: Pulling fs layer 15:57:55 f63e77b7563a: Pulling fs layer 15:57:55 bd5fdadae976: Pulling fs layer 15:57:55 205491f53016: Pulling fs layer 15:57:55 df18705c85c3: Pulling fs layer 15:57:55 df18705c85c3: Waiting 15:57:55 bdb3f477010e: Pulling fs layer 15:57:55 c8a8fc8e1c8f: Pulling fs layer 15:57:55 bdb3f477010e: Waiting 15:57:55 2c6e9b1d212d: Pulling fs layer 15:57:55 bdb8f0575790: Pulling fs layer 15:57:55 c8a8fc8e1c8f: Waiting 15:57:55 386e3cb2ff24: Pulling fs layer 15:57:55 bdb8f0575790: Waiting 15:57:55 2343380bae48: Pulling fs layer 15:57:55 2343380bae48: Waiting 15:57:55 f63e77b7563a: Verifying Checksum 15:57:55 f63e77b7563a: Download complete 15:57:55 205491f53016: Verifying Checksum 15:57:55 205491f53016: Download complete 15:57:55 df18705c85c3: Verifying Checksum 15:57:55 df18705c85c3: Download complete 15:57:55 bd5fdadae976: Verifying Checksum 15:57:55 bd5fdadae976: Download complete 15:57:55 bdb3f477010e: Download complete 15:57:55 2c6e9b1d212d: Verifying Checksum 15:57:55 2c6e9b1d212d: Download complete 15:57:55 bdb8f0575790: Verifying Checksum 15:57:55 bdb8f0575790: Download complete 15:57:55 386e3cb2ff24: Verifying Checksum 15:57:55 386e3cb2ff24: Download complete 15:57:55 2343380bae48: Verifying Checksum 15:57:55 2343380bae48: Download complete 15:57:55 42c077c10790: Verifying Checksum 15:57:55 42c077c10790: Download complete 15:57:55 c8a8fc8e1c8f: Verifying Checksum 15:57:55 c8a8fc8e1c8f: Download complete 15:57:56 42c077c10790: Pull complete 15:57:57 f63e77b7563a: Pull complete 15:57:57 bd5fdadae976: Pull complete 15:57:57 205491f53016: Pull complete 15:57:57 df18705c85c3: Pull complete 15:57:58 bdb3f477010e: Pull complete 15:58:00 c8a8fc8e1c8f: Pull complete 15:58:00 2c6e9b1d212d: Pull complete 15:58:00 bdb8f0575790: Pull complete 15:58:00 386e3cb2ff24: Pull complete 15:58:00 2343380bae48: Pull complete 15:58:00 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 15:58:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:58:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:58:00 prd-ubuntu20.04-docker-8c-8g-15331 does not seem to be running inside a container 15:58:00 $ 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:58:02 $ docker top 27da28b97143c86527b0c2874b3382c85178b04a826c28a9fce1b94b1e3c6d08 -eo pid,comm 15:58:02 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:58:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:58:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:58:02 [ssh-agent] Looking for ssh-agent implementation... 15:58:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:58:02 $ docker exec 27da28b97143c86527b0c2874b3382c85178b04a826c28a9fce1b94b1e3c6d08 ssh-agent 15:58:02 SSH_AUTH_SOCK=/tmp/ssh-n7RP1KyLtxTF/agent.34 15:58:02 SSH_AGENT_PID=40 15:58:02 Running ssh-add (command line suppressed) 15:58:02 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4597762323735219936.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4597762323735219936.key) 15:58:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:58:02 + git tag --points-at HEAD [Pipeline] } 15:58:02 $ docker exec --env ******** --env ******** 27da28b97143c86527b0c2874b3382c85178b04a826c28a9fce1b94b1e3c6d08 ssh-agent -k 15:58:03 unset SSH_AUTH_SOCK; 15:58:03 unset SSH_AGENT_PID; 15:58:03 echo Agent pid 40 killed; 15:58:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:58:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:58:03 [ssh-agent] Looking for ssh-agent implementation... 15:58:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:58:03 $ docker exec 27da28b97143c86527b0c2874b3382c85178b04a826c28a9fce1b94b1e3c6d08 ssh-agent 15:58:03 SSH_AUTH_SOCK=/tmp/ssh-ybmrTvQQKNDc/agent.73 15:58:03 SSH_AGENT_PID=79 15:58:03 Running ssh-add (command line suppressed) 15:58:03 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7708873664565531522.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7708873664565531522.key) 15:58:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:58:03 + git semver init 15:58:04 2022-06-22 15:58:04,057 [run_init] DEBUG init version:0.0.0 force:False 15:58:04 2022-06-22 15:58:04,057 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_app-functions-sdk-go_main/.semver 15:58:04 2022-06-22 15:58:04,058 [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:58:04 2022-06-22 15:58:04,058 [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:58:05 2022-06-22 15:58:05,379 [append_file] DEBUG append to file:/w/workspace/oundry_app-functions-sdk-go_main/.git/info/exclude 15:58:05 2022-06-22 15:58:05,380 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:False 15:58:05 2022-06-22 15:58:05,380 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 15:58:05 2022-06-22 15:58:05,380 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 15:58:05 2.2.1-dev.9 [Pipeline] } 15:58:05 $ docker exec --env ******** --env ******** 27da28b97143c86527b0c2874b3382c85178b04a826c28a9fce1b94b1e3c6d08 ssh-agent -k 15:58:05 unset SSH_AUTH_SOCK; 15:58:05 unset SSH_AGENT_PID; 15:58:05 echo Agent pid 79 killed; 15:58:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:58:06 + git semver [Pipeline] } 15:58:06 $ docker stop --time=1 27da28b97143c86527b0c2874b3382c85178b04a826c28a9fce1b94b1e3c6d08 15:58:08 $ docker rm -f 27da28b97143c86527b0c2874b3382c85178b04a826c28a9fce1b94b1e3c6d08 [Pipeline] // withDockerContainer [Pipeline] sh 15:58:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:58:08 Stashed 1 file(s) [Pipeline] echo 15:58:08 [edgeXSemver]: initialized semver on version 2.2.1-dev.9 [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:58:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:58:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:58:08 ========================================================= 15:58:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 15:58:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 15:58:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:58:09 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 15:58:09 59bf1c3509f3: Pulling fs layer 15:58:09 666ba61612fd: Pulling fs layer 15:58:09 8ed8ca486205: Pulling fs layer 15:58:09 cc1cd167ecdc: Pulling fs layer 15:58:09 c516ae0d96e1: Pulling fs layer 15:58:09 684cea983483: Pulling fs layer 15:58:09 dd3240ac7de5: Pulling fs layer 15:58:09 b1e948a4e11c: Pulling fs layer 15:58:09 a8fd76ee1af6: Pulling fs layer 15:58:09 646ad004c059: Pulling fs layer 15:58:09 cc1cd167ecdc: Waiting 15:58:09 c516ae0d96e1: Waiting 15:58:09 684cea983483: Waiting 15:58:09 b1e948a4e11c: Waiting 15:58:09 646ad004c059: Waiting 15:58:09 a8fd76ee1af6: Waiting 15:58:09 8ed8ca486205: Verifying Checksum 15:58:09 8ed8ca486205: Download complete 15:58:09 666ba61612fd: Download complete 15:58:09 c516ae0d96e1: Verifying Checksum 15:58:09 c516ae0d96e1: Download complete 15:58:09 684cea983483: Verifying Checksum 15:58:09 684cea983483: Download complete 15:58:09 dd3240ac7de5: Verifying Checksum 15:58:09 dd3240ac7de5: Download complete 15:58:09 59bf1c3509f3: Verifying Checksum 15:58:09 59bf1c3509f3: Download complete 15:58:09 b1e948a4e11c: Verifying Checksum 15:58:09 b1e948a4e11c: Download complete 15:58:09 59bf1c3509f3: Pull complete 15:58:09 666ba61612fd: Pull complete 15:58:09 8ed8ca486205: Pull complete 15:58:09 646ad004c059: Verifying Checksum 15:58:09 646ad004c059: Download complete 15:58:10 a8fd76ee1af6: Verifying Checksum 15:58:10 a8fd76ee1af6: Download complete 15:58:10 cc1cd167ecdc: Verifying Checksum 15:58:10 cc1cd167ecdc: Download complete 15:58:14 cc1cd167ecdc: Pull complete 15:58:14 c516ae0d96e1: Pull complete 15:58:14 684cea983483: Pull complete 15:58:14 dd3240ac7de5: Pull complete 15:58:14 b1e948a4e11c: Pull complete 15:58:16 a8fd76ee1af6: Pull complete 15:58:17 646ad004c059: Pull complete 15:58:17 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 15:58:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:58:17 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 15:58:17 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:17 + docker inspect -f . ci-base-image-x86_64 15:58:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:58:17 prd-ubuntu20.04-docker-8c-8g-15331 does not seem to be running inside a container 15:58:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:58:19 $ docker top 1aeda0744229fcf7551f5d9f79f565eb1891b3290b1247b27c8298c47e211a80 -eo pid,comm [Pipeline] { [Pipeline] sh 15:58:20 + go version 15:58:20 go version go1.17.7 linux/amd64 [Pipeline] } 15:58:20 $ docker stop --time=1 1aeda0744229fcf7551f5d9f79f565eb1891b3290b1247b27c8298c47e211a80 15:58:21 $ docker rm -f 1aeda0744229fcf7551f5d9f79f565eb1891b3290b1247b27c8298c47e211a80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:22 + docker inspect -f . ci-base-image-x86_64 15:58:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:58:22 prd-ubuntu20.04-docker-8c-8g-15331 does not seem to be running inside a container 15:58:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:58:22 $ docker top 5d06fd0201afd5fb3f101a71c13b81394be07419a5dd3e727dd6e20eea9871dc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:58:23 + make test 15:58:23 make -C ./app-service-template build 15:58:23 make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 15:58:23 go mod tidy -compat=1.17 15:58:23 go: downloading github.com/stretchr/testify v1.7.2 15:58:23 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 15:58:23 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 15:58:23 go: downloading github.com/google/uuid v1.3.0 15:58:23 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.1-dev.4 15:58:23 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 15:58:23 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 15:58:23 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.2 15:58:23 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 15:58:23 go: downloading github.com/gorilla/mux v1.8.0 15:58:23 go: downloading github.com/hashicorp/go-multierror v1.1.1 15:58:23 go: downloading github.com/davecgh/go-spew v1.1.1 15:58:23 go: downloading github.com/pmezard/go-difflib v1.0.0 15:58:23 go: downloading github.com/stretchr/objx v0.1.1 15:58:23 go: downloading gopkg.in/yaml.v3 v3.0.1 15:58:23 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 15:58:23 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 15:58:23 go: downloading github.com/go-kit/log v0.2.0 15:58:23 go: downloading github.com/go-playground/validator/v10 v10.10.1 15:58:23 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 15:58:23 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 15:58:23 go: downloading github.com/pelletier/go-toml v1.9.4 15:58:23 go: downloading github.com/mitchellh/copystructure v1.0.0 15:58:23 go: downloading github.com/hashicorp/errwrap v1.0.0 15:58:23 go: downloading github.com/gorilla/websocket v1.4.2 15:58:23 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 15:58:23 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 15:58:23 go: downloading github.com/hashicorp/consul/api v1.9.1 15:58:23 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 15:58:23 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 15:58:23 go: downloading github.com/go-redis/redis/v7 v7.3.0 15:58:23 go: downloading github.com/pebbe/zmq4 v1.2.7 15:58:23 go: downloading github.com/go-logfmt/logfmt v0.5.1 15:58:23 go: downloading github.com/mitchellh/reflectwalk v1.0.0 15:58:23 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:58:23 go: downloading github.com/x448/float16 v0.8.4 15:58:23 go: downloading github.com/go-playground/universal-translator v0.18.0 15:58:23 go: downloading github.com/leodido/go-urn v1.2.1 15:58:23 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 15:58:23 go: downloading golang.org/x/text v0.3.7 15:58:23 go: downloading github.com/go-playground/locales v0.14.0 15:58:23 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 15:58:23 go: downloading github.com/hashicorp/go-hclog v0.12.0 15:58:23 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 15:58:23 go: downloading github.com/hashicorp/serf v0.9.5 15:58:23 go: downloading github.com/mitchellh/mapstructure v1.1.2 15:58:23 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 15:58:23 go: downloading github.com/go-playground/assert/v2 v2.0.1 15:58:23 go: downloading github.com/hashicorp/consul/sdk v0.8.0 15:58:23 go: downloading github.com/hashicorp/go-uuid v1.0.1 15:58:23 go: downloading github.com/onsi/ginkgo v1.10.1 15:58:23 go: downloading github.com/onsi/gomega v1.7.0 15:58:23 go: downloading github.com/zeebo/errs v1.2.2 15:58:23 go: downloading google.golang.org/grpc v1.42.0 15:58:23 Still waiting to schedule task 15:58:23 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:58:24 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 15:58:24 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 15:58:24 go: downloading github.com/fatih/color v1.9.0 15:58:24 go: downloading github.com/mattn/go-colorable v0.1.6 15:58:24 go: downloading github.com/mattn/go-isatty v0.0.12 15:58:24 go: downloading github.com/mitchellh/go-homedir v1.1.0 15:58:24 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:58:24 go: downloading github.com/pkg/errors v0.9.1 15:58:24 go: downloading github.com/kr/pretty v0.3.0 15:58:24 go: downloading github.com/hashicorp/go-msgpack v0.5.3 15:58:24 go: downloading github.com/hashicorp/memberlist v0.2.2 15:58:24 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 15:58:24 go: downloading google.golang.org/protobuf v1.27.1 15:58:24 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 15:58:24 go: downloading github.com/golang/protobuf v1.5.2 15:58:24 go: downloading github.com/google/go-cmp v0.5.6 15:58:24 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 15:58:24 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 15:58:24 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 15:58:24 go: downloading github.com/kr/text v0.2.0 15:58:24 go: downloading github.com/rogpeppe/go-internal v1.8.0 15:58:24 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 15:58:24 go: downloading github.com/miekg/dns v1.1.26 15:58:24 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 15:58:24 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 15:58:24 go: downloading github.com/hpcloud/tail v1.0.0 15:58:24 go: downloading gopkg.in/yaml.v2 v2.2.8 15:58:24 go: downloading github.com/hashicorp/golang-lru v0.5.0 15:58:24 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 15:58:24 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 15:58:24 go: downloading gopkg.in/fsnotify.v1 v1.4.7 15:58:27 go: downloading github.com/stretchr/testify v1.7.4 15:58:27 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.1-dev.5 15:58:27 go: downloading github.com/stretchr/objx v0.4.0 15:58:27 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:58:45 make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 15:58:45 make -C ./app-service-template test 15:58:45 make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 15:58:45 CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... 15:59:03 ok new-app-service 0.065s coverage: 48.1% of statements 15:59:03 ? new-app-service/config [no test files] 15:59:03 ok new-app-service/functions 0.048s 15:59:03 CGO_ENABLED=1 go vet ./... 15:59:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:59:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:59:11 ./bin/test-attribution-txt.sh 15:59:11 make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 15:59:11 CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 15:59:11 go: downloading github.com/gomodule/redigo v1.8.8 15:59:12 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 15:59:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.116s coverage: 63.2% of statements 15:59:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.071s coverage: 93.8% of statements 15:59:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 15:59:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.129s coverage: 76.5% of statements 15:59:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 15:59:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.082s coverage: 88.7% of statements 15:59:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.050s coverage: 100.0% of statements 15:59:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.131s coverage: 78.5% of statements 15:59:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 15:59:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 15:59:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.068s coverage: 97.3% of statements 15:59:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 15:59:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] 15:59:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.082s coverage: 82.8% of statements 15:59:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] 15:59:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.706s coverage: 81.5% of statements 15:59:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] 15:59:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] 15:59:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.080s coverage: 28.7% of statements 15:59:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] 15:59:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.062s coverage: 14.0% of statements 15:59:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.059s coverage: 27.3% of statements 15:59:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 15:59:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 15:59:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.063s coverage: 51.4% of statements 15:59:42 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.138s coverage: 78.6% of statements 15:59:42 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.110s coverage: 94.4% of statements 15:59:42 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:59:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:59:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 15:59:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:59:50 $ docker stop --time=1 5d06fd0201afd5fb3f101a71c13b81394be07419a5dd3e727dd6e20eea9871dc 15:59:52 $ docker rm -f 5d06fd0201afd5fb3f101a71c13b81394be07419a5dd3e727dd6e20eea9871dc [Pipeline] // withDockerContainer [Pipeline] sh 15:59:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:59:53 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:59:53 15:59:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:59:53 latest: Pulling from edgex-lftools-log-publisher 15:59:53 5eb5b503b376: Pulling fs layer 15:59:53 5c69ac0246d0: Pulling fs layer 15:59:53 ec43610c2a17: Pulling fs layer 15:59:53 3a2ae6a8a46f: Pulling fs layer 15:59:53 33b1e0a273af: Pulling fs layer 15:59:53 5d3b04190fa2: Pulling fs layer 15:59:53 2f39f015ded8: Pulling fs layer 15:59:53 2f39f015ded8: Waiting 15:59:53 5d3b04190fa2: Waiting 15:59:53 3a2ae6a8a46f: Waiting 15:59:53 5c69ac0246d0: Verifying Checksum 15:59:53 5c69ac0246d0: Download complete 15:59:53 3a2ae6a8a46f: Download complete 15:59:54 33b1e0a273af: Verifying Checksum 15:59:54 33b1e0a273af: Download complete 15:59:54 5d3b04190fa2: Download complete 15:59:54 ec43610c2a17: Verifying Checksum 15:59:54 ec43610c2a17: Download complete 15:59:54 5eb5b503b376: Verifying Checksum 15:59:54 5eb5b503b376: Download complete 15:59:54 2f39f015ded8: Download complete 15:59:55 5eb5b503b376: Pull complete 15:59:55 5c69ac0246d0: Pull complete 15:59:56 ec43610c2a17: Pull complete 15:59:56 3a2ae6a8a46f: Pull complete 15:59:56 33b1e0a273af: Pull complete 15:59:56 5d3b04190fa2: Pull complete 16:00:01 2f39f015ded8: Pull complete 16:00:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:00:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:00:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:00:01 prd-ubuntu20.04-docker-8c-8g-15331 does not seem to be running inside a container 16:00:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:00:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15333 in /w/workspace/oundry_app-functions-sdk-go_main 16:00:03 $ docker top e43533b72af394e5de2f91a7a5592c3eb37638c2edf8d9fca2e3a491d516812d -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 16:00:04 Running in /w/workspace/app-functions-sdk-go/128 [Pipeline] { [Pipeline] checkout 16:00:04 The recommended git tool is: git 16:00:04 ---> job-cost.sh 16:00:04 lf-activate-venv: SKIPPING 16:00:04 INFO: No Stack... 16:00:04 INFO: Retrieving Pricing Info for: v3-standard-8 16:00:05 INFO: Archiving Costs [Pipeline] sh 16:00:05 + cat /w/workspace/oundry_app-functions-sdk-go_main/archives/cost.csv 16:00:05 + cut -d, -f6 [Pipeline] lock 16:00:05 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-128-stack-cost] 16:00:05 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-128-stack-cost] did not exist. Created. 16:00:05 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-128-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:00:05 + echo total: 0.2199999988079071 [Pipeline] stash 16:00:05 Stashed 1 file(s) [Pipeline] } 16:00:05 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-128-stack-cost] [Pipeline] // lock [Pipeline] } 16:00:05 $ docker stop --time=1 e43533b72af394e5de2f91a7a5592c3eb37638c2edf8d9fca2e3a491d516812d 16:00:06 $ docker rm -f e43533b72af394e5de2f91a7a5592c3eb37638c2edf8d9fca2e3a491d516812d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:00:09 using credential edgex-jenkins-ssh 16:00:09 Cloning the remote Git repository 16:00:09 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 16:00:09 > git init /w/workspace/app-functions-sdk-go/128 # timeout=10 16:00:09 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 16:00:09 > git --version # timeout=10 16:00:09 > git --version # 'git version 2.25.1' 16:00:09 using GIT_SSH to set credentials SSH Credentials for GitHub 16:00:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:00:12 Avoid second fetch 16:00:12 Checking out Revision 137889e1bd860a3188d5b5d2b918d7a2ae9915c0 (main) 16:00:12 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 16:00:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:00:12 > git config core.sparsecheckout # timeout=10 16:00:12 > git checkout -f 137889e1bd860a3188d5b5d2b918d7a2ae9915c0 # timeout=10 16:00:16 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 (#1130)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:00:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:00:17 % Total % Received % Xferd Average Speed Time Time Time Current 16:00:17 Dload Upload Total Spent Left Speed 16:00:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 83924 0 --:--:-- --:--:-- --:--:-- 83924 100 12253 100 12253 0 0 83353 0 --:--:-- --:--:-- --:--:-- 82790 [Pipeline] sh 16:00:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:00:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:00:18 + sudo tee /etc/docker/daemon.new 16:00:18 { 16:00:18 "registry-mirrors": [ 16:00:18 "https://nexus3.edgexfoundry.org:10001" 16:00:18 ], 16:00:18 "bip": "10.250.0.254/24", 16:00:18 "hosts": [ 16:00:18 "tcp://0.0.0.0:5555", 16:00:18 "unix:///var/run/docker.sock" 16:00:18 ], 16:00:18 "mtu": 1458, 16:00:18 "selinux-enabled": true, 16:00:18 "seccomp-profile": "/etc/docker/seccomp.json" 16:00:18 } [Pipeline] sh 16:00:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:00:19 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 16:00:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:00:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:00:38 ========================================================= 16:00:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 16:00:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 16:00:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:00:39 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:00:39 9b3977197b4f: Pulling fs layer 16:00:39 1a89e8eeedd5: Pulling fs layer 16:00:39 94645a83ff95: Pulling fs layer 16:00:39 e6fb740bc735: Pulling fs layer 16:00:39 3a77bd46dcc9: Pulling fs layer 16:00:39 355e64cbe906: Pulling fs layer 16:00:39 63ab81a10011: Pulling fs layer 16:00:39 555d1d1c4555: Pulling fs layer 16:00:39 7d9057610161: Pulling fs layer 16:00:39 63ab81a10011: Waiting 16:00:39 555d1d1c4555: Waiting 16:00:39 7d9057610161: Waiting 16:00:39 3a77bd46dcc9: Waiting 16:00:39 355e64cbe906: Waiting 16:00:39 94645a83ff95: Verifying Checksum 16:00:39 94645a83ff95: Download complete 16:00:39 1a89e8eeedd5: Verifying Checksum 16:00:39 1a89e8eeedd5: Download complete 16:00:39 3a77bd46dcc9: Verifying Checksum 16:00:39 3a77bd46dcc9: Download complete 16:00:39 355e64cbe906: Verifying Checksum 16:00:39 355e64cbe906: Download complete 16:00:39 63ab81a10011: Verifying Checksum 16:00:39 63ab81a10011: Download complete 16:00:39 9b3977197b4f: Verifying Checksum 16:00:40 9b3977197b4f: Pull complete 16:00:40 7d9057610161: Verifying Checksum 16:00:40 7d9057610161: Download complete 16:00:40 1a89e8eeedd5: Pull complete 16:00:41 94645a83ff95: Pull complete 16:00:41 555d1d1c4555: Download complete 16:00:42 e6fb740bc735: Verifying Checksum 16:00:42 e6fb740bc735: Download complete 16:00:54 e6fb740bc735: Pull complete 16:00:54 3a77bd46dcc9: Pull complete 16:00:54 355e64cbe906: Pull complete 16:00:54 63ab81a10011: Pull complete 16:01:01 555d1d1c4555: Pull complete 16:01:02 7d9057610161: Pull complete 16:01:02 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 16:01:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:01:02 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh 16:01:03 + 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 16:01:03 + docker inspect -f . ci-base-image-arm64 16:01:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:01:04 prd-ubuntu20.04-docker-arm64-4c-16g-15333 does not seem to be running inside a container 16:01:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/128 -v /w/workspace/app-functions-sdk-go/128:/w/workspace/app-functions-sdk-go/128:rw,z -v /w/workspace/app-functions-sdk-go/128@tmp:/w/workspace/app-functions-sdk-go/128@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:01:08 $ docker top 8621e19ff096a26feb2fb22a1d47b135906475bdb423e4f6a1fbbd9a31adce16 -eo pid,comm [Pipeline] { [Pipeline] sh 16:01:09 + go version 16:01:09 go version go1.17.7 linux/arm64 [Pipeline] } 16:01:09 $ docker stop --time=1 8621e19ff096a26feb2fb22a1d47b135906475bdb423e4f6a1fbbd9a31adce16 16:01:11 $ docker rm -f 8621e19ff096a26feb2fb22a1d47b135906475bdb423e4f6a1fbbd9a31adce16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:01:11 + docker inspect -f . ci-base-image-arm64 16:01:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:01:12 prd-ubuntu20.04-docker-arm64-4c-16g-15333 does not seem to be running inside a container 16:01:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/128 -v /w/workspace/app-functions-sdk-go/128:/w/workspace/app-functions-sdk-go/128:rw,z -v /w/workspace/app-functions-sdk-go/128@tmp:/w/workspace/app-functions-sdk-go/128@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:01:13 $ docker top 4e99080c2cf0f67776f560077c5e39b287a2f878b0e3b077afdf5531fb2fc6e2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:01:14 + make test 16:01:14 make -C ./app-service-template build 16:01:14 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/128/app-service-template' 16:01:14 go mod tidy -compat=1.17 16:01:14 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 16:01:14 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 16:01:14 go: downloading github.com/google/uuid v1.3.0 16:01:14 go: downloading github.com/stretchr/testify v1.7.2 16:01:14 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 16:01:14 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.1-dev.4 16:01:15 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 16:01:15 go: downloading github.com/davecgh/go-spew v1.1.1 16:01:15 go: downloading github.com/pmezard/go-difflib v1.0.0 16:01:15 go: downloading gopkg.in/yaml.v3 v3.0.1 16:01:15 go: downloading github.com/go-playground/validator/v10 v10.10.1 16:01:15 go: downloading github.com/go-kit/log v0.2.0 16:01:15 go: downloading github.com/stretchr/objx v0.1.1 16:01:15 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.2 16:01:15 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 16:01:15 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 16:01:15 go: downloading github.com/gorilla/mux v1.8.0 16:01:15 go: downloading github.com/hashicorp/go-multierror v1.1.1 16:01:15 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 16:01:15 go: downloading github.com/mitchellh/copystructure v1.0.0 16:01:15 go: downloading github.com/go-logfmt/logfmt v0.5.1 16:01:15 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 16:01:15 go: downloading github.com/pelletier/go-toml v1.9.4 16:01:15 go: downloading github.com/go-playground/universal-translator v0.18.0 16:01:15 go: downloading github.com/leodido/go-urn v1.2.1 16:01:15 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 16:01:15 go: downloading golang.org/x/text v0.3.7 16:01:16 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 16:01:16 go: downloading github.com/go-playground/assert/v2 v2.0.1 16:01:16 go: downloading github.com/go-playground/locales v0.14.0 16:01:18 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 16:01:18 go: downloading github.com/gorilla/websocket v1.4.2 16:01:18 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 16:01:19 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 16:01:19 go: downloading github.com/hashicorp/errwrap v1.0.0 16:01:19 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 16:01:19 go: downloading github.com/hashicorp/consul/api v1.9.1 16:01:19 go: downloading github.com/mitchellh/reflectwalk v1.0.0 16:01:19 go: downloading github.com/x448/float16 v0.8.4 16:01:19 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 16:01:19 go: downloading github.com/kr/pretty v0.3.0 16:01:19 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 16:01:19 go: downloading github.com/go-redis/redis/v7 v7.3.0 16:01:19 go: downloading github.com/pebbe/zmq4 v1.2.7 16:01:19 go: downloading github.com/zeebo/errs v1.2.2 16:01:19 go: downloading google.golang.org/grpc v1.42.0 16:01:20 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:01:20 go: downloading github.com/kr/text v0.2.0 16:01:20 go: downloading github.com/rogpeppe/go-internal v1.8.0 16:01:20 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 16:01:20 go: downloading github.com/hashicorp/go-hclog v0.12.0 16:01:20 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 16:01:20 go: downloading github.com/hashicorp/serf v0.9.5 16:01:20 go: downloading github.com/mitchellh/mapstructure v1.1.2 16:01:20 go: downloading github.com/hashicorp/consul/sdk v0.8.0 16:01:20 go: downloading github.com/hashicorp/go-uuid v1.0.1 16:01:20 go: downloading github.com/onsi/ginkgo v1.10.1 16:01:20 go: downloading github.com/onsi/gomega v1.7.0 16:01:21 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 16:01:21 go: downloading google.golang.org/protobuf v1.27.1 16:01:21 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 16:01:22 go: downloading github.com/golang/protobuf v1.5.2 16:01:22 go: downloading github.com/google/go-cmp v0.5.6 16:01:22 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 16:01:22 go: downloading github.com/mitchellh/go-homedir v1.1.0 16:01:22 go: downloading github.com/fatih/color v1.9.0 16:01:22 go: downloading github.com/mattn/go-colorable v0.1.6 16:01:22 go: downloading github.com/mattn/go-isatty v0.0.12 16:01:22 go: downloading github.com/pkg/errors v0.9.1 16:01:22 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:01:22 go: downloading github.com/hashicorp/go-msgpack v0.5.3 16:01:22 go: downloading github.com/hashicorp/memberlist v0.2.2 16:01:23 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 16:01:23 go: downloading gopkg.in/yaml.v2 v2.2.8 16:01:23 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 16:01:23 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 16:01:23 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 16:01:23 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 16:01:23 go: downloading github.com/miekg/dns v1.1.26 16:01:23 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 16:01:23 go: downloading github.com/hpcloud/tail v1.0.0 16:01:23 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 16:01:23 go: downloading github.com/hashicorp/golang-lru v0.5.0 16:01:23 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 16:01:23 go: downloading gopkg.in/fsnotify.v1 v1.4.7 16:01:28 go: downloading github.com/stretchr/testify v1.7.4 16:01:28 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.1-dev.5 16:01:28 go: downloading github.com/stretchr/objx v0.4.0 16:01:28 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o new-app-service 16:03:35 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/128/app-service-template' 16:03:35 make -C ./app-service-template test 16:03:35 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/128/app-service-template' 16:03:35 CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... 16:05:57 ok new-app-service 0.244s coverage: 48.1% of statements 16:05:57 ? new-app-service/config [no test files] 16:05:57 ok new-app-service/functions 0.217s 16:05:57 CGO_ENABLED=1 go vet ./... 16:07:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:07:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:07:18 ./bin/test-attribution-txt.sh 16:07:20 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/128/app-service-template' 16:07:20 CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:07:20 go: downloading github.com/gomodule/redigo v1.8.8 16:07:22 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 16:07:44 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.607s coverage: 63.2% of statements 16:07:44 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.262s coverage: 93.8% of statements 16:07:44 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 16:07:44 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.471s coverage: 76.5% of statements 16:07:44 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 16:07:44 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.512s coverage: 88.7% of statements 16:07:44 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.153s coverage: 100.0% of statements 16:07:44 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.707s coverage: 78.5% of statements 16:07:44 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 16:07:44 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 16:07:44 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.267s coverage: 97.3% of statements 16:07:44 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 16:07:44 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] 16:07:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.338s coverage: 82.8% of statements 16:07:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] 16:07:53 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 1.096s coverage: 81.5% of statements 16:07:53 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] 16:07:53 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] 16:07:53 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.362s coverage: 28.7% of statements 16:07:53 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] 16:07:53 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.438s coverage: 14.0% of statements 16:07:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.241s coverage: 27.3% of statements 16:07:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 16:07:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 16:08:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.454s coverage: 51.4% of statements 16:08:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.541s coverage: 78.6% of statements 16:08:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.220s coverage: 94.4% of statements 16:08:33 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:08:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:08:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:08:39 WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] echo 16:08:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:08:39 $ docker stop --time=1 4e99080c2cf0f67776f560077c5e39b287a2f878b0e3b077afdf5531fb2fc6e2 16:08:41 $ docker rm -f 4e99080c2cf0f67776f560077c5e39b287a2f878b0e3b077afdf5531fb2fc6e2 [Pipeline] // withDockerContainer [Pipeline] sh 16:08:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:08:45 Warning: overwriting stash ‘coverage-report’ 16:08:45 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 16:08:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:08:46 16:08:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:08:47 arm64: Pulling from edgex-lftools-log-publisher 16:08:47 8998bd30e6a1: Pulling fs layer 16:08:47 04944245beec: Pulling fs layer 16:08:47 699f458cf7ca: Pulling fs layer 16:08:47 765212b225bb: Pulling fs layer 16:08:47 f23df028b6ca: Pulling fs layer 16:08:47 d65c8cfc05b1: Pulling fs layer 16:08:47 2437ff75d9bd: Pulling fs layer 16:08:47 f23df028b6ca: Waiting 16:08:47 d65c8cfc05b1: Waiting 16:08:47 765212b225bb: Waiting 16:08:47 2437ff75d9bd: Waiting 16:08:47 04944245beec: Verifying Checksum 16:08:47 04944245beec: Download complete 16:08:47 765212b225bb: Verifying Checksum 16:08:47 765212b225bb: Download complete 16:08:47 f23df028b6ca: Download complete 16:08:47 d65c8cfc05b1: Download complete 16:08:47 699f458cf7ca: Verifying Checksum 16:08:47 699f458cf7ca: Download complete 16:08:47 8998bd30e6a1: Verifying Checksum 16:08:47 8998bd30e6a1: Download complete 16:08:50 2437ff75d9bd: Verifying Checksum 16:08:50 2437ff75d9bd: Download complete 16:08:52 8998bd30e6a1: Pull complete 16:08:52 04944245beec: Pull complete 16:08:53 699f458cf7ca: Pull complete 16:08:54 765212b225bb: Pull complete 16:08:55 f23df028b6ca: Pull complete 16:08:55 d65c8cfc05b1: Pull complete 16:09:10 2437ff75d9bd: Pull complete 16:09:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:09:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:09:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:09:10 prd-ubuntu20.04-docker-arm64-4c-16g-15333 does not seem to be running inside a container 16:09:10 $ 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/128 -v /w/workspace/app-functions-sdk-go/128:/w/workspace/app-functions-sdk-go/128:rw,z -v /w/workspace/app-functions-sdk-go/128@tmp:/w/workspace/app-functions-sdk-go/128@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:09:13 $ docker top 11a10b40c2b1723778e26991d8eca23978bb4fd366f8e181fbac18055aca82d9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:09:14 ---> job-cost.sh 16:09:14 lf-activate-venv: SKIPPING 16:09:14 INFO: No Stack... 16:09:14 INFO: Retrieving Pricing Info for: v3-standard-4 16:09:15 INFO: Archiving Costs [Pipeline] sh 16:09:16 + cat /w/workspace/app-functions-sdk-go/128/archives/cost.csv 16:09:16 + cut -d, -f6 [Pipeline] lock 16:09:16 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-128-stack-cost] 16:09:16 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-128-stack-cost] did not exist. Created. 16:09:16 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-128-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:09:16 /w/workspace/app-functions-sdk-go/128@tmp/durable-b88c0c21/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:09:17 + echo total: 0.10999999940395355 [Pipeline] stash 16:09:17 Warning: overwriting stash ‘stack-cost’ 16:09:17 Stashed 1 file(s) [Pipeline] } 16:09:17 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-128-stack-cost] [Pipeline] // lock [Pipeline] } 16:09:17 $ docker stop --time=1 11a10b40c2b1723778e26991d8eca23978bb4fd366f8e181fbac18055aca82d9 16:09:19 $ docker rm -f 11a10b40c2b1723778e26991d8eca23978bb4fd366f8e181fbac18055aca82d9 [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 16:09:19 provisioning config files... 16:09:19 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config4812891727653275897tmp [Pipeline] { [Pipeline] sh 16:09:20 + set +x 16:09:20 + curl -s https://codecov.io/bash 16:09:20 + bash -s -- 16:09:20 16:09:20 _____ _ 16:09:20 / ____| | | 16:09:20 | | ___ __| | ___ ___ _____ __ 16:09:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:09:20 | |___| (_) | (_| | __/ (_| (_) \ V / 16:09:20 \_____\___/ \__,_|\___|\___\___/ \_/ 16:09:20 Bash-1.0.6 16:09:20 16:09:20 16:09:20 ==> git version 2.25.1 found 16:09:20 ==> 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 16:09:20 Release-Date: 2020-01-08 16:09:20 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:09:20 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:09:20 ==> Jenkins CI detected. 16:09:20 current dir:  /w/workspace/oundry_app-functions-sdk-go_main 16:09:20 project root: . 16:09:20 --> token set from env 16:09:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:09:20 ==> Running gcov in . (disable via -X gcov) 16:09:20 ==> Python coveragepy not found 16:09:20 ==> Searching for coverage reports in: 16:09:20 + . 16:09:20 -> Found 2 reports 16:09:20 ==> Detecting git/mercurial file structure 16:09:20 ==> Reading reports 16:09:20 + ./app-service-template/coverage.out bytes=1222 16:09:20 + ./coverage.out bytes=121742 16:09:20 ==> Appending adjustments 16:09:20 https://docs.codecov.io/docs/fixing-reports 16:09:20 + Found adjustments 16:09:20 ==> Gzipping contents 16:09:20 24K /tmp/codecov.fPVkzD.gz 16:09:20 ==> Uploading reports 16:09:20 url: https://codecov.io 16:09:20 query: branch=main&commit=137889e1bd860a3188d5b5d2b918d7a2ae9915c0&build=128&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F128%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:09:20 -> Pinging Codecov 16:09:20 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=137889e1bd860a3188d5b5d2b918d7a2ae9915c0&build=128&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F128%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:09:20 -> Uploading to 16:09:20 https://storage.googleapis.com/codecov/v4/raw/2022-06-22/3D8B5DFFC46A037C893635FACE044666/137889e1bd860a3188d5b5d2b918d7a2ae9915c0/eb99ede5-1c72-4691-b1c8-e1268a7ab27c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220622%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220622T160920Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0afe5f5ff4f24afa8051fc52e0c03cd39b76457c81e78c33cf7da1a32fe52d8b 16:09:20 % Total % Received % Xferd Average Speed Time Time Time Current 16:09:20 Dload Upload Total Spent Left Speed 16:09:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21058 0 0 100 21058 0 80681 --:--:-- --:--:-- --:--:-- 80681 16:09:21 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/137889e1bd860a3188d5b5d2b918d7a2ae9915c0 [Pipeline] } 16:09:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:09:21 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:09:21 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:09:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:09:21 16:09:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:09:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:09:21 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:09:21 df9b9388f04a: Pulling fs layer 16:09:21 52dc419b0ee2: Pulling fs layer 16:09:21 25bc292e5bac: Pulling fs layer 16:09:21 114826534d7a: Pulling fs layer 16:09:21 4657fd5d0bcf: Pulling fs layer 16:09:21 6ad1cebc031e: Pulling fs layer 16:09:21 8a3aa393b2d8: Pulling fs layer 16:09:21 6ad1cebc031e: Waiting 16:09:21 8a3aa393b2d8: Waiting 16:09:21 25bc292e5bac: Verifying Checksum 16:09:21 25bc292e5bac: Download complete 16:09:21 52dc419b0ee2: Download complete 16:09:21 4657fd5d0bcf: Verifying Checksum 16:09:21 4657fd5d0bcf: Download complete 16:09:21 df9b9388f04a: Download complete 16:09:22 6ad1cebc031e: Verifying Checksum 16:09:22 6ad1cebc031e: Download complete 16:09:22 df9b9388f04a: Pull complete 16:09:22 52dc419b0ee2: Pull complete 16:09:22 25bc292e5bac: Pull complete 16:09:22 114826534d7a: Verifying Checksum 16:09:22 114826534d7a: Download complete 16:09:22 8a3aa393b2d8: Verifying Checksum 16:09:22 8a3aa393b2d8: Download complete 16:09:26 114826534d7a: Pull complete 16:09:26 4657fd5d0bcf: Pull complete 16:09:27 6ad1cebc031e: Pull complete 16:09:30 8a3aa393b2d8: Pull complete 16:09:30 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:09:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:09:30 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:09:30 prd-ubuntu20.04-docker-8c-8g-15331 does not seem to be running inside a container 16:09:30 $ 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 16:09:32 $ docker top 8af188ffaf918d1cd14ac37ec4a8bb0a4281aa9e0446eb6b5f3f2f23bdfa6162 -eo pid,comm [Pipeline] { [Pipeline] echo 16:09:32 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-functions-sdk-go:main' [Pipeline] sh 16:09:32 + set -o pipefail 16:09:32 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-functions-sdk-go:main' 16:09:37 16:09:37 Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v2)... 16:09:37 16:09:37 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/899a6017-c938-46f1-adf7-2bd1b283a5ba/history/aad54b59-d2ab-4e92-b760-e0bd19de148f 16:09:37 16:09:37 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 16:09:37 16:09:37 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:09:37 16:09:37 16:09:37 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 16:09:37 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 16:09:38 $ docker stop --time=1 8af188ffaf918d1cd14ac37ec4a8bb0a4281aa9e0446eb6b5f3f2f23bdfa6162 16:09:40 $ docker rm -f 8af188ffaf918d1cd14ac37ec4a8bb0a4281aa9e0446eb6b5f3f2f23bdfa6162 [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 16:09:40 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:09:40 provisioning config files... 16:09:40 copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config3182594921445895768tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:09:41 --> edgex-publish-swagger.sh 16:09:41 === Publish openapi/v2 API === 16:09:41 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 16:09:41 [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v2/app-functions-sdk.yaml] 16:09:41 % Total % Received % Xferd Average Speed Time Time Time Current 16:09:41 Dload Upload Total Spent Left Speed 16:09:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13708 0 0 100 13708 0 13295 0:00:01 0:00:01 --:--:-- 13308 100 13708 0 0 100 13708 0 13295 0:00:01 0:00:01 --:--:-- 13295 16:09:42 16:09:42 [Pipeline] } 16:09: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 16:09:42 + git log --format=format:%s -1 137889e1bd860a3188d5b5d2b918d7a2ae9915c0 [Pipeline] sh 16:09:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:09:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:09:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:09:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:09:43 prd-ubuntu20.04-docker-8c-8g-15331 does not seem to be running inside a container 16:09: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 16:09:43 $ docker top a3633a439bbded086f826bb30ab5f5ed6f336c639dd1dfe6941b0a77f80b197a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:09:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:09:43 [ssh-agent] Looking for ssh-agent implementation... 16:09:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:09:44 $ docker exec a3633a439bbded086f826bb30ab5f5ed6f336c639dd1dfe6941b0a77f80b197a ssh-agent 16:09:44 SSH_AUTH_SOCK=/tmp/ssh-xDnP0CrZLkj3/agent.33 16:09:44 SSH_AGENT_PID=40 16:09:44 Running ssh-add (command line suppressed) 16:09:44 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_3011124252171305221.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_3011124252171305221.key) 16:09:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:09:44 + git semver tag 16:09:44 2022-06-22 16:09:44,836 [run_tag] DEBUG tag force:False 16:09:44 2022-06-22 16:09:44,836 [check_head_tag] DEBUG check head tag 16:09:44 2022-06-22 16:09:44,836 [execute] INFO git cat-file --batch-check 16:09:44 2022-06-22 16:09:44,836 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) 16:09:44 2022-06-22 16:09:44,840 [execute] INFO git cat-file --batch 16:09:44 2022-06-22 16:09:44,840 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) 16:09:44 2022-06-22 16:09:44,850 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 16:09:44 2022-06-22 16:09:44,851 [execute] INFO git tag -a v2.2.1-dev.9 -m v2.2.1-dev.9 16:09:44 2022-06-22 16:09:44,851 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.9', '-m', 'v2.2.1-dev.9'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) 16:09:44 2022-06-22 16:09:44,856 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 16:09:44 2.2.1-dev.9 [Pipeline] } 16:09:44 $ docker exec --env ******** --env ******** a3633a439bbded086f826bb30ab5f5ed6f336c639dd1dfe6941b0a77f80b197a ssh-agent -k 16:09:44 unset SSH_AUTH_SOCK; 16:09:44 unset SSH_AGENT_PID; 16:09:44 echo Agent pid 40 killed; 16:09:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:09:45 + git semver [Pipeline] } 16:09:45 $ docker stop --time=1 a3633a439bbded086f826bb30ab5f5ed6f336c639dd1dfe6941b0a77f80b197a 16:09:46 $ docker rm -f a3633a439bbded086f826bb30ab5f5ed6f336c639dd1dfe6941b0a77f80b197a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:09:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:09:47 16:09:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:09:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:09:47 0.23.1-centos7: Pulling from edgex-lftools 16:09:47 ab5ef0e58194: Pulling fs layer 16:09:47 9712f1f96733: Pulling fs layer 16:09:47 63f879dbbcfc: Pulling fs layer 16:09:47 0d9ebad4ef96: Pulling fs layer 16:09:47 e9a5061849ea: Pulling fs layer 16:09:47 0d9ebad4ef96: Waiting 16:09:47 d747dcd14b5f: Pulling fs layer 16:09:47 2de7ff778b66: Pulling fs layer 16:09:47 e9a5061849ea: Waiting 16:09:47 2de7ff778b66: Waiting 16:09:47 9712f1f96733: Verifying Checksum 16:09:47 9712f1f96733: Download complete 16:09:47 63f879dbbcfc: Verifying Checksum 16:09:47 63f879dbbcfc: Download complete 16:09:48 0d9ebad4ef96: Verifying Checksum 16:09:48 0d9ebad4ef96: Download complete 16:09:48 d747dcd14b5f: Download complete 16:09:48 e9a5061849ea: Verifying Checksum 16:09:48 e9a5061849ea: Download complete 16:09:48 ab5ef0e58194: Download complete 16:09:48 2de7ff778b66: Verifying Checksum 16:09:48 2de7ff778b66: Download complete 16:09:51 ab5ef0e58194: Pull complete 16:09:51 9712f1f96733: Pull complete 16:09:52 63f879dbbcfc: Pull complete 16:09:56 0d9ebad4ef96: Pull complete 16:09:56 e9a5061849ea: Pull complete 16:09:56 d747dcd14b5f: Pull complete 16:09:58 2de7ff778b66: Pull complete 16:09:58 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:09:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:09:58 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:09:58 prd-ubuntu20.04-docker-8c-8g-15331 does not seem to be running inside a container 16:09:58 $ 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 16:10:00 $ docker top a759b5653b547963331ac4c848e8ad7d6ac754d54e19d19c72a665f580edc259 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:10:00 provisioning config files... 16:10:00 copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config2087291008231304712tmp 16:10:00 copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config8491668254858757302tmp 16:10:00 copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config1759617026503303180tmp [Pipeline] { [Pipeline] echo 16:10:00 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:10:00 ---> sigul-configuration.sh 16:10:00 gpg: directory `/root/.gnupg' created 16:10:00 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:10:00 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:10:00 gpg: keyring `/root/.gnupg/secring.gpg' created 16:10:00 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:10:00 gpg: CAST5 encrypted data 16:10:00 gpg: encrypted with 1 passphrase 16:10:00 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:10:01 + mkdir /home/jenkins 16:10:01 + mkdir /home/jenkins/sigul [Pipeline] sh 16:10:01 + 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 16:10:01 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:10:01 ---> sigul-install.sh 16:10:01 Sigul already installed; skipping installation. [Pipeline] sh 16:10:02 + git tag --list 16:10:02 v0.1.0 16:10:02 v0.1.1 16:10:02 v1.0.0 16:10:02 v1.1.0 16:10:02 v1.2.0 16:10:02 v1.3.0 16:10:02 v1.3.1 16:10:02 v2.0.0 16:10:02 v2.0.1 16:10:02 v2.1.0 16:10:02 v2.1.1 16:10:02 v2.1.1-dev.3 16:10:02 v2.1.1-dev.4 16:10:02 v2.2.0 16:10:02 v2.2.1-dev.1 16:10:02 v2.2.1-dev.2 16:10:02 v2.2.1-dev.3 16:10:02 v2.2.1-dev.4 16:10:02 v2.2.1-dev.5 16:10:02 v2.2.1-dev.6 16:10:02 v2.2.1-dev.7 16:10:02 v2.2.1-dev.8 16:10:02 v2.2.1-dev.9 [Pipeline] sh 16:10:02 + lftools sign git-tag v2.2.1-dev.9 16:10:02 Signing Git tag with Sigul... 16:10:02 Signing v2.2.1-dev.9 [Pipeline] echo 16:10:03 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:10:03 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:10:03 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:10:03 $ docker stop --time=1 a759b5653b547963331ac4c848e8ad7d6ac754d54e19d19c72a665f580edc259 16:10:04 $ docker rm -f a759b5653b547963331ac4c848e8ad7d6ac754d54e19d19c72a665f580edc259 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:10:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:10:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:10:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:10:05 prd-ubuntu20.04-docker-8c-8g-15331 does not seem to be running inside a container 16:10:05 $ 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 16:10:06 $ docker top 624f6250464db61bc17d9f45f714414af0bf77200141b180733583fb0a671229 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:10:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:10:06 [ssh-agent] Looking for ssh-agent implementation... 16:10:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:10:06 $ docker exec 624f6250464db61bc17d9f45f714414af0bf77200141b180733583fb0a671229 ssh-agent 16:10:06 SSH_AUTH_SOCK=/tmp/ssh-HkrB7gX0t9fa/agent.34 16:10:06 SSH_AGENT_PID=40 16:10:06 Running ssh-add (command line suppressed) 16:10:06 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4113238945412479884.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4113238945412479884.key) 16:10:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:10:06 + git semver bump pre 16:10:07 2022-06-22 16:10:07,037 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 16:10:07 2022-06-22 16:10:07,037 [bump_version] DEBUG bumping version:2.2.1-dev.9 on axis:pre with prefix:dev 16:10:07 2022-06-22 16:10:07,037 [bump_version] DEBUG bumped version:2.2.1-dev.10 16:10:07 2022-06-22 16:10:07,037 [write_version] DEBUG write version:2.2.1-dev.10 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:True 16:10:07 2022-06-22 16:10:07,037 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 16:10:07 2022-06-22 16:10:07,037 [write_file] DEBUG write to file:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main 16:10:07 2022-06-22 16:10:07,039 [execute] INFO git cat-file --batch-check 16:10:07 2022-06-22 16:10:07,039 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:10:07 2022-06-22 16:10:07,046 [execute] INFO git cat-file --batch 16:10:07 2022-06-22 16:10:07,047 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:10:07 2022-06-22 16:10:07,052 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 16:10:07 2.2.1-dev.10 [Pipeline] } 16:10:07 $ docker exec --env ******** --env ******** 624f6250464db61bc17d9f45f714414af0bf77200141b180733583fb0a671229 ssh-agent -k 16:10:07 unset SSH_AUTH_SOCK; 16:10:07 unset SSH_AGENT_PID; 16:10:07 echo Agent pid 40 killed; 16:10:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:10:07 + git semver [Pipeline] } 16:10:07 $ docker stop --time=1 624f6250464db61bc17d9f45f714414af0bf77200141b180733583fb0a671229 16:10:09 $ docker rm -f 624f6250464db61bc17d9f45f714414af0bf77200141b180733583fb0a671229 [Pipeline] // withDockerContainer [Pipeline] sh 16:10:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:10:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:10:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:10:09 prd-ubuntu20.04-docker-8c-8g-15331 does not seem to be running inside a container 16:10:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:10:10 $ docker top 478be8d3eaae0fde7baddbe1bc2bb292933a945af87ef88537ae5af9a381c31d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:10:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:10:10 [ssh-agent] Looking for ssh-agent implementation... 16:10:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:10:10 $ docker exec 478be8d3eaae0fde7baddbe1bc2bb292933a945af87ef88537ae5af9a381c31d ssh-agent 16:10:10 SSH_AUTH_SOCK=/tmp/ssh-qHYkFp3i88ML/agent.33 16:10:10 SSH_AGENT_PID=39 16:10:10 Running ssh-add (command line suppressed) 16:10:10 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4966296866395693169.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4966296866395693169.key) 16:10:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:10:11 + git semver push 16:10:11 2022-06-22 16:10:11,247 [run_push] DEBUG push 16:10:11 2022-06-22 16:10:11,248 [execute] INFO git cat-file --batch-check 16:10:11 2022-06-22 16:10:11,248 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:10:11 2022-06-22 16:10:11,253 [execute] INFO git rev-list 8e53ed26c69b86c53caf8e37d7ab2d207701e3af -- 16:10:11 2022-06-22 16:10:11,253 [execute] DEBUG Popen(['git', 'rev-list', '8e53ed26c69b86c53caf8e37d7ab2d207701e3af', '--'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:10:11 2022-06-22 16:10:11,268 [execute] INFO git fetch -v origin 16:10:11 2022-06-22 16:10:11,269 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 16:10:11 2022-06-22 16:10:11,747 [run_push] DEBUG no remote changes detected 16:10:11 2022-06-22 16:10:11,748 [execute] INFO git push origin semver 16:10:11 2022-06-22 16:10:11,748 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:10:12 2022-06-22 16:10:12,691 [run_push] DEBUG push all version tags 16:10:12 2022-06-22 16:10:12,692 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:10:12 2022-06-22 16:10:12,692 [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) 16:10:13 2022-06-22 16:10:13,387 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 16:10:13 2.2.1-dev.10 [Pipeline] } 16:10:13 $ docker exec --env ******** --env ******** 478be8d3eaae0fde7baddbe1bc2bb292933a945af87ef88537ae5af9a381c31d ssh-agent -k 16:10:13 unset SSH_AUTH_SOCK; 16:10:13 unset SSH_AGENT_PID; 16:10:13 echo Agent pid 39 killed; 16:10:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:10:14 + git semver [Pipeline] } 16:10:14 $ docker stop --time=1 478be8d3eaae0fde7baddbe1bc2bb292933a945af87ef88537ae5af9a381c31d 16:10:15 $ docker rm -f 478be8d3eaae0fde7baddbe1bc2bb292933a945af87ef88537ae5af9a381c31d [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 16:10:16 + [ -d /w/workspace/oundry_app-functions-sdk-go_main/archives ] 16:10:16 + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives 16:10:16 total 16 16:10:16 drwxr-xr-x 3 root root 4096 Jun 22 16:00 . 16:10:16 drwxrwxr-x 10 jenkins jenkins 4096 Jun 22 16:10 .. 16:10:16 drwxr-xr-x 2 root root 4096 Jun 22 16:00 cost 16:10:16 -rw-r--r-- 1 root root 91 Jun 22 16:00 cost.csv 16:10:16 + sudo chown -R jenkins:jenkins /w/workspace/oundry_app-functions-sdk-go_main/archives 16:10:16 + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives 16:10:16 total 16 16:10:16 drwxr-xr-x 3 jenkins jenkins 4096 Jun 22 16:00 . 16:10:16 drwxrwxr-x 10 jenkins jenkins 4096 Jun 22 16:10 .. 16:10:16 drwxr-xr-x 2 jenkins jenkins 4096 Jun 22 16:00 cost 16:10:16 -rw-r--r-- 1 jenkins jenkins 91 Jun 22 16:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:10:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:10:17 ---> package-listing.sh 16:10:17 ++ facter osfamily 16:10:17 ++ tr '[:upper:]' '[:lower:]' 16:10:17 + OS_FAMILY=debian 16:10:17 + workspace=/w/workspace/oundry_app-functions-sdk-go_main 16:10:17 + START_PACKAGES=/tmp/packages_start.txt 16:10:17 + END_PACKAGES=/tmp/packages_end.txt 16:10:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:10:17 + PACKAGES=/tmp/packages_start.txt 16:10:17 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 16:10:17 + PACKAGES=/tmp/packages_end.txt 16:10:17 + case "${OS_FAMILY}" in 16:10:17 + dpkg -l 16:10:17 + grep '^ii' 16:10:17 + '[' -f /tmp/packages_start.txt ']' 16:10:17 + '[' -f /tmp/packages_end.txt ']' 16:10:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:10:17 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 16:10:17 + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ 16:10:17 + 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 16:10:17 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 16:10:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:10:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:10:18 prd-ubuntu20.04-docker-8c-8g-15331 does not seem to be running inside a container 16:10:18 $ 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 16:10:19 $ docker top 046cc15db7d12d7016505b3499e3092df2764e810dec07059c89092ad108614e -eo pid,comm [Pipeline] { [Pipeline] sh 16:10:19 + touch /tmp/pre-build-complete [Pipeline] sh 16:10:19 + mkdir -p /var/log/sysstat [Pipeline] sh 16:10:19 + ls /var/log/sa-host 16:10:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:10:20 provisioning config files... 16:10:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config6194737834075639208tmp [Pipeline] { [Pipeline] echo 16:10:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:10:20 ---> create-netrc.sh [Pipeline] } 16:10:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:10:20 ---> python-tools-install.sh [Pipeline] echo 16:10:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:10:21 ---> sudo-logs.sh 16:10:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:10:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:10:21 ---> job-cost.sh 16:10:21 lf-activate-venv: SKIPPING 16:10:21 DEBUG: total: 0.2199999988079071 16:10:21 INFO: Retrieving Stack Cost... 16:10:21 INFO: Retrieving Pricing Info for: v3-standard-8 16:10:22 INFO: Archiving Costs [Pipeline] echo 16:10:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:10:22 ---> logs-deploy.sh 16:10:22 lf-activate-venv: SKIPPING 16:10:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/128 16:10:22 INFO: archiving workspace using pattern(s): 16:10:23 Archives upload complete. 16:10:23 INFO: archiving logs to Nexus