Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ee79f075673e0cb5bd207a4f5e740d8162669990 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-ssh17969743524056433970.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-ssh16307417727919361845.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11021297901957139026.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 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-ssh12203413221889519194.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11201743901364408056.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-29971 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/oundry_app-functions-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision ee79f075673e0cb5bd207a4f5e740d8162669990 (main) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ee79f075673e0cb5bd207a4f5e740d8162669990 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 (#1174)" > git rev-list --no-walk 77f92e985df5089e60076801efbb7777d210620f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-20T16:57:00.710Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-20T16:57:00.770Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-20T16:57:00.790Z] ========================================================= [2022-09-20T16:57:00.790Z] EdgeX Global Pipelines Version Info [2022-09-20T16:57:00.790Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-20T16:57:01.900Z] ------------------- [2022-09-20T16:57:01.900Z] stable info: [2022-09-20T16:57:01.900Z] ------------------- [2022-09-20T16:57:01.900Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-20T16:57:01.900Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-20T16:57:01.900Z] Message: update stable to v1.0.239 [2022-09-20T16:57:02.161Z] ------------------- [2022-09-20T16:57:02.161Z] experimental info: [2022-09-20T16:57:02.161Z] ------------------- [2022-09-20T16:57:02.161Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-20T16:57:02.161Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-20T16:57:02.162Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-20T16:57:02.421Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2022-09-20T16:57:02.437Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2022-09-20T16:57:02.450Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-20T16:57:02.464Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-20T16:57:02.475Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-20T16:57:02.490Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-20T16:57:02.504Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-20T16:57:02.521Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-20T16:57:02.537Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-20T16:57:02.552Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-20T16:57:02.563Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-20T16:57:02.579Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2022-09-20T16:57:02.591Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-20T16:57:02.599Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-20T16:57:02.607Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2022-09-20T16:57:02.616Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-09-20T16:57:02.627Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-20T16:57:02.636Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-20T16:57:02.647Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-20T16:57:02.656Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-20T16:57:02.664Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-20T16:57:02.673Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-09-20T16:57:02.681Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-20T16:57:02.690Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-20T16:57:02.698Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2022-09-20T16:57:02.709Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-20T16:57:02.718Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-20T16:57:02.727Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-09-20T16:57:02.735Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-09-20T16:57:02.745Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-09-20T16:57:02.760Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ee79f075673e0cb5bd207a4f5e740d8162669990 [Pipeline] echo [2022-09-20T16:57:02.775Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ee79f07 [Pipeline] echo [2022-09-20T16:57:02.788Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-20T16:57:03.138Z] + git rev-list -1 --merges ee79f075673e0cb5bd207a4f5e740d8162669990~1..ee79f075673e0cb5bd207a4f5e740d8162669990 [Pipeline] echo [2022-09-20T16:57:03.179Z] -----------> git rev-list -1 --merges ee79f075673e0cb5bd207a4f5e740d8162669990~1..ee79f075673e0cb5bd207a4f5e740d8162669990 ee79f075673e0cb5bd207a4f5e740d8162669990 [false] [Pipeline] sh [2022-09-20T16:57:03.482Z] + git log --format=format:%s -1 ee79f075673e0cb5bd207a4f5e740d8162669990 [Pipeline] echo [2022-09-20T16:57:03.502Z] ========================================================= [2022-09-20T16:57:03.502Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-20T16:57:03.502Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-20T16:57:03.851Z] + git log --format=format:%s -1 ee79f075673e0cb5bd207a4f5e740d8162669990 [Pipeline] echo [2022-09-20T16:57:03.864Z] [semverPrep] GIT_COMMIT: ee79f075673e0cb5bd207a4f5e740d8162669990, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 (#1174) [Pipeline] echo [2022-09-20T16:57:03.873Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-20T16:57:04.228Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-20T16:57:04.228Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-20T16:57:04.228Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-20T16:57:04.228Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-20T16:57:04.228Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-20T16:57:04.228Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-20T16:57:04.228Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T16:57:04.585Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-20T16:57:04.847Z] [2022-09-20T16:57:04.847Z] 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-20T16:57:05.156Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-20T16:57:05.156Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-20T16:57:05.156Z] b85a868b505f: Pulling fs layer [2022-09-20T16:57:05.156Z] e2be974225ed: Pulling fs layer [2022-09-20T16:57:05.156Z] 339a4e72a1f5: Pulling fs layer [2022-09-20T16:57:05.156Z] 988bab9f4d93: Pulling fs layer [2022-09-20T16:57:05.156Z] 1469e6f7b9e6: Pulling fs layer [2022-09-20T16:57:05.156Z] eaf3925da568: Pulling fs layer [2022-09-20T16:57:05.156Z] bab4dde63d76: Pulling fs layer [2022-09-20T16:57:05.156Z] bde34c3a00c8: Pulling fs layer [2022-09-20T16:57:05.156Z] b352a97aabf1: Pulling fs layer [2022-09-20T16:57:05.156Z] 4872d77fe225: Pulling fs layer [2022-09-20T16:57:05.156Z] 5851b861e8e6: Pulling fs layer [2022-09-20T16:57:05.156Z] 988bab9f4d93: Waiting [2022-09-20T16:57:05.156Z] 1469e6f7b9e6: Waiting [2022-09-20T16:57:05.156Z] bde34c3a00c8: Waiting [2022-09-20T16:57:05.156Z] eaf3925da568: Waiting [2022-09-20T16:57:05.156Z] b352a97aabf1: Waiting [2022-09-20T16:57:05.156Z] bab4dde63d76: Waiting [2022-09-20T16:57:05.156Z] 5851b861e8e6: Waiting [2022-09-20T16:57:05.156Z] e2be974225ed: Download complete [2022-09-20T16:57:05.156Z] 988bab9f4d93: Verifying Checksum [2022-09-20T16:57:05.156Z] 988bab9f4d93: Download complete [2022-09-20T16:57:05.417Z] 1469e6f7b9e6: Verifying Checksum [2022-09-20T16:57:05.417Z] 1469e6f7b9e6: Download complete [2022-09-20T16:57:05.417Z] eaf3925da568: Download complete [2022-09-20T16:57:05.417Z] 339a4e72a1f5: Verifying Checksum [2022-09-20T16:57:05.417Z] 339a4e72a1f5: Download complete [2022-09-20T16:57:05.417Z] bde34c3a00c8: Download complete [2022-09-20T16:57:05.417Z] b352a97aabf1: Download complete [2022-09-20T16:57:05.417Z] 4872d77fe225: Verifying Checksum [2022-09-20T16:57:05.417Z] 4872d77fe225: Download complete [2022-09-20T16:57:05.417Z] 5851b861e8e6: Verifying Checksum [2022-09-20T16:57:05.417Z] 5851b861e8e6: Download complete [2022-09-20T16:57:05.417Z] b85a868b505f: Download complete [2022-09-20T16:57:05.677Z] bab4dde63d76: Verifying Checksum [2022-09-20T16:57:05.677Z] bab4dde63d76: Download complete [2022-09-20T16:57:07.059Z] b85a868b505f: Pull complete [2022-09-20T16:57:07.059Z] e2be974225ed: Pull complete [2022-09-20T16:57:07.631Z] 339a4e72a1f5: Pull complete [2022-09-20T16:57:07.893Z] 988bab9f4d93: Pull complete [2022-09-20T16:57:08.154Z] 1469e6f7b9e6: Pull complete [2022-09-20T16:57:08.154Z] eaf3925da568: Pull complete [2022-09-20T16:57:10.089Z] bab4dde63d76: Pull complete [2022-09-20T16:57:10.089Z] bde34c3a00c8: Pull complete [2022-09-20T16:57:10.351Z] b352a97aabf1: Pull complete [2022-09-20T16:57:10.351Z] 4872d77fe225: Pull complete [2022-09-20T16:57:10.613Z] 5851b861e8e6: Pull complete [2022-09-20T16:57:10.613Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-20T16:57:10.613Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-20T16:57:10.613Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T16:57:10.720Z] prd-ubuntu20.04-docker-8c-8g-29971 does not seem to be running inside a container [2022-09-20T16:57:10.762Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-20T16:57:13.380Z] $ docker top 2f7a944ecca7ff76062ddde79cdcce996088ea12364b2fcf6e2503ff5fcc760d -eo pid,comm [2022-09-20T16:57:13.445Z] 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-20T16:57:13.445Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-20T16:57:13.481Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-20T16:57:13.481Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-20T16:57:13.622Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-20T16:57:13.628Z] $ docker exec 2f7a944ecca7ff76062ddde79cdcce996088ea12364b2fcf6e2503ff5fcc760d ssh-agent [2022-09-20T16:57:13.747Z] SSH_AUTH_SOCK=/tmp/ssh-RnKUIVWfkfDl/agent.33 [2022-09-20T16:57:13.747Z] SSH_AGENT_PID=40 [2022-09-20T16:57:13.755Z] Running ssh-add (command line suppressed) [2022-09-20T16:57:13.889Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_584556459183397826.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_584556459183397826.key) [2022-09-20T16:57:13.902Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-20T16:57:14.191Z] + git tag --points-at HEAD [Pipeline] } [2022-09-20T16:57:14.210Z] $ docker exec --env ******** --env ******** 2f7a944ecca7ff76062ddde79cdcce996088ea12364b2fcf6e2503ff5fcc760d ssh-agent -k [2022-09-20T16:57:14.320Z] unset SSH_AUTH_SOCK; [2022-09-20T16:57:14.320Z] unset SSH_AGENT_PID; [2022-09-20T16:57:14.321Z] echo Agent pid 40 killed; [2022-09-20T16:57:14.333Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-20T16:57:14.358Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-20T16:57:14.358Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-20T16:57:14.498Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-20T16:57:14.505Z] $ docker exec 2f7a944ecca7ff76062ddde79cdcce996088ea12364b2fcf6e2503ff5fcc760d ssh-agent [2022-09-20T16:57:14.637Z] SSH_AUTH_SOCK=/tmp/ssh-VNXxg7EBLHih/agent.74 [2022-09-20T16:57:14.637Z] SSH_AGENT_PID=80 [2022-09-20T16:57:14.642Z] Running ssh-add (command line suppressed) [2022-09-20T16:57:14.770Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_447124871475037070.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_447124871475037070.key) [2022-09-20T16:57:14.783Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-20T16:57:15.074Z] + git semver init [2022-09-20T16:57:15.339Z] 2022-09-20 16:57:15,278 [run_init] DEBUG init version:0.0.0 force:False [2022-09-20T16:57:15.339Z] 2022-09-20 16:57:15,279 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_app-functions-sdk-go_main/.semver [2022-09-20T16:57:15.339Z] 2022-09-20 16:57:15,280 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-functions-sdk-go.git /w/workspace/oundry_app-functions-sdk-go_main/.semver [2022-09-20T16:57:15.339Z] 2022-09-20 16:57:15,280 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-functions-sdk-go.git', '/w/workspace/oundry_app-functions-sdk-go_main/.semver'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2022-09-20T16:57:17.253Z] 2022-09-20 16:57:16,959 [append_file] DEBUG append to file:/w/workspace/oundry_app-functions-sdk-go_main/.git/info/exclude [2022-09-20T16:57:17.253Z] 2022-09-20 16:57:16,960 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:False [2022-09-20T16:57:17.253Z] 2022-09-20 16:57:16,960 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-09-20T16:57:17.253Z] 2022-09-20 16:57:16,960 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-09-20T16:57:17.253Z] 2.3.0-dev.40 [Pipeline] } [2022-09-20T16:57:17.266Z] $ docker exec --env ******** --env ******** 2f7a944ecca7ff76062ddde79cdcce996088ea12364b2fcf6e2503ff5fcc760d ssh-agent -k [2022-09-20T16:57:17.394Z] unset SSH_AUTH_SOCK; [2022-09-20T16:57:17.395Z] unset SSH_AGENT_PID; [2022-09-20T16:57:17.395Z] echo Agent pid 80 killed; [2022-09-20T16:57:17.403Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-20T16:57:17.713Z] + git semver [Pipeline] } [2022-09-20T16:57:17.991Z] $ docker stop --time=1 2f7a944ecca7ff76062ddde79cdcce996088ea12364b2fcf6e2503ff5fcc760d [2022-09-20T16:57:19.290Z] $ docker rm -f 2f7a944ecca7ff76062ddde79cdcce996088ea12364b2fcf6e2503ff5fcc760d [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-20T16:57:19.645Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-20T16:57:19.898Z] Stashed 1 file(s) [Pipeline] echo [2022-09-20T16:57:19.900Z] [edgeXSemver]: initialized semver on version 2.3.0-dev.40 [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-20T16:57:20.073Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-20T16:57:20.085Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-20T16:57:20.094Z] ========================================================= [2022-09-20T16:57:20.094Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-20T16:57:20.094Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-09-20T16:57:20.396Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-20T16:57:20.657Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-20T16:57:20.657Z] 2408cc74d12b: Pulling fs layer [2022-09-20T16:57:20.657Z] ea60b727a1ce: Pulling fs layer [2022-09-20T16:57:20.657Z] 30c4a7721957: Pulling fs layer [2022-09-20T16:57:20.657Z] 370296b7ddb6: Pulling fs layer [2022-09-20T16:57:20.657Z] 7c6cee850709: Pulling fs layer [2022-09-20T16:57:20.657Z] 370296b7ddb6: Waiting [2022-09-20T16:57:20.657Z] 39a5fcdaea64: Pulling fs layer [2022-09-20T16:57:20.657Z] d94ebbe4e438: Pulling fs layer [2022-09-20T16:57:20.657Z] bcfd1f05c69d: Pulling fs layer [2022-09-20T16:57:20.657Z] 7c6cee850709: Waiting [2022-09-20T16:57:20.657Z] 39a5fcdaea64: Waiting [2022-09-20T16:57:20.657Z] bcfd1f05c69d: Waiting [2022-09-20T16:57:20.657Z] 59ccb84bbe0f: Pulling fs layer [2022-09-20T16:57:20.657Z] 59ccb84bbe0f: Waiting [2022-09-20T16:57:20.657Z] 30c4a7721957: Verifying Checksum [2022-09-20T16:57:20.657Z] 30c4a7721957: Download complete [2022-09-20T16:57:20.657Z] ea60b727a1ce: Download complete [2022-09-20T16:57:20.657Z] 7c6cee850709: Verifying Checksum [2022-09-20T16:57:20.657Z] 7c6cee850709: Download complete [2022-09-20T16:57:20.657Z] 39a5fcdaea64: Download complete [2022-09-20T16:57:20.657Z] 2408cc74d12b: Verifying Checksum [2022-09-20T16:57:20.657Z] 2408cc74d12b: Download complete [2022-09-20T16:57:20.657Z] d94ebbe4e438: Download complete [2022-09-20T16:57:20.921Z] 2408cc74d12b: Pull complete [2022-09-20T16:57:21.193Z] ea60b727a1ce: Pull complete [2022-09-20T16:57:21.193Z] 30c4a7721957: Pull complete [2022-09-20T16:57:21.193Z] 59ccb84bbe0f: Verifying Checksum [2022-09-20T16:57:21.193Z] 59ccb84bbe0f: Download complete [2022-09-20T16:57:21.458Z] bcfd1f05c69d: Verifying Checksum [2022-09-20T16:57:21.458Z] bcfd1f05c69d: Download complete [2022-09-20T16:57:21.458Z] 370296b7ddb6: Verifying Checksum [2022-09-20T16:57:21.458Z] 370296b7ddb6: Download complete [2022-09-20T16:57:25.653Z] 370296b7ddb6: Pull complete [2022-09-20T16:57:25.653Z] 7c6cee850709: Pull complete [2022-09-20T16:57:25.913Z] 39a5fcdaea64: Pull complete [2022-09-20T16:57:25.913Z] d94ebbe4e438: Pull complete [2022-09-20T16:57:28.460Z] bcfd1f05c69d: Pull complete [2022-09-20T16:57:28.719Z] 59ccb84bbe0f: Pull complete [2022-09-20T16:57:28.980Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-20T16:57:28.980Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-20T16:57:28.980Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] sh [2022-09-20T16:57:29.273Z] + 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-20T16:57:29.580Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-20T16:57:29.580Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T16:57:29.673Z] prd-ubuntu20.04-docker-8c-8g-29971 does not seem to be running inside a container [2022-09-20T16:57:29.713Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-20T16:57:33.149Z] $ docker top 3877ffd29215b67e7b7f0cfc127fdf9e3a726eb8fcce8cd085bc2aa265624ff2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-20T16:57:33.504Z] + go version [2022-09-20T16:57:33.504Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-20T16:57:33.521Z] $ docker stop --time=1 3877ffd29215b67e7b7f0cfc127fdf9e3a726eb8fcce8cd085bc2aa265624ff2 [2022-09-20T16:57:34.796Z] $ docker rm -f 3877ffd29215b67e7b7f0cfc127fdf9e3a726eb8fcce8cd085bc2aa265624ff2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T16:57:35.004Z] Still waiting to schedule task [2022-09-20T16:57:35.005Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-09-20T16:57:35.217Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-20T16:57:35.217Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T16:57:35.301Z] prd-ubuntu20.04-docker-8c-8g-29971 does not seem to be running inside a container [2022-09-20T16:57:35.339Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-20T16:57:35.696Z] $ docker top 5a8c104afc179a952c81f3dcccfb60b5dd2a94cadd82e4c98ee797540f8c48c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-20T16:57:36.057Z] + git config --global --add safe.directory /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2022-09-20T16:57:36.359Z] + make test [2022-09-20T16:57:36.359Z] make -C ./app-service-template build [2022-09-20T16:57:36.359Z] make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2022-09-20T16:57:36.359Z] go mod tidy [2022-09-20T16:57:36.359Z] go: downloading github.com/stretchr/testify v1.8.0 [2022-09-20T16:57:36.359Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 [2022-09-20T16:57:36.359Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 [2022-09-20T16:57:36.359Z] go: downloading github.com/google/uuid v1.3.0 [2022-09-20T16:57:36.359Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.3.0-dev.16 [2022-09-20T16:57:36.359Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.3.0-dev.15 [2022-09-20T16:57:36.359Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 [2022-09-20T16:57:36.359Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.5 [2022-09-20T16:57:36.359Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 [2022-09-20T16:57:36.359Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-09-20T16:57:36.359Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-09-20T16:57:36.618Z] go: downloading github.com/stretchr/objx v0.4.0 [2022-09-20T16:57:36.618Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2022-09-20T16:57:36.618Z] go: downloading github.com/go-kit/log v0.2.0 [2022-09-20T16:57:36.618Z] go: downloading github.com/go-playground/validator/v10 v10.10.1 [2022-09-20T16:57:36.618Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-09-20T16:57:36.618Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-09-20T16:57:36.618Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.3.0-dev.7 [2022-09-20T16:57:36.618Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 [2022-09-20T16:57:36.618Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-09-20T16:57:36.618Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-09-20T16:57:36.618Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2022-09-20T16:57:36.618Z] go: downloading github.com/pelletier/go-toml v1.9.5 [2022-09-20T16:57:36.618Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-09-20T16:57:36.618Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-09-20T16:57:36.618Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-09-20T16:57:36.618Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2022-09-20T16:57:36.618Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-09-20T16:57:36.618Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-09-20T16:57:36.618Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-09-20T16:57:36.618Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-09-20T16:57:36.618Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.1.1 [2022-09-20T16:57:36.618Z] go: downloading github.com/nats-io/nats.go v1.16.0 [2022-09-20T16:57:36.618Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-09-20T16:57:36.618Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-09-20T16:57:36.618Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-09-20T16:57:36.618Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-09-20T16:57:36.618Z] go: downloading golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e [2022-09-20T16:57:36.618Z] go: downloading golang.org/x/text v0.3.7 [2022-09-20T16:57:36.618Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-09-20T16:57:36.878Z] go: downloading github.com/x448/float16 v0.8.4 [2022-09-20T16:57:36.878Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-09-20T16:57:36.878Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-09-20T16:57:36.878Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-09-20T16:57:36.878Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-09-20T16:57:36.878Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-09-20T16:57:36.878Z] go: downloading github.com/mitchellh/mapstructure v1.5.0 [2022-09-20T16:57:37.137Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-09-20T16:57:37.137Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-09-20T16:57:37.137Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-09-20T16:57:37.137Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-09-20T16:57:37.137Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-09-20T16:57:37.137Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-09-20T16:57:37.137Z] go: downloading github.com/Microsoft/go-winio v0.5.2 [2022-09-20T16:57:37.137Z] go: downloading github.com/zeebo/errs v1.2.2 [2022-09-20T16:57:37.137Z] go: downloading google.golang.org/grpc v1.46.0 [2022-09-20T16:57:37.396Z] go: downloading github.com/nats-io/nkeys v0.3.0 [2022-09-20T16:57:37.396Z] go: downloading github.com/nats-io/nuid v1.0.1 [2022-09-20T16:57:37.396Z] go: downloading github.com/nats-io/nats-server/v2 v2.7.4 [2022-09-20T16:57:37.672Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-09-20T16:57:37.672Z] go: downloading golang.org/x/sys v0.0.0-20220610221304-9f5ed59c137d [2022-09-20T16:57:37.672Z] go: downloading github.com/fatih/color v1.9.0 [2022-09-20T16:57:37.672Z] go: downloading github.com/mattn/go-colorable v0.1.12 [2022-09-20T16:57:37.672Z] go: downloading github.com/mattn/go-isatty v0.0.14 [2022-09-20T16:57:37.672Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-09-20T16:57:37.672Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-09-20T16:57:37.672Z] go: downloading github.com/kr/pretty v0.3.0 [2022-09-20T16:57:37.672Z] go: downloading github.com/pkg/errors v0.9.1 [2022-09-20T16:57:37.672Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-09-20T16:57:37.672Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-09-20T16:57:37.672Z] go: downloading gopkg.in/square/go-jose.v2 v2.4.1 [2022-09-20T16:57:37.672Z] go: downloading google.golang.org/protobuf v1.28.0 [2022-09-20T16:57:37.672Z] go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa [2022-09-20T16:57:37.672Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-09-20T16:57:37.941Z] go: downloading github.com/google/go-cmp v0.5.6 [2022-09-20T16:57:37.941Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-09-20T16:57:37.941Z] go: downloading github.com/klauspost/compress v1.15.9 [2022-09-20T16:57:37.941Z] go: downloading github.com/minio/highwayhash v1.0.2 [2022-09-20T16:57:37.941Z] go: downloading github.com/nats-io/jwt/v2 v2.3.0 [2022-09-20T16:57:37.941Z] go: downloading golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 [2022-09-20T16:57:37.941Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-09-20T16:57:37.941Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-09-20T16:57:37.941Z] go: downloading github.com/kr/text v0.2.0 [2022-09-20T16:57:37.941Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-09-20T16:57:37.941Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-09-20T16:57:37.941Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-09-20T16:57:37.941Z] go: downloading github.com/miekg/dns v1.1.26 [2022-09-20T16:57:37.941Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-09-20T16:57:37.941Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-09-20T16:57:37.941Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2022-09-20T16:57:37.941Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-09-20T16:57:37.941Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-09-20T16:57:37.941Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 [2022-09-20T16:57:37.941Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2022-09-20T16:57:40.487Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.3.0-dev.16 [2022-09-20T16:57:40.487Z] go: downloading github.com/nats-io/nats.go v1.17.0 [2022-09-20T16:57:40.487Z] 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-20T16:57:58.688Z] make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2022-09-20T16:57:58.688Z] make -C ./app-service-template test [2022-09-20T16:57:58.688Z] make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2022-09-20T16:57:58.688Z] CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... [2022-09-20T16:58:16.799Z] ok new-app-service 0.068s coverage: 48.1% of statements [2022-09-20T16:58:16.799Z] ? new-app-service/config [no test files] [2022-09-20T16:58:16.799Z] ok new-app-service/functions 0.044s [2022-09-20T16:58:16.799Z] CGO_ENABLED=1 go vet ./... [2022-09-20T16:58:24.916Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-20T16:58:24.916Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-20T16:58:24.916Z] ./bin/test-attribution-txt.sh [2022-09-20T16:58:24.916Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-20T16:58:24.916Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-20T16:58:24.917Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-09-20T16:58:24.917Z] make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2022-09-20T16:58:24.917Z] CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-20T16:58:24.917Z] go: downloading github.com/gomodule/redigo v1.8.9 [2022-09-20T16:58:24.917Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2022-09-20T16:58:28.203Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.117s coverage: 60.4% of statements [2022-09-20T16:58:28.203Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.116s coverage: 93.9% of statements [2022-09-20T16:58:28.203Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2022-09-20T16:58:28.203Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.107s coverage: 76.5% of statements [2022-09-20T16:58:28.203Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2022-09-20T16:58:28.203Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.092s coverage: 88.7% of statements [2022-09-20T16:58:28.203Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.048s coverage: 100.0% of statements [2022-09-20T16:58:28.203Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.168s coverage: 78.5% of statements [2022-09-20T16:58:28.203Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2022-09-20T16:58:28.203Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2022-09-20T16:58:28.203Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.080s coverage: 97.3% of statements [2022-09-20T16:58:28.203Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2022-09-20T16:58:28.203Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] [2022-09-20T16:58:28.203Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.061s coverage: 82.8% of statements [2022-09-20T16:58:28.203Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] [2022-09-20T16:58:28.203Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.702s coverage: 81.5% of statements [2022-09-20T16:58:28.203Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] [2022-09-20T16:58:28.203Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] [2022-09-20T16:58:28.203Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.076s coverage: 28.7% of statements [2022-09-20T16:58:28.203Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] [2022-09-20T16:58:28.203Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.066s coverage: 14.0% of statements [2022-09-20T16:58:28.203Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.047s coverage: 27.3% of statements [2022-09-20T16:58:28.203Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2022-09-20T16:58:28.203Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-20T16:58:28.203Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.073s coverage: 51.4% of statements [2022-09-20T16:58:54.780Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.137s coverage: 75.5% of statements [2022-09-20T16:58:54.780Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.059s coverage: 94.4% of statements [2022-09-20T16:58:54.780Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-20T16:58:54.780Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-20T16:58:54.780Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-20T16:59:02.914Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [Pipeline] echo [2022-09-20T16:59:02.927Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-20T16:59:02.945Z] $ docker stop --time=1 5a8c104afc179a952c81f3dcccfb60b5dd2a94cadd82e4c98ee797540f8c48c7 [2022-09-20T16:59:04.448Z] $ docker rm -f 5a8c104afc179a952c81f3dcccfb60b5dd2a94cadd82e4c98ee797540f8c48c7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-20T16:59:05.246Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-20T16:59:05.308Z] Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T16:59:05.752Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-20T16:59:05.752Z] [2022-09-20T16:59:05.752Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T16:59:06.053Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-20T16:59:06.053Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-20T16:59:06.053Z] 5eb5b503b376: Pulling fs layer [2022-09-20T16:59:06.053Z] 5c69ac0246d0: Pulling fs layer [2022-09-20T16:59:06.053Z] ec43610c2a17: Pulling fs layer [2022-09-20T16:59:06.053Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-20T16:59:06.053Z] 33b1e0a273af: Pulling fs layer [2022-09-20T16:59:06.053Z] 3a2ae6a8a46f: Waiting [2022-09-20T16:59:06.053Z] 5d3b04190fa2: Pulling fs layer [2022-09-20T16:59:06.053Z] 2f39f015ded8: Pulling fs layer [2022-09-20T16:59:06.053Z] 33b1e0a273af: Waiting [2022-09-20T16:59:06.053Z] 5d3b04190fa2: Waiting [2022-09-20T16:59:06.053Z] 5c69ac0246d0: Verifying Checksum [2022-09-20T16:59:06.053Z] 5c69ac0246d0: Download complete [2022-09-20T16:59:06.053Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-20T16:59:06.053Z] 3a2ae6a8a46f: Download complete [2022-09-20T16:59:06.312Z] 33b1e0a273af: Verifying Checksum [2022-09-20T16:59:06.312Z] 33b1e0a273af: Download complete [2022-09-20T16:59:06.312Z] 5d3b04190fa2: Verifying Checksum [2022-09-20T16:59:06.312Z] 5d3b04190fa2: Download complete [2022-09-20T16:59:06.312Z] ec43610c2a17: Verifying Checksum [2022-09-20T16:59:06.312Z] ec43610c2a17: Download complete [2022-09-20T16:59:06.312Z] 5eb5b503b376: Verifying Checksum [2022-09-20T16:59:06.312Z] 5eb5b503b376: Download complete [2022-09-20T16:59:06.879Z] 2f39f015ded8: Download complete [2022-09-20T16:59:07.817Z] 5eb5b503b376: Pull complete [2022-09-20T16:59:07.817Z] 5c69ac0246d0: Pull complete [2022-09-20T16:59:08.386Z] ec43610c2a17: Pull complete [2022-09-20T16:59:08.386Z] 3a2ae6a8a46f: Pull complete [2022-09-20T16:59:08.645Z] 33b1e0a273af: Pull complete [2022-09-20T16:59:08.645Z] 5d3b04190fa2: Pull complete [2022-09-20T16:59:13.916Z] 2f39f015ded8: Pull complete [2022-09-20T16:59:13.916Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-20T16:59:13.916Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-20T16:59:13.916Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T16:59:14.012Z] prd-ubuntu20.04-docker-8c-8g-29971 does not seem to be running inside a container [2022-09-20T16:59:14.058Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-20T16:59:16.167Z] $ docker top 4f2ff956860157b8279733ba8474814309551428555e6c39585edc2917b0b94b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-20T16:59:16.555Z] ---> job-cost.sh [2022-09-20T16:59:16.556Z] lf-activate-venv: SKIPPING [2022-09-20T16:59:16.556Z] INFO: No Stack... [2022-09-20T16:59:16.816Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-20T16:59:17.387Z] INFO: Archiving Costs [Pipeline] sh [2022-09-20T16:59:17.677Z] + cat /w/workspace/oundry_app-functions-sdk-go_main/archives/cost.csv [2022-09-20T16:59:17.677Z] + cut -d, -f6 [Pipeline] lock [2022-09-20T16:59:17.690Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-161-stack-cost] [2022-09-20T16:59:17.697Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-161-stack-cost] did not exist. Created. [2022-09-20T16:59:17.697Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-161-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-20T16:59:17.997Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-20T16:59:18.033Z] Stashed 1 file(s) [Pipeline] } [2022-09-20T16:59:18.057Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-161-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-20T16:59:18.086Z] $ docker stop --time=1 4f2ff956860157b8279733ba8474814309551428555e6c39585edc2917b0b94b [2022-09-20T16:59:19.241Z] $ docker rm -f 4f2ff956860157b8279733ba8474814309551428555e6c39585edc2917b0b94b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-20T17:02:49.254Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-29972 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2022-09-20T17:02:49.266Z] Running in /w/workspace/app-functions-sdk-go/161 [Pipeline] { [Pipeline] checkout [2022-09-20T17:02:49.323Z] The recommended git tool is: git [2022-09-20T17:02:57.265Z] using credential edgex-jenkins-ssh [2022-09-20T17:02:57.285Z] Cloning the remote Git repository [2022-09-20T17:02:57.347Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2022-09-20T17:02:57.427Z] > git init /w/workspace/app-functions-sdk-go/161 # timeout=10 [2022-09-20T17:02:57.547Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2022-09-20T17:02:57.548Z] > git --version # timeout=10 [2022-09-20T17:02:57.572Z] > git --version # 'git version 2.25.1' [2022-09-20T17:02:57.575Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-20T17:02:57.649Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-20T17:03:01.767Z] Avoid second fetch [2022-09-20T17:03:01.768Z] Checking out Revision ee79f075673e0cb5bd207a4f5e740d8162669990 (main) [2022-09-20T17:03:01.730Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2022-09-20T17:03:01.749Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-20T17:03:01.798Z] > git config core.sparsecheckout # timeout=10 [2022-09-20T17:03:01.818Z] > git checkout -f ee79f075673e0cb5bd207a4f5e740d8162669990 # timeout=10 [2022-09-20T17:03:06.765Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 (#1174)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-20T17:03:07.796Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-20T17:03:07.796Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-20T17:03:07.796Z] Dload Upload Total Spent Left Speed [2022-09-20T17:03:07.796Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 90014 0 --:--:-- --:--:-- --:--:-- 90661 [Pipeline] sh [2022-09-20T17:03:08.525Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-20T17:03:08.883Z] + + sudo tee /etc/docker/daemon.new [2022-09-20T17:03:08.883Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-20T17:03:08.883Z] { [2022-09-20T17:03:08.883Z] "registry-mirrors": [ [2022-09-20T17:03:08.883Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-20T17:03:08.883Z] ], [2022-09-20T17:03:08.883Z] "bip": "10.250.0.254/24", [2022-09-20T17:03:08.883Z] "hosts": [ [2022-09-20T17:03:08.883Z] "tcp://0.0.0.0:5555", [2022-09-20T17:03:08.883Z] "unix:///var/run/docker.sock" [2022-09-20T17:03:08.883Z] ], [2022-09-20T17:03:08.883Z] "mtu": 1458, [2022-09-20T17:03:08.883Z] "selinux-enabled": true, [2022-09-20T17:03:08.883Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-20T17:03:08.883Z] } [Pipeline] sh [2022-09-20T17:03:09.255Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-20T17:03:09.612Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2022-09-20T17:03:28.245Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-20T17:03:28.261Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-20T17:03:28.273Z] ========================================================= [2022-09-20T17:03:28.273Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-20T17:03:28.273Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-09-20T17:03:28.632Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-20T17:03:29.623Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-20T17:03:29.623Z] b3c136eddcbf: Pulling fs layer [2022-09-20T17:03:29.623Z] c0a3192eca97: Pulling fs layer [2022-09-20T17:03:29.623Z] a050256f5b6f: Pulling fs layer [2022-09-20T17:03:29.623Z] 656be50a0ddc: Pulling fs layer [2022-09-20T17:03:29.623Z] 2bbca73fdf42: Pulling fs layer [2022-09-20T17:03:29.623Z] 46d945488cbd: Pulling fs layer [2022-09-20T17:03:29.623Z] 8a5474983e97: Pulling fs layer [2022-09-20T17:03:29.623Z] 329c88fbcd65: Pulling fs layer [2022-09-20T17:03:29.623Z] 2bbca73fdf42: Waiting [2022-09-20T17:03:29.623Z] 46d945488cbd: Waiting [2022-09-20T17:03:29.623Z] 8a5474983e97: Waiting [2022-09-20T17:03:29.623Z] 656be50a0ddc: Waiting [2022-09-20T17:03:29.623Z] a050256f5b6f: Verifying Checksum [2022-09-20T17:03:29.623Z] a050256f5b6f: Download complete [2022-09-20T17:03:29.623Z] c0a3192eca97: Verifying Checksum [2022-09-20T17:03:29.623Z] c0a3192eca97: Download complete [2022-09-20T17:03:29.623Z] 2bbca73fdf42: Verifying Checksum [2022-09-20T17:03:29.623Z] 2bbca73fdf42: Download complete [2022-09-20T17:03:29.623Z] 46d945488cbd: Verifying Checksum [2022-09-20T17:03:29.623Z] 46d945488cbd: Download complete [2022-09-20T17:03:29.623Z] b3c136eddcbf: Verifying Checksum [2022-09-20T17:03:29.623Z] b3c136eddcbf: Download complete [2022-09-20T17:03:30.618Z] b3c136eddcbf: Pull complete [2022-09-20T17:03:30.898Z] 329c88fbcd65: Verifying Checksum [2022-09-20T17:03:30.898Z] 329c88fbcd65: Download complete [2022-09-20T17:03:31.180Z] c0a3192eca97: Pull complete [2022-09-20T17:03:31.787Z] a050256f5b6f: Pull complete [2022-09-20T17:03:32.070Z] 8a5474983e97: Verifying Checksum [2022-09-20T17:03:32.070Z] 8a5474983e97: Download complete [2022-09-20T17:03:33.066Z] 656be50a0ddc: Verifying Checksum [2022-09-20T17:03:33.066Z] 656be50a0ddc: Download complete [2022-09-20T17:03:48.210Z] 656be50a0ddc: Pull complete [2022-09-20T17:03:48.210Z] 2bbca73fdf42: Pull complete [2022-09-20T17:03:48.210Z] 46d945488cbd: Pull complete [2022-09-20T17:03:53.647Z] 8a5474983e97: Pull complete [2022-09-20T17:03:57.072Z] 329c88fbcd65: Pull complete [2022-09-20T17:03:57.072Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-20T17:03:57.072Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-20T17:03:57.072Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] sh [2022-09-20T17:03:57.420Z] + 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-20T17:03:57.778Z] + docker inspect -f . ci-base-image-arm64 [2022-09-20T17:03:57.778Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T17:03:58.047Z] prd-ubuntu20.04-docker-arm64-4c-16g-29972 does not seem to be running inside a container [2022-09-20T17:03:58.165Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/161 -v /w/workspace/app-functions-sdk-go/161:/w/workspace/app-functions-sdk-go/161:rw,z -v /w/workspace/app-functions-sdk-go/161@tmp:/w/workspace/app-functions-sdk-go/161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-20T17:04:01.815Z] $ docker top 8fb34ca5baaf1c5a8d8f8ec5d4f165d433733f366d9d7505c0d6e5ccc04192b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-20T17:04:02.755Z] + go version [2022-09-20T17:04:02.755Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-20T17:04:02.787Z] $ docker stop --time=1 8fb34ca5baaf1c5a8d8f8ec5d4f165d433733f366d9d7505c0d6e5ccc04192b5 [2022-09-20T17:04:04.468Z] $ docker rm -f 8fb34ca5baaf1c5a8d8f8ec5d4f165d433733f366d9d7505c0d6e5ccc04192b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T17:04:05.104Z] + docker inspect -f . ci-base-image-arm64 [2022-09-20T17:04:05.104Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T17:04:05.392Z] prd-ubuntu20.04-docker-arm64-4c-16g-29972 does not seem to be running inside a container [2022-09-20T17:04:05.510Z] $ 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/161 -v /w/workspace/app-functions-sdk-go/161:/w/workspace/app-functions-sdk-go/161:rw,z -v /w/workspace/app-functions-sdk-go/161@tmp:/w/workspace/app-functions-sdk-go/161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-20T17:04:06.922Z] $ docker top 05084739dc2f1450e674dc329cbe6badac2bc512768238c3c991dedee2f80f4d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-20T17:04:07.870Z] + git config --global --add safe.directory /w/workspace/app-functions-sdk-go/161 [Pipeline] fileExists [Pipeline] sh [2022-09-20T17:04:08.573Z] + make test [2022-09-20T17:04:08.573Z] make -C ./app-service-template build [2022-09-20T17:04:08.573Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/161/app-service-template' [2022-09-20T17:04:08.573Z] go mod tidy [2022-09-20T17:04:08.573Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 [2022-09-20T17:04:08.573Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 [2022-09-20T17:04:08.854Z] go: downloading github.com/google/uuid v1.3.0 [2022-09-20T17:04:08.854Z] go: downloading github.com/stretchr/testify v1.8.0 [2022-09-20T17:04:08.854Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.3.0-dev.16 [2022-09-20T17:04:09.135Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.3.0-dev.15 [2022-09-20T17:04:09.135Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 [2022-09-20T17:04:09.135Z] go: downloading github.com/go-playground/validator/v10 v10.10.1 [2022-09-20T17:04:09.135Z] go: downloading github.com/go-kit/log v0.2.0 [2022-09-20T17:04:09.135Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2022-09-20T17:04:09.135Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.5 [2022-09-20T17:04:09.416Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 [2022-09-20T17:04:09.416Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-09-20T17:04:09.416Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-09-20T17:04:09.416Z] go: downloading github.com/stretchr/objx v0.4.0 [2022-09-20T17:04:09.416Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.3.0-dev.7 [2022-09-20T17:04:09.416Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-09-20T17:04:09.416Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-09-20T17:04:09.416Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 [2022-09-20T17:04:09.696Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-09-20T17:04:09.696Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-09-20T17:04:09.696Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-09-20T17:04:09.696Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-09-20T17:04:09.696Z] go: downloading golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e [2022-09-20T17:04:09.696Z] go: downloading golang.org/x/text v0.3.7 [2022-09-20T17:04:10.309Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-09-20T17:04:10.588Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-09-20T17:04:10.588Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-09-20T17:04:13.234Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-09-20T17:04:13.234Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-09-20T17:04:13.234Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-09-20T17:04:13.235Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2022-09-20T17:04:13.235Z] go: downloading github.com/pelletier/go-toml v1.9.5 [2022-09-20T17:04:13.235Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-09-20T17:04:13.235Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2022-09-20T17:04:13.235Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-09-20T17:04:13.235Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.1.1 [2022-09-20T17:04:13.514Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-09-20T17:04:13.514Z] go: downloading golang.org/x/sys v0.0.0-20220610221304-9f5ed59c137d [2022-09-20T17:04:13.514Z] go: downloading github.com/kr/pretty v0.3.0 [2022-09-20T17:04:13.514Z] go: downloading github.com/x448/float16 v0.8.4 [2022-09-20T17:04:13.514Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-09-20T17:04:13.514Z] go: downloading github.com/nats-io/nats.go v1.16.0 [2022-09-20T17:04:13.514Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-09-20T17:04:13.796Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-09-20T17:04:13.796Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-09-20T17:04:13.796Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-09-20T17:04:13.796Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-09-20T17:04:13.796Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-09-20T17:04:13.796Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-09-20T17:04:13.796Z] go: downloading github.com/mitchellh/mapstructure v1.5.0 [2022-09-20T17:04:13.796Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-09-20T17:04:14.075Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-09-20T17:04:14.075Z] go: downloading github.com/Microsoft/go-winio v0.5.2 [2022-09-20T17:04:14.075Z] go: downloading github.com/zeebo/errs v1.2.2 [2022-09-20T17:04:14.075Z] go: downloading google.golang.org/grpc v1.46.0 [2022-09-20T17:04:15.082Z] go: downloading github.com/kr/text v0.2.0 [2022-09-20T17:04:15.082Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-09-20T17:04:15.082Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-09-20T17:04:15.082Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-09-20T17:04:15.082Z] go: downloading github.com/nats-io/nkeys v0.3.0 [2022-09-20T17:04:15.082Z] go: downloading github.com/nats-io/nuid v1.0.1 [2022-09-20T17:04:15.082Z] go: downloading github.com/nats-io/nats-server/v2 v2.7.4 [2022-09-20T17:04:15.358Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-09-20T17:04:15.358Z] go: downloading github.com/fatih/color v1.9.0 [2022-09-20T17:04:15.358Z] go: downloading github.com/mattn/go-colorable v0.1.12 [2022-09-20T17:04:15.358Z] go: downloading github.com/mattn/go-isatty v0.0.14 [2022-09-20T17:04:15.358Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-09-20T17:04:15.358Z] go: downloading github.com/pkg/errors v0.9.1 [2022-09-20T17:04:15.358Z] go: downloading gopkg.in/square/go-jose.v2 v2.4.1 [2022-09-20T17:04:15.634Z] go: downloading google.golang.org/protobuf v1.28.0 [2022-09-20T17:04:15.911Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-09-20T17:04:15.911Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-09-20T17:04:16.210Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-09-20T17:04:16.210Z] go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa [2022-09-20T17:04:16.492Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-09-20T17:04:16.492Z] go: downloading github.com/google/go-cmp v0.5.6 [2022-09-20T17:04:16.771Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-09-20T17:04:17.053Z] go: downloading github.com/klauspost/compress v1.15.9 [2022-09-20T17:04:19.696Z] go: downloading github.com/minio/highwayhash v1.0.2 [2022-09-20T17:04:19.696Z] go: downloading github.com/nats-io/jwt/v2 v2.3.0 [2022-09-20T17:04:19.974Z] go: downloading golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 [2022-09-20T17:04:19.974Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-09-20T17:04:19.974Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-09-20T17:04:20.252Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-09-20T17:04:20.252Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-09-20T17:04:20.252Z] go: downloading github.com/miekg/dns v1.1.26 [2022-09-20T17:04:20.527Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-09-20T17:04:20.527Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2022-09-20T17:04:20.527Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-09-20T17:04:20.527Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-09-20T17:04:20.801Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 [2022-09-20T17:04:20.801Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-09-20T17:04:20.801Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2022-09-20T17:04:22.248Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.3.0-dev.16 [2022-09-20T17:04:22.526Z] go: downloading github.com/nats-io/nats.go v1.17.0 [2022-09-20T17:04:22.808Z] 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-20T17:06:44.793Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/161/app-service-template' [2022-09-20T17:06:44.793Z] make -C ./app-service-template test [2022-09-20T17:06:44.793Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/161/app-service-template' [2022-09-20T17:06:44.793Z] CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... [2022-09-20T17:09:36.887Z] ok new-app-service 0.296s coverage: 48.1% of statements [2022-09-20T17:09:36.887Z] ? new-app-service/config [no test files] [2022-09-20T17:09:36.887Z] ok new-app-service/functions 0.242s [2022-09-20T17:09:36.887Z] CGO_ENABLED=1 go vet ./... [2022-09-20T17:11:13.804Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-20T17:11:13.804Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-20T17:11:13.804Z] ./bin/test-attribution-txt.sh [2022-09-20T17:11:13.804Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-20T17:11:13.804Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-20T17:11:13.804Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-09-20T17:11:13.804Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/161/app-service-template' [2022-09-20T17:11:13.804Z] CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-20T17:11:13.804Z] go: downloading github.com/gomodule/redigo v1.8.9 [2022-09-20T17:11:13.804Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2022-09-20T17:11:32.179Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.631s coverage: 60.4% of statements [2022-09-20T17:11:32.179Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.370s coverage: 93.9% of statements [2022-09-20T17:11:32.179Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2022-09-20T17:11:32.179Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.401s coverage: 76.5% of statements [2022-09-20T17:11:32.179Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2022-09-20T17:11:32.179Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.335s coverage: 88.7% of statements [2022-09-20T17:11:32.179Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.137s coverage: 100.0% of statements [2022-09-20T17:11:32.179Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.847s coverage: 78.5% of statements [2022-09-20T17:11:32.179Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2022-09-20T17:11:32.179Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2022-09-20T17:11:32.179Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.273s coverage: 97.3% of statements [2022-09-20T17:11:32.179Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2022-09-20T17:11:32.179Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] [2022-09-20T17:11:34.178Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.335s coverage: 82.8% of statements [2022-09-20T17:11:34.178Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] [2022-09-20T17:11:36.176Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 1.106s coverage: 81.5% of statements [2022-09-20T17:11:36.176Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] [2022-09-20T17:11:36.176Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] [2022-09-20T17:11:37.632Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.373s coverage: 28.7% of statements [2022-09-20T17:11:37.632Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] [2022-09-20T17:11:38.623Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.255s coverage: 14.0% of statements [2022-09-20T17:11:42.040Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.218s coverage: 27.3% of statements [2022-09-20T17:11:42.040Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2022-09-20T17:11:42.040Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-20T17:11:43.495Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.221s coverage: 51.4% of statements [2022-09-20T17:12:15.872Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.500s coverage: 75.5% of statements [2022-09-20T17:12:15.872Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.237s coverage: 94.4% of statements [2022-09-20T17:12:15.872Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-20T17:12:21.313Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-20T17:12:21.313Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-20T17:12:21.591Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] echo [2022-09-20T17:12:21.614Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-20T17:12:21.635Z] $ docker stop --time=1 05084739dc2f1450e674dc329cbe6badac2bc512768238c3c991dedee2f80f4d [2022-09-20T17:12:23.495Z] $ docker rm -f 05084739dc2f1450e674dc329cbe6badac2bc512768238c3c991dedee2f80f4d [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-20T17:12:27.404Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-20T17:12:27.429Z] Warning: overwriting stash ‘coverage-report’ [2022-09-20T17:12:28.352Z] Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T17:12:28.827Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-20T17:12:28.827Z] [2022-09-20T17:12:28.827Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T17:12:29.198Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-20T17:12:29.485Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-20T17:12:29.485Z] 8998bd30e6a1: Pulling fs layer [2022-09-20T17:12:29.485Z] 04944245beec: Pulling fs layer [2022-09-20T17:12:29.485Z] 699f458cf7ca: Pulling fs layer [2022-09-20T17:12:29.485Z] 765212b225bb: Pulling fs layer [2022-09-20T17:12:29.485Z] f23df028b6ca: Pulling fs layer [2022-09-20T17:12:29.485Z] d65c8cfc05b1: Pulling fs layer [2022-09-20T17:12:29.485Z] 2437ff75d9bd: Pulling fs layer [2022-09-20T17:12:29.485Z] f23df028b6ca: Waiting [2022-09-20T17:12:29.485Z] d65c8cfc05b1: Waiting [2022-09-20T17:12:29.485Z] 2437ff75d9bd: Waiting [2022-09-20T17:12:29.485Z] 765212b225bb: Waiting [2022-09-20T17:12:29.485Z] 04944245beec: Verifying Checksum [2022-09-20T17:12:29.485Z] 04944245beec: Download complete [2022-09-20T17:12:29.485Z] 765212b225bb: Verifying Checksum [2022-09-20T17:12:29.485Z] 765212b225bb: Download complete [2022-09-20T17:12:29.485Z] f23df028b6ca: Verifying Checksum [2022-09-20T17:12:29.485Z] f23df028b6ca: Download complete [2022-09-20T17:12:29.485Z] d65c8cfc05b1: Verifying Checksum [2022-09-20T17:12:29.485Z] d65c8cfc05b1: Download complete [2022-09-20T17:12:29.774Z] 699f458cf7ca: Verifying Checksum [2022-09-20T17:12:29.774Z] 699f458cf7ca: Download complete [2022-09-20T17:12:30.048Z] 8998bd30e6a1: Verifying Checksum [2022-09-20T17:12:30.048Z] 8998bd30e6a1: Download complete [2022-09-20T17:12:32.672Z] 2437ff75d9bd: Verifying Checksum [2022-09-20T17:12:32.672Z] 2437ff75d9bd: Download complete [2022-09-20T17:12:34.647Z] 8998bd30e6a1: Pull complete [2022-09-20T17:12:34.921Z] 04944245beec: Pull complete [2022-09-20T17:12:36.366Z] 699f458cf7ca: Pull complete [2022-09-20T17:12:36.640Z] 765212b225bb: Pull complete [2022-09-20T17:12:37.621Z] f23df028b6ca: Pull complete [2022-09-20T17:12:37.621Z] d65c8cfc05b1: Pull complete [2022-09-20T17:12:52.704Z] 2437ff75d9bd: Pull complete [2022-09-20T17:12:52.704Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-20T17:12:52.704Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-20T17:12:52.704Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T17:12:52.960Z] prd-ubuntu20.04-docker-arm64-4c-16g-29972 does not seem to be running inside a container [2022-09-20T17:12:53.046Z] $ 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/161 -v /w/workspace/app-functions-sdk-go/161:/w/workspace/app-functions-sdk-go/161:rw,z -v /w/workspace/app-functions-sdk-go/161@tmp:/w/workspace/app-functions-sdk-go/161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-20T17:12:55.556Z] $ docker top 71a8840e3bd6fac315967f11bf1d7df5aec02ce7ec3b1794ef117f998f40afe2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-20T17:12:56.475Z] ---> job-cost.sh [2022-09-20T17:12:56.475Z] lf-activate-venv: SKIPPING [2022-09-20T17:12:56.475Z] INFO: No Stack... [2022-09-20T17:12:56.748Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-20T17:12:57.721Z] INFO: Archiving Costs [Pipeline] sh [2022-09-20T17:12:58.376Z] + cat /w/workspace/app-functions-sdk-go/161/archives/cost.csv [2022-09-20T17:12:58.377Z] + cut -d, -f6 [Pipeline] lock [2022-09-20T17:12:58.405Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-161-stack-cost] [2022-09-20T17:12:58.411Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-161-stack-cost] did not exist. Created. [2022-09-20T17:12:58.412Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-161-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-20T17:12:59.087Z] /w/workspace/app-functions-sdk-go/161@tmp/durable-08ef597d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-20T17:12:59.757Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-20T17:12:59.784Z] Warning: overwriting stash ‘stack-cost’ [2022-09-20T17:12:59.853Z] Stashed 1 file(s) [Pipeline] } [2022-09-20T17:12:59.859Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-161-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-20T17:12:59.891Z] $ docker stop --time=1 71a8840e3bd6fac315967f11bf1d7df5aec02ce7ec3b1794ef117f998f40afe2 [2022-09-20T17:13:01.394Z] $ docker rm -f 71a8840e3bd6fac315967f11bf1d7df5aec02ce7ec3b1794ef117f998f40afe2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-09-20T17:13:01.844Z] provisioning config files... [2022-09-20T17:13:01.855Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config6234603404610113419tmp [Pipeline] { [Pipeline] sh [2022-09-20T17:13:02.167Z] + set +x [2022-09-20T17:13:02.167Z] + + bash -s -- [2022-09-20T17:13:02.167Z] curl -s https://codecov.io/bash [2022-09-20T17:13:02.167Z] [2022-09-20T17:13:02.167Z] _____ _ [2022-09-20T17:13:02.167Z] / ____| | | [2022-09-20T17:13:02.167Z] | | ___ __| | ___ ___ _____ __ [2022-09-20T17:13:02.167Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-20T17:13:02.167Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-20T17:13:02.167Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-20T17:13:02.167Z] Bash-1.0.6 [2022-09-20T17:13:02.167Z] [2022-09-20T17:13:02.167Z] [2022-09-20T17:13:02.167Z] ==> git version 2.25.1 found [2022-09-20T17:13:02.167Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-09-20T17:13:02.167Z] Release-Date: 2020-01-08 [2022-09-20T17:13:02.167Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-09-20T17:13:02.167Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-20T17:13:02.167Z] ==> Jenkins CI detected. [2022-09-20T17:13:02.167Z] current dir:  /w/workspace/oundry_app-functions-sdk-go_main [2022-09-20T17:13:02.167Z] project root: . [2022-09-20T17:13:02.167Z] --> token set from env [2022-09-20T17:13:02.167Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-20T17:13:02.167Z] ==> Running gcov in . (disable via -X gcov) [2022-09-20T17:13:02.167Z] ==> Python coveragepy not found [2022-09-20T17:13:02.167Z] ==> Searching for coverage reports in: [2022-09-20T17:13:02.167Z] + . [2022-09-20T17:13:02.167Z] -> Found 2 reports [2022-09-20T17:13:02.167Z] ==> Detecting git/mercurial file structure [2022-09-20T17:13:02.167Z] ==> Reading reports [2022-09-20T17:13:02.167Z] + ./app-service-template/coverage.out bytes=1222 [2022-09-20T17:13:02.167Z] + ./coverage.out bytes=126112 [2022-09-20T17:13:02.167Z] ==> Appending adjustments [2022-09-20T17:13:02.167Z] https://docs.codecov.io/docs/fixing-reports [2022-09-20T17:13:02.737Z] + Found adjustments [2022-09-20T17:13:02.737Z] ==> Gzipping contents [2022-09-20T17:13:02.737Z] 24K /tmp/codecov.2mV16A.gz [2022-09-20T17:13:02.737Z] ==> Uploading reports [2022-09-20T17:13:02.737Z] url: https://codecov.io [2022-09-20T17:13:02.737Z] query: branch=main&commit=ee79f075673e0cb5bd207a4f5e740d8162669990&build=161&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F161%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-09-20T17:13:02.737Z] -> Pinging Codecov [2022-09-20T17:13:02.737Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=main&commit=ee79f075673e0cb5bd207a4f5e740d8162669990&build=161&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F161%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-09-20T17:13:02.998Z] -> Uploading to [2022-09-20T17:13:02.998Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-20/3D8B5DFFC46A037C893635FACE044666/ee79f075673e0cb5bd207a4f5e740d8162669990/50b36333-1657-4ee1-9e77-4b25ba67003f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220920T171302Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6e34241bfa1069ca966e9018542c4067d2a898c8ce387fe1b3d45b9a634db526 [2022-09-20T17:13:02.998Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-20T17:13:02.998Z] Dload Upload Total Spent Left Speed [2022-09-20T17:13:03.260Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21711 0 0 100 21711 0 70490 --:--:-- --:--:-- --:--:-- 70490 [2022-09-20T17:13:03.260Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/ee79f075673e0cb5bd207a4f5e740d8162669990 [Pipeline] } [2022-09-20T17:13:03.269Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-09-20T17:13:03.409Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-09-20T17:13:03.423Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T17:13:03.720Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-09-20T17:13:03.720Z] [2022-09-20T17:13:03.720Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T17:13:04.020Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-09-20T17:13:04.020Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-09-20T17:13:04.020Z] df9b9388f04a: Pulling fs layer [2022-09-20T17:13:04.020Z] 52dc419b0ee2: Pulling fs layer [2022-09-20T17:13:04.020Z] 25bc292e5bac: Pulling fs layer [2022-09-20T17:13:04.020Z] 114826534d7a: Pulling fs layer [2022-09-20T17:13:04.020Z] 4657fd5d0bcf: Pulling fs layer [2022-09-20T17:13:04.020Z] 6ad1cebc031e: Pulling fs layer [2022-09-20T17:13:04.020Z] 8a3aa393b2d8: Pulling fs layer [2022-09-20T17:13:04.020Z] 6ad1cebc031e: Waiting [2022-09-20T17:13:04.020Z] 114826534d7a: Waiting [2022-09-20T17:13:04.020Z] 4657fd5d0bcf: Waiting [2022-09-20T17:13:04.020Z] 8a3aa393b2d8: Waiting [2022-09-20T17:13:04.020Z] 25bc292e5bac: Verifying Checksum [2022-09-20T17:13:04.020Z] 52dc419b0ee2: Verifying Checksum [2022-09-20T17:13:04.020Z] 52dc419b0ee2: Download complete [2022-09-20T17:13:04.020Z] 4657fd5d0bcf: Download complete [2022-09-20T17:13:04.020Z] df9b9388f04a: Download complete [2022-09-20T17:13:04.280Z] 6ad1cebc031e: Verifying Checksum [2022-09-20T17:13:04.280Z] 6ad1cebc031e: Download complete [2022-09-20T17:13:04.280Z] df9b9388f04a: Pull complete [2022-09-20T17:13:04.280Z] 52dc419b0ee2: Pull complete [2022-09-20T17:13:04.280Z] 25bc292e5bac: Pull complete [2022-09-20T17:13:04.849Z] 114826534d7a: Verifying Checksum [2022-09-20T17:13:04.849Z] 114826534d7a: Download complete [2022-09-20T17:13:04.849Z] 8a3aa393b2d8: Verifying Checksum [2022-09-20T17:13:04.849Z] 8a3aa393b2d8: Download complete [2022-09-20T17:13:08.135Z] 114826534d7a: Pull complete [2022-09-20T17:13:08.135Z] 4657fd5d0bcf: Pull complete [2022-09-20T17:13:08.704Z] 6ad1cebc031e: Pull complete [2022-09-20T17:13:11.246Z] 8a3aa393b2d8: Pull complete [2022-09-20T17:13:11.246Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-09-20T17:13:11.506Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-09-20T17:13:11.506Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T17:13:11.600Z] prd-ubuntu20.04-docker-8c-8g-29971 does not seem to be running inside a container [2022-09-20T17:13:11.659Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-09-20T17:13:15.159Z] $ docker top cddaa29d1c4441402c2928ec53089c843bd5acbd91f275366f5b233a90768252 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-09-20T17:13:15.217Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-functions-sdk-go:main' [Pipeline] sh [2022-09-20T17:13:15.495Z] + set -o pipefail [2022-09-20T17:13:15.495Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-functions-sdk-go:main' [2022-09-20T17:13:22.074Z] [2022-09-20T17:13:22.074Z] Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2022-09-20T17:13:22.074Z] [2022-09-20T17:13:22.074Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/899a6017-c938-46f1-adf7-2bd1b283a5ba/history/1ef7d40b-16c3-4ec5-948a-faa88b1f7d36 [2022-09-20T17:13:22.074Z] [2022-09-20T17:13:22.074Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-09-20T17:13:22.074Z] [2022-09-20T17:13:22.074Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-09-20T17:13:22.074Z] [2022-09-20T17:13:22.074Z] [Pipeline] } [2022-09-20T17:13:22.105Z] $ docker stop --time=1 cddaa29d1c4441402c2928ec53089c843bd5acbd91f275366f5b233a90768252 [2022-09-20T17:13:24.818Z] $ docker rm -f cddaa29d1c4441402c2928ec53089c843bd5acbd91f275366f5b233a90768252 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2022-09-20T17:13:25.188Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-20T17:13:25.200Z] provisioning config files... [2022-09-20T17:13:25.209Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config1657138504501958797tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-20T17:13:25.500Z] --> edgex-publish-swagger.sh [2022-09-20T17:13:25.500Z] === Publish openapi/v2 API === [2022-09-20T17:13:25.500Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-09-20T17:13:25.500Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v2/app-functions-sdk.yaml] [2022-09-20T17:13:25.500Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-20T17:13:25.500Z] Dload Upload Total Spent Left Speed [2022-09-20T17:13:26.441Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13708 0 0 100 13708 0 13257 0:00:01 0:00:01 --:--:-- 13257 100 13708 0 0 100 13708 0 13244 0:00:01 0:00:01 --:--:-- 13257 [2022-09-20T17:13:26.441Z] [2022-09-20T17:13:26.441Z] [Pipeline] } [2022-09-20T17:13:26.449Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-20T17:13:26.830Z] + git log --format=format:%s -1 ee79f075673e0cb5bd207a4f5e740d8162669990 [Pipeline] sh [2022-09-20T17:13:27.124Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-20T17:13:27.124Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T17:13:27.423Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-20T17:13:27.423Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T17:13:27.495Z] prd-ubuntu20.04-docker-8c-8g-29971 does not seem to be running inside a container [2022-09-20T17:13:27.543Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-20T17:13:27.921Z] $ docker top ba1691113ddb8844fc2ec4883c0eff2eacaed8c07c5976974b4a68fc8eee15be -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-20T17:13:28.002Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-20T17:13:28.003Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-20T17:13:28.121Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-20T17:13:28.144Z] $ docker exec ba1691113ddb8844fc2ec4883c0eff2eacaed8c07c5976974b4a68fc8eee15be ssh-agent [2022-09-20T17:13:28.238Z] SSH_AUTH_SOCK=/tmp/ssh-8vrcVCDgySGo/agent.32 [2022-09-20T17:13:28.238Z] SSH_AGENT_PID=38 [2022-09-20T17:13:28.244Z] Running ssh-add (command line suppressed) [2022-09-20T17:13:28.386Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4721770509331905337.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4721770509331905337.key) [2022-09-20T17:13:28.383Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-20T17:13:28.670Z] + git semver tag [2022-09-20T17:13:28.930Z] 2022-09-20 17:13:28,881 [run_tag] DEBUG tag force:False [2022-09-20T17:13:28.930Z] 2022-09-20 17:13:28,881 [check_head_tag] DEBUG check head tag [2022-09-20T17:13:28.930Z] 2022-09-20 17:13:28,882 [execute] INFO git cat-file --batch-check [2022-09-20T17:13:28.930Z] 2022-09-20 17:13:28,882 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) [2022-09-20T17:13:28.930Z] 2022-09-20 17:13:28,885 [execute] INFO git cat-file --batch [2022-09-20T17:13:28.930Z] 2022-09-20 17:13:28,886 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) [2022-09-20T17:13:28.930Z] 2022-09-20 17:13:28,906 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-09-20T17:13:28.930Z] 2022-09-20 17:13:28,906 [execute] INFO git tag -a v2.3.0-dev.40 -m v2.3.0-dev.40 [2022-09-20T17:13:28.930Z] 2022-09-20 17:13:28,906 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.40', '-m', 'v2.3.0-dev.40'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2022-09-20T17:13:28.930Z] 2022-09-20 17:13:28,911 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-09-20T17:13:28.930Z] 2.3.0-dev.40 [Pipeline] } [2022-09-20T17:13:28.959Z] $ docker exec --env ******** --env ******** ba1691113ddb8844fc2ec4883c0eff2eacaed8c07c5976974b4a68fc8eee15be ssh-agent -k [2022-09-20T17:13:29.063Z] unset SSH_AUTH_SOCK; [2022-09-20T17:13:29.063Z] unset SSH_AGENT_PID; [2022-09-20T17:13:29.064Z] echo Agent pid 38 killed; [2022-09-20T17:13:29.055Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-20T17:13:29.362Z] + git semver [Pipeline] } [2022-09-20T17:13:29.654Z] $ docker stop --time=1 ba1691113ddb8844fc2ec4883c0eff2eacaed8c07c5976974b4a68fc8eee15be [2022-09-20T17:13:30.872Z] $ docker rm -f ba1691113ddb8844fc2ec4883c0eff2eacaed8c07c5976974b4a68fc8eee15be [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T17:13:31.263Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-09-20T17:13:31.263Z] [2022-09-20T17:13:31.263Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T17:13:31.567Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-09-20T17:13:31.567Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-09-20T17:13:31.567Z] ab5ef0e58194: Pulling fs layer [2022-09-20T17:13:31.567Z] 9712f1f96733: Pulling fs layer [2022-09-20T17:13:31.567Z] 63f879dbbcfc: Pulling fs layer [2022-09-20T17:13:31.567Z] 0d9ebad4ef96: Pulling fs layer [2022-09-20T17:13:31.567Z] e9a5061849ea: Pulling fs layer [2022-09-20T17:13:31.567Z] d747dcd14b5f: Pulling fs layer [2022-09-20T17:13:31.567Z] 2de7ff778b66: Pulling fs layer [2022-09-20T17:13:31.567Z] 0d9ebad4ef96: Waiting [2022-09-20T17:13:31.567Z] e9a5061849ea: Waiting [2022-09-20T17:13:31.567Z] 9712f1f96733: Download complete [2022-09-20T17:13:31.830Z] 63f879dbbcfc: Verifying Checksum [2022-09-20T17:13:31.830Z] 63f879dbbcfc: Download complete [2022-09-20T17:13:32.091Z] e9a5061849ea: Verifying Checksum [2022-09-20T17:13:32.091Z] e9a5061849ea: Download complete [2022-09-20T17:13:32.091Z] d747dcd14b5f: Verifying Checksum [2022-09-20T17:13:32.091Z] d747dcd14b5f: Download complete [2022-09-20T17:13:32.091Z] 0d9ebad4ef96: Verifying Checksum [2022-09-20T17:13:32.091Z] 0d9ebad4ef96: Download complete [2022-09-20T17:13:32.091Z] ab5ef0e58194: Verifying Checksum [2022-09-20T17:13:32.091Z] ab5ef0e58194: Download complete [2022-09-20T17:13:32.350Z] 2de7ff778b66: Verifying Checksum [2022-09-20T17:13:32.350Z] 2de7ff778b66: Download complete [2022-09-20T17:13:34.879Z] ab5ef0e58194: Pull complete [2022-09-20T17:13:34.879Z] 9712f1f96733: Pull complete [2022-09-20T17:13:35.446Z] 63f879dbbcfc: Pull complete [2022-09-20T17:13:39.647Z] 0d9ebad4ef96: Pull complete [2022-09-20T17:13:39.647Z] e9a5061849ea: Pull complete [2022-09-20T17:13:39.647Z] d747dcd14b5f: Pull complete [2022-09-20T17:13:40.600Z] 2de7ff778b66: Pull complete [2022-09-20T17:13:40.600Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-09-20T17:13:40.600Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-09-20T17:13:40.600Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T17:13:40.693Z] prd-ubuntu20.04-docker-8c-8g-29971 does not seem to be running inside a container [2022-09-20T17:13:40.748Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-09-20T17:13:43.861Z] $ docker top b42112fa37435d5eaadc4347403174531a351906c5de4b7f0d3556027d782993 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-09-20T17:13:43.913Z] provisioning config files... [2022-09-20T17:13:43.920Z] copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config6683298960195394175tmp [2022-09-20T17:13:43.930Z] copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config4372845511888415197tmp [2022-09-20T17:13:43.939Z] copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config3830257487544755489tmp [Pipeline] { [Pipeline] echo [2022-09-20T17:13:43.952Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T17:13:44.236Z] ---> sigul-configuration.sh [2022-09-20T17:13:44.236Z] gpg: directory `/root/.gnupg' created [2022-09-20T17:13:44.236Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-09-20T17:13:44.236Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-09-20T17:13:44.236Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-09-20T17:13:44.236Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-09-20T17:13:44.236Z] gpg: CAST5 encrypted data [2022-09-20T17:13:44.236Z] gpg: encrypted with 1 passphrase [2022-09-20T17:13:44.236Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-09-20T17:13:44.521Z] + mkdir /home/jenkins [2022-09-20T17:13:44.522Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-09-20T17:13:44.813Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-09-20T17:13:44.822Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T17:13:45.107Z] ---> sigul-install.sh [2022-09-20T17:13:45.107Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-09-20T17:13:45.400Z] + git tag --list [2022-09-20T17:13:45.400Z] v0.1.0 [2022-09-20T17:13:45.400Z] v0.1.1 [2022-09-20T17:13:45.400Z] v1.0.0 [2022-09-20T17:13:45.400Z] v1.1.0 [2022-09-20T17:13:45.400Z] v1.2.0 [2022-09-20T17:13:45.400Z] v1.3.0 [2022-09-20T17:13:45.400Z] v1.3.1 [2022-09-20T17:13:45.400Z] v2.0.0 [2022-09-20T17:13:45.400Z] v2.0.1 [2022-09-20T17:13:45.400Z] v2.1.0 [2022-09-20T17:13:45.400Z] v2.1.1 [2022-09-20T17:13:45.400Z] v2.1.1-dev.3 [2022-09-20T17:13:45.400Z] v2.1.1-dev.4 [2022-09-20T17:13:45.400Z] v2.2.0 [2022-09-20T17:13:45.400Z] v2.2.1-dev.1 [2022-09-20T17:13:45.400Z] v2.2.1-dev.10 [2022-09-20T17:13:45.400Z] v2.2.1-dev.11 [2022-09-20T17:13:45.400Z] v2.2.1-dev.12 [2022-09-20T17:13:45.400Z] v2.2.1-dev.13 [2022-09-20T17:13:45.400Z] v2.2.1-dev.14 [2022-09-20T17:13:45.400Z] v2.2.1-dev.15 [2022-09-20T17:13:45.400Z] v2.2.1-dev.16 [2022-09-20T17:13:45.400Z] v2.2.1-dev.17 [2022-09-20T17:13:45.400Z] v2.2.1-dev.18 [2022-09-20T17:13:45.400Z] v2.2.1-dev.19 [2022-09-20T17:13:45.400Z] v2.2.1-dev.2 [2022-09-20T17:13:45.400Z] v2.2.1-dev.20 [2022-09-20T17:13:45.400Z] v2.2.1-dev.21 [2022-09-20T17:13:45.400Z] v2.2.1-dev.22 [2022-09-20T17:13:45.400Z] v2.2.1-dev.23 [2022-09-20T17:13:45.400Z] v2.2.1-dev.3 [2022-09-20T17:13:45.400Z] v2.2.1-dev.4 [2022-09-20T17:13:45.400Z] v2.2.1-dev.5 [2022-09-20T17:13:45.400Z] v2.2.1-dev.6 [2022-09-20T17:13:45.400Z] v2.2.1-dev.7 [2022-09-20T17:13:45.400Z] v2.2.1-dev.8 [2022-09-20T17:13:45.400Z] v2.2.1-dev.9 [2022-09-20T17:13:45.400Z] v2.3.0-dev.24 [2022-09-20T17:13:45.400Z] v2.3.0-dev.25 [2022-09-20T17:13:45.400Z] v2.3.0-dev.26 [2022-09-20T17:13:45.400Z] v2.3.0-dev.27 [2022-09-20T17:13:45.400Z] v2.3.0-dev.28 [2022-09-20T17:13:45.400Z] v2.3.0-dev.29 [2022-09-20T17:13:45.400Z] v2.3.0-dev.30 [2022-09-20T17:13:45.400Z] v2.3.0-dev.31 [2022-09-20T17:13:45.400Z] v2.3.0-dev.32 [2022-09-20T17:13:45.400Z] v2.3.0-dev.33 [2022-09-20T17:13:45.400Z] v2.3.0-dev.34 [2022-09-20T17:13:45.400Z] v2.3.0-dev.35 [2022-09-20T17:13:45.400Z] v2.3.0-dev.36 [2022-09-20T17:13:45.400Z] v2.3.0-dev.37 [2022-09-20T17:13:45.400Z] v2.3.0-dev.38 [2022-09-20T17:13:45.400Z] v2.3.0-dev.39 [2022-09-20T17:13:45.400Z] v2.3.0-dev.40 [Pipeline] sh [2022-09-20T17:13:45.688Z] + lftools sign git-tag v2.3.0-dev.40 [2022-09-20T17:13:46.257Z] Signing Git tag with Sigul... [2022-09-20T17:13:46.257Z] Signing v2.3.0-dev.40 [Pipeline] echo [2022-09-20T17:13:46.526Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T17:13:46.815Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-09-20T17:13:46.823Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-09-20T17:13:46.861Z] $ docker stop --time=1 b42112fa37435d5eaadc4347403174531a351906c5de4b7f0d3556027d782993 [2022-09-20T17:13:48.119Z] $ docker rm -f b42112fa37435d5eaadc4347403174531a351906c5de4b7f0d3556027d782993 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-09-20T17:13:48.505Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-20T17:13:48.505Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T17:13:48.804Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-20T17:13:48.804Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T17:13:48.878Z] prd-ubuntu20.04-docker-8c-8g-29971 does not seem to be running inside a container [2022-09-20T17:13:48.929Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-20T17:13:49.238Z] $ docker top 52e70034bb183455de95417903a67cf67f14cae9005c63cd6462db23f92445f3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-20T17:13:49.310Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-20T17:13:49.310Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-20T17:13:49.432Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-20T17:13:49.454Z] $ docker exec 52e70034bb183455de95417903a67cf67f14cae9005c63cd6462db23f92445f3 ssh-agent [2022-09-20T17:13:49.563Z] SSH_AUTH_SOCK=/tmp/ssh-qeVGRkaU4NLf/agent.34 [2022-09-20T17:13:49.563Z] SSH_AGENT_PID=41 [2022-09-20T17:13:49.568Z] Running ssh-add (command line suppressed) [2022-09-20T17:13:49.693Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_141304482257887803.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_141304482257887803.key) [2022-09-20T17:13:49.686Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-20T17:13:49.972Z] + git semver bump pre [2022-09-20T17:13:50.231Z] 2022-09-20 17:13:50,178 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-09-20T17:13:50.232Z] 2022-09-20 17:13:50,179 [bump_version] DEBUG bumping version:2.3.0-dev.40 on axis:pre with prefix:dev [2022-09-20T17:13:50.232Z] 2022-09-20 17:13:50,179 [bump_version] DEBUG bumped version:2.3.0-dev.41 [2022-09-20T17:13:50.232Z] 2022-09-20 17:13:50,179 [write_version] DEBUG write version:2.3.0-dev.41 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:True [2022-09-20T17:13:50.232Z] 2022-09-20 17:13:50,179 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-09-20T17:13:50.232Z] 2022-09-20 17:13:50,179 [write_file] DEBUG write to file:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-09-20T17:13:50.232Z] 2022-09-20 17:13:50,181 [execute] INFO git cat-file --batch-check [2022-09-20T17:13:50.232Z] 2022-09-20 17:13:50,181 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-09-20T17:13:50.232Z] 2022-09-20 17:13:50,187 [execute] INFO git cat-file --batch [2022-09-20T17:13:50.232Z] 2022-09-20 17:13:50,187 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-09-20T17:13:50.232Z] 2022-09-20 17:13:50,192 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-09-20T17:13:50.232Z] 2.3.0-dev.41 [Pipeline] } [2022-09-20T17:13:50.262Z] $ docker exec --env ******** --env ******** 52e70034bb183455de95417903a67cf67f14cae9005c63cd6462db23f92445f3 ssh-agent -k [2022-09-20T17:13:50.374Z] unset SSH_AUTH_SOCK; [2022-09-20T17:13:50.374Z] unset SSH_AGENT_PID; [2022-09-20T17:13:50.374Z] echo Agent pid 41 killed; [2022-09-20T17:13:50.365Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-20T17:13:50.668Z] + git semver [Pipeline] } [2022-09-20T17:13:50.962Z] $ docker stop --time=1 52e70034bb183455de95417903a67cf67f14cae9005c63cd6462db23f92445f3 [2022-09-20T17:13:52.232Z] $ docker rm -f 52e70034bb183455de95417903a67cf67f14cae9005c63cd6462db23f92445f3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-20T17:13:52.571Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-20T17:13:52.571Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T17:13:52.871Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-20T17:13:52.871Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T17:13:52.950Z] prd-ubuntu20.04-docker-8c-8g-29971 does not seem to be running inside a container [2022-09-20T17:13:53.004Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-20T17:13:53.348Z] $ docker top 923d090c14e4e34348573f46544bf6022dedabc05375a9524be7cd80c844c204 -eo pid,comm [2022-09-20T17:13:53.390Z] 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-20T17:13:53.390Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-20T17:13:53.426Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-20T17:13:53.426Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-20T17:13:53.570Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-20T17:13:53.593Z] $ docker exec 923d090c14e4e34348573f46544bf6022dedabc05375a9524be7cd80c844c204 ssh-agent [2022-09-20T17:13:53.689Z] SSH_AUTH_SOCK=/tmp/ssh-PGmpk6yfNxu9/agent.34 [2022-09-20T17:13:53.689Z] SSH_AGENT_PID=40 [2022-09-20T17:13:53.694Z] Running ssh-add (command line suppressed) [2022-09-20T17:13:53.823Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7279386629302417947.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7279386629302417947.key) [2022-09-20T17:13:53.818Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-20T17:13:54.106Z] + git semver push [2022-09-20T17:13:54.366Z] 2022-09-20 17:13:54,318 [run_push] DEBUG push [2022-09-20T17:13:54.366Z] 2022-09-20 17:13:54,319 [execute] INFO git cat-file --batch-check [2022-09-20T17:13:54.366Z] 2022-09-20 17:13:54,319 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-09-20T17:13:54.366Z] 2022-09-20 17:13:54,323 [execute] INFO git rev-list 051ba936af74dc7b501a109be510f997749ae76d -- [2022-09-20T17:13:54.366Z] 2022-09-20 17:13:54,323 [execute] DEBUG Popen(['git', 'rev-list', '051ba936af74dc7b501a109be510f997749ae76d', '--'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-09-20T17:13:54.366Z] 2022-09-20 17:13:54,337 [execute] INFO git fetch -v origin [2022-09-20T17:13:54.366Z] 2022-09-20 17:13:54,337 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-09-20T17:13:55.307Z] 2022-09-20 17:13:54,981 [run_push] DEBUG no remote changes detected [2022-09-20T17:13:55.307Z] 2022-09-20 17:13:54,982 [execute] INFO git push origin semver [2022-09-20T17:13:55.307Z] 2022-09-20 17:13:54,982 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-09-20T17:13:56.247Z] 2022-09-20 17:13:55,958 [run_push] DEBUG push all version tags [2022-09-20T17:13:56.247Z] 2022-09-20 17:13:55,959 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-09-20T17:13:56.247Z] 2022-09-20 17:13:55,959 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2022-09-20T17:13:57.187Z] 2022-09-20 17:13:56,866 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-09-20T17:13:57.187Z] 2.3.0-dev.41 [Pipeline] } [2022-09-20T17:13:57.218Z] $ docker exec --env ******** --env ******** 923d090c14e4e34348573f46544bf6022dedabc05375a9524be7cd80c844c204 ssh-agent -k [2022-09-20T17:13:57.322Z] unset SSH_AUTH_SOCK; [2022-09-20T17:13:57.322Z] unset SSH_AGENT_PID; [2022-09-20T17:13:57.322Z] echo Agent pid 40 killed; [2022-09-20T17:13:57.317Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-20T17:13:57.620Z] + git semver [Pipeline] } [2022-09-20T17:13:57.914Z] $ docker stop --time=1 923d090c14e4e34348573f46544bf6022dedabc05375a9524be7cd80c844c204 [2022-09-20T17:13:59.206Z] $ docker rm -f 923d090c14e4e34348573f46544bf6022dedabc05375a9524be7cd80c844c204 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-09-20T17:13:59.715Z] + [ -d /w/workspace/oundry_app-functions-sdk-go_main/archives ] [2022-09-20T17:13:59.715Z] + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives [2022-09-20T17:13:59.715Z] total 16 [2022-09-20T17:13:59.715Z] drwxr-xr-x 3 root root 4096 Sep 20 16:59 . [2022-09-20T17:13:59.715Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 17:13 .. [2022-09-20T17:13:59.715Z] drwxr-xr-x 2 root root 4096 Sep 20 16:59 cost [2022-09-20T17:13:59.715Z] -rw-r--r-- 1 root root 92 Sep 20 16:59 cost.csv [2022-09-20T17:13:59.715Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_app-functions-sdk-go_main/archives [2022-09-20T17:13:59.715Z] + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives [2022-09-20T17:13:59.715Z] total 16 [2022-09-20T17:13:59.715Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 16:59 . [2022-09-20T17:13:59.715Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 17:13 .. [2022-09-20T17:13:59.715Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 16:59 cost [2022-09-20T17:13:59.715Z] -rw-r--r-- 1 jenkins jenkins 92 Sep 20 16:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-20T17:14:00.004Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T17:14:00.865Z] ---> package-listing.sh [2022-09-20T17:14:00.865Z] ++ facter osfamily [2022-09-20T17:14:00.865Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-20T17:14:01.165Z] + OS_FAMILY=debian [2022-09-20T17:14:01.165Z] + workspace=/w/workspace/oundry_app-functions-sdk-go_main [2022-09-20T17:14:01.165Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-20T17:14:01.165Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-20T17:14:01.165Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-20T17:14:01.165Z] + PACKAGES=/tmp/packages_start.txt [2022-09-20T17:14:01.165Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2022-09-20T17:14:01.165Z] + PACKAGES=/tmp/packages_end.txt [2022-09-20T17:14:01.165Z] + case "${OS_FAMILY}" in [2022-09-20T17:14:01.165Z] + dpkg -l [2022-09-20T17:14:01.165Z] + grep '^ii' [2022-09-20T17:14:01.165Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-20T17:14:01.165Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-20T17:14:01.165Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-20T17:14:01.165Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2022-09-20T17:14:01.165Z] + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ [2022-09-20T17:14:01.165Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_app-functions-sdk-go_main/archives/ [Pipeline] echo [2022-09-20T17:14:01.205Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_app-functions-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-20T17:14:01.483Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T17:14:02.066Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-20T17:14:02.066Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T17:14:02.146Z] prd-ubuntu20.04-docker-8c-8g-29971 does not seem to be running inside a container [2022-09-20T17:14:02.198Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_app-functions-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-20T17:14:02.432Z] $ docker top b0c722878fe3ce23397ec9973fa708ecac9fa90ae5a557973b5dbc528d850f8a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-20T17:14:02.768Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-20T17:14:03.052Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-20T17:14:03.335Z] + ls /var/log/sa-host [2022-09-20T17:14:03.335Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-20T17:14:03.404Z] provisioning config files... [2022-09-20T17:14:03.414Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config6006511095306378295tmp [Pipeline] { [Pipeline] echo [2022-09-20T17:14:03.431Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T17:14:03.714Z] ---> create-netrc.sh [Pipeline] } [2022-09-20T17:14:03.722Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-20T17:14:04.046Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-20T17:14:04.054Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T17:14:04.339Z] ---> sudo-logs.sh [2022-09-20T17:14:04.339Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-20T17:14:04.359Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T17:14:04.643Z] ---> job-cost.sh [2022-09-20T17:14:04.643Z] lf-activate-venv: SKIPPING [2022-09-20T17:14:04.643Z] DEBUG: total: 0.2199999988079071 [2022-09-20T17:14:04.643Z] INFO: Retrieving Stack Cost... [2022-09-20T17:14:05.214Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-20T17:14:05.473Z] INFO: Archiving Costs [Pipeline] echo [2022-09-20T17:14:05.485Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T17:14:05.771Z] ---> logs-deploy.sh [2022-09-20T17:14:05.771Z] lf-activate-venv: SKIPPING [2022-09-20T17:14:05.771Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/161 [2022-09-20T17:14:05.771Z] INFO: archiving workspace using pattern(s): [2022-09-20T17:14:06.708Z] Archives upload complete. [2022-09-20T17:14:06.708Z] INFO: archiving logs to Nexus