Pull request #1458 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1155b0940e087323d637eaa286f7ee54b6a4d7c9+70bcba76dc915cfbdd4128feb93bb597124cda78 (26d6b2f5c95deb1a97b97d419b7b31c6f7504ea0) 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-ssh4520707536040901560.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh8163710500739737703.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1458/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1458/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9488567559799415249.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1458/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12727450964087609570.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10583624074442179032.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1458/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1458/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6619741768852711817.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 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/v3]] ========================================================= [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.20 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/v3 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2884 in /w/workspace/dry_app-functions-sdk-go_PR-1458 [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-1458 # 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 70bcba76dc915cfbdd4128feb93bb597124cda78 into PR head commit 1155b0940e087323d637eaa286f7ee54b6a4d7c9 Merge succeeded, producing 1155b0940e087323d637eaa286f7ee54b6a4d7c9 Checking out Revision 1155b0940e087323d637eaa286f7ee54b6a4d7c9 (PR-1458) > 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/1458/head:refs/remotes/origin/PR-1458 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1155b0940e087323d637eaa286f7ee54b6a4d7c9 # 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 70bcba76dc915cfbdd4128feb93bb597124cda78 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1155b0940e087323d637eaa286f7ee54b6a4d7c9 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:13:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:13:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:13:04 ========================================================= 04:13:04 EdgeX Global Pipelines Version Info 04:13:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:13:05 ------------------- 04:13:05 stable info: 04:13:05 ------------------- 04:13:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:13:05 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 04:13:05 Message: update stable to v1.0.250 04:13:06 ------------------- 04:13:06 experimental info: 04:13:06 ------------------- 04:13:06 Commited By: **** collab-it+edgex@linuxfoundation.org 04:13:06 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 04:13:06 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:13:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 04:13:06 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 04:13:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:13:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:13:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:13:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:13:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:13:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:13:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:13:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:13:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:13:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 04:13:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:13:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:13:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 04:13:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:13:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:13:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:13:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:13:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:13:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:13:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:13:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:13:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:13:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 04:13:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:13:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:13:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1458 [Pipeline] echo 04:13:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1458 [Pipeline] echo 04:13:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1458 [Pipeline] echo 04:13:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1155b0940e087323d637eaa286f7ee54b6a4d7c9 [Pipeline] echo 04:13:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1155b09 [Pipeline] echo 04:13:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:13:08 + git rev-list -1 --merges 1155b0940e087323d637eaa286f7ee54b6a4d7c9~1..1155b0940e087323d637eaa286f7ee54b6a4d7c9 [Pipeline] echo 04:13:08 -----------> git rev-list -1 --merges 1155b0940e087323d637eaa286f7ee54b6a4d7c9~1..1155b0940e087323d637eaa286f7ee54b6a4d7c9 1155b0940e087323d637eaa286f7ee54b6a4d7c9 [false] [Pipeline] sh 04:13:08 + git log --format=format:%s -1 1155b0940e087323d637eaa286f7ee54b6a4d7c9 [Pipeline] echo 04:13:08 ========================================================= 04:13:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:13:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:13:09 + git log --format=format:%s -1 1155b0940e087323d637eaa286f7ee54b6a4d7c9 [Pipeline] echo 04:13:09 [semverPrep] GIT_COMMIT: 1155b0940e087323d637eaa286f7ee54b6a4d7c9, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 04:13:09 [semverPrep] This is not a build commit. [Pipeline] sh 04:13:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:13:09 + grep -v github /etc/ssh/ssh_known_hosts 04:13:09 + [ -e /tmp/ssh_known_hosts ] 04:13:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:13:09 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:13:09 + sudo tee -a /etc/ssh/ssh_known_hosts 04:13:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:13:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:13:10 04:13:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:13:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:13:10 0.1.4: Pulling from edgex-devops/py-git-semver 04:13:10 b85a868b505f: Pulling fs layer 04:13:10 e2be974225ed: Pulling fs layer 04:13:10 339a4e72a1f5: Pulling fs layer 04:13:10 988bab9f4d93: Pulling fs layer 04:13:10 1469e6f7b9e6: Pulling fs layer 04:13:10 eaf3925da568: Pulling fs layer 04:13:10 bab4dde63d76: Pulling fs layer 04:13:10 bde34c3a00c8: Pulling fs layer 04:13:10 b352a97aabf1: Pulling fs layer 04:13:10 4872d77fe225: Pulling fs layer 04:13:10 5851b861e8e6: Pulling fs layer 04:13:10 b352a97aabf1: Waiting 04:13:10 bab4dde63d76: Waiting 04:13:10 bde34c3a00c8: Waiting 04:13:10 4872d77fe225: Waiting 04:13:10 5851b861e8e6: Waiting 04:13:10 1469e6f7b9e6: Waiting 04:13:10 988bab9f4d93: Waiting 04:13:10 e2be974225ed: Download complete 04:13:10 988bab9f4d93: Verifying Checksum 04:13:10 988bab9f4d93: Download complete 04:13:10 1469e6f7b9e6: Verifying Checksum 04:13:10 1469e6f7b9e6: Download complete 04:13:10 339a4e72a1f5: Verifying Checksum 04:13:10 339a4e72a1f5: Download complete 04:13:10 eaf3925da568: Verifying Checksum 04:13:10 eaf3925da568: Download complete 04:13:10 bde34c3a00c8: Verifying Checksum 04:13:10 bde34c3a00c8: Download complete 04:13:10 b352a97aabf1: Verifying Checksum 04:13:10 b352a97aabf1: Download complete 04:13:10 4872d77fe225: Verifying Checksum 04:13:10 4872d77fe225: Download complete 04:13:10 5851b861e8e6: Verifying Checksum 04:13:10 5851b861e8e6: Download complete 04:13:10 b85a868b505f: Download complete 04:13:11 bab4dde63d76: Verifying Checksum 04:13:12 b85a868b505f: Pull complete 04:13:12 e2be974225ed: Pull complete 04:13:13 339a4e72a1f5: Pull complete 04:13:13 988bab9f4d93: Pull complete 04:13:13 1469e6f7b9e6: Pull complete 04:13:13 eaf3925da568: Pull complete 04:13:15 bab4dde63d76: Pull complete 04:13:15 bde34c3a00c8: Pull complete 04:13:15 b352a97aabf1: Pull complete 04:13:15 4872d77fe225: Pull complete 04:13:15 5851b861e8e6: Pull complete 04:13:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:13:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:13:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:13:16 prd-ubuntu20.04-docker-8c-8g-2884 does not seem to be running inside a container 04:13:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-functions-sdk-go_PR-1458 -v /w/workspace/dry_app-functions-sdk-go_PR-1458:/w/workspace/dry_app-functions-sdk-go_PR-1458:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1458@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1458@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:13:18 $ docker top e9435f9f5836d56fde6178f05100c60a20aec28fe3e29eaa9913d241f61a342b -eo pid,comm 04:13:19 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). 04:13:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:13:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:13:19 [ssh-agent] Looking for ssh-agent implementation... 04:13:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:13:19 $ docker exec e9435f9f5836d56fde6178f05100c60a20aec28fe3e29eaa9913d241f61a342b ssh-agent 04:13:19 SSH_AUTH_SOCK=/tmp/ssh-IwrIgVLOf3Kw/agent.32 04:13:19 SSH_AGENT_PID=38 04:13:19 Running ssh-add (command line suppressed) 04:13:19 Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1458@tmp/private_key_7517649265287453947.key (/w/workspace/dry_app-functions-sdk-go_PR-1458@tmp/private_key_7517649265287453947.key) 04:13:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:13:19 + git tag --points-at HEAD [Pipeline] } 04:13:19 $ docker exec --env ******** --env ******** e9435f9f5836d56fde6178f05100c60a20aec28fe3e29eaa9913d241f61a342b ssh-agent -k 04:13:19 unset SSH_AUTH_SOCK; 04:13:19 unset SSH_AGENT_PID; 04:13:19 echo Agent pid 38 killed; 04:13:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:13:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:13:20 [ssh-agent] Looking for ssh-agent implementation... 04:13:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:13:20 $ docker exec e9435f9f5836d56fde6178f05100c60a20aec28fe3e29eaa9913d241f61a342b ssh-agent 04:13:20 SSH_AUTH_SOCK=/tmp/ssh-KNo5udSKfr8f/agent.71 04:13:20 SSH_AGENT_PID=77 04:13:20 Running ssh-add (command line suppressed) 04:13:20 Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1458@tmp/private_key_5206794676271419113.key (/w/workspace/dry_app-functions-sdk-go_PR-1458@tmp/private_key_5206794676271419113.key) 04:13:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:13:20 + git semver init 04:13:20 2023-08-04 04:13:20,908 [run_init] DEBUG init version:0.0.0 force:False 04:13:20 2023-08-04 04:13:20,909 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-functions-sdk-go_PR-1458/.semver 04:13:20 2023-08-04 04:13:20,909 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-functions-sdk-go.git /w/workspace/dry_app-functions-sdk-go_PR-1458/.semver 04:13:20 2023-08-04 04:13:20,910 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-functions-sdk-go.git', '/w/workspace/dry_app-functions-sdk-go_PR-1458/.semver'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1458, universal_newlines=False, shell=None, istream=None) 04:13:22 2023-08-04 04:13:22,515 [append_file] DEBUG append to file:/w/workspace/dry_app-functions-sdk-go_PR-1458/.git/info/exclude 04:13:22 2023-08-04 04:13:22,516 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_app-functions-sdk-go_PR-1458/.semver/PR-1458 with force:False 04:13:22 2023-08-04 04:13:22,516 [write_file] DEBUG write to file:/w/workspace/dry_app-functions-sdk-go_PR-1458/.semver/PR-1458 04:13:22 2023-08-04 04:13:22,520 [execute] INFO git cat-file --batch-check 04:13:22 2023-08-04 04:13:22,520 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1458/.semver, universal_newlines=False, shell=None, istream=) 04:13:22 2023-08-04 04:13:22,527 [execute] INFO git cat-file --batch 04:13:22 2023-08-04 04:13:22,528 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1458/.semver, universal_newlines=False, shell=None, istream=) 04:13:22 2023-08-04 04:13:22,534 [read_version] DEBUG read version from /w/workspace/dry_app-functions-sdk-go_PR-1458/.semver/PR-1458 04:13:22 0.0.0 [Pipeline] } 04:13:22 $ docker exec --env ******** --env ******** e9435f9f5836d56fde6178f05100c60a20aec28fe3e29eaa9913d241f61a342b ssh-agent -k 04:13:23 unset SSH_AUTH_SOCK; 04:13:23 unset SSH_AGENT_PID; 04:13:23 echo Agent pid 77 killed; 04:13:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:13:23 + git semver [Pipeline] } 04:13:23 $ docker stop --time=1 e9435f9f5836d56fde6178f05100c60a20aec28fe3e29eaa9913d241f61a342b 04:13:25 $ docker rm -f --volumes e9435f9f5836d56fde6178f05100c60a20aec28fe3e29eaa9913d241f61a342b [Pipeline] // withDockerContainer [Pipeline] sh 04:13:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:13:25 Stashed 1 file(s) [Pipeline] echo 04:13:25 [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 04:13:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:13:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:13:26 ========================================================= 04:13:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:13:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 04:13:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:13:26 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:13:26 4db1b89c0bd1: Pulling fs layer 04:13:26 6911f1a30b25: Pulling fs layer 04:13:26 e194b8c5c2a9: Pulling fs layer 04:13:26 6863d3e3a2b1: Pulling fs layer 04:13:26 ec0bb842ea78: Pulling fs layer 04:13:26 40a00589a448: Pulling fs layer 04:13:26 6c08303d61cc: Pulling fs layer 04:13:26 798269fcf238: Pulling fs layer 04:13:26 ec0bb842ea78: Waiting 04:13:26 40a00589a448: Waiting 04:13:26 6c08303d61cc: Waiting 04:13:26 798269fcf238: Waiting 04:13:26 6863d3e3a2b1: Waiting 04:13:26 6911f1a30b25: Download complete 04:13:26 6863d3e3a2b1: Verifying Checksum 04:13:26 6863d3e3a2b1: Download complete 04:13:26 ec0bb842ea78: Download complete 04:13:26 4db1b89c0bd1: Verifying Checksum 04:13:26 4db1b89c0bd1: Download complete 04:13:26 40a00589a448: Verifying Checksum 04:13:26 40a00589a448: Download complete 04:13:27 4db1b89c0bd1: Pull complete 04:13:27 6911f1a30b25: Pull complete 04:13:27 798269fcf238: Verifying Checksum 04:13:27 798269fcf238: Download complete 04:13:27 e194b8c5c2a9: Verifying Checksum 04:13:27 e194b8c5c2a9: Download complete 04:13:27 6c08303d61cc: Verifying Checksum 04:13:27 6c08303d61cc: Download complete 04:13:30 e194b8c5c2a9: Pull complete 04:13:30 6863d3e3a2b1: Pull complete 04:13:31 ec0bb842ea78: Pull complete 04:13:31 40a00589a448: Pull complete 04:13:33 6c08303d61cc: Pull complete 04:13:34 798269fcf238: Pull complete 04:13:34 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 04:13:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:13:34 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] sh 04:13:34 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:13:35 + docker inspect -f . ci-base-image-x86_64 04:13:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:13:35 prd-ubuntu20.04-docker-8c-8g-2884 does not seem to be running inside a container 04:13:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-functions-sdk-go_PR-1458 -v /w/workspace/dry_app-functions-sdk-go_PR-1458:/w/workspace/dry_app-functions-sdk-go_PR-1458:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1458@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1458@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 ******** ci-base-image-x86_64 cat 04:13:40 $ docker top 8d9dfce0bf79232864b27c0522da027e6bdd882e825452a333429479b05c995a -eo pid,comm [Pipeline] { [Pipeline] sh 04:13:41 Still waiting to schedule task 04:13:41 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:13:41 + go version 04:13:41 go version go1.20.6 linux/amd64 [Pipeline] } 04:13:41 $ docker stop --time=1 8d9dfce0bf79232864b27c0522da027e6bdd882e825452a333429479b05c995a 04:13:42 $ docker rm -f --volumes 8d9dfce0bf79232864b27c0522da027e6bdd882e825452a333429479b05c995a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:13:43 + docker inspect -f . ci-base-image-x86_64 04:13:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:13:43 prd-ubuntu20.04-docker-8c-8g-2884 does not seem to be running inside a container 04:13:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/dry_app-functions-sdk-go_PR-1458 -v /w/workspace/dry_app-functions-sdk-go_PR-1458:/w/workspace/dry_app-functions-sdk-go_PR-1458:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1458@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1458@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 ******** ci-base-image-x86_64 cat 04:13:43 $ docker top 58fd23ffb936f451df570c8d5c652aa2827132843131b4ed38e267e0e01f2514 -eo pid,comm [Pipeline] { [Pipeline] sh 04:13:44 + git config --global --add safe.directory /w/workspace/dry_app-functions-sdk-go_PR-1458 [Pipeline] fileExists [Pipeline] sh 04:13:44 + make test 04:13:44 make -C ./app-service-template build 04:13:44 make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1458/app-service-template' 04:13:44 go mod tidy 04:13:44 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.1.0-dev.2 04:13:44 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 04:13:44 go: downloading github.com/google/uuid v1.3.0 04:13:44 go: downloading github.com/stretchr/testify v1.8.4 04:13:44 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.1.0-dev.9 04:13:44 go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.1.0-dev.11 04:13:44 go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.1.0-dev.3 04:13:45 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc 04:13:45 go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 04:13:45 go: downloading gopkg.in/yaml.v3 v3.0.1 04:13:45 go: downloading github.com/stretchr/objx v0.5.0 04:13:45 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.7 04:13:45 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 04:13:45 go: downloading github.com/gorilla/mux v1.8.0 04:13:45 go: downloading github.com/hashicorp/go-multierror v1.1.1 04:13:45 go: downloading github.com/go-playground/validator/v10 v10.14.1 04:13:45 go: downloading github.com/go-kit/log v0.2.1 04:13:45 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 04:13:45 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.1.0-dev.3 04:13:45 go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.1.0-dev.3 04:13:45 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 04:13:45 go: downloading github.com/mitchellh/copystructure v1.2.0 04:13:45 go: downloading github.com/hashicorp/errwrap v1.1.0 04:13:45 go: downloading github.com/x448/float16 v0.8.4 04:13:45 go: downloading github.com/gabriel-vasile/mimetype v1.4.2 04:13:45 go: downloading github.com/go-playground/universal-translator v0.18.1 04:13:45 go: downloading golang.org/x/text v0.9.0 04:13:45 go: downloading golang.org/x/crypto v0.9.0 04:13:45 go: downloading github.com/leodido/go-urn v1.2.4 04:13:45 go: downloading github.com/go-playground/locales v0.14.1 04:13:45 go: downloading github.com/gorilla/websocket v1.5.0 04:13:46 go: downloading golang.org/x/net v0.10.0 04:13:46 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 04:13:46 go: downloading github.com/go-playground/assert/v2 v2.2.0 04:13:46 go: downloading golang.org/x/sync v0.2.0 04:13:46 go: downloading github.com/go-logfmt/logfmt v0.5.1 04:13:46 go: downloading github.com/mitchellh/mapstructure v1.5.0 04:13:46 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.6 04:13:46 go: downloading github.com/hashicorp/consul/api v1.22.0 04:13:46 go: downloading github.com/nats-io/nats.go v1.27.1 04:13:46 go: downloading github.com/nats-io/nats-server/v2 v2.9.20 04:13:46 go: downloading github.com/go-redis/redis/v7 v7.3.0 04:13:46 go: downloading github.com/mitchellh/reflectwalk v1.0.2 04:13:46 go: downloading golang.org/x/sys v0.8.0 04:13:46 go: downloading github.com/kr/pretty v0.1.0 04:13:46 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 04:13:46 go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 04:13:46 go: downloading github.com/hashicorp/go-hclog v1.5.0 04:13:46 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 04:13:46 go: downloading github.com/hashicorp/serf v0.10.1 04:13:46 go: downloading golang.org/x/exp v0.0.0-20230321023759-10a507213a29 04:13:46 go: downloading github.com/google/go-cmp v0.5.9 04:13:46 go: downloading github.com/hashicorp/consul/sdk v0.14.0 04:13:46 go: downloading github.com/hashicorp/go-uuid v1.0.3 04:13:46 go: downloading github.com/Microsoft/go-winio v0.6.0 04:13:46 go: downloading github.com/zeebo/errs v1.3.0 04:13:46 go: downloading google.golang.org/grpc v1.53.0 04:13:46 go: downloading github.com/onsi/ginkgo v1.10.1 04:13:46 go: downloading github.com/onsi/gomega v1.7.0 04:13:46 go: downloading github.com/kr/text v0.2.0 04:13:46 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 04:13:46 go: downloading github.com/klauspost/compress v1.16.5 04:13:46 go: downloading github.com/nats-io/nkeys v0.4.4 04:13:46 go: downloading github.com/nats-io/nuid v1.0.1 04:13:46 go: downloading github.com/mitchellh/go-homedir v1.1.0 04:13:46 go: downloading github.com/fatih/color v1.14.1 04:13:46 go: downloading github.com/mattn/go-colorable v0.1.13 04:13:46 go: downloading github.com/mattn/go-isatty v0.0.17 04:13:46 go: downloading github.com/hashicorp/go-version v1.2.1 04:13:46 go: downloading github.com/pkg/errors v0.9.1 04:13:46 go: downloading github.com/go-jose/go-jose/v3 v3.0.0 04:13:46 go: downloading google.golang.org/protobuf v1.28.1 04:13:47 go: downloading golang.org/x/tools v0.6.0 04:13:47 go: downloading github.com/armon/go-metrics v0.4.1 04:13:47 go: downloading github.com/hashicorp/go-msgpack v0.5.5 04:13:47 go: downloading github.com/hashicorp/memberlist v0.5.0 04:13:47 go: downloading github.com/minio/highwayhash v1.0.2 04:13:47 go: downloading github.com/nats-io/jwt/v2 v2.4.1 04:13:47 go: downloading golang.org/x/time v0.3.0 04:13:47 go: downloading github.com/golang/protobuf v1.5.2 04:13:47 go: downloading google.golang.org/genproto v0.0.0-20230223222841-637eb2293923 04:13:47 go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 04:13:47 go: downloading github.com/pascaldekloe/goe v0.1.0 04:13:47 go: downloading github.com/google/btree v1.0.1 04:13:47 go: downloading github.com/hashicorp/go-sockaddr v1.0.2 04:13:47 go: downloading github.com/miekg/dns v1.1.41 04:13:47 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 04:13:47 go: downloading gopkg.in/yaml.v2 v2.4.0 04:13:47 go: downloading github.com/hpcloud/tail v1.0.0 04:13:47 go: downloading github.com/hashicorp/golang-lru v0.5.4 04:13:47 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 04:13:47 go: downloading gopkg.in/fsnotify.v1 v1.4.7 04:13:47 go: downloading golang.org/x/mod v0.8.0 04:13:49 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.1.0-dev.3 04:13:49 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.3.0 04:13:49 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.1.0-dev.17 04:13:49 go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.1.0-dev.12 04:13:49 go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.1.0-dev.4 04:13:49 go: downloading golang.org/x/net v0.12.0 04:13:49 go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.1.0-dev.5 04:13:49 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.1.0-dev.4 04:13:49 go: downloading github.com/labstack/echo/v4 v4.11.1 04:13:49 go: downloading golang.org/x/crypto v0.11.0 04:13:49 go: downloading github.com/nats-io/nats.go v1.28.0 04:13:49 go: downloading golang.org/x/text v0.11.0 04:13:49 go: downloading github.com/hashicorp/consul/api v1.23.0 04:13:49 go: downloading golang.org/x/sys v0.10.0 04:13:49 go: downloading github.com/labstack/gommon v0.4.0 04:13:49 go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible 04:13:49 go: downloading github.com/valyala/fasttemplate v1.2.2 04:13:49 go: downloading github.com/mattn/go-isatty v0.0.19 04:13:50 go: downloading github.com/valyala/bytebufferpool v1.0.0 04:13:50 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-new-service 04:14:05 # github.com/edgexfoundry/app-functions-sdk-go/v3/internal/webserver 04:14:05 ../internal/webserver/server.go:52:60: cannot use router (variable of type *mux.Router) as *echo.Echo value in argument to controller.NewCommonController 04:14:05 ../internal/webserver/server.go:76:13: cannot use bootstrapHandlers.ProcessCORS(webserver.config.Service.CORSConfiguration) (value of type echo.MiddlewareFunc) as mux.MiddlewareFunc value in argument to router.Use 04:14:05 ../internal/webserver/server.go:81:17: cannot use bootstrapHandlers.HandlePreflight(webserver.config.Service.CORSConfiguration) (value of type echo.MiddlewareFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to router.Methods(http.MethodOptions).MatcherFunc(func(r *http.Request, rm *mux.RouteMatch) bool {…}).HandlerFunc 04:14:05 ../internal/webserver/server.go:99:36: cannot use authenticationHook(handlerForTrigger) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to webserver.router.HandleFunc 04:14:05 ../internal/webserver/server.go:99:55: cannot use handlerForTrigger (variable of type func("net/http".ResponseWriter, *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 04:14:05 make[1]: *** [Makefile:42: build] Error 1 04:14:05 make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1458/app-service-template' 04:14:05 make: *** [Makefile:24: build] Error 2 [Pipeline] } 04:14:05 $ docker stop --time=1 58fd23ffb936f451df570c8d5c652aa2827132843131b4ed38e267e0e01f2514 04:14:12 $ docker rm -f --volumes 58fd23ffb936f451df570c8d5c652aa2827132843131b4ed38e267e0e01f2514 [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 04:14:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:14:14 04:14:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:14:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:14:14 latest: Pulling from edgex-lftools-log-publisher 04:14:14 5eb5b503b376: Pulling fs layer 04:14:14 5c69ac0246d0: Pulling fs layer 04:14:14 ec43610c2a17: Pulling fs layer 04:14:14 3a2ae6a8a46f: Pulling fs layer 04:14:14 33b1e0a273af: Pulling fs layer 04:14:14 5d3b04190fa2: Pulling fs layer 04:14:14 2f39f015ded8: Pulling fs layer 04:14:14 33b1e0a273af: Waiting 04:14:14 2f39f015ded8: Waiting 04:14:14 5d3b04190fa2: Waiting 04:14:14 3a2ae6a8a46f: Waiting 04:14:14 5c69ac0246d0: Download complete 04:14:14 3a2ae6a8a46f: Verifying Checksum 04:14:14 3a2ae6a8a46f: Download complete 04:14:14 33b1e0a273af: Verifying Checksum 04:14:14 33b1e0a273af: Download complete 04:14:14 5d3b04190fa2: Verifying Checksum 04:14:14 5d3b04190fa2: Download complete 04:14:14 ec43610c2a17: Verifying Checksum 04:14:14 ec43610c2a17: Download complete 04:14:15 5eb5b503b376: Verifying Checksum 04:14:15 5eb5b503b376: Download complete 04:14:15 2f39f015ded8: Download complete 04:14:16 5eb5b503b376: Pull complete 04:14:16 5c69ac0246d0: Pull complete 04:14:16 ec43610c2a17: Pull complete 04:14:16 3a2ae6a8a46f: Pull complete 04:14:17 33b1e0a273af: Pull complete 04:14:17 5d3b04190fa2: Pull complete 04:14:21 2f39f015ded8: Pull complete 04:14:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:14:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:14:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:14:21 prd-ubuntu20.04-docker-8c-8g-2884 does not seem to be running inside a container 04:14:21 $ 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-1458 -v /w/workspace/dry_app-functions-sdk-go_PR-1458:/w/workspace/dry_app-functions-sdk-go_PR-1458:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1458@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1458@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:14:25 $ docker top 49de1f46b7eab2c69b152fe47c61d433be4ce1997c2a0f5dd9f15cac9cb07b2b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:14:26 ---> job-cost.sh 04:14:26 lf-activate-venv: SKIPPING 04:14:26 INFO: No Stack... 04:14:26 INFO: Retrieving Pricing Info for: v3-standard-8 04:14:26 INFO: Archiving Costs [Pipeline] sh 04:14:27 + cat /w/workspace/dry_app-functions-sdk-go_PR-1458/archives/cost.csv 04:14:27 + cut -d, -f6 [Pipeline] lock 04:14:27 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1458-1-stack-cost] 04:14:27 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1458-1-stack-cost] did not exist. Created. 04:14:27 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1458-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:14:27 + echo total: 0.2199999988079071 [Pipeline] stash 04:14:27 Stashed 1 file(s) [Pipeline] } 04:14:27 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1458-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:14:27 $ docker stop --time=1 49de1f46b7eab2c69b152fe47c61d433be4ce1997c2a0f5dd9f15cac9cb07b2b 04:14:29 $ docker rm -f --volumes 49de1f46b7eab2c69b152fe47c61d433be4ce1997c2a0f5dd9f15cac9cb07b2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:14:29 Failed in branch amd64 04:15:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2885 in /w/workspace/dry_app-functions-sdk-go_PR-1458 [Pipeline] { [Pipeline] ws 04:15:14 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:15:15 The recommended git tool is: git 04:15:20 using credential edgex-jenkins-ssh 04:15:20 Cloning the remote Git repository 04:15:20 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 04:15:20 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 04:15:20 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 04:15:20 > git --version # timeout=10 04:15:20 > git --version # 'git version 2.25.1' 04:15:20 using GIT_SSH to set credentials SSH Credentials for GitHub 04:15:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:15:23 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 04:15:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:15:24 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 04:15:24 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 04:15:24 using GIT_SSH to set credentials SSH Credentials for GitHub 04:15:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/1458/head:refs/remotes/origin/PR-1458 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:15:25 Merging remotes/origin/main commit 70bcba76dc915cfbdd4128feb93bb597124cda78 into PR head commit 1155b0940e087323d637eaa286f7ee54b6a4d7c9 04:15:25 Merge succeeded, producing 1155b0940e087323d637eaa286f7ee54b6a4d7c9 04:15:25 Checking out Revision 1155b0940e087323d637eaa286f7ee54b6a4d7c9 (PR-1458) 04:15:26 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" 04:15:26 > git --version # timeout=10 04:15:26 > git --version # 'git version 2.25.1' 04:15:26 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 04:15:25 > git config core.sparsecheckout # timeout=10 04:15:25 > git checkout -f 1155b0940e087323d637eaa286f7ee54b6a4d7c9 # timeout=10 04:15:25 > git remote # timeout=10 04:15:25 > git config --get remote.origin.url # timeout=10 04:15:25 using GIT_SSH to set credentials SSH Credentials for GitHub 04:15:25 > git merge 70bcba76dc915cfbdd4128feb93bb597124cda78 # timeout=10 04:15:25 > git rev-parse HEAD^{commit} # timeout=10 04:15:25 > git config core.sparsecheckout # timeout=10 04:15:25 > git checkout -f 1155b0940e087323d637eaa286f7ee54b6a4d7c9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:15:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:15:27 % Total % Received % Xferd Average Speed Time Time Time Current 04:15:27 Dload Upload Total Spent Left Speed 04:15:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh 04:15:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:15:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:15:28 + sudo tee /etc/docker/daemon.new 04:15:28 { 04:15:28 "registry-mirrors": [ 04:15:28 "https://nexus3.edgexfoundry.org:10001" 04:15:28 ], 04:15:28 "bip": "10.250.0.254/24", 04:15:28 "hosts": [ 04:15:28 "tcp://0.0.0.0:5555", 04:15:28 "unix:///var/run/docker.sock" 04:15:28 ], 04:15:28 "mtu": 1458, 04:15:28 "selinux-enabled": true, 04:15:28 "seccomp-profile": "/etc/docker/seccomp.json" 04:15:28 } [Pipeline] sh 04:15:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:15:29 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 04:15:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:15:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:15:47 ========================================================= 04:15:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:15:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 04:15:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:15:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:15:48 edb6bdbacee9: Pulling fs layer 04:15:48 5f9638ab2659: Pulling fs layer 04:15:48 8d51d6327a98: Pulling fs layer 04:15:48 8b374f2dd631: Pulling fs layer 04:15:48 ec14aa9079de: Pulling fs layer 04:15:48 2f466654f4bb: Pulling fs layer 04:15:48 554e91adad29: Pulling fs layer 04:15:48 ec14aa9079de: Waiting 04:15:48 2f466654f4bb: Waiting 04:15:48 554e91adad29: Waiting 04:15:48 8b374f2dd631: Waiting 04:15:48 5f9638ab2659: Verifying Checksum 04:15:48 5f9638ab2659: Download complete 04:15:48 8b374f2dd631: Verifying Checksum 04:15:48 8b374f2dd631: Download complete 04:15:48 ec14aa9079de: Verifying Checksum 04:15:48 ec14aa9079de: Download complete 04:15:48 edb6bdbacee9: Verifying Checksum 04:15:48 edb6bdbacee9: Download complete 04:15:50 edb6bdbacee9: Pull complete 04:15:50 554e91adad29: Verifying Checksum 04:15:50 554e91adad29: Download complete 04:15:50 5f9638ab2659: Pull complete 04:15:51 8d51d6327a98: Verifying Checksum 04:15:51 8d51d6327a98: Download complete 04:15:51 2f466654f4bb: Verifying Checksum 04:15:51 2f466654f4bb: Download complete 04:16:04 8d51d6327a98: Pull complete 04:16:04 8b374f2dd631: Pull complete 04:16:04 ec14aa9079de: Pull complete 04:16:10 2f466654f4bb: Pull complete 04:16:12 554e91adad29: Pull complete 04:16:12 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 04:16:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:16:12 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] sh 04:16:12 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:16:12 + docker inspect -f . ci-base-image-arm64 04:16:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:16:13 prd-ubuntu20.04-docker-arm64-4c-16g-2885 does not seem to be running inside a container 04:16:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:16:16 $ docker top 6176d6070d19fdc35e1d316548011d210dc264fa60d106600ed328549f5dcbdd -eo pid,comm [Pipeline] { [Pipeline] sh 04:16:17 + go version 04:16:17 go version go1.20.6 linux/arm64 [Pipeline] } 04:16:17 $ docker stop --time=1 6176d6070d19fdc35e1d316548011d210dc264fa60d106600ed328549f5dcbdd 04:16:18 $ docker rm -f --volumes 6176d6070d19fdc35e1d316548011d210dc264fa60d106600ed328549f5dcbdd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:16:19 + docker inspect -f . ci-base-image-arm64 04:16:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:16:19 prd-ubuntu20.04-docker-arm64-4c-16g-2885 does not seem to be running inside a container 04:16:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:16:23 $ docker top 333869bb0ac46e449b2c85ea21aba26579706e6b46a271634ebfaa8122ad6dcc -eo pid,comm [Pipeline] { [Pipeline] sh 04:16:23 + git config --global --add safe.directory /w/workspace/app-functions-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:16:23 + make test 04:16:23 make -C ./app-service-template build 04:16:24 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 04:16:24 go mod tidy 04:16:24 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.1.0-dev.2 04:16:24 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 04:16:24 go: downloading github.com/google/uuid v1.3.0 04:16:24 go: downloading github.com/stretchr/testify v1.8.4 04:16:24 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.1.0-dev.9 04:16:25 go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.1.0-dev.11 04:16:25 go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.1.0-dev.3 04:16:25 go: downloading github.com/go-playground/validator/v10 v10.14.1 04:16:25 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 04:16:25 go: downloading gopkg.in/yaml.v3 v3.0.1 04:16:25 go: downloading github.com/go-kit/log v0.2.1 04:16:25 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc 04:16:25 go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 04:16:25 go: downloading github.com/stretchr/objx v0.5.0 04:16:25 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.7 04:16:25 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 04:16:25 go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.1.0-dev.3 04:16:25 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.1.0-dev.3 04:16:25 go: downloading github.com/gorilla/mux v1.8.0 04:16:25 go: downloading github.com/hashicorp/go-multierror v1.1.1 04:16:25 go: downloading github.com/x448/float16 v0.8.4 04:16:25 go: downloading github.com/go-logfmt/logfmt v0.5.1 04:16:25 go: downloading github.com/gabriel-vasile/mimetype v1.4.2 04:16:25 go: downloading github.com/go-playground/universal-translator v0.18.1 04:16:25 go: downloading github.com/leodido/go-urn v1.2.4 04:16:25 go: downloading golang.org/x/crypto v0.9.0 04:16:26 go: downloading golang.org/x/text v0.9.0 04:16:26 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 04:16:26 go: downloading github.com/go-playground/assert/v2 v2.2.0 04:16:26 go: downloading github.com/go-playground/locales v0.14.1 04:16:30 go: downloading github.com/mitchellh/copystructure v1.2.0 04:16:30 go: downloading github.com/gorilla/websocket v1.5.0 04:16:30 go: downloading golang.org/x/net v0.10.0 04:16:30 go: downloading golang.org/x/sync v0.2.0 04:16:30 go: downloading github.com/hashicorp/consul/api v1.22.0 04:16:30 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.6 04:16:30 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 04:16:30 go: downloading github.com/hashicorp/errwrap v1.1.0 04:16:30 go: downloading github.com/kr/pretty v0.1.0 04:16:30 go: downloading golang.org/x/sys v0.8.0 04:16:30 go: downloading github.com/mitchellh/reflectwalk v1.0.2 04:16:30 go: downloading github.com/nats-io/nats.go v1.27.1 04:16:30 go: downloading github.com/nats-io/nats-server/v2 v2.9.20 04:16:31 go: downloading github.com/go-redis/redis/v7 v7.3.0 04:16:31 go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 04:16:31 go: downloading github.com/hashicorp/go-hclog v1.5.0 04:16:31 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 04:16:31 go: downloading github.com/hashicorp/serf v0.10.1 04:16:31 go: downloading github.com/mitchellh/mapstructure v1.5.0 04:16:31 go: downloading golang.org/x/exp v0.0.0-20230321023759-10a507213a29 04:16:31 go: downloading github.com/google/go-cmp v0.5.9 04:16:31 go: downloading github.com/hashicorp/consul/sdk v0.14.0 04:16:31 go: downloading github.com/hashicorp/go-uuid v1.0.3 04:16:31 go: downloading github.com/Microsoft/go-winio v0.6.0 04:16:31 go: downloading github.com/zeebo/errs v1.3.0 04:16:31 go: downloading google.golang.org/grpc v1.53.0 04:16:33 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 04:16:33 go: downloading github.com/kr/text v0.2.0 04:16:33 go: downloading github.com/klauspost/compress v1.16.5 04:16:33 go: downloading github.com/nats-io/nkeys v0.4.4 04:16:33 go: downloading github.com/nats-io/nuid v1.0.1 04:16:33 go: downloading github.com/onsi/ginkgo v1.10.1 04:16:33 go: downloading github.com/onsi/gomega v1.7.0 04:16:33 go: downloading github.com/fatih/color v1.14.1 04:16:33 go: downloading github.com/mattn/go-colorable v0.1.13 04:16:33 go: downloading github.com/mattn/go-isatty v0.0.17 04:16:33 go: downloading github.com/mitchellh/go-homedir v1.1.0 04:16:33 go: downloading github.com/armon/go-metrics v0.4.1 04:16:35 go: downloading github.com/minio/highwayhash v1.0.2 04:16:35 go: downloading github.com/nats-io/jwt/v2 v2.4.1 04:16:35 go: downloading golang.org/x/time v0.3.0 04:16:35 go: downloading github.com/hashicorp/go-version v1.2.1 04:16:35 go: downloading github.com/pkg/errors v0.9.1 04:16:35 go: downloading github.com/hashicorp/go-msgpack v0.5.5 04:16:35 go: downloading github.com/hashicorp/memberlist v0.5.0 04:16:35 go: downloading github.com/go-jose/go-jose/v3 v3.0.0 04:16:35 go: downloading google.golang.org/protobuf v1.28.1 04:16:36 go: downloading golang.org/x/tools v0.6.0 04:16:36 go: downloading google.golang.org/genproto v0.0.0-20230223222841-637eb2293923 04:16:37 go: downloading github.com/golang/protobuf v1.5.2 04:16:38 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 04:16:38 go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 04:16:39 go: downloading github.com/pascaldekloe/goe v0.1.0 04:16:39 go: downloading github.com/google/btree v1.0.1 04:16:39 go: downloading github.com/hashicorp/go-sockaddr v1.0.2 04:16:39 go: downloading github.com/miekg/dns v1.1.41 04:16:39 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 04:16:39 go: downloading github.com/hashicorp/golang-lru v0.5.4 04:16:39 go: downloading gopkg.in/yaml.v2 v2.4.0 04:16:39 go: downloading github.com/hpcloud/tail v1.0.0 04:16:39 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 04:16:39 go: downloading golang.org/x/mod v0.8.0 04:16:39 go: downloading gopkg.in/fsnotify.v1 v1.4.7 04:16:40 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.1.0-dev.3 04:16:40 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.1.0-dev.17 04:16:40 go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.1.0-dev.12 04:16:41 go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.1.0-dev.4 04:16:41 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.3.0 04:16:41 go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.1.0-dev.5 04:16:41 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.1.0-dev.4 04:16:41 go: downloading golang.org/x/net v0.12.0 04:16:41 go: downloading golang.org/x/crypto v0.11.0 04:16:41 go: downloading golang.org/x/text v0.11.0 04:16:41 go: downloading github.com/hashicorp/consul/api v1.23.0 04:16:41 go: downloading github.com/labstack/echo/v4 v4.11.1 04:16:41 go: downloading github.com/labstack/gommon v0.4.0 04:16:42 go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible 04:16:42 go: downloading github.com/valyala/fasttemplate v1.2.2 04:16:42 go: downloading github.com/nats-io/nats.go v1.28.0 04:16:42 go: downloading github.com/mattn/go-isatty v0.0.19 04:16:42 go: downloading golang.org/x/sys v0.10.0 04:16:42 go: downloading github.com/valyala/bytebufferpool v1.0.0 04:16:45 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-new-service 04:18:36 # github.com/edgexfoundry/app-functions-sdk-go/v3/internal/webserver 04:18:36 ../internal/webserver/server.go:52:60: cannot use router (variable of type *mux.Router) as *echo.Echo value in argument to controller.NewCommonController 04:18:36 ../internal/webserver/server.go:76:13: cannot use bootstrapHandlers.ProcessCORS(webserver.config.Service.CORSConfiguration) (value of type echo.MiddlewareFunc) as mux.MiddlewareFunc value in argument to router.Use 04:18:36 ../internal/webserver/server.go:81:17: cannot use bootstrapHandlers.HandlePreflight(webserver.config.Service.CORSConfiguration) (value of type echo.MiddlewareFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to router.Methods(http.MethodOptions).MatcherFunc(func(r *http.Request, rm *mux.RouteMatch) bool {…}).HandlerFunc 04:18:36 ../internal/webserver/server.go:99:36: cannot use authenticationHook(handlerForTrigger) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to webserver.router.HandleFunc 04:18:36 ../internal/webserver/server.go:99:55: cannot use handlerForTrigger (variable of type func("net/http".ResponseWriter, *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 04:18:36 make[1]: *** [Makefile:42: build] Error 1 04:18:36 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 04:18:36 make: *** [Makefile:24: build] Error 2 [Pipeline] } 04:18:36 $ docker stop --time=1 333869bb0ac46e449b2c85ea21aba26579706e6b46a271634ebfaa8122ad6dcc 04:18:38 $ docker rm -f --volumes 333869bb0ac46e449b2c85ea21aba26579706e6b46a271634ebfaa8122ad6dcc [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 04:18:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:18:43 04:18:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:18:43 arm64: Pulling from edgex-lftools-log-publisher 04:18:43 8998bd30e6a1: Pulling fs layer 04:18:43 04944245beec: Pulling fs layer 04:18:43 699f458cf7ca: Pulling fs layer 04:18:43 765212b225bb: Pulling fs layer 04:18:43 f23df028b6ca: Pulling fs layer 04:18:43 d65c8cfc05b1: Pulling fs layer 04:18:43 2437ff75d9bd: Pulling fs layer 04:18:43 f23df028b6ca: Waiting 04:18:43 2437ff75d9bd: Waiting 04:18:43 d65c8cfc05b1: Waiting 04:18:43 765212b225bb: Waiting 04:18:43 04944245beec: Verifying Checksum 04:18:43 04944245beec: Download complete 04:18:43 765212b225bb: Verifying Checksum 04:18:43 765212b225bb: Download complete 04:18:44 f23df028b6ca: Verifying Checksum 04:18:44 f23df028b6ca: Download complete 04:18:44 d65c8cfc05b1: Verifying Checksum 04:18:44 d65c8cfc05b1: Download complete 04:18:44 699f458cf7ca: Verifying Checksum 04:18:44 699f458cf7ca: Download complete 04:18:44 8998bd30e6a1: Verifying Checksum 04:18:44 8998bd30e6a1: Download complete 04:18:47 2437ff75d9bd: Verifying Checksum 04:18:47 2437ff75d9bd: Download complete 04:18:48 8998bd30e6a1: Pull complete 04:18:49 04944245beec: Pull complete 04:18:50 699f458cf7ca: Pull complete 04:18:50 765212b225bb: Pull complete 04:18:51 f23df028b6ca: Pull complete 04:18:51 d65c8cfc05b1: Pull complete 04:19:06 2437ff75d9bd: Pull complete 04:19:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:19:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:19:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:19:06 prd-ubuntu20.04-docker-arm64-4c-16g-2885 does not seem to be running inside a container 04:19:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:19:09 $ docker top 8c4514e65f505943db762fd287708c423ecb13058072dcde5bcf8a3dd2a27450 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:19:09 ---> job-cost.sh 04:19:09 lf-activate-venv: SKIPPING 04:19:09 INFO: No Stack... 04:19:10 INFO: Retrieving Pricing Info for: v3-standard-4 04:19:11 INFO: Archiving Costs [Pipeline] sh 04:19:11 + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv 04:19:11 + cut -d, -f6 [Pipeline] lock 04:19:11 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1458-1-stack-cost] 04:19:11 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1458-1-stack-cost] did not exist. Created. 04:19:11 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1458-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:19:11 /w/workspace/app-functions-sdk-go/1@tmp/durable-8ddab746/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:19:12 + echo total: 0.10999999940395355 [Pipeline] stash 04:19:12 Warning: overwriting stash ‘stack-cost’ 04:19:13 Stashed 1 file(s) [Pipeline] } 04:19:13 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1458-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:19:13 $ docker stop --time=1 8c4514e65f505943db762fd287708c423ecb13058072dcde5bcf8a3dd2a27450 04:19:16 $ docker rm -f --volumes 8c4514e65f505943db762fd287708c423ecb13058072dcde5bcf8a3dd2a27450 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:19:17 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 04:19:19 + [ -d /w/workspace/dry_app-functions-sdk-go_PR-1458/archives ] 04:19:19 + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1458/archives 04:19:19 total 16 04:19:19 drwxr-xr-x 3 root root 4096 Aug 4 04:14 . 04:19:19 drwxrwxr-x 10 jenkins jenkins 4096 Aug 4 04:14 .. 04:19:19 drwxr-xr-x 2 root root 4096 Aug 4 04:14 cost 04:19:19 -rw-r--r-- 1 root root 93 Aug 4 04:14 cost.csv 04:19:19 + sudo chown -R jenkins:jenkins /w/workspace/dry_app-functions-sdk-go_PR-1458/archives 04:19:19 + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1458/archives 04:19:19 total 16 04:19:19 drwxr-xr-x 3 jenkins jenkins 4096 Aug 4 04:14 . 04:19:19 drwxrwxr-x 10 jenkins jenkins 4096 Aug 4 04:14 .. 04:19:19 drwxr-xr-x 2 jenkins jenkins 4096 Aug 4 04:14 cost 04:19:19 -rw-r--r-- 1 jenkins jenkins 93 Aug 4 04:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:19:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:19:20 ---> package-listing.sh 04:19:20 ++ facter osfamily 04:19:20 ++ tr '[:upper:]' '[:lower:]' 04:19:21 + OS_FAMILY=debian 04:19:21 + workspace=/w/workspace/dry_app-functions-sdk-go_PR-1458 04:19:21 + START_PACKAGES=/tmp/packages_start.txt 04:19:21 + END_PACKAGES=/tmp/packages_end.txt 04:19:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:19:21 + PACKAGES=/tmp/packages_start.txt 04:19:21 + '[' /w/workspace/dry_app-functions-sdk-go_PR-1458 ']' 04:19:21 + PACKAGES=/tmp/packages_end.txt 04:19:21 + case "${OS_FAMILY}" in 04:19:21 + dpkg -l 04:19:21 + grep '^ii' 04:19:21 + '[' -f /tmp/packages_start.txt ']' 04:19:21 + '[' -f /tmp/packages_end.txt ']' 04:19:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:19:21 + '[' /w/workspace/dry_app-functions-sdk-go_PR-1458 ']' 04:19:21 + mkdir -p /w/workspace/dry_app-functions-sdk-go_PR-1458/archives/ 04:19:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_app-functions-sdk-go_PR-1458/archives/ [Pipeline] echo 04:19:21 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-1458/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:19:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:19:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:19:22 prd-ubuntu20.04-docker-8c-8g-2884 does not seem to be running inside a container 04:19:22 $ 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-1458/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-1458 -v /w/workspace/dry_app-functions-sdk-go_PR-1458:/w/workspace/dry_app-functions-sdk-go_PR-1458:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1458@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1458@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:19:22 $ docker top a2537f8bda3fc98d858ab6edb56a90dd022f684d363ae373d0624fda0146ed9a -eo pid,comm [Pipeline] { [Pipeline] sh 04:19:22 + touch /tmp/pre-build-complete [Pipeline] sh 04:19:23 + mkdir -p /var/log/sysstat [Pipeline] sh 04:19:23 + ls /var/log/sa-host 04:19:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:19:23 provisioning config files... 04:19:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-functions-sdk-go_PR-1458@tmp/config8459532740799543022tmp [Pipeline] { [Pipeline] echo 04:19:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:19:24 ---> create-netrc.sh [Pipeline] } 04:19:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:19:24 ---> python-tools-install.sh [Pipeline] echo 04:19:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:19:24 ---> sudo-logs.sh 04:19:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:19:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:19:25 ---> job-cost.sh 04:19:25 lf-activate-venv: SKIPPING 04:19:25 DEBUG: total: 0.2199999988079071 04:19:25 INFO: Retrieving Stack Cost... 04:19:25 INFO: Retrieving Pricing Info for: v3-standard-8 04:19:25 INFO: Archiving Costs [Pipeline] echo 04:19:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:19:26 ---> logs-deploy.sh 04:19:26 lf-activate-venv: SKIPPING 04:19:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-1458/1 04:19:26 INFO: archiving workspace using pattern(s): 04:19:27 Archives upload complete. 04:19:27 INFO: archiving logs to Nexus 04:19:27 ---> uname -a: 04:19:27 Linux prd-ubuntu20-04-docker-8c-8g-2884 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 04:19:27 04:19:27 04:19:27 ---> lscpu: 04:19:27 Architecture: x86_64 04:19:27 CPU op-mode(s): 32-bit, 64-bit 04:19:27 Byte Order: Little Endian 04:19:27 Address sizes: 40 bits physical, 48 bits virtual 04:19:27 CPU(s): 8 04:19:27 On-line CPU(s) list: 0-7 04:19:27 Thread(s) per core: 1 04:19:27 Core(s) per socket: 1 04:19:27 Socket(s): 8 04:19:27 NUMA node(s): 1 04:19:27 Vendor ID: AuthenticAMD 04:19:27 CPU family: 23 04:19:27 Model: 49 04:19:27 Model name: AMD EPYC-Rome Processor 04:19:27 Stepping: 0 04:19:27 CPU MHz: 2799.998 04:19:27 BogoMIPS: 5599.99 04:19:27 Virtualization: AMD-V 04:19:27 Hypervisor vendor: KVM 04:19:27 Virtualization type: full 04:19:27 L1d cache: 256 KiB 04:19:27 L1i cache: 256 KiB 04:19:27 L2 cache: 4 MiB 04:19:27 L3 cache: 128 MiB 04:19:27 NUMA node0 CPU(s): 0-7 04:19:27 Vulnerability Itlb multihit: Not affected 04:19:27 Vulnerability L1tf: Not affected 04:19:27 Vulnerability Mds: Not affected 04:19:27 Vulnerability Meltdown: Not affected 04:19:27 Vulnerability Mmio stale data: Not affected 04:19:27 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 04:19:27 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 04:19:27 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 04:19:27 Vulnerability Srbds: Not affected 04:19:27 Vulnerability Tsx async abort: Not affected 04:19:27 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 04:19:27 04:19:27 04:19:27 ---> nproc: 04:19:27 8 04:19:27 04:19:27 04:19:27 ---> df -h: 04:19:27 Filesystem Size Used Avail Use% Mounted on 04:19:27 overlay 155G 11G 145G 7% / 04:19:27 tmpfs 64M 0 64M 0% /dev 04:19:27 tmpfs 16G 0 16G 0% /sys/fs/cgroup 04:19:27 shm 64M 0 64M 0% /dev/shm 04:19:27 /dev/vda1 155G 11G 145G 7% /facter-os 04:19:27 04:19:27 04:19:27 ---> sar -b -r -n DEV: 04:19:27 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-2884) 08/04/23 _x86_64_ (8 CPU) 04:19:27 04:19:27 04:12:25 LINUX RESTART (8 CPU) 04:19:27 04:19:27 04:13:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 04:19:27 04:14:01 91.59 10.43 81.16 0.00 1723.43 38758.68 0.00 04:19:27 04:15:01 67.47 0.18 67.29 0.00 13.46 41175.27 0.00 04:19:27 04:16:01 1.53 0.00 1.53 0.00 0.00 16.68 0.00 04:19:27 04:17:01 1.00 0.02 0.98 0.00 0.13 12.26 0.00 04:19:27 04:18:01 52.42 10.61 41.81 0.00 5157.27 8852.52 0.00 04:19:27 04:19:01 6.18 0.02 6.16 0.00 0.13 125.42 0.00 04:19:27 Average: 36.70 3.54 33.16 0.00 1149.06 14823.73 0.00 04:19:27 04:19:27 04:13:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 04:19:27 04:14:01 28036268 31433612 868812 2.64 98548 3491676 2170524 6.40 1493988 2895524 861192 04:19:27 04:15:01 28586700 31570604 737112 2.24 101564 3106260 1743896 5.14 1082580 2791244 160 04:19:27 04:16:01 28587116 31571208 736336 2.24 101612 3106264 1743896 5.14 1083108 2791256 20 04:19:27 04:17:01 28590536 31574756 732468 2.23 101632 3106260 1743896 5.14 1078520 2791256 136 04:19:27 04:18:01 28056644 31549048 735120 2.24 136116 3567068 1774100 5.23 1405676 2958556 948 04:19:27 04:19:01 28071860 31559484 725916 2.21 134720 3563812 1762364 5.19 1395736 2955308 4 04:19:27 Average: 28321521 31543119 755961 2.30 112365 3323557 1823113 5.37 1256601 2863857 143743 04:19:27 04:19:27 04:13:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 04:19:27 04:14:01 docker0 206.56 339.59 15.27 2398.70 0.00 0.00 0.00 0.00 04:19:27 04:14:01 lo 3.27 3.27 0.32 0.32 0.00 0.00 0.00 0.00 04:19:27 04:14:01 ens3 677.82 418.41 8689.10 63.51 0.00 0.00 0.00 0.00 04:19:27 04:14:01 veth2ffeb78 145.67 279.89 12.87 2040.68 0.00 0.00 0.00 0.17 04:19:27 04:15:01 docker0 0.03 0.02 0.00 0.00 0.00 0.00 0.00 0.00 04:19:27 04:15:01 lo 1.13 1.13 0.10 0.10 0.00 0.00 0.00 0.00 04:19:27 04:15:01 ens3 110.56 80.75 2523.94 81.72 0.00 0.00 0.00 0.00 04:19:27 04:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:19:27 04:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:19:27 04:16:01 ens3 11.95 5.42 12.35 0.57 0.00 0.00 0.00 0.00 04:19:27 04:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:19:27 04:17:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 04:19:27 04:17:01 ens3 0.17 0.13 0.01 0.01 0.00 0.00 0.00 0.00 04:19:27 04:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:19:27 04:18:01 lo 0.53 0.53 0.05 0.05 0.00 0.00 0.00 0.00 04:19:27 04:18:01 ens3 193.00 80.05 2923.11 5.75 0.00 0.00 0.00 0.00 04:19:27 04:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:19:27 04:19:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 04:19:27 04:19:01 ens3 0.25 0.22 0.02 0.02 0.00 0.00 0.00 0.00 04:19:27 Average: docker0 34.44 56.61 2.55 399.83 0.00 0.00 0.00 0.00 04:19:27 Average: lo 0.89 0.89 0.08 0.08 0.00 0.00 0.00 0.00 04:19:27 Average: ens3 165.64 97.50 2358.20 25.26 0.00 0.00 0.00 0.00 04:19:27 04:19:27 04:19:27 ---> sar -P ALL: 04:19:27 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-2884) 08/04/23 _x86_64_ (8 CPU) 04:19:27 04:19:27 04:12:25 LINUX RESTART (8 CPU) 04:19:27 04:19:27 04:13:01 CPU %user %nice %system %iowait %steal %idle 04:19:27 04:14:01 all 20.24 0.00 4.83 2.10 0.07 72.76 04:19:27 04:14:01 0 20.48 0.00 4.82 0.76 0.07 73.87 04:19:27 04:14:01 1 20.80 0.00 4.48 1.25 0.08 73.39 04:19:27 04:14:01 2 19.29 0.00 5.14 1.93 0.05 73.58 04:19:27 04:14:01 3 20.28 0.00 5.02 0.40 0.07 74.23 04:19:27 04:14:01 4 21.82 0.00 5.22 8.27 0.07 64.62 04:19:27 04:14:01 5 19.01 0.00 4.62 0.25 0.05 76.06 04:19:27 04:14:01 6 20.00 0.00 4.75 0.13 0.07 75.05 04:19:27 04:14:01 7 20.21 0.00 4.58 3.87 0.08 71.25 04:19:27 04:15:01 all 4.09 0.00 1.70 2.36 0.03 91.83 04:19:27 04:15:01 0 4.70 0.00 1.62 0.75 0.03 92.90 04:19:27 04:15:01 1 4.48 0.00 1.25 0.87 0.02 93.38 04:19:27 04:15:01 2 3.77 0.00 1.19 2.98 0.03 92.03 04:19:27 04:15:01 3 4.00 0.00 2.90 7.22 0.03 85.85 04:19:27 04:15:01 4 4.24 0.00 2.46 5.72 0.03 87.55 04:19:27 04:15:01 5 4.53 0.00 1.22 0.02 0.02 94.22 04:19:27 04:15:01 6 3.62 0.00 1.16 0.03 0.03 95.16 04:19:27 04:15:01 7 3.36 0.00 1.78 1.31 0.03 93.52 04:19:27 04:16:01 all 0.21 0.00 0.01 0.00 0.01 99.77 04:19:27 04:16:01 0 0.07 0.00 0.00 0.00 0.00 99.93 04:19:27 04:16:01 1 0.05 0.00 0.00 0.00 0.02 99.93 04:19:27 04:16:01 2 1.11 0.00 0.05 0.02 0.00 98.83 04:19:27 04:16:01 3 0.03 0.00 0.00 0.00 0.00 99.97 04:19:27 04:16:01 4 0.03 0.00 0.00 0.02 0.02 99.93 04:19:27 04:16:01 5 0.02 0.00 0.02 0.00 0.00 99.97 04:19:27 04:16:01 6 0.23 0.00 0.02 0.00 0.02 99.73 04:19:27 04:16:01 7 0.10 0.00 0.03 0.00 0.02 99.85 04:19:27 04:17:01 all 0.10 0.00 0.01 0.00 0.01 99.88 04:19:27 04:17:01 0 0.03 0.00 0.02 0.00 0.02 99.93 04:19:27 04:17:01 1 0.02 0.00 0.00 0.00 0.00 99.98 04:19:27 04:17:01 2 0.53 0.00 0.02 0.00 0.02 99.44 04:19:27 04:17:01 3 0.02 0.00 0.00 0.00 0.02 99.97 04:19:27 04:17:01 4 0.03 0.00 0.03 0.02 0.00 99.92 04:19:27 04:17:01 5 0.00 0.00 0.00 0.00 0.00 100.00 04:19:27 04:17:01 6 0.08 0.00 0.02 0.00 0.02 99.88 04:19:27 04:17:01 7 0.05 0.00 0.02 0.00 0.02 99.92 04:19:27 04:18:01 all 2.31 0.00 1.54 0.59 0.03 95.53 04:19:27 04:18:01 0 3.10 0.00 1.35 1.17 0.02 94.36 04:19:27 04:18:01 1 3.20 0.00 2.15 0.13 0.03 94.48 04:19:27 04:18:01 2 2.94 0.00 1.47 1.00 0.02 94.58 04:19:27 04:18:01 3 2.17 0.00 1.05 0.03 0.02 96.73 04:19:27 04:18:01 4 1.27 0.00 1.50 1.29 0.03 95.91 04:19:27 04:18:01 5 2.20 0.00 1.30 0.33 0.02 96.15 04:19:27 04:18:01 6 1.60 0.00 2.52 0.23 0.03 95.61 04:19:27 04:18:01 7 1.97 0.00 0.96 0.55 0.05 96.47 04:19:27 04:19:01 all 0.11 0.00 0.05 0.02 0.00 99.81 04:19:27 04:19:01 0 0.10 0.00 0.02 0.00 0.00 99.88 04:19:27 04:19:01 1 0.12 0.00 0.07 0.07 0.02 99.73 04:19:27 04:19:01 2 0.32 0.00 0.08 0.00 0.00 99.60 04:19:27 04:19:01 3 0.08 0.00 0.05 0.00 0.00 99.87 04:19:27 04:19:01 4 0.10 0.00 0.05 0.05 0.00 99.80 04:19:27 04:19:01 5 0.03 0.00 0.07 0.00 0.00 99.90 04:19:27 04:19:01 6 0.08 0.00 0.03 0.00 0.00 99.88 04:19:27 04:19:01 7 0.08 0.00 0.07 0.02 0.02 99.82 04:19:27 Average: all 4.48 0.00 1.35 0.84 0.02 93.30 04:19:27 Average: 0 4.73 0.00 1.30 0.45 0.02 93.51 04:19:27 Average: 1 4.75 0.00 1.32 0.38 0.03 93.51 04:19:27 Average: 2 4.61 0.00 1.31 0.98 0.02 93.07 04:19:27 Average: 3 4.41 0.00 1.50 1.27 0.02 92.80 04:19:27 Average: 4 4.55 0.00 1.53 2.54 0.03 91.35 04:19:27 Average: 5 4.27 0.00 1.20 0.10 0.01 94.42 04:19:27 Average: 6 4.26 0.00 1.41 0.07 0.03 94.24 04:19:27 Average: 7 4.27 0.00 1.23 0.95 0.04 93.51 04:19:27 04:19:27 04:19:27