Pull request #1146 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 lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from f507b655e3d9dc42b6651c5efb524d1510df66d4+3a3cae19978a08b96b810bb2d0ffa38734d7aa02 (72e33157a8512225874c5f1dd60af8eb89744a65) 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-ssh10059660218794796083.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-ssh16992120407213398688.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-ssh6125678789764363899.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-ssh6146813523524489031.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-ssh8050366673313880950.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-17064 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 > 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 Merging remotes/origin/main commit 3a3cae19978a08b96b810bb2d0ffa38734d7aa02 into PR head commit f507b655e3d9dc42b6651c5efb524d1510df66d4 Merge succeeded, producing f507b655e3d9dc42b6651c5efb524d1510df66d4 Checking out Revision f507b655e3d9dc42b6651c5efb524d1510df66d4 (PR-1146) > git config core.sparsecheckout # timeout=10 > git checkout -f f507b655e3d9dc42b6651c5efb524d1510df66d4 # 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 f507b655e3d9dc42b6651c5efb524d1510df66d4 # timeout=10 Commit message: "build: Upgrade to Go 1.18 and alpine 3.16" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-06T22:01:07.993Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-06T22:01:08.052Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-06T22:01:08.074Z] ========================================================= [2022-07-06T22:01:08.074Z] EdgeX Global Pipelines Version Info [2022-07-06T22:01:08.074Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 0bf8dbd49da2546181b16a1b40763eb673d722b8 # timeout=10 [2022-07-06T22:01:08.854Z] ------------------- [2022-07-06T22:01:08.854Z] stable info: [2022-07-06T22:01:08.854Z] ------------------- [2022-07-06T22:01:08.854Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-06T22:01:08.854Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-07-06T22:01:08.854Z] Message: update stable to v1.0.234 [2022-07-06T22:01:09.430Z] ------------------- [2022-07-06T22:01:09.430Z] experimental info: [2022-07-06T22:01:09.430Z] ------------------- [2022-07-06T22:01:09.430Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-06T22:01:09.430Z] Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 [2022-07-06T22:01:09.430Z] Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-06T22:01:09.652Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2022-07-06T22:01:09.667Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2022-07-06T22:01:09.682Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-06T22:01:09.696Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-06T22:01:09.709Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-06T22:01:09.717Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-07-06T22:01:09.726Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-06T22:01:09.735Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-06T22:01:09.751Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-06T22:01:09.764Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-06T22:01:09.775Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-06T22:01:09.790Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2022-07-06T22:01:09.806Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-06T22:01:09.818Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-06T22:01:09.833Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2022-07-06T22:01:09.844Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-07-06T22:01:09.861Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-06T22:01:09.873Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-06T22:01:09.889Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-06T22:01:09.903Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-06T22:01:09.922Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-07-06T22:01:09.937Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-07-06T22:01:09.949Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-06T22:01:09.965Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-06T22:01:09.978Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2022-07-06T22:01:09.989Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-06T22:01:10.000Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-06T22:01:10.014Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1146 [Pipeline] echo [2022-07-06T22:01:10.025Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1146 [Pipeline] echo [2022-07-06T22:01:10.037Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1146 [Pipeline] echo [2022-07-06T22:01:10.052Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f507b655e3d9dc42b6651c5efb524d1510df66d4 [Pipeline] echo [2022-07-06T22:01:10.070Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f507b65 [Pipeline] echo [2022-07-06T22:01:10.088Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-06T22:01:10.445Z] + git rev-list -1 --merges f507b655e3d9dc42b6651c5efb524d1510df66d4~1..f507b655e3d9dc42b6651c5efb524d1510df66d4 [Pipeline] echo [2022-07-06T22:01:10.611Z] -----------> git rev-list -1 --merges f507b655e3d9dc42b6651c5efb524d1510df66d4~1..f507b655e3d9dc42b6651c5efb524d1510df66d4 f507b655e3d9dc42b6651c5efb524d1510df66d4 [false] [Pipeline] sh [2022-07-06T22:01:10.906Z] + git log --format=format:%s -1 f507b655e3d9dc42b6651c5efb524d1510df66d4 [Pipeline] echo [2022-07-06T22:01:10.921Z] ========================================================= [2022-07-06T22:01:10.921Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-06T22:01:10.921Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-06T22:01:11.265Z] + git log --format=format:%s -1 f507b655e3d9dc42b6651c5efb524d1510df66d4 [Pipeline] echo [2022-07-06T22:01:11.278Z] [semverPrep] GIT_COMMIT: f507b655e3d9dc42b6651c5efb524d1510df66d4, Commit Message: build: Upgrade to Go 1.18 and alpine 3.16 [Pipeline] echo [2022-07-06T22:01:11.289Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-06T22:01:11.651Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-06T22:01:11.651Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-06T22:01:11.651Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-06T22:01:11.651Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-06T22:01:11.651Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-06T22:01:11.651Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-06T22:01:11.651Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-06T22:01:12.020Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-06T22:01:12.282Z] [2022-07-06T22:01:12.282Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-06T22:01:12.593Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-06T22:01:12.593Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-06T22:01:12.593Z] 42c077c10790: Pulling fs layer [2022-07-06T22:01:12.593Z] f63e77b7563a: Pulling fs layer [2022-07-06T22:01:12.593Z] bd5fdadae976: Pulling fs layer [2022-07-06T22:01:12.593Z] 205491f53016: Pulling fs layer [2022-07-06T22:01:12.593Z] df18705c85c3: Pulling fs layer [2022-07-06T22:01:12.593Z] bdb3f477010e: Pulling fs layer [2022-07-06T22:01:12.593Z] c8a8fc8e1c8f: Pulling fs layer [2022-07-06T22:01:12.593Z] 2c6e9b1d212d: Pulling fs layer [2022-07-06T22:01:12.593Z] bdb8f0575790: Pulling fs layer [2022-07-06T22:01:12.593Z] 386e3cb2ff24: Pulling fs layer [2022-07-06T22:01:12.593Z] 2343380bae48: Pulling fs layer [2022-07-06T22:01:12.593Z] bdb3f477010e: Waiting [2022-07-06T22:01:12.593Z] 386e3cb2ff24: Waiting [2022-07-06T22:01:12.593Z] 2343380bae48: Waiting [2022-07-06T22:01:12.593Z] 2c6e9b1d212d: Waiting [2022-07-06T22:01:12.593Z] bdb8f0575790: Waiting [2022-07-06T22:01:12.593Z] 205491f53016: Waiting [2022-07-06T22:01:12.593Z] df18705c85c3: Waiting [2022-07-06T22:01:12.593Z] f63e77b7563a: Download complete [2022-07-06T22:01:12.593Z] 205491f53016: Download complete [2022-07-06T22:01:12.855Z] bd5fdadae976: Verifying Checksum [2022-07-06T22:01:12.855Z] bd5fdadae976: Download complete [2022-07-06T22:01:12.855Z] df18705c85c3: Verifying Checksum [2022-07-06T22:01:12.855Z] df18705c85c3: Download complete [2022-07-06T22:01:12.855Z] bdb3f477010e: Verifying Checksum [2022-07-06T22:01:12.855Z] bdb3f477010e: Download complete [2022-07-06T22:01:12.855Z] 2c6e9b1d212d: Verifying Checksum [2022-07-06T22:01:12.855Z] 2c6e9b1d212d: Download complete [2022-07-06T22:01:12.855Z] bdb8f0575790: Verifying Checksum [2022-07-06T22:01:12.855Z] bdb8f0575790: Download complete [2022-07-06T22:01:12.855Z] 386e3cb2ff24: Verifying Checksum [2022-07-06T22:01:12.855Z] 386e3cb2ff24: Download complete [2022-07-06T22:01:12.855Z] 2343380bae48: Download complete [2022-07-06T22:01:12.855Z] 42c077c10790: Download complete [2022-07-06T22:01:13.425Z] c8a8fc8e1c8f: Verifying Checksum [2022-07-06T22:01:13.425Z] c8a8fc8e1c8f: Download complete [2022-07-06T22:01:14.378Z] 42c077c10790: Pull complete [2022-07-06T22:01:14.651Z] f63e77b7563a: Pull complete [2022-07-06T22:01:15.225Z] bd5fdadae976: Pull complete [2022-07-06T22:01:15.225Z] 205491f53016: Pull complete [2022-07-06T22:01:15.486Z] df18705c85c3: Pull complete [2022-07-06T22:01:15.486Z] bdb3f477010e: Pull complete [2022-07-06T22:01:18.050Z] c8a8fc8e1c8f: Pull complete [2022-07-06T22:01:18.050Z] 2c6e9b1d212d: Pull complete [2022-07-06T22:01:18.050Z] bdb8f0575790: Pull complete [2022-07-06T22:01:18.050Z] 386e3cb2ff24: Pull complete [2022-07-06T22:01:18.050Z] 2343380bae48: Pull complete [2022-07-06T22:01:18.050Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-07-06T22:01:18.050Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-06T22:01:18.050Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-06T22:01:18.159Z] prd-ubuntu20.04-docker-8c-8g-17064 does not seem to be running inside a container [2022-07-06T22:01:18.206Z] $ 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 [2022-07-06T22:01:19.471Z] $ docker top 4ae939bc1706c2dfe4f33b70373a23ca89c69f261a6939fe1af8538d8d303719 -eo pid,comm [2022-07-06T22:01:19.550Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-07-06T22:01:19.550Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-06T22:01:19.593Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-06T22:01:19.593Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-06T22:01:19.738Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-06T22:01:19.741Z] $ docker exec 4ae939bc1706c2dfe4f33b70373a23ca89c69f261a6939fe1af8538d8d303719 ssh-agent [2022-07-06T22:01:19.871Z] SSH_AUTH_SOCK=/tmp/ssh-xtBkwCfS979R/agent.33 [2022-07-06T22:01:19.871Z] SSH_AGENT_PID=39 [2022-07-06T22:01:19.879Z] Running ssh-add (command line suppressed) [2022-07-06T22:01:20.000Z] Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1146@tmp/private_key_8806532268460805817.key (/w/workspace/dry_app-functions-sdk-go_PR-1146@tmp/private_key_8806532268460805817.key) [2022-07-06T22:01:20.019Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-06T22:01:20.316Z] + git tag --points-at HEAD [Pipeline] } [2022-07-06T22:01:20.343Z] $ docker exec --env ******** --env ******** 4ae939bc1706c2dfe4f33b70373a23ca89c69f261a6939fe1af8538d8d303719 ssh-agent -k [2022-07-06T22:01:20.465Z] unset SSH_AUTH_SOCK; [2022-07-06T22:01:20.465Z] unset SSH_AGENT_PID; [2022-07-06T22:01:20.465Z] echo Agent pid 39 killed; [2022-07-06T22:01:20.477Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-06T22:01:20.500Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-06T22:01:20.500Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-06T22:01:20.638Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-06T22:01:20.642Z] $ docker exec 4ae939bc1706c2dfe4f33b70373a23ca89c69f261a6939fe1af8538d8d303719 ssh-agent [2022-07-06T22:01:20.774Z] SSH_AUTH_SOCK=/tmp/ssh-1k8nNcVWiQQm/agent.73 [2022-07-06T22:01:20.774Z] SSH_AGENT_PID=80 [2022-07-06T22:01:20.779Z] Running ssh-add (command line suppressed) [2022-07-06T22:01:20.918Z] Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1146@tmp/private_key_5445551219512117813.key (/w/workspace/dry_app-functions-sdk-go_PR-1146@tmp/private_key_5445551219512117813.key) [2022-07-06T22:01:20.938Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-06T22:01:21.222Z] + git semver init [2022-07-06T22:01:21.485Z] 2022-07-06 22:01:21,433 [run_init] DEBUG init version:0.0.0 force:False [2022-07-06T22:01:21.485Z] 2022-07-06 22:01:21,434 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-functions-sdk-go_PR-1146/.semver [2022-07-06T22:01:21.485Z] 2022-07-06 22:01:21,435 [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 [2022-07-06T22:01:21.485Z] 2022-07-06 22:01:21,436 [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) [2022-07-06T22:01:22.876Z] 2022-07-06 22:01:22,783 [append_file] DEBUG append to file:/w/workspace/dry_app-functions-sdk-go_PR-1146/.git/info/exclude [2022-07-06T22:01:22.876Z] 2022-07-06 22:01:22,783 [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 [2022-07-06T22:01:22.876Z] 2022-07-06 22:01:22,783 [write_file] DEBUG write to file:/w/workspace/dry_app-functions-sdk-go_PR-1146/.semver/PR-1146 [2022-07-06T22:01:22.876Z] 2022-07-06 22:01:22,788 [execute] INFO git cat-file --batch-check [2022-07-06T22:01:22.876Z] 2022-07-06 22:01:22,788 [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=) [2022-07-06T22:01:22.876Z] 2022-07-06 22:01:22,798 [execute] INFO git cat-file --batch [2022-07-06T22:01:22.876Z] 2022-07-06 22:01:22,798 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1146/.semver, universal_newlines=False, shell=None, istream=) [2022-07-06T22:01:22.876Z] 2022-07-06 22:01:22,804 [read_version] DEBUG read version from /w/workspace/dry_app-functions-sdk-go_PR-1146/.semver/PR-1146 [2022-07-06T22:01:22.876Z] 0.0.0 [Pipeline] } [2022-07-06T22:01:22.888Z] $ docker exec --env ******** --env ******** 4ae939bc1706c2dfe4f33b70373a23ca89c69f261a6939fe1af8538d8d303719 ssh-agent -k [2022-07-06T22:01:23.011Z] unset SSH_AUTH_SOCK; [2022-07-06T22:01:23.011Z] unset SSH_AGENT_PID; [2022-07-06T22:01:23.011Z] echo Agent pid 80 killed; [2022-07-06T22:01:23.025Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-06T22:01:23.337Z] + git semver [Pipeline] } [2022-07-06T22:01:23.617Z] $ docker stop --time=1 4ae939bc1706c2dfe4f33b70373a23ca89c69f261a6939fe1af8538d8d303719 [2022-07-06T22:01:24.949Z] $ docker rm -f 4ae939bc1706c2dfe4f33b70373a23ca89c69f261a6939fe1af8538d8d303719 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-06T22:01:25.308Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-06T22:01:25.572Z] Stashed 1 file(s) [Pipeline] echo [2022-07-06T22:01:25.575Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2022-07-06T22:01:25.785Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-06T22:01:25.806Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-06T22:01:25.821Z] ========================================================= [2022-07-06T22:01:25.821Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-07-06T22:01:25.821Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-07-06T22:01:26.131Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-07-06T22:01:26.131Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-06T22:01:26.131Z] 59bf1c3509f3: Pulling fs layer [2022-07-06T22:01:26.131Z] 666ba61612fd: Pulling fs layer [2022-07-06T22:01:26.131Z] 8ed8ca486205: Pulling fs layer [2022-07-06T22:01:26.131Z] cc1cd167ecdc: Pulling fs layer [2022-07-06T22:01:26.131Z] c516ae0d96e1: Pulling fs layer [2022-07-06T22:01:26.131Z] 684cea983483: Pulling fs layer [2022-07-06T22:01:26.131Z] dd3240ac7de5: Pulling fs layer [2022-07-06T22:01:26.131Z] b1e948a4e11c: Pulling fs layer [2022-07-06T22:01:26.131Z] a8fd76ee1af6: Pulling fs layer [2022-07-06T22:01:26.131Z] 684cea983483: Waiting [2022-07-06T22:01:26.131Z] c516ae0d96e1: Waiting [2022-07-06T22:01:26.131Z] dd3240ac7de5: Waiting [2022-07-06T22:01:26.131Z] b1e948a4e11c: Waiting [2022-07-06T22:01:26.131Z] a8fd76ee1af6: Waiting [2022-07-06T22:01:26.131Z] 646ad004c059: Pulling fs layer [2022-07-06T22:01:26.131Z] 646ad004c059: Waiting [2022-07-06T22:01:26.131Z] cc1cd167ecdc: Waiting [2022-07-06T22:01:26.131Z] 8ed8ca486205: Download complete [2022-07-06T22:01:26.131Z] 666ba61612fd: Download complete [2022-07-06T22:01:26.131Z] 684cea983483: Download complete [2022-07-06T22:01:26.131Z] dd3240ac7de5: Verifying Checksum [2022-07-06T22:01:26.131Z] dd3240ac7de5: Download complete [2022-07-06T22:01:26.131Z] 59bf1c3509f3: Download complete [2022-07-06T22:01:26.391Z] b1e948a4e11c: Verifying Checksum [2022-07-06T22:01:26.391Z] b1e948a4e11c: Download complete [2022-07-06T22:01:26.391Z] 59bf1c3509f3: Pull complete [2022-07-06T22:01:26.391Z] 666ba61612fd: Pull complete [2022-07-06T22:01:26.654Z] 8ed8ca486205: Pull complete [2022-07-06T22:01:26.915Z] 646ad004c059: Verifying Checksum [2022-07-06T22:01:26.915Z] 646ad004c059: Download complete [2022-07-06T22:01:26.915Z] cc1cd167ecdc: Verifying Checksum [2022-07-06T22:01:26.915Z] cc1cd167ecdc: Download complete [2022-07-06T22:01:27.176Z] a8fd76ee1af6: Download complete [2022-07-06T22:01:31.369Z] cc1cd167ecdc: Pull complete [2022-07-06T22:01:31.369Z] c516ae0d96e1: Pull complete [2022-07-06T22:01:31.369Z] 684cea983483: Pull complete [2022-07-06T22:01:31.369Z] dd3240ac7de5: Pull complete [2022-07-06T22:01:31.369Z] b1e948a4e11c: Pull complete [2022-07-06T22:01:33.918Z] a8fd76ee1af6: Pull complete [2022-07-06T22:01:34.489Z] 646ad004c059: Pull complete [2022-07-06T22:01:34.489Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-07-06T22:01:34.489Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-07-06T22:01:34.489Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh [2022-07-06T22:01:34.787Z] + 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 [2022-07-06T22:01:35.099Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-06T22:01:35.099Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-06T22:01:35.192Z] prd-ubuntu20.04-docker-8c-8g-17064 does not seem to be running inside a container [2022-07-06T22:01:35.234Z] $ 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 [2022-07-06T22:01:37.215Z] $ docker top 71d6da6effd8e0d523757039099b2cb54c2c8dc2c4e863d4b8f3dedc8977807e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-06T22:01:37.605Z] + go version [2022-07-06T22:01:37.606Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-07-06T22:01:37.620Z] $ docker stop --time=1 71d6da6effd8e0d523757039099b2cb54c2c8dc2c4e863d4b8f3dedc8977807e [2022-07-06T22:01:38.922Z] $ docker rm -f 71d6da6effd8e0d523757039099b2cb54c2c8dc2c4e863d4b8f3dedc8977807e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-06T22:01:39.368Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-06T22:01:39.368Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-06T22:01:39.460Z] prd-ubuntu20.04-docker-8c-8g-17064 does not seem to be running inside a container [2022-07-06T22:01:39.496Z] $ 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 [2022-07-06T22:01:39.859Z] $ docker top 3c81efd5ee43d45b92cbcc9af6d3ceeb50c7a970e753880f5ad6d1dbcd9319ef -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-06T22:01:40.236Z] + make test [2022-07-06T22:01:40.236Z] make -C ./app-service-template build [2022-07-06T22:01:40.236Z] make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1146/app-service-template' [2022-07-06T22:01:40.236Z] go mod tidy [2022-07-06T22:01:40.236Z] go mod tidy: go.mod file indicates go 1.18, but maximum supported version is 1.17 [2022-07-06T22:01:40.236Z] make[1]: *** [Makefile:52: tidy] Error 1 [2022-07-06T22:01:40.236Z] make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1146/app-service-template' [2022-07-06T22:01:40.236Z] make: *** [Makefile:26: build] Error 2 [Pipeline] } [2022-07-06T22:01:40.256Z] $ docker stop --time=1 3c81efd5ee43d45b92cbcc9af6d3ceeb50c7a970e753880f5ad6d1dbcd9319ef [2022-07-06T22:01:40.710Z] Still waiting to schedule task [2022-07-06T22:01:40.710Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-07-06T22:01:41.588Z] $ docker rm -f 3c81efd5ee43d45b92cbcc9af6d3ceeb50c7a970e753880f5ad6d1dbcd9319ef [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 [2022-07-06T22:01:42.089Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-06T22:01:42.089Z] [2022-07-06T22:01:42.089Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-06T22:01:42.400Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-06T22:01:42.401Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-06T22:01:42.401Z] 5eb5b503b376: Pulling fs layer [2022-07-06T22:01:42.401Z] 5c69ac0246d0: Pulling fs layer [2022-07-06T22:01:42.401Z] ec43610c2a17: Pulling fs layer [2022-07-06T22:01:42.401Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-06T22:01:42.401Z] 33b1e0a273af: Pulling fs layer [2022-07-06T22:01:42.401Z] 5d3b04190fa2: Pulling fs layer [2022-07-06T22:01:42.401Z] 2f39f015ded8: Pulling fs layer [2022-07-06T22:01:42.401Z] 33b1e0a273af: Waiting [2022-07-06T22:01:42.401Z] 5d3b04190fa2: Waiting [2022-07-06T22:01:42.401Z] 3a2ae6a8a46f: Waiting [2022-07-06T22:01:42.401Z] 2f39f015ded8: Waiting [2022-07-06T22:01:42.401Z] 5c69ac0246d0: Download complete [2022-07-06T22:01:42.401Z] 3a2ae6a8a46f: Download complete [2022-07-06T22:01:42.401Z] ec43610c2a17: Download complete [2022-07-06T22:01:42.664Z] 33b1e0a273af: Verifying Checksum [2022-07-06T22:01:42.664Z] 33b1e0a273af: Download complete [2022-07-06T22:01:42.664Z] 5d3b04190fa2: Verifying Checksum [2022-07-06T22:01:42.664Z] 5d3b04190fa2: Download complete [2022-07-06T22:01:42.664Z] 5eb5b503b376: Verifying Checksum [2022-07-06T22:01:42.664Z] 5eb5b503b376: Download complete [2022-07-06T22:01:43.318Z] 2f39f015ded8: Download complete [2022-07-06T22:01:44.292Z] 5eb5b503b376: Pull complete [2022-07-06T22:01:44.292Z] 5c69ac0246d0: Pull complete [2022-07-06T22:01:44.864Z] ec43610c2a17: Pull complete [2022-07-06T22:01:44.864Z] 3a2ae6a8a46f: Pull complete [2022-07-06T22:01:45.124Z] 33b1e0a273af: Pull complete [2022-07-06T22:01:45.124Z] 5d3b04190fa2: Pull complete [2022-07-06T22:01:50.409Z] 2f39f015ded8: Pull complete [2022-07-06T22:01:50.409Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-06T22:01:50.409Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-06T22:01:50.409Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-06T22:01:50.508Z] prd-ubuntu20.04-docker-8c-8g-17064 does not seem to be running inside a container [2022-07-06T22:01:50.544Z] $ 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 [2022-07-06T22:01:52.029Z] $ docker top 5c557a4a5ed14467528a45a1c0185df1a998740af6bdae6665753249ae90a227 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-06T22:01:52.417Z] ---> job-cost.sh [2022-07-06T22:01:52.417Z] lf-activate-venv: SKIPPING [2022-07-06T22:01:52.417Z] INFO: No Stack... [2022-07-06T22:01:52.676Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-06T22:01:53.248Z] INFO: Archiving Costs [Pipeline] sh [2022-07-06T22:01:53.547Z] + cat+ /w/workspace/dry_app-functions-sdk-go_PR-1146/archives/cost.csv [2022-07-06T22:01:53.547Z] cut -d, -f6 [Pipeline] lock [2022-07-06T22:01:53.565Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1146-2-stack-cost] [2022-07-06T22:01:53.572Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1146-2-stack-cost] did not exist. Created. [2022-07-06T22:01:53.572Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1146-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-06T22:01:53.877Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-06T22:01:53.913Z] Stashed 1 file(s) [Pipeline] } [2022-07-06T22:01:53.919Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1146-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-06T22:01:53.937Z] $ docker stop --time=1 5c557a4a5ed14467528a45a1c0185df1a998740af6bdae6665753249ae90a227 [2022-07-06T22:01:55.115Z] $ docker rm -f 5c557a4a5ed14467528a45a1c0185df1a998740af6bdae6665753249ae90a227 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-06T22:01:55.242Z] Failed in branch amd64 [2022-07-06T22:04:07.450Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17065 in /w/workspace/dry_app-functions-sdk-go_PR-1146 [Pipeline] { [Pipeline] ws [2022-07-06T22:04:07.464Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2022-07-06T22:04:07.514Z] The recommended git tool is: git [2022-07-06T22:04:12.815Z] using credential edgex-jenkins-ssh [2022-07-06T22:04:12.834Z] Cloning the remote Git repository [2022-07-06T22:04:12.887Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2022-07-06T22:04:12.967Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2022-07-06T22:04:13.053Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2022-07-06T22:04:13.054Z] > git --version # timeout=10 [2022-07-06T22:04:13.084Z] > git --version # 'git version 2.25.1' [2022-07-06T22:04:13.086Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-06T22:04:13.178Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-06T22:04:17.274Z] Merging remotes/origin/main commit 3a3cae19978a08b96b810bb2d0ffa38734d7aa02 into PR head commit f507b655e3d9dc42b6651c5efb524d1510df66d4 [2022-07-06T22:04:17.544Z] Merge succeeded, producing f507b655e3d9dc42b6651c5efb524d1510df66d4 [2022-07-06T22:04:17.545Z] Checking out Revision f507b655e3d9dc42b6651c5efb524d1510df66d4 (PR-1146) [2022-07-06T22:04:16.493Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2022-07-06T22:04:16.512Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-06T22:04:16.578Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2022-07-06T22:04:16.649Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2022-07-06T22:04:16.654Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-06T22:04:16.672Z] > 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 [2022-07-06T22:04:17.297Z] > git config core.sparsecheckout # timeout=10 [2022-07-06T22:04:17.321Z] > git checkout -f f507b655e3d9dc42b6651c5efb524d1510df66d4 # timeout=10 [2022-07-06T22:04:17.451Z] > git remote # timeout=10 [2022-07-06T22:04:17.469Z] > git config --get remote.origin.url # timeout=10 [2022-07-06T22:04:17.483Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-06T22:04:17.496Z] > git merge 3a3cae19978a08b96b810bb2d0ffa38734d7aa02 # timeout=10 [2022-07-06T22:04:17.524Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-06T22:04:17.554Z] > git config core.sparsecheckout # timeout=10 [2022-07-06T22:04:17.565Z] > git checkout -f f507b655e3d9dc42b6651c5efb524d1510df66d4 # timeout=10 [2022-07-06T22:04:21.744Z] 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 [2022-07-06T22:04:22.554Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-06T22:04:22.554Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-06T22:04:22.554Z] Dload Upload Total Spent Left Speed [2022-07-06T22:04:22.554Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh [2022-07-06T22:04:23.308Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-06T22:04:23.642Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-06T22:04:23.642Z] + sudo tee /etc/docker/daemon.new [2022-07-06T22:04:23.642Z] { [2022-07-06T22:04:23.642Z] "registry-mirrors": [ [2022-07-06T22:04:23.642Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-06T22:04:23.642Z] ], [2022-07-06T22:04:23.642Z] "bip": "10.250.0.254/24", [2022-07-06T22:04:23.642Z] "hosts": [ [2022-07-06T22:04:23.642Z] "tcp://0.0.0.0:5555", [2022-07-06T22:04:23.642Z] "unix:///var/run/docker.sock" [2022-07-06T22:04:23.642Z] ], [2022-07-06T22:04:23.642Z] "mtu": 1458, [2022-07-06T22:04:23.642Z] "selinux-enabled": true, [2022-07-06T22:04:23.642Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-06T22:04:23.642Z] } [Pipeline] sh [2022-07-06T22:04:23.975Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-06T22:04:24.303Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2022-07-06T22:04:42.986Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-06T22:04:43.000Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-06T22:04:43.011Z] ========================================================= [2022-07-06T22:04:43.011Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-07-06T22:04:43.011Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-07-06T22:04:43.347Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-07-06T22:04:44.326Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-06T22:04:44.326Z] 9b3977197b4f: Pulling fs layer [2022-07-06T22:04:44.326Z] 1a89e8eeedd5: Pulling fs layer [2022-07-06T22:04:44.326Z] 94645a83ff95: Pulling fs layer [2022-07-06T22:04:44.326Z] e6fb740bc735: Pulling fs layer [2022-07-06T22:04:44.326Z] 3a77bd46dcc9: Pulling fs layer [2022-07-06T22:04:44.326Z] 355e64cbe906: Pulling fs layer [2022-07-06T22:04:44.326Z] 63ab81a10011: Pulling fs layer [2022-07-06T22:04:44.326Z] 555d1d1c4555: Pulling fs layer [2022-07-06T22:04:44.326Z] 7d9057610161: Pulling fs layer [2022-07-06T22:04:44.326Z] 355e64cbe906: Waiting [2022-07-06T22:04:44.326Z] 63ab81a10011: Waiting [2022-07-06T22:04:44.326Z] 555d1d1c4555: Waiting [2022-07-06T22:04:44.326Z] e6fb740bc735: Waiting [2022-07-06T22:04:44.326Z] 7d9057610161: Waiting [2022-07-06T22:04:44.326Z] 3a77bd46dcc9: Waiting [2022-07-06T22:04:44.326Z] 94645a83ff95: Verifying Checksum [2022-07-06T22:04:44.326Z] 94645a83ff95: Download complete [2022-07-06T22:04:44.326Z] 1a89e8eeedd5: Verifying Checksum [2022-07-06T22:04:44.326Z] 1a89e8eeedd5: Download complete [2022-07-06T22:04:44.326Z] 3a77bd46dcc9: Verifying Checksum [2022-07-06T22:04:44.326Z] 3a77bd46dcc9: Download complete [2022-07-06T22:04:44.326Z] 355e64cbe906: Verifying Checksum [2022-07-06T22:04:44.326Z] 355e64cbe906: Download complete [2022-07-06T22:04:44.326Z] 9b3977197b4f: Verifying Checksum [2022-07-06T22:04:44.326Z] 9b3977197b4f: Download complete [2022-07-06T22:04:44.326Z] 63ab81a10011: Verifying Checksum [2022-07-06T22:04:44.326Z] 63ab81a10011: Download complete [2022-07-06T22:04:44.933Z] 7d9057610161: Verifying Checksum [2022-07-06T22:04:44.933Z] 7d9057610161: Download complete [2022-07-06T22:04:45.210Z] 9b3977197b4f: Pull complete [2022-07-06T22:04:45.500Z] 1a89e8eeedd5: Pull complete [2022-07-06T22:04:45.775Z] 94645a83ff95: Pull complete [2022-07-06T22:04:46.371Z] 555d1d1c4555: Verifying Checksum [2022-07-06T22:04:46.371Z] 555d1d1c4555: Download complete [2022-07-06T22:04:46.642Z] e6fb740bc735: Verifying Checksum [2022-07-06T22:04:46.642Z] e6fb740bc735: Download complete [2022-07-06T22:04:59.024Z] e6fb740bc735: Pull complete [2022-07-06T22:04:59.024Z] 3a77bd46dcc9: Pull complete [2022-07-06T22:04:59.024Z] 355e64cbe906: Pull complete [2022-07-06T22:04:59.024Z] 63ab81a10011: Pull complete [2022-07-06T22:05:03.328Z] 555d1d1c4555: Pull complete [2022-07-06T22:05:04.751Z] 7d9057610161: Pull complete [2022-07-06T22:05:04.751Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-07-06T22:05:04.751Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-07-06T22:05:04.751Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh [2022-07-06T22:05:05.081Z] + 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 [2022-07-06T22:05:05.436Z] + docker inspect -f . ci-base-image-arm64 [2022-07-06T22:05:05.436Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-06T22:05:05.673Z] prd-ubuntu20.04-docker-arm64-4c-16g-17065 does not seem to be running inside a container [2022-07-06T22:05:05.755Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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 [2022-07-06T22:05:08.633Z] $ docker top 9ca061c0f201fafbde37414d82f3ee08a4f4cd5f0dc46e41fef36be01e1a6e70 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-06T22:05:09.516Z] + go version [2022-07-06T22:05:09.516Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-07-06T22:05:09.546Z] $ docker stop --time=1 9ca061c0f201fafbde37414d82f3ee08a4f4cd5f0dc46e41fef36be01e1a6e70 [2022-07-06T22:05:11.162Z] $ docker rm -f 9ca061c0f201fafbde37414d82f3ee08a4f4cd5f0dc46e41fef36be01e1a6e70 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-06T22:05:11.766Z] + docker inspect -f . ci-base-image-arm64 [2022-07-06T22:05:11.766Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-06T22:05:11.991Z] prd-ubuntu20.04-docker-arm64-4c-16g-17065 does not seem to be running inside a container [2022-07-06T22:05:12.073Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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 [2022-07-06T22:05:13.240Z] $ docker top 68fff53057a99224cb95e12355482cd66a6b0a4e831622503ad708aede1536fa -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-06T22:05:14.123Z] + make test [2022-07-06T22:05:14.123Z] make -C ./app-service-template build [2022-07-06T22:05:14.123Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2022-07-06T22:05:14.123Z] go mod tidy [2022-07-06T22:05:14.123Z] go mod tidy: go.mod file indicates go 1.18, but maximum supported version is 1.17 [2022-07-06T22:05:14.123Z] make[1]: *** [Makefile:52: tidy] Error 1 [2022-07-06T22:05:14.123Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2022-07-06T22:05:14.123Z] make: *** [Makefile:26: build] Error 2 [Pipeline] } [2022-07-06T22:05:14.151Z] $ docker stop --time=1 68fff53057a99224cb95e12355482cd66a6b0a4e831622503ad708aede1536fa [2022-07-06T22:05:15.749Z] $ docker rm -f 68fff53057a99224cb95e12355482cd66a6b0a4e831622503ad708aede1536fa [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 [2022-07-06T22:05:16.385Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-06T22:05:16.385Z] [2022-07-06T22:05:16.385Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-06T22:05:16.734Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-06T22:05:17.009Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-06T22:05:17.009Z] 8998bd30e6a1: Pulling fs layer [2022-07-06T22:05:17.010Z] 04944245beec: Pulling fs layer [2022-07-06T22:05:17.010Z] 699f458cf7ca: Pulling fs layer [2022-07-06T22:05:17.010Z] 765212b225bb: Pulling fs layer [2022-07-06T22:05:17.010Z] f23df028b6ca: Pulling fs layer [2022-07-06T22:05:17.010Z] d65c8cfc05b1: Pulling fs layer [2022-07-06T22:05:17.010Z] 2437ff75d9bd: Pulling fs layer [2022-07-06T22:05:17.010Z] f23df028b6ca: Waiting [2022-07-06T22:05:17.010Z] d65c8cfc05b1: Waiting [2022-07-06T22:05:17.010Z] 2437ff75d9bd: Waiting [2022-07-06T22:05:17.010Z] 765212b225bb: Waiting [2022-07-06T22:05:17.010Z] 04944245beec: Verifying Checksum [2022-07-06T22:05:17.010Z] 04944245beec: Download complete [2022-07-06T22:05:17.010Z] 765212b225bb: Verifying Checksum [2022-07-06T22:05:17.010Z] 765212b225bb: Download complete [2022-07-06T22:05:17.010Z] f23df028b6ca: Download complete [2022-07-06T22:05:17.010Z] d65c8cfc05b1: Verifying Checksum [2022-07-06T22:05:17.010Z] d65c8cfc05b1: Download complete [2022-07-06T22:05:17.284Z] 699f458cf7ca: Verifying Checksum [2022-07-06T22:05:17.284Z] 699f458cf7ca: Download complete [2022-07-06T22:05:17.558Z] 8998bd30e6a1: Verifying Checksum [2022-07-06T22:05:17.558Z] 8998bd30e6a1: Download complete [2022-07-06T22:05:19.545Z] 2437ff75d9bd: Verifying Checksum [2022-07-06T22:05:19.545Z] 2437ff75d9bd: Download complete [2022-07-06T22:05:22.166Z] 8998bd30e6a1: Pull complete [2022-07-06T22:05:22.166Z] 04944245beec: Pull complete [2022-07-06T22:05:23.599Z] 699f458cf7ca: Pull complete [2022-07-06T22:05:23.873Z] 765212b225bb: Pull complete [2022-07-06T22:05:24.472Z] f23df028b6ca: Pull complete [2022-07-06T22:05:24.745Z] d65c8cfc05b1: Pull complete [2022-07-06T22:05:39.832Z] 2437ff75d9bd: Pull complete [2022-07-06T22:05:39.832Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-06T22:05:39.832Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-06T22:05:39.832Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-06T22:05:40.076Z] prd-ubuntu20.04-docker-arm64-4c-16g-17065 does not seem to be running inside a container [2022-07-06T22:05:40.160Z] $ 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/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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 [2022-07-06T22:05:42.492Z] $ docker top 85d5f83ce039d22cc44fa27028e1f5fb6ab2d4b94829c55700a2146aa133d7c7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-06T22:05:43.386Z] ---> job-cost.sh [2022-07-06T22:05:43.386Z] lf-activate-venv: SKIPPING [2022-07-06T22:05:43.386Z] INFO: No Stack... [2022-07-06T22:05:43.978Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-06T22:05:44.571Z] INFO: Archiving Costs [Pipeline] sh [2022-07-06T22:05:45.222Z] + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv+ [2022-07-06T22:05:45.222Z] cut -d, -f6 [Pipeline] lock [2022-07-06T22:05:45.280Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1146-2-stack-cost] [2022-07-06T22:05:45.289Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1146-2-stack-cost] did not exist. Created. [2022-07-06T22:05:45.289Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1146-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-06T22:05:45.961Z] /w/workspace/app-functions-sdk-go/2@tmp/durable-3111428f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-06T22:05:46.626Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-06T22:05:46.652Z] Warning: overwriting stash ‘stack-cost’ [2022-07-06T22:05:47.091Z] Stashed 1 file(s) [Pipeline] } [2022-07-06T22:05:47.098Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1146-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-06T22:05:47.123Z] $ docker stop --time=1 85d5f83ce039d22cc44fa27028e1f5fb6ab2d4b94829c55700a2146aa133d7c7 [2022-07-06T22:05:48.566Z] $ docker rm -f 85d5f83ce039d22cc44fa27028e1f5fb6ab2d4b94829c55700a2146aa133d7c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-06T22:05:48.868Z] 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 [2022-07-06T22:05:49.597Z] + [ -d /w/workspace/dry_app-functions-sdk-go_PR-1146/archives ] [2022-07-06T22:05:49.597Z] + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1146/archives [2022-07-06T22:05:49.597Z] total 16 [2022-07-06T22:05:49.597Z] drwxr-xr-x 3 root root 4096 Jul 6 22:01 . [2022-07-06T22:05:49.597Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 6 22:01 .. [2022-07-06T22:05:49.597Z] drwxr-xr-x 2 root root 4096 Jul 6 22:01 cost [2022-07-06T22:05:49.597Z] -rw-r--r-- 1 root root 91 Jul 6 22:01 cost.csv [2022-07-06T22:05:49.597Z] + sudo chown -R jenkins:jenkins /w/workspace/dry_app-functions-sdk-go_PR-1146/archives [2022-07-06T22:05:49.597Z] + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1146/archives [2022-07-06T22:05:49.597Z] total 16 [2022-07-06T22:05:49.597Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 6 22:01 . [2022-07-06T22:05:49.597Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 6 22:01 .. [2022-07-06T22:05:49.597Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 6 22:01 cost [2022-07-06T22:05:49.597Z] -rw-r--r-- 1 jenkins jenkins 91 Jul 6 22:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-06T22:05:49.897Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-06T22:05:50.766Z] ---> package-listing.sh [2022-07-06T22:05:50.766Z] ++ facter osfamily [2022-07-06T22:05:50.766Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-06T22:05:51.032Z] + OS_FAMILY=debian [2022-07-06T22:05:51.032Z] + workspace=/w/workspace/dry_app-functions-sdk-go_PR-1146 [2022-07-06T22:05:51.032Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-06T22:05:51.032Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-06T22:05:51.032Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-06T22:05:51.032Z] + PACKAGES=/tmp/packages_start.txt [2022-07-06T22:05:51.032Z] + '[' /w/workspace/dry_app-functions-sdk-go_PR-1146 ']' [2022-07-06T22:05:51.032Z] + PACKAGES=/tmp/packages_end.txt [2022-07-06T22:05:51.032Z] + case "${OS_FAMILY}" in [2022-07-06T22:05:51.032Z] + dpkg -l [2022-07-06T22:05:51.032Z] + grep '^ii' [2022-07-06T22:05:51.032Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-06T22:05:51.032Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-06T22:05:51.032Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-06T22:05:51.032Z] + '[' /w/workspace/dry_app-functions-sdk-go_PR-1146 ']' [2022-07-06T22:05:51.032Z] + mkdir -p /w/workspace/dry_app-functions-sdk-go_PR-1146/archives/ [2022-07-06T22:05:51.032Z] + 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 [2022-07-06T22:05:51.044Z] 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 [2022-07-06T22:05:51.326Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-06T22:05:51.893Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-06T22:05:51.893Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-06T22:05:51.976Z] prd-ubuntu20.04-docker-8c-8g-17064 does not seem to be running inside a container [2022-07-06T22:05:52.013Z] $ 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 [2022-07-06T22:05:52.279Z] $ docker top c1c8910605245375d9945a07ace4cf658ff17eb4ca105030aed011cd869cc700 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-06T22:05:52.651Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-06T22:05:52.938Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-06T22:05:53.227Z] + ls /var/log/sa-host [2022-07-06T22:05:53.227Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-06T22:05:53.291Z] provisioning config files... [2022-07-06T22:05:53.304Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-functions-sdk-go_PR-1146@tmp/config2576520734421354819tmp [Pipeline] { [Pipeline] echo [2022-07-06T22:05:53.321Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-06T22:05:53.607Z] ---> create-netrc.sh [Pipeline] } [2022-07-06T22:05:53.615Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-06T22:05:53.944Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-06T22:05:53.953Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-06T22:05:54.259Z] ---> sudo-logs.sh [2022-07-06T22:05:54.259Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-06T22:05:54.289Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-06T22:05:54.577Z] ---> job-cost.sh [2022-07-06T22:05:54.577Z] lf-activate-venv: SKIPPING [2022-07-06T22:05:54.577Z] DEBUG: total: 0.2199999988079071 [2022-07-06T22:05:54.577Z] INFO: Retrieving Stack Cost... [2022-07-06T22:05:54.838Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-06T22:05:55.408Z] INFO: Archiving Costs [Pipeline] echo [2022-07-06T22:05:55.421Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-06T22:05:55.707Z] ---> logs-deploy.sh [2022-07-06T22:05:55.707Z] lf-activate-venv: SKIPPING [2022-07-06T22:05:55.707Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-1146/2 [2022-07-06T22:05:55.707Z] INFO: archiving workspace using pattern(s): [2022-07-06T22:05:56.650Z] Archives upload complete. [2022-07-06T22:05:56.650Z] INFO: archiving logs to Nexus