Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e3bd014886fd2ca1a785ec59b7e798ec810a4368 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-ssh12782191495543825939.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 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-ssh12424169460034144520.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 eff4ace5e529e22b05c56fc30efd0d4b1d113677 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-ssh6107538370927745493.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-ssh10817038553667754779.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f eff4ace5e529e22b05c56fc30efd0d4b1d113677 # timeout=10 Commit message: "Merge pull request #397 from edgexfoundry/us4712" > 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-ssh15571611975293378663.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-ssh10616817339059032520.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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-1652 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 e3bd014886fd2ca1a785ec59b7e798ec810a4368 (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 e3bd014886fd2ca1a785ec59b7e798ec810a4368 # timeout=10 Commit message: "build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2 (#1122)" > git rev-list --no-walk 525ceab1b42afe20d62f629ec9d06f36c8bf404c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:41:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:41:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:41:24 ========================================================= 15:41:24 EdgeX Global Pipelines Version Info 15:41:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:41:24 ------------------- 15:41:24 stable info: 15:41:24 ------------------- 15:41:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:41:24 Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 15:41:24 Message: update stable to v1.0.232 15:41:25 ------------------- 15:41:25 experimental info: 15:41:25 ------------------- 15:41:25 Commited By: **** collab-it+edgex@linuxfoundation.org 15:41:25 Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 15:41:25 Message: update experimental to v1.0.232 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:41:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 15:41:25 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 15:41:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:41:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:41:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:41:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:41:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:41:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:41:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:41:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:41:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:41:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 15:41:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:41:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:41:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 15:41:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:41:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:41:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:41:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:41:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:41:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:41:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 15:41:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:41:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:41:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 15:41:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:41:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:41:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:41:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:41:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:41:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e3bd014886fd2ca1a785ec59b7e798ec810a4368 [Pipeline] echo 15:41:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e3bd014 [Pipeline] echo 15:41:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:41:26 + git rev-list -1 --merges e3bd014886fd2ca1a785ec59b7e798ec810a4368~1..e3bd014886fd2ca1a785ec59b7e798ec810a4368 [Pipeline] echo 15:41:26 -----------> git rev-list -1 --merges e3bd014886fd2ca1a785ec59b7e798ec810a4368~1..e3bd014886fd2ca1a785ec59b7e798ec810a4368 e3bd014886fd2ca1a785ec59b7e798ec810a4368 [false] [Pipeline] sh 15:41:26 + git log --format=format:%s -1 e3bd014886fd2ca1a785ec59b7e798ec810a4368 [Pipeline] echo 15:41:26 ========================================================= 15:41:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:41:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:41:27 + git log --format=format:%s -1 e3bd014886fd2ca1a785ec59b7e798ec810a4368 [Pipeline] echo 15:41:27 [semverPrep] GIT_COMMIT: e3bd014886fd2ca1a785ec59b7e798ec810a4368, Commit Message: build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2 (#1122) [Pipeline] echo 15:41:27 [semverPrep] This is not a build commit. [Pipeline] sh 15:41:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:41:27 + grep -v github /etc/ssh/ssh_known_hosts 15:41:27 + [ -e /tmp/ssh_known_hosts ] 15:41:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:41:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:41:27 + sudo tee -a /etc/ssh/ssh_known_hosts 15:41:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:41:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:41:28 15:41:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:41:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:41:28 0.1.4: Pulling from edgex-devops/py-git-semver 15:41:28 42c077c10790: Pulling fs layer 15:41:28 f63e77b7563a: Pulling fs layer 15:41:28 bd5fdadae976: Pulling fs layer 15:41:28 205491f53016: Pulling fs layer 15:41:28 df18705c85c3: Pulling fs layer 15:41:28 bdb3f477010e: Pulling fs layer 15:41:28 c8a8fc8e1c8f: Pulling fs layer 15:41:28 2c6e9b1d212d: Pulling fs layer 15:41:28 bdb8f0575790: Pulling fs layer 15:41:28 386e3cb2ff24: Pulling fs layer 15:41:28 2343380bae48: Pulling fs layer 15:41:28 c8a8fc8e1c8f: Waiting 15:41:28 bdb8f0575790: Waiting 15:41:28 2c6e9b1d212d: Waiting 15:41:28 205491f53016: Waiting 15:41:28 386e3cb2ff24: Waiting 15:41:28 2343380bae48: Waiting 15:41:28 bdb3f477010e: Waiting 15:41:28 f63e77b7563a: Download complete 15:41:28 205491f53016: Verifying Checksum 15:41:28 205491f53016: Download complete 15:41:28 df18705c85c3: Verifying Checksum 15:41:28 df18705c85c3: Download complete 15:41:28 bd5fdadae976: Verifying Checksum 15:41:28 bd5fdadae976: Download complete 15:41:28 bdb3f477010e: Download complete 15:41:28 2c6e9b1d212d: Verifying Checksum 15:41:28 2c6e9b1d212d: Download complete 15:41:28 bdb8f0575790: Verifying Checksum 15:41:28 bdb8f0575790: Download complete 15:41:28 386e3cb2ff24: Verifying Checksum 15:41:28 386e3cb2ff24: Download complete 15:41:28 2343380bae48: Verifying Checksum 15:41:28 2343380bae48: Download complete 15:41:28 42c077c10790: Verifying Checksum 15:41:28 42c077c10790: Download complete 15:41:29 c8a8fc8e1c8f: Verifying Checksum 15:41:29 c8a8fc8e1c8f: Download complete 15:41:30 42c077c10790: Pull complete 15:41:30 f63e77b7563a: Pull complete 15:41:30 bd5fdadae976: Pull complete 15:41:30 205491f53016: Pull complete 15:41:31 df18705c85c3: Pull complete 15:41:31 bdb3f477010e: Pull complete 15:41:33 c8a8fc8e1c8f: Pull complete 15:41:33 2c6e9b1d212d: Pull complete 15:41:33 bdb8f0575790: Pull complete 15:41:33 386e3cb2ff24: Pull complete 15:41:33 2343380bae48: Pull complete 15:41:33 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 15:41:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:41:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:41:33 prd-ubuntu20.04-docker-8c-8g-1652 does not seem to be running inside a container 15:41:33 $ 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:41:34 $ docker top 102f210d20b983e5b96a91fd7190942e58abcd8f1f43a8416086afb10528a6ef -eo pid,comm 15:41:35 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:41:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:41:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:41:35 [ssh-agent] Looking for ssh-agent implementation... 15:41:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:41:35 $ docker exec 102f210d20b983e5b96a91fd7190942e58abcd8f1f43a8416086afb10528a6ef ssh-agent 15:41:35 SSH_AUTH_SOCK=/tmp/ssh-lEeZsE1tp2Ng/agent.33 15:41:35 SSH_AGENT_PID=39 15:41:35 Running ssh-add (command line suppressed) 15:41:35 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4745045897460992295.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4745045897460992295.key) 15:41:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:41:35 + git tag --points-at HEAD [Pipeline] } 15:41:35 $ docker exec --env ******** --env ******** 102f210d20b983e5b96a91fd7190942e58abcd8f1f43a8416086afb10528a6ef ssh-agent -k 15:41:35 unset SSH_AUTH_SOCK; 15:41:35 unset SSH_AGENT_PID; 15:41:35 echo Agent pid 39 killed; 15:41:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:41:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:41:35 [ssh-agent] Looking for ssh-agent implementation... 15:41:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:41:36 $ docker exec 102f210d20b983e5b96a91fd7190942e58abcd8f1f43a8416086afb10528a6ef ssh-agent 15:41:36 SSH_AUTH_SOCK=/tmp/ssh-kyZxWl5UoeaR/agent.71 15:41:36 SSH_AGENT_PID=77 15:41:36 Running ssh-add (command line suppressed) 15:41:36 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_2735706659981427350.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_2735706659981427350.key) 15:41:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:41:36 + git semver init 15:41:36 2022-06-07 15:41:36,783 [run_init] DEBUG init version:0.0.0 force:False 15:41:36 2022-06-07 15:41:36,784 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_app-functions-sdk-go_main/.semver 15:41:36 2022-06-07 15:41:36,785 [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:41:36 2022-06-07 15:41:36,785 [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:41:38 2022-06-07 15:41:38,137 [append_file] DEBUG append to file:/w/workspace/oundry_app-functions-sdk-go_main/.git/info/exclude 15:41:38 2022-06-07 15:41:38,138 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:False 15:41:38 2022-06-07 15:41:38,138 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 15:41:38 2022-06-07 15:41:38,138 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 15:41:38 2.2.1-dev.3 [Pipeline] } 15:41:38 $ docker exec --env ******** --env ******** 102f210d20b983e5b96a91fd7190942e58abcd8f1f43a8416086afb10528a6ef ssh-agent -k 15:41:38 unset SSH_AUTH_SOCK; 15:41:38 unset SSH_AGENT_PID; 15:41:38 echo Agent pid 77 killed; 15:41:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:41:38 + git semver [Pipeline] } 15:41:38 $ docker stop --time=1 102f210d20b983e5b96a91fd7190942e58abcd8f1f43a8416086afb10528a6ef 15:41:40 $ docker rm -f 102f210d20b983e5b96a91fd7190942e58abcd8f1f43a8416086afb10528a6ef [Pipeline] // withDockerContainer [Pipeline] sh 15:41:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:41:40 Stashed 1 file(s) [Pipeline] echo 15:41:40 [edgeXSemver]: initialized semver on version 2.2.1-dev.3 [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:41:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:41:41 ========================================================= 15:41:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 15:41:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 15:41:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:41:41 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 15:41:41 59bf1c3509f3: Pulling fs layer 15:41:41 666ba61612fd: Pulling fs layer 15:41:41 8ed8ca486205: Pulling fs layer 15:41:41 cc1cd167ecdc: Pulling fs layer 15:41:41 c516ae0d96e1: Pulling fs layer 15:41:41 684cea983483: Pulling fs layer 15:41:41 cc1cd167ecdc: Waiting 15:41:41 c516ae0d96e1: Waiting 15:41:41 dd3240ac7de5: Pulling fs layer 15:41:41 b1e948a4e11c: Pulling fs layer 15:41:41 684cea983483: Waiting 15:41:41 dd3240ac7de5: Waiting 15:41:41 a8fd76ee1af6: Pulling fs layer 15:41:41 646ad004c059: Pulling fs layer 15:41:41 b1e948a4e11c: Waiting 15:41:41 a8fd76ee1af6: Waiting 15:41:41 646ad004c059: Waiting 15:41:41 8ed8ca486205: Verifying Checksum 15:41:41 8ed8ca486205: Download complete 15:41:41 666ba61612fd: Download complete 15:41:41 c516ae0d96e1: Verifying Checksum 15:41:41 c516ae0d96e1: Download complete 15:41:41 684cea983483: Verifying Checksum 15:41:41 684cea983483: Download complete 15:41:41 dd3240ac7de5: Verifying Checksum 15:41:41 dd3240ac7de5: Download complete 15:41:41 59bf1c3509f3: Verifying Checksum 15:41:41 59bf1c3509f3: Download complete 15:41:41 b1e948a4e11c: Verifying Checksum 15:41:41 b1e948a4e11c: Download complete 15:41:41 59bf1c3509f3: Pull complete 15:41:41 666ba61612fd: Pull complete 15:41:41 8ed8ca486205: Pull complete 15:41:41 646ad004c059: Verifying Checksum 15:41:41 646ad004c059: Download complete 15:41:41 a8fd76ee1af6: Verifying Checksum 15:41:41 a8fd76ee1af6: Download complete 15:41:42 cc1cd167ecdc: Download complete 15:41:46 cc1cd167ecdc: Pull complete 15:41:46 c516ae0d96e1: Pull complete 15:41:46 684cea983483: Pull complete 15:41:46 dd3240ac7de5: Pull complete 15:41:46 b1e948a4e11c: Pull complete 15:41:48 a8fd76ee1af6: Pull complete 15:41:48 646ad004c059: Pull complete 15:41:48 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 15:41:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:41:48 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 15:41:49 + 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:41:49 + docker inspect -f . ci-base-image-x86_64 15:41:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:41:49 prd-ubuntu20.04-docker-8c-8g-1652 does not seem to be running inside a container 15:41:49 $ 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:41:51 $ docker top 188fd1851366118f6d25fae554587c4ea926ea60bbe8f9fd0b6694116cece7b2 -eo pid,comm [Pipeline] { [Pipeline] sh 15:41:52 + go version 15:41:52 go version go1.17.7 linux/amd64 [Pipeline] } 15:41:52 $ docker stop --time=1 188fd1851366118f6d25fae554587c4ea926ea60bbe8f9fd0b6694116cece7b2 15:41:53 $ docker rm -f 188fd1851366118f6d25fae554587c4ea926ea60bbe8f9fd0b6694116cece7b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:41:53 + docker inspect -f . ci-base-image-x86_64 15:41:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:41:53 prd-ubuntu20.04-docker-8c-8g-1652 does not seem to be running inside a container 15:41:53 $ 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:41:54 $ docker top 5555f52c0d966f05b0397417dfe9da0fafa7a117088069300ca59763a27718da -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:41:54 + make test 15:41:54 make -C ./app-service-template build 15:41:54 make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 15:41:54 go mod tidy -compat=1.17 15:41:54 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 15:41:54 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 15:41:54 go: downloading github.com/google/uuid v1.3.0 15:41:54 go: downloading github.com/stretchr/testify v1.7.1 15:41:54 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 15:41:54 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 15:41:54 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 15:41:54 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.2 15:41:54 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 15:41:54 go: downloading github.com/gorilla/mux v1.8.0 15:41:54 go: downloading github.com/hashicorp/go-multierror v1.1.1 15:41:54 go: downloading github.com/davecgh/go-spew v1.1.1 15:41:54 go: downloading github.com/pmezard/go-difflib v1.0.0 15:41:54 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 15:41:54 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 15:41:54 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 15:41:54 go: downloading github.com/go-kit/log v0.2.0 15:41:54 go: downloading github.com/go-playground/validator/v10 v10.10.1 15:41:55 go: downloading github.com/stretchr/objx v0.1.1 15:41:55 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 15:41:55 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 15:41:55 go: downloading github.com/pelletier/go-toml v1.9.4 15:41:55 go: downloading github.com/hashicorp/errwrap v1.0.0 15:41:55 go: downloading github.com/gorilla/websocket v1.4.2 15:41:55 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 15:41:55 go: downloading github.com/mitchellh/copystructure v1.0.0 15:41:55 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 15:41:55 go: downloading github.com/go-logfmt/logfmt v0.5.1 15:41:55 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 15:41:55 go: downloading github.com/pebbe/zmq4 v1.2.7 15:41:55 go: downloading github.com/go-redis/redis/v7 v7.3.0 15:41:55 go: downloading github.com/hashicorp/consul/api v1.9.1 15:41:55 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:41:55 go: downloading github.com/mitchellh/reflectwalk v1.0.0 15:41:55 go: downloading github.com/go-playground/universal-translator v0.18.0 15:41:55 go: downloading github.com/leodido/go-urn v1.2.1 15:41:55 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 15:41:55 go: downloading golang.org/x/text v0.3.7 15:41:55 go: downloading github.com/go-playground/locales v0.14.0 15:41:55 go: downloading github.com/x448/float16 v0.8.4 15:41:55 go: downloading github.com/zeebo/errs v1.2.2 15:41:55 go: downloading google.golang.org/grpc v1.42.0 15:41:56 Still waiting to schedule task 15:41:56 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:41:56 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 15:41:56 go: downloading github.com/go-playground/assert/v2 v2.0.1 15:41:56 go: downloading github.com/onsi/ginkgo v1.10.1 15:41:56 go: downloading github.com/onsi/gomega v1.7.0 15:41:56 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 15:41:56 go: downloading github.com/mitchellh/mapstructure v1.1.2 15:41:56 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 15:41:56 go: downloading github.com/hashicorp/go-hclog v0.12.0 15:41:56 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 15:41:56 go: downloading github.com/hashicorp/serf v0.9.5 15:41:56 go: downloading github.com/hashicorp/consul/sdk v0.8.0 15:41:56 go: downloading github.com/hashicorp/go-uuid v1.0.1 15:41:56 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 15:41:56 go: downloading google.golang.org/protobuf v1.27.1 15:41:56 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 15:41:56 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 15:41:56 go: downloading github.com/golang/protobuf v1.5.2 15:41:56 go: downloading github.com/google/go-cmp v0.5.6 15:41:56 go: downloading github.com/kr/pretty v0.3.0 15:41:56 go: downloading github.com/mitchellh/go-homedir v1.1.0 15:41:56 go: downloading github.com/fatih/color v1.9.0 15:41:56 go: downloading github.com/mattn/go-colorable v0.1.6 15:41:56 go: downloading github.com/mattn/go-isatty v0.0.12 15:41:56 go: downloading github.com/pkg/errors v0.9.1 15:41:56 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:41:56 go: downloading github.com/hashicorp/go-msgpack v0.5.3 15:41:56 go: downloading github.com/hashicorp/memberlist v0.2.2 15:41:56 go: downloading github.com/kr/text v0.2.0 15:41:56 go: downloading github.com/rogpeppe/go-internal v1.8.0 15:41:56 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 15:41:56 go: downloading gopkg.in/yaml.v2 v2.2.8 15:41:56 go: downloading github.com/hpcloud/tail v1.0.0 15:41:56 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 15:41:56 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 15:41:56 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 15:41:56 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 15:41:56 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 15:41:56 go: downloading github.com/miekg/dns v1.1.26 15:41:56 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 15:41:56 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 15:41:56 go: downloading github.com/hashicorp/golang-lru v0.5.0 15:41:56 go: downloading gopkg.in/fsnotify.v1 v1.4.7 15:41:58 go: downloading github.com/stretchr/testify v1.7.2 15:41:58 go: downloading gopkg.in/yaml.v3 v3.0.1 15:41:58 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:42:16 make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 15:42:16 make -C ./app-service-template test 15:42:16 make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 15:42:16 CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... 15:42:31 ok new-app-service 0.059s coverage: 48.1% of statements 15:42:31 ? new-app-service/config [no test files] 15:42:31 ok new-app-service/functions 0.048s 15:42:31 CGO_ENABLED=1 go vet ./... 15:42:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:42:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:42:41 ./bin/test-attribution-txt.sh 15:42:41 make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 15:42:41 CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 15:42:41 go: downloading github.com/gomodule/redigo v1.8.8 15:42:42 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 15:42:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.127s coverage: 63.7% of statements 15:42:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.064s coverage: 93.8% of statements 15:42:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 15:42:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.099s coverage: 76.5% of statements 15:42:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 15:42:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.078s coverage: 88.7% of statements 15:42:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.062s coverage: 100.0% of statements 15:42:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.308s coverage: 78.5% of statements 15:42:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 15:42:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 15:42:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.080s coverage: 97.3% of statements 15:42:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 15:42:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] 15:42:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.077s coverage: 91.8% of statements 15:42:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] 15:42:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.714s coverage: 81.4% of statements 15:42:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] 15:42:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] 15:42:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.096s coverage: 28.7% of statements 15:42:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] 15:42:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.082s coverage: 14.0% of statements 15:42:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.065s coverage: 27.3% of statements 15:42:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 15:42:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 15:42:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.058s coverage: 51.4% of statements 15:43:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.132s coverage: 78.6% of statements 15:43:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.053s coverage: 94.4% of statements 15:43:11 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:43:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:43:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 15:43:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:43:20 $ docker stop --time=1 5555f52c0d966f05b0397417dfe9da0fafa7a117088069300ca59763a27718da 15:43:21 $ docker rm -f 5555f52c0d966f05b0397417dfe9da0fafa7a117088069300ca59763a27718da [Pipeline] // withDockerContainer [Pipeline] sh 15:43:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:43:22 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:43:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:43:23 15:43:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:43:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:43:23 latest: Pulling from edgex-lftools-log-publisher 15:43:23 5eb5b503b376: Pulling fs layer 15:43:23 5c69ac0246d0: Pulling fs layer 15:43:23 ec43610c2a17: Pulling fs layer 15:43:23 3a2ae6a8a46f: Pulling fs layer 15:43:23 33b1e0a273af: Pulling fs layer 15:43:23 5d3b04190fa2: Pulling fs layer 15:43:23 2f39f015ded8: Pulling fs layer 15:43:23 3a2ae6a8a46f: Waiting 15:43:23 33b1e0a273af: Waiting 15:43:23 5d3b04190fa2: Waiting 15:43:23 2f39f015ded8: Waiting 15:43:23 5c69ac0246d0: Download complete 15:43:23 3a2ae6a8a46f: Verifying Checksum 15:43:23 3a2ae6a8a46f: Download complete 15:43:23 33b1e0a273af: Verifying Checksum 15:43:23 33b1e0a273af: Download complete 15:43:23 5d3b04190fa2: Verifying Checksum 15:43:23 5d3b04190fa2: Download complete 15:43:23 ec43610c2a17: Verifying Checksum 15:43:23 ec43610c2a17: Download complete 15:43:23 5eb5b503b376: Verifying Checksum 15:43:23 5eb5b503b376: Download complete 15:43:24 2f39f015ded8: Download complete 15:43:24 5eb5b503b376: Pull complete 15:43:25 5c69ac0246d0: Pull complete 15:43:25 ec43610c2a17: Pull complete 15:43:25 3a2ae6a8a46f: Pull complete 15:43:25 33b1e0a273af: Pull complete 15:43:25 5d3b04190fa2: Pull complete 15:43:29 2f39f015ded8: Pull complete 15:43:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:43:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:43:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:43:29 prd-ubuntu20.04-docker-8c-8g-1652 does not seem to be running inside a container 15:43:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:43:31 $ docker top 8ff29bc9ec9b185e7989d054ddc9ac9501b4d0c5c2fab0959740990ef15bbdd4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:43:32 ---> job-cost.sh 15:43:32 lf-activate-venv: SKIPPING 15:43:32 INFO: No Stack... 15:43:32 INFO: Retrieving Pricing Info for: v3-standard-8 15:43:33 INFO: Archiving Costs [Pipeline] sh 15:43:33 + cat /w/workspace/oundry_app-functions-sdk-go_main/archives/cost.csv 15:43:33 + cut -d, -f6 [Pipeline] lock 15:43:33 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-122-stack-cost] 15:43:33 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-122-stack-cost] did not exist. Created. 15:43:33 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-122-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:43:33 + echo total: 0.2199999988079071 [Pipeline] stash 15:43:33 Stashed 1 file(s) [Pipeline] } 15:43:33 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-122-stack-cost] [Pipeline] // lock [Pipeline] } 15:43:33 $ docker stop --time=1 8ff29bc9ec9b185e7989d054ddc9ac9501b4d0c5c2fab0959740990ef15bbdd4 15:43:34 $ docker rm -f 8ff29bc9ec9b185e7989d054ddc9ac9501b4d0c5c2fab0959740990ef15bbdd4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:43:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1653 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws 15:43:37 Running in /w/workspace/app-functions-sdk-go/122 [Pipeline] { [Pipeline] checkout 15:43:37 The recommended git tool is: git 15:43:45 using credential edgex-jenkins-ssh 15:43:45 Cloning the remote Git repository 15:43:45 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 15:43:45 > git init /w/workspace/app-functions-sdk-go/122 # timeout=10 15:43:45 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 15:43:45 > git --version # timeout=10 15:43:45 > git --version # 'git version 2.25.1' 15:43:45 using GIT_SSH to set credentials SSH Credentials for GitHub 15:43:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:43:49 Avoid second fetch 15:43:49 Checking out Revision e3bd014886fd2ca1a785ec59b7e798ec810a4368 (main) 15:43:49 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 15:43:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:43:49 > git config core.sparsecheckout # timeout=10 15:43:49 > git checkout -f e3bd014886fd2ca1a785ec59b7e798ec810a4368 # timeout=10 15:43:53 Commit message: "build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2 (#1122)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:43:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:43:54 % Total % Received % Xferd Average Speed Time Time Time Current 15:43:54 Dload Upload Total Spent Left Speed 15:43:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 98814 0 --:--:-- --:--:-- --:--:-- 98814 [Pipeline] sh 15:43:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:43:55 + sudo tee /etc/docker/daemon.new 15:43:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:43:55 { 15:43:55 "registry-mirrors": [ 15:43:55 "https://nexus3.edgexfoundry.org:10001" 15:43:55 ], 15:43:55 "bip": "10.250.0.254/24", 15:43:55 "hosts": [ 15:43:55 "tcp://0.0.0.0:5555", 15:43:55 "unix:///var/run/docker.sock" 15:43:55 ], 15:43:55 "mtu": 1458, 15:43:55 "selinux-enabled": true, 15:43:55 "seccomp-profile": "/etc/docker/seccomp.json" 15:43:55 } [Pipeline] sh 15:43:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:43:56 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 15:44:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:44:14 ========================================================= 15:44:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 15:44:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 15:44:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 15:44:15 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:44:15 9b3977197b4f: Pulling fs layer 15:44:15 1a89e8eeedd5: Pulling fs layer 15:44:15 94645a83ff95: Pulling fs layer 15:44:15 e6fb740bc735: Pulling fs layer 15:44:15 3a77bd46dcc9: Pulling fs layer 15:44:15 355e64cbe906: Pulling fs layer 15:44:15 63ab81a10011: Pulling fs layer 15:44:15 555d1d1c4555: Pulling fs layer 15:44:15 7d9057610161: Pulling fs layer 15:44:15 e6fb740bc735: Waiting 15:44:15 3a77bd46dcc9: Waiting 15:44:15 555d1d1c4555: Waiting 15:44:15 7d9057610161: Waiting 15:44:15 63ab81a10011: Waiting 15:44:15 355e64cbe906: Waiting 15:44:15 94645a83ff95: Download complete 15:44:15 1a89e8eeedd5: Verifying Checksum 15:44:15 1a89e8eeedd5: Download complete 15:44:15 3a77bd46dcc9: Verifying Checksum 15:44:15 3a77bd46dcc9: Download complete 15:44:15 355e64cbe906: Verifying Checksum 15:44:15 355e64cbe906: Download complete 15:44:15 9b3977197b4f: Download complete 15:44:15 63ab81a10011: Verifying Checksum 15:44:15 63ab81a10011: Download complete 15:44:16 9b3977197b4f: Pull complete 15:44:16 7d9057610161: Verifying Checksum 15:44:16 7d9057610161: Download complete 15:44:17 1a89e8eeedd5: Pull complete 15:44:17 94645a83ff95: Pull complete 15:44:18 555d1d1c4555: Verifying Checksum 15:44:18 555d1d1c4555: Download complete 15:44:18 e6fb740bc735: Verifying Checksum 15:44:18 e6fb740bc735: Download complete 15:44:31 e6fb740bc735: Pull complete 15:44:31 3a77bd46dcc9: Pull complete 15:44:31 355e64cbe906: Pull complete 15:44:31 63ab81a10011: Pull complete 15:44:37 555d1d1c4555: Pull complete 15:44:39 7d9057610161: Pull complete 15:44:39 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 15:44:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 15:44:39 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh 15:44:40 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:40 + docker inspect -f . ci-base-image-arm64 15:44:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:44:40 prd-ubuntu20.04-docker-arm64-4c-16g-1653 does not seem to be running inside a container 15:44:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/122 -v /w/workspace/app-functions-sdk-go/122:/w/workspace/app-functions-sdk-go/122:rw,z -v /w/workspace/app-functions-sdk-go/122@tmp:/w/workspace/app-functions-sdk-go/122@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:44:43 $ docker top 359c6ffd2eaa094fb5a1bf289b314654f2435ecca330ca9f534ffb8c075961b3 -eo pid,comm [Pipeline] { [Pipeline] sh 15:44:44 + go version 15:44:44 go version go1.17.7 linux/arm64 [Pipeline] } 15:44:44 $ docker stop --time=1 359c6ffd2eaa094fb5a1bf289b314654f2435ecca330ca9f534ffb8c075961b3 15:44:46 $ docker rm -f 359c6ffd2eaa094fb5a1bf289b314654f2435ecca330ca9f534ffb8c075961b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:46 + docker inspect -f . ci-base-image-arm64 15:44:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:44:47 prd-ubuntu20.04-docker-arm64-4c-16g-1653 does not seem to be running inside a container 15:44:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/122 -v /w/workspace/app-functions-sdk-go/122:/w/workspace/app-functions-sdk-go/122:rw,z -v /w/workspace/app-functions-sdk-go/122@tmp:/w/workspace/app-functions-sdk-go/122@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:44:48 $ docker top 2ecd9fd00d643c895d5662c54972f1b6596d55fe3b0908f7408a04b275996a2f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:44:49 + make test 15:44:49 make -C ./app-service-template build 15:44:49 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/122/app-service-template' 15:44:49 go mod tidy -compat=1.17 15:44:49 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 15:44:49 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 15:44:49 go: downloading github.com/google/uuid v1.3.0 15:44:49 go: downloading github.com/stretchr/testify v1.7.1 15:44:50 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 15:44:50 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 15:44:50 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 15:44:50 go: downloading github.com/davecgh/go-spew v1.1.1 15:44:50 go: downloading github.com/pmezard/go-difflib v1.0.0 15:44:50 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 15:44:50 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.2 15:44:50 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 15:44:50 go: downloading github.com/go-kit/log v0.2.0 15:44:50 go: downloading github.com/stretchr/objx v0.1.1 15:44:50 go: downloading github.com/go-playground/validator/v10 v10.10.1 15:44:50 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 15:44:50 go: downloading github.com/gorilla/mux v1.8.0 15:44:50 go: downloading github.com/hashicorp/go-multierror v1.1.1 15:44:50 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 15:44:50 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 15:44:50 go: downloading github.com/mitchellh/copystructure v1.0.0 15:44:50 go: downloading github.com/go-logfmt/logfmt v0.5.1 15:44:50 go: downloading github.com/pelletier/go-toml v1.9.4 15:44:50 go: downloading github.com/gorilla/websocket v1.4.2 15:44:50 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 15:44:50 go: downloading github.com/hashicorp/consul/api v1.9.1 15:44:50 go: downloading github.com/go-playground/universal-translator v0.18.0 15:44:50 go: downloading github.com/leodido/go-urn v1.2.1 15:44:50 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 15:44:51 go: downloading golang.org/x/text v0.3.7 15:44:51 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 15:44:51 go: downloading github.com/go-playground/assert/v2 v2.0.1 15:44:51 go: downloading github.com/go-playground/locales v0.14.0 15:44:54 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 15:44:54 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 15:44:54 go: downloading github.com/hashicorp/errwrap v1.0.0 15:44:54 go: downloading github.com/mitchellh/reflectwalk v1.0.0 15:44:54 go: downloading github.com/x448/float16 v0.8.4 15:44:54 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 15:44:54 go: downloading github.com/hashicorp/go-hclog v0.12.0 15:44:54 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 15:44:54 go: downloading github.com/hashicorp/serf v0.9.5 15:44:54 go: downloading github.com/mitchellh/mapstructure v1.1.2 15:44:54 go: downloading github.com/hashicorp/consul/sdk v0.8.0 15:44:54 go: downloading github.com/hashicorp/go-uuid v1.0.1 15:44:54 go: downloading github.com/kr/pretty v0.3.0 15:44:54 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 15:44:54 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 15:44:54 go: downloading github.com/go-redis/redis/v7 v7.3.0 15:44:54 go: downloading github.com/pebbe/zmq4 v1.2.7 15:44:54 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:44:54 go: downloading github.com/zeebo/errs v1.2.2 15:44:54 go: downloading google.golang.org/grpc v1.42.0 15:44:55 go: downloading github.com/mitchellh/go-homedir v1.1.0 15:44:55 go: downloading github.com/fatih/color v1.9.0 15:44:55 go: downloading github.com/mattn/go-colorable v0.1.6 15:44:55 go: downloading github.com/mattn/go-isatty v0.0.12 15:44:55 go: downloading github.com/pkg/errors v0.9.1 15:44:55 go: downloading github.com/kr/text v0.2.0 15:44:55 go: downloading github.com/rogpeppe/go-internal v1.8.0 15:44:55 go: downloading github.com/onsi/ginkgo v1.10.1 15:44:55 go: downloading github.com/onsi/gomega v1.7.0 15:44:55 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:44:56 go: downloading github.com/hashicorp/go-msgpack v0.5.3 15:44:56 go: downloading github.com/hashicorp/memberlist v0.2.2 15:44:56 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 15:44:56 go: downloading google.golang.org/protobuf v1.27.1 15:44:56 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 15:44:56 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 15:44:57 go: downloading github.com/golang/protobuf v1.5.2 15:44:57 go: downloading github.com/google/go-cmp v0.5.6 15:44:57 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 15:44:57 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 15:44:57 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 15:44:57 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 15:44:57 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 15:44:57 go: downloading github.com/miekg/dns v1.1.26 15:44:57 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 15:44:58 go: downloading github.com/hashicorp/golang-lru v0.5.0 15:44:58 go: downloading gopkg.in/yaml.v2 v2.2.8 15:44:58 go: downloading github.com/hpcloud/tail v1.0.0 15:44:58 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 15:44:58 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 15:44:58 go: downloading gopkg.in/fsnotify.v1 v1.4.7 15:45:02 go: downloading github.com/stretchr/testify v1.7.2 15:45:02 go: downloading gopkg.in/yaml.v3 v3.0.1 15:45:02 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:46:54 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/122/app-service-template' 15:46:54 make -C ./app-service-template test 15:46:54 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/122/app-service-template' 15:46:54 CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... 15:49:01 ok new-app-service 0.247s coverage: 48.1% of statements 15:49:01 ? new-app-service/config [no test files] 15:49:01 ok new-app-service/functions 0.197s 15:49:01 CGO_ENABLED=1 go vet ./... 15:50:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:50:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:50:23 ./bin/test-attribution-txt.sh 15:50:23 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/122/app-service-template' 15:50:23 CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 15:50:23 go: downloading github.com/gomodule/redigo v1.8.8 15:50:23 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 15:50:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.523s coverage: 63.7% of statements 15:50:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.376s coverage: 93.8% of statements 15:50:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 15:50:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.404s coverage: 76.5% of statements 15:50:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 15:50:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.399s coverage: 88.7% of statements 15:50:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.147s coverage: 100.0% of statements 15:50:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.594s coverage: 78.5% of statements 15:50:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 15:50:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 15:50:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.422s coverage: 97.3% of statements 15:50:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 15:50:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] 15:50:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.289s coverage: 91.8% of statements 15:50:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] 15:50:54 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 1.073s coverage: 81.4% of statements 15:50:54 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] 15:50:54 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] 15:50:54 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.315s coverage: 28.7% of statements 15:50:54 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] 15:50:54 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.260s coverage: 14.0% of statements 15:50:57 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.260s coverage: 27.3% of statements 15:50:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 15:50:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 15:50:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.243s coverage: 51.4% of statements 15:51:31 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.521s coverage: 78.6% of statements 15:51:31 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.279s coverage: 94.4% of statements 15:51:31 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:51:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:51:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:51:36 WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] echo 15:51:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:51:37 $ docker stop --time=1 2ecd9fd00d643c895d5662c54972f1b6596d55fe3b0908f7408a04b275996a2f 15:51:38 $ docker rm -f 2ecd9fd00d643c895d5662c54972f1b6596d55fe3b0908f7408a04b275996a2f [Pipeline] // withDockerContainer [Pipeline] sh 15:51:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:51:42 Warning: overwriting stash ‘coverage-report’ 15:51:42 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:51:43 15:51:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:51:43 arm64: Pulling from edgex-lftools-log-publisher 15:51:43 8998bd30e6a1: Pulling fs layer 15:51:43 04944245beec: Pulling fs layer 15:51:43 699f458cf7ca: Pulling fs layer 15:51:43 765212b225bb: Pulling fs layer 15:51:43 f23df028b6ca: Pulling fs layer 15:51:43 d65c8cfc05b1: Pulling fs layer 15:51:43 2437ff75d9bd: Pulling fs layer 15:51:43 f23df028b6ca: Waiting 15:51:43 d65c8cfc05b1: Waiting 15:51:43 2437ff75d9bd: Waiting 15:51:43 765212b225bb: Waiting 15:51:43 04944245beec: Verifying Checksum 15:51:43 04944245beec: Download complete 15:51:43 765212b225bb: Verifying Checksum 15:51:43 765212b225bb: Download complete 15:51:43 f23df028b6ca: Verifying Checksum 15:51:43 f23df028b6ca: Download complete 15:51:43 d65c8cfc05b1: Verifying Checksum 15:51:43 d65c8cfc05b1: Download complete 15:51:44 699f458cf7ca: Verifying Checksum 15:51:44 699f458cf7ca: Download complete 15:51:44 8998bd30e6a1: Verifying Checksum 15:51:44 8998bd30e6a1: Download complete 15:51:46 2437ff75d9bd: Verifying Checksum 15:51:46 2437ff75d9bd: Download complete 15:51:48 8998bd30e6a1: Pull complete 15:51:49 04944245beec: Pull complete 15:51:50 699f458cf7ca: Pull complete 15:51:50 765212b225bb: Pull complete 15:51:51 f23df028b6ca: Pull complete 15:51:51 d65c8cfc05b1: Pull complete 15:52:06 2437ff75d9bd: Pull complete 15:52:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:52:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:52:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:52:06 prd-ubuntu20.04-docker-arm64-4c-16g-1653 does not seem to be running inside a container 15:52:07 $ 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/122 -v /w/workspace/app-functions-sdk-go/122:/w/workspace/app-functions-sdk-go/122:rw,z -v /w/workspace/app-functions-sdk-go/122@tmp:/w/workspace/app-functions-sdk-go/122@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:52:09 $ docker top fd05f0c97f42f64afe4e38a86410a77fab316b5e97a5214c48d21578367c230e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:52:10 ---> job-cost.sh 15:52:10 lf-activate-venv: SKIPPING 15:52:10 INFO: No Stack... 15:52:10 INFO: Retrieving Pricing Info for: v3-standard-4 15:52:11 INFO: Archiving Costs [Pipeline] sh 15:52:12 + cat /w/workspace/app-functions-sdk-go/122/archives/cost.csv 15:52:12 + cut -d, -f6 [Pipeline] lock 15:52:12 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-122-stack-cost] 15:52:12 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-122-stack-cost] did not exist. Created. 15:52:12 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-122-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:52:13 /w/workspace/app-functions-sdk-go/122@tmp/durable-fb6c01ab/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:52:13 + echo total: 0.10999999940395355 [Pipeline] stash 15:52:13 Warning: overwriting stash ‘stack-cost’ 15:52:13 Stashed 1 file(s) [Pipeline] } 15:52:13 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-122-stack-cost] [Pipeline] // lock [Pipeline] } 15:52:13 $ docker stop --time=1 fd05f0c97f42f64afe4e38a86410a77fab316b5e97a5214c48d21578367c230e 15:52:15 $ docker rm -f fd05f0c97f42f64afe4e38a86410a77fab316b5e97a5214c48d21578367c230e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 15:52:15 provisioning config files... 15:52:15 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config2326960357304537764tmp [Pipeline] { [Pipeline] sh 15:52:16 + set +x 15:52:16 + curl -s https://codecov.io/bash 15:52:16 + bash -s -- 15:52:16 15:52:16 _____ _ 15:52:16 / ____| | | 15:52:16 | | ___ __| | ___ ___ _____ __ 15:52:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:52:16 | |___| (_) | (_| | __/ (_| (_) \ V / 15:52:16 \_____\___/ \__,_|\___|\___\___/ \_/ 15:52:16 Bash-1.0.6 15:52:16 15:52:16 15:52:16 ==> git version 2.25.1 found 15:52:16 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 15:52:16 Release-Date: 2020-01-08 15:52:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:52:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:52:16 ==> Jenkins CI detected. 15:52:16 current dir:  /w/workspace/oundry_app-functions-sdk-go_main 15:52:16 project root: . 15:52:16 --> token set from env 15:52:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:52:16 ==> Running gcov in . (disable via -X gcov) 15:52:16 ==> Python coveragepy not found 15:52:16 ==> Searching for coverage reports in: 15:52:16 + . 15:52:16 -> Found 2 reports 15:52:16 ==> Detecting git/mercurial file structure 15:52:16 ==> Reading reports 15:52:16 + ./app-service-template/coverage.out bytes=1222 15:52:16 + ./coverage.out bytes=119938 15:52:16 ==> Appending adjustments 15:52:16 https://docs.codecov.io/docs/fixing-reports 15:52:16 + Found adjustments 15:52:16 ==> Gzipping contents 15:52:16 24K /tmp/codecov.6O95bL.gz 15:52:16 ==> Uploading reports 15:52:16 url: https://codecov.io 15:52:16 query: branch=main&commit=e3bd014886fd2ca1a785ec59b7e798ec810a4368&build=122&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F122%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:52:16 -> Pinging Codecov 15:52:16 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=e3bd014886fd2ca1a785ec59b7e798ec810a4368&build=122&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F122%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:52:16 -> Uploading to 15:52:16 https://storage.googleapis.com/codecov/v4/raw/2022-06-07/3D8B5DFFC46A037C893635FACE044666/e3bd014886fd2ca1a785ec59b7e798ec810a4368/7a517b50-57b5-424e-baae-2e1033953967.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220607%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220607T155216Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f99e62ebaef5e4b4d01aac4fa3f59cf7e98980b1748037a2a78d32c60b67ff0b 15:52:16 % Total % Received % Xferd Average Speed Time Time Time Current 15:52:16 Dload Upload Total Spent Left Speed 15:52:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20832 0 0 100 20832 0 88646 --:--:-- --:--:-- --:--:-- 88646 15:52:17 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/e3bd014886fd2ca1a785ec59b7e798ec810a4368 [Pipeline] } 15:52:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:52:17 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:52:17 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:52:17 15:52:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:52:18 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:52:18 df9b9388f04a: Pulling fs layer 15:52:18 52dc419b0ee2: Pulling fs layer 15:52:18 25bc292e5bac: Pulling fs layer 15:52:18 114826534d7a: Pulling fs layer 15:52:18 4657fd5d0bcf: Pulling fs layer 15:52:18 6ad1cebc031e: Pulling fs layer 15:52:18 8a3aa393b2d8: Pulling fs layer 15:52:18 114826534d7a: Waiting 15:52:18 4657fd5d0bcf: Waiting 15:52:18 8a3aa393b2d8: Waiting 15:52:18 25bc292e5bac: Verifying Checksum 15:52:18 52dc419b0ee2: Download complete 15:52:18 4657fd5d0bcf: Download complete 15:52:18 df9b9388f04a: Download complete 15:52:18 6ad1cebc031e: Verifying Checksum 15:52:18 6ad1cebc031e: Download complete 15:52:18 df9b9388f04a: Pull complete 15:52:18 52dc419b0ee2: Pull complete 15:52:18 25bc292e5bac: Pull complete 15:52:18 114826534d7a: Verifying Checksum 15:52:18 114826534d7a: Download complete 15:52:18 8a3aa393b2d8: Verifying Checksum 15:52:18 8a3aa393b2d8: Download complete 15:52:22 114826534d7a: Pull complete 15:52:22 4657fd5d0bcf: Pull complete 15:52:22 6ad1cebc031e: Pull complete 15:52:26 8a3aa393b2d8: Pull complete 15:52:26 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 15:52:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:52:26 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:52:26 prd-ubuntu20.04-docker-8c-8g-1652 does not seem to be running inside a container 15:52:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 15:52:28 $ docker top ff1174c18c163bb59e4bb07a7e161422ef6647e29b414eaf5c77942c9153f5fe -eo pid,comm [Pipeline] { [Pipeline] echo 15:52:28 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-functions-sdk-go:main' [Pipeline] sh 15:52:28 + set -o pipefail 15:52:28 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-functions-sdk-go:main' 15:52:33 15:52:33 Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v2)... 15:52:33 15:52:33 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/899a6017-c938-46f1-adf7-2bd1b283a5ba/history/860c53b8-f6b6-4aaa-9846-b782ace4afdc 15:52:33 15:52:33 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 15:52:33 15:52:33 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:52:33 15:52:33 [Pipeline] } 15:52:33 $ docker stop --time=1 ff1174c18c163bb59e4bb07a7e161422ef6647e29b414eaf5c77942c9153f5fe 15:52:36 $ docker rm -f ff1174c18c163bb59e4bb07a7e161422ef6647e29b414eaf5c77942c9153f5fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 15:52:36 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:52:36 provisioning config files... 15:52:36 copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config3848832948385076466tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:52:36 --> edgex-publish-swagger.sh 15:52:36 === Publish openapi/v2 API === 15:52:36 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 15:52:36 [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v2/app-functions-sdk.yaml] 15:52:36 % Total % Received % Xferd Average Speed Time Time Time Current 15:52:36 Dload Upload Total Spent Left Speed 15:52:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13708 0 0 100 13708 0 14399 --:--:-- --:--:-- --:--:-- 14384 15:52:37 15:52:37 [Pipeline] } 15:52:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:52:38 + git log --format=format:%s -1 e3bd014886fd2ca1a785ec59b7e798ec810a4368 [Pipeline] sh 15:52:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:52:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:52:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:52:39 prd-ubuntu20.04-docker-8c-8g-1652 does not seem to be running inside a container 15:52:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:52:39 $ docker top 15f706700b5e0506fba4666f13b3a7bb321b47f23c419ac98721126399766a3c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:52:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:52:39 [ssh-agent] Looking for ssh-agent implementation... 15:52:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:52:39 $ docker exec 15f706700b5e0506fba4666f13b3a7bb321b47f23c419ac98721126399766a3c ssh-agent 15:52:39 SSH_AUTH_SOCK=/tmp/ssh-PFPUtGydvkH5/agent.33 15:52:39 SSH_AGENT_PID=40 15:52:39 Running ssh-add (command line suppressed) 15:52:39 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_6949707109105720340.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_6949707109105720340.key) 15:52:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:52:40 + git semver tag 15:52:40 2022-06-07 15:52:40,454 [run_tag] DEBUG tag force:False 15:52:40 2022-06-07 15:52:40,454 [check_head_tag] DEBUG check head tag 15:52:40 2022-06-07 15:52:40,454 [execute] INFO git cat-file --batch-check 15:52:40 2022-06-07 15:52:40,454 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) 15:52:40 2022-06-07 15:52:40,458 [execute] INFO git cat-file --batch 15:52:40 2022-06-07 15:52:40,458 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) 15:52:40 2022-06-07 15:52:40,467 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 15:52:40 2022-06-07 15:52:40,467 [execute] INFO git tag -a v2.2.1-dev.3 -m v2.2.1-dev.3 15:52:40 2022-06-07 15:52:40,468 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.3', '-m', 'v2.2.1-dev.3'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) 15:52:40 2022-06-07 15:52:40,472 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 15:52:40 2.2.1-dev.3 [Pipeline] } 15:52:40 $ docker exec --env ******** --env ******** 15f706700b5e0506fba4666f13b3a7bb321b47f23c419ac98721126399766a3c ssh-agent -k 15:52:40 unset SSH_AUTH_SOCK; 15:52:40 unset SSH_AGENT_PID; 15:52:40 echo Agent pid 40 killed; 15:52:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:52:40 + git semver [Pipeline] } 15:52:41 $ docker stop --time=1 15f706700b5e0506fba4666f13b3a7bb321b47f23c419ac98721126399766a3c 15:52:42 $ docker rm -f 15f706700b5e0506fba4666f13b3a7bb321b47f23c419ac98721126399766a3c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:52:42 15:52:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:52:43 0.23.1-centos7: Pulling from edgex-lftools 15:52:43 ab5ef0e58194: Pulling fs layer 15:52:43 9712f1f96733: Pulling fs layer 15:52:43 63f879dbbcfc: Pulling fs layer 15:52:43 0d9ebad4ef96: Pulling fs layer 15:52:43 e9a5061849ea: Pulling fs layer 15:52:43 d747dcd14b5f: Pulling fs layer 15:52:43 2de7ff778b66: Pulling fs layer 15:52:43 0d9ebad4ef96: Waiting 15:52:43 e9a5061849ea: Waiting 15:52:43 d747dcd14b5f: Waiting 15:52:43 2de7ff778b66: Waiting 15:52:43 9712f1f96733: Verifying Checksum 15:52:43 9712f1f96733: Download complete 15:52:43 63f879dbbcfc: Verifying Checksum 15:52:43 63f879dbbcfc: Download complete 15:52:43 e9a5061849ea: Verifying Checksum 15:52:43 e9a5061849ea: Download complete 15:52:43 d747dcd14b5f: Download complete 15:52:43 0d9ebad4ef96: Verifying Checksum 15:52:43 0d9ebad4ef96: Download complete 15:52:43 2de7ff778b66: Verifying Checksum 15:52:43 2de7ff778b66: Download complete 15:52:43 ab5ef0e58194: Download complete 15:52:46 ab5ef0e58194: Pull complete 15:52:46 9712f1f96733: Pull complete 15:52:47 63f879dbbcfc: Pull complete 15:52:50 0d9ebad4ef96: Pull complete 15:52:50 e9a5061849ea: Pull complete 15:52:51 d747dcd14b5f: Pull complete 15:52:51 2de7ff778b66: Pull complete 15:52:51 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:52:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:52:52 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:52:52 prd-ubuntu20.04-docker-8c-8g-1652 does not seem to be running inside a container 15:52:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:52:54 $ docker top 8784a420d3615cb02134493522438acf911ffc77ce60313c0a62ce58c0e5e318 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:52:54 provisioning config files... 15:52:54 copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config7019524367921644857tmp 15:52:54 copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config5513557227036725599tmp 15:52:54 copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config902266875528896703tmp [Pipeline] { [Pipeline] echo 15:52:54 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:52:55 ---> sigul-configuration.sh 15:52:55 gpg: directory `/root/.gnupg' created 15:52:55 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:52:55 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:52:55 gpg: keyring `/root/.gnupg/secring.gpg' created 15:52:55 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:52:55 gpg: CAST5 encrypted data 15:52:55 gpg: encrypted with 1 passphrase 15:52:55 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:52:55 + mkdir /home/jenkins 15:52:55 + mkdir /home/jenkins/sigul [Pipeline] sh 15:52:55 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 15:52:55 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:52:56 ---> sigul-install.sh 15:52:56 Sigul already installed; skipping installation. [Pipeline] sh 15:52:56 + git tag --list 15:52:56 v0.1.0 15:52:56 v0.1.1 15:52:56 v1.0.0 15:52:56 v1.1.0 15:52:56 v1.2.0 15:52:56 v1.3.0 15:52:56 v1.3.1 15:52:56 v2.0.0 15:52:56 v2.0.1 15:52:56 v2.1.0 15:52:56 v2.1.1 15:52:56 v2.1.1-dev.3 15:52:56 v2.1.1-dev.4 15:52:56 v2.2.0 15:52:56 v2.2.1-dev.1 15:52:56 v2.2.1-dev.2 15:52:56 v2.2.1-dev.3 [Pipeline] sh 15:52:56 + lftools sign git-tag v2.2.1-dev.3 15:52:57 Signing Git tag with Sigul... 15:52:57 Signing v2.2.1-dev.3 [Pipeline] echo 15:52:57 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:52:57 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:52:57 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:52:57 $ docker stop --time=1 8784a420d3615cb02134493522438acf911ffc77ce60313c0a62ce58c0e5e318 15:52:59 $ docker rm -f 8784a420d3615cb02134493522438acf911ffc77ce60313c0a62ce58c0e5e318 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:52:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:52:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:52:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:53:00 prd-ubuntu20.04-docker-8c-8g-1652 does not seem to be running inside a container 15:53: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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:53:00 $ docker top 74ebc21724a042f437da0ab70a8a135aaa7ca70605cd49bf2e6de8d04435ceea -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:53:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:53:00 [ssh-agent] Looking for ssh-agent implementation... 15:53:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:53:00 $ docker exec 74ebc21724a042f437da0ab70a8a135aaa7ca70605cd49bf2e6de8d04435ceea ssh-agent 15:53:00 SSH_AUTH_SOCK=/tmp/ssh-IP0iFA8OqTC9/agent.32 15:53:00 SSH_AGENT_PID=39 15:53:00 Running ssh-add (command line suppressed) 15:53:00 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_9005513392314186505.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_9005513392314186505.key) 15:53:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:53:01 + git semver bump pre 15:53:01 2022-06-07 15:53:01,456 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 15:53:01 2022-06-07 15:53:01,456 [bump_version] DEBUG bumping version:2.2.1-dev.3 on axis:pre with prefix:dev 15:53:01 2022-06-07 15:53:01,456 [bump_version] DEBUG bumped version:2.2.1-dev.4 15:53:01 2022-06-07 15:53:01,456 [write_version] DEBUG write version:2.2.1-dev.4 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:True 15:53:01 2022-06-07 15:53:01,456 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 15:53:01 2022-06-07 15:53:01,456 [write_file] DEBUG write to file:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main 15:53:01 2022-06-07 15:53:01,459 [execute] INFO git cat-file --batch-check 15:53:01 2022-06-07 15:53:01,459 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:53:01 2022-06-07 15:53:01,465 [execute] INFO git cat-file --batch 15:53:01 2022-06-07 15:53:01,465 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:53:01 2022-06-07 15:53:01,471 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 15:53:01 2.2.1-dev.4 [Pipeline] } 15:53:01 $ docker exec --env ******** --env ******** 74ebc21724a042f437da0ab70a8a135aaa7ca70605cd49bf2e6de8d04435ceea ssh-agent -k 15:53:01 unset SSH_AUTH_SOCK; 15:53:01 unset SSH_AGENT_PID; 15:53:01 echo Agent pid 39 killed; 15:53:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:53:01 + git semver [Pipeline] } 15:53:02 $ docker stop --time=1 74ebc21724a042f437da0ab70a8a135aaa7ca70605cd49bf2e6de8d04435ceea 15:53:03 $ docker rm -f 74ebc21724a042f437da0ab70a8a135aaa7ca70605cd49bf2e6de8d04435ceea [Pipeline] // withDockerContainer [Pipeline] sh 15:53:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:53:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:53:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:53:04 prd-ubuntu20.04-docker-8c-8g-1652 does not seem to be running inside a container 15:53:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:53:04 $ docker top ecc052d599aab2fb18852e65165ac149052fb4eca6a27cc8f504b059441f6f52 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:53:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:53:04 [ssh-agent] Looking for ssh-agent implementation... 15:53:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:53:04 $ docker exec ecc052d599aab2fb18852e65165ac149052fb4eca6a27cc8f504b059441f6f52 ssh-agent 15:53:04 SSH_AUTH_SOCK=/tmp/ssh-U4cf9nq9DIKb/agent.33 15:53:04 SSH_AGENT_PID=40 15:53:05 Running ssh-add (command line suppressed) 15:53:05 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_3759884892669159286.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_3759884892669159286.key) 15:53:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:53:05 + git semver push 15:53:05 2022-06-07 15:53:05,602 [run_push] DEBUG push 15:53:05 2022-06-07 15:53:05,602 [execute] INFO git cat-file --batch-check 15:53:05 2022-06-07 15:53:05,603 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:53:05 2022-06-07 15:53:05,604 [execute] INFO git rev-list ec066f5c7f12ed55914681c0cde21189a7421552 -- 15:53:05 2022-06-07 15:53:05,605 [execute] DEBUG Popen(['git', 'rev-list', 'ec066f5c7f12ed55914681c0cde21189a7421552', '--'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:53:05 2022-06-07 15:53:05,619 [execute] INFO git fetch -v origin 15:53:05 2022-06-07 15:53:05,619 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 15:53:06 2022-06-07 15:53:06,102 [run_push] DEBUG no remote changes detected 15:53:06 2022-06-07 15:53:06,102 [execute] INFO git push origin semver 15:53:06 2022-06-07 15:53:06,103 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:53:06 2022-06-07 15:53:06,782 [run_push] DEBUG push all version tags 15:53:06 2022-06-07 15:53:06,782 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:53:06 2022-06-07 15:53:06,783 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) 15:53:07 2022-06-07 15:53:07,470 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 15:53:07 2.2.1-dev.4 [Pipeline] } 15:53:07 $ docker exec --env ******** --env ******** ecc052d599aab2fb18852e65165ac149052fb4eca6a27cc8f504b059441f6f52 ssh-agent -k 15:53:07 unset SSH_AUTH_SOCK; 15:53:07 unset SSH_AGENT_PID; 15:53:07 echo Agent pid 40 killed; 15:53:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:53:08 + git semver [Pipeline] } 15:53:08 $ docker stop --time=1 ecc052d599aab2fb18852e65165ac149052fb4eca6a27cc8f504b059441f6f52 15:53:09 $ docker rm -f ecc052d599aab2fb18852e65165ac149052fb4eca6a27cc8f504b059441f6f52 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:53:10 + [ -d /w/workspace/oundry_app-functions-sdk-go_main/archives ] 15:53:10 + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives 15:53:10 total 16 15:53:10 drwxr-xr-x 3 root root 4096 Jun 7 15:43 . 15:53:10 drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 15:52 .. 15:53:10 drwxr-xr-x 2 root root 4096 Jun 7 15:43 cost 15:53:10 -rw-r--r-- 1 root root 91 Jun 7 15:43 cost.csv 15:53:10 + sudo chown -R jenkins:jenkins /w/workspace/oundry_app-functions-sdk-go_main/archives 15:53:10 + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives 15:53:10 total 16 15:53:10 drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 15:43 . 15:53:10 drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 15:52 .. 15:53:10 drwxr-xr-x 2 jenkins jenkins 4096 Jun 7 15:43 cost 15:53:10 -rw-r--r-- 1 jenkins jenkins 91 Jun 7 15:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:53:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:53:11 ---> package-listing.sh 15:53:11 ++ facter osfamily 15:53:11 ++ tr '[:upper:]' '[:lower:]' 15:53:11 + OS_FAMILY=debian 15:53:11 + workspace=/w/workspace/oundry_app-functions-sdk-go_main 15:53:11 + START_PACKAGES=/tmp/packages_start.txt 15:53:11 + END_PACKAGES=/tmp/packages_end.txt 15:53:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:53:11 + PACKAGES=/tmp/packages_start.txt 15:53:11 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 15:53:11 + PACKAGES=/tmp/packages_end.txt 15:53:11 + case "${OS_FAMILY}" in 15:53:11 + dpkg -l 15:53:11 + grep '^ii' 15:53:11 + '[' -f /tmp/packages_start.txt ']' 15:53:11 + '[' -f /tmp/packages_end.txt ']' 15:53:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:53:11 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 15:53:11 + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ 15:53:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_app-functions-sdk-go_main/archives/ [Pipeline] echo 15:53:11 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_app-functions-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:53:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:53:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:53:12 prd-ubuntu20.04-docker-8c-8g-1652 does not seem to be running inside a container 15:53:12 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_app-functions-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:53:12 $ docker top 48acb8a219ea52da540128cf0b59b9bcf96564ab7fd0f3f4d1ffa40cb1f5cdaf -eo pid,comm [Pipeline] { [Pipeline] sh 15:53:13 + touch /tmp/pre-build-complete [Pipeline] sh 15:53:13 + mkdir -p /var/log/sysstat [Pipeline] sh 15:53:13 + ls /var/log/sa-host 15:53:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:53:13 provisioning config files... 15:53:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config2730639561788760870tmp [Pipeline] { [Pipeline] echo 15:53:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:53:14 ---> create-netrc.sh [Pipeline] } 15:53:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:53:14 ---> python-tools-install.sh [Pipeline] echo 15:53:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:53:14 ---> sudo-logs.sh 15:53:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:53:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:53:15 ---> job-cost.sh 15:53:15 lf-activate-venv: SKIPPING 15:53:15 DEBUG: total: 0.2199999988079071 15:53:15 INFO: Retrieving Stack Cost... 15:53:15 INFO: Retrieving Pricing Info for: v3-standard-8 15:53:16 INFO: Archiving Costs [Pipeline] echo 15:53:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:53:16 ---> logs-deploy.sh 15:53:16 lf-activate-venv: SKIPPING 15:53:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/122 15:53:16 INFO: archiving workspace using pattern(s): 15:53:17 Archives upload complete. 15:53:17 INFO: archiving logs to Nexus