Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0c1b7628d14577e46e0f77e6cd663d04e5bdec27 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-ssh1578899729477568003.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11879819826766289485.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9506480211091376040.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6403849898113078296.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9423274034023774320.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-22145’ Running on prd-ubuntu20.04-docker-8c-8g-22147 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/oundry_app-functions-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0c1b7628d14577e46e0f77e6cd663d04e5bdec27 (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 0c1b7628d14577e46e0f77e6cd663d04e5bdec27 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#1161)" > git rev-list --no-walk dcd13b78c3ddfca3df8a47d4ac18a79c3cf37424 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-08T15:01:22.416Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-08T15:01:22.474Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-08T15:01:22.492Z] ========================================================= [2022-08-08T15:01:22.492Z] EdgeX Global Pipelines Version Info [2022-08-08T15:01:22.492Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-08T15:01:23.226Z] ------------------- [2022-08-08T15:01:23.226Z] stable info: [2022-08-08T15:01:23.226Z] ------------------- [2022-08-08T15:01:23.226Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-08T15:01:23.226Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-08T15:01:23.226Z] Message: update stable to v1.0.238 [2022-08-08T15:01:23.798Z] ------------------- [2022-08-08T15:01:23.798Z] experimental info: [2022-08-08T15:01:23.798Z] ------------------- [2022-08-08T15:01:23.798Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-08T15:01:23.798Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-08T15:01:23.798Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-08T15:01:24.032Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2022-08-08T15:01:24.041Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2022-08-08T15:01:24.049Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-08T15:01:24.058Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-08T15:01:24.066Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-08T15:01:24.074Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-08T15:01:24.082Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-08T15:01:24.090Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-08T15:01:24.110Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-08T15:01:24.128Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-08T15:01:24.145Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-08T15:01:24.156Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2022-08-08T15:01:24.170Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-08T15:01:24.181Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-08T15:01:24.193Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2022-08-08T15:01:24.208Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-08-08T15:01:24.221Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-08T15:01:24.235Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-08T15:01:24.246Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-08T15:01:24.259Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-08T15:01:24.272Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-08-08T15:01:24.284Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-08-08T15:01:24.297Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-08T15:01:24.312Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-08T15:01:24.325Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2022-08-08T15:01:24.339Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-08T15:01:24.351Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-08T15:01:24.364Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-08-08T15:01:24.382Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-08-08T15:01:24.399Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-08-08T15:01:24.412Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0c1b7628d14577e46e0f77e6cd663d04e5bdec27 [Pipeline] echo [2022-08-08T15:01:24.423Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0c1b762 [Pipeline] echo [2022-08-08T15:01:24.435Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-08T15:01:24.789Z] + git rev-list -1 --merges 0c1b7628d14577e46e0f77e6cd663d04e5bdec27~1..0c1b7628d14577e46e0f77e6cd663d04e5bdec27 [Pipeline] echo [2022-08-08T15:01:24.825Z] -----------> git rev-list -1 --merges 0c1b7628d14577e46e0f77e6cd663d04e5bdec27~1..0c1b7628d14577e46e0f77e6cd663d04e5bdec27 0c1b7628d14577e46e0f77e6cd663d04e5bdec27 [false] [Pipeline] sh [2022-08-08T15:01:25.119Z] + git log --format=format:%s -1 0c1b7628d14577e46e0f77e6cd663d04e5bdec27 [Pipeline] echo [2022-08-08T15:01:25.135Z] ========================================================= [2022-08-08T15:01:25.135Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-08T15:01:25.135Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-08T15:01:25.493Z] + git log --format=format:%s -1 0c1b7628d14577e46e0f77e6cd663d04e5bdec27 [Pipeline] echo [2022-08-08T15:01:25.507Z] [semverPrep] GIT_COMMIT: 0c1b7628d14577e46e0f77e6cd663d04e5bdec27, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#1161) [Pipeline] echo [2022-08-08T15:01:25.515Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-08T15:01:25.863Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-08T15:01:25.863Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-08T15:01:25.863Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-08T15:01:25.863Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-08T15:01:25.863Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-08T15:01:25.863Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-08T15:01:25.863Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T15:01:26.227Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-08T15:01:26.489Z] [2022-08-08T15:01:26.489Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T15:01:26.795Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-08T15:01:27.057Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-08T15:01:27.057Z] b85a868b505f: Pulling fs layer [2022-08-08T15:01:27.057Z] e2be974225ed: Pulling fs layer [2022-08-08T15:01:27.057Z] 339a4e72a1f5: Pulling fs layer [2022-08-08T15:01:27.057Z] 988bab9f4d93: Pulling fs layer [2022-08-08T15:01:27.057Z] 1469e6f7b9e6: Pulling fs layer [2022-08-08T15:01:27.057Z] eaf3925da568: Pulling fs layer [2022-08-08T15:01:27.057Z] bab4dde63d76: Pulling fs layer [2022-08-08T15:01:27.057Z] bde34c3a00c8: Pulling fs layer [2022-08-08T15:01:27.057Z] b352a97aabf1: Pulling fs layer [2022-08-08T15:01:27.057Z] 4872d77fe225: Pulling fs layer [2022-08-08T15:01:27.057Z] 5851b861e8e6: Pulling fs layer [2022-08-08T15:01:27.057Z] 1469e6f7b9e6: Waiting [2022-08-08T15:01:27.057Z] 4872d77fe225: Waiting [2022-08-08T15:01:27.057Z] bde34c3a00c8: Waiting [2022-08-08T15:01:27.057Z] 5851b861e8e6: Waiting [2022-08-08T15:01:27.057Z] b352a97aabf1: Waiting [2022-08-08T15:01:27.057Z] bab4dde63d76: Waiting [2022-08-08T15:01:27.057Z] 988bab9f4d93: Waiting [2022-08-08T15:01:27.057Z] e2be974225ed: Verifying Checksum [2022-08-08T15:01:27.057Z] e2be974225ed: Download complete [2022-08-08T15:01:27.057Z] 988bab9f4d93: Download complete [2022-08-08T15:01:27.057Z] 1469e6f7b9e6: Verifying Checksum [2022-08-08T15:01:27.057Z] 1469e6f7b9e6: Download complete [2022-08-08T15:01:27.321Z] eaf3925da568: Verifying Checksum [2022-08-08T15:01:27.321Z] eaf3925da568: Download complete [2022-08-08T15:01:27.321Z] 339a4e72a1f5: Verifying Checksum [2022-08-08T15:01:27.321Z] 339a4e72a1f5: Download complete [2022-08-08T15:01:27.321Z] bde34c3a00c8: Download complete [2022-08-08T15:01:27.321Z] b352a97aabf1: Verifying Checksum [2022-08-08T15:01:27.321Z] b352a97aabf1: Download complete [2022-08-08T15:01:27.321Z] 4872d77fe225: Verifying Checksum [2022-08-08T15:01:27.321Z] 4872d77fe225: Download complete [2022-08-08T15:01:27.321Z] 5851b861e8e6: Download complete [2022-08-08T15:01:27.321Z] b85a868b505f: Verifying Checksum [2022-08-08T15:01:27.321Z] b85a868b505f: Download complete [2022-08-08T15:01:27.580Z] bab4dde63d76: Verifying Checksum [2022-08-08T15:01:27.581Z] bab4dde63d76: Download complete [2022-08-08T15:01:28.525Z] b85a868b505f: Pull complete [2022-08-08T15:01:28.525Z] e2be974225ed: Pull complete [2022-08-08T15:01:29.094Z] 339a4e72a1f5: Pull complete [2022-08-08T15:01:29.094Z] 988bab9f4d93: Pull complete [2022-08-08T15:01:29.354Z] 1469e6f7b9e6: Pull complete [2022-08-08T15:01:29.354Z] eaf3925da568: Pull complete [2022-08-08T15:01:31.267Z] bab4dde63d76: Pull complete [2022-08-08T15:01:31.267Z] bde34c3a00c8: Pull complete [2022-08-08T15:01:31.267Z] b352a97aabf1: Pull complete [2022-08-08T15:01:31.267Z] 4872d77fe225: Pull complete [2022-08-08T15:01:31.529Z] 5851b861e8e6: Pull complete [2022-08-08T15:01:31.529Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-08T15:01:31.529Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-08T15:01:31.529Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-08T15:01:31.629Z] prd-ubuntu20.04-docker-8c-8g-22147 does not seem to be running inside a container [2022-08-08T15:01:31.672Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-08T15:01:33.952Z] $ docker top 50a18c54a9232b05099bab4688349f64f3c037e7ae1ae0db1c9fe2a726562b05 -eo pid,comm [2022-08-08T15:01:34.007Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-08-08T15:01:34.007Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-08T15:01:34.045Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-08T15:01:34.045Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-08T15:01:34.192Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-08T15:01:34.199Z] $ docker exec 50a18c54a9232b05099bab4688349f64f3c037e7ae1ae0db1c9fe2a726562b05 ssh-agent [2022-08-08T15:01:34.309Z] SSH_AUTH_SOCK=/tmp/ssh-5B0gzR0PDYAf/agent.35 [2022-08-08T15:01:34.309Z] SSH_AGENT_PID=41 [2022-08-08T15:01:34.316Z] Running ssh-add (command line suppressed) [2022-08-08T15:01:34.449Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_6533579621765387237.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_6533579621765387237.key) [2022-08-08T15:01:34.462Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-08T15:01:34.750Z] + git tag --points-at HEAD [Pipeline] } [2022-08-08T15:01:34.770Z] $ docker exec --env ******** --env ******** 50a18c54a9232b05099bab4688349f64f3c037e7ae1ae0db1c9fe2a726562b05 ssh-agent -k [2022-08-08T15:01:34.877Z] unset SSH_AUTH_SOCK; [2022-08-08T15:01:34.877Z] unset SSH_AGENT_PID; [2022-08-08T15:01:34.878Z] echo Agent pid 41 killed; [2022-08-08T15:01:34.883Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-08T15:01:34.912Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-08T15:01:34.912Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-08T15:01:35.033Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-08T15:01:35.040Z] $ docker exec 50a18c54a9232b05099bab4688349f64f3c037e7ae1ae0db1c9fe2a726562b05 ssh-agent [2022-08-08T15:01:35.146Z] SSH_AUTH_SOCK=/tmp/ssh-9tdlXWC8X1mx/agent.73 [2022-08-08T15:01:35.146Z] SSH_AGENT_PID=79 [2022-08-08T15:01:35.151Z] Running ssh-add (command line suppressed) [2022-08-08T15:01:35.263Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1317603132333836088.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1317603132333836088.key) [2022-08-08T15:01:35.273Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-08T15:01:35.561Z] + git semver init [2022-08-08T15:01:35.821Z] 2022-08-08 15:01:35,758 [run_init] DEBUG init version:0.0.0 force:False [2022-08-08T15:01:35.821Z] 2022-08-08 15:01:35,758 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_app-functions-sdk-go_main/.semver [2022-08-08T15:01:35.821Z] 2022-08-08 15:01:35,758 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-functions-sdk-go.git /w/workspace/oundry_app-functions-sdk-go_main/.semver [2022-08-08T15:01:35.821Z] 2022-08-08 15:01:35,759 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-functions-sdk-go.git', '/w/workspace/oundry_app-functions-sdk-go_main/.semver'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2022-08-08T15:01:37.207Z] 2022-08-08 15:01:37,185 [append_file] DEBUG append to file:/w/workspace/oundry_app-functions-sdk-go_main/.git/info/exclude [2022-08-08T15:01:37.207Z] 2022-08-08 15:01:37,186 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:False [2022-08-08T15:01:37.207Z] 2022-08-08 15:01:37,186 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-08-08T15:01:37.207Z] 2022-08-08 15:01:37,186 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-08-08T15:01:37.207Z] 2.3.0-dev.29 [Pipeline] } [2022-08-08T15:01:37.224Z] $ docker exec --env ******** --env ******** 50a18c54a9232b05099bab4688349f64f3c037e7ae1ae0db1c9fe2a726562b05 ssh-agent -k [2022-08-08T15:01:37.329Z] unset SSH_AUTH_SOCK; [2022-08-08T15:01:37.330Z] unset SSH_AGENT_PID; [2022-08-08T15:01:37.330Z] echo Agent pid 79 killed; [2022-08-08T15:01:37.336Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-08T15:01:37.645Z] + git semver [Pipeline] } [2022-08-08T15:01:37.925Z] $ docker stop --time=1 50a18c54a9232b05099bab4688349f64f3c037e7ae1ae0db1c9fe2a726562b05 [2022-08-08T15:01:39.219Z] $ docker rm -f 50a18c54a9232b05099bab4688349f64f3c037e7ae1ae0db1c9fe2a726562b05 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-08T15:01:39.565Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-08T15:01:39.804Z] Stashed 1 file(s) [Pipeline] echo [2022-08-08T15:01:39.808Z] [edgeXSemver]: initialized semver on version 2.3.0-dev.29 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2022-08-08T15:01:39.994Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-08T15:01:40.007Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-08T15:01:40.015Z] ========================================================= [2022-08-08T15:01:40.015Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-08T15:01:40.015Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-08-08T15:01:40.313Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-08T15:01:40.313Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-08T15:01:40.313Z] 2408cc74d12b: Pulling fs layer [2022-08-08T15:01:40.313Z] ea60b727a1ce: Pulling fs layer [2022-08-08T15:01:40.313Z] 30c4a7721957: Pulling fs layer [2022-08-08T15:01:40.313Z] 370296b7ddb6: Pulling fs layer [2022-08-08T15:01:40.313Z] 7c6cee850709: Pulling fs layer [2022-08-08T15:01:40.313Z] 39a5fcdaea64: Pulling fs layer [2022-08-08T15:01:40.313Z] d94ebbe4e438: Pulling fs layer [2022-08-08T15:01:40.313Z] bcfd1f05c69d: Pulling fs layer [2022-08-08T15:01:40.313Z] 59ccb84bbe0f: Pulling fs layer [2022-08-08T15:01:40.313Z] 370296b7ddb6: Waiting [2022-08-08T15:01:40.313Z] 39a5fcdaea64: Waiting [2022-08-08T15:01:40.313Z] 7c6cee850709: Waiting [2022-08-08T15:01:40.313Z] d94ebbe4e438: Waiting [2022-08-08T15:01:40.313Z] bcfd1f05c69d: Waiting [2022-08-08T15:01:40.313Z] 59ccb84bbe0f: Waiting [2022-08-08T15:01:40.313Z] 30c4a7721957: Verifying Checksum [2022-08-08T15:01:40.313Z] 30c4a7721957: Download complete [2022-08-08T15:01:40.313Z] 7c6cee850709: Verifying Checksum [2022-08-08T15:01:40.313Z] 7c6cee850709: Download complete [2022-08-08T15:01:40.313Z] 39a5fcdaea64: Verifying Checksum [2022-08-08T15:01:40.313Z] 39a5fcdaea64: Download complete [2022-08-08T15:01:40.313Z] 2408cc74d12b: Verifying Checksum [2022-08-08T15:01:40.313Z] 2408cc74d12b: Download complete [2022-08-08T15:01:40.313Z] d94ebbe4e438: Verifying Checksum [2022-08-08T15:01:40.313Z] d94ebbe4e438: Download complete [2022-08-08T15:01:40.578Z] 2408cc74d12b: Pull complete [2022-08-08T15:01:40.578Z] ea60b727a1ce: Pull complete [2022-08-08T15:01:40.842Z] 30c4a7721957: Pull complete [2022-08-08T15:01:40.842Z] 59ccb84bbe0f: Verifying Checksum [2022-08-08T15:01:40.842Z] 59ccb84bbe0f: Download complete [2022-08-08T15:01:41.102Z] bcfd1f05c69d: Verifying Checksum [2022-08-08T15:01:41.102Z] bcfd1f05c69d: Download complete [2022-08-08T15:01:41.102Z] 370296b7ddb6: Verifying Checksum [2022-08-08T15:01:41.102Z] 370296b7ddb6: Download complete [2022-08-08T15:01:45.302Z] 370296b7ddb6: Pull complete [2022-08-08T15:01:45.302Z] 7c6cee850709: Pull complete [2022-08-08T15:01:45.302Z] 39a5fcdaea64: Pull complete [2022-08-08T15:01:45.302Z] d94ebbe4e438: Pull complete [2022-08-08T15:01:46.686Z] bcfd1f05c69d: Pull complete [2022-08-08T15:01:47.255Z] 59ccb84bbe0f: Pull complete [2022-08-08T15:01:47.255Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-08T15:01:47.255Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-08T15:01:47.255Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] sh [2022-08-08T15:01:47.544Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T15:01:47.848Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-08T15:01:47.849Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-08T15:01:47.928Z] prd-ubuntu20.04-docker-8c-8g-22147 does not seem to be running inside a container [2022-08-08T15:01:47.966Z] $ 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 ******** ci-base-image-x86_64 cat [2022-08-08T15:01:49.972Z] $ docker top 717048f40072755382b10864543e68dc04b1775b5a05440cfdcd0f80ea2fba18 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-08T15:01:50.325Z] + go version [2022-08-08T15:01:50.325Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-08T15:01:50.341Z] $ docker stop --time=1 717048f40072755382b10864543e68dc04b1775b5a05440cfdcd0f80ea2fba18 [2022-08-08T15:01:51.605Z] $ docker rm -f 717048f40072755382b10864543e68dc04b1775b5a05440cfdcd0f80ea2fba18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T15:01:52.031Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-08T15:01:52.031Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-08T15:01:52.117Z] prd-ubuntu20.04-docker-8c-8g-22147 does not seem to be running inside a container [2022-08-08T15:01:52.155Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-08T15:01:52.490Z] $ docker top 7b6cd8529f35182c817663168f837119e2bc8c3a6c710090f4170218c1837b15 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-08T15:01:52.839Z] + git config --global --add safe.directory /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2022-08-08T15:01:53.137Z] + make test [2022-08-08T15:01:53.137Z] make -C ./app-service-template build [2022-08-08T15:01:53.137Z] make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2022-08-08T15:01:53.137Z] go mod tidy [2022-08-08T15:01:53.137Z] go: downloading github.com/stretchr/testify v1.8.0 [2022-08-08T15:01:53.137Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 [2022-08-08T15:01:53.137Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 [2022-08-08T15:01:53.137Z] go: downloading github.com/google/uuid v1.3.0 [2022-08-08T15:01:53.137Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.1-dev.5 [2022-08-08T15:01:53.397Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.1-dev.8 [2022-08-08T15:01:53.397Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 [2022-08-08T15:01:53.397Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.3 [2022-08-08T15:01:53.657Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 [2022-08-08T15:01:53.657Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-08-08T15:01:53.657Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-08-08T15:01:53.657Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2022-08-08T15:01:53.657Z] go: downloading github.com/stretchr/objx v0.4.0 [2022-08-08T15:01:53.657Z] go: downloading github.com/go-kit/log v0.2.0 [2022-08-08T15:01:53.657Z] go: downloading github.com/go-playground/validator/v10 v10.10.1 [2022-08-08T15:01:53.657Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-08-08T15:01:53.657Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-08-08T15:01:53.657Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.1-dev.1 [2022-08-08T15:01:53.657Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 [2022-08-08T15:01:53.657Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-08-08T15:01:53.657Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2022-08-08T15:01:53.918Z] go: downloading github.com/pelletier/go-toml v1.9.5 [2022-08-08T15:01:53.918Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-08-08T15:01:53.918Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-08-08T15:01:53.918Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-08-08T15:01:53.918Z] go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 [2022-08-08T15:01:53.918Z] go: downloading golang.org/x/text v0.3.7 [2022-08-08T15:01:53.918Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-08-08T15:01:54.180Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-08-08T15:01:54.180Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-08-08T15:01:54.180Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-08-08T15:01:54.180Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2022-08-08T15:01:54.180Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-08-08T15:01:54.442Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-08-08T15:01:54.442Z] go: downloading github.com/x448/float16 v0.8.4 [2022-08-08T15:01:54.442Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.1.0 [2022-08-08T15:01:54.442Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-08-08T15:01:54.442Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-08-08T15:01:54.703Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-08-08T15:01:54.703Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-08-08T15:01:54.703Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-08-08T15:01:54.703Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-08-08T15:01:54.703Z] go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 [2022-08-08T15:01:54.931Z] Still waiting to schedule task [2022-08-08T15:01:54.932Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-22146’ [2022-08-08T15:01:54.963Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-08-08T15:01:54.963Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-08-08T15:01:54.963Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-08-08T15:01:54.963Z] go: downloading github.com/kr/pretty v0.3.0 [2022-08-08T15:01:54.963Z] go: downloading github.com/Microsoft/go-winio v0.5.2 [2022-08-08T15:01:54.963Z] go: downloading github.com/zeebo/errs v1.2.2 [2022-08-08T15:01:54.963Z] go: downloading google.golang.org/grpc v1.46.0 [2022-08-08T15:01:54.963Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-08-08T15:01:54.963Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-08-08T15:01:54.963Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-08-08T15:01:54.963Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-08-08T15:01:54.963Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-08-08T15:01:54.963Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-08-08T15:01:55.222Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-08-08T15:01:55.222Z] go: downloading gopkg.in/square/go-jose.v2 v2.4.1 [2022-08-08T15:01:55.222Z] go: downloading google.golang.org/protobuf v1.28.0 [2022-08-08T15:01:55.222Z] go: downloading github.com/kr/text v0.2.0 [2022-08-08T15:01:55.222Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-08-08T15:01:55.222Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-08-08T15:01:55.222Z] go: downloading github.com/fatih/color v1.9.0 [2022-08-08T15:01:55.222Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-08-08T15:01:55.222Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-08-08T15:01:55.222Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-08-08T15:01:55.222Z] go: downloading github.com/pkg/errors v0.9.1 [2022-08-08T15:01:55.222Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-08-08T15:01:55.222Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-08-08T15:01:55.222Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-08-08T15:01:55.222Z] go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa [2022-08-08T15:01:55.222Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-08-08T15:01:55.222Z] go: downloading github.com/google/go-cmp v0.5.6 [2022-08-08T15:01:55.483Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-08-08T15:01:55.483Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2022-08-08T15:01:55.483Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-08-08T15:01:55.483Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-08-08T15:01:55.483Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-08-08T15:01:55.483Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-08-08T15:01:55.483Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-08-08T15:01:55.483Z] go: downloading github.com/miekg/dns v1.1.26 [2022-08-08T15:01:55.483Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-08-08T15:01:55.483Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-08-08T15:01:55.483Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-08-08T15:01:55.483Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 [2022-08-08T15:01:55.483Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2022-08-08T15:01:57.398Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.3.0-dev.12 [2022-08-08T15:01:57.659Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.3.0-dev.12 [2022-08-08T15:01:57.659Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.4 [2022-08-08T15:01:57.659Z] go: downloading golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e [2022-08-08T15:01:57.659Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.3.0-dev.5 [2022-08-08T15:01:57.920Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.1.1 [2022-08-08T15:01:57.920Z] go: downloading github.com/nats-io/nats.go v1.16.0 [2022-08-08T15:01:57.920Z] go: downloading github.com/nats-io/nats-server/v2 v2.7.4 [2022-08-08T15:01:57.920Z] go: downloading github.com/nats-io/nkeys v0.3.0 [2022-08-08T15:01:57.920Z] go: downloading github.com/nats-io/nuid v1.0.1 [2022-08-08T15:01:58.181Z] go: downloading github.com/minio/highwayhash v1.0.2 [2022-08-08T15:01:58.181Z] go: downloading golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 [2022-08-08T15:01:58.181Z] go: downloading github.com/nats-io/jwt/v2 v2.3.0 [2022-08-08T15:01:58.181Z] go: downloading github.com/klauspost/compress v1.15.9 [2022-08-08T15:01:59.124Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o new-app-service [2022-08-08T15:02:17.325Z] make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2022-08-08T15:02:17.325Z] make -C ./app-service-template test [2022-08-08T15:02:17.325Z] make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2022-08-08T15:02:17.325Z] CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... [2022-08-08T15:02:35.423Z] ok new-app-service 0.069s coverage: 48.1% of statements [2022-08-08T15:02:35.423Z] ? new-app-service/config [no test files] [2022-08-08T15:02:35.423Z] ok new-app-service/functions 0.048s [2022-08-08T15:02:35.423Z] CGO_ENABLED=1 go vet ./... [2022-08-08T15:02:41.989Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-08T15:02:41.989Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-08T15:02:41.989Z] ./bin/test-attribution-txt.sh [2022-08-08T15:02:41.989Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-08T15:02:41.989Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-08T15:02:41.989Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-08-08T15:02:41.989Z] make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2022-08-08T15:02:41.989Z] CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-08-08T15:02:41.989Z] go: downloading github.com/gomodule/redigo v1.8.9 [2022-08-08T15:02:42.248Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2022-08-08T15:02:45.539Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.172s coverage: 60.3% of statements [2022-08-08T15:02:45.539Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.061s coverage: 93.8% of statements [2022-08-08T15:02:45.539Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2022-08-08T15:02:45.539Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.070s coverage: 76.5% of statements [2022-08-08T15:02:45.539Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2022-08-08T15:02:45.539Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.081s coverage: 88.7% of statements [2022-08-08T15:02:45.539Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.041s coverage: 100.0% of statements [2022-08-08T15:02:45.539Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.169s coverage: 78.5% of statements [2022-08-08T15:02:45.539Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2022-08-08T15:02:45.539Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2022-08-08T15:02:45.539Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.051s coverage: 97.3% of statements [2022-08-08T15:02:45.539Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2022-08-08T15:02:45.539Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] [2022-08-08T15:02:45.539Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.086s coverage: 82.8% of statements [2022-08-08T15:02:45.539Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] [2022-08-08T15:02:45.539Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.692s coverage: 81.5% of statements [2022-08-08T15:02:45.539Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] [2022-08-08T15:02:45.539Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] [2022-08-08T15:02:45.539Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.139s coverage: 28.7% of statements [2022-08-08T15:02:45.539Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] [2022-08-08T15:02:45.539Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.059s coverage: 14.0% of statements [2022-08-08T15:02:45.539Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.069s coverage: 27.3% of statements [2022-08-08T15:02:45.539Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2022-08-08T15:02:45.539Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-08-08T15:02:45.539Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.059s coverage: 51.4% of statements [2022-08-08T15:03:12.118Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.137s coverage: 75.5% of statements [2022-08-08T15:03:12.118Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.067s coverage: 94.4% of statements [2022-08-08T15:03:12.118Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-08T15:03:12.378Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-08T15:03:12.378Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-08T15:03:20.508Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [Pipeline] echo [2022-08-08T15:03:20.524Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-08T15:03:20.540Z] $ docker stop --time=1 7b6cd8529f35182c817663168f837119e2bc8c3a6c710090f4170218c1837b15 [2022-08-08T15:03:22.052Z] $ docker rm -f 7b6cd8529f35182c817663168f837119e2bc8c3a6c710090f4170218c1837b15 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-08T15:03:22.820Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-08T15:03:22.906Z] 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-08-08T15:03:23.380Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-08T15:03:23.380Z] [2022-08-08T15:03:23.380Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T15:03:23.687Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-08T15:03:23.687Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-08T15:03:23.687Z] 5eb5b503b376: Pulling fs layer [2022-08-08T15:03:23.687Z] 5c69ac0246d0: Pulling fs layer [2022-08-08T15:03:23.687Z] ec43610c2a17: Pulling fs layer [2022-08-08T15:03:23.687Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-08T15:03:23.687Z] 33b1e0a273af: Pulling fs layer [2022-08-08T15:03:23.687Z] 5d3b04190fa2: Pulling fs layer [2022-08-08T15:03:23.687Z] 2f39f015ded8: Pulling fs layer [2022-08-08T15:03:23.687Z] 33b1e0a273af: Waiting [2022-08-08T15:03:23.687Z] 5d3b04190fa2: Waiting [2022-08-08T15:03:23.687Z] 2f39f015ded8: Waiting [2022-08-08T15:03:23.687Z] 3a2ae6a8a46f: Waiting [2022-08-08T15:03:23.687Z] 5c69ac0246d0: Download complete [2022-08-08T15:03:23.687Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-08T15:03:23.687Z] 3a2ae6a8a46f: Download complete [2022-08-08T15:03:23.687Z] 33b1e0a273af: Verifying Checksum [2022-08-08T15:03:23.687Z] 33b1e0a273af: Download complete [2022-08-08T15:03:23.687Z] ec43610c2a17: Verifying Checksum [2022-08-08T15:03:23.687Z] ec43610c2a17: Download complete [2022-08-08T15:03:23.687Z] 5d3b04190fa2: Verifying Checksum [2022-08-08T15:03:23.687Z] 5d3b04190fa2: Download complete [2022-08-08T15:03:23.946Z] 5eb5b503b376: Verifying Checksum [2022-08-08T15:03:23.946Z] 5eb5b503b376: Download complete [2022-08-08T15:03:24.516Z] 2f39f015ded8: Verifying Checksum [2022-08-08T15:03:24.516Z] 2f39f015ded8: Download complete [2022-08-08T15:03:25.087Z] 5eb5b503b376: Pull complete [2022-08-08T15:03:25.346Z] 5c69ac0246d0: Pull complete [2022-08-08T15:03:25.606Z] ec43610c2a17: Pull complete [2022-08-08T15:03:25.867Z] 3a2ae6a8a46f: Pull complete [2022-08-08T15:03:25.867Z] 33b1e0a273af: Pull complete [2022-08-08T15:03:26.127Z] 5d3b04190fa2: Pull complete [2022-08-08T15:03:30.328Z] 2f39f015ded8: Pull complete [2022-08-08T15:03:30.328Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-08T15:03:30.328Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-08T15:03:30.328Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-08T15:03:30.425Z] prd-ubuntu20.04-docker-8c-8g-22147 does not seem to be running inside a container [2022-08-08T15:03:30.462Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-08T15:03:32.228Z] $ docker top a8610fb1f766742db04b6f47e79e14f99c0b3da56a9c2b4af8758420e13a6984 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-08T15:03:32.617Z] ---> job-cost.sh [2022-08-08T15:03:32.617Z] lf-activate-venv: SKIPPING [2022-08-08T15:03:32.617Z] INFO: No Stack... [2022-08-08T15:03:32.879Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-08T15:03:33.450Z] INFO: Archiving Costs [Pipeline] sh [2022-08-08T15:03:33.741Z] + cat /w/workspace/oundry_app-functions-sdk-go_main/archives/cost.csv [2022-08-08T15:03:33.741Z] + cut -d, -f6 [Pipeline] lock [2022-08-08T15:03:33.757Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-150-stack-cost] [2022-08-08T15:03:33.766Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-150-stack-cost] did not exist. Created. [2022-08-08T15:03:33.766Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-150-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-08T15:03:34.072Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-08T15:03:34.097Z] Stashed 1 file(s) [Pipeline] } [2022-08-08T15:03:34.104Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-150-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-08T15:03:34.131Z] $ docker stop --time=1 a8610fb1f766742db04b6f47e79e14f99c0b3da56a9c2b4af8758420e13a6984 [2022-08-08T15:03:35.276Z] $ docker rm -f a8610fb1f766742db04b6f47e79e14f99c0b3da56a9c2b4af8758420e13a6984 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-08T15:04:37.481Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22148 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2022-08-08T15:04:37.495Z] Running in /w/workspace/app-functions-sdk-go/150 [Pipeline] { [Pipeline] checkout [2022-08-08T15:04:37.548Z] The recommended git tool is: git [2022-08-08T15:04:44.169Z] using credential edgex-jenkins-ssh [2022-08-08T15:04:44.192Z] Cloning the remote Git repository [2022-08-08T15:04:44.272Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2022-08-08T15:04:44.370Z] > git init /w/workspace/app-functions-sdk-go/150 # timeout=10 [2022-08-08T15:04:44.452Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2022-08-08T15:04:44.453Z] > git --version # timeout=10 [2022-08-08T15:04:44.476Z] > git --version # 'git version 2.25.1' [2022-08-08T15:04:44.478Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-08T15:04:44.606Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-08T15:04:48.036Z] Avoid second fetch [2022-08-08T15:04:48.036Z] Checking out Revision 0c1b7628d14577e46e0f77e6cd663d04e5bdec27 (main) [2022-08-08T15:04:47.999Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2022-08-08T15:04:48.019Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-08T15:04:48.058Z] > git config core.sparsecheckout # timeout=10 [2022-08-08T15:04:48.075Z] > git checkout -f 0c1b7628d14577e46e0f77e6cd663d04e5bdec27 # timeout=10 [2022-08-08T15:04:52.312Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#1161)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-08T15:04:53.258Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-08T15:04:53.259Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-08T15:04:53.259Z] Dload Upload Total Spent Left Speed [2022-08-08T15:04:53.259Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 87460 0 --:--:-- --:--:-- --:--:-- 87460 [Pipeline] sh [2022-08-08T15:04:53.911Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-08T15:04:54.265Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-08T15:04:54.265Z] + sudo tee /etc/docker/daemon.new [2022-08-08T15:04:54.265Z] { [2022-08-08T15:04:54.265Z] "registry-mirrors": [ [2022-08-08T15:04:54.265Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-08T15:04:54.265Z] ], [2022-08-08T15:04:54.265Z] "bip": "10.250.0.254/24", [2022-08-08T15:04:54.265Z] "hosts": [ [2022-08-08T15:04:54.265Z] "tcp://0.0.0.0:5555", [2022-08-08T15:04:54.265Z] "unix:///var/run/docker.sock" [2022-08-08T15:04:54.265Z] ], [2022-08-08T15:04:54.265Z] "mtu": 1458, [2022-08-08T15:04:54.265Z] "selinux-enabled": true, [2022-08-08T15:04:54.265Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-08T15:04:54.265Z] } [Pipeline] sh [2022-08-08T15:04:54.691Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-08T15:04:55.070Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2022-08-08T15:05:13.779Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-08T15:05:13.795Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-08T15:05:13.806Z] ========================================================= [2022-08-08T15:05:13.806Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-08T15:05:13.806Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-08-08T15:05:14.206Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-08T15:05:15.184Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-08T15:05:15.184Z] b3c136eddcbf: Pulling fs layer [2022-08-08T15:05:15.184Z] c0a3192eca97: Pulling fs layer [2022-08-08T15:05:15.184Z] a050256f5b6f: Pulling fs layer [2022-08-08T15:05:15.184Z] 656be50a0ddc: Pulling fs layer [2022-08-08T15:05:15.184Z] 2bbca73fdf42: Pulling fs layer [2022-08-08T15:05:15.184Z] 46d945488cbd: Pulling fs layer [2022-08-08T15:05:15.184Z] 8a5474983e97: Pulling fs layer [2022-08-08T15:05:15.184Z] 329c88fbcd65: Pulling fs layer [2022-08-08T15:05:15.184Z] 656be50a0ddc: Waiting [2022-08-08T15:05:15.184Z] 46d945488cbd: Waiting [2022-08-08T15:05:15.184Z] 8a5474983e97: Waiting [2022-08-08T15:05:15.184Z] 2bbca73fdf42: Waiting [2022-08-08T15:05:15.184Z] 329c88fbcd65: Waiting [2022-08-08T15:05:15.184Z] a050256f5b6f: Verifying Checksum [2022-08-08T15:05:15.184Z] a050256f5b6f: Download complete [2022-08-08T15:05:15.184Z] c0a3192eca97: Download complete [2022-08-08T15:05:15.184Z] 2bbca73fdf42: Verifying Checksum [2022-08-08T15:05:15.184Z] 2bbca73fdf42: Download complete [2022-08-08T15:05:15.184Z] 46d945488cbd: Verifying Checksum [2022-08-08T15:05:15.184Z] 46d945488cbd: Download complete [2022-08-08T15:05:15.184Z] b3c136eddcbf: Verifying Checksum [2022-08-08T15:05:15.184Z] b3c136eddcbf: Download complete [2022-08-08T15:05:16.189Z] b3c136eddcbf: Pull complete [2022-08-08T15:05:16.189Z] 329c88fbcd65: Verifying Checksum [2022-08-08T15:05:16.189Z] 329c88fbcd65: Download complete [2022-08-08T15:05:16.471Z] c0a3192eca97: Pull complete [2022-08-08T15:05:16.750Z] a050256f5b6f: Pull complete [2022-08-08T15:05:17.351Z] 8a5474983e97: Verifying Checksum [2022-08-08T15:05:17.351Z] 8a5474983e97: Download complete [2022-08-08T15:05:17.948Z] 656be50a0ddc: Verifying Checksum [2022-08-08T15:05:17.948Z] 656be50a0ddc: Download complete [2022-08-08T15:05:30.376Z] 656be50a0ddc: Pull complete [2022-08-08T15:05:30.376Z] 2bbca73fdf42: Pull complete [2022-08-08T15:05:30.651Z] 46d945488cbd: Pull complete [2022-08-08T15:05:37.388Z] 8a5474983e97: Pull complete [2022-08-08T15:05:38.827Z] 329c88fbcd65: Pull complete [2022-08-08T15:05:38.827Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-08T15:05:38.827Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-08T15:05:38.827Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] sh [2022-08-08T15:05:39.166Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T15:05:39.517Z] + docker inspect -f . ci-base-image-arm64 [2022-08-08T15:05:39.518Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-08T15:05:39.780Z] prd-ubuntu20.04-docker-arm64-4c-16g-22148 does not seem to be running inside a container [2022-08-08T15:05:39.873Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/150 -v /w/workspace/app-functions-sdk-go/150:/w/workspace/app-functions-sdk-go/150:rw,z -v /w/workspace/app-functions-sdk-go/150@tmp:/w/workspace/app-functions-sdk-go/150@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-08T15:05:42.914Z] $ docker top abfd399cffee65be16ecad03d9da5ae960275cbe438b0662dfd9d639a2df0b9a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-08T15:05:43.840Z] + go version [2022-08-08T15:05:43.840Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-08T15:05:43.874Z] $ docker stop --time=1 abfd399cffee65be16ecad03d9da5ae960275cbe438b0662dfd9d639a2df0b9a [2022-08-08T15:05:45.531Z] $ docker rm -f abfd399cffee65be16ecad03d9da5ae960275cbe438b0662dfd9d639a2df0b9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T15:05:46.170Z] + docker inspect -f . ci-base-image-arm64 [2022-08-08T15:05:46.170Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-08T15:05:46.422Z] prd-ubuntu20.04-docker-arm64-4c-16g-22148 does not seem to be running inside a container [2022-08-08T15:05:46.509Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/app-functions-sdk-go/150 -v /w/workspace/app-functions-sdk-go/150:/w/workspace/app-functions-sdk-go/150:rw,z -v /w/workspace/app-functions-sdk-go/150@tmp:/w/workspace/app-functions-sdk-go/150@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-08T15:05:47.869Z] $ docker top fb384e0e2310e3c0e536da1030a50a8411730fa4eec1f4fd4d96f6fab100f78b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-08T15:05:48.780Z] + git config --global --add safe.directory /w/workspace/app-functions-sdk-go/150 [Pipeline] fileExists [Pipeline] sh [2022-08-08T15:05:49.454Z] + make test [2022-08-08T15:05:49.454Z] make -C ./app-service-template build [2022-08-08T15:05:49.454Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/150/app-service-template' [2022-08-08T15:05:49.454Z] go mod tidy [2022-08-08T15:05:49.454Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 [2022-08-08T15:05:49.454Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 [2022-08-08T15:05:49.454Z] go: downloading github.com/google/uuid v1.3.0 [2022-08-08T15:05:49.454Z] go: downloading github.com/stretchr/testify v1.8.0 [2022-08-08T15:05:49.729Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.1-dev.5 [2022-08-08T15:05:49.729Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.1-dev.8 [2022-08-08T15:05:49.729Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 [2022-08-08T15:05:49.729Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-08-08T15:05:49.729Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-08-08T15:05:49.729Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2022-08-08T15:05:50.004Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.3 [2022-08-08T15:05:50.004Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 [2022-08-08T15:05:50.004Z] go: downloading github.com/go-playground/validator/v10 v10.10.1 [2022-08-08T15:05:50.004Z] go: downloading github.com/go-kit/log v0.2.0 [2022-08-08T15:05:50.004Z] go: downloading github.com/stretchr/objx v0.4.0 [2022-08-08T15:05:50.004Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.1-dev.1 [2022-08-08T15:05:50.004Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 [2022-08-08T15:05:50.280Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-08-08T15:05:50.280Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-08-08T15:05:50.280Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-08-08T15:05:50.280Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-08-08T15:05:50.280Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-08-08T15:05:50.280Z] go: downloading github.com/pelletier/go-toml v1.9.5 [2022-08-08T15:05:50.280Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-08-08T15:05:50.280Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-08-08T15:05:50.280Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2022-08-08T15:05:50.280Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-08-08T15:05:50.562Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-08-08T15:05:50.562Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-08-08T15:05:50.562Z] go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 [2022-08-08T15:05:50.837Z] go: downloading golang.org/x/text v0.3.7 [2022-08-08T15:05:51.113Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-08-08T15:05:51.394Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-08-08T15:05:51.394Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-08-08T15:05:54.060Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2022-08-08T15:05:54.060Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.1.0 [2022-08-08T15:05:54.060Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-08-08T15:05:54.060Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-08-08T15:05:54.060Z] go: downloading github.com/x448/float16 v0.8.4 [2022-08-08T15:05:54.060Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-08-08T15:05:54.060Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-08-08T15:05:54.060Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-08-08T15:05:54.060Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-08-08T15:05:54.060Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-08-08T15:05:54.060Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-08-08T15:05:54.060Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-08-08T15:05:54.060Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-08-08T15:05:54.060Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-08-08T15:05:54.060Z] go: downloading github.com/kr/pretty v0.3.0 [2022-08-08T15:05:54.060Z] go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 [2022-08-08T15:05:54.060Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-08-08T15:05:54.060Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-08-08T15:05:54.060Z] go: downloading github.com/Microsoft/go-winio v0.5.2 [2022-08-08T15:05:54.060Z] go: downloading github.com/zeebo/errs v1.2.2 [2022-08-08T15:05:54.333Z] go: downloading google.golang.org/grpc v1.46.0 [2022-08-08T15:05:55.320Z] go: downloading github.com/fatih/color v1.9.0 [2022-08-08T15:05:55.320Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-08-08T15:05:55.320Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-08-08T15:05:55.320Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-08-08T15:05:55.320Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-08-08T15:05:55.320Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-08-08T15:05:55.320Z] go: downloading github.com/pkg/errors v0.9.1 [2022-08-08T15:05:55.320Z] go: downloading github.com/kr/text v0.2.0 [2022-08-08T15:05:55.320Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-08-08T15:05:55.320Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-08-08T15:05:55.320Z] go: downloading gopkg.in/square/go-jose.v2 v2.4.1 [2022-08-08T15:05:55.320Z] go: downloading google.golang.org/protobuf v1.28.0 [2022-08-08T15:05:55.595Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-08-08T15:05:55.595Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-08-08T15:05:55.595Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-08-08T15:05:55.595Z] go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa [2022-08-08T15:05:56.194Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-08-08T15:05:56.469Z] go: downloading github.com/google/go-cmp v0.5.6 [2022-08-08T15:05:56.469Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-08-08T15:05:56.749Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-08-08T15:05:56.749Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-08-08T15:05:56.749Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-08-08T15:05:56.749Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-08-08T15:05:56.749Z] go: downloading github.com/miekg/dns v1.1.26 [2022-08-08T15:05:57.035Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-08-08T15:05:57.035Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2022-08-08T15:05:57.035Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-08-08T15:05:57.035Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-08-08T15:05:57.309Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 [2022-08-08T15:05:57.309Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-08-08T15:05:57.309Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2022-08-08T15:06:01.612Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.3.0-dev.12 [2022-08-08T15:06:01.612Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.3.0-dev.12 [2022-08-08T15:06:01.612Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.4 [2022-08-08T15:06:01.612Z] go: downloading golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e [2022-08-08T15:06:01.612Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.3.0-dev.5 [2022-08-08T15:06:01.612Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.1.1 [2022-08-08T15:06:01.612Z] go: downloading github.com/nats-io/nats.go v1.16.0 [2022-08-08T15:06:02.215Z] go: downloading github.com/nats-io/nuid v1.0.1 [2022-08-08T15:06:02.215Z] go: downloading github.com/nats-io/nkeys v0.3.0 [2022-08-08T15:06:02.215Z] go: downloading github.com/nats-io/nats-server/v2 v2.7.4 [2022-08-08T15:06:03.198Z] go: downloading github.com/nats-io/jwt/v2 v2.3.0 [2022-08-08T15:06:03.198Z] go: downloading github.com/klauspost/compress v1.15.9 [2022-08-08T15:06:03.198Z] go: downloading github.com/minio/highwayhash v1.0.2 [2022-08-08T15:06:03.198Z] go: downloading golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 [2022-08-08T15:06:06.599Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o new-app-service [2022-08-08T15:07:58.480Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/150/app-service-template' [2022-08-08T15:07:58.480Z] make -C ./app-service-template test [2022-08-08T15:07:58.480Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/150/app-service-template' [2022-08-08T15:07:58.480Z] CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... [2022-08-08T15:10:20.444Z] ok new-app-service 0.263s coverage: 48.1% of statements [2022-08-08T15:10:20.444Z] ? new-app-service/config [no test files] [2022-08-08T15:10:20.444Z] ok new-app-service/functions 0.200s [2022-08-08T15:10:20.444Z] CGO_ENABLED=1 go vet ./... [2022-08-08T15:11:42.332Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-08T15:11:42.332Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-08T15:11:42.332Z] ./bin/test-attribution-txt.sh [2022-08-08T15:11:42.332Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-08T15:11:42.332Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-08T15:11:42.332Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-08-08T15:11:42.332Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/150/app-service-template' [2022-08-08T15:11:42.332Z] CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-08-08T15:11:42.332Z] go: downloading github.com/gomodule/redigo v1.8.9 [2022-08-08T15:11:42.332Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2022-08-08T15:11:57.499Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.674s coverage: 60.3% of statements [2022-08-08T15:11:57.499Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.494s coverage: 93.8% of statements [2022-08-08T15:11:57.499Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2022-08-08T15:11:57.499Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.391s coverage: 76.5% of statements [2022-08-08T15:11:57.499Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2022-08-08T15:11:57.499Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.349s coverage: 88.7% of statements [2022-08-08T15:11:57.499Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.218s coverage: 100.0% of statements [2022-08-08T15:11:57.499Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.748s coverage: 78.5% of statements [2022-08-08T15:11:57.499Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2022-08-08T15:11:57.499Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2022-08-08T15:11:57.499Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.237s coverage: 97.3% of statements [2022-08-08T15:11:57.499Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2022-08-08T15:11:57.499Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] [2022-08-08T15:11:58.961Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.340s coverage: 82.8% of statements [2022-08-08T15:11:58.961Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] [2022-08-08T15:12:02.391Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 1.092s coverage: 81.5% of statements [2022-08-08T15:12:02.391Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] [2022-08-08T15:12:02.391Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] [2022-08-08T15:12:02.391Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.330s coverage: 28.7% of statements [2022-08-08T15:12:02.391Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] [2022-08-08T15:12:03.027Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.291s coverage: 14.0% of statements [2022-08-08T15:12:06.454Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.220s coverage: 27.3% of statements [2022-08-08T15:12:06.454Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2022-08-08T15:12:06.454Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-08-08T15:12:09.082Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.221s coverage: 51.4% of statements [2022-08-08T15:12:41.431Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.497s coverage: 75.5% of statements [2022-08-08T15:12:41.431Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.197s coverage: 94.4% of statements [2022-08-08T15:12:41.431Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-08T15:12:45.757Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-08T15:12:45.757Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-08T15:12:45.757Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] echo [2022-08-08T15:12:45.780Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-08T15:12:45.804Z] $ docker stop --time=1 fb384e0e2310e3c0e536da1030a50a8411730fa4eec1f4fd4d96f6fab100f78b [2022-08-08T15:12:47.612Z] $ docker rm -f fb384e0e2310e3c0e536da1030a50a8411730fa4eec1f4fd4d96f6fab100f78b [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-08T15:12:51.489Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-08T15:12:51.516Z] Warning: overwriting stash ‘coverage-report’ [2022-08-08T15:12:52.083Z] Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T15:12:52.541Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-08T15:12:52.541Z] [2022-08-08T15:12:52.541Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T15:12:52.897Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-08T15:12:53.170Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-08T15:12:53.170Z] 8998bd30e6a1: Pulling fs layer [2022-08-08T15:12:53.170Z] 04944245beec: Pulling fs layer [2022-08-08T15:12:53.170Z] 699f458cf7ca: Pulling fs layer [2022-08-08T15:12:53.170Z] 765212b225bb: Pulling fs layer [2022-08-08T15:12:53.170Z] f23df028b6ca: Pulling fs layer [2022-08-08T15:12:53.170Z] d65c8cfc05b1: Pulling fs layer [2022-08-08T15:12:53.170Z] 2437ff75d9bd: Pulling fs layer [2022-08-08T15:12:53.170Z] f23df028b6ca: Waiting [2022-08-08T15:12:53.170Z] d65c8cfc05b1: Waiting [2022-08-08T15:12:53.170Z] 2437ff75d9bd: Waiting [2022-08-08T15:12:53.170Z] 765212b225bb: Waiting [2022-08-08T15:12:53.170Z] 04944245beec: Verifying Checksum [2022-08-08T15:12:53.170Z] 04944245beec: Download complete [2022-08-08T15:12:53.447Z] 765212b225bb: Verifying Checksum [2022-08-08T15:12:53.447Z] 765212b225bb: Download complete [2022-08-08T15:12:53.447Z] f23df028b6ca: Verifying Checksum [2022-08-08T15:12:53.447Z] f23df028b6ca: Download complete [2022-08-08T15:12:53.447Z] d65c8cfc05b1: Verifying Checksum [2022-08-08T15:12:53.447Z] d65c8cfc05b1: Download complete [2022-08-08T15:12:53.447Z] 699f458cf7ca: Verifying Checksum [2022-08-08T15:12:53.447Z] 699f458cf7ca: Download complete [2022-08-08T15:12:54.046Z] 8998bd30e6a1: Verifying Checksum [2022-08-08T15:12:54.046Z] 8998bd30e6a1: Download complete [2022-08-08T15:12:56.039Z] 2437ff75d9bd: Verifying Checksum [2022-08-08T15:12:56.039Z] 2437ff75d9bd: Download complete [2022-08-08T15:12:58.676Z] 8998bd30e6a1: Pull complete [2022-08-08T15:12:58.677Z] 04944245beec: Pull complete [2022-08-08T15:13:00.118Z] 699f458cf7ca: Pull complete [2022-08-08T15:13:00.391Z] 765212b225bb: Pull complete [2022-08-08T15:13:01.374Z] f23df028b6ca: Pull complete [2022-08-08T15:13:01.648Z] d65c8cfc05b1: Pull complete [2022-08-08T15:13:16.756Z] 2437ff75d9bd: Pull complete [2022-08-08T15:13:16.756Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-08T15:13:16.756Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-08T15:13:16.756Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-08T15:13:16.999Z] prd-ubuntu20.04-docker-arm64-4c-16g-22148 does not seem to be running inside a container [2022-08-08T15:13:17.095Z] $ 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/150 -v /w/workspace/app-functions-sdk-go/150:/w/workspace/app-functions-sdk-go/150:rw,z -v /w/workspace/app-functions-sdk-go/150@tmp:/w/workspace/app-functions-sdk-go/150@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-08T15:13:19.536Z] $ docker top 8ce88b9bfc7b6d4b635d3dbdfab2b0aadd463cb02b83afb22f873aefb2a0ec23 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-08T15:13:20.430Z] ---> job-cost.sh [2022-08-08T15:13:20.430Z] lf-activate-venv: SKIPPING [2022-08-08T15:13:20.430Z] INFO: No Stack... [2022-08-08T15:13:20.704Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-08T15:13:21.684Z] INFO: Archiving Costs [Pipeline] sh [2022-08-08T15:13:22.350Z] + cat /w/workspace/app-functions-sdk-go/150/archives/cost.csv [2022-08-08T15:13:22.350Z] + cut -d, -f6 [Pipeline] lock [2022-08-08T15:13:22.413Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-150-stack-cost] [2022-08-08T15:13:22.419Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-150-stack-cost] did not exist. Created. [2022-08-08T15:13:22.419Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-150-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-08T15:13:23.097Z] /w/workspace/app-functions-sdk-go/150@tmp/durable-7285c694/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-08T15:13:23.782Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-08T15:13:23.812Z] Warning: overwriting stash ‘stack-cost’ [2022-08-08T15:13:23.875Z] Stashed 1 file(s) [Pipeline] } [2022-08-08T15:13:23.886Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-150-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-08T15:13:23.918Z] $ docker stop --time=1 8ce88b9bfc7b6d4b635d3dbdfab2b0aadd463cb02b83afb22f873aefb2a0ec23 [2022-08-08T15:13:25.427Z] $ docker rm -f 8ce88b9bfc7b6d4b635d3dbdfab2b0aadd463cb02b83afb22f873aefb2a0ec23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-08-08T15:13:25.911Z] provisioning config files... [2022-08-08T15:13:25.921Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config6348746975292045670tmp [Pipeline] { [Pipeline] sh [2022-08-08T15:13:26.216Z] + set +x [2022-08-08T15:13:26.216Z] + curl -s https://codecov.io/bash [2022-08-08T15:13:26.216Z] + bash -s -- [2022-08-08T15:13:26.216Z] [2022-08-08T15:13:26.216Z] _____ _ [2022-08-08T15:13:26.216Z] / ____| | | [2022-08-08T15:13:26.216Z] | | ___ __| | ___ ___ _____ __ [2022-08-08T15:13:26.216Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-08T15:13:26.216Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-08T15:13:26.216Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-08T15:13:26.216Z] Bash-1.0.6 [2022-08-08T15:13:26.216Z] [2022-08-08T15:13:26.216Z] [2022-08-08T15:13:26.216Z] ==> git version 2.25.1 found [2022-08-08T15:13:26.216Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-08-08T15:13:26.216Z] Release-Date: 2020-01-08 [2022-08-08T15:13:26.216Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-08-08T15:13:26.216Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-08T15:13:26.216Z] ==> Jenkins CI detected. [2022-08-08T15:13:26.216Z] current dir:  /w/workspace/oundry_app-functions-sdk-go_main [2022-08-08T15:13:26.216Z] project root: . [2022-08-08T15:13:26.216Z] --> token set from env [2022-08-08T15:13:26.216Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-08T15:13:26.217Z] ==> Running gcov in . (disable via -X gcov) [2022-08-08T15:13:26.217Z] ==> Python coveragepy not found [2022-08-08T15:13:26.217Z] ==> Searching for coverage reports in: [2022-08-08T15:13:26.217Z] + . [2022-08-08T15:13:26.217Z] -> Found 2 reports [2022-08-08T15:13:26.217Z] ==> Detecting git/mercurial file structure [2022-08-08T15:13:26.217Z] ==> Reading reports [2022-08-08T15:13:26.217Z] + ./app-service-template/coverage.out bytes=1222 [2022-08-08T15:13:26.217Z] + ./coverage.out bytes=125926 [2022-08-08T15:13:26.217Z] ==> Appending adjustments [2022-08-08T15:13:26.217Z] https://docs.codecov.io/docs/fixing-reports [2022-08-08T15:13:26.785Z] + Found adjustments [2022-08-08T15:13:26.785Z] ==> Gzipping contents [2022-08-08T15:13:26.785Z] 24K /tmp/codecov.RTWtCU.gz [2022-08-08T15:13:26.785Z] ==> Uploading reports [2022-08-08T15:13:26.785Z] url: https://codecov.io [2022-08-08T15:13:26.785Z] query: branch=main&commit=0c1b7628d14577e46e0f77e6cd663d04e5bdec27&build=150&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F150%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-08-08T15:13:26.785Z] -> Pinging Codecov [2022-08-08T15:13:26.785Z] 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=0c1b7628d14577e46e0f77e6cd663d04e5bdec27&build=150&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F150%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-08-08T15:13:27.356Z] -> Uploading to [2022-08-08T15:13:27.356Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-08/3D8B5DFFC46A037C893635FACE044666/0c1b7628d14577e46e0f77e6cd663d04e5bdec27/8697f598-e469-4500-8d98-cf197d07ead2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220808%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220808T151327Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7b6a072f9da43bcc926201b2b8c3c287c64a4e5525060c94adaa26672d75e0cf [2022-08-08T15:13:27.356Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-08T15:13:27.356Z] Dload Upload Total Spent Left Speed [2022-08-08T15:13:27.616Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21610 0 0 100 21610 0 71556 --:--:-- --:--:-- --:--:-- 71556 [2022-08-08T15:13:27.616Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/0c1b7628d14577e46e0f77e6cd663d04e5bdec27 [Pipeline] } [2022-08-08T15:13:27.625Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-08-08T15:13:27.815Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-08-08T15:13:27.826Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T15:13:28.242Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-08-08T15:13:28.242Z] [2022-08-08T15:13:28.242Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T15:13:28.567Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-08-08T15:13:28.567Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-08-08T15:13:28.567Z] df9b9388f04a: Pulling fs layer [2022-08-08T15:13:28.567Z] 52dc419b0ee2: Pulling fs layer [2022-08-08T15:13:28.567Z] 25bc292e5bac: Pulling fs layer [2022-08-08T15:13:28.567Z] 114826534d7a: Pulling fs layer [2022-08-08T15:13:28.567Z] 4657fd5d0bcf: Pulling fs layer [2022-08-08T15:13:28.567Z] 6ad1cebc031e: Pulling fs layer [2022-08-08T15:13:28.567Z] 8a3aa393b2d8: Pulling fs layer [2022-08-08T15:13:28.567Z] 114826534d7a: Waiting [2022-08-08T15:13:28.567Z] 4657fd5d0bcf: Waiting [2022-08-08T15:13:28.567Z] 6ad1cebc031e: Waiting [2022-08-08T15:13:28.567Z] 8a3aa393b2d8: Waiting [2022-08-08T15:13:28.567Z] 25bc292e5bac: Verifying Checksum [2022-08-08T15:13:28.567Z] 25bc292e5bac: Download complete [2022-08-08T15:13:28.567Z] 52dc419b0ee2: Verifying Checksum [2022-08-08T15:13:28.567Z] 52dc419b0ee2: Download complete [2022-08-08T15:13:28.567Z] 4657fd5d0bcf: Verifying Checksum [2022-08-08T15:13:28.567Z] df9b9388f04a: Download complete [2022-08-08T15:13:28.832Z] df9b9388f04a: Pull complete [2022-08-08T15:13:28.832Z] 6ad1cebc031e: Verifying Checksum [2022-08-08T15:13:28.832Z] 6ad1cebc031e: Download complete [2022-08-08T15:13:28.832Z] 52dc419b0ee2: Pull complete [2022-08-08T15:13:28.832Z] 25bc292e5bac: Pull complete [2022-08-08T15:13:29.418Z] 114826534d7a: Verifying Checksum [2022-08-08T15:13:29.418Z] 114826534d7a: Download complete [2022-08-08T15:13:29.678Z] 8a3aa393b2d8: Verifying Checksum [2022-08-08T15:13:29.678Z] 8a3aa393b2d8: Download complete [2022-08-08T15:13:33.879Z] 114826534d7a: Pull complete [2022-08-08T15:13:33.879Z] 4657fd5d0bcf: Pull complete [2022-08-08T15:13:33.879Z] 6ad1cebc031e: Pull complete [2022-08-08T15:13:36.418Z] 8a3aa393b2d8: Pull complete [2022-08-08T15:13:36.418Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-08-08T15:13:36.418Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-08-08T15:13:36.418Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-08T15:13:36.519Z] prd-ubuntu20.04-docker-8c-8g-22147 does not seem to be running inside a container [2022-08-08T15:13:36.562Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-08-08T15:13:39.096Z] $ docker top 129d4a7e9abd75a21daf98d6ab8c1981d87910639dcc421e6fbfe9b293938bd5 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-08-08T15:13:39.172Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-functions-sdk-go:main' [Pipeline] sh [2022-08-08T15:13:39.453Z] + set -o pipefail [2022-08-08T15:13:39.453Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-functions-sdk-go:main' [2022-08-08T15:13:47.582Z] [2022-08-08T15:13:47.582Z] Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2022-08-08T15:13:47.582Z] [2022-08-08T15:13:47.582Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/899a6017-c938-46f1-adf7-2bd1b283a5ba/history/af8d7d49-0c0f-4b39-aea0-d571b5ca2b57 [2022-08-08T15:13:47.582Z] [2022-08-08T15:13:47.582Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-08-08T15:13:47.582Z] [2022-08-08T15:13:47.582Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-08-08T15:13:47.582Z] [2022-08-08T15:13:47.582Z] [Pipeline] } [2022-08-08T15:13:47.597Z] $ docker stop --time=1 129d4a7e9abd75a21daf98d6ab8c1981d87910639dcc421e6fbfe9b293938bd5 [2022-08-08T15:13:49.711Z] $ docker rm -f 129d4a7e9abd75a21daf98d6ab8c1981d87910639dcc421e6fbfe9b293938bd5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2022-08-08T15:13:50.098Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-08T15:13:50.107Z] provisioning config files... [2022-08-08T15:13:50.115Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config7844737136624932633tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-08T15:13:50.415Z] --> edgex-publish-swagger.sh [2022-08-08T15:13:50.415Z] === Publish openapi/v2 API === [2022-08-08T15:13:50.415Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-08-08T15:13:50.415Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v2/app-functions-sdk.yaml] [2022-08-08T15:13:50.415Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-08T15:13:50.415Z] Dload Upload Total Spent Left Speed [2022-08-08T15:13:51.354Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13708 0 0 100 13708 0 13347 0:00:01 0:00:01 --:--:-- 13347 100 13708 0 0 100 13708 0 13347 0:00:01 0:00:01 --:--:-- 13347 [2022-08-08T15:13:51.354Z] [2022-08-08T15:13:51.354Z] [Pipeline] } [2022-08-08T15:13:51.363Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-08T15:13:51.766Z] + git log --format=format:%s -1 0c1b7628d14577e46e0f77e6cd663d04e5bdec27 [Pipeline] sh [2022-08-08T15:13:52.060Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-08T15:13:52.060Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T15:13:52.361Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-08T15:13:52.361Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-08T15:13:52.437Z] prd-ubuntu20.04-docker-8c-8g-22147 does not seem to be running inside a container [2022-08-08T15:13:52.471Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-08T15:13:52.858Z] $ docker top 4049d3a9f248a0adca2191a068c9036efcad80d417df88e8fd3a3564dfd599d0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-08T15:13:52.953Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-08T15:13:52.953Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-08T15:13:53.075Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-08T15:13:53.080Z] $ docker exec 4049d3a9f248a0adca2191a068c9036efcad80d417df88e8fd3a3564dfd599d0 ssh-agent [2022-08-08T15:13:53.193Z] SSH_AUTH_SOCK=/tmp/ssh-r4AvQlvn42bv/agent.32 [2022-08-08T15:13:53.193Z] SSH_AGENT_PID=38 [2022-08-08T15:13:53.199Z] Running ssh-add (command line suppressed) [2022-08-08T15:13:53.307Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1657572617068827193.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1657572617068827193.key) [2022-08-08T15:13:53.318Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-08T15:13:53.603Z] + git semver tag [2022-08-08T15:13:53.863Z] 2022-08-08 15:13:53,775 [run_tag] DEBUG tag force:False [2022-08-08T15:13:53.863Z] 2022-08-08 15:13:53,775 [check_head_tag] DEBUG check head tag [2022-08-08T15:13:53.863Z] 2022-08-08 15:13:53,776 [execute] INFO git cat-file --batch-check [2022-08-08T15:13:53.863Z] 2022-08-08 15:13:53,777 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) [2022-08-08T15:13:53.863Z] 2022-08-08 15:13:53,780 [execute] INFO git cat-file --batch [2022-08-08T15:13:53.863Z] 2022-08-08 15:13:53,781 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) [2022-08-08T15:13:53.863Z] 2022-08-08 15:13:53,796 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-08-08T15:13:53.863Z] 2022-08-08 15:13:53,796 [execute] INFO git tag -a v2.3.0-dev.29 -m v2.3.0-dev.29 [2022-08-08T15:13:53.863Z] 2022-08-08 15:13:53,796 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.29', '-m', 'v2.3.0-dev.29'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2022-08-08T15:13:53.863Z] 2022-08-08 15:13:53,800 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-08-08T15:13:53.863Z] 2.3.0-dev.29 [Pipeline] } [2022-08-08T15:13:53.876Z] $ docker exec --env ******** --env ******** 4049d3a9f248a0adca2191a068c9036efcad80d417df88e8fd3a3564dfd599d0 ssh-agent -k [2022-08-08T15:13:53.978Z] unset SSH_AUTH_SOCK; [2022-08-08T15:13:53.978Z] unset SSH_AGENT_PID; [2022-08-08T15:13:53.978Z] echo Agent pid 38 killed; [2022-08-08T15:13:53.988Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-08T15:13:54.296Z] + git semver [Pipeline] } [2022-08-08T15:13:54.573Z] $ docker stop --time=1 4049d3a9f248a0adca2191a068c9036efcad80d417df88e8fd3a3564dfd599d0 [2022-08-08T15:13:55.826Z] $ docker rm -f 4049d3a9f248a0adca2191a068c9036efcad80d417df88e8fd3a3564dfd599d0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T15:13:56.211Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-08-08T15:13:56.211Z] [2022-08-08T15:13:56.211Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T15:13:56.518Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-08-08T15:13:56.518Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-08-08T15:13:56.518Z] ab5ef0e58194: Pulling fs layer [2022-08-08T15:13:56.518Z] 9712f1f96733: Pulling fs layer [2022-08-08T15:13:56.518Z] 63f879dbbcfc: Pulling fs layer [2022-08-08T15:13:56.518Z] 0d9ebad4ef96: Pulling fs layer [2022-08-08T15:13:56.518Z] e9a5061849ea: Pulling fs layer [2022-08-08T15:13:56.518Z] d747dcd14b5f: Pulling fs layer [2022-08-08T15:13:56.518Z] 2de7ff778b66: Pulling fs layer [2022-08-08T15:13:56.518Z] e9a5061849ea: Waiting [2022-08-08T15:13:56.518Z] 2de7ff778b66: Waiting [2022-08-08T15:13:56.518Z] d747dcd14b5f: Waiting [2022-08-08T15:13:56.518Z] 0d9ebad4ef96: Waiting [2022-08-08T15:13:56.518Z] 9712f1f96733: Download complete [2022-08-08T15:13:56.779Z] 63f879dbbcfc: Verifying Checksum [2022-08-08T15:13:56.779Z] 63f879dbbcfc: Download complete [2022-08-08T15:13:57.039Z] 0d9ebad4ef96: Verifying Checksum [2022-08-08T15:13:57.039Z] 0d9ebad4ef96: Download complete [2022-08-08T15:13:57.039Z] d747dcd14b5f: Download complete [2022-08-08T15:13:57.039Z] e9a5061849ea: Verifying Checksum [2022-08-08T15:13:57.039Z] e9a5061849ea: Download complete [2022-08-08T15:13:57.039Z] ab5ef0e58194: Verifying Checksum [2022-08-08T15:13:57.039Z] ab5ef0e58194: Download complete [2022-08-08T15:13:57.039Z] 2de7ff778b66: Verifying Checksum [2022-08-08T15:13:57.039Z] 2de7ff778b66: Download complete [2022-08-08T15:13:59.574Z] ab5ef0e58194: Pull complete [2022-08-08T15:13:59.834Z] 9712f1f96733: Pull complete [2022-08-08T15:14:00.401Z] 63f879dbbcfc: Pull complete [2022-08-08T15:14:04.594Z] 0d9ebad4ef96: Pull complete [2022-08-08T15:14:04.853Z] e9a5061849ea: Pull complete [2022-08-08T15:14:04.853Z] d747dcd14b5f: Pull complete [2022-08-08T15:14:05.790Z] 2de7ff778b66: Pull complete [2022-08-08T15:14:05.790Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-08-08T15:14:06.050Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-08-08T15:14:06.050Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-08T15:14:06.140Z] prd-ubuntu20.04-docker-8c-8g-22147 does not seem to be running inside a container [2022-08-08T15:14:06.173Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-08-08T15:14:08.644Z] $ docker top abeafc632f0fe018e6c6110a65441e2881df458417fe51d610a68e7bc05390e9 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-08-08T15:14:08.739Z] provisioning config files... [2022-08-08T15:14:08.747Z] copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config3724154707032317003tmp [2022-08-08T15:14:08.758Z] copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config8776643232118512547tmp [2022-08-08T15:14:08.768Z] copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config758774579037557756tmp [Pipeline] { [Pipeline] echo [2022-08-08T15:14:08.785Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-08T15:14:09.069Z] ---> sigul-configuration.sh [2022-08-08T15:14:09.069Z] gpg: directory `/root/.gnupg' created [2022-08-08T15:14:09.069Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-08-08T15:14:09.069Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-08-08T15:14:09.069Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-08-08T15:14:09.069Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-08-08T15:14:09.069Z] gpg: CAST5 encrypted data [2022-08-08T15:14:09.069Z] gpg: encrypted with 1 passphrase [2022-08-08T15:14:09.069Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-08-08T15:14:09.360Z] + mkdir /home/jenkins [2022-08-08T15:14:09.360Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-08-08T15:14:09.652Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-08-08T15:14:09.662Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-08T15:14:09.948Z] ---> sigul-install.sh [2022-08-08T15:14:09.948Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-08-08T15:14:10.279Z] + git tag --list [2022-08-08T15:14:10.279Z] v0.1.0 [2022-08-08T15:14:10.279Z] v0.1.1 [2022-08-08T15:14:10.279Z] v1.0.0 [2022-08-08T15:14:10.279Z] v1.1.0 [2022-08-08T15:14:10.279Z] v1.2.0 [2022-08-08T15:14:10.279Z] v1.3.0 [2022-08-08T15:14:10.279Z] v1.3.1 [2022-08-08T15:14:10.279Z] v2.0.0 [2022-08-08T15:14:10.279Z] v2.0.1 [2022-08-08T15:14:10.279Z] v2.1.0 [2022-08-08T15:14:10.279Z] v2.1.1 [2022-08-08T15:14:10.279Z] v2.1.1-dev.3 [2022-08-08T15:14:10.279Z] v2.1.1-dev.4 [2022-08-08T15:14:10.279Z] v2.2.0 [2022-08-08T15:14:10.279Z] v2.2.1-dev.1 [2022-08-08T15:14:10.279Z] v2.2.1-dev.10 [2022-08-08T15:14:10.279Z] v2.2.1-dev.11 [2022-08-08T15:14:10.279Z] v2.2.1-dev.12 [2022-08-08T15:14:10.279Z] v2.2.1-dev.13 [2022-08-08T15:14:10.279Z] v2.2.1-dev.14 [2022-08-08T15:14:10.279Z] v2.2.1-dev.15 [2022-08-08T15:14:10.279Z] v2.2.1-dev.16 [2022-08-08T15:14:10.279Z] v2.2.1-dev.17 [2022-08-08T15:14:10.279Z] v2.2.1-dev.18 [2022-08-08T15:14:10.279Z] v2.2.1-dev.19 [2022-08-08T15:14:10.279Z] v2.2.1-dev.2 [2022-08-08T15:14:10.279Z] v2.2.1-dev.20 [2022-08-08T15:14:10.279Z] v2.2.1-dev.21 [2022-08-08T15:14:10.279Z] v2.2.1-dev.22 [2022-08-08T15:14:10.279Z] v2.2.1-dev.23 [2022-08-08T15:14:10.279Z] v2.2.1-dev.3 [2022-08-08T15:14:10.279Z] v2.2.1-dev.4 [2022-08-08T15:14:10.279Z] v2.2.1-dev.5 [2022-08-08T15:14:10.280Z] v2.2.1-dev.6 [2022-08-08T15:14:10.280Z] v2.2.1-dev.7 [2022-08-08T15:14:10.280Z] v2.2.1-dev.8 [2022-08-08T15:14:10.280Z] v2.2.1-dev.9 [2022-08-08T15:14:10.280Z] v2.3.0-dev.24 [2022-08-08T15:14:10.280Z] v2.3.0-dev.25 [2022-08-08T15:14:10.280Z] v2.3.0-dev.26 [2022-08-08T15:14:10.280Z] v2.3.0-dev.27 [2022-08-08T15:14:10.280Z] v2.3.0-dev.28 [2022-08-08T15:14:10.280Z] v2.3.0-dev.29 [Pipeline] sh [2022-08-08T15:14:10.602Z] + lftools sign git-tag v2.3.0-dev.29 [2022-08-08T15:14:11.172Z] Signing Git tag with Sigul... [2022-08-08T15:14:11.172Z] Signing v2.3.0-dev.29 [Pipeline] echo [2022-08-08T15:14:11.444Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-08T15:14:11.733Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-08-08T15:14:11.741Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-08-08T15:14:11.766Z] $ docker stop --time=1 abeafc632f0fe018e6c6110a65441e2881df458417fe51d610a68e7bc05390e9 [2022-08-08T15:14:13.067Z] $ docker rm -f abeafc632f0fe018e6c6110a65441e2881df458417fe51d610a68e7bc05390e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-08-08T15:14:13.479Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-08T15:14:13.479Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T15:14:13.789Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-08T15:14:13.789Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-08T15:14:13.872Z] prd-ubuntu20.04-docker-8c-8g-22147 does not seem to be running inside a container [2022-08-08T15:14:13.906Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-08T15:14:14.258Z] $ docker top 642c972775219e9685576a6f0e04a87fab70292b9682a8321a1b40767cc77250 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-08T15:14:14.345Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-08T15:14:14.345Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-08T15:14:14.469Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-08T15:14:14.474Z] $ docker exec 642c972775219e9685576a6f0e04a87fab70292b9682a8321a1b40767cc77250 ssh-agent [2022-08-08T15:14:14.580Z] SSH_AUTH_SOCK=/tmp/ssh-09SS6dSlKMMv/agent.34 [2022-08-08T15:14:14.580Z] SSH_AGENT_PID=41 [2022-08-08T15:14:14.585Z] Running ssh-add (command line suppressed) [2022-08-08T15:14:14.693Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7078267549287518849.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7078267549287518849.key) [2022-08-08T15:14:14.703Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-08T15:14:14.987Z] + git semver bump pre [2022-08-08T15:14:15.247Z] 2022-08-08 15:14:15,174 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-08-08T15:14:15.247Z] 2022-08-08 15:14:15,174 [bump_version] DEBUG bumping version:2.3.0-dev.29 on axis:pre with prefix:dev [2022-08-08T15:14:15.247Z] 2022-08-08 15:14:15,174 [bump_version] DEBUG bumped version:2.3.0-dev.30 [2022-08-08T15:14:15.247Z] 2022-08-08 15:14:15,174 [write_version] DEBUG write version:2.3.0-dev.30 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:True [2022-08-08T15:14:15.247Z] 2022-08-08 15:14:15,174 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-08-08T15:14:15.247Z] 2022-08-08 15:14:15,174 [write_file] DEBUG write to file:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-08-08T15:14:15.247Z] 2022-08-08 15:14:15,176 [execute] INFO git cat-file --batch-check [2022-08-08T15:14:15.247Z] 2022-08-08 15:14:15,177 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-08-08T15:14:15.247Z] 2022-08-08 15:14:15,180 [execute] INFO git cat-file --batch [2022-08-08T15:14:15.248Z] 2022-08-08 15:14:15,181 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-08-08T15:14:15.248Z] 2022-08-08 15:14:15,185 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-08-08T15:14:15.248Z] 2.3.0-dev.30 [Pipeline] } [2022-08-08T15:14:15.259Z] $ docker exec --env ******** --env ******** 642c972775219e9685576a6f0e04a87fab70292b9682a8321a1b40767cc77250 ssh-agent -k [2022-08-08T15:14:15.359Z] unset SSH_AUTH_SOCK; [2022-08-08T15:14:15.359Z] unset SSH_AGENT_PID; [2022-08-08T15:14:15.359Z] echo Agent pid 41 killed; [2022-08-08T15:14:15.369Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-08T15:14:15.677Z] + git semver [Pipeline] } [2022-08-08T15:14:15.952Z] $ docker stop --time=1 642c972775219e9685576a6f0e04a87fab70292b9682a8321a1b40767cc77250 [2022-08-08T15:14:17.235Z] $ docker rm -f 642c972775219e9685576a6f0e04a87fab70292b9682a8321a1b40767cc77250 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-08T15:14:17.594Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-08T15:14:17.594Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T15:14:17.892Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-08T15:14:17.892Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-08T15:14:17.976Z] prd-ubuntu20.04-docker-8c-8g-22147 does not seem to be running inside a container [2022-08-08T15:14:18.011Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-08T15:14:18.351Z] $ docker top b348a392f6bc7fb0bf4c1b2dd180b6cf8680cc2776a3a17087aecdc06704b655 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-08T15:14:18.443Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-08T15:14:18.443Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-08T15:14:18.576Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-08T15:14:18.581Z] $ docker exec b348a392f6bc7fb0bf4c1b2dd180b6cf8680cc2776a3a17087aecdc06704b655 ssh-agent [2022-08-08T15:14:18.689Z] SSH_AUTH_SOCK=/tmp/ssh-VDe2PdQvxBPC/agent.33 [2022-08-08T15:14:18.689Z] SSH_AGENT_PID=39 [2022-08-08T15:14:18.695Z] Running ssh-add (command line suppressed) [2022-08-08T15:14:18.803Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_2689776205958676570.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_2689776205958676570.key) [2022-08-08T15:14:18.815Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-08T15:14:19.105Z] + git semver push [2022-08-08T15:14:19.364Z] 2022-08-08 15:14:19,292 [run_push] DEBUG push [2022-08-08T15:14:19.364Z] 2022-08-08 15:14:19,292 [execute] INFO git cat-file --batch-check [2022-08-08T15:14:19.364Z] 2022-08-08 15:14:19,292 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-08-08T15:14:19.364Z] 2022-08-08 15:14:19,296 [execute] INFO git rev-list bdd4e7bb9acef7777a544828da2c559e18e5a462 -- [2022-08-08T15:14:19.364Z] 2022-08-08 15:14:19,296 [execute] DEBUG Popen(['git', 'rev-list', 'bdd4e7bb9acef7777a544828da2c559e18e5a462', '--'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-08-08T15:14:19.364Z] 2022-08-08 15:14:19,308 [execute] INFO git fetch -v origin [2022-08-08T15:14:19.364Z] 2022-08-08 15:14:19,308 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-08-08T15:14:19.935Z] 2022-08-08 15:14:19,808 [run_push] DEBUG no remote changes detected [2022-08-08T15:14:19.935Z] 2022-08-08 15:14:19,808 [execute] INFO git push origin semver [2022-08-08T15:14:19.935Z] 2022-08-08 15:14:19,809 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-08-08T15:14:20.876Z] 2022-08-08 15:14:20,566 [run_push] DEBUG push all version tags [2022-08-08T15:14:20.876Z] 2022-08-08 15:14:20,566 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-08-08T15:14:20.876Z] 2022-08-08 15:14:20,567 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2022-08-08T15:14:21.445Z] 2022-08-08 15:14:21,247 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-08-08T15:14:21.445Z] 2.3.0-dev.30 [Pipeline] } [2022-08-08T15:14:21.457Z] $ docker exec --env ******** --env ******** b348a392f6bc7fb0bf4c1b2dd180b6cf8680cc2776a3a17087aecdc06704b655 ssh-agent -k [2022-08-08T15:14:21.561Z] unset SSH_AUTH_SOCK; [2022-08-08T15:14:21.561Z] unset SSH_AGENT_PID; [2022-08-08T15:14:21.562Z] echo Agent pid 39 killed; [2022-08-08T15:14:21.570Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-08T15:14:21.869Z] + git semver [Pipeline] } [2022-08-08T15:14:22.145Z] $ docker stop --time=1 b348a392f6bc7fb0bf4c1b2dd180b6cf8680cc2776a3a17087aecdc06704b655 [2022-08-08T15:14:23.432Z] $ docker rm -f b348a392f6bc7fb0bf4c1b2dd180b6cf8680cc2776a3a17087aecdc06704b655 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-08-08T15:14:23.979Z] + [ -d /w/workspace/oundry_app-functions-sdk-go_main/archives ] [2022-08-08T15:14:23.979Z] + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives [2022-08-08T15:14:23.979Z] total 16 [2022-08-08T15:14:23.979Z] drwxr-xr-x 3 root root 4096 Aug 8 15:03 . [2022-08-08T15:14:23.979Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 8 15:14 .. [2022-08-08T15:14:23.979Z] drwxr-xr-x 2 root root 4096 Aug 8 15:03 cost [2022-08-08T15:14:23.979Z] -rw-r--r-- 1 root root 92 Aug 8 15:03 cost.csv [2022-08-08T15:14:23.979Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_app-functions-sdk-go_main/archives [2022-08-08T15:14:23.979Z] + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives [2022-08-08T15:14:23.979Z] total 16 [2022-08-08T15:14:23.979Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 8 15:03 . [2022-08-08T15:14:23.979Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 8 15:14 .. [2022-08-08T15:14:23.979Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 8 15:03 cost [2022-08-08T15:14:23.979Z] -rw-r--r-- 1 jenkins jenkins 92 Aug 8 15:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-08T15:14:24.273Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-08T15:14:25.137Z] ---> package-listing.sh [2022-08-08T15:14:25.137Z] ++ facter osfamily [2022-08-08T15:14:25.137Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-08T15:14:25.397Z] + OS_FAMILY=debian [2022-08-08T15:14:25.397Z] + workspace=/w/workspace/oundry_app-functions-sdk-go_main [2022-08-08T15:14:25.397Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-08T15:14:25.397Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-08T15:14:25.397Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-08T15:14:25.397Z] + PACKAGES=/tmp/packages_start.txt [2022-08-08T15:14:25.397Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2022-08-08T15:14:25.397Z] + PACKAGES=/tmp/packages_end.txt [2022-08-08T15:14:25.397Z] + case "${OS_FAMILY}" in [2022-08-08T15:14:25.397Z] + dpkg -l [2022-08-08T15:14:25.397Z] + grep '^ii' [2022-08-08T15:14:25.397Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-08T15:14:25.398Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-08T15:14:25.398Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-08T15:14:25.398Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2022-08-08T15:14:25.398Z] + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ [2022-08-08T15:14:25.398Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_app-functions-sdk-go_main/archives/ [Pipeline] echo [2022-08-08T15:14:25.409Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_app-functions-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-08T15:14:25.689Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T15:14:26.252Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-08T15:14:26.252Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-08T15:14:26.333Z] prd-ubuntu20.04-docker-8c-8g-22147 does not seem to be running inside a container [2022-08-08T15:14:26.364Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-08T15:14:26.589Z] $ docker top fa135be18e005cad88e90564188008ab63218b8674bec874a59dd3d864cfeb4d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-08T15:14:26.940Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-08T15:14:27.228Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-08T15:14:27.516Z] + ls /var/log/sa-host [2022-08-08T15:14:27.516Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-08T15:14:27.591Z] provisioning config files... [2022-08-08T15:14:27.637Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config1959778342295426880tmp [Pipeline] { [Pipeline] echo [2022-08-08T15:14:27.654Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-08T15:14:28.048Z] ---> create-netrc.sh [Pipeline] } [2022-08-08T15:14:28.065Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-08T15:14:28.391Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-08T15:14:28.400Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-08T15:14:28.687Z] ---> sudo-logs.sh [2022-08-08T15:14:28.687Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-08T15:14:28.715Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-08T15:14:29.000Z] ---> job-cost.sh [2022-08-08T15:14:29.000Z] lf-activate-venv: SKIPPING [2022-08-08T15:14:29.000Z] DEBUG: total: 0.2199999988079071 [2022-08-08T15:14:29.000Z] INFO: Retrieving Stack Cost... [2022-08-08T15:14:29.261Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-08T15:14:29.832Z] INFO: Archiving Costs [Pipeline] echo [2022-08-08T15:14:29.844Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-08T15:14:30.131Z] ---> logs-deploy.sh [2022-08-08T15:14:30.131Z] lf-activate-venv: SKIPPING [2022-08-08T15:14:30.131Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/150 [2022-08-08T15:14:30.132Z] INFO: archiving workspace using pattern(s): [2022-08-08T15:14:31.073Z] Archives upload complete. [2022-08-08T15:14:31.073Z] INFO: archiving logs to Nexus