Pull request #1170 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from e0a333df8c4243d3624ddb30a589780c9f023650+13abfa2698cd52a2477568cb7b4d2c1cae4fd3a0 (2ca212a485777649b3af15a7b60cd3f4d7a9cf7d) 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-ssh7725829458833033221.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh3491345516961742627.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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/PR-1170/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/PR-1170/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4248210935138329948.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/PR-1170/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7494044037898957443.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh5169258351818483655.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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/PR-1170/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/PR-1170/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13573453265969970133.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-29645 in /w/workspace/dry_app-functions-sdk-go_PR-1170 [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/dry_app-functions-sdk-go_PR-1170 # 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 > 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 remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 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/pull/1170/head:refs/remotes/origin/PR-1170 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 13abfa2698cd52a2477568cb7b4d2c1cae4fd3a0 into PR head commit e0a333df8c4243d3624ddb30a589780c9f023650 Merge succeeded, producing e0a333df8c4243d3624ddb30a589780c9f023650 Checking out Revision e0a333df8c4243d3624ddb30a589780c9f023650 (PR-1170) > git config core.sparsecheckout # timeout=10 > git checkout -f e0a333df8c4243d3624ddb30a589780c9f023650 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 13abfa2698cd52a2477568cb7b4d2c1cae4fd3a0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e0a333df8c4243d3624ddb30a589780c9f023650 # timeout=10 Commit message: "feat: Expose SecretProvider so new APIs are accessible" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:25:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:25:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:25:33 ========================================================= 00:25:33 EdgeX Global Pipelines Version Info 00:25:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:25:34 ------------------- 00:25:34 stable info: 00:25:34 ------------------- 00:25:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:25:34 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 00:25:34 Message: update stable to v1.0.239 00:25:34 ------------------- 00:25:34 experimental info: 00:25:34 ------------------- 00:25:34 Commited By: **** collab-it+edgex@linuxfoundation.org 00:25:34 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 00:25:34 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:25:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 00:25:35 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 00:25:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:25:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:25:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:25:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 00:25:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:25:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:25:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:25:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:25:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:25:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 00:25:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:25:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:25:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 00:25:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:25:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:25:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:25:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:25:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:25:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:25:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 00:25:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:25:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:25:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 00:25:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:25:36 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:25:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1170 [Pipeline] echo 00:25:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1170 [Pipeline] echo 00:25:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1170 [Pipeline] echo 00:25:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e0a333df8c4243d3624ddb30a589780c9f023650 [Pipeline] echo 00:25:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e0a333d [Pipeline] echo 00:25:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:25:36 + git rev-list -1 --merges e0a333df8c4243d3624ddb30a589780c9f023650~1..e0a333df8c4243d3624ddb30a589780c9f023650 [Pipeline] echo 00:25:36 -----------> git rev-list -1 --merges e0a333df8c4243d3624ddb30a589780c9f023650~1..e0a333df8c4243d3624ddb30a589780c9f023650 e0a333df8c4243d3624ddb30a589780c9f023650 [false] [Pipeline] sh 00:25:37 + git log --format=format:%s -1 e0a333df8c4243d3624ddb30a589780c9f023650 [Pipeline] echo 00:25:37 ========================================================= 00:25:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:25:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:25:37 + git log --format=format:%s -1 e0a333df8c4243d3624ddb30a589780c9f023650 [Pipeline] echo 00:25:37 [semverPrep] GIT_COMMIT: e0a333df8c4243d3624ddb30a589780c9f023650, Commit Message: feat: Expose SecretProvider so new APIs are accessible [Pipeline] echo 00:25:37 [semverPrep] This is not a build commit. [Pipeline] sh 00:25:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:25:38 + grep -v github /etc/ssh/ssh_known_hosts 00:25:38 + [ -e /tmp/ssh_known_hosts ] 00:25:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:25:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:25:38 + sudo tee -a /etc/ssh/ssh_known_hosts 00:25:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:25:38 00:25:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:25:39 0.1.4: Pulling from edgex-devops/py-git-semver 00:25:39 b85a868b505f: Pulling fs layer 00:25:39 e2be974225ed: Pulling fs layer 00:25:39 339a4e72a1f5: Pulling fs layer 00:25:39 988bab9f4d93: Pulling fs layer 00:25:39 1469e6f7b9e6: Pulling fs layer 00:25:39 eaf3925da568: Pulling fs layer 00:25:39 bab4dde63d76: Pulling fs layer 00:25:39 bde34c3a00c8: Pulling fs layer 00:25:39 b352a97aabf1: Pulling fs layer 00:25:39 4872d77fe225: Pulling fs layer 00:25:39 5851b861e8e6: Pulling fs layer 00:25:39 bab4dde63d76: Waiting 00:25:39 bde34c3a00c8: Waiting 00:25:39 4872d77fe225: Waiting 00:25:39 b352a97aabf1: Waiting 00:25:39 5851b861e8e6: Waiting 00:25:39 1469e6f7b9e6: Waiting 00:25:39 988bab9f4d93: Waiting 00:25:39 eaf3925da568: Waiting 00:25:39 e2be974225ed: Download complete 00:25:39 1469e6f7b9e6: Verifying Checksum 00:25:39 1469e6f7b9e6: Download complete 00:25:39 339a4e72a1f5: Verifying Checksum 00:25:39 339a4e72a1f5: Download complete 00:25:39 eaf3925da568: Verifying Checksum 00:25:39 eaf3925da568: Download complete 00:25:39 bde34c3a00c8: Download complete 00:25:39 b352a97aabf1: Verifying Checksum 00:25:39 b352a97aabf1: Download complete 00:25:39 4872d77fe225: Verifying Checksum 00:25:39 4872d77fe225: Download complete 00:25:39 5851b861e8e6: Verifying Checksum 00:25:39 5851b861e8e6: Download complete 00:25:39 b85a868b505f: Verifying Checksum 00:25:39 b85a868b505f: Download complete 00:25:40 bab4dde63d76: Verifying Checksum 00:25:40 bab4dde63d76: Download complete 00:25:41 b85a868b505f: Pull complete 00:25:41 e2be974225ed: Pull complete 00:25:41 339a4e72a1f5: Pull complete 00:25:41 988bab9f4d93: Pull complete 00:25:42 1469e6f7b9e6: Pull complete 00:25:42 eaf3925da568: Pull complete 00:25:44 bab4dde63d76: Pull complete 00:25:44 bde34c3a00c8: Pull complete 00:25:44 b352a97aabf1: Pull complete 00:25:44 4872d77fe225: Pull complete 00:25:44 5851b861e8e6: Pull complete 00:25:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:25:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:25:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:25:44 prd-ubuntu20.04-docker-8c-8g-29645 does not seem to be running inside a container 00:25:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-functions-sdk-go_PR-1170 -v /w/workspace/dry_app-functions-sdk-go_PR-1170:/w/workspace/dry_app-functions-sdk-go_PR-1170:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1170@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1170@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:25:46 $ docker top cb5008caf4014040323fa5d39ff9bdb7a87cfebe74e02cfc67dcf48611d82f9c -eo pid,comm 00:25:46 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:25:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:25:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:25:46 [ssh-agent] Looking for ssh-agent implementation... 00:25:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:25:46 $ docker exec cb5008caf4014040323fa5d39ff9bdb7a87cfebe74e02cfc67dcf48611d82f9c ssh-agent 00:25:46 SSH_AUTH_SOCK=/tmp/ssh-YS83m6YCIHYc/agent.32 00:25:46 SSH_AGENT_PID=39 00:25:46 Running ssh-add (command line suppressed) 00:25:46 Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1170@tmp/private_key_157516293930537986.key (/w/workspace/dry_app-functions-sdk-go_PR-1170@tmp/private_key_157516293930537986.key) 00:25:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:25:47 + git tag --points-at HEAD [Pipeline] } 00:25:47 $ docker exec --env ******** --env ******** cb5008caf4014040323fa5d39ff9bdb7a87cfebe74e02cfc67dcf48611d82f9c ssh-agent -k 00:25:47 unset SSH_AUTH_SOCK; 00:25:47 unset SSH_AGENT_PID; 00:25:47 echo Agent pid 39 killed; 00:25:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:25:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:25:47 [ssh-agent] Looking for ssh-agent implementation... 00:25:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:25:47 $ docker exec cb5008caf4014040323fa5d39ff9bdb7a87cfebe74e02cfc67dcf48611d82f9c ssh-agent 00:25:47 SSH_AUTH_SOCK=/tmp/ssh-biHLYuKpJvmG/agent.72 00:25:47 SSH_AGENT_PID=78 00:25:47 Running ssh-add (command line suppressed) 00:25:47 Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1170@tmp/private_key_8457444792406195019.key (/w/workspace/dry_app-functions-sdk-go_PR-1170@tmp/private_key_8457444792406195019.key) 00:25:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:25:47 + git semver init 00:25:48 2022-09-16 00:25:48,192 [run_init] DEBUG init version:0.0.0 force:False 00:25:48 2022-09-16 00:25:48,192 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-functions-sdk-go_PR-1170/.semver 00:25:48 2022-09-16 00:25:48,193 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-functions-sdk-go.git /w/workspace/dry_app-functions-sdk-go_PR-1170/.semver 00:25:48 2022-09-16 00:25:48,193 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-functions-sdk-go.git', '/w/workspace/dry_app-functions-sdk-go_PR-1170/.semver'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1170, universal_newlines=False, shell=None, istream=None) 00:25:50 2022-09-16 00:25:49,720 [append_file] DEBUG append to file:/w/workspace/dry_app-functions-sdk-go_PR-1170/.git/info/exclude 00:25:50 2022-09-16 00:25:49,720 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_app-functions-sdk-go_PR-1170/.semver/PR-1170 with force:False 00:25:50 2022-09-16 00:25:49,720 [write_file] DEBUG write to file:/w/workspace/dry_app-functions-sdk-go_PR-1170/.semver/PR-1170 00:25:50 2022-09-16 00:25:49,724 [execute] INFO git cat-file --batch-check 00:25:50 2022-09-16 00:25:49,725 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1170/.semver, universal_newlines=False, shell=None, istream=) 00:25:50 2022-09-16 00:25:49,731 [execute] INFO git cat-file --batch 00:25:50 2022-09-16 00:25:49,732 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1170/.semver, universal_newlines=False, shell=None, istream=) 00:25:50 2022-09-16 00:25:49,736 [read_version] DEBUG read version from /w/workspace/dry_app-functions-sdk-go_PR-1170/.semver/PR-1170 00:25:50 0.0.0 [Pipeline] } 00:25:50 $ docker exec --env ******** --env ******** cb5008caf4014040323fa5d39ff9bdb7a87cfebe74e02cfc67dcf48611d82f9c ssh-agent -k 00:25:50 unset SSH_AUTH_SOCK; 00:25:50 unset SSH_AGENT_PID; 00:25:50 echo Agent pid 78 killed; 00:25:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:25:50 + git semver [Pipeline] } 00:25:50 $ docker stop --time=1 cb5008caf4014040323fa5d39ff9bdb7a87cfebe74e02cfc67dcf48611d82f9c 00:25:52 $ docker rm -f cb5008caf4014040323fa5d39ff9bdb7a87cfebe74e02cfc67dcf48611d82f9c [Pipeline] // withDockerContainer [Pipeline] sh 00:25:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:25:53 Stashed 1 file(s) [Pipeline] echo 00:25:53 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 00:25:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:25:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:25:53 ========================================================= 00:25:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 00:25:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 00:25:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:25:54 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 00:25:54 2408cc74d12b: Pulling fs layer 00:25:54 ea60b727a1ce: Pulling fs layer 00:25:54 30c4a7721957: Pulling fs layer 00:25:54 370296b7ddb6: Pulling fs layer 00:25:54 7c6cee850709: Pulling fs layer 00:25:54 39a5fcdaea64: Pulling fs layer 00:25:54 d94ebbe4e438: Pulling fs layer 00:25:54 bcfd1f05c69d: Pulling fs layer 00:25:54 59ccb84bbe0f: Pulling fs layer 00:25:54 7c6cee850709: Waiting 00:25:54 d94ebbe4e438: Waiting 00:25:54 39a5fcdaea64: Waiting 00:25:54 370296b7ddb6: Waiting 00:25:54 bcfd1f05c69d: Waiting 00:25:54 59ccb84bbe0f: Waiting 00:25:54 30c4a7721957: Download complete 00:25:54 ea60b727a1ce: Verifying Checksum 00:25:54 ea60b727a1ce: Download complete 00:25:54 7c6cee850709: Verifying Checksum 00:25:54 7c6cee850709: Download complete 00:25:54 39a5fcdaea64: Download complete 00:25:54 2408cc74d12b: Verifying Checksum 00:25:54 2408cc74d12b: Download complete 00:25:54 d94ebbe4e438: Download complete 00:25:54 2408cc74d12b: Pull complete 00:25:54 ea60b727a1ce: Pull complete 00:25:54 30c4a7721957: Pull complete 00:25:55 bcfd1f05c69d: Verifying Checksum 00:25:55 bcfd1f05c69d: Download complete 00:25:55 59ccb84bbe0f: Download complete 00:25:55 370296b7ddb6: Verifying Checksum 00:25:55 370296b7ddb6: Download complete 00:25:59 370296b7ddb6: Pull complete 00:25:59 7c6cee850709: Pull complete 00:25:59 39a5fcdaea64: Pull complete 00:25:59 d94ebbe4e438: Pull complete 00:26:01 bcfd1f05c69d: Pull complete 00:26:02 59ccb84bbe0f: Pull complete 00:26:02 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 00:26:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:26:02 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] sh 00:26:02 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:26:02 + docker inspect -f . ci-base-image-x86_64 00:26:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:26:03 prd-ubuntu20.04-docker-8c-8g-29645 does not seem to be running inside a container 00:26:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-functions-sdk-go_PR-1170 -v /w/workspace/dry_app-functions-sdk-go_PR-1170:/w/workspace/dry_app-functions-sdk-go_PR-1170:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1170@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1170@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:26:06 $ docker top b8f7da2632206ff9e826e9d0037ab9c07269d74b703aeb65c246ef4ad48de899 -eo pid,comm [Pipeline] { [Pipeline] sh 00:26:06 + go version 00:26:06 go version go1.18.3 linux/amd64 [Pipeline] } 00:26:06 $ docker stop --time=1 b8f7da2632206ff9e826e9d0037ab9c07269d74b703aeb65c246ef4ad48de899 00:26:07 $ docker rm -f b8f7da2632206ff9e826e9d0037ab9c07269d74b703aeb65c246ef4ad48de899 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:26:08 Still waiting to schedule task 00:26:08 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-29643’ 00:26:08 + docker inspect -f . ci-base-image-x86_64 00:26:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:26:08 prd-ubuntu20.04-docker-8c-8g-29645 does not seem to be running inside a container 00:26:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/dry_app-functions-sdk-go_PR-1170 -v /w/workspace/dry_app-functions-sdk-go_PR-1170:/w/workspace/dry_app-functions-sdk-go_PR-1170:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1170@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1170@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:26:09 $ docker top 5c08ae6b9fb6256c6628cacc54d0fef972772de758e199ae23ac09f62a8eba27 -eo pid,comm [Pipeline] { [Pipeline] sh 00:26:09 + git config --global --add safe.directory /w/workspace/dry_app-functions-sdk-go_PR-1170 [Pipeline] fileExists [Pipeline] sh 00:26:10 + make test 00:26:10 make -C ./app-service-template build 00:26:10 make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1170/app-service-template' 00:26:10 go mod tidy 00:26:10 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 00:26:10 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 00:26:10 go: downloading github.com/google/uuid v1.3.0 00:26:10 go: downloading github.com/stretchr/testify v1.8.0 00:26:10 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.1-dev.5 00:26:10 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.1-dev.8 00:26:10 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 00:26:10 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.3 00:26:10 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 00:26:10 go: downloading github.com/gorilla/mux v1.8.0 00:26:10 go: downloading github.com/hashicorp/go-multierror v1.1.1 00:26:10 go: downloading github.com/davecgh/go-spew v1.1.1 00:26:10 go: downloading github.com/pmezard/go-difflib v1.0.0 00:26:10 go: downloading github.com/stretchr/objx v0.4.0 00:26:10 go: downloading gopkg.in/yaml.v3 v3.0.1 00:26:10 go: downloading github.com/go-kit/log v0.2.0 00:26:10 go: downloading github.com/go-playground/validator/v10 v10.10.1 00:26:10 go: downloading github.com/mitchellh/copystructure v1.0.0 00:26:10 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 00:26:10 go: downloading github.com/gorilla/websocket v1.4.2 00:26:10 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 00:26:10 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 00:26:10 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 00:26:10 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 00:26:10 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.1-dev.1 00:26:10 go: downloading github.com/pelletier/go-toml v1.9.5 00:26:10 go: downloading github.com/hashicorp/errwrap v1.0.0 00:26:10 go: downloading github.com/go-logfmt/logfmt v0.5.1 00:26:10 go: downloading github.com/hashicorp/consul/api v1.9.1 00:26:10 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 00:26:10 go: downloading github.com/go-playground/universal-translator v0.18.0 00:26:10 go: downloading github.com/leodido/go-urn v1.2.1 00:26:10 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 00:26:10 go: downloading golang.org/x/text v0.3.7 00:26:10 go: downloading github.com/go-playground/locales v0.14.0 00:26:11 go: downloading github.com/x448/float16 v0.8.4 00:26:11 go: downloading github.com/mitchellh/reflectwalk v1.0.0 00:26:11 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.0 00:26:11 go: downloading github.com/go-redis/redis/v7 v7.3.0 00:26:11 go: downloading github.com/pebbe/zmq4 v1.2.7 00:26:11 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 00:26:11 go: downloading github.com/go-playground/assert/v2 v2.0.1 00:26:11 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 00:26:11 go: downloading github.com/hashicorp/go-hclog v0.12.0 00:26:11 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 00:26:11 go: downloading github.com/hashicorp/serf v0.9.5 00:26:11 go: downloading github.com/mitchellh/mapstructure v1.1.2 00:26:11 go: downloading github.com/hashicorp/consul/sdk v0.8.0 00:26:11 go: downloading github.com/hashicorp/go-uuid v1.0.1 00:26:11 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 00:26:11 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:26:11 go: downloading github.com/Microsoft/go-winio v0.5.2 00:26:11 go: downloading github.com/zeebo/errs v1.2.2 00:26:11 go: downloading google.golang.org/grpc v1.46.0 00:26:11 go: downloading github.com/kr/pretty v0.3.0 00:26:11 go: downloading github.com/onsi/ginkgo v1.10.1 00:26:11 go: downloading github.com/onsi/gomega v1.7.0 00:26:12 go: downloading github.com/mitchellh/go-homedir v1.1.0 00:26:12 go: downloading github.com/fatih/color v1.9.0 00:26:12 go: downloading github.com/mattn/go-colorable v0.1.6 00:26:12 go: downloading github.com/mattn/go-isatty v0.0.12 00:26:12 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 00:26:12 go: downloading github.com/pkg/errors v0.9.1 00:26:12 go: downloading google.golang.org/protobuf v1.28.0 00:26:12 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 00:26:12 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 00:26:12 go: downloading github.com/hashicorp/go-msgpack v0.5.3 00:26:12 go: downloading github.com/hashicorp/memberlist v0.2.2 00:26:12 go: downloading github.com/kr/text v0.2.0 00:26:12 go: downloading github.com/rogpeppe/go-internal v1.8.0 00:26:12 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 00:26:12 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 00:26:12 go: downloading github.com/golang/protobuf v1.5.2 00:26:12 go: downloading github.com/google/go-cmp v0.5.6 00:26:12 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 00:26:12 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 00:26:12 go: downloading github.com/hpcloud/tail v1.0.0 00:26:12 go: downloading gopkg.in/yaml.v2 v2.2.8 00:26:12 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 00:26:12 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 00:26:12 go: downloading github.com/miekg/dns v1.1.26 00:26:12 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 00:26:12 go: downloading github.com/hashicorp/golang-lru v0.5.0 00:26:12 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 00:26:12 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 00:26:12 go: downloading gopkg.in/fsnotify.v1 v1.4.7 00:26:14 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.3.0-dev.16 00:26:14 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.3.0-dev.15 00:26:14 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.4 00:26:14 go: downloading golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e 00:26:14 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.3.0-dev.7 00:26:14 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.1 00:26:14 go: downloading github.com/nats-io/nats.go v1.16.0 00:26:14 go: downloading github.com/mitchellh/mapstructure v1.5.0 00:26:14 go: downloading github.com/mattn/go-colorable v0.1.12 00:26:14 go: downloading github.com/mattn/go-isatty v0.0.14 00:26:14 go: downloading golang.org/x/sys v0.0.0-20220610221304-9f5ed59c137d 00:26:14 go: downloading gopkg.in/yaml.v2 v2.4.0 00:26:15 go: downloading github.com/nats-io/nkeys v0.3.0 00:26:15 go: downloading github.com/nats-io/nats-server/v2 v2.7.4 00:26:15 go: downloading github.com/nats-io/nuid v1.0.1 00:26:15 go: downloading github.com/nats-io/jwt/v2 v2.3.0 00:26:15 go: downloading github.com/minio/highwayhash v1.0.2 00:26:15 go: downloading github.com/klauspost/compress v1.15.9 00:26:15 go: downloading golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 00:26:16 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o new-app-service 00:26:34 make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1170/app-service-template' 00:26:34 make -C ./app-service-template test 00:26:34 make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1170/app-service-template' 00:26:34 CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... 00:26:53 # new-app-service [new-app-service.test] 00:26:53 ./main_test.go:59:10: cannot use mockAppService (variable of type *mocks.ApplicationService) as type "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService in return statement: 00:26:53 *mocks.ApplicationService does not implement "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService (missing SecretProvider method) 00:26:53 ./main_test.go:90:10: cannot use mockAppService (variable of type *mocks.ApplicationService) as type "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService in return statement: 00:26:53 *mocks.ApplicationService does not implement "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService (missing SecretProvider method) 00:26:53 ./main_test.go:123:10: cannot use mockAppService (variable of type *mocks.ApplicationService) as type "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService in return statement: 00:26:53 *mocks.ApplicationService does not implement "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService (missing SecretProvider method) 00:26:53 ./main_test.go:159:10: cannot use mockAppService (variable of type *mocks.ApplicationService) as type "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService in return statement: 00:26:53 *mocks.ApplicationService does not implement "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService (missing SecretProvider method) 00:26:53 FAIL new-app-service [build failed] 00:26:53 ? new-app-service/config [no test files] 00:26:53 ok new-app-service/functions 0.048s 00:26:53 FAIL 00:26:53 make[1]: *** [Makefile:71: test] Error 2 00:26:53 make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1170/app-service-template' 00:26:53 make: *** [Makefile:36: test-template] Error 2 [Pipeline] } 00:26:53 $ docker stop --time=1 5c08ae6b9fb6256c6628cacc54d0fef972772de758e199ae23ac09f62a8eba27 00:26:56 $ docker rm -f 5c08ae6b9fb6256c6628cacc54d0fef972772de758e199ae23ac09f62a8eba27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:26:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:26:58 00:26:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:26:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:26:58 latest: Pulling from edgex-lftools-log-publisher 00:26:58 5eb5b503b376: Pulling fs layer 00:26:58 5c69ac0246d0: Pulling fs layer 00:26:58 ec43610c2a17: Pulling fs layer 00:26:58 3a2ae6a8a46f: Pulling fs layer 00:26:58 33b1e0a273af: Pulling fs layer 00:26:58 5d3b04190fa2: Pulling fs layer 00:26:58 2f39f015ded8: Pulling fs layer 00:26:58 33b1e0a273af: Waiting 00:26:58 3a2ae6a8a46f: Waiting 00:26:58 2f39f015ded8: Waiting 00:26:58 5d3b04190fa2: Waiting 00:26:58 5c69ac0246d0: Verifying Checksum 00:26:58 5c69ac0246d0: Download complete 00:26:58 3a2ae6a8a46f: Verifying Checksum 00:26:58 3a2ae6a8a46f: Download complete 00:26:58 ec43610c2a17: Verifying Checksum 00:26:58 ec43610c2a17: Download complete 00:26:58 33b1e0a273af: Verifying Checksum 00:26:58 33b1e0a273af: Download complete 00:26:58 5d3b04190fa2: Verifying Checksum 00:26:58 5d3b04190fa2: Download complete 00:26:58 5eb5b503b376: Verifying Checksum 00:26:58 5eb5b503b376: Download complete 00:26:59 2f39f015ded8: Download complete 00:27:00 5eb5b503b376: Pull complete 00:27:00 5c69ac0246d0: Pull complete 00:27:00 ec43610c2a17: Pull complete 00:27:00 3a2ae6a8a46f: Pull complete 00:27:01 33b1e0a273af: Pull complete 00:27:01 5d3b04190fa2: Pull complete 00:27:05 2f39f015ded8: Pull complete 00:27:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:27:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:27:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:27:05 prd-ubuntu20.04-docker-8c-8g-29645 does not seem to be running inside a container 00:27:05 $ 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/dry_app-functions-sdk-go_PR-1170 -v /w/workspace/dry_app-functions-sdk-go_PR-1170:/w/workspace/dry_app-functions-sdk-go_PR-1170:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1170@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1170@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:27:07 $ docker top 40212ee71b76f8a07369ada5c830fcf6d27006e4cd2209abaee886834d5ecab2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:27:08 ---> job-cost.sh 00:27:08 lf-activate-venv: SKIPPING 00:27:08 INFO: No Stack... 00:27:08 INFO: Retrieving Pricing Info for: v3-standard-8 00:27:09 INFO: Archiving Costs [Pipeline] sh 00:27:09 + cat /w/workspace/dry_app-functions-sdk-go_PR-1170/archives/cost.csv 00:27:09 + cut -d, -f6 [Pipeline] lock 00:27:09 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1170-1-stack-cost] 00:27:09 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1170-1-stack-cost] did not exist. Created. 00:27:09 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1170-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:27:09 + echo total: 0.2199999988079071 [Pipeline] stash 00:27:09 Stashed 1 file(s) [Pipeline] } 00:27:09 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1170-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:27:09 $ docker stop --time=1 40212ee71b76f8a07369ada5c830fcf6d27006e4cd2209abaee886834d5ecab2 00:27:11 $ docker rm -f 40212ee71b76f8a07369ada5c830fcf6d27006e4cd2209abaee886834d5ecab2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:27:11 Failed in branch amd64 00:29:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-29646 in /w/workspace/dry_app-functions-sdk-go_PR-1170 [Pipeline] { [Pipeline] ws 00:29:48 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 00:29:48 The recommended git tool is: git 00:29:55 using credential edgex-jenkins-ssh 00:29:55 Cloning the remote Git repository 00:29:55 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 00:29:55 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 00:29:55 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:29:55 > git --version # timeout=10 00:29:55 > git --version # 'git version 2.25.1' 00:29:55 using GIT_SSH to set credentials SSH Credentials for GitHub 00:29:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:29:58 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:29:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:29:58 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:29:58 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:29:58 using GIT_SSH to set credentials SSH Credentials for GitHub 00:29:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/1170/head:refs/remotes/origin/PR-1170 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:29:59 Merging remotes/origin/main commit 13abfa2698cd52a2477568cb7b4d2c1cae4fd3a0 into PR head commit e0a333df8c4243d3624ddb30a589780c9f023650 00:29:59 Merge succeeded, producing e0a333df8c4243d3624ddb30a589780c9f023650 00:29:59 Checking out Revision e0a333df8c4243d3624ddb30a589780c9f023650 (PR-1170) 00:29:59 > git config core.sparsecheckout # timeout=10 00:29:59 > git checkout -f e0a333df8c4243d3624ddb30a589780c9f023650 # timeout=10 00:29:59 > git remote # timeout=10 00:29:59 > git config --get remote.origin.url # timeout=10 00:29:59 using GIT_SSH to set credentials SSH Credentials for GitHub 00:29:59 > git merge 13abfa2698cd52a2477568cb7b4d2c1cae4fd3a0 # timeout=10 00:29:59 > git rev-parse HEAD^{commit} # timeout=10 00:29:59 > git config core.sparsecheckout # timeout=10 00:29:59 > git checkout -f e0a333df8c4243d3624ddb30a589780c9f023650 # timeout=10 00:30:03 Commit message: "feat: Expose SecretProvider so new APIs are accessible" 00:30:03 > git --version # timeout=10 00:30:03 > git --version # 'git version 2.25.1' 00:30:03 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:30:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:30:05 % Total % Received % Xferd Average Speed Time Time Time Current 00:30:05 Dload Upload Total Spent Left Speed 00:30:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 83 12602 83 10503 0 0 54139 0 --:--:-- --:--:-- --:--:-- 54139 100 12602 100 12602 0 0 64625 0 --:--:-- --:--:-- --:--:-- 64295 [Pipeline] sh 00:30:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:30:06 + sudo tee /etc/docker/daemon.new 00:30:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:30:06 { 00:30:06 "registry-mirrors": [ 00:30:06 "https://nexus3.edgexfoundry.org:10001" 00:30:06 ], 00:30:06 "bip": "10.250.0.254/24", 00:30:06 "hosts": [ 00:30:06 "tcp://0.0.0.0:5555", 00:30:06 "unix:///var/run/docker.sock" 00:30:06 ], 00:30:06 "mtu": 1458, 00:30:06 "selinux-enabled": true, 00:30:06 "seccomp-profile": "/etc/docker/seccomp.json" 00:30:06 } [Pipeline] sh 00:30:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:30:07 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 00:30:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:30:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:30:25 ========================================================= 00:30:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 00:30:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 00:30:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:30:26 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:30:26 b3c136eddcbf: Pulling fs layer 00:30:26 c0a3192eca97: Pulling fs layer 00:30:26 a050256f5b6f: Pulling fs layer 00:30:26 656be50a0ddc: Pulling fs layer 00:30:26 2bbca73fdf42: Pulling fs layer 00:30:26 46d945488cbd: Pulling fs layer 00:30:26 8a5474983e97: Pulling fs layer 00:30:26 329c88fbcd65: Pulling fs layer 00:30:26 656be50a0ddc: Waiting 00:30:26 2bbca73fdf42: Waiting 00:30:26 46d945488cbd: Waiting 00:30:26 8a5474983e97: Waiting 00:30:26 329c88fbcd65: Waiting 00:30:26 c0a3192eca97: Verifying Checksum 00:30:26 c0a3192eca97: Download complete 00:30:26 2bbca73fdf42: Verifying Checksum 00:30:26 2bbca73fdf42: Download complete 00:30:26 46d945488cbd: Download complete 00:30:27 b3c136eddcbf: Verifying Checksum 00:30:27 b3c136eddcbf: Download complete 00:30:28 b3c136eddcbf: Pull complete 00:30:28 329c88fbcd65: Verifying Checksum 00:30:28 329c88fbcd65: Download complete 00:30:28 c0a3192eca97: Pull complete 00:30:28 a050256f5b6f: Pull complete 00:30:29 8a5474983e97: Verifying Checksum 00:30:29 8a5474983e97: Download complete 00:30:29 656be50a0ddc: Verifying Checksum 00:30:29 656be50a0ddc: Download complete 00:30:45 656be50a0ddc: Pull complete 00:30:45 2bbca73fdf42: Pull complete 00:30:45 46d945488cbd: Pull complete 00:30:49 8a5474983e97: Pull complete 00:30:51 329c88fbcd65: Pull complete 00:30:51 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 00:30:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:30:51 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] sh 00:30:51 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:30:52 + docker inspect -f . ci-base-image-arm64 00:30:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:30:52 prd-ubuntu20.04-docker-arm64-4c-16g-29646 does not seem to be running inside a container 00:30:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:30:55 $ docker top 0c11e126714dba85671d3e32c3e074cd612a2568e554bed667b2446a44541fe8 -eo pid,comm [Pipeline] { [Pipeline] sh 00:30:56 + go version 00:30:56 go version go1.18.3 linux/arm64 [Pipeline] } 00:30:56 $ docker stop --time=1 0c11e126714dba85671d3e32c3e074cd612a2568e554bed667b2446a44541fe8 00:30:58 $ docker rm -f 0c11e126714dba85671d3e32c3e074cd612a2568e554bed667b2446a44541fe8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:30:59 + docker inspect -f . ci-base-image-arm64 00:30:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:30:59 prd-ubuntu20.04-docker-arm64-4c-16g-29646 does not seem to be running inside a container 00:30:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:31:01 $ docker top 1194b939918fb7b3edfb6ec6eba40c4f90dd9c2a2860532b9693aaca7088d984 -eo pid,comm [Pipeline] { [Pipeline] sh 00:31:02 + git config --global --add safe.directory /w/workspace/app-functions-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 00:31:02 + make test 00:31:02 make -C ./app-service-template build 00:31:02 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 00:31:02 go mod tidy 00:31:02 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 00:31:02 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 00:31:03 go: downloading github.com/google/uuid v1.3.0 00:31:03 go: downloading github.com/stretchr/testify v1.8.0 00:31:03 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.1-dev.5 00:31:03 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.1-dev.8 00:31:03 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 00:31:03 go: downloading github.com/davecgh/go-spew v1.1.1 00:31:03 go: downloading github.com/pmezard/go-difflib v1.0.0 00:31:03 go: downloading gopkg.in/yaml.v3 v3.0.1 00:31:03 go: downloading github.com/go-playground/validator/v10 v10.10.1 00:31:03 go: downloading github.com/go-kit/log v0.2.0 00:31:03 go: downloading github.com/stretchr/objx v0.4.0 00:31:03 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.3 00:31:03 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 00:31:03 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.1-dev.1 00:31:03 go: downloading github.com/gorilla/mux v1.8.0 00:31:03 go: downloading github.com/hashicorp/go-multierror v1.1.1 00:31:03 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 00:31:03 go: downloading github.com/go-logfmt/logfmt v0.5.1 00:31:03 go: downloading github.com/mitchellh/copystructure v1.0.0 00:31:03 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 00:31:03 go: downloading github.com/pelletier/go-toml v1.9.5 00:31:03 go: downloading github.com/go-playground/universal-translator v0.18.0 00:31:03 go: downloading github.com/leodido/go-urn v1.2.1 00:31:03 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 00:31:03 go: downloading golang.org/x/text v0.3.7 00:31:04 go: downloading github.com/go-playground/locales v0.14.0 00:31:05 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 00:31:05 go: downloading github.com/go-playground/assert/v2 v2.0.1 00:31:06 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 00:31:06 go: downloading github.com/gorilla/websocket v1.4.2 00:31:06 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 00:31:07 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 00:31:07 go: downloading github.com/hashicorp/errwrap v1.0.0 00:31:07 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.0 00:31:07 go: downloading github.com/hashicorp/consul/api v1.9.1 00:31:07 go: downloading github.com/mitchellh/reflectwalk v1.0.0 00:31:07 go: downloading github.com/x448/float16 v0.8.4 00:31:07 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 00:31:07 go: downloading github.com/kr/pretty v0.3.0 00:31:07 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 00:31:07 go: downloading github.com/go-redis/redis/v7 v7.3.0 00:31:07 go: downloading github.com/pebbe/zmq4 v1.2.7 00:31:07 go: downloading github.com/Microsoft/go-winio v0.5.2 00:31:07 go: downloading github.com/zeebo/errs v1.2.2 00:31:07 go: downloading google.golang.org/grpc v1.46.0 00:31:08 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:31:08 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 00:31:08 go: downloading github.com/hashicorp/go-hclog v0.12.0 00:31:08 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 00:31:08 go: downloading github.com/hashicorp/serf v0.9.5 00:31:08 go: downloading github.com/mitchellh/mapstructure v1.1.2 00:31:08 go: downloading github.com/hashicorp/consul/sdk v0.8.0 00:31:08 go: downloading github.com/hashicorp/go-uuid v1.0.1 00:31:08 go: downloading github.com/kr/text v0.2.0 00:31:08 go: downloading github.com/rogpeppe/go-internal v1.8.0 00:31:08 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 00:31:08 go: downloading github.com/onsi/ginkgo v1.10.1 00:31:09 go: downloading github.com/onsi/gomega v1.7.0 00:31:09 go: downloading google.golang.org/protobuf v1.28.0 00:31:09 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 00:31:09 go: downloading github.com/golang/protobuf v1.5.2 00:31:10 go: downloading github.com/google/go-cmp v0.5.6 00:31:10 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 00:31:10 go: downloading github.com/mitchellh/go-homedir v1.1.0 00:31:10 go: downloading github.com/fatih/color v1.9.0 00:31:10 go: downloading github.com/mattn/go-colorable v0.1.6 00:31:10 go: downloading github.com/mattn/go-isatty v0.0.12 00:31:10 go: downloading github.com/pkg/errors v0.9.1 00:31:10 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 00:31:10 go: downloading github.com/hashicorp/go-msgpack v0.5.3 00:31:10 go: downloading github.com/hashicorp/memberlist v0.2.2 00:31:10 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 00:31:10 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 00:31:10 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 00:31:10 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 00:31:10 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 00:31:10 go: downloading github.com/miekg/dns v1.1.26 00:31:11 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 00:31:11 go: downloading gopkg.in/yaml.v2 v2.2.8 00:31:11 go: downloading github.com/hpcloud/tail v1.0.0 00:31:11 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 00:31:11 go: downloading github.com/hashicorp/golang-lru v0.5.0 00:31:11 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 00:31:11 go: downloading gopkg.in/fsnotify.v1 v1.4.7 00:31:14 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.3.0-dev.16 00:31:14 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.3.0-dev.15 00:31:15 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.4 00:31:15 go: downloading golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e 00:31:15 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.3.0-dev.7 00:31:15 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.1 00:31:15 go: downloading github.com/mitchellh/mapstructure v1.5.0 00:31:15 go: downloading github.com/nats-io/nats.go v1.16.0 00:31:15 go: downloading github.com/mattn/go-colorable v0.1.12 00:31:15 go: downloading github.com/mattn/go-isatty v0.0.14 00:31:15 go: downloading golang.org/x/sys v0.0.0-20220610221304-9f5ed59c137d 00:31:15 go: downloading github.com/nats-io/nkeys v0.3.0 00:31:15 go: downloading github.com/nats-io/nuid v1.0.1 00:31:15 go: downloading github.com/nats-io/nats-server/v2 v2.7.4 00:31:16 go: downloading gopkg.in/yaml.v2 v2.4.0 00:31:16 go: downloading github.com/nats-io/jwt/v2 v2.3.0 00:31:16 go: downloading github.com/klauspost/compress v1.15.9 00:31:16 go: downloading github.com/minio/highwayhash v1.0.2 00:31:16 go: downloading golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 00:31:19 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o new-app-service 00:33:26 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 00:33:26 make -C ./app-service-template test 00:33:26 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 00:33:26 CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... 00:35:48 # new-app-service [new-app-service.test] 00:35:48 ./main_test.go:59:10: cannot use mockAppService (variable of type *mocks.ApplicationService) as type "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService in return statement: 00:35:48 *mocks.ApplicationService does not implement "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService (missing SecretProvider method) 00:35:48 ./main_test.go:90:10: cannot use mockAppService (variable of type *mocks.ApplicationService) as type "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService in return statement: 00:35:48 *mocks.ApplicationService does not implement "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService (missing SecretProvider method) 00:35:48 ./main_test.go:123:10: cannot use mockAppService (variable of type *mocks.ApplicationService) as type "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService in return statement: 00:35:48 *mocks.ApplicationService does not implement "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService (missing SecretProvider method) 00:35:48 ./main_test.go:159:10: cannot use mockAppService (variable of type *mocks.ApplicationService) as type "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService in return statement: 00:35:48 *mocks.ApplicationService does not implement "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService (missing SecretProvider method) 00:35:48 FAIL new-app-service [build failed] 00:35:48 ? new-app-service/config [no test files] 00:35:48 ok new-app-service/functions 0.197s 00:35:48 FAIL 00:35:48 make[1]: *** [Makefile:71: test] Error 2 00:35:48 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 00:35:48 make: *** [Makefile:36: test-template] Error 2 [Pipeline] } 00:35:48 $ docker stop --time=1 1194b939918fb7b3edfb6ec6eba40c4f90dd9c2a2860532b9693aaca7088d984 00:35:50 $ docker rm -f 1194b939918fb7b3edfb6ec6eba40c4f90dd9c2a2860532b9693aaca7088d984 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:35:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:35:54 00:35:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:35:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:35:55 arm64: Pulling from edgex-lftools-log-publisher 00:35:55 8998bd30e6a1: Pulling fs layer 00:35:55 04944245beec: Pulling fs layer 00:35:55 699f458cf7ca: Pulling fs layer 00:35:55 765212b225bb: Pulling fs layer 00:35:55 f23df028b6ca: Pulling fs layer 00:35:55 d65c8cfc05b1: Pulling fs layer 00:35:55 2437ff75d9bd: Pulling fs layer 00:35:55 765212b225bb: Waiting 00:35:55 f23df028b6ca: Waiting 00:35:55 d65c8cfc05b1: Waiting 00:35:55 2437ff75d9bd: Waiting 00:35:55 04944245beec: Verifying Checksum 00:35:55 04944245beec: Download complete 00:35:55 765212b225bb: Download complete 00:35:55 f23df028b6ca: Verifying Checksum 00:35:55 f23df028b6ca: Download complete 00:35:55 d65c8cfc05b1: Verifying Checksum 00:35:55 d65c8cfc05b1: Download complete 00:35:55 699f458cf7ca: Verifying Checksum 00:35:55 699f458cf7ca: Download complete 00:35:55 8998bd30e6a1: Verifying Checksum 00:35:55 8998bd30e6a1: Download complete 00:35:58 2437ff75d9bd: Verifying Checksum 00:35:58 2437ff75d9bd: Download complete 00:36:00 8998bd30e6a1: Pull complete 00:36:00 04944245beec: Pull complete 00:36:02 699f458cf7ca: Pull complete 00:36:02 765212b225bb: Pull complete 00:36:03 f23df028b6ca: Pull complete 00:36:03 d65c8cfc05b1: Pull complete 00:36:18 2437ff75d9bd: Pull complete 00:36:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:36:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:36:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:36:19 prd-ubuntu20.04-docker-arm64-4c-16g-29646 does not seem to be running inside a container 00:36:19 $ 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/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:36:21 $ docker top 5e04633401b250a7398be0aa285393bd896ed74ffd037f0489505eca817ac42c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:36:22 ---> job-cost.sh 00:36:22 lf-activate-venv: SKIPPING 00:36:22 INFO: No Stack... 00:36:23 INFO: Retrieving Pricing Info for: v3-standard-4 00:36:24 INFO: Archiving Costs [Pipeline] sh 00:36:24 + + cut -d, -f6 00:36:24 cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv [Pipeline] lock 00:36:24 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1170-1-stack-cost] 00:36:24 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1170-1-stack-cost] did not exist. Created. 00:36:24 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1170-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:36:25 /w/workspace/app-functions-sdk-go/1@tmp/durable-239fcfcb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:36:26 + echo total: 0.10999999940395355 [Pipeline] stash 00:36:26 Warning: overwriting stash ‘stack-cost’ 00:36:26 Stashed 1 file(s) [Pipeline] } 00:36:26 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1170-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:36:26 $ docker stop --time=1 5e04633401b250a7398be0aa285393bd896ed74ffd037f0489505eca817ac42c 00:36:28 $ docker rm -f 5e04633401b250a7398be0aa285393bd896ed74ffd037f0489505eca817ac42c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:36:29 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:36:31 + [ -d /w/workspace/dry_app-functions-sdk-go_PR-1170/archives ] 00:36:31 + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1170/archives 00:36:31 total 16 00:36:31 drwxr-xr-x 3 root root 4096 Sep 16 00:27 . 00:36:31 drwxrwxr-x 10 jenkins jenkins 4096 Sep 16 00:27 .. 00:36:31 drwxr-xr-x 2 root root 4096 Sep 16 00:27 cost 00:36:31 -rw-r--r-- 1 root root 93 Sep 16 00:27 cost.csv 00:36:31 + sudo chown -R jenkins:jenkins /w/workspace/dry_app-functions-sdk-go_PR-1170/archives 00:36:31 + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1170/archives 00:36:31 total 16 00:36:31 drwxr-xr-x 3 jenkins jenkins 4096 Sep 16 00:27 . 00:36:31 drwxrwxr-x 10 jenkins jenkins 4096 Sep 16 00:27 .. 00:36:31 drwxr-xr-x 2 jenkins jenkins 4096 Sep 16 00:27 cost 00:36:31 -rw-r--r-- 1 jenkins jenkins 93 Sep 16 00:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:36:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:36:32 ---> package-listing.sh 00:36:32 ++ tr '[:upper:]' '[:lower:]' 00:36:32 ++ facter osfamily 00:36:32 + OS_FAMILY=debian 00:36:32 + workspace=/w/workspace/dry_app-functions-sdk-go_PR-1170 00:36:32 + START_PACKAGES=/tmp/packages_start.txt 00:36:32 + END_PACKAGES=/tmp/packages_end.txt 00:36:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:36:32 + PACKAGES=/tmp/packages_start.txt 00:36:32 + '[' /w/workspace/dry_app-functions-sdk-go_PR-1170 ']' 00:36:32 + PACKAGES=/tmp/packages_end.txt 00:36:32 + case "${OS_FAMILY}" in 00:36:32 + dpkg -l 00:36:32 + grep '^ii' 00:36:32 + '[' -f /tmp/packages_start.txt ']' 00:36:32 + '[' -f /tmp/packages_end.txt ']' 00:36:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:36:32 + '[' /w/workspace/dry_app-functions-sdk-go_PR-1170 ']' 00:36:32 + mkdir -p /w/workspace/dry_app-functions-sdk-go_PR-1170/archives/ 00:36:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_app-functions-sdk-go_PR-1170/archives/ [Pipeline] echo 00:36:32 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/dry_app-functions-sdk-go_PR-1170/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:36:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:36:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:36:34 prd-ubuntu20.04-docker-8c-8g-29645 does not seem to be running inside a container 00:36:34 $ 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/dry_app-functions-sdk-go_PR-1170/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-functions-sdk-go_PR-1170 -v /w/workspace/dry_app-functions-sdk-go_PR-1170:/w/workspace/dry_app-functions-sdk-go_PR-1170:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1170@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1170@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:36:34 $ docker top ef43b31feb061b752a34ff9ce3f4204125ac648c4db95d955b3bd4b8c7195da4 -eo pid,comm [Pipeline] { [Pipeline] sh 00:36:34 + touch /tmp/pre-build-complete [Pipeline] sh 00:36:34 + mkdir -p /var/log/sysstat [Pipeline] sh 00:36:35 + ls /var/log/sa-host 00:36:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:36:35 provisioning config files... 00:36:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-functions-sdk-go_PR-1170@tmp/config6271576182288303882tmp [Pipeline] { [Pipeline] echo 00:36:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:36:35 ---> create-netrc.sh [Pipeline] } 00:36:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:36:36 ---> python-tools-install.sh [Pipeline] echo 00:36:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:36:36 ---> sudo-logs.sh 00:36:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:36:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:36:37 ---> job-cost.sh 00:36:37 lf-activate-venv: SKIPPING 00:36:37 DEBUG: total: 0.2199999988079071 00:36:37 INFO: Retrieving Stack Cost... 00:36:37 INFO: Retrieving Pricing Info for: v3-standard-8 00:36:37 INFO: Archiving Costs [Pipeline] echo 00:36:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:36:38 ---> logs-deploy.sh 00:36:38 lf-activate-venv: SKIPPING 00:36:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-1170/1 00:36:38 INFO: archiving workspace using pattern(s): 00:36:39 Archives upload complete. 00:36:39 INFO: archiving logs to Nexus