Pull request #1130 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 76d143921698dbf5526f099a11886b680de2f71a+3614395ab5d1e3b783d42cc9b1ae027613231f7a (2c81e5063ba82827b03ce91c4d47708b5467b209) 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-ssh5444235215887179686.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh14205316678179223211.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1130/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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/PR-1130/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10550064042842039044.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/PR-1130/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15709054070327233121.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh4065026735475715146.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1130/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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/PR-1130/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4508091868528398337.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-15309 in /w/workspace/dry_app-functions-sdk-go_PR-1130 [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/dry_app-functions-sdk-go_PR-1130 # 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 Merging remotes/origin/main commit 3614395ab5d1e3b783d42cc9b1ae027613231f7a into PR head commit 76d143921698dbf5526f099a11886b680de2f71a > 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 remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 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/pull/1130/head:refs/remotes/origin/PR-1130 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 76d143921698dbf5526f099a11886b680de2f71a # timeout=10 Merge succeeded, producing 76d143921698dbf5526f099a11886b680de2f71a Checking out Revision 76d143921698dbf5526f099a11886b680de2f71a (PR-1130) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 3614395ab5d1e3b783d42cc9b1ae027613231f7a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 76d143921698dbf5526f099a11886b680de2f71a # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-22T04:07:40.117Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-22T04:07:40.284Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-22T04:07:40.387Z] ========================================================= [2022-06-22T04:07:40.387Z] EdgeX Global Pipelines Version Info [2022-06-22T04:07:40.387Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-22T04:07:41.196Z] ------------------- [2022-06-22T04:07:41.196Z] stable info: [2022-06-22T04:07:41.196Z] ------------------- [2022-06-22T04:07:41.196Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-22T04:07:41.196Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-22T04:07:41.196Z] Message: update stable to v1.0.234 [2022-06-22T04:07:41.770Z] ------------------- [2022-06-22T04:07:41.770Z] experimental info: [2022-06-22T04:07:41.770Z] ------------------- [2022-06-22T04:07:41.770Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-22T04:07:41.770Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-22T04:07:41.770Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-22T04:07:42.143Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2022-06-22T04:07:42.182Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2022-06-22T04:07:42.224Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-22T04:07:42.260Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-22T04:07:42.297Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-22T04:07:42.333Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-22T04:07:42.374Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-22T04:07:42.415Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-22T04:07:42.455Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-22T04:07:42.489Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-22T04:07:42.528Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-22T04:07:42.568Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2022-06-22T04:07:42.606Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-22T04:07:42.646Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-22T04:07:42.803Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2022-06-22T04:07:42.840Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-06-22T04:07:42.878Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-22T04:07:42.918Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-22T04:07:42.952Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-22T04:07:42.990Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-22T04:07:43.027Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-06-22T04:07:43.063Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-06-22T04:07:43.097Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-22T04:07:43.138Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-22T04:07:43.171Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2022-06-22T04:07:43.209Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-22T04:07:43.244Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-22T04:07:43.280Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1130 [Pipeline] echo [2022-06-22T04:07:43.316Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1130 [Pipeline] echo [2022-06-22T04:07:43.351Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1130 [Pipeline] echo [2022-06-22T04:07:43.386Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 76d143921698dbf5526f099a11886b680de2f71a [Pipeline] echo [2022-06-22T04:07:43.421Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 76d1439 [Pipeline] echo [2022-06-22T04:07:43.458Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-22T04:07:43.949Z] + git rev-list -1 --merges 76d143921698dbf5526f099a11886b680de2f71a~1..76d143921698dbf5526f099a11886b680de2f71a [Pipeline] echo [2022-06-22T04:07:44.000Z] -----------> git rev-list -1 --merges 76d143921698dbf5526f099a11886b680de2f71a~1..76d143921698dbf5526f099a11886b680de2f71a 76d143921698dbf5526f099a11886b680de2f71a [false] [Pipeline] sh [2022-06-22T04:07:44.313Z] + git log --format=format:%s -1 76d143921698dbf5526f099a11886b680de2f71a [Pipeline] echo [2022-06-22T04:07:44.349Z] ========================================================= [2022-06-22T04:07:44.349Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-22T04:07:44.349Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-22T04:07:44.766Z] + git log --format=format:%s -1 76d143921698dbf5526f099a11886b680de2f71a [Pipeline] echo [2022-06-22T04:07:44.801Z] [semverPrep] GIT_COMMIT: 76d143921698dbf5526f099a11886b680de2f71a, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo [2022-06-22T04:07:44.830Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-22T04:07:45.200Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-22T04:07:45.201Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-22T04:07:45.201Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-22T04:07:45.201Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-22T04:07:45.201Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-22T04:07:45.201Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-22T04:07:45.201Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T04:07:45.614Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-22T04:07:45.876Z] [2022-06-22T04:07:45.876Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T04:07:46.251Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-22T04:07:46.251Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-22T04:07:46.251Z] 42c077c10790: Pulling fs layer [2022-06-22T04:07:46.251Z] f63e77b7563a: Pulling fs layer [2022-06-22T04:07:46.251Z] bd5fdadae976: Pulling fs layer [2022-06-22T04:07:46.251Z] 205491f53016: Pulling fs layer [2022-06-22T04:07:46.251Z] df18705c85c3: Pulling fs layer [2022-06-22T04:07:46.251Z] bdb3f477010e: Pulling fs layer [2022-06-22T04:07:46.251Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-22T04:07:46.251Z] 2c6e9b1d212d: Pulling fs layer [2022-06-22T04:07:46.251Z] bdb8f0575790: Pulling fs layer [2022-06-22T04:07:46.251Z] 386e3cb2ff24: Pulling fs layer [2022-06-22T04:07:46.251Z] 2343380bae48: Pulling fs layer [2022-06-22T04:07:46.251Z] bdb3f477010e: Waiting [2022-06-22T04:07:46.251Z] c8a8fc8e1c8f: Waiting [2022-06-22T04:07:46.251Z] 2c6e9b1d212d: Waiting [2022-06-22T04:07:46.251Z] bdb8f0575790: Waiting [2022-06-22T04:07:46.251Z] 386e3cb2ff24: Waiting [2022-06-22T04:07:46.251Z] 2343380bae48: Waiting [2022-06-22T04:07:46.251Z] 205491f53016: Waiting [2022-06-22T04:07:46.251Z] f63e77b7563a: Download complete [2022-06-22T04:07:46.251Z] 205491f53016: Verifying Checksum [2022-06-22T04:07:46.251Z] 205491f53016: Download complete [2022-06-22T04:07:46.512Z] df18705c85c3: Verifying Checksum [2022-06-22T04:07:46.512Z] df18705c85c3: Download complete [2022-06-22T04:07:46.512Z] bd5fdadae976: Verifying Checksum [2022-06-22T04:07:46.512Z] bd5fdadae976: Download complete [2022-06-22T04:07:46.512Z] bdb3f477010e: Verifying Checksum [2022-06-22T04:07:46.512Z] bdb3f477010e: Download complete [2022-06-22T04:07:46.512Z] 2c6e9b1d212d: Verifying Checksum [2022-06-22T04:07:46.512Z] 2c6e9b1d212d: Download complete [2022-06-22T04:07:46.512Z] bdb8f0575790: Download complete [2022-06-22T04:07:46.512Z] 386e3cb2ff24: Verifying Checksum [2022-06-22T04:07:46.512Z] 386e3cb2ff24: Download complete [2022-06-22T04:07:46.512Z] 2343380bae48: Verifying Checksum [2022-06-22T04:07:46.512Z] 2343380bae48: Download complete [2022-06-22T04:07:46.512Z] 42c077c10790: Download complete [2022-06-22T04:07:46.772Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-22T04:07:46.772Z] c8a8fc8e1c8f: Download complete [2022-06-22T04:07:47.713Z] 42c077c10790: Pull complete [2022-06-22T04:07:47.972Z] f63e77b7563a: Pull complete [2022-06-22T04:07:48.232Z] bd5fdadae976: Pull complete [2022-06-22T04:07:48.499Z] 205491f53016: Pull complete [2022-06-22T04:07:48.761Z] df18705c85c3: Pull complete [2022-06-22T04:07:48.761Z] bdb3f477010e: Pull complete [2022-06-22T04:07:50.674Z] c8a8fc8e1c8f: Pull complete [2022-06-22T04:07:50.674Z] 2c6e9b1d212d: Pull complete [2022-06-22T04:07:50.674Z] bdb8f0575790: Pull complete [2022-06-22T04:07:50.935Z] 386e3cb2ff24: Pull complete [2022-06-22T04:07:50.935Z] 2343380bae48: Pull complete [2022-06-22T04:07:50.935Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-22T04:07:50.935Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-22T04:07:50.935Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-22T04:07:51.164Z] prd-ubuntu20.04-docker-8c-8g-15309 does not seem to be running inside a container [2022-06-22T04:07:51.205Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-functions-sdk-go_PR-1130 -v /w/workspace/dry_app-functions-sdk-go_PR-1130:/w/workspace/dry_app-functions-sdk-go_PR-1130:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1130@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1130@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-06-22T04:07:52.946Z] $ docker top b212b4773d1e8d92e413d38854b25f834895005e681c0e1199f254972fe6c84f -eo pid,comm [2022-06-22T04:07:53.015Z] 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-06-22T04:07:53.015Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-22T04:07:53.154Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-22T04:07:53.154Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-22T04:07:53.267Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-22T04:07:53.273Z] $ docker exec b212b4773d1e8d92e413d38854b25f834895005e681c0e1199f254972fe6c84f ssh-agent [2022-06-22T04:07:53.398Z] SSH_AUTH_SOCK=/tmp/ssh-Zpxaal4Xc9DE/agent.33 [2022-06-22T04:07:53.398Z] SSH_AGENT_PID=39 [2022-06-22T04:07:53.406Z] Running ssh-add (command line suppressed) [2022-06-22T04:07:53.532Z] Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1130@tmp/private_key_2641281962651226814.key (/w/workspace/dry_app-functions-sdk-go_PR-1130@tmp/private_key_2641281962651226814.key) [2022-06-22T04:07:53.548Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-22T04:07:53.882Z] + git tag --points-at HEAD [Pipeline] } [2022-06-22T04:07:53.909Z] $ docker exec --env ******** --env ******** b212b4773d1e8d92e413d38854b25f834895005e681c0e1199f254972fe6c84f ssh-agent -k [2022-06-22T04:07:54.019Z] unset SSH_AUTH_SOCK; [2022-06-22T04:07:54.020Z] unset SSH_AGENT_PID; [2022-06-22T04:07:54.020Z] echo Agent pid 39 killed; [2022-06-22T04:07:54.034Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-22T04:07:54.118Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-22T04:07:54.119Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-22T04:07:54.238Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-22T04:07:54.243Z] $ docker exec b212b4773d1e8d92e413d38854b25f834895005e681c0e1199f254972fe6c84f ssh-agent [2022-06-22T04:07:54.356Z] SSH_AUTH_SOCK=/tmp/ssh-cBcJUNnjvwxu/agent.73 [2022-06-22T04:07:54.356Z] SSH_AGENT_PID=80 [2022-06-22T04:07:54.361Z] Running ssh-add (command line suppressed) [2022-06-22T04:07:54.465Z] Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1130@tmp/private_key_4986990394026799404.key (/w/workspace/dry_app-functions-sdk-go_PR-1130@tmp/private_key_4986990394026799404.key) [2022-06-22T04:07:54.477Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-22T04:07:54.804Z] + git semver init [2022-06-22T04:07:55.065Z] 2022-06-22 04:07:55,003 [run_init] DEBUG init version:0.0.0 force:False [2022-06-22T04:07:55.065Z] 2022-06-22 04:07:55,004 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-functions-sdk-go_PR-1130/.semver [2022-06-22T04:07:55.065Z] 2022-06-22 04:07:55,004 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-functions-sdk-go.git /w/workspace/dry_app-functions-sdk-go_PR-1130/.semver [2022-06-22T04:07:55.065Z] 2022-06-22 04:07:55,005 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-functions-sdk-go.git', '/w/workspace/dry_app-functions-sdk-go_PR-1130/.semver'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1130, universal_newlines=False, shell=None, istream=None) [2022-06-22T04:07:56.451Z] 2022-06-22 04:07:56,303 [append_file] DEBUG append to file:/w/workspace/dry_app-functions-sdk-go_PR-1130/.git/info/exclude [2022-06-22T04:07:56.451Z] 2022-06-22 04:07:56,304 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_app-functions-sdk-go_PR-1130/.semver/PR-1130 with force:False [2022-06-22T04:07:56.451Z] 2022-06-22 04:07:56,304 [write_file] DEBUG write to file:/w/workspace/dry_app-functions-sdk-go_PR-1130/.semver/PR-1130 [2022-06-22T04:07:56.451Z] 2022-06-22 04:07:56,308 [execute] INFO git cat-file --batch-check [2022-06-22T04:07:56.451Z] 2022-06-22 04:07:56,309 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1130/.semver, universal_newlines=False, shell=None, istream=) [2022-06-22T04:07:56.451Z] 2022-06-22 04:07:56,315 [execute] INFO git cat-file --batch [2022-06-22T04:07:56.451Z] 2022-06-22 04:07:56,315 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1130/.semver, universal_newlines=False, shell=None, istream=) [2022-06-22T04:07:56.451Z] 2022-06-22 04:07:56,320 [read_version] DEBUG read version from /w/workspace/dry_app-functions-sdk-go_PR-1130/.semver/PR-1130 [2022-06-22T04:07:56.451Z] 0.0.0 [Pipeline] } [2022-06-22T04:07:56.477Z] $ docker exec --env ******** --env ******** b212b4773d1e8d92e413d38854b25f834895005e681c0e1199f254972fe6c84f ssh-agent -k [2022-06-22T04:07:56.611Z] unset SSH_AUTH_SOCK; [2022-06-22T04:07:56.612Z] unset SSH_AGENT_PID; [2022-06-22T04:07:56.612Z] echo Agent pid 80 killed; [2022-06-22T04:07:56.624Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-22T04:07:57.064Z] + git semver [Pipeline] } [2022-06-22T04:07:57.355Z] $ docker stop --time=1 b212b4773d1e8d92e413d38854b25f834895005e681c0e1199f254972fe6c84f [2022-06-22T04:07:58.723Z] $ docker rm -f b212b4773d1e8d92e413d38854b25f834895005e681c0e1199f254972fe6c84f [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-22T04:07:59.143Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-22T04:07:59.444Z] Stashed 1 file(s) [Pipeline] echo [2022-06-22T04:07:59.465Z] [edgeXSemver]: initialized semver on version 0.0.0 [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-06-22T04:08:00.034Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-22T04:08:00.068Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-22T04:08:00.096Z] ========================================================= [2022-06-22T04:08:00.096Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-22T04:08:00.096Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-06-22T04:08:00.488Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-22T04:08:00.488Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-22T04:08:00.488Z] 59bf1c3509f3: Pulling fs layer [2022-06-22T04:08:00.488Z] 666ba61612fd: Pulling fs layer [2022-06-22T04:08:00.488Z] 8ed8ca486205: Pulling fs layer [2022-06-22T04:08:00.488Z] cc1cd167ecdc: Pulling fs layer [2022-06-22T04:08:00.488Z] c516ae0d96e1: Pulling fs layer [2022-06-22T04:08:00.488Z] 684cea983483: Pulling fs layer [2022-06-22T04:08:00.488Z] dd3240ac7de5: Pulling fs layer [2022-06-22T04:08:00.488Z] b1e948a4e11c: Pulling fs layer [2022-06-22T04:08:00.488Z] a8fd76ee1af6: Pulling fs layer [2022-06-22T04:08:00.488Z] 646ad004c059: Pulling fs layer [2022-06-22T04:08:00.488Z] cc1cd167ecdc: Waiting [2022-06-22T04:08:00.488Z] b1e948a4e11c: Waiting [2022-06-22T04:08:00.488Z] a8fd76ee1af6: Waiting [2022-06-22T04:08:00.488Z] c516ae0d96e1: Waiting [2022-06-22T04:08:00.488Z] 646ad004c059: Waiting [2022-06-22T04:08:00.488Z] dd3240ac7de5: Waiting [2022-06-22T04:08:00.488Z] 8ed8ca486205: Verifying Checksum [2022-06-22T04:08:00.488Z] 8ed8ca486205: Download complete [2022-06-22T04:08:00.488Z] 666ba61612fd: Verifying Checksum [2022-06-22T04:08:00.488Z] 666ba61612fd: Download complete [2022-06-22T04:08:00.488Z] c516ae0d96e1: Verifying Checksum [2022-06-22T04:08:00.488Z] c516ae0d96e1: Download complete [2022-06-22T04:08:00.488Z] 684cea983483: Verifying Checksum [2022-06-22T04:08:00.488Z] 684cea983483: Download complete [2022-06-22T04:08:00.488Z] dd3240ac7de5: Verifying Checksum [2022-06-22T04:08:00.488Z] dd3240ac7de5: Download complete [2022-06-22T04:08:00.488Z] 59bf1c3509f3: Verifying Checksum [2022-06-22T04:08:00.488Z] 59bf1c3509f3: Download complete [2022-06-22T04:08:00.757Z] b1e948a4e11c: Verifying Checksum [2022-06-22T04:08:00.757Z] b1e948a4e11c: Download complete [2022-06-22T04:08:00.757Z] 59bf1c3509f3: Pull complete [2022-06-22T04:08:00.757Z] 666ba61612fd: Pull complete [2022-06-22T04:08:01.019Z] 8ed8ca486205: Pull complete [2022-06-22T04:08:01.019Z] 646ad004c059: Verifying Checksum [2022-06-22T04:08:01.019Z] 646ad004c059: Download complete [2022-06-22T04:08:01.285Z] cc1cd167ecdc: Verifying Checksum [2022-06-22T04:08:01.285Z] cc1cd167ecdc: Download complete [2022-06-22T04:08:01.285Z] a8fd76ee1af6: Verifying Checksum [2022-06-22T04:08:01.285Z] a8fd76ee1af6: Download complete [2022-06-22T04:08:05.483Z] cc1cd167ecdc: Pull complete [2022-06-22T04:08:05.483Z] c516ae0d96e1: Pull complete [2022-06-22T04:08:05.483Z] 684cea983483: Pull complete [2022-06-22T04:08:05.483Z] dd3240ac7de5: Pull complete [2022-06-22T04:08:05.483Z] b1e948a4e11c: Pull complete [2022-06-22T04:08:07.393Z] a8fd76ee1af6: Pull complete [2022-06-22T04:08:07.653Z] 646ad004c059: Pull complete [2022-06-22T04:08:07.914Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-22T04:08:07.914Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-22T04:08:07.914Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh [2022-06-22T04:08:08.231Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T04:08:08.599Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-22T04:08:08.599Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-22T04:08:08.753Z] prd-ubuntu20.04-docker-8c-8g-15309 does not seem to be running inside a container [2022-06-22T04:08:08.792Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-functions-sdk-go_PR-1130 -v /w/workspace/dry_app-functions-sdk-go_PR-1130:/w/workspace/dry_app-functions-sdk-go_PR-1130:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1130@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1130@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 ******** -e ******** ci-base-image-x86_64 cat [2022-06-22T04:08:10.991Z] $ docker top 378c180624ffe0c78e6781cc59619af6d6ee427584d8de670323689438e9554a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-22T04:08:11.407Z] + go version [2022-06-22T04:08:11.407Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-22T04:08:11.438Z] $ docker stop --time=1 378c180624ffe0c78e6781cc59619af6d6ee427584d8de670323689438e9554a [2022-06-22T04:08:12.843Z] $ docker rm -f 378c180624ffe0c78e6781cc59619af6d6ee427584d8de670323689438e9554a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T04:08:13.539Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-22T04:08:13.539Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-22T04:08:13.691Z] prd-ubuntu20.04-docker-8c-8g-15309 does not seem to be running inside a container [2022-06-22T04:08:13.728Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-functions-sdk-go_PR-1130 -v /w/workspace/dry_app-functions-sdk-go_PR-1130:/w/workspace/dry_app-functions-sdk-go_PR-1130:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1130@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1130@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 ******** -e ******** ci-base-image-x86_64 cat [2022-06-22T04:08:14.114Z] $ docker top e2456db1dcfb34fe20a1f6bfe1db8144c28d9df949c8e6315dd45ed1226935ba -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-22T04:08:14.563Z] + make test [2022-06-22T04:08:14.563Z] make -C ./app-service-template build [2022-06-22T04:08:14.563Z] make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1130/app-service-template' [2022-06-22T04:08:14.563Z] go mod tidy -compat=1.17 [2022-06-22T04:08:14.563Z] go: downloading github.com/stretchr/testify v1.7.2 [2022-06-22T04:08:14.563Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 [2022-06-22T04:08:14.563Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 [2022-06-22T04:08:14.563Z] go: downloading github.com/google/uuid v1.3.0 [2022-06-22T04:08:14.563Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.1-dev.4 [2022-06-22T04:08:14.563Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 [2022-06-22T04:08:14.563Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a [2022-06-22T04:08:14.563Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.2 [2022-06-22T04:08:14.563Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 [2022-06-22T04:08:14.563Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-06-22T04:08:14.563Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-06-22T04:08:14.823Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 [2022-06-22T04:08:14.823Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 [2022-06-22T04:08:14.824Z] go: downloading github.com/go-kit/log v0.2.0 [2022-06-22T04:08:14.824Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2022-06-22T04:08:14.824Z] go: downloading github.com/go-playground/validator/v10 v10.10.1 [2022-06-22T04:08:14.824Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-06-22T04:08:14.824Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2022-06-22T04:08:14.824Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-06-22T04:08:14.824Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-06-22T04:08:14.824Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-06-22T04:08:14.824Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2022-06-22T04:08:14.824Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-06-22T04:08:14.824Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 [2022-06-22T04:08:14.824Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-06-22T04:08:14.824Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-06-22T04:08:14.824Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-06-22T04:08:14.824Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-06-22T04:08:14.824Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-06-22T04:08:14.824Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-06-22T04:08:14.824Z] go: downloading github.com/x448/float16 v0.8.4 [2022-06-22T04:08:14.824Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-06-22T04:08:14.824Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-06-22T04:08:14.824Z] go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 [2022-06-22T04:08:14.824Z] go: downloading golang.org/x/text v0.3.7 [2022-06-22T04:08:14.824Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-06-22T04:08:14.868Z] Still waiting to schedule task [2022-06-22T04:08:14.868Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-15310’ is offline [2022-06-22T04:08:15.084Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-06-22T04:08:15.084Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-06-22T04:08:15.084Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-06-22T04:08:15.084Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-06-22T04:08:15.084Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-06-22T04:08:15.084Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-06-22T04:08:15.084Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-06-22T04:08:15.345Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-06-22T04:08:15.345Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-06-22T04:08:15.345Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-06-22T04:08:15.345Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-06-22T04:08:15.345Z] go: downloading google.golang.org/grpc v1.42.0 [2022-06-22T04:08:15.345Z] go: downloading github.com/zeebo/errs v1.2.2 [2022-06-22T04:08:15.605Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-06-22T04:08:15.605Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-06-22T04:08:15.605Z] go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 [2022-06-22T04:08:15.605Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-06-22T04:08:15.605Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-06-22T04:08:15.605Z] go: downloading github.com/fatih/color v1.9.0 [2022-06-22T04:08:15.605Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-06-22T04:08:15.605Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-06-22T04:08:15.605Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-06-22T04:08:15.605Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-06-22T04:08:15.605Z] go: downloading github.com/pkg/errors v0.9.1 [2022-06-22T04:08:15.605Z] go: downloading gopkg.in/square/go-jose.v2 v2.4.1 [2022-06-22T04:08:15.605Z] go: downloading github.com/kr/pretty v0.3.0 [2022-06-22T04:08:15.605Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-06-22T04:08:15.605Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-06-22T04:08:15.605Z] go: downloading google.golang.org/protobuf v1.27.1 [2022-06-22T04:08:15.605Z] go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa [2022-06-22T04:08:15.864Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-06-22T04:08:15.864Z] go: downloading github.com/google/go-cmp v0.5.6 [2022-06-22T04:08:15.864Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-06-22T04:08:15.864Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-06-22T04:08:15.864Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-06-22T04:08:15.864Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-06-22T04:08:15.864Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-06-22T04:08:15.864Z] go: downloading github.com/kr/text v0.2.0 [2022-06-22T04:08:15.864Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-06-22T04:08:15.864Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-06-22T04:08:15.864Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-06-22T04:08:15.864Z] go: downloading github.com/miekg/dns v1.1.26 [2022-06-22T04:08:15.864Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-06-22T04:08:15.864Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-06-22T04:08:15.864Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 [2022-06-22T04:08:16.125Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-06-22T04:08:16.125Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2022-06-22T04:08:16.125Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-06-22T04:08:16.125Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2022-06-22T04:08:17.507Z] go: downloading github.com/stretchr/testify v1.7.4 [2022-06-22T04:08:17.507Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.1-dev.5 [2022-06-22T04:08:17.507Z] go: downloading github.com/stretchr/objx v0.4.0 [2022-06-22T04:08:17.507Z] 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-06-22T04:08:35.621Z] make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1130/app-service-template' [2022-06-22T04:08:35.621Z] make -C ./app-service-template test [2022-06-22T04:08:35.621Z] make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1130/app-service-template' [2022-06-22T04:08:35.621Z] CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... [2022-06-22T04:08:50.574Z] ok new-app-service 0.067s coverage: 48.1% of statements [2022-06-22T04:08:50.574Z] ? new-app-service/config [no test files] [2022-06-22T04:08:50.574Z] ok new-app-service/functions 0.049s [2022-06-22T04:08:50.574Z] CGO_ENABLED=1 go vet ./... [2022-06-22T04:09:00.564Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-22T04:09:00.564Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-22T04:09:00.564Z] ./bin/test-attribution-txt.sh [2022-06-22T04:09:00.564Z] make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1130/app-service-template' [2022-06-22T04:09:00.564Z] CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-06-22T04:09:00.564Z] go: downloading github.com/gomodule/redigo v1.8.8 [2022-06-22T04:09:00.564Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2022-06-22T04:09:03.859Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.106s coverage: 63.2% of statements [2022-06-22T04:09:03.859Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.095s coverage: 93.8% of statements [2022-06-22T04:09:03.859Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2022-06-22T04:09:03.859Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.078s coverage: 76.5% of statements [2022-06-22T04:09:03.859Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2022-06-22T04:09:03.859Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.098s coverage: 88.7% of statements [2022-06-22T04:09:03.859Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.049s coverage: 100.0% of statements [2022-06-22T04:09:03.859Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.174s coverage: 78.5% of statements [2022-06-22T04:09:03.859Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2022-06-22T04:09:03.859Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2022-06-22T04:09:03.859Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.072s coverage: 97.3% of statements [2022-06-22T04:09:03.859Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2022-06-22T04:09:03.859Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] [2022-06-22T04:09:03.859Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.055s coverage: 82.8% of statements [2022-06-22T04:09:03.859Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] [2022-06-22T04:09:03.859Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.718s coverage: 81.5% of statements [2022-06-22T04:09:03.859Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] [2022-06-22T04:09:03.859Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] [2022-06-22T04:09:03.859Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.091s coverage: 28.7% of statements [2022-06-22T04:09:03.859Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] [2022-06-22T04:09:03.859Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.067s coverage: 14.0% of statements [2022-06-22T04:09:03.859Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.041s coverage: 27.3% of statements [2022-06-22T04:09:03.859Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2022-06-22T04:09:03.859Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-06-22T04:09:03.859Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.059s coverage: 51.4% of statements [2022-06-22T04:09:30.450Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.153s coverage: 78.6% of statements [2022-06-22T04:09:30.450Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.061s coverage: 94.4% of statements [2022-06-22T04:09:30.450Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-22T04:09:30.450Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-22T04:09:30.450Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-06-22T04:09:38.620Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-22T04:09:38.653Z] $ docker stop --time=1 e2456db1dcfb34fe20a1f6bfe1db8144c28d9df949c8e6315dd45ed1226935ba [2022-06-22T04:09:40.204Z] $ docker rm -f e2456db1dcfb34fe20a1f6bfe1db8144c28d9df949c8e6315dd45ed1226935ba [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-22T04:09:40.986Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-22T04:09:41.063Z] 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-06-22T04:09:41.964Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-22T04:09:41.964Z] [2022-06-22T04:09:41.964Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T04:09:42.342Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-22T04:09:42.342Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-22T04:09:42.342Z] 5eb5b503b376: Pulling fs layer [2022-06-22T04:09:42.342Z] 5c69ac0246d0: Pulling fs layer [2022-06-22T04:09:42.342Z] ec43610c2a17: Pulling fs layer [2022-06-22T04:09:42.342Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-22T04:09:42.342Z] 33b1e0a273af: Pulling fs layer [2022-06-22T04:09:42.342Z] 5d3b04190fa2: Pulling fs layer [2022-06-22T04:09:42.342Z] 2f39f015ded8: Pulling fs layer [2022-06-22T04:09:42.342Z] 3a2ae6a8a46f: Waiting [2022-06-22T04:09:42.342Z] 2f39f015ded8: Waiting [2022-06-22T04:09:42.342Z] 33b1e0a273af: Waiting [2022-06-22T04:09:42.342Z] 5d3b04190fa2: Waiting [2022-06-22T04:09:42.342Z] 5c69ac0246d0: Download complete [2022-06-22T04:09:42.342Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-22T04:09:42.342Z] 3a2ae6a8a46f: Download complete [2022-06-22T04:09:42.608Z] 33b1e0a273af: Verifying Checksum [2022-06-22T04:09:42.608Z] 33b1e0a273af: Download complete [2022-06-22T04:09:42.608Z] 5d3b04190fa2: Verifying Checksum [2022-06-22T04:09:42.608Z] 5d3b04190fa2: Download complete [2022-06-22T04:09:42.608Z] ec43610c2a17: Verifying Checksum [2022-06-22T04:09:42.608Z] ec43610c2a17: Download complete [2022-06-22T04:09:42.608Z] 5eb5b503b376: Verifying Checksum [2022-06-22T04:09:42.608Z] 5eb5b503b376: Download complete [2022-06-22T04:09:43.547Z] 2f39f015ded8: Download complete [2022-06-22T04:09:43.807Z] 5eb5b503b376: Pull complete [2022-06-22T04:09:44.068Z] 5c69ac0246d0: Pull complete [2022-06-22T04:09:44.638Z] ec43610c2a17: Pull complete [2022-06-22T04:09:44.638Z] 3a2ae6a8a46f: Pull complete [2022-06-22T04:09:44.638Z] 33b1e0a273af: Pull complete [2022-06-22T04:09:44.897Z] 5d3b04190fa2: Pull complete [2022-06-22T04:09:49.088Z] 2f39f015ded8: Pull complete [2022-06-22T04:09:49.088Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-22T04:09:49.088Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-22T04:09:49.088Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-22T04:09:49.305Z] prd-ubuntu20.04-docker-8c-8g-15309 does not seem to be running inside a container [2022-06-22T04:09:49.345Z] $ 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/dry_app-functions-sdk-go_PR-1130 -v /w/workspace/dry_app-functions-sdk-go_PR-1130:/w/workspace/dry_app-functions-sdk-go_PR-1130:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1130@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1130@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-22T04:09:51.198Z] $ docker top 5bc6aee84ec5a2cdcb47ff6ebd161864296dcae625b58d1f755dfc1680e9531f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-22T04:09:51.637Z] ---> job-cost.sh [2022-06-22T04:09:51.637Z] lf-activate-venv: SKIPPING [2022-06-22T04:09:51.637Z] INFO: No Stack... [2022-06-22T04:09:51.896Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-22T04:09:52.468Z] INFO: Archiving Costs [Pipeline] sh [2022-06-22T04:09:52.784Z] + cat /w/workspace/dry_app-functions-sdk-go_PR-1130/archives/cost.csv [2022-06-22T04:09:52.784Z] + cut -d, -f6 [Pipeline] lock [2022-06-22T04:09:52.822Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1130-1-stack-cost] [2022-06-22T04:09:52.826Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1130-1-stack-cost] did not exist. Created. [2022-06-22T04:09:52.826Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1130-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-22T04:09:53.217Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-22T04:09:53.266Z] Stashed 1 file(s) [Pipeline] } [2022-06-22T04:09:53.289Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1130-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-22T04:09:53.378Z] $ docker stop --time=1 5bc6aee84ec5a2cdcb47ff6ebd161864296dcae625b58d1f755dfc1680e9531f [2022-06-22T04:09:54.547Z] $ docker rm -f 5bc6aee84ec5a2cdcb47ff6ebd161864296dcae625b58d1f755dfc1680e9531f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-22T04:10:46.220Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15311 in /w/workspace/dry_app-functions-sdk-go_PR-1130 [Pipeline] { [Pipeline] ws [2022-06-22T04:10:46.261Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-06-22T04:10:46.337Z] The recommended git tool is: git [2022-06-22T04:10:52.508Z] using credential edgex-jenkins-ssh [2022-06-22T04:10:52.526Z] Cloning the remote Git repository [2022-06-22T04:10:52.675Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2022-06-22T04:10:52.785Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2022-06-22T04:10:52.905Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2022-06-22T04:10:52.906Z] > git --version # timeout=10 [2022-06-22T04:10:52.923Z] > git --version # 'git version 2.25.1' [2022-06-22T04:10:52.926Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-22T04:10:53.010Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-22T04:10:56.829Z] Merging remotes/origin/main commit 3614395ab5d1e3b783d42cc9b1ae027613231f7a into PR head commit 76d143921698dbf5526f099a11886b680de2f71a [2022-06-22T04:10:57.085Z] Merge succeeded, producing 76d143921698dbf5526f099a11886b680de2f71a [2022-06-22T04:10:57.085Z] Checking out Revision 76d143921698dbf5526f099a11886b680de2f71a (PR-1130) [2022-06-22T04:10:56.259Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2022-06-22T04:10:56.280Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-22T04:10:56.312Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2022-06-22T04:10:56.346Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2022-06-22T04:10:56.347Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-22T04:10:56.360Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/1130/head:refs/remotes/origin/PR-1130 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-22T04:10:56.852Z] > git config core.sparsecheckout # timeout=10 [2022-06-22T04:10:56.870Z] > git checkout -f 76d143921698dbf5526f099a11886b680de2f71a # timeout=10 [2022-06-22T04:10:56.995Z] > git remote # timeout=10 [2022-06-22T04:10:57.012Z] > git config --get remote.origin.url # timeout=10 [2022-06-22T04:10:57.025Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-22T04:10:57.039Z] > git merge 3614395ab5d1e3b783d42cc9b1ae027613231f7a # timeout=10 [2022-06-22T04:10:57.068Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-22T04:10:57.096Z] > git config core.sparsecheckout # timeout=10 [2022-06-22T04:10:57.113Z] > git checkout -f 76d143921698dbf5526f099a11886b680de2f71a # timeout=10 [2022-06-22T04:11:01.432Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [2022-06-22T04:11:01.501Z] > git --version # timeout=10 [2022-06-22T04:11:01.515Z] > git --version # 'git version 2.25.1' [2022-06-22T04:11:01.532Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-22T04:11:03.005Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-22T04:11:03.005Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-22T04:11:03.005Z] Dload Upload Total Spent Left Speed [2022-06-22T04:11:03.005Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 221k 0 --:--:-- --:--:-- --:--:-- 221k [Pipeline] sh [2022-06-22T04:11:04.019Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-22T04:11:04.378Z] + sudo tee /etc/docker/daemon.new [2022-06-22T04:11:04.378Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-22T04:11:04.378Z] { [2022-06-22T04:11:04.378Z] "registry-mirrors": [ [2022-06-22T04:11:04.378Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-22T04:11:04.378Z] ], [2022-06-22T04:11:04.378Z] "bip": "10.250.0.254/24", [2022-06-22T04:11:04.378Z] "hosts": [ [2022-06-22T04:11:04.378Z] "tcp://0.0.0.0:5555", [2022-06-22T04:11:04.378Z] "unix:///var/run/docker.sock" [2022-06-22T04:11:04.378Z] ], [2022-06-22T04:11:04.378Z] "mtu": 1458, [2022-06-22T04:11:04.378Z] "selinux-enabled": true, [2022-06-22T04:11:04.378Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-22T04:11:04.378Z] } [Pipeline] sh [2022-06-22T04:11:04.736Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-22T04:11:05.096Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2022-06-22T04:11:23.739Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-22T04:11:23.772Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-22T04:11:23.803Z] ========================================================= [2022-06-22T04:11:23.803Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-22T04:11:23.803Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-06-22T04:11:24.225Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-22T04:11:24.826Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-22T04:11:24.826Z] 9b3977197b4f: Pulling fs layer [2022-06-22T04:11:24.826Z] 1a89e8eeedd5: Pulling fs layer [2022-06-22T04:11:24.826Z] 94645a83ff95: Pulling fs layer [2022-06-22T04:11:24.826Z] e6fb740bc735: Pulling fs layer [2022-06-22T04:11:24.826Z] 3a77bd46dcc9: Pulling fs layer [2022-06-22T04:11:24.826Z] 355e64cbe906: Pulling fs layer [2022-06-22T04:11:24.826Z] 63ab81a10011: Pulling fs layer [2022-06-22T04:11:24.826Z] 555d1d1c4555: Pulling fs layer [2022-06-22T04:11:24.826Z] 7d9057610161: Pulling fs layer [2022-06-22T04:11:24.826Z] e6fb740bc735: Waiting [2022-06-22T04:11:24.826Z] 3a77bd46dcc9: Waiting [2022-06-22T04:11:24.826Z] 355e64cbe906: Waiting [2022-06-22T04:11:24.826Z] 63ab81a10011: Waiting [2022-06-22T04:11:24.826Z] 555d1d1c4555: Waiting [2022-06-22T04:11:24.826Z] 7d9057610161: Waiting [2022-06-22T04:11:24.826Z] 94645a83ff95: Verifying Checksum [2022-06-22T04:11:24.826Z] 94645a83ff95: Download complete [2022-06-22T04:11:24.826Z] 1a89e8eeedd5: Download complete [2022-06-22T04:11:24.826Z] 3a77bd46dcc9: Verifying Checksum [2022-06-22T04:11:24.826Z] 3a77bd46dcc9: Download complete [2022-06-22T04:11:25.104Z] 355e64cbe906: Verifying Checksum [2022-06-22T04:11:25.104Z] 355e64cbe906: Download complete [2022-06-22T04:11:25.104Z] 9b3977197b4f: Verifying Checksum [2022-06-22T04:11:25.104Z] 9b3977197b4f: Download complete [2022-06-22T04:11:25.104Z] 63ab81a10011: Verifying Checksum [2022-06-22T04:11:25.104Z] 63ab81a10011: Download complete [2022-06-22T04:11:25.709Z] 9b3977197b4f: Pull complete [2022-06-22T04:11:25.990Z] 7d9057610161: Verifying Checksum [2022-06-22T04:11:25.990Z] 7d9057610161: Download complete [2022-06-22T04:11:26.596Z] 1a89e8eeedd5: Pull complete [2022-06-22T04:11:26.873Z] 94645a83ff95: Pull complete [2022-06-22T04:11:27.151Z] 555d1d1c4555: Verifying Checksum [2022-06-22T04:11:27.151Z] 555d1d1c4555: Download complete [2022-06-22T04:11:27.758Z] e6fb740bc735: Download complete [2022-06-22T04:11:40.208Z] e6fb740bc735: Pull complete [2022-06-22T04:11:40.208Z] 3a77bd46dcc9: Pull complete [2022-06-22T04:11:40.208Z] 355e64cbe906: Pull complete [2022-06-22T04:11:40.483Z] 63ab81a10011: Pull complete [2022-06-22T04:11:47.211Z] 555d1d1c4555: Pull complete [2022-06-22T04:11:48.191Z] 7d9057610161: Pull complete [2022-06-22T04:11:48.191Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-22T04:11:48.191Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-22T04:11:48.191Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh [2022-06-22T04:11:48.546Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T04:11:48.960Z] + docker inspect -f . ci-base-image-arm64 [2022-06-22T04:11:48.960Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-22T04:11:49.284Z] prd-ubuntu20.04-docker-arm64-4c-16g-15311 does not seem to be running inside a container [2022-06-22T04:11:49.381Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-22T04:11:53.171Z] $ docker top 824123d5f7bae2be681825cc94889c57c30a1821d0cc7bd4a4c40fba6212a759 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-22T04:11:54.123Z] + go version [2022-06-22T04:11:54.123Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-22T04:11:54.162Z] $ docker stop --time=1 824123d5f7bae2be681825cc94889c57c30a1821d0cc7bd4a4c40fba6212a759 [2022-06-22T04:11:55.811Z] $ docker rm -f 824123d5f7bae2be681825cc94889c57c30a1821d0cc7bd4a4c40fba6212a759 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T04:11:56.678Z] + docker inspect -f . ci-base-image-arm64 [2022-06-22T04:11:56.678Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-22T04:11:56.993Z] prd-ubuntu20.04-docker-arm64-4c-16g-15311 does not seem to be running inside a container [2022-06-22T04:11:57.077Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-22T04:11:58.327Z] $ docker top 2806c9c20de94a01876742fd9e830277e6de423cf5192c0ca3c67c201ba6968d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-22T04:11:59.307Z] + make test [2022-06-22T04:11:59.307Z] make -C ./app-service-template build [2022-06-22T04:11:59.307Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2022-06-22T04:11:59.307Z] go mod tidy -compat=1.17 [2022-06-22T04:11:59.307Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 [2022-06-22T04:11:59.307Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a [2022-06-22T04:11:59.581Z] go: downloading github.com/google/uuid v1.3.0 [2022-06-22T04:11:59.581Z] go: downloading github.com/stretchr/testify v1.7.2 [2022-06-22T04:11:59.581Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 [2022-06-22T04:11:59.581Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.1-dev.4 [2022-06-22T04:11:59.859Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 [2022-06-22T04:11:59.859Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-06-22T04:11:59.859Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-06-22T04:11:59.859Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2022-06-22T04:11:59.859Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.2 [2022-06-22T04:11:59.859Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 [2022-06-22T04:11:59.859Z] go: downloading github.com/go-playground/validator/v10 v10.10.1 [2022-06-22T04:11:59.859Z] go: downloading github.com/go-kit/log v0.2.0 [2022-06-22T04:11:59.859Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-06-22T04:12:00.136Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 [2022-06-22T04:12:00.136Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-06-22T04:12:00.136Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-06-22T04:12:00.136Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 [2022-06-22T04:12:00.136Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-06-22T04:12:00.136Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-06-22T04:12:00.136Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-06-22T04:12:00.415Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-06-22T04:12:00.415Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-06-22T04:12:00.415Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2022-06-22T04:12:00.415Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-06-22T04:12:00.415Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-06-22T04:12:00.689Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2022-06-22T04:12:00.689Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-06-22T04:12:00.689Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-06-22T04:12:00.689Z] go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 [2022-06-22T04:12:01.291Z] go: downloading golang.org/x/text v0.3.7 [2022-06-22T04:12:01.581Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-06-22T04:12:01.581Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-06-22T04:12:01.581Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-06-22T04:12:05.016Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-06-22T04:12:05.016Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 [2022-06-22T04:12:05.016Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-06-22T04:12:05.016Z] go: downloading github.com/x448/float16 v0.8.4 [2022-06-22T04:12:05.016Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-06-22T04:12:05.016Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-06-22T04:12:05.016Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-06-22T04:12:05.016Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-06-22T04:12:05.016Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-06-22T04:12:05.016Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-06-22T04:12:05.016Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-06-22T04:12:05.016Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-06-22T04:12:05.016Z] go: downloading github.com/kr/pretty v0.3.0 [2022-06-22T04:12:05.016Z] go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 [2022-06-22T04:12:05.016Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-06-22T04:12:05.016Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-06-22T04:12:05.016Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-06-22T04:12:05.016Z] go: downloading github.com/fatih/color v1.9.0 [2022-06-22T04:12:05.016Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-06-22T04:12:05.017Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-06-22T04:12:05.017Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-06-22T04:12:05.017Z] go: downloading google.golang.org/grpc v1.42.0 [2022-06-22T04:12:05.017Z] go: downloading github.com/zeebo/errs v1.2.2 [2022-06-22T04:12:06.007Z] go: downloading github.com/pkg/errors v0.9.1 [2022-06-22T04:12:06.007Z] go: downloading github.com/kr/text v0.2.0 [2022-06-22T04:12:06.007Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-06-22T04:12:06.007Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-06-22T04:12:06.007Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-06-22T04:12:06.007Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-06-22T04:12:06.007Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-06-22T04:12:06.285Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-06-22T04:12:06.285Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-06-22T04:12:06.285Z] go: downloading gopkg.in/square/go-jose.v2 v2.4.1 [2022-06-22T04:12:06.563Z] go: downloading google.golang.org/protobuf v1.27.1 [2022-06-22T04:12:06.563Z] go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa [2022-06-22T04:12:07.551Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-06-22T04:12:07.551Z] go: downloading github.com/google/go-cmp v0.5.6 [2022-06-22T04:12:07.551Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-06-22T04:12:07.551Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-06-22T04:12:07.551Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-06-22T04:12:07.826Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-06-22T04:12:07.826Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-06-22T04:12:07.826Z] go: downloading github.com/miekg/dns v1.1.26 [2022-06-22T04:12:08.103Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-06-22T04:12:08.103Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-06-22T04:12:08.103Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2022-06-22T04:12:08.387Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-06-22T04:12:08.387Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 [2022-06-22T04:12:08.387Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-06-22T04:12:08.387Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2022-06-22T04:12:12.705Z] go: downloading github.com/stretchr/testify v1.7.4 [2022-06-22T04:12:12.705Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.1-dev.5 [2022-06-22T04:12:12.705Z] go: downloading github.com/stretchr/objx v0.4.0 [2022-06-22T04:12:13.309Z] 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-06-22T04:14:20.224Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2022-06-22T04:14:20.224Z] make -C ./app-service-template test [2022-06-22T04:14:20.224Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2022-06-22T04:14:20.224Z] CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... [2022-06-22T04:16:42.197Z] ok new-app-service 0.254s coverage: 48.1% of statements [2022-06-22T04:16:42.197Z] ? new-app-service/config [no test files] [2022-06-22T04:16:42.197Z] ok new-app-service/functions 0.205s [2022-06-22T04:16:42.197Z] CGO_ENABLED=1 go vet ./... [2022-06-22T04:18:04.089Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-22T04:18:04.089Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-22T04:18:04.089Z] ./bin/test-attribution-txt.sh [2022-06-22T04:18:04.089Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2022-06-22T04:18:04.090Z] CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-06-22T04:18:04.090Z] go: downloading github.com/gomodule/redigo v1.8.8 [2022-06-22T04:18:04.090Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2022-06-22T04:18:22.494Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.602s coverage: 63.2% of statements [2022-06-22T04:18:22.494Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.353s coverage: 93.8% of statements [2022-06-22T04:18:22.494Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2022-06-22T04:18:22.494Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.385s coverage: 76.5% of statements [2022-06-22T04:18:22.494Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2022-06-22T04:18:22.494Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.390s coverage: 88.7% of statements [2022-06-22T04:18:22.494Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.158s coverage: 100.0% of statements [2022-06-22T04:18:23.101Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.825s coverage: 78.5% of statements [2022-06-22T04:18:23.101Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2022-06-22T04:18:23.101Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2022-06-22T04:18:23.101Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.293s coverage: 97.3% of statements [2022-06-22T04:18:23.101Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2022-06-22T04:18:23.101Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] [2022-06-22T04:18:26.524Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.475s coverage: 82.8% of statements [2022-06-22T04:18:26.524Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] [2022-06-22T04:18:31.976Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 1.051s coverage: 81.5% of statements [2022-06-22T04:18:31.976Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] [2022-06-22T04:18:31.976Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] [2022-06-22T04:18:31.976Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.372s coverage: 28.7% of statements [2022-06-22T04:18:31.976Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] [2022-06-22T04:18:31.976Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.284s coverage: 14.0% of statements [2022-06-22T04:18:37.422Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.284s coverage: 27.3% of statements [2022-06-22T04:18:37.422Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2022-06-22T04:18:37.422Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-06-22T04:18:38.418Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.269s coverage: 51.4% of statements [2022-06-22T04:19:10.781Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.519s coverage: 78.6% of statements [2022-06-22T04:19:10.781Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.367s coverage: 94.4% of statements [2022-06-22T04:19:10.781Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-22T04:19:16.216Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-22T04:19:16.491Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-22T04:19:17.088Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] echo [2022-06-22T04:19:17.130Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-22T04:19:17.167Z] $ docker stop --time=1 2806c9c20de94a01876742fd9e830277e6de423cf5192c0ca3c67c201ba6968d [2022-06-22T04:19:18.972Z] $ docker rm -f 2806c9c20de94a01876742fd9e830277e6de423cf5192c0ca3c67c201ba6968d [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-22T04:19:22.608Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-22T04:19:22.644Z] Warning: overwriting stash ‘coverage-report’ [2022-06-22T04:19:23.239Z] 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-06-22T04:19:24.078Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-22T04:19:24.078Z] [2022-06-22T04:19:24.078Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T04:19:24.494Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-22T04:19:24.771Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-22T04:19:24.771Z] 8998bd30e6a1: Pulling fs layer [2022-06-22T04:19:24.771Z] 04944245beec: Pulling fs layer [2022-06-22T04:19:24.771Z] 699f458cf7ca: Pulling fs layer [2022-06-22T04:19:24.771Z] 765212b225bb: Pulling fs layer [2022-06-22T04:19:24.771Z] f23df028b6ca: Pulling fs layer [2022-06-22T04:19:24.771Z] d65c8cfc05b1: Pulling fs layer [2022-06-22T04:19:24.771Z] 2437ff75d9bd: Pulling fs layer [2022-06-22T04:19:24.771Z] 765212b225bb: Waiting [2022-06-22T04:19:24.771Z] f23df028b6ca: Waiting [2022-06-22T04:19:24.771Z] d65c8cfc05b1: Waiting [2022-06-22T04:19:24.771Z] 2437ff75d9bd: Waiting [2022-06-22T04:19:24.771Z] 04944245beec: Verifying Checksum [2022-06-22T04:19:24.771Z] 04944245beec: Download complete [2022-06-22T04:19:24.771Z] 765212b225bb: Verifying Checksum [2022-06-22T04:19:24.771Z] 765212b225bb: Download complete [2022-06-22T04:19:24.771Z] f23df028b6ca: Verifying Checksum [2022-06-22T04:19:24.771Z] f23df028b6ca: Download complete [2022-06-22T04:19:24.771Z] d65c8cfc05b1: Download complete [2022-06-22T04:19:25.049Z] 699f458cf7ca: Verifying Checksum [2022-06-22T04:19:25.049Z] 699f458cf7ca: Download complete [2022-06-22T04:19:25.324Z] 8998bd30e6a1: Verifying Checksum [2022-06-22T04:19:25.324Z] 8998bd30e6a1: Download complete [2022-06-22T04:19:27.958Z] 2437ff75d9bd: Verifying Checksum [2022-06-22T04:19:27.958Z] 2437ff75d9bd: Download complete [2022-06-22T04:19:29.945Z] 8998bd30e6a1: Pull complete [2022-06-22T04:19:30.219Z] 04944245beec: Pull complete [2022-06-22T04:19:31.663Z] 699f458cf7ca: Pull complete [2022-06-22T04:19:31.937Z] 765212b225bb: Pull complete [2022-06-22T04:19:32.537Z] f23df028b6ca: Pull complete [2022-06-22T04:19:32.814Z] d65c8cfc05b1: Pull complete [2022-06-22T04:19:47.925Z] 2437ff75d9bd: Pull complete [2022-06-22T04:19:47.925Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-22T04:19:47.925Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-22T04:19:47.925Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-22T04:19:48.307Z] prd-ubuntu20.04-docker-arm64-4c-16g-15311 does not seem to be running inside a container [2022-06-22T04:19:48.403Z] $ 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/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-22T04:19:50.877Z] $ docker top 6f1c10e5f468ea54a747e8ac7ad4355c1ab702e3fa48cd6f436b1aa11eb337d6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-22T04:19:51.838Z] ---> job-cost.sh [2022-06-22T04:19:51.838Z] lf-activate-venv: SKIPPING [2022-06-22T04:19:51.838Z] INFO: No Stack... [2022-06-22T04:19:52.434Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-22T04:19:53.412Z] INFO: Archiving Costs [Pipeline] sh [2022-06-22T04:19:54.092Z] + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv [2022-06-22T04:19:54.092Z] + cut -d, -f6 [Pipeline] lock [2022-06-22T04:19:54.170Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1130-1-stack-cost] [2022-06-22T04:19:54.175Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1130-1-stack-cost] did not exist. Created. [2022-06-22T04:19:54.175Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1130-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-22T04:19:54.910Z] /w/workspace/app-functions-sdk-go/1@tmp/durable-a8f0ff32/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-22T04:19:55.609Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-22T04:19:55.724Z] Warning: overwriting stash ‘stack-cost’ [2022-06-22T04:19:55.790Z] Stashed 1 file(s) [Pipeline] } [2022-06-22T04:19:55.806Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1130-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-22T04:19:55.891Z] $ docker stop --time=1 6f1c10e5f468ea54a747e8ac7ad4355c1ab702e3fa48cd6f436b1aa11eb337d6 [2022-06-22T04:19:57.405Z] $ docker rm -f 6f1c10e5f468ea54a747e8ac7ad4355c1ab702e3fa48cd6f436b1aa11eb337d6 [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-06-22T04:19:58.359Z] provisioning config files... [2022-06-22T04:19:58.369Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/dry_app-functions-sdk-go_PR-1130@tmp/config819815146936052102tmp [Pipeline] { [Pipeline] sh [2022-06-22T04:19:58.700Z] + set +x [2022-06-22T04:19:58.700Z] + curl -s https://codecov.io/bash [2022-06-22T04:19:58.700Z] + bash -s -- [2022-06-22T04:19:58.700Z] [2022-06-22T04:19:58.700Z] _____ _ [2022-06-22T04:19:58.700Z] / ____| | | [2022-06-22T04:19:58.700Z] | | ___ __| | ___ ___ _____ __ [2022-06-22T04:19:58.700Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-22T04:19:58.700Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-22T04:19:58.700Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-22T04:19:58.700Z] Bash-1.0.6 [2022-06-22T04:19:58.700Z] [2022-06-22T04:19:58.700Z] [2022-06-22T04:19:58.700Z] ==> git version 2.25.1 found [2022-06-22T04:19:58.700Z] ==> 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-06-22T04:19:58.700Z] Release-Date: 2020-01-08 [2022-06-22T04:19:58.700Z] 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-06-22T04:19:58.700Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-22T04:19:58.700Z] ==> Jenkins CI detected. [2022-06-22T04:19:58.700Z] current dir:  /w/workspace/dry_app-functions-sdk-go_PR-1130 [2022-06-22T04:19:58.700Z] project root: . [2022-06-22T04:19:58.700Z] --> token set from env [2022-06-22T04:19:58.700Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-22T04:19:58.700Z] ==> Running gcov in . (disable via -X gcov) [2022-06-22T04:19:58.700Z] ==> Python coveragepy not found [2022-06-22T04:19:58.700Z] ==> Searching for coverage reports in: [2022-06-22T04:19:58.700Z] + . [2022-06-22T04:19:58.700Z] -> Found 2 reports [2022-06-22T04:19:58.700Z] ==> Detecting git/mercurial file structure [2022-06-22T04:19:58.700Z] ==> Reading reports [2022-06-22T04:19:58.700Z] + ./app-service-template/coverage.out bytes=1222 [2022-06-22T04:19:58.700Z] + ./coverage.out bytes=121742 [2022-06-22T04:19:58.700Z] ==> Appending adjustments [2022-06-22T04:19:58.700Z] https://docs.codecov.io/docs/fixing-reports [2022-06-22T04:19:59.271Z] + Found adjustments [2022-06-22T04:19:59.271Z] ==> Gzipping contents [2022-06-22T04:19:59.271Z] 24K /tmp/codecov.pw6g8V.gz [2022-06-22T04:19:59.271Z] ==> Uploading reports [2022-06-22T04:19:59.271Z] url: https://codecov.io [2022-06-22T04:19:59.271Z] query: branch=PR-1130&commit=76d143921698dbf5526f099a11886b680de2f71a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-1130%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=1130&job=&cmd_args= [2022-06-22T04:19:59.271Z] -> Pinging Codecov [2022-06-22T04:19:59.271Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-1130&commit=76d143921698dbf5526f099a11886b680de2f71a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-1130%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=1130&job=&cmd_args= [2022-06-22T04:19:59.532Z] -> Uploading to [2022-06-22T04:19:59.532Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-22/3D8B5DFFC46A037C893635FACE044666/76d143921698dbf5526f099a11886b680de2f71a/0e2e0101-9d98-49ff-9968-397554cb69f8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220622%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220622T041959Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c57cfd1f4e848b20082d4ef02e2089f9a7097f189a86b5026fbf48c1459b0957 [2022-06-22T04:19:59.532Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-22T04:19:59.532Z] Dload Upload Total Spent Left Speed [2022-06-22T04:19:59.792Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21018 0 0 100 21018 0 101k --:--:-- --:--:-- --:--:-- 100k 100 21018 0 0 100 21018 0 96412 --:--:-- --:--:-- --:--:-- 95972 [2022-06-22T04:19:59.792Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/76d143921698dbf5526f099a11886b680de2f71a [Pipeline] } [2022-06-22T04:19:59.816Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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-06-22T04:20:01.518Z] + [ -d /w/workspace/dry_app-functions-sdk-go_PR-1130/archives ] [2022-06-22T04:20:01.518Z] + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1130/archives [2022-06-22T04:20:01.518Z] total 16 [2022-06-22T04:20:01.518Z] drwxr-xr-x 3 root root 4096 Jun 22 04:09 . [2022-06-22T04:20:01.518Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 22 04:09 .. [2022-06-22T04:20:01.518Z] drwxr-xr-x 2 root root 4096 Jun 22 04:09 cost [2022-06-22T04:20:01.518Z] -rw-r--r-- 1 root root 92 Jun 22 04:09 cost.csv [2022-06-22T04:20:01.518Z] + sudo chown -R jenkins:jenkins /w/workspace/dry_app-functions-sdk-go_PR-1130/archives [2022-06-22T04:20:01.518Z] + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1130/archives [2022-06-22T04:20:01.518Z] total 16 [2022-06-22T04:20:01.518Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 22 04:09 . [2022-06-22T04:20:01.518Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 22 04:09 .. [2022-06-22T04:20:01.518Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 22 04:09 cost [2022-06-22T04:20:01.518Z] -rw-r--r-- 1 jenkins jenkins 92 Jun 22 04:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-22T04:20:01.843Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-22T04:20:02.736Z] ---> package-listing.sh [2022-06-22T04:20:02.736Z] ++ facter osfamily [2022-06-22T04:20:02.736Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-22T04:20:03.001Z] + OS_FAMILY=debian [2022-06-22T04:20:03.001Z] + workspace=/w/workspace/dry_app-functions-sdk-go_PR-1130 [2022-06-22T04:20:03.001Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-22T04:20:03.001Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-22T04:20:03.001Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-22T04:20:03.001Z] + PACKAGES=/tmp/packages_start.txt [2022-06-22T04:20:03.001Z] + '[' /w/workspace/dry_app-functions-sdk-go_PR-1130 ']' [2022-06-22T04:20:03.001Z] + PACKAGES=/tmp/packages_end.txt [2022-06-22T04:20:03.001Z] + case "${OS_FAMILY}" in [2022-06-22T04:20:03.001Z] + dpkg -l [2022-06-22T04:20:03.001Z] + grep '^ii' [2022-06-22T04:20:03.001Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-22T04:20:03.001Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-22T04:20:03.001Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-22T04:20:03.001Z] + '[' /w/workspace/dry_app-functions-sdk-go_PR-1130 ']' [2022-06-22T04:20:03.001Z] + mkdir -p /w/workspace/dry_app-functions-sdk-go_PR-1130/archives/ [2022-06-22T04:20:03.001Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_app-functions-sdk-go_PR-1130/archives/ [Pipeline] echo [2022-06-22T04:20:03.034Z] 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/dry_app-functions-sdk-go_PR-1130/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-22T04:20:03.380Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T04:20:03.776Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-22T04:20:03.776Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-22T04:20:03.932Z] prd-ubuntu20.04-docker-8c-8g-15309 does not seem to be running inside a container [2022-06-22T04:20:03.971Z] $ 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/dry_app-functions-sdk-go_PR-1130/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-functions-sdk-go_PR-1130 -v /w/workspace/dry_app-functions-sdk-go_PR-1130:/w/workspace/dry_app-functions-sdk-go_PR-1130:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1130@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-22T04:20:04.208Z] $ docker top 4399f57350c45c0b41647767c880fba153664ebed88876e2180e08d424a1efc6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-22T04:20:04.620Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-22T04:20:04.935Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-22T04:20:05.247Z] + ls /var/log/sa-host [2022-06-22T04:20:05.247Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-22T04:20:05.450Z] provisioning config files... [2022-06-22T04:20:05.459Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-functions-sdk-go_PR-1130@tmp/config6170333035979646777tmp [Pipeline] { [Pipeline] echo [2022-06-22T04:20:05.503Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-22T04:20:05.817Z] ---> create-netrc.sh [Pipeline] } [2022-06-22T04:20:05.844Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-22T04:20:06.339Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-22T04:20:06.370Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-22T04:20:06.679Z] ---> sudo-logs.sh [2022-06-22T04:20:06.679Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-22T04:20:06.764Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-22T04:20:07.082Z] ---> job-cost.sh [2022-06-22T04:20:07.082Z] lf-activate-venv: SKIPPING [2022-06-22T04:20:07.082Z] DEBUG: total: 0.2199999988079071 [2022-06-22T04:20:07.082Z] INFO: Retrieving Stack Cost... [2022-06-22T04:20:07.652Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-22T04:20:07.911Z] INFO: Archiving Costs [Pipeline] echo [2022-06-22T04:20:07.943Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-22T04:20:08.260Z] ---> logs-deploy.sh [2022-06-22T04:20:08.260Z] lf-activate-venv: SKIPPING [2022-06-22T04:20:08.260Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-1130/1 [2022-06-22T04:20:08.260Z] INFO: archiving workspace using pattern(s): [2022-06-22T04:20:09.202Z] Archives upload complete. [2022-06-22T04:20:09.202Z] INFO: archiving logs to Nexus