Pull request #1150 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 ernestojeda for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from bd89ed09ddfa4d388cb972f41d269c103137062e+3a3cae19978a08b96b810bb2d0ffa38734d7aa02 (645d7bfca2754515f72e38cc661d2befef5346e2) Loading library edgex-global-pipelines@677fadcc9a37328466da988fea5f2bc088427165 Attempting to resolve 677fadcc9a37328466da988fea5f2bc088427165 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-ssh15200631543582777211.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Could not find 677fadcc9a37328466da988fea5f2bc088427165 in remote references. Pulling heads to local for deep search... > 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-ssh4854124176858903783.key > git fetch --tags --progress -- origin +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git rev-parse 677fadcc9a37328466da988fea5f2bc088427165^{commit} # timeout=10 > git branch -a -v --no-abbrev --contains 677fadcc9a37328466da988fea5f2bc088427165 # timeout=10 Selected match: pr/405/merge revision 677fadcc9a37328466da988fea5f2bc088427165 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without 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-1150/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1150/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh913315724201381600.key > git fetch --no-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 without 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-1150/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18038252847090331973.key > git fetch --no-tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 677fadcc9a37328466da988fea5f2bc088427165 (pr/405/merge) > git config core.sparsecheckout # timeout=10 > git checkout -f 677fadcc9a37328466da988fea5f2bc088427165 # timeout=10 Commit message: "ci: add privileged to fix issues with Go 1.18 and AppArmor" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6357049695361515741.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1150/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1150/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh563187253722464664.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 677fadcc9a37328466da988fea5f2bc088427165 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-19347 in /w/workspace/dry_app-functions-sdk-go_PR-1150 [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-1150 # 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/main commit 3a3cae19978a08b96b810bb2d0ffa38734d7aa02 into PR head commit bd89ed09ddfa4d388cb972f41d269c103137062e Merge succeeded, producing bd89ed09ddfa4d388cb972f41d269c103137062e Checking out Revision bd89ed09ddfa4d388cb972f41d269c103137062e (PR-1150) > 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/1150/head:refs/remotes/origin/PR-1150 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bd89ed09ddfa4d388cb972f41d269c103137062e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 3a3cae19978a08b96b810bb2d0ffa38734d7aa02 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bd89ed09ddfa4d388cb972f41d269c103137062e # timeout=10 Commit message: "ci: pin to epg AppArmor fix" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 677fadcc9a37328466da988fea5f2bc088427165 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:17:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:17:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:17:54 ========================================================= 20:17:54 EdgeX Global Pipelines Version Info 20:17:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:17:55 ------------------- 20:17:55 stable info: 20:17:55 ------------------- 20:17:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:17:55 Commit SHA: 7e4371ac6d730b8e642184b898413c6ef59a5643 20:17:55 Message: update stable to v1.0.236 20:17:55 ------------------- 20:17:55 experimental info: 20:17:55 ------------------- 20:17:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:17:55 Commit SHA: 7e4371ac6d730b8e642184b898413c6ef59a5643 20:17:55 Message: update experimental to v1.0.236 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:17:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 20:17:56 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 20:17:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:17:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:17:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:17:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:17:56 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:17:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:17:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:17:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:17:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:17:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 20:17:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:17:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:17:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 20:17:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 20:17:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:17:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:17:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:17:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:17:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:17:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 20:17:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:17:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:17:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 20:17:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:17:57 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:17:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1150 [Pipeline] echo 20:17:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1150 [Pipeline] echo 20:17:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1150 [Pipeline] echo 20:17:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bd89ed09ddfa4d388cb972f41d269c103137062e [Pipeline] echo 20:17:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bd89ed0 [Pipeline] echo 20:17:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:17:57 + git rev-list -1 --merges bd89ed09ddfa4d388cb972f41d269c103137062e~1..bd89ed09ddfa4d388cb972f41d269c103137062e [Pipeline] echo 20:17:57 -----------> git rev-list -1 --merges bd89ed09ddfa4d388cb972f41d269c103137062e~1..bd89ed09ddfa4d388cb972f41d269c103137062e bd89ed09ddfa4d388cb972f41d269c103137062e [false] [Pipeline] sh 20:17:58 + git log --format=format:%s -1 bd89ed09ddfa4d388cb972f41d269c103137062e [Pipeline] echo 20:17:58 ========================================================= 20:17:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:17:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:17:58 + git log --format=format:%s -1 bd89ed09ddfa4d388cb972f41d269c103137062e [Pipeline] echo 20:17:58 [semverPrep] GIT_COMMIT: bd89ed09ddfa4d388cb972f41d269c103137062e, Commit Message: ci: pin to epg AppArmor fix [Pipeline] echo 20:17:58 [semverPrep] This is not a build commit. [Pipeline] sh 20:17:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:17:59 + grep -v github /etc/ssh/ssh_known_hosts 20:17:59 + [ -e /tmp/ssh_known_hosts ] 20:17:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:17:59 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:17:59 sudo tee -a /etc/ssh/ssh_known_hosts 20:17:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:17:59 20:17:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:18:00 0.1.4: Pulling from edgex-devops/py-git-semver 20:18:00 b85a868b505f: Pulling fs layer 20:18:00 e2be974225ed: Pulling fs layer 20:18:00 339a4e72a1f5: Pulling fs layer 20:18:00 988bab9f4d93: Pulling fs layer 20:18:00 1469e6f7b9e6: Pulling fs layer 20:18:00 988bab9f4d93: Waiting 20:18:00 eaf3925da568: Pulling fs layer 20:18:00 1469e6f7b9e6: Waiting 20:18:00 bab4dde63d76: Pulling fs layer 20:18:00 bde34c3a00c8: Pulling fs layer 20:18:00 b352a97aabf1: Pulling fs layer 20:18:00 bab4dde63d76: Waiting 20:18:00 bde34c3a00c8: Waiting 20:18:00 4872d77fe225: Pulling fs layer 20:18:00 5851b861e8e6: Pulling fs layer 20:18:00 b352a97aabf1: Waiting 20:18:00 4872d77fe225: Waiting 20:18:00 5851b861e8e6: Waiting 20:18:00 e2be974225ed: Download complete 20:18:00 988bab9f4d93: Verifying Checksum 20:18:00 988bab9f4d93: Download complete 20:18:00 1469e6f7b9e6: Verifying Checksum 20:18:00 1469e6f7b9e6: Download complete 20:18:00 eaf3925da568: Download complete 20:18:00 339a4e72a1f5: Verifying Checksum 20:18:00 339a4e72a1f5: Download complete 20:18:00 bde34c3a00c8: Download complete 20:18:00 b352a97aabf1: Verifying Checksum 20:18:00 b352a97aabf1: Download complete 20:18:00 4872d77fe225: Verifying Checksum 20:18:00 4872d77fe225: Download complete 20:18:00 5851b861e8e6: Download complete 20:18:00 b85a868b505f: Verifying Checksum 20:18:00 b85a868b505f: Download complete 20:18:00 bab4dde63d76: Verifying Checksum 20:18:00 bab4dde63d76: Download complete 20:18:02 b85a868b505f: Pull complete 20:18:02 e2be974225ed: Pull complete 20:18:02 339a4e72a1f5: Pull complete 20:18:03 988bab9f4d93: Pull complete 20:18:03 1469e6f7b9e6: Pull complete 20:18:03 eaf3925da568: Pull complete 20:18:05 bab4dde63d76: Pull complete 20:18:05 bde34c3a00c8: Pull complete 20:18:05 b352a97aabf1: Pull complete 20:18:05 4872d77fe225: Pull complete 20:18:05 5851b861e8e6: Pull complete 20:18:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:18:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:18:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:18:06 prd-ubuntu20.04-docker-8c-8g-19347 does not seem to be running inside a container 20:18:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-functions-sdk-go_PR-1150 -v /w/workspace/dry_app-functions-sdk-go_PR-1150:/w/workspace/dry_app-functions-sdk-go_PR-1150:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1150@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1150@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-devops/py-git-semver:0.1.4 cat 20:18:07 $ docker top b5c68972300cc9ee67f81f660ad92b0cc365230b7a393c39c2c6fc4ef75f06d6 -eo pid,comm 20:18:07 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:18:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:18:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:18:07 [ssh-agent] Looking for ssh-agent implementation... 20:18:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:18:07 $ docker exec b5c68972300cc9ee67f81f660ad92b0cc365230b7a393c39c2c6fc4ef75f06d6 ssh-agent 20:18:07 SSH_AUTH_SOCK=/tmp/ssh-adouw92YQch3/agent.32 20:18:07 SSH_AGENT_PID=38 20:18:07 Running ssh-add (command line suppressed) 20:18:08 Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1150@tmp/private_key_7907353203422968353.key (/w/workspace/dry_app-functions-sdk-go_PR-1150@tmp/private_key_7907353203422968353.key) 20:18:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:18:08 + git tag --points-at HEAD [Pipeline] } 20:18:08 $ docker exec --env ******** --env ******** b5c68972300cc9ee67f81f660ad92b0cc365230b7a393c39c2c6fc4ef75f06d6 ssh-agent -k 20:18:08 unset SSH_AUTH_SOCK; 20:18:08 unset SSH_AGENT_PID; 20:18:08 echo Agent pid 38 killed; 20:18:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:18:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:18:08 [ssh-agent] Looking for ssh-agent implementation... 20:18:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:18:08 $ docker exec b5c68972300cc9ee67f81f660ad92b0cc365230b7a393c39c2c6fc4ef75f06d6 ssh-agent 20:18:08 SSH_AUTH_SOCK=/tmp/ssh-t2CJJIH0n291/agent.72 20:18:08 SSH_AGENT_PID=78 20:18:08 Running ssh-add (command line suppressed) 20:18:09 Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1150@tmp/private_key_6000228325536534747.key (/w/workspace/dry_app-functions-sdk-go_PR-1150@tmp/private_key_6000228325536534747.key) 20:18:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:18:09 + git semver init 20:18:09 2022-07-11 20:18:09,629 [run_init] DEBUG init version:0.0.0 force:False 20:18:09 2022-07-11 20:18:09,629 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-functions-sdk-go_PR-1150/.semver 20:18:09 2022-07-11 20:18:09,630 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-functions-sdk-go.git /w/workspace/dry_app-functions-sdk-go_PR-1150/.semver 20:18:09 2022-07-11 20:18:09,630 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-functions-sdk-go.git', '/w/workspace/dry_app-functions-sdk-go_PR-1150/.semver'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1150, universal_newlines=False, shell=None, istream=None) 20:18:11 2022-07-11 20:18:10,961 [append_file] DEBUG append to file:/w/workspace/dry_app-functions-sdk-go_PR-1150/.git/info/exclude 20:18:11 2022-07-11 20:18:10,962 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_app-functions-sdk-go_PR-1150/.semver/PR-1150 with force:False 20:18:11 2022-07-11 20:18:10,962 [write_file] DEBUG write to file:/w/workspace/dry_app-functions-sdk-go_PR-1150/.semver/PR-1150 20:18:11 2022-07-11 20:18:10,967 [execute] INFO git cat-file --batch-check 20:18:11 2022-07-11 20:18:10,967 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1150/.semver, universal_newlines=False, shell=None, istream=) 20:18:11 2022-07-11 20:18:10,973 [execute] INFO git cat-file --batch 20:18:11 2022-07-11 20:18:10,973 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1150/.semver, universal_newlines=False, shell=None, istream=) 20:18:11 2022-07-11 20:18:10,977 [read_version] DEBUG read version from /w/workspace/dry_app-functions-sdk-go_PR-1150/.semver/PR-1150 20:18:11 0.0.0 [Pipeline] } 20:18:11 $ docker exec --env ******** --env ******** b5c68972300cc9ee67f81f660ad92b0cc365230b7a393c39c2c6fc4ef75f06d6 ssh-agent -k 20:18:11 unset SSH_AUTH_SOCK; 20:18:11 unset SSH_AGENT_PID; 20:18:11 echo Agent pid 78 killed; 20:18:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:18:11 + git semver [Pipeline] } 20:18:11 $ docker stop --time=1 b5c68972300cc9ee67f81f660ad92b0cc365230b7a393c39c2c6fc4ef75f06d6 20:18:13 $ docker rm -f b5c68972300cc9ee67f81f660ad92b0cc365230b7a393c39c2c6fc4ef75f06d6 [Pipeline] // withDockerContainer [Pipeline] sh 20:18:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:18:14 Stashed 1 file(s) [Pipeline] echo 20:18:14 [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 20:18:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:18:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:18:14 ========================================================= 20:18:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:18:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 20:18:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:18:15 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:18:15 2408cc74d12b: Pulling fs layer 20:18:15 ea60b727a1ce: Pulling fs layer 20:18:15 30c4a7721957: Pulling fs layer 20:18:15 370296b7ddb6: Pulling fs layer 20:18:15 7c6cee850709: Pulling fs layer 20:18:15 39a5fcdaea64: Pulling fs layer 20:18:15 d94ebbe4e438: Pulling fs layer 20:18:15 bcfd1f05c69d: Pulling fs layer 20:18:15 59ccb84bbe0f: Pulling fs layer 20:18:15 39a5fcdaea64: Waiting 20:18:15 d94ebbe4e438: Waiting 20:18:15 370296b7ddb6: Waiting 20:18:15 bcfd1f05c69d: Waiting 20:18:15 7c6cee850709: Waiting 20:18:15 30c4a7721957: Verifying Checksum 20:18:15 30c4a7721957: Download complete 20:18:15 ea60b727a1ce: Download complete 20:18:15 7c6cee850709: Verifying Checksum 20:18:15 7c6cee850709: Download complete 20:18:15 39a5fcdaea64: Download complete 20:18:15 2408cc74d12b: Verifying Checksum 20:18:15 2408cc74d12b: Download complete 20:18:15 d94ebbe4e438: Download complete 20:18:15 2408cc74d12b: Pull complete 20:18:15 ea60b727a1ce: Pull complete 20:18:15 30c4a7721957: Pull complete 20:18:15 59ccb84bbe0f: Verifying Checksum 20:18:15 59ccb84bbe0f: Download complete 20:18:15 bcfd1f05c69d: Verifying Checksum 20:18:15 bcfd1f05c69d: Download complete 20:18:15 370296b7ddb6: Verifying Checksum 20:18:15 370296b7ddb6: Download complete 20:18:21 370296b7ddb6: Pull complete 20:18:21 7c6cee850709: Pull complete 20:18:21 39a5fcdaea64: Pull complete 20:18:21 d94ebbe4e438: Pull complete 20:18:22 bcfd1f05c69d: Pull complete 20:18:23 59ccb84bbe0f: Pull complete 20:18:23 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 20:18:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:18:23 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] sh 20:18:23 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:24 + docker inspect -f . ci-base-image-x86_64 20:18:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:18:24 prd-ubuntu20.04-docker-8c-8g-19347 does not seem to be running inside a container 20:18:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-functions-sdk-go_PR-1150 -v /w/workspace/dry_app-functions-sdk-go_PR-1150:/w/workspace/dry_app-functions-sdk-go_PR-1150:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1150@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1150@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:18:26 $ docker top 4a32b25a31af07520694dd94a8a175c42d42b38eac51145ab79a0b021b85c3d3 -eo pid,comm [Pipeline] { [Pipeline] sh 20:18:26 + go version 20:18:26 go version go1.18.3 linux/amd64 [Pipeline] } 20:18:26 $ docker stop --time=1 4a32b25a31af07520694dd94a8a175c42d42b38eac51145ab79a0b021b85c3d3 20:18:27 $ docker rm -f 4a32b25a31af07520694dd94a8a175c42d42b38eac51145ab79a0b021b85c3d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:28 + docker inspect -f . ci-base-image-x86_64 20:18:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:18:28 prd-ubuntu20.04-docker-8c-8g-19347 does not seem to be running inside a container 20:18:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/dry_app-functions-sdk-go_PR-1150 -v /w/workspace/dry_app-functions-sdk-go_PR-1150:/w/workspace/dry_app-functions-sdk-go_PR-1150:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1150@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1150@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:18:29 $ docker top 50e0d427ae98141d4eb5e9a6a6a6039613c41efea6ea403563998d70a30089ba -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:18:29 Still waiting to schedule task 20:18:29 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 20:18:29 + make test 20:18:29 make -C ./app-service-template build 20:18:29 make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1150/app-service-template' 20:18:29 go mod tidy 20:18:29 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 20:18:29 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 20:18:29 go: downloading github.com/google/uuid v1.3.0 20:18:29 go: downloading github.com/stretchr/testify v1.8.0 20:18:29 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.1-dev.5 20:18:29 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.1-dev.8 20:18:29 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 20:18:29 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.3 20:18:29 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 20:18:29 go: downloading github.com/gorilla/mux v1.8.0 20:18:29 go: downloading github.com/hashicorp/go-multierror v1.1.1 20:18:29 go: downloading github.com/davecgh/go-spew v1.1.1 20:18:29 go: downloading github.com/pmezard/go-difflib v1.0.0 20:18:29 go: downloading github.com/stretchr/objx v0.4.0 20:18:29 go: downloading gopkg.in/yaml.v3 v3.0.1 20:18:29 go: downloading github.com/go-kit/log v0.2.0 20:18:29 go: downloading github.com/go-playground/validator/v10 v10.10.1 20:18:29 go: downloading github.com/gorilla/websocket v1.4.2 20:18:29 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 20:18:29 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 20:18:29 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 20:18:29 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 20:18:29 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.1-dev.1 20:18:30 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 20:18:30 go: downloading github.com/pelletier/go-toml v1.9.5 20:18:30 go: downloading github.com/mitchellh/copystructure v1.0.0 20:18:30 go: downloading github.com/hashicorp/errwrap v1.0.0 20:18:30 go: downloading github.com/hashicorp/consul/api v1.9.1 20:18:30 go: downloading github.com/go-logfmt/logfmt v0.5.1 20:18:30 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 20:18:30 go: downloading github.com/x448/float16 v0.8.4 20:18:30 go: downloading github.com/go-playground/universal-translator v0.18.0 20:18:30 go: downloading github.com/leodido/go-urn v1.2.1 20:18:30 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 20:18:30 go: downloading golang.org/x/text v0.3.7 20:18:30 go: downloading github.com/go-playground/locales v0.14.0 20:18:30 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.0 20:18:30 go: downloading github.com/go-redis/redis/v7 v7.3.0 20:18:30 go: downloading github.com/pebbe/zmq4 v1.2.7 20:18:30 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:18:30 go: downloading github.com/mitchellh/reflectwalk v1.0.0 20:18:30 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 20:18:30 go: downloading github.com/go-playground/assert/v2 v2.0.1 20:18:30 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 20:18:30 go: downloading github.com/hashicorp/go-hclog v0.12.0 20:18:30 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 20:18:30 go: downloading github.com/hashicorp/serf v0.9.5 20:18:30 go: downloading github.com/mitchellh/mapstructure v1.1.2 20:18:30 go: downloading github.com/hashicorp/consul/sdk v0.8.0 20:18:30 go: downloading github.com/hashicorp/go-uuid v1.0.1 20:18:30 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 20:18:30 go: downloading github.com/Microsoft/go-winio v0.5.2 20:18:30 go: downloading github.com/zeebo/errs v1.2.2 20:18:30 go: downloading google.golang.org/grpc v1.46.0 20:18:31 go: downloading github.com/onsi/ginkgo v1.10.1 20:18:31 go: downloading github.com/onsi/gomega v1.7.0 20:18:31 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 20:18:31 go: downloading github.com/kr/pretty v0.3.0 20:18:31 go: downloading github.com/mitchellh/go-homedir v1.1.0 20:18:31 go: downloading github.com/fatih/color v1.9.0 20:18:31 go: downloading github.com/mattn/go-colorable v0.1.6 20:18:31 go: downloading github.com/mattn/go-isatty v0.0.12 20:18:31 go: downloading github.com/pkg/errors v0.9.1 20:18:31 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:18:31 go: downloading github.com/hashicorp/go-msgpack v0.5.3 20:18:31 go: downloading github.com/hashicorp/memberlist v0.2.2 20:18:31 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 20:18:31 go: downloading google.golang.org/protobuf v1.28.0 20:18:31 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 20:18:31 go: downloading github.com/golang/protobuf v1.5.2 20:18:31 go: downloading github.com/google/go-cmp v0.5.6 20:18:31 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 20:18:31 go: downloading github.com/kr/text v0.2.0 20:18:31 go: downloading github.com/rogpeppe/go-internal v1.8.0 20:18:31 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 20:18:31 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 20:18:31 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 20:18:31 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 20:18:31 go: downloading github.com/miekg/dns v1.1.26 20:18:31 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 20:18:31 go: downloading github.com/hashicorp/golang-lru v0.5.0 20:18:31 go: downloading gopkg.in/yaml.v2 v2.2.8 20:18:31 go: downloading github.com/hpcloud/tail v1.0.0 20:18:31 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 20:18:31 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 20:18:31 go: downloading gopkg.in/fsnotify.v1 v1.4.7 20:18:32 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o new-app-service 20:18:33 error obtaining VCS status: exit status 128 20:18:33 Use -buildvcs=false to disable VCS stamping. 20:18:33 make[1]: *** [Makefile:49: build] Error 1 20:18:33 make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1150/app-service-template' 20:18:33 make: *** [Makefile:26: build] Error 2 [Pipeline] } 20:18:33 $ docker stop --time=1 50e0d427ae98141d4eb5e9a6a6a6039613c41efea6ea403563998d70a30089ba 20:18:36 $ docker rm -f 50e0d427ae98141d4eb5e9a6a6a6039613c41efea6ea403563998d70a30089ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:18:37 20:18:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:18:37 latest: Pulling from edgex-lftools-log-publisher 20:18:37 5eb5b503b376: Pulling fs layer 20:18:37 5c69ac0246d0: Pulling fs layer 20:18:37 ec43610c2a17: Pulling fs layer 20:18:37 3a2ae6a8a46f: Pulling fs layer 20:18:37 33b1e0a273af: Pulling fs layer 20:18:37 5d3b04190fa2: Pulling fs layer 20:18:37 2f39f015ded8: Pulling fs layer 20:18:37 5d3b04190fa2: Waiting 20:18:37 3a2ae6a8a46f: Waiting 20:18:37 2f39f015ded8: Waiting 20:18:37 33b1e0a273af: Waiting 20:18:37 5c69ac0246d0: Verifying Checksum 20:18:37 5c69ac0246d0: Download complete 20:18:37 3a2ae6a8a46f: Verifying Checksum 20:18:37 3a2ae6a8a46f: Download complete 20:18:37 33b1e0a273af: Verifying Checksum 20:18:37 33b1e0a273af: Download complete 20:18:37 5d3b04190fa2: Download complete 20:18:37 ec43610c2a17: Verifying Checksum 20:18:38 5eb5b503b376: Download complete 20:18:38 2f39f015ded8: Download complete 20:18:39 5eb5b503b376: Pull complete 20:18:39 5c69ac0246d0: Pull complete 20:18:40 ec43610c2a17: Pull complete 20:18:40 3a2ae6a8a46f: Pull complete 20:18:40 33b1e0a273af: Pull complete 20:18:40 5d3b04190fa2: Pull complete 20:18:45 2f39f015ded8: Pull complete 20:18:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:18:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:18:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:18:46 prd-ubuntu20.04-docker-8c-8g-19347 does not seem to be running inside a container 20:18:46 $ 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-1150 -v /w/workspace/dry_app-functions-sdk-go_PR-1150:/w/workspace/dry_app-functions-sdk-go_PR-1150:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1150@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1150@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:18:47 $ docker top 06bddecf9746b5b0985056922cd1a946ee7487818739c195268feb40bd745730 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:18:48 ---> job-cost.sh 20:18:48 lf-activate-venv: SKIPPING 20:18:48 INFO: No Stack... 20:18:48 INFO: Retrieving Pricing Info for: v3-standard-8 20:18:49 INFO: Archiving Costs [Pipeline] sh 20:18:49 + cat /w/workspace/dry_app-functions-sdk-go_PR-1150/archives/cost.csv 20:18:49 + cut -d, -f6 [Pipeline] lock 20:18:49 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1150-1-stack-cost] 20:18:49 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1150-1-stack-cost] did not exist. Created. 20:18:49 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1150-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:18:49 + echo total: 0.2199999988079071 [Pipeline] stash 20:18:49 Stashed 1 file(s) [Pipeline] } 20:18:49 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1150-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:18:49 $ docker stop --time=1 06bddecf9746b5b0985056922cd1a946ee7487818739c195268feb40bd745730 20:18:51 $ docker rm -f 06bddecf9746b5b0985056922cd1a946ee7487818739c195268feb40bd745730 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:18:51 Failed in branch amd64 20:21:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19348 in /w/workspace/dry_app-functions-sdk-go_PR-1150 [Pipeline] { [Pipeline] ws 20:21:52 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 20:21:52 The recommended git tool is: git 20:21:59 using credential edgex-jenkins-ssh 20:21:59 Cloning the remote Git repository 20:21:59 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 20:21:59 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 20:21:59 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:21:59 > git --version # timeout=10 20:21:59 > git --version # 'git version 2.25.1' 20:21:59 using GIT_SSH to set credentials SSH Credentials for GitHub 20:22:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:22:05 Merging remotes/origin/main commit 3a3cae19978a08b96b810bb2d0ffa38734d7aa02 into PR head commit bd89ed09ddfa4d388cb972f41d269c103137062e 20:22:05 Merge succeeded, producing bd89ed09ddfa4d388cb972f41d269c103137062e 20:22:05 Checking out Revision bd89ed09ddfa4d388cb972f41d269c103137062e (PR-1150) 20:22:04 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:22:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:22:04 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:22:04 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:22:04 using GIT_SSH to set credentials SSH Credentials for GitHub 20:22:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/1150/head:refs/remotes/origin/PR-1150 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:22:05 > git config core.sparsecheckout # timeout=10 20:22:05 > git checkout -f bd89ed09ddfa4d388cb972f41d269c103137062e # timeout=10 20:22:05 > git remote # timeout=10 20:22:05 > git config --get remote.origin.url # timeout=10 20:22:05 using GIT_SSH to set credentials SSH Credentials for GitHub 20:22:05 > git merge 3a3cae19978a08b96b810bb2d0ffa38734d7aa02 # timeout=10 20:22:05 > git rev-parse HEAD^{commit} # timeout=10 20:22:05 > git config core.sparsecheckout # timeout=10 20:22:05 > git checkout -f bd89ed09ddfa4d388cb972f41d269c103137062e # timeout=10 20:22:09 Commit message: "ci: pin to epg AppArmor fix" 20:22:10 > git --version # timeout=10 20:22:10 > git --version # 'git version 2.25.1' 20:22:10 fatal: bad object 677fadcc9a37328466da988fea5f2bc088427165 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:22:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:22:11 % Total % Received % Xferd Average Speed Time Time Time Current 20:22:11 Dload Upload Total Spent Left Speed 20:22:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 203k 0 --:--:-- --:--:-- --:--:-- 203k [Pipeline] sh 20:22:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:22:12 + sudo tee /etc/docker/daemon.new 20:22:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:22:12 { 20:22:12 "registry-mirrors": [ 20:22:12 "https://nexus3.edgexfoundry.org:10001" 20:22:12 ], 20:22:12 "bip": "10.250.0.254/24", 20:22:12 "hosts": [ 20:22:12 "tcp://0.0.0.0:5555", 20:22:12 "unix:///var/run/docker.sock" 20:22:12 ], 20:22:12 "mtu": 1458, 20:22:12 "selinux-enabled": true, 20:22:12 "seccomp-profile": "/etc/docker/seccomp.json" 20:22:12 } [Pipeline] sh 20:22:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:22:13 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 20:22:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:22:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:22:32 ========================================================= 20:22:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:22:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 20:22:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:22:33 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:22:33 b3c136eddcbf: Pulling fs layer 20:22:33 c0a3192eca97: Pulling fs layer 20:22:33 a050256f5b6f: Pulling fs layer 20:22:33 656be50a0ddc: Pulling fs layer 20:22:33 2bbca73fdf42: Pulling fs layer 20:22:33 46d945488cbd: Pulling fs layer 20:22:33 8a5474983e97: Pulling fs layer 20:22:33 329c88fbcd65: Pulling fs layer 20:22:33 656be50a0ddc: Waiting 20:22:33 2bbca73fdf42: Waiting 20:22:33 46d945488cbd: Waiting 20:22:33 8a5474983e97: Waiting 20:22:33 329c88fbcd65: Waiting 20:22:33 a050256f5b6f: Verifying Checksum 20:22:33 a050256f5b6f: Download complete 20:22:33 c0a3192eca97: Verifying Checksum 20:22:33 c0a3192eca97: Download complete 20:22:33 2bbca73fdf42: Verifying Checksum 20:22:33 2bbca73fdf42: Download complete 20:22:33 46d945488cbd: Verifying Checksum 20:22:33 46d945488cbd: Download complete 20:22:33 b3c136eddcbf: Verifying Checksum 20:22:33 b3c136eddcbf: Download complete 20:22:34 329c88fbcd65: Verifying Checksum 20:22:34 329c88fbcd65: Download complete 20:22:34 b3c136eddcbf: Pull complete 20:22:35 c0a3192eca97: Pull complete 20:22:35 a050256f5b6f: Pull complete 20:22:35 8a5474983e97: Verifying Checksum 20:22:35 8a5474983e97: Download complete 20:22:36 656be50a0ddc: Verifying Checksum 20:22:36 656be50a0ddc: Download complete 20:22:51 656be50a0ddc: Pull complete 20:22:51 2bbca73fdf42: Pull complete 20:22:51 46d945488cbd: Pull complete 20:22:56 8a5474983e97: Pull complete 20:22:58 329c88fbcd65: Pull complete 20:22:58 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 20:22:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:22:58 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] sh 20:22:58 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:22:59 + docker inspect -f . ci-base-image-arm64 20:22:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:22:59 prd-ubuntu20.04-docker-arm64-4c-16g-19348 does not seem to be running inside a container 20:22:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:23:02 $ docker top b3bb6e91acc11f9fa473faa2a09b1917c94c790f1a7c95bcfec1da84e0338885 -eo pid,comm [Pipeline] { [Pipeline] sh 20:23:03 + go version 20:23:03 go version go1.18.3 linux/arm64 [Pipeline] } 20:23:03 $ docker stop --time=1 b3bb6e91acc11f9fa473faa2a09b1917c94c790f1a7c95bcfec1da84e0338885 20:23:05 $ docker rm -f b3bb6e91acc11f9fa473faa2a09b1917c94c790f1a7c95bcfec1da84e0338885 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:23:06 + docker inspect -f . ci-base-image-arm64 20:23:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:23:06 prd-ubuntu20.04-docker-arm64-4c-16g-19348 does not seem to be running inside a container 20:23:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:23:07 $ docker top 2fcb4e0b903b88502527d12e227b6643abcb362ad71c0413e16e71eff4d1669a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:23:08 + make test 20:23:08 make -C ./app-service-template build 20:23:08 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 20:23:08 go mod tidy 20:23:08 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 20:23:08 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 20:23:08 go: downloading github.com/google/uuid v1.3.0 20:23:08 go: downloading github.com/stretchr/testify v1.8.0 20:23:09 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.1-dev.5 20:23:09 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.1-dev.8 20:23:09 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 20:23:09 go: downloading github.com/pmezard/go-difflib v1.0.0 20:23:09 go: downloading github.com/davecgh/go-spew v1.1.1 20:23:09 go: downloading gopkg.in/yaml.v3 v3.0.1 20:23:09 go: downloading github.com/go-playground/validator/v10 v10.10.1 20:23:09 go: downloading github.com/go-kit/log v0.2.0 20:23:09 go: downloading github.com/stretchr/objx v0.4.0 20:23:09 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.3 20:23:09 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 20:23:09 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.1-dev.1 20:23:09 go: downloading github.com/gorilla/mux v1.8.0 20:23:09 go: downloading github.com/hashicorp/go-multierror v1.1.1 20:23:09 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 20:23:09 go: downloading github.com/go-logfmt/logfmt v0.5.1 20:23:09 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 20:23:09 go: downloading github.com/go-playground/universal-translator v0.18.0 20:23:09 go: downloading github.com/leodido/go-urn v1.2.1 20:23:09 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 20:23:09 go: downloading golang.org/x/text v0.3.7 20:23:10 go: downloading github.com/go-playground/locales v0.14.0 20:23:10 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 20:23:10 go: downloading github.com/go-playground/assert/v2 v2.0.1 20:23:12 go: downloading github.com/hashicorp/consul/api v1.9.1 20:23:12 go: downloading github.com/pelletier/go-toml v1.9.5 20:23:12 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 20:23:12 go: downloading github.com/gorilla/websocket v1.4.2 20:23:12 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 20:23:12 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 20:23:12 go: downloading github.com/mitchellh/copystructure v1.0.0 20:23:12 go: downloading github.com/hashicorp/errwrap v1.0.0 20:23:12 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.0 20:23:13 go: downloading github.com/x448/float16 v0.8.4 20:23:13 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 20:23:13 go: downloading github.com/kr/pretty v0.3.0 20:23:13 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 20:23:13 go: downloading github.com/hashicorp/go-hclog v0.12.0 20:23:13 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 20:23:13 go: downloading github.com/hashicorp/serf v0.9.5 20:23:13 go: downloading github.com/mitchellh/mapstructure v1.1.2 20:23:13 go: downloading github.com/hashicorp/consul/sdk v0.8.0 20:23:13 go: downloading github.com/hashicorp/go-uuid v1.0.1 20:23:14 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 20:23:14 go: downloading github.com/go-redis/redis/v7 v7.3.0 20:23:14 go: downloading github.com/pebbe/zmq4 v1.2.7 20:23:14 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:23:14 go: downloading github.com/mitchellh/reflectwalk v1.0.0 20:23:14 go: downloading github.com/Microsoft/go-winio v0.5.2 20:23:14 go: downloading github.com/zeebo/errs v1.2.2 20:23:14 go: downloading google.golang.org/grpc v1.46.0 Aborted by Ernesto Ojeda 20:23:14 Sending interrupt signal to process [Pipeline] } 20:23:14 $ docker stop --time=1 2fcb4e0b903b88502527d12e227b6643abcb362ad71c0413e16e71eff4d1669a 20:23:17 $ docker rm -f 2fcb4e0b903b88502527d12e227b6643abcb362ad71c0413e16e71eff4d1669a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:23:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:23:20 20:23:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:23:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:23:21 arm64: Pulling from edgex-lftools-log-publisher 20:23:21 8998bd30e6a1: Pulling fs layer 20:23:21 04944245beec: Pulling fs layer 20:23:21 699f458cf7ca: Pulling fs layer 20:23:21 765212b225bb: Pulling fs layer 20:23:21 f23df028b6ca: Pulling fs layer 20:23:21 d65c8cfc05b1: Pulling fs layer 20:23:21 2437ff75d9bd: Pulling fs layer 20:23:21 d65c8cfc05b1: Waiting 20:23:21 f23df028b6ca: Waiting 20:23:21 2437ff75d9bd: Waiting 20:23:21 04944245beec: Verifying Checksum 20:23:21 04944245beec: Download complete 20:23:21 765212b225bb: Verifying Checksum 20:23:21 765212b225bb: Download complete 20:23:21 f23df028b6ca: Download complete 20:23:21 d65c8cfc05b1: Verifying Checksum 20:23:21 d65c8cfc05b1: Download complete 20:23:21 699f458cf7ca: Verifying Checksum 20:23:21 699f458cf7ca: Download complete 20:23:22 8998bd30e6a1: Verifying Checksum 20:23:22 8998bd30e6a1: Download complete 20:23:24 2437ff75d9bd: Verifying Checksum 20:23:24 2437ff75d9bd: Download complete 20:23:26 8998bd30e6a1: Pull complete 20:23:26 04944245beec: Pull complete 20:23:28 699f458cf7ca: Pull complete 20:23:28 765212b225bb: Pull complete Click here to forcibly terminate running steps 20:23:29 f23df028b6ca: Pull complete 20:23:29 d65c8cfc05b1: Pull complete 20:23:44 2437ff75d9bd: Pull complete 20:23:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:23:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:23:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:23:45 prd-ubuntu20.04-docker-arm64-4c-16g-19348 does not seem to be running inside a container 20:23:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:23:47 $ docker top fd9673760cc0cb4798c1df1cfe8b267ed1ba9762e8aa69d6c5755ad35ad44c82 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:23:48 ---> job-cost.sh 20:23:48 lf-activate-venv: SKIPPING 20:23:48 INFO: No Stack... 20:23:49 INFO: Retrieving Pricing Info for: v3-standard-4 20:23:50 INFO: Archiving Costs [Pipeline] sh 20:23:50 + cut -d, -f6 20:23:50 + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv [Pipeline] lock 20:23:51 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1150-1-stack-cost] 20:23:51 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1150-1-stack-cost] did not exist. Created. 20:23:51 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1150-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:23:51 /w/workspace/app-functions-sdk-go/1@tmp/durable-4fd1d702/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:23:52 + echo total: 0.10999999940395355 [Pipeline] stash 20:23:52 Warning: overwriting stash ‘stack-cost’ 20:23:53 Stashed 1 file(s) [Pipeline] } 20:23:53 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1150-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:23:53 $ docker stop --time=1 fd9673760cc0cb4798c1df1cfe8b267ed1ba9762e8aa69d6c5755ad35ad44c82 20:23:54 $ docker rm -f fd9673760cc0cb4798c1df1cfe8b267ed1ba9762e8aa69d6c5755ad35ad44c82 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:23:55 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:23:57 + [ -d /w/workspace/dry_app-functions-sdk-go_PR-1150/archives ] 20:23:57 + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1150/archives 20:23:57 total 16 20:23:57 drwxr-xr-x 3 root root 4096 Jul 11 20:18 . 20:23:57 drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 20:18 .. 20:23:57 drwxr-xr-x 2 root root 4096 Jul 11 20:18 cost 20:23:57 -rw-r--r-- 1 root root 92 Jul 11 20:18 cost.csv 20:23:57 + sudo chown -R jenkins:jenkins /w/workspace/dry_app-functions-sdk-go_PR-1150/archives 20:23:57 + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1150/archives 20:23:57 total 16 20:23:57 drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 20:18 . 20:23:57 drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 20:18 .. 20:23:57 drwxr-xr-x 2 jenkins jenkins 4096 Jul 11 20:18 cost 20:23:57 -rw-r--r-- 1 jenkins jenkins 92 Jul 11 20:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:23:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:23:58 ---> package-listing.sh 20:23:58 ++ facter osfamily 20:23:58 ++ tr '[:upper:]' '[:lower:]' 20:23:58 + OS_FAMILY=debian 20:23:58 + workspace=/w/workspace/dry_app-functions-sdk-go_PR-1150 20:23:58 + START_PACKAGES=/tmp/packages_start.txt 20:23:58 + END_PACKAGES=/tmp/packages_end.txt 20:23:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:23:58 + PACKAGES=/tmp/packages_start.txt 20:23:58 + '[' /w/workspace/dry_app-functions-sdk-go_PR-1150 ']' 20:23:58 + PACKAGES=/tmp/packages_end.txt 20:23:58 + case "${OS_FAMILY}" in 20:23:58 + dpkg -l 20:23:58 + grep '^ii' 20:23:58 + '[' -f /tmp/packages_start.txt ']' 20:23:58 + '[' -f /tmp/packages_end.txt ']' 20:23:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:23:58 + '[' /w/workspace/dry_app-functions-sdk-go_PR-1150 ']' 20:23:58 + mkdir -p /w/workspace/dry_app-functions-sdk-go_PR-1150/archives/ 20:23:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_app-functions-sdk-go_PR-1150/archives/ [Pipeline] echo 20:23:58 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-1150/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:23:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:23:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:23:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:24:00 prd-ubuntu20.04-docker-8c-8g-19347 does not seem to be running inside a container 20:24:00 $ 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-1150/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-1150 -v /w/workspace/dry_app-functions-sdk-go_PR-1150:/w/workspace/dry_app-functions-sdk-go_PR-1150:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1150@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1150@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:24:00 $ docker top 6a97d176ed291eacdcb14a50634f874565775bd3dbc92246ea6848b5cb1b953e -eo pid,comm [Pipeline] { [Pipeline] sh 20:24:00 + touch /tmp/pre-build-complete [Pipeline] sh 20:24:01 + mkdir -p /var/log/sysstat [Pipeline] sh 20:24:01 + ls /var/log/sa-host 20:24:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:24:01 provisioning config files... 20:24:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-functions-sdk-go_PR-1150@tmp/config8422153067860747591tmp [Pipeline] { [Pipeline] echo 20:24:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:24:01 ---> create-netrc.sh [Pipeline] } 20:24:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:24:02 ---> python-tools-install.sh [Pipeline] echo 20:24:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:24:02 ---> sudo-logs.sh 20:24:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:24:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:24:03 ---> job-cost.sh 20:24:03 lf-activate-venv: SKIPPING 20:24:03 DEBUG: total: 0.2199999988079071 20:24:03 INFO: Retrieving Stack Cost... 20:24:03 INFO: Retrieving Pricing Info for: v3-standard-8 20:24:03 INFO: Archiving Costs [Pipeline] echo 20:24:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:24:04 ---> logs-deploy.sh 20:24:04 lf-activate-venv: SKIPPING 20:24:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-1150/1 20:24:04 INFO: archiving workspace using pattern(s): 20:24:05 Archives upload complete. 20:24:05 INFO: archiving logs to Nexus 20:24:06 ---> uname -a: 20:24:06 Linux prd-ubuntu20-04-docker-8c-8g-19347 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 20:24:06 20:24:06 20:24:06 ---> lscpu: 20:24:06 Architecture: x86_64 20:24:06 CPU op-mode(s): 32-bit, 64-bit 20:24:06 Byte Order: Little Endian 20:24:06 Address sizes: 40 bits physical, 48 bits virtual 20:24:06 CPU(s): 8 20:24:06 On-line CPU(s) list: 0-7 20:24:06 Thread(s) per core: 1 20:24:06 Core(s) per socket: 1 20:24:06 Socket(s): 8 20:24:06 NUMA node(s): 1 20:24:06 Vendor ID: AuthenticAMD 20:24:06 CPU family: 23 20:24:06 Model: 49 20:24:06 Model name: AMD EPYC-Rome Processor 20:24:06 Stepping: 0 20:24:06 CPU MHz: 2799.998 20:24:06 BogoMIPS: 5599.99 20:24:06 Virtualization: AMD-V 20:24:06 Hypervisor vendor: KVM 20:24:06 Virtualization type: full 20:24:06 L1d cache: 256 KiB 20:24:06 L1i cache: 256 KiB 20:24:06 L2 cache: 4 MiB 20:24:06 L3 cache: 128 MiB 20:24:06 NUMA node0 CPU(s): 0-7 20:24:06 Vulnerability Itlb multihit: Not affected 20:24:06 Vulnerability L1tf: Not affected 20:24:06 Vulnerability Mds: Not affected 20:24:06 Vulnerability Meltdown: Not affected 20:24:06 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:24:06 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 20:24:06 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 20:24:06 Vulnerability Srbds: Not affected 20:24:06 Vulnerability Tsx async abort: Not affected 20:24:06 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 20:24:06 20:24:06 20:24:06 ---> nproc: 20:24:06 8 20:24:06 20:24:06