Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d409af3bd0fba63b40d257f003d279b070a23e5b 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-ssh9650352428706132235.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh15421616445187315181.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17683941705966702762.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9701772722902113644.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-ssh5338917754721181911.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7807 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/oundry_app-functions-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision d409af3bd0fba63b40d257f003d279b070a23e5b (main) Commit message: "feat: Support JWT microservice authentication (#1331)" > git config core.sparsecheckout # timeout=10 > git checkout -f d409af3bd0fba63b40d257f003d279b070a23e5b # timeout=10 > git rev-list --no-walk 59d0a14a7a89f5760de83297ac9586da23f1db8b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-28T22:53:17.066Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-28T22:53:17.128Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-28T22:53:17.147Z] ========================================================= [2023-02-28T22:53:17.147Z] EdgeX Global Pipelines Version Info [2023-02-28T22:53:17.147Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-28T22:53:17.860Z] ------------------- [2023-02-28T22:53:17.860Z] stable info: [2023-02-28T22:53:17.860Z] ------------------- [2023-02-28T22:53:17.860Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-28T22:53:17.860Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-28T22:53:17.860Z] Message: update stable to v1.0.244 [2023-02-28T22:53:18.429Z] ------------------- [2023-02-28T22:53:18.429Z] experimental info: [2023-02-28T22:53:18.429Z] ------------------- [2023-02-28T22:53:18.429Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-28T22:53:18.429Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-28T22:53:18.429Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-28T22:53:18.603Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2023-02-28T22:53:18.616Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2023-02-28T22:53:18.624Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-28T22:53:18.640Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-28T22:53:18.654Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-28T22:53:18.664Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-28T22:53:18.675Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-28T22:53:18.689Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-28T22:53:18.703Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-28T22:53:18.713Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-28T22:53:18.722Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-28T22:53:18.732Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2023-02-28T22:53:18.740Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-28T22:53:18.759Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-28T22:53:18.776Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2023-02-28T22:53:18.788Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-28T22:53:18.802Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-28T22:53:18.813Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-28T22:53:18.829Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-28T22:53:18.840Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-28T22:53:18.854Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-28T22:53:18.865Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-02-28T22:53:18.878Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-28T22:53:18.894Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-28T22:53:18.904Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2023-02-28T22:53:18.918Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-28T22:53:18.929Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-28T22:53:18.942Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-02-28T22:53:18.958Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-02-28T22:53:18.969Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-02-28T22:53:18.981Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d409af3bd0fba63b40d257f003d279b070a23e5b [Pipeline] echo [2023-02-28T22:53:18.992Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d409af3 [Pipeline] echo [2023-02-28T22:53:19.003Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-28T22:53:19.361Z] + git rev-list -1 --merges d409af3bd0fba63b40d257f003d279b070a23e5b~1..d409af3bd0fba63b40d257f003d279b070a23e5b [Pipeline] echo [2023-02-28T22:53:19.401Z] -----------> git rev-list -1 --merges d409af3bd0fba63b40d257f003d279b070a23e5b~1..d409af3bd0fba63b40d257f003d279b070a23e5b d409af3bd0fba63b40d257f003d279b070a23e5b [false] [Pipeline] sh [2023-02-28T22:53:19.686Z] + git log --format=format:%s -1 d409af3bd0fba63b40d257f003d279b070a23e5b [Pipeline] echo [2023-02-28T22:53:19.699Z] ========================================================= [2023-02-28T22:53:19.699Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-28T22:53:19.699Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-28T22:53:20.022Z] + git log --format=format:%s -1 d409af3bd0fba63b40d257f003d279b070a23e5b [Pipeline] echo [2023-02-28T22:53:20.033Z] [semverPrep] GIT_COMMIT: d409af3bd0fba63b40d257f003d279b070a23e5b, Commit Message: feat: Support JWT microservice authentication (#1331) [Pipeline] echo [2023-02-28T22:53:20.043Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-28T22:53:20.391Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-28T22:53:20.391Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-28T22:53:20.391Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-28T22:53:20.391Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-28T22:53:20.391Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-28T22:53:20.391Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-28T22:53:20.391Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T22:53:20.804Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-28T22:53:20.804Z] [2023-02-28T22:53:20.804Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T22:53:21.100Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-28T22:53:21.100Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-28T22:53:21.100Z] b85a868b505f: Pulling fs layer [2023-02-28T22:53:21.100Z] e2be974225ed: Pulling fs layer [2023-02-28T22:53:21.100Z] 339a4e72a1f5: Pulling fs layer [2023-02-28T22:53:21.100Z] 988bab9f4d93: Pulling fs layer [2023-02-28T22:53:21.100Z] 1469e6f7b9e6: Pulling fs layer [2023-02-28T22:53:21.100Z] eaf3925da568: Pulling fs layer [2023-02-28T22:53:21.100Z] bab4dde63d76: Pulling fs layer [2023-02-28T22:53:21.100Z] bde34c3a00c8: Pulling fs layer [2023-02-28T22:53:21.100Z] b352a97aabf1: Pulling fs layer [2023-02-28T22:53:21.100Z] eaf3925da568: Waiting [2023-02-28T22:53:21.100Z] 1469e6f7b9e6: Waiting [2023-02-28T22:53:21.100Z] 988bab9f4d93: Waiting [2023-02-28T22:53:21.100Z] bab4dde63d76: Waiting [2023-02-28T22:53:21.100Z] bde34c3a00c8: Waiting [2023-02-28T22:53:21.100Z] 4872d77fe225: Pulling fs layer [2023-02-28T22:53:21.100Z] 5851b861e8e6: Pulling fs layer [2023-02-28T22:53:21.100Z] 4872d77fe225: Waiting [2023-02-28T22:53:21.361Z] e2be974225ed: Download complete [2023-02-28T22:53:21.361Z] 988bab9f4d93: Verifying Checksum [2023-02-28T22:53:21.361Z] 988bab9f4d93: Download complete [2023-02-28T22:53:21.361Z] 1469e6f7b9e6: Verifying Checksum [2023-02-28T22:53:21.361Z] 1469e6f7b9e6: Download complete [2023-02-28T22:53:21.361Z] eaf3925da568: Download complete [2023-02-28T22:53:21.361Z] 339a4e72a1f5: Verifying Checksum [2023-02-28T22:53:21.361Z] 339a4e72a1f5: Download complete [2023-02-28T22:53:21.361Z] bde34c3a00c8: Verifying Checksum [2023-02-28T22:53:21.361Z] bde34c3a00c8: Download complete [2023-02-28T22:53:21.620Z] b352a97aabf1: Verifying Checksum [2023-02-28T22:53:21.620Z] b352a97aabf1: Download complete [2023-02-28T22:53:21.620Z] 4872d77fe225: Verifying Checksum [2023-02-28T22:53:21.620Z] 4872d77fe225: Download complete [2023-02-28T22:53:21.620Z] 5851b861e8e6: Download complete [2023-02-28T22:53:21.620Z] b85a868b505f: Verifying Checksum [2023-02-28T22:53:21.620Z] b85a868b505f: Download complete [2023-02-28T22:53:21.878Z] bab4dde63d76: Verifying Checksum [2023-02-28T22:53:21.878Z] bab4dde63d76: Download complete [2023-02-28T22:53:22.816Z] b85a868b505f: Pull complete [2023-02-28T22:53:22.816Z] e2be974225ed: Pull complete [2023-02-28T22:53:23.075Z] 339a4e72a1f5: Pull complete [2023-02-28T22:53:23.334Z] 988bab9f4d93: Pull complete [2023-02-28T22:53:23.593Z] 1469e6f7b9e6: Pull complete [2023-02-28T22:53:23.593Z] eaf3925da568: Pull complete [2023-02-28T22:53:24.970Z] bab4dde63d76: Pull complete [2023-02-28T22:53:25.229Z] bde34c3a00c8: Pull complete [2023-02-28T22:53:25.229Z] b352a97aabf1: Pull complete [2023-02-28T22:53:25.229Z] 4872d77fe225: Pull complete [2023-02-28T22:53:25.490Z] 5851b861e8e6: Pull complete [2023-02-28T22:53:25.490Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-28T22:53:25.490Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-28T22:53:25.490Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T22:53:25.584Z] prd-ubuntu20.04-docker-8c-8g-7807 does not seem to be running inside a container [2023-02-28T22:53:25.611Z] $ 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-02-28T22:53:29.067Z] $ docker top 02789dc0ff108f50373e97e8f0d0ae8efc2ffd3a28aacd3da8cc18e0ca0e284a -eo pid,comm [2023-02-28T22:53:29.120Z] 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-02-28T22:53:29.120Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-28T22:53:29.164Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-28T22:53:29.164Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-28T22:53:29.274Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-28T22:53:29.276Z] $ docker exec 02789dc0ff108f50373e97e8f0d0ae8efc2ffd3a28aacd3da8cc18e0ca0e284a ssh-agent [2023-02-28T22:53:29.392Z] SSH_AUTH_SOCK=/tmp/ssh-w2DJcFQa2QBY/agent.32 [2023-02-28T22:53:29.392Z] SSH_AGENT_PID=38 [2023-02-28T22:53:29.398Z] Running ssh-add (command line suppressed) [2023-02-28T22:53:29.496Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5355751155194901029.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5355751155194901029.key) [2023-02-28T22:53:29.511Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-28T22:53:29.803Z] + git tag --points-at HEAD [Pipeline] } [2023-02-28T22:53:29.815Z] $ docker exec --env ******** --env ******** 02789dc0ff108f50373e97e8f0d0ae8efc2ffd3a28aacd3da8cc18e0ca0e284a ssh-agent -k [2023-02-28T22:53:29.924Z] unset SSH_AUTH_SOCK; [2023-02-28T22:53:29.925Z] unset SSH_AGENT_PID; [2023-02-28T22:53:29.925Z] echo Agent pid 38 killed; [2023-02-28T22:53:29.935Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-28T22:53:29.960Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-28T22:53:29.960Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-28T22:53:30.064Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-28T22:53:30.066Z] $ docker exec 02789dc0ff108f50373e97e8f0d0ae8efc2ffd3a28aacd3da8cc18e0ca0e284a ssh-agent [2023-02-28T22:53:30.166Z] SSH_AUTH_SOCK=/tmp/ssh-NWyhdmKQ5Gp3/agent.70 [2023-02-28T22:53:30.166Z] SSH_AGENT_PID=76 [2023-02-28T22:53:30.171Z] Running ssh-add (command line suppressed) [2023-02-28T22:53:30.266Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_13992115161701174889.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_13992115161701174889.key) [2023-02-28T22:53:30.280Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-28T22:53:30.563Z] + git semver init [2023-02-28T22:53:30.821Z] 2023-02-28 22:53:30,733 [run_init] DEBUG init version:0.0.0 force:False [2023-02-28T22:53:30.821Z] 2023-02-28 22:53:30,734 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_app-functions-sdk-go_main/.semver [2023-02-28T22:53:30.821Z] 2023-02-28 22:53:30,734 [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-02-28T22:53:30.821Z] 2023-02-28 22:53:30,735 [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-02-28T22:53:32.730Z] 2023-02-28 22:53:32,353 [append_file] DEBUG append to file:/w/workspace/oundry_app-functions-sdk-go_main/.git/info/exclude [2023-02-28T22:53:32.730Z] 2023-02-28 22:53:32,353 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:False [2023-02-28T22:53:32.730Z] 2023-02-28 22:53:32,353 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2023-02-28T22:53:32.730Z] 2023-02-28 22:53:32,353 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2023-02-28T22:53:32.730Z] 3.0.0-dev.36 [Pipeline] } [2023-02-28T22:53:32.740Z] $ docker exec --env ******** --env ******** 02789dc0ff108f50373e97e8f0d0ae8efc2ffd3a28aacd3da8cc18e0ca0e284a ssh-agent -k [2023-02-28T22:53:32.840Z] unset SSH_AUTH_SOCK; [2023-02-28T22:53:32.841Z] unset SSH_AGENT_PID; [2023-02-28T22:53:32.841Z] echo Agent pid 76 killed; [2023-02-28T22:53:32.849Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-28T22:53:33.149Z] + git semver [Pipeline] } [2023-02-28T22:53:33.422Z] $ docker stop --time=1 02789dc0ff108f50373e97e8f0d0ae8efc2ffd3a28aacd3da8cc18e0ca0e284a [2023-02-28T22:53:34.705Z] $ docker rm -f --volumes 02789dc0ff108f50373e97e8f0d0ae8efc2ffd3a28aacd3da8cc18e0ca0e284a [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-28T22:53:35.046Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-28T22:53:35.239Z] Stashed 1 file(s) [Pipeline] echo [2023-02-28T22:53:35.242Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.36 [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-02-28T22:53:35.405Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-28T22:53:35.419Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-28T22:53:35.427Z] ========================================================= [2023-02-28T22:53:35.427Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-28T22:53:35.427Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-02-28T22:53:35.721Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-28T22:53:35.721Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-28T22:53:35.721Z] 213ec9aee27d: Pulling fs layer [2023-02-28T22:53:35.721Z] 4583459ba037: Pulling fs layer [2023-02-28T22:53:35.721Z] 93c1e223e6f2: Pulling fs layer [2023-02-28T22:53:35.721Z] 53926ce57604: Pulling fs layer [2023-02-28T22:53:35.721Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-28T22:53:35.721Z] 22ff95d597cd: Pulling fs layer [2023-02-28T22:53:35.721Z] 12d6caf4c0d1: Pulling fs layer [2023-02-28T22:53:35.721Z] 96b7cbca73a9: Pulling fs layer [2023-02-28T22:53:35.721Z] a7acece74701: Pulling fs layer [2023-02-28T22:53:35.721Z] 21b2b0c7a3f4: Waiting [2023-02-28T22:53:35.721Z] 53926ce57604: Waiting [2023-02-28T22:53:35.721Z] 12d6caf4c0d1: Waiting [2023-02-28T22:53:35.721Z] 22ff95d597cd: Waiting [2023-02-28T22:53:35.721Z] 96b7cbca73a9: Waiting [2023-02-28T22:53:35.721Z] a7acece74701: Waiting [2023-02-28T22:53:35.721Z] 93c1e223e6f2: Download complete [2023-02-28T22:53:35.721Z] 4583459ba037: Download complete [2023-02-28T22:53:35.721Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-28T22:53:35.721Z] 21b2b0c7a3f4: Download complete [2023-02-28T22:53:35.721Z] 22ff95d597cd: Verifying Checksum [2023-02-28T22:53:35.721Z] 22ff95d597cd: Download complete [2023-02-28T22:53:35.721Z] 213ec9aee27d: Verifying Checksum [2023-02-28T22:53:35.721Z] 213ec9aee27d: Download complete [2023-02-28T22:53:35.721Z] 12d6caf4c0d1: Verifying Checksum [2023-02-28T22:53:35.721Z] 12d6caf4c0d1: Download complete [2023-02-28T22:53:35.983Z] 213ec9aee27d: Pull complete [2023-02-28T22:53:35.983Z] 4583459ba037: Pull complete [2023-02-28T22:53:35.983Z] 93c1e223e6f2: Pull complete [2023-02-28T22:53:36.558Z] a7acece74701: Verifying Checksum [2023-02-28T22:53:36.558Z] a7acece74701: Download complete [2023-02-28T22:53:36.558Z] 96b7cbca73a9: Verifying Checksum [2023-02-28T22:53:36.558Z] 96b7cbca73a9: Download complete [2023-02-28T22:53:36.558Z] 53926ce57604: Download complete [2023-02-28T22:53:39.835Z] 53926ce57604: Pull complete [2023-02-28T22:53:40.096Z] 21b2b0c7a3f4: Pull complete [2023-02-28T22:53:40.096Z] 22ff95d597cd: Pull complete [2023-02-28T22:53:40.096Z] 12d6caf4c0d1: Pull complete [2023-02-28T22:53:42.002Z] 96b7cbca73a9: Pull complete [2023-02-28T22:53:42.934Z] a7acece74701: Pull complete [2023-02-28T22:53:42.934Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-28T22:53:42.934Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-28T22:53:42.934Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] sh [2023-02-28T22:53:43.220Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T22:53:43.516Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-28T22:53:43.516Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T22:53:43.586Z] prd-ubuntu20.04-docker-8c-8g-7807 does not seem to be running inside a container [2023-02-28T22:53:43.616Z] $ 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-02-28T22:53:48.971Z] $ docker top 085700528fe3687a6ac0c0e59d6244f57c8588f19761e0c452f247c56bf05d61 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T22:53:49.310Z] + go version [2023-02-28T22:53:49.310Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-28T22:53:49.323Z] $ docker stop --time=1 085700528fe3687a6ac0c0e59d6244f57c8588f19761e0c452f247c56bf05d61 [2023-02-28T22:53:50.351Z] Still waiting to schedule task [2023-02-28T22:53:50.352Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-28T22:53:50.587Z] $ docker rm -f --volumes 085700528fe3687a6ac0c0e59d6244f57c8588f19761e0c452f247c56bf05d61 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T22:53:50.972Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-28T22:53:50.972Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T22:53:51.036Z] prd-ubuntu20.04-docker-8c-8g-7807 does not seem to be running inside a container [2023-02-28T22:53:51.066Z] $ 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-02-28T22:53:51.386Z] $ docker top ef0797b250f41dd9394d9340d4af15da3f6402b83d7592fdb4b570b2b492c52f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T22:53:51.715Z] + git config --global --add safe.directory /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-02-28T22:53:52.009Z] + make test [2023-02-28T22:53:52.009Z] make -C ./app-service-template build [2023-02-28T22:53:52.009Z] make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2023-02-28T22:53:52.009Z] go mod tidy [2023-02-28T22:53:52.009Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.23 [2023-02-28T22:53:52.009Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 [2023-02-28T22:53:52.009Z] go: downloading github.com/google/uuid v1.3.0 [2023-02-28T22:53:52.009Z] go: downloading github.com/stretchr/testify v1.8.2 [2023-02-28T22:53:52.269Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.35 [2023-02-28T22:53:52.269Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.12 [2023-02-28T22:53:52.269Z] go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.0.0-dev.5 [2023-02-28T22:53:52.269Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2023-02-28T22:53:52.269Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2023-02-28T22:53:52.269Z] go: downloading github.com/stretchr/objx v0.5.0 [2023-02-28T22:53:52.269Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2023-02-28T22:53:52.269Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.7 [2023-02-28T22:53:52.269Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.2 [2023-02-28T22:53:52.269Z] go: downloading github.com/go-playground/validator/v10 v10.11.2 [2023-02-28T22:53:52.269Z] go: downloading github.com/go-kit/log v0.2.1 [2023-02-28T22:53:52.269Z] go: downloading github.com/gorilla/mux v1.8.0 [2023-02-28T22:53:52.269Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2023-02-28T22:53:52.269Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2023-02-28T22:53:52.269Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0-dev.6 [2023-02-28T22:53:52.269Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.8 [2023-02-28T22:53:52.269Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2023-02-28T22:53:52.269Z] go: downloading github.com/pelletier/go-toml v1.9.5 [2023-02-28T22:53:52.269Z] go: downloading github.com/mitchellh/copystructure v1.2.0 [2023-02-28T22:53:52.269Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2023-02-28T22:53:52.269Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2023-02-28T22:53:52.269Z] go: downloading github.com/hashicorp/consul/api v1.19.1 [2023-02-28T22:53:52.269Z] go: downloading github.com/gorilla/websocket v1.4.2 [2023-02-28T22:53:52.269Z] go: downloading golang.org/x/net v0.7.0 [2023-02-28T22:53:52.269Z] go: downloading golang.org/x/sync v0.1.0 [2023-02-28T22:53:52.269Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2023-02-28T22:53:52.269Z] go: downloading github.com/leodido/go-urn v1.2.1 [2023-02-28T22:53:52.269Z] go: downloading golang.org/x/crypto v0.5.0 [2023-02-28T22:53:52.269Z] go: downloading golang.org/x/text v0.7.0 [2023-02-28T22:53:52.269Z] go: downloading github.com/go-playground/locales v0.14.1 [2023-02-28T22:53:52.528Z] go: downloading github.com/x448/float16 v0.8.4 [2023-02-28T22:53:52.528Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.1.2 [2023-02-28T22:53:52.528Z] go: downloading github.com/mitchellh/reflectwalk v1.0.2 [2023-02-28T22:53:52.528Z] go: downloading github.com/nats-io/nats.go v1.24.0 [2023-02-28T22:53:52.786Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2023-02-28T22:53:52.786Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2023-02-28T22:53:52.786Z] go: downloading github.com/go-playground/assert/v2 v2.2.0 [2023-02-28T22:53:52.786Z] go: downloading github.com/nats-io/nats-server/v2 v2.9.14 [2023-02-28T22:53:52.786Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2023-02-28T22:53:52.786Z] go: downloading github.com/hashicorp/go-hclog v0.14.1 [2023-02-28T22:53:52.786Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2023-02-28T22:53:52.786Z] go: downloading github.com/hashicorp/serf v0.10.1 [2023-02-28T22:53:52.786Z] go: downloading github.com/mitchellh/mapstructure v1.5.0 [2023-02-28T22:53:53.043Z] go: downloading github.com/google/go-cmp v0.5.9 [2023-02-28T22:53:53.043Z] go: downloading github.com/hashicorp/consul/sdk v0.13.1 [2023-02-28T22:53:53.043Z] go: downloading github.com/hashicorp/go-uuid v1.0.2 [2023-02-28T22:53:53.043Z] go: downloading golang.org/x/sys v0.5.0 [2023-02-28T22:53:53.043Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2023-02-28T22:53:53.043Z] go: downloading github.com/Microsoft/go-winio v0.6.0 [2023-02-28T22:53:53.043Z] go: downloading github.com/zeebo/errs v1.3.0 [2023-02-28T22:53:53.043Z] go: downloading google.golang.org/grpc v1.51.0 [2023-02-28T22:53:53.302Z] go: downloading github.com/nats-io/nkeys v0.3.0 [2023-02-28T22:53:53.302Z] go: downloading github.com/nats-io/nuid v1.0.1 [2023-02-28T22:53:53.302Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2023-02-28T22:53:53.302Z] go: downloading github.com/onsi/gomega v1.7.0 [2023-02-28T22:53:53.302Z] go: downloading github.com/kr/pretty v0.3.0 [2023-02-28T22:53:53.302Z] go: downloading github.com/fatih/color v1.9.0 [2023-02-28T22:53:53.302Z] go: downloading github.com/mattn/go-colorable v0.1.12 [2023-02-28T22:53:53.302Z] go: downloading github.com/mattn/go-isatty v0.0.14 [2023-02-28T22:53:53.302Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2023-02-28T22:53:53.302Z] go: downloading github.com/armon/go-metrics v0.3.10 [2023-02-28T22:53:53.302Z] go: downloading github.com/hashicorp/go-version v1.2.1 [2023-02-28T22:53:53.302Z] go: downloading github.com/pkg/errors v0.9.1 [2023-02-28T22:53:53.302Z] go: downloading github.com/klauspost/compress v1.15.15 [2023-02-28T22:53:53.302Z] go: downloading github.com/minio/highwayhash v1.0.2 [2023-02-28T22:53:53.302Z] go: downloading github.com/nats-io/jwt/v2 v2.3.0 [2023-02-28T22:53:53.302Z] go: downloading golang.org/x/time v0.3.0 [2023-02-28T22:53:53.302Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2023-02-28T22:53:53.302Z] go: downloading github.com/hashicorp/memberlist v0.5.0 [2023-02-28T22:53:53.302Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2023-02-28T22:53:53.302Z] go: downloading gopkg.in/square/go-jose.v2 v2.6.0 [2023-02-28T22:53:53.302Z] go: downloading golang.org/x/tools v0.5.0 [2023-02-28T22:53:53.302Z] go: downloading google.golang.org/protobuf v1.28.1 [2023-02-28T22:53:53.561Z] go: downloading github.com/golang/protobuf v1.5.2 [2023-02-28T22:53:53.561Z] go: downloading google.golang.org/genproto v0.0.0-20230109162033-3c3c17ce83e6 [2023-02-28T22:53:53.561Z] go: downloading github.com/kr/text v0.2.0 [2023-02-28T22:53:53.561Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2023-02-28T22:53:53.561Z] go: downloading github.com/hashicorp/go-immutable-radix v1.3.0 [2023-02-28T22:53:53.561Z] go: downloading github.com/pascaldekloe/goe v0.1.0 [2023-02-28T22:53:53.819Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2023-02-28T22:53:53.819Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.2 [2023-02-28T22:53:53.819Z] go: downloading github.com/miekg/dns v1.1.41 [2023-02-28T22:53:53.819Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2023-02-28T22:53:53.819Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2023-02-28T22:53:53.819Z] go: downloading github.com/hpcloud/tail v1.0.0 [2023-02-28T22:53:53.819Z] go: downloading github.com/hashicorp/golang-lru v0.5.4 [2023-02-28T22:53:53.819Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2023-02-28T22:53:53.819Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2023-02-28T22:53:53.819Z] go: downloading golang.org/x/mod v0.7.0 [2023-02-28T22:53:54.753Z] 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-02-28T22:54:09.623Z] make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2023-02-28T22:54:09.623Z] make -C ./app-service-template test [2023-02-28T22:54:09.623Z] make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2023-02-28T22:54:09.623Z] go test -race -coverprofile=coverage.out ./... [2023-02-28T22:54:27.687Z] ok app-new-service 0.064s coverage: 48.1% of statements [2023-02-28T22:54:27.687Z] ? app-new-service/config [no test files] [2023-02-28T22:54:27.687Z] ok app-new-service/functions 0.084s coverage: 85.3% of statements [2023-02-28T22:54:27.687Z] go vet ./... [2023-02-28T22:54:37.645Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-28T22:54:37.645Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-28T22:54:37.645Z] ./bin/test-attribution-txt.sh [2023-02-28T22:54:37.645Z] make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2023-02-28T22:54:37.645Z] go test -race -coverprofile=coverage.out ./... [2023-02-28T22:54:37.645Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.29 [2023-02-28T22:54:37.645Z] go: downloading github.com/gomodule/redigo v1.8.9 [2023-02-28T22:54:37.645Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.7 [2023-02-28T22:54:37.645Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal [no test files] [2023-02-28T22:54:41.822Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/app 0.098s coverage: 64.6% of statements [2023-02-28T22:54:41.822Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/appfunction 0.069s coverage: 93.0% of statements [2023-02-28T22:54:41.822Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/container [no test files] [2023-02-28T22:54:41.822Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/handlers 0.110s coverage: 85.1% of statements [2023-02-28T22:54:41.822Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/common [no test files] [2023-02-28T22:54:41.822Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/controller/rest 0.056s coverage: 87.8% of statements [2023-02-28T22:54:41.822Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/etm 0.047s coverage: 100.0% of statements [2023-02-28T22:54:41.822Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/runtime 0.145s coverage: 77.9% of statements [2023-02-28T22:54:41.822Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db [no test files] [2023-02-28T22:54:41.822Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis [no test files] [2023-02-28T22:54:41.822Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis/models 0.062s coverage: 97.3% of statements [2023-02-28T22:54:41.822Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger [no test files] [2023-02-28T22:54:41.822Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http 0.090s coverage: 82.8% of statements [2023-02-28T22:54:41.822Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http/mocks [no test files] [2023-02-28T22:54:41.822Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/messagebus 0.093s coverage: 65.2% of statements [2023-02-28T22:54:41.822Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mocks [no test files] [2023-02-28T22:54:41.822Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt 0.059s coverage: 28.7% of statements [2023-02-28T22:54:41.822Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt/mocks [no test files] [2023-02-28T22:54:41.822Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/webserver 0.073s coverage: 11.7% of statements [2023-02-28T22:54:41.822Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg 0.075s coverage: 27.3% of statements [2023-02-28T22:54:41.822Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces [no test files] [2023-02-28T22:54:41.822Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-28T22:54:41.822Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/secure 0.054s coverage: 52.8% of statements [2023-02-28T22:55:08.363Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/transforms 25.154s coverage: 75.2% of statements [2023-02-28T22:55:08.363Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/util 0.063s coverage: 94.4% of statements [2023-02-28T22:55:08.363Z] go vet ./... [2023-02-28T22:55:08.363Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-28T22:55:08.363Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-28T22:55:14.915Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [Pipeline] echo [2023-02-28T22:55:14.926Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-28T22:55:14.941Z] $ docker stop --time=1 ef0797b250f41dd9394d9340d4af15da3f6402b83d7592fdb4b570b2b492c52f [2023-02-28T22:55:16.702Z] $ docker rm -f --volumes ef0797b250f41dd9394d9340d4af15da3f6402b83d7592fdb4b570b2b492c52f [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-28T22:55:17.499Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-28T22:55:17.586Z] 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-02-28T22:55:18.031Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-28T22:55:18.031Z] [2023-02-28T22:55:18.031Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T22:55:18.333Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-28T22:55:18.333Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-28T22:55:18.333Z] 5eb5b503b376: Pulling fs layer [2023-02-28T22:55:18.333Z] 5c69ac0246d0: Pulling fs layer [2023-02-28T22:55:18.333Z] ec43610c2a17: Pulling fs layer [2023-02-28T22:55:18.333Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-28T22:55:18.333Z] 33b1e0a273af: Pulling fs layer [2023-02-28T22:55:18.333Z] 5d3b04190fa2: Pulling fs layer [2023-02-28T22:55:18.333Z] 2f39f015ded8: Pulling fs layer [2023-02-28T22:55:18.333Z] 33b1e0a273af: Waiting [2023-02-28T22:55:18.333Z] 5d3b04190fa2: Waiting [2023-02-28T22:55:18.333Z] 2f39f015ded8: Waiting [2023-02-28T22:55:18.333Z] 3a2ae6a8a46f: Waiting [2023-02-28T22:55:18.596Z] 5c69ac0246d0: Verifying Checksum [2023-02-28T22:55:18.596Z] 5c69ac0246d0: Download complete [2023-02-28T22:55:18.596Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-28T22:55:18.596Z] 3a2ae6a8a46f: Download complete [2023-02-28T22:55:18.596Z] 33b1e0a273af: Verifying Checksum [2023-02-28T22:55:18.596Z] 33b1e0a273af: Download complete [2023-02-28T22:55:18.596Z] 5d3b04190fa2: Verifying Checksum [2023-02-28T22:55:18.596Z] 5d3b04190fa2: Download complete [2023-02-28T22:55:18.596Z] ec43610c2a17: Verifying Checksum [2023-02-28T22:55:18.596Z] ec43610c2a17: Download complete [2023-02-28T22:55:18.855Z] 5eb5b503b376: Verifying Checksum [2023-02-28T22:55:18.855Z] 5eb5b503b376: Download complete [2023-02-28T22:55:19.418Z] 2f39f015ded8: Download complete [2023-02-28T22:55:19.676Z] 5eb5b503b376: Pull complete [2023-02-28T22:55:19.934Z] 5c69ac0246d0: Pull complete [2023-02-28T22:55:20.191Z] ec43610c2a17: Pull complete [2023-02-28T22:55:20.243Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7809 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2023-02-28T22:55:20.258Z] Running in /w/workspace/app-functions-sdk-go/226 [Pipeline] { [Pipeline] checkout [2023-02-28T22:55:20.285Z] The recommended git tool is: git [2023-02-28T22:55:20.449Z] 3a2ae6a8a46f: Pull complete [2023-02-28T22:55:20.449Z] 33b1e0a273af: Pull complete [2023-02-28T22:55:20.709Z] 5d3b04190fa2: Pull complete [2023-02-28T22:55:24.890Z] 2f39f015ded8: Pull complete [2023-02-28T22:55:24.890Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-28T22:55:24.890Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-28T22:55:24.890Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T22:55:25.076Z] prd-ubuntu20.04-docker-8c-8g-7807 does not seem to be running inside a container [2023-02-28T22:55:25.118Z] using credential edgex-jenkins-ssh [2023-02-28T22:55:25.134Z] Cloning the remote Git repository [2023-02-28T22:55:25.185Z] $ 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-02-28T22:55:25.177Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2023-02-28T22:55:25.245Z] > git init /w/workspace/app-functions-sdk-go/226 # timeout=10 [2023-02-28T22:55:25.384Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2023-02-28T22:55:25.385Z] > git --version # timeout=10 [2023-02-28T22:55:25.403Z] > git --version # 'git version 2.25.1' [2023-02-28T22:55:25.405Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-28T22:55:25.466Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-28T22:55:28.816Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2023-02-28T22:55:28.843Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-28T22:55:29.643Z] Avoid second fetch [2023-02-28T22:55:29.644Z] Checking out Revision d409af3bd0fba63b40d257f003d279b070a23e5b (main) [2023-02-28T22:55:29.688Z] $ docker top 32a37ff685c5741766cf5f32c98ddc4b402ca6939549d195c973d7deb6902a7d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T22:55:30.073Z] ---> job-cost.sh [2023-02-28T22:55:30.073Z] lf-activate-venv: SKIPPING [2023-02-28T22:55:30.073Z] INFO: No Stack... [2023-02-28T22:55:30.158Z] Commit message: "feat: Support JWT microservice authentication (#1331)" [2023-02-28T22:55:30.332Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-28T22:55:29.661Z] > git config core.sparsecheckout # timeout=10 [2023-02-28T22:55:29.678Z] > git checkout -f d409af3bd0fba63b40d257f003d279b070a23e5b # timeout=10 [2023-02-28T22:55:30.485Z] [2023-02-28T22:55:30.485Z] GitHub has been notified of this commit’s build result [2023-02-28T22:55:30.485Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-28T22:55:30.590Z] INFO: Archiving Costs [Pipeline] sh [2023-02-28T22:55:30.988Z] + cat /w/workspace/oundry_app-functions-sdk-go_main/archives/cost.csv [2023-02-28T22:55:30.988Z] + cut -d, -f6 [Pipeline] lock [2023-02-28T22:55:31.003Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-226-stack-cost] [2023-02-28T22:55:31.008Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-226-stack-cost] did not exist. Created. [2023-02-28T22:55:31.008Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-226-stack-cost] [2023-02-28T22:55:31.008Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-28T22:55:31.009Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-28T22:55:31.009Z] Dload Upload Total Spent Left Speed [2023-02-28T22:55:31.009Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] { [Pipeline] unstash [Pipeline] sh [Pipeline] sh [2023-02-28T22:55:31.312Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-28T22:55:31.400Z] Stashed 1 file(s) [Pipeline] } [2023-02-28T22:55:31.409Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-226-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-28T22:55:31.432Z] $ docker stop --time=1 32a37ff685c5741766cf5f32c98ddc4b402ca6939549d195c973d7deb6902a7d [2023-02-28T22:55:31.627Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [2023-02-28T22:55:32.581Z] $ docker rm -f --volumes 32a37ff685c5741766cf5f32c98ddc4b402ca6939549d195c973d7deb6902a7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-28T22:55:32.933Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-28T22:55:32.934Z] + sudo tee /etc/docker/daemon.new [2023-02-28T22:55:32.934Z] { [2023-02-28T22:55:32.934Z] "registry-mirrors": [ [2023-02-28T22:55:32.934Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-28T22:55:32.934Z] ], [2023-02-28T22:55:32.934Z] "bip": "10.250.0.254/24", [2023-02-28T22:55:32.934Z] "hosts": [ [2023-02-28T22:55:32.934Z] "tcp://0.0.0.0:5555", [2023-02-28T22:55:32.934Z] "unix:///var/run/docker.sock" [2023-02-28T22:55:32.934Z] ], [2023-02-28T22:55:32.934Z] "mtu": 1458, [2023-02-28T22:55:32.934Z] "selinux-enabled": true, [2023-02-28T22:55:32.934Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-28T22:55:32.934Z] } [Pipeline] sh [2023-02-28T22:55:33.258Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-28T22:55:33.595Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2023-02-28T22:55:52.061Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-28T22:55:52.074Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-28T22:55:52.084Z] ========================================================= [2023-02-28T22:55:52.084Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-28T22:55:52.084Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-02-28T22:55:52.415Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-28T22:55:53.012Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-28T22:55:53.012Z] 9b18e9b68314: Pulling fs layer [2023-02-28T22:55:53.012Z] 35d82f9e3411: Pulling fs layer [2023-02-28T22:55:53.012Z] e16973657156: Pulling fs layer [2023-02-28T22:55:53.012Z] fc693d55d65f: Pulling fs layer [2023-02-28T22:55:53.012Z] 7e9fc2657dce: Pulling fs layer [2023-02-28T22:55:53.012Z] dda99020689f: Pulling fs layer [2023-02-28T22:55:53.012Z] db1c61fa0a46: Pulling fs layer [2023-02-28T22:55:53.012Z] 891c053d2c06: Pulling fs layer [2023-02-28T22:55:53.012Z] 7e9fc2657dce: Waiting [2023-02-28T22:55:53.012Z] dda99020689f: Waiting [2023-02-28T22:55:53.012Z] db1c61fa0a46: Waiting [2023-02-28T22:55:53.012Z] 891c053d2c06: Waiting [2023-02-28T22:55:53.012Z] fc693d55d65f: Waiting [2023-02-28T22:55:53.012Z] e16973657156: Verifying Checksum [2023-02-28T22:55:53.012Z] e16973657156: Download complete [2023-02-28T22:55:53.012Z] 35d82f9e3411: Verifying Checksum [2023-02-28T22:55:53.012Z] 35d82f9e3411: Download complete [2023-02-28T22:55:53.012Z] 7e9fc2657dce: Verifying Checksum [2023-02-28T22:55:53.012Z] 7e9fc2657dce: Download complete [2023-02-28T22:55:53.012Z] dda99020689f: Verifying Checksum [2023-02-28T22:55:53.012Z] dda99020689f: Download complete [2023-02-28T22:55:53.012Z] 9b18e9b68314: Download complete [2023-02-28T22:55:53.993Z] 9b18e9b68314: Pull complete [2023-02-28T22:55:53.993Z] 891c053d2c06: Verifying Checksum [2023-02-28T22:55:53.993Z] 891c053d2c06: Download complete [2023-02-28T22:55:54.270Z] 35d82f9e3411: Pull complete [2023-02-28T22:55:54.547Z] e16973657156: Pull complete [2023-02-28T22:55:55.517Z] db1c61fa0a46: Verifying Checksum [2023-02-28T22:55:55.517Z] db1c61fa0a46: Download complete [2023-02-28T22:55:55.786Z] fc693d55d65f: Verifying Checksum [2023-02-28T22:55:55.786Z] fc693d55d65f: Download complete [2023-02-28T22:56:08.164Z] fc693d55d65f: Pull complete [2023-02-28T22:56:08.164Z] 7e9fc2657dce: Pull complete [2023-02-28T22:56:08.164Z] dda99020689f: Pull complete [2023-02-28T22:56:14.845Z] db1c61fa0a46: Pull complete [2023-02-28T22:56:17.440Z] 891c053d2c06: Pull complete [2023-02-28T22:56:17.440Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-28T22:56:17.440Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-28T22:56:17.440Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] sh [2023-02-28T22:56:17.779Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T22:56:18.141Z] + docker inspect -f . ci-base-image-arm64 [2023-02-28T22:56:18.141Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T22:56:18.356Z] prd-ubuntu20.04-docker-arm64-4c-16g-7809 does not seem to be running inside a container [2023-02-28T22:56:18.442Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/226 -v /w/workspace/app-functions-sdk-go/226:/w/workspace/app-functions-sdk-go/226:rw,z -v /w/workspace/app-functions-sdk-go/226@tmp:/w/workspace/app-functions-sdk-go/226@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-02-28T22:56:21.728Z] $ docker top 887b3d16ca8c9d6672a182a5dde306fcebae64b7c3b3d813cdf6cd42e921e853 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T22:56:22.567Z] + go version [2023-02-28T22:56:22.567Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-28T22:56:22.588Z] $ docker stop --time=1 887b3d16ca8c9d6672a182a5dde306fcebae64b7c3b3d813cdf6cd42e921e853 [2023-02-28T22:56:24.251Z] $ docker rm -f --volumes 887b3d16ca8c9d6672a182a5dde306fcebae64b7c3b3d813cdf6cd42e921e853 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T22:56:24.833Z] + docker inspect -f . ci-base-image-arm64 [2023-02-28T22:56:24.833Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T22:56:25.029Z] prd-ubuntu20.04-docker-arm64-4c-16g-7809 does not seem to be running inside a container [2023-02-28T22:56:25.095Z] $ 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/226 -v /w/workspace/app-functions-sdk-go/226:/w/workspace/app-functions-sdk-go/226:rw,z -v /w/workspace/app-functions-sdk-go/226@tmp:/w/workspace/app-functions-sdk-go/226@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-02-28T22:56:26.285Z] $ docker top cde9f74822b6e9d43b0771e50b2c1dbe973f34d73473d1633ca52e26ba4dd09a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T22:56:26.808Z] + git config --global --add safe.directory /w/workspace/app-functions-sdk-go/226 [Pipeline] fileExists [Pipeline] sh [2023-02-28T22:56:27.146Z] + make test [2023-02-28T22:56:27.423Z] make -C ./app-service-template build [2023-02-28T22:56:27.423Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/226/app-service-template' [2023-02-28T22:56:27.423Z] go mod tidy [2023-02-28T22:56:27.423Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.23 [2023-02-28T22:56:27.423Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 [2023-02-28T22:56:27.693Z] go: downloading github.com/google/uuid v1.3.0 [2023-02-28T22:56:27.693Z] go: downloading github.com/stretchr/testify v1.8.2 [2023-02-28T22:56:27.966Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.35 [2023-02-28T22:56:27.966Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.12 [2023-02-28T22:56:27.966Z] go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.0.0-dev.5 [2023-02-28T22:56:27.966Z] go: downloading github.com/go-playground/validator/v10 v10.11.2 [2023-02-28T22:56:27.966Z] go: downloading github.com/go-kit/log v0.2.1 [2023-02-28T22:56:27.966Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2023-02-28T22:56:27.966Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2023-02-28T22:56:28.234Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2023-02-28T22:56:28.234Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2023-02-28T22:56:28.234Z] go: downloading github.com/stretchr/objx v0.5.0 [2023-02-28T22:56:28.234Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.8 [2023-02-28T22:56:28.234Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.7 [2023-02-28T22:56:28.234Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.2 [2023-02-28T22:56:28.520Z] go: downloading github.com/gorilla/mux v1.8.0 [2023-02-28T22:56:28.520Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2023-02-28T22:56:28.520Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0-dev.6 [2023-02-28T22:56:28.520Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2023-02-28T22:56:28.520Z] go: downloading github.com/x448/float16 v0.8.4 [2023-02-28T22:56:28.520Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2023-02-28T22:56:28.520Z] go: downloading github.com/leodido/go-urn v1.2.1 [2023-02-28T22:56:28.520Z] go: downloading golang.org/x/crypto v0.5.0 [2023-02-28T22:56:28.520Z] go: downloading golang.org/x/text v0.7.0 [2023-02-28T22:56:29.120Z] go: downloading github.com/go-playground/locales v0.14.1 [2023-02-28T22:56:29.726Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2023-02-28T22:56:29.726Z] go: downloading github.com/go-playground/assert/v2 v2.2.0 [2023-02-28T22:56:31.676Z] go: downloading github.com/mitchellh/copystructure v1.2.0 [2023-02-28T22:56:31.676Z] go: downloading github.com/pelletier/go-toml v1.9.5 [2023-02-28T22:56:31.676Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2023-02-28T22:56:31.676Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2023-02-28T22:56:31.676Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.1.2 [2023-02-28T22:56:31.676Z] go: downloading github.com/gorilla/websocket v1.4.2 [2023-02-28T22:56:31.950Z] go: downloading golang.org/x/net v0.7.0 [2023-02-28T22:56:31.950Z] go: downloading golang.org/x/sync v0.1.0 [2023-02-28T22:56:31.950Z] go: downloading github.com/hashicorp/consul/api v1.19.1 [2023-02-28T22:56:31.950Z] go: downloading golang.org/x/sys v0.5.0 [2023-02-28T22:56:31.950Z] go: downloading github.com/kr/pretty v0.3.0 [2023-02-28T22:56:31.950Z] go: downloading github.com/mitchellh/reflectwalk v1.0.2 [2023-02-28T22:56:31.950Z] go: downloading github.com/nats-io/nats.go v1.24.0 [2023-02-28T22:56:32.216Z] go: downloading github.com/nats-io/nats-server/v2 v2.9.14 [2023-02-28T22:56:32.216Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2023-02-28T22:56:32.483Z] go: downloading github.com/Microsoft/go-winio v0.6.0 [2023-02-28T22:56:32.751Z] go: downloading github.com/zeebo/errs v1.3.0 [2023-02-28T22:56:32.751Z] go: downloading google.golang.org/grpc v1.51.0 [2023-02-28T22:56:33.722Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2023-02-28T22:56:33.722Z] go: downloading github.com/kr/text v0.2.0 [2023-02-28T22:56:33.722Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2023-02-28T22:56:33.722Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2023-02-28T22:56:33.722Z] go: downloading github.com/hashicorp/go-hclog v0.14.1 [2023-02-28T22:56:33.722Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2023-02-28T22:56:33.722Z] go: downloading github.com/hashicorp/serf v0.10.1 [2023-02-28T22:56:33.722Z] go: downloading github.com/mitchellh/mapstructure v1.5.0 [2023-02-28T22:56:33.722Z] go: downloading github.com/google/go-cmp v0.5.9 [2023-02-28T22:56:33.988Z] go: downloading github.com/hashicorp/consul/sdk v0.13.1 [2023-02-28T22:56:33.988Z] go: downloading github.com/hashicorp/go-uuid v1.0.2 [2023-02-28T22:56:33.988Z] go: downloading github.com/nats-io/nkeys v0.3.0 [2023-02-28T22:56:33.988Z] go: downloading github.com/nats-io/nuid v1.0.1 [2023-02-28T22:56:33.988Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2023-02-28T22:56:33.988Z] go: downloading github.com/onsi/gomega v1.7.0 [2023-02-28T22:56:33.988Z] go: downloading gopkg.in/square/go-jose.v2 v2.6.0 [2023-02-28T22:56:34.254Z] go: downloading golang.org/x/tools v0.5.0 [2023-02-28T22:56:34.254Z] go: downloading google.golang.org/protobuf v1.28.1 [2023-02-28T22:56:35.428Z] go: downloading github.com/klauspost/compress v1.15.15 [2023-02-28T22:56:35.428Z] go: downloading github.com/minio/highwayhash v1.0.2 [2023-02-28T22:56:35.428Z] go: downloading github.com/nats-io/jwt/v2 v2.3.0 [2023-02-28T22:56:35.428Z] go: downloading golang.org/x/time v0.3.0 [2023-02-28T22:56:35.428Z] go: downloading google.golang.org/genproto v0.0.0-20230109162033-3c3c17ce83e6 [2023-02-28T22:56:36.027Z] go: downloading github.com/golang/protobuf v1.5.2 [2023-02-28T22:56:38.627Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2023-02-28T22:56:38.627Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2023-02-28T22:56:38.627Z] go: downloading github.com/fatih/color v1.9.0 [2023-02-28T22:56:38.627Z] go: downloading github.com/mattn/go-colorable v0.1.12 [2023-02-28T22:56:38.627Z] go: downloading github.com/mattn/go-isatty v0.0.14 [2023-02-28T22:56:38.627Z] go: downloading github.com/hashicorp/go-version v1.2.1 [2023-02-28T22:56:38.627Z] go: downloading github.com/pkg/errors v0.9.1 [2023-02-28T22:56:38.627Z] go: downloading github.com/armon/go-metrics v0.3.10 [2023-02-28T22:56:38.627Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2023-02-28T22:56:38.627Z] go: downloading github.com/hashicorp/memberlist v0.5.0 [2023-02-28T22:56:38.906Z] go: downloading github.com/hashicorp/go-immutable-radix v1.3.0 [2023-02-28T22:56:38.906Z] go: downloading github.com/pascaldekloe/goe v0.1.0 [2023-02-28T22:56:38.906Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2023-02-28T22:56:38.906Z] go: downloading github.com/hpcloud/tail v1.0.0 [2023-02-28T22:56:38.906Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2023-02-28T22:56:38.906Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.2 [2023-02-28T22:56:39.172Z] go: downloading github.com/miekg/dns v1.1.41 [2023-02-28T22:56:39.172Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2023-02-28T22:56:39.172Z] go: downloading github.com/hashicorp/golang-lru v0.5.4 [2023-02-28T22:56:39.172Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2023-02-28T22:56:39.172Z] go: downloading golang.org/x/mod v0.7.0 [2023-02-28T22:56:39.172Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2023-02-28T22:56:39.439Z] 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-02-28T22:58:31.116Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/226/app-service-template' [2023-02-28T22:58:31.116Z] make -C ./app-service-template test [2023-02-28T22:58:31.116Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/226/app-service-template' [2023-02-28T22:58:31.116Z] go test -race -coverprofile=coverage.out ./... [2023-02-28T23:01:22.887Z] ok app-new-service 0.277s coverage: 48.1% of statements [2023-02-28T23:01:22.887Z] ? app-new-service/config [no test files] [2023-02-28T23:01:22.887Z] ok app-new-service/functions 0.275s coverage: 85.3% of statements [2023-02-28T23:01:22.887Z] go vet ./... [2023-02-28T23:02:44.515Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-28T23:02:44.515Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-28T23:02:44.515Z] ./bin/test-attribution-txt.sh [2023-02-28T23:02:44.515Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/226/app-service-template' [2023-02-28T23:02:44.515Z] go test -race -coverprofile=coverage.out ./... [2023-02-28T23:02:44.515Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.29 [2023-02-28T23:02:44.515Z] go: downloading github.com/gomodule/redigo v1.8.9 [2023-02-28T23:02:44.515Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.7 [2023-02-28T23:02:44.515Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal [no test files] [2023-02-28T23:03:11.219Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/app 0.723s coverage: 64.6% of statements [2023-02-28T23:03:11.219Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/appfunction 0.406s coverage: 93.0% of statements [2023-02-28T23:03:11.219Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/container [no test files] [2023-02-28T23:03:11.219Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/handlers 0.555s coverage: 85.1% of statements [2023-02-28T23:03:11.219Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/common [no test files] [2023-02-28T23:03:11.219Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/controller/rest 0.374s coverage: 87.8% of statements [2023-02-28T23:03:11.219Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/etm 0.157s coverage: 100.0% of statements [2023-02-28T23:03:11.219Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/runtime 0.699s coverage: 77.9% of statements [2023-02-28T23:03:11.219Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db [no test files] [2023-02-28T23:03:11.219Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis [no test files] [2023-02-28T23:03:11.219Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis/models 0.260s coverage: 97.3% of statements [2023-02-28T23:03:11.219Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger [no test files] [2023-02-28T23:03:11.219Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http 0.431s coverage: 82.8% of statements [2023-02-28T23:03:11.219Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http/mocks [no test files] [2023-02-28T23:03:11.219Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/messagebus 0.314s coverage: 65.2% of statements [2023-02-28T23:03:11.219Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mocks [no test files] [2023-02-28T23:03:13.164Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt 0.488s coverage: 28.7% of statements [2023-02-28T23:03:13.164Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt/mocks [no test files] [2023-02-28T23:03:13.164Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/webserver 0.263s coverage: 11.7% of statements [2023-02-28T23:03:13.164Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg 0.235s coverage: 27.3% of statements [2023-02-28T23:03:13.164Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces [no test files] [2023-02-28T23:03:13.164Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-28T23:03:14.578Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/secure 0.238s coverage: 52.8% of statements [2023-02-28T23:03:46.787Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/transforms 25.521s coverage: 75.2% of statements [2023-02-28T23:03:46.787Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/util 0.247s coverage: 94.4% of statements [2023-02-28T23:03:46.787Z] go vet ./... [2023-02-28T23:03:56.861Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-28T23:03:56.861Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-28T23:03:57.128Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] echo [2023-02-28T23:03:57.152Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-28T23:03:57.165Z] $ docker stop --time=1 cde9f74822b6e9d43b0771e50b2c1dbe973f34d73473d1633ca52e26ba4dd09a [2023-02-28T23:03:59.077Z] $ docker rm -f --volumes cde9f74822b6e9d43b0771e50b2c1dbe973f34d73473d1633ca52e26ba4dd09a [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-28T23:04:03.569Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-28T23:04:03.595Z] Warning: overwriting stash ‘coverage-report’ [2023-02-28T23:04:04.242Z] 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-02-28T23:04:04.667Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-28T23:04:04.667Z] [2023-02-28T23:04:04.667Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T23:04:05.020Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-28T23:04:05.291Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-28T23:04:05.291Z] 8998bd30e6a1: Pulling fs layer [2023-02-28T23:04:05.291Z] 04944245beec: Pulling fs layer [2023-02-28T23:04:05.291Z] 699f458cf7ca: Pulling fs layer [2023-02-28T23:04:05.291Z] 765212b225bb: Pulling fs layer [2023-02-28T23:04:05.291Z] f23df028b6ca: Pulling fs layer [2023-02-28T23:04:05.291Z] d65c8cfc05b1: Pulling fs layer [2023-02-28T23:04:05.291Z] 2437ff75d9bd: Pulling fs layer [2023-02-28T23:04:05.291Z] 765212b225bb: Waiting [2023-02-28T23:04:05.291Z] f23df028b6ca: Waiting [2023-02-28T23:04:05.291Z] d65c8cfc05b1: Waiting [2023-02-28T23:04:05.291Z] 2437ff75d9bd: Waiting [2023-02-28T23:04:05.291Z] 04944245beec: Verifying Checksum [2023-02-28T23:04:05.291Z] 04944245beec: Download complete [2023-02-28T23:04:05.291Z] 765212b225bb: Verifying Checksum [2023-02-28T23:04:05.291Z] 765212b225bb: Download complete [2023-02-28T23:04:05.291Z] f23df028b6ca: Verifying Checksum [2023-02-28T23:04:05.291Z] f23df028b6ca: Download complete [2023-02-28T23:04:05.291Z] d65c8cfc05b1: Verifying Checksum [2023-02-28T23:04:05.291Z] d65c8cfc05b1: Download complete [2023-02-28T23:04:05.573Z] 699f458cf7ca: Verifying Checksum [2023-02-28T23:04:05.573Z] 699f458cf7ca: Download complete [2023-02-28T23:04:05.842Z] 8998bd30e6a1: Verifying Checksum [2023-02-28T23:04:05.842Z] 8998bd30e6a1: Download complete [2023-02-28T23:04:08.434Z] 2437ff75d9bd: Verifying Checksum [2023-02-28T23:04:08.434Z] 2437ff75d9bd: Download complete [2023-02-28T23:04:09.843Z] 8998bd30e6a1: Pull complete [2023-02-28T23:04:10.430Z] 04944245beec: Pull complete [2023-02-28T23:04:11.840Z] 699f458cf7ca: Pull complete [2023-02-28T23:04:12.108Z] 765212b225bb: Pull complete [2023-02-28T23:04:12.692Z] f23df028b6ca: Pull complete [2023-02-28T23:04:12.960Z] d65c8cfc05b1: Pull complete [2023-02-28T23:04:27.963Z] 2437ff75d9bd: Pull complete [2023-02-28T23:04:27.963Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-28T23:04:27.963Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-28T23:04:27.963Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T23:04:28.164Z] prd-ubuntu20.04-docker-arm64-4c-16g-7809 does not seem to be running inside a container [2023-02-28T23:04:28.233Z] $ 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/226 -v /w/workspace/app-functions-sdk-go/226:/w/workspace/app-functions-sdk-go/226:rw,z -v /w/workspace/app-functions-sdk-go/226@tmp:/w/workspace/app-functions-sdk-go/226@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-02-28T23:04:30.929Z] $ docker top d17897ed0fc54ca51128b9eb83af26d2a47cfc89b4aa2e440ab7be9284ae1ae5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T23:04:31.796Z] ---> job-cost.sh [2023-02-28T23:04:31.796Z] lf-activate-venv: SKIPPING [2023-02-28T23:04:31.796Z] INFO: No Stack... [2023-02-28T23:04:32.383Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-28T23:04:32.967Z] INFO: Archiving Costs [Pipeline] sh [2023-02-28T23:04:33.394Z] + cut -d,+ -f6 [2023-02-28T23:04:33.394Z] cat /w/workspace/app-functions-sdk-go/226/archives/cost.csv [Pipeline] lock [2023-02-28T23:04:33.473Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-226-stack-cost] [2023-02-28T23:04:33.480Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-226-stack-cost] did not exist. Created. [2023-02-28T23:04:33.480Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-226-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-28T23:04:34.168Z] /w/workspace/app-functions-sdk-go/226@tmp/durable-3f6193cf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-28T23:04:34.854Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-28T23:04:34.877Z] Warning: overwriting stash ‘stack-cost’ [2023-02-28T23:04:34.961Z] Stashed 1 file(s) [Pipeline] } [2023-02-28T23:04:34.973Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-226-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-28T23:04:34.991Z] $ docker stop --time=1 d17897ed0fc54ca51128b9eb83af26d2a47cfc89b4aa2e440ab7be9284ae1ae5 [2023-02-28T23:04:36.513Z] $ docker rm -f --volumes d17897ed0fc54ca51128b9eb83af26d2a47cfc89b4aa2e440ab7be9284ae1ae5 [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-02-28T23:04:36.903Z] provisioning config files... [2023-02-28T23:04:36.912Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config9841702600695312627tmp [Pipeline] { [Pipeline] sh [2023-02-28T23:04:37.206Z] + set +x [2023-02-28T23:04:37.206Z] + curl -s https://codecov.io/bash [2023-02-28T23:04:37.206Z] + bash -s -- [2023-02-28T23:04:37.206Z] [2023-02-28T23:04:37.206Z] _____ _ [2023-02-28T23:04:37.206Z] / ____| | | [2023-02-28T23:04:37.206Z] | | ___ __| | ___ ___ _____ __ [2023-02-28T23:04:37.206Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-28T23:04:37.206Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-28T23:04:37.206Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-28T23:04:37.206Z] Bash-1.0.6 [2023-02-28T23:04:37.206Z] [2023-02-28T23:04:37.206Z] [2023-02-28T23:04:37.206Z] ==> git version 2.25.1 found [2023-02-28T23:04:37.206Z] ==> 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-02-28T23:04:37.206Z] Release-Date: 2020-01-08 [2023-02-28T23:04:37.206Z] 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-02-28T23:04:37.206Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-28T23:04:37.206Z] ==> Jenkins CI detected. [2023-02-28T23:04:37.206Z] current dir:  /w/workspace/oundry_app-functions-sdk-go_main [2023-02-28T23:04:37.206Z] project root: . [2023-02-28T23:04:37.206Z] --> token set from env [2023-02-28T23:04:37.206Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-28T23:04:37.206Z] ==> Running gcov in . (disable via -X gcov) [2023-02-28T23:04:37.206Z] ==> Python coveragepy not found [2023-02-28T23:04:37.206Z] ==> Searching for coverage reports in: [2023-02-28T23:04:37.206Z] + . [2023-02-28T23:04:37.206Z] -> Found 2 reports [2023-02-28T23:04:37.206Z] ==> Detecting git/mercurial file structure [2023-02-28T23:04:37.464Z] ==> Reading reports [2023-02-28T23:04:37.464Z] + ./app-service-template/coverage.out bytes=3431 [2023-02-28T23:04:37.464Z] + ./coverage.out bytes=116966 [2023-02-28T23:04:37.464Z] ==> Appending adjustments [2023-02-28T23:04:37.464Z] https://docs.codecov.io/docs/fixing-reports [2023-02-28T23:04:37.722Z] + Found adjustments [2023-02-28T23:04:37.722Z] ==> Gzipping contents [2023-02-28T23:04:37.722Z] 24K /tmp/codecov.TjTnT8.gz [2023-02-28T23:04:37.722Z] ==> Uploading reports [2023-02-28T23:04:37.723Z] url: https://codecov.io [2023-02-28T23:04:37.723Z] query: branch=main&commit=d409af3bd0fba63b40d257f003d279b070a23e5b&build=226&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F226%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-02-28T23:04:37.723Z] -> Pinging Codecov [2023-02-28T23:04:37.723Z] 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=d409af3bd0fba63b40d257f003d279b070a23e5b&build=226&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F226%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-02-28T23:04:37.983Z] -> Uploading to [2023-02-28T23:04:37.983Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-28/3D8B5DFFC46A037C893635FACE044666/d409af3bd0fba63b40d257f003d279b070a23e5b/b62b5aa3-51ef-4367-8192-40cf1c62a1d6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230228%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230228T230437Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=64d4882442b99eb5206566ee2726dfe2ca46accde1b733f5dfe0868d7058730a [2023-02-28T23:04:37.983Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-28T23:04:37.983Z] Dload Upload Total Spent Left Speed [2023-02-28T23:04:38.242Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20673 0 0 100 20673 0 73308 --:--:-- --:--:-- --:--:-- 73308 [2023-02-28T23:04:38.242Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/d409af3bd0fba63b40d257f003d279b070a23e5b [Pipeline] } [2023-02-28T23:04:38.249Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-02-28T23:04:38.451Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-02-28T23:04:38.464Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T23:04:38.766Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-28T23:04:38.766Z] [2023-02-28T23:04:38.766Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T23:04:39.072Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-28T23:04:39.072Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-02-28T23:04:39.072Z] df9b9388f04a: Pulling fs layer [2023-02-28T23:04:39.072Z] 52dc419b0ee2: Pulling fs layer [2023-02-28T23:04:39.072Z] 25bc292e5bac: Pulling fs layer [2023-02-28T23:04:39.072Z] 114826534d7a: Pulling fs layer [2023-02-28T23:04:39.072Z] 4657fd5d0bcf: Pulling fs layer [2023-02-28T23:04:39.072Z] 6ad1cebc031e: Pulling fs layer [2023-02-28T23:04:39.072Z] 4657fd5d0bcf: Waiting [2023-02-28T23:04:39.072Z] 114826534d7a: Waiting [2023-02-28T23:04:39.072Z] 8a3aa393b2d8: Pulling fs layer [2023-02-28T23:04:39.072Z] 6ad1cebc031e: Waiting [2023-02-28T23:04:39.072Z] 25bc292e5bac: Download complete [2023-02-28T23:04:39.072Z] 52dc419b0ee2: Download complete [2023-02-28T23:04:39.072Z] 4657fd5d0bcf: Verifying Checksum [2023-02-28T23:04:39.072Z] 4657fd5d0bcf: Download complete [2023-02-28T23:04:39.072Z] df9b9388f04a: Download complete [2023-02-28T23:04:39.341Z] df9b9388f04a: Pull complete [2023-02-28T23:04:39.341Z] 6ad1cebc031e: Verifying Checksum [2023-02-28T23:04:39.341Z] 6ad1cebc031e: Download complete [2023-02-28T23:04:39.341Z] 52dc419b0ee2: Pull complete [2023-02-28T23:04:39.341Z] 25bc292e5bac: Pull complete [2023-02-28T23:04:39.914Z] 114826534d7a: Verifying Checksum [2023-02-28T23:04:39.914Z] 114826534d7a: Download complete [2023-02-28T23:04:40.173Z] 8a3aa393b2d8: Verifying Checksum [2023-02-28T23:04:40.173Z] 8a3aa393b2d8: Download complete [2023-02-28T23:04:43.458Z] 114826534d7a: Pull complete [2023-02-28T23:04:43.458Z] 4657fd5d0bcf: Pull complete [2023-02-28T23:04:43.458Z] 6ad1cebc031e: Pull complete [2023-02-28T23:04:45.985Z] 8a3aa393b2d8: Pull complete [2023-02-28T23:04:45.985Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-02-28T23:04:45.985Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-28T23:04:45.985Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T23:04:46.067Z] prd-ubuntu20.04-docker-8c-8g-7807 does not seem to be running inside a container [2023-02-28T23:04:46.107Z] $ 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-02-28T23:04:49.197Z] $ docker top b3bb7581e8a234a1a69eedec56b0e1db45d6afd9b1571b2f170323e7dbad463f -eo pid,comm [Pipeline] { [Pipeline] echo [2023-02-28T23:04:49.259Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-functions-sdk-go:main' [Pipeline] sh [2023-02-28T23:04:49.540Z] + set -o pipefail [2023-02-28T23:04:49.540Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-functions-sdk-go:main' [2023-02-28T23:04:54.814Z] [2023-02-28T23:04:54.814Z] Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v3)... [2023-02-28T23:04:54.814Z] [2023-02-28T23:04:54.814Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/899a6017-c938-46f1-adf7-2bd1b283a5ba/history/331ddab7-ff20-48f0-a0cd-8ebbc31ec6a4 [2023-02-28T23:04:54.814Z] [2023-02-28T23:04:54.814Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-02-28T23:04:54.814Z] [2023-02-28T23:04:54.814Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-02-28T23:04:54.814Z] [2023-02-28T23:04:54.814Z] [2023-02-28T23:04:54.814Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-02-28T23:04:54.814Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-02-28T23:04:54.814Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-02-28T23:04:54.833Z] $ docker stop --time=1 b3bb7581e8a234a1a69eedec56b0e1db45d6afd9b1571b2f170323e7dbad463f [2023-02-28T23:04:57.518Z] $ docker rm -f --volumes b3bb7581e8a234a1a69eedec56b0e1db45d6afd9b1571b2f170323e7dbad463f [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-02-28T23:04:57.889Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-28T23:04:57.900Z] provisioning config files... [2023-02-28T23:04:57.907Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config18428261405879961464tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T23:04:58.202Z] --> edgex-publish-swagger.sh [2023-02-28T23:04:58.202Z] === Publish openapi/v2 API === [2023-02-28T23:04:58.202Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2023-02-28T23:04:58.202Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v2/app-functions-sdk.yaml] [2023-02-28T23:04:58.202Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-28T23:04:58.202Z] Dload Upload Total Spent Left Speed [2023-02-28T23:04:58.769Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11420 0 0 100 11420 0 19488 --:--:-- --:--:-- --:--:-- 19488 [2023-02-28T23:04:58.769Z] [2023-02-28T23:04:58.769Z] [Pipeline] } [2023-02-28T23:04:58.777Z] 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-02-28T23:04:59.196Z] + git log --format=format:%s -1 d409af3bd0fba63b40d257f003d279b070a23e5b [Pipeline] sh [2023-02-28T23:04:59.488Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-28T23:04:59.488Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T23:04:59.785Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-28T23:04:59.786Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T23:04:59.852Z] prd-ubuntu20.04-docker-8c-8g-7807 does not seem to be running inside a container [2023-02-28T23:04:59.898Z] $ 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-02-28T23:05:00.257Z] $ docker top e1f8636f9cf9c4e71f299d5c6d7c60974b9b35a10b3df77f79af2379681cbbbf -eo pid,comm [2023-02-28T23:05:00.294Z] 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-02-28T23:05:00.294Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-28T23:05:00.333Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-28T23:05:00.333Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-28T23:05:00.446Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-28T23:05:00.452Z] $ docker exec e1f8636f9cf9c4e71f299d5c6d7c60974b9b35a10b3df77f79af2379681cbbbf ssh-agent [2023-02-28T23:05:00.548Z] SSH_AUTH_SOCK=/tmp/ssh-R8VMJrFw2Yph/agent.32 [2023-02-28T23:05:00.548Z] SSH_AGENT_PID=38 [2023-02-28T23:05:00.553Z] Running ssh-add (command line suppressed) [2023-02-28T23:05:00.668Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_17292613092401575014.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_17292613092401575014.key) [2023-02-28T23:05:00.676Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-28T23:05:00.964Z] + git semver tag [2023-02-28T23:05:01.224Z] 2023-02-28 23:05:01,125 [run_tag] DEBUG tag force:False [2023-02-28T23:05:01.224Z] 2023-02-28 23:05:01,125 [check_head_tag] DEBUG check head tag [2023-02-28T23:05:01.224Z] 2023-02-28 23:05:01,126 [execute] INFO git cat-file --batch-check [2023-02-28T23:05:01.224Z] 2023-02-28 23:05:01,127 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-02-28T23:05:01.224Z] 2023-02-28 23:05:01,130 [execute] INFO git cat-file --batch [2023-02-28T23:05:01.224Z] 2023-02-28 23:05:01,130 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-02-28T23:05:01.224Z] 2023-02-28 23:05:01,160 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2023-02-28T23:05:01.224Z] 2023-02-28 23:05:01,160 [execute] INFO git tag -a v3.0.0-dev.36 -m v3.0.0-dev.36 [2023-02-28T23:05:01.224Z] 2023-02-28 23:05:01,161 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.36', '-m', 'v3.0.0-dev.36'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-02-28T23:05:01.224Z] 2023-02-28 23:05:01,163 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2023-02-28T23:05:01.224Z] 3.0.0-dev.36 [Pipeline] } [2023-02-28T23:05:01.238Z] $ docker exec --env ******** --env ******** e1f8636f9cf9c4e71f299d5c6d7c60974b9b35a10b3df77f79af2379681cbbbf ssh-agent -k [2023-02-28T23:05:01.329Z] unset SSH_AUTH_SOCK; [2023-02-28T23:05:01.330Z] unset SSH_AGENT_PID; [2023-02-28T23:05:01.330Z] echo Agent pid 38 killed; [2023-02-28T23:05:01.335Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-28T23:05:01.650Z] + git semver [Pipeline] } [2023-02-28T23:05:01.925Z] $ docker stop --time=1 e1f8636f9cf9c4e71f299d5c6d7c60974b9b35a10b3df77f79af2379681cbbbf [2023-02-28T23:05:03.217Z] $ docker rm -f --volumes e1f8636f9cf9c4e71f299d5c6d7c60974b9b35a10b3df77f79af2379681cbbbf [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T23:05:03.620Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-28T23:05:03.620Z] [2023-02-28T23:05:03.620Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T23:05:03.921Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-28T23:05:03.921Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-02-28T23:05:03.921Z] ab5ef0e58194: Pulling fs layer [2023-02-28T23:05:03.921Z] 9712f1f96733: Pulling fs layer [2023-02-28T23:05:03.921Z] 63f879dbbcfc: Pulling fs layer [2023-02-28T23:05:03.921Z] 0d9ebad4ef96: Pulling fs layer [2023-02-28T23:05:03.921Z] e9a5061849ea: Pulling fs layer [2023-02-28T23:05:03.921Z] d747dcd14b5f: Pulling fs layer [2023-02-28T23:05:03.921Z] 2de7ff778b66: Pulling fs layer [2023-02-28T23:05:03.921Z] 0d9ebad4ef96: Waiting [2023-02-28T23:05:03.921Z] e9a5061849ea: Waiting [2023-02-28T23:05:03.921Z] d747dcd14b5f: Waiting [2023-02-28T23:05:03.921Z] 2de7ff778b66: Waiting [2023-02-28T23:05:03.921Z] 9712f1f96733: Download complete [2023-02-28T23:05:04.182Z] 63f879dbbcfc: Verifying Checksum [2023-02-28T23:05:04.182Z] 63f879dbbcfc: Download complete [2023-02-28T23:05:04.441Z] e9a5061849ea: Verifying Checksum [2023-02-28T23:05:04.441Z] e9a5061849ea: Download complete [2023-02-28T23:05:04.441Z] d747dcd14b5f: Verifying Checksum [2023-02-28T23:05:04.441Z] d747dcd14b5f: Download complete [2023-02-28T23:05:04.441Z] 0d9ebad4ef96: Verifying Checksum [2023-02-28T23:05:04.441Z] 0d9ebad4ef96: Download complete [2023-02-28T23:05:04.441Z] ab5ef0e58194: Verifying Checksum [2023-02-28T23:05:04.441Z] ab5ef0e58194: Download complete [2023-02-28T23:05:04.699Z] 2de7ff778b66: Verifying Checksum [2023-02-28T23:05:04.699Z] 2de7ff778b66: Download complete [2023-02-28T23:05:07.227Z] ab5ef0e58194: Pull complete [2023-02-28T23:05:07.227Z] 9712f1f96733: Pull complete [2023-02-28T23:05:07.793Z] 63f879dbbcfc: Pull complete [2023-02-28T23:05:11.074Z] 0d9ebad4ef96: Pull complete [2023-02-28T23:05:11.332Z] e9a5061849ea: Pull complete [2023-02-28T23:05:11.332Z] d747dcd14b5f: Pull complete [2023-02-28T23:05:12.268Z] 2de7ff778b66: Pull complete [2023-02-28T23:05:12.268Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-02-28T23:05:12.268Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-28T23:05:12.268Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T23:05:12.344Z] prd-ubuntu20.04-docker-8c-8g-7807 does not seem to be running inside a container [2023-02-28T23:05:12.374Z] $ 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-02-28T23:05:16.128Z] $ docker top 5c814f672a43051bcf131238e41b150f366a6a9acaab764bd72e44166e3d9e3a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-02-28T23:05:16.197Z] provisioning config files... [2023-02-28T23:05:16.203Z] copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config3630738576924803135tmp [2023-02-28T23:05:16.212Z] copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config6460524778292591577tmp [2023-02-28T23:05:16.220Z] copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config16486840025606615658tmp [Pipeline] { [Pipeline] echo [2023-02-28T23:05:16.234Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T23:05:16.513Z] ---> sigul-configuration.sh [2023-02-28T23:05:16.513Z] gpg: directory `/root/.gnupg' created [2023-02-28T23:05:16.513Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-02-28T23:05:16.513Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-02-28T23:05:16.513Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-02-28T23:05:16.513Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-02-28T23:05:16.513Z] gpg: CAST5 encrypted data [2023-02-28T23:05:16.513Z] gpg: encrypted with 1 passphrase [2023-02-28T23:05:16.513Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-02-28T23:05:16.800Z] + mkdir /home/jenkins [2023-02-28T23:05:16.800Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-02-28T23:05:17.083Z] + 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-02-28T23:05:17.091Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T23:05:17.371Z] ---> sigul-install.sh [2023-02-28T23:05:17.371Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-02-28T23:05:17.660Z] + git tag --list [2023-02-28T23:05:17.660Z] v0.1.0 [2023-02-28T23:05:17.660Z] v0.1.1 [2023-02-28T23:05:17.660Z] v1.0.0 [2023-02-28T23:05:17.660Z] v1.1.0 [2023-02-28T23:05:17.660Z] v1.2.0 [2023-02-28T23:05:17.660Z] v1.3.0 [2023-02-28T23:05:17.660Z] v1.3.1 [2023-02-28T23:05:17.660Z] v2.0.0 [2023-02-28T23:05:17.660Z] v2.0.1 [2023-02-28T23:05:17.660Z] v2.1.0 [2023-02-28T23:05:17.660Z] v2.1.1 [2023-02-28T23:05:17.660Z] v2.1.1-dev.3 [2023-02-28T23:05:17.660Z] v2.1.1-dev.4 [2023-02-28T23:05:17.660Z] v2.2.0 [2023-02-28T23:05:17.660Z] v2.2.1-dev.1 [2023-02-28T23:05:17.660Z] v2.2.1-dev.10 [2023-02-28T23:05:17.660Z] v2.2.1-dev.11 [2023-02-28T23:05:17.660Z] v2.2.1-dev.12 [2023-02-28T23:05:17.660Z] v2.2.1-dev.13 [2023-02-28T23:05:17.660Z] v2.2.1-dev.14 [2023-02-28T23:05:17.660Z] v2.2.1-dev.15 [2023-02-28T23:05:17.660Z] v2.2.1-dev.16 [2023-02-28T23:05:17.660Z] v2.2.1-dev.17 [2023-02-28T23:05:17.660Z] v2.2.1-dev.18 [2023-02-28T23:05:17.660Z] v2.2.1-dev.19 [2023-02-28T23:05:17.660Z] v2.2.1-dev.2 [2023-02-28T23:05:17.660Z] v2.2.1-dev.20 [2023-02-28T23:05:17.660Z] v2.2.1-dev.21 [2023-02-28T23:05:17.660Z] v2.2.1-dev.22 [2023-02-28T23:05:17.660Z] v2.2.1-dev.23 [2023-02-28T23:05:17.660Z] v2.2.1-dev.3 [2023-02-28T23:05:17.660Z] v2.2.1-dev.4 [2023-02-28T23:05:17.660Z] v2.2.1-dev.5 [2023-02-28T23:05:17.660Z] v2.2.1-dev.6 [2023-02-28T23:05:17.660Z] v2.2.1-dev.7 [2023-02-28T23:05:17.660Z] v2.2.1-dev.8 [2023-02-28T23:05:17.660Z] v2.2.1-dev.9 [2023-02-28T23:05:17.660Z] v2.3.0 [2023-02-28T23:05:17.660Z] v2.3.0-dev.24 [2023-02-28T23:05:17.660Z] v2.3.0-dev.25 [2023-02-28T23:05:17.660Z] v2.3.0-dev.26 [2023-02-28T23:05:17.660Z] v2.3.0-dev.27 [2023-02-28T23:05:17.660Z] v2.3.0-dev.28 [2023-02-28T23:05:17.660Z] v2.3.0-dev.29 [2023-02-28T23:05:17.660Z] v2.3.0-dev.30 [2023-02-28T23:05:17.660Z] v2.3.0-dev.31 [2023-02-28T23:05:17.660Z] v2.3.0-dev.32 [2023-02-28T23:05:17.660Z] v2.3.0-dev.33 [2023-02-28T23:05:17.660Z] v2.3.0-dev.34 [2023-02-28T23:05:17.660Z] v2.3.0-dev.35 [2023-02-28T23:05:17.660Z] v2.3.0-dev.36 [2023-02-28T23:05:17.660Z] v2.3.0-dev.37 [2023-02-28T23:05:17.660Z] v2.3.0-dev.38 [2023-02-28T23:05:17.660Z] v2.3.0-dev.39 [2023-02-28T23:05:17.660Z] v2.3.0-dev.40 [2023-02-28T23:05:17.660Z] v2.3.0-dev.41 [2023-02-28T23:05:17.660Z] v2.3.0-dev.42 [2023-02-28T23:05:17.660Z] v2.3.0-dev.43 [2023-02-28T23:05:17.660Z] v2.3.0-dev.44 [2023-02-28T23:05:17.660Z] v2.3.0-dev.45 [2023-02-28T23:05:17.660Z] v2.3.0-dev.46 [2023-02-28T23:05:17.660Z] v2.3.0-dev.47 [2023-02-28T23:05:17.660Z] v2.3.0-dev.48 [2023-02-28T23:05:17.660Z] v2.3.0-dev.49 [2023-02-28T23:05:17.660Z] v2.3.0-dev.50 [2023-02-28T23:05:17.660Z] v2.3.0-dev.51 [2023-02-28T23:05:17.660Z] v2.3.0-dev.52 [2023-02-28T23:05:17.660Z] v2.3.0-dev.53 [2023-02-28T23:05:17.660Z] v2.3.0-dev.54 [2023-02-28T23:05:17.660Z] v2.3.0-dev.55 [2023-02-28T23:05:17.660Z] v2.3.0-dev.56 [2023-02-28T23:05:17.660Z] v2.3.0-dev.57 [2023-02-28T23:05:17.660Z] v2.3.0-dev.58 [2023-02-28T23:05:17.660Z] v2.3.0-dev.59 [2023-02-28T23:05:17.660Z] v2.3.0-dev.60 [2023-02-28T23:05:17.660Z] v2.3.0-dev.61 [2023-02-28T23:05:17.660Z] v2.3.0-dev.62 [2023-02-28T23:05:17.660Z] v2.3.1-dev.1 [2023-02-28T23:05:17.660Z] v2.3.1-dev.2 [2023-02-28T23:05:17.660Z] v2.3.1-dev.3 [2023-02-28T23:05:17.660Z] v3.0.0-dev.1 [2023-02-28T23:05:17.660Z] v3.0.0-dev.10 [2023-02-28T23:05:17.661Z] v3.0.0-dev.11 [2023-02-28T23:05:17.661Z] v3.0.0-dev.12 [2023-02-28T23:05:17.661Z] v3.0.0-dev.13 [2023-02-28T23:05:17.661Z] v3.0.0-dev.14 [2023-02-28T23:05:17.661Z] v3.0.0-dev.15 [2023-02-28T23:05:17.661Z] v3.0.0-dev.16 [2023-02-28T23:05:17.661Z] v3.0.0-dev.17 [2023-02-28T23:05:17.661Z] v3.0.0-dev.18 [2023-02-28T23:05:17.661Z] v3.0.0-dev.19 [2023-02-28T23:05:17.661Z] v3.0.0-dev.2 [2023-02-28T23:05:17.661Z] v3.0.0-dev.20 [2023-02-28T23:05:17.661Z] v3.0.0-dev.21 [2023-02-28T23:05:17.661Z] v3.0.0-dev.22 [2023-02-28T23:05:17.661Z] v3.0.0-dev.23 [2023-02-28T23:05:17.661Z] v3.0.0-dev.24 [2023-02-28T23:05:17.661Z] v3.0.0-dev.25 [2023-02-28T23:05:17.661Z] v3.0.0-dev.26 [2023-02-28T23:05:17.661Z] v3.0.0-dev.27 [2023-02-28T23:05:17.661Z] v3.0.0-dev.28 [2023-02-28T23:05:17.661Z] v3.0.0-dev.29 [2023-02-28T23:05:17.661Z] v3.0.0-dev.3 [2023-02-28T23:05:17.661Z] v3.0.0-dev.30 [2023-02-28T23:05:17.661Z] v3.0.0-dev.31 [2023-02-28T23:05:17.661Z] v3.0.0-dev.32 [2023-02-28T23:05:17.661Z] v3.0.0-dev.33 [2023-02-28T23:05:17.661Z] v3.0.0-dev.34 [2023-02-28T23:05:17.661Z] v3.0.0-dev.35 [2023-02-28T23:05:17.661Z] v3.0.0-dev.36 [2023-02-28T23:05:17.661Z] v3.0.0-dev.4 [2023-02-28T23:05:17.661Z] v3.0.0-dev.5 [2023-02-28T23:05:17.661Z] v3.0.0-dev.6 [2023-02-28T23:05:17.661Z] v3.0.0-dev.7 [2023-02-28T23:05:17.661Z] v3.0.0-dev.8 [2023-02-28T23:05:17.661Z] v3.0.0-dev.9 [Pipeline] sh [2023-02-28T23:05:17.948Z] + lftools sign git-tag v3.0.0-dev.36 [2023-02-28T23:05:18.515Z] Signing Git tag with Sigul... [2023-02-28T23:05:18.515Z] Signing v3.0.0-dev.36 [Pipeline] echo [2023-02-28T23:05:18.783Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T23:05:19.068Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-02-28T23:05:19.076Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-02-28T23:05:19.096Z] $ docker stop --time=1 5c814f672a43051bcf131238e41b150f366a6a9acaab764bd72e44166e3d9e3a [2023-02-28T23:05:20.399Z] $ docker rm -f --volumes 5c814f672a43051bcf131238e41b150f366a6a9acaab764bd72e44166e3d9e3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-02-28T23:05:20.821Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-28T23:05:20.821Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T23:05:21.131Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-28T23:05:21.131Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T23:05:21.203Z] prd-ubuntu20.04-docker-8c-8g-7807 does not seem to be running inside a container [2023-02-28T23:05:21.237Z] $ 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-02-28T23:05:21.567Z] $ docker top b7f734fc4e93a04d7e3ff71ede30e2c5b4d4e8a02eaa88c4d8876bcc42f381fb -eo pid,comm [2023-02-28T23:05:21.608Z] 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-02-28T23:05:21.608Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-28T23:05:21.653Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-28T23:05:21.653Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-28T23:05:21.759Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-28T23:05:21.766Z] $ docker exec b7f734fc4e93a04d7e3ff71ede30e2c5b4d4e8a02eaa88c4d8876bcc42f381fb ssh-agent [2023-02-28T23:05:21.865Z] SSH_AUTH_SOCK=/tmp/ssh-szH6yHZ5HG8E/agent.31 [2023-02-28T23:05:21.865Z] SSH_AGENT_PID=37 [2023-02-28T23:05:21.870Z] Running ssh-add (command line suppressed) [2023-02-28T23:05:21.970Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_2538982079685691246.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_2538982079685691246.key) [2023-02-28T23:05:21.984Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-28T23:05:22.278Z] + git semver bump pre [2023-02-28T23:05:22.537Z] 2023-02-28 23:05:22,455 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2023-02-28T23:05:22.537Z] 2023-02-28 23:05:22,455 [bump_version] DEBUG bumping version:3.0.0-dev.36 on axis:pre with prefix:dev [2023-02-28T23:05:22.537Z] 2023-02-28 23:05:22,455 [bump_version] DEBUG bumped version:3.0.0-dev.37 [2023-02-28T23:05:22.537Z] 2023-02-28 23:05:22,455 [write_version] DEBUG write version:3.0.0-dev.37 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:True [2023-02-28T23:05:22.537Z] 2023-02-28 23:05:22,455 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2023-02-28T23:05:22.537Z] 2023-02-28 23:05:22,455 [write_file] DEBUG write to file:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2023-02-28T23:05:22.537Z] 2023-02-28 23:05:22,457 [execute] INFO git cat-file --batch-check [2023-02-28T23:05:22.537Z] 2023-02-28 23:05:22,458 [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-02-28T23:05:22.537Z] 2023-02-28 23:05:22,463 [execute] INFO git cat-file --batch [2023-02-28T23:05:22.537Z] 2023-02-28 23:05:22,464 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-28T23:05:22.537Z] 2023-02-28 23:05:22,469 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2023-02-28T23:05:22.537Z] 3.0.0-dev.37 [Pipeline] } [2023-02-28T23:05:22.549Z] $ docker exec --env ******** --env ******** b7f734fc4e93a04d7e3ff71ede30e2c5b4d4e8a02eaa88c4d8876bcc42f381fb ssh-agent -k [2023-02-28T23:05:22.652Z] unset SSH_AUTH_SOCK; [2023-02-28T23:05:22.652Z] unset SSH_AGENT_PID; [2023-02-28T23:05:22.652Z] echo Agent pid 37 killed; [2023-02-28T23:05:22.661Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-28T23:05:22.971Z] + git semver [Pipeline] } [2023-02-28T23:05:23.248Z] $ docker stop --time=1 b7f734fc4e93a04d7e3ff71ede30e2c5b4d4e8a02eaa88c4d8876bcc42f381fb [2023-02-28T23:05:24.554Z] $ docker rm -f --volumes b7f734fc4e93a04d7e3ff71ede30e2c5b4d4e8a02eaa88c4d8876bcc42f381fb [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-28T23:05:24.893Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-28T23:05:24.893Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T23:05:25.239Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-28T23:05:25.239Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T23:05:25.310Z] prd-ubuntu20.04-docker-8c-8g-7807 does not seem to be running inside a container [2023-02-28T23:05:25.346Z] $ 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-02-28T23:05:25.674Z] $ docker top 75e1fc31354811d4daff347745debc8d99b99cfa9a6cfe587b0806bf1e0b0372 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-28T23:05:25.755Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-28T23:05:25.755Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-28T23:05:25.857Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-28T23:05:25.863Z] $ docker exec 75e1fc31354811d4daff347745debc8d99b99cfa9a6cfe587b0806bf1e0b0372 ssh-agent [2023-02-28T23:05:25.963Z] SSH_AUTH_SOCK=/tmp/ssh-Q9kD47qTbCuq/agent.31 [2023-02-28T23:05:25.963Z] SSH_AGENT_PID=37 [2023-02-28T23:05:25.969Z] Running ssh-add (command line suppressed) [2023-02-28T23:05:26.072Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_13544082728577429677.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_13544082728577429677.key) [2023-02-28T23:05:26.087Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-28T23:05:26.386Z] + git semver push [2023-02-28T23:05:26.654Z] 2023-02-28 23:05:26,560 [run_push] DEBUG push [2023-02-28T23:05:26.654Z] 2023-02-28 23:05:26,561 [execute] INFO git cat-file --batch-check [2023-02-28T23:05:26.654Z] 2023-02-28 23:05:26,561 [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-02-28T23:05:26.654Z] 2023-02-28 23:05:26,565 [execute] INFO git rev-list e95bb560efff1f315fa86034d4f7820ca1ef92bf -- [2023-02-28T23:05:26.654Z] 2023-02-28 23:05:26,565 [execute] DEBUG Popen(['git', 'rev-list', 'e95bb560efff1f315fa86034d4f7820ca1ef92bf', '--'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-02-28T23:05:26.654Z] 2023-02-28 23:05:26,580 [execute] INFO git fetch -v origin [2023-02-28T23:05:26.654Z] 2023-02-28 23:05:26,580 [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-02-28T23:05:27.226Z] 2023-02-28 23:05:27,096 [run_push] DEBUG no remote changes detected [2023-02-28T23:05:27.226Z] 2023-02-28 23:05:27,097 [execute] INFO git push origin semver [2023-02-28T23:05:27.226Z] 2023-02-28 23:05:27,097 [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-02-28T23:05:28.163Z] 2023-02-28 23:05:27,921 [run_push] DEBUG push all version tags [2023-02-28T23:05:28.163Z] 2023-02-28 23:05:27,921 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-02-28T23:05:28.163Z] 2023-02-28 23:05:27,922 [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-02-28T23:05:29.103Z] 2023-02-28 23:05:28,755 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2023-02-28T23:05:29.103Z] 3.0.0-dev.37 [Pipeline] } [2023-02-28T23:05:29.117Z] $ docker exec --env ******** --env ******** 75e1fc31354811d4daff347745debc8d99b99cfa9a6cfe587b0806bf1e0b0372 ssh-agent -k [2023-02-28T23:05:29.231Z] unset SSH_AUTH_SOCK; [2023-02-28T23:05:29.231Z] unset SSH_AGENT_PID; [2023-02-28T23:05:29.231Z] echo Agent pid 37 killed; [2023-02-28T23:05:29.242Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-28T23:05:29.546Z] + git semver [Pipeline] } [2023-02-28T23:05:29.822Z] $ docker stop --time=1 75e1fc31354811d4daff347745debc8d99b99cfa9a6cfe587b0806bf1e0b0372 [2023-02-28T23:05:31.104Z] $ docker rm -f --volumes 75e1fc31354811d4daff347745debc8d99b99cfa9a6cfe587b0806bf1e0b0372 [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-02-28T23:05:31.694Z] + [ -d /w/workspace/oundry_app-functions-sdk-go_main/archives ] [2023-02-28T23:05:31.694Z] + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives [2023-02-28T23:05:31.694Z] total 16 [2023-02-28T23:05:31.694Z] drwxr-xr-x 3 root root 4096 Feb 28 22:55 . [2023-02-28T23:05:31.694Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 28 23:05 .. [2023-02-28T23:05:31.694Z] drwxr-xr-x 2 root root 4096 Feb 28 22:55 cost [2023-02-28T23:05:31.694Z] -rw-r--r-- 1 root root 92 Feb 28 22:55 cost.csv [2023-02-28T23:05:31.694Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_app-functions-sdk-go_main/archives [2023-02-28T23:05:31.694Z] + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives [2023-02-28T23:05:31.694Z] total 16 [2023-02-28T23:05:31.694Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 28 22:55 . [2023-02-28T23:05:31.694Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 28 23:05 .. [2023-02-28T23:05:31.694Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 28 22:55 cost [2023-02-28T23:05:31.694Z] -rw-r--r-- 1 jenkins jenkins 92 Feb 28 22:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-28T23:05:31.987Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T23:05:32.850Z] ---> package-listing.sh [2023-02-28T23:05:32.851Z] ++ facter osfamily [2023-02-28T23:05:32.851Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-28T23:05:33.110Z] + OS_FAMILY=debian [2023-02-28T23:05:33.110Z] + workspace=/w/workspace/oundry_app-functions-sdk-go_main [2023-02-28T23:05:33.110Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-28T23:05:33.110Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-28T23:05:33.110Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-28T23:05:33.110Z] + PACKAGES=/tmp/packages_start.txt [2023-02-28T23:05:33.110Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2023-02-28T23:05:33.110Z] + PACKAGES=/tmp/packages_end.txt [2023-02-28T23:05:33.110Z] + case "${OS_FAMILY}" in [2023-02-28T23:05:33.110Z] + grep '^ii' [2023-02-28T23:05:33.110Z] + dpkg -l [2023-02-28T23:05:33.110Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-28T23:05:33.110Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-28T23:05:33.110Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-28T23:05:33.110Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2023-02-28T23:05:33.110Z] + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ [2023-02-28T23:05:33.110Z] + 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-02-28T23:05:33.122Z] 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-02-28T23:05:33.401Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T23:05:33.961Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-28T23:05:33.961Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T23:05:34.035Z] prd-ubuntu20.04-docker-8c-8g-7807 does not seem to be running inside a container [2023-02-28T23:05:34.069Z] $ 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-02-28T23:05:34.261Z] $ docker top 19da7a67a32ce25a38ad170a75da4a78f987ca7a5ffdf0d641abf7ae02b30bc6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T23:05:34.604Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-28T23:05:34.890Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-28T23:05:35.177Z] + ls /var/log/sa-host [2023-02-28T23:05:35.177Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-28T23:05:35.341Z] provisioning config files... [2023-02-28T23:05:35.349Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config3455647795098043858tmp [Pipeline] { [Pipeline] echo [2023-02-28T23:05:35.363Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T23:05:35.647Z] ---> create-netrc.sh [Pipeline] } [2023-02-28T23:05:35.655Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-28T23:05:35.989Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-28T23:05:35.999Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T23:05:36.285Z] ---> sudo-logs.sh [2023-02-28T23:05:36.285Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-28T23:05:36.315Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T23:05:36.597Z] ---> job-cost.sh [2023-02-28T23:05:36.597Z] lf-activate-venv: SKIPPING [2023-02-28T23:05:36.597Z] DEBUG: total: 0.2199999988079071 [2023-02-28T23:05:36.597Z] INFO: Retrieving Stack Cost... [2023-02-28T23:05:37.166Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-28T23:05:37.429Z] INFO: Archiving Costs [Pipeline] echo [2023-02-28T23:05:37.441Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T23:05:37.722Z] ---> logs-deploy.sh [2023-02-28T23:05:37.722Z] lf-activate-venv: SKIPPING [2023-02-28T23:05:37.722Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/226 [2023-02-28T23:05:37.722Z] INFO: archiving workspace using pattern(s): [2023-02-28T23:05:38.660Z] Archives upload complete. [2023-02-28T23:05:38.660Z] INFO: archiving logs to Nexus