Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 69f97d03f41685722d8ac2f2abbcabc07e3408f6 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-ssh2012435430744432034.key Verifying host key using known hosts file > 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-ssh6084804453040416265.key Verifying host key using known hosts file > 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-ssh695630461729432358.key Verifying host key using known hosts file > 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-ssh16561319886016840779.key Verifying host key using known hosts file > 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-ssh3844099983452510823.key Verifying host key using known hosts file > 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-118022’ Running on prd-ubuntu20.04-docker-8c-8g-118025 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 69f97d03f41685722d8ac2f2abbcabc07e3408f6 (main) Commit message: "build: Released Go Mods (#1214)" > git config core.sparsecheckout # timeout=10 > git checkout -f 69f97d03f41685722d8ac2f2abbcabc07e3408f6 # timeout=10 > git rev-list --no-walk c7a04b2c04756b5868d3934ee2c7abfe187fcb8f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-03T00:10:54.426Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-03T00:10:54.485Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-03T00:10:54.500Z] ========================================================= [2022-11-03T00:10:54.500Z] EdgeX Global Pipelines Version Info [2022-11-03T00:10:54.500Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-03T00:10:55.232Z] ------------------- [2022-11-03T00:10:55.232Z] stable info: [2022-11-03T00:10:55.232Z] ------------------- [2022-11-03T00:10:55.232Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-03T00:10:55.232Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-03T00:10:55.232Z] Message: update stable to v1.0.244 [2022-11-03T00:10:55.803Z] ------------------- [2022-11-03T00:10:55.803Z] experimental info: [2022-11-03T00:10:55.803Z] ------------------- [2022-11-03T00:10:55.803Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-03T00:10:55.803Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-03T00:10:55.803Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-03T00:10:55.984Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2022-11-03T00:10:55.995Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2022-11-03T00:10:56.005Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-03T00:10:56.015Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-03T00:10:56.026Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-03T00:10:56.035Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-03T00:10:56.045Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-03T00:10:56.055Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-03T00:10:56.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-03T00:10:56.075Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-03T00:10:56.085Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-03T00:10:56.097Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2022-11-03T00:10:56.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-03T00:10:56.119Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-03T00:10:56.132Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2022-11-03T00:10:56.143Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-11-03T00:10:56.154Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-03T00:10:56.166Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-03T00:10:56.182Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-03T00:10:56.195Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-03T00:10:56.208Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-11-03T00:10:56.225Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-11-03T00:10:56.242Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-03T00:10:56.254Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-03T00:10:56.264Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2022-11-03T00:10:56.276Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-03T00:10:56.287Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-03T00:10:56.297Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-11-03T00:10:56.308Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-11-03T00:10:56.322Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-11-03T00:10:56.335Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 69f97d03f41685722d8ac2f2abbcabc07e3408f6 [Pipeline] echo [2022-11-03T00:10:56.350Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 69f97d0 [Pipeline] echo [2022-11-03T00:10:56.363Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-03T00:10:56.713Z] + git rev-list -1 --merges 69f97d03f41685722d8ac2f2abbcabc07e3408f6~1..69f97d03f41685722d8ac2f2abbcabc07e3408f6 [Pipeline] echo [2022-11-03T00:10:56.759Z] -----------> git rev-list -1 --merges 69f97d03f41685722d8ac2f2abbcabc07e3408f6~1..69f97d03f41685722d8ac2f2abbcabc07e3408f6 69f97d03f41685722d8ac2f2abbcabc07e3408f6 [false] [Pipeline] sh [2022-11-03T00:10:57.060Z] + git log --format=format:%s -1 69f97d03f41685722d8ac2f2abbcabc07e3408f6 [Pipeline] echo [2022-11-03T00:10:57.076Z] ========================================================= [2022-11-03T00:10:57.076Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-03T00:10:57.076Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-03T00:10:57.399Z] + git log --format=format:%s -1 69f97d03f41685722d8ac2f2abbcabc07e3408f6 [Pipeline] echo [2022-11-03T00:10:57.411Z] [semverPrep] GIT_COMMIT: 69f97d03f41685722d8ac2f2abbcabc07e3408f6, Commit Message: build: Released Go Mods (#1214) [Pipeline] echo [2022-11-03T00:10:57.420Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-03T00:10:57.766Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-03T00:10:57.767Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-03T00:10:57.767Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-03T00:10:57.767Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-03T00:10:57.767Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-03T00:10:57.767Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-03T00:10:57.767Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T00:10:58.124Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-03T00:10:58.693Z] [2022-11-03T00:10:58.693Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T00:10:59.003Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-03T00:10:59.004Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-03T00:10:59.004Z] b85a868b505f: Pulling fs layer [2022-11-03T00:10:59.004Z] e2be974225ed: Pulling fs layer [2022-11-03T00:10:59.004Z] 339a4e72a1f5: Pulling fs layer [2022-11-03T00:10:59.004Z] 988bab9f4d93: Pulling fs layer [2022-11-03T00:10:59.004Z] 1469e6f7b9e6: Pulling fs layer [2022-11-03T00:10:59.004Z] eaf3925da568: Pulling fs layer [2022-11-03T00:10:59.004Z] bab4dde63d76: Pulling fs layer [2022-11-03T00:10:59.004Z] bde34c3a00c8: Pulling fs layer [2022-11-03T00:10:59.004Z] b352a97aabf1: Pulling fs layer [2022-11-03T00:10:59.004Z] 4872d77fe225: Pulling fs layer [2022-11-03T00:10:59.004Z] 5851b861e8e6: Pulling fs layer [2022-11-03T00:10:59.004Z] bde34c3a00c8: Waiting [2022-11-03T00:10:59.004Z] b352a97aabf1: Waiting [2022-11-03T00:10:59.004Z] bab4dde63d76: Waiting [2022-11-03T00:10:59.004Z] 4872d77fe225: Waiting [2022-11-03T00:10:59.004Z] 5851b861e8e6: Waiting [2022-11-03T00:10:59.004Z] 988bab9f4d93: Waiting [2022-11-03T00:10:59.004Z] eaf3925da568: Waiting [2022-11-03T00:10:59.004Z] 1469e6f7b9e6: Waiting [2022-11-03T00:10:59.004Z] e2be974225ed: Verifying Checksum [2022-11-03T00:10:59.004Z] e2be974225ed: Download complete [2022-11-03T00:10:59.004Z] 988bab9f4d93: Download complete [2022-11-03T00:10:59.264Z] 1469e6f7b9e6: Verifying Checksum [2022-11-03T00:10:59.264Z] 1469e6f7b9e6: Download complete [2022-11-03T00:10:59.264Z] 339a4e72a1f5: Verifying Checksum [2022-11-03T00:10:59.264Z] 339a4e72a1f5: Download complete [2022-11-03T00:10:59.264Z] eaf3925da568: Verifying Checksum [2022-11-03T00:10:59.264Z] eaf3925da568: Download complete [2022-11-03T00:10:59.264Z] bde34c3a00c8: Download complete [2022-11-03T00:10:59.264Z] b352a97aabf1: Download complete [2022-11-03T00:10:59.264Z] 4872d77fe225: Download complete [2022-11-03T00:10:59.264Z] 5851b861e8e6: Verifying Checksum [2022-11-03T00:10:59.264Z] b85a868b505f: Verifying Checksum [2022-11-03T00:10:59.264Z] b85a868b505f: Download complete [2022-11-03T00:10:59.524Z] bab4dde63d76: Verifying Checksum [2022-11-03T00:10:59.524Z] bab4dde63d76: Download complete [2022-11-03T00:11:00.463Z] b85a868b505f: Pull complete [2022-11-03T00:11:00.723Z] e2be974225ed: Pull complete [2022-11-03T00:11:01.298Z] 339a4e72a1f5: Pull complete [2022-11-03T00:11:01.298Z] 988bab9f4d93: Pull complete [2022-11-03T00:11:01.557Z] 1469e6f7b9e6: Pull complete [2022-11-03T00:11:01.818Z] eaf3925da568: Pull complete [2022-11-03T00:11:03.729Z] bab4dde63d76: Pull complete [2022-11-03T00:11:03.729Z] bde34c3a00c8: Pull complete [2022-11-03T00:11:03.729Z] b352a97aabf1: Pull complete [2022-11-03T00:11:03.729Z] 4872d77fe225: Pull complete [2022-11-03T00:11:04.000Z] 5851b861e8e6: Pull complete [2022-11-03T00:11:04.000Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-03T00:11:04.000Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-03T00:11:04.000Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T00:11:04.087Z] prd-ubuntu20.04-docker-8c-8g-118025 does not seem to be running inside a container [2022-11-03T00:11:04.119Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-03T00:11:10.695Z] $ docker top fb4c4c91bf9b0f8b3fe438c156b44c1161e30c7623f150c8de521ad6700ce1ec -eo pid,comm [2022-11-03T00:11:10.785Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-11-03T00:11:10.785Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-03T00:11:10.819Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-03T00:11:10.819Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-03T00:11:10.944Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-03T00:11:10.948Z] $ docker exec fb4c4c91bf9b0f8b3fe438c156b44c1161e30c7623f150c8de521ad6700ce1ec ssh-agent [2022-11-03T00:11:11.055Z] SSH_AUTH_SOCK=/tmp/ssh-gLMavxLJA4Pp/agent.14 [2022-11-03T00:11:11.055Z] SSH_AGENT_PID=20 [2022-11-03T00:11:11.061Z] Running ssh-add (command line suppressed) [2022-11-03T00:11:11.180Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_17292781678120083212.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_17292781678120083212.key) [2022-11-03T00:11:11.211Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-03T00:11:11.502Z] + git tag --points-at HEAD [Pipeline] } [2022-11-03T00:11:11.514Z] $ docker exec --env ******** --env ******** fb4c4c91bf9b0f8b3fe438c156b44c1161e30c7623f150c8de521ad6700ce1ec ssh-agent -k [2022-11-03T00:11:11.658Z] unset SSH_AUTH_SOCK; [2022-11-03T00:11:11.674Z] unset SSH_AGENT_PID; [2022-11-03T00:11:11.674Z] echo Agent pid 20 killed; [2022-11-03T00:11:11.695Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-03T00:11:11.717Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-03T00:11:11.717Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-03T00:11:11.837Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-03T00:11:11.841Z] $ docker exec fb4c4c91bf9b0f8b3fe438c156b44c1161e30c7623f150c8de521ad6700ce1ec ssh-agent [2022-11-03T00:11:11.951Z] SSH_AUTH_SOCK=/tmp/ssh-q3jiGyohQL28/agent.72 [2022-11-03T00:11:11.951Z] SSH_AGENT_PID=78 [2022-11-03T00:11:11.956Z] Running ssh-add (command line suppressed) [2022-11-03T00:11:12.066Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_13556183482692150830.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_13556183482692150830.key) [2022-11-03T00:11:12.078Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-03T00:11:12.364Z] + git semver init [2022-11-03T00:11:12.624Z] 2022-11-03 00:11:12,596 [run_init] DEBUG init version:0.0.0 force:False [2022-11-03T00:11:12.625Z] 2022-11-03 00:11:12,598 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_app-functions-sdk-go_main/.semver [2022-11-03T00:11:12.625Z] 2022-11-03 00:11:12,598 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-functions-sdk-go.git /w/workspace/oundry_app-functions-sdk-go_main/.semver [2022-11-03T00:11:12.625Z] 2022-11-03 00:11:12,599 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-functions-sdk-go.git', '/w/workspace/oundry_app-functions-sdk-go_main/.semver'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2022-11-03T00:11:15.171Z] 2022-11-03 00:11:14,624 [append_file] DEBUG append to file:/w/workspace/oundry_app-functions-sdk-go_main/.git/info/exclude [2022-11-03T00:11:15.172Z] 2022-11-03 00:11:14,625 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:False [2022-11-03T00:11:15.172Z] 2022-11-03 00:11:14,625 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-11-03T00:11:15.172Z] 2022-11-03 00:11:14,625 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-11-03T00:11:15.172Z] 2.3.0-dev.60 [Pipeline] } [2022-11-03T00:11:15.188Z] $ docker exec --env ******** --env ******** fb4c4c91bf9b0f8b3fe438c156b44c1161e30c7623f150c8de521ad6700ce1ec ssh-agent -k [2022-11-03T00:11:15.289Z] unset SSH_AUTH_SOCK; [2022-11-03T00:11:15.290Z] unset SSH_AGENT_PID; [2022-11-03T00:11:15.290Z] echo Agent pid 78 killed; [2022-11-03T00:11:15.303Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-03T00:11:15.608Z] + git semver [Pipeline] } [2022-11-03T00:11:15.883Z] $ docker stop --time=1 fb4c4c91bf9b0f8b3fe438c156b44c1161e30c7623f150c8de521ad6700ce1ec [2022-11-03T00:11:17.280Z] $ docker rm -f fb4c4c91bf9b0f8b3fe438c156b44c1161e30c7623f150c8de521ad6700ce1ec [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-03T00:11:17.623Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-03T00:11:17.805Z] Stashed 1 file(s) [Pipeline] echo [2022-11-03T00:11:17.808Z] [edgeXSemver]: initialized semver on version 2.3.0-dev.60 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2022-11-03T00:11:18.029Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-03T00:11:18.045Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-03T00:11:18.060Z] ========================================================= [2022-11-03T00:11:18.060Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-03T00:11:18.060Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-11-03T00:11:18.439Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-03T00:11:18.439Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-03T00:11:18.439Z] 213ec9aee27d: Pulling fs layer [2022-11-03T00:11:18.439Z] 4583459ba037: Pulling fs layer [2022-11-03T00:11:18.439Z] 93c1e223e6f2: Pulling fs layer [2022-11-03T00:11:18.439Z] 53926ce57604: Pulling fs layer [2022-11-03T00:11:18.439Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-03T00:11:18.439Z] 22ff95d597cd: Pulling fs layer [2022-11-03T00:11:18.439Z] 12d6caf4c0d1: Pulling fs layer [2022-11-03T00:11:18.439Z] 96b7cbca73a9: Pulling fs layer [2022-11-03T00:11:18.439Z] 21b2b0c7a3f4: Waiting [2022-11-03T00:11:18.439Z] 53926ce57604: Waiting [2022-11-03T00:11:18.439Z] 22ff95d597cd: Waiting [2022-11-03T00:11:18.439Z] a7acece74701: Pulling fs layer [2022-11-03T00:11:18.439Z] a7acece74701: Waiting [2022-11-03T00:11:18.439Z] 12d6caf4c0d1: Waiting [2022-11-03T00:11:18.439Z] 96b7cbca73a9: Waiting [2022-11-03T00:11:18.439Z] 93c1e223e6f2: Verifying Checksum [2022-11-03T00:11:18.439Z] 93c1e223e6f2: Download complete [2022-11-03T00:11:18.439Z] 4583459ba037: Download complete [2022-11-03T00:11:18.439Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-03T00:11:18.439Z] 21b2b0c7a3f4: Download complete [2022-11-03T00:11:18.439Z] 22ff95d597cd: Download complete [2022-11-03T00:11:18.439Z] 213ec9aee27d: Verifying Checksum [2022-11-03T00:11:18.439Z] 213ec9aee27d: Download complete [2022-11-03T00:11:18.439Z] 12d6caf4c0d1: Download complete [2022-11-03T00:11:18.704Z] 213ec9aee27d: Pull complete [2022-11-03T00:11:18.704Z] 4583459ba037: Pull complete [2022-11-03T00:11:18.975Z] 93c1e223e6f2: Pull complete [2022-11-03T00:11:18.975Z] a7acece74701: Download complete [2022-11-03T00:11:19.556Z] 53926ce57604: Verifying Checksum [2022-11-03T00:11:19.556Z] 53926ce57604: Download complete [2022-11-03T00:11:19.556Z] 96b7cbca73a9: Verifying Checksum [2022-11-03T00:11:19.556Z] 96b7cbca73a9: Download complete [2022-11-03T00:11:23.751Z] 53926ce57604: Pull complete [2022-11-03T00:11:23.751Z] 21b2b0c7a3f4: Pull complete [2022-11-03T00:11:24.320Z] 22ff95d597cd: Pull complete [2022-11-03T00:11:24.581Z] 12d6caf4c0d1: Pull complete [2022-11-03T00:11:27.882Z] 96b7cbca73a9: Pull complete [2022-11-03T00:11:28.448Z] a7acece74701: Pull complete [2022-11-03T00:11:28.448Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-03T00:11:28.706Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-03T00:11:28.706Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] sh [2022-11-03T00:11:28.993Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T00:11:29.295Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-03T00:11:29.295Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T00:11:29.359Z] prd-ubuntu20.04-docker-8c-8g-118025 does not seem to be running inside a container [2022-11-03T00:11:29.401Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-03T00:11:32.940Z] Still waiting to schedule task [2022-11-03T00:11:32.941Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-118023’ [2022-11-03T00:11:40.075Z] $ docker top d2aae434ff72e06810c717038cba51f0d69de1a21a5f5a9dd042d38db07bb4f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T00:11:40.420Z] + go version [2022-11-03T00:11:40.420Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-03T00:11:40.432Z] $ docker stop --time=1 d2aae434ff72e06810c717038cba51f0d69de1a21a5f5a9dd042d38db07bb4f1 [2022-11-03T00:11:41.720Z] $ docker rm -f d2aae434ff72e06810c717038cba51f0d69de1a21a5f5a9dd042d38db07bb4f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T00:11:42.133Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-03T00:11:42.133Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T00:11:42.201Z] prd-ubuntu20.04-docker-8c-8g-118025 does not seem to be running inside a container [2022-11-03T00:11:42.232Z] $ 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 [2022-11-03T00:11:42.594Z] $ docker top 6392c62e25faca2300faf4d9cda75cbcdf3b852688f3e31db8bf001c283f0b80 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T00:11:42.939Z] + git config --global --add safe.directory /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2022-11-03T00:11:43.241Z] + make test [2022-11-03T00:11:43.242Z] make -C ./app-service-template build [2022-11-03T00:11:43.242Z] make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2022-11-03T00:11:43.242Z] go mod tidy [2022-11-03T00:11:43.242Z] go: downloading github.com/stretchr/testify v1.8.0 [2022-11-03T00:11:43.242Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.3.0 [2022-11-03T00:11:43.242Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 [2022-11-03T00:11:43.242Z] go: downloading github.com/google/uuid v1.3.0 [2022-11-03T00:11:43.242Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.3.0 [2022-11-03T00:11:43.500Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.3.0 [2022-11-03T00:11:43.500Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.3.0 [2022-11-03T00:11:43.500Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.6 [2022-11-03T00:11:43.500Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 [2022-11-03T00:11:43.500Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-11-03T00:11:43.500Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-11-03T00:11:43.500Z] go: downloading github.com/stretchr/objx v0.4.0 [2022-11-03T00:11:43.500Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2022-11-03T00:11:43.500Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-11-03T00:11:43.500Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-11-03T00:11:43.500Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.3.0 [2022-11-03T00:11:43.500Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.3.0 [2022-11-03T00:11:43.500Z] go: downloading github.com/go-kit/log v0.2.1 [2022-11-03T00:11:43.500Z] go: downloading github.com/go-playground/validator/v10 v10.11.1 [2022-11-03T00:11:43.500Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-11-03T00:11:43.500Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-11-03T00:11:43.500Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2022-11-03T00:11:43.500Z] go: downloading github.com/pelletier/go-toml v1.9.5 [2022-11-03T00:11:43.500Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-11-03T00:11:43.500Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-11-03T00:11:43.500Z] go: downloading golang.org/x/net v0.0.0-20211216030914-fe4d6282115f [2022-11-03T00:11:43.500Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2022-11-03T00:11:43.500Z] go: downloading bitbucket.org/bertimus9/systemstat v0.5.0 [2022-11-03T00:11:43.500Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-11-03T00:11:43.500Z] go: downloading github.com/hashicorp/consul/api v1.15.3 [2022-11-03T00:11:43.500Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.1.1 [2022-11-03T00:11:43.500Z] go: downloading github.com/nats-io/nats.go v1.18.0 [2022-11-03T00:11:43.500Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-11-03T00:11:43.500Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-11-03T00:11:43.500Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-11-03T00:11:43.500Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-11-03T00:11:43.500Z] go: downloading github.com/x448/float16 v0.8.4 [2022-11-03T00:11:43.500Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-11-03T00:11:43.758Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-11-03T00:11:43.758Z] go: downloading golang.org/x/crypto v0.0.0-20221010152910-d6f0a8c073c2 [2022-11-03T00:11:43.758Z] go: downloading golang.org/x/text v0.3.7 [2022-11-03T00:11:43.758Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-11-03T00:11:43.758Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-11-03T00:11:43.758Z] go: downloading github.com/hashicorp/go-hclog v0.14.1 [2022-11-03T00:11:44.015Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-11-03T00:11:44.015Z] go: downloading github.com/hashicorp/serf v0.9.7 [2022-11-03T00:11:44.015Z] go: downloading github.com/mitchellh/mapstructure v1.5.0 [2022-11-03T00:11:44.274Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-11-03T00:11:44.274Z] go: downloading github.com/nats-io/nats-server/v2 v2.9.3 [2022-11-03T00:11:44.274Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-11-03T00:11:44.274Z] go: downloading github.com/google/go-cmp v0.5.7 [2022-11-03T00:11:44.274Z] go: downloading github.com/hashicorp/consul/sdk v0.11.0 [2022-11-03T00:11:44.274Z] go: downloading github.com/hashicorp/go-uuid v1.0.2 [2022-11-03T00:11:44.274Z] go: downloading github.com/Microsoft/go-winio v0.5.2 [2022-11-03T00:11:44.274Z] go: downloading github.com/zeebo/errs v1.2.2 [2022-11-03T00:11:44.274Z] go: downloading google.golang.org/grpc v1.46.0 [2022-11-03T00:11:44.535Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-11-03T00:11:44.535Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-11-03T00:11:44.535Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-11-03T00:11:44.535Z] go: downloading github.com/nats-io/nkeys v0.3.0 [2022-11-03T00:11:44.535Z] go: downloading github.com/nats-io/nuid v1.0.1 [2022-11-03T00:11:44.535Z] go: downloading golang.org/x/sys v0.0.0-20221010170243-090e33056c14 [2022-11-03T00:11:44.535Z] go: downloading github.com/fatih/color v1.9.0 [2022-11-03T00:11:44.535Z] go: downloading github.com/mattn/go-colorable v0.1.12 [2022-11-03T00:11:44.535Z] go: downloading github.com/mattn/go-isatty v0.0.14 [2022-11-03T00:11:44.535Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-11-03T00:11:44.535Z] go: downloading github.com/armon/go-metrics v0.3.10 [2022-11-03T00:11:44.535Z] go: downloading github.com/kr/pretty v0.3.0 [2022-11-03T00:11:44.797Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 [2022-11-03T00:11:44.797Z] go: downloading github.com/hashicorp/go-msgpack v0.5.5 [2022-11-03T00:11:44.797Z] go: downloading github.com/hashicorp/memberlist v0.3.1 [2022-11-03T00:11:44.797Z] go: downloading gopkg.in/square/go-jose.v2 v2.4.1 [2022-11-03T00:11:44.797Z] go: downloading github.com/pkg/errors v0.9.1 [2022-11-03T00:11:44.797Z] go: downloading google.golang.org/protobuf v1.28.0 [2022-11-03T00:11:44.797Z] go: downloading github.com/klauspost/compress v1.15.11 [2022-11-03T00:11:44.797Z] go: downloading github.com/minio/highwayhash v1.0.2 [2022-11-03T00:11:44.797Z] go: downloading github.com/nats-io/jwt/v2 v2.3.0 [2022-11-03T00:11:45.058Z] go: downloading golang.org/x/time v0.0.0-20220922220347-f3bd1da661af [2022-11-03T00:11:45.058Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-11-03T00:11:45.058Z] go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa [2022-11-03T00:11:45.058Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-11-03T00:11:45.058Z] go: downloading github.com/kr/text v0.2.0 [2022-11-03T00:11:45.058Z] go: downloading github.com/hashicorp/go-immutable-radix v1.3.0 [2022-11-03T00:11:45.058Z] go: downloading github.com/pascaldekloe/goe v0.1.0 [2022-11-03T00:11:45.058Z] go: downloading github.com/google/btree v1.0.0 [2022-11-03T00:11:45.058Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.2 [2022-11-03T00:11:45.058Z] go: downloading github.com/miekg/dns v1.1.41 [2022-11-03T00:11:45.058Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-11-03T00:11:45.058Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-11-03T00:11:45.058Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2022-11-03T00:11:45.058Z] go: downloading github.com/hashicorp/golang-lru v0.5.4 [2022-11-03T00:11:45.319Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-11-03T00:11:45.319Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2022-11-03T00:11:47.228Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-new-service [2022-11-03T00:12:05.329Z] make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2022-11-03T00:12:05.329Z] make -C ./app-service-template test [2022-11-03T00:12:05.329Z] make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2022-11-03T00:12:05.329Z] CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... [2022-11-03T00:12:27.277Z] ok app-new-service 0.080s coverage: 48.1% of statements [2022-11-03T00:12:27.277Z] ? app-new-service/config [no test files] [2022-11-03T00:12:27.277Z] ok app-new-service/functions 0.076s coverage: 85.3% of statements [2022-11-03T00:12:27.277Z] CGO_ENABLED=1 go vet ./... [2022-11-03T00:12:39.487Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-03T00:12:39.487Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-03T00:12:39.487Z] ./bin/test-attribution-txt.sh [2022-11-03T00:12:39.487Z] make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2022-11-03T00:12:39.487Z] CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-11-03T00:12:39.487Z] go: downloading github.com/gomodule/redigo v1.8.9 [2022-11-03T00:12:40.056Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2022-11-03T00:12:46.621Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.112s coverage: 60.4% of statements [2022-11-03T00:12:46.621Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.090s coverage: 93.9% of statements [2022-11-03T00:12:46.621Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2022-11-03T00:12:46.621Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.088s coverage: 76.5% of statements [2022-11-03T00:12:46.621Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2022-11-03T00:12:46.621Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.110s coverage: 88.7% of statements [2022-11-03T00:12:46.621Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.067s coverage: 100.0% of statements [2022-11-03T00:12:46.621Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 1.314s coverage: 76.4% of statements [2022-11-03T00:12:46.621Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2022-11-03T00:12:46.621Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2022-11-03T00:12:46.621Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.125s coverage: 97.3% of statements [2022-11-03T00:12:46.621Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2022-11-03T00:12:46.621Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] [2022-11-03T00:12:46.621Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 1.261s coverage: 82.8% of statements [2022-11-03T00:12:46.621Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] [2022-11-03T00:12:46.621Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.698s coverage: 81.5% of statements [2022-11-03T00:12:46.621Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] [2022-11-03T00:12:46.621Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] [2022-11-03T00:12:46.621Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.085s coverage: 28.7% of statements [2022-11-03T00:12:46.621Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] [2022-11-03T00:12:46.621Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.058s coverage: 14.0% of statements [2022-11-03T00:12:46.621Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.073s coverage: 27.3% of statements [2022-11-03T00:12:46.621Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2022-11-03T00:12:46.621Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-11-03T00:12:46.621Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.070s coverage: 51.4% of statements [2022-11-03T00:13:13.201Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.143s coverage: 75.5% of statements [2022-11-03T00:13:13.201Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.057s coverage: 94.4% of statements [2022-11-03T00:13:13.201Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-03T00:13:13.201Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-03T00:13:13.201Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-03T00:13:23.184Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [Pipeline] echo [2022-11-03T00:13:23.194Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-03T00:13:23.208Z] $ docker stop --time=1 6392c62e25faca2300faf4d9cda75cbcdf3b852688f3e31db8bf001c283f0b80 [2022-11-03T00:13:25.314Z] $ docker rm -f 6392c62e25faca2300faf4d9cda75cbcdf3b852688f3e31db8bf001c283f0b80 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-03T00:13:26.097Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-03T00:13:26.161Z] 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 [2022-11-03T00:13:26.641Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-03T00:13:26.641Z] [2022-11-03T00:13:26.641Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T00:13:27.178Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-03T00:13:27.178Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-03T00:13:27.178Z] 5eb5b503b376: Pulling fs layer [2022-11-03T00:13:27.178Z] 5c69ac0246d0: Pulling fs layer [2022-11-03T00:13:27.178Z] ec43610c2a17: Pulling fs layer [2022-11-03T00:13:27.178Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-03T00:13:27.178Z] 33b1e0a273af: Pulling fs layer [2022-11-03T00:13:27.178Z] 5d3b04190fa2: Pulling fs layer [2022-11-03T00:13:27.178Z] 2f39f015ded8: Pulling fs layer [2022-11-03T00:13:27.178Z] 3a2ae6a8a46f: Waiting [2022-11-03T00:13:27.178Z] 33b1e0a273af: Waiting [2022-11-03T00:13:27.178Z] 5d3b04190fa2: Waiting [2022-11-03T00:13:27.178Z] 2f39f015ded8: Waiting [2022-11-03T00:13:27.178Z] 5c69ac0246d0: Verifying Checksum [2022-11-03T00:13:27.178Z] 5c69ac0246d0: Download complete [2022-11-03T00:13:27.178Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-03T00:13:27.178Z] 3a2ae6a8a46f: Download complete [2022-11-03T00:13:27.473Z] 33b1e0a273af: Verifying Checksum [2022-11-03T00:13:27.473Z] 33b1e0a273af: Download complete [2022-11-03T00:13:27.473Z] 5d3b04190fa2: Download complete [2022-11-03T00:13:27.473Z] ec43610c2a17: Verifying Checksum [2022-11-03T00:13:27.473Z] ec43610c2a17: Download complete [2022-11-03T00:13:27.473Z] 5eb5b503b376: Verifying Checksum [2022-11-03T00:13:27.473Z] 5eb5b503b376: Download complete [2022-11-03T00:13:28.105Z] 2f39f015ded8: Download complete [2022-11-03T00:13:29.052Z] 5eb5b503b376: Pull complete [2022-11-03T00:13:29.309Z] 5c69ac0246d0: Pull complete [2022-11-03T00:13:29.892Z] ec43610c2a17: Pull complete [2022-11-03T00:13:29.892Z] 3a2ae6a8a46f: Pull complete [2022-11-03T00:13:30.150Z] 33b1e0a273af: Pull complete [2022-11-03T00:13:30.150Z] 5d3b04190fa2: Pull complete [2022-11-03T00:13:34.345Z] 2f39f015ded8: Pull complete [2022-11-03T00:13:34.345Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-03T00:13:34.345Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-03T00:13:34.345Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T00:13:34.435Z] prd-ubuntu20.04-docker-8c-8g-118025 does not seem to be running inside a container [2022-11-03T00:13:34.468Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-03T00:13:43.687Z] $ docker top 29631d77e0ab09057308c6d86b0153dd3a31ef7409a16840de373411a5f8362b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T00:13:44.071Z] ---> job-cost.sh [2022-11-03T00:13:44.071Z] lf-activate-venv: SKIPPING [2022-11-03T00:13:44.071Z] INFO: No Stack... [2022-11-03T00:13:44.330Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-03T00:13:44.589Z] INFO: Archiving Costs [Pipeline] sh [2022-11-03T00:13:45.138Z] + cat /w/workspace/oundry_app-functions-sdk-go_main/archives/cost.csv [2022-11-03T00:13:45.138Z] + cut -d, -f6 [Pipeline] lock [2022-11-03T00:13:45.150Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-181-stack-cost] [2022-11-03T00:13:45.156Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-181-stack-cost] did not exist. Created. [2022-11-03T00:13:45.156Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-181-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-03T00:13:45.459Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-03T00:13:45.491Z] Stashed 1 file(s) [Pipeline] } [2022-11-03T00:13:45.502Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-181-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-03T00:13:45.526Z] $ docker stop --time=1 29631d77e0ab09057308c6d86b0153dd3a31ef7409a16840de373411a5f8362b [2022-11-03T00:13:46.687Z] $ docker rm -f 29631d77e0ab09057308c6d86b0153dd3a31ef7409a16840de373411a5f8362b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-03T00:14:08.969Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118030 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2022-11-03T00:14:08.982Z] Running in /w/workspace/app-functions-sdk-go/181 [Pipeline] { [Pipeline] checkout [2022-11-03T00:14:09.024Z] The recommended git tool is: git [2022-11-03T00:14:15.753Z] using credential edgex-jenkins-ssh [2022-11-03T00:14:15.772Z] Cloning the remote Git repository [2022-11-03T00:14:15.837Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2022-11-03T00:14:15.936Z] > git init /w/workspace/app-functions-sdk-go/181 # timeout=10 [2022-11-03T00:14:16.140Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2022-11-03T00:14:16.142Z] > git --version # timeout=10 [2022-11-03T00:14:16.168Z] > git --version # 'git version 2.25.1' [2022-11-03T00:14:16.171Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-03T00:14:16.241Z] Verifying host key using known hosts file [2022-11-03T00:14:16.508Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-03T00:14:16.526Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-03T00:14:20.275Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2022-11-03T00:14:20.296Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-03T00:14:21.240Z] Avoid second fetch [2022-11-03T00:14:21.240Z] Checking out Revision 69f97d03f41685722d8ac2f2abbcabc07e3408f6 (main) [2022-11-03T00:14:21.871Z] Commit message: "build: Released Go Mods (#1214)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-03T00:14:21.258Z] > git config core.sparsecheckout # timeout=10 [2022-11-03T00:14:21.283Z] > git checkout -f 69f97d03f41685722d8ac2f2abbcabc07e3408f6 # timeout=10 [2022-11-03T00:14:22.783Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-03T00:14:22.783Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-03T00:14:22.783Z] Dload Upload Total Spent Left Speed [2022-11-03T00:14:22.783Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 195k 0 --:--:-- --:--:-- --:--:-- 198k [Pipeline] sh [2022-11-03T00:14:23.440Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-03T00:14:23.787Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-03T00:14:23.787Z] + sudo tee /etc/docker/daemon.new [2022-11-03T00:14:23.787Z] { [2022-11-03T00:14:23.787Z] "registry-mirrors": [ [2022-11-03T00:14:23.787Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-03T00:14:23.787Z] ], [2022-11-03T00:14:23.787Z] "bip": "10.250.0.254/24", [2022-11-03T00:14:23.787Z] "hosts": [ [2022-11-03T00:14:23.787Z] "tcp://0.0.0.0:5555", [2022-11-03T00:14:23.787Z] "unix:///var/run/docker.sock" [2022-11-03T00:14:23.787Z] ], [2022-11-03T00:14:23.787Z] "mtu": 1458, [2022-11-03T00:14:23.787Z] "selinux-enabled": true, [2022-11-03T00:14:23.787Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-03T00:14:23.787Z] } [Pipeline] sh [2022-11-03T00:14:24.131Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-03T00:14:24.487Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2022-11-03T00:14:42.934Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-03T00:14:42.947Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-03T00:14:42.956Z] ========================================================= [2022-11-03T00:14:42.956Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-03T00:14:42.956Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-11-03T00:14:43.291Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-03T00:14:43.887Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-03T00:14:43.887Z] 9b18e9b68314: Pulling fs layer [2022-11-03T00:14:43.887Z] 35d82f9e3411: Pulling fs layer [2022-11-03T00:14:43.887Z] e16973657156: Pulling fs layer [2022-11-03T00:14:43.887Z] fc693d55d65f: Pulling fs layer [2022-11-03T00:14:43.887Z] 7e9fc2657dce: Pulling fs layer [2022-11-03T00:14:43.887Z] dda99020689f: Pulling fs layer [2022-11-03T00:14:43.887Z] db1c61fa0a46: Pulling fs layer [2022-11-03T00:14:43.887Z] 891c053d2c06: Pulling fs layer [2022-11-03T00:14:43.887Z] fc693d55d65f: Waiting [2022-11-03T00:14:43.887Z] 7e9fc2657dce: Waiting [2022-11-03T00:14:43.887Z] dda99020689f: Waiting [2022-11-03T00:14:43.887Z] 891c053d2c06: Waiting [2022-11-03T00:14:43.887Z] db1c61fa0a46: Waiting [2022-11-03T00:14:43.887Z] e16973657156: Verifying Checksum [2022-11-03T00:14:43.887Z] e16973657156: Download complete [2022-11-03T00:14:43.887Z] 35d82f9e3411: Verifying Checksum [2022-11-03T00:14:43.887Z] 35d82f9e3411: Download complete [2022-11-03T00:14:43.887Z] 7e9fc2657dce: Download complete [2022-11-03T00:14:43.887Z] dda99020689f: Download complete [2022-11-03T00:14:43.887Z] 9b18e9b68314: Verifying Checksum [2022-11-03T00:14:43.887Z] 9b18e9b68314: Download complete [2022-11-03T00:14:45.332Z] 9b18e9b68314: Pull complete [2022-11-03T00:14:45.332Z] 891c053d2c06: Verifying Checksum [2022-11-03T00:14:45.332Z] 891c053d2c06: Download complete [2022-11-03T00:14:45.935Z] 35d82f9e3411: Pull complete [2022-11-03T00:14:46.224Z] e16973657156: Pull complete [2022-11-03T00:14:46.495Z] db1c61fa0a46: Verifying Checksum [2022-11-03T00:14:47.463Z] fc693d55d65f: Verifying Checksum [2022-11-03T00:14:47.463Z] fc693d55d65f: Download complete [2022-11-03T00:14:59.830Z] fc693d55d65f: Pull complete [2022-11-03T00:14:59.830Z] 7e9fc2657dce: Pull complete [2022-11-03T00:15:00.099Z] dda99020689f: Pull complete [2022-11-03T00:15:06.776Z] db1c61fa0a46: Pull complete [2022-11-03T00:15:07.748Z] 891c053d2c06: Pull complete [2022-11-03T00:15:07.748Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-03T00:15:07.748Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-03T00:15:07.748Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] sh [2022-11-03T00:15:08.077Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T00:15:08.422Z] + docker inspect -f . ci-base-image-arm64 [2022-11-03T00:15:08.422Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T00:15:08.617Z] prd-ubuntu20.04-docker-arm64-4c-16g-118030 does not seem to be running inside a container [2022-11-03T00:15:08.694Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/181 -v /w/workspace/app-functions-sdk-go/181:/w/workspace/app-functions-sdk-go/181:rw,z -v /w/workspace/app-functions-sdk-go/181@tmp:/w/workspace/app-functions-sdk-go/181@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-03T00:15:12.169Z] $ docker top ba0f00e220290df63dd95661672c634c9d53d356373b75c14686a48f5d471feb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T00:15:13.105Z] + go version [2022-11-03T00:15:13.105Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-03T00:15:13.130Z] $ docker stop --time=1 ba0f00e220290df63dd95661672c634c9d53d356373b75c14686a48f5d471feb [2022-11-03T00:15:14.919Z] $ docker rm -f ba0f00e220290df63dd95661672c634c9d53d356373b75c14686a48f5d471feb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T00:15:15.535Z] + docker inspect -f . ci-base-image-arm64 [2022-11-03T00:15:15.535Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T00:15:15.720Z] prd-ubuntu20.04-docker-arm64-4c-16g-118030 does not seem to be running inside a container [2022-11-03T00:15:15.796Z] $ 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/181 -v /w/workspace/app-functions-sdk-go/181:/w/workspace/app-functions-sdk-go/181:rw,z -v /w/workspace/app-functions-sdk-go/181@tmp:/w/workspace/app-functions-sdk-go/181@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-03T00:15:17.035Z] $ docker top e1d62ea9a14fa63b37adbcd128023b6ba101031e7e59ddc9f51dcbb1dafd4d2a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T00:15:17.872Z] + git config --global --add safe.directory /w/workspace/app-functions-sdk-go/181 [Pipeline] fileExists [Pipeline] sh [2022-11-03T00:15:18.531Z] + make test [2022-11-03T00:15:18.531Z] make -C ./app-service-template build [2022-11-03T00:15:18.531Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/181/app-service-template' [2022-11-03T00:15:18.531Z] go mod tidy [2022-11-03T00:15:18.531Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.3.0 [2022-11-03T00:15:18.531Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 [2022-11-03T00:15:18.804Z] go: downloading github.com/google/uuid v1.3.0 [2022-11-03T00:15:18.804Z] go: downloading github.com/stretchr/testify v1.8.0 [2022-11-03T00:15:18.804Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.3.0 [2022-11-03T00:15:19.077Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.3.0 [2022-11-03T00:15:19.077Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.3.0 [2022-11-03T00:15:19.077Z] go: downloading github.com/go-playground/validator/v10 v10.11.1 [2022-11-03T00:15:19.077Z] go: downloading github.com/go-kit/log v0.2.1 [2022-11-03T00:15:19.077Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-11-03T00:15:19.077Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2022-11-03T00:15:19.346Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.6 [2022-11-03T00:15:19.346Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 [2022-11-03T00:15:19.346Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-11-03T00:15:19.346Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-11-03T00:15:19.346Z] go: downloading github.com/stretchr/objx v0.4.0 [2022-11-03T00:15:19.346Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.3.0 [2022-11-03T00:15:19.615Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-11-03T00:15:19.615Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-11-03T00:15:19.615Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.3.0 [2022-11-03T00:15:19.615Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-11-03T00:15:19.615Z] go: downloading github.com/x448/float16 v0.8.4 [2022-11-03T00:15:19.615Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-11-03T00:15:19.615Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-11-03T00:15:19.615Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-11-03T00:15:19.615Z] go: downloading golang.org/x/crypto v0.0.0-20221010152910-d6f0a8c073c2 [2022-11-03T00:15:19.615Z] go: downloading golang.org/x/text v0.3.7 [2022-11-03T00:15:20.208Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-11-03T00:15:21.172Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-11-03T00:15:21.172Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-11-03T00:15:23.128Z] go: downloading github.com/pelletier/go-toml v1.9.5 [2022-11-03T00:15:23.128Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-11-03T00:15:23.128Z] go: downloading golang.org/x/net v0.0.0-20211216030914-fe4d6282115f [2022-11-03T00:15:23.128Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2022-11-03T00:15:23.128Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2022-11-03T00:15:23.128Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.1.1 [2022-11-03T00:15:23.396Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-11-03T00:15:23.396Z] go: downloading github.com/hashicorp/consul/api v1.15.3 [2022-11-03T00:15:23.396Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-11-03T00:15:23.396Z] go: downloading golang.org/x/sys v0.0.0-20221010170243-090e33056c14 [2022-11-03T00:15:23.396Z] go: downloading github.com/kr/pretty v0.3.0 [2022-11-03T00:15:23.669Z] go: downloading bitbucket.org/bertimus9/systemstat v0.5.0 [2022-11-03T00:15:23.669Z] go: downloading github.com/nats-io/nats.go v1.18.0 [2022-11-03T00:15:23.669Z] go: downloading github.com/nats-io/nats-server/v2 v2.9.3 [2022-11-03T00:15:23.941Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-11-03T00:15:23.941Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-11-03T00:15:23.941Z] go: downloading github.com/Microsoft/go-winio v0.5.2 [2022-11-03T00:15:24.210Z] go: downloading github.com/zeebo/errs v1.2.2 [2022-11-03T00:15:24.210Z] go: downloading google.golang.org/grpc v1.46.0 [2022-11-03T00:15:25.174Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-11-03T00:15:25.174Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-11-03T00:15:25.174Z] go: downloading github.com/kr/text v0.2.0 [2022-11-03T00:15:25.174Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-11-03T00:15:25.174Z] go: downloading github.com/hashicorp/go-hclog v0.14.1 [2022-11-03T00:15:25.174Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-11-03T00:15:25.174Z] go: downloading github.com/hashicorp/serf v0.9.7 [2022-11-03T00:15:25.174Z] go: downloading github.com/mitchellh/mapstructure v1.5.0 [2022-11-03T00:15:25.174Z] go: downloading github.com/google/go-cmp v0.5.7 [2022-11-03T00:15:25.442Z] go: downloading github.com/hashicorp/consul/sdk v0.11.0 [2022-11-03T00:15:25.442Z] go: downloading github.com/hashicorp/go-uuid v1.0.2 [2022-11-03T00:15:25.442Z] go: downloading github.com/nats-io/nkeys v0.3.0 [2022-11-03T00:15:25.442Z] go: downloading github.com/nats-io/nuid v1.0.1 [2022-11-03T00:15:25.442Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-11-03T00:15:25.442Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-11-03T00:15:25.710Z] go: downloading gopkg.in/square/go-jose.v2 v2.4.1 [2022-11-03T00:15:25.710Z] go: downloading google.golang.org/protobuf v1.28.0 [2022-11-03T00:15:25.710Z] go: downloading github.com/klauspost/compress v1.15.11 [2022-11-03T00:15:26.682Z] go: downloading github.com/minio/highwayhash v1.0.2 [2022-11-03T00:15:26.682Z] go: downloading github.com/nats-io/jwt/v2 v2.3.0 [2022-11-03T00:15:26.682Z] go: downloading golang.org/x/time v0.0.0-20220922220347-f3bd1da661af [2022-11-03T00:15:26.682Z] go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa [2022-11-03T00:15:26.682Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-11-03T00:15:30.041Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-11-03T00:15:30.041Z] go: downloading github.com/fatih/color v1.9.0 [2022-11-03T00:15:30.041Z] go: downloading github.com/mattn/go-colorable v0.1.12 [2022-11-03T00:15:30.041Z] go: downloading github.com/mattn/go-isatty v0.0.14 [2022-11-03T00:15:30.041Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-11-03T00:15:30.041Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 [2022-11-03T00:15:30.041Z] go: downloading github.com/pkg/errors v0.9.1 [2022-11-03T00:15:30.041Z] go: downloading github.com/armon/go-metrics v0.3.10 [2022-11-03T00:15:30.041Z] go: downloading github.com/hashicorp/go-msgpack v0.5.5 [2022-11-03T00:15:30.308Z] go: downloading github.com/hashicorp/memberlist v0.3.1 [2022-11-03T00:15:30.576Z] go: downloading github.com/hashicorp/go-immutable-radix v1.3.0 [2022-11-03T00:15:30.576Z] go: downloading github.com/pascaldekloe/goe v0.1.0 [2022-11-03T00:15:30.576Z] go: downloading github.com/google/btree v1.0.0 [2022-11-03T00:15:30.576Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.2 [2022-11-03T00:15:30.845Z] go: downloading github.com/miekg/dns v1.1.41 [2022-11-03T00:15:30.845Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-11-03T00:15:31.111Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2022-11-03T00:15:31.111Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-11-03T00:15:31.111Z] go: downloading github.com/hashicorp/golang-lru v0.5.4 [2022-11-03T00:15:31.381Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-11-03T00:15:31.381Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2022-11-03T00:15:32.792Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-new-service [2022-11-03T00:17:54.536Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/181/app-service-template' [2022-11-03T00:17:54.536Z] make -C ./app-service-template test [2022-11-03T00:17:54.536Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/181/app-service-template' [2022-11-03T00:17:54.536Z] CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... [2022-11-03T00:21:16.465Z] ok app-new-service 0.319s coverage: 48.1% of statements [2022-11-03T00:21:16.465Z] ? app-new-service/config [no test files] [2022-11-03T00:21:16.465Z] ok app-new-service/functions 0.327s coverage: 85.3% of statements [2022-11-03T00:21:16.465Z] CGO_ENABLED=1 go vet ./... [2022-11-03T00:23:08.226Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-03T00:23:08.226Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-03T00:23:08.226Z] ./bin/test-attribution-txt.sh [2022-11-03T00:23:08.226Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/181/app-service-template' [2022-11-03T00:23:08.226Z] CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-11-03T00:23:08.226Z] go: downloading github.com/gomodule/redigo v1.8.9 [2022-11-03T00:23:08.226Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2022-11-03T00:23:30.405Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.929s coverage: 60.4% of statements [2022-11-03T00:23:30.405Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.392s coverage: 93.9% of statements [2022-11-03T00:23:30.405Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2022-11-03T00:23:30.405Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.439s coverage: 76.5% of statements [2022-11-03T00:23:30.405Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2022-11-03T00:23:30.405Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.434s coverage: 88.7% of statements [2022-11-03T00:23:30.406Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.130s coverage: 100.0% of statements [2022-11-03T00:23:30.406Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.885s coverage: 76.4% of statements [2022-11-03T00:23:30.406Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2022-11-03T00:23:30.406Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2022-11-03T00:23:30.406Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.301s coverage: 97.3% of statements [2022-11-03T00:23:30.406Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2022-11-03T00:23:30.406Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] [2022-11-03T00:23:30.406Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.393s coverage: 82.8% of statements [2022-11-03T00:23:30.406Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] [2022-11-03T00:23:33.771Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 1.141s coverage: 81.5% of statements [2022-11-03T00:23:33.771Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] [2022-11-03T00:23:33.771Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] [2022-11-03T00:23:35.732Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.459s coverage: 28.7% of statements [2022-11-03T00:23:35.732Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] [2022-11-03T00:23:35.732Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.304s coverage: 14.0% of statements [2022-11-03T00:23:36.320Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.302s coverage: 27.3% of statements [2022-11-03T00:23:36.320Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2022-11-03T00:23:36.320Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-11-03T00:23:41.700Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.307s coverage: 51.4% of statements [2022-11-03T00:24:13.970Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.623s coverage: 75.5% of statements [2022-11-03T00:24:13.970Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.437s coverage: 94.4% of statements [2022-11-03T00:24:13.970Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-03T00:24:20.665Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-03T00:24:20.932Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-03T00:24:21.200Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] echo [2022-11-03T00:24:21.218Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-03T00:24:21.232Z] $ docker stop --time=1 e1d62ea9a14fa63b37adbcd128023b6ba101031e7e59ddc9f51dcbb1dafd4d2a [2022-11-03T00:24:23.116Z] $ docker rm -f e1d62ea9a14fa63b37adbcd128023b6ba101031e7e59ddc9f51dcbb1dafd4d2a [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-03T00:24:27.626Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-03T00:24:27.642Z] Warning: overwriting stash ‘coverage-report’ [2022-11-03T00:24:28.209Z] Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T00:24:28.704Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-03T00:24:28.704Z] [2022-11-03T00:24:28.704Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T00:24:29.040Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-03T00:24:29.040Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-03T00:24:29.040Z] 8998bd30e6a1: Pulling fs layer [2022-11-03T00:24:29.040Z] 04944245beec: Pulling fs layer [2022-11-03T00:24:29.040Z] 699f458cf7ca: Pulling fs layer [2022-11-03T00:24:29.040Z] 765212b225bb: Pulling fs layer [2022-11-03T00:24:29.040Z] f23df028b6ca: Pulling fs layer [2022-11-03T00:24:29.040Z] d65c8cfc05b1: Pulling fs layer [2022-11-03T00:24:29.040Z] 2437ff75d9bd: Pulling fs layer [2022-11-03T00:24:29.040Z] 765212b225bb: Waiting [2022-11-03T00:24:29.040Z] d65c8cfc05b1: Waiting [2022-11-03T00:24:29.040Z] 2437ff75d9bd: Waiting [2022-11-03T00:24:29.040Z] f23df028b6ca: Waiting [2022-11-03T00:24:29.310Z] 04944245beec: Verifying Checksum [2022-11-03T00:24:29.310Z] 04944245beec: Download complete [2022-11-03T00:24:29.310Z] 765212b225bb: Verifying Checksum [2022-11-03T00:24:29.310Z] 765212b225bb: Download complete [2022-11-03T00:24:29.310Z] f23df028b6ca: Download complete [2022-11-03T00:24:29.310Z] d65c8cfc05b1: Verifying Checksum [2022-11-03T00:24:29.580Z] 699f458cf7ca: Verifying Checksum [2022-11-03T00:24:29.580Z] 699f458cf7ca: Download complete [2022-11-03T00:24:29.849Z] 8998bd30e6a1: Download complete [2022-11-03T00:24:32.450Z] 2437ff75d9bd: Verifying Checksum [2022-11-03T00:24:32.450Z] 2437ff75d9bd: Download complete [2022-11-03T00:24:33.410Z] 8998bd30e6a1: Pull complete [2022-11-03T00:24:33.992Z] 04944245beec: Pull complete [2022-11-03T00:24:35.938Z] 699f458cf7ca: Pull complete [2022-11-03T00:24:35.938Z] 765212b225bb: Pull complete [2022-11-03T00:24:36.522Z] f23df028b6ca: Pull complete [2022-11-03T00:24:36.789Z] d65c8cfc05b1: Pull complete [2022-11-03T00:24:49.126Z] 2437ff75d9bd: Pull complete [2022-11-03T00:24:49.126Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-03T00:24:49.126Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-03T00:24:49.126Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T00:24:49.583Z] prd-ubuntu20.04-docker-arm64-4c-16g-118030 does not seem to be running inside a container [2022-11-03T00:24:49.702Z] $ 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/181 -v /w/workspace/app-functions-sdk-go/181:/w/workspace/app-functions-sdk-go/181:rw,z -v /w/workspace/app-functions-sdk-go/181@tmp:/w/workspace/app-functions-sdk-go/181@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-03T00:24:52.299Z] $ docker top 2eef01210216fda6ccf2ad8e4e78ef4d2211361635123d924ed87817bae7fa2d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T00:24:53.182Z] ---> job-cost.sh [2022-11-03T00:24:53.182Z] lf-activate-venv: SKIPPING [2022-11-03T00:24:53.182Z] INFO: No Stack... [2022-11-03T00:24:53.773Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-03T00:24:54.739Z] INFO: Archiving Costs [Pipeline] sh [2022-11-03T00:24:55.375Z] + cat /w/workspace/app-functions-sdk-go/181/archives/cost.csv [2022-11-03T00:24:55.375Z] + cut -d, -f6 [Pipeline] lock [2022-11-03T00:24:55.450Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-181-stack-cost] [2022-11-03T00:24:55.456Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-181-stack-cost] did not exist. Created. [2022-11-03T00:24:55.456Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-181-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-03T00:24:56.104Z] /w/workspace/app-functions-sdk-go/181@tmp/durable-69a4deca/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-03T00:24:56.436Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-03T00:24:56.716Z] Warning: overwriting stash ‘stack-cost’ [2022-11-03T00:24:56.790Z] Stashed 1 file(s) [Pipeline] } [2022-11-03T00:24:56.797Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-181-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-03T00:24:56.817Z] $ docker stop --time=1 2eef01210216fda6ccf2ad8e4e78ef4d2211361635123d924ed87817bae7fa2d [2022-11-03T00:24:58.397Z] $ docker rm -f 2eef01210216fda6ccf2ad8e4e78ef4d2211361635123d924ed87817bae7fa2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-11-03T00:24:58.794Z] provisioning config files... [2022-11-03T00:24:58.851Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config2274170796494272904tmp [Pipeline] { [Pipeline] sh [2022-11-03T00:24:59.145Z] + set +x [2022-11-03T00:24:59.145Z] + bash -s -- [2022-11-03T00:24:59.145Z] + curl -s https://codecov.io/bash [2022-11-03T00:24:59.145Z] [2022-11-03T00:24:59.145Z] _____ _ [2022-11-03T00:24:59.145Z] / ____| | | [2022-11-03T00:24:59.145Z] | | ___ __| | ___ ___ _____ __ [2022-11-03T00:24:59.145Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-03T00:24:59.145Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-03T00:24:59.145Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-03T00:24:59.145Z] Bash-1.0.6 [2022-11-03T00:24:59.145Z] [2022-11-03T00:24:59.145Z] [2022-11-03T00:24:59.145Z] ==> git version 2.25.1 found [2022-11-03T00:24:59.145Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-11-03T00:24:59.145Z] Release-Date: 2020-01-08 [2022-11-03T00:24:59.145Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-11-03T00:24:59.145Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-03T00:24:59.145Z] ==> Jenkins CI detected. [2022-11-03T00:24:59.145Z] current dir:  /w/workspace/oundry_app-functions-sdk-go_main [2022-11-03T00:24:59.145Z] project root: . [2022-11-03T00:24:59.145Z] --> token set from env [2022-11-03T00:24:59.145Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-03T00:24:59.145Z] ==> Running gcov in . (disable via -X gcov) [2022-11-03T00:24:59.145Z] ==> Python coveragepy not found [2022-11-03T00:24:59.145Z] ==> Searching for coverage reports in: [2022-11-03T00:24:59.145Z] + . [2022-11-03T00:24:59.145Z] -> Found 2 reports [2022-11-03T00:24:59.145Z] ==> Detecting git/mercurial file structure [2022-11-03T00:24:59.145Z] ==> Reading reports [2022-11-03T00:24:59.145Z] + ./app-service-template/coverage.out bytes=3432 [2022-11-03T00:24:59.145Z] + ./coverage.out bytes=126391 [2022-11-03T00:24:59.145Z] ==> Appending adjustments [2022-11-03T00:24:59.145Z] https://docs.codecov.io/docs/fixing-reports [2022-11-03T00:24:59.722Z] + Found adjustments [2022-11-03T00:24:59.722Z] ==> Gzipping contents [2022-11-03T00:24:59.722Z] 24K /tmp/codecov.uYVjAp.gz [2022-11-03T00:24:59.722Z] ==> Uploading reports [2022-11-03T00:24:59.722Z] url: https://codecov.io [2022-11-03T00:24:59.722Z] query: branch=main&commit=69f97d03f41685722d8ac2f2abbcabc07e3408f6&build=181&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F181%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-11-03T00:24:59.722Z] -> Pinging Codecov [2022-11-03T00:24:59.722Z] 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=69f97d03f41685722d8ac2f2abbcabc07e3408f6&build=181&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F181%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-11-03T00:24:59.984Z] -> Uploading to [2022-11-03T00:24:59.984Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-03/3D8B5DFFC46A037C893635FACE044666/69f97d03f41685722d8ac2f2abbcabc07e3408f6/fccaf9d6-8ee1-46c7-93af-557cf2a50d32.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221103T002459Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2059722e8367dd5229cfad11d73afcbb39c70a1ab36f4a97ea362d4997e45a91 [2022-11-03T00:24:59.984Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-03T00:24:59.984Z] Dload Upload Total Spent Left Speed [2022-11-03T00:25:00.243Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22151 0 0 100 22151 0 96308 --:--:-- --:--:-- --:--:-- 95891 100 22151 0 0 100 22151 0 95891 --:--:-- --:--:-- --:--:-- 95478 [2022-11-03T00:25:00.243Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/69f97d03f41685722d8ac2f2abbcabc07e3408f6 [Pipeline] } [2022-11-03T00:25:00.249Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-11-03T00:25:00.406Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-11-03T00:25:00.415Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T00:25:00.718Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-11-03T00:25:00.718Z] [2022-11-03T00:25:00.718Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T00:25:01.028Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-11-03T00:25:01.028Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-11-03T00:25:01.028Z] df9b9388f04a: Pulling fs layer [2022-11-03T00:25:01.028Z] 52dc419b0ee2: Pulling fs layer [2022-11-03T00:25:01.028Z] 25bc292e5bac: Pulling fs layer [2022-11-03T00:25:01.028Z] 114826534d7a: Pulling fs layer [2022-11-03T00:25:01.028Z] 4657fd5d0bcf: Pulling fs layer [2022-11-03T00:25:01.028Z] 6ad1cebc031e: Pulling fs layer [2022-11-03T00:25:01.028Z] 8a3aa393b2d8: Pulling fs layer [2022-11-03T00:25:01.028Z] 4657fd5d0bcf: Waiting [2022-11-03T00:25:01.028Z] 6ad1cebc031e: Waiting [2022-11-03T00:25:01.028Z] 114826534d7a: Waiting [2022-11-03T00:25:01.028Z] 8a3aa393b2d8: Waiting [2022-11-03T00:25:01.028Z] 25bc292e5bac: Verifying Checksum [2022-11-03T00:25:01.028Z] 25bc292e5bac: Download complete [2022-11-03T00:25:01.028Z] 52dc419b0ee2: Verifying Checksum [2022-11-03T00:25:01.028Z] 4657fd5d0bcf: Download complete [2022-11-03T00:25:01.028Z] df9b9388f04a: Download complete [2022-11-03T00:25:01.288Z] 6ad1cebc031e: Verifying Checksum [2022-11-03T00:25:01.288Z] 6ad1cebc031e: Download complete [2022-11-03T00:25:01.288Z] df9b9388f04a: Pull complete [2022-11-03T00:25:01.288Z] 52dc419b0ee2: Pull complete [2022-11-03T00:25:01.548Z] 25bc292e5bac: Pull complete [2022-11-03T00:25:01.817Z] 114826534d7a: Download complete [2022-11-03T00:25:01.817Z] 8a3aa393b2d8: Verifying Checksum [2022-11-03T00:25:01.817Z] 8a3aa393b2d8: Download complete [2022-11-03T00:25:06.089Z] 114826534d7a: Pull complete [2022-11-03T00:25:06.089Z] 4657fd5d0bcf: Pull complete [2022-11-03T00:25:06.089Z] 6ad1cebc031e: Pull complete [2022-11-03T00:25:08.632Z] 8a3aa393b2d8: Pull complete [2022-11-03T00:25:08.632Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-11-03T00:25:08.632Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-11-03T00:25:08.632Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T00:25:08.718Z] prd-ubuntu20.04-docker-8c-8g-118025 does not seem to be running inside a container [2022-11-03T00:25:08.763Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-11-03T00:25:15.074Z] $ docker top c1618e5ed860cfef7f54e13469a54edbcd8e452a2f4800eafde96336f2d7864b -eo pid,comm [Pipeline] { [Pipeline] echo [2022-11-03T00:25:15.139Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-functions-sdk-go:main' [Pipeline] sh [2022-11-03T00:25:15.418Z] + set -o pipefail [2022-11-03T00:25:15.418Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-functions-sdk-go:main' [2022-11-03T00:25:23.550Z] [2022-11-03T00:25:23.551Z] Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2022-11-03T00:25:23.551Z] [2022-11-03T00:25:23.551Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/899a6017-c938-46f1-adf7-2bd1b283a5ba/history/6ceab112-ae65-4413-b2e5-e489193abcab [2022-11-03T00:25:23.551Z] [2022-11-03T00:25:23.551Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-11-03T00:25:23.551Z] [2022-11-03T00:25:23.551Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-11-03T00:25:23.551Z] [2022-11-03T00:25:23.551Z] [2022-11-03T00:25:23.551Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2022-11-03T00:25:23.551Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2022-11-03T00:25:23.551Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2022-11-03T00:25:23.565Z] $ docker stop --time=1 c1618e5ed860cfef7f54e13469a54edbcd8e452a2f4800eafde96336f2d7864b [2022-11-03T00:25:29.280Z] $ docker rm -f c1618e5ed860cfef7f54e13469a54edbcd8e452a2f4800eafde96336f2d7864b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2022-11-03T00:25:29.703Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-03T00:25:29.717Z] provisioning config files... [2022-11-03T00:25:29.726Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config17658202717244834029tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T00:25:30.019Z] --> edgex-publish-swagger.sh [2022-11-03T00:25:30.019Z] === Publish openapi/v2 API === [2022-11-03T00:25:30.019Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-11-03T00:25:30.019Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v2/app-functions-sdk.yaml] [2022-11-03T00:25:30.019Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-03T00:25:30.019Z] Dload Upload Total Spent Left Speed [2022-11-03T00:25:30.957Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13708 0 0 100 13708 0 14353 --:--:-- --:--:-- --:--:-- 14353 100 13708 0 0 100 13708 0 14353 --:--:-- --:--:-- --:--:-- 14338 [2022-11-03T00:25:30.957Z] [2022-11-03T00:25:30.957Z] [Pipeline] } [2022-11-03T00:25:30.964Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-03T00:25:31.381Z] + git log --format=format:%s -1 69f97d03f41685722d8ac2f2abbcabc07e3408f6 [Pipeline] sh [2022-11-03T00:25:31.677Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-03T00:25:31.677Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T00:25:31.977Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-03T00:25:31.977Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T00:25:32.039Z] prd-ubuntu20.04-docker-8c-8g-118025 does not seem to be running inside a container [2022-11-03T00:25:32.075Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-03T00:25:32.528Z] $ docker top c5c7a64ac453d60fe1687ec5e7537a426f1460f7f557be2a64521b2d84ac4749 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-03T00:25:32.625Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-03T00:25:32.625Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-03T00:25:32.750Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-03T00:25:32.756Z] $ docker exec c5c7a64ac453d60fe1687ec5e7537a426f1460f7f557be2a64521b2d84ac4749 ssh-agent [2022-11-03T00:25:32.882Z] SSH_AUTH_SOCK=/tmp/ssh-eEqqoCJO6XkX/agent.32 [2022-11-03T00:25:32.882Z] SSH_AGENT_PID=38 [2022-11-03T00:25:32.889Z] Running ssh-add (command line suppressed) [2022-11-03T00:25:32.983Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_18039511858626767696.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_18039511858626767696.key) [2022-11-03T00:25:32.992Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-03T00:25:33.281Z] + git semver tag [2022-11-03T00:25:33.540Z] 2022-11-03 00:25:33,470 [run_tag] DEBUG tag force:False [2022-11-03T00:25:33.540Z] 2022-11-03 00:25:33,470 [check_head_tag] DEBUG check head tag [2022-11-03T00:25:33.540Z] 2022-11-03 00:25:33,473 [execute] INFO git cat-file --batch-check [2022-11-03T00:25:33.540Z] 2022-11-03 00:25:33,473 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) [2022-11-03T00:25:33.540Z] 2022-11-03 00:25:33,476 [execute] INFO git cat-file --batch [2022-11-03T00:25:33.540Z] 2022-11-03 00:25:33,477 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) [2022-11-03T00:25:33.540Z] 2022-11-03 00:25:33,497 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-11-03T00:25:33.540Z] 2022-11-03 00:25:33,497 [execute] INFO git tag -a v2.3.0-dev.60 -m v2.3.0-dev.60 [2022-11-03T00:25:33.540Z] 2022-11-03 00:25:33,497 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.60', '-m', 'v2.3.0-dev.60'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2022-11-03T00:25:33.540Z] 2022-11-03 00:25:33,501 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-11-03T00:25:33.540Z] 2.3.0-dev.60 [Pipeline] } [2022-11-03T00:25:33.552Z] $ docker exec --env ******** --env ******** c5c7a64ac453d60fe1687ec5e7537a426f1460f7f557be2a64521b2d84ac4749 ssh-agent -k [2022-11-03T00:25:33.660Z] unset SSH_AUTH_SOCK; [2022-11-03T00:25:33.661Z] unset SSH_AGENT_PID; [2022-11-03T00:25:33.661Z] echo Agent pid 38 killed; [2022-11-03T00:25:33.664Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-03T00:25:33.968Z] + git semver [Pipeline] } [2022-11-03T00:25:34.240Z] $ docker stop --time=1 c5c7a64ac453d60fe1687ec5e7537a426f1460f7f557be2a64521b2d84ac4749 [2022-11-03T00:25:35.548Z] $ docker rm -f c5c7a64ac453d60fe1687ec5e7537a426f1460f7f557be2a64521b2d84ac4749 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T00:25:35.959Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-11-03T00:25:35.959Z] [2022-11-03T00:25:35.959Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T00:25:36.260Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-11-03T00:25:36.260Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-11-03T00:25:36.261Z] ab5ef0e58194: Pulling fs layer [2022-11-03T00:25:36.261Z] 9712f1f96733: Pulling fs layer [2022-11-03T00:25:36.261Z] 63f879dbbcfc: Pulling fs layer [2022-11-03T00:25:36.261Z] 0d9ebad4ef96: Pulling fs layer [2022-11-03T00:25:36.261Z] e9a5061849ea: Pulling fs layer [2022-11-03T00:25:36.261Z] d747dcd14b5f: Pulling fs layer [2022-11-03T00:25:36.261Z] 2de7ff778b66: Pulling fs layer [2022-11-03T00:25:36.261Z] 0d9ebad4ef96: Waiting [2022-11-03T00:25:36.261Z] e9a5061849ea: Waiting [2022-11-03T00:25:36.261Z] d747dcd14b5f: Waiting [2022-11-03T00:25:36.261Z] 2de7ff778b66: Waiting [2022-11-03T00:25:36.261Z] 9712f1f96733: Download complete [2022-11-03T00:25:36.524Z] 63f879dbbcfc: Verifying Checksum [2022-11-03T00:25:36.524Z] 63f879dbbcfc: Download complete [2022-11-03T00:25:36.785Z] 0d9ebad4ef96: Verifying Checksum [2022-11-03T00:25:36.785Z] 0d9ebad4ef96: Download complete [2022-11-03T00:25:36.785Z] d747dcd14b5f: Verifying Checksum [2022-11-03T00:25:36.785Z] d747dcd14b5f: Download complete [2022-11-03T00:25:36.785Z] e9a5061849ea: Verifying Checksum [2022-11-03T00:25:36.785Z] e9a5061849ea: Download complete [2022-11-03T00:25:36.785Z] ab5ef0e58194: Download complete [2022-11-03T00:25:37.044Z] 2de7ff778b66: Verifying Checksum [2022-11-03T00:25:37.044Z] 2de7ff778b66: Download complete [2022-11-03T00:25:40.334Z] ab5ef0e58194: Pull complete [2022-11-03T00:25:40.334Z] 9712f1f96733: Pull complete [2022-11-03T00:25:41.266Z] 63f879dbbcfc: Pull complete [2022-11-03T00:25:45.453Z] 0d9ebad4ef96: Pull complete [2022-11-03T00:25:45.453Z] e9a5061849ea: Pull complete [2022-11-03T00:25:45.711Z] d747dcd14b5f: Pull complete [2022-11-03T00:25:47.082Z] 2de7ff778b66: Pull complete [2022-11-03T00:25:47.082Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-11-03T00:25:47.082Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-11-03T00:25:47.082Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T00:25:47.170Z] prd-ubuntu20.04-docker-8c-8g-118025 does not seem to be running inside a container [2022-11-03T00:25:47.211Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-11-03T00:26:00.992Z] $ docker top 7fd9f8f3ada71492404c5a8de8d065c1a4ad12214864f04f404b1da6250b49d8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-11-03T00:26:01.053Z] provisioning config files... [2022-11-03T00:26:01.060Z] copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config13361283023257596932tmp [2022-11-03T00:26:01.069Z] copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config4977730311695044082tmp [2022-11-03T00:26:01.079Z] copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config3270919519128412269tmp [Pipeline] { [Pipeline] echo [2022-11-03T00:26:01.089Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T00:26:01.371Z] ---> sigul-configuration.sh [2022-11-03T00:26:01.371Z] gpg: directory `/root/.gnupg' created [2022-11-03T00:26:01.371Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-11-03T00:26:01.371Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-11-03T00:26:01.371Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-11-03T00:26:01.371Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-11-03T00:26:01.371Z] gpg: CAST5 encrypted data [2022-11-03T00:26:01.371Z] gpg: encrypted with 1 passphrase [2022-11-03T00:26:01.371Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-11-03T00:26:01.655Z] + mkdir /home/jenkins [2022-11-03T00:26:01.655Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-11-03T00:26:01.958Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-11-03T00:26:01.966Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T00:26:02.258Z] ---> sigul-install.sh [2022-11-03T00:26:02.258Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-11-03T00:26:02.542Z] + git tag --list [2022-11-03T00:26:02.542Z] v0.1.0 [2022-11-03T00:26:02.542Z] v0.1.1 [2022-11-03T00:26:02.542Z] v1.0.0 [2022-11-03T00:26:02.542Z] v1.1.0 [2022-11-03T00:26:02.542Z] v1.2.0 [2022-11-03T00:26:02.542Z] v1.3.0 [2022-11-03T00:26:02.542Z] v1.3.1 [2022-11-03T00:26:02.542Z] v2.0.0 [2022-11-03T00:26:02.542Z] v2.0.1 [2022-11-03T00:26:02.542Z] v2.1.0 [2022-11-03T00:26:02.542Z] v2.1.1 [2022-11-03T00:26:02.542Z] v2.1.1-dev.3 [2022-11-03T00:26:02.542Z] v2.1.1-dev.4 [2022-11-03T00:26:02.542Z] v2.2.0 [2022-11-03T00:26:02.542Z] v2.2.1-dev.1 [2022-11-03T00:26:02.542Z] v2.2.1-dev.10 [2022-11-03T00:26:02.542Z] v2.2.1-dev.11 [2022-11-03T00:26:02.542Z] v2.2.1-dev.12 [2022-11-03T00:26:02.542Z] v2.2.1-dev.13 [2022-11-03T00:26:02.542Z] v2.2.1-dev.14 [2022-11-03T00:26:02.542Z] v2.2.1-dev.15 [2022-11-03T00:26:02.542Z] v2.2.1-dev.16 [2022-11-03T00:26:02.542Z] v2.2.1-dev.17 [2022-11-03T00:26:02.542Z] v2.2.1-dev.18 [2022-11-03T00:26:02.542Z] v2.2.1-dev.19 [2022-11-03T00:26:02.542Z] v2.2.1-dev.2 [2022-11-03T00:26:02.542Z] v2.2.1-dev.20 [2022-11-03T00:26:02.542Z] v2.2.1-dev.21 [2022-11-03T00:26:02.542Z] v2.2.1-dev.22 [2022-11-03T00:26:02.542Z] v2.2.1-dev.23 [2022-11-03T00:26:02.542Z] v2.2.1-dev.3 [2022-11-03T00:26:02.542Z] v2.2.1-dev.4 [2022-11-03T00:26:02.542Z] v2.2.1-dev.5 [2022-11-03T00:26:02.542Z] v2.2.1-dev.6 [2022-11-03T00:26:02.542Z] v2.2.1-dev.7 [2022-11-03T00:26:02.542Z] v2.2.1-dev.8 [2022-11-03T00:26:02.542Z] v2.2.1-dev.9 [2022-11-03T00:26:02.542Z] v2.3.0-dev.24 [2022-11-03T00:26:02.542Z] v2.3.0-dev.25 [2022-11-03T00:26:02.542Z] v2.3.0-dev.26 [2022-11-03T00:26:02.542Z] v2.3.0-dev.27 [2022-11-03T00:26:02.542Z] v2.3.0-dev.28 [2022-11-03T00:26:02.542Z] v2.3.0-dev.29 [2022-11-03T00:26:02.542Z] v2.3.0-dev.30 [2022-11-03T00:26:02.542Z] v2.3.0-dev.31 [2022-11-03T00:26:02.542Z] v2.3.0-dev.32 [2022-11-03T00:26:02.542Z] v2.3.0-dev.33 [2022-11-03T00:26:02.542Z] v2.3.0-dev.34 [2022-11-03T00:26:02.542Z] v2.3.0-dev.35 [2022-11-03T00:26:02.542Z] v2.3.0-dev.36 [2022-11-03T00:26:02.542Z] v2.3.0-dev.37 [2022-11-03T00:26:02.542Z] v2.3.0-dev.38 [2022-11-03T00:26:02.542Z] v2.3.0-dev.39 [2022-11-03T00:26:02.542Z] v2.3.0-dev.40 [2022-11-03T00:26:02.542Z] v2.3.0-dev.41 [2022-11-03T00:26:02.542Z] v2.3.0-dev.42 [2022-11-03T00:26:02.542Z] v2.3.0-dev.43 [2022-11-03T00:26:02.542Z] v2.3.0-dev.44 [2022-11-03T00:26:02.542Z] v2.3.0-dev.45 [2022-11-03T00:26:02.542Z] v2.3.0-dev.46 [2022-11-03T00:26:02.542Z] v2.3.0-dev.47 [2022-11-03T00:26:02.542Z] v2.3.0-dev.48 [2022-11-03T00:26:02.542Z] v2.3.0-dev.49 [2022-11-03T00:26:02.542Z] v2.3.0-dev.50 [2022-11-03T00:26:02.542Z] v2.3.0-dev.51 [2022-11-03T00:26:02.542Z] v2.3.0-dev.52 [2022-11-03T00:26:02.542Z] v2.3.0-dev.53 [2022-11-03T00:26:02.542Z] v2.3.0-dev.54 [2022-11-03T00:26:02.542Z] v2.3.0-dev.55 [2022-11-03T00:26:02.542Z] v2.3.0-dev.56 [2022-11-03T00:26:02.542Z] v2.3.0-dev.57 [2022-11-03T00:26:02.542Z] v2.3.0-dev.58 [2022-11-03T00:26:02.542Z] v2.3.0-dev.59 [2022-11-03T00:26:02.542Z] v2.3.0-dev.60 [Pipeline] sh [2022-11-03T00:26:02.826Z] + lftools sign git-tag v2.3.0-dev.60 [2022-11-03T00:26:03.394Z] Signing Git tag with Sigul... [2022-11-03T00:26:03.394Z] Signing v2.3.0-dev.60 [Pipeline] echo [2022-11-03T00:26:03.661Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T00:26:03.945Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-11-03T00:26:03.953Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-11-03T00:26:03.977Z] $ docker stop --time=1 7fd9f8f3ada71492404c5a8de8d065c1a4ad12214864f04f404b1da6250b49d8 [2022-11-03T00:26:05.480Z] $ docker rm -f 7fd9f8f3ada71492404c5a8de8d065c1a4ad12214864f04f404b1da6250b49d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-11-03T00:26:05.911Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-03T00:26:05.911Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T00:26:06.214Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-03T00:26:06.215Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T00:26:06.286Z] prd-ubuntu20.04-docker-8c-8g-118025 does not seem to be running inside a container [2022-11-03T00:26:06.323Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-03T00:26:06.713Z] $ docker top 5cd78b5a126009e9569e18b5966000b7c37b30a45deccd98a494e35169712f4c -eo pid,comm [2022-11-03T00:26:06.755Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-11-03T00:26:06.755Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-03T00:26:06.794Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-03T00:26:06.794Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-03T00:26:06.918Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-03T00:26:06.925Z] $ docker exec 5cd78b5a126009e9569e18b5966000b7c37b30a45deccd98a494e35169712f4c ssh-agent [2022-11-03T00:26:07.022Z] SSH_AUTH_SOCK=/tmp/ssh-N508a0sGwMed/agent.32 [2022-11-03T00:26:07.022Z] SSH_AGENT_PID=38 [2022-11-03T00:26:07.028Z] Running ssh-add (command line suppressed) [2022-11-03T00:26:07.130Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7437954332260437402.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7437954332260437402.key) [2022-11-03T00:26:07.139Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-03T00:26:07.428Z] + git semver bump pre [2022-11-03T00:26:07.687Z] 2022-11-03 00:26:07,617 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-11-03T00:26:07.687Z] 2022-11-03 00:26:07,617 [bump_version] DEBUG bumping version:2.3.0-dev.60 on axis:pre with prefix:dev [2022-11-03T00:26:07.687Z] 2022-11-03 00:26:07,617 [bump_version] DEBUG bumped version:2.3.0-dev.61 [2022-11-03T00:26:07.687Z] 2022-11-03 00:26:07,617 [write_version] DEBUG write version:2.3.0-dev.61 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:True [2022-11-03T00:26:07.687Z] 2022-11-03 00:26:07,617 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-11-03T00:26:07.687Z] 2022-11-03 00:26:07,617 [write_file] DEBUG write to file:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-11-03T00:26:07.687Z] 2022-11-03 00:26:07,619 [execute] INFO git cat-file --batch-check [2022-11-03T00:26:07.687Z] 2022-11-03 00:26:07,619 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-11-03T00:26:07.687Z] 2022-11-03 00:26:07,624 [execute] INFO git cat-file --batch [2022-11-03T00:26:07.687Z] 2022-11-03 00:26:07,625 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-11-03T00:26:07.687Z] 2022-11-03 00:26:07,630 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-11-03T00:26:07.687Z] 2.3.0-dev.61 [Pipeline] } [2022-11-03T00:26:07.700Z] $ docker exec --env ******** --env ******** 5cd78b5a126009e9569e18b5966000b7c37b30a45deccd98a494e35169712f4c ssh-agent -k [2022-11-03T00:26:07.799Z] unset SSH_AUTH_SOCK; [2022-11-03T00:26:07.800Z] unset SSH_AGENT_PID; [2022-11-03T00:26:07.800Z] echo Agent pid 38 killed; [2022-11-03T00:26:07.804Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-03T00:26:08.114Z] + git semver [Pipeline] } [2022-11-03T00:26:08.389Z] $ docker stop --time=1 5cd78b5a126009e9569e18b5966000b7c37b30a45deccd98a494e35169712f4c [2022-11-03T00:26:09.715Z] $ docker rm -f 5cd78b5a126009e9569e18b5966000b7c37b30a45deccd98a494e35169712f4c [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-03T00:26:10.068Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-03T00:26:10.068Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T00:26:10.365Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-03T00:26:10.365Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T00:26:10.432Z] prd-ubuntu20.04-docker-8c-8g-118025 does not seem to be running inside a container [2022-11-03T00:26:10.472Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-03T00:26:10.844Z] $ docker top f639620b4c970108fcacfea5180714b737e36b1a5cee06b286c0ba40d91b0abd -eo pid,comm [2022-11-03T00:26:10.890Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-11-03T00:26:10.890Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-03T00:26:10.926Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-03T00:26:10.926Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-03T00:26:11.039Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-03T00:26:11.046Z] $ docker exec f639620b4c970108fcacfea5180714b737e36b1a5cee06b286c0ba40d91b0abd ssh-agent [2022-11-03T00:26:11.164Z] SSH_AUTH_SOCK=/tmp/ssh-DAfnXgdrUBej/agent.32 [2022-11-03T00:26:11.164Z] SSH_AGENT_PID=38 [2022-11-03T00:26:11.168Z] Running ssh-add (command line suppressed) [2022-11-03T00:26:11.283Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5519604955682471994.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5519604955682471994.key) [2022-11-03T00:26:11.291Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-03T00:26:11.577Z] + git semver push [2022-11-03T00:26:12.144Z] 2022-11-03 00:26:11,862 [run_push] DEBUG push [2022-11-03T00:26:12.144Z] 2022-11-03 00:26:11,864 [execute] INFO git cat-file --batch-check [2022-11-03T00:26:12.144Z] 2022-11-03 00:26:11,864 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-11-03T00:26:12.144Z] 2022-11-03 00:26:11,868 [execute] INFO git rev-list 9d1a2d9a88a1906e580314d0d32331a948e852f7 -- [2022-11-03T00:26:12.144Z] 2022-11-03 00:26:11,869 [execute] DEBUG Popen(['git', 'rev-list', '9d1a2d9a88a1906e580314d0d32331a948e852f7', '--'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-11-03T00:26:12.144Z] 2022-11-03 00:26:11,884 [execute] INFO git fetch -v origin [2022-11-03T00:26:12.144Z] 2022-11-03 00:26:11,885 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-11-03T00:26:12.714Z] 2022-11-03 00:26:12,474 [run_push] DEBUG no remote changes detected [2022-11-03T00:26:12.714Z] 2022-11-03 00:26:12,475 [execute] INFO git push origin semver [2022-11-03T00:26:12.714Z] 2022-11-03 00:26:12,475 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-11-03T00:26:13.651Z] 2022-11-03 00:26:13,374 [run_push] DEBUG push all version tags [2022-11-03T00:26:13.651Z] 2022-11-03 00:26:13,375 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-11-03T00:26:13.651Z] 2022-11-03 00:26:13,375 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2022-11-03T00:26:14.220Z] 2022-11-03 00:26:14,159 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-11-03T00:26:14.220Z] 2.3.0-dev.61 [Pipeline] } [2022-11-03T00:26:14.235Z] $ docker exec --env ******** --env ******** f639620b4c970108fcacfea5180714b737e36b1a5cee06b286c0ba40d91b0abd ssh-agent -k [2022-11-03T00:26:14.328Z] unset SSH_AUTH_SOCK; [2022-11-03T00:26:14.329Z] unset SSH_AGENT_PID; [2022-11-03T00:26:14.329Z] echo Agent pid 38 killed; [2022-11-03T00:26:14.338Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-03T00:26:14.652Z] + git semver [Pipeline] } [2022-11-03T00:26:14.928Z] $ docker stop --time=1 f639620b4c970108fcacfea5180714b737e36b1a5cee06b286c0ba40d91b0abd [2022-11-03T00:26:16.639Z] $ docker rm -f f639620b4c970108fcacfea5180714b737e36b1a5cee06b286c0ba40d91b0abd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-11-03T00:26:17.217Z] + [ -d /w/workspace/oundry_app-functions-sdk-go_main/archives ] [2022-11-03T00:26:17.218Z] + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives [2022-11-03T00:26:17.218Z] total 16 [2022-11-03T00:26:17.218Z] drwxr-xr-x 3 root root 4096 Nov 3 00:13 . [2022-11-03T00:26:17.218Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 3 00:26 .. [2022-11-03T00:26:17.218Z] drwxr-xr-x 2 root root 4096 Nov 3 00:13 cost [2022-11-03T00:26:17.218Z] -rw-r--r-- 1 root root 92 Nov 3 00:13 cost.csv [2022-11-03T00:26:17.218Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_app-functions-sdk-go_main/archives [2022-11-03T00:26:17.218Z] + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives [2022-11-03T00:26:17.218Z] total 16 [2022-11-03T00:26:17.218Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 3 00:13 . [2022-11-03T00:26:17.218Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 3 00:26 .. [2022-11-03T00:26:17.218Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 3 00:13 cost [2022-11-03T00:26:17.218Z] -rw-r--r-- 1 jenkins jenkins 92 Nov 3 00:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-03T00:26:17.513Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T00:26:18.372Z] ---> package-listing.sh [2022-11-03T00:26:18.372Z] ++ facter osfamily [2022-11-03T00:26:18.372Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-03T00:26:18.632Z] + OS_FAMILY=debian [2022-11-03T00:26:18.632Z] + workspace=/w/workspace/oundry_app-functions-sdk-go_main [2022-11-03T00:26:18.632Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-03T00:26:18.632Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-03T00:26:18.632Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-03T00:26:18.632Z] + PACKAGES=/tmp/packages_start.txt [2022-11-03T00:26:18.632Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2022-11-03T00:26:18.632Z] + PACKAGES=/tmp/packages_end.txt [2022-11-03T00:26:18.632Z] + case "${OS_FAMILY}" in [2022-11-03T00:26:18.632Z] + dpkg -l [2022-11-03T00:26:18.632Z] + grep '^ii' [2022-11-03T00:26:18.632Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-03T00:26:18.632Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-03T00:26:18.632Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-03T00:26:18.632Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2022-11-03T00:26:18.632Z] + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ [2022-11-03T00:26:18.632Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_app-functions-sdk-go_main/archives/ [Pipeline] echo [2022-11-03T00:26:18.641Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_app-functions-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-03T00:26:18.918Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T00:26:19.476Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-03T00:26:19.476Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T00:26:19.539Z] prd-ubuntu20.04-docker-8c-8g-118025 does not seem to be running inside a container [2022-11-03T00:26:19.578Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_app-functions-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-03T00:26:19.807Z] $ docker top 2060998be1d5da22a13481a916a8b50b913223d94ea9d44f8da3e3c730903b7f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T00:26:20.140Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-03T00:26:20.424Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-03T00:26:20.707Z] + ls /var/log/sa-host [2022-11-03T00:26:20.707Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-03T00:26:20.806Z] provisioning config files... [2022-11-03T00:26:20.815Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config8653115145490901412tmp [Pipeline] { [Pipeline] echo [2022-11-03T00:26:20.830Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T00:26:21.115Z] ---> create-netrc.sh [Pipeline] } [2022-11-03T00:26:21.121Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-03T00:26:21.450Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-03T00:26:21.458Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T00:26:21.743Z] ---> sudo-logs.sh [2022-11-03T00:26:21.743Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-03T00:26:21.774Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T00:26:22.062Z] ---> job-cost.sh [2022-11-03T00:26:22.062Z] lf-activate-venv: SKIPPING [2022-11-03T00:26:22.062Z] DEBUG: total: 0.2199999988079071 [2022-11-03T00:26:22.062Z] INFO: Retrieving Stack Cost... [2022-11-03T00:26:22.323Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-03T00:26:22.891Z] INFO: Archiving Costs [Pipeline] echo [2022-11-03T00:26:22.902Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T00:26:23.188Z] ---> logs-deploy.sh [2022-11-03T00:26:23.188Z] lf-activate-venv: SKIPPING [2022-11-03T00:26:23.188Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/181 [2022-11-03T00:26:23.188Z] INFO: archiving workspace using pattern(s): [2022-11-03T00:26:24.130Z] Archives upload complete. [2022-11-03T00:26:24.130Z] INFO: archiving logs to Nexus