Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dcd13b78c3ddfca3df8a47d4ac18a79c3cf37424 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-ssh12239113956232293847.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh11497127516479075680.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh637479977305652945.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh5273626543309540534.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d 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-ssh11690639049495753115.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > 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 ‘prd-ubuntu20.04-docker-8c-8g-22093’ is offline Running on prd-ubuntu20.04-docker-8c-8g-22095 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 Avoid second fetch Checking out Revision dcd13b78c3ddfca3df8a47d4ac18a79c3cf37424 (main) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dcd13b78c3ddfca3df8a47d4ac18a79c3cf37424 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 (#1160)" > git rev-list --no-walk 912d14d9ea583ebe39c6b55ac902f6f7c32fe832 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-07T21:45:28.512Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-07T21:45:28.573Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-07T21:45:28.591Z] ========================================================= [2022-08-07T21:45:28.591Z] EdgeX Global Pipelines Version Info [2022-08-07T21:45:28.591Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-07T21:45:29.350Z] ------------------- [2022-08-07T21:45:29.350Z] stable info: [2022-08-07T21:45:29.350Z] ------------------- [2022-08-07T21:45:29.350Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-07T21:45:29.351Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-07T21:45:29.351Z] Message: update stable to v1.0.238 [2022-08-07T21:45:29.926Z] ------------------- [2022-08-07T21:45:29.926Z] experimental info: [2022-08-07T21:45:29.926Z] ------------------- [2022-08-07T21:45:29.926Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-07T21:45:29.926Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-07T21:45:29.926Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-07T21:45:30.205Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2022-08-07T21:45:30.219Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2022-08-07T21:45:30.236Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-07T21:45:30.248Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-07T21:45:30.261Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-07T21:45:30.271Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-07T21:45:30.283Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-07T21:45:30.296Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-07T21:45:30.308Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-07T21:45:30.322Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-07T21:45:30.332Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-07T21:45:30.341Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2022-08-07T21:45:30.349Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-07T21:45:30.358Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-07T21:45:30.366Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2022-08-07T21:45:30.375Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-08-07T21:45:30.383Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-07T21:45:30.392Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-07T21:45:30.400Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-07T21:45:30.409Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-07T21:45:30.418Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-08-07T21:45:30.426Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-08-07T21:45:30.434Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-07T21:45:30.450Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-07T21:45:30.462Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2022-08-07T21:45:30.472Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-07T21:45:30.480Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-07T21:45:30.488Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-08-07T21:45:30.497Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-08-07T21:45:30.505Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-08-07T21:45:30.513Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dcd13b78c3ddfca3df8a47d4ac18a79c3cf37424 [Pipeline] echo [2022-08-07T21:45:30.521Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dcd13b7 [Pipeline] echo [2022-08-07T21:45:30.530Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-07T21:45:30.890Z] + git rev-list -1 --merges dcd13b78c3ddfca3df8a47d4ac18a79c3cf37424~1..dcd13b78c3ddfca3df8a47d4ac18a79c3cf37424 [Pipeline] echo [2022-08-07T21:45:30.929Z] -----------> git rev-list -1 --merges dcd13b78c3ddfca3df8a47d4ac18a79c3cf37424~1..dcd13b78c3ddfca3df8a47d4ac18a79c3cf37424 dcd13b78c3ddfca3df8a47d4ac18a79c3cf37424 [false] [Pipeline] sh [2022-08-07T21:45:31.226Z] + git log --format=format:%s -1 dcd13b78c3ddfca3df8a47d4ac18a79c3cf37424 [Pipeline] echo [2022-08-07T21:45:31.247Z] ========================================================= [2022-08-07T21:45:31.247Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-07T21:45:31.247Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-07T21:45:31.598Z] + git log --format=format:%s -1 dcd13b78c3ddfca3df8a47d4ac18a79c3cf37424 [Pipeline] echo [2022-08-07T21:45:31.614Z] [semverPrep] GIT_COMMIT: dcd13b78c3ddfca3df8a47d4ac18a79c3cf37424, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 (#1160) [Pipeline] echo [2022-08-07T21:45:31.624Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-07T21:45:31.982Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-07T21:45:31.982Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-07T21:45:31.982Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-07T21:45:31.982Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-07T21:45:31.982Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-07T21:45:31.982Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-07T21:45:31.982Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-07T21:45:32.356Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-07T21:45:32.619Z] [2022-08-07T21:45:32.619Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-07T21:45:32.923Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-07T21:45:32.923Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-07T21:45:32.923Z] b85a868b505f: Pulling fs layer [2022-08-07T21:45:32.923Z] e2be974225ed: Pulling fs layer [2022-08-07T21:45:32.923Z] 339a4e72a1f5: Pulling fs layer [2022-08-07T21:45:32.923Z] 988bab9f4d93: Pulling fs layer [2022-08-07T21:45:32.923Z] 1469e6f7b9e6: Pulling fs layer [2022-08-07T21:45:32.923Z] eaf3925da568: Pulling fs layer [2022-08-07T21:45:32.923Z] bab4dde63d76: Pulling fs layer [2022-08-07T21:45:32.923Z] bde34c3a00c8: Pulling fs layer [2022-08-07T21:45:32.923Z] b352a97aabf1: Pulling fs layer [2022-08-07T21:45:32.923Z] 4872d77fe225: Pulling fs layer [2022-08-07T21:45:32.923Z] 5851b861e8e6: Pulling fs layer [2022-08-07T21:45:32.923Z] 988bab9f4d93: Waiting [2022-08-07T21:45:32.923Z] bde34c3a00c8: Waiting [2022-08-07T21:45:32.923Z] 1469e6f7b9e6: Waiting [2022-08-07T21:45:32.923Z] b352a97aabf1: Waiting [2022-08-07T21:45:32.923Z] eaf3925da568: Waiting [2022-08-07T21:45:32.923Z] bab4dde63d76: Waiting [2022-08-07T21:45:32.923Z] 5851b861e8e6: Waiting [2022-08-07T21:45:32.923Z] 4872d77fe225: Waiting [2022-08-07T21:45:32.923Z] e2be974225ed: Verifying Checksum [2022-08-07T21:45:32.923Z] e2be974225ed: Download complete [2022-08-07T21:45:32.923Z] 988bab9f4d93: Verifying Checksum [2022-08-07T21:45:32.923Z] 988bab9f4d93: Download complete [2022-08-07T21:45:33.184Z] 1469e6f7b9e6: Verifying Checksum [2022-08-07T21:45:33.184Z] 1469e6f7b9e6: Download complete [2022-08-07T21:45:33.184Z] eaf3925da568: Download complete [2022-08-07T21:45:33.184Z] 339a4e72a1f5: Verifying Checksum [2022-08-07T21:45:33.184Z] 339a4e72a1f5: Download complete [2022-08-07T21:45:33.184Z] bde34c3a00c8: Verifying Checksum [2022-08-07T21:45:33.184Z] bde34c3a00c8: Download complete [2022-08-07T21:45:33.184Z] b352a97aabf1: Download complete [2022-08-07T21:45:33.184Z] 4872d77fe225: Download complete [2022-08-07T21:45:33.184Z] 5851b861e8e6: Download complete [2022-08-07T21:45:33.184Z] b85a868b505f: Verifying Checksum [2022-08-07T21:45:33.184Z] b85a868b505f: Download complete [2022-08-07T21:45:33.444Z] bab4dde63d76: Verifying Checksum [2022-08-07T21:45:33.444Z] bab4dde63d76: Download complete [2022-08-07T21:45:34.829Z] b85a868b505f: Pull complete [2022-08-07T21:45:34.829Z] e2be974225ed: Pull complete [2022-08-07T21:45:35.399Z] 339a4e72a1f5: Pull complete [2022-08-07T21:45:35.399Z] 988bab9f4d93: Pull complete [2022-08-07T21:45:35.660Z] 1469e6f7b9e6: Pull complete [2022-08-07T21:45:35.660Z] eaf3925da568: Pull complete [2022-08-07T21:45:37.573Z] bab4dde63d76: Pull complete [2022-08-07T21:45:37.835Z] bde34c3a00c8: Pull complete [2022-08-07T21:45:37.835Z] b352a97aabf1: Pull complete [2022-08-07T21:45:37.835Z] 4872d77fe225: Pull complete [2022-08-07T21:45:38.097Z] 5851b861e8e6: Pull complete [2022-08-07T21:45:38.097Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-07T21:45:38.097Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-07T21:45:38.097Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-07T21:45:38.217Z] prd-ubuntu20.04-docker-8c-8g-22095 does not seem to be running inside a container [2022-08-07T21:45:38.261Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-07T21:45:39.654Z] $ docker top 55ef8d1b5e8ee697e29c8c8d9ae1f3e7ee288f94f6b471f80bae3622a2360026 -eo pid,comm [2022-08-07T21:45:39.729Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-08-07T21:45:39.729Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-07T21:45:39.772Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-07T21:45:39.772Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-07T21:45:39.935Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-07T21:45:39.939Z] $ docker exec 55ef8d1b5e8ee697e29c8c8d9ae1f3e7ee288f94f6b471f80bae3622a2360026 ssh-agent [2022-08-07T21:45:40.080Z] SSH_AUTH_SOCK=/tmp/ssh-7U3U4bvtZHvZ/agent.33 [2022-08-07T21:45:40.080Z] SSH_AGENT_PID=39 [2022-08-07T21:45:40.086Z] Running ssh-add (command line suppressed) [2022-08-07T21:45:40.208Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_724935425837577434.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_724935425837577434.key) [2022-08-07T21:45:40.223Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-07T21:45:40.520Z] + git tag --points-at HEAD [Pipeline] } [2022-08-07T21:45:40.535Z] $ docker exec --env ******** --env ******** 55ef8d1b5e8ee697e29c8c8d9ae1f3e7ee288f94f6b471f80bae3622a2360026 ssh-agent -k [2022-08-07T21:45:40.642Z] unset SSH_AUTH_SOCK; [2022-08-07T21:45:40.643Z] unset SSH_AGENT_PID; [2022-08-07T21:45:40.643Z] echo Agent pid 39 killed; [2022-08-07T21:45:40.656Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-07T21:45:40.682Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-07T21:45:40.682Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-07T21:45:40.824Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-07T21:45:40.828Z] $ docker exec 55ef8d1b5e8ee697e29c8c8d9ae1f3e7ee288f94f6b471f80bae3622a2360026 ssh-agent [2022-08-07T21:45:40.957Z] SSH_AUTH_SOCK=/tmp/ssh-4F7OTUoEt9rE/agent.72 [2022-08-07T21:45:40.957Z] SSH_AGENT_PID=78 [2022-08-07T21:45:40.962Z] Running ssh-add (command line suppressed) [2022-08-07T21:45:41.096Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_225927001137465143.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_225927001137465143.key) [2022-08-07T21:45:41.114Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-07T21:45:41.406Z] + git semver init [2022-08-07T21:45:41.667Z] 2022-08-07 21:45:41,628 [run_init] DEBUG init version:0.0.0 force:False [2022-08-07T21:45:41.667Z] 2022-08-07 21:45:41,629 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_app-functions-sdk-go_main/.semver [2022-08-07T21:45:41.667Z] 2022-08-07 21:45:41,630 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-functions-sdk-go.git /w/workspace/oundry_app-functions-sdk-go_main/.semver [2022-08-07T21:45:41.667Z] 2022-08-07 21:45:41,630 [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) [2022-08-07T21:45:43.052Z] 2022-08-07 21:45:42,892 [append_file] DEBUG append to file:/w/workspace/oundry_app-functions-sdk-go_main/.git/info/exclude [2022-08-07T21:45:43.052Z] 2022-08-07 21:45:42,893 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:False [2022-08-07T21:45:43.052Z] 2022-08-07 21:45:42,893 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-08-07T21:45:43.052Z] 2022-08-07 21:45:42,893 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-08-07T21:45:43.052Z] 2.3.0-dev.28 [Pipeline] } [2022-08-07T21:45:43.064Z] $ docker exec --env ******** --env ******** 55ef8d1b5e8ee697e29c8c8d9ae1f3e7ee288f94f6b471f80bae3622a2360026 ssh-agent -k [2022-08-07T21:45:43.170Z] unset SSH_AUTH_SOCK; [2022-08-07T21:45:43.171Z] unset SSH_AGENT_PID; [2022-08-07T21:45:43.171Z] echo Agent pid 78 killed; [2022-08-07T21:45:43.181Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-07T21:45:43.486Z] + git semver [Pipeline] } [2022-08-07T21:45:43.762Z] $ docker stop --time=1 55ef8d1b5e8ee697e29c8c8d9ae1f3e7ee288f94f6b471f80bae3622a2360026 [2022-08-07T21:45:45.082Z] $ docker rm -f 55ef8d1b5e8ee697e29c8c8d9ae1f3e7ee288f94f6b471f80bae3622a2360026 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-07T21:45:45.443Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-07T21:45:45.704Z] Stashed 1 file(s) [Pipeline] echo [2022-08-07T21:45:45.707Z] [edgeXSemver]: initialized semver on version 2.3.0-dev.28 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2022-08-07T21:45:45.883Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-07T21:45:45.896Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-07T21:45:45.904Z] ========================================================= [2022-08-07T21:45:45.904Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-07T21:45:45.904Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-08-07T21:45:46.204Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-07T21:45:46.204Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-07T21:45:46.204Z] 2408cc74d12b: Pulling fs layer [2022-08-07T21:45:46.204Z] ea60b727a1ce: Pulling fs layer [2022-08-07T21:45:46.204Z] 30c4a7721957: Pulling fs layer [2022-08-07T21:45:46.204Z] 370296b7ddb6: Pulling fs layer [2022-08-07T21:45:46.204Z] 7c6cee850709: Pulling fs layer [2022-08-07T21:45:46.204Z] 39a5fcdaea64: Pulling fs layer [2022-08-07T21:45:46.204Z] d94ebbe4e438: Pulling fs layer [2022-08-07T21:45:46.204Z] bcfd1f05c69d: Pulling fs layer [2022-08-07T21:45:46.204Z] 59ccb84bbe0f: Pulling fs layer [2022-08-07T21:45:46.204Z] 370296b7ddb6: Waiting [2022-08-07T21:45:46.204Z] 7c6cee850709: Waiting [2022-08-07T21:45:46.204Z] 39a5fcdaea64: Waiting [2022-08-07T21:45:46.204Z] d94ebbe4e438: Waiting [2022-08-07T21:45:46.204Z] bcfd1f05c69d: Waiting [2022-08-07T21:45:46.204Z] 59ccb84bbe0f: Waiting [2022-08-07T21:45:46.204Z] 30c4a7721957: Download complete [2022-08-07T21:45:46.204Z] ea60b727a1ce: Verifying Checksum [2022-08-07T21:45:46.204Z] ea60b727a1ce: Download complete [2022-08-07T21:45:46.204Z] 7c6cee850709: Verifying Checksum [2022-08-07T21:45:46.204Z] 7c6cee850709: Download complete [2022-08-07T21:45:46.204Z] 39a5fcdaea64: Download complete [2022-08-07T21:45:46.204Z] 2408cc74d12b: Verifying Checksum [2022-08-07T21:45:46.204Z] 2408cc74d12b: Download complete [2022-08-07T21:45:46.204Z] d94ebbe4e438: Download complete [2022-08-07T21:45:46.469Z] 2408cc74d12b: Pull complete [2022-08-07T21:45:46.469Z] ea60b727a1ce: Pull complete [2022-08-07T21:45:46.743Z] 30c4a7721957: Pull complete [2022-08-07T21:45:46.743Z] 59ccb84bbe0f: Verifying Checksum [2022-08-07T21:45:46.743Z] 59ccb84bbe0f: Download complete [2022-08-07T21:45:47.005Z] 370296b7ddb6: Download complete [2022-08-07T21:45:47.005Z] bcfd1f05c69d: Verifying Checksum [2022-08-07T21:45:47.005Z] bcfd1f05c69d: Download complete [2022-08-07T21:45:51.210Z] 370296b7ddb6: Pull complete [2022-08-07T21:45:51.210Z] 7c6cee850709: Pull complete [2022-08-07T21:45:51.210Z] 39a5fcdaea64: Pull complete [2022-08-07T21:45:51.210Z] d94ebbe4e438: Pull complete [2022-08-07T21:45:53.749Z] bcfd1f05c69d: Pull complete [2022-08-07T21:45:54.013Z] 59ccb84bbe0f: Pull complete [2022-08-07T21:45:54.013Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-07T21:45:54.013Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-07T21:45:54.013Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] sh [2022-08-07T21:45:54.567Z] + 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 [2022-08-07T21:45:54.873Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-07T21:45:54.873Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-07T21:45:54.963Z] prd-ubuntu20.04-docker-8c-8g-22095 does not seem to be running inside a container [2022-08-07T21:45:55.000Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2022-08-07T21:45:56.937Z] $ docker top 46c9fb599d03326fda7babd767452f85be43c7b312b5e5ebf21ec914421d9caf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-07T21:45:57.308Z] + go version [2022-08-07T21:45:57.309Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-07T21:45:57.325Z] $ docker stop --time=1 46c9fb599d03326fda7babd767452f85be43c7b312b5e5ebf21ec914421d9caf [2022-08-07T21:45:58.600Z] $ docker rm -f 46c9fb599d03326fda7babd767452f85be43c7b312b5e5ebf21ec914421d9caf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-07T21:45:59.019Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-07T21:45:59.019Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-07T21:45:59.109Z] prd-ubuntu20.04-docker-8c-8g-22095 does not seem to be running inside a container [2022-08-07T21:45:59.142Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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 ******** -e ******** ci-base-image-x86_64 cat [2022-08-07T21:45:59.515Z] $ docker top 73684e4cfc913001080f9b6f9a2920d4ea6351470abed4338674aff54ab98f67 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-07T21:45:59.874Z] + git config --global --add safe.directory /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2022-08-07T21:46:00.180Z] + make test [2022-08-07T21:46:00.180Z] make -C ./app-service-template build [2022-08-07T21:46:00.180Z] make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2022-08-07T21:46:00.180Z] go mod tidy [2022-08-07T21:46:00.180Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 [2022-08-07T21:46:00.180Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 [2022-08-07T21:46:00.180Z] go: downloading github.com/google/uuid v1.3.0 [2022-08-07T21:46:00.180Z] go: downloading github.com/stretchr/testify v1.8.0 [2022-08-07T21:46:00.180Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.1-dev.5 [2022-08-07T21:46:00.180Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.1-dev.8 [2022-08-07T21:46:00.180Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 [2022-08-07T21:46:00.180Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.3 [2022-08-07T21:46:00.180Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 [2022-08-07T21:46:00.440Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-08-07T21:46:00.440Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-08-07T21:46:00.440Z] go: downloading github.com/stretchr/objx v0.4.0 [2022-08-07T21:46:00.440Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2022-08-07T21:46:00.440Z] go: downloading github.com/go-playground/validator/v10 v10.10.1 [2022-08-07T21:46:00.440Z] go: downloading github.com/go-kit/log v0.2.0 [2022-08-07T21:46:00.440Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-08-07T21:46:00.440Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-08-07T21:46:00.440Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-08-07T21:46:00.440Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-08-07T21:46:00.440Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-08-07T21:46:00.440Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-08-07T21:46:00.703Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2022-08-07T21:46:00.703Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.1-dev.1 [2022-08-07T21:46:00.703Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2022-08-07T21:46:00.703Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 [2022-08-07T21:46:00.703Z] go: downloading github.com/pelletier/go-toml v1.9.5 [2022-08-07T21:46:00.822Z] Still waiting to schedule task [2022-08-07T21:46:00.822Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-07T21:46:00.963Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-08-07T21:46:00.963Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-08-07T21:46:00.963Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-08-07T21:46:00.963Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-08-07T21:46:00.963Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-08-07T21:46:00.963Z] go: downloading github.com/x448/float16 v0.8.4 [2022-08-07T21:46:00.963Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-08-07T21:46:00.963Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-08-07T21:46:00.963Z] go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 [2022-08-07T21:46:00.963Z] go: downloading golang.org/x/text v0.3.7 [2022-08-07T21:46:00.963Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-08-07T21:46:00.963Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.1.0 [2022-08-07T21:46:01.224Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-08-07T21:46:01.224Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-08-07T21:46:01.224Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-08-07T21:46:01.224Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-08-07T21:46:01.224Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-08-07T21:46:01.224Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-08-07T21:46:01.224Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-08-07T21:46:01.224Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-08-07T21:46:01.224Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-08-07T21:46:01.224Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-08-07T21:46:01.224Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-08-07T21:46:01.486Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-08-07T21:46:01.486Z] go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 [2022-08-07T21:46:01.486Z] go: downloading github.com/kr/pretty v0.3.0 [2022-08-07T21:46:01.486Z] go: downloading github.com/Microsoft/go-winio v0.5.2 [2022-08-07T21:46:01.486Z] go: downloading github.com/zeebo/errs v1.2.2 [2022-08-07T21:46:01.486Z] go: downloading google.golang.org/grpc v1.46.0 [2022-08-07T21:46:01.746Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-08-07T21:46:01.746Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-08-07T21:46:01.746Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-08-07T21:46:01.746Z] go: downloading github.com/fatih/color v1.9.0 [2022-08-07T21:46:01.746Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-08-07T21:46:01.746Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-08-07T21:46:01.746Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-08-07T21:46:01.746Z] go: downloading github.com/pkg/errors v0.9.1 [2022-08-07T21:46:01.746Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-08-07T21:46:01.746Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-08-07T21:46:01.746Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-08-07T21:46:01.746Z] go: downloading github.com/kr/text v0.2.0 [2022-08-07T21:46:01.746Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-08-07T21:46:01.746Z] go: downloading gopkg.in/square/go-jose.v2 v2.4.1 [2022-08-07T21:46:01.746Z] go: downloading google.golang.org/protobuf v1.28.0 [2022-08-07T21:46:01.746Z] go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa [2022-08-07T21:46:01.746Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-08-07T21:46:02.006Z] go: downloading github.com/google/go-cmp v0.5.6 [2022-08-07T21:46:02.006Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-08-07T21:46:02.006Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-08-07T21:46:02.006Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-08-07T21:46:02.006Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-08-07T21:46:02.006Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-08-07T21:46:02.006Z] go: downloading github.com/miekg/dns v1.1.26 [2022-08-07T21:46:02.006Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-08-07T21:46:02.006Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2022-08-07T21:46:02.006Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-08-07T21:46:02.006Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-08-07T21:46:02.006Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 [2022-08-07T21:46:02.006Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-08-07T21:46:02.006Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2022-08-07T21:46:04.566Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.3.0-dev.11 [2022-08-07T21:46:04.566Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.3.0-dev.12 [2022-08-07T21:46:04.566Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.4 [2022-08-07T21:46:04.566Z] go: downloading golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e [2022-08-07T21:46:04.566Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.1-dev.5 [2022-08-07T21:46:04.566Z] go: downloading github.com/nats-io/nats.go v1.16.0 [2022-08-07T21:46:04.566Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.1.1 [2022-08-07T21:46:04.827Z] go: downloading github.com/nats-io/nkeys v0.3.0 [2022-08-07T21:46:04.827Z] go: downloading github.com/nats-io/nuid v1.0.1 [2022-08-07T21:46:04.827Z] go: downloading github.com/nats-io/nats-server/v2 v2.7.4 [2022-08-07T21:46:05.088Z] go: downloading github.com/minio/highwayhash v1.0.2 [2022-08-07T21:46:05.088Z] go: downloading github.com/klauspost/compress v1.15.9 [2022-08-07T21:46:05.088Z] go: downloading github.com/nats-io/jwt/v2 v2.3.0 [2022-08-07T21:46:05.088Z] go: downloading golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 [2022-08-07T21:46:07.010Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o new-app-service [2022-08-07T21:46:25.189Z] make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2022-08-07T21:46:25.189Z] make -C ./app-service-template test [2022-08-07T21:46:25.189Z] make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2022-08-07T21:46:25.189Z] CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... [2022-08-07T21:46:47.152Z] ok new-app-service 0.071s coverage: 48.1% of statements [2022-08-07T21:46:47.153Z] ? new-app-service/config [no test files] [2022-08-07T21:46:47.153Z] ok new-app-service/functions 0.045s [2022-08-07T21:46:47.153Z] CGO_ENABLED=1 go vet ./... [2022-08-07T21:46:55.278Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-07T21:46:55.278Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-07T21:46:55.278Z] ./bin/test-attribution-txt.sh [2022-08-07T21:46:55.278Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-07T21:46:55.278Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-07T21:46:55.278Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-08-07T21:46:55.278Z] make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2022-08-07T21:46:55.278Z] CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-08-07T21:46:55.538Z] go: downloading github.com/gomodule/redigo v1.8.9 [2022-08-07T21:46:56.109Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2022-08-07T21:47:00.300Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.142s coverage: 60.3% of statements [2022-08-07T21:47:00.300Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.110s coverage: 93.8% of statements [2022-08-07T21:47:00.300Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2022-08-07T21:47:00.300Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.123s coverage: 76.5% of statements [2022-08-07T21:47:00.300Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2022-08-07T21:47:00.300Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.123s coverage: 88.7% of statements [2022-08-07T21:47:00.300Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.058s coverage: 100.0% of statements [2022-08-07T21:47:00.300Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.193s coverage: 78.5% of statements [2022-08-07T21:47:00.300Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2022-08-07T21:47:00.300Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2022-08-07T21:47:00.300Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.070s coverage: 97.3% of statements [2022-08-07T21:47:00.300Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2022-08-07T21:47:00.300Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] [2022-08-07T21:47:00.300Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.080s coverage: 82.8% of statements [2022-08-07T21:47:00.300Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] [2022-08-07T21:47:00.300Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.752s coverage: 81.5% of statements [2022-08-07T21:47:00.300Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] [2022-08-07T21:47:00.300Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] [2022-08-07T21:47:00.300Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.080s coverage: 28.7% of statements [2022-08-07T21:47:00.300Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] [2022-08-07T21:47:00.300Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.061s coverage: 14.0% of statements [2022-08-07T21:47:00.300Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.120s coverage: 27.3% of statements [2022-08-07T21:47:00.300Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2022-08-07T21:47:00.300Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-08-07T21:47:00.300Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.061s coverage: 51.4% of statements [2022-08-07T21:47:26.886Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.154s coverage: 75.5% of statements [2022-08-07T21:47:26.886Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.079s coverage: 94.4% of statements [2022-08-07T21:47:26.886Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-07T21:47:26.886Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-07T21:47:26.886Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-07T21:47:35.025Z] 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 [2022-08-07T21:47:35.041Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-07T21:47:35.057Z] $ docker stop --time=1 73684e4cfc913001080f9b6f9a2920d4ea6351470abed4338674aff54ab98f67 [2022-08-07T21:47:36.570Z] $ docker rm -f 73684e4cfc913001080f9b6f9a2920d4ea6351470abed4338674aff54ab98f67 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-07T21:47:37.387Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-07T21:47:37.457Z] Stashed 2 file(s) [Pipeline] } [Pipeline] // script [2022-08-07T21:47:37.470Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22096 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] ws [2022-08-07T21:47:37.502Z] Running in /w/workspace/app-functions-sdk-go/149 [Pipeline] { [Pipeline] checkout Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2022-08-07T21:47:37.576Z] The recommended git tool is: git 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 [2022-08-07T21:47:37.957Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-07T21:47:37.957Z] [2022-08-07T21:47:37.957Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-07T21:47:38.262Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-07T21:47:38.523Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-07T21:47:38.523Z] 5eb5b503b376: Pulling fs layer [2022-08-07T21:47:38.523Z] 5c69ac0246d0: Pulling fs layer [2022-08-07T21:47:38.523Z] ec43610c2a17: Pulling fs layer [2022-08-07T21:47:38.523Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-07T21:47:38.523Z] 33b1e0a273af: Pulling fs layer [2022-08-07T21:47:38.523Z] 5d3b04190fa2: Pulling fs layer [2022-08-07T21:47:38.523Z] 2f39f015ded8: Pulling fs layer [2022-08-07T21:47:38.523Z] 33b1e0a273af: Waiting [2022-08-07T21:47:38.523Z] 3a2ae6a8a46f: Waiting [2022-08-07T21:47:38.523Z] 2f39f015ded8: Waiting [2022-08-07T21:47:38.523Z] 5c69ac0246d0: Download complete [2022-08-07T21:47:38.523Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-07T21:47:38.523Z] 3a2ae6a8a46f: Download complete [2022-08-07T21:47:38.523Z] 33b1e0a273af: Verifying Checksum [2022-08-07T21:47:38.523Z] 33b1e0a273af: Download complete [2022-08-07T21:47:38.523Z] 5d3b04190fa2: Verifying Checksum [2022-08-07T21:47:38.523Z] 5d3b04190fa2: Download complete [2022-08-07T21:47:38.523Z] ec43610c2a17: Verifying Checksum [2022-08-07T21:47:38.523Z] ec43610c2a17: Download complete [2022-08-07T21:47:38.784Z] 5eb5b503b376: Verifying Checksum [2022-08-07T21:47:38.784Z] 5eb5b503b376: Download complete [2022-08-07T21:47:39.354Z] 2f39f015ded8: Download complete [2022-08-07T21:47:40.295Z] 5eb5b503b376: Pull complete [2022-08-07T21:47:40.296Z] 5c69ac0246d0: Pull complete [2022-08-07T21:47:40.865Z] ec43610c2a17: Pull complete [2022-08-07T21:47:40.865Z] 3a2ae6a8a46f: Pull complete [2022-08-07T21:47:41.124Z] 33b1e0a273af: Pull complete [2022-08-07T21:47:41.124Z] 5d3b04190fa2: Pull complete [2022-08-07T21:47:44.250Z] using credential edgex-jenkins-ssh [2022-08-07T21:47:44.268Z] Cloning the remote Git repository [2022-08-07T21:47:44.315Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2022-08-07T21:47:44.385Z] > git init /w/workspace/app-functions-sdk-go/149 # timeout=10 [2022-08-07T21:47:44.465Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2022-08-07T21:47:44.466Z] > git --version # timeout=10 [2022-08-07T21:47:44.486Z] > git --version # 'git version 2.25.1' [2022-08-07T21:47:44.488Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-07T21:47:44.568Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-07T21:47:46.408Z] 2f39f015ded8: Pull complete [2022-08-07T21:47:46.408Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-07T21:47:46.408Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-07T21:47:46.408Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-07T21:47:46.514Z] prd-ubuntu20.04-docker-8c-8g-22095 does not seem to be running inside a container [2022-08-07T21:47:46.557Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-07T21:47:47.853Z] Avoid second fetch [2022-08-07T21:47:47.854Z] Checking out Revision dcd13b78c3ddfca3df8a47d4ac18a79c3cf37424 (main) [2022-08-07T21:47:47.817Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2022-08-07T21:47:47.835Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-07T21:47:47.876Z] > git config core.sparsecheckout # timeout=10 [2022-08-07T21:47:47.892Z] > git checkout -f dcd13b78c3ddfca3df8a47d4ac18a79c3cf37424 # timeout=10 [2022-08-07T21:47:48.406Z] $ docker top cc1dc5a18b8dd034e01d29d3523d22300ee21662eba0d8733d3b236cc4146eaf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-07T21:47:48.817Z] ---> job-cost.sh [2022-08-07T21:47:48.817Z] lf-activate-venv: SKIPPING [2022-08-07T21:47:48.817Z] INFO: No Stack... [2022-08-07T21:47:49.078Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-07T21:47:49.648Z] INFO: Archiving Costs [Pipeline] sh [2022-08-07T21:47:49.942Z] + cat /w/workspace/oundry_app-functions-sdk-go_main/archives/cost.csv [2022-08-07T21:47:49.942Z] + cut -d, -f6 [Pipeline] lock [2022-08-07T21:47:49.956Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-149-stack-cost] [2022-08-07T21:47:49.962Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-149-stack-cost] did not exist. Created. [2022-08-07T21:47:49.962Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-149-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-07T21:47:50.266Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-07T21:47:50.293Z] Stashed 1 file(s) [Pipeline] } [2022-08-07T21:47:50.300Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-149-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-07T21:47:50.322Z] $ docker stop --time=1 cc1dc5a18b8dd034e01d29d3523d22300ee21662eba0d8733d3b236cc4146eaf [2022-08-07T21:47:51.506Z] $ docker rm -f cc1dc5a18b8dd034e01d29d3523d22300ee21662eba0d8733d3b236cc4146eaf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-07T21:47:52.081Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 (#1160)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-07T21:47:52.995Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-07T21:47:52.995Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-07T21:47:52.995Z] Dload Upload Total Spent Left Speed [2022-08-07T21:47:52.995Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh [2022-08-07T21:47:53.480Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-07T21:47:53.819Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-07T21:47:53.819Z] + sudo tee /etc/docker/daemon.new [2022-08-07T21:47:53.819Z] { [2022-08-07T21:47:53.819Z] "registry-mirrors": [ [2022-08-07T21:47:53.819Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-07T21:47:53.819Z] ], [2022-08-07T21:47:53.819Z] "bip": "10.250.0.254/24", [2022-08-07T21:47:53.819Z] "hosts": [ [2022-08-07T21:47:53.819Z] "tcp://0.0.0.0:5555", [2022-08-07T21:47:53.819Z] "unix:///var/run/docker.sock" [2022-08-07T21:47:53.819Z] ], [2022-08-07T21:47:53.819Z] "mtu": 1458, [2022-08-07T21:47:53.819Z] "selinux-enabled": true, [2022-08-07T21:47:53.819Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-07T21:47:53.819Z] } [Pipeline] sh [2022-08-07T21:47:54.171Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-07T21:47:54.513Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2022-08-07T21:48:13.426Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-07T21:48:13.441Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-07T21:48:13.451Z] ========================================================= [2022-08-07T21:48:13.451Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-07T21:48:13.451Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-08-07T21:48:13.806Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-07T21:48:14.406Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-07T21:48:14.406Z] b3c136eddcbf: Pulling fs layer [2022-08-07T21:48:14.406Z] c0a3192eca97: Pulling fs layer [2022-08-07T21:48:14.406Z] a050256f5b6f: Pulling fs layer [2022-08-07T21:48:14.406Z] 656be50a0ddc: Pulling fs layer [2022-08-07T21:48:14.406Z] 2bbca73fdf42: Pulling fs layer [2022-08-07T21:48:14.406Z] 46d945488cbd: Pulling fs layer [2022-08-07T21:48:14.406Z] 8a5474983e97: Pulling fs layer [2022-08-07T21:48:14.406Z] 329c88fbcd65: Pulling fs layer [2022-08-07T21:48:14.406Z] 2bbca73fdf42: Waiting [2022-08-07T21:48:14.406Z] 46d945488cbd: Waiting [2022-08-07T21:48:14.406Z] 8a5474983e97: Waiting [2022-08-07T21:48:14.406Z] 329c88fbcd65: Waiting [2022-08-07T21:48:14.406Z] 656be50a0ddc: Waiting [2022-08-07T21:48:14.406Z] a050256f5b6f: Download complete [2022-08-07T21:48:14.406Z] c0a3192eca97: Verifying Checksum [2022-08-07T21:48:14.406Z] c0a3192eca97: Download complete [2022-08-07T21:48:14.406Z] 2bbca73fdf42: Verifying Checksum [2022-08-07T21:48:14.406Z] 2bbca73fdf42: Download complete [2022-08-07T21:48:14.406Z] 46d945488cbd: Verifying Checksum [2022-08-07T21:48:14.406Z] 46d945488cbd: Download complete [2022-08-07T21:48:14.694Z] b3c136eddcbf: Download complete [2022-08-07T21:48:15.701Z] b3c136eddcbf: Pull complete [2022-08-07T21:48:15.701Z] 329c88fbcd65: Verifying Checksum [2022-08-07T21:48:15.701Z] 329c88fbcd65: Download complete [2022-08-07T21:48:15.983Z] c0a3192eca97: Pull complete [2022-08-07T21:48:16.265Z] a050256f5b6f: Pull complete [2022-08-07T21:48:16.874Z] 8a5474983e97: Verifying Checksum [2022-08-07T21:48:16.874Z] 8a5474983e97: Download complete [2022-08-07T21:48:17.483Z] 656be50a0ddc: Verifying Checksum [2022-08-07T21:48:17.483Z] 656be50a0ddc: Download complete [2022-08-07T21:48:29.912Z] 656be50a0ddc: Pull complete [2022-08-07T21:48:30.186Z] 2bbca73fdf42: Pull complete [2022-08-07T21:48:30.461Z] 46d945488cbd: Pull complete [2022-08-07T21:48:37.184Z] 8a5474983e97: Pull complete [2022-08-07T21:48:38.627Z] 329c88fbcd65: Pull complete [2022-08-07T21:48:38.627Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-07T21:48:38.627Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-07T21:48:38.908Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] sh [2022-08-07T21:48:39.252Z] + 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 [2022-08-07T21:48:39.614Z] + docker inspect -f . ci-base-image-arm64 [2022-08-07T21:48:39.614Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-07T21:48:39.874Z] prd-ubuntu20.04-docker-arm64-4c-16g-22096 does not seem to be running inside a container [2022-08-07T21:48:39.965Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/149 -v /w/workspace/app-functions-sdk-go/149:/w/workspace/app-functions-sdk-go/149:rw,z -v /w/workspace/app-functions-sdk-go/149@tmp:/w/workspace/app-functions-sdk-go/149@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 [2022-08-07T21:48:42.899Z] $ docker top ae3af11f3e60f179ea3da5881cd1b4d134851b006def2ed82f40e333813db2d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-07T21:48:43.819Z] + go version [2022-08-07T21:48:43.819Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-07T21:48:43.850Z] $ docker stop --time=1 ae3af11f3e60f179ea3da5881cd1b4d134851b006def2ed82f40e333813db2d2 [2022-08-07T21:48:45.576Z] $ docker rm -f ae3af11f3e60f179ea3da5881cd1b4d134851b006def2ed82f40e333813db2d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-07T21:48:46.223Z] + docker inspect -f . ci-base-image-arm64 [2022-08-07T21:48:46.223Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-07T21:48:46.474Z] prd-ubuntu20.04-docker-arm64-4c-16g-22096 does not seem to be running inside a container [2022-08-07T21:48:46.563Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/app-functions-sdk-go/149 -v /w/workspace/app-functions-sdk-go/149:/w/workspace/app-functions-sdk-go/149:rw,z -v /w/workspace/app-functions-sdk-go/149@tmp:/w/workspace/app-functions-sdk-go/149@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 [2022-08-07T21:48:47.821Z] $ docker top 5b9c14e9bbbc529511303bea3683c05445d893ae86513e9a92df555899e9cdf2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-07T21:48:48.726Z] + git config --global --add safe.directory /w/workspace/app-functions-sdk-go/149 [Pipeline] fileExists [Pipeline] sh [2022-08-07T21:48:49.392Z] + make test [2022-08-07T21:48:49.392Z] make -C ./app-service-template build [2022-08-07T21:48:49.392Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/149/app-service-template' [2022-08-07T21:48:49.392Z] go mod tidy [2022-08-07T21:48:49.392Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 [2022-08-07T21:48:49.392Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 [2022-08-07T21:48:49.392Z] go: downloading github.com/google/uuid v1.3.0 [2022-08-07T21:48:49.392Z] go: downloading github.com/stretchr/testify v1.8.0 [2022-08-07T21:48:49.667Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.1-dev.5 [2022-08-07T21:48:49.667Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.1-dev.8 [2022-08-07T21:48:49.667Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 [2022-08-07T21:48:49.667Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-08-07T21:48:49.667Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-08-07T21:48:49.667Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2022-08-07T21:48:49.940Z] go: downloading github.com/go-playground/validator/v10 v10.10.1 [2022-08-07T21:48:49.940Z] go: downloading github.com/go-kit/log v0.2.0 [2022-08-07T21:48:49.940Z] go: downloading github.com/stretchr/objx v0.4.0 [2022-08-07T21:48:49.940Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.3 [2022-08-07T21:48:49.940Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 [2022-08-07T21:48:49.940Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.1-dev.1 [2022-08-07T21:48:50.214Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 [2022-08-07T21:48:50.214Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-08-07T21:48:50.214Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-08-07T21:48:50.214Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-08-07T21:48:50.214Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-08-07T21:48:50.214Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-08-07T21:48:50.214Z] go: downloading github.com/pelletier/go-toml v1.9.5 [2022-08-07T21:48:50.214Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-08-07T21:48:50.214Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-08-07T21:48:50.214Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-08-07T21:48:50.214Z] go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 [2022-08-07T21:48:50.488Z] go: downloading golang.org/x/text v0.3.7 [2022-08-07T21:48:51.093Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-08-07T21:48:51.093Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-08-07T21:48:51.093Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-08-07T21:48:53.075Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.1.0 [2022-08-07T21:48:53.348Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2022-08-07T21:48:53.348Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-08-07T21:48:53.348Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-08-07T21:48:53.348Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2022-08-07T21:48:53.348Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-08-07T21:48:53.348Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-08-07T21:48:53.348Z] go: downloading github.com/x448/float16 v0.8.4 [2022-08-07T21:48:53.348Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-08-07T21:48:53.626Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-08-07T21:48:53.626Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-08-07T21:48:53.626Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-08-07T21:48:53.626Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-08-07T21:48:53.626Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-08-07T21:48:53.626Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-08-07T21:48:53.626Z] go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 [2022-08-07T21:48:53.901Z] go: downloading github.com/kr/pretty v0.3.0 [2022-08-07T21:48:53.901Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-08-07T21:48:53.901Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-08-07T21:48:53.901Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-08-07T21:48:53.901Z] go: downloading github.com/Microsoft/go-winio v0.5.2 [2022-08-07T21:48:53.901Z] go: downloading github.com/zeebo/errs v1.2.2 [2022-08-07T21:48:54.181Z] go: downloading google.golang.org/grpc v1.46.0 [2022-08-07T21:48:55.163Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-08-07T21:48:55.163Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-08-07T21:48:55.163Z] go: downloading github.com/fatih/color v1.9.0 [2022-08-07T21:48:55.163Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-08-07T21:48:55.163Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-08-07T21:48:55.163Z] go: downloading github.com/pkg/errors v0.9.1 [2022-08-07T21:48:55.163Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-08-07T21:48:55.163Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-08-07T21:48:55.163Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-08-07T21:48:55.163Z] go: downloading github.com/kr/text v0.2.0 [2022-08-07T21:48:55.163Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-08-07T21:48:55.163Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-08-07T21:48:55.163Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-08-07T21:48:55.163Z] go: downloading gopkg.in/square/go-jose.v2 v2.4.1 [2022-08-07T21:48:55.440Z] go: downloading google.golang.org/protobuf v1.28.0 [2022-08-07T21:48:55.440Z] go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa [2022-08-07T21:48:56.039Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-08-07T21:48:56.316Z] go: downloading github.com/google/go-cmp v0.5.6 [2022-08-07T21:48:56.316Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-08-07T21:48:56.316Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-08-07T21:48:56.316Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-08-07T21:48:56.591Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-08-07T21:48:56.591Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-08-07T21:48:56.591Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-08-07T21:48:56.591Z] go: downloading github.com/miekg/dns v1.1.26 [2022-08-07T21:48:56.865Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-08-07T21:48:56.865Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-08-07T21:48:56.866Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2022-08-07T21:48:57.139Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-08-07T21:48:57.139Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 [2022-08-07T21:48:57.139Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-08-07T21:48:57.139Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2022-08-07T21:49:01.442Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.3.0-dev.11 [2022-08-07T21:49:01.442Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.3.0-dev.12 [2022-08-07T21:49:01.442Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.4 [2022-08-07T21:49:01.442Z] go: downloading golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e [2022-08-07T21:49:01.442Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.1-dev.5 [2022-08-07T21:49:01.442Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.1.1 [2022-08-07T21:49:01.442Z] go: downloading github.com/nats-io/nats.go v1.16.0 [2022-08-07T21:49:01.721Z] go: downloading github.com/nats-io/nkeys v0.3.0 [2022-08-07T21:49:01.721Z] go: downloading github.com/nats-io/nuid v1.0.1 [2022-08-07T21:49:01.721Z] go: downloading github.com/nats-io/nats-server/v2 v2.7.4 [2022-08-07T21:49:02.313Z] go: downloading github.com/minio/highwayhash v1.0.2 [2022-08-07T21:49:02.313Z] go: downloading github.com/nats-io/jwt/v2 v2.3.0 [2022-08-07T21:49:02.313Z] go: downloading github.com/klauspost/compress v1.15.9 [2022-08-07T21:49:02.313Z] go: downloading golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 [2022-08-07T21:49:05.702Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o new-app-service [2022-08-07T21:50:57.610Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/149/app-service-template' [2022-08-07T21:50:57.610Z] make -C ./app-service-template test [2022-08-07T21:50:57.610Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/149/app-service-template' [2022-08-07T21:50:57.610Z] CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... [2022-08-07T21:53:19.542Z] ok new-app-service 0.255s coverage: 48.1% of statements [2022-08-07T21:53:19.542Z] ? new-app-service/config [no test files] [2022-08-07T21:53:19.542Z] ok new-app-service/functions 0.202s [2022-08-07T21:53:19.542Z] CGO_ENABLED=1 go vet ./... [2022-08-07T21:54:41.424Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-07T21:54:41.424Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-07T21:54:41.424Z] ./bin/test-attribution-txt.sh [2022-08-07T21:54:41.424Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-07T21:54:41.424Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-07T21:54:41.424Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-08-07T21:54:41.424Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/149/app-service-template' [2022-08-07T21:54:41.424Z] CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-08-07T21:54:41.424Z] go: downloading github.com/gomodule/redigo v1.8.9 [2022-08-07T21:54:41.424Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2022-08-07T21:54:56.601Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.631s coverage: 60.3% of statements [2022-08-07T21:54:56.601Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.286s coverage: 93.8% of statements [2022-08-07T21:54:56.601Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2022-08-07T21:54:56.601Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.392s coverage: 76.5% of statements [2022-08-07T21:54:56.601Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2022-08-07T21:54:56.601Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.327s coverage: 88.7% of statements [2022-08-07T21:54:56.601Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.135s coverage: 100.0% of statements [2022-08-07T21:54:56.601Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.893s coverage: 78.5% of statements [2022-08-07T21:54:56.601Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2022-08-07T21:54:56.601Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2022-08-07T21:54:56.601Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.256s coverage: 97.3% of statements [2022-08-07T21:54:56.601Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2022-08-07T21:54:56.601Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] [2022-08-07T21:54:56.879Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.325s coverage: 82.8% of statements [2022-08-07T21:54:56.879Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] [2022-08-07T21:55:03.635Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 1.107s coverage: 81.5% of statements [2022-08-07T21:55:03.635Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] [2022-08-07T21:55:03.635Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] [2022-08-07T21:55:03.635Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.362s coverage: 28.7% of statements [2022-08-07T21:55:03.635Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] [2022-08-07T21:55:03.635Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.278s coverage: 14.0% of statements [2022-08-07T21:55:04.238Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.327s coverage: 27.3% of statements [2022-08-07T21:55:04.238Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2022-08-07T21:55:04.238Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-08-07T21:55:09.847Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.238s coverage: 51.4% of statements [2022-08-07T21:55:42.259Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.511s coverage: 75.5% of statements [2022-08-07T21:55:42.259Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.222s coverage: 94.4% of statements [2022-08-07T21:55:42.259Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-07T21:55:45.653Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-07T21:55:45.934Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-07T21:55:46.211Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] echo [2022-08-07T21:55:46.235Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-07T21:55:46.256Z] $ docker stop --time=1 5b9c14e9bbbc529511303bea3683c05445d893ae86513e9a92df555899e9cdf2 [2022-08-07T21:55:48.134Z] $ docker rm -f 5b9c14e9bbbc529511303bea3683c05445d893ae86513e9a92df555899e9cdf2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-07T21:55:52.001Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-07T21:55:52.028Z] Warning: overwriting stash ‘coverage-report’ [2022-08-07T21:55:52.564Z] 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 [2022-08-07T21:55:53.012Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-07T21:55:53.012Z] [2022-08-07T21:55:53.012Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-07T21:55:53.363Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-07T21:55:53.637Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-07T21:55:53.637Z] 8998bd30e6a1: Pulling fs layer [2022-08-07T21:55:53.637Z] 04944245beec: Pulling fs layer [2022-08-07T21:55:53.637Z] 699f458cf7ca: Pulling fs layer [2022-08-07T21:55:53.637Z] 765212b225bb: Pulling fs layer [2022-08-07T21:55:53.637Z] f23df028b6ca: Pulling fs layer [2022-08-07T21:55:53.637Z] d65c8cfc05b1: Pulling fs layer [2022-08-07T21:55:53.637Z] 2437ff75d9bd: Pulling fs layer [2022-08-07T21:55:53.637Z] f23df028b6ca: Waiting [2022-08-07T21:55:53.637Z] d65c8cfc05b1: Waiting [2022-08-07T21:55:53.637Z] 765212b225bb: Waiting [2022-08-07T21:55:53.637Z] 2437ff75d9bd: Waiting [2022-08-07T21:55:53.637Z] 04944245beec: Verifying Checksum [2022-08-07T21:55:53.637Z] 04944245beec: Download complete [2022-08-07T21:55:53.911Z] 765212b225bb: Verifying Checksum [2022-08-07T21:55:53.911Z] 765212b225bb: Download complete [2022-08-07T21:55:53.911Z] f23df028b6ca: Verifying Checksum [2022-08-07T21:55:53.911Z] f23df028b6ca: Download complete [2022-08-07T21:55:53.911Z] d65c8cfc05b1: Verifying Checksum [2022-08-07T21:55:53.911Z] d65c8cfc05b1: Download complete [2022-08-07T21:55:53.911Z] 699f458cf7ca: Verifying Checksum [2022-08-07T21:55:53.911Z] 699f458cf7ca: Download complete [2022-08-07T21:55:54.506Z] 8998bd30e6a1: Download complete [2022-08-07T21:55:56.484Z] 2437ff75d9bd: Verifying Checksum [2022-08-07T21:55:56.484Z] 2437ff75d9bd: Download complete [2022-08-07T21:55:58.479Z] 8998bd30e6a1: Pull complete [2022-08-07T21:55:59.073Z] 04944245beec: Pull complete [2022-08-07T21:56:00.505Z] 699f458cf7ca: Pull complete [2022-08-07T21:56:00.505Z] 765212b225bb: Pull complete [2022-08-07T21:56:01.484Z] f23df028b6ca: Pull complete [2022-08-07T21:56:01.484Z] d65c8cfc05b1: Pull complete [2022-08-07T21:56:16.577Z] 2437ff75d9bd: Pull complete [2022-08-07T21:56:16.577Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-07T21:56:16.577Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-07T21:56:16.577Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-07T21:56:16.840Z] prd-ubuntu20.04-docker-arm64-4c-16g-22096 does not seem to be running inside a container [2022-08-07T21:56:16.923Z] $ 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/149 -v /w/workspace/app-functions-sdk-go/149:/w/workspace/app-functions-sdk-go/149:rw,z -v /w/workspace/app-functions-sdk-go/149@tmp:/w/workspace/app-functions-sdk-go/149@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 [2022-08-07T21:56:19.397Z] $ docker top f479894f9f612844491d6abc3d7034b7db58e623772cd61c9448552e2fab49fb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-07T21:56:20.319Z] ---> job-cost.sh [2022-08-07T21:56:20.319Z] lf-activate-venv: SKIPPING [2022-08-07T21:56:20.319Z] INFO: No Stack... [2022-08-07T21:56:20.591Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-07T21:56:21.568Z] INFO: Archiving Costs [Pipeline] sh [2022-08-07T21:56:22.230Z] + cat /w/workspace/app-functions-sdk-go/149/archives/cost.csv [2022-08-07T21:56:22.230Z] + cut -d, -f6 [Pipeline] lock [2022-08-07T21:56:22.287Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-149-stack-cost] [2022-08-07T21:56:22.296Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-149-stack-cost] did not exist. Created. [2022-08-07T21:56:22.296Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-149-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-07T21:56:22.964Z] /w/workspace/app-functions-sdk-go/149@tmp/durable-c25e2466/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-07T21:56:23.637Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-07T21:56:23.655Z] Warning: overwriting stash ‘stack-cost’ [2022-08-07T21:56:23.721Z] Stashed 1 file(s) [Pipeline] } [2022-08-07T21:56:23.727Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-149-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-07T21:56:23.753Z] $ docker stop --time=1 f479894f9f612844491d6abc3d7034b7db58e623772cd61c9448552e2fab49fb [2022-08-07T21:56:25.262Z] $ docker rm -f f479894f9f612844491d6abc3d7034b7db58e623772cd61c9448552e2fab49fb [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 [2022-08-07T21:56:25.785Z] provisioning config files... [2022-08-07T21:56:25.796Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config6371421231149767939tmp [Pipeline] { [Pipeline] sh [2022-08-07T21:56:26.096Z] + set +x [2022-08-07T21:56:26.096Z] + curl -s https://codecov.io/bash [2022-08-07T21:56:26.096Z] + bash -s -- [2022-08-07T21:56:26.096Z] [2022-08-07T21:56:26.096Z] _____ _ [2022-08-07T21:56:26.096Z] / ____| | | [2022-08-07T21:56:26.096Z] | | ___ __| | ___ ___ _____ __ [2022-08-07T21:56:26.096Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-07T21:56:26.096Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-07T21:56:26.096Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-07T21:56:26.096Z] Bash-1.0.6 [2022-08-07T21:56:26.096Z] [2022-08-07T21:56:26.096Z] [2022-08-07T21:56:26.096Z] ==> git version 2.25.1 found [2022-08-07T21:56:26.096Z] ==> 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 [2022-08-07T21:56:26.096Z] Release-Date: 2020-01-08 [2022-08-07T21:56:26.096Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-08-07T21:56:26.096Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-07T21:56:26.096Z] ==> Jenkins CI detected. [2022-08-07T21:56:26.096Z] current dir:  /w/workspace/oundry_app-functions-sdk-go_main [2022-08-07T21:56:26.096Z] project root: . [2022-08-07T21:56:26.096Z] --> token set from env [2022-08-07T21:56:26.096Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-07T21:56:26.096Z] ==> Running gcov in . (disable via -X gcov) [2022-08-07T21:56:26.096Z] ==> Python coveragepy not found [2022-08-07T21:56:26.096Z] ==> Searching for coverage reports in: [2022-08-07T21:56:26.096Z] + . [2022-08-07T21:56:26.096Z] -> Found 2 reports [2022-08-07T21:56:26.096Z] ==> Detecting git/mercurial file structure [2022-08-07T21:56:26.096Z] ==> Reading reports [2022-08-07T21:56:26.096Z] + ./app-service-template/coverage.out bytes=1222 [2022-08-07T21:56:26.096Z] + ./coverage.out bytes=125926 [2022-08-07T21:56:26.356Z] ==> Appending adjustments [2022-08-07T21:56:26.356Z] https://docs.codecov.io/docs/fixing-reports [2022-08-07T21:56:26.617Z] + Found adjustments [2022-08-07T21:56:26.617Z] ==> Gzipping contents [2022-08-07T21:56:26.617Z] 24K /tmp/codecov.AB9P1Y.gz [2022-08-07T21:56:26.617Z] ==> Uploading reports [2022-08-07T21:56:26.617Z] url: https://codecov.io [2022-08-07T21:56:26.617Z] query: branch=main&commit=dcd13b78c3ddfca3df8a47d4ac18a79c3cf37424&build=149&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F149%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-08-07T21:56:26.617Z] -> Pinging Codecov [2022-08-07T21:56:26.617Z] 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=dcd13b78c3ddfca3df8a47d4ac18a79c3cf37424&build=149&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F149%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-08-07T21:56:26.878Z] -> Uploading to [2022-08-07T21:56:26.878Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-07/3D8B5DFFC46A037C893635FACE044666/dcd13b78c3ddfca3df8a47d4ac18a79c3cf37424/c22997c8-2aba-4706-9abd-545ea22c4990.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220807%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220807T215626Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ecdd590ffadfee16e5f610dcb8c077d1d1de5c9ac2204cdba7d87bd4507575ef [2022-08-07T21:56:26.878Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-07T21:56:26.878Z] Dload Upload Total Spent Left Speed [2022-08-07T21:56:27.138Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21606 0 0 100 21606 0 85399 --:--:-- --:--:-- --:--:-- 85399 [2022-08-07T21:56:27.138Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/dcd13b78c3ddfca3df8a47d4ac18a79c3cf37424 [Pipeline] } [2022-08-07T21:56:27.146Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-08-07T21:56:27.280Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-08-07T21:56:27.292Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-07T21:56:27.596Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-08-07T21:56:27.597Z] [2022-08-07T21:56:27.597Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-07T21:56:27.905Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-08-07T21:56:27.905Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-08-07T21:56:27.905Z] df9b9388f04a: Pulling fs layer [2022-08-07T21:56:27.905Z] 52dc419b0ee2: Pulling fs layer [2022-08-07T21:56:27.905Z] 25bc292e5bac: Pulling fs layer [2022-08-07T21:56:27.905Z] 114826534d7a: Pulling fs layer [2022-08-07T21:56:27.905Z] 4657fd5d0bcf: Pulling fs layer [2022-08-07T21:56:27.905Z] 6ad1cebc031e: Pulling fs layer [2022-08-07T21:56:27.905Z] 8a3aa393b2d8: Pulling fs layer [2022-08-07T21:56:27.905Z] 114826534d7a: Waiting [2022-08-07T21:56:27.905Z] 6ad1cebc031e: Waiting [2022-08-07T21:56:27.905Z] 8a3aa393b2d8: Waiting [2022-08-07T21:56:27.905Z] 4657fd5d0bcf: Waiting [2022-08-07T21:56:27.905Z] 25bc292e5bac: Verifying Checksum [2022-08-07T21:56:27.905Z] 25bc292e5bac: Download complete [2022-08-07T21:56:27.905Z] 52dc419b0ee2: Verifying Checksum [2022-08-07T21:56:27.905Z] 52dc419b0ee2: Download complete [2022-08-07T21:56:27.905Z] 4657fd5d0bcf: Verifying Checksum [2022-08-07T21:56:27.905Z] 4657fd5d0bcf: Download complete [2022-08-07T21:56:27.905Z] df9b9388f04a: Download complete [2022-08-07T21:56:28.166Z] 6ad1cebc031e: Verifying Checksum [2022-08-07T21:56:28.166Z] 6ad1cebc031e: Download complete [2022-08-07T21:56:28.166Z] df9b9388f04a: Pull complete [2022-08-07T21:56:28.166Z] 52dc419b0ee2: Pull complete [2022-08-07T21:56:28.166Z] 25bc292e5bac: Pull complete [2022-08-07T21:56:28.738Z] 114826534d7a: Verifying Checksum [2022-08-07T21:56:28.738Z] 114826534d7a: Download complete [2022-08-07T21:56:28.738Z] 8a3aa393b2d8: Verifying Checksum [2022-08-07T21:56:28.738Z] 8a3aa393b2d8: Download complete [2022-08-07T21:56:32.949Z] 114826534d7a: Pull complete [2022-08-07T21:56:32.949Z] 4657fd5d0bcf: Pull complete [2022-08-07T21:56:32.949Z] 6ad1cebc031e: Pull complete [2022-08-07T21:56:36.237Z] 8a3aa393b2d8: Pull complete [2022-08-07T21:56:36.237Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-08-07T21:56:36.237Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-08-07T21:56:36.237Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-07T21:56:36.367Z] prd-ubuntu20.04-docker-8c-8g-22095 does not seem to be running inside a container [2022-08-07T21:56:36.448Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-08-07T21:56:38.503Z] $ docker top de3303b623b7ad3dd028e5a060715f76d02ed3892f518c33143e01fd27b5947d -eo pid,comm [Pipeline] { [Pipeline] echo [2022-08-07T21:56:38.580Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-functions-sdk-go:main' [Pipeline] sh [2022-08-07T21:56:38.882Z] + set -o pipefail [2022-08-07T21:56:38.882Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-functions-sdk-go:main' [2022-08-07T21:56:45.473Z] [2022-08-07T21:56:45.473Z] Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2022-08-07T21:56:45.473Z] [2022-08-07T21:56:45.473Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/899a6017-c938-46f1-adf7-2bd1b283a5ba/history/adb813cd-5864-4511-be00-94ea50816e0b [2022-08-07T21:56:45.473Z] [2022-08-07T21:56:45.473Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-08-07T21:56:45.473Z] [2022-08-07T21:56:45.473Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-08-07T21:56:45.473Z] [2022-08-07T21:56:45.473Z] [Pipeline] } [2022-08-07T21:56:45.484Z] $ docker stop --time=1 de3303b623b7ad3dd028e5a060715f76d02ed3892f518c33143e01fd27b5947d [2022-08-07T21:56:47.775Z] $ docker rm -f de3303b623b7ad3dd028e5a060715f76d02ed3892f518c33143e01fd27b5947d [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 [2022-08-07T21:56:48.214Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-07T21:56:48.231Z] provisioning config files... [2022-08-07T21:56:48.241Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config4517200419751611313tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-07T21:56:48.542Z] --> edgex-publish-swagger.sh [2022-08-07T21:56:48.542Z] === Publish openapi/v2 API === [2022-08-07T21:56:48.542Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-08-07T21:56:48.542Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v2/app-functions-sdk.yaml] [2022-08-07T21:56:48.542Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-07T21:56:48.542Z] Dload Upload Total Spent Left Speed [2022-08-07T21:56:49.484Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13708 0 0 100 13708 0 57596 --:--:-- --:--:-- --:--:-- 57596 100 13708 0 0 100 13708 0 13818 --:--:-- --:--:-- --:--:-- 13804 [2022-08-07T21:56:49.484Z] [2022-08-07T21:56:49.484Z] [Pipeline] } [2022-08-07T21:56:49.492Z] 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 [2022-08-07T21:56:49.891Z] + git log --format=format:%s -1 dcd13b78c3ddfca3df8a47d4ac18a79c3cf37424 [Pipeline] sh [2022-08-07T21:56:50.191Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-07T21:56:50.191Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-07T21:56:50.495Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-07T21:56:50.495Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-07T21:56:50.579Z] prd-ubuntu20.04-docker-8c-8g-22095 does not seem to be running inside a container [2022-08-07T21:56:50.614Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-07T21:56:51.101Z] $ docker top df8740ce1e94200114638c0709bf3e1e3014ad76dced6f36b6837fd8ac519855 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-07T21:56:51.207Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-07T21:56:51.207Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-07T21:56:51.357Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-07T21:56:51.360Z] $ docker exec df8740ce1e94200114638c0709bf3e1e3014ad76dced6f36b6837fd8ac519855 ssh-agent [2022-08-07T21:56:51.484Z] SSH_AUTH_SOCK=/tmp/ssh-DcDKfuXZAuWl/agent.34 [2022-08-07T21:56:51.484Z] SSH_AGENT_PID=40 [2022-08-07T21:56:51.490Z] Running ssh-add (command line suppressed) [2022-08-07T21:56:51.613Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7741650139819585376.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7741650139819585376.key) [2022-08-07T21:56:51.630Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-07T21:56:51.921Z] + git semver tag [2022-08-07T21:56:52.183Z] 2022-08-07 21:56:52,120 [run_tag] DEBUG tag force:False [2022-08-07T21:56:52.183Z] 2022-08-07 21:56:52,120 [check_head_tag] DEBUG check head tag [2022-08-07T21:56:52.183Z] 2022-08-07 21:56:52,121 [execute] INFO git cat-file --batch-check [2022-08-07T21:56:52.183Z] 2022-08-07 21:56:52,121 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) [2022-08-07T21:56:52.183Z] 2022-08-07 21:56:52,124 [execute] INFO git cat-file --batch [2022-08-07T21:56:52.183Z] 2022-08-07 21:56:52,125 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) [2022-08-07T21:56:52.183Z] 2022-08-07 21:56:52,142 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-08-07T21:56:52.183Z] 2022-08-07 21:56:52,142 [execute] INFO git tag -a v2.3.0-dev.28 -m v2.3.0-dev.28 [2022-08-07T21:56:52.183Z] 2022-08-07 21:56:52,142 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.28', '-m', 'v2.3.0-dev.28'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2022-08-07T21:56:52.183Z] 2022-08-07 21:56:52,147 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-08-07T21:56:52.183Z] 2.3.0-dev.28 [Pipeline] } [2022-08-07T21:56:52.194Z] $ docker exec --env ******** --env ******** df8740ce1e94200114638c0709bf3e1e3014ad76dced6f36b6837fd8ac519855 ssh-agent -k [2022-08-07T21:56:52.329Z] unset SSH_AUTH_SOCK; [2022-08-07T21:56:52.329Z] unset SSH_AGENT_PID; [2022-08-07T21:56:52.329Z] echo Agent pid 40 killed; [2022-08-07T21:56:52.343Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-07T21:56:52.658Z] + git semver [Pipeline] } [2022-08-07T21:56:52.933Z] $ docker stop --time=1 df8740ce1e94200114638c0709bf3e1e3014ad76dced6f36b6837fd8ac519855 [2022-08-07T21:56:54.229Z] $ docker rm -f df8740ce1e94200114638c0709bf3e1e3014ad76dced6f36b6837fd8ac519855 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-07T21:56:54.621Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-08-07T21:56:54.621Z] [2022-08-07T21:56:54.621Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-07T21:56:54.934Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-08-07T21:56:54.934Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-08-07T21:56:54.934Z] ab5ef0e58194: Pulling fs layer [2022-08-07T21:56:54.934Z] 9712f1f96733: Pulling fs layer [2022-08-07T21:56:54.934Z] 63f879dbbcfc: Pulling fs layer [2022-08-07T21:56:54.934Z] 0d9ebad4ef96: Pulling fs layer [2022-08-07T21:56:54.934Z] e9a5061849ea: Pulling fs layer [2022-08-07T21:56:54.934Z] d747dcd14b5f: Pulling fs layer [2022-08-07T21:56:54.934Z] 2de7ff778b66: Pulling fs layer [2022-08-07T21:56:54.934Z] e9a5061849ea: Waiting [2022-08-07T21:56:54.934Z] d747dcd14b5f: Waiting [2022-08-07T21:56:54.934Z] 0d9ebad4ef96: Waiting [2022-08-07T21:56:54.934Z] 2de7ff778b66: Waiting [2022-08-07T21:56:54.934Z] 9712f1f96733: Verifying Checksum [2022-08-07T21:56:54.934Z] 9712f1f96733: Download complete [2022-08-07T21:56:55.195Z] 63f879dbbcfc: Verifying Checksum [2022-08-07T21:56:55.195Z] 63f879dbbcfc: Download complete [2022-08-07T21:56:55.457Z] e9a5061849ea: Verifying Checksum [2022-08-07T21:56:55.457Z] e9a5061849ea: Download complete [2022-08-07T21:56:55.457Z] d747dcd14b5f: Download complete [2022-08-07T21:56:55.457Z] 0d9ebad4ef96: Verifying Checksum [2022-08-07T21:56:55.457Z] 0d9ebad4ef96: Download complete [2022-08-07T21:56:55.457Z] 2de7ff778b66: Verifying Checksum [2022-08-07T21:56:55.457Z] 2de7ff778b66: Download complete [2022-08-07T21:56:55.717Z] ab5ef0e58194: Verifying Checksum [2022-08-07T21:56:55.717Z] ab5ef0e58194: Download complete [2022-08-07T21:56:59.013Z] ab5ef0e58194: Pull complete [2022-08-07T21:56:59.013Z] 9712f1f96733: Pull complete [2022-08-07T21:56:59.582Z] 63f879dbbcfc: Pull complete [2022-08-07T21:57:03.787Z] 0d9ebad4ef96: Pull complete [2022-08-07T21:57:04.048Z] e9a5061849ea: Pull complete [2022-08-07T21:57:04.307Z] d747dcd14b5f: Pull complete [2022-08-07T21:57:05.690Z] 2de7ff778b66: Pull complete [2022-08-07T21:57:05.690Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-08-07T21:57:05.690Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-08-07T21:57:05.690Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-07T21:57:05.913Z] prd-ubuntu20.04-docker-8c-8g-22095 does not seem to be running inside a container [2022-08-07T21:57:05.983Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-08-07T21:57:08.369Z] $ docker top 9bbb406deb88e809dbe46e9cc059dc8356162165eefca9c595c832c3f9fa0825 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-08-07T21:57:08.481Z] provisioning config files... [2022-08-07T21:57:08.490Z] copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config7948358161168535717tmp [2022-08-07T21:57:08.501Z] copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config5591754526093500434tmp [2022-08-07T21:57:08.513Z] copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config6016218483278471399tmp [Pipeline] { [Pipeline] echo [2022-08-07T21:57:08.529Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-07T21:57:08.815Z] ---> sigul-configuration.sh [2022-08-07T21:57:08.815Z] gpg: directory `/root/.gnupg' created [2022-08-07T21:57:08.815Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-08-07T21:57:08.815Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-08-07T21:57:08.815Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-08-07T21:57:08.815Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-08-07T21:57:08.815Z] gpg: CAST5 encrypted data [2022-08-07T21:57:08.815Z] gpg: encrypted with 1 passphrase [2022-08-07T21:57:08.815Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-08-07T21:57:09.104Z] + mkdir /home/jenkins [2022-08-07T21:57:09.104Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-08-07T21:57:09.404Z] + 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 [2022-08-07T21:57:09.413Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-07T21:57:09.697Z] ---> sigul-install.sh [2022-08-07T21:57:09.697Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-08-07T21:57:09.991Z] + git tag --list [2022-08-07T21:57:09.991Z] v0.1.0 [2022-08-07T21:57:09.991Z] v0.1.1 [2022-08-07T21:57:09.991Z] v1.0.0 [2022-08-07T21:57:09.991Z] v1.1.0 [2022-08-07T21:57:09.991Z] v1.2.0 [2022-08-07T21:57:09.991Z] v1.3.0 [2022-08-07T21:57:09.991Z] v1.3.1 [2022-08-07T21:57:09.991Z] v2.0.0 [2022-08-07T21:57:09.991Z] v2.0.1 [2022-08-07T21:57:09.991Z] v2.1.0 [2022-08-07T21:57:09.991Z] v2.1.1 [2022-08-07T21:57:09.991Z] v2.1.1-dev.3 [2022-08-07T21:57:09.991Z] v2.1.1-dev.4 [2022-08-07T21:57:09.991Z] v2.2.0 [2022-08-07T21:57:09.991Z] v2.2.1-dev.1 [2022-08-07T21:57:09.991Z] v2.2.1-dev.10 [2022-08-07T21:57:09.991Z] v2.2.1-dev.11 [2022-08-07T21:57:09.991Z] v2.2.1-dev.12 [2022-08-07T21:57:09.991Z] v2.2.1-dev.13 [2022-08-07T21:57:09.991Z] v2.2.1-dev.14 [2022-08-07T21:57:09.991Z] v2.2.1-dev.15 [2022-08-07T21:57:09.991Z] v2.2.1-dev.16 [2022-08-07T21:57:09.991Z] v2.2.1-dev.17 [2022-08-07T21:57:09.991Z] v2.2.1-dev.18 [2022-08-07T21:57:09.991Z] v2.2.1-dev.19 [2022-08-07T21:57:09.991Z] v2.2.1-dev.2 [2022-08-07T21:57:09.991Z] v2.2.1-dev.20 [2022-08-07T21:57:09.991Z] v2.2.1-dev.21 [2022-08-07T21:57:09.991Z] v2.2.1-dev.22 [2022-08-07T21:57:09.991Z] v2.2.1-dev.23 [2022-08-07T21:57:09.991Z] v2.2.1-dev.3 [2022-08-07T21:57:09.991Z] v2.2.1-dev.4 [2022-08-07T21:57:09.991Z] v2.2.1-dev.5 [2022-08-07T21:57:09.991Z] v2.2.1-dev.6 [2022-08-07T21:57:09.991Z] v2.2.1-dev.7 [2022-08-07T21:57:09.991Z] v2.2.1-dev.8 [2022-08-07T21:57:09.991Z] v2.2.1-dev.9 [2022-08-07T21:57:09.991Z] v2.3.0-dev.24 [2022-08-07T21:57:09.991Z] v2.3.0-dev.25 [2022-08-07T21:57:09.991Z] v2.3.0-dev.26 [2022-08-07T21:57:09.991Z] v2.3.0-dev.27 [2022-08-07T21:57:09.991Z] v2.3.0-dev.28 [Pipeline] sh [2022-08-07T21:57:10.283Z] + lftools sign git-tag v2.3.0-dev.28 [2022-08-07T21:57:10.853Z] Signing Git tag with Sigul... [2022-08-07T21:57:10.853Z] Signing v2.3.0-dev.28 [Pipeline] echo [2022-08-07T21:57:11.122Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-07T21:57:11.408Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-08-07T21:57:11.418Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-08-07T21:57:11.439Z] $ docker stop --time=1 9bbb406deb88e809dbe46e9cc059dc8356162165eefca9c595c832c3f9fa0825 [2022-08-07T21:57:12.744Z] $ docker rm -f 9bbb406deb88e809dbe46e9cc059dc8356162165eefca9c595c832c3f9fa0825 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-08-07T21:57:13.181Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-07T21:57:13.181Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-07T21:57:13.488Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-07T21:57:13.488Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-07T21:57:13.578Z] prd-ubuntu20.04-docker-8c-8g-22095 does not seem to be running inside a container [2022-08-07T21:57:13.612Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-07T21:57:14.006Z] $ docker top 3273ac128c40448d7aad1cc1fefa14995f47d78000b93ee0aeaed80ade9dadd2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-07T21:57:14.125Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-07T21:57:14.125Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-07T21:57:14.246Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-07T21:57:14.248Z] $ docker exec 3273ac128c40448d7aad1cc1fefa14995f47d78000b93ee0aeaed80ade9dadd2 ssh-agent [2022-08-07T21:57:14.388Z] SSH_AUTH_SOCK=/tmp/ssh-Hflznz8or63w/agent.32 [2022-08-07T21:57:14.388Z] SSH_AGENT_PID=38 [2022-08-07T21:57:14.394Z] Running ssh-add (command line suppressed) [2022-08-07T21:57:14.517Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1925845369323106877.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1925845369323106877.key) [2022-08-07T21:57:14.538Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-07T21:57:14.827Z] + git semver bump pre [2022-08-07T21:57:15.089Z] 2022-08-07 21:57:15,023 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-08-07T21:57:15.089Z] 2022-08-07 21:57:15,023 [bump_version] DEBUG bumping version:2.3.0-dev.28 on axis:pre with prefix:dev [2022-08-07T21:57:15.089Z] 2022-08-07 21:57:15,023 [bump_version] DEBUG bumped version:2.3.0-dev.29 [2022-08-07T21:57:15.089Z] 2022-08-07 21:57:15,023 [write_version] DEBUG write version:2.3.0-dev.29 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:True [2022-08-07T21:57:15.089Z] 2022-08-07 21:57:15,024 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-08-07T21:57:15.089Z] 2022-08-07 21:57:15,024 [write_file] DEBUG write to file:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-08-07T21:57:15.089Z] 2022-08-07 21:57:15,026 [execute] INFO git cat-file --batch-check [2022-08-07T21:57:15.089Z] 2022-08-07 21:57:15,026 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-08-07T21:57:15.089Z] 2022-08-07 21:57:15,032 [execute] INFO git cat-file --batch [2022-08-07T21:57:15.089Z] 2022-08-07 21:57:15,032 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-08-07T21:57:15.089Z] 2022-08-07 21:57:15,037 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-08-07T21:57:15.089Z] 2.3.0-dev.29 [Pipeline] } [2022-08-07T21:57:15.099Z] $ docker exec --env ******** --env ******** 3273ac128c40448d7aad1cc1fefa14995f47d78000b93ee0aeaed80ade9dadd2 ssh-agent -k [2022-08-07T21:57:15.215Z] unset SSH_AUTH_SOCK; [2022-08-07T21:57:15.216Z] unset SSH_AGENT_PID; [2022-08-07T21:57:15.216Z] echo Agent pid 38 killed; [2022-08-07T21:57:15.227Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-07T21:57:15.531Z] + git semver [Pipeline] } [2022-08-07T21:57:15.810Z] $ docker stop --time=1 3273ac128c40448d7aad1cc1fefa14995f47d78000b93ee0aeaed80ade9dadd2 [2022-08-07T21:57:17.091Z] $ docker rm -f 3273ac128c40448d7aad1cc1fefa14995f47d78000b93ee0aeaed80ade9dadd2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-07T21:57:17.451Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-07T21:57:17.451Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-07T21:57:17.758Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-07T21:57:17.758Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-07T21:57:17.858Z] prd-ubuntu20.04-docker-8c-8g-22095 does not seem to be running inside a container [2022-08-07T21:57:17.896Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-07T21:57:18.306Z] $ docker top d0e5b1d0dfe2f3da786c8552613ad58c164dcb4b3920ecd77f72d58c3542b48f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-07T21:57:18.413Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-07T21:57:18.414Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-07T21:57:18.550Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-07T21:57:18.552Z] $ docker exec d0e5b1d0dfe2f3da786c8552613ad58c164dcb4b3920ecd77f72d58c3542b48f ssh-agent [2022-08-07T21:57:18.688Z] SSH_AUTH_SOCK=/tmp/ssh-ifkaFyfmOA8E/agent.34 [2022-08-07T21:57:18.688Z] SSH_AGENT_PID=40 [2022-08-07T21:57:18.694Z] Running ssh-add (command line suppressed) [2022-08-07T21:57:18.813Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7641491586951858212.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7641491586951858212.key) [2022-08-07T21:57:18.832Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-07T21:57:19.123Z] + git semver push [2022-08-07T21:57:19.384Z] 2022-08-07 21:57:19,314 [run_push] DEBUG push [2022-08-07T21:57:19.384Z] 2022-08-07 21:57:19,315 [execute] INFO git cat-file --batch-check [2022-08-07T21:57:19.384Z] 2022-08-07 21:57:19,315 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-08-07T21:57:19.384Z] 2022-08-07 21:57:19,318 [execute] INFO git rev-list dacd092ebb5a73b02a34b64197cd9b20ff8e8081 -- [2022-08-07T21:57:19.384Z] 2022-08-07 21:57:19,319 [execute] DEBUG Popen(['git', 'rev-list', 'dacd092ebb5a73b02a34b64197cd9b20ff8e8081', '--'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-08-07T21:57:19.384Z] 2022-08-07 21:57:19,332 [execute] INFO git fetch -v origin [2022-08-07T21:57:19.384Z] 2022-08-07 21:57:19,332 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-08-07T21:57:19.955Z] 2022-08-07 21:57:19,812 [run_push] DEBUG no remote changes detected [2022-08-07T21:57:19.955Z] 2022-08-07 21:57:19,812 [execute] INFO git push origin semver [2022-08-07T21:57:19.955Z] 2022-08-07 21:57:19,813 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-08-07T21:57:20.898Z] 2022-08-07 21:57:20,557 [run_push] DEBUG push all version tags [2022-08-07T21:57:20.898Z] 2022-08-07 21:57:20,557 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-08-07T21:57:20.898Z] 2022-08-07 21:57:20,558 [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) [2022-08-07T21:57:21.469Z] 2022-08-07 21:57:21,212 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-08-07T21:57:21.469Z] 2.3.0-dev.29 [Pipeline] } [2022-08-07T21:57:21.480Z] $ docker exec --env ******** --env ******** d0e5b1d0dfe2f3da786c8552613ad58c164dcb4b3920ecd77f72d58c3542b48f ssh-agent -k [2022-08-07T21:57:21.587Z] unset SSH_AUTH_SOCK; [2022-08-07T21:57:21.587Z] unset SSH_AGENT_PID; [2022-08-07T21:57:21.587Z] echo Agent pid 40 killed; [2022-08-07T21:57:21.598Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-07T21:57:21.907Z] + git semver [Pipeline] } [2022-08-07T21:57:22.182Z] $ docker stop --time=1 d0e5b1d0dfe2f3da786c8552613ad58c164dcb4b3920ecd77f72d58c3542b48f [2022-08-07T21:57:23.472Z] $ docker rm -f d0e5b1d0dfe2f3da786c8552613ad58c164dcb4b3920ecd77f72d58c3542b48f [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 [2022-08-07T21:57:24.063Z] + [ -d /w/workspace/oundry_app-functions-sdk-go_main/archives ] [2022-08-07T21:57:24.063Z] + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives [2022-08-07T21:57:24.063Z] total 16 [2022-08-07T21:57:24.063Z] drwxr-xr-x 3 root root 4096 Aug 7 21:47 . [2022-08-07T21:57:24.063Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 7 21:57 .. [2022-08-07T21:57:24.063Z] drwxr-xr-x 2 root root 4096 Aug 7 21:47 cost [2022-08-07T21:57:24.063Z] -rw-r--r-- 1 root root 92 Aug 7 21:47 cost.csv [2022-08-07T21:57:24.063Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_app-functions-sdk-go_main/archives [2022-08-07T21:57:24.063Z] + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives [2022-08-07T21:57:24.063Z] total 16 [2022-08-07T21:57:24.063Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 7 21:47 . [2022-08-07T21:57:24.063Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 7 21:57 .. [2022-08-07T21:57:24.063Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 7 21:47 cost [2022-08-07T21:57:24.063Z] -rw-r--r-- 1 jenkins jenkins 92 Aug 7 21:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-07T21:57:24.358Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-07T21:57:25.229Z] ---> package-listing.sh [2022-08-07T21:57:25.229Z] ++ facter osfamily [2022-08-07T21:57:25.229Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-07T21:57:25.490Z] + OS_FAMILY=debian [2022-08-07T21:57:25.491Z] + workspace=/w/workspace/oundry_app-functions-sdk-go_main [2022-08-07T21:57:25.491Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-07T21:57:25.491Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-07T21:57:25.491Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-07T21:57:25.491Z] + PACKAGES=/tmp/packages_start.txt [2022-08-07T21:57:25.491Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2022-08-07T21:57:25.491Z] + PACKAGES=/tmp/packages_end.txt [2022-08-07T21:57:25.491Z] + case "${OS_FAMILY}" in [2022-08-07T21:57:25.491Z] + dpkg -l [2022-08-07T21:57:25.491Z] + grep '^ii' [2022-08-07T21:57:25.491Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-07T21:57:25.491Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-07T21:57:25.491Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-07T21:57:25.491Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2022-08-07T21:57:25.491Z] + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ [2022-08-07T21:57:25.491Z] + 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 [2022-08-07T21:57:25.503Z] 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 [2022-08-07T21:57:25.783Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-07T21:57:26.349Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-07T21:57:26.349Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-07T21:57:26.442Z] prd-ubuntu20.04-docker-8c-8g-22095 does not seem to be running inside a container [2022-08-07T21:57:26.481Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-07T21:57:26.737Z] $ docker top 0f05fdc445e8d6aff88ef1ae12d19e7a09c1d1a89627ae47049a646441592a81 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-07T21:57:27.112Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-07T21:57:27.401Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-07T21:57:27.696Z] + ls /var/log/sa-host [2022-08-07T21:57:27.696Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-07T21:57:27.773Z] provisioning config files... [2022-08-07T21:57:27.782Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config8666270713972759122tmp [Pipeline] { [Pipeline] echo [2022-08-07T21:57:27.795Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-07T21:57:28.080Z] ---> create-netrc.sh [Pipeline] } [2022-08-07T21:57:28.089Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-07T21:57:28.426Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-07T21:57:28.436Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-07T21:57:28.723Z] ---> sudo-logs.sh [2022-08-07T21:57:28.723Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-07T21:57:28.747Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-07T21:57:29.036Z] ---> job-cost.sh [2022-08-07T21:57:29.036Z] lf-activate-venv: SKIPPING [2022-08-07T21:57:29.036Z] DEBUG: total: 0.2199999988079071 [2022-08-07T21:57:29.036Z] INFO: Retrieving Stack Cost... [2022-08-07T21:57:29.609Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-07T21:57:29.871Z] INFO: Archiving Costs [Pipeline] echo [2022-08-07T21:57:29.883Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-07T21:57:30.172Z] ---> logs-deploy.sh [2022-08-07T21:57:30.173Z] lf-activate-venv: SKIPPING [2022-08-07T21:57:30.173Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/149 [2022-08-07T21:57:30.173Z] INFO: archiving workspace using pattern(s): [2022-08-07T21:57:31.117Z] Archives upload complete. [2022-08-07T21:57:31.117Z] INFO: archiving logs to Nexus