Pull request #1113 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of AlexCuse for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 6fa935348d6a26a58428775125e272887717a7f8+2ab0097ca15a1579730e16c0435a7126b2d4fc1d (e2d1b5458b361619bbca784c57f22be1c3a9b9cc) 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-ssh16614294882083269628.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh17354245567090935299.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1113/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1113/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12912528715833810588.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1113/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7534891217289074935.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared 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-ssh15351183166864028792.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1113/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1113/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1616759524401816299.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-64094 in /w/workspace/dry_app-functions-sdk-go_PR-1113 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/dry_app-functions-sdk-go_PR-1113 # 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 Merging remotes/origin/jakarta commit 2ab0097ca15a1579730e16c0435a7126b2d4fc1d into PR head commit 6fa935348d6a26a58428775125e272887717a7f8 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/1113/head:refs/remotes/origin/PR-1113 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6fa935348d6a26a58428775125e272887717a7f8 # timeout=10 Merge succeeded, producing 6fa935348d6a26a58428775125e272887717a7f8 Checking out Revision 6fa935348d6a26a58428775125e272887717a7f8 (PR-1113) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 2ab0097ca15a1579730e16c0435a7126b2d4fc1d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6fa935348d6a26a58428775125e272887717a7f8 # timeout=10 Commit message: "fix: Make deep copy of MessageBus Optional map to avoid external adds (#1109)" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-19T15:15:49.011Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-19T15:15:49.209Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-19T15:15:49.310Z] ========================================================= [2022-05-19T15:15:49.310Z] EdgeX Global Pipelines Version Info [2022-05-19T15:15:49.310Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-19T15:15:50.143Z] ------------------- [2022-05-19T15:15:50.143Z] stable info: [2022-05-19T15:15:50.143Z] ------------------- [2022-05-19T15:15:50.143Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-19T15:15:50.143Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-19T15:15:50.143Z] Message: update stable to v1.0.230 [2022-05-19T15:15:50.716Z] ------------------- [2022-05-19T15:15:50.716Z] experimental info: [2022-05-19T15:15:50.716Z] ------------------- [2022-05-19T15:15:50.716Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-19T15:15:50.716Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-19T15:15:50.716Z] Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-19T15:15:50.967Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2022-05-19T15:15:51.006Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2022-05-19T15:15:51.057Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-19T15:15:51.092Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-19T15:15:51.133Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-19T15:15:51.169Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-19T15:15:51.204Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-19T15:15:51.243Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-19T15:15:51.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-19T15:15:51.326Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-19T15:15:51.363Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-19T15:15:51.401Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2022-05-19T15:15:51.442Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-19T15:15:51.476Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-19T15:15:51.523Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2022-05-19T15:15:51.562Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-05-19T15:15:51.599Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-19T15:15:51.635Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-19T15:15:51.672Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-19T15:15:51.709Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-19T15:15:51.747Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-05-19T15:15:51.785Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-05-19T15:15:51.823Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-19T15:15:51.865Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-19T15:15:51.902Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2022-05-19T15:15:51.945Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-19T15:15:51.983Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1113 [Pipeline] echo [2022-05-19T15:15:52.027Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1113 [Pipeline] echo [2022-05-19T15:15:52.068Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1113 [Pipeline] echo [2022-05-19T15:15:52.107Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6fa935348d6a26a58428775125e272887717a7f8 [Pipeline] echo [2022-05-19T15:15:52.147Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6fa9353 [Pipeline] echo [2022-05-19T15:15:52.183Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-19T15:15:52.683Z] + git rev-list -1 --merges 6fa935348d6a26a58428775125e272887717a7f8~1..6fa935348d6a26a58428775125e272887717a7f8 [Pipeline] echo [2022-05-19T15:15:52.811Z] -----------> git rev-list -1 --merges 6fa935348d6a26a58428775125e272887717a7f8~1..6fa935348d6a26a58428775125e272887717a7f8 6fa935348d6a26a58428775125e272887717a7f8 [false] [Pipeline] sh [2022-05-19T15:15:53.129Z] + git log --format=format:%s -1 6fa935348d6a26a58428775125e272887717a7f8 [Pipeline] echo [2022-05-19T15:15:53.169Z] ========================================================= [2022-05-19T15:15:53.169Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-19T15:15:53.169Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-19T15:15:53.623Z] + git log --format=format:%s -1 6fa935348d6a26a58428775125e272887717a7f8 [Pipeline] echo [2022-05-19T15:15:53.654Z] [semverPrep] GIT_COMMIT: 6fa935348d6a26a58428775125e272887717a7f8, Commit Message: fix: Make deep copy of MessageBus Optional map to avoid external adds (#1109) [Pipeline] echo [2022-05-19T15:15:53.686Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-19T15:15:54.152Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-19T15:15:54.152Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-19T15:15:54.152Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-19T15:15:54.152Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-19T15:15:54.152Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-19T15:15:54.152Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-19T15:15:54.152Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-19T15:15:54.611Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-19T15:15:54.873Z] [2022-05-19T15:15:54.873Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-19T15:15:55.218Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-19T15:15:55.218Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-19T15:15:55.218Z] 1fe172e4850f: Pulling fs layer [2022-05-19T15:15:55.218Z] caf521ccaac6: Pulling fs layer [2022-05-19T15:15:55.218Z] 3ead6fa29328: Pulling fs layer [2022-05-19T15:15:55.218Z] 5c2a1cbceb83: Pulling fs layer [2022-05-19T15:15:55.218Z] a8d5f1318db7: Pulling fs layer [2022-05-19T15:15:55.218Z] c427282e49a2: Pulling fs layer [2022-05-19T15:15:55.218Z] 1827001aaf11: Pulling fs layer [2022-05-19T15:15:55.218Z] 0714d37db230: Pulling fs layer [2022-05-19T15:15:55.218Z] ac28cf19c067: Pulling fs layer [2022-05-19T15:15:55.218Z] ca983d60f3e2: Pulling fs layer [2022-05-19T15:15:55.218Z] 9f894cec8388: Pulling fs layer [2022-05-19T15:15:55.218Z] a8d5f1318db7: Waiting [2022-05-19T15:15:55.218Z] c427282e49a2: Waiting [2022-05-19T15:15:55.218Z] 1827001aaf11: Waiting [2022-05-19T15:15:55.218Z] ca983d60f3e2: Waiting [2022-05-19T15:15:55.218Z] 9f894cec8388: Waiting [2022-05-19T15:15:55.218Z] 0714d37db230: Waiting [2022-05-19T15:15:55.218Z] ac28cf19c067: Waiting [2022-05-19T15:15:55.218Z] 5c2a1cbceb83: Waiting [2022-05-19T15:15:55.480Z] caf521ccaac6: Download complete [2022-05-19T15:15:55.480Z] 5c2a1cbceb83: Verifying Checksum [2022-05-19T15:15:55.480Z] 5c2a1cbceb83: Download complete [2022-05-19T15:15:55.480Z] 3ead6fa29328: Verifying Checksum [2022-05-19T15:15:55.480Z] 3ead6fa29328: Download complete [2022-05-19T15:15:55.480Z] a8d5f1318db7: Verifying Checksum [2022-05-19T15:15:55.480Z] a8d5f1318db7: Download complete [2022-05-19T15:15:55.480Z] c427282e49a2: Verifying Checksum [2022-05-19T15:15:55.480Z] c427282e49a2: Download complete [2022-05-19T15:15:55.480Z] 0714d37db230: Verifying Checksum [2022-05-19T15:15:55.480Z] 0714d37db230: Download complete [2022-05-19T15:15:55.480Z] ac28cf19c067: Download complete [2022-05-19T15:15:55.480Z] ca983d60f3e2: Verifying Checksum [2022-05-19T15:15:55.480Z] ca983d60f3e2: Download complete [2022-05-19T15:15:55.480Z] 9f894cec8388: Download complete [2022-05-19T15:15:55.480Z] 1fe172e4850f: Verifying Checksum [2022-05-19T15:15:55.480Z] 1fe172e4850f: Download complete [2022-05-19T15:15:56.050Z] 1827001aaf11: Verifying Checksum [2022-05-19T15:15:56.050Z] 1827001aaf11: Download complete [2022-05-19T15:15:56.989Z] 1fe172e4850f: Pull complete [2022-05-19T15:15:57.249Z] caf521ccaac6: Pull complete [2022-05-19T15:15:57.819Z] 3ead6fa29328: Pull complete [2022-05-19T15:15:57.819Z] 5c2a1cbceb83: Pull complete [2022-05-19T15:15:58.080Z] a8d5f1318db7: Pull complete [2022-05-19T15:15:58.340Z] c427282e49a2: Pull complete [2022-05-19T15:16:00.255Z] 1827001aaf11: Pull complete [2022-05-19T15:16:00.255Z] 0714d37db230: Pull complete [2022-05-19T15:16:00.516Z] ac28cf19c067: Pull complete [2022-05-19T15:16:00.516Z] ca983d60f3e2: Pull complete [2022-05-19T15:16:00.777Z] 9f894cec8388: Pull complete [2022-05-19T15:16:00.777Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-19T15:16:00.777Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-19T15:16:00.777Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-19T15:16:00.888Z] prd-ubuntu20.04-docker-8c-8g-64094 does not seem to be running inside a container [2022-05-19T15:16:00.942Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-functions-sdk-go_PR-1113 -v /w/workspace/dry_app-functions-sdk-go_PR-1113:/w/workspace/dry_app-functions-sdk-go_PR-1113:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1113@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1113@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/py-git-semver:latest cat [2022-05-19T15:16:02.712Z] $ docker top afa1ab1bdfc0d29c6fac5aad621269ba47ef580669543e3a025722e700dc4f6f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-19T15:16:02.917Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-19T15:16:02.917Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-19T15:16:03.060Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-19T15:16:03.070Z] $ docker exec afa1ab1bdfc0d29c6fac5aad621269ba47ef580669543e3a025722e700dc4f6f ssh-agent [2022-05-19T15:16:03.198Z] SSH_AUTH_SOCK=/tmp/ssh-czUHc95PuVEI/agent.33 [2022-05-19T15:16:03.198Z] SSH_AGENT_PID=39 [2022-05-19T15:16:03.207Z] Running ssh-add (command line suppressed) [2022-05-19T15:16:03.351Z] Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1113@tmp/private_key_8361088191787313317.key (/w/workspace/dry_app-functions-sdk-go_PR-1113@tmp/private_key_8361088191787313317.key) [2022-05-19T15:16:03.364Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-19T15:16:03.702Z] + git tag --points-at HEAD [Pipeline] } [2022-05-19T15:16:03.734Z] $ docker exec --env ******** --env ******** afa1ab1bdfc0d29c6fac5aad621269ba47ef580669543e3a025722e700dc4f6f ssh-agent -k [2022-05-19T15:16:03.849Z] unset SSH_AUTH_SOCK; [2022-05-19T15:16:03.849Z] unset SSH_AGENT_PID; [2022-05-19T15:16:03.849Z] echo Agent pid 39 killed; [2022-05-19T15:16:03.856Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-19T15:16:03.944Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-19T15:16:03.944Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-19T15:16:04.083Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-19T15:16:04.091Z] $ docker exec afa1ab1bdfc0d29c6fac5aad621269ba47ef580669543e3a025722e700dc4f6f ssh-agent [2022-05-19T15:16:04.222Z] SSH_AUTH_SOCK=/tmp/ssh-NIKxIDFxQLU8/agent.73 [2022-05-19T15:16:04.222Z] SSH_AGENT_PID=79 [2022-05-19T15:16:04.229Z] Running ssh-add (command line suppressed) [2022-05-19T15:16:04.357Z] Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1113@tmp/private_key_3531835010456539018.key (/w/workspace/dry_app-functions-sdk-go_PR-1113@tmp/private_key_3531835010456539018.key) [2022-05-19T15:16:04.368Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-19T15:16:04.700Z] + git semver init [2022-05-19T15:16:04.962Z] 2022-05-19 15:16:04,908 [run_init] DEBUG init version:0.0.0 force:False [2022-05-19T15:16:04.962Z] 2022-05-19 15:16:04,909 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-functions-sdk-go_PR-1113/.semver [2022-05-19T15:16:04.962Z] 2022-05-19 15:16:04,909 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-functions-sdk-go.git /w/workspace/dry_app-functions-sdk-go_PR-1113/.semver [2022-05-19T15:16:04.962Z] 2022-05-19 15:16:04,910 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-functions-sdk-go.git', '/w/workspace/dry_app-functions-sdk-go_PR-1113/.semver'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1113, universal_newlines=False, shell=None, istream=None) [2022-05-19T15:16:06.350Z] 2022-05-19 15:16:06,260 [append_file] DEBUG append to file:/w/workspace/dry_app-functions-sdk-go_PR-1113/.git/info/exclude [2022-05-19T15:16:06.350Z] 2022-05-19 15:16:06,261 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_app-functions-sdk-go_PR-1113/.semver/PR-1113 with force:False [2022-05-19T15:16:06.350Z] 2022-05-19 15:16:06,261 [write_file] DEBUG write to file:/w/workspace/dry_app-functions-sdk-go_PR-1113/.semver/PR-1113 [2022-05-19T15:16:06.350Z] 2022-05-19 15:16:06,266 [execute] INFO git cat-file --batch-check [2022-05-19T15:16:06.350Z] 2022-05-19 15:16:06,266 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1113/.semver, universal_newlines=False, shell=None, istream=) [2022-05-19T15:16:06.350Z] 2022-05-19 15:16:06,272 [execute] INFO git cat-file --batch [2022-05-19T15:16:06.350Z] 2022-05-19 15:16:06,272 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1113/.semver, universal_newlines=False, shell=None, istream=) [2022-05-19T15:16:06.350Z] 2022-05-19 15:16:06,277 [read_version] DEBUG read version from /w/workspace/dry_app-functions-sdk-go_PR-1113/.semver/PR-1113 [2022-05-19T15:16:06.350Z] 0.0.0 [Pipeline] } [2022-05-19T15:16:06.383Z] $ docker exec --env ******** --env ******** afa1ab1bdfc0d29c6fac5aad621269ba47ef580669543e3a025722e700dc4f6f ssh-agent -k [2022-05-19T15:16:06.512Z] unset SSH_AUTH_SOCK; [2022-05-19T15:16:06.512Z] unset SSH_AGENT_PID; [2022-05-19T15:16:06.512Z] echo Agent pid 79 killed; [2022-05-19T15:16:06.520Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-19T15:16:06.953Z] + git semver [Pipeline] } [2022-05-19T15:16:07.251Z] $ docker stop --time=1 afa1ab1bdfc0d29c6fac5aad621269ba47ef580669543e3a025722e700dc4f6f [2022-05-19T15:16:08.558Z] $ docker rm -f afa1ab1bdfc0d29c6fac5aad621269ba47ef580669543e3a025722e700dc4f6f [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-19T15:16:08.990Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-19T15:16:09.292Z] Stashed 1 file(s) [Pipeline] echo [2022-05-19T15:16:09.311Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2022-05-19T15:16:09.911Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-19T15:16:09.943Z] ========================================================= [2022-05-19T15:16:09.943Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts] [2022-05-19T15:16:09.943Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-05-19T15:16:10.335Z] + docker pull nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts [2022-05-19T15:16:10.335Z] 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2022-05-19T15:16:10.335Z] 59bf1c3509f3: Pulling fs layer [2022-05-19T15:16:10.335Z] 666ba61612fd: Pulling fs layer [2022-05-19T15:16:10.335Z] 8ed8ca486205: Pulling fs layer [2022-05-19T15:16:10.335Z] 4fe6c5a15a65: Pulling fs layer [2022-05-19T15:16:10.335Z] 22a0e8bec74d: Pulling fs layer [2022-05-19T15:16:10.335Z] 5f8736975d2d: Pulling fs layer [2022-05-19T15:16:10.335Z] fe9c1520953f: Pulling fs layer [2022-05-19T15:16:10.335Z] ad63dd2c9e3e: Pulling fs layer [2022-05-19T15:16:10.335Z] 15d927b9e438: Pulling fs layer [2022-05-19T15:16:10.335Z] 4fe6c5a15a65: Waiting [2022-05-19T15:16:10.335Z] 22a0e8bec74d: Waiting [2022-05-19T15:16:10.335Z] 5f8736975d2d: Waiting [2022-05-19T15:16:10.335Z] fe9c1520953f: Waiting [2022-05-19T15:16:10.335Z] 15d927b9e438: Waiting [2022-05-19T15:16:10.335Z] ad63dd2c9e3e: Waiting [2022-05-19T15:16:10.335Z] 8ed8ca486205: Verifying Checksum [2022-05-19T15:16:10.335Z] 8ed8ca486205: Download complete [2022-05-19T15:16:10.335Z] 666ba61612fd: Verifying Checksum [2022-05-19T15:16:10.335Z] 666ba61612fd: Download complete [2022-05-19T15:16:10.335Z] 22a0e8bec74d: Verifying Checksum [2022-05-19T15:16:10.335Z] 22a0e8bec74d: Download complete [2022-05-19T15:16:10.335Z] 59bf1c3509f3: Verifying Checksum [2022-05-19T15:16:10.335Z] 5f8736975d2d: Verifying Checksum [2022-05-19T15:16:10.335Z] 5f8736975d2d: Download complete [2022-05-19T15:16:10.335Z] fe9c1520953f: Verifying Checksum [2022-05-19T15:16:10.335Z] fe9c1520953f: Download complete [2022-05-19T15:16:10.595Z] ad63dd2c9e3e: Verifying Checksum [2022-05-19T15:16:10.595Z] ad63dd2c9e3e: Download complete [2022-05-19T15:16:10.595Z] 59bf1c3509f3: Pull complete [2022-05-19T15:16:10.595Z] 666ba61612fd: Pull complete [2022-05-19T15:16:10.856Z] 8ed8ca486205: Pull complete [2022-05-19T15:16:11.118Z] 15d927b9e438: Verifying Checksum [2022-05-19T15:16:11.118Z] 15d927b9e438: Download complete [2022-05-19T15:16:11.118Z] 4fe6c5a15a65: Verifying Checksum [2022-05-19T15:16:11.118Z] 4fe6c5a15a65: Download complete [2022-05-19T15:16:15.327Z] 4fe6c5a15a65: Pull complete [2022-05-19T15:16:15.327Z] 22a0e8bec74d: Pull complete [2022-05-19T15:16:15.327Z] 5f8736975d2d: Pull complete [2022-05-19T15:16:15.327Z] fe9c1520953f: Pull complete [2022-05-19T15:16:15.327Z] ad63dd2c9e3e: Pull complete [2022-05-19T15:16:17.877Z] 15d927b9e438: Pull complete [2022-05-19T15:16:17.877Z] Digest: sha256:661808593d0254beeed429a39851472eaea702e19ad1e0a0b350076e4156c215 [2022-05-19T15:16:17.877Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts [2022-05-19T15:16:17.877Z] nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts [Pipeline] sh [2022-05-19T15:16:18.200Z] + docker tag nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh [2022-05-19T15:16:18.534Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-19T15:16:18.534Z] . [Pipeline] withDockerContainer [2022-05-19T15:16:18.627Z] prd-ubuntu20.04-docker-8c-8g-64094 does not seem to be running inside a container [2022-05-19T15:16:18.671Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-functions-sdk-go_PR-1113 -v /w/workspace/dry_app-functions-sdk-go_PR-1113:/w/workspace/dry_app-functions-sdk-go_PR-1113:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1113@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1113@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-19T15:16:21.206Z] $ docker top 4fcaa28a72250a3ad2b90a96314ed72daaf675271efea839032f3bd09c52eba5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-19T15:16:21.616Z] + go version [2022-05-19T15:16:21.616Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-19T15:16:21.654Z] $ docker stop --time=1 4fcaa28a72250a3ad2b90a96314ed72daaf675271efea839032f3bd09c52eba5 [2022-05-19T15:16:22.934Z] $ docker rm -f 4fcaa28a72250a3ad2b90a96314ed72daaf675271efea839032f3bd09c52eba5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-19T15:16:23.612Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-19T15:16:23.612Z] . [Pipeline] withDockerContainer [2022-05-19T15:16:23.708Z] prd-ubuntu20.04-docker-8c-8g-64094 does not seem to be running inside a container [2022-05-19T15:16:23.753Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-functions-sdk-go_PR-1113 -v /w/workspace/dry_app-functions-sdk-go_PR-1113:/w/workspace/dry_app-functions-sdk-go_PR-1113:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1113@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1113@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-19T15:16:24.150Z] $ docker top 530cf761b117b9cac6612be5a5da1a81426a441ecdb624369140d266499db771 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-19T15:16:24.614Z] + make test [2022-05-19T15:16:24.614Z] make -C ./app-service-template build [2022-05-19T15:16:24.614Z] make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1113/app-service-template' [2022-05-19T15:16:24.614Z] go mod tidy [2022-05-19T15:16:24.737Z] Still waiting to schedule task [2022-05-19T15:16:24.737Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-05-19T15:16:25.562Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 [2022-05-19T15:16:25.562Z] go: downloading github.com/google/uuid v1.3.0 [2022-05-19T15:16:25.562Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-05-19T15:16:25.562Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.0 [2022-05-19T15:16:25.823Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 [2022-05-19T15:16:25.823Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.0 [2022-05-19T15:16:25.823Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-05-19T15:16:25.823Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-05-19T15:16:25.823Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2022-05-19T15:16:25.824Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-05-19T15:16:25.824Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-05-19T15:16:25.824Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-05-19T15:16:25.824Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-05-19T15:16:25.824Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-05-19T15:16:25.824Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 [2022-05-19T15:16:25.824Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 [2022-05-19T15:16:25.824Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2022-05-19T15:16:25.824Z] go: downloading github.com/go-kit/kit v0.11.0 [2022-05-19T15:16:25.824Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2022-05-19T15:16:25.824Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-05-19T15:16:25.824Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-05-19T15:16:25.824Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-05-19T15:16:25.824Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2022-05-19T15:16:25.824Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-05-19T15:16:25.824Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-05-19T15:16:25.824Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-05-19T15:16:25.824Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-05-19T15:16:25.824Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2022-05-19T15:16:25.824Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-05-19T15:16:25.824Z] go: downloading golang.org/x/text v0.3.6 [2022-05-19T15:16:26.089Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-05-19T15:16:26.090Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-05-19T15:16:26.090Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-05-19T15:16:26.090Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2022-05-19T15:16:26.090Z] go: downloading github.com/kr/pretty v0.3.0 [2022-05-19T15:16:26.090Z] go: downloading github.com/x448/float16 v0.8.4 [2022-05-19T15:16:26.090Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-05-19T15:16:26.090Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-05-19T15:16:26.090Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-05-19T15:16:26.090Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2022-05-19T15:16:26.351Z] go: downloading github.com/go-stack/stack v1.8.0 [2022-05-19T15:16:26.351Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-05-19T15:16:26.351Z] go: downloading github.com/kr/text v0.2.0 [2022-05-19T15:16:26.351Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-05-19T15:16:26.351Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-05-19T15:16:26.351Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-05-19T15:16:26.351Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-05-19T15:16:26.351Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-05-19T15:16:26.351Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-05-19T15:16:26.351Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-05-19T15:16:26.351Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-05-19T15:16:26.351Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2022-05-19T15:16:26.351Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-05-19T15:16:26.351Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-05-19T15:16:26.614Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-05-19T15:16:26.614Z] go: downloading github.com/fatih/color v1.9.0 [2022-05-19T15:16:26.614Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-05-19T15:16:26.614Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-05-19T15:16:26.614Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-05-19T15:16:26.614Z] go: downloading github.com/pkg/errors v0.9.1 [2022-05-19T15:16:26.614Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-05-19T15:16:26.614Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-05-19T15:16:26.614Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-05-19T15:16:26.614Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-05-19T15:16:26.614Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-05-19T15:16:26.614Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-05-19T15:16:26.614Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-05-19T15:16:26.614Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-05-19T15:16:26.614Z] go: downloading github.com/miekg/dns v1.1.26 [2022-05-19T15:16:26.614Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-05-19T15:16:26.614Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-05-19T15:16:26.875Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2022-05-19T15:16:26.875Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-05-19T15:16:26.875Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2022-05-19T15:16:26.875Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-05-19T15:16:26.875Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-05-19T15:16:26.875Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2022-05-19T15:16:26.875Z] go: downloading google.golang.org/protobuf v1.27.1 [2022-05-19T15:16:27.146Z] go: downloading github.com/google/go-cmp v0.5.5 [2022-05-19T15:16:27.146Z] go: downloading github.com/fsnotify/fsnotify v1.4.7 [2022-05-19T15:16:27.146Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 [2022-05-19T15:16:27.147Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2022-05-19T15:16:33.730Z] make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1113/app-service-template' [2022-05-19T15:16:33.730Z] make -C ./app-service-template test [2022-05-19T15:16:33.730Z] make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1113/app-service-template' [2022-05-19T15:16:33.730Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-05-19T15:16:37.958Z] ok new-app-service 0.018s coverage: 48.1% of statements [2022-05-19T15:16:37.958Z] ? new-app-service/config [no test files] [2022-05-19T15:16:37.958Z] ok new-app-service/functions 0.014s [2022-05-19T15:16:37.958Z] CGO_ENABLED=1 go vet ./... [2022-05-19T15:16:41.287Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-19T15:16:41.287Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-19T15:16:41.287Z] ./bin/test-attribution-txt.sh [2022-05-19T15:16:41.574Z] make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1113/app-service-template' [2022-05-19T15:16:41.574Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-19T15:16:44.219Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2022-05-19T15:16:48.416Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.024s coverage: 65.8% of statements [2022-05-19T15:16:48.416Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app/mocks [no test files] [2022-05-19T15:16:48.416Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.019s coverage: 93.7% of statements [2022-05-19T15:16:48.416Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2022-05-19T15:16:48.416Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.022s coverage: 61.8% of statements [2022-05-19T15:16:48.416Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2022-05-19T15:16:48.416Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.031s [2022-05-19T15:16:48.416Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.011s coverage: 100.0% of statements [2022-05-19T15:16:48.416Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.062s coverage: 78.3% of statements [2022-05-19T15:16:48.416Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2022-05-19T15:16:48.416Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2022-05-19T15:16:48.416Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2022-05-19T15:16:48.416Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2022-05-19T15:16:48.416Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2022-05-19T15:16:48.416Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2022-05-19T15:16:48.416Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.010s coverage: 97.3% of statements [2022-05-19T15:16:48.416Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2022-05-19T15:16:48.416Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] [2022-05-19T15:16:48.416Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.050s coverage: 10.5% of statements [2022-05-19T15:16:50.970Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.055s coverage: 77.8% of statements [2022-05-19T15:16:50.970Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] [2022-05-19T15:16:50.970Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2022-05-19T15:16:50.970Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.018s coverage: 14.3% of statements [2022-05-19T15:16:50.970Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.012s coverage: 27.3% of statements [2022-05-19T15:16:50.970Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2022-05-19T15:16:50.970Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-05-19T15:16:50.970Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.020s coverage: 51.4% of statements [2022-05-19T15:17:12.948Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.032s coverage: 78.2% of statements [2022-05-19T15:17:12.948Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.006s coverage: 94.4% of statements [2022-05-19T15:17:12.948Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-19T15:17:14.333Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-19T15:17:14.333Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-05-19T15:17:20.952Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2022-05-19T15:17:21.309Z] + go mod tidy [Pipeline] } [2022-05-19T15:17:21.347Z] $ docker stop --time=1 530cf761b117b9cac6612be5a5da1a81426a441ecdb624369140d266499db771 [2022-05-19T15:17:22.881Z] $ docker rm -f 530cf761b117b9cac6612be5a5da1a81426a441ecdb624369140d266499db771 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-19T15:17:23.533Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-19T15:17:23.649Z] 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] sh [2022-05-19T15:17:24.593Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-19T15:17:24.594Z] [2022-05-19T15:17:24.594Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-19T15:17:24.940Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-19T15:17:24.940Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-19T15:17:24.940Z] 5eb5b503b376: Pulling fs layer [2022-05-19T15:17:24.940Z] 5c69ac0246d0: Pulling fs layer [2022-05-19T15:17:24.940Z] ec43610c2a17: Pulling fs layer [2022-05-19T15:17:24.940Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-19T15:17:24.940Z] 33b1e0a273af: Pulling fs layer [2022-05-19T15:17:24.940Z] 5d3b04190fa2: Pulling fs layer [2022-05-19T15:17:24.940Z] 2f39f015ded8: Pulling fs layer [2022-05-19T15:17:24.940Z] 33b1e0a273af: Waiting [2022-05-19T15:17:24.940Z] 5d3b04190fa2: Waiting [2022-05-19T15:17:24.940Z] 3a2ae6a8a46f: Waiting [2022-05-19T15:17:24.940Z] 2f39f015ded8: Waiting [2022-05-19T15:17:24.940Z] 5c69ac0246d0: Download complete [2022-05-19T15:17:24.940Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-19T15:17:24.940Z] 3a2ae6a8a46f: Download complete [2022-05-19T15:17:24.940Z] 33b1e0a273af: Verifying Checksum [2022-05-19T15:17:24.940Z] 33b1e0a273af: Download complete [2022-05-19T15:17:24.940Z] 5d3b04190fa2: Verifying Checksum [2022-05-19T15:17:24.940Z] 5d3b04190fa2: Download complete [2022-05-19T15:17:25.200Z] ec43610c2a17: Verifying Checksum [2022-05-19T15:17:25.200Z] ec43610c2a17: Download complete [2022-05-19T15:17:25.200Z] 5eb5b503b376: Verifying Checksum [2022-05-19T15:17:25.200Z] 5eb5b503b376: Download complete [2022-05-19T15:17:25.768Z] 2f39f015ded8: Download complete [2022-05-19T15:17:26.337Z] 5eb5b503b376: Pull complete [2022-05-19T15:17:26.596Z] 5c69ac0246d0: Pull complete [2022-05-19T15:17:26.858Z] ec43610c2a17: Pull complete [2022-05-19T15:17:27.118Z] 3a2ae6a8a46f: Pull complete [2022-05-19T15:17:27.376Z] 33b1e0a273af: Pull complete [2022-05-19T15:17:27.376Z] 5d3b04190fa2: Pull complete [2022-05-19T15:17:31.566Z] 2f39f015ded8: Pull complete [2022-05-19T15:17:31.566Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-19T15:17:31.566Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-19T15:17:31.566Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-19T15:17:31.651Z] prd-ubuntu20.04-docker-8c-8g-64094 does not seem to be running inside a container [2022-05-19T15:17:31.693Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-functions-sdk-go_PR-1113 -v /w/workspace/dry_app-functions-sdk-go_PR-1113:/w/workspace/dry_app-functions-sdk-go_PR-1113:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1113@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1113@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-19T15:17:33.710Z] $ docker top 53d974223fe03775de23472294b013fbe96d3b7474280bf136c6ee73b6588cbd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-19T15:17:34.208Z] ---> job-cost.sh [2022-05-19T15:17:34.208Z] lf-activate-venv: SKIPPING [2022-05-19T15:17:34.208Z] INFO: No Stack... [2022-05-19T15:17:34.470Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-19T15:17:35.041Z] INFO: Archiving Costs [Pipeline] sh [2022-05-19T15:17:35.371Z] + cat /w/workspace/dry_app-functions-sdk-go_PR-1113/archives/cost.csv [2022-05-19T15:17:35.371Z] + cut -d, -f6 [Pipeline] lock [2022-05-19T15:17:35.414Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1113-1-stack-cost] [2022-05-19T15:17:35.419Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1113-1-stack-cost] did not exist. Created. [2022-05-19T15:17:35.419Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1113-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-19T15:17:35.813Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-19T15:17:35.890Z] Stashed 1 file(s) [Pipeline] } [2022-05-19T15:17:35.903Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1113-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-19T15:17:35.987Z] $ docker stop --time=1 53d974223fe03775de23472294b013fbe96d3b7474280bf136c6ee73b6588cbd [2022-05-19T15:17:37.158Z] $ docker rm -f 53d974223fe03775de23472294b013fbe96d3b7474280bf136c6ee73b6588cbd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-19T15:17:58.229Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-64095 in /w/workspace/dry_app-functions-sdk-go_PR-1113 [Pipeline] { [Pipeline] ws [2022-05-19T15:17:58.274Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-05-19T15:17:58.635Z] The recommended git tool is: git [2022-05-19T15:18:05.045Z] using credential edgex-jenkins-ssh [2022-05-19T15:18:05.064Z] Cloning the remote Git repository [2022-05-19T15:18:05.123Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2022-05-19T15:18:05.199Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2022-05-19T15:18:05.296Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2022-05-19T15:18:05.297Z] > git --version # timeout=10 [2022-05-19T15:18:05.332Z] > git --version # 'git version 2.25.1' [2022-05-19T15:18:05.334Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-19T15:18:05.455Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-19T15:18:08.762Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2022-05-19T15:18:09.447Z] Merging remotes/origin/jakarta commit 2ab0097ca15a1579730e16c0435a7126b2d4fc1d into PR head commit 6fa935348d6a26a58428775125e272887717a7f8 [2022-05-19T15:18:08.787Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-19T15:18:08.808Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2022-05-19T15:18:08.846Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2022-05-19T15:18:08.847Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-19T15:18:08.860Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/1113/head:refs/remotes/origin/PR-1113 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 [2022-05-19T15:18:09.467Z] > git config core.sparsecheckout # timeout=10 [2022-05-19T15:18:09.488Z] > git checkout -f 6fa935348d6a26a58428775125e272887717a7f8 # timeout=10 [2022-05-19T15:18:10.426Z] Merge succeeded, producing 6fa935348d6a26a58428775125e272887717a7f8 [2022-05-19T15:18:10.427Z] Checking out Revision 6fa935348d6a26a58428775125e272887717a7f8 (PR-1113) [2022-05-19T15:18:10.338Z] > git remote # timeout=10 [2022-05-19T15:18:10.355Z] > git config --get remote.origin.url # timeout=10 [2022-05-19T15:18:10.370Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-19T15:18:10.381Z] > git merge 2ab0097ca15a1579730e16c0435a7126b2d4fc1d # timeout=10 [2022-05-19T15:18:10.412Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-19T15:18:10.435Z] > git config core.sparsecheckout # timeout=10 [2022-05-19T15:18:10.468Z] > git checkout -f 6fa935348d6a26a58428775125e272887717a7f8 # timeout=10 [2022-05-19T15:18:14.943Z] Commit message: "fix: Make deep copy of MessageBus Optional map to avoid external adds (#1109)" [2022-05-19T15:18:15.008Z] > git --version # timeout=10 [2022-05-19T15:18:15.022Z] > git --version # 'git version 2.25.1' [2022-05-19T15:18:15.040Z] fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-19T15:18:16.163Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-19T15:18:16.163Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-19T15:18:16.163Z] Dload Upload Total Spent Left Speed [2022-05-19T15:18:23.654Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:06 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:07 --:--:-- 0 100 12253 100 12253 0 0 1599 0 0:00:07 0:00:07 --:--:-- 2756 [Pipeline] sh [2022-05-19T15:18:24.337Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-19T15:18:24.751Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-19T15:18:24.751Z] + sudo tee /etc/docker/daemon.new [2022-05-19T15:18:24.751Z] { [2022-05-19T15:18:24.751Z] "registry-mirrors": [ [2022-05-19T15:18:24.751Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-19T15:18:24.751Z] ], [2022-05-19T15:18:24.751Z] "bip": "10.250.0.254/24", [2022-05-19T15:18:24.751Z] "hosts": [ [2022-05-19T15:18:24.751Z] "tcp://0.0.0.0:5555", [2022-05-19T15:18:24.751Z] "unix:///var/run/docker.sock" [2022-05-19T15:18:24.751Z] ], [2022-05-19T15:18:24.751Z] "mtu": 1458, [2022-05-19T15:18:24.751Z] "selinux-enabled": true, [2022-05-19T15:18:24.751Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-19T15:18:24.751Z] } [Pipeline] sh [2022-05-19T15:18:25.116Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-19T15:18:25.466Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2022-05-19T15:18:44.333Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-19T15:18:44.370Z] ========================================================= [2022-05-19T15:18:44.370Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts] [2022-05-19T15:18:44.370Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-05-19T15:18:44.837Z] + docker pull nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts [2022-05-19T15:18:45.435Z] 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-19T15:18:45.435Z] 9b3977197b4f: Pulling fs layer [2022-05-19T15:18:45.435Z] 1a89e8eeedd5: Pulling fs layer [2022-05-19T15:18:45.435Z] 94645a83ff95: Pulling fs layer [2022-05-19T15:18:45.435Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-19T15:18:45.435Z] 0c92f367c5e7: Pulling fs layer [2022-05-19T15:18:45.435Z] 045706c8da98: Pulling fs layer [2022-05-19T15:18:45.435Z] d7189365e05b: Pulling fs layer [2022-05-19T15:18:45.435Z] a32415fbff51: Pulling fs layer [2022-05-19T15:18:45.435Z] 0c92f367c5e7: Waiting [2022-05-19T15:18:45.435Z] 045706c8da98: Waiting [2022-05-19T15:18:45.435Z] d7189365e05b: Waiting [2022-05-19T15:18:45.435Z] a32415fbff51: Waiting [2022-05-19T15:18:45.435Z] 3f3a8bcf1eab: Waiting [2022-05-19T15:18:45.435Z] 94645a83ff95: Verifying Checksum [2022-05-19T15:18:45.435Z] 94645a83ff95: Download complete [2022-05-19T15:18:45.435Z] 1a89e8eeedd5: Verifying Checksum [2022-05-19T15:18:45.435Z] 1a89e8eeedd5: Download complete [2022-05-19T15:18:45.435Z] 0c92f367c5e7: Verifying Checksum [2022-05-19T15:18:45.435Z] 0c92f367c5e7: Download complete [2022-05-19T15:18:45.716Z] 045706c8da98: Verifying Checksum [2022-05-19T15:18:45.716Z] 045706c8da98: Download complete [2022-05-19T15:18:45.716Z] 9b3977197b4f: Verifying Checksum [2022-05-19T15:18:45.716Z] 9b3977197b4f: Download complete [2022-05-19T15:18:45.716Z] d7189365e05b: Verifying Checksum [2022-05-19T15:18:45.716Z] d7189365e05b: Download complete [2022-05-19T15:18:46.323Z] 9b3977197b4f: Pull complete [2022-05-19T15:18:46.932Z] 1a89e8eeedd5: Pull complete [2022-05-19T15:18:47.208Z] 94645a83ff95: Pull complete [2022-05-19T15:18:47.490Z] a32415fbff51: Download complete [2022-05-19T15:18:48.094Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-19T15:18:48.094Z] 3f3a8bcf1eab: Download complete [2022-05-19T15:19:00.515Z] 3f3a8bcf1eab: Pull complete [2022-05-19T15:19:00.515Z] 0c92f367c5e7: Pull complete [2022-05-19T15:19:00.515Z] 045706c8da98: Pull complete [2022-05-19T15:19:00.791Z] d7189365e05b: Pull complete [2022-05-19T15:19:07.529Z] a32415fbff51: Pull complete [2022-05-19T15:19:07.529Z] Digest: sha256:763293993303eff07c8e57fe0fe9116095497c40c1fdc093d1a27926bd48f831 [2022-05-19T15:19:07.529Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts [2022-05-19T15:19:07.529Z] nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts [Pipeline] sh [2022-05-19T15:19:07.904Z] + docker tag nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-19T15:19:08.279Z] + docker inspect -f . ci-base-image-arm64 [2022-05-19T15:19:08.279Z] . [Pipeline] withDockerContainer [2022-05-19T15:19:08.542Z] prd-ubuntu20.04-docker-arm64-4c-16g-64095 does not seem to be running inside a container [2022-05-19T15:19:08.635Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-19T15:19:11.544Z] $ docker top 7e9365f8761c0a7db8abb00668c4e30d26698c0faf99a6fc26468cdd584e007d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-19T15:19:12.516Z] + go version [2022-05-19T15:19:12.516Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-19T15:19:12.556Z] $ docker stop --time=1 7e9365f8761c0a7db8abb00668c4e30d26698c0faf99a6fc26468cdd584e007d [2022-05-19T15:19:14.197Z] $ docker rm -f 7e9365f8761c0a7db8abb00668c4e30d26698c0faf99a6fc26468cdd584e007d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-19T15:19:15.063Z] + docker inspect -f . ci-base-image-arm64 [2022-05-19T15:19:15.063Z] . [Pipeline] withDockerContainer [2022-05-19T15:19:15.316Z] prd-ubuntu20.04-docker-arm64-4c-16g-64095 does not seem to be running inside a container [2022-05-19T15:19:15.401Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-19T15:19:16.664Z] $ docker top 09fbcccc2be24adf68027edbe8def118072a708ff8d7b01e71969261a9bf3bcc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-19T15:19:17.689Z] + make test [2022-05-19T15:19:17.689Z] make -C ./app-service-template build [2022-05-19T15:19:17.689Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2022-05-19T15:19:17.689Z] go mod tidy [2022-05-19T15:19:18.668Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 [2022-05-19T15:19:18.668Z] go: downloading github.com/google/uuid v1.3.0 [2022-05-19T15:19:18.668Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-05-19T15:19:18.943Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.0 [2022-05-19T15:19:18.943Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.0 [2022-05-19T15:19:18.943Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 [2022-05-19T15:19:18.943Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-05-19T15:19:18.943Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-05-19T15:19:18.943Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-05-19T15:19:18.943Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2022-05-19T15:19:18.943Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-05-19T15:19:19.221Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-05-19T15:19:19.221Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2022-05-19T15:19:19.221Z] go: downloading github.com/go-kit/kit v0.11.0 [2022-05-19T15:19:19.221Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-05-19T15:19:19.221Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-05-19T15:19:19.221Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 [2022-05-19T15:19:19.499Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 [2022-05-19T15:19:19.499Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2022-05-19T15:19:19.499Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-05-19T15:19:19.499Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-05-19T15:19:19.499Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-05-19T15:19:19.499Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2022-05-19T15:19:19.499Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-05-19T15:19:19.499Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-05-19T15:19:19.775Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-05-19T15:19:19.775Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-05-19T15:19:19.775Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-05-19T15:19:19.775Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2022-05-19T15:19:19.775Z] go: downloading golang.org/x/text v0.3.6 [2022-05-19T15:19:20.052Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-05-19T15:19:20.052Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-05-19T15:19:23.454Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-05-19T15:19:23.454Z] go: downloading github.com/kr/pretty v0.3.0 [2022-05-19T15:19:23.454Z] go: downloading github.com/x448/float16 v0.8.4 [2022-05-19T15:19:23.454Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2022-05-19T15:19:23.454Z] go: downloading github.com/go-stack/stack v1.8.0 [2022-05-19T15:19:23.454Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-05-19T15:19:23.454Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-05-19T15:19:23.454Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-05-19T15:19:23.454Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-05-19T15:19:23.454Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-05-19T15:19:23.454Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-05-19T15:19:23.454Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-05-19T15:19:23.454Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-05-19T15:19:23.454Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2022-05-19T15:19:23.454Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-05-19T15:19:23.454Z] go: downloading github.com/kr/text v0.2.0 [2022-05-19T15:19:23.454Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-05-19T15:19:23.454Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-05-19T15:19:23.454Z] go: downloading github.com/fatih/color v1.9.0 [2022-05-19T15:19:23.454Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-05-19T15:19:23.454Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-05-19T15:19:23.454Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2022-05-19T15:19:23.454Z] go: downloading github.com/pkg/errors v0.9.1 [2022-05-19T15:19:23.454Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-05-19T15:19:23.454Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-05-19T15:19:23.454Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-05-19T15:19:23.454Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-05-19T15:19:23.731Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-05-19T15:19:23.731Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-05-19T15:19:23.731Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-05-19T15:19:23.731Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-05-19T15:19:23.731Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-05-19T15:19:24.024Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-05-19T15:19:24.024Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-05-19T15:19:24.024Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-05-19T15:19:24.024Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-05-19T15:19:24.024Z] go: downloading github.com/miekg/dns v1.1.26 [2022-05-19T15:19:24.024Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-05-19T15:19:24.298Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-05-19T15:19:24.298Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2022-05-19T15:19:24.298Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-05-19T15:19:24.298Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2022-05-19T15:19:24.298Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-05-19T15:19:24.298Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-05-19T15:19:24.298Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2022-05-19T15:19:24.298Z] go: downloading github.com/fsnotify/fsnotify v1.4.7 [2022-05-19T15:19:24.298Z] go: downloading google.golang.org/protobuf v1.27.1 [2022-05-19T15:19:25.281Z] go: downloading github.com/google/go-cmp v0.5.5 [2022-05-19T15:19:25.281Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 [2022-05-19T15:19:25.553Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2022-05-19T15:20:04.603Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2022-05-19T15:20:04.603Z] make -C ./app-service-template test [2022-05-19T15:20:04.603Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2022-05-19T15:20:04.603Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-05-19T15:20:31.451Z] ok new-app-service 0.065s coverage: 48.1% of statements [2022-05-19T15:20:31.451Z] ? new-app-service/config [no test files] [2022-05-19T15:20:31.451Z] ok new-app-service/functions 0.043s [2022-05-19T15:20:31.451Z] CGO_ENABLED=1 go vet ./... [2022-05-19T15:20:46.563Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-19T15:20:46.563Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-19T15:20:46.563Z] ./bin/test-attribution-txt.sh [2022-05-19T15:20:50.003Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2022-05-19T15:20:50.003Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-19T15:21:00.207Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2022-05-19T15:21:39.260Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.165s coverage: 65.8% of statements [2022-05-19T15:21:39.260Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app/mocks [no test files] [2022-05-19T15:21:39.260Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.050s coverage: 93.7% of statements [2022-05-19T15:21:39.260Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2022-05-19T15:21:39.260Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.120s coverage: 61.8% of statements [2022-05-19T15:21:39.260Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2022-05-19T15:21:39.260Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.060s [2022-05-19T15:21:39.260Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.063s coverage: 100.0% of statements [2022-05-19T15:21:39.260Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.108s coverage: 78.3% of statements [2022-05-19T15:21:39.260Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2022-05-19T15:21:39.260Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2022-05-19T15:21:39.260Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2022-05-19T15:21:39.260Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2022-05-19T15:21:39.260Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2022-05-19T15:21:39.260Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2022-05-19T15:21:39.260Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.034s coverage: 97.3% of statements [2022-05-19T15:21:39.260Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2022-05-19T15:21:39.260Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] [2022-05-19T15:21:39.260Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.102s coverage: 10.5% of statements [2022-05-19T15:21:43.599Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.198s coverage: 77.8% of statements [2022-05-19T15:21:43.599Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] [2022-05-19T15:21:43.599Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2022-05-19T15:21:43.599Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.055s coverage: 14.3% of statements [2022-05-19T15:21:43.599Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.050s coverage: 27.3% of statements [2022-05-19T15:21:43.599Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2022-05-19T15:21:43.599Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-05-19T15:21:43.599Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.090s coverage: 51.4% of statements [2022-05-19T15:22:10.375Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.140s coverage: 78.2% of statements [2022-05-19T15:22:10.375Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.040s coverage: 94.4% of statements [2022-05-19T15:22:10.375Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-19T15:22:20.565Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-19T15:22:20.565Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-19T15:22:20.565Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] echo [2022-05-19T15:22:20.603Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2022-05-19T15:22:21.327Z] + go mod tidy [Pipeline] } [2022-05-19T15:22:21.963Z] $ docker stop --time=1 09fbcccc2be24adf68027edbe8def118072a708ff8d7b01e71969261a9bf3bcc [2022-05-19T15:22:23.762Z] $ docker rm -f 09fbcccc2be24adf68027edbe8def118072a708ff8d7b01e71969261a9bf3bcc [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-19T15:22:26.338Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-19T15:22:26.374Z] Warning: overwriting stash ‘coverage-report’ [2022-05-19T15:22:27.350Z] 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] sh [2022-05-19T15:22:28.130Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-19T15:22:28.130Z] [2022-05-19T15:22:28.130Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-19T15:22:28.518Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-19T15:22:28.792Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-19T15:22:28.792Z] 8998bd30e6a1: Pulling fs layer [2022-05-19T15:22:28.792Z] 04944245beec: Pulling fs layer [2022-05-19T15:22:28.792Z] 699f458cf7ca: Pulling fs layer [2022-05-19T15:22:28.792Z] 765212b225bb: Pulling fs layer [2022-05-19T15:22:28.792Z] f23df028b6ca: Pulling fs layer [2022-05-19T15:22:28.792Z] d65c8cfc05b1: Pulling fs layer [2022-05-19T15:22:28.792Z] 2437ff75d9bd: Pulling fs layer [2022-05-19T15:22:28.792Z] f23df028b6ca: Waiting [2022-05-19T15:22:28.792Z] d65c8cfc05b1: Waiting [2022-05-19T15:22:28.792Z] 2437ff75d9bd: Waiting [2022-05-19T15:22:28.792Z] 765212b225bb: Waiting [2022-05-19T15:22:28.792Z] 04944245beec: Verifying Checksum [2022-05-19T15:22:28.792Z] 04944245beec: Download complete [2022-05-19T15:22:28.792Z] 765212b225bb: Download complete [2022-05-19T15:22:28.792Z] f23df028b6ca: Verifying Checksum [2022-05-19T15:22:28.792Z] f23df028b6ca: Download complete [2022-05-19T15:22:28.792Z] d65c8cfc05b1: Verifying Checksum [2022-05-19T15:22:28.792Z] d65c8cfc05b1: Download complete [2022-05-19T15:22:29.072Z] 699f458cf7ca: Verifying Checksum [2022-05-19T15:22:29.072Z] 699f458cf7ca: Download complete [2022-05-19T15:22:29.348Z] 8998bd30e6a1: Verifying Checksum [2022-05-19T15:22:29.348Z] 8998bd30e6a1: Download complete [2022-05-19T15:22:31.991Z] 2437ff75d9bd: Verifying Checksum [2022-05-19T15:22:31.991Z] 2437ff75d9bd: Download complete [2022-05-19T15:22:33.978Z] 8998bd30e6a1: Pull complete [2022-05-19T15:22:34.252Z] 04944245beec: Pull complete [2022-05-19T15:22:35.691Z] 699f458cf7ca: Pull complete [2022-05-19T15:22:35.967Z] 765212b225bb: Pull complete [2022-05-19T15:22:36.573Z] f23df028b6ca: Pull complete [2022-05-19T15:22:36.850Z] d65c8cfc05b1: Pull complete [2022-05-19T15:22:51.950Z] 2437ff75d9bd: Pull complete [2022-05-19T15:22:51.950Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-19T15:22:51.950Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-19T15:22:51.950Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-19T15:22:52.188Z] prd-ubuntu20.04-docker-arm64-4c-16g-64095 does not seem to be running inside a container [2022-05-19T15:22:52.283Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-19T15:22:54.813Z] $ docker top bb15a3b9a893010a1b7e75b30b9c7b054fdae6df0e416682ee40edf8d088d84c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-19T15:22:55.786Z] ---> job-cost.sh [2022-05-19T15:22:55.786Z] lf-activate-venv: SKIPPING [2022-05-19T15:22:55.786Z] INFO: No Stack... [2022-05-19T15:22:56.059Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-19T15:22:57.035Z] INFO: Archiving Costs [Pipeline] sh [2022-05-19T15:22:57.716Z] + + cut -d,cat -f6 /w/workspace/app-functions-sdk-go/1/archives/cost.csv [2022-05-19T15:22:57.716Z] [Pipeline] lock [2022-05-19T15:22:57.810Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1113-1-stack-cost] [2022-05-19T15:22:57.816Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1113-1-stack-cost] did not exist. Created. [2022-05-19T15:22:57.816Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1113-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-19T15:22:58.573Z] /w/workspace/app-functions-sdk-go/1@tmp/durable-5fb83fc1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-19T15:22:59.276Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-19T15:22:59.313Z] Warning: overwriting stash ‘stack-cost’ [2022-05-19T15:22:59.686Z] Stashed 1 file(s) [Pipeline] } [2022-05-19T15:22:59.705Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1113-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-19T15:22:59.788Z] $ docker stop --time=1 bb15a3b9a893010a1b7e75b30b9c7b054fdae6df0e416682ee40edf8d088d84c [2022-05-19T15:23:01.291Z] $ docker rm -f bb15a3b9a893010a1b7e75b30b9c7b054fdae6df0e416682ee40edf8d088d84c [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-05-19T15:23:02.335Z] provisioning config files... [2022-05-19T15:23:02.377Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/dry_app-functions-sdk-go_PR-1113@tmp/config815447908254689319tmp [Pipeline] { [Pipeline] sh [2022-05-19T15:23:02.692Z] + set +x [2022-05-19T15:23:02.693Z] + curl -s https://codecov.io/bash [2022-05-19T15:23:02.693Z] + bash -s -- [2022-05-19T15:23:02.693Z] [2022-05-19T15:23:02.693Z] _____ _ [2022-05-19T15:23:02.693Z] / ____| | | [2022-05-19T15:23:02.693Z] | | ___ __| | ___ ___ _____ __ [2022-05-19T15:23:02.693Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-19T15:23:02.693Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-19T15:23:02.693Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-19T15:23:02.693Z] Bash-1.0.6 [2022-05-19T15:23:02.693Z] [2022-05-19T15:23:02.693Z] [2022-05-19T15:23:02.693Z] ==> git version 2.25.1 found [2022-05-19T15:23:02.693Z] ==> 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-05-19T15:23:02.693Z] Release-Date: 2020-01-08 [2022-05-19T15:23:02.693Z] 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-05-19T15:23:02.693Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-19T15:23:02.693Z] ==> Jenkins CI detected. [2022-05-19T15:23:02.693Z] current dir:  /w/workspace/dry_app-functions-sdk-go_PR-1113 [2022-05-19T15:23:02.693Z] project root: . [2022-05-19T15:23:02.693Z] --> token set from env [2022-05-19T15:23:02.693Z] Yaml found at: app-service-template/vendor/github.com/diegoholiveira/jsonlogic/codecov.yml [2022-05-19T15:23:02.693Z] ==> Running gcov in . (disable via -X gcov) [2022-05-19T15:23:02.693Z] ==> Python coveragepy not found [2022-05-19T15:23:02.693Z] ==> Searching for coverage reports in: [2022-05-19T15:23:02.693Z] + . [2022-05-19T15:23:02.952Z] -> Found 2 reports [2022-05-19T15:23:02.952Z] ==> Detecting git/mercurial file structure [2022-05-19T15:23:02.952Z] ==> Reading reports [2022-05-19T15:23:02.952Z] + ./app-service-template/coverage.out bytes=1219 [2022-05-19T15:23:02.952Z] + ./coverage.out bytes=108301 [2022-05-19T15:23:02.952Z] ==> Appending adjustments [2022-05-19T15:23:02.952Z] https://docs.codecov.io/docs/fixing-reports [2022-05-19T15:23:03.524Z] + Found adjustments [2022-05-19T15:23:03.524Z] ==> Gzipping contents [2022-05-19T15:23:03.524Z] 32K /tmp/codecov.NlUeoi.gz [2022-05-19T15:23:03.524Z] ==> Uploading reports [2022-05-19T15:23:03.524Z] url: https://codecov.io [2022-05-19T15:23:03.524Z] query: branch=PR-1113&commit=6fa935348d6a26a58428775125e272887717a7f8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-1113%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=1113&job=&cmd_args= [2022-05-19T15:23:03.524Z] -> Pinging Codecov [2022-05-19T15:23:03.524Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-1113&commit=6fa935348d6a26a58428775125e272887717a7f8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-1113%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=1113&job=&cmd_args= [2022-05-19T15:23:03.786Z] -> Uploading to [2022-05-19T15:23:03.786Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-19/3D8B5DFFC46A037C893635FACE044666/6fa935348d6a26a58428775125e272887717a7f8/ed389cba-d041-4a74-a3ef-4bc8d2c3b7a2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220519%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220519T152303Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e4a70e0b80a704fdf260aecdddf4b49234268d46170da64060a559e12f2c52e0 [2022-05-19T15:23:03.786Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-19T15:23:03.786Z] Dload Upload Total Spent Left Speed [2022-05-19T15:23:04.049Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 32687 0 0 100 32687 0 115k --:--:-- --:--:-- --:--:-- 115k [2022-05-19T15:23:04.049Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/6fa935348d6a26a58428775125e272887717a7f8 [Pipeline] } [2022-05-19T15:23:04.075Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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-05-19T15:23:05.861Z] + [ -d /w/workspace/dry_app-functions-sdk-go_PR-1113/archives ] [2022-05-19T15:23:05.862Z] + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1113/archives [2022-05-19T15:23:05.862Z] total 16 [2022-05-19T15:23:05.862Z] drwxr-xr-x 3 root root 4096 May 19 15:17 . [2022-05-19T15:23:05.862Z] drwxrwxr-x 11 jenkins jenkins 4096 May 19 15:17 .. [2022-05-19T15:23:05.862Z] drwxr-xr-x 2 root root 4096 May 19 15:17 cost [2022-05-19T15:23:05.862Z] -rw-r--r-- 1 root root 92 May 19 15:17 cost.csv [2022-05-19T15:23:05.862Z] + sudo chown -R jenkins:jenkins /w/workspace/dry_app-functions-sdk-go_PR-1113/archives [2022-05-19T15:23:05.862Z] + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1113/archives [2022-05-19T15:23:05.862Z] total 16 [2022-05-19T15:23:05.862Z] drwxr-xr-x 3 jenkins jenkins 4096 May 19 15:17 . [2022-05-19T15:23:05.862Z] drwxrwxr-x 11 jenkins jenkins 4096 May 19 15:17 .. [2022-05-19T15:23:05.862Z] drwxr-xr-x 2 jenkins jenkins 4096 May 19 15:17 cost [2022-05-19T15:23:05.862Z] -rw-r--r-- 1 jenkins jenkins 92 May 19 15:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-19T15:23:06.183Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-19T15:23:07.086Z] ---> package-listing.sh [2022-05-19T15:23:07.086Z] ++ facter osfamily [2022-05-19T15:23:07.086Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-19T15:23:07.347Z] + OS_FAMILY=debian [2022-05-19T15:23:07.347Z] + workspace=/w/workspace/dry_app-functions-sdk-go_PR-1113 [2022-05-19T15:23:07.347Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-19T15:23:07.347Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-19T15:23:07.347Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-19T15:23:07.347Z] + PACKAGES=/tmp/packages_start.txt [2022-05-19T15:23:07.347Z] + '[' /w/workspace/dry_app-functions-sdk-go_PR-1113 ']' [2022-05-19T15:23:07.347Z] + PACKAGES=/tmp/packages_end.txt [2022-05-19T15:23:07.347Z] + case "${OS_FAMILY}" in [2022-05-19T15:23:07.347Z] + dpkg -l [2022-05-19T15:23:07.347Z] + grep '^ii' [2022-05-19T15:23:07.347Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-19T15:23:07.347Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-19T15:23:07.347Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-19T15:23:07.347Z] + '[' /w/workspace/dry_app-functions-sdk-go_PR-1113 ']' [2022-05-19T15:23:07.347Z] + mkdir -p /w/workspace/dry_app-functions-sdk-go_PR-1113/archives/ [2022-05-19T15:23:07.347Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_app-functions-sdk-go_PR-1113/archives/ [Pipeline] echo [2022-05-19T15:23:07.379Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-functions-sdk-go_PR-1113/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-19T15:23:07.674Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-19T15:23:08.261Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-19T15:23:08.261Z] . [Pipeline] withDockerContainer [2022-05-19T15:23:08.350Z] prd-ubuntu20.04-docker-8c-8g-64094 does not seem to be running inside a container [2022-05-19T15:23:08.394Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-functions-sdk-go_PR-1113/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-functions-sdk-go_PR-1113 -v /w/workspace/dry_app-functions-sdk-go_PR-1113:/w/workspace/dry_app-functions-sdk-go_PR-1113:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1113@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1113@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-19T15:23:08.656Z] $ docker top 15b55fafe42f0f0b9bb95e715601e348dcfb1e535207db86c0be7138a62df9f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-19T15:23:09.061Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-19T15:23:09.369Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-19T15:23:09.680Z] + ls /var/log/sa-host [2022-05-19T15:23:09.680Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-19T15:23:09.962Z] provisioning config files... [2022-05-19T15:23:09.972Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-functions-sdk-go_PR-1113@tmp/config8014458957605642176tmp [Pipeline] { [Pipeline] echo [2022-05-19T15:23:10.024Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-19T15:23:10.334Z] ---> create-netrc.sh [Pipeline] } [2022-05-19T15:23:10.364Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-19T15:23:10.791Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-19T15:23:10.823Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-19T15:23:11.137Z] ---> sudo-logs.sh [2022-05-19T15:23:11.137Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-19T15:23:11.226Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-19T15:23:11.540Z] ---> job-cost.sh [2022-05-19T15:23:11.540Z] lf-activate-venv: SKIPPING [2022-05-19T15:23:11.540Z] DEBUG: total: 0.2199999988079071 [2022-05-19T15:23:11.540Z] INFO: Retrieving Stack Cost... [2022-05-19T15:23:11.801Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-19T15:23:12.370Z] INFO: Archiving Costs [Pipeline] echo [2022-05-19T15:23:12.405Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-19T15:23:12.718Z] ---> logs-deploy.sh [2022-05-19T15:23:12.718Z] lf-activate-venv: SKIPPING [2022-05-19T15:23:12.718Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-1113/1 [2022-05-19T15:23:12.718Z] INFO: archiving workspace using pattern(s): [2022-05-19T15:23:13.660Z] Archives upload complete. [2022-05-19T15:23:13.660Z] INFO: archiving logs to Nexus