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 [2023-08-04T04:13:04.462Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-04T04:13:04.654Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-04T04:13:04.747Z] ========================================================= [2023-08-04T04:13:04.747Z] EdgeX Global Pipelines Version Info [2023-08-04T04:13:04.747Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-04T04:13:05.483Z] ------------------- [2023-08-04T04:13:05.484Z] stable info: [2023-08-04T04:13:05.484Z] ------------------- [2023-08-04T04:13:05.484Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-04T04:13:05.484Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-04T04:13:05.484Z] Message: update stable to v1.0.250 [2023-08-04T04:13:06.055Z] ------------------- [2023-08-04T04:13:06.055Z] experimental info: [2023-08-04T04:13:06.055Z] ------------------- [2023-08-04T04:13:06.055Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-04T04:13:06.055Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-04T04:13:06.055Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-04T04:13:06.343Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2023-08-04T04:13:06.387Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2023-08-04T04:13:06.426Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-04T04:13:06.470Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-04T04:13:06.525Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-04T04:13:06.575Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-04T04:13:06.622Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-04T04:13:06.663Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-04T04:13:06.705Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-04T04:13:06.749Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-04T04:13:06.789Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-04T04:13:06.830Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2023-08-04T04:13:06.870Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-04T04:13:06.912Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-04T04:13:06.963Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2023-08-04T04:13:07.004Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-08-04T04:13:07.051Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-04T04:13:07.096Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-04T04:13:07.140Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-04T04:13:07.183Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-04T04:13:07.226Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-08-04T04:13:07.269Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-08-04T04:13:07.330Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-04T04:13:07.375Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-04T04:13:07.415Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2023-08-04T04:13:07.459Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-04T04:13:07.499Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-04T04:13:07.546Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1458 [Pipeline] echo [2023-08-04T04:13:07.589Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1458 [Pipeline] echo [2023-08-04T04:13:07.635Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1458 [Pipeline] echo [2023-08-04T04:13:07.678Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1155b0940e087323d637eaa286f7ee54b6a4d7c9 [Pipeline] echo [2023-08-04T04:13:07.721Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1155b09 [Pipeline] echo [2023-08-04T04:13:07.764Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-04T04:13:08.298Z] + git rev-list -1 --merges 1155b0940e087323d637eaa286f7ee54b6a4d7c9~1..1155b0940e087323d637eaa286f7ee54b6a4d7c9 [Pipeline] echo [2023-08-04T04:13:08.364Z] -----------> git rev-list -1 --merges 1155b0940e087323d637eaa286f7ee54b6a4d7c9~1..1155b0940e087323d637eaa286f7ee54b6a4d7c9 1155b0940e087323d637eaa286f7ee54b6a4d7c9 [false] [Pipeline] sh [2023-08-04T04:13:08.670Z] + git log --format=format:%s -1 1155b0940e087323d637eaa286f7ee54b6a4d7c9 [Pipeline] echo [2023-08-04T04:13:08.707Z] ========================================================= [2023-08-04T04:13:08.707Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-04T04:13:08.707Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-04T04:13:09.146Z] + git log --format=format:%s -1 1155b0940e087323d637eaa286f7ee54b6a4d7c9 [Pipeline] echo [2023-08-04T04:13:09.178Z] [semverPrep] GIT_COMMIT: 1155b0940e087323d637eaa286f7ee54b6a4d7c9, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-08-04T04:13:09.212Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-04T04:13:09.610Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-04T04:13:09.610Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-04T04:13:09.610Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-04T04:13:09.610Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-04T04:13:09.610Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-04T04:13:09.610Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-04T04:13:09.610Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T04:13:10.107Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-04T04:13:10.368Z] [2023-08-04T04:13:10.368Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T04:13:10.738Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-04T04:13:10.738Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-04T04:13:10.738Z] b85a868b505f: Pulling fs layer [2023-08-04T04:13:10.738Z] e2be974225ed: Pulling fs layer [2023-08-04T04:13:10.738Z] 339a4e72a1f5: Pulling fs layer [2023-08-04T04:13:10.738Z] 988bab9f4d93: Pulling fs layer [2023-08-04T04:13:10.738Z] 1469e6f7b9e6: Pulling fs layer [2023-08-04T04:13:10.738Z] eaf3925da568: Pulling fs layer [2023-08-04T04:13:10.738Z] bab4dde63d76: Pulling fs layer [2023-08-04T04:13:10.738Z] bde34c3a00c8: Pulling fs layer [2023-08-04T04:13:10.738Z] b352a97aabf1: Pulling fs layer [2023-08-04T04:13:10.738Z] 4872d77fe225: Pulling fs layer [2023-08-04T04:13:10.738Z] 5851b861e8e6: Pulling fs layer [2023-08-04T04:13:10.738Z] b352a97aabf1: Waiting [2023-08-04T04:13:10.738Z] bab4dde63d76: Waiting [2023-08-04T04:13:10.738Z] bde34c3a00c8: Waiting [2023-08-04T04:13:10.738Z] 4872d77fe225: Waiting [2023-08-04T04:13:10.738Z] 5851b861e8e6: Waiting [2023-08-04T04:13:10.738Z] 1469e6f7b9e6: Waiting [2023-08-04T04:13:10.738Z] 988bab9f4d93: Waiting [2023-08-04T04:13:10.998Z] e2be974225ed: Download complete [2023-08-04T04:13:10.998Z] 988bab9f4d93: Verifying Checksum [2023-08-04T04:13:10.998Z] 988bab9f4d93: Download complete [2023-08-04T04:13:10.998Z] 1469e6f7b9e6: Verifying Checksum [2023-08-04T04:13:10.998Z] 1469e6f7b9e6: Download complete [2023-08-04T04:13:10.998Z] 339a4e72a1f5: Verifying Checksum [2023-08-04T04:13:10.998Z] 339a4e72a1f5: Download complete [2023-08-04T04:13:10.998Z] eaf3925da568: Verifying Checksum [2023-08-04T04:13:10.998Z] eaf3925da568: Download complete [2023-08-04T04:13:10.998Z] bde34c3a00c8: Verifying Checksum [2023-08-04T04:13:10.998Z] bde34c3a00c8: Download complete [2023-08-04T04:13:10.998Z] b352a97aabf1: Verifying Checksum [2023-08-04T04:13:10.998Z] b352a97aabf1: Download complete [2023-08-04T04:13:10.998Z] 4872d77fe225: Verifying Checksum [2023-08-04T04:13:10.998Z] 4872d77fe225: Download complete [2023-08-04T04:13:10.998Z] 5851b861e8e6: Verifying Checksum [2023-08-04T04:13:10.998Z] 5851b861e8e6: Download complete [2023-08-04T04:13:10.998Z] b85a868b505f: Download complete [2023-08-04T04:13:11.256Z] bab4dde63d76: Verifying Checksum [2023-08-04T04:13:12.637Z] b85a868b505f: Pull complete [2023-08-04T04:13:12.637Z] e2be974225ed: Pull complete [2023-08-04T04:13:13.205Z] 339a4e72a1f5: Pull complete [2023-08-04T04:13:13.205Z] 988bab9f4d93: Pull complete [2023-08-04T04:13:13.464Z] 1469e6f7b9e6: Pull complete [2023-08-04T04:13:13.464Z] eaf3925da568: Pull complete [2023-08-04T04:13:15.371Z] bab4dde63d76: Pull complete [2023-08-04T04:13:15.371Z] bde34c3a00c8: Pull complete [2023-08-04T04:13:15.632Z] b352a97aabf1: Pull complete [2023-08-04T04:13:15.632Z] 4872d77fe225: Pull complete [2023-08-04T04:13:15.632Z] 5851b861e8e6: Pull complete [2023-08-04T04:13:15.892Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-04T04:13:15.892Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-04T04:13:15.892Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T04:13:16.135Z] prd-ubuntu20.04-docker-8c-8g-2884 does not seem to be running inside a container [2023-08-04T04:13:16.163Z] $ 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 [2023-08-04T04:13:18.928Z] $ docker top e9435f9f5836d56fde6178f05100c60a20aec28fe3e29eaa9913d241f61a342b -eo pid,comm [2023-08-04T04:13:19.010Z] 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). [2023-08-04T04:13:19.010Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-04T04:13:19.144Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-04T04:13:19.144Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-04T04:13:19.266Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-04T04:13:19.267Z] $ docker exec e9435f9f5836d56fde6178f05100c60a20aec28fe3e29eaa9913d241f61a342b ssh-agent [2023-08-04T04:13:19.384Z] SSH_AUTH_SOCK=/tmp/ssh-IwrIgVLOf3Kw/agent.32 [2023-08-04T04:13:19.384Z] SSH_AGENT_PID=38 [2023-08-04T04:13:19.391Z] Running ssh-add (command line suppressed) [2023-08-04T04:13:19.489Z] 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) [2023-08-04T04:13:19.508Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-04T04:13:19.840Z] + git tag --points-at HEAD [Pipeline] } [2023-08-04T04:13:19.862Z] $ docker exec --env ******** --env ******** e9435f9f5836d56fde6178f05100c60a20aec28fe3e29eaa9913d241f61a342b ssh-agent -k [2023-08-04T04:13:19.954Z] unset SSH_AUTH_SOCK; [2023-08-04T04:13:19.954Z] unset SSH_AGENT_PID; [2023-08-04T04:13:19.954Z] echo Agent pid 38 killed; [2023-08-04T04:13:19.967Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-04T04:13:20.060Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-04T04:13:20.060Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-04T04:13:20.165Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-04T04:13:20.167Z] $ docker exec e9435f9f5836d56fde6178f05100c60a20aec28fe3e29eaa9913d241f61a342b ssh-agent [2023-08-04T04:13:20.283Z] SSH_AUTH_SOCK=/tmp/ssh-KNo5udSKfr8f/agent.71 [2023-08-04T04:13:20.283Z] SSH_AGENT_PID=77 [2023-08-04T04:13:20.287Z] Running ssh-add (command line suppressed) [2023-08-04T04:13:20.382Z] 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) [2023-08-04T04:13:20.398Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-04T04:13:20.728Z] + git semver init [2023-08-04T04:13:20.989Z] 2023-08-04 04:13:20,908 [run_init] DEBUG init version:0.0.0 force:False [2023-08-04T04:13:20.989Z] 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 [2023-08-04T04:13:20.989Z] 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 [2023-08-04T04:13:20.989Z] 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) [2023-08-04T04:13:22.895Z] 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 [2023-08-04T04:13:22.895Z] 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 [2023-08-04T04:13:22.895Z] 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 [2023-08-04T04:13:22.895Z] 2023-08-04 04:13:22,520 [execute] INFO git cat-file --batch-check [2023-08-04T04:13:22.895Z] 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=) [2023-08-04T04:13:22.895Z] 2023-08-04 04:13:22,527 [execute] INFO git cat-file --batch [2023-08-04T04:13:22.895Z] 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=) [2023-08-04T04:13:22.895Z] 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 [2023-08-04T04:13:22.895Z] 0.0.0 [Pipeline] } [2023-08-04T04:13:22.922Z] $ docker exec --env ******** --env ******** e9435f9f5836d56fde6178f05100c60a20aec28fe3e29eaa9913d241f61a342b ssh-agent -k [2023-08-04T04:13:23.029Z] unset SSH_AUTH_SOCK; [2023-08-04T04:13:23.029Z] unset SSH_AGENT_PID; [2023-08-04T04:13:23.030Z] echo Agent pid 77 killed; [2023-08-04T04:13:23.038Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-04T04:13:23.589Z] + git semver [Pipeline] } [2023-08-04T04:13:23.878Z] $ docker stop --time=1 e9435f9f5836d56fde6178f05100c60a20aec28fe3e29eaa9913d241f61a342b [2023-08-04T04:13:25.172Z] $ docker rm -f --volumes e9435f9f5836d56fde6178f05100c60a20aec28fe3e29eaa9913d241f61a342b [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-04T04:13:25.581Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-04T04:13:25.852Z] Stashed 1 file(s) [Pipeline] echo [2023-08-04T04:13:25.868Z] [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 [2023-08-04T04:13:26.438Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-04T04:13:26.480Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-04T04:13:26.512Z] ========================================================= [2023-08-04T04:13:26.512Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-04T04:13:26.512Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-08-04T04:13:26.906Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-04T04:13:26.906Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-04T04:13:26.906Z] 4db1b89c0bd1: Pulling fs layer [2023-08-04T04:13:26.906Z] 6911f1a30b25: Pulling fs layer [2023-08-04T04:13:26.906Z] e194b8c5c2a9: Pulling fs layer [2023-08-04T04:13:26.906Z] 6863d3e3a2b1: Pulling fs layer [2023-08-04T04:13:26.906Z] ec0bb842ea78: Pulling fs layer [2023-08-04T04:13:26.906Z] 40a00589a448: Pulling fs layer [2023-08-04T04:13:26.906Z] 6c08303d61cc: Pulling fs layer [2023-08-04T04:13:26.906Z] 798269fcf238: Pulling fs layer [2023-08-04T04:13:26.906Z] ec0bb842ea78: Waiting [2023-08-04T04:13:26.906Z] 40a00589a448: Waiting [2023-08-04T04:13:26.906Z] 6c08303d61cc: Waiting [2023-08-04T04:13:26.906Z] 798269fcf238: Waiting [2023-08-04T04:13:26.906Z] 6863d3e3a2b1: Waiting [2023-08-04T04:13:26.906Z] 6911f1a30b25: Download complete [2023-08-04T04:13:26.906Z] 6863d3e3a2b1: Verifying Checksum [2023-08-04T04:13:26.906Z] 6863d3e3a2b1: Download complete [2023-08-04T04:13:26.906Z] ec0bb842ea78: Download complete [2023-08-04T04:13:26.906Z] 4db1b89c0bd1: Verifying Checksum [2023-08-04T04:13:26.906Z] 4db1b89c0bd1: Download complete [2023-08-04T04:13:26.906Z] 40a00589a448: Verifying Checksum [2023-08-04T04:13:26.906Z] 40a00589a448: Download complete [2023-08-04T04:13:27.168Z] 4db1b89c0bd1: Pull complete [2023-08-04T04:13:27.431Z] 6911f1a30b25: Pull complete [2023-08-04T04:13:27.693Z] 798269fcf238: Verifying Checksum [2023-08-04T04:13:27.693Z] 798269fcf238: Download complete [2023-08-04T04:13:27.693Z] e194b8c5c2a9: Verifying Checksum [2023-08-04T04:13:27.693Z] e194b8c5c2a9: Download complete [2023-08-04T04:13:27.693Z] 6c08303d61cc: Verifying Checksum [2023-08-04T04:13:27.693Z] 6c08303d61cc: Download complete [2023-08-04T04:13:30.977Z] e194b8c5c2a9: Pull complete [2023-08-04T04:13:30.977Z] 6863d3e3a2b1: Pull complete [2023-08-04T04:13:31.235Z] ec0bb842ea78: Pull complete [2023-08-04T04:13:31.235Z] 40a00589a448: Pull complete [2023-08-04T04:13:33.763Z] 6c08303d61cc: Pull complete [2023-08-04T04:13:34.332Z] 798269fcf238: Pull complete [2023-08-04T04:13:34.591Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-04T04:13:34.591Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-04T04:13:34.591Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] sh [2023-08-04T04:13:34.905Z] + 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 [2023-08-04T04:13:35.296Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-04T04:13:35.296Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T04:13:35.452Z] prd-ubuntu20.04-docker-8c-8g-2884 does not seem to be running inside a container [2023-08-04T04:13:35.485Z] $ 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 [2023-08-04T04:13:40.976Z] $ docker top 8d9dfce0bf79232864b27c0522da027e6bdd882e825452a333429479b05c995a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-04T04:13:41.261Z] Still waiting to schedule task [2023-08-04T04:13:41.261Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-04T04:13:41.369Z] + go version [2023-08-04T04:13:41.369Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-04T04:13:41.406Z] $ docker stop --time=1 8d9dfce0bf79232864b27c0522da027e6bdd882e825452a333429479b05c995a [2023-08-04T04:13:42.709Z] $ 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 [2023-08-04T04:13:43.425Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-04T04:13:43.425Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T04:13:43.578Z] prd-ubuntu20.04-docker-8c-8g-2884 does not seem to be running inside a container [2023-08-04T04:13:43.614Z] $ 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 [2023-08-04T04:13:43.993Z] $ docker top 58fd23ffb936f451df570c8d5c652aa2827132843131b4ed38e267e0e01f2514 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-04T04:13:44.380Z] + git config --global --add safe.directory /w/workspace/dry_app-functions-sdk-go_PR-1458 [Pipeline] fileExists [Pipeline] sh [2023-08-04T04:13:44.734Z] + make test [2023-08-04T04:13:44.734Z] make -C ./app-service-template build [2023-08-04T04:13:44.734Z] make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1458/app-service-template' [2023-08-04T04:13:44.734Z] go mod tidy [2023-08-04T04:13:44.734Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.1.0-dev.2 [2023-08-04T04:13:44.734Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 [2023-08-04T04:13:44.734Z] go: downloading github.com/google/uuid v1.3.0 [2023-08-04T04:13:44.734Z] go: downloading github.com/stretchr/testify v1.8.4 [2023-08-04T04:13:44.993Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.1.0-dev.9 [2023-08-04T04:13:44.993Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.1.0-dev.11 [2023-08-04T04:13:44.993Z] go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.1.0-dev.3 [2023-08-04T04:13:45.253Z] go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc [2023-08-04T04:13:45.253Z] go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 [2023-08-04T04:13:45.253Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2023-08-04T04:13:45.253Z] go: downloading github.com/stretchr/objx v0.5.0 [2023-08-04T04:13:45.253Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.7 [2023-08-04T04:13:45.253Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 [2023-08-04T04:13:45.253Z] go: downloading github.com/gorilla/mux v1.8.0 [2023-08-04T04:13:45.253Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2023-08-04T04:13:45.253Z] go: downloading github.com/go-playground/validator/v10 v10.14.1 [2023-08-04T04:13:45.253Z] go: downloading github.com/go-kit/log v0.2.1 [2023-08-04T04:13:45.253Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2023-08-04T04:13:45.253Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.1.0-dev.3 [2023-08-04T04:13:45.253Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.1.0-dev.3 [2023-08-04T04:13:45.513Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2023-08-04T04:13:45.513Z] go: downloading github.com/mitchellh/copystructure v1.2.0 [2023-08-04T04:13:45.513Z] go: downloading github.com/hashicorp/errwrap v1.1.0 [2023-08-04T04:13:45.513Z] go: downloading github.com/x448/float16 v0.8.4 [2023-08-04T04:13:45.513Z] go: downloading github.com/gabriel-vasile/mimetype v1.4.2 [2023-08-04T04:13:45.513Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2023-08-04T04:13:45.513Z] go: downloading golang.org/x/text v0.9.0 [2023-08-04T04:13:45.513Z] go: downloading golang.org/x/crypto v0.9.0 [2023-08-04T04:13:45.513Z] go: downloading github.com/leodido/go-urn v1.2.4 [2023-08-04T04:13:45.513Z] go: downloading github.com/go-playground/locales v0.14.1 [2023-08-04T04:13:45.770Z] go: downloading github.com/gorilla/websocket v1.5.0 [2023-08-04T04:13:46.029Z] go: downloading golang.org/x/net v0.10.0 [2023-08-04T04:13:46.288Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2023-08-04T04:13:46.288Z] go: downloading github.com/go-playground/assert/v2 v2.2.0 [2023-08-04T04:13:46.288Z] go: downloading golang.org/x/sync v0.2.0 [2023-08-04T04:13:46.288Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2023-08-04T04:13:46.288Z] go: downloading github.com/mitchellh/mapstructure v1.5.0 [2023-08-04T04:13:46.288Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.1.6 [2023-08-04T04:13:46.288Z] go: downloading github.com/hashicorp/consul/api v1.22.0 [2023-08-04T04:13:46.288Z] go: downloading github.com/nats-io/nats.go v1.27.1 [2023-08-04T04:13:46.288Z] go: downloading github.com/nats-io/nats-server/v2 v2.9.20 [2023-08-04T04:13:46.288Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2023-08-04T04:13:46.546Z] go: downloading github.com/mitchellh/reflectwalk v1.0.2 [2023-08-04T04:13:46.546Z] go: downloading golang.org/x/sys v0.8.0 [2023-08-04T04:13:46.546Z] go: downloading github.com/kr/pretty v0.1.0 [2023-08-04T04:13:46.546Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2023-08-04T04:13:46.546Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 [2023-08-04T04:13:46.546Z] go: downloading github.com/hashicorp/go-hclog v1.5.0 [2023-08-04T04:13:46.546Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2023-08-04T04:13:46.546Z] go: downloading github.com/hashicorp/serf v0.10.1 [2023-08-04T04:13:46.546Z] go: downloading golang.org/x/exp v0.0.0-20230321023759-10a507213a29 [2023-08-04T04:13:46.546Z] go: downloading github.com/google/go-cmp v0.5.9 [2023-08-04T04:13:46.546Z] go: downloading github.com/hashicorp/consul/sdk v0.14.0 [2023-08-04T04:13:46.546Z] go: downloading github.com/hashicorp/go-uuid v1.0.3 [2023-08-04T04:13:46.546Z] go: downloading github.com/Microsoft/go-winio v0.6.0 [2023-08-04T04:13:46.546Z] go: downloading github.com/zeebo/errs v1.3.0 [2023-08-04T04:13:46.546Z] go: downloading google.golang.org/grpc v1.53.0 [2023-08-04T04:13:46.805Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2023-08-04T04:13:46.805Z] go: downloading github.com/onsi/gomega v1.7.0 [2023-08-04T04:13:46.805Z] go: downloading github.com/kr/text v0.2.0 [2023-08-04T04:13:46.805Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2023-08-04T04:13:46.805Z] go: downloading github.com/klauspost/compress v1.16.5 [2023-08-04T04:13:46.805Z] go: downloading github.com/nats-io/nkeys v0.4.4 [2023-08-04T04:13:46.805Z] go: downloading github.com/nats-io/nuid v1.0.1 [2023-08-04T04:13:46.805Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2023-08-04T04:13:46.805Z] go: downloading github.com/fatih/color v1.14.1 [2023-08-04T04:13:46.805Z] go: downloading github.com/mattn/go-colorable v0.1.13 [2023-08-04T04:13:46.805Z] go: downloading github.com/mattn/go-isatty v0.0.17 [2023-08-04T04:13:46.805Z] go: downloading github.com/hashicorp/go-version v1.2.1 [2023-08-04T04:13:46.805Z] go: downloading github.com/pkg/errors v0.9.1 [2023-08-04T04:13:46.805Z] go: downloading github.com/go-jose/go-jose/v3 v3.0.0 [2023-08-04T04:13:46.805Z] go: downloading google.golang.org/protobuf v1.28.1 [2023-08-04T04:13:47.064Z] go: downloading golang.org/x/tools v0.6.0 [2023-08-04T04:13:47.064Z] go: downloading github.com/armon/go-metrics v0.4.1 [2023-08-04T04:13:47.064Z] go: downloading github.com/hashicorp/go-msgpack v0.5.5 [2023-08-04T04:13:47.064Z] go: downloading github.com/hashicorp/memberlist v0.5.0 [2023-08-04T04:13:47.064Z] go: downloading github.com/minio/highwayhash v1.0.2 [2023-08-04T04:13:47.064Z] go: downloading github.com/nats-io/jwt/v2 v2.4.1 [2023-08-04T04:13:47.064Z] go: downloading golang.org/x/time v0.3.0 [2023-08-04T04:13:47.064Z] go: downloading github.com/golang/protobuf v1.5.2 [2023-08-04T04:13:47.064Z] go: downloading google.golang.org/genproto v0.0.0-20230223222841-637eb2293923 [2023-08-04T04:13:47.064Z] go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 [2023-08-04T04:13:47.322Z] go: downloading github.com/pascaldekloe/goe v0.1.0 [2023-08-04T04:13:47.322Z] go: downloading github.com/google/btree v1.0.1 [2023-08-04T04:13:47.322Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.2 [2023-08-04T04:13:47.322Z] go: downloading github.com/miekg/dns v1.1.41 [2023-08-04T04:13:47.322Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2023-08-04T04:13:47.322Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2023-08-04T04:13:47.322Z] go: downloading github.com/hpcloud/tail v1.0.0 [2023-08-04T04:13:47.322Z] go: downloading github.com/hashicorp/golang-lru v0.5.4 [2023-08-04T04:13:47.322Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2023-08-04T04:13:47.322Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2023-08-04T04:13:47.888Z] go: downloading golang.org/x/mod v0.8.0 [2023-08-04T04:13:49.265Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.1.0-dev.3 [2023-08-04T04:13:49.265Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.3.0 [2023-08-04T04:13:49.265Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.1.0-dev.17 [2023-08-04T04:13:49.265Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.1.0-dev.12 [2023-08-04T04:13:49.265Z] go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.1.0-dev.4 [2023-08-04T04:13:49.265Z] go: downloading golang.org/x/net v0.12.0 [2023-08-04T04:13:49.265Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.1.0-dev.5 [2023-08-04T04:13:49.265Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.1.0-dev.4 [2023-08-04T04:13:49.265Z] go: downloading github.com/labstack/echo/v4 v4.11.1 [2023-08-04T04:13:49.265Z] go: downloading golang.org/x/crypto v0.11.0 [2023-08-04T04:13:49.265Z] go: downloading github.com/nats-io/nats.go v1.28.0 [2023-08-04T04:13:49.265Z] go: downloading golang.org/x/text v0.11.0 [2023-08-04T04:13:49.265Z] go: downloading github.com/hashicorp/consul/api v1.23.0 [2023-08-04T04:13:49.522Z] go: downloading golang.org/x/sys v0.10.0 [2023-08-04T04:13:49.522Z] go: downloading github.com/labstack/gommon v0.4.0 [2023-08-04T04:13:49.522Z] go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible [2023-08-04T04:13:49.522Z] go: downloading github.com/valyala/fasttemplate v1.2.2 [2023-08-04T04:13:49.522Z] go: downloading github.com/mattn/go-isatty v0.0.19 [2023-08-04T04:13:50.088Z] go: downloading github.com/valyala/bytebufferpool v1.0.0 [2023-08-04T04:13:50.348Z] 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 [2023-08-04T04:14:05.226Z] # github.com/edgexfoundry/app-functions-sdk-go/v3/internal/webserver [2023-08-04T04:14:05.226Z] ../internal/webserver/server.go:52:60: cannot use router (variable of type *mux.Router) as *echo.Echo value in argument to controller.NewCommonController [2023-08-04T04:14:05.226Z] ../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 [2023-08-04T04:14:05.226Z] ../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 [2023-08-04T04:14:05.226Z] ../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 [2023-08-04T04:14:05.226Z] ../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 [2023-08-04T04:14:05.226Z] make[1]: *** [Makefile:42: build] Error 1 [2023-08-04T04:14:05.226Z] make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1458/app-service-template' [2023-08-04T04:14:05.226Z] make: *** [Makefile:24: build] Error 2 [Pipeline] } [2023-08-04T04:14:05.277Z] $ docker stop --time=1 58fd23ffb936f451df570c8d5c652aa2827132843131b4ed38e267e0e01f2514 [2023-08-04T04:14:12.826Z] $ 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 [2023-08-04T04:14:14.296Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-04T04:14:14.296Z] [2023-08-04T04:14:14.296Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T04:14:14.671Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-04T04:14:14.671Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-04T04:14:14.671Z] 5eb5b503b376: Pulling fs layer [2023-08-04T04:14:14.671Z] 5c69ac0246d0: Pulling fs layer [2023-08-04T04:14:14.671Z] ec43610c2a17: Pulling fs layer [2023-08-04T04:14:14.671Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-04T04:14:14.671Z] 33b1e0a273af: Pulling fs layer [2023-08-04T04:14:14.671Z] 5d3b04190fa2: Pulling fs layer [2023-08-04T04:14:14.671Z] 2f39f015ded8: Pulling fs layer [2023-08-04T04:14:14.671Z] 33b1e0a273af: Waiting [2023-08-04T04:14:14.671Z] 2f39f015ded8: Waiting [2023-08-04T04:14:14.671Z] 5d3b04190fa2: Waiting [2023-08-04T04:14:14.671Z] 3a2ae6a8a46f: Waiting [2023-08-04T04:14:14.930Z] 5c69ac0246d0: Download complete [2023-08-04T04:14:14.930Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-04T04:14:14.930Z] 3a2ae6a8a46f: Download complete [2023-08-04T04:14:14.930Z] 33b1e0a273af: Verifying Checksum [2023-08-04T04:14:14.930Z] 33b1e0a273af: Download complete [2023-08-04T04:14:14.930Z] 5d3b04190fa2: Verifying Checksum [2023-08-04T04:14:14.930Z] 5d3b04190fa2: Download complete [2023-08-04T04:14:14.930Z] ec43610c2a17: Verifying Checksum [2023-08-04T04:14:14.930Z] ec43610c2a17: Download complete [2023-08-04T04:14:15.190Z] 5eb5b503b376: Verifying Checksum [2023-08-04T04:14:15.190Z] 5eb5b503b376: Download complete [2023-08-04T04:14:15.756Z] 2f39f015ded8: Download complete [2023-08-04T04:14:16.331Z] 5eb5b503b376: Pull complete [2023-08-04T04:14:16.331Z] 5c69ac0246d0: Pull complete [2023-08-04T04:14:16.898Z] ec43610c2a17: Pull complete [2023-08-04T04:14:16.898Z] 3a2ae6a8a46f: Pull complete [2023-08-04T04:14:17.163Z] 33b1e0a273af: Pull complete [2023-08-04T04:14:17.163Z] 5d3b04190fa2: Pull complete [2023-08-04T04:14:21.352Z] 2f39f015ded8: Pull complete [2023-08-04T04:14:21.352Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-04T04:14:21.352Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-04T04:14:21.352Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T04:14:21.617Z] prd-ubuntu20.04-docker-8c-8g-2884 does not seem to be running inside a container [2023-08-04T04:14:21.661Z] $ 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 [2023-08-04T04:14:25.975Z] $ docker top 49de1f46b7eab2c69b152fe47c61d433be4ce1997c2a0f5dd9f15cac9cb07b2b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-04T04:14:26.447Z] ---> job-cost.sh [2023-08-04T04:14:26.447Z] lf-activate-venv: SKIPPING [2023-08-04T04:14:26.447Z] INFO: No Stack... [2023-08-04T04:14:26.706Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-04T04:14:26.965Z] INFO: Archiving Costs [Pipeline] sh [2023-08-04T04:14:27.281Z] + cat /w/workspace/dry_app-functions-sdk-go_PR-1458/archives/cost.csv [2023-08-04T04:14:27.281Z] + cut -d, -f6 [Pipeline] lock [2023-08-04T04:14:27.319Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1458-1-stack-cost] [2023-08-04T04:14:27.324Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1458-1-stack-cost] did not exist. Created. [2023-08-04T04:14:27.324Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1458-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-04T04:14:27.723Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-04T04:14:27.791Z] Stashed 1 file(s) [Pipeline] } [2023-08-04T04:14:27.805Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1458-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-04T04:14:27.898Z] $ docker stop --time=1 49de1f46b7eab2c69b152fe47c61d433be4ce1997c2a0f5dd9f15cac9cb07b2b [2023-08-04T04:14:29.062Z] $ docker rm -f --volumes 49de1f46b7eab2c69b152fe47c61d433be4ce1997c2a0f5dd9f15cac9cb07b2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-04T04:14:29.426Z] Failed in branch amd64 [2023-08-04T04:15:14.870Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2885 in /w/workspace/dry_app-functions-sdk-go_PR-1458 [Pipeline] { [Pipeline] ws [2023-08-04T04:15:14.933Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-08-04T04:15:15.014Z] The recommended git tool is: git [2023-08-04T04:15:20.016Z] using credential edgex-jenkins-ssh [2023-08-04T04:15:20.033Z] Cloning the remote Git repository [2023-08-04T04:15:20.078Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2023-08-04T04:15:20.183Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2023-08-04T04:15:20.309Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2023-08-04T04:15:20.310Z] > git --version # timeout=10 [2023-08-04T04:15:20.332Z] > git --version # 'git version 2.25.1' [2023-08-04T04:15:20.334Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-04T04:15:20.474Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-04T04:15:23.997Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2023-08-04T04:15:24.019Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-04T04:15:24.849Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2023-08-04T04:15:24.888Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2023-08-04T04:15:24.888Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-04T04:15:24.905Z] > 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 [2023-08-04T04:15:25.468Z] Merging remotes/origin/main commit 70bcba76dc915cfbdd4128feb93bb597124cda78 into PR head commit 1155b0940e087323d637eaa286f7ee54b6a4d7c9 [2023-08-04T04:15:25.784Z] Merge succeeded, producing 1155b0940e087323d637eaa286f7ee54b6a4d7c9 [2023-08-04T04:15:25.785Z] Checking out Revision 1155b0940e087323d637eaa286f7ee54b6a4d7c9 (PR-1458) [2023-08-04T04:15:26.293Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-08-04T04:15:26.349Z] > git --version # timeout=10 [2023-08-04T04:15:26.361Z] > git --version # 'git version 2.25.1' [2023-08-04T04:15:26.383Z] fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-04T04:15:25.488Z] > git config core.sparsecheckout # timeout=10 [2023-08-04T04:15:25.563Z] > git checkout -f 1155b0940e087323d637eaa286f7ee54b6a4d7c9 # timeout=10 [2023-08-04T04:15:25.682Z] > git remote # timeout=10 [2023-08-04T04:15:25.701Z] > git config --get remote.origin.url # timeout=10 [2023-08-04T04:15:25.722Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-04T04:15:25.736Z] > git merge 70bcba76dc915cfbdd4128feb93bb597124cda78 # timeout=10 [2023-08-04T04:15:25.763Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-04T04:15:25.794Z] > git config core.sparsecheckout # timeout=10 [2023-08-04T04:15:25.817Z] > git checkout -f 1155b0940e087323d637eaa286f7ee54b6a4d7c9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-04T04:15:27.545Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-04T04:15:27.545Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-04T04:15:27.545Z] Dload Upload Total Spent Left Speed [2023-08-04T04:15:27.545Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh [2023-08-04T04:15:28.143Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-04T04:15:28.484Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-04T04:15:28.484Z] + sudo tee /etc/docker/daemon.new [2023-08-04T04:15:28.484Z] { [2023-08-04T04:15:28.484Z] "registry-mirrors": [ [2023-08-04T04:15:28.484Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-04T04:15:28.484Z] ], [2023-08-04T04:15:28.484Z] "bip": "10.250.0.254/24", [2023-08-04T04:15:28.484Z] "hosts": [ [2023-08-04T04:15:28.484Z] "tcp://0.0.0.0:5555", [2023-08-04T04:15:28.484Z] "unix:///var/run/docker.sock" [2023-08-04T04:15:28.484Z] ], [2023-08-04T04:15:28.484Z] "mtu": 1458, [2023-08-04T04:15:28.484Z] "selinux-enabled": true, [2023-08-04T04:15:28.484Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-04T04:15:28.484Z] } [Pipeline] sh [2023-08-04T04:15:28.815Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-04T04:15:29.160Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2023-08-04T04:15:47.624Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-04T04:15:47.668Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-04T04:15:47.705Z] ========================================================= [2023-08-04T04:15:47.705Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-04T04:15:47.705Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-08-04T04:15:48.116Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-04T04:15:48.725Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-04T04:15:48.725Z] edb6bdbacee9: Pulling fs layer [2023-08-04T04:15:48.725Z] 5f9638ab2659: Pulling fs layer [2023-08-04T04:15:48.725Z] 8d51d6327a98: Pulling fs layer [2023-08-04T04:15:48.725Z] 8b374f2dd631: Pulling fs layer [2023-08-04T04:15:48.725Z] ec14aa9079de: Pulling fs layer [2023-08-04T04:15:48.725Z] 2f466654f4bb: Pulling fs layer [2023-08-04T04:15:48.725Z] 554e91adad29: Pulling fs layer [2023-08-04T04:15:48.725Z] ec14aa9079de: Waiting [2023-08-04T04:15:48.725Z] 2f466654f4bb: Waiting [2023-08-04T04:15:48.725Z] 554e91adad29: Waiting [2023-08-04T04:15:48.725Z] 8b374f2dd631: Waiting [2023-08-04T04:15:48.725Z] 5f9638ab2659: Verifying Checksum [2023-08-04T04:15:48.725Z] 5f9638ab2659: Download complete [2023-08-04T04:15:48.725Z] 8b374f2dd631: Verifying Checksum [2023-08-04T04:15:48.725Z] 8b374f2dd631: Download complete [2023-08-04T04:15:48.725Z] ec14aa9079de: Verifying Checksum [2023-08-04T04:15:48.725Z] ec14aa9079de: Download complete [2023-08-04T04:15:48.725Z] edb6bdbacee9: Verifying Checksum [2023-08-04T04:15:48.725Z] edb6bdbacee9: Download complete [2023-08-04T04:15:50.172Z] edb6bdbacee9: Pull complete [2023-08-04T04:15:50.440Z] 554e91adad29: Verifying Checksum [2023-08-04T04:15:50.440Z] 554e91adad29: Download complete [2023-08-04T04:15:50.718Z] 5f9638ab2659: Pull complete [2023-08-04T04:15:51.700Z] 8d51d6327a98: Verifying Checksum [2023-08-04T04:15:51.700Z] 8d51d6327a98: Download complete [2023-08-04T04:15:51.700Z] 2f466654f4bb: Verifying Checksum [2023-08-04T04:15:51.700Z] 2f466654f4bb: Download complete [2023-08-04T04:16:04.157Z] 8d51d6327a98: Pull complete [2023-08-04T04:16:04.157Z] 8b374f2dd631: Pull complete [2023-08-04T04:16:04.157Z] ec14aa9079de: Pull complete [2023-08-04T04:16:10.817Z] 2f466654f4bb: Pull complete [2023-08-04T04:16:12.227Z] 554e91adad29: Pull complete [2023-08-04T04:16:12.227Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-04T04:16:12.227Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-04T04:16:12.227Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] sh [2023-08-04T04:16:12.564Z] + 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 [2023-08-04T04:16:12.981Z] + docker inspect -f . ci-base-image-arm64 [2023-08-04T04:16:12.981Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T04:16:13.238Z] prd-ubuntu20.04-docker-arm64-4c-16g-2885 does not seem to be running inside a container [2023-08-04T04:16:13.303Z] $ 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 [2023-08-04T04:16:16.143Z] $ docker top 6176d6070d19fdc35e1d316548011d210dc264fa60d106600ed328549f5dcbdd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-04T04:16:17.008Z] + go version [2023-08-04T04:16:17.008Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-04T04:16:17.039Z] $ docker stop --time=1 6176d6070d19fdc35e1d316548011d210dc264fa60d106600ed328549f5dcbdd [2023-08-04T04:16:18.680Z] $ 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 [2023-08-04T04:16:19.545Z] + docker inspect -f . ci-base-image-arm64 [2023-08-04T04:16:19.545Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T04:16:19.782Z] prd-ubuntu20.04-docker-arm64-4c-16g-2885 does not seem to be running inside a container [2023-08-04T04:16:19.846Z] $ 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 [2023-08-04T04:16:23.032Z] $ docker top 333869bb0ac46e449b2c85ea21aba26579706e6b46a271634ebfaa8122ad6dcc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-04T04:16:23.573Z] + git config --global --add safe.directory /w/workspace/app-functions-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-08-04T04:16:23.963Z] + make test [2023-08-04T04:16:23.963Z] make -C ./app-service-template build [2023-08-04T04:16:24.235Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2023-08-04T04:16:24.235Z] go mod tidy [2023-08-04T04:16:24.235Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.1.0-dev.2 [2023-08-04T04:16:24.235Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 [2023-08-04T04:16:24.505Z] go: downloading github.com/google/uuid v1.3.0 [2023-08-04T04:16:24.505Z] go: downloading github.com/stretchr/testify v1.8.4 [2023-08-04T04:16:24.774Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.1.0-dev.9 [2023-08-04T04:16:25.042Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.1.0-dev.11 [2023-08-04T04:16:25.042Z] go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.1.0-dev.3 [2023-08-04T04:16:25.042Z] go: downloading github.com/go-playground/validator/v10 v10.14.1 [2023-08-04T04:16:25.042Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2023-08-04T04:16:25.042Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2023-08-04T04:16:25.042Z] go: downloading github.com/go-kit/log v0.2.1 [2023-08-04T04:16:25.309Z] go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc [2023-08-04T04:16:25.309Z] go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 [2023-08-04T04:16:25.309Z] go: downloading github.com/stretchr/objx v0.5.0 [2023-08-04T04:16:25.309Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.7 [2023-08-04T04:16:25.309Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 [2023-08-04T04:16:25.309Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.1.0-dev.3 [2023-08-04T04:16:25.578Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.1.0-dev.3 [2023-08-04T04:16:25.578Z] go: downloading github.com/gorilla/mux v1.8.0 [2023-08-04T04:16:25.578Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2023-08-04T04:16:25.578Z] go: downloading github.com/x448/float16 v0.8.4 [2023-08-04T04:16:25.578Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2023-08-04T04:16:25.578Z] go: downloading github.com/gabriel-vasile/mimetype v1.4.2 [2023-08-04T04:16:25.578Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2023-08-04T04:16:25.846Z] go: downloading github.com/leodido/go-urn v1.2.4 [2023-08-04T04:16:25.846Z] go: downloading golang.org/x/crypto v0.9.0 [2023-08-04T04:16:26.118Z] go: downloading golang.org/x/text v0.9.0 [2023-08-04T04:16:26.400Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2023-08-04T04:16:26.400Z] go: downloading github.com/go-playground/assert/v2 v2.2.0 [2023-08-04T04:16:26.667Z] go: downloading github.com/go-playground/locales v0.14.1 [2023-08-04T04:16:30.025Z] go: downloading github.com/mitchellh/copystructure v1.2.0 [2023-08-04T04:16:30.026Z] go: downloading github.com/gorilla/websocket v1.5.0 [2023-08-04T04:16:30.026Z] go: downloading golang.org/x/net v0.10.0 [2023-08-04T04:16:30.026Z] go: downloading golang.org/x/sync v0.2.0 [2023-08-04T04:16:30.296Z] go: downloading github.com/hashicorp/consul/api v1.22.0 [2023-08-04T04:16:30.297Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.1.6 [2023-08-04T04:16:30.563Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2023-08-04T04:16:30.563Z] go: downloading github.com/hashicorp/errwrap v1.1.0 [2023-08-04T04:16:30.563Z] go: downloading github.com/kr/pretty v0.1.0 [2023-08-04T04:16:30.563Z] go: downloading golang.org/x/sys v0.8.0 [2023-08-04T04:16:30.563Z] go: downloading github.com/mitchellh/reflectwalk v1.0.2 [2023-08-04T04:16:30.563Z] go: downloading github.com/nats-io/nats.go v1.27.1 [2023-08-04T04:16:30.563Z] go: downloading github.com/nats-io/nats-server/v2 v2.9.20 [2023-08-04T04:16:31.147Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2023-08-04T04:16:31.147Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 [2023-08-04T04:16:31.147Z] go: downloading github.com/hashicorp/go-hclog v1.5.0 [2023-08-04T04:16:31.147Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2023-08-04T04:16:31.412Z] go: downloading github.com/hashicorp/serf v0.10.1 [2023-08-04T04:16:31.412Z] go: downloading github.com/mitchellh/mapstructure v1.5.0 [2023-08-04T04:16:31.412Z] go: downloading golang.org/x/exp v0.0.0-20230321023759-10a507213a29 [2023-08-04T04:16:31.678Z] go: downloading github.com/google/go-cmp v0.5.9 [2023-08-04T04:16:31.943Z] go: downloading github.com/hashicorp/consul/sdk v0.14.0 [2023-08-04T04:16:31.943Z] go: downloading github.com/hashicorp/go-uuid v1.0.3 [2023-08-04T04:16:31.943Z] go: downloading github.com/Microsoft/go-winio v0.6.0 [2023-08-04T04:16:31.943Z] go: downloading github.com/zeebo/errs v1.3.0 [2023-08-04T04:16:31.943Z] go: downloading google.golang.org/grpc v1.53.0 [2023-08-04T04:16:33.354Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2023-08-04T04:16:33.354Z] go: downloading github.com/kr/text v0.2.0 [2023-08-04T04:16:33.354Z] go: downloading github.com/klauspost/compress v1.16.5 [2023-08-04T04:16:33.354Z] go: downloading github.com/nats-io/nkeys v0.4.4 [2023-08-04T04:16:33.354Z] go: downloading github.com/nats-io/nuid v1.0.1 [2023-08-04T04:16:33.354Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2023-08-04T04:16:33.354Z] go: downloading github.com/onsi/gomega v1.7.0 [2023-08-04T04:16:33.354Z] go: downloading github.com/fatih/color v1.14.1 [2023-08-04T04:16:33.354Z] go: downloading github.com/mattn/go-colorable v0.1.13 [2023-08-04T04:16:33.354Z] go: downloading github.com/mattn/go-isatty v0.0.17 [2023-08-04T04:16:33.354Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2023-08-04T04:16:33.623Z] go: downloading github.com/armon/go-metrics v0.4.1 [2023-08-04T04:16:35.574Z] go: downloading github.com/minio/highwayhash v1.0.2 [2023-08-04T04:16:35.574Z] go: downloading github.com/nats-io/jwt/v2 v2.4.1 [2023-08-04T04:16:35.574Z] go: downloading golang.org/x/time v0.3.0 [2023-08-04T04:16:35.574Z] go: downloading github.com/hashicorp/go-version v1.2.1 [2023-08-04T04:16:35.574Z] go: downloading github.com/pkg/errors v0.9.1 [2023-08-04T04:16:35.574Z] go: downloading github.com/hashicorp/go-msgpack v0.5.5 [2023-08-04T04:16:35.574Z] go: downloading github.com/hashicorp/memberlist v0.5.0 [2023-08-04T04:16:35.574Z] go: downloading github.com/go-jose/go-jose/v3 v3.0.0 [2023-08-04T04:16:35.574Z] go: downloading google.golang.org/protobuf v1.28.1 [2023-08-04T04:16:36.534Z] go: downloading golang.org/x/tools v0.6.0 [2023-08-04T04:16:36.534Z] go: downloading google.golang.org/genproto v0.0.0-20230223222841-637eb2293923 [2023-08-04T04:16:37.493Z] go: downloading github.com/golang/protobuf v1.5.2 [2023-08-04T04:16:38.901Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2023-08-04T04:16:38.901Z] go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 [2023-08-04T04:16:39.167Z] go: downloading github.com/pascaldekloe/goe v0.1.0 [2023-08-04T04:16:39.167Z] go: downloading github.com/google/btree v1.0.1 [2023-08-04T04:16:39.167Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.2 [2023-08-04T04:16:39.167Z] go: downloading github.com/miekg/dns v1.1.41 [2023-08-04T04:16:39.433Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2023-08-04T04:16:39.433Z] go: downloading github.com/hashicorp/golang-lru v0.5.4 [2023-08-04T04:16:39.433Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2023-08-04T04:16:39.433Z] go: downloading github.com/hpcloud/tail v1.0.0 [2023-08-04T04:16:39.433Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2023-08-04T04:16:39.699Z] go: downloading golang.org/x/mod v0.8.0 [2023-08-04T04:16:39.699Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2023-08-04T04:16:40.656Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.1.0-dev.3 [2023-08-04T04:16:40.922Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.1.0-dev.17 [2023-08-04T04:16:40.922Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.1.0-dev.12 [2023-08-04T04:16:41.188Z] go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.1.0-dev.4 [2023-08-04T04:16:41.188Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.3.0 [2023-08-04T04:16:41.188Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.1.0-dev.5 [2023-08-04T04:16:41.188Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.1.0-dev.4 [2023-08-04T04:16:41.457Z] go: downloading golang.org/x/net v0.12.0 [2023-08-04T04:16:41.457Z] go: downloading golang.org/x/crypto v0.11.0 [2023-08-04T04:16:41.457Z] go: downloading golang.org/x/text v0.11.0 [2023-08-04T04:16:41.457Z] go: downloading github.com/hashicorp/consul/api v1.23.0 [2023-08-04T04:16:41.457Z] go: downloading github.com/labstack/echo/v4 v4.11.1 [2023-08-04T04:16:41.725Z] go: downloading github.com/labstack/gommon v0.4.0 [2023-08-04T04:16:42.682Z] go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible [2023-08-04T04:16:42.682Z] go: downloading github.com/valyala/fasttemplate v1.2.2 [2023-08-04T04:16:42.682Z] go: downloading github.com/nats-io/nats.go v1.28.0 [2023-08-04T04:16:42.682Z] go: downloading github.com/mattn/go-isatty v0.0.19 [2023-08-04T04:16:42.682Z] go: downloading golang.org/x/sys v0.10.0 [2023-08-04T04:16:42.682Z] go: downloading github.com/valyala/bytebufferpool v1.0.0 [2023-08-04T04:16:45.275Z] 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 [2023-08-04T04:18:36.900Z] # github.com/edgexfoundry/app-functions-sdk-go/v3/internal/webserver [2023-08-04T04:18:36.900Z] ../internal/webserver/server.go:52:60: cannot use router (variable of type *mux.Router) as *echo.Echo value in argument to controller.NewCommonController [2023-08-04T04:18:36.900Z] ../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 [2023-08-04T04:18:36.900Z] ../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 [2023-08-04T04:18:36.900Z] ../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 [2023-08-04T04:18:36.900Z] ../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 [2023-08-04T04:18:36.900Z] make[1]: *** [Makefile:42: build] Error 1 [2023-08-04T04:18:36.900Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2023-08-04T04:18:36.900Z] make: *** [Makefile:24: build] Error 2 [Pipeline] } [2023-08-04T04:18:36.945Z] $ docker stop --time=1 333869bb0ac46e449b2c85ea21aba26579706e6b46a271634ebfaa8122ad6dcc [2023-08-04T04:18:38.794Z] $ 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 [2023-08-04T04:18:43.242Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-04T04:18:43.242Z] [2023-08-04T04:18:43.242Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T04:18:43.636Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-04T04:18:43.904Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-04T04:18:43.904Z] 8998bd30e6a1: Pulling fs layer [2023-08-04T04:18:43.904Z] 04944245beec: Pulling fs layer [2023-08-04T04:18:43.904Z] 699f458cf7ca: Pulling fs layer [2023-08-04T04:18:43.904Z] 765212b225bb: Pulling fs layer [2023-08-04T04:18:43.904Z] f23df028b6ca: Pulling fs layer [2023-08-04T04:18:43.904Z] d65c8cfc05b1: Pulling fs layer [2023-08-04T04:18:43.904Z] 2437ff75d9bd: Pulling fs layer [2023-08-04T04:18:43.904Z] f23df028b6ca: Waiting [2023-08-04T04:18:43.904Z] 2437ff75d9bd: Waiting [2023-08-04T04:18:43.904Z] d65c8cfc05b1: Waiting [2023-08-04T04:18:43.904Z] 765212b225bb: Waiting [2023-08-04T04:18:43.904Z] 04944245beec: Verifying Checksum [2023-08-04T04:18:43.904Z] 04944245beec: Download complete [2023-08-04T04:18:43.904Z] 765212b225bb: Verifying Checksum [2023-08-04T04:18:43.904Z] 765212b225bb: Download complete [2023-08-04T04:18:44.172Z] f23df028b6ca: Verifying Checksum [2023-08-04T04:18:44.172Z] f23df028b6ca: Download complete [2023-08-04T04:18:44.172Z] d65c8cfc05b1: Verifying Checksum [2023-08-04T04:18:44.172Z] d65c8cfc05b1: Download complete [2023-08-04T04:18:44.172Z] 699f458cf7ca: Verifying Checksum [2023-08-04T04:18:44.172Z] 699f458cf7ca: Download complete [2023-08-04T04:18:44.441Z] 8998bd30e6a1: Verifying Checksum [2023-08-04T04:18:44.441Z] 8998bd30e6a1: Download complete [2023-08-04T04:18:47.023Z] 2437ff75d9bd: Verifying Checksum [2023-08-04T04:18:47.023Z] 2437ff75d9bd: Download complete [2023-08-04T04:18:48.433Z] 8998bd30e6a1: Pull complete [2023-08-04T04:18:49.015Z] 04944245beec: Pull complete [2023-08-04T04:18:50.425Z] 699f458cf7ca: Pull complete [2023-08-04T04:18:50.425Z] 765212b225bb: Pull complete [2023-08-04T04:18:51.008Z] f23df028b6ca: Pull complete [2023-08-04T04:18:51.276Z] d65c8cfc05b1: Pull complete [2023-08-04T04:19:06.286Z] 2437ff75d9bd: Pull complete [2023-08-04T04:19:06.286Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-04T04:19:06.286Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-04T04:19:06.286Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T04:19:06.575Z] prd-ubuntu20.04-docker-arm64-4c-16g-2885 does not seem to be running inside a container [2023-08-04T04:19:06.636Z] $ 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 [2023-08-04T04:19:09.016Z] $ docker top 8c4514e65f505943db762fd287708c423ecb13058072dcde5bcf8a3dd2a27450 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-04T04:19:09.590Z] ---> job-cost.sh [2023-08-04T04:19:09.855Z] lf-activate-venv: SKIPPING [2023-08-04T04:19:09.855Z] INFO: No Stack... [2023-08-04T04:19:10.120Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-04T04:19:11.076Z] INFO: Archiving Costs [Pipeline] sh [2023-08-04T04:19:11.419Z] + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv [2023-08-04T04:19:11.420Z] + cut -d, -f6 [Pipeline] lock [2023-08-04T04:19:11.499Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1458-1-stack-cost] [2023-08-04T04:19:11.505Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1458-1-stack-cost] did not exist. Created. [2023-08-04T04:19:11.505Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1458-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-04T04:19:11.909Z] /w/workspace/app-functions-sdk-go/1@tmp/durable-8ddab746/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-04T04:19:12.579Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-04T04:19:12.616Z] Warning: overwriting stash ‘stack-cost’ [2023-08-04T04:19:13.075Z] Stashed 1 file(s) [Pipeline] } [2023-08-04T04:19:13.090Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1458-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-04T04:19:13.174Z] $ docker stop --time=1 8c4514e65f505943db762fd287708c423ecb13058072dcde5bcf8a3dd2a27450 [2023-08-04T04:19:16.919Z] $ 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] } [2023-08-04T04:19:17.660Z] 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 [2023-08-04T04:19:19.696Z] + [ -d /w/workspace/dry_app-functions-sdk-go_PR-1458/archives ] [2023-08-04T04:19:19.696Z] + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1458/archives [2023-08-04T04:19:19.696Z] total 16 [2023-08-04T04:19:19.696Z] drwxr-xr-x 3 root root 4096 Aug 4 04:14 . [2023-08-04T04:19:19.696Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 4 04:14 .. [2023-08-04T04:19:19.696Z] drwxr-xr-x 2 root root 4096 Aug 4 04:14 cost [2023-08-04T04:19:19.696Z] -rw-r--r-- 1 root root 93 Aug 4 04:14 cost.csv [2023-08-04T04:19:19.696Z] + sudo chown -R jenkins:jenkins /w/workspace/dry_app-functions-sdk-go_PR-1458/archives [2023-08-04T04:19:19.696Z] + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1458/archives [2023-08-04T04:19:19.696Z] total 16 [2023-08-04T04:19:19.696Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 4 04:14 . [2023-08-04T04:19:19.696Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 4 04:14 .. [2023-08-04T04:19:19.696Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 4 04:14 cost [2023-08-04T04:19:19.696Z] -rw-r--r-- 1 jenkins jenkins 93 Aug 4 04:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-04T04:19:20.023Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T04:19:20.912Z] ---> package-listing.sh [2023-08-04T04:19:20.912Z] ++ facter osfamily [2023-08-04T04:19:20.912Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-04T04:19:21.172Z] + OS_FAMILY=debian [2023-08-04T04:19:21.172Z] + workspace=/w/workspace/dry_app-functions-sdk-go_PR-1458 [2023-08-04T04:19:21.172Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-04T04:19:21.172Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-04T04:19:21.172Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-04T04:19:21.172Z] + PACKAGES=/tmp/packages_start.txt [2023-08-04T04:19:21.172Z] + '[' /w/workspace/dry_app-functions-sdk-go_PR-1458 ']' [2023-08-04T04:19:21.172Z] + PACKAGES=/tmp/packages_end.txt [2023-08-04T04:19:21.172Z] + case "${OS_FAMILY}" in [2023-08-04T04:19:21.172Z] + dpkg -l [2023-08-04T04:19:21.172Z] + grep '^ii' [2023-08-04T04:19:21.172Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-04T04:19:21.172Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-04T04:19:21.172Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-04T04:19:21.172Z] + '[' /w/workspace/dry_app-functions-sdk-go_PR-1458 ']' [2023-08-04T04:19:21.172Z] + mkdir -p /w/workspace/dry_app-functions-sdk-go_PR-1458/archives/ [2023-08-04T04:19:21.172Z] + 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 [2023-08-04T04:19:21.207Z] 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 [2023-08-04T04:19:21.507Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T04:19:22.159Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-04T04:19:22.159Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T04:19:22.309Z] prd-ubuntu20.04-docker-8c-8g-2884 does not seem to be running inside a container [2023-08-04T04:19:22.344Z] $ 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 [2023-08-04T04:19:22.544Z] $ docker top a2537f8bda3fc98d858ab6edb56a90dd022f684d363ae373d0624fda0146ed9a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-04T04:19:22.937Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-04T04:19:23.244Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-04T04:19:23.554Z] + ls /var/log/sa-host [2023-08-04T04:19:23.554Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-04T04:19:23.774Z] provisioning config files... [2023-08-04T04:19:23.788Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-functions-sdk-go_PR-1458@tmp/config8459532740799543022tmp [Pipeline] { [Pipeline] echo [2023-08-04T04:19:23.836Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T04:19:24.152Z] ---> create-netrc.sh [Pipeline] } [2023-08-04T04:19:24.189Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-04T04:19:24.594Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-04T04:19:24.627Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T04:19:24.937Z] ---> sudo-logs.sh [2023-08-04T04:19:24.937Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-04T04:19:25.026Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T04:19:25.337Z] ---> job-cost.sh [2023-08-04T04:19:25.337Z] lf-activate-venv: SKIPPING [2023-08-04T04:19:25.337Z] DEBUG: total: 0.2199999988079071 [2023-08-04T04:19:25.337Z] INFO: Retrieving Stack Cost... [2023-08-04T04:19:25.596Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-04T04:19:25.855Z] INFO: Archiving Costs [Pipeline] echo [2023-08-04T04:19:25.891Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T04:19:26.205Z] ---> logs-deploy.sh [2023-08-04T04:19:26.205Z] lf-activate-venv: SKIPPING [2023-08-04T04:19:26.205Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-1458/1 [2023-08-04T04:19:26.205Z] INFO: archiving workspace using pattern(s): [2023-08-04T04:19:27.141Z] Archives upload complete. [2023-08-04T04:19:27.400Z] INFO: archiving logs to Nexus [2023-08-04T04:19:27.968Z] ---> uname -a: [2023-08-04T04:19:27.968Z] 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 [2023-08-04T04:19:27.968Z] [2023-08-04T04:19:27.968Z] [2023-08-04T04:19:27.968Z] ---> lscpu: [2023-08-04T04:19:27.968Z] Architecture: x86_64 [2023-08-04T04:19:27.968Z] CPU op-mode(s): 32-bit, 64-bit [2023-08-04T04:19:27.968Z] Byte Order: Little Endian [2023-08-04T04:19:27.968Z] Address sizes: 40 bits physical, 48 bits virtual [2023-08-04T04:19:27.968Z] CPU(s): 8 [2023-08-04T04:19:27.968Z] On-line CPU(s) list: 0-7 [2023-08-04T04:19:27.968Z] Thread(s) per core: 1 [2023-08-04T04:19:27.968Z] Core(s) per socket: 1 [2023-08-04T04:19:27.968Z] Socket(s): 8 [2023-08-04T04:19:27.968Z] NUMA node(s): 1 [2023-08-04T04:19:27.968Z] Vendor ID: AuthenticAMD [2023-08-04T04:19:27.968Z] CPU family: 23 [2023-08-04T04:19:27.968Z] Model: 49 [2023-08-04T04:19:27.968Z] Model name: AMD EPYC-Rome Processor [2023-08-04T04:19:27.968Z] Stepping: 0 [2023-08-04T04:19:27.968Z] CPU MHz: 2799.998 [2023-08-04T04:19:27.968Z] BogoMIPS: 5599.99 [2023-08-04T04:19:27.968Z] Virtualization: AMD-V [2023-08-04T04:19:27.968Z] Hypervisor vendor: KVM [2023-08-04T04:19:27.968Z] Virtualization type: full [2023-08-04T04:19:27.968Z] L1d cache: 256 KiB [2023-08-04T04:19:27.968Z] L1i cache: 256 KiB [2023-08-04T04:19:27.968Z] L2 cache: 4 MiB [2023-08-04T04:19:27.968Z] L3 cache: 128 MiB [2023-08-04T04:19:27.968Z] NUMA node0 CPU(s): 0-7 [2023-08-04T04:19:27.968Z] Vulnerability Itlb multihit: Not affected [2023-08-04T04:19:27.968Z] Vulnerability L1tf: Not affected [2023-08-04T04:19:27.968Z] Vulnerability Mds: Not affected [2023-08-04T04:19:27.968Z] Vulnerability Meltdown: Not affected [2023-08-04T04:19:27.968Z] Vulnerability Mmio stale data: Not affected [2023-08-04T04:19:27.968Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-08-04T04:19:27.968Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-08-04T04:19:27.968Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-08-04T04:19:27.968Z] Vulnerability Srbds: Not affected [2023-08-04T04:19:27.968Z] Vulnerability Tsx async abort: Not affected [2023-08-04T04:19:27.969Z] 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 [2023-08-04T04:19:27.969Z] [2023-08-04T04:19:27.969Z] [2023-08-04T04:19:27.969Z] ---> nproc: [2023-08-04T04:19:27.969Z] 8 [2023-08-04T04:19:27.969Z] [2023-08-04T04:19:27.969Z] [2023-08-04T04:19:27.969Z] ---> df -h: [2023-08-04T04:19:27.969Z] Filesystem Size Used Avail Use% Mounted on [2023-08-04T04:19:27.969Z] overlay 155G 11G 145G 7% / [2023-08-04T04:19:27.969Z] tmpfs 64M 0 64M 0% /dev [2023-08-04T04:19:27.969Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2023-08-04T04:19:27.969Z] shm 64M 0 64M 0% /dev/shm [2023-08-04T04:19:27.969Z] /dev/vda1 155G 11G 145G 7% /facter-os [2023-08-04T04:19:27.969Z] [2023-08-04T04:19:27.969Z] [2023-08-04T04:19:27.969Z] ---> sar -b -r -n DEV: [2023-08-04T04:19:27.969Z] Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-2884) 08/04/23 _x86_64_ (8 CPU) [2023-08-04T04:19:27.969Z] [2023-08-04T04:19:27.969Z] 04:12:25 LINUX RESTART (8 CPU) [2023-08-04T04:19:27.969Z] [2023-08-04T04:19:27.969Z] 04:13:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2023-08-04T04:19:27.969Z] 04:14:01 91.59 10.43 81.16 0.00 1723.43 38758.68 0.00 [2023-08-04T04:19:27.969Z] 04:15:01 67.47 0.18 67.29 0.00 13.46 41175.27 0.00 [2023-08-04T04:19:27.969Z] 04:16:01 1.53 0.00 1.53 0.00 0.00 16.68 0.00 [2023-08-04T04:19:27.969Z] 04:17:01 1.00 0.02 0.98 0.00 0.13 12.26 0.00 [2023-08-04T04:19:27.969Z] 04:18:01 52.42 10.61 41.81 0.00 5157.27 8852.52 0.00 [2023-08-04T04:19:27.969Z] 04:19:01 6.18 0.02 6.16 0.00 0.13 125.42 0.00 [2023-08-04T04:19:27.969Z] Average: 36.70 3.54 33.16 0.00 1149.06 14823.73 0.00 [2023-08-04T04:19:27.969Z] [2023-08-04T04:19:27.969Z] 04:13:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2023-08-04T04:19:27.969Z] 04:14:01 28036268 31433612 868812 2.64 98548 3491676 2170524 6.40 1493988 2895524 861192 [2023-08-04T04:19:27.969Z] 04:15:01 28586700 31570604 737112 2.24 101564 3106260 1743896 5.14 1082580 2791244 160 [2023-08-04T04:19:27.969Z] 04:16:01 28587116 31571208 736336 2.24 101612 3106264 1743896 5.14 1083108 2791256 20 [2023-08-04T04:19:27.969Z] 04:17:01 28590536 31574756 732468 2.23 101632 3106260 1743896 5.14 1078520 2791256 136 [2023-08-04T04:19:27.969Z] 04:18:01 28056644 31549048 735120 2.24 136116 3567068 1774100 5.23 1405676 2958556 948 [2023-08-04T04:19:27.969Z] 04:19:01 28071860 31559484 725916 2.21 134720 3563812 1762364 5.19 1395736 2955308 4 [2023-08-04T04:19:27.969Z] Average: 28321521 31543119 755961 2.30 112365 3323557 1823113 5.37 1256601 2863857 143743 [2023-08-04T04:19:27.969Z] [2023-08-04T04:19:27.969Z] 04:13:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2023-08-04T04:19:27.969Z] 04:14:01 docker0 206.56 339.59 15.27 2398.70 0.00 0.00 0.00 0.00 [2023-08-04T04:19:27.969Z] 04:14:01 lo 3.27 3.27 0.32 0.32 0.00 0.00 0.00 0.00 [2023-08-04T04:19:27.969Z] 04:14:01 ens3 677.82 418.41 8689.10 63.51 0.00 0.00 0.00 0.00 [2023-08-04T04:19:27.969Z] 04:14:01 veth2ffeb78 145.67 279.89 12.87 2040.68 0.00 0.00 0.00 0.17 [2023-08-04T04:19:27.969Z] 04:15:01 docker0 0.03 0.02 0.00 0.00 0.00 0.00 0.00 0.00 [2023-08-04T04:19:27.969Z] 04:15:01 lo 1.13 1.13 0.10 0.10 0.00 0.00 0.00 0.00 [2023-08-04T04:19:27.969Z] 04:15:01 ens3 110.56 80.75 2523.94 81.72 0.00 0.00 0.00 0.00 [2023-08-04T04:19:27.969Z] 04:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-08-04T04:19:27.969Z] 04:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-08-04T04:19:27.969Z] 04:16:01 ens3 11.95 5.42 12.35 0.57 0.00 0.00 0.00 0.00 [2023-08-04T04:19:27.969Z] 04:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-08-04T04:19:27.969Z] 04:17:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2023-08-04T04:19:27.969Z] 04:17:01 ens3 0.17 0.13 0.01 0.01 0.00 0.00 0.00 0.00 [2023-08-04T04:19:27.969Z] 04:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-08-04T04:19:27.969Z] 04:18:01 lo 0.53 0.53 0.05 0.05 0.00 0.00 0.00 0.00 [2023-08-04T04:19:27.969Z] 04:18:01 ens3 193.00 80.05 2923.11 5.75 0.00 0.00 0.00 0.00 [2023-08-04T04:19:27.969Z] 04:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-08-04T04:19:27.969Z] 04:19:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2023-08-04T04:19:27.969Z] 04:19:01 ens3 0.25 0.22 0.02 0.02 0.00 0.00 0.00 0.00 [2023-08-04T04:19:27.969Z] Average: docker0 34.44 56.61 2.55 399.83 0.00 0.00 0.00 0.00 [2023-08-04T04:19:27.969Z] Average: lo 0.89 0.89 0.08 0.08 0.00 0.00 0.00 0.00 [2023-08-04T04:19:27.969Z] Average: ens3 165.64 97.50 2358.20 25.26 0.00 0.00 0.00 0.00 [2023-08-04T04:19:27.969Z] [2023-08-04T04:19:27.969Z] [2023-08-04T04:19:27.969Z] ---> sar -P ALL: [2023-08-04T04:19:27.969Z] Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-2884) 08/04/23 _x86_64_ (8 CPU) [2023-08-04T04:19:27.969Z] [2023-08-04T04:19:27.969Z] 04:12:25 LINUX RESTART (8 CPU) [2023-08-04T04:19:27.969Z] [2023-08-04T04:19:27.969Z] 04:13:01 CPU %user %nice %system %iowait %steal %idle [2023-08-04T04:19:27.969Z] 04:14:01 all 20.24 0.00 4.83 2.10 0.07 72.76 [2023-08-04T04:19:27.969Z] 04:14:01 0 20.48 0.00 4.82 0.76 0.07 73.87 [2023-08-04T04:19:27.969Z] 04:14:01 1 20.80 0.00 4.48 1.25 0.08 73.39 [2023-08-04T04:19:27.969Z] 04:14:01 2 19.29 0.00 5.14 1.93 0.05 73.58 [2023-08-04T04:19:27.969Z] 04:14:01 3 20.28 0.00 5.02 0.40 0.07 74.23 [2023-08-04T04:19:27.969Z] 04:14:01 4 21.82 0.00 5.22 8.27 0.07 64.62 [2023-08-04T04:19:27.969Z] 04:14:01 5 19.01 0.00 4.62 0.25 0.05 76.06 [2023-08-04T04:19:27.969Z] 04:14:01 6 20.00 0.00 4.75 0.13 0.07 75.05 [2023-08-04T04:19:27.969Z] 04:14:01 7 20.21 0.00 4.58 3.87 0.08 71.25 [2023-08-04T04:19:27.969Z] 04:15:01 all 4.09 0.00 1.70 2.36 0.03 91.83 [2023-08-04T04:19:27.969Z] 04:15:01 0 4.70 0.00 1.62 0.75 0.03 92.90 [2023-08-04T04:19:27.969Z] 04:15:01 1 4.48 0.00 1.25 0.87 0.02 93.38 [2023-08-04T04:19:27.969Z] 04:15:01 2 3.77 0.00 1.19 2.98 0.03 92.03 [2023-08-04T04:19:27.969Z] 04:15:01 3 4.00 0.00 2.90 7.22 0.03 85.85 [2023-08-04T04:19:27.969Z] 04:15:01 4 4.24 0.00 2.46 5.72 0.03 87.55 [2023-08-04T04:19:27.969Z] 04:15:01 5 4.53 0.00 1.22 0.02 0.02 94.22 [2023-08-04T04:19:27.969Z] 04:15:01 6 3.62 0.00 1.16 0.03 0.03 95.16 [2023-08-04T04:19:27.969Z] 04:15:01 7 3.36 0.00 1.78 1.31 0.03 93.52 [2023-08-04T04:19:27.969Z] 04:16:01 all 0.21 0.00 0.01 0.00 0.01 99.77 [2023-08-04T04:19:27.969Z] 04:16:01 0 0.07 0.00 0.00 0.00 0.00 99.93 [2023-08-04T04:19:27.969Z] 04:16:01 1 0.05 0.00 0.00 0.00 0.02 99.93 [2023-08-04T04:19:27.969Z] 04:16:01 2 1.11 0.00 0.05 0.02 0.00 98.83 [2023-08-04T04:19:27.969Z] 04:16:01 3 0.03 0.00 0.00 0.00 0.00 99.97 [2023-08-04T04:19:27.969Z] 04:16:01 4 0.03 0.00 0.00 0.02 0.02 99.93 [2023-08-04T04:19:27.969Z] 04:16:01 5 0.02 0.00 0.02 0.00 0.00 99.97 [2023-08-04T04:19:27.969Z] 04:16:01 6 0.23 0.00 0.02 0.00 0.02 99.73 [2023-08-04T04:19:27.969Z] 04:16:01 7 0.10 0.00 0.03 0.00 0.02 99.85 [2023-08-04T04:19:27.969Z] 04:17:01 all 0.10 0.00 0.01 0.00 0.01 99.88 [2023-08-04T04:19:27.969Z] 04:17:01 0 0.03 0.00 0.02 0.00 0.02 99.93 [2023-08-04T04:19:27.969Z] 04:17:01 1 0.02 0.00 0.00 0.00 0.00 99.98 [2023-08-04T04:19:27.969Z] 04:17:01 2 0.53 0.00 0.02 0.00 0.02 99.44 [2023-08-04T04:19:27.969Z] 04:17:01 3 0.02 0.00 0.00 0.00 0.02 99.97 [2023-08-04T04:19:27.969Z] 04:17:01 4 0.03 0.00 0.03 0.02 0.00 99.92 [2023-08-04T04:19:27.969Z] 04:17:01 5 0.00 0.00 0.00 0.00 0.00 100.00 [2023-08-04T04:19:27.969Z] 04:17:01 6 0.08 0.00 0.02 0.00 0.02 99.88 [2023-08-04T04:19:27.969Z] 04:17:01 7 0.05 0.00 0.02 0.00 0.02 99.92 [2023-08-04T04:19:27.969Z] 04:18:01 all 2.31 0.00 1.54 0.59 0.03 95.53 [2023-08-04T04:19:27.969Z] 04:18:01 0 3.10 0.00 1.35 1.17 0.02 94.36 [2023-08-04T04:19:27.969Z] 04:18:01 1 3.20 0.00 2.15 0.13 0.03 94.48 [2023-08-04T04:19:27.969Z] 04:18:01 2 2.94 0.00 1.47 1.00 0.02 94.58 [2023-08-04T04:19:27.969Z] 04:18:01 3 2.17 0.00 1.05 0.03 0.02 96.73 [2023-08-04T04:19:27.969Z] 04:18:01 4 1.27 0.00 1.50 1.29 0.03 95.91 [2023-08-04T04:19:27.969Z] 04:18:01 5 2.20 0.00 1.30 0.33 0.02 96.15 [2023-08-04T04:19:27.969Z] 04:18:01 6 1.60 0.00 2.52 0.23 0.03 95.61 [2023-08-04T04:19:27.969Z] 04:18:01 7 1.97 0.00 0.96 0.55 0.05 96.47 [2023-08-04T04:19:27.969Z] 04:19:01 all 0.11 0.00 0.05 0.02 0.00 99.81 [2023-08-04T04:19:27.969Z] 04:19:01 0 0.10 0.00 0.02 0.00 0.00 99.88 [2023-08-04T04:19:27.969Z] 04:19:01 1 0.12 0.00 0.07 0.07 0.02 99.73 [2023-08-04T04:19:27.969Z] 04:19:01 2 0.32 0.00 0.08 0.00 0.00 99.60 [2023-08-04T04:19:27.969Z] 04:19:01 3 0.08 0.00 0.05 0.00 0.00 99.87 [2023-08-04T04:19:27.969Z] 04:19:01 4 0.10 0.00 0.05 0.05 0.00 99.80 [2023-08-04T04:19:27.969Z] 04:19:01 5 0.03 0.00 0.07 0.00 0.00 99.90 [2023-08-04T04:19:27.969Z] 04:19:01 6 0.08 0.00 0.03 0.00 0.00 99.88 [2023-08-04T04:19:27.969Z] 04:19:01 7 0.08 0.00 0.07 0.02 0.02 99.82 [2023-08-04T04:19:27.969Z] Average: all 4.48 0.00 1.35 0.84 0.02 93.30 [2023-08-04T04:19:27.969Z] Average: 0 4.73 0.00 1.30 0.45 0.02 93.51 [2023-08-04T04:19:27.969Z] Average: 1 4.75 0.00 1.32 0.38 0.03 93.51 [2023-08-04T04:19:27.969Z] Average: 2 4.61 0.00 1.31 0.98 0.02 93.07 [2023-08-04T04:19:27.969Z] Average: 3 4.41 0.00 1.50 1.27 0.02 92.80 [2023-08-04T04:19:27.969Z] Average: 4 4.55 0.00 1.53 2.54 0.03 91.35 [2023-08-04T04:19:27.969Z] Average: 5 4.27 0.00 1.20 0.10 0.01 94.42 [2023-08-04T04:19:27.969Z] Average: 6 4.26 0.00 1.41 0.07 0.03 94.24 [2023-08-04T04:19:27.969Z] Average: 7 4.27 0.00 1.23 0.95 0.04 93.51 [2023-08-04T04:19:27.969Z] [2023-08-04T04:19:27.969Z] [2023-08-04T04:19:27.969Z]