Pull request #1150 updated 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 def89cb1efcc419fe12f90abfe69c4816de89ffe+3a3cae19978a08b96b810bb2d0ffa38734d7aa02 (1adde623a145559a6730bbaf4fb546bb0d03d691) 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-ssh5608348738028369134.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-ssh9254404819585461471.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1150/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1150/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7622416894699033050.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 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-ssh14828055295223339268.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1150/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1150/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18093337744887410987.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 Running on prd-ubuntu20.04-docker-8c-8g-19350 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 > 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 Merging remotes/origin/main commit 3a3cae19978a08b96b810bb2d0ffa38734d7aa02 into PR head commit def89cb1efcc419fe12f90abfe69c4816de89ffe Merge succeeded, producing def89cb1efcc419fe12f90abfe69c4816de89ffe Checking out Revision def89cb1efcc419fe12f90abfe69c4816de89ffe (PR-1150) > git config core.sparsecheckout # timeout=10 > git checkout -f def89cb1efcc419fe12f90abfe69c4816de89ffe # 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 def89cb1efcc419fe12f90abfe69c4816de89ffe # timeout=10 Commit message: "testing git commands" > git rev-list --no-walk 1b05d017334d85733b516effebb14833d5449bd9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:39:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:39:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:39:55 ========================================================= 20:39:55 EdgeX Global Pipelines Version Info 20:39:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:39:56 ------------------- 20:39:56 stable info: 20:39:56 ------------------- 20:39:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:39:56 Commit SHA: 7e4371ac6d730b8e642184b898413c6ef59a5643 20:39:56 Message: update stable to v1.0.236 20:39:56 ------------------- 20:39:56 experimental info: 20:39:56 ------------------- 20:39:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:39:56 Commit SHA: 7e4371ac6d730b8e642184b898413c6ef59a5643 20:39:56 Message: update experimental to v1.0.236 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:39:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 20:39:56 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 20:39:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:39:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:39:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:39:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:39:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:39:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:39:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:39:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:39:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:39:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 20:39:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:39:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:39:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 20:39:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 20:39:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:39:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:39:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:39:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:39:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:39:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 20:39:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:39:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:39:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 20:39:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:39:57 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:39:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1150 [Pipeline] echo 20:39:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1150 [Pipeline] echo 20:39:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1150 [Pipeline] echo 20:39:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = def89cb1efcc419fe12f90abfe69c4816de89ffe [Pipeline] echo 20:39:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = def89cb [Pipeline] echo 20:39:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:39:57 + git rev-list -1 --merges def89cb1efcc419fe12f90abfe69c4816de89ffe~1..def89cb1efcc419fe12f90abfe69c4816de89ffe [Pipeline] echo 20:39:57 -----------> git rev-list -1 --merges def89cb1efcc419fe12f90abfe69c4816de89ffe~1..def89cb1efcc419fe12f90abfe69c4816de89ffe def89cb1efcc419fe12f90abfe69c4816de89ffe [false] [Pipeline] sh 20:39:58 + git log --format=format:%s -1 def89cb1efcc419fe12f90abfe69c4816de89ffe [Pipeline] echo 20:39:58 ========================================================= 20:39:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:39:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:39:58 + git log --format=format:%s -1 def89cb1efcc419fe12f90abfe69c4816de89ffe [Pipeline] echo 20:39:58 [semverPrep] GIT_COMMIT: def89cb1efcc419fe12f90abfe69c4816de89ffe, Commit Message: testing git commands [Pipeline] echo 20:39:58 [semverPrep] This is not a build commit. [Pipeline] sh 20:39:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:39:58 + grep -v github /etc/ssh/ssh_known_hosts 20:39:58 + [ -e /tmp/ssh_known_hosts ] 20:39:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:39:58 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 20:39:58 -a /etc/ssh/ssh_known_hosts 20:39:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:39:59 20:39: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:39:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:39:59 0.1.4: Pulling from edgex-devops/py-git-semver 20:39:59 b85a868b505f: Pulling fs layer 20:39:59 e2be974225ed: Pulling fs layer 20:39:59 339a4e72a1f5: Pulling fs layer 20:39:59 988bab9f4d93: Pulling fs layer 20:39:59 1469e6f7b9e6: Pulling fs layer 20:39:59 eaf3925da568: Pulling fs layer 20:39:59 bab4dde63d76: Pulling fs layer 20:39:59 bde34c3a00c8: Pulling fs layer 20:39:59 b352a97aabf1: Pulling fs layer 20:39:59 4872d77fe225: Pulling fs layer 20:39:59 5851b861e8e6: Pulling fs layer 20:39:59 bab4dde63d76: Waiting 20:39:59 bde34c3a00c8: Waiting 20:39:59 b352a97aabf1: Waiting 20:39:59 4872d77fe225: Waiting 20:39:59 5851b861e8e6: Waiting 20:39:59 eaf3925da568: Waiting 20:39:59 1469e6f7b9e6: Waiting 20:39:59 988bab9f4d93: Waiting 20:39:59 e2be974225ed: Download complete 20:39:59 988bab9f4d93: Verifying Checksum 20:39:59 988bab9f4d93: Download complete 20:39:59 1469e6f7b9e6: Verifying Checksum 20:39:59 eaf3925da568: Verifying Checksum 20:39:59 eaf3925da568: Download complete 20:40:00 339a4e72a1f5: Verifying Checksum 20:40:00 339a4e72a1f5: Download complete 20:40:00 bde34c3a00c8: Verifying Checksum 20:40:00 bde34c3a00c8: Download complete 20:40:00 b352a97aabf1: Verifying Checksum 20:40:00 b352a97aabf1: Download complete 20:40:00 4872d77fe225: Verifying Checksum 20:40:00 4872d77fe225: Download complete 20:40:00 5851b861e8e6: Verifying Checksum 20:40:00 5851b861e8e6: Download complete 20:40:00 b85a868b505f: Verifying Checksum 20:40:00 b85a868b505f: Download complete 20:40:00 bab4dde63d76: Download complete 20:40:01 b85a868b505f: Pull complete 20:40:01 e2be974225ed: Pull complete 20:40:02 339a4e72a1f5: Pull complete 20:40:02 988bab9f4d93: Pull complete 20:40:02 1469e6f7b9e6: Pull complete 20:40:03 eaf3925da568: Pull complete 20:40:04 bab4dde63d76: Pull complete 20:40:04 bde34c3a00c8: Pull complete 20:40:05 b352a97aabf1: Pull complete 20:40:05 4872d77fe225: Pull complete 20:40:05 5851b861e8e6: Pull complete 20:40:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:40:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:40:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:40:05 prd-ubuntu20.04-docker-8c-8g-19350 does not seem to be running inside a container 20:40:05 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:40:07 $ docker top ec7e95127604457e4fad985b5a4b680250dc3b5590afb501e59ba2d3dfa7f8e1 -eo pid,comm 20:40: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:40:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:40:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:40:07 [ssh-agent] Looking for ssh-agent implementation... 20:40:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:40:07 $ docker exec ec7e95127604457e4fad985b5a4b680250dc3b5590afb501e59ba2d3dfa7f8e1 ssh-agent 20:40:07 SSH_AUTH_SOCK=/tmp/ssh-QnFXTYyr4PTA/agent.35 20:40:07 SSH_AGENT_PID=43 20:40:07 Running ssh-add (command line suppressed) 20:40:07 Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1150@tmp/private_key_1487147913714800084.key (/w/workspace/dry_app-functions-sdk-go_PR-1150@tmp/private_key_1487147913714800084.key) 20:40:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:40:08 + git tag --points-at HEAD [Pipeline] } 20:40:08 $ docker exec --env ******** --env ******** ec7e95127604457e4fad985b5a4b680250dc3b5590afb501e59ba2d3dfa7f8e1 ssh-agent -k 20:40:08 unset SSH_AUTH_SOCK; 20:40:08 unset SSH_AGENT_PID; 20:40:08 echo Agent pid 43 killed; 20:40:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:40:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:40:08 [ssh-agent] Looking for ssh-agent implementation... 20:40:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:40:08 $ docker exec ec7e95127604457e4fad985b5a4b680250dc3b5590afb501e59ba2d3dfa7f8e1 ssh-agent 20:40:08 SSH_AUTH_SOCK=/tmp/ssh-E4Vxlj78FdpQ/agent.77 20:40:08 SSH_AGENT_PID=83 20:40:08 Running ssh-add (command line suppressed) 20:40:08 Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1150@tmp/private_key_8367209127161447096.key (/w/workspace/dry_app-functions-sdk-go_PR-1150@tmp/private_key_8367209127161447096.key) 20:40:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:40:08 + git semver init 20:40:09 2022-07-11 20:40:09,325 [run_init] DEBUG init version:0.0.0 force:False 20:40:09 2022-07-11 20:40:09,326 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-functions-sdk-go_PR-1150/.semver 20:40:09 2022-07-11 20:40:09,326 [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:40:09 2022-07-11 20:40:09,326 [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:40:10 2022-07-11 20:40:10,815 [append_file] DEBUG append to file:/w/workspace/dry_app-functions-sdk-go_PR-1150/.git/info/exclude 20:40:10 2022-07-11 20:40:10,815 [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:40:10 2022-07-11 20:40:10,816 [write_file] DEBUG write to file:/w/workspace/dry_app-functions-sdk-go_PR-1150/.semver/PR-1150 20:40:10 2022-07-11 20:40:10,820 [execute] INFO git cat-file --batch-check 20:40:10 2022-07-11 20:40:10,821 [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:40:10 2022-07-11 20:40:10,827 [execute] INFO git cat-file --batch 20:40:10 2022-07-11 20:40:10,827 [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:40:10 2022-07-11 20:40:10,832 [read_version] DEBUG read version from /w/workspace/dry_app-functions-sdk-go_PR-1150/.semver/PR-1150 20:40:10 0.0.0 [Pipeline] } 20:40:10 $ docker exec --env ******** --env ******** ec7e95127604457e4fad985b5a4b680250dc3b5590afb501e59ba2d3dfa7f8e1 ssh-agent -k 20:40:11 unset SSH_AUTH_SOCK; 20:40:11 unset SSH_AGENT_PID; 20:40:11 echo Agent pid 83 killed; 20:40:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:40:11 + git semver [Pipeline] } 20:40:12 $ docker stop --time=1 ec7e95127604457e4fad985b5a4b680250dc3b5590afb501e59ba2d3dfa7f8e1 20:40:13 $ docker rm -f ec7e95127604457e4fad985b5a4b680250dc3b5590afb501e59ba2d3dfa7f8e1 [Pipeline] // withDockerContainer [Pipeline] sh 20:40:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:40:14 Stashed 1 file(s) [Pipeline] echo 20:40: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:40:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:40:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:40:14 ========================================================= 20:40:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:40:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 20:40:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:40:14 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:40:14 2408cc74d12b: Pulling fs layer 20:40:14 ea60b727a1ce: Pulling fs layer 20:40:14 30c4a7721957: Pulling fs layer 20:40:14 370296b7ddb6: Pulling fs layer 20:40:14 7c6cee850709: Pulling fs layer 20:40:14 39a5fcdaea64: Pulling fs layer 20:40:14 370296b7ddb6: Waiting 20:40:14 7c6cee850709: Waiting 20:40:14 39a5fcdaea64: Waiting 20:40:14 d94ebbe4e438: Pulling fs layer 20:40:14 bcfd1f05c69d: Pulling fs layer 20:40:14 59ccb84bbe0f: Pulling fs layer 20:40:14 bcfd1f05c69d: Waiting 20:40:14 59ccb84bbe0f: Waiting 20:40:14 d94ebbe4e438: Waiting 20:40:14 30c4a7721957: Verifying Checksum 20:40:14 30c4a7721957: Download complete 20:40:14 ea60b727a1ce: Download complete 20:40:14 7c6cee850709: Verifying Checksum 20:40:14 7c6cee850709: Download complete 20:40:14 39a5fcdaea64: Verifying Checksum 20:40:14 39a5fcdaea64: Download complete 20:40:14 2408cc74d12b: Verifying Checksum 20:40:14 d94ebbe4e438: Verifying Checksum 20:40:14 d94ebbe4e438: Download complete 20:40:14 2408cc74d12b: Pull complete 20:40:15 ea60b727a1ce: Pull complete 20:40:15 30c4a7721957: Pull complete 20:40:15 59ccb84bbe0f: Verifying Checksum 20:40:15 370296b7ddb6: Verifying Checksum 20:40:15 370296b7ddb6: Download complete 20:40:15 bcfd1f05c69d: Download complete 20:40:20 370296b7ddb6: Pull complete 20:40:20 7c6cee850709: Pull complete 20:40:20 39a5fcdaea64: Pull complete 20:40:20 d94ebbe4e438: Pull complete 20:40:22 bcfd1f05c69d: Pull complete 20:40:23 59ccb84bbe0f: Pull complete 20:40:23 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 20:40:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:40:23 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] sh 20:40:24 + 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:40:24 + docker inspect -f . ci-base-image-x86_64 20:40:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:40:24 prd-ubuntu20.04-docker-8c-8g-19350 does not seem to be running inside a container 20:40: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 ******** -e ******** ci-base-image-x86_64 cat 20:40:26 $ docker top ecad70b19db80689f5337b951dbf6cc747470f1bd6b683c2dde1192bd52b5018 -eo pid,comm [Pipeline] { [Pipeline] sh 20:40:26 + go version 20:40:26 go version go1.18.3 linux/amd64 [Pipeline] } 20:40:26 $ docker stop --time=1 ecad70b19db80689f5337b951dbf6cc747470f1bd6b683c2dde1192bd52b5018 20:40:28 $ docker rm -f ecad70b19db80689f5337b951dbf6cc747470f1bd6b683c2dde1192bd52b5018 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:28 + docker inspect -f . ci-base-image-x86_64 20:40:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:40:28 prd-ubuntu20.04-docker-8c-8g-19350 does not seem to be running inside a container 20:40: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 ******** -e ******** ci-base-image-x86_64 cat 20:40:29 Still waiting to schedule task 20:40:29 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:40:29 $ docker top 69e70765797a297d28b021ced0c4a460503addbf29494604be6e086044b94806 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:40:29 + make test 20:40:29 git version 20:40:29 git version 2.36.1 20:40:29 git status --porcelain 20:40:29 fatal: unsafe repository ('/w/workspace/dry_app-functions-sdk-go_PR-1150' is owned by someone else) 20:40:29 To add an exception for this directory, call: 20:40:29 20:40:29 git config --global --add safe.directory /w/workspace/dry_app-functions-sdk-go_PR-1150 20:40:29 make: *** [Makefile:27: git-test] Error 128 [Pipeline] } 20:40:29 $ docker stop --time=1 69e70765797a297d28b021ced0c4a460503addbf29494604be6e086044b94806 20:40:31 $ docker rm -f 69e70765797a297d28b021ced0c4a460503addbf29494604be6e086044b94806 [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:40:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:40:31 20:40:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:40:31 latest: Pulling from edgex-lftools-log-publisher 20:40:31 5eb5b503b376: Pulling fs layer 20:40:31 5c69ac0246d0: Pulling fs layer 20:40:31 ec43610c2a17: Pulling fs layer 20:40:31 3a2ae6a8a46f: Pulling fs layer 20:40:31 33b1e0a273af: Pulling fs layer 20:40:31 5d3b04190fa2: Pulling fs layer 20:40:31 2f39f015ded8: Pulling fs layer 20:40:31 5d3b04190fa2: Waiting 20:40:31 33b1e0a273af: Waiting 20:40:31 3a2ae6a8a46f: Waiting 20:40:31 2f39f015ded8: Waiting 20:40:31 5c69ac0246d0: Download complete 20:40:31 3a2ae6a8a46f: Verifying Checksum 20:40:31 3a2ae6a8a46f: Download complete 20:40:31 33b1e0a273af: Verifying Checksum 20:40:31 33b1e0a273af: Download complete 20:40:32 5d3b04190fa2: Verifying Checksum 20:40:32 5d3b04190fa2: Download complete 20:40:32 ec43610c2a17: Verifying Checksum 20:40:32 ec43610c2a17: Download complete 20:40:32 5eb5b503b376: Verifying Checksum 20:40:32 5eb5b503b376: Download complete 20:40:33 2f39f015ded8: Download complete 20:40:33 5eb5b503b376: Pull complete 20:40:33 5c69ac0246d0: Pull complete 20:40:34 ec43610c2a17: Pull complete 20:40:34 3a2ae6a8a46f: Pull complete 20:40:34 33b1e0a273af: Pull complete 20:40:34 5d3b04190fa2: Pull complete 20:40:40 2f39f015ded8: Pull complete 20:40:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:40:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:40:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:40:40 prd-ubuntu20.04-docker-8c-8g-19350 does not seem to be running inside a container 20:40:40 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:40:41 $ docker top dc7caa0996affea33b3ae93bf534fd81ff62ce35b4546e4ea915968d7cba15a2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:40:42 ---> job-cost.sh 20:40:42 lf-activate-venv: SKIPPING 20:40:42 INFO: No Stack... 20:40:42 INFO: Retrieving Pricing Info for: v3-standard-8 20:40:43 INFO: Archiving Costs [Pipeline] sh 20:40:43 + cat /w/workspace/dry_app-functions-sdk-go_PR-1150/archives/cost.csv 20:40:43 + cut -d, -f6 [Pipeline] lock 20:40:43 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1150-3-stack-cost] 20:40:43 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1150-3-stack-cost] did not exist. Created. 20:40:43 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1150-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:40:43 + echo total: 0.2199999988079071 [Pipeline] stash 20:40:43 Stashed 1 file(s) [Pipeline] } 20:40:43 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1150-3-stack-cost] [Pipeline] // lock [Pipeline] } 20:40:43 $ docker stop --time=1 dc7caa0996affea33b3ae93bf534fd81ff62ce35b4546e4ea915968d7cba15a2 20:40:45 $ docker rm -f dc7caa0996affea33b3ae93bf534fd81ff62ce35b4546e4ea915968d7cba15a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:40:45 Failed in branch amd64 20:42:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19352 in /w/workspace/dry_app-functions-sdk-go_PR-1150 [Pipeline] { [Pipeline] ws 20:42:08 Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout 20:42:08 The recommended git tool is: git 20:42:15 using credential edgex-jenkins-ssh 20:42:15 Cloning the remote Git repository 20:42:15 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 20:42:15 > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 20:42:15 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:42:15 > git --version # timeout=10 20:42:15 > git --version # 'git version 2.25.1' 20:42:15 using GIT_SSH to set credentials SSH Credentials for GitHub 20:42:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:42:19 Merging remotes/origin/main commit 3a3cae19978a08b96b810bb2d0ffa38734d7aa02 into PR head commit def89cb1efcc419fe12f90abfe69c4816de89ffe 20:42:20 Merge succeeded, producing def89cb1efcc419fe12f90abfe69c4816de89ffe 20:42:20 Checking out Revision def89cb1efcc419fe12f90abfe69c4816de89ffe (PR-1150) 20:42:19 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:42:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:42:19 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:42:19 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:42:19 using GIT_SSH to set credentials SSH Credentials for GitHub 20:42:19 > 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:42:20 > git config core.sparsecheckout # timeout=10 20:42:20 > git checkout -f def89cb1efcc419fe12f90abfe69c4816de89ffe # timeout=10 20:42:20 > git remote # timeout=10 20:42:20 > git config --get remote.origin.url # timeout=10 20:42:20 using GIT_SSH to set credentials SSH Credentials for GitHub 20:42:20 > git merge 3a3cae19978a08b96b810bb2d0ffa38734d7aa02 # timeout=10 20:42:20 > git rev-parse HEAD^{commit} # timeout=10 20:42:20 > git config core.sparsecheckout # timeout=10 20:42:20 > git checkout -f def89cb1efcc419fe12f90abfe69c4816de89ffe # timeout=10 20:42:24 Commit message: "testing git commands" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:42:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:42:25 % Total % Received % Xferd Average Speed Time Time Time Current 20:42:25 Dload Upload Total Spent Left Speed 20:42:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 84662 0 --:--:-- --:--:-- --:--:-- 85250 [Pipeline] sh 20:42:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:42:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:42:26 + sudo tee /etc/docker/daemon.new 20:42:26 { 20:42:26 "registry-mirrors": [ 20:42:26 "https://nexus3.edgexfoundry.org:10001" 20:42:26 ], 20:42:26 "bip": "10.250.0.254/24", 20:42:26 "hosts": [ 20:42:26 "tcp://0.0.0.0:5555", 20:42:26 "unix:///var/run/docker.sock" 20:42:26 ], 20:42:26 "mtu": 1458, 20:42:26 "selinux-enabled": true, 20:42:26 "seccomp-profile": "/etc/docker/seccomp.json" 20:42:26 } [Pipeline] sh 20:42:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:42:27 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 20:42:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:42:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:42:45 ========================================================= 20:42:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:42:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 20:42:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:42:46 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:42:46 b3c136eddcbf: Pulling fs layer 20:42:46 c0a3192eca97: Pulling fs layer 20:42:46 a050256f5b6f: Pulling fs layer 20:42:46 656be50a0ddc: Pulling fs layer 20:42:46 656be50a0ddc: Waiting 20:42:46 2bbca73fdf42: Pulling fs layer 20:42:46 46d945488cbd: Pulling fs layer 20:42:46 8a5474983e97: Pulling fs layer 20:42:46 329c88fbcd65: Pulling fs layer 20:42:46 2bbca73fdf42: Waiting 20:42:46 46d945488cbd: Waiting 20:42:46 8a5474983e97: Waiting 20:42:46 329c88fbcd65: Waiting 20:42:46 a050256f5b6f: Verifying Checksum 20:42:46 a050256f5b6f: Download complete 20:42:46 c0a3192eca97: Verifying Checksum 20:42:46 c0a3192eca97: Download complete 20:42:46 2bbca73fdf42: Verifying Checksum 20:42:46 2bbca73fdf42: Download complete 20:42:46 46d945488cbd: Verifying Checksum 20:42:46 46d945488cbd: Download complete 20:42:46 b3c136eddcbf: Verifying Checksum 20:42:46 b3c136eddcbf: Download complete 20:42:47 b3c136eddcbf: Pull complete 20:42:48 329c88fbcd65: Verifying Checksum 20:42:48 329c88fbcd65: Download complete 20:42:48 c0a3192eca97: Pull complete 20:42:48 a050256f5b6f: Pull complete 20:42:49 8a5474983e97: Verifying Checksum 20:42:49 8a5474983e97: Download complete 20:42:49 656be50a0ddc: Verifying Checksum 20:42:49 656be50a0ddc: Download complete 20:43:02 656be50a0ddc: Pull complete 20:43:02 2bbca73fdf42: Pull complete 20:43:02 46d945488cbd: Pull complete 20:43:09 8a5474983e97: Pull complete 20:43:11 329c88fbcd65: Pull complete 20:43:11 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 20:43:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:43:11 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] sh 20:43:11 + 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:43:12 + docker inspect -f . ci-base-image-arm64 20:43:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:43:12 prd-ubuntu20.04-docker-arm64-4c-16g-19352 does not seem to be running inside a container 20:43:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 20:43:15 $ docker top 7045a2cf9b56d3eb476dc35824e121c285e6e315d4077c6d51d8ed7fc5483307 -eo pid,comm [Pipeline] { [Pipeline] sh 20:43:16 + go version 20:43:16 go version go1.18.3 linux/arm64 [Pipeline] } 20:43:16 $ docker stop --time=1 7045a2cf9b56d3eb476dc35824e121c285e6e315d4077c6d51d8ed7fc5483307 20:43:18 $ docker rm -f 7045a2cf9b56d3eb476dc35824e121c285e6e315d4077c6d51d8ed7fc5483307 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:18 + docker inspect -f . ci-base-image-arm64 20:43:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:43:19 prd-ubuntu20.04-docker-arm64-4c-16g-19352 does not seem to be running inside a container 20:43:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 20:43:20 $ docker top b90c915cba25174bac01b4f5a19ba7fd0cd4e62b0428c2f51c0e9b7cc349e6a2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:43:21 + make test 20:43:21 git version 20:43:21 git version 2.36.1 20:43:21 git status --porcelain 20:43:21 fatal: unsafe repository ('/w/workspace/app-functions-sdk-go/3' is owned by someone else) 20:43:21 To add an exception for this directory, call: 20:43:21 20:43:21 git config --global --add safe.directory /w/workspace/app-functions-sdk-go/3 20:43:21 make: *** [Makefile:27: git-test] Error 128 [Pipeline] } 20:43:21 $ docker stop --time=1 b90c915cba25174bac01b4f5a19ba7fd0cd4e62b0428c2f51c0e9b7cc349e6a2 20:43:23 $ docker rm -f b90c915cba25174bac01b4f5a19ba7fd0cd4e62b0428c2f51c0e9b7cc349e6a2 [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:43:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:43:23 20:43:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:43:24 arm64: Pulling from edgex-lftools-log-publisher 20:43:24 8998bd30e6a1: Pulling fs layer 20:43:24 04944245beec: Pulling fs layer 20:43:24 699f458cf7ca: Pulling fs layer 20:43:24 765212b225bb: Pulling fs layer 20:43:24 f23df028b6ca: Pulling fs layer 20:43:24 d65c8cfc05b1: Pulling fs layer 20:43:24 2437ff75d9bd: Pulling fs layer 20:43:24 f23df028b6ca: Waiting 20:43:24 d65c8cfc05b1: Waiting 20:43:24 765212b225bb: Waiting 20:43:24 2437ff75d9bd: Waiting 20:43:24 04944245beec: Verifying Checksum 20:43:24 04944245beec: Download complete 20:43:24 765212b225bb: Verifying Checksum 20:43:24 765212b225bb: Download complete 20:43:24 f23df028b6ca: Verifying Checksum 20:43:24 f23df028b6ca: Download complete 20:43:24 d65c8cfc05b1: Verifying Checksum 20:43:24 d65c8cfc05b1: Download complete 20:43:24 699f458cf7ca: Verifying Checksum 20:43:24 699f458cf7ca: Download complete 20:43:24 8998bd30e6a1: Verifying Checksum 20:43:24 8998bd30e6a1: Download complete 20:43:27 2437ff75d9bd: Verifying Checksum 20:43:27 2437ff75d9bd: Download complete 20:43:29 8998bd30e6a1: Pull complete 20:43:29 04944245beec: Pull complete 20:43:31 699f458cf7ca: Pull complete 20:43:31 765212b225bb: Pull complete 20:43:32 f23df028b6ca: Pull complete 20:43:32 d65c8cfc05b1: Pull complete 20:43:47 2437ff75d9bd: Pull complete 20:43:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:43:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:43:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:43:47 prd-ubuntu20.04-docker-arm64-4c-16g-19352 does not seem to be running inside a container 20:43:48 $ 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/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:43:50 $ docker top afbb1a8f6424cecf67b47e7c890480bbf81f267cb716eecc7f17a2d49ecc651c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:43:51 ---> job-cost.sh 20:43:51 lf-activate-venv: SKIPPING 20:43:51 INFO: No Stack... 20:43:51 INFO: Retrieving Pricing Info for: v3-standard-4 20:43:52 INFO: Archiving Costs [Pipeline] sh 20:43:53 + cut -d, -f6 20:43:53 + cat /w/workspace/app-functions-sdk-go/3/archives/cost.csv [Pipeline] lock 20:43:53 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1150-3-stack-cost] 20:43:53 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1150-3-stack-cost] did not exist. Created. 20:43:53 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1150-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:43:53 /w/workspace/app-functions-sdk-go/3@tmp/durable-f71b72aa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:43:54 + echo total: 0.10999999940395355 [Pipeline] stash 20:43:54 Warning: overwriting stash ‘stack-cost’ 20:43:55 Stashed 1 file(s) [Pipeline] } 20:43:55 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1150-3-stack-cost] [Pipeline] // lock [Pipeline] } 20:43:55 $ docker stop --time=1 afbb1a8f6424cecf67b47e7c890480bbf81f267cb716eecc7f17a2d49ecc651c 20:43:56 $ docker rm -f afbb1a8f6424cecf67b47e7c890480bbf81f267cb716eecc7f17a2d49ecc651c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:43:56 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:43:57 + [ -d /w/workspace/dry_app-functions-sdk-go_PR-1150/archives ] 20:43:57 + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1150/archives 20:43:57 total 16 20:43:57 drwxr-xr-x 3 root root 4096 Jul 11 20:40 . 20:43:57 drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 20:40 .. 20:43:57 drwxr-xr-x 2 root root 4096 Jul 11 20:40 cost 20:43:57 -rw-r--r-- 1 root root 92 Jul 11 20:40 cost.csv 20:43:57 + sudo chown -R jenkins:jenkins /w/workspace/dry_app-functions-sdk-go_PR-1150/archives 20:43:57 + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1150/archives 20:43:57 total 16 20:43:57 drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 20:40 . 20:43:57 drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 20:40 .. 20:43:57 drwxr-xr-x 2 jenkins jenkins 4096 Jul 11 20:40 cost 20:43:57 -rw-r--r-- 1 jenkins jenkins 92 Jul 11 20:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:43:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:43:58 ---> package-listing.sh 20:43:58 ++ facter osfamily 20:43:58 ++ tr '[:upper:]' '[:lower:]' 20:43:59 + OS_FAMILY=debian 20:43:59 + workspace=/w/workspace/dry_app-functions-sdk-go_PR-1150 20:43:59 + START_PACKAGES=/tmp/packages_start.txt 20:43:59 + END_PACKAGES=/tmp/packages_end.txt 20:43:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:43:59 + PACKAGES=/tmp/packages_start.txt 20:43:59 + '[' /w/workspace/dry_app-functions-sdk-go_PR-1150 ']' 20:43:59 + PACKAGES=/tmp/packages_end.txt 20:43:59 + case "${OS_FAMILY}" in 20:43:59 + dpkg -l 20:43:59 + grep '^ii' 20:43:59 + '[' -f /tmp/packages_start.txt ']' 20:43:59 + '[' -f /tmp/packages_end.txt ']' 20:43:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:43:59 + '[' /w/workspace/dry_app-functions-sdk-go_PR-1150 ']' 20:43:59 + mkdir -p /w/workspace/dry_app-functions-sdk-go_PR-1150/archives/ 20:43:59 + 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:43:59 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:43:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:43:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:43:59 prd-ubuntu20.04-docker-8c-8g-19350 does not seem to be running inside a container 20:43:59 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:44:00 $ docker top 328f8349072a43b6c824d938a794a3c149e73d285853657e09d9f392e65e900e -eo pid,comm [Pipeline] { [Pipeline] sh 20:44:00 + touch /tmp/pre-build-complete [Pipeline] sh 20:44:00 + mkdir -p /var/log/sysstat [Pipeline] sh 20:44:01 + ls /var/log/sa-host 20:44:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:44:01 provisioning config files... 20:44:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-functions-sdk-go_PR-1150@tmp/config2245517211516072057tmp [Pipeline] { [Pipeline] echo 20:44:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:44:01 ---> create-netrc.sh [Pipeline] } 20:44:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:44:01 ---> python-tools-install.sh [Pipeline] echo 20:44:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:44:02 ---> sudo-logs.sh 20:44:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:44:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:44:02 ---> job-cost.sh 20:44:02 lf-activate-venv: SKIPPING 20:44:02 DEBUG: total: 0.2199999988079071 20:44:02 INFO: Retrieving Stack Cost... 20:44:03 INFO: Retrieving Pricing Info for: v3-standard-8 20:44:03 INFO: Archiving Costs [Pipeline] echo 20:44:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:44:03 ---> logs-deploy.sh 20:44:03 lf-activate-venv: SKIPPING 20:44:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-1150/3 20:44:03 INFO: archiving workspace using pattern(s): 20:44:04 Archives upload complete. 20:44:05 INFO: archiving logs to Nexus