Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e59d3cbbadfec5dfb4fb4bea4a5145f7460d3f6b 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-ssh3606159757371383476.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh18375023446864919748.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1451701375937196450.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh11069420824120377097.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10046200715483099839.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/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1458 in /w/workspace/oundry_app-functions-sdk-go_main [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/oundry_app-functions-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision e59d3cbbadfec5dfb4fb4bea4a5145f7460d3f6b (main) Commit message: "refactor(sdk): remove deprecated GetSecret code (#1251)" > git config core.sparsecheckout # timeout=10 > git checkout -f e59d3cbbadfec5dfb4fb4bea4a5145f7460d3f6b # timeout=10 > git rev-list --no-walk 19e77ea94902d50ea7c3e083db6ba96d872b7028 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-09T16:55:47.614Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-09T16:55:47.653Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-09T16:55:47.666Z] ========================================================= [2023-01-09T16:55:47.666Z] EdgeX Global Pipelines Version Info [2023-01-09T16:55:47.666Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-09T16:55:48.365Z] ------------------- [2023-01-09T16:55:48.365Z] stable info: [2023-01-09T16:55:48.365Z] ------------------- [2023-01-09T16:55:48.365Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-09T16:55:48.365Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-09T16:55:48.365Z] Message: update stable to v1.0.244 [2023-01-09T16:55:48.945Z] ------------------- [2023-01-09T16:55:48.945Z] experimental info: [2023-01-09T16:55:48.945Z] ------------------- [2023-01-09T16:55:48.945Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-09T16:55:48.945Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-09T16:55:48.945Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-09T16:55:49.152Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2023-01-09T16:55:49.164Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2023-01-09T16:55:49.183Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-09T16:55:49.204Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-09T16:55:49.220Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-09T16:55:49.234Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-09T16:55:49.247Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-09T16:55:49.266Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-09T16:55:49.286Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-09T16:55:49.303Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-09T16:55:49.313Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-09T16:55:49.330Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2023-01-09T16:55:49.345Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-09T16:55:49.361Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-09T16:55:49.379Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2023-01-09T16:55:49.397Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-01-09T16:55:49.411Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-09T16:55:49.425Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-09T16:55:49.436Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-09T16:55:49.450Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-09T16:55:49.461Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-09T16:55:49.471Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-01-09T16:55:49.480Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-09T16:55:49.492Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-09T16:55:49.505Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2023-01-09T16:55:49.513Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-09T16:55:49.523Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-09T16:55:49.535Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-01-09T16:55:49.544Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-01-09T16:55:49.554Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-01-09T16:55:49.564Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e59d3cbbadfec5dfb4fb4bea4a5145f7460d3f6b [Pipeline] echo [2023-01-09T16:55:49.576Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e59d3cb [Pipeline] echo [2023-01-09T16:55:49.585Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-09T16:55:49.926Z] + git rev-list -1 --merges e59d3cbbadfec5dfb4fb4bea4a5145f7460d3f6b~1..e59d3cbbadfec5dfb4fb4bea4a5145f7460d3f6b [Pipeline] echo [2023-01-09T16:55:49.985Z] -----------> git rev-list -1 --merges e59d3cbbadfec5dfb4fb4bea4a5145f7460d3f6b~1..e59d3cbbadfec5dfb4fb4bea4a5145f7460d3f6b e59d3cbbadfec5dfb4fb4bea4a5145f7460d3f6b [false] [Pipeline] sh [2023-01-09T16:55:50.271Z] + git log --format=format:%s -1 e59d3cbbadfec5dfb4fb4bea4a5145f7460d3f6b [Pipeline] echo [2023-01-09T16:55:50.288Z] ========================================================= [2023-01-09T16:55:50.288Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-09T16:55:50.288Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-09T16:55:50.606Z] + git log --format=format:%s -1 e59d3cbbadfec5dfb4fb4bea4a5145f7460d3f6b [Pipeline] echo [2023-01-09T16:55:50.620Z] [semverPrep] GIT_COMMIT: e59d3cbbadfec5dfb4fb4bea4a5145f7460d3f6b, Commit Message: refactor(sdk): remove deprecated GetSecret code (#1251) [Pipeline] echo [2023-01-09T16:55:50.633Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-09T16:55:51.014Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-09T16:55:51.015Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-09T16:55:51.015Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-09T16:55:51.015Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-09T16:55:51.015Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-09T16:55:51.015Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-09T16:55:51.015Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T16:55:51.484Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-09T16:55:51.745Z] [2023-01-09T16:55:51.745Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T16:55:52.079Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-09T16:55:52.079Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-09T16:55:52.079Z] b85a868b505f: Pulling fs layer [2023-01-09T16:55:52.079Z] e2be974225ed: Pulling fs layer [2023-01-09T16:55:52.079Z] 339a4e72a1f5: Pulling fs layer [2023-01-09T16:55:52.079Z] 988bab9f4d93: Pulling fs layer [2023-01-09T16:55:52.079Z] 1469e6f7b9e6: Pulling fs layer [2023-01-09T16:55:52.079Z] 988bab9f4d93: Waiting [2023-01-09T16:55:52.079Z] 1469e6f7b9e6: Waiting [2023-01-09T16:55:52.079Z] eaf3925da568: Pulling fs layer [2023-01-09T16:55:52.079Z] bab4dde63d76: Pulling fs layer [2023-01-09T16:55:52.079Z] bde34c3a00c8: Pulling fs layer [2023-01-09T16:55:52.079Z] b352a97aabf1: Pulling fs layer [2023-01-09T16:55:52.079Z] 4872d77fe225: Pulling fs layer [2023-01-09T16:55:52.079Z] 5851b861e8e6: Pulling fs layer [2023-01-09T16:55:52.079Z] eaf3925da568: Waiting [2023-01-09T16:55:52.079Z] bab4dde63d76: Waiting [2023-01-09T16:55:52.079Z] bde34c3a00c8: Waiting [2023-01-09T16:55:52.079Z] b352a97aabf1: Waiting [2023-01-09T16:55:52.079Z] 4872d77fe225: Waiting [2023-01-09T16:55:52.079Z] 5851b861e8e6: Waiting [2023-01-09T16:55:52.342Z] e2be974225ed: Verifying Checksum [2023-01-09T16:55:52.342Z] e2be974225ed: Download complete [2023-01-09T16:55:52.342Z] 988bab9f4d93: Verifying Checksum [2023-01-09T16:55:52.342Z] 988bab9f4d93: Download complete [2023-01-09T16:55:52.342Z] 1469e6f7b9e6: Verifying Checksum [2023-01-09T16:55:52.342Z] 1469e6f7b9e6: Download complete [2023-01-09T16:55:52.342Z] eaf3925da568: Verifying Checksum [2023-01-09T16:55:52.342Z] eaf3925da568: Download complete [2023-01-09T16:55:52.342Z] 339a4e72a1f5: Download complete [2023-01-09T16:55:52.342Z] bde34c3a00c8: Download complete [2023-01-09T16:55:52.342Z] b352a97aabf1: Download complete [2023-01-09T16:55:52.342Z] 4872d77fe225: Verifying Checksum [2023-01-09T16:55:52.342Z] 4872d77fe225: Download complete [2023-01-09T16:55:52.607Z] b85a868b505f: Download complete [2023-01-09T16:55:52.865Z] bab4dde63d76: Verifying Checksum [2023-01-09T16:55:52.865Z] bab4dde63d76: Download complete [2023-01-09T16:55:53.802Z] b85a868b505f: Pull complete [2023-01-09T16:55:53.802Z] e2be974225ed: Pull complete [2023-01-09T16:55:54.370Z] 339a4e72a1f5: Pull complete [2023-01-09T16:55:54.370Z] 988bab9f4d93: Pull complete [2023-01-09T16:55:54.629Z] 1469e6f7b9e6: Pull complete [2023-01-09T16:55:54.629Z] eaf3925da568: Pull complete [2023-01-09T16:55:56.531Z] bab4dde63d76: Pull complete [2023-01-09T16:55:56.531Z] bde34c3a00c8: Pull complete [2023-01-09T16:55:56.531Z] b352a97aabf1: Pull complete [2023-01-09T16:55:56.531Z] 4872d77fe225: Pull complete [2023-01-09T16:55:56.792Z] 5851b861e8e6: Pull complete [2023-01-09T16:55:56.792Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-09T16:55:56.792Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-09T16:55:56.792Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T16:55:56.896Z] prd-ubuntu20.04-docker-8c-8g-1458 does not seem to be running inside a container [2023-01-09T16:55:56.916Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-09T16:55:59.365Z] $ docker top cc94c0c544dde20ba095394a13510f1003b7471f5e5553fdd3290b67bb4bda9f -eo pid,comm [2023-01-09T16:55:59.432Z] 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-01-09T16:55:59.432Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-09T16:55:59.462Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-09T16:55:59.462Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-09T16:55:59.589Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-09T16:55:59.586Z] $ docker exec cc94c0c544dde20ba095394a13510f1003b7471f5e5553fdd3290b67bb4bda9f ssh-agent [2023-01-09T16:55:59.697Z] SSH_AUTH_SOCK=/tmp/ssh-Ae61af4bN4ff/agent.32 [2023-01-09T16:55:59.697Z] SSH_AGENT_PID=38 [2023-01-09T16:55:59.704Z] Running ssh-add (command line suppressed) [2023-01-09T16:55:59.802Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_11808445227157932709.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_11808445227157932709.key) [2023-01-09T16:55:59.824Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-09T16:56:00.116Z] + git tag --points-at HEAD [Pipeline] } [2023-01-09T16:56:00.123Z] $ docker exec --env ******** --env ******** cc94c0c544dde20ba095394a13510f1003b7471f5e5553fdd3290b67bb4bda9f ssh-agent -k [2023-01-09T16:56:00.221Z] unset SSH_AUTH_SOCK; [2023-01-09T16:56:00.223Z] unset SSH_AGENT_PID; [2023-01-09T16:56:00.223Z] echo Agent pid 38 killed; [2023-01-09T16:56:00.238Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-09T16:56:00.263Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-09T16:56:00.263Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-09T16:56:00.376Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-09T16:56:00.373Z] $ docker exec cc94c0c544dde20ba095394a13510f1003b7471f5e5553fdd3290b67bb4bda9f ssh-agent [2023-01-09T16:56:00.479Z] SSH_AUTH_SOCK=/tmp/ssh-jK5AtRiYewgl/agent.71 [2023-01-09T16:56:00.479Z] SSH_AGENT_PID=77 [2023-01-09T16:56:00.484Z] Running ssh-add (command line suppressed) [2023-01-09T16:56:00.582Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1006090863253679517.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1006090863253679517.key) [2023-01-09T16:56:00.600Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-09T16:56:00.890Z] + git semver init [2023-01-09T16:56:01.150Z] 2023-01-09 16:56:01,059 [run_init] DEBUG init version:0.0.0 force:False [2023-01-09T16:56:01.150Z] 2023-01-09 16:56:01,060 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_app-functions-sdk-go_main/.semver [2023-01-09T16:56:01.150Z] 2023-01-09 16:56:01,060 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-functions-sdk-go.git /w/workspace/oundry_app-functions-sdk-go_main/.semver [2023-01-09T16:56:01.150Z] 2023-01-09 16:56:01,060 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-functions-sdk-go.git', '/w/workspace/oundry_app-functions-sdk-go_main/.semver'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-01-09T16:56:03.059Z] 2023-01-09 16:56:02,624 [append_file] DEBUG append to file:/w/workspace/oundry_app-functions-sdk-go_main/.git/info/exclude [2023-01-09T16:56:03.059Z] 2023-01-09 16:56:02,624 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:False [2023-01-09T16:56:03.059Z] 2023-01-09 16:56:02,624 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2023-01-09T16:56:03.059Z] 2023-01-09 16:56:02,625 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2023-01-09T16:56:03.059Z] 3.0.0-dev.12 [Pipeline] } [2023-01-09T16:56:03.066Z] $ docker exec --env ******** --env ******** cc94c0c544dde20ba095394a13510f1003b7471f5e5553fdd3290b67bb4bda9f ssh-agent -k [2023-01-09T16:56:03.161Z] unset SSH_AUTH_SOCK; [2023-01-09T16:56:03.162Z] unset SSH_AGENT_PID; [2023-01-09T16:56:03.162Z] echo Agent pid 77 killed; [2023-01-09T16:56:03.176Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-09T16:56:03.475Z] + git semver [Pipeline] } [2023-01-09T16:56:03.744Z] $ docker stop --time=1 cc94c0c544dde20ba095394a13510f1003b7471f5e5553fdd3290b67bb4bda9f [2023-01-09T16:56:05.052Z] $ docker rm -f --volumes cc94c0c544dde20ba095394a13510f1003b7471f5e5553fdd3290b67bb4bda9f [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-09T16:56:05.398Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-09T16:56:05.600Z] Stashed 1 file(s) [Pipeline] echo [2023-01-09T16:56:05.604Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.12 [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-01-09T16:56:05.766Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-09T16:56:05.777Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-09T16:56:05.783Z] ========================================================= [2023-01-09T16:56:05.783Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-09T16:56:05.783Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-01-09T16:56:06.076Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-09T16:56:06.076Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-09T16:56:06.076Z] 213ec9aee27d: Pulling fs layer [2023-01-09T16:56:06.076Z] 4583459ba037: Pulling fs layer [2023-01-09T16:56:06.076Z] 93c1e223e6f2: Pulling fs layer [2023-01-09T16:56:06.076Z] 53926ce57604: Pulling fs layer [2023-01-09T16:56:06.076Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-09T16:56:06.076Z] 22ff95d597cd: Pulling fs layer [2023-01-09T16:56:06.076Z] 53926ce57604: Waiting [2023-01-09T16:56:06.076Z] 21b2b0c7a3f4: Waiting [2023-01-09T16:56:06.076Z] 12d6caf4c0d1: Pulling fs layer [2023-01-09T16:56:06.076Z] 96b7cbca73a9: Pulling fs layer [2023-01-09T16:56:06.076Z] a7acece74701: Pulling fs layer [2023-01-09T16:56:06.076Z] 22ff95d597cd: Waiting [2023-01-09T16:56:06.076Z] 12d6caf4c0d1: Waiting [2023-01-09T16:56:06.076Z] 96b7cbca73a9: Waiting [2023-01-09T16:56:06.076Z] a7acece74701: Waiting [2023-01-09T16:56:06.076Z] 93c1e223e6f2: Verifying Checksum [2023-01-09T16:56:06.076Z] 4583459ba037: Download complete [2023-01-09T16:56:06.076Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-09T16:56:06.076Z] 21b2b0c7a3f4: Download complete [2023-01-09T16:56:06.076Z] 22ff95d597cd: Verifying Checksum [2023-01-09T16:56:06.076Z] 22ff95d597cd: Download complete [2023-01-09T16:56:06.076Z] 213ec9aee27d: Verifying Checksum [2023-01-09T16:56:06.076Z] 213ec9aee27d: Download complete [2023-01-09T16:56:06.076Z] 12d6caf4c0d1: Verifying Checksum [2023-01-09T16:56:06.076Z] 12d6caf4c0d1: Download complete [2023-01-09T16:56:06.347Z] 213ec9aee27d: Pull complete [2023-01-09T16:56:06.347Z] 4583459ba037: Pull complete [2023-01-09T16:56:06.624Z] 93c1e223e6f2: Pull complete [2023-01-09T16:56:06.624Z] a7acece74701: Verifying Checksum [2023-01-09T16:56:06.624Z] a7acece74701: Download complete [2023-01-09T16:56:07.217Z] 53926ce57604: Verifying Checksum [2023-01-09T16:56:07.217Z] 53926ce57604: Download complete [2023-01-09T16:56:07.217Z] 96b7cbca73a9: Verifying Checksum [2023-01-09T16:56:07.217Z] 96b7cbca73a9: Download complete [2023-01-09T16:56:10.498Z] 53926ce57604: Pull complete [2023-01-09T16:56:10.498Z] 21b2b0c7a3f4: Pull complete [2023-01-09T16:56:10.757Z] 22ff95d597cd: Pull complete [2023-01-09T16:56:10.757Z] 12d6caf4c0d1: Pull complete [2023-01-09T16:56:13.287Z] 96b7cbca73a9: Pull complete [2023-01-09T16:56:13.547Z] a7acece74701: Pull complete [2023-01-09T16:56:13.547Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-09T16:56:13.547Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-09T16:56:13.547Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] sh [2023-01-09T16:56:13.842Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T16:56:14.149Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-09T16:56:14.149Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T16:56:14.219Z] prd-ubuntu20.04-docker-8c-8g-1458 does not seem to be running inside a container [2023-01-09T16:56:14.251Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@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 ******** ci-base-image-x86_64 cat [2023-01-09T16:56:18.004Z] $ docker top 18050c18ac9aee3aca60ef0bf0e112ff95014c5c358997eab6833d21becb1b91 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T16:56:18.341Z] + go version [2023-01-09T16:56:18.341Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-09T16:56:18.353Z] $ docker stop --time=1 18050c18ac9aee3aca60ef0bf0e112ff95014c5c358997eab6833d21becb1b91 [2023-01-09T16:56:19.652Z] $ docker rm -f --volumes 18050c18ac9aee3aca60ef0bf0e112ff95014c5c358997eab6833d21becb1b91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T16:56:20.034Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-09T16:56:20.034Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T16:56:20.105Z] prd-ubuntu20.04-docker-8c-8g-1458 does not seem to be running inside a container [2023-01-09T16:56:20.135Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@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 ******** ci-base-image-x86_64 cat [2023-01-09T16:56:20.465Z] $ docker top 638049dfefd62de88a10036336646d67dcad0e6efdbf46934d3a3ed92ddac922 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T16:56:20.707Z] Still waiting to schedule task [2023-01-09T16:56:20.707Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-09T16:56:20.800Z] + git config --global --add safe.directory /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-01-09T16:56:21.095Z] + make test [2023-01-09T16:56:21.095Z] make -C ./app-service-template build [2023-01-09T16:56:21.095Z] make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2023-01-09T16:56:21.095Z] go mod tidy [2023-01-09T16:56:21.095Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.2 [2023-01-09T16:56:21.095Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 [2023-01-09T16:56:21.095Z] go: downloading github.com/google/uuid v1.3.0 [2023-01-09T16:56:21.095Z] go: downloading github.com/stretchr/testify v1.8.1 [2023-01-09T16:56:21.095Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.5 [2023-01-09T16:56:21.095Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.2 [2023-01-09T16:56:21.095Z] go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.0.0-dev.3 [2023-01-09T16:56:21.095Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2023-01-09T16:56:21.354Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2023-01-09T16:56:21.354Z] go: downloading github.com/stretchr/objx v0.5.0 [2023-01-09T16:56:21.354Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2023-01-09T16:56:21.354Z] go: downloading github.com/go-playground/validator/v10 v10.11.1 [2023-01-09T16:56:21.354Z] go: downloading github.com/go-kit/log v0.2.1 [2023-01-09T16:56:21.354Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.6 [2023-01-09T16:56:21.354Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.2 [2023-01-09T16:56:21.354Z] go: downloading github.com/gorilla/mux v1.8.0 [2023-01-09T16:56:21.354Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2023-01-09T16:56:21.354Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2023-01-09T16:56:21.354Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2023-01-09T16:56:21.354Z] go: downloading github.com/leodido/go-urn v1.2.1 [2023-01-09T16:56:21.613Z] go: downloading golang.org/x/crypto v0.0.0-20221010152910-d6f0a8c073c2 [2023-01-09T16:56:21.613Z] go: downloading golang.org/x/text v0.3.7 [2023-01-09T16:56:21.613Z] go: downloading github.com/go-playground/locales v0.14.0 [2023-01-09T16:56:21.613Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2023-01-09T16:56:21.613Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2023-01-09T16:56:21.613Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0-dev.2 [2023-01-09T16:56:21.613Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.1 [2023-01-09T16:56:21.871Z] go: downloading github.com/pelletier/go-toml v1.9.5 [2023-01-09T16:56:21.871Z] go: downloading github.com/hashicorp/consul/api v1.18.0 [2023-01-09T16:56:21.871Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2023-01-09T16:56:21.871Z] go: downloading github.com/gorilla/websocket v1.4.2 [2023-01-09T16:56:21.871Z] go: downloading golang.org/x/net v0.0.0-20211216030914-fe4d6282115f [2023-01-09T16:56:21.871Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2023-01-09T16:56:21.871Z] go: downloading github.com/x448/float16 v0.8.4 [2023-01-09T16:56:22.439Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2023-01-09T16:56:22.439Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2023-01-09T16:56:22.439Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2023-01-09T16:56:22.439Z] go: downloading bitbucket.org/bertimus9/systemstat v0.5.0 [2023-01-09T16:56:22.439Z] go: downloading golang.org/x/sys v0.0.0-20221010170243-090e33056c14 [2023-01-09T16:56:22.439Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.1.1 [2023-01-09T16:56:22.439Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2023-01-09T16:56:22.439Z] go: downloading github.com/hashicorp/go-hclog v0.14.1 [2023-01-09T16:56:22.439Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2023-01-09T16:56:22.439Z] go: downloading github.com/hashicorp/serf v0.10.1 [2023-01-09T16:56:22.439Z] go: downloading github.com/mitchellh/mapstructure v1.5.0 [2023-01-09T16:56:22.439Z] go: downloading github.com/google/go-cmp v0.5.7 [2023-01-09T16:56:22.439Z] go: downloading github.com/hashicorp/consul/sdk v0.13.0 [2023-01-09T16:56:22.439Z] go: downloading github.com/hashicorp/go-uuid v1.0.2 [2023-01-09T16:56:22.439Z] go: downloading github.com/kr/pretty v0.3.0 [2023-01-09T16:56:22.439Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2023-01-09T16:56:22.439Z] go: downloading github.com/nats-io/nats.go v1.20.0 [2023-01-09T16:56:22.439Z] go: downloading github.com/nats-io/nats-server/v2 v2.9.9 [2023-01-09T16:56:22.439Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2023-01-09T16:56:22.439Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2023-01-09T16:56:22.439Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2023-01-09T16:56:22.696Z] go: downloading github.com/fatih/color v1.9.0 [2023-01-09T16:56:22.696Z] go: downloading github.com/mattn/go-colorable v0.1.12 [2023-01-09T16:56:22.696Z] go: downloading github.com/mattn/go-isatty v0.0.14 [2023-01-09T16:56:22.696Z] go: downloading github.com/Microsoft/go-winio v0.5.2 [2023-01-09T16:56:22.696Z] go: downloading github.com/zeebo/errs v1.2.2 [2023-01-09T16:56:22.696Z] go: downloading google.golang.org/grpc v1.46.0 [2023-01-09T16:56:22.696Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 [2023-01-09T16:56:22.696Z] go: downloading github.com/kr/text v0.2.0 [2023-01-09T16:56:22.696Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2023-01-09T16:56:22.696Z] go: downloading github.com/armon/go-metrics v0.3.10 [2023-01-09T16:56:22.696Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2023-01-09T16:56:22.696Z] go: downloading github.com/hashicorp/memberlist v0.5.0 [2023-01-09T16:56:22.696Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2023-01-09T16:56:22.696Z] go: downloading gopkg.in/square/go-jose.v2 v2.4.1 [2023-01-09T16:56:22.953Z] go: downloading google.golang.org/protobuf v1.28.0 [2023-01-09T16:56:22.953Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2023-01-09T16:56:22.953Z] go: downloading github.com/onsi/gomega v1.7.0 [2023-01-09T16:56:22.953Z] go: downloading github.com/hashicorp/go-version v1.2.1 [2023-01-09T16:56:22.953Z] go: downloading github.com/pkg/errors v0.9.1 [2023-01-09T16:56:22.953Z] go: downloading github.com/nats-io/nkeys v0.3.0 [2023-01-09T16:56:22.953Z] go: downloading github.com/nats-io/nuid v1.0.1 [2023-01-09T16:56:22.953Z] go: downloading github.com/hashicorp/go-immutable-radix v1.3.0 [2023-01-09T16:56:22.953Z] go: downloading github.com/pascaldekloe/goe v0.1.0 [2023-01-09T16:56:22.953Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2023-01-09T16:56:22.953Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.2 [2023-01-09T16:56:22.953Z] go: downloading github.com/miekg/dns v1.1.41 [2023-01-09T16:56:22.953Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2023-01-09T16:56:22.953Z] go: downloading github.com/klauspost/compress v1.15.11 [2023-01-09T16:56:22.953Z] go: downloading github.com/minio/highwayhash v1.0.2 [2023-01-09T16:56:23.211Z] go: downloading github.com/nats-io/jwt/v2 v2.3.0 [2023-01-09T16:56:23.211Z] go: downloading golang.org/x/time v0.0.0-20220922220347-f3bd1da661af [2023-01-09T16:56:23.211Z] go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa [2023-01-09T16:56:23.211Z] go: downloading github.com/golang/protobuf v1.5.2 [2023-01-09T16:56:23.211Z] go: downloading github.com/hashicorp/golang-lru v0.5.4 [2023-01-09T16:56:23.211Z] go: downloading github.com/hpcloud/tail v1.0.0 [2023-01-09T16:56:23.211Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2023-01-09T16:56:23.211Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2023-01-09T16:56:23.211Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2023-01-09T16:56:25.113Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.9 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-new-service [2023-01-09T16:56:39.984Z] make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2023-01-09T16:56:39.984Z] make -C ./app-service-template test [2023-01-09T16:56:39.984Z] make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2023-01-09T16:56:39.984Z] go test -race -coverprofile=coverage.out ./... [2023-01-09T16:57:01.916Z] ok app-new-service 0.066s coverage: 48.1% of statements [2023-01-09T16:57:01.916Z] ? app-new-service/config [no test files] [2023-01-09T16:57:01.916Z] ok app-new-service/functions 0.070s coverage: 85.3% of statements [2023-01-09T16:57:01.916Z] go vet ./... [2023-01-09T16:57:10.616Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-09T16:57:10.616Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-09T16:57:10.616Z] ./bin/test-attribution-txt.sh [2023-01-09T16:57:10.616Z] make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2023-01-09T16:57:10.616Z] go test -race -coverprofile=coverage.out ./... [2023-01-09T16:57:10.616Z] go: downloading github.com/gomodule/redigo v1.8.9 [2023-01-09T16:57:10.616Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal [no test files] [2023-01-09T16:57:13.149Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/app 0.105s coverage: 61.2% of statements [2023-01-09T16:57:13.149Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/appfunction 0.063s coverage: 93.8% of statements [2023-01-09T16:57:13.149Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/container [no test files] [2023-01-09T16:57:13.149Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/handlers 0.138s coverage: 76.5% of statements [2023-01-09T16:57:13.149Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/common [no test files] [2023-01-09T16:57:13.149Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/controller/rest 0.080s coverage: 88.7% of statements [2023-01-09T16:57:13.149Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/etm 0.077s coverage: 100.0% of statements [2023-01-09T16:57:13.149Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/runtime 0.170s coverage: 77.3% of statements [2023-01-09T16:57:13.149Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db [no test files] [2023-01-09T16:57:13.149Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis [no test files] [2023-01-09T16:57:13.149Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis/models 0.072s coverage: 97.3% of statements [2023-01-09T16:57:13.149Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/telemetry [no test files] [2023-01-09T16:57:13.149Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger [no test files] [2023-01-09T16:57:13.149Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http 0.096s coverage: 82.8% of statements [2023-01-09T16:57:13.149Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http/mocks [no test files] [2023-01-09T16:57:13.149Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/messagebus 0.095s coverage: 68.9% of statements [2023-01-09T16:57:13.149Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/messagebus/mocks [no test files] [2023-01-09T16:57:13.149Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mocks [no test files] [2023-01-09T16:57:13.149Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt 0.095s coverage: 28.7% of statements [2023-01-09T16:57:13.149Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt/mocks [no test files] [2023-01-09T16:57:13.149Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/webserver 0.088s coverage: 14.0% of statements [2023-01-09T16:57:13.149Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg 0.075s coverage: 27.3% of statements [2023-01-09T16:57:13.149Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces [no test files] [2023-01-09T16:57:13.149Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-09T16:57:13.149Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/secure 0.067s coverage: 52.8% of statements [2023-01-09T16:57:39.884Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/transforms 25.138s coverage: 74.7% of statements [2023-01-09T16:57:39.884Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/util 0.066s coverage: 94.4% of statements [2023-01-09T16:57:39.884Z] go vet ./... [2023-01-09T16:57:39.884Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-09T16:57:39.884Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-09T16:57:48.028Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [Pipeline] echo [2023-01-09T16:57:48.040Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-09T16:57:48.059Z] $ docker stop --time=1 638049dfefd62de88a10036336646d67dcad0e6efdbf46934d3a3ed92ddac922 [2023-01-09T16:57:49.903Z] $ docker rm -f --volumes 638049dfefd62de88a10036336646d67dcad0e6efdbf46934d3a3ed92ddac922 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-09T16:57:50.646Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-09T16:57:50.708Z] 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-01-09T16:57:51.182Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-09T16:57:51.182Z] [2023-01-09T16:57:51.182Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T16:57:51.482Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-09T16:57:51.483Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-09T16:57:51.483Z] 5eb5b503b376: Pulling fs layer [2023-01-09T16:57:51.483Z] 5c69ac0246d0: Pulling fs layer [2023-01-09T16:57:51.483Z] ec43610c2a17: Pulling fs layer [2023-01-09T16:57:51.483Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-09T16:57:51.483Z] 33b1e0a273af: Pulling fs layer [2023-01-09T16:57:51.483Z] 5d3b04190fa2: Pulling fs layer [2023-01-09T16:57:51.483Z] 2f39f015ded8: Pulling fs layer [2023-01-09T16:57:51.483Z] 33b1e0a273af: Waiting [2023-01-09T16:57:51.483Z] 5d3b04190fa2: Waiting [2023-01-09T16:57:51.749Z] 5c69ac0246d0: Verifying Checksum [2023-01-09T16:57:51.749Z] 5c69ac0246d0: Download complete [2023-01-09T16:57:51.749Z] 33b1e0a273af: Verifying Checksum [2023-01-09T16:57:51.749Z] 33b1e0a273af: Download complete [2023-01-09T16:57:51.749Z] ec43610c2a17: Verifying Checksum [2023-01-09T16:57:51.749Z] ec43610c2a17: Download complete [2023-01-09T16:57:51.749Z] 5d3b04190fa2: Verifying Checksum [2023-01-09T16:57:51.749Z] 5d3b04190fa2: Download complete [2023-01-09T16:57:52.012Z] 5eb5b503b376: Verifying Checksum [2023-01-09T16:57:52.012Z] 5eb5b503b376: Download complete [2023-01-09T16:57:52.591Z] 2f39f015ded8: Download complete [2023-01-09T16:57:53.159Z] 5eb5b503b376: Pull complete [2023-01-09T16:57:53.159Z] 5c69ac0246d0: Pull complete [2023-01-09T16:57:53.725Z] ec43610c2a17: Pull complete [2023-01-09T16:57:53.725Z] 3a2ae6a8a46f: Pull complete [2023-01-09T16:57:53.984Z] 33b1e0a273af: Pull complete [2023-01-09T16:57:53.984Z] 5d3b04190fa2: Pull complete [2023-01-09T16:57:55.361Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1460 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2023-01-09T16:57:55.377Z] Running in /w/workspace/app-functions-sdk-go/200 [Pipeline] { [Pipeline] checkout [2023-01-09T16:57:55.406Z] The recommended git tool is: git [2023-01-09T16:57:59.260Z] 2f39f015ded8: Pull complete [2023-01-09T16:57:59.260Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-09T16:57:59.260Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-09T16:57:59.260Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T16:57:59.337Z] prd-ubuntu20.04-docker-8c-8g-1458 does not seem to be running inside a container [2023-01-09T16:57:59.371Z] $ 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/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-09T16:58:00.499Z] using credential edgex-jenkins-ssh [2023-01-09T16:58:00.515Z] Cloning the remote Git repository [2023-01-09T16:58:00.557Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2023-01-09T16:58:00.629Z] > git init /w/workspace/app-functions-sdk-go/200 # timeout=10 [2023-01-09T16:58:00.763Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2023-01-09T16:58:00.764Z] > git --version # timeout=10 [2023-01-09T16:58:00.781Z] > git --version # 'git version 2.25.1' [2023-01-09T16:58:00.783Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-09T16:58:00.839Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-09T16:58:02.662Z] $ docker top dbca20bc876d97461e8cdf61789c8fdf9b217efb061076c71dd003aefafe058e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T16:58:03.072Z] ---> job-cost.sh [2023-01-09T16:58:03.072Z] lf-activate-venv: SKIPPING [2023-01-09T16:58:03.072Z] INFO: No Stack... [2023-01-09T16:58:03.640Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-09T16:58:03.899Z] INFO: Archiving Costs [Pipeline] sh [2023-01-09T16:58:04.192Z] + cat /w/workspace/oundry_app-functions-sdk-go_main/archives/cost.csv [2023-01-09T16:58:04.193Z] + cut -d, -f6 [Pipeline] lock [2023-01-09T16:58:04.210Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-200-stack-cost] [2023-01-09T16:58:04.217Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-200-stack-cost] did not exist. Created. [2023-01-09T16:58:04.217Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-200-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-09T16:58:04.523Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-09T16:58:04.559Z] Stashed 1 file(s) [Pipeline] } [2023-01-09T16:58:04.566Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-200-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-09T16:58:04.591Z] $ docker stop --time=1 dbca20bc876d97461e8cdf61789c8fdf9b217efb061076c71dd003aefafe058e [2023-01-09T16:58:04.816Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2023-01-09T16:58:04.837Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-09T16:58:05.703Z] Avoid second fetch [2023-01-09T16:58:05.703Z] Checking out Revision e59d3cbbadfec5dfb4fb4bea4a5145f7460d3f6b (main) [2023-01-09T16:58:05.741Z] $ docker rm -f --volumes dbca20bc876d97461e8cdf61789c8fdf9b217efb061076c71dd003aefafe058e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-09T16:58:06.242Z] Commit message: "refactor(sdk): remove deprecated GetSecret code (#1251)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-09T16:58:05.720Z] > git config core.sparsecheckout # timeout=10 [2023-01-09T16:58:05.738Z] > git checkout -f e59d3cbbadfec5dfb4fb4bea4a5145f7460d3f6b # timeout=10 [2023-01-09T16:58:07.120Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-09T16:58:07.120Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-09T16:58:07.120Z] Dload Upload Total Spent Left Speed [2023-01-09T16:58:07.120Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 77278 0 --:--:-- --:--:-- --:--:-- 76813 100 12751 100 12751 0 0 76353 0 --:--:-- --:--:-- --:--:-- 76353 [Pipeline] sh [2023-01-09T16:58:07.742Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-09T16:58:08.065Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-09T16:58:08.065Z] + sudo tee /etc/docker/daemon.new [2023-01-09T16:58:08.065Z] { [2023-01-09T16:58:08.065Z] "registry-mirrors": [ [2023-01-09T16:58:08.065Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-09T16:58:08.065Z] ], [2023-01-09T16:58:08.065Z] "bip": "10.250.0.254/24", [2023-01-09T16:58:08.065Z] "hosts": [ [2023-01-09T16:58:08.065Z] "tcp://0.0.0.0:5555", [2023-01-09T16:58:08.065Z] "unix:///var/run/docker.sock" [2023-01-09T16:58:08.065Z] ], [2023-01-09T16:58:08.065Z] "mtu": 1458, [2023-01-09T16:58:08.065Z] "selinux-enabled": true, [2023-01-09T16:58:08.065Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-09T16:58:08.065Z] } [Pipeline] sh [2023-01-09T16:58:08.396Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-09T16:58:08.728Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2023-01-09T16:58:27.203Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-09T16:58:27.216Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-09T16:58:27.223Z] ========================================================= [2023-01-09T16:58:27.223Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-09T16:58:27.223Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-01-09T16:58:27.552Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-09T16:58:28.159Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-09T16:58:28.159Z] 9b18e9b68314: Pulling fs layer [2023-01-09T16:58:28.159Z] 35d82f9e3411: Pulling fs layer [2023-01-09T16:58:28.159Z] e16973657156: Pulling fs layer [2023-01-09T16:58:28.159Z] fc693d55d65f: Pulling fs layer [2023-01-09T16:58:28.159Z] 7e9fc2657dce: Pulling fs layer [2023-01-09T16:58:28.159Z] dda99020689f: Pulling fs layer [2023-01-09T16:58:28.159Z] db1c61fa0a46: Pulling fs layer [2023-01-09T16:58:28.159Z] 891c053d2c06: Pulling fs layer [2023-01-09T16:58:28.159Z] dda99020689f: Waiting [2023-01-09T16:58:28.159Z] db1c61fa0a46: Waiting [2023-01-09T16:58:28.159Z] fc693d55d65f: Waiting [2023-01-09T16:58:28.159Z] 891c053d2c06: Waiting [2023-01-09T16:58:28.159Z] 7e9fc2657dce: Waiting [2023-01-09T16:58:28.159Z] e16973657156: Verifying Checksum [2023-01-09T16:58:28.159Z] e16973657156: Download complete [2023-01-09T16:58:28.159Z] 35d82f9e3411: Download complete [2023-01-09T16:58:28.159Z] 7e9fc2657dce: Verifying Checksum [2023-01-09T16:58:28.159Z] 7e9fc2657dce: Download complete [2023-01-09T16:58:28.159Z] dda99020689f: Verifying Checksum [2023-01-09T16:58:28.159Z] dda99020689f: Download complete [2023-01-09T16:58:28.159Z] 9b18e9b68314: Verifying Checksum [2023-01-09T16:58:29.128Z] 9b18e9b68314: Pull complete [2023-01-09T16:58:29.402Z] 891c053d2c06: Verifying Checksum [2023-01-09T16:58:29.402Z] 891c053d2c06: Download complete [2023-01-09T16:58:29.676Z] 35d82f9e3411: Pull complete [2023-01-09T16:58:29.948Z] e16973657156: Pull complete [2023-01-09T16:58:30.536Z] db1c61fa0a46: Verifying Checksum [2023-01-09T16:58:30.536Z] db1c61fa0a46: Download complete [2023-01-09T16:58:31.128Z] fc693d55d65f: Verifying Checksum [2023-01-09T16:58:31.128Z] fc693d55d65f: Download complete [2023-01-09T16:58:43.481Z] fc693d55d65f: Pull complete [2023-01-09T16:58:43.481Z] 7e9fc2657dce: Pull complete [2023-01-09T16:58:43.481Z] dda99020689f: Pull complete [2023-01-09T16:58:48.852Z] db1c61fa0a46: Pull complete [2023-01-09T16:58:51.458Z] 891c053d2c06: Pull complete [2023-01-09T16:58:51.458Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-09T16:58:51.458Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-09T16:58:51.458Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] sh [2023-01-09T16:58:51.788Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T16:58:52.126Z] + docker inspect -f . ci-base-image-arm64 [2023-01-09T16:58:52.126Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T16:58:52.307Z] prd-ubuntu20.04-docker-arm64-4c-16g-1460 does not seem to be running inside a container [2023-01-09T16:58:52.377Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/200 -v /w/workspace/app-functions-sdk-go/200:/w/workspace/app-functions-sdk-go/200:rw,z -v /w/workspace/app-functions-sdk-go/200@tmp:/w/workspace/app-functions-sdk-go/200@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 ******** ci-base-image-arm64 cat [2023-01-09T16:58:55.235Z] $ docker top 6efe0faeeb9d389758346142aeacef471066d262ae0eb96d7795bbcf084f45cd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T16:58:56.038Z] + go version [2023-01-09T16:58:56.038Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-09T16:58:56.059Z] $ docker stop --time=1 6efe0faeeb9d389758346142aeacef471066d262ae0eb96d7795bbcf084f45cd [2023-01-09T16:58:57.635Z] $ docker rm -f --volumes 6efe0faeeb9d389758346142aeacef471066d262ae0eb96d7795bbcf084f45cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T16:58:58.216Z] + docker inspect -f . ci-base-image-arm64 [2023-01-09T16:58:58.216Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T16:58:58.381Z] prd-ubuntu20.04-docker-arm64-4c-16g-1460 does not seem to be running inside a container [2023-01-09T16:58:58.459Z] $ 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/200 -v /w/workspace/app-functions-sdk-go/200:/w/workspace/app-functions-sdk-go/200:rw,z -v /w/workspace/app-functions-sdk-go/200@tmp:/w/workspace/app-functions-sdk-go/200@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 ******** ci-base-image-arm64 cat [2023-01-09T16:58:59.509Z] $ docker top b94172cfca8a67a62da9af815ffd265bca19b4b375b8a81d36705b40ac88aa7f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T16:59:00.008Z] + git config --global --add safe.directory /w/workspace/app-functions-sdk-go/200 [Pipeline] fileExists [Pipeline] sh [2023-01-09T16:59:00.335Z] + make test [2023-01-09T16:59:00.335Z] make -C ./app-service-template build [2023-01-09T16:59:00.335Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/200/app-service-template' [2023-01-09T16:59:00.335Z] go mod tidy [2023-01-09T16:59:00.603Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.2 [2023-01-09T16:59:00.603Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 [2023-01-09T16:59:00.868Z] go: downloading github.com/google/uuid v1.3.0 [2023-01-09T16:59:00.868Z] go: downloading github.com/stretchr/testify v1.8.1 [2023-01-09T16:59:00.868Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.5 [2023-01-09T16:59:00.868Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.2 [2023-01-09T16:59:01.136Z] go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.0.0-dev.3 [2023-01-09T16:59:01.406Z] go: downloading github.com/go-playground/validator/v10 v10.11.1 [2023-01-09T16:59:01.406Z] go: downloading github.com/go-kit/log v0.2.1 [2023-01-09T16:59:01.406Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2023-01-09T16:59:01.406Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2023-01-09T16:59:01.406Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.6 [2023-01-09T16:59:01.406Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.2 [2023-01-09T16:59:01.406Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2023-01-09T16:59:01.406Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2023-01-09T16:59:01.406Z] go: downloading github.com/stretchr/objx v0.5.0 [2023-01-09T16:59:01.680Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.1 [2023-01-09T16:59:01.680Z] go: downloading github.com/gorilla/mux v1.8.0 [2023-01-09T16:59:01.680Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2023-01-09T16:59:01.680Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0-dev.2 [2023-01-09T16:59:01.948Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2023-01-09T16:59:01.948Z] go: downloading github.com/x448/float16 v0.8.4 [2023-01-09T16:59:01.948Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2023-01-09T16:59:01.948Z] go: downloading github.com/leodido/go-urn v1.2.1 [2023-01-09T16:59:01.948Z] go: downloading golang.org/x/crypto v0.0.0-20221010152910-d6f0a8c073c2 [2023-01-09T16:59:01.948Z] go: downloading golang.org/x/text v0.3.7 [2023-01-09T16:59:02.530Z] go: downloading github.com/go-playground/locales v0.14.0 [2023-01-09T16:59:03.951Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2023-01-09T16:59:03.951Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2023-01-09T16:59:04.911Z] go: downloading github.com/gorilla/websocket v1.4.2 [2023-01-09T16:59:04.911Z] go: downloading golang.org/x/net v0.0.0-20211216030914-fe4d6282115f [2023-01-09T16:59:05.180Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2023-01-09T16:59:05.180Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2023-01-09T16:59:05.180Z] go: downloading github.com/pelletier/go-toml v1.9.5 [2023-01-09T16:59:05.180Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2023-01-09T16:59:05.180Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2023-01-09T16:59:05.180Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.1.1 [2023-01-09T16:59:05.447Z] go: downloading github.com/hashicorp/consul/api v1.18.0 [2023-01-09T16:59:05.447Z] go: downloading golang.org/x/sys v0.0.0-20221010170243-090e33056c14 [2023-01-09T16:59:05.447Z] go: downloading github.com/kr/pretty v0.3.0 [2023-01-09T16:59:05.447Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2023-01-09T16:59:05.447Z] go: downloading bitbucket.org/bertimus9/systemstat v0.5.0 [2023-01-09T16:59:05.713Z] go: downloading github.com/nats-io/nats.go v1.20.0 [2023-01-09T16:59:05.713Z] go: downloading github.com/nats-io/nats-server/v2 v2.9.9 [2023-01-09T16:59:05.978Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2023-01-09T16:59:05.978Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2023-01-09T16:59:05.978Z] go: downloading github.com/Microsoft/go-winio v0.5.2 [2023-01-09T16:59:05.978Z] go: downloading github.com/zeebo/errs v1.2.2 [2023-01-09T16:59:05.978Z] go: downloading google.golang.org/grpc v1.46.0 [2023-01-09T16:59:06.937Z] go: downloading github.com/kr/text v0.2.0 [2023-01-09T16:59:06.937Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2023-01-09T16:59:06.937Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2023-01-09T16:59:06.937Z] go: downloading github.com/hashicorp/go-hclog v0.14.1 [2023-01-09T16:59:06.937Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2023-01-09T16:59:06.937Z] go: downloading github.com/hashicorp/serf v0.10.1 [2023-01-09T16:59:07.204Z] go: downloading github.com/mitchellh/mapstructure v1.5.0 [2023-01-09T16:59:07.204Z] go: downloading github.com/google/go-cmp v0.5.7 [2023-01-09T16:59:07.204Z] go: downloading github.com/hashicorp/consul/sdk v0.13.0 [2023-01-09T16:59:07.204Z] go: downloading github.com/hashicorp/go-uuid v1.0.2 [2023-01-09T16:59:07.204Z] go: downloading github.com/nats-io/nkeys v0.3.0 [2023-01-09T16:59:07.204Z] go: downloading github.com/nats-io/nuid v1.0.1 [2023-01-09T16:59:07.483Z] go: downloading gopkg.in/square/go-jose.v2 v2.4.1 [2023-01-09T16:59:07.483Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2023-01-09T16:59:07.483Z] go: downloading github.com/onsi/gomega v1.7.0 [2023-01-09T16:59:07.483Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2023-01-09T16:59:07.483Z] go: downloading google.golang.org/protobuf v1.28.0 [2023-01-09T16:59:08.065Z] go: downloading github.com/klauspost/compress v1.15.11 [2023-01-09T16:59:08.332Z] go: downloading github.com/minio/highwayhash v1.0.2 [2023-01-09T16:59:08.332Z] go: downloading github.com/nats-io/jwt/v2 v2.3.0 [2023-01-09T16:59:08.332Z] go: downloading golang.org/x/time v0.0.0-20220922220347-f3bd1da661af [2023-01-09T16:59:08.332Z] go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa [2023-01-09T16:59:08.600Z] go: downloading github.com/golang/protobuf v1.5.2 [2023-01-09T16:59:11.954Z] go: downloading github.com/fatih/color v1.9.0 [2023-01-09T16:59:11.954Z] go: downloading github.com/mattn/go-colorable v0.1.12 [2023-01-09T16:59:11.954Z] go: downloading github.com/mattn/go-isatty v0.0.14 [2023-01-09T16:59:11.954Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2023-01-09T16:59:11.954Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 [2023-01-09T16:59:11.954Z] go: downloading github.com/hashicorp/go-version v1.2.1 [2023-01-09T16:59:11.954Z] go: downloading github.com/pkg/errors v0.9.1 [2023-01-09T16:59:11.954Z] go: downloading github.com/armon/go-metrics v0.3.10 [2023-01-09T16:59:11.954Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2023-01-09T16:59:11.954Z] go: downloading github.com/hashicorp/memberlist v0.5.0 [2023-01-09T16:59:12.221Z] go: downloading github.com/hashicorp/go-immutable-radix v1.3.0 [2023-01-09T16:59:12.487Z] go: downloading github.com/pascaldekloe/goe v0.1.0 [2023-01-09T16:59:12.487Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2023-01-09T16:59:12.753Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.2 [2023-01-09T16:59:12.753Z] go: downloading github.com/miekg/dns v1.1.41 [2023-01-09T16:59:13.024Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2023-01-09T16:59:13.024Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2023-01-09T16:59:13.024Z] go: downloading github.com/hpcloud/tail v1.0.0 [2023-01-09T16:59:13.292Z] go: downloading github.com/hashicorp/golang-lru v0.5.4 [2023-01-09T16:59:13.292Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2023-01-09T16:59:13.292Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2023-01-09T16:59:13.877Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.9 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-new-service [2023-01-09T17:01:05.553Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/200/app-service-template' [2023-01-09T17:01:05.553Z] make -C ./app-service-template test [2023-01-09T17:01:05.553Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/200/app-service-template' [2023-01-09T17:01:05.553Z] go test -race -coverprofile=coverage.out ./... [2023-01-09T17:03:42.274Z] ok app-new-service 0.270s coverage: 48.1% of statements [2023-01-09T17:03:42.274Z] ? app-new-service/config [no test files] [2023-01-09T17:03:42.274Z] ok app-new-service/functions 0.270s coverage: 85.3% of statements [2023-01-09T17:03:42.274Z] go vet ./... [2023-01-09T17:05:03.911Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-09T17:05:03.911Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-09T17:05:03.911Z] ./bin/test-attribution-txt.sh [2023-01-09T17:05:03.911Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/200/app-service-template' [2023-01-09T17:05:03.911Z] go test -race -coverprofile=coverage.out ./... [2023-01-09T17:05:03.911Z] go: downloading github.com/gomodule/redigo v1.8.9 [2023-01-09T17:05:05.861Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal [no test files] [2023-01-09T17:05:24.085Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/app 0.581s coverage: 61.2% of statements [2023-01-09T17:05:24.085Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/appfunction 0.313s coverage: 93.8% of statements [2023-01-09T17:05:24.085Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/container [no test files] [2023-01-09T17:05:24.085Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/handlers 0.519s coverage: 76.5% of statements [2023-01-09T17:05:24.085Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/common [no test files] [2023-01-09T17:05:24.085Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/controller/rest 0.410s coverage: 88.7% of statements [2023-01-09T17:05:24.085Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/etm 0.151s coverage: 100.0% of statements [2023-01-09T17:05:24.085Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/runtime 0.947s coverage: 77.3% of statements [2023-01-09T17:05:24.085Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db [no test files] [2023-01-09T17:05:24.085Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis [no test files] [2023-01-09T17:05:24.085Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis/models 0.242s coverage: 97.3% of statements [2023-01-09T17:05:24.085Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/telemetry [no test files] [2023-01-09T17:05:24.085Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger [no test files] [2023-01-09T17:05:24.085Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http 0.326s coverage: 82.8% of statements [2023-01-09T17:05:24.085Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http/mocks [no test files] [2023-01-09T17:05:25.493Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/messagebus 0.649s coverage: 68.9% of statements [2023-01-09T17:05:25.494Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/messagebus/mocks [no test files] [2023-01-09T17:05:25.494Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mocks [no test files] [2023-01-09T17:05:26.078Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt 0.357s coverage: 28.7% of statements [2023-01-09T17:05:26.078Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt/mocks [no test files] [2023-01-09T17:05:26.078Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/webserver 0.247s coverage: 14.0% of statements [2023-01-09T17:05:29.419Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg 0.235s coverage: 27.3% of statements [2023-01-09T17:05:29.419Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces [no test files] [2023-01-09T17:05:29.419Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-09T17:05:30.005Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/secure 0.283s coverage: 52.8% of statements [2023-01-09T17:06:02.216Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/transforms 25.523s coverage: 74.7% of statements [2023-01-09T17:06:02.216Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/util 0.222s coverage: 94.4% of statements [2023-01-09T17:06:02.216Z] go vet ./... [2023-01-09T17:06:05.560Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-09T17:06:05.560Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-09T17:06:05.560Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] echo [2023-01-09T17:06:05.579Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-09T17:06:05.596Z] $ docker stop --time=1 b94172cfca8a67a62da9af815ffd265bca19b4b375b8a81d36705b40ac88aa7f [2023-01-09T17:06:07.447Z] $ docker rm -f --volumes b94172cfca8a67a62da9af815ffd265bca19b4b375b8a81d36705b40ac88aa7f [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-09T17:06:11.304Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-09T17:06:11.327Z] Warning: overwriting stash ‘coverage-report’ [2023-01-09T17:06:11.902Z] 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-01-09T17:06:12.367Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-09T17:06:12.367Z] [2023-01-09T17:06:12.368Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T17:06:12.699Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-09T17:06:12.968Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-09T17:06:12.968Z] 8998bd30e6a1: Pulling fs layer [2023-01-09T17:06:12.968Z] 04944245beec: Pulling fs layer [2023-01-09T17:06:12.968Z] 699f458cf7ca: Pulling fs layer [2023-01-09T17:06:12.968Z] 765212b225bb: Pulling fs layer [2023-01-09T17:06:12.968Z] f23df028b6ca: Pulling fs layer [2023-01-09T17:06:12.968Z] d65c8cfc05b1: Pulling fs layer [2023-01-09T17:06:12.968Z] 2437ff75d9bd: Pulling fs layer [2023-01-09T17:06:12.968Z] f23df028b6ca: Waiting [2023-01-09T17:06:12.968Z] 765212b225bb: Waiting [2023-01-09T17:06:12.968Z] 2437ff75d9bd: Waiting [2023-01-09T17:06:12.968Z] d65c8cfc05b1: Waiting [2023-01-09T17:06:12.968Z] 04944245beec: Verifying Checksum [2023-01-09T17:06:12.968Z] 04944245beec: Download complete [2023-01-09T17:06:12.968Z] 765212b225bb: Download complete [2023-01-09T17:06:12.968Z] f23df028b6ca: Verifying Checksum [2023-01-09T17:06:12.968Z] f23df028b6ca: Download complete [2023-01-09T17:06:13.235Z] d65c8cfc05b1: Verifying Checksum [2023-01-09T17:06:13.235Z] d65c8cfc05b1: Download complete [2023-01-09T17:06:13.235Z] 699f458cf7ca: Verifying Checksum [2023-01-09T17:06:13.235Z] 699f458cf7ca: Download complete [2023-01-09T17:06:13.505Z] 8998bd30e6a1: Verifying Checksum [2023-01-09T17:06:13.505Z] 8998bd30e6a1: Download complete [2023-01-09T17:06:16.102Z] 2437ff75d9bd: Verifying Checksum [2023-01-09T17:06:16.102Z] 2437ff75d9bd: Download complete [2023-01-09T17:06:17.510Z] 8998bd30e6a1: Pull complete [2023-01-09T17:06:18.095Z] 04944245beec: Pull complete [2023-01-09T17:06:19.501Z] 699f458cf7ca: Pull complete [2023-01-09T17:06:19.501Z] 765212b225bb: Pull complete [2023-01-09T17:06:20.462Z] f23df028b6ca: Pull complete [2023-01-09T17:06:20.462Z] d65c8cfc05b1: Pull complete [2023-01-09T17:06:35.451Z] 2437ff75d9bd: Pull complete [2023-01-09T17:06:35.451Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-09T17:06:35.451Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-09T17:06:35.451Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T17:06:35.635Z] prd-ubuntu20.04-docker-arm64-4c-16g-1460 does not seem to be running inside a container [2023-01-09T17:06:35.698Z] $ 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/200 -v /w/workspace/app-functions-sdk-go/200:/w/workspace/app-functions-sdk-go/200:rw,z -v /w/workspace/app-functions-sdk-go/200@tmp:/w/workspace/app-functions-sdk-go/200@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-09T17:06:38.065Z] $ docker top c77e1c44d1e97e8f4d731b04ee2f371505f71e7b6b3a8a15430356a49793d4b2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T17:06:38.551Z] ---> job-cost.sh [2023-01-09T17:06:38.815Z] lf-activate-venv: SKIPPING [2023-01-09T17:06:38.815Z] INFO: No Stack... [2023-01-09T17:06:39.392Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-09T17:06:39.970Z] INFO: Archiving Costs [Pipeline] sh [2023-01-09T17:06:40.287Z] + cut -d, -f6 [2023-01-09T17:06:40.287Z] + cat /w/workspace/app-functions-sdk-go/200/archives/cost.csv [Pipeline] lock [2023-01-09T17:06:40.342Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-200-stack-cost] [2023-01-09T17:06:40.348Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-200-stack-cost] did not exist. Created. [2023-01-09T17:06:40.349Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-200-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-09T17:06:40.686Z] /w/workspace/app-functions-sdk-go/200@tmp/durable-bbbd4221/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-09T17:06:41.014Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-09T17:06:41.035Z] Warning: overwriting stash ‘stack-cost’ [2023-01-09T17:06:41.157Z] Stashed 1 file(s) [Pipeline] } [2023-01-09T17:06:41.165Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-200-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-09T17:06:41.191Z] $ docker stop --time=1 c77e1c44d1e97e8f4d731b04ee2f371505f71e7b6b3a8a15430356a49793d4b2 [2023-01-09T17:06:42.629Z] $ docker rm -f --volumes c77e1c44d1e97e8f4d731b04ee2f371505f71e7b6b3a8a15430356a49793d4b2 [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-01-09T17:06:43.010Z] provisioning config files... [2023-01-09T17:06:43.022Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config8470698427853486262tmp [Pipeline] { [Pipeline] sh [2023-01-09T17:06:43.319Z] + set +x [2023-01-09T17:06:43.320Z] + curl -s https://codecov.io/bash [2023-01-09T17:06:43.320Z] + bash -s -- [2023-01-09T17:06:43.320Z] [2023-01-09T17:06:43.320Z] _____ _ [2023-01-09T17:06:43.320Z] / ____| | | [2023-01-09T17:06:43.320Z] | | ___ __| | ___ ___ _____ __ [2023-01-09T17:06:43.320Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-09T17:06:43.320Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-09T17:06:43.320Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-09T17:06:43.320Z] Bash-1.0.6 [2023-01-09T17:06:43.320Z] [2023-01-09T17:06:43.320Z] [2023-01-09T17:06:43.320Z] ==> git version 2.25.1 found [2023-01-09T17:06:43.320Z] ==> 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-01-09T17:06:43.320Z] Release-Date: 2020-01-08 [2023-01-09T17:06:43.320Z] 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-01-09T17:06:43.320Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-09T17:06:43.320Z] ==> Jenkins CI detected. [2023-01-09T17:06:43.320Z] current dir:  /w/workspace/oundry_app-functions-sdk-go_main [2023-01-09T17:06:43.320Z] project root: . [2023-01-09T17:06:43.320Z] --> token set from env [2023-01-09T17:06:43.320Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-09T17:06:43.320Z] ==> Running gcov in . (disable via -X gcov) [2023-01-09T17:06:43.320Z] ==> Python coveragepy not found [2023-01-09T17:06:43.320Z] ==> Searching for coverage reports in: [2023-01-09T17:06:43.320Z] + . [2023-01-09T17:06:43.320Z] -> Found 2 reports [2023-01-09T17:06:43.320Z] ==> Detecting git/mercurial file structure [2023-01-09T17:06:43.320Z] ==> Reading reports [2023-01-09T17:06:43.320Z] + ./app-service-template/coverage.out bytes=3432 [2023-01-09T17:06:43.578Z] + ./coverage.out bytes=123292 [2023-01-09T17:06:43.578Z] ==> Appending adjustments [2023-01-09T17:06:43.578Z] https://docs.codecov.io/docs/fixing-reports [2023-01-09T17:06:43.837Z] + Found adjustments [2023-01-09T17:06:43.837Z] ==> Gzipping contents [2023-01-09T17:06:43.837Z] 24K /tmp/codecov.0vTrwS.gz [2023-01-09T17:06:43.837Z] ==> Uploading reports [2023-01-09T17:06:43.837Z] url: https://codecov.io [2023-01-09T17:06:43.837Z] query: branch=main&commit=e59d3cbbadfec5dfb4fb4bea4a5145f7460d3f6b&build=200&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F200%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-01-09T17:06:43.837Z] -> Pinging Codecov [2023-01-09T17:06:43.837Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=main&commit=e59d3cbbadfec5dfb4fb4bea4a5145f7460d3f6b&build=200&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F200%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-01-09T17:06:44.405Z] -> Uploading to [2023-01-09T17:06:44.406Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-09/3D8B5DFFC46A037C893635FACE044666/e59d3cbbadfec5dfb4fb4bea4a5145f7460d3f6b/9370615e-d53f-41e5-9ca6-9d2a67e18f12.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230109T170644Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=23a4e3151c02b0c89319baae9aa3dfe1e9c35fa16f8da18a7edcbe650a4f99ab [2023-01-09T17:06:44.406Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-09T17:06:44.406Z] Dload Upload Total Spent Left Speed [2023-01-09T17:06:44.406Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21627 0 0 100 21627 0 86855 --:--:-- --:--:-- --:--:-- 86855 [2023-01-09T17:06:44.406Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/e59d3cbbadfec5dfb4fb4bea4a5145f7460d3f6b [Pipeline] } [2023-01-09T17:06:44.413Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-01-09T17:06:44.654Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-01-09T17:06:44.665Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T17:06:44.968Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-09T17:06:44.969Z] [2023-01-09T17:06:44.969Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T17:06:45.271Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-09T17:06:45.271Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-01-09T17:06:45.271Z] df9b9388f04a: Pulling fs layer [2023-01-09T17:06:45.271Z] 52dc419b0ee2: Pulling fs layer [2023-01-09T17:06:45.271Z] 25bc292e5bac: Pulling fs layer [2023-01-09T17:06:45.271Z] 114826534d7a: Pulling fs layer [2023-01-09T17:06:45.271Z] 4657fd5d0bcf: Pulling fs layer [2023-01-09T17:06:45.271Z] 6ad1cebc031e: Pulling fs layer [2023-01-09T17:06:45.271Z] 8a3aa393b2d8: Pulling fs layer [2023-01-09T17:06:45.271Z] 114826534d7a: Waiting [2023-01-09T17:06:45.271Z] 4657fd5d0bcf: Waiting [2023-01-09T17:06:45.271Z] 6ad1cebc031e: Waiting [2023-01-09T17:06:45.271Z] 8a3aa393b2d8: Waiting [2023-01-09T17:06:45.271Z] 25bc292e5bac: Verifying Checksum [2023-01-09T17:06:45.271Z] 25bc292e5bac: Download complete [2023-01-09T17:06:45.271Z] 52dc419b0ee2: Verifying Checksum [2023-01-09T17:06:45.271Z] 52dc419b0ee2: Download complete [2023-01-09T17:06:45.271Z] 4657fd5d0bcf: Verifying Checksum [2023-01-09T17:06:45.271Z] 4657fd5d0bcf: Download complete [2023-01-09T17:06:45.271Z] df9b9388f04a: Download complete [2023-01-09T17:06:45.539Z] df9b9388f04a: Pull complete [2023-01-09T17:06:45.539Z] 6ad1cebc031e: Verifying Checksum [2023-01-09T17:06:45.539Z] 52dc419b0ee2: Pull complete [2023-01-09T17:06:45.539Z] 25bc292e5bac: Pull complete [2023-01-09T17:06:46.130Z] 114826534d7a: Verifying Checksum [2023-01-09T17:06:46.130Z] 114826534d7a: Download complete [2023-01-09T17:06:46.389Z] 8a3aa393b2d8: Verifying Checksum [2023-01-09T17:06:46.389Z] 8a3aa393b2d8: Download complete [2023-01-09T17:06:49.667Z] 114826534d7a: Pull complete [2023-01-09T17:06:49.667Z] 4657fd5d0bcf: Pull complete [2023-01-09T17:06:49.667Z] 6ad1cebc031e: Pull complete [2023-01-09T17:06:52.194Z] 8a3aa393b2d8: Pull complete [2023-01-09T17:06:52.194Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-01-09T17:06:52.194Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-09T17:06:52.194Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T17:06:52.270Z] prd-ubuntu20.04-docker-8c-8g-1458 does not seem to be running inside a container [2023-01-09T17:06:52.310Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-01-09T17:06:54.530Z] $ docker top 06d1b991de25c722c84ccec50ce4cedeb600d49d524a150d1c896832ce47697a -eo pid,comm [Pipeline] { [Pipeline] echo [2023-01-09T17:06:54.588Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-functions-sdk-go:main' [Pipeline] sh [2023-01-09T17:06:54.867Z] + set -o pipefail [2023-01-09T17:06:54.867Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-functions-sdk-go:main' [2023-01-09T17:07:00.132Z] [2023-01-09T17:07:00.132Z] Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v3)... [2023-01-09T17:07:00.132Z] [2023-01-09T17:07:00.132Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/899a6017-c938-46f1-adf7-2bd1b283a5ba/history/10e17fe2-dec8-4796-b424-91de00849a9f [2023-01-09T17:07:00.132Z] [2023-01-09T17:07:00.132Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-01-09T17:07:00.132Z] [2023-01-09T17:07:00.132Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-01-09T17:07:00.132Z] [2023-01-09T17:07:00.132Z] [2023-01-09T17:07:00.132Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-01-09T17:07:00.132Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-01-09T17:07:00.132Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-01-09T17:07:00.152Z] $ docker stop --time=1 06d1b991de25c722c84ccec50ce4cedeb600d49d524a150d1c896832ce47697a [2023-01-09T17:07:02.242Z] $ docker rm -f --volumes 06d1b991de25c722c84ccec50ce4cedeb600d49d524a150d1c896832ce47697a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2023-01-09T17:07:02.608Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-09T17:07:02.619Z] provisioning config files... [2023-01-09T17:07:02.626Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config17577241831218544901tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T17:07:02.922Z] --> edgex-publish-swagger.sh [2023-01-09T17:07:02.922Z] === Publish openapi/v2 API === [2023-01-09T17:07:02.922Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2023-01-09T17:07:02.922Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v2/app-functions-sdk.yaml] [2023-01-09T17:07:02.922Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-09T17:07:02.922Z] Dload Upload Total Spent Left Speed [2023-01-09T17:07:03.859Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13746 100 38 100 13708 45 16456 --:--:-- --:--:-- --:--:-- 16501 [2023-01-09T17:07:03.859Z] {"code":403,"message":"Access Denied"} [2023-01-09T17:07:03.859Z] [Pipeline] } [2023-01-09T17:07:03.866Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-09T17:07:04.277Z] + git log --format=format:%s -1 e59d3cbbadfec5dfb4fb4bea4a5145f7460d3f6b [Pipeline] sh [2023-01-09T17:07:04.565Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-09T17:07:04.565Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T17:07:04.864Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-09T17:07:04.864Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T17:07:04.936Z] prd-ubuntu20.04-docker-8c-8g-1458 does not seem to be running inside a container [2023-01-09T17:07:04.973Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-09T17:07:05.380Z] $ docker top ac94955d828054089396ddf1676a5a903fdb28867bd6ad29d5740bcd30c68b31 -eo pid,comm [2023-01-09T17:07:05.416Z] 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-01-09T17:07:05.416Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-09T17:07:05.457Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-09T17:07:05.457Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-09T17:07:05.560Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-09T17:07:05.571Z] $ docker exec ac94955d828054089396ddf1676a5a903fdb28867bd6ad29d5740bcd30c68b31 ssh-agent [2023-01-09T17:07:05.666Z] SSH_AUTH_SOCK=/tmp/ssh-GRcr5dDpsxhS/agent.32 [2023-01-09T17:07:05.666Z] SSH_AGENT_PID=38 [2023-01-09T17:07:05.671Z] Running ssh-add (command line suppressed) [2023-01-09T17:07:05.780Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5295660432934384930.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5295660432934384930.key) [2023-01-09T17:07:05.785Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-09T17:07:06.071Z] + git semver tag [2023-01-09T17:07:06.330Z] 2023-01-09 17:07:06,234 [run_tag] DEBUG tag force:False [2023-01-09T17:07:06.330Z] 2023-01-09 17:07:06,234 [check_head_tag] DEBUG check head tag [2023-01-09T17:07:06.330Z] 2023-01-09 17:07:06,235 [execute] INFO git cat-file --batch-check [2023-01-09T17:07:06.330Z] 2023-01-09 17:07:06,236 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-01-09T17:07:06.330Z] 2023-01-09 17:07:06,239 [execute] INFO git cat-file --batch [2023-01-09T17:07:06.330Z] 2023-01-09 17:07:06,239 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-01-09T17:07:06.330Z] 2023-01-09 17:07:06,266 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2023-01-09T17:07:06.330Z] 2023-01-09 17:07:06,266 [execute] INFO git tag -a v3.0.0-dev.12 -m v3.0.0-dev.12 [2023-01-09T17:07:06.330Z] 2023-01-09 17:07:06,267 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.12', '-m', 'v3.0.0-dev.12'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-01-09T17:07:06.330Z] 2023-01-09 17:07:06,271 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2023-01-09T17:07:06.330Z] 3.0.0-dev.12 [Pipeline] } [2023-01-09T17:07:06.347Z] $ docker exec --env ******** --env ******** ac94955d828054089396ddf1676a5a903fdb28867bd6ad29d5740bcd30c68b31 ssh-agent -k [2023-01-09T17:07:06.444Z] unset SSH_AUTH_SOCK; [2023-01-09T17:07:06.444Z] unset SSH_AGENT_PID; [2023-01-09T17:07:06.444Z] echo Agent pid 38 killed; [2023-01-09T17:07:06.444Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-09T17:07:06.750Z] + git semver [Pipeline] } [2023-01-09T17:07:07.030Z] $ docker stop --time=1 ac94955d828054089396ddf1676a5a903fdb28867bd6ad29d5740bcd30c68b31 [2023-01-09T17:07:08.308Z] $ docker rm -f --volumes ac94955d828054089396ddf1676a5a903fdb28867bd6ad29d5740bcd30c68b31 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T17:07:08.718Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-09T17:07:08.718Z] [2023-01-09T17:07:08.718Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T17:07:09.023Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-09T17:07:09.023Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-01-09T17:07:09.023Z] ab5ef0e58194: Pulling fs layer [2023-01-09T17:07:09.023Z] 9712f1f96733: Pulling fs layer [2023-01-09T17:07:09.023Z] 63f879dbbcfc: Pulling fs layer [2023-01-09T17:07:09.023Z] 0d9ebad4ef96: Pulling fs layer [2023-01-09T17:07:09.023Z] e9a5061849ea: Pulling fs layer [2023-01-09T17:07:09.023Z] d747dcd14b5f: Pulling fs layer [2023-01-09T17:07:09.023Z] 2de7ff778b66: Pulling fs layer [2023-01-09T17:07:09.023Z] 0d9ebad4ef96: Waiting [2023-01-09T17:07:09.023Z] e9a5061849ea: Waiting [2023-01-09T17:07:09.023Z] d747dcd14b5f: Waiting [2023-01-09T17:07:09.023Z] 2de7ff778b66: Waiting [2023-01-09T17:07:09.023Z] 9712f1f96733: Download complete [2023-01-09T17:07:09.605Z] 63f879dbbcfc: Verifying Checksum [2023-01-09T17:07:09.605Z] 63f879dbbcfc: Download complete [2023-01-09T17:07:09.605Z] 0d9ebad4ef96: Verifying Checksum [2023-01-09T17:07:09.605Z] 0d9ebad4ef96: Download complete [2023-01-09T17:07:09.605Z] d747dcd14b5f: Download complete [2023-01-09T17:07:09.605Z] ab5ef0e58194: Verifying Checksum [2023-01-09T17:07:09.605Z] ab5ef0e58194: Download complete [2023-01-09T17:07:09.605Z] e9a5061849ea: Verifying Checksum [2023-01-09T17:07:09.605Z] e9a5061849ea: Download complete [2023-01-09T17:07:09.862Z] 2de7ff778b66: Verifying Checksum [2023-01-09T17:07:09.862Z] 2de7ff778b66: Download complete [2023-01-09T17:07:12.392Z] ab5ef0e58194: Pull complete [2023-01-09T17:07:12.392Z] 9712f1f96733: Pull complete [2023-01-09T17:07:12.959Z] 63f879dbbcfc: Pull complete [2023-01-09T17:07:16.238Z] 0d9ebad4ef96: Pull complete [2023-01-09T17:07:16.496Z] e9a5061849ea: Pull complete [2023-01-09T17:07:16.496Z] d747dcd14b5f: Pull complete [2023-01-09T17:07:17.430Z] 2de7ff778b66: Pull complete [2023-01-09T17:07:17.430Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-01-09T17:07:17.430Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-09T17:07:17.430Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T17:07:17.514Z] prd-ubuntu20.04-docker-8c-8g-1458 does not seem to be running inside a container [2023-01-09T17:07:17.550Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-01-09T17:07:19.880Z] $ docker top 131446cf57022ae34dce5ce3e647e1b092467e07e3e0010411e4c6a93c77b647 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-01-09T17:07:19.941Z] provisioning config files... [2023-01-09T17:07:19.948Z] copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config742047497472950536tmp [2023-01-09T17:07:19.957Z] copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config11341049731482631393tmp [2023-01-09T17:07:19.965Z] copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config15037678828061244528tmp [Pipeline] { [Pipeline] echo [2023-01-09T17:07:19.979Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T17:07:20.260Z] ---> sigul-configuration.sh [2023-01-09T17:07:20.260Z] gpg: directory `/root/.gnupg' created [2023-01-09T17:07:20.260Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-01-09T17:07:20.260Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-01-09T17:07:20.260Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-01-09T17:07:20.260Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-01-09T17:07:20.260Z] gpg: CAST5 encrypted data [2023-01-09T17:07:20.260Z] gpg: encrypted with 1 passphrase [2023-01-09T17:07:20.260Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-01-09T17:07:20.545Z] + mkdir /home/jenkins [2023-01-09T17:07:20.545Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-01-09T17:07:20.833Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-01-09T17:07:20.841Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T17:07:21.122Z] ---> sigul-install.sh [2023-01-09T17:07:21.122Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-01-09T17:07:21.406Z] + git tag --list [2023-01-09T17:07:21.406Z] v0.1.0 [2023-01-09T17:07:21.406Z] v0.1.1 [2023-01-09T17:07:21.406Z] v1.0.0 [2023-01-09T17:07:21.406Z] v1.1.0 [2023-01-09T17:07:21.406Z] v1.2.0 [2023-01-09T17:07:21.406Z] v1.3.0 [2023-01-09T17:07:21.406Z] v1.3.1 [2023-01-09T17:07:21.406Z] v2.0.0 [2023-01-09T17:07:21.406Z] v2.0.1 [2023-01-09T17:07:21.406Z] v2.1.0 [2023-01-09T17:07:21.406Z] v2.1.1 [2023-01-09T17:07:21.406Z] v2.1.1-dev.3 [2023-01-09T17:07:21.406Z] v2.1.1-dev.4 [2023-01-09T17:07:21.406Z] v2.2.0 [2023-01-09T17:07:21.406Z] v2.2.1-dev.1 [2023-01-09T17:07:21.406Z] v2.2.1-dev.10 [2023-01-09T17:07:21.406Z] v2.2.1-dev.11 [2023-01-09T17:07:21.406Z] v2.2.1-dev.12 [2023-01-09T17:07:21.406Z] v2.2.1-dev.13 [2023-01-09T17:07:21.406Z] v2.2.1-dev.14 [2023-01-09T17:07:21.406Z] v2.2.1-dev.15 [2023-01-09T17:07:21.406Z] v2.2.1-dev.16 [2023-01-09T17:07:21.406Z] v2.2.1-dev.17 [2023-01-09T17:07:21.407Z] v2.2.1-dev.18 [2023-01-09T17:07:21.407Z] v2.2.1-dev.19 [2023-01-09T17:07:21.407Z] v2.2.1-dev.2 [2023-01-09T17:07:21.407Z] v2.2.1-dev.20 [2023-01-09T17:07:21.407Z] v2.2.1-dev.21 [2023-01-09T17:07:21.407Z] v2.2.1-dev.22 [2023-01-09T17:07:21.407Z] v2.2.1-dev.23 [2023-01-09T17:07:21.407Z] v2.2.1-dev.3 [2023-01-09T17:07:21.407Z] v2.2.1-dev.4 [2023-01-09T17:07:21.407Z] v2.2.1-dev.5 [2023-01-09T17:07:21.407Z] v2.2.1-dev.6 [2023-01-09T17:07:21.407Z] v2.2.1-dev.7 [2023-01-09T17:07:21.407Z] v2.2.1-dev.8 [2023-01-09T17:07:21.407Z] v2.2.1-dev.9 [2023-01-09T17:07:21.407Z] v2.3.0 [2023-01-09T17:07:21.407Z] v2.3.0-dev.24 [2023-01-09T17:07:21.407Z] v2.3.0-dev.25 [2023-01-09T17:07:21.407Z] v2.3.0-dev.26 [2023-01-09T17:07:21.407Z] v2.3.0-dev.27 [2023-01-09T17:07:21.407Z] v2.3.0-dev.28 [2023-01-09T17:07:21.407Z] v2.3.0-dev.29 [2023-01-09T17:07:21.407Z] v2.3.0-dev.30 [2023-01-09T17:07:21.407Z] v2.3.0-dev.31 [2023-01-09T17:07:21.407Z] v2.3.0-dev.32 [2023-01-09T17:07:21.407Z] v2.3.0-dev.33 [2023-01-09T17:07:21.407Z] v2.3.0-dev.34 [2023-01-09T17:07:21.407Z] v2.3.0-dev.35 [2023-01-09T17:07:21.407Z] v2.3.0-dev.36 [2023-01-09T17:07:21.407Z] v2.3.0-dev.37 [2023-01-09T17:07:21.407Z] v2.3.0-dev.38 [2023-01-09T17:07:21.407Z] v2.3.0-dev.39 [2023-01-09T17:07:21.407Z] v2.3.0-dev.40 [2023-01-09T17:07:21.407Z] v2.3.0-dev.41 [2023-01-09T17:07:21.407Z] v2.3.0-dev.42 [2023-01-09T17:07:21.407Z] v2.3.0-dev.43 [2023-01-09T17:07:21.407Z] v2.3.0-dev.44 [2023-01-09T17:07:21.407Z] v2.3.0-dev.45 [2023-01-09T17:07:21.407Z] v2.3.0-dev.46 [2023-01-09T17:07:21.407Z] v2.3.0-dev.47 [2023-01-09T17:07:21.407Z] v2.3.0-dev.48 [2023-01-09T17:07:21.407Z] v2.3.0-dev.49 [2023-01-09T17:07:21.407Z] v2.3.0-dev.50 [2023-01-09T17:07:21.407Z] v2.3.0-dev.51 [2023-01-09T17:07:21.407Z] v2.3.0-dev.52 [2023-01-09T17:07:21.407Z] v2.3.0-dev.53 [2023-01-09T17:07:21.407Z] v2.3.0-dev.54 [2023-01-09T17:07:21.407Z] v2.3.0-dev.55 [2023-01-09T17:07:21.407Z] v2.3.0-dev.56 [2023-01-09T17:07:21.407Z] v2.3.0-dev.57 [2023-01-09T17:07:21.407Z] v2.3.0-dev.58 [2023-01-09T17:07:21.407Z] v2.3.0-dev.59 [2023-01-09T17:07:21.407Z] v2.3.0-dev.60 [2023-01-09T17:07:21.407Z] v2.3.0-dev.61 [2023-01-09T17:07:21.407Z] v2.3.0-dev.62 [2023-01-09T17:07:21.407Z] v2.3.1-dev.1 [2023-01-09T17:07:21.407Z] v2.3.1-dev.2 [2023-01-09T17:07:21.407Z] v2.3.1-dev.3 [2023-01-09T17:07:21.407Z] v3.0.0-dev.1 [2023-01-09T17:07:21.407Z] v3.0.0-dev.10 [2023-01-09T17:07:21.407Z] v3.0.0-dev.11 [2023-01-09T17:07:21.407Z] v3.0.0-dev.12 [2023-01-09T17:07:21.407Z] v3.0.0-dev.2 [2023-01-09T17:07:21.407Z] v3.0.0-dev.3 [2023-01-09T17:07:21.407Z] v3.0.0-dev.4 [2023-01-09T17:07:21.407Z] v3.0.0-dev.5 [2023-01-09T17:07:21.407Z] v3.0.0-dev.6 [2023-01-09T17:07:21.407Z] v3.0.0-dev.7 [2023-01-09T17:07:21.407Z] v3.0.0-dev.8 [2023-01-09T17:07:21.407Z] v3.0.0-dev.9 [Pipeline] sh [2023-01-09T17:07:21.691Z] + lftools sign git-tag v3.0.0-dev.12 [2023-01-09T17:07:22.260Z] Signing Git tag with Sigul... [2023-01-09T17:07:22.260Z] Signing v3.0.0-dev.12 [Pipeline] echo [2023-01-09T17:07:22.528Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T17:07:22.809Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-01-09T17:07:22.817Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-01-09T17:07:22.852Z] $ docker stop --time=1 131446cf57022ae34dce5ce3e647e1b092467e07e3e0010411e4c6a93c77b647 [2023-01-09T17:07:24.129Z] $ docker rm -f --volumes 131446cf57022ae34dce5ce3e647e1b092467e07e3e0010411e4c6a93c77b647 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-01-09T17:07:24.529Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-09T17:07:24.529Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T17:07:24.835Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-09T17:07:24.835Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T17:07:24.911Z] prd-ubuntu20.04-docker-8c-8g-1458 does not seem to be running inside a container [2023-01-09T17:07:24.953Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-09T17:07:25.306Z] $ docker top 95886b760e18280b5b1089dcabe2f337dc47758fda1f38807702cfe532eb3d38 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-09T17:07:25.389Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-09T17:07:25.390Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-09T17:07:25.504Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-09T17:07:25.515Z] $ docker exec 95886b760e18280b5b1089dcabe2f337dc47758fda1f38807702cfe532eb3d38 ssh-agent [2023-01-09T17:07:25.614Z] SSH_AUTH_SOCK=/tmp/ssh-OerxhLZWcB5U/agent.32 [2023-01-09T17:07:25.614Z] SSH_AGENT_PID=38 [2023-01-09T17:07:25.619Z] Running ssh-add (command line suppressed) [2023-01-09T17:07:25.729Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5775835199934195174.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5775835199934195174.key) [2023-01-09T17:07:25.732Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-09T17:07:26.017Z] + git semver bump pre [2023-01-09T17:07:26.276Z] 2023-01-09 17:07:26,212 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2023-01-09T17:07:26.276Z] 2023-01-09 17:07:26,212 [bump_version] DEBUG bumping version:3.0.0-dev.12 on axis:pre with prefix:dev [2023-01-09T17:07:26.276Z] 2023-01-09 17:07:26,212 [bump_version] DEBUG bumped version:3.0.0-dev.13 [2023-01-09T17:07:26.277Z] 2023-01-09 17:07:26,212 [write_version] DEBUG write version:3.0.0-dev.13 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:True [2023-01-09T17:07:26.277Z] 2023-01-09 17:07:26,212 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2023-01-09T17:07:26.277Z] 2023-01-09 17:07:26,213 [write_file] DEBUG write to file:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2023-01-09T17:07:26.277Z] 2023-01-09 17:07:26,214 [execute] INFO git cat-file --batch-check [2023-01-09T17:07:26.277Z] 2023-01-09 17:07:26,215 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-09T17:07:26.277Z] 2023-01-09 17:07:26,220 [execute] INFO git cat-file --batch [2023-01-09T17:07:26.277Z] 2023-01-09 17:07:26,220 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-09T17:07:26.277Z] 2023-01-09 17:07:26,224 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2023-01-09T17:07:26.277Z] 3.0.0-dev.13 [Pipeline] } [2023-01-09T17:07:26.294Z] $ docker exec --env ******** --env ******** 95886b760e18280b5b1089dcabe2f337dc47758fda1f38807702cfe532eb3d38 ssh-agent -k [2023-01-09T17:07:26.382Z] unset SSH_AUTH_SOCK; [2023-01-09T17:07:26.382Z] unset SSH_AGENT_PID; [2023-01-09T17:07:26.382Z] echo Agent pid 38 killed; [2023-01-09T17:07:26.390Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-09T17:07:26.694Z] + git semver [Pipeline] } [2023-01-09T17:07:26.973Z] $ docker stop --time=1 95886b760e18280b5b1089dcabe2f337dc47758fda1f38807702cfe532eb3d38 [2023-01-09T17:07:28.279Z] $ docker rm -f --volumes 95886b760e18280b5b1089dcabe2f337dc47758fda1f38807702cfe532eb3d38 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-09T17:07:28.603Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-09T17:07:28.603Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T17:07:28.899Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-09T17:07:28.899Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T17:07:28.968Z] prd-ubuntu20.04-docker-8c-8g-1458 does not seem to be running inside a container [2023-01-09T17:07:29.007Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-09T17:07:29.348Z] $ docker top 6e2d394380b9dad5f0ffa2c7a91e11a4bac76ee3aca7b62a805fc520237335cb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-09T17:07:29.429Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-09T17:07:29.429Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-09T17:07:29.532Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-09T17:07:29.543Z] $ docker exec 6e2d394380b9dad5f0ffa2c7a91e11a4bac76ee3aca7b62a805fc520237335cb ssh-agent [2023-01-09T17:07:29.649Z] SSH_AUTH_SOCK=/tmp/ssh-JSnbceAnFclL/agent.32 [2023-01-09T17:07:29.649Z] SSH_AGENT_PID=38 [2023-01-09T17:07:29.653Z] Running ssh-add (command line suppressed) [2023-01-09T17:07:29.770Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5353632187103549380.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5353632187103549380.key) [2023-01-09T17:07:29.774Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-09T17:07:30.064Z] + git semver push [2023-01-09T17:07:30.323Z] 2023-01-09 17:07:30,230 [run_push] DEBUG push [2023-01-09T17:07:30.323Z] 2023-01-09 17:07:30,231 [execute] INFO git cat-file --batch-check [2023-01-09T17:07:30.323Z] 2023-01-09 17:07:30,231 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-09T17:07:30.323Z] 2023-01-09 17:07:30,235 [execute] INFO git rev-list 06c543bdaebc09ce8aa90622b56f0fe1924dfb3e -- [2023-01-09T17:07:30.323Z] 2023-01-09 17:07:30,235 [execute] DEBUG Popen(['git', 'rev-list', '06c543bdaebc09ce8aa90622b56f0fe1924dfb3e', '--'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-01-09T17:07:30.323Z] 2023-01-09 17:07:30,250 [execute] INFO git fetch -v origin [2023-01-09T17:07:30.323Z] 2023-01-09 17:07:30,250 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-01-09T17:07:30.894Z] 2023-01-09 17:07:30,847 [run_push] DEBUG no remote changes detected [2023-01-09T17:07:30.894Z] 2023-01-09 17:07:30,848 [execute] INFO git push origin semver [2023-01-09T17:07:30.894Z] 2023-01-09 17:07:30,848 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-01-09T17:07:31.834Z] 2023-01-09 17:07:31,677 [run_push] DEBUG push all version tags [2023-01-09T17:07:31.834Z] 2023-01-09 17:07:31,678 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-01-09T17:07:31.834Z] 2023-01-09 17:07:31,678 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-01-09T17:07:32.773Z] 2023-01-09 17:07:32,476 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2023-01-09T17:07:32.773Z] 3.0.0-dev.13 [Pipeline] } [2023-01-09T17:07:32.793Z] $ docker exec --env ******** --env ******** 6e2d394380b9dad5f0ffa2c7a91e11a4bac76ee3aca7b62a805fc520237335cb ssh-agent -k [2023-01-09T17:07:32.894Z] unset SSH_AUTH_SOCK; [2023-01-09T17:07:32.894Z] unset SSH_AGENT_PID; [2023-01-09T17:07:32.894Z] echo Agent pid 38 killed; [2023-01-09T17:07:32.897Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-09T17:07:33.198Z] + git semver [Pipeline] } [2023-01-09T17:07:33.479Z] $ docker stop --time=1 6e2d394380b9dad5f0ffa2c7a91e11a4bac76ee3aca7b62a805fc520237335cb [2023-01-09T17:07:34.792Z] $ docker rm -f --volumes 6e2d394380b9dad5f0ffa2c7a91e11a4bac76ee3aca7b62a805fc520237335cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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-01-09T17:07:35.369Z] + [ -d /w/workspace/oundry_app-functions-sdk-go_main/archives ] [2023-01-09T17:07:35.369Z] + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives [2023-01-09T17:07:35.369Z] total 16 [2023-01-09T17:07:35.369Z] drwxr-xr-x 3 root root 4096 Jan 9 16:58 . [2023-01-09T17:07:35.369Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 9 17:07 .. [2023-01-09T17:07:35.369Z] drwxr-xr-x 2 root root 4096 Jan 9 16:58 cost [2023-01-09T17:07:35.369Z] -rw-r--r-- 1 root root 92 Jan 9 16:58 cost.csv [2023-01-09T17:07:35.369Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_app-functions-sdk-go_main/archives [2023-01-09T17:07:35.369Z] + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives [2023-01-09T17:07:35.369Z] total 16 [2023-01-09T17:07:35.369Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 9 16:58 . [2023-01-09T17:07:35.369Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 9 17:07 .. [2023-01-09T17:07:35.369Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 9 16:58 cost [2023-01-09T17:07:35.369Z] -rw-r--r-- 1 jenkins jenkins 92 Jan 9 16:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-09T17:07:35.654Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T17:07:36.507Z] ---> package-listing.sh [2023-01-09T17:07:36.507Z] ++ facter osfamily [2023-01-09T17:07:36.507Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-09T17:07:36.767Z] + OS_FAMILY=debian [2023-01-09T17:07:36.767Z] + workspace=/w/workspace/oundry_app-functions-sdk-go_main [2023-01-09T17:07:36.767Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-09T17:07:36.767Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-09T17:07:36.767Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-09T17:07:36.767Z] + PACKAGES=/tmp/packages_start.txt [2023-01-09T17:07:36.767Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2023-01-09T17:07:36.767Z] + PACKAGES=/tmp/packages_end.txt [2023-01-09T17:07:36.767Z] + case "${OS_FAMILY}" in [2023-01-09T17:07:36.767Z] + dpkg -l [2023-01-09T17:07:36.767Z] + grep '^ii' [2023-01-09T17:07:36.767Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-09T17:07:36.767Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-09T17:07:36.767Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-09T17:07:36.767Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2023-01-09T17:07:36.767Z] + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ [2023-01-09T17:07:36.767Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_app-functions-sdk-go_main/archives/ [Pipeline] echo [2023-01-09T17:07:36.778Z] 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/oundry_app-functions-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-09T17:07:37.055Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T17:07:37.609Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-09T17:07:37.609Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T17:07:37.678Z] prd-ubuntu20.04-docker-8c-8g-1458 does not seem to be running inside a container [2023-01-09T17:07:37.716Z] $ 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/oundry_app-functions-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-09T17:07:37.927Z] $ docker top d3d9d4e6ec9e948fbcc89b0814c838e4b034b949730814e1558717722e822859 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T17:07:38.251Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-09T17:07:38.534Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-09T17:07:38.817Z] + ls /var/log/sa-host [2023-01-09T17:07:38.817Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-09T17:07:38.973Z] provisioning config files... [2023-01-09T17:07:38.981Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config5708382196146881234tmp [Pipeline] { [Pipeline] echo [2023-01-09T17:07:38.994Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T17:07:39.272Z] ---> create-netrc.sh [Pipeline] } [2023-01-09T17:07:39.280Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-09T17:07:39.610Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-09T17:07:39.618Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T17:07:39.903Z] ---> sudo-logs.sh [2023-01-09T17:07:39.903Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-09T17:07:39.939Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T17:07:40.223Z] ---> job-cost.sh [2023-01-09T17:07:40.223Z] lf-activate-venv: SKIPPING [2023-01-09T17:07:40.223Z] DEBUG: total: 0.2199999988079071 [2023-01-09T17:07:40.223Z] INFO: Retrieving Stack Cost... [2023-01-09T17:07:40.790Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-09T17:07:41.049Z] INFO: Archiving Costs [Pipeline] echo [2023-01-09T17:07:41.128Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T17:07:41.484Z] ---> logs-deploy.sh [2023-01-09T17:07:41.484Z] lf-activate-venv: SKIPPING [2023-01-09T17:07:41.484Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/200 [2023-01-09T17:07:41.484Z] INFO: archiving workspace using pattern(s): [2023-01-09T17:07:42.454Z] Archives upload complete. [2023-01-09T17:07:42.454Z] INFO: archiving logs to Nexus