Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 368968050bc782de46964af672791c80bdc7cdcc 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-ssh15296927434431232232.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh3593535607079655268.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh8259920900868821560.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh12532226071419255767.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-ssh17524893661846529173.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-620 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 Avoid second fetch Checking out Revision 368968050bc782de46964af672791c80bdc7cdcc (main) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 368968050bc782de46964af672791c80bdc7cdcc # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 (#1176)" > git rev-list --no-walk ee79f075673e0cb5bd207a4f5e740d8162669990 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-22T16:41:05.457Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-22T16:41:05.501Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-22T16:41:05.515Z] ========================================================= [2022-09-22T16:41:05.515Z] EdgeX Global Pipelines Version Info [2022-09-22T16:41:05.515Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:41:06.869Z] ------------------- [2022-09-22T16:41:06.869Z] stable info: [2022-09-22T16:41:06.869Z] ------------------- [2022-09-22T16:41:06.869Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-22T16:41:06.869Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-22T16:41:06.869Z] Message: update stable to v1.0.239 [2022-09-22T16:41:07.452Z] ------------------- [2022-09-22T16:41:07.452Z] experimental info: [2022-09-22T16:41:07.452Z] ------------------- [2022-09-22T16:41:07.452Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-22T16:41:07.452Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-22T16:41:07.452Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-22T16:41:07.751Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2022-09-22T16:41:07.760Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2022-09-22T16:41:07.770Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-22T16:41:07.779Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-22T16:41:07.790Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-22T16:41:07.801Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-22T16:41:07.812Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-22T16:41:07.830Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-22T16:41:07.848Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-22T16:41:07.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-22T16:41:07.872Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-22T16:41:07.883Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2022-09-22T16:41:07.900Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-22T16:41:07.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-22T16:41:07.924Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T16:41:07.935Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T16:41:07.950Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T16:41:07.963Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T16:41:07.975Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-22T16:41:07.986Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-22T16:41:07.999Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-22T16:41:08.013Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-09-22T16:41:08.029Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-22T16:41:08.039Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-22T16:41:08.052Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2022-09-22T16:41:08.062Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-22T16:41:08.075Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-22T16:41:08.089Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-09-22T16:41:08.102Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-09-22T16:41:08.113Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-09-22T16:41:08.126Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 368968050bc782de46964af672791c80bdc7cdcc [Pipeline] echo [2022-09-22T16:41:08.137Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3689680 [Pipeline] echo [2022-09-22T16:41:08.151Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-22T16:41:08.508Z] + git rev-list -1 --merges 368968050bc782de46964af672791c80bdc7cdcc~1..368968050bc782de46964af672791c80bdc7cdcc [Pipeline] echo [2022-09-22T16:41:08.604Z] -----------> git rev-list -1 --merges 368968050bc782de46964af672791c80bdc7cdcc~1..368968050bc782de46964af672791c80bdc7cdcc 368968050bc782de46964af672791c80bdc7cdcc [false] [Pipeline] sh [2022-09-22T16:41:08.894Z] + git log --format=format:%s -1 368968050bc782de46964af672791c80bdc7cdcc [Pipeline] echo [2022-09-22T16:41:08.907Z] ========================================================= [2022-09-22T16:41:08.907Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-22T16:41:08.907Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T16:41:09.264Z] + git log --format=format:%s -1 368968050bc782de46964af672791c80bdc7cdcc [Pipeline] echo [2022-09-22T16:41:09.293Z] [semverPrep] GIT_COMMIT: 368968050bc782de46964af672791c80bdc7cdcc, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 (#1176) [Pipeline] echo [2022-09-22T16:41:09.299Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-22T16:41:09.636Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-22T16:41:09.636Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-22T16:41:09.636Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-22T16:41:09.636Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-22T16:41:09.636Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-22T16:41:09.636Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-22T16:41:09.636Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:41:10.038Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T16:41:11.467Z] [2022-09-22T16:41:11.467Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:41:11.768Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T16:41:12.704Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-22T16:41:12.704Z] b85a868b505f: Pulling fs layer [2022-09-22T16:41:12.704Z] e2be974225ed: Pulling fs layer [2022-09-22T16:41:12.704Z] 339a4e72a1f5: Pulling fs layer [2022-09-22T16:41:12.704Z] 988bab9f4d93: Pulling fs layer [2022-09-22T16:41:12.704Z] 1469e6f7b9e6: Pulling fs layer [2022-09-22T16:41:12.704Z] eaf3925da568: Pulling fs layer [2022-09-22T16:41:12.704Z] bab4dde63d76: Pulling fs layer [2022-09-22T16:41:12.704Z] bde34c3a00c8: Pulling fs layer [2022-09-22T16:41:12.704Z] b352a97aabf1: Pulling fs layer [2022-09-22T16:41:12.704Z] 4872d77fe225: Pulling fs layer [2022-09-22T16:41:12.704Z] 5851b861e8e6: Pulling fs layer [2022-09-22T16:41:12.704Z] 988bab9f4d93: Waiting [2022-09-22T16:41:12.704Z] 1469e6f7b9e6: Waiting [2022-09-22T16:41:12.704Z] eaf3925da568: Waiting [2022-09-22T16:41:12.704Z] bab4dde63d76: Waiting [2022-09-22T16:41:12.704Z] bde34c3a00c8: Waiting [2022-09-22T16:41:12.704Z] b352a97aabf1: Waiting [2022-09-22T16:41:12.704Z] 4872d77fe225: Waiting [2022-09-22T16:41:12.704Z] 5851b861e8e6: Waiting [2022-09-22T16:41:12.704Z] e2be974225ed: Verifying Checksum [2022-09-22T16:41:12.704Z] e2be974225ed: Download complete [2022-09-22T16:41:12.704Z] 988bab9f4d93: Verifying Checksum [2022-09-22T16:41:12.704Z] 988bab9f4d93: Download complete [2022-09-22T16:41:12.704Z] 1469e6f7b9e6: Verifying Checksum [2022-09-22T16:41:12.704Z] 1469e6f7b9e6: Download complete [2022-09-22T16:41:12.704Z] 339a4e72a1f5: Verifying Checksum [2022-09-22T16:41:12.704Z] 339a4e72a1f5: Download complete [2022-09-22T16:41:12.704Z] eaf3925da568: Verifying Checksum [2022-09-22T16:41:12.704Z] eaf3925da568: Download complete [2022-09-22T16:41:12.704Z] bde34c3a00c8: Download complete [2022-09-22T16:41:12.964Z] b352a97aabf1: Verifying Checksum [2022-09-22T16:41:12.964Z] 4872d77fe225: Download complete [2022-09-22T16:41:12.964Z] 5851b861e8e6: Download complete [2022-09-22T16:41:12.964Z] b85a868b505f: Download complete [2022-09-22T16:41:13.223Z] bab4dde63d76: Verifying Checksum [2022-09-22T16:41:13.223Z] bab4dde63d76: Download complete [2022-09-22T16:41:15.151Z] b85a868b505f: Pull complete [2022-09-22T16:41:15.732Z] e2be974225ed: Pull complete [2022-09-22T16:41:17.109Z] 339a4e72a1f5: Pull complete [2022-09-22T16:41:18.488Z] 988bab9f4d93: Pull complete [2022-09-22T16:41:19.870Z] 1469e6f7b9e6: Pull complete [2022-09-22T16:41:20.457Z] eaf3925da568: Pull complete [2022-09-22T16:41:22.989Z] bab4dde63d76: Pull complete [2022-09-22T16:41:24.404Z] bde34c3a00c8: Pull complete [2022-09-22T16:41:25.388Z] b352a97aabf1: Pull complete [2022-09-22T16:41:26.323Z] 4872d77fe225: Pull complete [2022-09-22T16:41:26.323Z] 5851b861e8e6: Pull complete [2022-09-22T16:41:26.323Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-22T16:41:26.323Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T16:41:26.323Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:41:26.423Z] prd-ubuntu20.04-docker-8c-8g-620 does not seem to be running inside a container [2022-09-22T16:41:26.458Z] $ 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-09-22T16:41:43.083Z] $ docker top 73d8164b060b228b7cd9613fda7a053af3f496d584efd6a59b00578d4ca9d0ee -eo pid,comm [2022-09-22T16:41:43.136Z] 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-09-22T16:41:43.136Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-22T16:41:43.169Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T16:41:43.169Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T16:41:43.318Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T16:41:43.323Z] $ docker exec 73d8164b060b228b7cd9613fda7a053af3f496d584efd6a59b00578d4ca9d0ee ssh-agent [2022-09-22T16:41:43.426Z] SSH_AUTH_SOCK=/tmp/ssh-2nVSZqdm6gOv/agent.14 [2022-09-22T16:41:43.426Z] SSH_AGENT_PID=20 [2022-09-22T16:41:43.438Z] Running ssh-add (command line suppressed) [2022-09-22T16:41:43.546Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_17125696880215037662.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_17125696880215037662.key) [2022-09-22T16:41:43.579Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T16:41:43.875Z] + git tag --points-at HEAD [Pipeline] } [2022-09-22T16:41:43.889Z] $ docker exec --env ******** --env ******** 73d8164b060b228b7cd9613fda7a053af3f496d584efd6a59b00578d4ca9d0ee ssh-agent -k [2022-09-22T16:41:43.990Z] unset SSH_AUTH_SOCK; [2022-09-22T16:41:43.991Z] unset SSH_AGENT_PID; [2022-09-22T16:41:43.991Z] echo Agent pid 20 killed; [2022-09-22T16:41:43.998Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-22T16:41:44.025Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T16:41:44.025Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T16:41:44.141Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T16:41:44.145Z] $ docker exec 73d8164b060b228b7cd9613fda7a053af3f496d584efd6a59b00578d4ca9d0ee ssh-agent [2022-09-22T16:41:44.301Z] SSH_AUTH_SOCK=/tmp/ssh-YQvvrlxOBhuN/agent.54 [2022-09-22T16:41:44.301Z] SSH_AGENT_PID=61 [2022-09-22T16:41:44.307Z] Running ssh-add (command line suppressed) [2022-09-22T16:41:44.428Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_12329590625298990764.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_12329590625298990764.key) [2022-09-22T16:41:44.483Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T16:41:44.802Z] + git semver init [2022-09-22T16:41:45.402Z] 2022-09-22 16:41:45,173 [run_init] DEBUG init version:0.0.0 force:False [2022-09-22T16:41:45.402Z] 2022-09-22 16:41:45,185 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_app-functions-sdk-go_main/.semver [2022-09-22T16:41:45.402Z] 2022-09-22 16:41:45,185 [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-09-22T16:41:45.402Z] 2022-09-22 16:41:45,185 [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-09-22T16:41:48.747Z] 2022-09-22 16:41:48,213 [append_file] DEBUG append to file:/w/workspace/oundry_app-functions-sdk-go_main/.git/info/exclude [2022-09-22T16:41:48.747Z] 2022-09-22 16:41:48,213 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:False [2022-09-22T16:41:48.747Z] 2022-09-22 16:41:48,213 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-09-22T16:41:48.747Z] 2022-09-22 16:41:48,214 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-09-22T16:41:48.747Z] 2.3.0-dev.41 [Pipeline] } [2022-09-22T16:41:48.760Z] $ docker exec --env ******** --env ******** 73d8164b060b228b7cd9613fda7a053af3f496d584efd6a59b00578d4ca9d0ee ssh-agent -k [2022-09-22T16:41:48.893Z] unset SSH_AUTH_SOCK; [2022-09-22T16:41:48.893Z] unset SSH_AGENT_PID; [2022-09-22T16:41:48.893Z] echo Agent pid 61 killed; [2022-09-22T16:41:48.902Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-22T16:41:49.216Z] + git semver [Pipeline] } [2022-09-22T16:41:50.175Z] $ docker stop --time=1 73d8164b060b228b7cd9613fda7a053af3f496d584efd6a59b00578d4ca9d0ee [2022-09-22T16:41:53.077Z] $ docker rm -f 73d8164b060b228b7cd9613fda7a053af3f496d584efd6a59b00578d4ca9d0ee [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T16:41:53.526Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-22T16:41:53.844Z] Stashed 1 file(s) [Pipeline] echo [2022-09-22T16:41:53.846Z] [edgeXSemver]: initialized semver on version 2.3.0-dev.41 [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-09-22T16:41:54.000Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T16:41:54.015Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T16:41:54.025Z] ========================================================= [2022-09-22T16:41:54.025Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-22T16:41:54.025Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-09-22T16:41:54.331Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-22T16:41:55.279Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-22T16:41:55.279Z] 2408cc74d12b: Pulling fs layer [2022-09-22T16:41:55.279Z] ea60b727a1ce: Pulling fs layer [2022-09-22T16:41:55.279Z] 30c4a7721957: Pulling fs layer [2022-09-22T16:41:55.279Z] 370296b7ddb6: Pulling fs layer [2022-09-22T16:41:55.279Z] 7c6cee850709: Pulling fs layer [2022-09-22T16:41:55.279Z] 39a5fcdaea64: Pulling fs layer [2022-09-22T16:41:55.279Z] d94ebbe4e438: Pulling fs layer [2022-09-22T16:41:55.279Z] bcfd1f05c69d: Pulling fs layer [2022-09-22T16:41:55.279Z] 59ccb84bbe0f: Pulling fs layer [2022-09-22T16:41:55.279Z] 370296b7ddb6: Waiting [2022-09-22T16:41:55.279Z] 39a5fcdaea64: Waiting [2022-09-22T16:41:55.279Z] bcfd1f05c69d: Waiting [2022-09-22T16:41:55.279Z] 59ccb84bbe0f: Waiting [2022-09-22T16:41:55.279Z] 7c6cee850709: Waiting [2022-09-22T16:41:55.279Z] d94ebbe4e438: Waiting [2022-09-22T16:41:55.279Z] 30c4a7721957: Verifying Checksum [2022-09-22T16:41:55.279Z] 30c4a7721957: Download complete [2022-09-22T16:41:55.279Z] ea60b727a1ce: Verifying Checksum [2022-09-22T16:41:55.279Z] ea60b727a1ce: Download complete [2022-09-22T16:41:55.279Z] 7c6cee850709: Verifying Checksum [2022-09-22T16:41:55.279Z] 7c6cee850709: Download complete [2022-09-22T16:41:55.279Z] 39a5fcdaea64: Verifying Checksum [2022-09-22T16:41:55.279Z] 39a5fcdaea64: Download complete [2022-09-22T16:41:55.279Z] 2408cc74d12b: Verifying Checksum [2022-09-22T16:41:55.279Z] d94ebbe4e438: Verifying Checksum [2022-09-22T16:41:55.279Z] d94ebbe4e438: Download complete [2022-09-22T16:41:55.875Z] 2408cc74d12b: Pull complete [2022-09-22T16:41:56.171Z] 59ccb84bbe0f: Verifying Checksum [2022-09-22T16:41:56.171Z] 59ccb84bbe0f: Download complete [2022-09-22T16:41:56.785Z] bcfd1f05c69d: Verifying Checksum [2022-09-22T16:41:56.785Z] bcfd1f05c69d: Download complete [2022-09-22T16:41:56.785Z] 370296b7ddb6: Verifying Checksum [2022-09-22T16:41:56.785Z] 370296b7ddb6: Download complete [2022-09-22T16:41:57.726Z] ea60b727a1ce: Pull complete [2022-09-22T16:41:59.627Z] 30c4a7721957: Pull complete [2022-09-22T16:42:04.893Z] 370296b7ddb6: Pull complete [2022-09-22T16:42:04.893Z] 7c6cee850709: Pull complete [2022-09-22T16:42:05.153Z] 39a5fcdaea64: Pull complete [2022-09-22T16:42:05.731Z] d94ebbe4e438: Pull complete [2022-09-22T16:42:08.287Z] bcfd1f05c69d: Pull complete [2022-09-22T16:42:08.938Z] Still waiting to schedule task [2022-09-22T16:42:08.939Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-09-22T16:42:09.246Z] 59ccb84bbe0f: Pull complete [2022-09-22T16:42:09.818Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-22T16:42:09.818Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-22T16:42:09.818Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] sh [2022-09-22T16:42:10.124Z] + 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-09-22T16:42:10.423Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-22T16:42:10.423Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:42:10.497Z] prd-ubuntu20.04-docker-8c-8g-620 does not seem to be running inside a container [2022-09-22T16:42:10.533Z] $ 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-09-22T16:42:32.402Z] $ docker top 2ae9c80cb059860cc295b1743e07750bb0a0ee36109ae49165fc84edb5657c19 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T16:42:32.772Z] + go version [2022-09-22T16:42:32.772Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-22T16:42:32.784Z] $ docker stop --time=1 2ae9c80cb059860cc295b1743e07750bb0a0ee36109ae49165fc84edb5657c19 [2022-09-22T16:42:38.462Z] $ docker rm -f 2ae9c80cb059860cc295b1743e07750bb0a0ee36109ae49165fc84edb5657c19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:42:39.576Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-22T16:42:39.576Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:42:39.640Z] prd-ubuntu20.04-docker-8c-8g-620 does not seem to be running inside a container [2022-09-22T16:42:39.704Z] $ 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-09-22T16:42:42.697Z] $ docker top 92cefc3962a8918149ee0011ad0e9345fd5ffdabe4e6d8144a37559a73049e0f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T16:42:43.032Z] + git config --global --add safe.directory /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2022-09-22T16:42:43.331Z] + make test [2022-09-22T16:42:43.331Z] make -C ./app-service-template build [2022-09-22T16:42:43.331Z] make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2022-09-22T16:42:43.331Z] go mod tidy [2022-09-22T16:42:43.331Z] go: downloading github.com/stretchr/testify v1.8.0 [2022-09-22T16:42:43.331Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 [2022-09-22T16:42:43.331Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.3.0-dev.16 [2022-09-22T16:42:43.331Z] go: downloading github.com/google/uuid v1.3.0 [2022-09-22T16:42:43.331Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.3.0-dev.15 [2022-09-22T16:42:43.331Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 [2022-09-22T16:42:43.331Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 [2022-09-22T16:42:43.331Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.5 [2022-09-22T16:42:43.331Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 [2022-09-22T16:42:43.597Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-09-22T16:42:43.597Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-09-22T16:42:43.597Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 [2022-09-22T16:42:43.597Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.3.0-dev.7 [2022-09-22T16:42:43.597Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-09-22T16:42:43.597Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-09-22T16:42:43.597Z] go: downloading github.com/stretchr/objx v0.4.0 [2022-09-22T16:42:43.597Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2022-09-22T16:42:43.597Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-09-22T16:42:43.597Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-09-22T16:42:43.597Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2022-09-22T16:42:43.597Z] go: downloading github.com/go-kit/log v0.2.0 [2022-09-22T16:42:43.597Z] go: downloading github.com/go-playground/validator/v10 v10.10.1 [2022-09-22T16:42:43.858Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-09-22T16:42:43.858Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2022-09-22T16:42:43.858Z] go: downloading github.com/pelletier/go-toml v1.9.5 [2022-09-22T16:42:43.858Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-09-22T16:42:43.858Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-09-22T16:42:43.858Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-09-22T16:42:43.858Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.1.1 [2022-09-22T16:42:43.858Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-09-22T16:42:43.858Z] go: downloading github.com/nats-io/nats.go v1.16.0 [2022-09-22T16:42:43.858Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-09-22T16:42:43.858Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-09-22T16:42:43.858Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-09-22T16:42:43.858Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-09-22T16:42:43.858Z] go: downloading golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e [2022-09-22T16:42:43.858Z] go: downloading golang.org/x/text v0.3.7 [2022-09-22T16:42:43.858Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-09-22T16:42:44.118Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-09-22T16:42:44.118Z] go: downloading github.com/x448/float16 v0.8.4 [2022-09-22T16:42:44.118Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-09-22T16:42:44.118Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-09-22T16:42:44.377Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-09-22T16:42:44.377Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-09-22T16:42:44.377Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-09-22T16:42:44.377Z] go: downloading github.com/mitchellh/mapstructure v1.5.0 [2022-09-22T16:42:45.014Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-09-22T16:42:45.014Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-09-22T16:42:45.014Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-09-22T16:42:45.014Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-09-22T16:42:45.014Z] go: downloading github.com/Microsoft/go-winio v0.5.2 [2022-09-22T16:42:45.014Z] go: downloading github.com/zeebo/errs v1.2.2 [2022-09-22T16:42:45.014Z] go: downloading google.golang.org/grpc v1.46.0 [2022-09-22T16:42:45.274Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-09-22T16:42:45.274Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-09-22T16:42:45.274Z] go: downloading github.com/nats-io/nkeys v0.3.0 [2022-09-22T16:42:45.274Z] go: downloading github.com/nats-io/nuid v1.0.1 [2022-09-22T16:42:45.274Z] go: downloading github.com/nats-io/nats-server/v2 v2.7.4 [2022-09-22T16:42:45.274Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-09-22T16:42:45.274Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-09-22T16:42:45.274Z] go: downloading github.com/fatih/color v1.9.0 [2022-09-22T16:42:45.274Z] go: downloading github.com/mattn/go-colorable v0.1.12 [2022-09-22T16:42:45.274Z] go: downloading github.com/mattn/go-isatty v0.0.14 [2022-09-22T16:42:45.274Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-09-22T16:42:45.274Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-09-22T16:42:45.274Z] go: downloading golang.org/x/sys v0.0.0-20220610221304-9f5ed59c137d [2022-09-22T16:42:45.274Z] go: downloading github.com/pkg/errors v0.9.1 [2022-09-22T16:42:45.274Z] go: downloading gopkg.in/square/go-jose.v2 v2.4.1 [2022-09-22T16:42:45.274Z] go: downloading github.com/kr/pretty v0.3.0 [2022-09-22T16:42:45.274Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-09-22T16:42:45.274Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-09-22T16:42:45.533Z] go: downloading google.golang.org/protobuf v1.28.0 [2022-09-22T16:42:45.533Z] go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa [2022-09-22T16:42:45.807Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-09-22T16:42:45.807Z] go: downloading github.com/google/go-cmp v0.5.6 [2022-09-22T16:42:45.807Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-09-22T16:42:45.807Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-09-22T16:42:45.807Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-09-22T16:42:45.807Z] go: downloading github.com/kr/text v0.2.0 [2022-09-22T16:42:45.807Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-09-22T16:42:45.807Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-09-22T16:42:45.807Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-09-22T16:42:45.807Z] go: downloading github.com/miekg/dns v1.1.26 [2022-09-22T16:42:45.807Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-09-22T16:42:45.807Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-09-22T16:42:46.067Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2022-09-22T16:42:46.067Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-09-22T16:42:46.067Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-09-22T16:42:46.067Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 [2022-09-22T16:42:46.067Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2022-09-22T16:42:47.971Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.3.0-dev.17 [2022-09-22T16:42:47.971Z] go: downloading golang.org/x/crypto v0.0.0-20220829220503-c86fa9a7ed90 [2022-09-22T16:42:47.971Z] go: downloading golang.org/x/sys v0.0.0-20220906135438-9e1f76180b77 [2022-09-22T16:42:47.971Z] go: downloading github.com/nats-io/nats.go v1.17.0 [2022-09-22T16:42:47.971Z] go: downloading github.com/nats-io/nats-server/v2 v2.9.0 [2022-09-22T16:42:47.971Z] go: downloading github.com/minio/highwayhash v1.0.2 [2022-09-22T16:42:47.971Z] go: downloading golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 [2022-09-22T16:42:47.971Z] go: downloading github.com/nats-io/jwt/v2 v2.3.0 [2022-09-22T16:42:47.971Z] go: downloading github.com/klauspost/compress v1.15.9 [2022-09-22T16:42:48.905Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o new-app-service [2022-09-22T16:43:07.112Z] make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2022-09-22T16:43:07.113Z] make -C ./app-service-template test [2022-09-22T16:43:07.113Z] make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2022-09-22T16:43:07.113Z] CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... [2022-09-22T16:44:23.823Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-622 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2022-09-22T16:44:23.836Z] Running in /w/workspace/app-functions-sdk-go/162 [Pipeline] { [Pipeline] checkout [2022-09-22T16:44:23.870Z] The recommended git tool is: git [2022-09-22T16:44:28.807Z] ok new-app-service 0.066s coverage: 48.1% of statements [2022-09-22T16:44:28.807Z] ? new-app-service/config [no test files] [2022-09-22T16:44:28.807Z] ok new-app-service/functions 0.043s [2022-09-22T16:44:28.807Z] CGO_ENABLED=1 go vet ./... [2022-09-22T16:44:29.065Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-22T16:44:29.065Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-22T16:44:29.324Z] ./bin/test-attribution-txt.sh [2022-09-22T16:44:29.324Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-22T16:44:29.324Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-22T16:44:29.324Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-09-22T16:44:29.324Z] make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2022-09-22T16:44:29.324Z] CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-22T16:44:29.324Z] go: downloading github.com/gomodule/redigo v1.8.9 [2022-09-22T16:44:29.796Z] using credential edgex-jenkins-ssh [2022-09-22T16:44:29.816Z] Cloning the remote Git repository [2022-09-22T16:44:29.873Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2022-09-22T16:44:29.965Z] > git init /w/workspace/app-functions-sdk-go/162 # timeout=10 [2022-09-22T16:44:30.326Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2022-09-22T16:44:30.154Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2022-09-22T16:44:30.155Z] > git --version # timeout=10 [2022-09-22T16:44:30.182Z] > git --version # 'git version 2.25.1' [2022-09-22T16:44:30.184Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T16:44:30.246Z] Verifying host key using known hosts file [2022-09-22T16:44:30.480Z] 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-09-22T16:44:30.496Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-22T16:44:34.517Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.107s coverage: 60.4% of statements [2022-09-22T16:44:34.517Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.184s coverage: 93.9% of statements [2022-09-22T16:44:34.517Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2022-09-22T16:44:34.517Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.104s coverage: 76.5% of statements [2022-09-22T16:44:34.517Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2022-09-22T16:44:34.517Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.068s coverage: 88.7% of statements [2022-09-22T16:44:34.517Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.077s coverage: 100.0% of statements [2022-09-22T16:44:34.517Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.198s coverage: 78.5% of statements [2022-09-22T16:44:34.517Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2022-09-22T16:44:34.517Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2022-09-22T16:44:34.517Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.077s coverage: 97.3% of statements [2022-09-22T16:44:34.517Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2022-09-22T16:44:34.517Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] [2022-09-22T16:44:34.517Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.139s coverage: 82.8% of statements [2022-09-22T16:44:34.517Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] [2022-09-22T16:44:34.517Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.764s coverage: 81.5% of statements [2022-09-22T16:44:34.517Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] [2022-09-22T16:44:34.517Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] [2022-09-22T16:44:34.517Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.093s coverage: 28.7% of statements [2022-09-22T16:44:34.517Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] [2022-09-22T16:44:34.517Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.070s coverage: 14.0% of statements [2022-09-22T16:44:34.517Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.062s coverage: 27.3% of statements [2022-09-22T16:44:34.517Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2022-09-22T16:44:34.517Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-22T16:44:34.517Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.064s coverage: 51.4% of statements [2022-09-22T16:44:35.350Z] Avoid second fetch [2022-09-22T16:44:35.351Z] Checking out Revision 368968050bc782de46964af672791c80bdc7cdcc (main) [2022-09-22T16:44:34.355Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2022-09-22T16:44:34.378Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-22T16:44:35.372Z] > git config core.sparsecheckout # timeout=10 [2022-09-22T16:44:35.396Z] > git checkout -f 368968050bc782de46964af672791c80bdc7cdcc # timeout=10 [2022-09-22T16:44:36.000Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 (#1176)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T16:44:36.936Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-22T16:44:36.936Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-22T16:44:36.936Z] Dload Upload Total Spent Left Speed [2022-09-22T16:44:36.936Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 201k 0 --:--:-- --:--:-- --:--:-- 205k [Pipeline] sh [2022-09-22T16:44:37.594Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-22T16:44:37.930Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-22T16:44:37.930Z] + sudo tee /etc/docker/daemon.new [2022-09-22T16:44:37.930Z] { [2022-09-22T16:44:37.930Z] "registry-mirrors": [ [2022-09-22T16:44:37.930Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-22T16:44:37.930Z] ], [2022-09-22T16:44:37.930Z] "bip": "10.250.0.254/24", [2022-09-22T16:44:37.930Z] "hosts": [ [2022-09-22T16:44:37.930Z] "tcp://0.0.0.0:5555", [2022-09-22T16:44:37.930Z] "unix:///var/run/docker.sock" [2022-09-22T16:44:37.930Z] ], [2022-09-22T16:44:37.930Z] "mtu": 1458, [2022-09-22T16:44:37.930Z] "selinux-enabled": true, [2022-09-22T16:44:37.930Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-22T16:44:37.930Z] } [Pipeline] sh [2022-09-22T16:44:38.273Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-22T16:44:38.613Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2022-09-22T16:44:57.042Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T16:44:57.056Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T16:44:57.066Z] ========================================================= [2022-09-22T16:44:57.066Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-22T16:44:57.066Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-09-22T16:44:57.404Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-22T16:44:57.994Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-22T16:44:57.994Z] b3c136eddcbf: Pulling fs layer [2022-09-22T16:44:57.994Z] c0a3192eca97: Pulling fs layer [2022-09-22T16:44:57.994Z] a050256f5b6f: Pulling fs layer [2022-09-22T16:44:57.994Z] 656be50a0ddc: Pulling fs layer [2022-09-22T16:44:57.994Z] 2bbca73fdf42: Pulling fs layer [2022-09-22T16:44:57.994Z] 46d945488cbd: Pulling fs layer [2022-09-22T16:44:57.994Z] 8a5474983e97: Pulling fs layer [2022-09-22T16:44:57.994Z] 329c88fbcd65: Pulling fs layer [2022-09-22T16:44:57.994Z] 656be50a0ddc: Waiting [2022-09-22T16:44:57.994Z] 2bbca73fdf42: Waiting [2022-09-22T16:44:57.994Z] 8a5474983e97: Waiting [2022-09-22T16:44:57.994Z] 46d945488cbd: Waiting [2022-09-22T16:44:57.994Z] 329c88fbcd65: Waiting [2022-09-22T16:44:57.994Z] a050256f5b6f: Verifying Checksum [2022-09-22T16:44:57.994Z] a050256f5b6f: Download complete [2022-09-22T16:44:57.994Z] c0a3192eca97: Verifying Checksum [2022-09-22T16:44:57.994Z] c0a3192eca97: Download complete [2022-09-22T16:44:57.994Z] 2bbca73fdf42: Verifying Checksum [2022-09-22T16:44:57.994Z] 2bbca73fdf42: Download complete [2022-09-22T16:44:57.994Z] 46d945488cbd: Verifying Checksum [2022-09-22T16:44:57.994Z] 46d945488cbd: Download complete [2022-09-22T16:44:57.994Z] b3c136eddcbf: Verifying Checksum [2022-09-22T16:44:57.994Z] b3c136eddcbf: Download complete [2022-09-22T16:44:58.980Z] b3c136eddcbf: Pull complete [2022-09-22T16:44:59.271Z] 329c88fbcd65: Verifying Checksum [2022-09-22T16:44:59.271Z] 329c88fbcd65: Download complete [2022-09-22T16:44:59.553Z] c0a3192eca97: Pull complete [2022-09-22T16:44:59.829Z] a050256f5b6f: Pull complete [2022-09-22T16:45:00.424Z] 8a5474983e97: Verifying Checksum [2022-09-22T16:45:00.424Z] 8a5474983e97: Download complete [2022-09-22T16:45:01.022Z] 656be50a0ddc: Verifying Checksum [2022-09-22T16:45:01.022Z] 656be50a0ddc: Download complete [2022-09-22T16:45:01.185Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.144s coverage: 75.5% of statements [2022-09-22T16:45:01.185Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.134s coverage: 94.4% of statements [2022-09-22T16:45:01.185Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-22T16:45:01.185Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-22T16:45:01.185Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-22T16:45:11.191Z] 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-09-22T16:45:11.206Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-22T16:45:11.280Z] $ docker stop --time=1 92cefc3962a8918149ee0011ad0e9345fd5ffdabe4e6d8144a37559a73049e0f [2022-09-22T16:45:13.390Z] 656be50a0ddc: Pull complete [2022-09-22T16:45:13.390Z] 2bbca73fdf42: Pull complete [2022-09-22T16:45:13.390Z] 46d945488cbd: Pull complete [2022-09-22T16:45:15.318Z] $ docker rm -f 92cefc3962a8918149ee0011ad0e9345fd5ffdabe4e6d8144a37559a73049e0f [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T16:45:16.109Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-22T16:45:16.207Z] 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-09-22T16:45:16.652Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T16:45:16.652Z] [2022-09-22T16:45:16.652Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:45:17.006Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T16:45:18.392Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-22T16:45:18.392Z] 5eb5b503b376: Pulling fs layer [2022-09-22T16:45:18.392Z] 5c69ac0246d0: Pulling fs layer [2022-09-22T16:45:18.392Z] ec43610c2a17: Pulling fs layer [2022-09-22T16:45:18.392Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-22T16:45:18.392Z] 33b1e0a273af: Pulling fs layer [2022-09-22T16:45:18.392Z] 5d3b04190fa2: Pulling fs layer [2022-09-22T16:45:18.392Z] 2f39f015ded8: Pulling fs layer [2022-09-22T16:45:18.392Z] 3a2ae6a8a46f: Waiting [2022-09-22T16:45:18.392Z] 33b1e0a273af: Waiting [2022-09-22T16:45:18.392Z] 5d3b04190fa2: Waiting [2022-09-22T16:45:18.392Z] 2f39f015ded8: Waiting [2022-09-22T16:45:18.392Z] 5c69ac0246d0: Verifying Checksum [2022-09-22T16:45:18.392Z] 5c69ac0246d0: Download complete [2022-09-22T16:45:18.392Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-22T16:45:18.392Z] 3a2ae6a8a46f: Download complete [2022-09-22T16:45:18.392Z] 33b1e0a273af: Verifying Checksum [2022-09-22T16:45:18.392Z] 33b1e0a273af: Download complete [2022-09-22T16:45:18.651Z] 5d3b04190fa2: Verifying Checksum [2022-09-22T16:45:18.651Z] 5d3b04190fa2: Download complete [2022-09-22T16:45:18.651Z] ec43610c2a17: Download complete [2022-09-22T16:45:18.651Z] 5eb5b503b376: Download complete [2022-09-22T16:45:19.637Z] 2f39f015ded8: Download complete [2022-09-22T16:45:20.047Z] 8a5474983e97: Pull complete [2022-09-22T16:45:20.401Z] 5eb5b503b376: Pull complete [2022-09-22T16:45:21.473Z] 329c88fbcd65: Pull complete [2022-09-22T16:45:21.473Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-22T16:45:21.473Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-22T16:45:21.473Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] sh [2022-09-22T16:45:21.803Z] + 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-09-22T16:45:21.846Z] 5c69ac0246d0: Pull complete [2022-09-22T16:45:22.148Z] + docker inspect -f . ci-base-image-arm64 [2022-09-22T16:45:22.148Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:45:22.340Z] prd-ubuntu20.04-docker-arm64-4c-16g-622 does not seem to be running inside a container [2022-09-22T16:45:22.508Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/162 -v /w/workspace/app-functions-sdk-go/162:/w/workspace/app-functions-sdk-go/162:rw,z -v /w/workspace/app-functions-sdk-go/162@tmp:/w/workspace/app-functions-sdk-go/162@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-09-22T16:45:22.807Z] ec43610c2a17: Pull complete [2022-09-22T16:45:23.374Z] 3a2ae6a8a46f: Pull complete [2022-09-22T16:45:23.953Z] 33b1e0a273af: Pull complete [2022-09-22T16:45:24.212Z] 5d3b04190fa2: Pull complete [2022-09-22T16:45:25.945Z] $ docker top a3c9428e3db7d95b3940673ceb05a93a61215d14c028bfd62d72e92dc6acdfad -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T16:45:26.832Z] + go version [2022-09-22T16:45:26.832Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-22T16:45:26.854Z] $ docker stop --time=1 a3c9428e3db7d95b3940673ceb05a93a61215d14c028bfd62d72e92dc6acdfad [2022-09-22T16:45:28.515Z] $ docker rm -f a3c9428e3db7d95b3940673ceb05a93a61215d14c028bfd62d72e92dc6acdfad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:45:29.185Z] + docker inspect -f . ci-base-image-arm64 [2022-09-22T16:45:29.185Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:45:29.377Z] prd-ubuntu20.04-docker-arm64-4c-16g-622 does not seem to be running inside a container [2022-09-22T16:45:29.448Z] $ 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/162 -v /w/workspace/app-functions-sdk-go/162:/w/workspace/app-functions-sdk-go/162:rw,z -v /w/workspace/app-functions-sdk-go/162@tmp:/w/workspace/app-functions-sdk-go/162@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-09-22T16:45:29.472Z] 2f39f015ded8: Pull complete [2022-09-22T16:45:29.472Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-22T16:45:29.472Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T16:45:29.472Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T16:45:30.718Z] $ docker top 75f1f672483f5e0a489fb2493a0b44f162bf73ac336890070c02d3b5bd7a183d -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] sh [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:45:31.045Z] prd-ubuntu20.04-docker-8c-8g-620 does not seem to be running inside a container [2022-09-22T16:45:31.074Z] $ 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-09-22T16:45:31.568Z] + git config --global --add safe.directory /w/workspace/app-functions-sdk-go/162 [2022-09-22T16:45:48.236Z] $ docker top 0c00d6dc9eda6501d57ce40e61b4ea57eb9a50207d9127503eeb00d2865ca39a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] libraryResource [Pipeline] sh [Pipeline] sh [2022-09-22T16:45:48.670Z] ---> job-cost.sh [2022-09-22T16:45:48.670Z] lf-activate-venv: SKIPPING [2022-09-22T16:45:48.670Z] INFO: No Stack... [2022-09-22T16:45:48.723Z] + make test [2022-09-22T16:45:48.723Z] make -C ./app-service-template build [2022-09-22T16:45:48.723Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/162/app-service-template' [2022-09-22T16:45:48.723Z] go mod tidy [2022-09-22T16:45:48.930Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-22T16:45:48.989Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 [2022-09-22T16:45:48.989Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 [2022-09-22T16:45:48.989Z] go: downloading github.com/google/uuid v1.3.0 [2022-09-22T16:45:48.989Z] go: downloading github.com/stretchr/testify v1.8.0 [2022-09-22T16:45:49.255Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.3.0-dev.16 [2022-09-22T16:45:49.255Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.3.0-dev.15 [2022-09-22T16:45:49.255Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 [2022-09-22T16:45:49.255Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-09-22T16:45:49.255Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-09-22T16:45:49.255Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2022-09-22T16:45:49.497Z] INFO: Archiving Costs [Pipeline] sh [2022-09-22T16:45:49.525Z] go: downloading github.com/go-playground/validator/v10 v10.10.1 [2022-09-22T16:45:49.525Z] go: downloading github.com/go-kit/log v0.2.0 [2022-09-22T16:45:49.525Z] go: downloading github.com/stretchr/objx v0.4.0 [2022-09-22T16:45:49.525Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.5 [2022-09-22T16:45:49.525Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 [2022-09-22T16:45:49.525Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.3.0-dev.7 [2022-09-22T16:45:49.525Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-09-22T16:45:49.525Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-09-22T16:45:49.794Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 [2022-09-22T16:45:49.794Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-09-22T16:45:49.794Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-09-22T16:45:49.794Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-09-22T16:45:49.794Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-09-22T16:45:49.794Z] go: downloading golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e [2022-09-22T16:45:49.794Z] go: downloading golang.org/x/text v0.3.7 [2022-09-22T16:45:49.817Z] + cat /w/workspace/oundry_app-functions-sdk-go_main/archives/cost.csv [2022-09-22T16:45:49.817Z] + cut -d, -f6 [Pipeline] lock [2022-09-22T16:45:49.828Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-162-stack-cost] [2022-09-22T16:45:49.834Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-162-stack-cost] did not exist. Created. [2022-09-22T16:45:49.834Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-162-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-22T16:45:50.138Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-22T16:45:50.171Z] Stashed 1 file(s) [Pipeline] } [2022-09-22T16:45:50.178Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-162-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-22T16:45:50.194Z] $ docker stop --time=1 0c00d6dc9eda6501d57ce40e61b4ea57eb9a50207d9127503eeb00d2865ca39a [2022-09-22T16:45:50.383Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-09-22T16:45:50.650Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-09-22T16:45:50.650Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-09-22T16:45:52.592Z] go: downloading github.com/pelletier/go-toml v1.9.5 [2022-09-22T16:45:52.614Z] $ docker rm -f 0c00d6dc9eda6501d57ce40e61b4ea57eb9a50207d9127503eeb00d2865ca39a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-22T16:45:52.858Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-09-22T16:45:52.858Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-09-22T16:45:52.858Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2022-09-22T16:45:52.858Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2022-09-22T16:45:52.858Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-09-22T16:45:53.125Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.1.1 [2022-09-22T16:45:53.125Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-09-22T16:45:53.125Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-09-22T16:45:53.125Z] go: downloading github.com/x448/float16 v0.8.4 [2022-09-22T16:45:53.125Z] go: downloading golang.org/x/sys v0.0.0-20220610221304-9f5ed59c137d [2022-09-22T16:45:53.396Z] go: downloading github.com/kr/pretty v0.3.0 [2022-09-22T16:45:53.396Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-09-22T16:45:53.396Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-09-22T16:45:53.396Z] go: downloading github.com/nats-io/nats.go v1.16.0 [2022-09-22T16:45:53.396Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-09-22T16:45:53.396Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-09-22T16:45:53.662Z] go: downloading github.com/Microsoft/go-winio v0.5.2 [2022-09-22T16:45:53.662Z] go: downloading github.com/zeebo/errs v1.2.2 [2022-09-22T16:45:53.662Z] go: downloading google.golang.org/grpc v1.46.0 [2022-09-22T16:45:54.631Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-09-22T16:45:54.631Z] go: downloading github.com/kr/text v0.2.0 [2022-09-22T16:45:54.631Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-09-22T16:45:54.631Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-09-22T16:45:54.631Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-09-22T16:45:54.631Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-09-22T16:45:54.631Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-09-22T16:45:54.631Z] go: downloading github.com/mitchellh/mapstructure v1.5.0 [2022-09-22T16:45:54.631Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-09-22T16:45:54.631Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-09-22T16:45:54.631Z] go: downloading github.com/nats-io/nkeys v0.3.0 [2022-09-22T16:45:54.631Z] go: downloading github.com/nats-io/nuid v1.0.1 [2022-09-22T16:45:54.898Z] go: downloading github.com/nats-io/nats-server/v2 v2.7.4 [2022-09-22T16:45:54.898Z] go: downloading gopkg.in/square/go-jose.v2 v2.4.1 [2022-09-22T16:45:55.163Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-09-22T16:45:55.163Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-09-22T16:45:55.163Z] go: downloading google.golang.org/protobuf v1.28.0 [2022-09-22T16:45:55.430Z] go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa [2022-09-22T16:45:56.012Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-09-22T16:45:56.278Z] go: downloading github.com/google/go-cmp v0.5.6 [2022-09-22T16:45:56.278Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-09-22T16:45:56.278Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-09-22T16:45:56.278Z] go: downloading github.com/fatih/color v1.9.0 [2022-09-22T16:45:56.278Z] go: downloading github.com/mattn/go-colorable v0.1.12 [2022-09-22T16:45:56.278Z] go: downloading github.com/mattn/go-isatty v0.0.14 [2022-09-22T16:45:56.544Z] go: downloading github.com/pkg/errors v0.9.1 [2022-09-22T16:45:56.544Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-09-22T16:45:56.544Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-09-22T16:45:56.544Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-09-22T16:45:56.810Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-09-22T16:45:56.810Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-09-22T16:45:56.810Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-09-22T16:45:56.810Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-09-22T16:45:56.810Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-09-22T16:45:57.077Z] go: downloading github.com/miekg/dns v1.1.26 [2022-09-22T16:45:57.077Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-09-22T16:45:57.077Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2022-09-22T16:45:57.345Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-09-22T16:45:57.345Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 [2022-09-22T16:45:57.345Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-09-22T16:45:57.345Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-09-22T16:45:57.610Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2022-09-22T16:46:01.863Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.3.0-dev.17 [2022-09-22T16:46:01.863Z] go: downloading golang.org/x/crypto v0.0.0-20220829220503-c86fa9a7ed90 [2022-09-22T16:46:01.863Z] go: downloading github.com/nats-io/nats.go v1.17.0 [2022-09-22T16:46:01.863Z] go: downloading github.com/nats-io/nats-server/v2 v2.9.0 [2022-09-22T16:46:01.863Z] go: downloading golang.org/x/sys v0.0.0-20220906135438-9e1f76180b77 [2022-09-22T16:46:02.446Z] go: downloading github.com/klauspost/compress v1.15.9 [2022-09-22T16:46:02.446Z] go: downloading github.com/minio/highwayhash v1.0.2 [2022-09-22T16:46:02.446Z] go: downloading github.com/nats-io/jwt/v2 v2.3.0 [2022-09-22T16:46:02.718Z] go: downloading golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 [2022-09-22T16:46:05.300Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o new-app-service [2022-09-22T16:48:27.004Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/162/app-service-template' [2022-09-22T16:48:27.004Z] make -C ./app-service-template test [2022-09-22T16:48:27.004Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/162/app-service-template' [2022-09-22T16:48:27.004Z] CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... [2022-09-22T16:51:33.781Z] ok new-app-service 0.305s coverage: 48.1% of statements [2022-09-22T16:51:33.781Z] ? new-app-service/config [no test files] [2022-09-22T16:51:33.781Z] ok new-app-service/functions 0.234s [2022-09-22T16:51:33.781Z] CGO_ENABLED=1 go vet ./... [2022-09-22T16:53:10.503Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-22T16:53:10.503Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-22T16:53:10.503Z] ./bin/test-attribution-txt.sh [2022-09-22T16:53:10.503Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-22T16:53:10.503Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-22T16:53:10.503Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-09-22T16:53:10.503Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/162/app-service-template' [2022-09-22T16:53:10.503Z] CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-22T16:53:10.503Z] go: downloading github.com/gomodule/redigo v1.8.9 [2022-09-22T16:53:10.503Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2022-09-22T16:53:28.751Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.655s coverage: 60.4% of statements [2022-09-22T16:53:28.751Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.497s coverage: 93.9% of statements [2022-09-22T16:53:28.751Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2022-09-22T16:53:28.751Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.391s coverage: 76.5% of statements [2022-09-22T16:53:28.751Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2022-09-22T16:53:28.751Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.409s coverage: 88.7% of statements [2022-09-22T16:53:28.751Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.236s coverage: 100.0% of statements [2022-09-22T16:53:28.751Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.934s coverage: 78.5% of statements [2022-09-22T16:53:28.751Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2022-09-22T16:53:28.751Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2022-09-22T16:53:28.751Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.261s coverage: 97.3% of statements [2022-09-22T16:53:28.751Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2022-09-22T16:53:28.751Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] [2022-09-22T16:53:31.332Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.439s coverage: 82.8% of statements [2022-09-22T16:53:31.332Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] [2022-09-22T16:53:34.688Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 1.127s coverage: 81.5% of statements [2022-09-22T16:53:34.688Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] [2022-09-22T16:53:34.688Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] [2022-09-22T16:53:34.688Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.357s coverage: 28.7% of statements [2022-09-22T16:53:34.688Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] [2022-09-22T16:53:36.101Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.328s coverage: 14.0% of statements [2022-09-22T16:53:40.385Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.247s coverage: 27.3% of statements [2022-09-22T16:53:40.385Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2022-09-22T16:53:40.385Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-22T16:53:42.335Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.259s coverage: 51.4% of statements [2022-09-22T16:54:14.578Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.571s coverage: 75.5% of statements [2022-09-22T16:54:14.578Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.347s coverage: 94.4% of statements [2022-09-22T16:54:14.578Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-22T16:54:21.224Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-22T16:54:21.224Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-22T16:54:21.224Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] echo [2022-09-22T16:54:21.242Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-22T16:54:21.259Z] $ docker stop --time=1 75f1f672483f5e0a489fb2493a0b44f162bf73ac336890070c02d3b5bd7a183d [2022-09-22T16:54:23.196Z] $ docker rm -f 75f1f672483f5e0a489fb2493a0b44f162bf73ac336890070c02d3b5bd7a183d [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T16:54:27.563Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-22T16:54:27.584Z] Warning: overwriting stash ‘coverage-report’ [2022-09-22T16:54:28.095Z] 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-09-22T16:54:28.526Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T16:54:28.526Z] [2022-09-22T16:54:28.526Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:54:28.859Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T16:54:29.126Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-22T16:54:29.126Z] 8998bd30e6a1: Pulling fs layer [2022-09-22T16:54:29.126Z] 04944245beec: Pulling fs layer [2022-09-22T16:54:29.126Z] 699f458cf7ca: Pulling fs layer [2022-09-22T16:54:29.126Z] 765212b225bb: Pulling fs layer [2022-09-22T16:54:29.126Z] f23df028b6ca: Pulling fs layer [2022-09-22T16:54:29.126Z] d65c8cfc05b1: Pulling fs layer [2022-09-22T16:54:29.126Z] 2437ff75d9bd: Pulling fs layer [2022-09-22T16:54:29.126Z] 765212b225bb: Waiting [2022-09-22T16:54:29.126Z] f23df028b6ca: Waiting [2022-09-22T16:54:29.126Z] d65c8cfc05b1: Waiting [2022-09-22T16:54:29.126Z] 04944245beec: Verifying Checksum [2022-09-22T16:54:29.126Z] 04944245beec: Download complete [2022-09-22T16:54:29.126Z] 765212b225bb: Download complete [2022-09-22T16:54:29.126Z] f23df028b6ca: Verifying Checksum [2022-09-22T16:54:29.126Z] f23df028b6ca: Download complete [2022-09-22T16:54:29.395Z] d65c8cfc05b1: Verifying Checksum [2022-09-22T16:54:29.395Z] d65c8cfc05b1: Download complete [2022-09-22T16:54:29.395Z] 699f458cf7ca: Verifying Checksum [2022-09-22T16:54:29.395Z] 699f458cf7ca: Download complete [2022-09-22T16:54:29.663Z] 8998bd30e6a1: Download complete [2022-09-22T16:54:32.248Z] 2437ff75d9bd: Verifying Checksum [2022-09-22T16:54:32.248Z] 2437ff75d9bd: Download complete [2022-09-22T16:54:33.658Z] 8998bd30e6a1: Pull complete [2022-09-22T16:54:35.602Z] 04944245beec: Pull complete [2022-09-22T16:54:37.016Z] 699f458cf7ca: Pull complete [2022-09-22T16:54:37.016Z] 765212b225bb: Pull complete [2022-09-22T16:54:37.977Z] f23df028b6ca: Pull complete [2022-09-22T16:54:37.977Z] d65c8cfc05b1: Pull complete [2022-09-22T16:54:50.298Z] 2437ff75d9bd: Pull complete [2022-09-22T16:54:50.298Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-22T16:54:50.298Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T16:54:50.298Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:54:50.478Z] prd-ubuntu20.04-docker-arm64-4c-16g-622 does not seem to be running inside a container [2022-09-22T16:54:50.549Z] $ 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/162 -v /w/workspace/app-functions-sdk-go/162:/w/workspace/app-functions-sdk-go/162:rw,z -v /w/workspace/app-functions-sdk-go/162@tmp:/w/workspace/app-functions-sdk-go/162@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-09-22T16:54:53.142Z] $ docker top 436c21712e8e89582f6f53913abbf4653a3bc0484ac9a14389458728899da26c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:54:54.065Z] ---> job-cost.sh [2022-09-22T16:54:54.065Z] lf-activate-venv: SKIPPING [2022-09-22T16:54:54.065Z] INFO: No Stack... [2022-09-22T16:54:54.655Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-22T16:54:55.620Z] INFO: Archiving Costs [Pipeline] sh [2022-09-22T16:54:55.952Z] + cut -d, -f6 [2022-09-22T16:54:55.952Z] + cat /w/workspace/app-functions-sdk-go/162/archives/cost.csv [Pipeline] lock [2022-09-22T16:54:56.283Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-162-stack-cost] [2022-09-22T16:54:56.291Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-162-stack-cost] did not exist. Created. [2022-09-22T16:54:56.291Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-162-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-22T16:54:56.942Z] /w/workspace/app-functions-sdk-go/162@tmp/durable-915787cd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-22T16:54:57.591Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-22T16:54:57.614Z] Warning: overwriting stash ‘stack-cost’ [2022-09-22T16:54:57.683Z] Stashed 1 file(s) [Pipeline] } [2022-09-22T16:54:57.693Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-162-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-22T16:54:57.717Z] $ docker stop --time=1 436c21712e8e89582f6f53913abbf4653a3bc0484ac9a14389458728899da26c [2022-09-22T16:54:59.231Z] $ docker rm -f 436c21712e8e89582f6f53913abbf4653a3bc0484ac9a14389458728899da26c [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-09-22T16:54:59.609Z] provisioning config files... [2022-09-22T16:54:59.622Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config2251336191828663021tmp [Pipeline] { [Pipeline] sh [2022-09-22T16:54:59.916Z] + set +x [2022-09-22T16:54:59.916Z] + curl -s https://codecov.io/bash [2022-09-22T16:54:59.916Z] + bash -s -- [2022-09-22T16:54:59.916Z] [2022-09-22T16:54:59.916Z] _____ _ [2022-09-22T16:54:59.916Z] / ____| | | [2022-09-22T16:54:59.916Z] | | ___ __| | ___ ___ _____ __ [2022-09-22T16:54:59.916Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-22T16:54:59.916Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-22T16:54:59.916Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-22T16:54:59.916Z] Bash-1.0.6 [2022-09-22T16:54:59.916Z] [2022-09-22T16:54:59.916Z] [2022-09-22T16:54:59.916Z] ==> git version 2.25.1 found [2022-09-22T16:54:59.916Z] ==> 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-09-22T16:54:59.916Z] Release-Date: 2020-01-08 [2022-09-22T16:54:59.916Z] 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-09-22T16:54:59.916Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-22T16:54:59.916Z] ==> Jenkins CI detected. [2022-09-22T16:54:59.916Z] current dir:  /w/workspace/oundry_app-functions-sdk-go_main [2022-09-22T16:54:59.916Z] project root: . [2022-09-22T16:54:59.916Z] --> token set from env [2022-09-22T16:54:59.916Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-22T16:54:59.916Z] ==> Running gcov in . (disable via -X gcov) [2022-09-22T16:54:59.916Z] ==> Python coveragepy not found [2022-09-22T16:54:59.916Z] ==> Searching for coverage reports in: [2022-09-22T16:54:59.916Z] + . [2022-09-22T16:54:59.916Z] -> Found 2 reports [2022-09-22T16:54:59.916Z] ==> Detecting git/mercurial file structure [2022-09-22T16:54:59.916Z] ==> Reading reports [2022-09-22T16:54:59.916Z] + ./app-service-template/coverage.out bytes=1222 [2022-09-22T16:54:59.916Z] + ./coverage.out bytes=126112 [2022-09-22T16:54:59.916Z] ==> Appending adjustments [2022-09-22T16:54:59.916Z] https://docs.codecov.io/docs/fixing-reports [2022-09-22T16:55:00.484Z] + Found adjustments [2022-09-22T16:55:00.484Z] ==> Gzipping contents [2022-09-22T16:55:00.484Z] 24K /tmp/codecov.gwyKj2.gz [2022-09-22T16:55:00.484Z] ==> Uploading reports [2022-09-22T16:55:00.484Z] url: https://codecov.io [2022-09-22T16:55:00.484Z] query: branch=main&commit=368968050bc782de46964af672791c80bdc7cdcc&build=162&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F162%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-09-22T16:55:00.484Z] -> Pinging Codecov [2022-09-22T16:55:00.484Z] 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=368968050bc782de46964af672791c80bdc7cdcc&build=162&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F162%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-09-22T16:55:00.743Z] -> Uploading to [2022-09-22T16:55:00.743Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-22/3D8B5DFFC46A037C893635FACE044666/368968050bc782de46964af672791c80bdc7cdcc/d260cc51-c35d-4e48-a1a3-de41a4c1c36b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220922T165500Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2497231ee181504e4b144d94d94e7ccbebcf4532d3275e998ef9ab8061088df8 [2022-09-22T16:55:00.743Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-22T16:55:00.743Z] Dload Upload Total Spent Left Speed [2022-09-22T16:55:01.003Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21721 0 0 100 21721 0 91649 --:--:-- --:--:-- --:--:-- 91649 [2022-09-22T16:55:01.003Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/368968050bc782de46964af672791c80bdc7cdcc [Pipeline] } [2022-09-22T16:55:01.010Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-09-22T16:55:01.202Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-09-22T16:55:01.211Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:55:01.505Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-09-22T16:55:01.505Z] [2022-09-22T16:55:01.505Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:55:01.798Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-09-22T16:55:01.798Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-09-22T16:55:01.798Z] df9b9388f04a: Pulling fs layer [2022-09-22T16:55:01.798Z] 52dc419b0ee2: Pulling fs layer [2022-09-22T16:55:01.798Z] 25bc292e5bac: Pulling fs layer [2022-09-22T16:55:01.798Z] 114826534d7a: Pulling fs layer [2022-09-22T16:55:01.798Z] 4657fd5d0bcf: Pulling fs layer [2022-09-22T16:55:01.798Z] 6ad1cebc031e: Pulling fs layer [2022-09-22T16:55:01.798Z] 8a3aa393b2d8: Pulling fs layer [2022-09-22T16:55:01.798Z] 4657fd5d0bcf: Waiting [2022-09-22T16:55:01.798Z] 6ad1cebc031e: Waiting [2022-09-22T16:55:01.798Z] 114826534d7a: Waiting [2022-09-22T16:55:01.798Z] 25bc292e5bac: Download complete [2022-09-22T16:55:01.798Z] 52dc419b0ee2: Verifying Checksum [2022-09-22T16:55:01.798Z] 52dc419b0ee2: Download complete [2022-09-22T16:55:01.798Z] 4657fd5d0bcf: Download complete [2022-09-22T16:55:02.057Z] 6ad1cebc031e: Verifying Checksum [2022-09-22T16:55:02.057Z] 6ad1cebc031e: Download complete [2022-09-22T16:55:02.057Z] df9b9388f04a: Pull complete [2022-09-22T16:55:02.057Z] 52dc419b0ee2: Pull complete [2022-09-22T16:55:02.057Z] 25bc292e5bac: Pull complete [2022-09-22T16:55:02.625Z] 114826534d7a: Verifying Checksum [2022-09-22T16:55:02.625Z] 114826534d7a: Download complete [2022-09-22T16:55:02.625Z] 8a3aa393b2d8: Download complete [2022-09-22T16:55:05.906Z] 114826534d7a: Pull complete [2022-09-22T16:55:05.906Z] 4657fd5d0bcf: Pull complete [2022-09-22T16:55:06.472Z] 6ad1cebc031e: Pull complete [2022-09-22T16:55:08.997Z] 8a3aa393b2d8: Pull complete [2022-09-22T16:55:08.997Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-09-22T16:55:08.997Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-09-22T16:55:08.997Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:55:09.072Z] prd-ubuntu20.04-docker-8c-8g-620 does not seem to be running inside a container [2022-09-22T16:55:09.102Z] $ 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-09-22T16:55:13.693Z] $ docker top 43dbe836abb0eda47360dbe3a8108fa973ee35cc4c4251387b396e4509f3f34a -eo pid,comm [Pipeline] { [Pipeline] echo [2022-09-22T16:55:13.766Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-functions-sdk-go:main' [Pipeline] sh [2022-09-22T16:55:14.046Z] + set -o pipefail [2022-09-22T16:55:14.046Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-functions-sdk-go:main' [2022-09-22T16:55:19.319Z] [2022-09-22T16:55:19.319Z] Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2022-09-22T16:55:19.319Z] [2022-09-22T16:55:19.319Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/899a6017-c938-46f1-adf7-2bd1b283a5ba/history/5c4c31d7-a738-4580-aa3f-4212cdfb4e4b [2022-09-22T16:55:19.319Z] [2022-09-22T16:55:19.319Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-09-22T16:55:19.319Z] [2022-09-22T16:55:19.319Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-09-22T16:55:19.319Z] [2022-09-22T16:55:27.440Z] [Pipeline] } [2022-09-22T16:55:27.448Z] $ docker stop --time=1 43dbe836abb0eda47360dbe3a8108fa973ee35cc4c4251387b396e4509f3f34a [2022-09-22T16:55:30.841Z] $ docker rm -f 43dbe836abb0eda47360dbe3a8108fa973ee35cc4c4251387b396e4509f3f34a [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-09-22T16:55:31.202Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T16:55:31.210Z] provisioning config files... [2022-09-22T16:55:31.223Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config7191489988632867187tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:55:31.543Z] --> edgex-publish-swagger.sh [2022-09-22T16:55:31.544Z] === Publish openapi/v2 API === [2022-09-22T16:55:31.544Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-09-22T16:55:31.544Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v2/app-functions-sdk.yaml] [2022-09-22T16:55:31.544Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-22T16:55:31.544Z] Dload Upload Total Spent Left Speed [2022-09-22T16:55:32.486Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13708 0 0 100 13708 0 11686 0:00:01 0:00:01 --:--:-- 11676 100 13708 0 0 100 13708 0 11686 0:00:01 0:00:01 --:--:-- 11676 [2022-09-22T16:55:32.486Z] [2022-09-22T16:55:32.486Z] [Pipeline] } [2022-09-22T16:55:32.492Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-22T16:55:32.891Z] + git log --format=format:%s -1 368968050bc782de46964af672791c80bdc7cdcc [Pipeline] sh [2022-09-22T16:55:33.185Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-22T16:55:33.185Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:55:33.482Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T16:55:33.483Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:55:33.553Z] prd-ubuntu20.04-docker-8c-8g-620 does not seem to be running inside a container [2022-09-22T16:55:33.584Z] $ 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-09-22T16:55:33.987Z] $ docker top 14076fc6f6bec9f2d57a413dc1074f28e726f1f749a0855571d6217f28cf2ee2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-22T16:55:34.094Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T16:55:34.095Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T16:55:34.202Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T16:55:34.203Z] $ docker exec 14076fc6f6bec9f2d57a413dc1074f28e726f1f749a0855571d6217f28cf2ee2 ssh-agent [2022-09-22T16:55:34.321Z] SSH_AUTH_SOCK=/tmp/ssh-3KKWzGDoedqf/agent.32 [2022-09-22T16:55:34.321Z] SSH_AGENT_PID=38 [2022-09-22T16:55:34.328Z] Running ssh-add (command line suppressed) [2022-09-22T16:55:34.440Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_2353080050066801309.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_2353080050066801309.key) [2022-09-22T16:55:34.455Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T16:55:35.970Z] + git semver tag [2022-09-22T16:55:35.970Z] 2022-09-22 16:55:34,995 [run_tag] DEBUG tag force:False [2022-09-22T16:55:35.970Z] 2022-09-22 16:55:34,995 [check_head_tag] DEBUG check head tag [2022-09-22T16:55:35.970Z] 2022-09-22 16:55:34,997 [execute] INFO git cat-file --batch-check [2022-09-22T16:55:35.970Z] 2022-09-22 16:55:34,998 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) [2022-09-22T16:55:35.970Z] 2022-09-22 16:55:35,003 [execute] INFO git cat-file --batch [2022-09-22T16:55:35.970Z] 2022-09-22 16:55:35,004 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) [2022-09-22T16:55:35.970Z] 2022-09-22 16:55:35,024 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-09-22T16:55:35.970Z] 2022-09-22 16:55:35,024 [execute] INFO git tag -a v2.3.0-dev.41 -m v2.3.0-dev.41 [2022-09-22T16:55:35.970Z] 2022-09-22 16:55:35,024 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.41', '-m', 'v2.3.0-dev.41'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2022-09-22T16:55:35.970Z] 2022-09-22 16:55:35,030 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-09-22T16:55:35.970Z] 2.3.0-dev.41 [Pipeline] } [2022-09-22T16:55:35.979Z] $ docker exec --env ******** --env ******** 14076fc6f6bec9f2d57a413dc1074f28e726f1f749a0855571d6217f28cf2ee2 ssh-agent -k [2022-09-22T16:55:36.097Z] unset SSH_AUTH_SOCK; [2022-09-22T16:55:36.098Z] unset SSH_AGENT_PID; [2022-09-22T16:55:36.098Z] echo Agent pid 38 killed; [2022-09-22T16:55:36.109Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-22T16:55:36.409Z] + git semver [Pipeline] } [2022-09-22T16:55:36.679Z] $ docker stop --time=1 14076fc6f6bec9f2d57a413dc1074f28e726f1f749a0855571d6217f28cf2ee2 [2022-09-22T16:55:37.984Z] $ docker rm -f 14076fc6f6bec9f2d57a413dc1074f28e726f1f749a0855571d6217f28cf2ee2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:55:38.417Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-09-22T16:55:38.417Z] [2022-09-22T16:55:38.417Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:55:38.712Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-09-22T16:55:38.712Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-09-22T16:55:38.712Z] ab5ef0e58194: Pulling fs layer [2022-09-22T16:55:38.712Z] 9712f1f96733: Pulling fs layer [2022-09-22T16:55:38.712Z] 63f879dbbcfc: Pulling fs layer [2022-09-22T16:55:38.712Z] 0d9ebad4ef96: Pulling fs layer [2022-09-22T16:55:38.712Z] e9a5061849ea: Pulling fs layer [2022-09-22T16:55:38.712Z] d747dcd14b5f: Pulling fs layer [2022-09-22T16:55:38.712Z] 2de7ff778b66: Pulling fs layer [2022-09-22T16:55:38.712Z] e9a5061849ea: Waiting [2022-09-22T16:55:38.712Z] d747dcd14b5f: Waiting [2022-09-22T16:55:38.712Z] 2de7ff778b66: Waiting [2022-09-22T16:55:38.712Z] 0d9ebad4ef96: Waiting [2022-09-22T16:55:38.712Z] 9712f1f96733: Download complete [2022-09-22T16:55:39.285Z] 63f879dbbcfc: Verifying Checksum [2022-09-22T16:55:39.285Z] 63f879dbbcfc: Download complete [2022-09-22T16:55:39.285Z] e9a5061849ea: Verifying Checksum [2022-09-22T16:55:39.285Z] e9a5061849ea: Download complete [2022-09-22T16:55:39.285Z] 0d9ebad4ef96: Verifying Checksum [2022-09-22T16:55:39.285Z] 0d9ebad4ef96: Download complete [2022-09-22T16:55:39.285Z] d747dcd14b5f: Download complete [2022-09-22T16:55:39.544Z] ab5ef0e58194: Verifying Checksum [2022-09-22T16:55:39.544Z] ab5ef0e58194: Download complete [2022-09-22T16:55:39.544Z] 2de7ff778b66: Verifying Checksum [2022-09-22T16:55:39.544Z] 2de7ff778b66: Download complete [2022-09-22T16:55:42.091Z] ab5ef0e58194: Pull complete [2022-09-22T16:55:42.091Z] 9712f1f96733: Pull complete [2022-09-22T16:55:43.030Z] 63f879dbbcfc: Pull complete [2022-09-22T16:55:47.225Z] 0d9ebad4ef96: Pull complete [2022-09-22T16:55:47.225Z] e9a5061849ea: Pull complete [2022-09-22T16:55:47.225Z] d747dcd14b5f: Pull complete [2022-09-22T16:55:47.792Z] 2de7ff778b66: Pull complete [2022-09-22T16:55:47.792Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-09-22T16:55:47.792Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-09-22T16:55:47.792Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:55:47.869Z] prd-ubuntu20.04-docker-8c-8g-620 does not seem to be running inside a container [2022-09-22T16:55:47.897Z] $ 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-09-22T16:55:51.432Z] $ docker top 37f13363ccd3ca82312cdff5bff25ca6a97511ddc931db0b394674954936c9bb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-09-22T16:55:51.500Z] provisioning config files... [2022-09-22T16:55:51.506Z] copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config15217137591918891060tmp [2022-09-22T16:55:51.516Z] copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config9183280310180657525tmp [2022-09-22T16:55:51.523Z] copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config865454072860882299tmp [Pipeline] { [Pipeline] echo [2022-09-22T16:55:51.537Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:55:51.816Z] ---> sigul-configuration.sh [2022-09-22T16:55:51.816Z] gpg: directory `/root/.gnupg' created [2022-09-22T16:55:51.816Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-09-22T16:55:51.816Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-09-22T16:55:51.816Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-09-22T16:55:51.816Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-09-22T16:55:51.816Z] gpg: CAST5 encrypted data [2022-09-22T16:55:51.816Z] gpg: encrypted with 1 passphrase [2022-09-22T16:55:51.816Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-09-22T16:55:52.099Z] + mkdir /home/jenkins [2022-09-22T16:55:52.099Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-09-22T16:55:52.385Z] + 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-09-22T16:55:52.393Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:55:52.681Z] ---> sigul-install.sh [2022-09-22T16:55:52.681Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-09-22T16:55:52.966Z] + git tag --list [2022-09-22T16:55:52.966Z] v0.1.0 [2022-09-22T16:55:52.966Z] v0.1.1 [2022-09-22T16:55:52.966Z] v1.0.0 [2022-09-22T16:55:52.966Z] v1.1.0 [2022-09-22T16:55:52.966Z] v1.2.0 [2022-09-22T16:55:52.966Z] v1.3.0 [2022-09-22T16:55:52.966Z] v1.3.1 [2022-09-22T16:55:52.966Z] v2.0.0 [2022-09-22T16:55:52.966Z] v2.0.1 [2022-09-22T16:55:52.966Z] v2.1.0 [2022-09-22T16:55:52.966Z] v2.1.1 [2022-09-22T16:55:52.966Z] v2.1.1-dev.3 [2022-09-22T16:55:52.966Z] v2.1.1-dev.4 [2022-09-22T16:55:52.966Z] v2.2.0 [2022-09-22T16:55:52.966Z] v2.2.1-dev.1 [2022-09-22T16:55:52.966Z] v2.2.1-dev.10 [2022-09-22T16:55:52.966Z] v2.2.1-dev.11 [2022-09-22T16:55:52.966Z] v2.2.1-dev.12 [2022-09-22T16:55:52.966Z] v2.2.1-dev.13 [2022-09-22T16:55:52.966Z] v2.2.1-dev.14 [2022-09-22T16:55:52.966Z] v2.2.1-dev.15 [2022-09-22T16:55:52.966Z] v2.2.1-dev.16 [2022-09-22T16:55:52.966Z] v2.2.1-dev.17 [2022-09-22T16:55:52.966Z] v2.2.1-dev.18 [2022-09-22T16:55:52.966Z] v2.2.1-dev.19 [2022-09-22T16:55:52.966Z] v2.2.1-dev.2 [2022-09-22T16:55:52.966Z] v2.2.1-dev.20 [2022-09-22T16:55:52.966Z] v2.2.1-dev.21 [2022-09-22T16:55:52.966Z] v2.2.1-dev.22 [2022-09-22T16:55:52.966Z] v2.2.1-dev.23 [2022-09-22T16:55:52.966Z] v2.2.1-dev.3 [2022-09-22T16:55:52.966Z] v2.2.1-dev.4 [2022-09-22T16:55:52.966Z] v2.2.1-dev.5 [2022-09-22T16:55:52.966Z] v2.2.1-dev.6 [2022-09-22T16:55:52.966Z] v2.2.1-dev.7 [2022-09-22T16:55:52.966Z] v2.2.1-dev.8 [2022-09-22T16:55:52.966Z] v2.2.1-dev.9 [2022-09-22T16:55:52.966Z] v2.3.0-dev.24 [2022-09-22T16:55:52.966Z] v2.3.0-dev.25 [2022-09-22T16:55:52.966Z] v2.3.0-dev.26 [2022-09-22T16:55:52.966Z] v2.3.0-dev.27 [2022-09-22T16:55:52.966Z] v2.3.0-dev.28 [2022-09-22T16:55:52.966Z] v2.3.0-dev.29 [2022-09-22T16:55:52.966Z] v2.3.0-dev.30 [2022-09-22T16:55:52.966Z] v2.3.0-dev.31 [2022-09-22T16:55:52.966Z] v2.3.0-dev.32 [2022-09-22T16:55:52.966Z] v2.3.0-dev.33 [2022-09-22T16:55:52.966Z] v2.3.0-dev.34 [2022-09-22T16:55:52.966Z] v2.3.0-dev.35 [2022-09-22T16:55:52.966Z] v2.3.0-dev.36 [2022-09-22T16:55:52.966Z] v2.3.0-dev.37 [2022-09-22T16:55:52.966Z] v2.3.0-dev.38 [2022-09-22T16:55:52.966Z] v2.3.0-dev.39 [2022-09-22T16:55:52.966Z] v2.3.0-dev.40 [2022-09-22T16:55:52.966Z] v2.3.0-dev.41 [Pipeline] sh [2022-09-22T16:55:53.249Z] + lftools sign git-tag v2.3.0-dev.41 [2022-09-22T16:55:53.818Z] Signing Git tag with Sigul... [2022-09-22T16:55:53.818Z] Signing v2.3.0-dev.41 [Pipeline] echo [2022-09-22T16:55:54.084Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:55:54.368Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-09-22T16:55:54.375Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-09-22T16:55:54.390Z] $ docker stop --time=1 37f13363ccd3ca82312cdff5bff25ca6a97511ddc931db0b394674954936c9bb [2022-09-22T16:55:55.691Z] $ docker rm -f 37f13363ccd3ca82312cdff5bff25ca6a97511ddc931db0b394674954936c9bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-09-22T16:55:56.114Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-22T16:55:56.115Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:55:56.410Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T16:55:56.410Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:55:56.474Z] prd-ubuntu20.04-docker-8c-8g-620 does not seem to be running inside a container [2022-09-22T16:55:56.502Z] $ 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-09-22T16:55:56.862Z] $ docker top 3f94985222712c3f670a9d5adbfb8ad9ff4a3360776217df77e489ebd7993ae9 -eo pid,comm [2022-09-22T16:55:56.912Z] 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-09-22T16:55:56.913Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-22T16:55:56.946Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T16:55:56.946Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T16:55:57.070Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T16:55:57.071Z] $ docker exec 3f94985222712c3f670a9d5adbfb8ad9ff4a3360776217df77e489ebd7993ae9 ssh-agent [2022-09-22T16:55:57.178Z] SSH_AUTH_SOCK=/tmp/ssh-MzE6JnpBBaCy/agent.32 [2022-09-22T16:55:57.178Z] SSH_AGENT_PID=39 [2022-09-22T16:55:57.183Z] Running ssh-add (command line suppressed) [2022-09-22T16:55:57.269Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_8412311192197850621.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_8412311192197850621.key) [2022-09-22T16:55:57.283Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T16:55:57.564Z] + git semver bump pre [2022-09-22T16:55:57.825Z] 2022-09-22 16:55:57,733 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-09-22T16:55:57.825Z] 2022-09-22 16:55:57,733 [bump_version] DEBUG bumping version:2.3.0-dev.41 on axis:pre with prefix:dev [2022-09-22T16:55:57.825Z] 2022-09-22 16:55:57,733 [bump_version] DEBUG bumped version:2.3.0-dev.42 [2022-09-22T16:55:57.825Z] 2022-09-22 16:55:57,733 [write_version] DEBUG write version:2.3.0-dev.42 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:True [2022-09-22T16:55:57.825Z] 2022-09-22 16:55:57,733 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-09-22T16:55:57.825Z] 2022-09-22 16:55:57,733 [write_file] DEBUG write to file:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-09-22T16:55:57.825Z] 2022-09-22 16:55:57,735 [execute] INFO git cat-file --batch-check [2022-09-22T16:55:57.825Z] 2022-09-22 16:55:57,735 [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-09-22T16:55:57.825Z] 2022-09-22 16:55:57,739 [execute] INFO git cat-file --batch [2022-09-22T16:55:57.825Z] 2022-09-22 16:55:57,739 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-09-22T16:55:57.825Z] 2022-09-22 16:55:57,744 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-09-22T16:55:57.825Z] 2.3.0-dev.42 [Pipeline] } [2022-09-22T16:55:57.834Z] $ docker exec --env ******** --env ******** 3f94985222712c3f670a9d5adbfb8ad9ff4a3360776217df77e489ebd7993ae9 ssh-agent -k [2022-09-22T16:55:57.936Z] unset SSH_AUTH_SOCK; [2022-09-22T16:55:57.936Z] unset SSH_AGENT_PID; [2022-09-22T16:55:57.936Z] echo Agent pid 39 killed; [2022-09-22T16:55:57.948Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-22T16:55:58.249Z] + git semver [Pipeline] } [2022-09-22T16:55:58.519Z] $ docker stop --time=1 3f94985222712c3f670a9d5adbfb8ad9ff4a3360776217df77e489ebd7993ae9 [2022-09-22T16:56:00.245Z] $ docker rm -f 3f94985222712c3f670a9d5adbfb8ad9ff4a3360776217df77e489ebd7993ae9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T16:56:00.699Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-22T16:56:00.699Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:56:01.002Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T16:56:01.002Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:56:01.071Z] prd-ubuntu20.04-docker-8c-8g-620 does not seem to be running inside a container [2022-09-22T16:56:01.109Z] $ 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-09-22T16:56:02.506Z] $ docker top aeb652f3e44f5f9dac25fb0d5499df596afb7134a0dadc1b8e33ac44b8139c1e -eo pid,comm [2022-09-22T16:56:02.551Z] 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-09-22T16:56:02.551Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-22T16:56:02.637Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T16:56:02.637Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T16:56:02.753Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T16:56:02.753Z] $ docker exec aeb652f3e44f5f9dac25fb0d5499df596afb7134a0dadc1b8e33ac44b8139c1e ssh-agent [2022-09-22T16:56:02.856Z] SSH_AUTH_SOCK=/tmp/ssh-2zPwm1DA3CBE/agent.13 [2022-09-22T16:56:02.856Z] SSH_AGENT_PID=19 [2022-09-22T16:56:02.862Z] Running ssh-add (command line suppressed) [2022-09-22T16:56:02.952Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_16918493554857002649.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_16918493554857002649.key) [2022-09-22T16:56:02.970Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T16:56:03.284Z] + git semver push [2022-09-22T16:56:03.543Z] 2022-09-22 16:56:03,533 [run_push] DEBUG push [2022-09-22T16:56:03.543Z] 2022-09-22 16:56:03,534 [execute] INFO git cat-file --batch-check [2022-09-22T16:56:03.543Z] 2022-09-22 16:56:03,534 [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-09-22T16:56:03.543Z] 2022-09-22 16:56:03,538 [execute] INFO git rev-list 2e59bd7ca2da7885223e69aab7a374863eaa9731 -- [2022-09-22T16:56:03.543Z] 2022-09-22 16:56:03,538 [execute] DEBUG Popen(['git', 'rev-list', '2e59bd7ca2da7885223e69aab7a374863eaa9731', '--'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-09-22T16:56:03.802Z] 2022-09-22 16:56:03,553 [execute] INFO git fetch -v origin [2022-09-22T16:56:03.802Z] 2022-09-22 16:56:03,553 [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-09-22T16:56:04.369Z] 2022-09-22 16:56:04,203 [run_push] DEBUG no remote changes detected [2022-09-22T16:56:04.369Z] 2022-09-22 16:56:04,204 [execute] INFO git push origin semver [2022-09-22T16:56:04.369Z] 2022-09-22 16:56:04,204 [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-09-22T16:56:05.306Z] 2022-09-22 16:56:05,212 [run_push] DEBUG push all version tags [2022-09-22T16:56:05.307Z] 2022-09-22 16:56:05,213 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-09-22T16:56:05.307Z] 2022-09-22 16:56:05,213 [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-09-22T16:56:06.245Z] 2022-09-22 16:56:06,016 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-09-22T16:56:06.245Z] 2.3.0-dev.42 [Pipeline] } [2022-09-22T16:56:06.252Z] $ docker exec --env ******** --env ******** aeb652f3e44f5f9dac25fb0d5499df596afb7134a0dadc1b8e33ac44b8139c1e ssh-agent -k [2022-09-22T16:56:06.355Z] unset SSH_AUTH_SOCK; [2022-09-22T16:56:06.356Z] unset SSH_AGENT_PID; [2022-09-22T16:56:06.356Z] echo Agent pid 19 killed; [2022-09-22T16:56:06.370Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-22T16:56:06.675Z] + git semver [Pipeline] } [2022-09-22T16:56:06.946Z] $ docker stop --time=1 aeb652f3e44f5f9dac25fb0d5499df596afb7134a0dadc1b8e33ac44b8139c1e [2022-09-22T16:56:08.737Z] $ docker rm -f aeb652f3e44f5f9dac25fb0d5499df596afb7134a0dadc1b8e33ac44b8139c1e [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-09-22T16:56:09.490Z] + [ -d /w/workspace/oundry_app-functions-sdk-go_main/archives ] [2022-09-22T16:56:09.490Z] + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives [2022-09-22T16:56:09.490Z] total 16 [2022-09-22T16:56:09.490Z] drwxr-xr-x 3 root root 4096 Sep 22 16:45 . [2022-09-22T16:56:09.490Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 16:55 .. [2022-09-22T16:56:09.490Z] drwxr-xr-x 2 root root 4096 Sep 22 16:45 cost [2022-09-22T16:56:09.491Z] -rw-r--r-- 1 root root 92 Sep 22 16:45 cost.csv [2022-09-22T16:56:09.491Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_app-functions-sdk-go_main/archives [2022-09-22T16:56:09.491Z] + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives [2022-09-22T16:56:09.491Z] total 16 [2022-09-22T16:56:09.491Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 16:45 . [2022-09-22T16:56:09.491Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 16:55 .. [2022-09-22T16:56:09.491Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 16:45 cost [2022-09-22T16:56:09.491Z] -rw-r--r-- 1 jenkins jenkins 92 Sep 22 16:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:56:09.794Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:56:10.650Z] ---> package-listing.sh [2022-09-22T16:56:10.650Z] ++ facter osfamily [2022-09-22T16:56:10.650Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-22T16:56:10.910Z] + OS_FAMILY=debian [2022-09-22T16:56:10.910Z] + workspace=/w/workspace/oundry_app-functions-sdk-go_main [2022-09-22T16:56:10.910Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-22T16:56:10.910Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-22T16:56:10.910Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-22T16:56:10.910Z] + PACKAGES=/tmp/packages_start.txt [2022-09-22T16:56:10.910Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2022-09-22T16:56:10.910Z] + PACKAGES=/tmp/packages_end.txt [2022-09-22T16:56:10.910Z] + case "${OS_FAMILY}" in [2022-09-22T16:56:10.910Z] + dpkg -l [2022-09-22T16:56:10.910Z] + grep '^ii' [2022-09-22T16:56:10.910Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-22T16:56:10.910Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-22T16:56:10.910Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-22T16:56:10.910Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2022-09-22T16:56:10.910Z] + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ [2022-09-22T16:56:10.910Z] + 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-09-22T16:56:10.921Z] 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-09-22T16:56:11.200Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:56:11.762Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T16:56:11.762Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:56:11.826Z] prd-ubuntu20.04-docker-8c-8g-620 does not seem to be running inside a container [2022-09-22T16:56:11.850Z] $ 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-09-22T16:56:13.279Z] $ docker top 8c5c4b9c572823a7f18a93bb37cc3f2b18a50aae727baa0ba9cb9055b55850db -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T16:56:13.621Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-22T16:56:13.905Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-22T16:56:14.187Z] + ls /var/log/sa-host [2022-09-22T16:56:14.187Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T16:56:14.254Z] provisioning config files... [2022-09-22T16:56:14.262Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config3245595234458125364tmp [Pipeline] { [Pipeline] echo [2022-09-22T16:56:14.274Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:56:14.555Z] ---> create-netrc.sh [Pipeline] } [2022-09-22T16:56:14.562Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:56:14.886Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-22T16:56:14.893Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:56:15.174Z] ---> sudo-logs.sh [2022-09-22T16:56:15.174Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-22T16:56:15.199Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:56:15.483Z] ---> job-cost.sh [2022-09-22T16:56:15.483Z] lf-activate-venv: SKIPPING [2022-09-22T16:56:15.483Z] DEBUG: total: 0.2199999988079071 [2022-09-22T16:56:15.483Z] INFO: Retrieving Stack Cost... [2022-09-22T16:56:15.743Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-22T16:56:16.310Z] INFO: Archiving Costs [Pipeline] echo [2022-09-22T16:56:16.319Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:56:16.602Z] ---> logs-deploy.sh [2022-09-22T16:56:16.602Z] lf-activate-venv: SKIPPING [2022-09-22T16:56:16.602Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/162 [2022-09-22T16:56:16.602Z] INFO: archiving workspace using pattern(s): [2022-09-22T16:56:17.540Z] Archives upload complete. [2022-09-22T16:56:17.540Z] INFO: archiving logs to Nexus