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 [2022-09-16T00:25:33.157Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-16T00:25:33.319Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-16T00:25:33.405Z] ========================================================= [2022-09-16T00:25:33.405Z] EdgeX Global Pipelines Version Info [2022-09-16T00:25:33.405Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-16T00:25:34.176Z] ------------------- [2022-09-16T00:25:34.176Z] stable info: [2022-09-16T00:25:34.176Z] ------------------- [2022-09-16T00:25:34.176Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-16T00:25:34.177Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-16T00:25:34.177Z] Message: update stable to v1.0.239 [2022-09-16T00:25:34.747Z] ------------------- [2022-09-16T00:25:34.747Z] experimental info: [2022-09-16T00:25:34.747Z] ------------------- [2022-09-16T00:25:34.747Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-16T00:25:34.747Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-16T00:25:34.747Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-16T00:25:35.119Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2022-09-16T00:25:35.154Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2022-09-16T00:25:35.193Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-16T00:25:35.228Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-16T00:25:35.265Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-16T00:25:35.305Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-16T00:25:35.341Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-16T00:25:35.377Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-16T00:25:35.415Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-16T00:25:35.453Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-16T00:25:35.487Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-16T00:25:35.528Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2022-09-16T00:25:35.567Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-16T00:25:35.607Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-16T00:25:35.645Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2022-09-16T00:25:35.681Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-09-16T00:25:35.723Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-16T00:25:35.765Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-16T00:25:35.804Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-16T00:25:35.838Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-16T00:25:35.879Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-16T00:25:35.919Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-09-16T00:25:35.958Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-16T00:25:36.000Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-16T00:25:36.041Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2022-09-16T00:25:36.082Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-16T00:25:36.122Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-16T00:25:36.164Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1170 [Pipeline] echo [2022-09-16T00:25:36.203Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1170 [Pipeline] echo [2022-09-16T00:25:36.240Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1170 [Pipeline] echo [2022-09-16T00:25:36.280Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e0a333df8c4243d3624ddb30a589780c9f023650 [Pipeline] echo [2022-09-16T00:25:36.320Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e0a333d [Pipeline] echo [2022-09-16T00:25:36.359Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-16T00:25:36.880Z] + git rev-list -1 --merges e0a333df8c4243d3624ddb30a589780c9f023650~1..e0a333df8c4243d3624ddb30a589780c9f023650 [Pipeline] echo [2022-09-16T00:25:36.935Z] -----------> git rev-list -1 --merges e0a333df8c4243d3624ddb30a589780c9f023650~1..e0a333df8c4243d3624ddb30a589780c9f023650 e0a333df8c4243d3624ddb30a589780c9f023650 [false] [Pipeline] sh [2022-09-16T00:25:37.250Z] + git log --format=format:%s -1 e0a333df8c4243d3624ddb30a589780c9f023650 [Pipeline] echo [2022-09-16T00:25:37.285Z] ========================================================= [2022-09-16T00:25:37.285Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-16T00:25:37.285Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-16T00:25:37.719Z] + git log --format=format:%s -1 e0a333df8c4243d3624ddb30a589780c9f023650 [Pipeline] echo [2022-09-16T00:25:37.748Z] [semverPrep] GIT_COMMIT: e0a333df8c4243d3624ddb30a589780c9f023650, Commit Message: feat: Expose SecretProvider so new APIs are accessible [Pipeline] echo [2022-09-16T00:25:37.778Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-16T00:25:38.175Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-16T00:25:38.175Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-16T00:25:38.175Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-16T00:25:38.175Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-16T00:25:38.175Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-16T00:25:38.175Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-16T00:25:38.175Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-16T00:25:38.672Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-16T00:25:38.934Z] [2022-09-16T00:25:38.934Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-16T00:25:39.315Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-16T00:25:39.577Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-16T00:25:39.577Z] b85a868b505f: Pulling fs layer [2022-09-16T00:25:39.577Z] e2be974225ed: Pulling fs layer [2022-09-16T00:25:39.577Z] 339a4e72a1f5: Pulling fs layer [2022-09-16T00:25:39.577Z] 988bab9f4d93: Pulling fs layer [2022-09-16T00:25:39.577Z] 1469e6f7b9e6: Pulling fs layer [2022-09-16T00:25:39.577Z] eaf3925da568: Pulling fs layer [2022-09-16T00:25:39.577Z] bab4dde63d76: Pulling fs layer [2022-09-16T00:25:39.577Z] bde34c3a00c8: Pulling fs layer [2022-09-16T00:25:39.577Z] b352a97aabf1: Pulling fs layer [2022-09-16T00:25:39.577Z] 4872d77fe225: Pulling fs layer [2022-09-16T00:25:39.577Z] 5851b861e8e6: Pulling fs layer [2022-09-16T00:25:39.577Z] bab4dde63d76: Waiting [2022-09-16T00:25:39.577Z] bde34c3a00c8: Waiting [2022-09-16T00:25:39.577Z] 4872d77fe225: Waiting [2022-09-16T00:25:39.577Z] b352a97aabf1: Waiting [2022-09-16T00:25:39.577Z] 5851b861e8e6: Waiting [2022-09-16T00:25:39.577Z] 1469e6f7b9e6: Waiting [2022-09-16T00:25:39.577Z] 988bab9f4d93: Waiting [2022-09-16T00:25:39.577Z] eaf3925da568: Waiting [2022-09-16T00:25:39.577Z] e2be974225ed: Download complete [2022-09-16T00:25:39.577Z] 1469e6f7b9e6: Verifying Checksum [2022-09-16T00:25:39.577Z] 1469e6f7b9e6: Download complete [2022-09-16T00:25:39.577Z] 339a4e72a1f5: Verifying Checksum [2022-09-16T00:25:39.577Z] 339a4e72a1f5: Download complete [2022-09-16T00:25:39.577Z] eaf3925da568: Verifying Checksum [2022-09-16T00:25:39.577Z] eaf3925da568: Download complete [2022-09-16T00:25:39.838Z] bde34c3a00c8: Download complete [2022-09-16T00:25:39.838Z] b352a97aabf1: Verifying Checksum [2022-09-16T00:25:39.838Z] b352a97aabf1: Download complete [2022-09-16T00:25:39.838Z] 4872d77fe225: Verifying Checksum [2022-09-16T00:25:39.838Z] 4872d77fe225: Download complete [2022-09-16T00:25:39.838Z] 5851b861e8e6: Verifying Checksum [2022-09-16T00:25:39.838Z] 5851b861e8e6: Download complete [2022-09-16T00:25:39.838Z] b85a868b505f: Verifying Checksum [2022-09-16T00:25:39.838Z] b85a868b505f: Download complete [2022-09-16T00:25:40.097Z] bab4dde63d76: Verifying Checksum [2022-09-16T00:25:40.097Z] bab4dde63d76: Download complete [2022-09-16T00:25:41.033Z] b85a868b505f: Pull complete [2022-09-16T00:25:41.293Z] e2be974225ed: Pull complete [2022-09-16T00:25:41.865Z] 339a4e72a1f5: Pull complete [2022-09-16T00:25:41.865Z] 988bab9f4d93: Pull complete [2022-09-16T00:25:42.127Z] 1469e6f7b9e6: Pull complete [2022-09-16T00:25:42.127Z] eaf3925da568: Pull complete [2022-09-16T00:25:44.047Z] bab4dde63d76: Pull complete [2022-09-16T00:25:44.047Z] bde34c3a00c8: Pull complete [2022-09-16T00:25:44.047Z] b352a97aabf1: Pull complete [2022-09-16T00:25:44.047Z] 4872d77fe225: Pull complete [2022-09-16T00:25:44.047Z] 5851b861e8e6: Pull complete [2022-09-16T00:25:44.047Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-16T00:25:44.047Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-16T00:25:44.047Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-16T00:25:44.275Z] prd-ubuntu20.04-docker-8c-8g-29645 does not seem to be running inside a container [2022-09-16T00:25:44.323Z] $ 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 [2022-09-16T00:25:46.086Z] $ docker top cb5008caf4014040323fa5d39ff9bdb7a87cfebe74e02cfc67dcf48611d82f9c -eo pid,comm [2022-09-16T00:25:46.156Z] 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). [2022-09-16T00:25:46.156Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-16T00:25:46.283Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-16T00:25:46.283Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-16T00:25:46.399Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-16T00:25:46.404Z] $ docker exec cb5008caf4014040323fa5d39ff9bdb7a87cfebe74e02cfc67dcf48611d82f9c ssh-agent [2022-09-16T00:25:46.526Z] SSH_AUTH_SOCK=/tmp/ssh-YS83m6YCIHYc/agent.32 [2022-09-16T00:25:46.526Z] SSH_AGENT_PID=39 [2022-09-16T00:25:46.532Z] Running ssh-add (command line suppressed) [2022-09-16T00:25:46.652Z] 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) [2022-09-16T00:25:46.667Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-16T00:25:47.003Z] + git tag --points-at HEAD [Pipeline] } [2022-09-16T00:25:47.028Z] $ docker exec --env ******** --env ******** cb5008caf4014040323fa5d39ff9bdb7a87cfebe74e02cfc67dcf48611d82f9c ssh-agent -k [2022-09-16T00:25:47.141Z] unset SSH_AUTH_SOCK; [2022-09-16T00:25:47.142Z] unset SSH_AGENT_PID; [2022-09-16T00:25:47.142Z] echo Agent pid 39 killed; [2022-09-16T00:25:47.152Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-16T00:25:47.239Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-16T00:25:47.239Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-16T00:25:47.356Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-16T00:25:47.360Z] $ docker exec cb5008caf4014040323fa5d39ff9bdb7a87cfebe74e02cfc67dcf48611d82f9c ssh-agent [2022-09-16T00:25:47.476Z] SSH_AUTH_SOCK=/tmp/ssh-biHLYuKpJvmG/agent.72 [2022-09-16T00:25:47.476Z] SSH_AGENT_PID=78 [2022-09-16T00:25:47.481Z] Running ssh-add (command line suppressed) [2022-09-16T00:25:47.596Z] 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) [2022-09-16T00:25:47.610Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-16T00:25:47.941Z] + git semver init [2022-09-16T00:25:48.207Z] 2022-09-16 00:25:48,192 [run_init] DEBUG init version:0.0.0 force:False [2022-09-16T00:25:48.207Z] 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 [2022-09-16T00:25:48.207Z] 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 [2022-09-16T00:25:48.207Z] 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) [2022-09-16T00:25:50.122Z] 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 [2022-09-16T00:25:50.122Z] 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 [2022-09-16T00:25:50.122Z] 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 [2022-09-16T00:25:50.122Z] 2022-09-16 00:25:49,724 [execute] INFO git cat-file --batch-check [2022-09-16T00:25:50.122Z] 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=) [2022-09-16T00:25:50.122Z] 2022-09-16 00:25:49,731 [execute] INFO git cat-file --batch [2022-09-16T00:25:50.122Z] 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=) [2022-09-16T00:25:50.122Z] 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 [2022-09-16T00:25:50.122Z] 0.0.0 [Pipeline] } [2022-09-16T00:25:50.148Z] $ docker exec --env ******** --env ******** cb5008caf4014040323fa5d39ff9bdb7a87cfebe74e02cfc67dcf48611d82f9c ssh-agent -k [2022-09-16T00:25:50.262Z] unset SSH_AUTH_SOCK; [2022-09-16T00:25:50.262Z] unset SSH_AGENT_PID; [2022-09-16T00:25:50.263Z] echo Agent pid 78 killed; [2022-09-16T00:25:50.270Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-16T00:25:50.701Z] + git semver [Pipeline] } [2022-09-16T00:25:50.987Z] $ docker stop --time=1 cb5008caf4014040323fa5d39ff9bdb7a87cfebe74e02cfc67dcf48611d82f9c [2022-09-16T00:25:52.292Z] $ docker rm -f cb5008caf4014040323fa5d39ff9bdb7a87cfebe74e02cfc67dcf48611d82f9c [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-16T00:25:52.709Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-16T00:25:53.011Z] Stashed 1 file(s) [Pipeline] echo [2022-09-16T00:25:53.027Z] [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 [2022-09-16T00:25:53.715Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-16T00:25:53.747Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-16T00:25:53.789Z] ========================================================= [2022-09-16T00:25:53.789Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-16T00:25:53.789Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-09-16T00:25:54.188Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-16T00:25:54.188Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-16T00:25:54.188Z] 2408cc74d12b: Pulling fs layer [2022-09-16T00:25:54.188Z] ea60b727a1ce: Pulling fs layer [2022-09-16T00:25:54.188Z] 30c4a7721957: Pulling fs layer [2022-09-16T00:25:54.188Z] 370296b7ddb6: Pulling fs layer [2022-09-16T00:25:54.188Z] 7c6cee850709: Pulling fs layer [2022-09-16T00:25:54.188Z] 39a5fcdaea64: Pulling fs layer [2022-09-16T00:25:54.188Z] d94ebbe4e438: Pulling fs layer [2022-09-16T00:25:54.188Z] bcfd1f05c69d: Pulling fs layer [2022-09-16T00:25:54.188Z] 59ccb84bbe0f: Pulling fs layer [2022-09-16T00:25:54.188Z] 7c6cee850709: Waiting [2022-09-16T00:25:54.188Z] d94ebbe4e438: Waiting [2022-09-16T00:25:54.188Z] 39a5fcdaea64: Waiting [2022-09-16T00:25:54.188Z] 370296b7ddb6: Waiting [2022-09-16T00:25:54.188Z] bcfd1f05c69d: Waiting [2022-09-16T00:25:54.188Z] 59ccb84bbe0f: Waiting [2022-09-16T00:25:54.188Z] 30c4a7721957: Download complete [2022-09-16T00:25:54.188Z] ea60b727a1ce: Verifying Checksum [2022-09-16T00:25:54.188Z] ea60b727a1ce: Download complete [2022-09-16T00:25:54.188Z] 7c6cee850709: Verifying Checksum [2022-09-16T00:25:54.188Z] 7c6cee850709: Download complete [2022-09-16T00:25:54.188Z] 39a5fcdaea64: Download complete [2022-09-16T00:25:54.188Z] 2408cc74d12b: Verifying Checksum [2022-09-16T00:25:54.188Z] 2408cc74d12b: Download complete [2022-09-16T00:25:54.188Z] d94ebbe4e438: Download complete [2022-09-16T00:25:54.455Z] 2408cc74d12b: Pull complete [2022-09-16T00:25:54.729Z] ea60b727a1ce: Pull complete [2022-09-16T00:25:54.729Z] 30c4a7721957: Pull complete [2022-09-16T00:25:55.007Z] bcfd1f05c69d: Verifying Checksum [2022-09-16T00:25:55.007Z] bcfd1f05c69d: Download complete [2022-09-16T00:25:55.271Z] 59ccb84bbe0f: Download complete [2022-09-16T00:25:55.531Z] 370296b7ddb6: Verifying Checksum [2022-09-16T00:25:55.531Z] 370296b7ddb6: Download complete [2022-09-16T00:25:59.732Z] 370296b7ddb6: Pull complete [2022-09-16T00:25:59.732Z] 7c6cee850709: Pull complete [2022-09-16T00:25:59.732Z] 39a5fcdaea64: Pull complete [2022-09-16T00:25:59.732Z] d94ebbe4e438: Pull complete [2022-09-16T00:26:01.643Z] bcfd1f05c69d: Pull complete [2022-09-16T00:26:02.213Z] 59ccb84bbe0f: Pull complete [2022-09-16T00:26:02.213Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-16T00:26:02.213Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-16T00:26:02.213Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] sh [2022-09-16T00:26:02.531Z] + 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 [2022-09-16T00:26:02.909Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-16T00:26:02.909Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-16T00:26:03.064Z] prd-ubuntu20.04-docker-8c-8g-29645 does not seem to be running inside a container [2022-09-16T00:26:03.101Z] $ 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 [2022-09-16T00:26:06.293Z] $ docker top b8f7da2632206ff9e826e9d0037ab9c07269d74b703aeb65c246ef4ad48de899 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-16T00:26:06.696Z] + go version [2022-09-16T00:26:06.696Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-16T00:26:06.731Z] $ docker stop --time=1 b8f7da2632206ff9e826e9d0037ab9c07269d74b703aeb65c246ef4ad48de899 [2022-09-16T00:26:07.985Z] $ 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 [2022-09-16T00:26:08.537Z] Still waiting to schedule task [2022-09-16T00:26:08.537Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-29643’ [2022-09-16T00:26:08.732Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-16T00:26:08.732Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-16T00:26:08.887Z] prd-ubuntu20.04-docker-8c-8g-29645 does not seem to be running inside a container [2022-09-16T00:26:08.921Z] $ 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 [2022-09-16T00:26:09.260Z] $ docker top 5c08ae6b9fb6256c6628cacc54d0fef972772de758e199ae23ac09f62a8eba27 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-16T00:26:09.673Z] + git config --global --add safe.directory /w/workspace/dry_app-functions-sdk-go_PR-1170 [Pipeline] fileExists [Pipeline] sh [2022-09-16T00:26:10.038Z] + make test [2022-09-16T00:26:10.038Z] make -C ./app-service-template build [2022-09-16T00:26:10.038Z] make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1170/app-service-template' [2022-09-16T00:26:10.038Z] go mod tidy [2022-09-16T00:26:10.038Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 [2022-09-16T00:26:10.038Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 [2022-09-16T00:26:10.038Z] go: downloading github.com/google/uuid v1.3.0 [2022-09-16T00:26:10.038Z] go: downloading github.com/stretchr/testify v1.8.0 [2022-09-16T00:26:10.038Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.1-dev.5 [2022-09-16T00:26:10.298Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.1-dev.8 [2022-09-16T00:26:10.298Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 [2022-09-16T00:26:10.298Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.3 [2022-09-16T00:26:10.298Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 [2022-09-16T00:26:10.558Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-09-16T00:26:10.558Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-09-16T00:26:10.558Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-09-16T00:26:10.558Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-09-16T00:26:10.558Z] go: downloading github.com/stretchr/objx v0.4.0 [2022-09-16T00:26:10.558Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2022-09-16T00:26:10.558Z] go: downloading github.com/go-kit/log v0.2.0 [2022-09-16T00:26:10.558Z] go: downloading github.com/go-playground/validator/v10 v10.10.1 [2022-09-16T00:26:10.558Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-09-16T00:26:10.558Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-09-16T00:26:10.558Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-09-16T00:26:10.558Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-09-16T00:26:10.558Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2022-09-16T00:26:10.558Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2022-09-16T00:26:10.558Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 [2022-09-16T00:26:10.558Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.1-dev.1 [2022-09-16T00:26:10.558Z] go: downloading github.com/pelletier/go-toml v1.9.5 [2022-09-16T00:26:10.825Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-09-16T00:26:10.825Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-09-16T00:26:10.825Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-09-16T00:26:10.825Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-09-16T00:26:10.825Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-09-16T00:26:10.825Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-09-16T00:26:10.825Z] go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 [2022-09-16T00:26:10.825Z] go: downloading golang.org/x/text v0.3.7 [2022-09-16T00:26:10.825Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-09-16T00:26:11.086Z] go: downloading github.com/x448/float16 v0.8.4 [2022-09-16T00:26:11.086Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-09-16T00:26:11.345Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.1.0 [2022-09-16T00:26:11.605Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-09-16T00:26:11.605Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-09-16T00:26:11.605Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-09-16T00:26:11.605Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-09-16T00:26:11.605Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-09-16T00:26:11.865Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-09-16T00:26:11.865Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-09-16T00:26:11.865Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-09-16T00:26:11.865Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-09-16T00:26:11.865Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-09-16T00:26:11.865Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-09-16T00:26:11.865Z] go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 [2022-09-16T00:26:11.865Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-09-16T00:26:11.865Z] go: downloading github.com/Microsoft/go-winio v0.5.2 [2022-09-16T00:26:11.865Z] go: downloading github.com/zeebo/errs v1.2.2 [2022-09-16T00:26:11.865Z] go: downloading google.golang.org/grpc v1.46.0 [2022-09-16T00:26:11.865Z] go: downloading github.com/kr/pretty v0.3.0 [2022-09-16T00:26:11.865Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-09-16T00:26:11.865Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-09-16T00:26:12.124Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-09-16T00:26:12.124Z] go: downloading github.com/fatih/color v1.9.0 [2022-09-16T00:26:12.124Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-09-16T00:26:12.124Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-09-16T00:26:12.124Z] go: downloading gopkg.in/square/go-jose.v2 v2.4.1 [2022-09-16T00:26:12.124Z] go: downloading github.com/pkg/errors v0.9.1 [2022-09-16T00:26:12.124Z] go: downloading google.golang.org/protobuf v1.28.0 [2022-09-16T00:26:12.124Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-09-16T00:26:12.124Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-09-16T00:26:12.124Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-09-16T00:26:12.124Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-09-16T00:26:12.124Z] go: downloading github.com/kr/text v0.2.0 [2022-09-16T00:26:12.124Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-09-16T00:26:12.124Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-09-16T00:26:12.124Z] go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa [2022-09-16T00:26:12.124Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-09-16T00:26:12.124Z] go: downloading github.com/google/go-cmp v0.5.6 [2022-09-16T00:26:12.124Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-09-16T00:26:12.385Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-09-16T00:26:12.385Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-09-16T00:26:12.385Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2022-09-16T00:26:12.385Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-09-16T00:26:12.385Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-09-16T00:26:12.385Z] go: downloading github.com/miekg/dns v1.1.26 [2022-09-16T00:26:12.385Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-09-16T00:26:12.385Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-09-16T00:26:12.385Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-09-16T00:26:12.385Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 [2022-09-16T00:26:12.385Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2022-09-16T00:26:14.928Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.3.0-dev.16 [2022-09-16T00:26:14.929Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.3.0-dev.15 [2022-09-16T00:26:14.929Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.4 [2022-09-16T00:26:14.929Z] go: downloading golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e [2022-09-16T00:26:14.929Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.3.0-dev.7 [2022-09-16T00:26:14.929Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.1.1 [2022-09-16T00:26:14.929Z] go: downloading github.com/nats-io/nats.go v1.16.0 [2022-09-16T00:26:14.929Z] go: downloading github.com/mitchellh/mapstructure v1.5.0 [2022-09-16T00:26:14.929Z] go: downloading github.com/mattn/go-colorable v0.1.12 [2022-09-16T00:26:14.929Z] go: downloading github.com/mattn/go-isatty v0.0.14 [2022-09-16T00:26:14.929Z] go: downloading golang.org/x/sys v0.0.0-20220610221304-9f5ed59c137d [2022-09-16T00:26:14.929Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2022-09-16T00:26:15.191Z] go: downloading github.com/nats-io/nkeys v0.3.0 [2022-09-16T00:26:15.191Z] go: downloading github.com/nats-io/nats-server/v2 v2.7.4 [2022-09-16T00:26:15.191Z] go: downloading github.com/nats-io/nuid v1.0.1 [2022-09-16T00:26:15.453Z] go: downloading github.com/nats-io/jwt/v2 v2.3.0 [2022-09-16T00:26:15.453Z] go: downloading github.com/minio/highwayhash v1.0.2 [2022-09-16T00:26:15.453Z] go: downloading github.com/klauspost/compress v1.15.9 [2022-09-16T00:26:15.453Z] go: downloading golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 [2022-09-16T00:26:16.838Z] 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 [2022-09-16T00:26:34.991Z] make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1170/app-service-template' [2022-09-16T00:26:34.991Z] make -C ./app-service-template test [2022-09-16T00:26:34.991Z] make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1170/app-service-template' [2022-09-16T00:26:34.991Z] CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... [2022-09-16T00:26:53.172Z] # new-app-service [new-app-service.test] [2022-09-16T00:26:53.172Z] ./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: [2022-09-16T00:26:53.172Z] *mocks.ApplicationService does not implement "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService (missing SecretProvider method) [2022-09-16T00:26:53.172Z] ./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: [2022-09-16T00:26:53.172Z] *mocks.ApplicationService does not implement "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService (missing SecretProvider method) [2022-09-16T00:26:53.172Z] ./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: [2022-09-16T00:26:53.172Z] *mocks.ApplicationService does not implement "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService (missing SecretProvider method) [2022-09-16T00:26:53.172Z] ./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: [2022-09-16T00:26:53.172Z] *mocks.ApplicationService does not implement "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService (missing SecretProvider method) [2022-09-16T00:26:53.172Z] FAIL new-app-service [build failed] [2022-09-16T00:26:53.172Z] ? new-app-service/config [no test files] [2022-09-16T00:26:53.172Z] ok new-app-service/functions 0.048s [2022-09-16T00:26:53.172Z] FAIL [2022-09-16T00:26:53.172Z] make[1]: *** [Makefile:71: test] Error 2 [2022-09-16T00:26:53.172Z] make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1170/app-service-template' [2022-09-16T00:26:53.172Z] make: *** [Makefile:36: test-template] Error 2 [Pipeline] } [2022-09-16T00:26:53.215Z] $ docker stop --time=1 5c08ae6b9fb6256c6628cacc54d0fef972772de758e199ae23ac09f62a8eba27 [2022-09-16T00:26:56.607Z] $ 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 [2022-09-16T00:26:58.073Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-16T00:26:58.073Z] [2022-09-16T00:26:58.073Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-16T00:26:58.442Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-16T00:26:58.442Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-16T00:26:58.442Z] 5eb5b503b376: Pulling fs layer [2022-09-16T00:26:58.442Z] 5c69ac0246d0: Pulling fs layer [2022-09-16T00:26:58.442Z] ec43610c2a17: Pulling fs layer [2022-09-16T00:26:58.442Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-16T00:26:58.442Z] 33b1e0a273af: Pulling fs layer [2022-09-16T00:26:58.442Z] 5d3b04190fa2: Pulling fs layer [2022-09-16T00:26:58.442Z] 2f39f015ded8: Pulling fs layer [2022-09-16T00:26:58.442Z] 33b1e0a273af: Waiting [2022-09-16T00:26:58.442Z] 3a2ae6a8a46f: Waiting [2022-09-16T00:26:58.442Z] 2f39f015ded8: Waiting [2022-09-16T00:26:58.442Z] 5d3b04190fa2: Waiting [2022-09-16T00:26:58.442Z] 5c69ac0246d0: Verifying Checksum [2022-09-16T00:26:58.442Z] 5c69ac0246d0: Download complete [2022-09-16T00:26:58.442Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-16T00:26:58.442Z] 3a2ae6a8a46f: Download complete [2022-09-16T00:26:58.703Z] ec43610c2a17: Verifying Checksum [2022-09-16T00:26:58.703Z] ec43610c2a17: Download complete [2022-09-16T00:26:58.703Z] 33b1e0a273af: Verifying Checksum [2022-09-16T00:26:58.703Z] 33b1e0a273af: Download complete [2022-09-16T00:26:58.703Z] 5d3b04190fa2: Verifying Checksum [2022-09-16T00:26:58.703Z] 5d3b04190fa2: Download complete [2022-09-16T00:26:58.703Z] 5eb5b503b376: Verifying Checksum [2022-09-16T00:26:58.703Z] 5eb5b503b376: Download complete [2022-09-16T00:26:59.646Z] 2f39f015ded8: Download complete [2022-09-16T00:27:00.216Z] 5eb5b503b376: Pull complete [2022-09-16T00:27:00.216Z] 5c69ac0246d0: Pull complete [2022-09-16T00:27:00.784Z] ec43610c2a17: Pull complete [2022-09-16T00:27:00.785Z] 3a2ae6a8a46f: Pull complete [2022-09-16T00:27:01.044Z] 33b1e0a273af: Pull complete [2022-09-16T00:27:01.044Z] 5d3b04190fa2: Pull complete [2022-09-16T00:27:05.244Z] 2f39f015ded8: Pull complete [2022-09-16T00:27:05.244Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-16T00:27:05.244Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-16T00:27:05.244Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-16T00:27:05.471Z] prd-ubuntu20.04-docker-8c-8g-29645 does not seem to be running inside a container [2022-09-16T00:27:05.509Z] $ 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 [2022-09-16T00:27:07.729Z] $ docker top 40212ee71b76f8a07369ada5c830fcf6d27006e4cd2209abaee886834d5ecab2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-16T00:27:08.200Z] ---> job-cost.sh [2022-09-16T00:27:08.201Z] lf-activate-venv: SKIPPING [2022-09-16T00:27:08.201Z] INFO: No Stack... [2022-09-16T00:27:08.462Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-16T00:27:09.032Z] INFO: Archiving Costs [Pipeline] sh [2022-09-16T00:27:09.347Z] + cat /w/workspace/dry_app-functions-sdk-go_PR-1170/archives/cost.csv [2022-09-16T00:27:09.347Z] + cut -d, -f6 [Pipeline] lock [2022-09-16T00:27:09.389Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1170-1-stack-cost] [2022-09-16T00:27:09.395Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1170-1-stack-cost] did not exist. Created. [2022-09-16T00:27:09.395Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1170-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-16T00:27:09.828Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-16T00:27:09.891Z] Stashed 1 file(s) [Pipeline] } [2022-09-16T00:27:09.905Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1170-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-16T00:27:09.983Z] $ docker stop --time=1 40212ee71b76f8a07369ada5c830fcf6d27006e4cd2209abaee886834d5ecab2 [2022-09-16T00:27:11.136Z] $ docker rm -f 40212ee71b76f8a07369ada5c830fcf6d27006e4cd2209abaee886834d5ecab2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-16T00:27:11.493Z] Failed in branch amd64 [2022-09-16T00:29:48.274Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-29646 in /w/workspace/dry_app-functions-sdk-go_PR-1170 [Pipeline] { [Pipeline] ws [2022-09-16T00:29:48.316Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-09-16T00:29:48.398Z] The recommended git tool is: git [2022-09-16T00:29:55.020Z] using credential edgex-jenkins-ssh [2022-09-16T00:29:55.038Z] Cloning the remote Git repository [2022-09-16T00:29:55.093Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2022-09-16T00:29:55.168Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2022-09-16T00:29:55.269Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2022-09-16T00:29:55.270Z] > git --version # timeout=10 [2022-09-16T00:29:55.293Z] > git --version # 'git version 2.25.1' [2022-09-16T00:29:55.295Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-16T00:29:55.365Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-16T00:29:58.714Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2022-09-16T00:29:58.729Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-16T00:29:58.755Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2022-09-16T00:29:58.788Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2022-09-16T00:29:58.789Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-16T00:29:58.801Z] > 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 [2022-09-16T00:29:59.477Z] Merging remotes/origin/main commit 13abfa2698cd52a2477568cb7b4d2c1cae4fd3a0 into PR head commit e0a333df8c4243d3624ddb30a589780c9f023650 [2022-09-16T00:29:59.714Z] Merge succeeded, producing e0a333df8c4243d3624ddb30a589780c9f023650 [2022-09-16T00:29:59.714Z] Checking out Revision e0a333df8c4243d3624ddb30a589780c9f023650 (PR-1170) [2022-09-16T00:29:59.493Z] > git config core.sparsecheckout # timeout=10 [2022-09-16T00:29:59.508Z] > git checkout -f e0a333df8c4243d3624ddb30a589780c9f023650 # timeout=10 [2022-09-16T00:29:59.625Z] > git remote # timeout=10 [2022-09-16T00:29:59.645Z] > git config --get remote.origin.url # timeout=10 [2022-09-16T00:29:59.659Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-16T00:29:59.670Z] > git merge 13abfa2698cd52a2477568cb7b4d2c1cae4fd3a0 # timeout=10 [2022-09-16T00:29:59.692Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-16T00:29:59.720Z] > git config core.sparsecheckout # timeout=10 [2022-09-16T00:29:59.734Z] > git checkout -f e0a333df8c4243d3624ddb30a589780c9f023650 # timeout=10 [2022-09-16T00:30:03.884Z] Commit message: "feat: Expose SecretProvider so new APIs are accessible" [2022-09-16T00:30:03.934Z] > git --version # timeout=10 [2022-09-16T00:30:03.946Z] > git --version # 'git version 2.25.1' [2022-09-16T00:30:03.961Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-16T00:30:05.231Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-16T00:30:05.231Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-16T00:30:05.231Z] Dload Upload Total Spent Left Speed [2022-09-16T00:30:05.231Z] 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 [2022-09-16T00:30:05.870Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-16T00:30:06.305Z] + sudo tee /etc/docker/daemon.new [2022-09-16T00:30:06.305Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-16T00:30:06.305Z] { [2022-09-16T00:30:06.305Z] "registry-mirrors": [ [2022-09-16T00:30:06.305Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-16T00:30:06.305Z] ], [2022-09-16T00:30:06.305Z] "bip": "10.250.0.254/24", [2022-09-16T00:30:06.305Z] "hosts": [ [2022-09-16T00:30:06.305Z] "tcp://0.0.0.0:5555", [2022-09-16T00:30:06.305Z] "unix:///var/run/docker.sock" [2022-09-16T00:30:06.305Z] ], [2022-09-16T00:30:06.305Z] "mtu": 1458, [2022-09-16T00:30:06.305Z] "selinux-enabled": true, [2022-09-16T00:30:06.305Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-16T00:30:06.305Z] } [Pipeline] sh [2022-09-16T00:30:06.660Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-16T00:30:07.007Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2022-09-16T00:30:25.780Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-16T00:30:25.817Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-16T00:30:25.851Z] ========================================================= [2022-09-16T00:30:25.851Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-16T00:30:25.851Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-09-16T00:30:26.275Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-16T00:30:26.873Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-16T00:30:26.873Z] b3c136eddcbf: Pulling fs layer [2022-09-16T00:30:26.873Z] c0a3192eca97: Pulling fs layer [2022-09-16T00:30:26.873Z] a050256f5b6f: Pulling fs layer [2022-09-16T00:30:26.873Z] 656be50a0ddc: Pulling fs layer [2022-09-16T00:30:26.873Z] 2bbca73fdf42: Pulling fs layer [2022-09-16T00:30:26.873Z] 46d945488cbd: Pulling fs layer [2022-09-16T00:30:26.873Z] 8a5474983e97: Pulling fs layer [2022-09-16T00:30:26.873Z] 329c88fbcd65: Pulling fs layer [2022-09-16T00:30:26.873Z] 656be50a0ddc: Waiting [2022-09-16T00:30:26.873Z] 2bbca73fdf42: Waiting [2022-09-16T00:30:26.873Z] 46d945488cbd: Waiting [2022-09-16T00:30:26.873Z] 8a5474983e97: Waiting [2022-09-16T00:30:26.873Z] 329c88fbcd65: Waiting [2022-09-16T00:30:26.873Z] c0a3192eca97: Verifying Checksum [2022-09-16T00:30:26.873Z] c0a3192eca97: Download complete [2022-09-16T00:30:26.873Z] 2bbca73fdf42: Verifying Checksum [2022-09-16T00:30:26.873Z] 2bbca73fdf42: Download complete [2022-09-16T00:30:26.873Z] 46d945488cbd: Download complete [2022-09-16T00:30:27.156Z] b3c136eddcbf: Verifying Checksum [2022-09-16T00:30:27.156Z] b3c136eddcbf: Download complete [2022-09-16T00:30:28.191Z] b3c136eddcbf: Pull complete [2022-09-16T00:30:28.191Z] 329c88fbcd65: Verifying Checksum [2022-09-16T00:30:28.191Z] 329c88fbcd65: Download complete [2022-09-16T00:30:28.477Z] c0a3192eca97: Pull complete [2022-09-16T00:30:28.766Z] a050256f5b6f: Pull complete [2022-09-16T00:30:29.363Z] 8a5474983e97: Verifying Checksum [2022-09-16T00:30:29.364Z] 8a5474983e97: Download complete [2022-09-16T00:30:29.964Z] 656be50a0ddc: Verifying Checksum [2022-09-16T00:30:29.964Z] 656be50a0ddc: Download complete [2022-09-16T00:30:45.075Z] 656be50a0ddc: Pull complete [2022-09-16T00:30:45.075Z] 2bbca73fdf42: Pull complete [2022-09-16T00:30:45.075Z] 46d945488cbd: Pull complete [2022-09-16T00:30:49.383Z] 8a5474983e97: Pull complete [2022-09-16T00:30:51.368Z] 329c88fbcd65: Pull complete [2022-09-16T00:30:51.368Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-16T00:30:51.368Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-16T00:30:51.368Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] sh [2022-09-16T00:30:51.720Z] + 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 [2022-09-16T00:30:52.146Z] + docker inspect -f . ci-base-image-arm64 [2022-09-16T00:30:52.146Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-16T00:30:52.446Z] prd-ubuntu20.04-docker-arm64-4c-16g-29646 does not seem to be running inside a container [2022-09-16T00:30:52.555Z] $ 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 [2022-09-16T00:30:55.753Z] $ docker top 0c11e126714dba85671d3e32c3e074cd612a2568e554bed667b2446a44541fe8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-16T00:30:56.735Z] + go version [2022-09-16T00:30:56.735Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-16T00:30:56.791Z] $ docker stop --time=1 0c11e126714dba85671d3e32c3e074cd612a2568e554bed667b2446a44541fe8 [2022-09-16T00:30:58.486Z] $ 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 [2022-09-16T00:30:59.414Z] + docker inspect -f . ci-base-image-arm64 [2022-09-16T00:30:59.414Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-16T00:30:59.723Z] prd-ubuntu20.04-docker-arm64-4c-16g-29646 does not seem to be running inside a container [2022-09-16T00:30:59.812Z] $ 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 [2022-09-16T00:31:01.105Z] $ docker top 1194b939918fb7b3edfb6ec6eba40c4f90dd9c2a2860532b9693aaca7088d984 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-16T00:31:02.061Z] + git config --global --add safe.directory /w/workspace/app-functions-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-09-16T00:31:02.803Z] + make test [2022-09-16T00:31:02.803Z] make -C ./app-service-template build [2022-09-16T00:31:02.803Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2022-09-16T00:31:02.803Z] go mod tidy [2022-09-16T00:31:02.803Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 [2022-09-16T00:31:02.803Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 [2022-09-16T00:31:03.079Z] go: downloading github.com/google/uuid v1.3.0 [2022-09-16T00:31:03.079Z] go: downloading github.com/stretchr/testify v1.8.0 [2022-09-16T00:31:03.079Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.1-dev.5 [2022-09-16T00:31:03.079Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.1-dev.8 [2022-09-16T00:31:03.079Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 [2022-09-16T00:31:03.357Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-09-16T00:31:03.357Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-09-16T00:31:03.357Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2022-09-16T00:31:03.357Z] go: downloading github.com/go-playground/validator/v10 v10.10.1 [2022-09-16T00:31:03.357Z] go: downloading github.com/go-kit/log v0.2.0 [2022-09-16T00:31:03.357Z] go: downloading github.com/stretchr/objx v0.4.0 [2022-09-16T00:31:03.357Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.3 [2022-09-16T00:31:03.357Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 [2022-09-16T00:31:03.630Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.1-dev.1 [2022-09-16T00:31:03.630Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-09-16T00:31:03.630Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-09-16T00:31:03.630Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 [2022-09-16T00:31:03.630Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-09-16T00:31:03.630Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-09-16T00:31:03.630Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-09-16T00:31:03.630Z] go: downloading github.com/pelletier/go-toml v1.9.5 [2022-09-16T00:31:03.630Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-09-16T00:31:03.906Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-09-16T00:31:03.906Z] go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 [2022-09-16T00:31:03.906Z] go: downloading golang.org/x/text v0.3.7 [2022-09-16T00:31:04.514Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-09-16T00:31:05.113Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-09-16T00:31:05.113Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-09-16T00:31:06.561Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2022-09-16T00:31:06.561Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-09-16T00:31:06.836Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-09-16T00:31:07.112Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2022-09-16T00:31:07.112Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-09-16T00:31:07.112Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.1.0 [2022-09-16T00:31:07.390Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-09-16T00:31:07.390Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-09-16T00:31:07.390Z] go: downloading github.com/x448/float16 v0.8.4 [2022-09-16T00:31:07.390Z] go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 [2022-09-16T00:31:07.692Z] go: downloading github.com/kr/pretty v0.3.0 [2022-09-16T00:31:07.692Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-09-16T00:31:07.692Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-09-16T00:31:07.692Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-09-16T00:31:07.692Z] go: downloading github.com/Microsoft/go-winio v0.5.2 [2022-09-16T00:31:07.692Z] go: downloading github.com/zeebo/errs v1.2.2 [2022-09-16T00:31:07.692Z] go: downloading google.golang.org/grpc v1.46.0 [2022-09-16T00:31:08.673Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-09-16T00:31:08.673Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-09-16T00:31:08.673Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-09-16T00:31:08.673Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-09-16T00:31:08.950Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-09-16T00:31:08.950Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-09-16T00:31:08.950Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-09-16T00:31:08.950Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-09-16T00:31:08.950Z] go: downloading github.com/kr/text v0.2.0 [2022-09-16T00:31:08.950Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-09-16T00:31:08.950Z] go: downloading gopkg.in/square/go-jose.v2 v2.4.1 [2022-09-16T00:31:08.950Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-09-16T00:31:09.226Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-09-16T00:31:09.226Z] go: downloading google.golang.org/protobuf v1.28.0 [2022-09-16T00:31:09.226Z] go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa [2022-09-16T00:31:09.824Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-09-16T00:31:10.099Z] go: downloading github.com/google/go-cmp v0.5.6 [2022-09-16T00:31:10.099Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-09-16T00:31:10.371Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-09-16T00:31:10.371Z] go: downloading github.com/fatih/color v1.9.0 [2022-09-16T00:31:10.371Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-09-16T00:31:10.371Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-09-16T00:31:10.371Z] go: downloading github.com/pkg/errors v0.9.1 [2022-09-16T00:31:10.371Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-09-16T00:31:10.371Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-09-16T00:31:10.371Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-09-16T00:31:10.647Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-09-16T00:31:10.921Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-09-16T00:31:10.921Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-09-16T00:31:10.921Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-09-16T00:31:10.921Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-09-16T00:31:10.921Z] go: downloading github.com/miekg/dns v1.1.26 [2022-09-16T00:31:11.193Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-09-16T00:31:11.193Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2022-09-16T00:31:11.193Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-09-16T00:31:11.468Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 [2022-09-16T00:31:11.468Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-09-16T00:31:11.468Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-09-16T00:31:11.468Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2022-09-16T00:31:14.855Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.3.0-dev.16 [2022-09-16T00:31:14.855Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.3.0-dev.15 [2022-09-16T00:31:15.156Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.4 [2022-09-16T00:31:15.156Z] go: downloading golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e [2022-09-16T00:31:15.156Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.3.0-dev.7 [2022-09-16T00:31:15.433Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.1.1 [2022-09-16T00:31:15.433Z] go: downloading github.com/mitchellh/mapstructure v1.5.0 [2022-09-16T00:31:15.433Z] go: downloading github.com/nats-io/nats.go v1.16.0 [2022-09-16T00:31:15.708Z] go: downloading github.com/mattn/go-colorable v0.1.12 [2022-09-16T00:31:15.708Z] go: downloading github.com/mattn/go-isatty v0.0.14 [2022-09-16T00:31:15.708Z] go: downloading golang.org/x/sys v0.0.0-20220610221304-9f5ed59c137d [2022-09-16T00:31:15.983Z] go: downloading github.com/nats-io/nkeys v0.3.0 [2022-09-16T00:31:15.983Z] go: downloading github.com/nats-io/nuid v1.0.1 [2022-09-16T00:31:15.983Z] go: downloading github.com/nats-io/nats-server/v2 v2.7.4 [2022-09-16T00:31:16.583Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2022-09-16T00:31:16.857Z] go: downloading github.com/nats-io/jwt/v2 v2.3.0 [2022-09-16T00:31:16.857Z] go: downloading github.com/klauspost/compress v1.15.9 [2022-09-16T00:31:16.857Z] go: downloading github.com/minio/highwayhash v1.0.2 [2022-09-16T00:31:16.857Z] go: downloading golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 [2022-09-16T00:31:19.478Z] 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 [2022-09-16T00:33:26.373Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2022-09-16T00:33:26.373Z] make -C ./app-service-template test [2022-09-16T00:33:26.373Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2022-09-16T00:33:26.373Z] CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... [2022-09-16T00:35:48.272Z] # new-app-service [new-app-service.test] [2022-09-16T00:35:48.272Z] ./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: [2022-09-16T00:35:48.272Z] *mocks.ApplicationService does not implement "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService (missing SecretProvider method) [2022-09-16T00:35:48.272Z] ./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: [2022-09-16T00:35:48.272Z] *mocks.ApplicationService does not implement "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService (missing SecretProvider method) [2022-09-16T00:35:48.272Z] ./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: [2022-09-16T00:35:48.272Z] *mocks.ApplicationService does not implement "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService (missing SecretProvider method) [2022-09-16T00:35:48.272Z] ./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: [2022-09-16T00:35:48.272Z] *mocks.ApplicationService does not implement "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService (missing SecretProvider method) [2022-09-16T00:35:48.272Z] FAIL new-app-service [build failed] [2022-09-16T00:35:48.272Z] ? new-app-service/config [no test files] [2022-09-16T00:35:48.272Z] ok new-app-service/functions 0.197s [2022-09-16T00:35:48.272Z] FAIL [2022-09-16T00:35:48.272Z] make[1]: *** [Makefile:71: test] Error 2 [2022-09-16T00:35:48.272Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2022-09-16T00:35:48.272Z] make: *** [Makefile:36: test-template] Error 2 [Pipeline] } [2022-09-16T00:35:48.315Z] $ docker stop --time=1 1194b939918fb7b3edfb6ec6eba40c4f90dd9c2a2860532b9693aaca7088d984 [2022-09-16T00:35:50.207Z] $ 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 [2022-09-16T00:35:54.738Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-16T00:35:54.738Z] [2022-09-16T00:35:54.738Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-16T00:35:55.156Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-16T00:35:55.437Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-16T00:35:55.437Z] 8998bd30e6a1: Pulling fs layer [2022-09-16T00:35:55.437Z] 04944245beec: Pulling fs layer [2022-09-16T00:35:55.437Z] 699f458cf7ca: Pulling fs layer [2022-09-16T00:35:55.437Z] 765212b225bb: Pulling fs layer [2022-09-16T00:35:55.437Z] f23df028b6ca: Pulling fs layer [2022-09-16T00:35:55.437Z] d65c8cfc05b1: Pulling fs layer [2022-09-16T00:35:55.437Z] 2437ff75d9bd: Pulling fs layer [2022-09-16T00:35:55.437Z] 765212b225bb: Waiting [2022-09-16T00:35:55.437Z] f23df028b6ca: Waiting [2022-09-16T00:35:55.437Z] d65c8cfc05b1: Waiting [2022-09-16T00:35:55.437Z] 2437ff75d9bd: Waiting [2022-09-16T00:35:55.437Z] 04944245beec: Verifying Checksum [2022-09-16T00:35:55.437Z] 04944245beec: Download complete [2022-09-16T00:35:55.437Z] 765212b225bb: Download complete [2022-09-16T00:35:55.437Z] f23df028b6ca: Verifying Checksum [2022-09-16T00:35:55.437Z] f23df028b6ca: Download complete [2022-09-16T00:35:55.437Z] d65c8cfc05b1: Verifying Checksum [2022-09-16T00:35:55.437Z] d65c8cfc05b1: Download complete [2022-09-16T00:35:55.715Z] 699f458cf7ca: Verifying Checksum [2022-09-16T00:35:55.715Z] 699f458cf7ca: Download complete [2022-09-16T00:35:55.996Z] 8998bd30e6a1: Verifying Checksum [2022-09-16T00:35:55.996Z] 8998bd30e6a1: Download complete [2022-09-16T00:35:58.636Z] 2437ff75d9bd: Verifying Checksum [2022-09-16T00:35:58.636Z] 2437ff75d9bd: Download complete [2022-09-16T00:36:00.622Z] 8998bd30e6a1: Pull complete [2022-09-16T00:36:00.902Z] 04944245beec: Pull complete [2022-09-16T00:36:02.343Z] 699f458cf7ca: Pull complete [2022-09-16T00:36:02.619Z] 765212b225bb: Pull complete [2022-09-16T00:36:03.600Z] f23df028b6ca: Pull complete [2022-09-16T00:36:03.600Z] d65c8cfc05b1: Pull complete [2022-09-16T00:36:18.702Z] 2437ff75d9bd: Pull complete [2022-09-16T00:36:18.703Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-16T00:36:18.703Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-16T00:36:18.703Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-16T00:36:19.107Z] prd-ubuntu20.04-docker-arm64-4c-16g-29646 does not seem to be running inside a container [2022-09-16T00:36:19.207Z] $ 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 [2022-09-16T00:36:21.908Z] $ docker top 5e04633401b250a7398be0aa285393bd896ed74ffd037f0489505eca817ac42c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-16T00:36:22.908Z] ---> job-cost.sh [2022-09-16T00:36:22.908Z] lf-activate-venv: SKIPPING [2022-09-16T00:36:22.908Z] INFO: No Stack... [2022-09-16T00:36:23.180Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-16T00:36:24.153Z] INFO: Archiving Costs [Pipeline] sh [2022-09-16T00:36:24.824Z] + + cut -d, -f6 [2022-09-16T00:36:24.824Z] cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv [Pipeline] lock [2022-09-16T00:36:24.878Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1170-1-stack-cost] [2022-09-16T00:36:24.886Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1170-1-stack-cost] did not exist. Created. [2022-09-16T00:36:24.886Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1170-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-16T00:36:25.631Z] /w/workspace/app-functions-sdk-go/1@tmp/durable-239fcfcb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-16T00:36:26.325Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-16T00:36:26.364Z] Warning: overwriting stash ‘stack-cost’ [2022-09-16T00:36:26.821Z] Stashed 1 file(s) [Pipeline] } [2022-09-16T00:36:26.838Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1170-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-16T00:36:26.918Z] $ docker stop --time=1 5e04633401b250a7398be0aa285393bd896ed74ffd037f0489505eca817ac42c [2022-09-16T00:36:28.382Z] $ 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] } [2022-09-16T00:36:29.177Z] 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 [2022-09-16T00:36:31.324Z] + [ -d /w/workspace/dry_app-functions-sdk-go_PR-1170/archives ] [2022-09-16T00:36:31.324Z] + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1170/archives [2022-09-16T00:36:31.324Z] total 16 [2022-09-16T00:36:31.324Z] drwxr-xr-x 3 root root 4096 Sep 16 00:27 . [2022-09-16T00:36:31.324Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 16 00:27 .. [2022-09-16T00:36:31.324Z] drwxr-xr-x 2 root root 4096 Sep 16 00:27 cost [2022-09-16T00:36:31.324Z] -rw-r--r-- 1 root root 93 Sep 16 00:27 cost.csv [2022-09-16T00:36:31.324Z] + sudo chown -R jenkins:jenkins /w/workspace/dry_app-functions-sdk-go_PR-1170/archives [2022-09-16T00:36:31.324Z] + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1170/archives [2022-09-16T00:36:31.324Z] total 16 [2022-09-16T00:36:31.324Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 16 00:27 . [2022-09-16T00:36:31.324Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 16 00:27 .. [2022-09-16T00:36:31.324Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 16 00:27 cost [2022-09-16T00:36:31.324Z] -rw-r--r-- 1 jenkins jenkins 93 Sep 16 00:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-16T00:36:31.665Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-16T00:36:32.625Z] ---> package-listing.sh [2022-09-16T00:36:32.625Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-16T00:36:32.625Z] ++ facter osfamily [2022-09-16T00:36:32.625Z] + OS_FAMILY=debian [2022-09-16T00:36:32.625Z] + workspace=/w/workspace/dry_app-functions-sdk-go_PR-1170 [2022-09-16T00:36:32.625Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-16T00:36:32.625Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-16T00:36:32.625Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-16T00:36:32.625Z] + PACKAGES=/tmp/packages_start.txt [2022-09-16T00:36:32.625Z] + '[' /w/workspace/dry_app-functions-sdk-go_PR-1170 ']' [2022-09-16T00:36:32.625Z] + PACKAGES=/tmp/packages_end.txt [2022-09-16T00:36:32.625Z] + case "${OS_FAMILY}" in [2022-09-16T00:36:32.625Z] + dpkg -l [2022-09-16T00:36:32.625Z] + grep '^ii' [2022-09-16T00:36:32.625Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-16T00:36:32.625Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-16T00:36:32.625Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-16T00:36:32.625Z] + '[' /w/workspace/dry_app-functions-sdk-go_PR-1170 ']' [2022-09-16T00:36:32.625Z] + mkdir -p /w/workspace/dry_app-functions-sdk-go_PR-1170/archives/ [2022-09-16T00:36:32.625Z] + 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 [2022-09-16T00:36:32.944Z] 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 [2022-09-16T00:36:33.238Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-16T00:36:33.863Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-16T00:36:33.863Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-16T00:36:34.016Z] prd-ubuntu20.04-docker-8c-8g-29645 does not seem to be running inside a container [2022-09-16T00:36:34.049Z] $ 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 [2022-09-16T00:36:34.250Z] $ docker top ef43b31feb061b752a34ff9ce3f4204125ac648c4db95d955b3bd4b8c7195da4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-16T00:36:34.652Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-16T00:36:34.961Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-16T00:36:35.270Z] + ls /var/log/sa-host [2022-09-16T00:36:35.270Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-16T00:36:35.502Z] provisioning config files... [2022-09-16T00:36:35.527Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-functions-sdk-go_PR-1170@tmp/config6271576182288303882tmp [Pipeline] { [Pipeline] echo [2022-09-16T00:36:35.566Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-16T00:36:35.885Z] ---> create-netrc.sh [Pipeline] } [2022-09-16T00:36:35.911Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-16T00:36:36.327Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-16T00:36:36.358Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-16T00:36:36.673Z] ---> sudo-logs.sh [2022-09-16T00:36:36.674Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-16T00:36:36.750Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-16T00:36:37.071Z] ---> job-cost.sh [2022-09-16T00:36:37.071Z] lf-activate-venv: SKIPPING [2022-09-16T00:36:37.071Z] DEBUG: total: 0.2199999988079071 [2022-09-16T00:36:37.071Z] INFO: Retrieving Stack Cost... [2022-09-16T00:36:37.332Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-16T00:36:37.903Z] INFO: Archiving Costs [Pipeline] echo [2022-09-16T00:36:37.938Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-16T00:36:38.251Z] ---> logs-deploy.sh [2022-09-16T00:36:38.251Z] lf-activate-venv: SKIPPING [2022-09-16T00:36:38.251Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-1170/1 [2022-09-16T00:36:38.251Z] INFO: archiving workspace using pattern(s): [2022-09-16T00:36:39.193Z] Archives upload complete. [2022-09-16T00:36:39.453Z] INFO: archiving logs to Nexus