Pull request #1482 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 9cd28d4d4a5bc8db9656689291c11025f19df96c+12e75c517fbad15ae7b7eea4d988b8d205486d3f (bb548bef4da1fe1bf160875d38083ef9e021cef6) 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-ssh7051902197388372614.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh11704940837831088748.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 e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1482/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1482/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6901307022924419381.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9692100505622191366.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1482/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1482/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5976832052167527996.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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.21 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-7490 in /w/workspace/dry_app-functions-sdk-go_PR-1482 [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-1482 # 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 12e75c517fbad15ae7b7eea4d988b8d205486d3f into PR head commit 9cd28d4d4a5bc8db9656689291c11025f19df96c Merge succeeded, producing a520c96256cd87171b8801829145da1bbcd05146 Checking out Revision a520c96256cd87171b8801829145da1bbcd05146 (PR-1482) > 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/1482/head:refs/remotes/origin/PR-1482 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9cd28d4d4a5bc8db9656689291c11025f19df96c # 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 12e75c517fbad15ae7b7eea4d988b8d205486d3f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a520c96256cd87171b8801829145da1bbcd05146 # timeout=10 Commit message: "Merge commit '12e75c517fbad15ae7b7eea4d988b8d205486d3f' into HEAD" > git rev-list --no-walk 78362c169f6bb7b0b42a33a9d41b284a645e6ab6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-20T21:45:36.972Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-20T21:45:37.032Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-20T21:45:37.057Z] ========================================================= [2023-09-20T21:45:37.057Z] EdgeX Global Pipelines Version Info [2023-09-20T21:45:37.057Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:45:37.763Z] ------------------- [2023-09-20T21:45:37.763Z] stable info: [2023-09-20T21:45:37.763Z] ------------------- [2023-09-20T21:45:37.763Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-20T21:45:37.763Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T21:45:37.763Z] Message: update stable to v1.0.254 [2023-09-20T21:45:42.548Z] ------------------- [2023-09-20T21:45:42.549Z] experimental info: [2023-09-20T21:45:42.549Z] ------------------- [2023-09-20T21:45:42.549Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-20T21:45:42.549Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T21:45:42.549Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-20T21:45:42.711Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2023-09-20T21:45:42.722Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2023-09-20T21:45:42.734Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-20T21:45:42.746Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-20T21:45:42.757Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-20T21:45:42.771Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-20T21:45:42.783Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-20T21:45:42.796Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-20T21:45:42.812Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-20T21:45:42.831Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-20T21:45:42.851Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-20T21:45:42.869Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2023-09-20T21:45:42.888Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-20T21:45:42.908Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-20T21:45:42.926Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T21:45:42.939Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T21:45:42.951Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T21:45:42.967Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T21:45:42.979Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-20T21:45:42.995Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-20T21:45:43.007Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-09-20T21:45:43.019Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-09-20T21:45:43.030Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-20T21:45:43.042Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-20T21:45:43.054Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2023-09-20T21:45:43.069Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-20T21:45:43.088Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-20T21:45:43.108Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1482 [Pipeline] echo [2023-09-20T21:45:43.125Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1482 [Pipeline] echo [2023-09-20T21:45:43.143Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1482 [Pipeline] echo [2023-09-20T21:45:43.162Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a520c96256cd87171b8801829145da1bbcd05146 [Pipeline] echo [2023-09-20T21:45:43.173Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a520c96 [Pipeline] echo [2023-09-20T21:45:43.189Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-20T21:45:51.388Z] + git rev-list -1 --merges a520c96256cd87171b8801829145da1bbcd05146~1..a520c96256cd87171b8801829145da1bbcd05146 [Pipeline] echo [2023-09-20T21:45:51.433Z] -----------> git rev-list -1 --merges a520c96256cd87171b8801829145da1bbcd05146~1..a520c96256cd87171b8801829145da1bbcd05146 a520c96256cd87171b8801829145da1bbcd05146 [2023-09-20T21:45:51.433Z] a520c96256cd87171b8801829145da1bbcd05146 [false] [Pipeline] sh [2023-09-20T21:45:54.987Z] + git log --format=format:%s -1 a520c96256cd87171b8801829145da1bbcd05146 [Pipeline] echo [2023-09-20T21:45:54.999Z] ========================================================= [2023-09-20T21:45:54.999Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-20T21:45:54.999Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T21:45:55.321Z] + git log --format=format:%s -1 a520c96256cd87171b8801829145da1bbcd05146 [Pipeline] echo [2023-09-20T21:45:55.334Z] [semverPrep] GIT_COMMIT: a520c96256cd87171b8801829145da1bbcd05146, Commit Message: Merge commit '12e75c517fbad15ae7b7eea4d988b8d205486d3f' into HEAD [Pipeline] echo [2023-09-20T21:45:55.346Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-20T21:45:55.713Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T21:45:55.713Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-20T21:45:55.713Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-20T21:45:55.713Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-20T21:45:55.713Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-20T21:45:55.713Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-20T21:45:55.713Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:45:56.084Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T21:45:56.084Z] [2023-09-20T21:45:56.084Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:45:56.388Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T21:45:56.388Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-20T21:45:56.388Z] b85a868b505f: Pulling fs layer [2023-09-20T21:45:56.388Z] e2be974225ed: Pulling fs layer [2023-09-20T21:45:56.388Z] 339a4e72a1f5: Pulling fs layer [2023-09-20T21:45:56.388Z] 988bab9f4d93: Pulling fs layer [2023-09-20T21:45:56.388Z] 1469e6f7b9e6: Pulling fs layer [2023-09-20T21:45:56.388Z] eaf3925da568: Pulling fs layer [2023-09-20T21:45:56.388Z] bab4dde63d76: Pulling fs layer [2023-09-20T21:45:56.388Z] bde34c3a00c8: Pulling fs layer [2023-09-20T21:45:56.388Z] b352a97aabf1: Pulling fs layer [2023-09-20T21:45:56.388Z] 4872d77fe225: Pulling fs layer [2023-09-20T21:45:56.388Z] 5851b861e8e6: Pulling fs layer [2023-09-20T21:45:56.388Z] 988bab9f4d93: Waiting [2023-09-20T21:45:56.388Z] bde34c3a00c8: Waiting [2023-09-20T21:45:56.388Z] 5851b861e8e6: Waiting [2023-09-20T21:45:56.388Z] 4872d77fe225: Waiting [2023-09-20T21:45:56.388Z] b352a97aabf1: Waiting [2023-09-20T21:45:56.388Z] eaf3925da568: Waiting [2023-09-20T21:45:56.388Z] bab4dde63d76: Waiting [2023-09-20T21:45:56.388Z] 1469e6f7b9e6: Waiting [2023-09-20T21:45:56.388Z] 988bab9f4d93: Verifying Checksum [2023-09-20T21:45:56.388Z] 988bab9f4d93: Download complete [2023-09-20T21:45:56.647Z] 1469e6f7b9e6: Verifying Checksum [2023-09-20T21:45:56.647Z] 339a4e72a1f5: Verifying Checksum [2023-09-20T21:45:56.647Z] 339a4e72a1f5: Download complete [2023-09-20T21:45:56.647Z] eaf3925da568: Download complete [2023-09-20T21:45:56.647Z] bde34c3a00c8: Verifying Checksum [2023-09-20T21:45:56.647Z] bde34c3a00c8: Download complete [2023-09-20T21:45:56.647Z] b352a97aabf1: Download complete [2023-09-20T21:45:56.647Z] 4872d77fe225: Verifying Checksum [2023-09-20T21:45:56.647Z] 4872d77fe225: Download complete [2023-09-20T21:45:56.647Z] 5851b861e8e6: Verifying Checksum [2023-09-20T21:45:56.647Z] 5851b861e8e6: Download complete [2023-09-20T21:45:56.647Z] b85a868b505f: Download complete [2023-09-20T21:45:56.906Z] bab4dde63d76: Verifying Checksum [2023-09-20T21:45:56.907Z] bab4dde63d76: Download complete [2023-09-20T21:45:57.842Z] b85a868b505f: Pull complete [2023-09-20T21:45:57.842Z] e2be974225ed: Pull complete [2023-09-20T21:45:58.409Z] 339a4e72a1f5: Pull complete [2023-09-20T21:45:58.409Z] 988bab9f4d93: Pull complete [2023-09-20T21:45:58.980Z] 1469e6f7b9e6: Pull complete [2023-09-20T21:45:58.980Z] eaf3925da568: Pull complete [2023-09-20T21:46:00.890Z] bab4dde63d76: Pull complete [2023-09-20T21:46:00.890Z] bde34c3a00c8: Pull complete [2023-09-20T21:46:00.890Z] b352a97aabf1: Pull complete [2023-09-20T21:46:00.890Z] 4872d77fe225: Pull complete [2023-09-20T21:46:00.890Z] 5851b861e8e6: Pull complete [2023-09-20T21:46:00.890Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-20T21:46:00.890Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T21:46:00.890Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:46:00.978Z] prd-ubuntu20.04-docker-8c-8g-7490 does not seem to be running inside a container [2023-09-20T21:46:01.154Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-functions-sdk-go_PR-1482 -v /w/workspace/dry_app-functions-sdk-go_PR-1482:/w/workspace/dry_app-functions-sdk-go_PR-1482:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1482@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1482@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-20T21:46:03.562Z] $ docker top 04b97eb9fd8b6bb9e78d11e282376da3657a8096f0e29e797d56daf766af06df -eo pid,comm [2023-09-20T21:46:03.469Z] 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-09-20T21:46:03.469Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T21:46:03.512Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T21:46:03.512Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T21:46:03.619Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T21:46:03.780Z] $ docker exec 04b97eb9fd8b6bb9e78d11e282376da3657a8096f0e29e797d56daf766af06df ssh-agent [2023-09-20T21:46:03.727Z] SSH_AUTH_SOCK=/tmp/ssh-phmcNKwmKENq/agent.32 [2023-09-20T21:46:03.727Z] SSH_AGENT_PID=38 [2023-09-20T21:46:03.734Z] Running ssh-add (command line suppressed) [2023-09-20T21:46:03.992Z] Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1482@tmp/private_key_16591940381674608133.key (/w/workspace/dry_app-functions-sdk-go_PR-1482@tmp/private_key_16591940381674608133.key) [2023-09-20T21:46:03.849Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T21:46:04.136Z] + git tag --points-at HEAD [Pipeline] } [2023-09-20T21:46:04.313Z] $ docker exec --env ******** --env ******** 04b97eb9fd8b6bb9e78d11e282376da3657a8096f0e29e797d56daf766af06df ssh-agent -k [2023-09-20T21:46:04.412Z] unset SSH_AUTH_SOCK; [2023-09-20T21:46:04.412Z] unset SSH_AGENT_PID; [2023-09-20T21:46:04.412Z] echo Agent pid 38 killed; [2023-09-20T21:46:04.262Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-20T21:46:04.288Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T21:46:04.288Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T21:46:04.402Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T21:46:04.566Z] $ docker exec 04b97eb9fd8b6bb9e78d11e282376da3657a8096f0e29e797d56daf766af06df ssh-agent [2023-09-20T21:46:04.514Z] SSH_AUTH_SOCK=/tmp/ssh-mu39jxD6p49J/agent.71 [2023-09-20T21:46:04.514Z] SSH_AGENT_PID=77 [2023-09-20T21:46:04.518Z] Running ssh-add (command line suppressed) [2023-09-20T21:46:04.776Z] Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1482@tmp/private_key_9265710538755834667.key (/w/workspace/dry_app-functions-sdk-go_PR-1482@tmp/private_key_9265710538755834667.key) [2023-09-20T21:46:04.627Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T21:46:04.911Z] + git semver init [2023-09-20T21:46:05.169Z] 2023-09-20 21:46:05,246 [run_init] DEBUG init version:0.0.0 force:False [2023-09-20T21:46:05.169Z] 2023-09-20 21:46:05,247 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-functions-sdk-go_PR-1482/.semver [2023-09-20T21:46:05.169Z] 2023-09-20 21:46:05,247 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-functions-sdk-go.git /w/workspace/dry_app-functions-sdk-go_PR-1482/.semver [2023-09-20T21:46:05.169Z] 2023-09-20 21:46:05,248 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-functions-sdk-go.git', '/w/workspace/dry_app-functions-sdk-go_PR-1482/.semver'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1482, universal_newlines=False, shell=None, istream=None) [2023-09-20T21:46:07.071Z] 2023-09-20 21:46:06,843 [append_file] DEBUG append to file:/w/workspace/dry_app-functions-sdk-go_PR-1482/.git/info/exclude [2023-09-20T21:46:07.071Z] 2023-09-20 21:46:06,844 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_app-functions-sdk-go_PR-1482/.semver/PR-1482 with force:False [2023-09-20T21:46:07.072Z] 2023-09-20 21:46:06,844 [write_file] DEBUG write to file:/w/workspace/dry_app-functions-sdk-go_PR-1482/.semver/PR-1482 [2023-09-20T21:46:07.072Z] 2023-09-20 21:46:06,847 [execute] INFO git cat-file --batch-check [2023-09-20T21:46:07.072Z] 2023-09-20 21:46:06,847 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1482/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T21:46:07.072Z] 2023-09-20 21:46:06,855 [execute] INFO git cat-file --batch [2023-09-20T21:46:07.072Z] 2023-09-20 21:46:06,855 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1482/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T21:46:07.072Z] 2023-09-20 21:46:06,861 [read_version] DEBUG read version from /w/workspace/dry_app-functions-sdk-go_PR-1482/.semver/PR-1482 [2023-09-20T21:46:07.072Z] 0.0.0 [Pipeline] } [2023-09-20T21:46:07.250Z] $ docker exec --env ******** --env ******** 04b97eb9fd8b6bb9e78d11e282376da3657a8096f0e29e797d56daf766af06df ssh-agent -k [2023-09-20T21:46:07.353Z] unset SSH_AUTH_SOCK; [2023-09-20T21:46:07.354Z] unset SSH_AGENT_PID; [2023-09-20T21:46:07.354Z] echo Agent pid 77 killed; [2023-09-20T21:46:07.192Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T21:46:07.500Z] + git semver [Pipeline] } [2023-09-20T21:46:07.941Z] $ docker stop --time=1 04b97eb9fd8b6bb9e78d11e282376da3657a8096f0e29e797d56daf766af06df [2023-09-20T21:46:09.234Z] $ docker rm -f --volumes 04b97eb9fd8b6bb9e78d11e282376da3657a8096f0e29e797d56daf766af06df [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T21:46:09.393Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-20T21:46:09.594Z] Stashed 1 file(s) [Pipeline] echo [2023-09-20T21:46:09.596Z] [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-09-20T21:46:09.857Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T21:46:09.873Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T21:46:09.884Z] ========================================================= [2023-09-20T21:46:09.884Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-20T21:46:09.884Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-09-20T21:46:10.035Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7475 in /w/workspace/dry_app-functions-sdk-go_PR-1482 [Pipeline] { [Pipeline] ws [2023-09-20T21:46:10.049Z] Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout [2023-09-20T21:46:10.086Z] The recommended git tool is: git [2023-09-20T21:46:10.189Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-20T21:46:10.189Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-20T21:46:10.189Z] 7264a8db6415: Pulling fs layer [2023-09-20T21:46:10.189Z] c4d48a809fc2: Pulling fs layer [2023-09-20T21:46:10.189Z] 4f1c88b9dad5: Pulling fs layer [2023-09-20T21:46:10.189Z] ad3a456e5733: Pulling fs layer [2023-09-20T21:46:10.189Z] 33e27b845d1e: Pulling fs layer [2023-09-20T21:46:10.189Z] c68163c4e522: Pulling fs layer [2023-09-20T21:46:10.189Z] 50da416c3ac9: Pulling fs layer [2023-09-20T21:46:10.189Z] 23d2d4c4bb30: Pulling fs layer [2023-09-20T21:46:10.189Z] ad3a456e5733: Waiting [2023-09-20T21:46:10.189Z] 33e27b845d1e: Waiting [2023-09-20T21:46:10.189Z] 23d2d4c4bb30: Waiting [2023-09-20T21:46:10.189Z] 50da416c3ac9: Waiting [2023-09-20T21:46:10.189Z] c4d48a809fc2: Download complete [2023-09-20T21:46:10.189Z] ad3a456e5733: Download complete [2023-09-20T21:46:10.189Z] 33e27b845d1e: Verifying Checksum [2023-09-20T21:46:10.189Z] 33e27b845d1e: Download complete [2023-09-20T21:46:10.189Z] 7264a8db6415: Verifying Checksum [2023-09-20T21:46:10.189Z] 7264a8db6415: Download complete [2023-09-20T21:46:10.189Z] c68163c4e522: Verifying Checksum [2023-09-20T21:46:10.189Z] c68163c4e522: Download complete [2023-09-20T21:46:10.449Z] 23d2d4c4bb30: Verifying Checksum [2023-09-20T21:46:10.449Z] 23d2d4c4bb30: Download complete [2023-09-20T21:46:10.449Z] 7264a8db6415: Pull complete [2023-09-20T21:46:10.708Z] c4d48a809fc2: Pull complete [2023-09-20T21:46:10.708Z] 4f1c88b9dad5: Verifying Checksum [2023-09-20T21:46:10.708Z] 4f1c88b9dad5: Download complete [2023-09-20T21:46:10.967Z] 50da416c3ac9: Verifying Checksum [2023-09-20T21:46:10.967Z] 50da416c3ac9: Download complete [2023-09-20T21:46:14.254Z] 4f1c88b9dad5: Pull complete [2023-09-20T21:46:14.254Z] ad3a456e5733: Pull complete [2023-09-20T21:46:14.254Z] 33e27b845d1e: Pull complete [2023-09-20T21:46:14.254Z] c68163c4e522: Pull complete [2023-09-20T21:46:14.953Z] using credential edgex-jenkins-ssh [2023-09-20T21:46:14.968Z] Cloning the remote Git repository [2023-09-20T21:46:15.005Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2023-09-20T21:46:15.092Z] > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 [2023-09-20T21:46:15.224Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2023-09-20T21:46:15.225Z] > git --version # timeout=10 [2023-09-20T21:46:15.243Z] > git --version # 'git version 2.25.1' [2023-09-20T21:46:15.247Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T21:46:15.400Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T21:46:16.786Z] 50da416c3ac9: Pull complete [2023-09-20T21:46:17.045Z] 23d2d4c4bb30: Pull complete [2023-09-20T21:46:17.045Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-20T21:46:17.045Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-20T21:46:17.045Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [Pipeline] sh [2023-09-20T21:46:17.331Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:46:17.633Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T21:46:17.633Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:46:17.703Z] prd-ubuntu20.04-docker-8c-8g-7490 does not seem to be running inside a container [2023-09-20T21:46:17.917Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-functions-sdk-go_PR-1482 -v /w/workspace/dry_app-functions-sdk-go_PR-1482:/w/workspace/dry_app-functions-sdk-go_PR-1482:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1482@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1482@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-20T21:46:18.677Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2023-09-20T21:46:18.696Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T21:46:20.176Z] Merging remotes/origin/main commit 12e75c517fbad15ae7b7eea4d988b8d205486d3f into PR head commit 9cd28d4d4a5bc8db9656689291c11025f19df96c [2023-09-20T21:46:19.492Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2023-09-20T21:46:19.528Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2023-09-20T21:46:19.529Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T21:46:19.543Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/1482/head:refs/remotes/origin/PR-1482 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-20T21:46:20.192Z] > git config core.sparsecheckout # timeout=10 [2023-09-20T21:46:20.552Z] Merge succeeded, producing b4b4a7ea4756b8199a6642c779a305d534ecf7b3 [2023-09-20T21:46:20.552Z] Checking out Revision b4b4a7ea4756b8199a6642c779a305d534ecf7b3 (PR-1482) [2023-09-20T21:46:21.415Z] $ docker top 42758719b6c0c8c26ead3b096c07915d4d1cf2824c8caa9336b84e9eb1634405 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T21:46:21.575Z] + go version [2023-09-20T21:46:21.575Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-20T21:46:21.769Z] $ docker stop --time=1 42758719b6c0c8c26ead3b096c07915d4d1cf2824c8caa9336b84e9eb1634405 [2023-09-20T21:46:20.274Z] > git checkout -f 9cd28d4d4a5bc8db9656689291c11025f19df96c # timeout=10 [2023-09-20T21:46:20.393Z] > git remote # timeout=10 [2023-09-20T21:46:20.411Z] > git config --get remote.origin.url # timeout=10 [2023-09-20T21:46:20.423Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T21:46:20.435Z] > git merge 12e75c517fbad15ae7b7eea4d988b8d205486d3f # timeout=10 [2023-09-20T21:46:20.534Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-20T21:46:20.557Z] > git config core.sparsecheckout # timeout=10 [2023-09-20T21:46:20.570Z] > git checkout -f b4b4a7ea4756b8199a6642c779a305d534ecf7b3 # timeout=10 [2023-09-20T21:46:23.047Z] $ docker rm -f --volumes 42758719b6c0c8c26ead3b096c07915d4d1cf2824c8caa9336b84e9eb1634405 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:46:23.262Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T21:46:23.262Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:46:23.331Z] prd-ubuntu20.04-docker-8c-8g-7490 does not seem to be running inside a container [2023-09-20T21:46:23.534Z] $ 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-1482 -v /w/workspace/dry_app-functions-sdk-go_PR-1482:/w/workspace/dry_app-functions-sdk-go_PR-1482:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1482@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1482@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-20T21:46:23.844Z] $ docker top 85eac34b16c2c0d18609f123e99da06b6f4decabb4fdd3f29f2311c8e395bb28 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T21:46:24.017Z] + git config --global --add safe.directory /w/workspace/dry_app-functions-sdk-go_PR-1482 [Pipeline] fileExists [Pipeline] sh [2023-09-20T21:46:24.070Z] Commit message: "Merge commit '12e75c517fbad15ae7b7eea4d988b8d205486d3f' into HEAD" [2023-09-20T21:46:24.077Z] > git rev-list --no-walk 78362c169f6bb7b0b42a33a9d41b284a645e6ab6 # timeout=10 [2023-09-20T21:46:24.313Z] + make test [2023-09-20T21:46:24.313Z] make -C ./app-service-template build [2023-09-20T21:46:24.313Z] make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1482/app-service-template' [2023-09-20T21:46:24.313Z] go mod tidy [2023-09-20T21:46:24.313Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.1.0-dev.15 [2023-09-20T21:46:24.313Z] go: downloading github.com/labstack/echo/v4 v4.11.1 [2023-09-20T21:46:24.313Z] go: downloading github.com/stretchr/testify v1.8.4 [2023-09-20T21:46:24.313Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2023-09-20T21:46:24.573Z] go: downloading github.com/google/uuid v1.3.1 [2023-09-20T21:46:24.573Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.1.0-dev.40 [2023-09-20T21:46:24.573Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.1.0-dev.21 [2023-09-20T21:46:24.573Z] go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.1.0-dev.6 [2023-09-20T21:46:24.573Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.3.0 [2023-09-20T21:46:24.573Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 [2023-09-20T21:46:24.573Z] go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc [2023-09-20T21:46:24.573Z] go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 [2023-09-20T21:46:24.573Z] go: downloading github.com/stretchr/objx v0.5.0 [2023-09-20T21:46:24.573Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2023-09-20T21:46:24.573Z] go: downloading github.com/labstack/gommon v0.4.0 [2023-09-20T21:46:24.573Z] go: downloading golang.org/x/crypto v0.12.0 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T21:46:24.832Z] go: downloading golang.org/x/net v0.13.0 [2023-09-20T21:46:24.832Z] go: downloading github.com/go-kit/log v0.2.1 [2023-09-20T21:46:24.832Z] go: downloading github.com/go-playground/validator/v10 v10.15.4 [2023-09-20T21:46:24.832Z] go: downloading github.com/fxamacker/cbor/v2 v2.5.0 [2023-09-20T21:46:24.832Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2023-09-20T21:46:24.832Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.1.0-dev.6 [2023-09-20T21:46:24.832Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.1.0-dev.6 [2023-09-20T21:46:24.832Z] go: downloading github.com/mitchellh/copystructure v1.2.0 [2023-09-20T21:46:24.832Z] go: downloading github.com/gorilla/websocket v1.5.0 [2023-09-20T21:46:24.832Z] go: downloading golang.org/x/sync v0.2.0 [2023-09-20T21:46:24.832Z] go: downloading github.com/mattn/go-colorable v0.1.13 [2023-09-20T21:46:25.081Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-20T21:46:25.081Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T21:46:25.081Z] Dload Upload Total Spent Left Speed [2023-09-20T21:46:25.081Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 106k 0 --:--:-- --:--:-- --:--:-- 106k [2023-09-20T21:46:25.089Z] go: downloading github.com/mattn/go-isatty v0.0.19 [2023-09-20T21:46:25.089Z] go: downloading github.com/valyala/fasttemplate v1.2.2 [2023-09-20T21:46:25.089Z] go: downloading github.com/x448/float16 v0.8.4 [2023-09-20T21:46:25.089Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2023-09-20T21:46:25.089Z] go: downloading github.com/hashicorp/consul/api v1.24.0 [2023-09-20T21:46:25.089Z] go: downloading github.com/gabriel-vasile/mimetype v1.4.2 [2023-09-20T21:46:25.089Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2023-09-20T21:46:25.089Z] go: downloading github.com/leodido/go-urn v1.2.4 [2023-09-20T21:46:25.089Z] go: downloading golang.org/x/text v0.12.0 [2023-09-20T21:46:25.089Z] go: downloading github.com/go-playground/locales v0.14.1 [2023-09-20T21:46:25.089Z] go: downloading github.com/hashicorp/errwrap v1.1.0 [2023-09-20T21:46:25.089Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.1.6 [2023-09-20T21:46:25.347Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2023-09-20T21:46:25.347Z] go: downloading github.com/mitchellh/reflectwalk v1.0.2 [2023-09-20T21:46:25.347Z] go: downloading golang.org/x/sys v0.11.0 [2023-09-20T21:46:25.347Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2023-09-20T21:46:25.347Z] go: downloading github.com/go-playground/assert/v2 v2.2.0 [2023-09-20T21:46:25.347Z] go: downloading github.com/mitchellh/mapstructure v1.5.0 [2023-09-20T21:46:25.347Z] go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible [2023-09-20T21:46:25.347Z] go: downloading golang.org/x/time v0.3.0 [2023-09-20T21:46:25.347Z] go: downloading github.com/valyala/bytebufferpool v1.0.0 [Pipeline] sh [2023-09-20T21:46:25.604Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 [2023-09-20T21:46:25.604Z] go: downloading github.com/hashicorp/go-hclog v1.5.0 [2023-09-20T21:46:25.604Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2023-09-20T21:46:25.604Z] go: downloading github.com/hashicorp/serf v0.10.1 [2023-09-20T21:46:25.604Z] go: downloading golang.org/x/exp v0.0.0-20230321023759-10a507213a29 [2023-09-20T21:46:25.755Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-20T21:46:25.862Z] go: downloading github.com/google/go-cmp v0.5.9 [2023-09-20T21:46:25.862Z] go: downloading github.com/hashicorp/consul/sdk v0.14.1 [2023-09-20T21:46:25.862Z] go: downloading github.com/hashicorp/go-uuid v1.0.3 [2023-09-20T21:46:25.862Z] go: downloading github.com/nats-io/nats.go v1.28.0 [2023-09-20T21:46:25.862Z] go: downloading github.com/nats-io/nats-server/v2 v2.9.22 [2023-09-20T21:46:25.862Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2023-09-20T21:46:25.862Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2023-09-20T21:46:25.862Z] go: downloading github.com/Microsoft/go-winio v0.6.0 [2023-09-20T21:46:25.862Z] go: downloading github.com/zeebo/errs v1.3.0 [2023-09-20T21:46:25.862Z] go: downloading google.golang.org/grpc v1.53.0 [2023-09-20T21:46:26.083Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-20T21:46:26.083Z] + sudo tee /etc/docker/daemon.new [2023-09-20T21:46:26.083Z] { [2023-09-20T21:46:26.083Z] "registry-mirrors": [ [2023-09-20T21:46:26.083Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-20T21:46:26.083Z] ], [2023-09-20T21:46:26.083Z] "bip": "10.250.0.254/24", [2023-09-20T21:46:26.083Z] "hosts": [ [2023-09-20T21:46:26.083Z] "tcp://0.0.0.0:5555", [2023-09-20T21:46:26.083Z] "unix:///var/run/docker.sock" [2023-09-20T21:46:26.083Z] ], [2023-09-20T21:46:26.083Z] "mtu": 1458, [2023-09-20T21:46:26.083Z] "selinux-enabled": true, [2023-09-20T21:46:26.083Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-20T21:46:26.083Z] } [Pipeline] sh [2023-09-20T21:46:26.123Z] go: downloading github.com/kr/pretty v0.1.0 [2023-09-20T21:46:26.124Z] go: downloading github.com/fatih/color v1.14.1 [2023-09-20T21:46:26.124Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2023-09-20T21:46:26.124Z] go: downloading github.com/armon/go-metrics v0.4.1 [2023-09-20T21:46:26.124Z] go: downloading github.com/hashicorp/go-msgpack v0.5.5 [2023-09-20T21:46:26.124Z] go: downloading github.com/hashicorp/memberlist v0.5.0 [2023-09-20T21:46:26.124Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2023-09-20T21:46:26.124Z] go: downloading github.com/go-jose/go-jose/v3 v3.0.0 [2023-09-20T21:46:26.124Z] go: downloading github.com/hashicorp/go-version v1.2.1 [2023-09-20T21:46:26.124Z] go: downloading github.com/pkg/errors v0.9.1 [2023-09-20T21:46:26.124Z] go: downloading google.golang.org/protobuf v1.28.1 [2023-09-20T21:46:26.382Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2023-09-20T21:46:26.382Z] go: downloading github.com/onsi/gomega v1.7.0 [2023-09-20T21:46:26.382Z] go: downloading github.com/klauspost/compress v1.16.7 [2023-09-20T21:46:26.382Z] go: downloading github.com/nats-io/nkeys v0.4.4 [2023-09-20T21:46:26.382Z] go: downloading github.com/nats-io/nuid v1.0.1 [2023-09-20T21:46:26.382Z] go: downloading golang.org/x/tools v0.6.0 [2023-09-20T21:46:26.382Z] go: downloading github.com/kr/text v0.2.0 [2023-09-20T21:46:26.382Z] go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 [2023-09-20T21:46:26.382Z] go: downloading github.com/pascaldekloe/goe v0.1.0 [2023-09-20T21:46:26.382Z] go: downloading github.com/google/btree v1.0.1 [2023-09-20T21:46:26.382Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.2 [2023-09-20T21:46:26.382Z] go: downloading github.com/miekg/dns v1.1.41 [2023-09-20T21:46:26.382Z] go: downloading github.com/minio/highwayhash v1.0.2 [2023-09-20T21:46:26.382Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2023-09-20T21:46:26.382Z] go: downloading github.com/nats-io/jwt/v2 v2.5.0 [2023-09-20T21:46:26.382Z] go: downloading github.com/golang/protobuf v1.5.2 [2023-09-20T21:46:26.382Z] go: downloading google.golang.org/genproto v0.0.0-20230223222841-637eb2293923 [2023-09-20T21:46:26.408Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-20T21:46:26.747Z] go: downloading github.com/hashicorp/golang-lru v0.5.4 [2023-09-20T21:46:26.747Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2023-09-20T21:46:26.747Z] go: downloading github.com/hpcloud/tail v1.0.0 [2023-09-20T21:46:26.747Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2023-09-20T21:46:26.747Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2023-09-20T21:46:26.747Z] go: downloading golang.org/x/mod v0.8.0 [2023-09-20T21:46:26.755Z] + sudo service docker restart [2023-09-20T21:46:27.313Z] 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-09-20T21:46:42.181Z] make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1482/app-service-template' [2023-09-20T21:46:42.181Z] make -C ./app-service-template test [2023-09-20T21:46:42.181Z] make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1482/app-service-template' [2023-09-20T21:46:42.181Z] go test -race -coverprofile=coverage.out ./... [Pipeline] unstash [Pipeline] echo [2023-09-20T21:46:45.193Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T21:46:45.206Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T21:46:45.219Z] ========================================================= [2023-09-20T21:46:45.219Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-20T21:46:45.219Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-09-20T21:46:45.542Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-20T21:46:46.133Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-20T21:46:46.133Z] 9fda8d8052c6: Pulling fs layer [2023-09-20T21:46:46.133Z] 5d54e960e981: Pulling fs layer [2023-09-20T21:46:46.133Z] c4a7e357bf2a: Pulling fs layer [2023-09-20T21:46:46.133Z] f0e02332f6b5: Pulling fs layer [2023-09-20T21:46:46.133Z] cefa15bbcfad: Pulling fs layer [2023-09-20T21:46:46.133Z] 17808c966233: Pulling fs layer [2023-09-20T21:46:46.133Z] f4c1fc716caa: Pulling fs layer [2023-09-20T21:46:46.133Z] cefa15bbcfad: Waiting [2023-09-20T21:46:46.133Z] 17808c966233: Waiting [2023-09-20T21:46:46.133Z] f0e02332f6b5: Waiting [2023-09-20T21:46:46.133Z] f4c1fc716caa: Waiting [2023-09-20T21:46:46.133Z] 5d54e960e981: Verifying Checksum [2023-09-20T21:46:46.133Z] 5d54e960e981: Download complete [2023-09-20T21:46:46.133Z] f0e02332f6b5: Verifying Checksum [2023-09-20T21:46:46.133Z] f0e02332f6b5: Download complete [2023-09-20T21:46:46.133Z] cefa15bbcfad: Verifying Checksum [2023-09-20T21:46:46.133Z] cefa15bbcfad: Download complete [2023-09-20T21:46:46.133Z] 9fda8d8052c6: Download complete [2023-09-20T21:46:46.721Z] f4c1fc716caa: Verifying Checksum [2023-09-20T21:46:46.721Z] f4c1fc716caa: Download complete [2023-09-20T21:46:46.992Z] 9fda8d8052c6: Pull complete [2023-09-20T21:46:47.584Z] 5d54e960e981: Pull complete [2023-09-20T21:46:47.854Z] c4a7e357bf2a: Verifying Checksum [2023-09-20T21:46:47.854Z] c4a7e357bf2a: Download complete [2023-09-20T21:46:48.840Z] 17808c966233: Verifying Checksum [2023-09-20T21:46:48.840Z] 17808c966233: Download complete [2023-09-20T21:46:58.938Z] c4a7e357bf2a: Pull complete [2023-09-20T21:46:58.938Z] f0e02332f6b5: Pull complete [2023-09-20T21:46:59.208Z] cefa15bbcfad: Pull complete [2023-09-20T21:47:00.261Z] ? app-new-service/config [no test files] [2023-09-20T21:47:00.520Z] ok app-new-service 1.066s coverage: 45.9% of statements [2023-09-20T21:47:00.520Z] ok app-new-service/functions 1.061s coverage: 85.3% of statements [2023-09-20T21:47:00.792Z] go vet ./... [2023-09-20T21:47:05.896Z] 17808c966233: Pull complete [2023-09-20T21:47:07.310Z] f4c1fc716caa: Pull complete [2023-09-20T21:47:07.310Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-20T21:47:07.310Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-20T21:47:07.310Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [Pipeline] sh [2023-09-20T21:47:07.630Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:47:07.968Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T21:47:07.968Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:47:08.174Z] prd-ubuntu20.04-docker-arm64-4c-16g-7475 does not seem to be running inside a container [2023-09-20T21:47:08.234Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-20T21:47:11.031Z] $ docker top bfb97670f69b6a93cd62826d52c00ff13b886276afe06167ca16bad87f618be5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T21:47:11.857Z] + go version [2023-09-20T21:47:11.857Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-20T21:47:11.876Z] $ docker stop --time=1 bfb97670f69b6a93cd62826d52c00ff13b886276afe06167ca16bad87f618be5 [2023-09-20T21:47:13.484Z] $ docker rm -f --volumes bfb97670f69b6a93cd62826d52c00ff13b886276afe06167ca16bad87f618be5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:47:14.017Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T21:47:14.017Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:47:14.183Z] prd-ubuntu20.04-docker-arm64-4c-16g-7475 does not seem to be running inside a container [2023-09-20T21:47:14.242Z] $ 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/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-20T21:47:15.354Z] $ docker top cf2c0407d818ea6d7d21c52b5acf38dacae76785d3f6ddfe9f828a7a4bd4efb6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T21:47:15.847Z] + git config --global --add safe.directory /w/workspace/app-functions-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2023-09-20T21:47:15.933Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T21:47:15.934Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T21:47:15.934Z] ./bin/test-attribution-txt.sh [2023-09-20T21:47:15.934Z] make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1482/app-service-template' [2023-09-20T21:47:15.934Z] go test -race -coverprofile=coverage.out ./... [2023-09-20T21:47:15.934Z] go: downloading github.com/gomodule/redigo v1.8.9 [2023-09-20T21:47:15.934Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal [no test files] [2023-09-20T21:47:16.181Z] + make test [2023-09-20T21:47:16.182Z] make -C ./app-service-template build [2023-09-20T21:47:16.182Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2023-09-20T21:47:16.182Z] go mod tidy [2023-09-20T21:47:16.449Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.1.0-dev.15 [2023-09-20T21:47:16.449Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 [2023-09-20T21:47:16.716Z] go: downloading github.com/google/uuid v1.3.1 [2023-09-20T21:47:16.716Z] go: downloading github.com/stretchr/testify v1.8.4 [2023-09-20T21:47:16.716Z] go: downloading github.com/labstack/echo/v4 v4.11.1 [2023-09-20T21:47:16.982Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.1.0-dev.40 [2023-09-20T21:47:17.246Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.1.0-dev.21 [2023-09-20T21:47:17.246Z] go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.1.0-dev.6 [2023-09-20T21:47:19.821Z] go: downloading github.com/go-playground/validator/v10 v10.15.4 [2023-09-20T21:47:19.821Z] go: downloading github.com/fxamacker/cbor/v2 v2.5.0 [2023-09-20T21:47:19.821Z] go: downloading github.com/go-kit/log v0.2.1 [2023-09-20T21:47:19.821Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2023-09-20T21:47:19.821Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.3.0 [2023-09-20T21:47:19.821Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 [2023-09-20T21:47:19.821Z] go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc [2023-09-20T21:47:19.821Z] go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 [2023-09-20T21:47:19.821Z] go: downloading github.com/stretchr/objx v0.5.0 [2023-09-20T21:47:19.821Z] go: downloading github.com/labstack/gommon v0.4.0 [2023-09-20T21:47:19.821Z] go: downloading golang.org/x/crypto v0.12.0 [2023-09-20T21:47:19.821Z] go: downloading golang.org/x/net v0.13.0 [2023-09-20T21:47:20.784Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.1.0-dev.6 [2023-09-20T21:47:21.061Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2023-09-20T21:47:21.061Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.1.0-dev.6 [2023-09-20T21:47:21.061Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2023-09-20T21:47:21.061Z] go: downloading github.com/x448/float16 v0.8.4 [2023-09-20T21:47:21.061Z] go: downloading github.com/mitchellh/copystructure v1.2.0 [2023-09-20T21:47:21.061Z] go: downloading github.com/gabriel-vasile/mimetype v1.4.2 [2023-09-20T21:47:21.061Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2023-09-20T21:47:21.225Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/container [no test files] [2023-09-20T21:47:21.225Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/common [no test files] [2023-09-20T21:47:21.225Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db [no test files] [2023-09-20T21:47:21.225Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis [no test files] [2023-09-20T21:47:21.225Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger [no test files] [2023-09-20T21:47:21.225Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http/mocks [no test files] [2023-09-20T21:47:21.225Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/app 1.105s coverage: 65.6% of statements [2023-09-20T21:47:21.225Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/appfunction 1.056s coverage: 92.6% of statements [2023-09-20T21:47:21.225Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/handlers 1.071s coverage: 85.1% of statements [2023-09-20T21:47:21.225Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/etm 1.034s coverage: 100.0% of statements [2023-09-20T21:47:21.225Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mocks [no test files] [2023-09-20T21:47:21.225Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/runtime 2.681s coverage: 77.9% of statements [2023-09-20T21:47:21.225Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis/models 1.993s coverage: 97.3% of statements [2023-09-20T21:47:21.225Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http 1.795s coverage: 82.8% of statements [2023-09-20T21:47:21.225Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/messagebus 1.055s coverage: 65.6% of statements [2023-09-20T21:47:21.331Z] go: downloading github.com/leodido/go-urn v1.2.4 [2023-09-20T21:47:21.331Z] go: downloading golang.org/x/text v0.12.0 [2023-09-20T21:47:22.300Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2023-09-20T21:47:22.300Z] go: downloading github.com/go-playground/assert/v2 v2.2.0 [2023-09-20T21:47:22.300Z] go: downloading github.com/go-playground/locales v0.14.1 [2023-09-20T21:47:25.552Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt/mocks [no test files] [2023-09-20T21:47:25.552Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces [no test files] [2023-09-20T21:47:25.552Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-20T21:47:25.552Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt 1.063s coverage: 28.7% of statements [2023-09-20T21:47:25.552Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/webserver 1.350s coverage: 17.2% of statements [2023-09-20T21:47:25.552Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg 1.042s coverage: 27.3% of statements [2023-09-20T21:47:25.552Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/secure 1.056s coverage: 52.8% of statements [2023-09-20T21:47:25.657Z] go: downloading github.com/gorilla/websocket v1.5.0 [2023-09-20T21:47:25.658Z] go: downloading golang.org/x/sync v0.2.0 [2023-09-20T21:47:25.658Z] go: downloading github.com/mattn/go-colorable v0.1.13 [2023-09-20T21:47:25.658Z] go: downloading github.com/mattn/go-isatty v0.0.19 [2023-09-20T21:47:25.658Z] go: downloading github.com/valyala/fasttemplate v1.2.2 [2023-09-20T21:47:25.658Z] go: downloading github.com/hashicorp/consul/api v1.24.0 [2023-09-20T21:47:25.658Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2023-09-20T21:47:25.658Z] go: downloading github.com/hashicorp/errwrap v1.1.0 [2023-09-20T21:47:25.658Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.1.6 [2023-09-20T21:47:25.658Z] go: downloading github.com/mitchellh/reflectwalk v1.0.2 [2023-09-20T21:47:25.658Z] go: downloading golang.org/x/sys v0.11.0 [2023-09-20T21:47:25.928Z] go: downloading github.com/kr/pretty v0.1.0 [2023-09-20T21:47:25.928Z] go: downloading github.com/valyala/bytebufferpool v1.0.0 [2023-09-20T21:47:25.928Z] go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible [2023-09-20T21:47:25.928Z] go: downloading golang.org/x/time v0.3.0 [2023-09-20T21:47:25.928Z] go: downloading github.com/mitchellh/mapstructure v1.5.0 [2023-09-20T21:47:25.928Z] go: downloading github.com/nats-io/nats.go v1.28.0 [2023-09-20T21:47:25.928Z] go: downloading github.com/nats-io/nats-server/v2 v2.9.22 [2023-09-20T21:47:26.194Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2023-09-20T21:47:26.460Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 [2023-09-20T21:47:26.460Z] go: downloading github.com/hashicorp/go-hclog v1.5.0 [2023-09-20T21:47:26.460Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2023-09-20T21:47:26.460Z] go: downloading github.com/hashicorp/serf v0.10.1 [2023-09-20T21:47:26.729Z] go: downloading golang.org/x/exp v0.0.0-20230321023759-10a507213a29 [2023-09-20T21:47:26.729Z] go: downloading github.com/google/go-cmp v0.5.9 [2023-09-20T21:47:26.996Z] go: downloading github.com/hashicorp/consul/sdk v0.14.1 [2023-09-20T21:47:26.996Z] go: downloading github.com/hashicorp/go-uuid v1.0.3 [2023-09-20T21:47:26.996Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2023-09-20T21:47:26.996Z] go: downloading github.com/Microsoft/go-winio v0.6.0 [2023-09-20T21:47:26.996Z] go: downloading github.com/zeebo/errs v1.3.0 [2023-09-20T21:47:26.996Z] go: downloading google.golang.org/grpc v1.53.0 [2023-09-20T21:47:28.414Z] go: downloading github.com/kr/text v0.2.0 [2023-09-20T21:47:28.414Z] go: downloading github.com/klauspost/compress v1.16.7 [2023-09-20T21:47:28.414Z] go: downloading github.com/nats-io/nkeys v0.4.4 [2023-09-20T21:47:28.414Z] go: downloading github.com/nats-io/nuid v1.0.1 [2023-09-20T21:47:28.414Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2023-09-20T21:47:28.414Z] go: downloading github.com/onsi/gomega v1.7.0 [2023-09-20T21:47:28.414Z] go: downloading github.com/fatih/color v1.14.1 [2023-09-20T21:47:28.414Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2023-09-20T21:47:28.414Z] go: downloading github.com/armon/go-metrics v0.4.1 [2023-09-20T21:47:28.687Z] go: downloading github.com/minio/highwayhash v1.0.2 [2023-09-20T21:47:28.687Z] go: downloading github.com/nats-io/jwt/v2 v2.5.0 [2023-09-20T21:47:28.956Z] go: downloading github.com/hashicorp/go-version v1.2.1 [2023-09-20T21:47:28.956Z] go: downloading github.com/pkg/errors v0.9.1 [2023-09-20T21:47:28.956Z] go: downloading github.com/hashicorp/go-msgpack v0.5.5 [2023-09-20T21:47:28.956Z] go: downloading github.com/hashicorp/memberlist v0.5.0 [2023-09-20T21:47:28.956Z] go: downloading github.com/go-jose/go-jose/v3 v3.0.0 [2023-09-20T21:47:29.223Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2023-09-20T21:47:29.223Z] go: downloading google.golang.org/protobuf v1.28.1 [2023-09-20T21:47:30.183Z] go: downloading golang.org/x/tools v0.6.0 [2023-09-20T21:47:30.183Z] go: downloading google.golang.org/genproto v0.0.0-20230223222841-637eb2293923 [2023-09-20T21:47:32.759Z] go: downloading github.com/golang/protobuf v1.5.2 [2023-09-20T21:47:33.027Z] go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 [2023-09-20T21:47:33.027Z] go: downloading github.com/pascaldekloe/goe v0.1.0 [2023-09-20T21:47:33.027Z] go: downloading github.com/google/btree v1.0.1 [2023-09-20T21:47:33.027Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.2 [2023-09-20T21:47:33.295Z] go: downloading github.com/miekg/dns v1.1.41 [2023-09-20T21:47:33.561Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2023-09-20T21:47:33.561Z] go: downloading github.com/hashicorp/golang-lru v0.5.4 [2023-09-20T21:47:33.561Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2023-09-20T21:47:33.561Z] go: downloading github.com/hpcloud/tail v1.0.0 [2023-09-20T21:47:33.561Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2023-09-20T21:47:33.561Z] go: downloading golang.org/x/mod v0.8.0 [2023-09-20T21:47:33.828Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2023-09-20T21:47:34.418Z] 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-09-20T21:47:52.101Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/transforms 26.111s coverage: 75.3% of statements [2023-09-20T21:47:52.101Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/util 1.030s coverage: 94.4% of statements [2023-09-20T21:47:52.101Z] go vet ./... [2023-09-20T21:47:52.101Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T21:47:52.101Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2023-09-20T21:47:57.367Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T21:47:57.352Z] $ docker stop --time=1 85eac34b16c2c0d18609f123e99da06b6f4decabb4fdd3f29f2311c8e395bb28 [2023-09-20T21:47:59.217Z] $ docker rm -f --volumes 85eac34b16c2c0d18609f123e99da06b6f4decabb4fdd3f29f2311c8e395bb28 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T21:48:00.082Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T21:48:00.143Z] Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:48:00.623Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T21:48:00.623Z] [2023-09-20T21:48:00.623Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:48:00.923Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T21:48:01.181Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-20T21:48:01.181Z] 5eb5b503b376: Pulling fs layer [2023-09-20T21:48:01.181Z] 5c69ac0246d0: Pulling fs layer [2023-09-20T21:48:01.181Z] ec43610c2a17: Pulling fs layer [2023-09-20T21:48:01.181Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-20T21:48:01.181Z] 33b1e0a273af: Pulling fs layer [2023-09-20T21:48:01.181Z] 5d3b04190fa2: Pulling fs layer [2023-09-20T21:48:01.181Z] 2f39f015ded8: Pulling fs layer [2023-09-20T21:48:01.181Z] 3a2ae6a8a46f: Waiting [2023-09-20T21:48:01.181Z] 33b1e0a273af: Waiting [2023-09-20T21:48:01.181Z] 5d3b04190fa2: Waiting [2023-09-20T21:48:01.181Z] 2f39f015ded8: Waiting [2023-09-20T21:48:01.181Z] 5c69ac0246d0: Download complete [2023-09-20T21:48:01.181Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-20T21:48:01.181Z] 3a2ae6a8a46f: Download complete [2023-09-20T21:48:01.181Z] 33b1e0a273af: Verifying Checksum [2023-09-20T21:48:01.181Z] 33b1e0a273af: Download complete [2023-09-20T21:48:01.181Z] 5d3b04190fa2: Verifying Checksum [2023-09-20T21:48:01.181Z] 5d3b04190fa2: Download complete [2023-09-20T21:48:01.181Z] ec43610c2a17: Verifying Checksum [2023-09-20T21:48:01.181Z] ec43610c2a17: Download complete [2023-09-20T21:48:01.441Z] 5eb5b503b376: Verifying Checksum [2023-09-20T21:48:01.441Z] 5eb5b503b376: Download complete [2023-09-20T21:48:02.006Z] 2f39f015ded8: Download complete [2023-09-20T21:48:02.573Z] 5eb5b503b376: Pull complete [2023-09-20T21:48:02.830Z] 5c69ac0246d0: Pull complete [2023-09-20T21:48:03.089Z] ec43610c2a17: Pull complete [2023-09-20T21:48:03.347Z] 3a2ae6a8a46f: Pull complete [2023-09-20T21:48:03.347Z] 33b1e0a273af: Pull complete [2023-09-20T21:48:03.605Z] 5d3b04190fa2: Pull complete [2023-09-20T21:48:07.788Z] 2f39f015ded8: Pull complete [2023-09-20T21:48:07.788Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-20T21:48:07.788Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T21:48:07.788Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:48:07.863Z] prd-ubuntu20.04-docker-8c-8g-7490 does not seem to be running inside a container [2023-09-20T21:48:07.871Z] $ 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-1482 -v /w/workspace/dry_app-functions-sdk-go_PR-1482:/w/workspace/dry_app-functions-sdk-go_PR-1482:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1482@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1482@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-20T21:48:11.865Z] $ docker top ca0c0be8974dd0be5e3885cb5719bf70189545e868dfc9809053539c0b08d030 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:48:12.268Z] ---> job-cost.sh [2023-09-20T21:48:12.268Z] lf-activate-venv: SKIPPING [2023-09-20T21:48:12.268Z] INFO: No Stack... [2023-09-20T21:48:12.527Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T21:48:12.785Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T21:48:13.070Z] + cat /w/workspace/dry_app-functions-sdk-go_PR-1482/archives/cost.csv [2023-09-20T21:48:13.070Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T21:48:13.082Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1482-3-stack-cost] [2023-09-20T21:48:13.088Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1482-3-stack-cost] did not exist. Created. [2023-09-20T21:48:13.088Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1482-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T21:48:13.393Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-20T21:48:13.427Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T21:48:13.436Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1482-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T21:48:13.433Z] $ docker stop --time=1 ca0c0be8974dd0be5e3885cb5719bf70189545e868dfc9809053539c0b08d030 [2023-09-20T21:48:14.568Z] $ docker rm -f --volumes ca0c0be8974dd0be5e3885cb5719bf70189545e868dfc9809053539c0b08d030 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-20T21:49:11.068Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2023-09-20T21:49:11.068Z] make -C ./app-service-template test [2023-09-20T21:49:11.068Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2023-09-20T21:49:11.068Z] go test -race -coverprofile=coverage.out ./... [2023-09-20T21:51:02.705Z] ? app-new-service/config [no test files] [2023-09-20T21:51:02.705Z] ok app-new-service 1.223s coverage: 45.9% of statements [2023-09-20T21:51:02.705Z] ok app-new-service/functions 1.209s coverage: 85.3% of statements [2023-09-20T21:51:02.705Z] go vet ./... [2023-09-20T21:52:39.339Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T21:52:39.339Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T21:52:39.339Z] ./bin/test-attribution-txt.sh [2023-09-20T21:52:39.339Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2023-09-20T21:52:39.339Z] go test -race -coverprofile=coverage.out ./... [2023-09-20T21:52:39.339Z] go: downloading github.com/gomodule/redigo v1.8.9 [2023-09-20T21:52:39.339Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal [no test files] [2023-09-20T21:52:41.280Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/container [no test files] [2023-09-20T21:52:41.280Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/common [no test files] [2023-09-20T21:52:42.684Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/app 1.542s coverage: 65.6% of statements [2023-09-20T21:52:42.684Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/appfunction 1.278s coverage: 92.6% of statements [2023-09-20T21:52:42.684Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/handlers 1.360s coverage: 85.1% of statements [2023-09-20T21:52:43.267Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/etm 1.107s coverage: 100.0% of statements [2023-09-20T21:52:46.608Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db [no test files] [2023-09-20T21:52:46.608Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis [no test files] [2023-09-20T21:52:46.608Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger [no test files] [2023-09-20T21:52:48.551Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/runtime 1.521s coverage: 77.9% of statements [2023-09-20T21:52:48.551Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis/models 1.240s coverage: 97.3% of statements [2023-09-20T21:52:50.498Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http/mocks [no test files] [2023-09-20T21:52:51.168Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mocks [no test files] [2023-09-20T21:52:51.436Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http 1.227s coverage: 82.8% of statements [2023-09-20T21:52:52.395Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/messagebus 1.271s coverage: 65.6% of statements [2023-09-20T21:52:54.345Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt/mocks [no test files] [2023-09-20T21:52:55.756Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt 1.248s coverage: 28.7% of statements [2023-09-20T21:52:56.022Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces [no test files] [2023-09-20T21:52:56.022Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-20T21:52:56.303Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/webserver 1.195s coverage: 17.2% of statements [2023-09-20T21:52:57.266Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg 1.201s coverage: 27.3% of statements [2023-09-20T21:53:00.611Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/secure 1.319s coverage: 52.8% of statements [2023-09-20T21:53:32.961Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/transforms 26.557s coverage: 75.3% of statements [2023-09-20T21:53:32.961Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/util 1.231s coverage: 94.4% of statements [2023-09-20T21:53:32.961Z] go vet ./... [2023-09-20T21:53:33.919Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T21:53:33.919Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T21:53:34.199Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] echo [2023-09-20T21:53:34.217Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T21:53:34.231Z] $ docker stop --time=1 cf2c0407d818ea6d7d21c52b5acf38dacae76785d3f6ddfe9f828a7a4bd4efb6 [2023-09-20T21:53:36.036Z] $ docker rm -f --volumes cf2c0407d818ea6d7d21c52b5acf38dacae76785d3f6ddfe9f828a7a4bd4efb6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T21:53:40.467Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T21:53:40.482Z] Warning: overwriting stash ‘coverage-report’ [2023-09-20T21:53:41.006Z] Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:53:41.447Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T21:53:41.447Z] [2023-09-20T21:53:41.447Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:53:41.775Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T21:53:41.775Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-20T21:53:41.775Z] 8998bd30e6a1: Pulling fs layer [2023-09-20T21:53:41.775Z] 04944245beec: Pulling fs layer [2023-09-20T21:53:41.775Z] 699f458cf7ca: Pulling fs layer [2023-09-20T21:53:41.775Z] 765212b225bb: Pulling fs layer [2023-09-20T21:53:41.775Z] f23df028b6ca: Pulling fs layer [2023-09-20T21:53:41.775Z] d65c8cfc05b1: Pulling fs layer [2023-09-20T21:53:41.775Z] 765212b225bb: Waiting [2023-09-20T21:53:41.775Z] f23df028b6ca: Waiting [2023-09-20T21:53:41.775Z] 2437ff75d9bd: Pulling fs layer [2023-09-20T21:53:41.775Z] d65c8cfc05b1: Waiting [2023-09-20T21:53:41.775Z] 2437ff75d9bd: Waiting [2023-09-20T21:53:42.044Z] 04944245beec: Verifying Checksum [2023-09-20T21:53:42.044Z] 04944245beec: Download complete [2023-09-20T21:53:42.044Z] 765212b225bb: Verifying Checksum [2023-09-20T21:53:42.044Z] 765212b225bb: Download complete [2023-09-20T21:53:42.044Z] f23df028b6ca: Verifying Checksum [2023-09-20T21:53:42.044Z] f23df028b6ca: Download complete [2023-09-20T21:53:42.044Z] d65c8cfc05b1: Verifying Checksum [2023-09-20T21:53:42.044Z] d65c8cfc05b1: Download complete [2023-09-20T21:53:42.044Z] 699f458cf7ca: Verifying Checksum [2023-09-20T21:53:42.044Z] 699f458cf7ca: Download complete [2023-09-20T21:53:42.628Z] 8998bd30e6a1: Verifying Checksum [2023-09-20T21:53:42.628Z] 8998bd30e6a1: Download complete [2023-09-20T21:53:44.571Z] 2437ff75d9bd: Verifying Checksum [2023-09-20T21:53:44.571Z] 2437ff75d9bd: Download complete [2023-09-20T21:53:46.530Z] 8998bd30e6a1: Pull complete [2023-09-20T21:53:46.796Z] 04944245beec: Pull complete [2023-09-20T21:53:48.205Z] 699f458cf7ca: Pull complete [2023-09-20T21:53:48.205Z] 765212b225bb: Pull complete [2023-09-20T21:53:48.789Z] f23df028b6ca: Pull complete [2023-09-20T21:53:49.056Z] d65c8cfc05b1: Pull complete [2023-09-20T21:54:04.056Z] 2437ff75d9bd: Pull complete [2023-09-20T21:54:04.056Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-20T21:54:04.056Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T21:54:04.056Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:54:04.230Z] prd-ubuntu20.04-docker-arm64-4c-16g-7475 does not seem to be running inside a container [2023-09-20T21:54:04.288Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-20T21:54:06.634Z] $ docker top c7d10da6cc0c671e227aa44364dd0fa2334107ddb1f088d05975ecf51a9ac158 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:54:07.155Z] ---> job-cost.sh [2023-09-20T21:54:07.420Z] lf-activate-venv: SKIPPING [2023-09-20T21:54:07.420Z] INFO: No Stack... [2023-09-20T21:54:07.999Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-20T21:54:08.582Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T21:54:09.212Z] + + cat /w/workspace/app-functions-sdk-go/3/archives/cost.csv [2023-09-20T21:54:09.212Z] cut -d, -f6 [Pipeline] lock [2023-09-20T21:54:09.272Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1482-3-stack-cost] [2023-09-20T21:54:09.278Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1482-3-stack-cost] did not exist. Created. [2023-09-20T21:54:09.278Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1482-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T21:54:09.607Z] /w/workspace/app-functions-sdk-go/3@tmp/durable-bfd55686/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-20T21:54:10.255Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-20T21:54:10.275Z] Warning: overwriting stash ‘stack-cost’ [2023-09-20T21:54:10.353Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T21:54:10.363Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1482-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T21:54:10.384Z] $ docker stop --time=1 c7d10da6cc0c671e227aa44364dd0fa2334107ddb1f088d05975ecf51a9ac158 [2023-09-20T21:54:11.874Z] $ docker rm -f --volumes c7d10da6cc0c671e227aa44364dd0fa2334107ddb1f088d05975ecf51a9ac158 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-09-20T21:54:13.098Z] provisioning config files... [2023-09-20T21:54:13.109Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/dry_app-functions-sdk-go_PR-1482@tmp/config5069988482185287747tmp [Pipeline] { [Pipeline] sh [2023-09-20T21:54:13.402Z] + set +x [2023-09-20T21:54:13.402Z] + bash -s -- [2023-09-20T21:54:13.402Z] + curl -s https://codecov.io/bash [2023-09-20T21:54:13.402Z] [2023-09-20T21:54:13.402Z] _____ _ [2023-09-20T21:54:13.402Z] / ____| | | [2023-09-20T21:54:13.402Z] | | ___ __| | ___ ___ _____ __ [2023-09-20T21:54:13.402Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-20T21:54:13.402Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-20T21:54:13.402Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-20T21:54:13.402Z] Bash-1.0.6 [2023-09-20T21:54:13.402Z] [2023-09-20T21:54:13.402Z] [2023-09-20T21:54:13.402Z] ==> git version 2.25.1 found [2023-09-20T21:54:13.402Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-09-20T21:54:13.402Z] Release-Date: 2020-01-08 [2023-09-20T21:54:13.402Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-20T21:54:13.402Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-20T21:54:13.402Z] ==> Jenkins CI detected. [2023-09-20T21:54:13.402Z] current dir:  /w/workspace/dry_app-functions-sdk-go_PR-1482 [2023-09-20T21:54:13.402Z] project root: . [2023-09-20T21:54:13.402Z] --> token set from env [2023-09-20T21:54:13.402Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-20T21:54:13.402Z] ==> Running gcov in . (disable via -X gcov) [2023-09-20T21:54:13.402Z] ==> Python coveragepy not found [2023-09-20T21:54:13.402Z] ==> Searching for coverage reports in: [2023-09-20T21:54:13.402Z] + . [2023-09-20T21:54:13.402Z] -> Found 2 reports [2023-09-20T21:54:13.402Z] ==> Detecting git/mercurial file structure [2023-09-20T21:54:14.746Z] ==> Reading reports [2023-09-20T21:54:14.746Z] + ./app-service-template/coverage.out bytes=3558 [2023-09-20T21:54:14.746Z] + ./coverage.out bytes=118490 [2023-09-20T21:54:14.746Z] ==> Appending adjustments [2023-09-20T21:54:14.746Z] https://docs.codecov.io/docs/fixing-reports [2023-09-20T21:54:14.746Z] + Found adjustments [2023-09-20T21:54:14.746Z] ==> Gzipping contents [2023-09-20T21:54:14.746Z] 24K /tmp/codecov.rEmbBA.gz [2023-09-20T21:54:14.746Z] ==> Uploading reports [2023-09-20T21:54:14.746Z] url: https://codecov.io [2023-09-20T21:54:14.746Z] query: branch=PR-1482&commit=a520c96256cd87171b8801829145da1bbcd05146&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-1482%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=1482&job=&cmd_args= [2023-09-20T21:54:14.746Z] -> Pinging Codecov [2023-09-20T21:54:14.746Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-1482&commit=a520c96256cd87171b8801829145da1bbcd05146&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-1482%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=1482&job=&cmd_args= [2023-09-20T21:54:15.006Z] -> Uploading to [2023-09-20T21:54:15.006Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-20/3D8B5DFFC46A037C893635FACE044666/a520c96256cd87171b8801829145da1bbcd05146/6d19f70f-885a-437a-8e65-668276286384.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T215414Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2ad0d9490b37cd11c85c35c7d2ce2fa7816623db1cab9184a2efe40444a68b26 [2023-09-20T21:54:15.006Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T21:54:15.006Z] Dload Upload Total Spent Left Speed [2023-09-20T21:54:15.263Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20855 0 0 100 20855 0 90673 --:--:-- --:--:-- --:--:-- 91069 [2023-09-20T21:54:15.263Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/a520c96256cd87171b8801829145da1bbcd05146 [Pipeline] } [2023-09-20T21:54:15.270Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [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-09-20T21:54:16.911Z] + [ -d /w/workspace/dry_app-functions-sdk-go_PR-1482/archives ] [2023-09-20T21:54:16.911Z] + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1482/archives [2023-09-20T21:54:16.911Z] total 16 [2023-09-20T21:54:16.911Z] drwxr-xr-x 3 root root 4096 Sep 20 21:48 . [2023-09-20T21:54:16.911Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 21:48 .. [2023-09-20T21:54:16.911Z] drwxr-xr-x 2 root root 4096 Sep 20 21:48 cost [2023-09-20T21:54:16.911Z] -rw-r--r-- 1 root root 93 Sep 20 21:48 cost.csv [2023-09-20T21:54:16.911Z] + sudo chown -R jenkins:jenkins /w/workspace/dry_app-functions-sdk-go_PR-1482/archives [2023-09-20T21:54:16.911Z] + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1482/archives [2023-09-20T21:54:16.911Z] total 16 [2023-09-20T21:54:16.911Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 21:48 . [2023-09-20T21:54:16.911Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 21:48 .. [2023-09-20T21:54:16.911Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 21:48 cost [2023-09-20T21:54:16.911Z] -rw-r--r-- 1 jenkins jenkins 93 Sep 20 21:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:54:17.206Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:54:40.839Z] ---> package-listing.sh [2023-09-20T21:54:40.839Z] ++ facter osfamily [2023-09-20T21:54:40.839Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-20T21:54:41.099Z] + OS_FAMILY=debian [2023-09-20T21:54:41.099Z] + workspace=/w/workspace/dry_app-functions-sdk-go_PR-1482 [2023-09-20T21:54:41.099Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-20T21:54:41.099Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-20T21:54:41.099Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-20T21:54:41.099Z] + PACKAGES=/tmp/packages_start.txt [2023-09-20T21:54:41.099Z] + '[' /w/workspace/dry_app-functions-sdk-go_PR-1482 ']' [2023-09-20T21:54:41.099Z] + PACKAGES=/tmp/packages_end.txt [2023-09-20T21:54:41.099Z] + case "${OS_FAMILY}" in [2023-09-20T21:54:41.099Z] + dpkg -l [2023-09-20T21:54:41.099Z] + grep '^ii' [2023-09-20T21:54:41.099Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-20T21:54:41.099Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-20T21:54:41.099Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-20T21:54:41.099Z] + '[' /w/workspace/dry_app-functions-sdk-go_PR-1482 ']' [2023-09-20T21:54:41.099Z] + mkdir -p /w/workspace/dry_app-functions-sdk-go_PR-1482/archives/ [2023-09-20T21:54:41.099Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_app-functions-sdk-go_PR-1482/archives/ [Pipeline] echo [2023-09-20T21:54:41.108Z] 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-1482/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-20T21:54:41.387Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:54:41.946Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T21:54:41.946Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:54:42.030Z] prd-ubuntu20.04-docker-8c-8g-7490 does not seem to be running inside a container [2023-09-20T21:54:42.000Z] $ 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-1482/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-1482 -v /w/workspace/dry_app-functions-sdk-go_PR-1482:/w/workspace/dry_app-functions-sdk-go_PR-1482:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1482@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1482@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-20T21:54:42.222Z] $ docker top 109cd4c5f480748e44cc3901753d4d5a707acb40ae2c1ec2bc57164e0001c956 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T21:54:42.637Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-20T21:54:42.921Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-20T21:54:43.205Z] + ls /var/log/sa-host [2023-09-20T21:54:43.205Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T21:54:43.272Z] provisioning config files... [2023-09-20T21:54:43.280Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-functions-sdk-go_PR-1482@tmp/config8860734702753619438tmp [Pipeline] { [Pipeline] echo [2023-09-20T21:54:43.293Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:54:43.575Z] ---> create-netrc.sh [Pipeline] } [2023-09-20T21:54:43.582Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:54:43.898Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-20T21:54:43.905Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:54:44.187Z] ---> sudo-logs.sh [2023-09-20T21:54:44.187Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-20T21:54:44.213Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:54:44.493Z] ---> job-cost.sh [2023-09-20T21:54:44.493Z] lf-activate-venv: SKIPPING [2023-09-20T21:54:44.493Z] DEBUG: total: 0.2199999988079071 [2023-09-20T21:54:44.493Z] INFO: Retrieving Stack Cost... [2023-09-20T21:54:44.752Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T21:54:45.319Z] INFO: Archiving Costs [Pipeline] echo [2023-09-20T21:54:45.332Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:54:45.613Z] ---> logs-deploy.sh [2023-09-20T21:54:45.613Z] lf-activate-venv: SKIPPING [2023-09-20T21:54:45.613Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-1482/3 [2023-09-20T21:54:45.613Z] INFO: archiving workspace using pattern(s): [2023-09-20T21:54:46.547Z] Archives upload complete. [2023-09-20T21:54:46.547Z] INFO: archiving logs to Nexus