Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9c5c728ed47b7a809fda98ee71d3fedba1ec5214 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-ssh9923488039486653102.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh6083988190559457744.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh17736509191136073822.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh1957318803587254597.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4812526108851163979.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6275 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 9c5c728ed47b7a809fda98ee71d3fedba1ec5214 (main) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1374)" > 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 9c5c728ed47b7a809fda98ee71d3fedba1ec5214 # timeout=10 > git rev-list --no-walk 9c6013f917c7dc5edd2b1e5189dbae311ea0bf0b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-29T22:36:51.244Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-29T22:36:51.293Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-29T22:36:51.309Z] ========================================================= [2023-03-29T22:36:51.309Z] EdgeX Global Pipelines Version Info [2023-03-29T22:36:51.309Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-29T22:36:52.021Z] ------------------- [2023-03-29T22:36:52.021Z] stable info: [2023-03-29T22:36:52.021Z] ------------------- [2023-03-29T22:36:52.021Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-29T22:36:52.021Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-29T22:36:52.021Z] Message: update stable to v1.0.245 [2023-03-29T22:36:52.592Z] ------------------- [2023-03-29T22:36:52.592Z] experimental info: [2023-03-29T22:36:52.592Z] ------------------- [2023-03-29T22:36:52.592Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-29T22:36:52.592Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-29T22:36:52.592Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-29T22:36:52.749Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2023-03-29T22:36:52.757Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2023-03-29T22:36:52.771Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-29T22:36:52.783Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-29T22:36:52.796Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-29T22:36:52.809Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-29T22:36:52.820Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-29T22:36:52.835Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-29T22:36:52.844Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-29T22:36:52.856Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-29T22:36:52.867Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-29T22:36:52.880Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2023-03-29T22:36:52.893Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-29T22:36:52.906Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-29T22:36:52.917Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2023-03-29T22:36:52.928Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-29T22:36:52.939Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-29T22:36:52.953Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-29T22:36:52.966Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-29T22:36:52.979Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-29T22:36:52.993Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-29T22:36:53.003Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-29T22:36:53.016Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-29T22:36:53.030Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-29T22:36:53.040Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2023-03-29T22:36:53.051Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-29T22:36:53.064Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-29T22:36:53.076Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-03-29T22:36:53.089Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-03-29T22:36:53.102Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-03-29T22:36:53.114Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9c5c728ed47b7a809fda98ee71d3fedba1ec5214 [Pipeline] echo [2023-03-29T22:36:53.125Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9c5c728 [Pipeline] echo [2023-03-29T22:36:53.137Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-29T22:36:53.483Z] + git rev-list -1 --merges 9c5c728ed47b7a809fda98ee71d3fedba1ec5214~1..9c5c728ed47b7a809fda98ee71d3fedba1ec5214 [Pipeline] echo [2023-03-29T22:36:53.531Z] -----------> git rev-list -1 --merges 9c5c728ed47b7a809fda98ee71d3fedba1ec5214~1..9c5c728ed47b7a809fda98ee71d3fedba1ec5214 9c5c728ed47b7a809fda98ee71d3fedba1ec5214 [false] [Pipeline] sh [2023-03-29T22:36:53.818Z] + git log --format=format:%s -1 9c5c728ed47b7a809fda98ee71d3fedba1ec5214 [Pipeline] echo [2023-03-29T22:36:53.831Z] ========================================================= [2023-03-29T22:36:53.832Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-29T22:36:53.832Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-29T22:36:54.148Z] + git log --format=format:%s -1 9c5c728ed47b7a809fda98ee71d3fedba1ec5214 [Pipeline] echo [2023-03-29T22:36:54.158Z] [semverPrep] GIT_COMMIT: 9c5c728ed47b7a809fda98ee71d3fedba1ec5214, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1374) [Pipeline] echo [2023-03-29T22:36:54.166Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-29T22:36:54.519Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-29T22:36:54.519Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-29T22:36:54.519Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-29T22:36:54.519Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-29T22:36:54.519Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-29T22:36:54.519Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-29T22:36:54.519Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:36:54.862Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-29T22:36:54.863Z] [2023-03-29T22:36:54.863Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:36:55.159Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-29T22:36:55.159Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-29T22:36:55.159Z] b85a868b505f: Pulling fs layer [2023-03-29T22:36:55.159Z] e2be974225ed: Pulling fs layer [2023-03-29T22:36:55.159Z] 339a4e72a1f5: Pulling fs layer [2023-03-29T22:36:55.159Z] 988bab9f4d93: Pulling fs layer [2023-03-29T22:36:55.159Z] 1469e6f7b9e6: Pulling fs layer [2023-03-29T22:36:55.159Z] eaf3925da568: Pulling fs layer [2023-03-29T22:36:55.159Z] bab4dde63d76: Pulling fs layer [2023-03-29T22:36:55.159Z] bde34c3a00c8: Pulling fs layer [2023-03-29T22:36:55.159Z] eaf3925da568: Waiting [2023-03-29T22:36:55.159Z] 988bab9f4d93: Waiting [2023-03-29T22:36:55.159Z] 1469e6f7b9e6: Waiting [2023-03-29T22:36:55.159Z] b352a97aabf1: Pulling fs layer [2023-03-29T22:36:55.159Z] bde34c3a00c8: Waiting [2023-03-29T22:36:55.159Z] 4872d77fe225: Pulling fs layer [2023-03-29T22:36:55.159Z] 5851b861e8e6: Pulling fs layer [2023-03-29T22:36:55.159Z] b352a97aabf1: Waiting [2023-03-29T22:36:55.159Z] 4872d77fe225: Waiting [2023-03-29T22:36:55.159Z] 5851b861e8e6: Waiting [2023-03-29T22:36:55.159Z] e2be974225ed: Verifying Checksum [2023-03-29T22:36:55.159Z] e2be974225ed: Download complete [2023-03-29T22:36:55.159Z] 988bab9f4d93: Verifying Checksum [2023-03-29T22:36:55.159Z] 988bab9f4d93: Download complete [2023-03-29T22:36:55.159Z] 1469e6f7b9e6: Verifying Checksum [2023-03-29T22:36:55.159Z] 1469e6f7b9e6: Download complete [2023-03-29T22:36:55.418Z] eaf3925da568: Verifying Checksum [2023-03-29T22:36:55.418Z] eaf3925da568: Download complete [2023-03-29T22:36:55.418Z] 339a4e72a1f5: Verifying Checksum [2023-03-29T22:36:55.418Z] 339a4e72a1f5: Download complete [2023-03-29T22:36:55.418Z] bde34c3a00c8: Verifying Checksum [2023-03-29T22:36:55.418Z] bde34c3a00c8: Download complete [2023-03-29T22:36:55.418Z] b352a97aabf1: Download complete [2023-03-29T22:36:55.418Z] 4872d77fe225: Verifying Checksum [2023-03-29T22:36:55.418Z] 4872d77fe225: Download complete [2023-03-29T22:36:55.418Z] 5851b861e8e6: Verifying Checksum [2023-03-29T22:36:55.418Z] 5851b861e8e6: Download complete [2023-03-29T22:36:55.418Z] b85a868b505f: Verifying Checksum [2023-03-29T22:36:55.418Z] b85a868b505f: Download complete [2023-03-29T22:36:55.676Z] bab4dde63d76: Verifying Checksum [2023-03-29T22:36:55.676Z] bab4dde63d76: Download complete [2023-03-29T22:36:56.612Z] b85a868b505f: Pull complete [2023-03-29T22:36:56.612Z] e2be974225ed: Pull complete [2023-03-29T22:36:57.178Z] 339a4e72a1f5: Pull complete [2023-03-29T22:36:57.178Z] 988bab9f4d93: Pull complete [2023-03-29T22:36:57.437Z] 1469e6f7b9e6: Pull complete [2023-03-29T22:36:57.437Z] eaf3925da568: Pull complete [2023-03-29T22:36:59.347Z] bab4dde63d76: Pull complete [2023-03-29T22:36:59.347Z] bde34c3a00c8: Pull complete [2023-03-29T22:36:59.607Z] b352a97aabf1: Pull complete [2023-03-29T22:36:59.607Z] 4872d77fe225: Pull complete [2023-03-29T22:36:59.607Z] 5851b861e8e6: Pull complete [2023-03-29T22:36:59.607Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-29T22:36:59.607Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-29T22:36:59.607Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T22:36:59.714Z] prd-ubuntu20.04-docker-8c-8g-6275 does not seem to be running inside a container [2023-03-29T22:36:59.745Z] $ 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 [2023-03-29T22:37:01.124Z] $ docker top 5ce3d0f5fefb8fd2dddc9faf83de9d38a066a4c7f55559fe450655c59c687020 -eo pid,comm [2023-03-29T22:37:01.183Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-29T22:37:01.183Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-29T22:37:01.216Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-29T22:37:01.216Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-29T22:37:01.331Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-29T22:37:01.337Z] $ docker exec 5ce3d0f5fefb8fd2dddc9faf83de9d38a066a4c7f55559fe450655c59c687020 ssh-agent [2023-03-29T22:37:01.447Z] SSH_AUTH_SOCK=/tmp/ssh-dE3pCTSlt0pt/agent.33 [2023-03-29T22:37:01.447Z] SSH_AGENT_PID=39 [2023-03-29T22:37:01.453Z] Running ssh-add (command line suppressed) [2023-03-29T22:37:01.558Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5062802182431720580.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5062802182431720580.key) [2023-03-29T22:37:01.574Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-29T22:37:01.862Z] + git tag --points-at HEAD [Pipeline] } [2023-03-29T22:37:01.875Z] $ docker exec --env ******** --env ******** 5ce3d0f5fefb8fd2dddc9faf83de9d38a066a4c7f55559fe450655c59c687020 ssh-agent -k [2023-03-29T22:37:01.964Z] unset SSH_AUTH_SOCK; [2023-03-29T22:37:01.965Z] unset SSH_AGENT_PID; [2023-03-29T22:37:01.965Z] echo Agent pid 39 killed; [2023-03-29T22:37:01.973Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-29T22:37:02.001Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-29T22:37:02.001Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-29T22:37:02.105Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-29T22:37:02.111Z] $ docker exec 5ce3d0f5fefb8fd2dddc9faf83de9d38a066a4c7f55559fe450655c59c687020 ssh-agent [2023-03-29T22:37:02.217Z] SSH_AUTH_SOCK=/tmp/ssh-TaXKX8aGX7wN/agent.70 [2023-03-29T22:37:02.217Z] SSH_AGENT_PID=76 [2023-03-29T22:37:02.223Z] Running ssh-add (command line suppressed) [2023-03-29T22:37:02.333Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4504698192247853619.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4504698192247853619.key) [2023-03-29T22:37:02.344Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-29T22:37:02.632Z] + git semver init [2023-03-29T22:37:02.893Z] 2023-03-29 22:37:02,815 [run_init] DEBUG init version:0.0.0 force:False [2023-03-29T22:37:02.893Z] 2023-03-29 22:37:02,816 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_app-functions-sdk-go_main/.semver [2023-03-29T22:37:02.893Z] 2023-03-29 22:37:02,817 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-functions-sdk-go.git /w/workspace/oundry_app-functions-sdk-go_main/.semver [2023-03-29T22:37:02.893Z] 2023-03-29 22:37:02,817 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-functions-sdk-go.git', '/w/workspace/oundry_app-functions-sdk-go_main/.semver'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-03-29T22:37:04.804Z] 2023-03-29 22:37:04,331 [append_file] DEBUG append to file:/w/workspace/oundry_app-functions-sdk-go_main/.git/info/exclude [2023-03-29T22:37:04.804Z] 2023-03-29 22:37:04,332 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:False [2023-03-29T22:37:04.804Z] 2023-03-29 22:37:04,332 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2023-03-29T22:37:04.804Z] 2023-03-29 22:37:04,332 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2023-03-29T22:37:04.804Z] 3.0.0-dev.48 [Pipeline] } [2023-03-29T22:37:04.818Z] $ docker exec --env ******** --env ******** 5ce3d0f5fefb8fd2dddc9faf83de9d38a066a4c7f55559fe450655c59c687020 ssh-agent -k [2023-03-29T22:37:04.917Z] unset SSH_AUTH_SOCK; [2023-03-29T22:37:04.917Z] unset SSH_AGENT_PID; [2023-03-29T22:37:04.917Z] echo Agent pid 76 killed; [2023-03-29T22:37:04.925Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-29T22:37:05.236Z] + git semver [Pipeline] } [2023-03-29T22:37:05.510Z] $ docker stop --time=1 5ce3d0f5fefb8fd2dddc9faf83de9d38a066a4c7f55559fe450655c59c687020 [2023-03-29T22:37:06.802Z] $ docker rm -f --volumes 5ce3d0f5fefb8fd2dddc9faf83de9d38a066a4c7f55559fe450655c59c687020 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-29T22:37:07.140Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-29T22:37:07.336Z] Stashed 1 file(s) [Pipeline] echo [2023-03-29T22:37:07.339Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.48 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2023-03-29T22:37:07.495Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T22:37:07.506Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T22:37:07.513Z] ========================================================= [2023-03-29T22:37:07.513Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-29T22:37:07.513Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-03-29T22:37:07.802Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-29T22:37:07.802Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-29T22:37:07.802Z] 63b65145d645: Pulling fs layer [2023-03-29T22:37:07.802Z] a2d21d5440eb: Pulling fs layer [2023-03-29T22:37:07.802Z] 935e6c44a52c: Pulling fs layer [2023-03-29T22:37:07.802Z] 94cc34f8dd06: Pulling fs layer [2023-03-29T22:37:07.802Z] 30dea6a524f1: Pulling fs layer [2023-03-29T22:37:07.802Z] a2aff8979fd8: Pulling fs layer [2023-03-29T22:37:07.802Z] 6808be2612f2: Pulling fs layer [2023-03-29T22:37:07.802Z] f25807f1079a: Pulling fs layer [2023-03-29T22:37:07.802Z] 94cc34f8dd06: Waiting [2023-03-29T22:37:07.802Z] 30dea6a524f1: Waiting [2023-03-29T22:37:07.802Z] a2aff8979fd8: Waiting [2023-03-29T22:37:07.802Z] 6808be2612f2: Waiting [2023-03-29T22:37:07.802Z] f25807f1079a: Waiting [2023-03-29T22:37:07.802Z] a2d21d5440eb: Verifying Checksum [2023-03-29T22:37:07.802Z] a2d21d5440eb: Download complete [2023-03-29T22:37:07.802Z] 94cc34f8dd06: Verifying Checksum [2023-03-29T22:37:07.802Z] 94cc34f8dd06: Download complete [2023-03-29T22:37:07.802Z] 30dea6a524f1: Verifying Checksum [2023-03-29T22:37:07.802Z] 30dea6a524f1: Download complete [2023-03-29T22:37:07.802Z] 63b65145d645: Verifying Checksum [2023-03-29T22:37:07.802Z] 63b65145d645: Download complete [2023-03-29T22:37:07.802Z] a2aff8979fd8: Verifying Checksum [2023-03-29T22:37:07.802Z] a2aff8979fd8: Download complete [2023-03-29T22:37:08.075Z] 63b65145d645: Pull complete [2023-03-29T22:37:08.075Z] a2d21d5440eb: Pull complete [2023-03-29T22:37:08.343Z] f25807f1079a: Verifying Checksum [2023-03-29T22:37:08.343Z] f25807f1079a: Download complete [2023-03-29T22:37:08.603Z] 935e6c44a52c: Download complete [2023-03-29T22:37:08.861Z] 6808be2612f2: Verifying Checksum [2023-03-29T22:37:08.861Z] 6808be2612f2: Download complete [2023-03-29T22:37:12.149Z] 935e6c44a52c: Pull complete [2023-03-29T22:37:12.149Z] 94cc34f8dd06: Pull complete [2023-03-29T22:37:12.149Z] 30dea6a524f1: Pull complete [2023-03-29T22:37:12.149Z] a2aff8979fd8: Pull complete [2023-03-29T22:37:14.683Z] 6808be2612f2: Pull complete [2023-03-29T22:37:14.940Z] f25807f1079a: Pull complete [2023-03-29T22:37:14.940Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-29T22:37:14.940Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-29T22:37:14.940Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] sh [2023-03-29T22:37:15.223Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:37:15.518Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-29T22:37:15.518Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T22:37:15.638Z] prd-ubuntu20.04-docker-8c-8g-6275 does not seem to be running inside a container [2023-03-29T22:37:15.673Z] $ 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 [2023-03-29T22:37:17.195Z] $ docker top 23f96f1e56e32016818bcd7becd5c8ebbec9d71e7e87470e53e9b2e67a908cea -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T22:37:17.538Z] + go version [2023-03-29T22:37:17.538Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-29T22:37:17.552Z] $ docker stop --time=1 23f96f1e56e32016818bcd7becd5c8ebbec9d71e7e87470e53e9b2e67a908cea [2023-03-29T22:37:18.813Z] $ docker rm -f --volumes 23f96f1e56e32016818bcd7becd5c8ebbec9d71e7e87470e53e9b2e67a908cea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:37:19.211Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-29T22:37:19.211Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T22:37:19.277Z] prd-ubuntu20.04-docker-8c-8g-6275 does not seem to be running inside a container [2023-03-29T22:37:19.307Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-29T22:37:19.754Z] $ docker top 4bb71729ea4fe14188622508a0d22163bc33f5c422e3e326acce607b0f998d2c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T22:37:20.096Z] + git config --global --add safe.directory /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-03-29T22:37:20.393Z] + make test [2023-03-29T22:37:20.393Z] make -C ./app-service-template build [2023-03-29T22:37:20.393Z] make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2023-03-29T22:37:20.393Z] go mod tidy [2023-03-29T22:37:20.393Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.30 [2023-03-29T22:37:20.393Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 [2023-03-29T22:37:20.393Z] go: downloading github.com/google/uuid v1.3.0 [2023-03-29T22:37:20.393Z] go: downloading github.com/stretchr/testify v1.8.2 [2023-03-29T22:37:20.393Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.56 [2023-03-29T22:37:20.653Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.18 [2023-03-29T22:37:20.653Z] go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.0.0-dev.7 [2023-03-29T22:37:20.653Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2023-03-29T22:37:20.653Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2023-03-29T22:37:20.653Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2023-03-29T22:37:20.653Z] go: downloading github.com/stretchr/objx v0.5.0 [2023-03-29T22:37:20.653Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.7 [2023-03-29T22:37:20.653Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.2 [2023-03-29T22:37:20.653Z] go: downloading github.com/go-playground/validator/v10 v10.11.2 [2023-03-29T22:37:20.653Z] go: downloading github.com/go-kit/log v0.2.1 [2023-03-29T22:37:20.653Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2023-03-29T22:37:20.653Z] go: downloading github.com/gorilla/mux v1.8.0 [2023-03-29T22:37:20.653Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2023-03-29T22:37:20.653Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.10 [2023-03-29T22:37:20.653Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0-dev.10 [2023-03-29T22:37:20.653Z] go: downloading github.com/mitchellh/copystructure v1.2.0 [2023-03-29T22:37:20.653Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2023-03-29T22:37:20.653Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2023-03-29T22:37:20.653Z] go: downloading github.com/hashicorp/consul/api v1.20.0 [2023-03-29T22:37:20.653Z] go: downloading github.com/gorilla/websocket v1.4.2 [2023-03-29T22:37:20.653Z] go: downloading golang.org/x/net v0.7.0 [2023-03-29T22:37:20.653Z] go: downloading golang.org/x/sync v0.1.0 [2023-03-29T22:37:20.653Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2023-03-29T22:37:20.653Z] go: downloading github.com/x448/float16 v0.8.4 [2023-03-29T22:37:20.653Z] go: downloading github.com/mitchellh/reflectwalk v1.0.2 [2023-03-29T22:37:20.653Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2023-03-29T22:37:20.653Z] go: downloading github.com/leodido/go-urn v1.2.1 [2023-03-29T22:37:20.653Z] go: downloading golang.org/x/crypto v0.6.0 [2023-03-29T22:37:20.653Z] go: downloading golang.org/x/text v0.7.0 [2023-03-29T22:37:20.653Z] go: downloading github.com/go-playground/locales v0.14.1 [2023-03-29T22:37:20.911Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.1.2 [2023-03-29T22:37:21.170Z] go: downloading github.com/nats-io/nats.go v1.24.0 [2023-03-29T22:37:21.170Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2023-03-29T22:37:21.170Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2023-03-29T22:37:21.170Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2023-03-29T22:37:21.170Z] go: downloading github.com/hashicorp/go-hclog v0.14.1 [2023-03-29T22:37:21.170Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2023-03-29T22:37:21.170Z] go: downloading github.com/hashicorp/serf v0.10.1 [2023-03-29T22:37:21.429Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2023-03-29T22:37:21.429Z] go: downloading github.com/go-playground/assert/v2 v2.2.0 [2023-03-29T22:37:21.429Z] go: downloading github.com/nats-io/nats-server/v2 v2.9.15 [2023-03-29T22:37:21.429Z] go: downloading github.com/mitchellh/mapstructure v1.5.0 [2023-03-29T22:37:21.429Z] go: downloading github.com/google/go-cmp v0.5.9 [2023-03-29T22:37:21.429Z] go: downloading github.com/hashicorp/consul/sdk v0.13.1 [2023-03-29T22:37:21.429Z] go: downloading github.com/hashicorp/go-uuid v1.0.2 [2023-03-29T22:37:21.429Z] go: downloading golang.org/x/sys v0.5.0 [2023-03-29T22:37:21.429Z] go: downloading github.com/Microsoft/go-winio v0.6.0 [2023-03-29T22:37:21.687Z] go: downloading github.com/zeebo/errs v1.3.0 [2023-03-29T22:37:21.687Z] go: downloading google.golang.org/grpc v1.51.0 [2023-03-29T22:37:21.687Z] go: downloading github.com/nats-io/nkeys v0.3.0 [2023-03-29T22:37:21.687Z] go: downloading github.com/nats-io/nuid v1.0.1 [2023-03-29T22:37:21.687Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2023-03-29T22:37:21.687Z] go: downloading github.com/onsi/gomega v1.7.0 [2023-03-29T22:37:21.687Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2023-03-29T22:37:21.687Z] go: downloading github.com/fatih/color v1.9.0 [2023-03-29T22:37:21.687Z] go: downloading github.com/mattn/go-colorable v0.1.12 [2023-03-29T22:37:21.687Z] go: downloading github.com/mattn/go-isatty v0.0.14 [2023-03-29T22:37:21.944Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2023-03-29T22:37:21.944Z] go: downloading github.com/armon/go-metrics v0.3.10 [2023-03-29T22:37:21.944Z] go: downloading github.com/kr/pretty v0.3.0 [2023-03-29T22:37:21.944Z] go: downloading github.com/hashicorp/go-version v1.2.1 [2023-03-29T22:37:21.944Z] go: downloading github.com/pkg/errors v0.9.1 [2023-03-29T22:37:21.944Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2023-03-29T22:37:21.944Z] go: downloading github.com/hashicorp/memberlist v0.5.0 [2023-03-29T22:37:21.944Z] go: downloading github.com/klauspost/compress v1.16.0 [2023-03-29T22:37:21.944Z] go: downloading github.com/minio/highwayhash v1.0.2 [2023-03-29T22:37:21.944Z] go: downloading github.com/nats-io/jwt/v2 v2.3.0 [2023-03-29T22:37:21.944Z] go: downloading golang.org/x/time v0.3.0 [2023-03-29T22:37:21.944Z] go: downloading golang.org/x/tools v0.5.0 [2023-03-29T22:37:21.944Z] go: downloading gopkg.in/square/go-jose.v2 v2.6.0 [2023-03-29T22:37:21.944Z] go: downloading google.golang.org/protobuf v1.28.1 [2023-03-29T22:37:21.944Z] go: downloading github.com/golang/protobuf v1.5.2 [2023-03-29T22:37:21.944Z] go: downloading github.com/kr/text v0.2.0 [2023-03-29T22:37:21.944Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2023-03-29T22:37:21.944Z] go: downloading github.com/hashicorp/go-immutable-radix v1.3.0 [2023-03-29T22:37:21.944Z] go: downloading github.com/pascaldekloe/goe v0.1.0 [2023-03-29T22:37:21.944Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2023-03-29T22:37:21.944Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.2 [2023-03-29T22:37:22.201Z] go: downloading github.com/miekg/dns v1.1.41 [2023-03-29T22:37:22.201Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2023-03-29T22:37:22.201Z] go: downloading google.golang.org/genproto v0.0.0-20230109162033-3c3c17ce83e6 [2023-03-29T22:37:22.201Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2023-03-29T22:37:22.201Z] go: downloading github.com/hpcloud/tail v1.0.0 [2023-03-29T22:37:22.201Z] go: downloading github.com/hashicorp/golang-lru v0.5.4 [2023-03-29T22:37:22.201Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2023-03-29T22:37:22.201Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2023-03-29T22:37:22.445Z] Still waiting to schedule task [2023-03-29T22:37:22.445Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6267’ [2023-03-29T22:37:22.459Z] go: downloading golang.org/x/mod v0.7.0 [2023-03-29T22:37:24.360Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.34 [2023-03-29T22:37:24.360Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.61 [2023-03-29T22:37:24.360Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.19 [2023-03-29T22:37:24.360Z] go: downloading github.com/go-playground/validator/v10 v10.12.0 [2023-03-29T22:37:24.360Z] go: downloading golang.org/x/net v0.8.0 [2023-03-29T22:37:24.360Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2023-03-29T22:37:24.360Z] go: downloading golang.org/x/sys v0.6.0 [2023-03-29T22:37:24.360Z] go: downloading golang.org/x/tools v0.6.0 [2023-03-29T22:37:24.360Z] go: downloading golang.org/x/crypto v0.7.0 [2023-03-29T22:37:24.360Z] go: downloading github.com/leodido/go-urn v1.2.2 [2023-03-29T22:37:24.360Z] go: downloading golang.org/x/text v0.8.0 [2023-03-29T22:37:24.360Z] go: downloading github.com/kr/pretty v0.2.1 [2023-03-29T22:37:25.292Z] go: downloading golang.org/x/mod v0.8.0 [2023-03-29T22:37:25.292Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.9 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-new-service [2023-03-29T22:37:40.205Z] make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2023-03-29T22:37:40.205Z] make -C ./app-service-template test [2023-03-29T22:37:40.205Z] make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2023-03-29T22:37:40.205Z] go test -race -coverprofile=coverage.out ./... [2023-03-29T22:38:02.140Z] ? app-new-service/config [no test files] [2023-03-29T22:38:02.140Z] ok app-new-service 0.061s coverage: 48.1% of statements [2023-03-29T22:38:02.140Z] ok app-new-service/functions 0.072s coverage: 85.3% of statements [2023-03-29T22:38:02.140Z] go vet ./... [2023-03-29T22:38:16.997Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-29T22:38:16.997Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-29T22:38:16.997Z] ./bin/test-attribution-txt.sh [2023-03-29T22:38:16.997Z] make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2023-03-29T22:38:16.997Z] go test -race -coverprofile=coverage.out ./... [2023-03-29T22:38:16.997Z] go: downloading github.com/gomodule/redigo v1.8.9 [2023-03-29T22:38:16.997Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal [no test files] [2023-03-29T22:38:18.394Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/container [no test files] [2023-03-29T22:38:18.394Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/common [no test files] [2023-03-29T22:38:18.394Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/app 0.110s coverage: 64.6% of statements [2023-03-29T22:38:18.394Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/appfunction 0.060s coverage: 93.0% of statements [2023-03-29T22:38:18.394Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/handlers 0.066s coverage: 85.1% of statements [2023-03-29T22:38:18.394Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/controller/rest 0.070s coverage: 87.8% of statements [2023-03-29T22:38:18.394Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/etm 0.044s coverage: 100.0% of statements [2023-03-29T22:38:19.333Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db [no test files] [2023-03-29T22:38:19.333Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis [no test files] [2023-03-29T22:38:19.333Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger [no test files] [2023-03-29T22:38:19.333Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http/mocks [no test files] [2023-03-29T22:38:19.592Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/runtime 0.115s coverage: 77.9% of statements [2023-03-29T22:38:19.592Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis/models 0.050s coverage: 97.3% of statements [2023-03-29T22:38:19.592Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http 0.084s coverage: 82.8% of statements [2023-03-29T22:38:19.592Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mocks [no test files] [2023-03-29T22:38:19.592Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/messagebus 0.062s coverage: 65.2% of statements [2023-03-29T22:38:20.540Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt/mocks [no test files] [2023-03-29T22:38:20.540Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces [no test files] [2023-03-29T22:38:20.540Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-29T22:38:20.540Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt 0.077s coverage: 28.7% of statements [2023-03-29T22:38:20.540Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/webserver 0.063s coverage: 11.5% of statements [2023-03-29T22:38:20.540Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg 0.070s coverage: 27.3% of statements [2023-03-29T22:38:20.540Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/secure 0.063s coverage: 52.8% of statements [2023-03-29T22:38:47.097Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/transforms 25.136s coverage: 75.2% of statements [2023-03-29T22:38:47.097Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/util 0.061s coverage: 94.4% of statements [2023-03-29T22:38:47.097Z] go vet ./... [2023-03-29T22:38:47.356Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-29T22:38:47.356Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2023-03-29T22:38:55.483Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-29T22:38:55.496Z] $ docker stop --time=1 4bb71729ea4fe14188622508a0d22163bc33f5c422e3e326acce607b0f998d2c [2023-03-29T22:38:57.246Z] $ docker rm -f --volumes 4bb71729ea4fe14188622508a0d22163bc33f5c422e3e326acce607b0f998d2c [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-29T22:38:58.099Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-29T22:38:58.158Z] Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:38:58.610Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-29T22:38:58.610Z] [2023-03-29T22:38:58.610Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:38:58.914Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-29T22:38:58.914Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-29T22:38:58.914Z] 5eb5b503b376: Pulling fs layer [2023-03-29T22:38:58.914Z] 5c69ac0246d0: Pulling fs layer [2023-03-29T22:38:58.914Z] ec43610c2a17: Pulling fs layer [2023-03-29T22:38:58.914Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-29T22:38:58.914Z] 33b1e0a273af: Pulling fs layer [2023-03-29T22:38:58.914Z] 5d3b04190fa2: Pulling fs layer [2023-03-29T22:38:58.914Z] 2f39f015ded8: Pulling fs layer [2023-03-29T22:38:58.914Z] 3a2ae6a8a46f: Waiting [2023-03-29T22:38:58.914Z] 33b1e0a273af: Waiting [2023-03-29T22:38:58.914Z] 5d3b04190fa2: Waiting [2023-03-29T22:38:58.914Z] 2f39f015ded8: Waiting [2023-03-29T22:38:58.914Z] 5c69ac0246d0: Verifying Checksum [2023-03-29T22:38:58.914Z] 5c69ac0246d0: Download complete [2023-03-29T22:38:58.914Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-29T22:38:58.914Z] 3a2ae6a8a46f: Download complete [2023-03-29T22:38:58.914Z] 33b1e0a273af: Verifying Checksum [2023-03-29T22:38:58.914Z] 33b1e0a273af: Download complete [2023-03-29T22:38:58.914Z] 5d3b04190fa2: Verifying Checksum [2023-03-29T22:38:58.914Z] 5d3b04190fa2: Download complete [2023-03-29T22:38:59.173Z] ec43610c2a17: Verifying Checksum [2023-03-29T22:38:59.173Z] ec43610c2a17: Download complete [2023-03-29T22:38:59.173Z] 5eb5b503b376: Verifying Checksum [2023-03-29T22:38:59.173Z] 5eb5b503b376: Download complete [2023-03-29T22:38:59.739Z] 2f39f015ded8: Download complete [2023-03-29T22:39:00.304Z] 5eb5b503b376: Pull complete [2023-03-29T22:39:00.563Z] 5c69ac0246d0: Pull complete [2023-03-29T22:39:00.822Z] ec43610c2a17: Pull complete [2023-03-29T22:39:00.822Z] 3a2ae6a8a46f: Pull complete [2023-03-29T22:39:01.081Z] 33b1e0a273af: Pull complete [2023-03-29T22:39:01.081Z] 5d3b04190fa2: Pull complete [2023-03-29T22:39:05.263Z] 2f39f015ded8: Pull complete [2023-03-29T22:39:05.263Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-29T22:39:05.263Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-29T22:39:05.263Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T22:39:05.341Z] prd-ubuntu20.04-docker-8c-8g-6275 does not seem to be running inside a container [2023-03-29T22:39:05.376Z] $ 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 [2023-03-29T22:39:08.381Z] $ docker top 9b4bccf9bf354b8d16635305c0dd79398691286c2d07855c5061cb935b3a28b2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T22:39:08.779Z] ---> job-cost.sh [2023-03-29T22:39:08.780Z] lf-activate-venv: SKIPPING [2023-03-29T22:39:08.780Z] INFO: No Stack... [2023-03-29T22:39:09.040Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-29T22:39:09.301Z] INFO: Archiving Costs [Pipeline] sh [2023-03-29T22:39:09.593Z] + cat /w/workspace/oundry_app-functions-sdk-go_main/archives/cost.csv [2023-03-29T22:39:09.593Z] + cut -d, -f6 [Pipeline] lock [2023-03-29T22:39:09.607Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-240-stack-cost] [2023-03-29T22:39:09.616Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-240-stack-cost] did not exist. Created. [2023-03-29T22:39:09.616Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-240-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-29T22:39:09.916Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-29T22:39:09.940Z] Stashed 1 file(s) [Pipeline] } [2023-03-29T22:39:09.947Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-240-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-29T22:39:09.971Z] $ docker stop --time=1 9b4bccf9bf354b8d16635305c0dd79398691286c2d07855c5061cb935b3a28b2 [2023-03-29T22:39:11.118Z] $ docker rm -f --volumes 9b4bccf9bf354b8d16635305c0dd79398691286c2d07855c5061cb935b3a28b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-29T22:40:09.442Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6282 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2023-03-29T22:40:09.454Z] Running in /w/workspace/app-functions-sdk-go/240 [Pipeline] { [Pipeline] checkout [2023-03-29T22:40:09.498Z] The recommended git tool is: git [2023-03-29T22:40:16.235Z] using credential edgex-jenkins-ssh [2023-03-29T22:40:16.259Z] Cloning the remote Git repository [2023-03-29T22:40:16.328Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2023-03-29T22:40:16.474Z] > git init /w/workspace/app-functions-sdk-go/240 # timeout=10 [2023-03-29T22:40:16.706Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2023-03-29T22:40:16.708Z] > git --version # timeout=10 [2023-03-29T22:40:16.741Z] > git --version # 'git version 2.25.1' [2023-03-29T22:40:16.745Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-29T22:40:16.997Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-29T22:40:22.822Z] Avoid second fetch [2023-03-29T22:40:22.822Z] Checking out Revision 9c5c728ed47b7a809fda98ee71d3fedba1ec5214 (main) [2023-03-29T22:40:21.569Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2023-03-29T22:40:21.595Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-29T22:40:22.849Z] > git config core.sparsecheckout # timeout=10 [2023-03-29T22:40:22.961Z] > git checkout -f 9c5c728ed47b7a809fda98ee71d3fedba1ec5214 # timeout=10 [2023-03-29T22:40:23.720Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1374)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-29T22:40:24.669Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-29T22:40:24.669Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-29T22:40:24.669Z] Dload Upload Total Spent Left Speed [2023-03-29T22:40:24.669Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 75005 0 --:--:-- --:--:-- --:--:-- 75449 [Pipeline] sh [2023-03-29T22:40:25.318Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-29T22:40:25.674Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-29T22:40:25.675Z] + sudo tee /etc/docker/daemon.new [2023-03-29T22:40:25.675Z] { [2023-03-29T22:40:25.675Z] "registry-mirrors": [ [2023-03-29T22:40:25.675Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-29T22:40:25.675Z] ], [2023-03-29T22:40:25.675Z] "bip": "10.250.0.254/24", [2023-03-29T22:40:25.675Z] "hosts": [ [2023-03-29T22:40:25.675Z] "tcp://0.0.0.0:5555", [2023-03-29T22:40:25.675Z] "unix:///var/run/docker.sock" [2023-03-29T22:40:25.675Z] ], [2023-03-29T22:40:25.675Z] "mtu": 1458, [2023-03-29T22:40:25.675Z] "selinux-enabled": true, [2023-03-29T22:40:25.675Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-29T22:40:25.675Z] } [Pipeline] sh [2023-03-29T22:40:26.021Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-29T22:40:26.379Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2023-03-29T22:40:45.013Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T22:40:45.027Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T22:40:45.036Z] ========================================================= [2023-03-29T22:40:45.037Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-29T22:40:45.037Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-03-29T22:40:45.385Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-29T22:40:46.013Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-29T22:40:46.013Z] af6eaf76a39c: Pulling fs layer [2023-03-29T22:40:46.013Z] 55522c791124: Pulling fs layer [2023-03-29T22:40:46.013Z] ce5c4a1c91eb: Pulling fs layer [2023-03-29T22:40:46.013Z] 169dfbe0d373: Pulling fs layer [2023-03-29T22:40:46.013Z] e1ff8fa3b103: Pulling fs layer [2023-03-29T22:40:46.013Z] 52ebb69f0ebf: Pulling fs layer [2023-03-29T22:40:46.013Z] 5abe8eddf0d5: Pulling fs layer [2023-03-29T22:40:46.013Z] 169dfbe0d373: Waiting [2023-03-29T22:40:46.013Z] e1ff8fa3b103: Waiting [2023-03-29T22:40:46.013Z] 52ebb69f0ebf: Waiting [2023-03-29T22:40:46.013Z] 5abe8eddf0d5: Waiting [2023-03-29T22:40:46.013Z] 55522c791124: Verifying Checksum [2023-03-29T22:40:46.013Z] 55522c791124: Download complete [2023-03-29T22:40:46.013Z] 169dfbe0d373: Verifying Checksum [2023-03-29T22:40:46.013Z] 169dfbe0d373: Download complete [2023-03-29T22:40:46.013Z] e1ff8fa3b103: Verifying Checksum [2023-03-29T22:40:46.013Z] e1ff8fa3b103: Download complete [2023-03-29T22:40:46.295Z] af6eaf76a39c: Verifying Checksum [2023-03-29T22:40:46.295Z] af6eaf76a39c: Download complete [2023-03-29T22:40:47.279Z] af6eaf76a39c: Pull complete [2023-03-29T22:40:47.279Z] 5abe8eddf0d5: Verifying Checksum [2023-03-29T22:40:47.279Z] 5abe8eddf0d5: Download complete [2023-03-29T22:40:48.277Z] 55522c791124: Pull complete [2023-03-29T22:40:49.268Z] ce5c4a1c91eb: Download complete [2023-03-29T22:40:49.268Z] 52ebb69f0ebf: Verifying Checksum [2023-03-29T22:40:49.268Z] 52ebb69f0ebf: Download complete [2023-03-29T22:40:59.427Z] ce5c4a1c91eb: Pull complete [2023-03-29T22:40:59.702Z] 169dfbe0d373: Pull complete [2023-03-29T22:40:59.978Z] e1ff8fa3b103: Pull complete [2023-03-29T22:41:08.264Z] 52ebb69f0ebf: Pull complete [2023-03-29T22:41:11.671Z] 5abe8eddf0d5: Pull complete [2023-03-29T22:41:11.671Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-29T22:41:11.671Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-29T22:41:11.671Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] sh [2023-03-29T22:41:12.042Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:41:12.413Z] + docker inspect -f . ci-base-image-arm64 [2023-03-29T22:41:12.413Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T22:41:12.686Z] prd-ubuntu20.04-docker-arm64-4c-16g-6282 does not seem to be running inside a container [2023-03-29T22:41:12.845Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/240 -v /w/workspace/app-functions-sdk-go/240:/w/workspace/app-functions-sdk-go/240:rw,z -v /w/workspace/app-functions-sdk-go/240@tmp:/w/workspace/app-functions-sdk-go/240@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-29T22:41:16.595Z] $ docker top 33cb0ec16cf87df591ae50d5bf8a5cab2389154ff4366d328b6abd37a2a9a0b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T22:41:17.400Z] + go version [2023-03-29T22:41:17.400Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-29T22:41:17.429Z] $ docker stop --time=1 33cb0ec16cf87df591ae50d5bf8a5cab2389154ff4366d328b6abd37a2a9a0b2 [2023-03-29T22:41:19.137Z] $ docker rm -f --volumes 33cb0ec16cf87df591ae50d5bf8a5cab2389154ff4366d328b6abd37a2a9a0b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:41:19.714Z] + docker inspect -f . ci-base-image-arm64 [2023-03-29T22:41:19.714Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T22:41:19.926Z] prd-ubuntu20.04-docker-arm64-4c-16g-6282 does not seem to be running inside a container [2023-03-29T22:41:20.015Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-functions-sdk-go/240 -v /w/workspace/app-functions-sdk-go/240:/w/workspace/app-functions-sdk-go/240:rw,z -v /w/workspace/app-functions-sdk-go/240@tmp:/w/workspace/app-functions-sdk-go/240@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-29T22:41:21.417Z] $ docker top 59b39c2b1ada26c0be835cd42a551d3c3a3ff452804b11dac880bc513d2c7ff0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T22:41:22.298Z] + git config --global --add safe.directory /w/workspace/app-functions-sdk-go/240 [Pipeline] fileExists [Pipeline] sh [2023-03-29T22:41:22.985Z] + make test [2023-03-29T22:41:22.985Z] make -C ./app-service-template build [2023-03-29T22:41:22.985Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/240/app-service-template' [2023-03-29T22:41:22.985Z] go mod tidy [2023-03-29T22:41:22.985Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.30 [2023-03-29T22:41:22.985Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 [2023-03-29T22:41:23.257Z] go: downloading github.com/stretchr/testify v1.8.2 [2023-03-29T22:41:23.529Z] go: downloading github.com/google/uuid v1.3.0 [2023-03-29T22:41:23.529Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.56 [2023-03-29T22:41:23.799Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.18 [2023-03-29T22:41:23.799Z] go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.0.0-dev.7 [2023-03-29T22:41:23.799Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.7 [2023-03-29T22:41:23.799Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.2 [2023-03-29T22:41:24.068Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2023-03-29T22:41:24.068Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2023-03-29T22:41:24.068Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2023-03-29T22:41:24.068Z] go: downloading github.com/go-kit/log v0.2.1 [2023-03-29T22:41:24.068Z] go: downloading github.com/stretchr/objx v0.5.0 [2023-03-29T22:41:24.068Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2023-03-29T22:41:24.068Z] go: downloading github.com/go-playground/validator/v10 v10.11.2 [2023-03-29T22:41:24.340Z] go: downloading github.com/gorilla/mux v1.8.0 [2023-03-29T22:41:24.340Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2023-03-29T22:41:24.340Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0-dev.10 [2023-03-29T22:41:24.340Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.10 [2023-03-29T22:41:24.624Z] go: downloading github.com/mitchellh/copystructure v1.2.0 [2023-03-29T22:41:24.624Z] go: downloading github.com/gorilla/websocket v1.4.2 [2023-03-29T22:41:24.624Z] go: downloading golang.org/x/net v0.7.0 [2023-03-29T22:41:24.624Z] go: downloading golang.org/x/sync v0.1.0 [2023-03-29T22:41:24.624Z] go: downloading github.com/x448/float16 v0.8.4 [2023-03-29T22:41:24.896Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2023-03-29T22:41:24.896Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2023-03-29T22:41:24.896Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2023-03-29T22:41:24.896Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2023-03-29T22:41:24.896Z] go: downloading github.com/leodido/go-urn v1.2.1 [2023-03-29T22:41:24.896Z] go: downloading golang.org/x/crypto v0.6.0 [2023-03-29T22:41:25.496Z] go: downloading golang.org/x/text v0.7.0 [2023-03-29T22:41:26.093Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2023-03-29T22:41:26.093Z] go: downloading github.com/go-playground/assert/v2 v2.2.0 [2023-03-29T22:41:26.093Z] go: downloading github.com/go-playground/locales v0.14.1 [2023-03-29T22:41:29.462Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.1.2 [2023-03-29T22:41:29.462Z] go: downloading github.com/hashicorp/consul/api v1.20.0 [2023-03-29T22:41:29.736Z] go: downloading github.com/mitchellh/reflectwalk v1.0.2 [2023-03-29T22:41:29.736Z] go: downloading github.com/nats-io/nats.go v1.24.0 [2023-03-29T22:41:30.008Z] go: downloading github.com/nats-io/nats-server/v2 v2.9.15 [2023-03-29T22:41:30.008Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2023-03-29T22:41:30.008Z] go: downloading github.com/kr/pretty v0.3.0 [2023-03-29T22:41:30.008Z] go: downloading golang.org/x/sys v0.5.0 [2023-03-29T22:41:30.278Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2023-03-29T22:41:30.278Z] go: downloading github.com/Microsoft/go-winio v0.6.0 [2023-03-29T22:41:30.278Z] go: downloading github.com/zeebo/errs v1.3.0 [2023-03-29T22:41:30.278Z] go: downloading google.golang.org/grpc v1.51.0 [2023-03-29T22:41:32.234Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2023-03-29T22:41:32.234Z] go: downloading github.com/hashicorp/go-hclog v0.14.1 [2023-03-29T22:41:32.234Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2023-03-29T22:41:32.234Z] go: downloading github.com/hashicorp/serf v0.10.1 [2023-03-29T22:41:32.235Z] go: downloading github.com/mitchellh/mapstructure v1.5.0 [2023-03-29T22:41:32.235Z] go: downloading github.com/google/go-cmp v0.5.9 [2023-03-29T22:41:32.235Z] go: downloading github.com/hashicorp/consul/sdk v0.13.1 [2023-03-29T22:41:32.235Z] go: downloading github.com/hashicorp/go-uuid v1.0.2 [2023-03-29T22:41:32.235Z] go: downloading github.com/nats-io/nkeys v0.3.0 [2023-03-29T22:41:32.235Z] go: downloading github.com/nats-io/nuid v1.0.1 [2023-03-29T22:41:32.235Z] go: downloading github.com/kr/text v0.2.0 [2023-03-29T22:41:32.235Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2023-03-29T22:41:32.235Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2023-03-29T22:41:32.235Z] go: downloading gopkg.in/square/go-jose.v2 v2.6.0 [2023-03-29T22:41:32.506Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2023-03-29T22:41:32.506Z] go: downloading github.com/onsi/gomega v1.7.0 [2023-03-29T22:41:32.506Z] go: downloading google.golang.org/protobuf v1.28.1 [2023-03-29T22:41:33.096Z] go: downloading golang.org/x/tools v0.5.0 [2023-03-29T22:41:33.686Z] go: downloading github.com/klauspost/compress v1.16.0 [2023-03-29T22:41:33.686Z] go: downloading github.com/minio/highwayhash v1.0.2 [2023-03-29T22:41:33.686Z] go: downloading github.com/nats-io/jwt/v2 v2.3.0 [2023-03-29T22:41:33.962Z] go: downloading golang.org/x/time v0.3.0 [2023-03-29T22:41:33.962Z] go: downloading google.golang.org/genproto v0.0.0-20230109162033-3c3c17ce83e6 [2023-03-29T22:41:35.927Z] go: downloading github.com/golang/protobuf v1.5.2 [2023-03-29T22:41:39.293Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2023-03-29T22:41:39.293Z] go: downloading github.com/fatih/color v1.9.0 [2023-03-29T22:41:39.293Z] go: downloading github.com/mattn/go-colorable v0.1.12 [2023-03-29T22:41:39.293Z] go: downloading github.com/mattn/go-isatty v0.0.14 [2023-03-29T22:41:39.293Z] go: downloading github.com/hashicorp/go-version v1.2.1 [2023-03-29T22:41:39.293Z] go: downloading github.com/pkg/errors v0.9.1 [2023-03-29T22:41:39.293Z] go: downloading github.com/armon/go-metrics v0.3.10 [2023-03-29T22:41:39.293Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2023-03-29T22:41:39.293Z] go: downloading github.com/hashicorp/memberlist v0.5.0 [2023-03-29T22:41:39.293Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2023-03-29T22:41:39.293Z] go: downloading github.com/hpcloud/tail v1.0.0 [2023-03-29T22:41:39.293Z] go: downloading github.com/hashicorp/go-immutable-radix v1.3.0 [2023-03-29T22:41:39.293Z] go: downloading github.com/pascaldekloe/goe v0.1.0 [2023-03-29T22:41:39.293Z] go: downloading golang.org/x/mod v0.7.0 [2023-03-29T22:41:39.293Z] go: downloading github.com/hashicorp/golang-lru v0.5.4 [2023-03-29T22:41:39.293Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2023-03-29T22:41:39.293Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2023-03-29T22:41:39.293Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.2 [2023-03-29T22:41:39.293Z] go: downloading github.com/miekg/dns v1.1.41 [2023-03-29T22:41:39.293Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2023-03-29T22:41:39.293Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2023-03-29T22:41:39.564Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.34 [2023-03-29T22:41:39.564Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.61 [2023-03-29T22:41:39.833Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.19 [2023-03-29T22:41:39.833Z] go: downloading github.com/go-playground/validator/v10 v10.12.0 [2023-03-29T22:41:39.833Z] go: downloading golang.org/x/net v0.8.0 [2023-03-29T22:41:40.107Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2023-03-29T22:41:40.107Z] go: downloading golang.org/x/sys v0.6.0 [2023-03-29T22:41:40.107Z] go: downloading golang.org/x/tools v0.6.0 [2023-03-29T22:41:41.076Z] go: downloading golang.org/x/crypto v0.7.0 [2023-03-29T22:41:42.045Z] go: downloading github.com/kr/pretty v0.2.1 [2023-03-29T22:41:42.045Z] go: downloading github.com/leodido/go-urn v1.2.2 [2023-03-29T22:41:42.045Z] go: downloading golang.org/x/text v0.8.0 [2023-03-29T22:41:45.407Z] go: downloading golang.org/x/mod v0.8.0 [2023-03-29T22:41:45.680Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.9 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-new-service [2023-03-29T22:44:22.536Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/240/app-service-template' [2023-03-29T22:44:22.536Z] make -C ./app-service-template test [2023-03-29T22:44:22.536Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/240/app-service-template' [2023-03-29T22:44:22.536Z] go test -race -coverprofile=coverage.out ./... [2023-03-29T22:47:59.471Z] ? app-new-service/config [no test files] [2023-03-29T22:47:59.471Z] ok app-new-service 0.318s coverage: 48.1% of statements [2023-03-29T22:47:59.471Z] ok app-new-service/functions 0.296s coverage: 85.3% of statements [2023-03-29T22:47:59.471Z] go vet ./... [2023-03-29T22:50:51.325Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-29T22:50:51.325Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-29T22:50:51.325Z] ./bin/test-attribution-txt.sh [2023-03-29T22:50:51.325Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/240/app-service-template' [2023-03-29T22:50:51.325Z] go test -race -coverprofile=coverage.out ./... [2023-03-29T22:50:51.325Z] go: downloading github.com/gomodule/redigo v1.8.9 [2023-03-29T22:50:51.325Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal [no test files] [2023-03-29T22:51:13.468Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/container [no test files] [2023-03-29T22:51:13.468Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/common [no test files] [2023-03-29T22:51:13.468Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/app 0.717s coverage: 64.6% of statements [2023-03-29T22:51:13.468Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/appfunction 0.379s coverage: 93.0% of statements [2023-03-29T22:51:13.468Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/handlers 0.440s coverage: 85.1% of statements [2023-03-29T22:51:18.840Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/controller/rest 0.343s coverage: 87.8% of statements [2023-03-29T22:51:18.840Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/etm 0.129s coverage: 100.0% of statements [2023-03-29T22:51:19.809Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db [no test files] [2023-03-29T22:51:19.809Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis [no test files] [2023-03-29T22:51:20.778Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/runtime 0.688s coverage: 77.9% of statements [2023-03-29T22:51:23.378Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger [no test files] [2023-03-29T22:51:23.378Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis/models 0.285s coverage: 97.3% of statements [2023-03-29T22:51:25.334Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http/mocks [no test files] [2023-03-29T22:51:25.919Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http 0.338s coverage: 82.8% of statements [2023-03-29T22:51:29.275Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mocks [no test files] [2023-03-29T22:51:29.275Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/messagebus 0.336s coverage: 65.2% of statements [2023-03-29T22:51:32.648Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt/mocks [no test files] [2023-03-29T22:51:32.648Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt 0.440s coverage: 28.7% of statements [2023-03-29T22:51:33.616Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/webserver 0.272s coverage: 11.5% of statements [2023-03-29T22:51:34.203Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces [no test files] [2023-03-29T22:51:34.203Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-29T22:51:34.471Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg 0.282s coverage: 27.3% of statements [2023-03-29T22:51:38.744Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/secure 0.337s coverage: 52.8% of statements [2023-03-29T22:52:11.025Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/transforms 25.651s coverage: 75.2% of statements [2023-03-29T22:52:11.025Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/util 0.237s coverage: 94.4% of statements [2023-03-29T22:52:11.025Z] go vet ./... [2023-03-29T22:52:17.693Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-29T22:52:17.693Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-29T22:52:17.961Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] echo [2023-03-29T22:52:17.981Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-29T22:52:18.007Z] $ docker stop --time=1 59b39c2b1ada26c0be835cd42a551d3c3a3ff452804b11dac880bc513d2c7ff0 [2023-03-29T22:52:20.857Z] $ docker rm -f --volumes 59b39c2b1ada26c0be835cd42a551d3c3a3ff452804b11dac880bc513d2c7ff0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-29T22:52:27.032Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-29T22:52:27.057Z] Warning: overwriting stash ‘coverage-report’ [2023-03-29T22:52:27.935Z] Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:52:28.401Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-29T22:52:28.401Z] [2023-03-29T22:52:28.401Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:52:28.783Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-29T22:52:29.086Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-29T22:52:29.086Z] 8998bd30e6a1: Pulling fs layer [2023-03-29T22:52:29.086Z] 04944245beec: Pulling fs layer [2023-03-29T22:52:29.086Z] 699f458cf7ca: Pulling fs layer [2023-03-29T22:52:29.086Z] 765212b225bb: Pulling fs layer [2023-03-29T22:52:29.086Z] f23df028b6ca: Pulling fs layer [2023-03-29T22:52:29.086Z] d65c8cfc05b1: Pulling fs layer [2023-03-29T22:52:29.086Z] 2437ff75d9bd: Pulling fs layer [2023-03-29T22:52:29.086Z] 765212b225bb: Waiting [2023-03-29T22:52:29.086Z] f23df028b6ca: Waiting [2023-03-29T22:52:29.086Z] d65c8cfc05b1: Waiting [2023-03-29T22:52:29.086Z] 2437ff75d9bd: Waiting [2023-03-29T22:52:29.375Z] 04944245beec: Verifying Checksum [2023-03-29T22:52:29.375Z] 04944245beec: Download complete [2023-03-29T22:52:29.375Z] 765212b225bb: Verifying Checksum [2023-03-29T22:52:29.375Z] 765212b225bb: Download complete [2023-03-29T22:52:29.375Z] f23df028b6ca: Verifying Checksum [2023-03-29T22:52:29.375Z] f23df028b6ca: Download complete [2023-03-29T22:52:29.375Z] d65c8cfc05b1: Verifying Checksum [2023-03-29T22:52:29.375Z] d65c8cfc05b1: Download complete [2023-03-29T22:52:29.656Z] 699f458cf7ca: Verifying Checksum [2023-03-29T22:52:29.656Z] 699f458cf7ca: Download complete [2023-03-29T22:52:29.948Z] 8998bd30e6a1: Verifying Checksum [2023-03-29T22:52:29.948Z] 8998bd30e6a1: Download complete [2023-03-29T22:52:32.597Z] 2437ff75d9bd: Verifying Checksum [2023-03-29T22:52:32.597Z] 2437ff75d9bd: Download complete [2023-03-29T22:52:34.553Z] 8998bd30e6a1: Pull complete [2023-03-29T22:52:35.143Z] 04944245beec: Pull complete [2023-03-29T22:52:36.563Z] 699f458cf7ca: Pull complete [2023-03-29T22:52:36.833Z] 765212b225bb: Pull complete [2023-03-29T22:52:37.424Z] f23df028b6ca: Pull complete [2023-03-29T22:52:38.016Z] d65c8cfc05b1: Pull complete [2023-03-29T22:52:53.076Z] 2437ff75d9bd: Pull complete [2023-03-29T22:52:53.076Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-29T22:52:53.076Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-29T22:52:53.076Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T22:52:53.307Z] prd-ubuntu20.04-docker-arm64-4c-16g-6282 does not seem to be running inside a container [2023-03-29T22:52:53.402Z] $ 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/240 -v /w/workspace/app-functions-sdk-go/240:/w/workspace/app-functions-sdk-go/240:rw,z -v /w/workspace/app-functions-sdk-go/240@tmp:/w/workspace/app-functions-sdk-go/240@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-29T22:52:56.397Z] $ docker top 8c67dbd175292f1fc24a81f40bed946c7cbee52a431c275d8f1a8a83bcf963a2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T22:52:57.317Z] ---> job-cost.sh [2023-03-29T22:52:57.317Z] lf-activate-venv: SKIPPING [2023-03-29T22:52:57.317Z] INFO: No Stack... [2023-03-29T22:52:57.906Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-29T22:52:58.873Z] INFO: Archiving Costs [Pipeline] sh [2023-03-29T22:52:59.528Z] + cat /w/workspace/app-functions-sdk-go/240/archives/cost.csv [2023-03-29T22:52:59.528Z] + cut -d, -f6 [Pipeline] lock [2023-03-29T22:52:59.621Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-240-stack-cost] [2023-03-29T22:52:59.627Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-240-stack-cost] did not exist. Created. [2023-03-29T22:52:59.627Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-240-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-29T22:53:00.300Z] /w/workspace/app-functions-sdk-go/240@tmp/durable-4ec75a70/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-29T22:53:00.982Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-29T22:53:01.005Z] Warning: overwriting stash ‘stack-cost’ [2023-03-29T22:53:01.088Z] Stashed 1 file(s) [Pipeline] } [2023-03-29T22:53:01.099Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-240-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-29T22:53:01.130Z] $ docker stop --time=1 8c67dbd175292f1fc24a81f40bed946c7cbee52a431c275d8f1a8a83bcf963a2 [2023-03-29T22:53:02.762Z] $ docker rm -f --volumes 8c67dbd175292f1fc24a81f40bed946c7cbee52a431c275d8f1a8a83bcf963a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-29T22:53:03.221Z] provisioning config files... [2023-03-29T22:53:03.232Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config12399319767444670439tmp [Pipeline] { [Pipeline] sh [2023-03-29T22:53:03.528Z] + set +x [2023-03-29T22:53:03.528Z] + curl -s https://codecov.io/bash [2023-03-29T22:53:03.528Z] + bash -s -- [2023-03-29T22:53:03.528Z] [2023-03-29T22:53:03.528Z] _____ _ [2023-03-29T22:53:03.528Z] / ____| | | [2023-03-29T22:53:03.528Z] | | ___ __| | ___ ___ _____ __ [2023-03-29T22:53:03.528Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-29T22:53:03.528Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-29T22:53:03.528Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-29T22:53:03.528Z] Bash-1.0.6 [2023-03-29T22:53:03.528Z] [2023-03-29T22:53:03.528Z] [2023-03-29T22:53:03.528Z] ==> git version 2.25.1 found [2023-03-29T22:53:03.528Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-29T22:53:03.528Z] Release-Date: 2020-01-08 [2023-03-29T22:53:03.528Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-29T22:53:03.528Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-29T22:53:03.528Z] ==> Jenkins CI detected. [2023-03-29T22:53:03.528Z] current dir:  /w/workspace/oundry_app-functions-sdk-go_main [2023-03-29T22:53:03.528Z] project root: . [2023-03-29T22:53:03.528Z] --> token set from env [2023-03-29T22:53:03.528Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-29T22:53:03.528Z] ==> Running gcov in . (disable via -X gcov) [2023-03-29T22:53:03.528Z] ==> Python coveragepy not found [2023-03-29T22:53:03.528Z] ==> Searching for coverage reports in: [2023-03-29T22:53:03.528Z] + . [2023-03-29T22:53:03.528Z] -> Found 2 reports [2023-03-29T22:53:03.528Z] ==> Detecting git/mercurial file structure [2023-03-29T22:53:03.528Z] ==> Reading reports [2023-03-29T22:53:03.528Z] + ./app-service-template/coverage.out bytes=3431 [2023-03-29T22:53:03.787Z] + ./coverage.out bytes=116972 [2023-03-29T22:53:03.787Z] ==> Appending adjustments [2023-03-29T22:53:03.787Z] https://docs.codecov.io/docs/fixing-reports [2023-03-29T22:53:04.045Z] + Found adjustments [2023-03-29T22:53:04.045Z] ==> Gzipping contents [2023-03-29T22:53:04.045Z] 20K /tmp/codecov.azE2pk.gz [2023-03-29T22:53:04.045Z] ==> Uploading reports [2023-03-29T22:53:04.045Z] url: https://codecov.io [2023-03-29T22:53:04.045Z] query: branch=main&commit=9c5c728ed47b7a809fda98ee71d3fedba1ec5214&build=240&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F240%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-29T22:53:04.045Z] -> Pinging Codecov [2023-03-29T22:53:04.045Z] 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=9c5c728ed47b7a809fda98ee71d3fedba1ec5214&build=240&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F240%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-29T22:53:04.304Z] -> Uploading to [2023-03-29T22:53:04.304Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-29/3D8B5DFFC46A037C893635FACE044666/9c5c728ed47b7a809fda98ee71d3fedba1ec5214/5bc169b7-1181-4b65-ac5e-78aca2d045fd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230329%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230329T225304Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4901dd6d9faa9c6b0c7865470cabd04ef45abb7ff1cf158896ec0de95756b8d6 [2023-03-29T22:53:04.304Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-29T22:53:04.304Z] Dload Upload Total Spent Left Speed [2023-03-29T22:53:04.563Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20456 0 0 100 20456 0 72797 --:--:-- --:--:-- --:--:-- 72797 [2023-03-29T22:53:04.563Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/9c5c728ed47b7a809fda98ee71d3fedba1ec5214 [Pipeline] } [2023-03-29T22:53:04.570Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-03-29T22:53:04.769Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-03-29T22:53:04.780Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:53:05.072Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-29T22:53:05.072Z] [2023-03-29T22:53:05.072Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:53:05.456Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-29T22:53:05.456Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-03-29T22:53:05.456Z] df9b9388f04a: Pulling fs layer [2023-03-29T22:53:05.456Z] 52dc419b0ee2: Pulling fs layer [2023-03-29T22:53:05.456Z] 25bc292e5bac: Pulling fs layer [2023-03-29T22:53:05.456Z] 114826534d7a: Pulling fs layer [2023-03-29T22:53:05.456Z] 4657fd5d0bcf: Pulling fs layer [2023-03-29T22:53:05.456Z] 6ad1cebc031e: Pulling fs layer [2023-03-29T22:53:05.456Z] 8a3aa393b2d8: Pulling fs layer [2023-03-29T22:53:05.456Z] 4657fd5d0bcf: Waiting [2023-03-29T22:53:05.456Z] 6ad1cebc031e: Waiting [2023-03-29T22:53:05.456Z] 8a3aa393b2d8: Waiting [2023-03-29T22:53:05.456Z] 114826534d7a: Waiting [2023-03-29T22:53:05.456Z] 25bc292e5bac: Verifying Checksum [2023-03-29T22:53:05.456Z] 25bc292e5bac: Download complete [2023-03-29T22:53:05.456Z] 52dc419b0ee2: Verifying Checksum [2023-03-29T22:53:05.456Z] 4657fd5d0bcf: Verifying Checksum [2023-03-29T22:53:05.456Z] 4657fd5d0bcf: Download complete [2023-03-29T22:53:05.456Z] df9b9388f04a: Download complete [2023-03-29T22:53:05.720Z] 6ad1cebc031e: Verifying Checksum [2023-03-29T22:53:05.720Z] 6ad1cebc031e: Download complete [2023-03-29T22:53:05.720Z] df9b9388f04a: Pull complete [2023-03-29T22:53:05.721Z] 52dc419b0ee2: Pull complete [2023-03-29T22:53:05.721Z] 25bc292e5bac: Pull complete [2023-03-29T22:53:06.295Z] 114826534d7a: Verifying Checksum [2023-03-29T22:53:06.295Z] 114826534d7a: Download complete [2023-03-29T22:53:06.295Z] 8a3aa393b2d8: Verifying Checksum [2023-03-29T22:53:06.295Z] 8a3aa393b2d8: Download complete [2023-03-29T22:53:09.573Z] 114826534d7a: Pull complete [2023-03-29T22:53:09.573Z] 4657fd5d0bcf: Pull complete [2023-03-29T22:53:09.573Z] 6ad1cebc031e: Pull complete [2023-03-29T22:53:12.100Z] 8a3aa393b2d8: Pull complete [2023-03-29T22:53:12.100Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-03-29T22:53:12.100Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-29T22:53:12.100Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T22:53:12.173Z] prd-ubuntu20.04-docker-8c-8g-6275 does not seem to be running inside a container [2023-03-29T22:53:12.199Z] $ 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 [2023-03-29T22:53:14.536Z] $ docker top 246815c5800f575b805eabef7383e033c86a1973de14934621ad12a7f7a72de1 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-03-29T22:53:14.599Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-functions-sdk-go:main' [Pipeline] sh [2023-03-29T22:53:14.872Z] + set -o pipefail [2023-03-29T22:53:14.872Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-functions-sdk-go:main' [2023-03-29T22:53:20.142Z] [2023-03-29T22:53:20.142Z] Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v3)... [2023-03-29T22:53:20.142Z] [2023-03-29T22:53:20.142Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/899a6017-c938-46f1-adf7-2bd1b283a5ba/history/d39b8711-4d0c-47f6-9491-201e7aeacc94 [2023-03-29T22:53:20.142Z] [2023-03-29T22:53:20.142Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-03-29T22:53:20.142Z] [2023-03-29T22:53:20.142Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-03-29T22:53:20.142Z] [2023-03-29T22:53:20.142Z] [2023-03-29T22:53:20.142Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-03-29T22:53:20.142Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-03-29T22:53:20.142Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-03-29T22:53:20.154Z] $ docker stop --time=1 246815c5800f575b805eabef7383e033c86a1973de14934621ad12a7f7a72de1 [2023-03-29T22:53:22.002Z] $ docker rm -f --volumes 246815c5800f575b805eabef7383e033c86a1973de14934621ad12a7f7a72de1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2023-03-29T22:53:22.392Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-29T22:53:22.401Z] provisioning config files... [2023-03-29T22:53:22.408Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config7615344064958174947tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T22:53:22.704Z] --> edgex-publish-swagger.sh [2023-03-29T22:53:22.704Z] === Publish openapi/v3 API === [2023-03-29T22:53:22.704Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-03-29T22:53:22.704Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v3/app-functions-sdk.yaml] [2023-03-29T22:53:22.704Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-29T22:53:22.704Z] Dload Upload Total Spent Left Speed [2023-03-29T22:53:23.270Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11420 0 0 100 11420 0 54380 --:--:-- --:--:-- --:--:-- 54123 100 11420 0 0 100 11420 0 20284 --:--:-- --:--:-- --:--:-- 20284 [2023-03-29T22:53:23.270Z] [2023-03-29T22:53:23.270Z] [Pipeline] } [2023-03-29T22:53:23.277Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-29T22:53:23.668Z] + git log --format=format:%s -1 9c5c728ed47b7a809fda98ee71d3fedba1ec5214 [Pipeline] sh [2023-03-29T22:53:23.958Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-29T22:53:23.959Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:53:24.253Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-29T22:53:24.253Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T22:53:24.328Z] prd-ubuntu20.04-docker-8c-8g-6275 does not seem to be running inside a container [2023-03-29T22:53:24.360Z] $ 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 [2023-03-29T22:53:24.697Z] $ docker top 2fffc9ddfbdaa5d97b7afe54b2248d7faf2c24a734d62b1f9ce0eeb8670724ef -eo pid,comm [2023-03-29T22:53:24.744Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-29T22:53:24.744Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-29T22:53:24.784Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-29T22:53:24.784Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-29T22:53:24.896Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-29T22:53:24.898Z] $ docker exec 2fffc9ddfbdaa5d97b7afe54b2248d7faf2c24a734d62b1f9ce0eeb8670724ef ssh-agent [2023-03-29T22:53:25.001Z] SSH_AUTH_SOCK=/tmp/ssh-kateqA3ZzgcY/agent.33 [2023-03-29T22:53:25.001Z] SSH_AGENT_PID=40 [2023-03-29T22:53:25.006Z] Running ssh-add (command line suppressed) [2023-03-29T22:53:25.120Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_10045304393281216367.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_10045304393281216367.key) [2023-03-29T22:53:25.135Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-29T22:53:25.421Z] + git semver tag [2023-03-29T22:53:25.679Z] 2023-03-29 22:53:25,604 [run_tag] DEBUG tag force:False [2023-03-29T22:53:25.679Z] 2023-03-29 22:53:25,604 [check_head_tag] DEBUG check head tag [2023-03-29T22:53:25.679Z] 2023-03-29 22:53:25,606 [execute] INFO git cat-file --batch-check [2023-03-29T22:53:25.679Z] 2023-03-29 22:53:25,606 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-03-29T22:53:25.679Z] 2023-03-29 22:53:25,609 [execute] INFO git cat-file --batch [2023-03-29T22:53:25.679Z] 2023-03-29 22:53:25,610 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-03-29T22:53:25.679Z] 2023-03-29 22:53:25,645 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2023-03-29T22:53:25.679Z] 2023-03-29 22:53:25,645 [execute] INFO git tag -a v3.0.0-dev.48 -m v3.0.0-dev.48 [2023-03-29T22:53:25.679Z] 2023-03-29 22:53:25,645 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.48', '-m', 'v3.0.0-dev.48'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-03-29T22:53:25.679Z] 2023-03-29 22:53:25,650 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2023-03-29T22:53:25.679Z] 3.0.0-dev.48 [Pipeline] } [2023-03-29T22:53:25.688Z] $ docker exec --env ******** --env ******** 2fffc9ddfbdaa5d97b7afe54b2248d7faf2c24a734d62b1f9ce0eeb8670724ef ssh-agent -k [2023-03-29T22:53:25.808Z] unset SSH_AUTH_SOCK; [2023-03-29T22:53:25.809Z] unset SSH_AGENT_PID; [2023-03-29T22:53:25.809Z] echo Agent pid 40 killed; [2023-03-29T22:53:25.817Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-29T22:53:26.122Z] + git semver [Pipeline] } [2023-03-29T22:53:26.393Z] $ docker stop --time=1 2fffc9ddfbdaa5d97b7afe54b2248d7faf2c24a734d62b1f9ce0eeb8670724ef [2023-03-29T22:53:27.694Z] $ docker rm -f --volumes 2fffc9ddfbdaa5d97b7afe54b2248d7faf2c24a734d62b1f9ce0eeb8670724ef [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:53:28.074Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-29T22:53:28.074Z] [2023-03-29T22:53:28.074Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:53:28.376Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-29T22:53:28.376Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-03-29T22:53:28.376Z] ab5ef0e58194: Pulling fs layer [2023-03-29T22:53:28.376Z] 9712f1f96733: Pulling fs layer [2023-03-29T22:53:28.376Z] 63f879dbbcfc: Pulling fs layer [2023-03-29T22:53:28.376Z] 0d9ebad4ef96: Pulling fs layer [2023-03-29T22:53:28.376Z] e9a5061849ea: Pulling fs layer [2023-03-29T22:53:28.376Z] d747dcd14b5f: Pulling fs layer [2023-03-29T22:53:28.376Z] 2de7ff778b66: Pulling fs layer [2023-03-29T22:53:28.376Z] e9a5061849ea: Waiting [2023-03-29T22:53:28.376Z] d747dcd14b5f: Waiting [2023-03-29T22:53:28.376Z] 2de7ff778b66: Waiting [2023-03-29T22:53:28.376Z] 0d9ebad4ef96: Waiting [2023-03-29T22:53:28.376Z] 9712f1f96733: Verifying Checksum [2023-03-29T22:53:28.376Z] 9712f1f96733: Download complete [2023-03-29T22:53:28.635Z] 63f879dbbcfc: Verifying Checksum [2023-03-29T22:53:28.635Z] 63f879dbbcfc: Download complete [2023-03-29T22:53:28.892Z] e9a5061849ea: Verifying Checksum [2023-03-29T22:53:28.892Z] e9a5061849ea: Download complete [2023-03-29T22:53:28.892Z] ab5ef0e58194: Verifying Checksum [2023-03-29T22:53:28.892Z] ab5ef0e58194: Download complete [2023-03-29T22:53:28.892Z] d747dcd14b5f: Verifying Checksum [2023-03-29T22:53:28.892Z] d747dcd14b5f: Download complete [2023-03-29T22:53:28.892Z] 0d9ebad4ef96: Verifying Checksum [2023-03-29T22:53:28.892Z] 0d9ebad4ef96: Download complete [2023-03-29T22:53:28.892Z] 2de7ff778b66: Verifying Checksum [2023-03-29T22:53:28.892Z] 2de7ff778b66: Download complete [2023-03-29T22:53:31.418Z] ab5ef0e58194: Pull complete [2023-03-29T22:53:31.675Z] 9712f1f96733: Pull complete [2023-03-29T22:53:32.241Z] 63f879dbbcfc: Pull complete [2023-03-29T22:53:36.424Z] 0d9ebad4ef96: Pull complete [2023-03-29T22:53:36.424Z] e9a5061849ea: Pull complete [2023-03-29T22:53:36.424Z] d747dcd14b5f: Pull complete [2023-03-29T22:53:36.988Z] 2de7ff778b66: Pull complete [2023-03-29T22:53:36.988Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-03-29T22:53:36.988Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-29T22:53:36.988Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T22:53:37.327Z] prd-ubuntu20.04-docker-8c-8g-6275 does not seem to be running inside a container [2023-03-29T22:53:37.355Z] $ 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 [2023-03-29T22:53:39.864Z] $ docker top e9d0d581646131ea5b16c93d7829a3b280d664493957232cb88c2033230b7218 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-03-29T22:53:39.932Z] provisioning config files... [2023-03-29T22:53:39.940Z] copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config2047237572336011421tmp [2023-03-29T22:53:39.951Z] copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config6423321131050755460tmp [2023-03-29T22:53:39.960Z] copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config12856300102946221872tmp [Pipeline] { [Pipeline] echo [2023-03-29T22:53:39.973Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T22:53:40.257Z] ---> sigul-configuration.sh [2023-03-29T22:53:40.257Z] gpg: directory `/root/.gnupg' created [2023-03-29T22:53:40.257Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-03-29T22:53:40.257Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-03-29T22:53:40.257Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-03-29T22:53:40.257Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-03-29T22:53:40.257Z] gpg: CAST5 encrypted data [2023-03-29T22:53:40.257Z] gpg: encrypted with 1 passphrase [2023-03-29T22:53:40.257Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-03-29T22:53:40.545Z] + mkdir /home/jenkins [2023-03-29T22:53:40.545Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-03-29T22:53:40.831Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-03-29T22:53:40.840Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T22:53:41.124Z] ---> sigul-install.sh [2023-03-29T22:53:41.124Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-03-29T22:53:41.410Z] + git tag --list [2023-03-29T22:53:41.410Z] v0.1.0 [2023-03-29T22:53:41.410Z] v0.1.1 [2023-03-29T22:53:41.410Z] v1.0.0 [2023-03-29T22:53:41.410Z] v1.1.0 [2023-03-29T22:53:41.410Z] v1.2.0 [2023-03-29T22:53:41.410Z] v1.3.0 [2023-03-29T22:53:41.410Z] v1.3.1 [2023-03-29T22:53:41.410Z] v2.0.0 [2023-03-29T22:53:41.410Z] v2.0.1 [2023-03-29T22:53:41.410Z] v2.1.0 [2023-03-29T22:53:41.410Z] v2.1.1 [2023-03-29T22:53:41.410Z] v2.1.1-dev.3 [2023-03-29T22:53:41.410Z] v2.1.1-dev.4 [2023-03-29T22:53:41.410Z] v2.2.0 [2023-03-29T22:53:41.410Z] v2.2.1-dev.1 [2023-03-29T22:53:41.410Z] v2.2.1-dev.10 [2023-03-29T22:53:41.410Z] v2.2.1-dev.11 [2023-03-29T22:53:41.410Z] v2.2.1-dev.12 [2023-03-29T22:53:41.410Z] v2.2.1-dev.13 [2023-03-29T22:53:41.410Z] v2.2.1-dev.14 [2023-03-29T22:53:41.410Z] v2.2.1-dev.15 [2023-03-29T22:53:41.410Z] v2.2.1-dev.16 [2023-03-29T22:53:41.410Z] v2.2.1-dev.17 [2023-03-29T22:53:41.410Z] v2.2.1-dev.18 [2023-03-29T22:53:41.410Z] v2.2.1-dev.19 [2023-03-29T22:53:41.410Z] v2.2.1-dev.2 [2023-03-29T22:53:41.410Z] v2.2.1-dev.20 [2023-03-29T22:53:41.410Z] v2.2.1-dev.21 [2023-03-29T22:53:41.410Z] v2.2.1-dev.22 [2023-03-29T22:53:41.410Z] v2.2.1-dev.23 [2023-03-29T22:53:41.410Z] v2.2.1-dev.3 [2023-03-29T22:53:41.410Z] v2.2.1-dev.4 [2023-03-29T22:53:41.410Z] v2.2.1-dev.5 [2023-03-29T22:53:41.410Z] v2.2.1-dev.6 [2023-03-29T22:53:41.410Z] v2.2.1-dev.7 [2023-03-29T22:53:41.410Z] v2.2.1-dev.8 [2023-03-29T22:53:41.410Z] v2.2.1-dev.9 [2023-03-29T22:53:41.410Z] v2.3.0 [2023-03-29T22:53:41.410Z] v2.3.0-dev.24 [2023-03-29T22:53:41.410Z] v2.3.0-dev.25 [2023-03-29T22:53:41.410Z] v2.3.0-dev.26 [2023-03-29T22:53:41.410Z] v2.3.0-dev.27 [2023-03-29T22:53:41.410Z] v2.3.0-dev.28 [2023-03-29T22:53:41.410Z] v2.3.0-dev.29 [2023-03-29T22:53:41.410Z] v2.3.0-dev.30 [2023-03-29T22:53:41.410Z] v2.3.0-dev.31 [2023-03-29T22:53:41.410Z] v2.3.0-dev.32 [2023-03-29T22:53:41.410Z] v2.3.0-dev.33 [2023-03-29T22:53:41.410Z] v2.3.0-dev.34 [2023-03-29T22:53:41.410Z] v2.3.0-dev.35 [2023-03-29T22:53:41.410Z] v2.3.0-dev.36 [2023-03-29T22:53:41.410Z] v2.3.0-dev.37 [2023-03-29T22:53:41.410Z] v2.3.0-dev.38 [2023-03-29T22:53:41.410Z] v2.3.0-dev.39 [2023-03-29T22:53:41.410Z] v2.3.0-dev.40 [2023-03-29T22:53:41.410Z] v2.3.0-dev.41 [2023-03-29T22:53:41.410Z] v2.3.0-dev.42 [2023-03-29T22:53:41.410Z] v2.3.0-dev.43 [2023-03-29T22:53:41.410Z] v2.3.0-dev.44 [2023-03-29T22:53:41.410Z] v2.3.0-dev.45 [2023-03-29T22:53:41.410Z] v2.3.0-dev.46 [2023-03-29T22:53:41.410Z] v2.3.0-dev.47 [2023-03-29T22:53:41.410Z] v2.3.0-dev.48 [2023-03-29T22:53:41.410Z] v2.3.0-dev.49 [2023-03-29T22:53:41.410Z] v2.3.0-dev.50 [2023-03-29T22:53:41.410Z] v2.3.0-dev.51 [2023-03-29T22:53:41.410Z] v2.3.0-dev.52 [2023-03-29T22:53:41.410Z] v2.3.0-dev.53 [2023-03-29T22:53:41.410Z] v2.3.0-dev.54 [2023-03-29T22:53:41.410Z] v2.3.0-dev.55 [2023-03-29T22:53:41.410Z] v2.3.0-dev.56 [2023-03-29T22:53:41.410Z] v2.3.0-dev.57 [2023-03-29T22:53:41.410Z] v2.3.0-dev.58 [2023-03-29T22:53:41.410Z] v2.3.0-dev.59 [2023-03-29T22:53:41.410Z] v2.3.0-dev.60 [2023-03-29T22:53:41.410Z] v2.3.0-dev.61 [2023-03-29T22:53:41.410Z] v2.3.0-dev.62 [2023-03-29T22:53:41.410Z] v2.3.1-dev.1 [2023-03-29T22:53:41.410Z] v2.3.1-dev.2 [2023-03-29T22:53:41.410Z] v2.3.1-dev.3 [2023-03-29T22:53:41.410Z] v3.0.0-dev.1 [2023-03-29T22:53:41.410Z] v3.0.0-dev.10 [2023-03-29T22:53:41.410Z] v3.0.0-dev.11 [2023-03-29T22:53:41.410Z] v3.0.0-dev.12 [2023-03-29T22:53:41.410Z] v3.0.0-dev.13 [2023-03-29T22:53:41.410Z] v3.0.0-dev.14 [2023-03-29T22:53:41.410Z] v3.0.0-dev.15 [2023-03-29T22:53:41.410Z] v3.0.0-dev.16 [2023-03-29T22:53:41.410Z] v3.0.0-dev.17 [2023-03-29T22:53:41.410Z] v3.0.0-dev.18 [2023-03-29T22:53:41.410Z] v3.0.0-dev.19 [2023-03-29T22:53:41.410Z] v3.0.0-dev.2 [2023-03-29T22:53:41.410Z] v3.0.0-dev.20 [2023-03-29T22:53:41.410Z] v3.0.0-dev.21 [2023-03-29T22:53:41.410Z] v3.0.0-dev.22 [2023-03-29T22:53:41.410Z] v3.0.0-dev.23 [2023-03-29T22:53:41.410Z] v3.0.0-dev.24 [2023-03-29T22:53:41.410Z] v3.0.0-dev.25 [2023-03-29T22:53:41.410Z] v3.0.0-dev.26 [2023-03-29T22:53:41.410Z] v3.0.0-dev.27 [2023-03-29T22:53:41.410Z] v3.0.0-dev.28 [2023-03-29T22:53:41.410Z] v3.0.0-dev.29 [2023-03-29T22:53:41.410Z] v3.0.0-dev.3 [2023-03-29T22:53:41.410Z] v3.0.0-dev.30 [2023-03-29T22:53:41.410Z] v3.0.0-dev.31 [2023-03-29T22:53:41.410Z] v3.0.0-dev.32 [2023-03-29T22:53:41.410Z] v3.0.0-dev.33 [2023-03-29T22:53:41.410Z] v3.0.0-dev.34 [2023-03-29T22:53:41.410Z] v3.0.0-dev.35 [2023-03-29T22:53:41.410Z] v3.0.0-dev.36 [2023-03-29T22:53:41.410Z] v3.0.0-dev.37 [2023-03-29T22:53:41.410Z] v3.0.0-dev.38 [2023-03-29T22:53:41.410Z] v3.0.0-dev.39 [2023-03-29T22:53:41.410Z] v3.0.0-dev.4 [2023-03-29T22:53:41.410Z] v3.0.0-dev.40 [2023-03-29T22:53:41.410Z] v3.0.0-dev.41 [2023-03-29T22:53:41.410Z] v3.0.0-dev.42 [2023-03-29T22:53:41.410Z] v3.0.0-dev.43 [2023-03-29T22:53:41.410Z] v3.0.0-dev.44 [2023-03-29T22:53:41.410Z] v3.0.0-dev.45 [2023-03-29T22:53:41.410Z] v3.0.0-dev.46 [2023-03-29T22:53:41.410Z] v3.0.0-dev.47 [2023-03-29T22:53:41.410Z] v3.0.0-dev.48 [2023-03-29T22:53:41.410Z] v3.0.0-dev.5 [2023-03-29T22:53:41.410Z] v3.0.0-dev.6 [2023-03-29T22:53:41.410Z] v3.0.0-dev.7 [2023-03-29T22:53:41.410Z] v3.0.0-dev.8 [2023-03-29T22:53:41.410Z] v3.0.0-dev.9 [Pipeline] sh [2023-03-29T22:53:41.700Z] + lftools sign git-tag v3.0.0-dev.48 [2023-03-29T22:53:42.768Z] Signing Git tag with Sigul... [2023-03-29T22:53:42.768Z] Signing v3.0.0-dev.48 [Pipeline] echo [2023-03-29T22:53:43.344Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T22:53:43.624Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-03-29T22:53:43.631Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-03-29T22:53:43.646Z] $ docker stop --time=1 e9d0d581646131ea5b16c93d7829a3b280d664493957232cb88c2033230b7218 [2023-03-29T22:53:44.961Z] $ docker rm -f --volumes e9d0d581646131ea5b16c93d7829a3b280d664493957232cb88c2033230b7218 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-03-29T22:53:45.346Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-29T22:53:45.347Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:53:45.641Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-29T22:53:45.641Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T22:53:45.706Z] prd-ubuntu20.04-docker-8c-8g-6275 does not seem to be running inside a container [2023-03-29T22:53:45.733Z] $ 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 [2023-03-29T22:53:46.065Z] $ docker top d02cd7803bc579eea11654b7116355cec59b3cffa14aa5b990a7ac0e0f07caf1 -eo pid,comm [2023-03-29T22:53:46.117Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-29T22:53:46.117Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-29T22:53:46.153Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-29T22:53:46.153Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-29T22:53:46.263Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-29T22:53:46.267Z] $ docker exec d02cd7803bc579eea11654b7116355cec59b3cffa14aa5b990a7ac0e0f07caf1 ssh-agent [2023-03-29T22:53:46.386Z] SSH_AUTH_SOCK=/tmp/ssh-h8dhTNabskxf/agent.32 [2023-03-29T22:53:46.386Z] SSH_AGENT_PID=38 [2023-03-29T22:53:46.391Z] Running ssh-add (command line suppressed) [2023-03-29T22:53:46.501Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_14275946593775761756.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_14275946593775761756.key) [2023-03-29T22:53:46.516Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-29T22:53:46.801Z] + git semver bump pre [2023-03-29T22:53:47.060Z] 2023-03-29 22:53:46,981 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2023-03-29T22:53:47.060Z] 2023-03-29 22:53:46,981 [bump_version] DEBUG bumping version:3.0.0-dev.48 on axis:pre with prefix:dev [2023-03-29T22:53:47.060Z] 2023-03-29 22:53:46,981 [bump_version] DEBUG bumped version:3.0.0-dev.49 [2023-03-29T22:53:47.060Z] 2023-03-29 22:53:46,981 [write_version] DEBUG write version:3.0.0-dev.49 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:True [2023-03-29T22:53:47.060Z] 2023-03-29 22:53:46,981 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2023-03-29T22:53:47.060Z] 2023-03-29 22:53:46,982 [write_file] DEBUG write to file:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2023-03-29T22:53:47.060Z] 2023-03-29 22:53:46,983 [execute] INFO git cat-file --batch-check [2023-03-29T22:53:47.060Z] 2023-03-29 22:53:46,983 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-29T22:53:47.060Z] 2023-03-29 22:53:46,989 [execute] INFO git cat-file --batch [2023-03-29T22:53:47.060Z] 2023-03-29 22:53:46,989 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-29T22:53:47.060Z] 2023-03-29 22:53:46,994 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2023-03-29T22:53:47.060Z] 3.0.0-dev.49 [Pipeline] } [2023-03-29T22:53:47.069Z] $ docker exec --env ******** --env ******** d02cd7803bc579eea11654b7116355cec59b3cffa14aa5b990a7ac0e0f07caf1 ssh-agent -k [2023-03-29T22:53:47.162Z] unset SSH_AUTH_SOCK; [2023-03-29T22:53:47.162Z] unset SSH_AGENT_PID; [2023-03-29T22:53:47.162Z] echo Agent pid 38 killed; [2023-03-29T22:53:47.171Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-29T22:53:47.469Z] + git semver [Pipeline] } [2023-03-29T22:53:47.740Z] $ docker stop --time=1 d02cd7803bc579eea11654b7116355cec59b3cffa14aa5b990a7ac0e0f07caf1 [2023-03-29T22:53:49.070Z] $ docker rm -f --volumes d02cd7803bc579eea11654b7116355cec59b3cffa14aa5b990a7ac0e0f07caf1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-29T22:53:49.415Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-29T22:53:49.415Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:53:49.714Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-29T22:53:49.714Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T22:53:49.784Z] prd-ubuntu20.04-docker-8c-8g-6275 does not seem to be running inside a container [2023-03-29T22:53:49.815Z] $ 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 [2023-03-29T22:53:50.156Z] $ docker top 155c3e7e34825cfac182353e4f383a686a270fe605a0a4e8ba6716636495e74e -eo pid,comm [2023-03-29T22:53:50.205Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-29T22:53:50.205Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-29T22:53:50.245Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-29T22:53:50.245Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-29T22:53:50.358Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-29T22:53:50.361Z] $ docker exec 155c3e7e34825cfac182353e4f383a686a270fe605a0a4e8ba6716636495e74e ssh-agent [2023-03-29T22:53:50.468Z] SSH_AUTH_SOCK=/tmp/ssh-jfzIiEaR75aj/agent.33 [2023-03-29T22:53:50.468Z] SSH_AGENT_PID=40 [2023-03-29T22:53:50.473Z] Running ssh-add (command line suppressed) [2023-03-29T22:53:50.575Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_16587684979504020696.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_16587684979504020696.key) [2023-03-29T22:53:50.590Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-29T22:53:50.880Z] + git semver push [2023-03-29T22:53:51.139Z] 2023-03-29 22:53:51,062 [run_push] DEBUG push [2023-03-29T22:53:51.139Z] 2023-03-29 22:53:51,063 [execute] INFO git cat-file --batch-check [2023-03-29T22:53:51.139Z] 2023-03-29 22:53:51,063 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-29T22:53:51.139Z] 2023-03-29 22:53:51,067 [execute] INFO git rev-list ce44f19aab521e8f3ddce6885109107f6be44c09 -- [2023-03-29T22:53:51.139Z] 2023-03-29 22:53:51,067 [execute] DEBUG Popen(['git', 'rev-list', 'ce44f19aab521e8f3ddce6885109107f6be44c09', '--'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-29T22:53:51.139Z] 2023-03-29 22:53:51,084 [execute] INFO git fetch -v origin [2023-03-29T22:53:51.139Z] 2023-03-29 22:53:51,084 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-03-29T22:53:51.707Z] 2023-03-29 22:53:51,537 [run_push] DEBUG no remote changes detected [2023-03-29T22:53:51.707Z] 2023-03-29 22:53:51,537 [execute] INFO git push origin semver [2023-03-29T22:53:51.707Z] 2023-03-29 22:53:51,538 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-29T22:53:52.644Z] 2023-03-29 22:53:52,373 [run_push] DEBUG push all version tags [2023-03-29T22:53:52.644Z] 2023-03-29 22:53:52,373 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-03-29T22:53:52.644Z] 2023-03-29 22:53:52,374 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-03-29T22:53:53.211Z] 2023-03-29 22:53:53,166 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2023-03-29T22:53:53.211Z] 3.0.0-dev.49 [Pipeline] } [2023-03-29T22:53:53.222Z] $ docker exec --env ******** --env ******** 155c3e7e34825cfac182353e4f383a686a270fe605a0a4e8ba6716636495e74e ssh-agent -k [2023-03-29T22:53:53.330Z] unset SSH_AUTH_SOCK; [2023-03-29T22:53:53.330Z] unset SSH_AGENT_PID; [2023-03-29T22:53:53.330Z] echo Agent pid 40 killed; [2023-03-29T22:53:53.344Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-29T22:53:53.650Z] + git semver [Pipeline] } [2023-03-29T22:53:53.921Z] $ docker stop --time=1 155c3e7e34825cfac182353e4f383a686a270fe605a0a4e8ba6716636495e74e [2023-03-29T22:53:55.215Z] $ docker rm -f --volumes 155c3e7e34825cfac182353e4f383a686a270fe605a0a4e8ba6716636495e74e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-29T22:53:55.752Z] + [ -d /w/workspace/oundry_app-functions-sdk-go_main/archives ] [2023-03-29T22:53:55.752Z] + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives [2023-03-29T22:53:55.752Z] total 16 [2023-03-29T22:53:55.752Z] drwxr-xr-x 3 root root 4096 Mar 29 22:39 . [2023-03-29T22:53:55.752Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 22:53 .. [2023-03-29T22:53:55.752Z] drwxr-xr-x 2 root root 4096 Mar 29 22:39 cost [2023-03-29T22:53:55.752Z] -rw-r--r-- 1 root root 92 Mar 29 22:39 cost.csv [2023-03-29T22:53:55.752Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_app-functions-sdk-go_main/archives [2023-03-29T22:53:55.752Z] + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives [2023-03-29T22:53:55.752Z] total 16 [2023-03-29T22:53:55.752Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 22:39 . [2023-03-29T22:53:55.752Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 22:53 .. [2023-03-29T22:53:55.752Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 29 22:39 cost [2023-03-29T22:53:55.752Z] -rw-r--r-- 1 jenkins jenkins 92 Mar 29 22:39 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-29T22:53:56.040Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T22:53:56.898Z] ---> package-listing.sh [2023-03-29T22:53:56.898Z] ++ facter osfamily [2023-03-29T22:53:56.898Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-29T22:53:57.158Z] + OS_FAMILY=debian [2023-03-29T22:53:57.158Z] + workspace=/w/workspace/oundry_app-functions-sdk-go_main [2023-03-29T22:53:57.158Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-29T22:53:57.158Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-29T22:53:57.158Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-29T22:53:57.158Z] + PACKAGES=/tmp/packages_start.txt [2023-03-29T22:53:57.158Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2023-03-29T22:53:57.158Z] + PACKAGES=/tmp/packages_end.txt [2023-03-29T22:53:57.158Z] + case "${OS_FAMILY}" in [2023-03-29T22:53:57.158Z] + dpkg -l [2023-03-29T22:53:57.158Z] + grep '^ii' [2023-03-29T22:53:57.158Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-29T22:53:57.158Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-29T22:53:57.158Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-29T22:53:57.158Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2023-03-29T22:53:57.158Z] + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ [2023-03-29T22:53:57.158Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_app-functions-sdk-go_main/archives/ [Pipeline] echo [2023-03-29T22:53:57.169Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_app-functions-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-29T22:53:57.446Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:53:57.996Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-29T22:53:57.996Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T22:53:58.076Z] prd-ubuntu20.04-docker-8c-8g-6275 does not seem to be running inside a container [2023-03-29T22:53:58.106Z] $ 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 [2023-03-29T22:53:58.302Z] $ docker top 63b4e1c326607a7da403a90d80f4e6e9403174b1d35884fa9b2f3f181fe2e797 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T22:53:58.648Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-29T22:53:58.934Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-29T22:53:59.217Z] + ls /var/log/sa-host [2023-03-29T22:53:59.217Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-29T22:53:59.283Z] provisioning config files... [2023-03-29T22:53:59.291Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config5724915205304270771tmp [Pipeline] { [Pipeline] echo [2023-03-29T22:53:59.301Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T22:53:59.579Z] ---> create-netrc.sh [Pipeline] } [2023-03-29T22:53:59.585Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-29T22:53:59.910Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-29T22:53:59.917Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T22:54:00.198Z] ---> sudo-logs.sh [2023-03-29T22:54:00.198Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-29T22:54:00.228Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T22:54:00.510Z] ---> job-cost.sh [2023-03-29T22:54:00.510Z] lf-activate-venv: SKIPPING [2023-03-29T22:54:00.510Z] DEBUG: total: 0.2199999988079071 [2023-03-29T22:54:00.510Z] INFO: Retrieving Stack Cost... [2023-03-29T22:54:01.077Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-29T22:54:01.336Z] INFO: Archiving Costs [Pipeline] echo [2023-03-29T22:54:01.346Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T22:54:01.628Z] ---> logs-deploy.sh [2023-03-29T22:54:01.628Z] lf-activate-venv: SKIPPING [2023-03-29T22:54:01.628Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/240 [2023-03-29T22:54:01.628Z] INFO: archiving workspace using pattern(s): [2023-03-29T22:54:02.563Z] Archives upload complete. [2023-03-29T22:54:02.822Z] INFO: archiving logs to Nexus