lenny-intel commented: recheck Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 229abc320824079edd4938398de91f98a15fdcd8+3a3cae19978a08b96b810bb2d0ffa38734d7aa02 (2086351d05a5af1e6e1590363b9fb89dd3e0dad8) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10931364138667022170.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2850543539239128655.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-1146/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1146/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13248072468784159008.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh11183624541623464954.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-1146/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-1146/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1358127585015215508.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.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-17423’ Running on prd-ubuntu20.04-docker-8c-8g-17424 in /w/workspace/dry_app-functions-sdk-go_PR-1146 [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-1146 # 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 229abc320824079edd4938398de91f98a15fdcd8 Merge succeeded, producing 229abc320824079edd4938398de91f98a15fdcd8 Checking out Revision 229abc320824079edd4938398de91f98a15fdcd8 (PR-1146) > 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/1146/head:refs/remotes/origin/PR-1146 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 229abc320824079edd4938398de91f98a15fdcd8 # 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 229abc320824079edd4938398de91f98a15fdcd8 # timeout=10 Commit message: "build: Upgrade to Go 1.18 and alpine 3.16" > git rev-list --no-walk 229abc320824079edd4938398de91f98a15fdcd8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:28:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:28:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:28:54 ========================================================= 16:28:54 EdgeX Global Pipelines Version Info 16:28:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:28:55 ------------------- 16:28:55 stable info: 16:28:55 ------------------- 16:28:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:28:55 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 16:28:55 Message: update stable to v1.0.234 16:28:55 ------------------- 16:28:55 experimental info: 16:28:55 ------------------- 16:28:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:28:55 Commit SHA: 7e4371ac6d730b8e642184b898413c6ef59a5643 16:28:55 Message: update experimental to v1.0.236 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:28:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 16:28:56 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 16:28:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:28:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:28:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:28:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 16:28:56 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:28:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:28:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:28:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:28:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:28:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 16:28:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:28:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:28:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 16:28:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:28:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:28:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:28:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:28:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:28:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:28:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 16:28:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:28:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:28:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 16:28:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:28:56 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:28:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1146 [Pipeline] echo 16:28:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1146 [Pipeline] echo 16:28:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1146 [Pipeline] echo 16:28:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 229abc320824079edd4938398de91f98a15fdcd8 [Pipeline] echo 16:28:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 229abc3 [Pipeline] echo 16:28:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:28:56 + git rev-list -1 --merges 229abc320824079edd4938398de91f98a15fdcd8~1..229abc320824079edd4938398de91f98a15fdcd8 [Pipeline] echo 16:28:57 -----------> git rev-list -1 --merges 229abc320824079edd4938398de91f98a15fdcd8~1..229abc320824079edd4938398de91f98a15fdcd8 229abc320824079edd4938398de91f98a15fdcd8 [false] [Pipeline] sh 16:28:57 + git log --format=format:%s -1 229abc320824079edd4938398de91f98a15fdcd8 [Pipeline] echo 16:28:57 ========================================================= 16:28:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:28:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:28:57 + git log --format=format:%s -1 229abc320824079edd4938398de91f98a15fdcd8 [Pipeline] echo 16:28:57 [semverPrep] GIT_COMMIT: 229abc320824079edd4938398de91f98a15fdcd8, Commit Message: build: Upgrade to Go 1.18 and alpine 3.16 [Pipeline] echo 16:28:57 [semverPrep] This is not a build commit. [Pipeline] sh 16:28:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:28:58 + grep -v github /etc/ssh/ssh_known_hosts 16:28:58 + [ -e /tmp/ssh_known_hosts ] 16:28:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:28:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:28:58 + sudo tee -a /etc/ssh/ssh_known_hosts 16:28:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:28:58 16:28:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:28:59 0.1.4: Pulling from edgex-devops/py-git-semver 16:28:59 b85a868b505f: Pulling fs layer 16:28:59 e2be974225ed: Pulling fs layer 16:28:59 339a4e72a1f5: Pulling fs layer 16:28:59 988bab9f4d93: Pulling fs layer 16:28:59 1469e6f7b9e6: Pulling fs layer 16:28:59 eaf3925da568: Pulling fs layer 16:28:59 bab4dde63d76: Pulling fs layer 16:28:59 bde34c3a00c8: Pulling fs layer 16:28:59 b352a97aabf1: Pulling fs layer 16:28:59 4872d77fe225: Pulling fs layer 16:28:59 5851b861e8e6: Pulling fs layer 16:28:59 988bab9f4d93: Waiting 16:28:59 1469e6f7b9e6: Waiting 16:28:59 eaf3925da568: Waiting 16:28:59 bab4dde63d76: Waiting 16:28:59 bde34c3a00c8: Waiting 16:28:59 b352a97aabf1: Waiting 16:28:59 4872d77fe225: Waiting 16:28:59 5851b861e8e6: Waiting 16:28:59 e2be974225ed: Verifying Checksum 16:28:59 e2be974225ed: Download complete 16:28:59 988bab9f4d93: Verifying Checksum 16:28:59 988bab9f4d93: Download complete 16:28:59 339a4e72a1f5: Verifying Checksum 16:28:59 339a4e72a1f5: Download complete 16:28:59 eaf3925da568: Verifying Checksum 16:28:59 eaf3925da568: Download complete 16:29:01 1469e6f7b9e6: Verifying Checksum 16:29:01 1469e6f7b9e6: Download complete 16:29:01 bde34c3a00c8: Verifying Checksum 16:29:01 bde34c3a00c8: Download complete 16:29:01 b352a97aabf1: Download complete 16:29:01 4872d77fe225: Verifying Checksum 16:29:01 4872d77fe225: Download complete 16:29:01 5851b861e8e6: Verifying Checksum 16:29:01 5851b861e8e6: Download complete 16:29:01 b85a868b505f: Verifying Checksum 16:29:01 b85a868b505f: Download complete 16:29:02 bab4dde63d76: Verifying Checksum 16:29:02 bab4dde63d76: Download complete 16:29:02 b85a868b505f: Pull complete 16:29:03 e2be974225ed: Pull complete 16:29:03 339a4e72a1f5: Pull complete 16:29:03 988bab9f4d93: Pull complete 16:29:04 1469e6f7b9e6: Pull complete 16:29:04 eaf3925da568: Pull complete 16:29:06 bab4dde63d76: Pull complete 16:29:06 bde34c3a00c8: Pull complete 16:29:06 b352a97aabf1: Pull complete 16:29:06 4872d77fe225: Pull complete 16:29:06 5851b861e8e6: Pull complete 16:29:06 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:29:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:29:06 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:29:07 prd-ubuntu20.04-docker-8c-8g-17424 does not seem to be running inside a container 16:29:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-functions-sdk-go_PR-1146 -v /w/workspace/dry_app-functions-sdk-go_PR-1146:/w/workspace/dry_app-functions-sdk-go_PR-1146:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1146@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1146@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-devops/py-git-semver:0.1.4 cat 16:29:08 $ docker top c18c69623d7149e76150f8d9d57d82372704130adb8a6cffef3c1d993b324ee4 -eo pid,comm 16:29:08 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). 16:29:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:29:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:29:08 [ssh-agent] Looking for ssh-agent implementation... 16:29:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:29:09 $ docker exec c18c69623d7149e76150f8d9d57d82372704130adb8a6cffef3c1d993b324ee4 ssh-agent 16:29:09 SSH_AUTH_SOCK=/tmp/ssh-VIU9iK2OyDEx/agent.33 16:29:09 SSH_AGENT_PID=39 16:29:09 Running ssh-add (command line suppressed) 16:29:09 Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1146@tmp/private_key_1338837242951276367.key (/w/workspace/dry_app-functions-sdk-go_PR-1146@tmp/private_key_1338837242951276367.key) 16:29:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:29:09 + git tag --points-at HEAD [Pipeline] } 16:29:10 $ docker exec --env ******** --env ******** c18c69623d7149e76150f8d9d57d82372704130adb8a6cffef3c1d993b324ee4 ssh-agent -k 16:29:10 unset SSH_AUTH_SOCK; 16:29:10 unset SSH_AGENT_PID; 16:29:10 echo Agent pid 39 killed; 16:29:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:29:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:29:10 [ssh-agent] Looking for ssh-agent implementation... 16:29:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:29:10 $ docker exec c18c69623d7149e76150f8d9d57d82372704130adb8a6cffef3c1d993b324ee4 ssh-agent 16:29:10 SSH_AUTH_SOCK=/tmp/ssh-tGJFQWrIN0zu/agent.73 16:29:10 SSH_AGENT_PID=80 16:29:10 Running ssh-add (command line suppressed) 16:29:10 Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1146@tmp/private_key_3385175012131115892.key (/w/workspace/dry_app-functions-sdk-go_PR-1146@tmp/private_key_3385175012131115892.key) 16:29:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:29:11 + git semver init 16:29:11 2022-07-11 16:29:11,620 [run_init] DEBUG init version:0.0.0 force:False 16:29:11 2022-07-11 16:29:11,620 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-functions-sdk-go_PR-1146/.semver 16:29:11 2022-07-11 16:29:11,621 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-functions-sdk-go.git /w/workspace/dry_app-functions-sdk-go_PR-1146/.semver 16:29:11 2022-07-11 16:29:11,621 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-functions-sdk-go.git', '/w/workspace/dry_app-functions-sdk-go_PR-1146/.semver'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1146, universal_newlines=False, shell=None, istream=None) 16:29:27 2022-07-11 16:29:26,899 [append_file] DEBUG append to file:/w/workspace/dry_app-functions-sdk-go_PR-1146/.git/info/exclude 16:29:27 2022-07-11 16:29:26,899 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_app-functions-sdk-go_PR-1146/.semver/PR-1146 with force:False 16:29:27 2022-07-11 16:29:26,899 [write_file] DEBUG write to file:/w/workspace/dry_app-functions-sdk-go_PR-1146/.semver/PR-1146 16:29:27 2022-07-11 16:29:26,903 [execute] INFO git cat-file --batch-check 16:29:27 2022-07-11 16:29:26,903 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1146/.semver, universal_newlines=False, shell=None, istream=) 16:29:27 2022-07-11 16:29:26,911 [execute] INFO git cat-file --batch 16:29:27 2022-07-11 16:29:26,911 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1146/.semver, universal_newlines=False, shell=None, istream=) 16:29:27 2022-07-11 16:29:26,917 [read_version] DEBUG read version from /w/workspace/dry_app-functions-sdk-go_PR-1146/.semver/PR-1146 16:29:27 0.0.0 [Pipeline] } 16:29:27 $ docker exec --env ******** --env ******** c18c69623d7149e76150f8d9d57d82372704130adb8a6cffef3c1d993b324ee4 ssh-agent -k 16:29:27 unset SSH_AUTH_SOCK; 16:29:27 unset SSH_AGENT_PID; 16:29:27 echo Agent pid 80 killed; 16:29:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:29:27 + git semver [Pipeline] } 16:29:28 $ docker stop --time=1 c18c69623d7149e76150f8d9d57d82372704130adb8a6cffef3c1d993b324ee4 16:29:29 $ docker rm -f c18c69623d7149e76150f8d9d57d82372704130adb8a6cffef3c1d993b324ee4 [Pipeline] // withDockerContainer [Pipeline] sh 16:29:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:29:30 Stashed 1 file(s) [Pipeline] echo 16:29:30 [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 16:29:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:29:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:29:30 ========================================================= 16:29:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 16:29:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 16:29:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:29:30 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 16:29:30 59bf1c3509f3: Pulling fs layer 16:29:30 666ba61612fd: Pulling fs layer 16:29:30 8ed8ca486205: Pulling fs layer 16:29:30 cc1cd167ecdc: Pulling fs layer 16:29:30 c516ae0d96e1: Pulling fs layer 16:29:30 684cea983483: Pulling fs layer 16:29:30 dd3240ac7de5: Pulling fs layer 16:29:30 b1e948a4e11c: Pulling fs layer 16:29:30 a8fd76ee1af6: Pulling fs layer 16:29:30 646ad004c059: Pulling fs layer 16:29:30 cc1cd167ecdc: Waiting 16:29:30 c516ae0d96e1: Waiting 16:29:30 684cea983483: Waiting 16:29:30 dd3240ac7de5: Waiting 16:29:30 b1e948a4e11c: Waiting 16:29:30 a8fd76ee1af6: Waiting 16:29:30 646ad004c059: Waiting 16:29:30 8ed8ca486205: Verifying Checksum 16:29:30 8ed8ca486205: Download complete 16:29:30 666ba61612fd: Verifying Checksum 16:29:30 666ba61612fd: Download complete 16:29:30 c516ae0d96e1: Verifying Checksum 16:29:30 c516ae0d96e1: Download complete 16:29:30 684cea983483: Verifying Checksum 16:29:30 684cea983483: Download complete 16:29:30 dd3240ac7de5: Verifying Checksum 16:29:30 dd3240ac7de5: Download complete 16:29:30 59bf1c3509f3: Verifying Checksum 16:29:30 59bf1c3509f3: Download complete 16:29:30 b1e948a4e11c: Verifying Checksum 16:29:30 b1e948a4e11c: Download complete 16:29:30 59bf1c3509f3: Pull complete 16:29:30 666ba61612fd: Pull complete 16:29:31 8ed8ca486205: Pull complete 16:29:31 a8fd76ee1af6: Verifying Checksum 16:29:31 a8fd76ee1af6: Download complete 16:29:31 cc1cd167ecdc: Verifying Checksum 16:29:31 cc1cd167ecdc: Download complete 16:29:31 646ad004c059: Verifying Checksum 16:29:31 646ad004c059: Download complete 16:29:35 cc1cd167ecdc: Pull complete 16:29:35 c516ae0d96e1: Pull complete 16:29:35 684cea983483: Pull complete 16:29:35 dd3240ac7de5: Pull complete 16:29:35 b1e948a4e11c: Pull complete 16:29:39 a8fd76ee1af6: Pull complete 16:29:39 646ad004c059: Pull complete 16:29:39 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 16:29:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:29:39 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 16:29:40 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:40 + docker inspect -f . ci-base-image-x86_64 16:29:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:29:40 prd-ubuntu20.04-docker-8c-8g-17424 does not seem to be running inside a container 16:29:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-functions-sdk-go_PR-1146 -v /w/workspace/dry_app-functions-sdk-go_PR-1146:/w/workspace/dry_app-functions-sdk-go_PR-1146:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1146@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1146@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-x86_64 cat 16:29:43 $ docker top 962f786e4f2e6a6dcd666f0afd3e177be29bd606c93a64da688c3b622bd9b4d4 -eo pid,comm [Pipeline] { [Pipeline] sh 16:29:44 + go version 16:29:44 go version go1.17.7 linux/amd64 16:29:45 Still waiting to schedule task 16:29:45 ‘prd-ubuntu20.04-docker-arm64-4c-16g-17425’ is offline [Pipeline] } 16:29:45 $ docker stop --time=1 962f786e4f2e6a6dcd666f0afd3e177be29bd606c93a64da688c3b622bd9b4d4 16:29:46 $ docker rm -f 962f786e4f2e6a6dcd666f0afd3e177be29bd606c93a64da688c3b622bd9b4d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:47 + docker inspect -f . ci-base-image-x86_64 16:29:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:29:47 prd-ubuntu20.04-docker-8c-8g-17424 does not seem to be running inside a container 16:29:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-functions-sdk-go_PR-1146 -v /w/workspace/dry_app-functions-sdk-go_PR-1146:/w/workspace/dry_app-functions-sdk-go_PR-1146:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1146@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1146@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-x86_64 cat 16:29:48 $ docker top 17627c00315d3ec4433168e42fc84cc62586f8d3b1561e36f2d6394718d31d27 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:29:49 + make test 16:29:49 make -C ./app-service-template build 16:29:49 make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1146/app-service-template' 16:29:49 go mod tidy 16:29:49 go mod tidy: go.mod file indicates go 1.18, but maximum supported version is 1.17 16:29:49 make[1]: *** [Makefile:52: tidy] Error 1 16:29:49 make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1146/app-service-template' 16:29:49 make: *** [Makefile:26: build] Error 2 [Pipeline] } 16:29:49 $ docker stop --time=1 17627c00315d3ec4433168e42fc84cc62586f8d3b1561e36f2d6394718d31d27 16:29:50 $ docker rm -f 17627c00315d3ec4433168e42fc84cc62586f8d3b1561e36f2d6394718d31d27 [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 16:29:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:29:51 16:29:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:29:51 latest: Pulling from edgex-lftools-log-publisher 16:29:51 5eb5b503b376: Pulling fs layer 16:29:51 5c69ac0246d0: Pulling fs layer 16:29:51 ec43610c2a17: Pulling fs layer 16:29:51 3a2ae6a8a46f: Pulling fs layer 16:29:51 33b1e0a273af: Pulling fs layer 16:29:51 5d3b04190fa2: Pulling fs layer 16:29:51 2f39f015ded8: Pulling fs layer 16:29:51 33b1e0a273af: Waiting 16:29:51 5d3b04190fa2: Waiting 16:29:51 2f39f015ded8: Waiting 16:29:51 3a2ae6a8a46f: Waiting 16:29:51 5c69ac0246d0: Download complete 16:29:51 3a2ae6a8a46f: Verifying Checksum 16:29:51 3a2ae6a8a46f: Download complete 16:29:51 33b1e0a273af: Verifying Checksum 16:29:51 33b1e0a273af: Download complete 16:29:51 5d3b04190fa2: Verifying Checksum 16:29:51 5d3b04190fa2: Download complete 16:29:51 ec43610c2a17: Verifying Checksum 16:29:51 ec43610c2a17: Download complete 16:29:51 5eb5b503b376: Verifying Checksum 16:29:51 5eb5b503b376: Download complete 16:29:52 2f39f015ded8: Download complete 16:29:53 5eb5b503b376: Pull complete 16:29:53 5c69ac0246d0: Pull complete 16:29:53 ec43610c2a17: Pull complete 16:29:53 3a2ae6a8a46f: Pull complete 16:29:54 33b1e0a273af: Pull complete 16:29:54 5d3b04190fa2: Pull complete 16:29:58 2f39f015ded8: Pull complete 16:29:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:29:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:29:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:29:58 prd-ubuntu20.04-docker-8c-8g-17424 does not seem to be running inside a container 16:29:58 $ 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-1146 -v /w/workspace/dry_app-functions-sdk-go_PR-1146:/w/workspace/dry_app-functions-sdk-go_PR-1146:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1146@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1146@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:latest cat 16:30:00 $ docker top 26e3e6280b331d76851b69e862683117049cab77efc1373a7f5b6a843b142a57 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:30:01 ---> job-cost.sh 16:30:01 lf-activate-venv: SKIPPING 16:30:01 INFO: No Stack... 16:30:02 INFO: Retrieving Pricing Info for: v3-standard-8 16:30:02 INFO: Archiving Costs [Pipeline] sh 16:30:03 + cat /w/workspace/dry_app-functions-sdk-go_PR-1146/archives/cost.csv 16:30:03 + cut -d, -f6 [Pipeline] lock 16:30:03 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1146-4-stack-cost] 16:30:03 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1146-4-stack-cost] did not exist. Created. 16:30:03 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1146-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:30:03 + echo total: 0.2199999988079071 [Pipeline] stash 16:30:03 Stashed 1 file(s) [Pipeline] } 16:30:03 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1146-4-stack-cost] [Pipeline] // lock [Pipeline] } 16:30:03 $ docker stop --time=1 26e3e6280b331d76851b69e862683117049cab77efc1373a7f5b6a843b142a57 16:30:04 $ docker rm -f 26e3e6280b331d76851b69e862683117049cab77efc1373a7f5b6a843b142a57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:30:05 Failed in branch amd64 16:44:34 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17982 in /w/workspace/dry_app-functions-sdk-go_PR-1146 [Pipeline] { [Pipeline] ws 16:44:34 Running in /w/workspace/app-functions-sdk-go/4 [Pipeline] { [Pipeline] checkout 16:44:34 The recommended git tool is: git 16:44:41 using credential edgex-jenkins-ssh 16:44:41 Cloning the remote Git repository 16:44:41 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 16:44:42 > git init /w/workspace/app-functions-sdk-go/4 # timeout=10 16:44:42 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 16:44:42 > git --version # timeout=10 16:44:42 > git --version # 'git version 2.25.1' 16:44:42 using GIT_SSH to set credentials SSH Credentials for GitHub 16:44:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:44:47 Merging remotes/origin/main commit 3a3cae19978a08b96b810bb2d0ffa38734d7aa02 into PR head commit 229abc320824079edd4938398de91f98a15fdcd8 16:44:46 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 16:44:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:44:46 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 16:44:46 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 16:44:46 using GIT_SSH to set credentials SSH Credentials for GitHub 16:44:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/1146/head:refs/remotes/origin/PR-1146 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:44:47 > git config core.sparsecheckout # timeout=10 16:44:47 > git checkout -f 229abc320824079edd4938398de91f98a15fdcd8 # timeout=10 16:44:47 > git remote # timeout=10 16:44:47 > git config --get remote.origin.url # timeout=10 16:44:47 Merge succeeded, producing 229abc320824079edd4938398de91f98a15fdcd8 16:44:47 Checking out Revision 229abc320824079edd4938398de91f98a15fdcd8 (PR-1146) 16:44:47 using GIT_SSH to set credentials SSH Credentials for GitHub 16:44:47 > git merge 3a3cae19978a08b96b810bb2d0ffa38734d7aa02 # timeout=10 16:44:47 > git rev-parse HEAD^{commit} # timeout=10 16:44:47 > git config core.sparsecheckout # timeout=10 16:44:47 > git checkout -f 229abc320824079edd4938398de91f98a15fdcd8 # timeout=10 16:44:52 Commit message: "build: Upgrade to Go 1.18 and alpine 3.16" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:44:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:44:53 % Total % Received % Xferd Average Speed Time Time Time Current 16:44:53 Dload Upload Total Spent Left Speed 16:44:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 178k 0 --:--:-- --:--:-- --:--:-- 181k [Pipeline] sh 16:44:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:44:54 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 16:44:54 /etc/docker/daemon.new 16:44:54 { 16:44:54 "registry-mirrors": [ 16:44:54 "https://nexus3.edgexfoundry.org:10001" 16:44:54 ], 16:44:54 "bip": "10.250.0.254/24", 16:44:54 "hosts": [ 16:44:54 "tcp://0.0.0.0:5555", 16:44:54 "unix:///var/run/docker.sock" 16:44:54 ], 16:44:54 "mtu": 1458, 16:44:54 "selinux-enabled": true, 16:44:54 "seccomp-profile": "/etc/docker/seccomp.json" 16:44:54 } [Pipeline] sh 16:44:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:44:54 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 16:45:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:45:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:45:13 ========================================================= 16:45:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 16:45:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 16:45:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:45:15 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:45:15 9b3977197b4f: Pulling fs layer 16:45:15 1a89e8eeedd5: Pulling fs layer 16:45:15 94645a83ff95: Pulling fs layer 16:45:15 e6fb740bc735: Pulling fs layer 16:45:15 3a77bd46dcc9: Pulling fs layer 16:45:15 355e64cbe906: Pulling fs layer 16:45:15 63ab81a10011: Pulling fs layer 16:45:15 555d1d1c4555: Pulling fs layer 16:45:15 7d9057610161: Pulling fs layer 16:45:15 355e64cbe906: Waiting 16:45:15 63ab81a10011: Waiting 16:45:15 555d1d1c4555: Waiting 16:45:15 7d9057610161: Waiting 16:45:15 e6fb740bc735: Waiting 16:45:15 3a77bd46dcc9: Waiting 16:45:15 94645a83ff95: Verifying Checksum 16:45:15 94645a83ff95: Download complete 16:45:15 1a89e8eeedd5: Verifying Checksum 16:45:15 1a89e8eeedd5: Download complete 16:45:15 3a77bd46dcc9: Verifying Checksum 16:45:15 3a77bd46dcc9: Download complete 16:45:15 355e64cbe906: Verifying Checksum 16:45:15 355e64cbe906: Download complete 16:45:15 9b3977197b4f: Verifying Checksum 16:45:15 9b3977197b4f: Download complete 16:45:15 63ab81a10011: Verifying Checksum 16:45:15 63ab81a10011: Download complete 16:45:16 9b3977197b4f: Pull complete 16:45:16 7d9057610161: Verifying Checksum 16:45:16 7d9057610161: Download complete 16:45:17 1a89e8eeedd5: Pull complete 16:45:17 94645a83ff95: Pull complete 16:45:17 555d1d1c4555: Verifying Checksum 16:45:17 555d1d1c4555: Download complete 16:45:18 e6fb740bc735: Verifying Checksum 16:45:18 e6fb740bc735: Download complete 16:45:33 e6fb740bc735: Pull complete 16:45:33 3a77bd46dcc9: Pull complete 16:45:33 355e64cbe906: Pull complete 16:45:33 63ab81a10011: Pull complete 16:45:40 555d1d1c4555: Pull complete 16:45:42 7d9057610161: Pull complete 16:45:42 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 16:45:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:45:42 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh 16:45:42 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:45:43 + docker inspect -f . ci-base-image-arm64 16:45:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:45:43 prd-ubuntu20.04-docker-arm64-4c-16g-17982 does not seem to be running inside a container 16:45:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@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 ******** -e ******** ci-base-image-arm64 cat 16:45:47 $ docker top 61cd324901779bb06041e6994d08a289308d3fb57c1698317ac145b02064e68e -eo pid,comm [Pipeline] { [Pipeline] sh 16:45:47 + go version 16:45:47 go version go1.17.7 linux/arm64 [Pipeline] } 16:45:47 $ docker stop --time=1 61cd324901779bb06041e6994d08a289308d3fb57c1698317ac145b02064e68e 16:45:49 $ docker rm -f 61cd324901779bb06041e6994d08a289308d3fb57c1698317ac145b02064e68e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:45:50 + docker inspect -f . ci-base-image-arm64 16:45:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:45:50 prd-ubuntu20.04-docker-arm64-4c-16g-17982 does not seem to be running inside a container 16:45:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@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 ******** -e ******** ci-base-image-arm64 cat 16:45:52 $ docker top 836c26e451c881fc0c89e0386e3238eaf77f1972257321667552cffced9d45a8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:45:53 + make test 16:45:53 make -C ./app-service-template build 16:45:53 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 16:45:53 go mod tidy 16:45:53 go mod tidy: go.mod file indicates go 1.18, but maximum supported version is 1.17 16:45:53 make[1]: *** [Makefile:52: tidy] Error 1 16:45:53 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 16:45:53 make: *** [Makefile:26: build] Error 2 [Pipeline] } 16:45:53 $ docker stop --time=1 836c26e451c881fc0c89e0386e3238eaf77f1972257321667552cffced9d45a8 16:45:55 $ docker rm -f 836c26e451c881fc0c89e0386e3238eaf77f1972257321667552cffced9d45a8 [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 16:45:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:45:55 16:45:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:45:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:45:56 arm64: Pulling from edgex-lftools-log-publisher 16:45:56 8998bd30e6a1: Pulling fs layer 16:45:56 04944245beec: Pulling fs layer 16:45:56 699f458cf7ca: Pulling fs layer 16:45:56 765212b225bb: Pulling fs layer 16:45:56 f23df028b6ca: Pulling fs layer 16:45:56 d65c8cfc05b1: Pulling fs layer 16:45:56 2437ff75d9bd: Pulling fs layer 16:45:56 765212b225bb: Waiting 16:45:56 f23df028b6ca: Waiting 16:45:56 d65c8cfc05b1: Waiting 16:45:56 2437ff75d9bd: Waiting 16:45:56 04944245beec: Verifying Checksum 16:45:56 04944245beec: Download complete 16:45:56 765212b225bb: Verifying Checksum 16:45:56 765212b225bb: Download complete 16:45:56 f23df028b6ca: Verifying Checksum 16:45:56 f23df028b6ca: Download complete 16:45:56 d65c8cfc05b1: Verifying Checksum 16:45:56 d65c8cfc05b1: Download complete 16:45:56 699f458cf7ca: Download complete 16:45:57 8998bd30e6a1: Download complete 16:45:59 2437ff75d9bd: Verifying Checksum 16:45:59 2437ff75d9bd: Download complete 16:46:01 8998bd30e6a1: Pull complete 16:46:02 04944245beec: Pull complete 16:46:03 699f458cf7ca: Pull complete 16:46:03 765212b225bb: Pull complete 16:46:04 f23df028b6ca: Pull complete 16:46:05 d65c8cfc05b1: Pull complete 16:46:20 2437ff75d9bd: Pull complete 16:46:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:46:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:46:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:46:20 prd-ubuntu20.04-docker-arm64-4c-16g-17982 does not seem to be running inside a container 16:46:20 $ 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/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:46:23 $ docker top 2b73f49a5d5ec4b49459d3a26812c045ae1b2f350e965d2b57171f4c4d6537c6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:46:24 ---> job-cost.sh 16:46:24 lf-activate-venv: SKIPPING 16:46:24 INFO: No Stack... 16:46:24 INFO: Retrieving Pricing Info for: v3-standard-4 16:46:25 INFO: Archiving Costs [Pipeline] sh 16:46:26 + cat /w/workspace/app-functions-sdk-go/4/archives/cost.csv 16:46:26 + cut -d, -f6 [Pipeline] lock 16:46:26 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1146-4-stack-cost] 16:46:26 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1146-4-stack-cost] did not exist. Created. 16:46:26 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1146-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:46:27 /w/workspace/app-functions-sdk-go/4@tmp/durable-3045b2b3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:46:28 + echo total: 0.10999999940395355 [Pipeline] stash 16:46:28 Warning: overwriting stash ‘stack-cost’ 16:46:28 Stashed 1 file(s) [Pipeline] } 16:46:28 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1146-4-stack-cost] [Pipeline] // lock [Pipeline] } 16:46:28 $ docker stop --time=1 2b73f49a5d5ec4b49459d3a26812c045ae1b2f350e965d2b57171f4c4d6537c6 16:46:30 $ docker rm -f 2b73f49a5d5ec4b49459d3a26812c045ae1b2f350e965d2b57171f4c4d6537c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:46:30 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 16:46:31 + [ -d /w/workspace/dry_app-functions-sdk-go_PR-1146/archives ] 16:46:31 + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1146/archives 16:46:31 total 16 16:46:31 drwxr-xr-x 3 root root 4096 Jul 11 16:30 . 16:46:31 drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 16:30 .. 16:46:31 drwxr-xr-x 2 root root 4096 Jul 11 16:30 cost 16:46:31 -rw-r--r-- 1 root root 92 Jul 11 16:30 cost.csv 16:46:31 + sudo chown -R jenkins:jenkins /w/workspace/dry_app-functions-sdk-go_PR-1146/archives 16:46:31 + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1146/archives 16:46:31 total 16 16:46:31 drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 16:30 . 16:46:31 drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 16:30 .. 16:46:31 drwxr-xr-x 2 jenkins jenkins 4096 Jul 11 16:30 cost 16:46:31 -rw-r--r-- 1 jenkins jenkins 92 Jul 11 16:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:46:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:46:32 ---> package-listing.sh 16:46:32 ++ facter osfamily 16:46:32 ++ tr '[:upper:]' '[:lower:]' 16:46:32 + OS_FAMILY=debian 16:46:32 + workspace=/w/workspace/dry_app-functions-sdk-go_PR-1146 16:46:32 + START_PACKAGES=/tmp/packages_start.txt 16:46:32 + END_PACKAGES=/tmp/packages_end.txt 16:46:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:46:32 + PACKAGES=/tmp/packages_start.txt 16:46:32 + '[' /w/workspace/dry_app-functions-sdk-go_PR-1146 ']' 16:46:32 + PACKAGES=/tmp/packages_end.txt 16:46:32 + case "${OS_FAMILY}" in 16:46:32 + dpkg -l 16:46:32 + grep '^ii' 16:46:32 + '[' -f /tmp/packages_start.txt ']' 16:46:32 + '[' -f /tmp/packages_end.txt ']' 16:46:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:46:32 + '[' /w/workspace/dry_app-functions-sdk-go_PR-1146 ']' 16:46:32 + mkdir -p /w/workspace/dry_app-functions-sdk-go_PR-1146/archives/ 16:46:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_app-functions-sdk-go_PR-1146/archives/ [Pipeline] echo 16:46:32 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-1146/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:46:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:46:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:46:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:46:33 prd-ubuntu20.04-docker-8c-8g-17424 does not seem to be running inside a container 16:46:33 $ 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-1146/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-1146 -v /w/workspace/dry_app-functions-sdk-go_PR-1146:/w/workspace/dry_app-functions-sdk-go_PR-1146:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1146@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1146@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 16:46:34 $ docker top 5c27a765ff296316174218f5c45662c0594898184ce1a9a2b927bf80884d3c01 -eo pid,comm [Pipeline] { [Pipeline] sh 16:46:34 + touch /tmp/pre-build-complete [Pipeline] sh 16:46:34 + mkdir -p /var/log/sysstat [Pipeline] sh 16:46:34 + ls /var/log/sa-host 16:46:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:46:35 provisioning config files... 16:46:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-functions-sdk-go_PR-1146@tmp/config4561387410462157904tmp [Pipeline] { [Pipeline] echo 16:46:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:46:35 ---> create-netrc.sh [Pipeline] } 16:46:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:46:35 ---> python-tools-install.sh [Pipeline] echo 16:46:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:46:36 ---> sudo-logs.sh 16:46:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:46:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:46:36 ---> job-cost.sh 16:46:36 lf-activate-venv: SKIPPING 16:46:36 DEBUG: total: 0.2199999988079071 16:46:36 INFO: Retrieving Stack Cost... 16:46:36 INFO: Retrieving Pricing Info for: v3-standard-8 16:46:37 INFO: Archiving Costs [Pipeline] echo 16:46:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:46:37 ---> logs-deploy.sh 16:46:37 lf-activate-venv: SKIPPING 16:46:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-1146/4 16:46:37 INFO: archiving workspace using pattern(s): 16:46:38 Archives upload complete. 16:46:38 INFO: archiving logs to Nexus