Pull request #1007 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 08e60c215f3308355d75f9b28039c48879f12d67+39a95b068cd0ed8870bdfa4a10bdeebc7b1cc4b6 (80d8a1ba78f8faebeecc06e03ebfe5281809e5e8) Running in Durability level: MAX_SURVIVABILITY 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-ssh2398687775438095390.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a03e002eace0db65b27acd1444eb3c4392a49323 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-ssh8613784722560260768.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 a03e002eace0db65b27acd1444eb3c4392a49323 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-1007/workspace@libs/edgex-global-pipelines # 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-1007/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5987054349364537784.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-1007/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh902196183142379601.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a03e002eace0db65b27acd1444eb3c4392a49323 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a03e002eace0db65b27acd1444eb3c4392a49323 # timeout=10 Commit message: "Merge pull request #364 from ernestojeda/fix-folder-name" > 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 shared 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-ssh7776482373244089631.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-1007/workspace@libs/lf-pipelines # 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-1007/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3534767247574725437.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 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 a03e002eace0db65b27acd1444eb3c4392a49323 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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: [[centos7-docker-4c-2g, ubuntu18.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.16 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-169 in /w/workspace/dry_app-functions-sdk-go_PR-1007 [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-1007 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/dry_app-functions-sdk-go_PR-1007@tmp/jenkins-gitclient-ssh1433172409959389512.key > 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 39a95b068cd0ed8870bdfa4a10bdeebc7b1cc4b6 into PR head commit 08e60c215f3308355d75f9b28039c48879f12d67 > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/dry_app-functions-sdk-go_PR-1007@tmp/jenkins-gitclient-ssh8285294934581497924.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/1007/head:refs/remotes/origin/PR-1007 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 08e60c215f3308355d75f9b28039c48879f12d67 # timeout=10 > git remote # timeout=10 > 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 /w/workspace/dry_app-functions-sdk-go_PR-1007@tmp/jenkins-gitclient-ssh8130381569113761070.key Merge succeeded, producing 08e60c215f3308355d75f9b28039c48879f12d67 Checking out Revision 08e60c215f3308355d75f9b28039c48879f12d67 (PR-1007) > git merge 39a95b068cd0ed8870bdfa4a10bdeebc7b1cc4b6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 08e60c215f3308355d75f9b28039c48879f12d67 # timeout=10 Commit message: "fix: Set TargetType properly when dynamically updating to configurable pipeline" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object a03e002eace0db65b27acd1444eb3c4392a49323 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-11T18:26:35.310Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-11T18:26:35.449Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-11T18:26:35.521Z] ========================================================= [2021-11-11T18:26:35.521Z] EdgeX Global Pipelines Version Info [2021-11-11T18:26:35.521Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:26:36.677Z] ------------------- [2021-11-11T18:26:36.677Z] stable info: [2021-11-11T18:26:36.677Z] ------------------- [2021-11-11T18:26:36.677Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-11T18:26:36.677Z] Commit SHA: a03e002eace0db65b27acd1444eb3c4392a49323 [2021-11-11T18:26:36.677Z] Message: update stable to v1.0.213 [2021-11-11T18:26:37.249Z] ------------------- [2021-11-11T18:26:37.249Z] experimental info: [2021-11-11T18:26:37.249Z] ------------------- [2021-11-11T18:26:37.249Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-11T18:26:37.249Z] Commit SHA: a03e002eace0db65b27acd1444eb3c4392a49323 [2021-11-11T18:26:37.249Z] Message: update experimental to v1.0.213 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-11T18:26:37.392Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-11-11T18:26:37.428Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-11-11T18:26:37.463Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-11T18:26:37.497Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-11T18:26:37.532Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-11T18:26:37.567Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-11T18:26:37.602Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-11T18:26:37.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-11-11T18:26:37.668Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-11T18:26:37.701Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-11T18:26:37.735Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-11T18:26:37.769Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-11-11T18:26:37.801Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-11T18:26:37.832Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-11T18:26:37.866Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-11-11T18:26:37.899Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-11-11T18:26:37.934Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-11T18:26:37.998Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-11T18:26:38.031Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-11T18:26:38.070Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-11T18:26:38.101Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-11-11T18:26:38.148Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-11-11T18:26:38.184Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-11T18:26:38.219Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-11T18:26:38.257Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-11-11T18:26:38.294Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-11T18:26:38.329Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1007 [Pipeline] echo [2021-11-11T18:26:38.362Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1007 [Pipeline] echo [2021-11-11T18:26:38.397Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1007 [Pipeline] echo [2021-11-11T18:26:38.434Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 08e60c215f3308355d75f9b28039c48879f12d67 [Pipeline] echo [2021-11-11T18:26:38.477Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 08e60c2 [Pipeline] echo [2021-11-11T18:26:38.513Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-11T18:26:39.046Z] + git rev-list -1 --merges 08e60c215f3308355d75f9b28039c48879f12d67~1..08e60c215f3308355d75f9b28039c48879f12d67 [Pipeline] echo [2021-11-11T18:26:39.101Z] -----------> git rev-list -1 --merges 08e60c215f3308355d75f9b28039c48879f12d67~1..08e60c215f3308355d75f9b28039c48879f12d67 08e60c215f3308355d75f9b28039c48879f12d67 [false] [Pipeline] sh [2021-11-11T18:26:39.439Z] + git log --format=format:%s -1 08e60c215f3308355d75f9b28039c48879f12d67 [Pipeline] echo [2021-11-11T18:26:39.471Z] ========================================================= [2021-11-11T18:26:39.471Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-11T18:26:39.471Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-11T18:26:39.891Z] + git log --format=format:%s -1 08e60c215f3308355d75f9b28039c48879f12d67 [Pipeline] echo [2021-11-11T18:26:39.918Z] [semverPrep] GIT_COMMIT: 08e60c215f3308355d75f9b28039c48879f12d67, Commit Message: fix: Set TargetType properly when dynamically updating to configurable pipeline [Pipeline] echo [2021-11-11T18:26:39.948Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:26:40.562Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T18:26:40.562Z] [2021-11-11T18:26:40.562Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:26:40.902Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T18:26:40.902Z] latest: Pulling from edgex-devops/git-semver [2021-11-11T18:26:40.902Z] a0d0a0d46f8b: Pulling fs layer [2021-11-11T18:26:40.902Z] 3e5f54012d9b: Pulling fs layer [2021-11-11T18:26:40.902Z] 4c7163046ea9: Pulling fs layer [2021-11-11T18:26:40.902Z] 0c2d73faf560: Pulling fs layer [2021-11-11T18:26:40.902Z] 0c2d73faf560: Waiting [2021-11-11T18:26:40.902Z] 3e5f54012d9b: Verifying Checksum [2021-11-11T18:26:40.902Z] 3e5f54012d9b: Download complete [2021-11-11T18:26:40.902Z] a0d0a0d46f8b: Verifying Checksum [2021-11-11T18:26:40.902Z] a0d0a0d46f8b: Download complete [2021-11-11T18:26:41.174Z] 0c2d73faf560: Verifying Checksum [2021-11-11T18:26:41.175Z] 0c2d73faf560: Download complete [2021-11-11T18:26:41.175Z] 4c7163046ea9: Verifying Checksum [2021-11-11T18:26:41.175Z] 4c7163046ea9: Download complete [2021-11-11T18:26:41.175Z] a0d0a0d46f8b: Pull complete [2021-11-11T18:26:41.175Z] 3e5f54012d9b: Pull complete [2021-11-11T18:26:41.437Z] 4c7163046ea9: Pull complete [2021-11-11T18:26:41.699Z] 0c2d73faf560: Pull complete [2021-11-11T18:26:41.699Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-11T18:26:41.699Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T18:26:41.699Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-11T18:26:41.793Z] prd-centos7-docker-4c-2g-169 does not seem to be running inside a container [2021-11-11T18:26:41.831Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-functions-sdk-go_PR-1007 -v /w/workspace/dry_app-functions-sdk-go_PR-1007:/w/workspace/dry_app-functions-sdk-go_PR-1007:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1007@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1007@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:10004/edgex-devops/git-semver:latest cat [2021-11-11T18:26:42.711Z] $ docker top b19e2b13dca7741639116c1c2545c095d13cba2debb42f4b785a9678eacdaedd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-11T18:26:42.909Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-11T18:26:42.909Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-11T18:26:43.039Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-11T18:26:43.040Z] $ docker exec b19e2b13dca7741639116c1c2545c095d13cba2debb42f4b785a9678eacdaedd ssh-agent [2021-11-11T18:26:43.154Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXolIoMg/agent.15 [2021-11-11T18:26:43.154Z] SSH_AGENT_PID=22 [2021-11-11T18:26:43.162Z] Running ssh-add (command line suppressed) [2021-11-11T18:26:43.270Z] Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1007@tmp/private_key_4030360658634565440.key (/w/workspace/dry_app-functions-sdk-go_PR-1007@tmp/private_key_4030360658634565440.key) [2021-11-11T18:26:43.286Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-11T18:26:43.623Z] + git tag --points-at HEAD [Pipeline] } [2021-11-11T18:26:43.641Z] $ docker exec --env ******** --env ******** b19e2b13dca7741639116c1c2545c095d13cba2debb42f4b785a9678eacdaedd ssh-agent -k [2021-11-11T18:26:43.743Z] unset SSH_AUTH_SOCK; [2021-11-11T18:26:43.743Z] unset SSH_AGENT_PID; [2021-11-11T18:26:43.743Z] echo Agent pid 22 killed; [2021-11-11T18:26:43.751Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-11T18:26:43.822Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-11T18:26:43.822Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-11T18:26:43.925Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-11T18:26:43.926Z] $ docker exec b19e2b13dca7741639116c1c2545c095d13cba2debb42f4b785a9678eacdaedd ssh-agent [2021-11-11T18:26:44.021Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhLiPGL/agent.56 [2021-11-11T18:26:44.021Z] SSH_AGENT_PID=62 [2021-11-11T18:26:44.030Z] Running ssh-add (command line suppressed) [2021-11-11T18:26:44.117Z] Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1007@tmp/private_key_2882628418911735920.key (/w/workspace/dry_app-functions-sdk-go_PR-1007@tmp/private_key_2882628418911735920.key) [2021-11-11T18:26:44.134Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-11T18:26:44.470Z] + git semver init [2021-11-11T18:26:44.470Z] # -> Open(): unable to determine branch for HEAD [2021-11-11T18:26:44.470Z] # $GIT_DIR = /w/workspace/dry_app-functions-sdk-go_PR-1007/.git [2021-11-11T18:26:44.470Z] # $GIT_WORK_TREE = /w/workspace/dry_app-functions-sdk-go_PR-1007 [2021-11-11T18:26:44.470Z] # $SEMVER_REMOTE_NAME = origin [2021-11-11T18:26:44.470Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-11T18:26:44.470Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-11T18:26:44.470Z] # $SEMVER_BRANCH = PR-1007 [2021-11-11T18:26:44.470Z] # $SEMVER_TEMP = /tmp/semver-790778399 [2021-11-11T18:26:44.470Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-11-11T18:26:47.032Z] # '/tmp/semver-790778399' -> '/w/workspace/dry_app-functions-sdk-go_PR-1007/.semver' [2021-11-11T18:26:47.032Z] # -> Force: false [2021-11-11T18:26:47.032Z] # $SEMVER_DIR = /w/workspace/dry_app-functions-sdk-go_PR-1007/.semver [Pipeline] } [2021-11-11T18:26:47.052Z] $ docker exec --env ******** --env ******** b19e2b13dca7741639116c1c2545c095d13cba2debb42f4b785a9678eacdaedd ssh-agent -k [2021-11-11T18:26:47.149Z] unset SSH_AUTH_SOCK; [2021-11-11T18:26:47.149Z] unset SSH_AGENT_PID; [2021-11-11T18:26:47.149Z] echo Agent pid 62 killed; [2021-11-11T18:26:47.157Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-11T18:26:47.547Z] + git semver [Pipeline] } [2021-11-11T18:26:47.568Z] $ docker stop --time=1 b19e2b13dca7741639116c1c2545c095d13cba2debb42f4b785a9678eacdaedd [2021-11-11T18:26:48.955Z] $ docker rm -f b19e2b13dca7741639116c1c2545c095d13cba2debb42f4b785a9678eacdaedd [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-11T18:26:49.377Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-11T18:26:49.665Z] Stashed 1 file(s) [Pipeline] echo [2021-11-11T18:26:49.684Z] [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] node [Pipeline] node [2021-11-11T18:27:05.118Z] Still waiting to schedule task [2021-11-11T18:27:05.119Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-169’ [2021-11-11T18:27:05.138Z] Still waiting to schedule task [2021-11-11T18:27:05.138Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-11-11T18:28:34.653Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-170 in /w/workspace/dry_app-functions-sdk-go_PR-1007 [Pipeline] { [Pipeline] ws [2021-11-11T18:28:34.691Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-11-11T18:28:34.890Z] The recommended git tool is: git [2021-11-11T18:28:40.167Z] using credential edgex-jenkins-ssh [2021-11-11T18:28:40.182Z] Cloning the remote Git repository [2021-11-11T18:28:40.283Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-11-11T18:28:40.502Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-11-11T18:28:40.611Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-11-11T18:28:40.611Z] > git --version # timeout=10 [2021-11-11T18:28:40.632Z] > git --version # 'git version 2.17.1' [2021-11-11T18:28:40.634Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T18:28:40.727Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T18:28:44.672Z] Merging remotes/origin/main commit 39a95b068cd0ed8870bdfa4a10bdeebc7b1cc4b6 into PR head commit 08e60c215f3308355d75f9b28039c48879f12d67 [2021-11-11T18:28:44.906Z] Merge succeeded, producing 08e60c215f3308355d75f9b28039c48879f12d67 [2021-11-11T18:28:44.906Z] Checking out Revision 08e60c215f3308355d75f9b28039c48879f12d67 (PR-1007) [2021-11-11T18:28:43.870Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-11-11T18:28:43.892Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T18:28:43.919Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-11-11T18:28:43.968Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-11-11T18:28:43.969Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T18:28:43.986Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/1007/head:refs/remotes/origin/PR-1007 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-11T18:28:44.688Z] > git config core.sparsecheckout # timeout=10 [2021-11-11T18:28:44.709Z] > git checkout -f 08e60c215f3308355d75f9b28039c48879f12d67 # timeout=10 [2021-11-11T18:28:44.814Z] > git remote # timeout=10 [2021-11-11T18:28:44.829Z] > git config --get remote.origin.url # timeout=10 [2021-11-11T18:28:44.841Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T18:28:44.852Z] > git merge 39a95b068cd0ed8870bdfa4a10bdeebc7b1cc4b6 # timeout=10 [2021-11-11T18:28:44.886Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-11T18:28:44.910Z] > git config core.sparsecheckout # timeout=10 [2021-11-11T18:28:44.921Z] > git checkout -f 08e60c215f3308355d75f9b28039c48879f12d67 # timeout=10 [2021-11-11T18:28:49.119Z] Commit message: "fix: Set TargetType properly when dynamically updating to configurable pipeline" [2021-11-11T18:28:49.167Z] > git --version # timeout=10 [2021-11-11T18:28:49.175Z] > git --version # 'git version 2.17.1' [2021-11-11T18:28:49.186Z] fatal: bad object a03e002eace0db65b27acd1444eb3c4392a49323 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-11T18:28:50.073Z] Running on prd-centos7-docker-4c-2g-172 in /w/workspace/dry_app-functions-sdk-go_PR-1007 [Pipeline] { [Pipeline] ws [2021-11-11T18:28:50.116Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-11-11T18:28:50.232Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-11T18:28:50.232Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-11T18:28:50.232Z] Dload Upload Total Spent Left Speed [2021-11-11T18:28:50.232Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 61583 0 --:--:-- --:--:-- --:--:-- 61583 [2021-11-11T18:28:50.241Z] The recommended git tool is: git [Pipeline] sh [2021-11-11T18:28:50.643Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-11T18:28:50.991Z] + sudo tee /etc/docker/daemon.new [2021-11-11T18:28:50.991Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-11T18:28:50.991Z] { [2021-11-11T18:28:50.991Z] "registry-mirrors": [ [2021-11-11T18:28:50.991Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-11T18:28:50.991Z] ], [2021-11-11T18:28:50.991Z] "bip": "10.250.0.254/24", [2021-11-11T18:28:50.991Z] "hosts": [ [2021-11-11T18:28:50.991Z] "tcp://0.0.0.0:5555", [2021-11-11T18:28:50.991Z] "unix:///var/run/docker.sock" [2021-11-11T18:28:50.991Z] ], [2021-11-11T18:28:50.991Z] "mtu": 1458, [2021-11-11T18:28:50.991Z] "selinux-enabled": true, [2021-11-11T18:28:50.991Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-11T18:28:50.991Z] } [Pipeline] sh [2021-11-11T18:28:51.342Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-11T18:28:51.700Z] + sudo service docker restart [2021-11-11T18:28:52.324Z] using credential edgex-jenkins-ssh [2021-11-11T18:28:52.335Z] Cloning the remote Git repository [2021-11-11T18:28:51.917Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-11-11T18:28:51.974Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-11-11T18:28:52.000Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-11-11T18:28:52.000Z] > git --version # timeout=10 [2021-11-11T18:28:52.011Z] > git --version # 'git version 2.24.4' [2021-11-11T18:28:52.012Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T18:28:52.038Z] [INFO] Currently running in a labeled security context [2021-11-11T18:28:52.038Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-11T18:28:52.038Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh8231658271996128004.key [2021-11-11T18:28:52.059Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T18:28:54.653Z] Merging remotes/origin/main commit 39a95b068cd0ed8870bdfa4a10bdeebc7b1cc4b6 into PR head commit 08e60c215f3308355d75f9b28039c48879f12d67 [2021-11-11T18:28:54.749Z] Merge succeeded, producing 08e60c215f3308355d75f9b28039c48879f12d67 [2021-11-11T18:28:54.750Z] Checking out Revision 08e60c215f3308355d75f9b28039c48879f12d67 (PR-1007) [2021-11-11T18:28:53.554Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-11-11T18:28:53.565Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T18:28:53.585Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-11-11T18:28:53.621Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-11-11T18:28:53.621Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T18:28:53.623Z] [INFO] Currently running in a labeled security context [2021-11-11T18:28:53.623Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-11T18:28:53.623Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh4160295112691702247.key [2021-11-11T18:28:53.650Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/1007/head:refs/remotes/origin/PR-1007 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-11T18:28:54.222Z] > git config core.sparsecheckout # timeout=10 [2021-11-11T18:28:54.235Z] > git checkout -f 08e60c215f3308355d75f9b28039c48879f12d67 # timeout=10 [2021-11-11T18:28:54.271Z] > git remote # timeout=10 [2021-11-11T18:28:54.276Z] > git config --get remote.origin.url # timeout=10 [2021-11-11T18:28:54.281Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T18:28:54.282Z] [INFO] Currently running in a labeled security context [2021-11-11T18:28:54.282Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-11T18:28:54.282Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh5379490022793283639.key [2021-11-11T18:28:54.289Z] > git merge 39a95b068cd0ed8870bdfa4a10bdeebc7b1cc4b6 # timeout=10 [2021-11-11T18:28:54.299Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-11T18:28:54.314Z] > git config core.sparsecheckout # timeout=10 [2021-11-11T18:28:54.321Z] > git checkout -f 08e60c215f3308355d75f9b28039c48879f12d67 # timeout=10 [2021-11-11T18:28:58.387Z] Commit message: "fix: Set TargetType properly when dynamically updating to configurable pipeline" [2021-11-11T18:28:57.968Z] > git --version # timeout=10 [2021-11-11T18:28:57.977Z] > git --version # 'git version 2.24.4' [2021-11-11T18:28:57.991Z] fatal: bad object a03e002eace0db65b27acd1444eb3c4392a49323 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-11-11T18:28:59.024Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-11T18:28:59.056Z] ========================================================= [2021-11-11T18:28:59.056Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-11T18:28:59.056Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-11-11T18:28:59.488Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-11T18:28:59.488Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-11T18:28:59.488Z] a0d0a0d46f8b: Pulling fs layer [2021-11-11T18:28:59.488Z] 31adcdaf11c8: Pulling fs layer [2021-11-11T18:28:59.488Z] b8b176561691: Pulling fs layer [2021-11-11T18:28:59.488Z] 4527c011a84f: Pulling fs layer [2021-11-11T18:28:59.488Z] 5d74067f8e1e: Pulling fs layer [2021-11-11T18:28:59.488Z] e0aca202a116: Pulling fs layer [2021-11-11T18:28:59.488Z] 3a43be97a3b4: Pulling fs layer [2021-11-11T18:28:59.488Z] 34cad66bf833: Pulling fs layer [2021-11-11T18:28:59.488Z] b4e3c513aaa6: Pulling fs layer [2021-11-11T18:28:59.488Z] 4527c011a84f: Waiting [2021-11-11T18:28:59.488Z] 5d74067f8e1e: Waiting [2021-11-11T18:28:59.488Z] e0aca202a116: Waiting [2021-11-11T18:28:59.488Z] 3a43be97a3b4: Waiting [2021-11-11T18:28:59.488Z] 34cad66bf833: Waiting [2021-11-11T18:28:59.488Z] b4e3c513aaa6: Waiting [2021-11-11T18:28:59.488Z] b8b176561691: Verifying Checksum [2021-11-11T18:28:59.488Z] b8b176561691: Download complete [2021-11-11T18:28:59.488Z] 31adcdaf11c8: Verifying Checksum [2021-11-11T18:28:59.488Z] 31adcdaf11c8: Download complete [2021-11-11T18:28:59.762Z] 5d74067f8e1e: Verifying Checksum [2021-11-11T18:28:59.762Z] 5d74067f8e1e: Download complete [2021-11-11T18:28:59.762Z] e0aca202a116: Verifying Checksum [2021-11-11T18:28:59.762Z] e0aca202a116: Download complete [2021-11-11T18:28:59.762Z] 3a43be97a3b4: Verifying Checksum [2021-11-11T18:28:59.762Z] 3a43be97a3b4: Download complete [2021-11-11T18:28:59.762Z] a0d0a0d46f8b: Verifying Checksum [2021-11-11T18:28:59.762Z] a0d0a0d46f8b: Download complete [2021-11-11T18:28:59.762Z] 34cad66bf833: Verifying Checksum [2021-11-11T18:28:59.762Z] 34cad66bf833: Download complete [2021-11-11T18:29:00.029Z] a0d0a0d46f8b: Pull complete [2021-11-11T18:29:00.029Z] 31adcdaf11c8: Pull complete [2021-11-11T18:29:00.304Z] 4527c011a84f: Verifying Checksum [2021-11-11T18:29:00.304Z] 4527c011a84f: Download complete [2021-11-11T18:29:00.304Z] b8b176561691: Pull complete [2021-11-11T18:29:00.571Z] b4e3c513aaa6: Verifying Checksum [2021-11-11T18:29:00.571Z] b4e3c513aaa6: Download complete [2021-11-11T18:29:03.933Z] 4527c011a84f: Pull complete [2021-11-11T18:29:04.208Z] 5d74067f8e1e: Pull complete [2021-11-11T18:29:04.208Z] e0aca202a116: Pull complete [2021-11-11T18:29:04.208Z] 3a43be97a3b4: Pull complete [2021-11-11T18:29:04.474Z] 34cad66bf833: Pull complete [2021-11-11T18:29:07.033Z] b4e3c513aaa6: Pull complete [2021-11-11T18:29:07.033Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-11T18:29:07.033Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-11T18:29:07.033Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh [2021-11-11T18:29:07.357Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:29:07.693Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-11T18:29:07.693Z] . [Pipeline] withDockerContainer [2021-11-11T18:29:07.781Z] prd-centos7-docker-4c-2g-172 does not seem to be running inside a container [2021-11-11T18:29:07.821Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-11T18:29:11.681Z] $ docker top 002c0894d9a3344261f92e5fdd3f6962a4ebfc470224b8f587944487db32fd07 -eo pid,comm [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-11T18:29:12.120Z] + go version [2021-11-11T18:29:12.120Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-11T18:29:12.145Z] $ docker stop --time=1 002c0894d9a3344261f92e5fdd3f6962a4ebfc470224b8f587944487db32fd07 [2021-11-11T18:29:13.356Z] $ docker rm -f 002c0894d9a3344261f92e5fdd3f6962a4ebfc470224b8f587944487db32fd07 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] echo [2021-11-11T18:29:13.567Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] // stage [Pipeline] echo [2021-11-11T18:29:13.626Z] ========================================================= [2021-11-11T18:29:13.626Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-11T18:29:13.626Z] ========================================================= [Pipeline] fileExists [Pipeline] stage [Pipeline] { (Test) [Pipeline] fileExists [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:29:14.079Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-11T18:29:14.189Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-11T18:29:14.189Z] . [Pipeline] withDockerContainer [2021-11-11T18:29:14.276Z] prd-centos7-docker-4c-2g-172 does not seem to be running inside a container [2021-11-11T18:29:14.319Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-11T18:29:14.661Z] $ docker top 7457003a07c4cfe618e7d8df2a004c6bd619a664e015ad6a2c4f3eccc391d5e7 -eo pid,comm [2021-11-11T18:29:14.674Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-11T18:29:14.674Z] 552d1f2373af: Pulling fs layer [2021-11-11T18:29:14.674Z] ea3f2d53f512: Pulling fs layer [2021-11-11T18:29:14.674Z] 9e70ebbbe112: Pulling fs layer [2021-11-11T18:29:14.674Z] 7a9cfe048b4a: Pulling fs layer [2021-11-11T18:29:14.674Z] 72dc09318566: Pulling fs layer [2021-11-11T18:29:14.674Z] f4f7b4309257: Pulling fs layer [2021-11-11T18:29:14.674Z] 0ac9a79272e3: Pulling fs layer [2021-11-11T18:29:14.674Z] b78e95d17946: Pulling fs layer [2021-11-11T18:29:14.674Z] 72dc09318566: Waiting [2021-11-11T18:29:14.674Z] f4f7b4309257: Waiting [2021-11-11T18:29:14.674Z] 0ac9a79272e3: Waiting [2021-11-11T18:29:14.674Z] 7a9cfe048b4a: Waiting [2021-11-11T18:29:14.674Z] b78e95d17946: Waiting [2021-11-11T18:29:14.674Z] 9e70ebbbe112: Verifying Checksum [2021-11-11T18:29:14.674Z] 9e70ebbbe112: Download complete [2021-11-11T18:29:14.674Z] ea3f2d53f512: Verifying Checksum [2021-11-11T18:29:14.674Z] ea3f2d53f512: Download complete [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-11T18:29:14.949Z] 72dc09318566: Download complete [2021-11-11T18:29:14.949Z] f4f7b4309257: Verifying Checksum [2021-11-11T18:29:14.949Z] f4f7b4309257: Download complete [2021-11-11T18:29:14.949Z] 552d1f2373af: Verifying Checksum [2021-11-11T18:29:14.949Z] 552d1f2373af: Download complete [2021-11-11T18:29:14.949Z] 0ac9a79272e3: Verifying Checksum [2021-11-11T18:29:14.949Z] 0ac9a79272e3: Download complete [2021-11-11T18:29:15.126Z] + make test [2021-11-11T18:29:15.126Z] make -C ./app-service-template build [2021-11-11T18:29:15.126Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-11-11T18:29:15.126Z] go mod tidy [2021-11-11T18:29:15.570Z] 552d1f2373af: Pull complete [2021-11-11T18:29:16.192Z] ea3f2d53f512: Pull complete [2021-11-11T18:29:16.511Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.1-dev.27 [2021-11-11T18:29:16.511Z] go: downloading github.com/google/uuid v1.3.0 [2021-11-11T18:29:16.511Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-11-11T18:29:16.511Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.1-dev.20 [2021-11-11T18:29:16.511Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.2-dev.7 [2021-11-11T18:29:16.511Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.1-dev.9 [2021-11-11T18:29:16.511Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2021-11-11T18:29:16.511Z] go: downloading github.com/go-kit/kit v0.11.0 [2021-11-11T18:29:16.771Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2021-11-11T18:29:16.771Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-11-11T18:29:16.771Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-11-11T18:29:16.771Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2021-11-11T18:29:16.771Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-11-11T18:29:16.771Z] go: downloading github.com/stretchr/objx v0.1.1 [2021-11-11T18:29:16.771Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-11-11T18:29:16.771Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2021-11-11T18:29:16.771Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.1-dev.5 [2021-11-11T18:29:16.771Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.1-dev.9 [2021-11-11T18:29:16.771Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2021-11-11T18:29:16.771Z] go: downloading github.com/leodido/go-urn v1.2.1 [2021-11-11T18:29:16.771Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2021-11-11T18:29:16.791Z] 9e70ebbbe112: Pull complete [2021-11-11T18:29:16.791Z] b78e95d17946: Verifying Checksum [2021-11-11T18:29:17.041Z] go: downloading golang.org/x/text v0.3.6 [2021-11-11T18:29:17.042Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-11-11T18:29:17.042Z] go: downloading github.com/go-playground/locales v0.14.0 [2021-11-11T18:29:17.405Z] 7a9cfe048b4a: Verifying Checksum [2021-11-11T18:29:17.405Z] 7a9cfe048b4a: Download complete [2021-11-11T18:29:18.007Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2021-11-11T18:29:18.007Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2021-11-11T18:29:18.007Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-11-11T18:29:18.007Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2021-11-11T18:29:18.007Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-11-11T18:29:18.007Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2021-11-11T18:29:18.007Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-11-11T18:29:18.007Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2021-11-11T18:29:18.007Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-11-11T18:29:18.007Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-11-11T18:29:18.007Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2021-11-11T18:29:18.274Z] go: downloading github.com/kr/pretty v0.3.0 [2021-11-11T18:29:18.274Z] go: downloading github.com/x448/float16 v0.8.4 [2021-11-11T18:29:18.274Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-11-11T18:29:18.274Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-11-11T18:29:18.274Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-11-11T18:29:18.274Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-11-11T18:29:18.274Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-11-11T18:29:18.274Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2021-11-11T18:29:18.274Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-11-11T18:29:18.274Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-11-11T18:29:18.274Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-11-11T18:29:18.274Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-11-11T18:29:18.274Z] go: downloading github.com/kr/text v0.2.0 [2021-11-11T18:29:18.274Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2021-11-11T18:29:18.274Z] go: downloading github.com/fatih/color v1.9.0 [2021-11-11T18:29:18.274Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-11-11T18:29:18.539Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-11-11T18:29:18.539Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-11-11T18:29:18.539Z] go: downloading github.com/pkg/errors v0.9.1 [2021-11-11T18:29:18.539Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-11-11T18:29:18.539Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2021-11-11T18:29:18.539Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-11-11T18:29:18.539Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-11-11T18:29:18.539Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-11-11T18:29:18.539Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-11-11T18:29:18.539Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-11-11T18:29:18.539Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-11-11T18:29:18.539Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-11-11T18:29:18.539Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-11-11T18:29:18.539Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-11-11T18:29:18.539Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-11-11T18:29:18.539Z] go: downloading github.com/miekg/dns v1.1.26 [2021-11-11T18:29:18.539Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-11-11T18:29:18.800Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-11-11T18:29:18.800Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-11-11T18:29:18.800Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-11-11T18:29:18.800Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2021-11-11T18:29:18.800Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2021-11-11T18:29:18.800Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-11-11T18:29:18.800Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-11-11T18:29:18.800Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-11-11T18:29:19.065Z] go: downloading github.com/golang/protobuf v1.5.2 [2021-11-11T18:29:19.065Z] go: downloading github.com/fsnotify/fsnotify v1.4.7 [2021-11-11T18:29:19.065Z] go: downloading google.golang.org/protobuf v1.27.1 [2021-11-11T18:29:19.325Z] go: downloading github.com/google/go-cmp v0.5.5 [2021-11-11T18:29:19.325Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 [2021-11-11T18:29:19.325Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-11-11T18:29:27.593Z] 7a9cfe048b4a: Pull complete [2021-11-11T18:29:27.593Z] 72dc09318566: Pull complete [2021-11-11T18:29:27.868Z] f4f7b4309257: Pull complete [2021-11-11T18:29:28.480Z] 0ac9a79272e3: Pull complete [2021-11-11T18:29:31.673Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-11-11T18:29:31.673Z] make -C ./app-service-template test [2021-11-11T18:29:31.673Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-11-11T18:29:31.673Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-11-11T18:29:33.890Z] b78e95d17946: Pull complete [2021-11-11T18:29:33.890Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-11T18:29:33.890Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-11T18:29:33.890Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh [2021-11-11T18:29:34.254Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:29:34.619Z] + docker inspect -f . ci-base-image-arm64 [2021-11-11T18:29:34.619Z] . [Pipeline] withDockerContainer [2021-11-11T18:29:34.892Z] prd-ubuntu18.04-docker-arm64-4c-16g-170 does not seem to be running inside a container [2021-11-11T18:29:34.972Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-11T18:29:38.055Z] $ docker top 5ae877033d12633753049ae453129650112e5388225ceac41f738f9d7e89b0c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-11T18:29:39.061Z] + go version [2021-11-11T18:29:39.061Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-11T18:29:39.099Z] $ docker stop --time=1 5ae877033d12633753049ae453129650112e5388225ceac41f738f9d7e89b0c6 [2021-11-11T18:29:39.876Z] ok new-app-service 0.015s coverage: 48.1% of statements [2021-11-11T18:29:39.876Z] ? new-app-service/config [no test files] [2021-11-11T18:29:39.876Z] ok new-app-service/functions 0.008s [2021-11-11T18:29:39.876Z] CGO_ENABLED=1 go vet ./... [2021-11-11T18:29:40.831Z] $ docker rm -f 5ae877033d12633753049ae453129650112e5388225ceac41f738f9d7e89b0c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:29:41.719Z] + docker inspect -f . ci-base-image-arm64 [2021-11-11T18:29:41.719Z] . [Pipeline] withDockerContainer [2021-11-11T18:29:41.957Z] prd-ubuntu18.04-docker-arm64-4c-16g-170 does not seem to be running inside a container [2021-11-11T18:29:42.035Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-11T18:29:43.503Z] $ docker top 7cd71a98dc1f87b91a44590518eac44c579738c57f52d32e0f7e075e7c356032 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-11T18:29:44.528Z] + make test [2021-11-11T18:29:44.528Z] make -C ./app-service-template build [2021-11-11T18:29:44.528Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-11-11T18:29:44.528Z] go mod tidy [2021-11-11T18:29:45.958Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.1-dev.27 [2021-11-11T18:29:45.958Z] go: downloading github.com/google/uuid v1.3.0 [2021-11-11T18:29:46.231Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-11-11T18:29:46.231Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.1-dev.20 [2021-11-11T18:29:46.231Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.2-dev.7 [2021-11-11T18:29:46.231Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.1-dev.9 [2021-11-11T18:29:46.474Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-11T18:29:46.474Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-11T18:29:46.474Z] ./bin/test-attribution-txt.sh [2021-11-11T18:29:46.474Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-11-11T18:29:46.474Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-11-11T18:29:46.503Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-11-11T18:29:46.503Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-11-11T18:29:46.503Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2021-11-11T18:29:46.503Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2021-11-11T18:29:46.503Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-11-11T18:29:46.503Z] go: downloading github.com/stretchr/objx v0.1.1 [2021-11-11T18:29:46.503Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2021-11-11T18:29:46.503Z] go: downloading github.com/go-kit/kit v0.11.0 [2021-11-11T18:29:46.744Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-11-11T18:29:46.777Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-11-11T18:29:46.777Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2021-11-11T18:29:46.777Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.1-dev.5 [2021-11-11T18:29:46.777Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.1-dev.9 [2021-11-11T18:29:46.777Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-11-11T18:29:46.777Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-11-11T18:29:46.777Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2021-11-11T18:29:46.777Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2021-11-11T18:29:47.056Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-11-11T18:29:47.056Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2021-11-11T18:29:47.056Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2021-11-11T18:29:47.056Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-11-11T18:29:47.056Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2021-11-11T18:29:47.056Z] go: downloading github.com/leodido/go-urn v1.2.1 [2021-11-11T18:29:47.056Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2021-11-11T18:29:47.056Z] go: downloading golang.org/x/text v0.3.6 [2021-11-11T18:29:47.335Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-11-11T18:29:47.622Z] go: downloading github.com/go-playground/locales v0.14.0 [2021-11-11T18:29:48.208Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.012s coverage: 65.8% of statements [2021-11-11T18:29:48.208Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app/mocks [no test files] [2021-11-11T18:29:48.789Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.013s coverage: 93.7% of statements [2021-11-11T18:29:48.789Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-11-11T18:29:49.076Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.014s coverage: 61.8% of statements [2021-11-11T18:29:49.076Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-11-11T18:29:49.346Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.012s [2021-11-11T18:29:49.346Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.003s coverage: 100.0% of statements [2021-11-11T18:29:50.257Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-11-11T18:29:50.257Z] go: downloading github.com/x448/float16 v0.8.4 [2021-11-11T18:29:50.257Z] go: downloading github.com/kr/pretty v0.3.0 [2021-11-11T18:29:50.257Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2021-11-11T18:29:50.257Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-11-11T18:29:50.257Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-11-11T18:29:50.257Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-11-11T18:29:50.257Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-11-11T18:29:50.257Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-11-11T18:29:50.257Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-11-11T18:29:50.257Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2021-11-11T18:29:50.257Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-11-11T18:29:50.257Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-11-11T18:29:50.257Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2021-11-11T18:29:50.257Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-11-11T18:29:50.257Z] go: downloading github.com/kr/text v0.2.0 [2021-11-11T18:29:50.291Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.049s coverage: 78.3% of statements [2021-11-11T18:29:50.291Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-11-11T18:29:50.291Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-11-11T18:29:50.291Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-11-11T18:29:50.291Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-11-11T18:29:50.291Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-11-11T18:29:50.291Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-11-11T18:29:50.291Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.004s coverage: 97.3% of statements [2021-11-11T18:29:50.291Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-11-11T18:29:50.291Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] [2021-11-11T18:29:50.546Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2021-11-11T18:29:50.546Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-11-11T18:29:50.546Z] go: downloading github.com/fatih/color v1.9.0 [2021-11-11T18:29:50.546Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-11-11T18:29:50.546Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-11-11T18:29:50.546Z] go: downloading github.com/pkg/errors v0.9.1 [2021-11-11T18:29:50.546Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2021-11-11T18:29:50.546Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-11-11T18:29:50.546Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-11-11T18:29:50.552Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.006s coverage: 10.5% of statements [2021-11-11T18:29:50.830Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-11-11T18:29:50.831Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-11-11T18:29:50.831Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-11-11T18:29:50.831Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-11-11T18:29:50.831Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-11-11T18:29:50.831Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-11-11T18:29:50.831Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-11-11T18:29:51.108Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-11-11T18:29:51.108Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-11-11T18:29:51.108Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-11-11T18:29:51.108Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-11-11T18:29:51.108Z] go: downloading github.com/miekg/dns v1.1.26 [2021-11-11T18:29:51.108Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-11-11T18:29:51.385Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-11-11T18:29:51.385Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2021-11-11T18:29:51.385Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-11-11T18:29:51.385Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2021-11-11T18:29:51.385Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-11-11T18:29:51.385Z] go: downloading github.com/golang/protobuf v1.5.2 [2021-11-11T18:29:51.385Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-11-11T18:29:51.385Z] go: downloading github.com/fsnotify/fsnotify v1.4.7 [2021-11-11T18:29:51.659Z] go: downloading google.golang.org/protobuf v1.27.1 [2021-11-11T18:29:52.251Z] go: downloading github.com/google/go-cmp v0.5.5 [2021-11-11T18:29:52.251Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 [2021-11-11T18:29:52.527Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-11-11T18:29:54.766Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.054s coverage: 77.0% of statements [2021-11-11T18:29:54.766Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] [2021-11-11T18:29:54.766Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-11-11T18:29:54.766Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.008s coverage: 14.3% of statements [2021-11-11T18:29:54.766Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.009s coverage: 27.3% of statements [2021-11-11T18:29:54.766Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-11-11T18:29:54.766Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-11-11T18:29:54.766Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.008s coverage: 51.4% of statements [2021-11-11T18:30:21.357Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.042s coverage: 78.2% of statements [2021-11-11T18:30:21.357Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.007s coverage: 94.4% of statements [2021-11-11T18:30:21.357Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-11T18:30:21.357Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-11T18:30:21.357Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } [2021-11-11T18:30:31.499Z] $ docker stop --time=1 7457003a07c4cfe618e7d8df2a004c6bd619a664e015ad6a2c4f3eccc391d5e7 [2021-11-11T18:30:31.554Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-11-11T18:30:31.554Z] make -C ./app-service-template test [2021-11-11T18:30:31.554Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-11-11T18:30:31.554Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-11-11T18:30:32.818Z] $ docker rm -f 7457003a07c4cfe618e7d8df2a004c6bd619a664e015ad6a2c4f3eccc391d5e7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-11T18:30:33.617Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-11T18:30:33.842Z] 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] sh [2021-11-11T18:30:35.016Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T18:30:35.016Z] [2021-11-11T18:30:35.016Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:30:35.372Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T18:30:35.372Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-11T18:30:35.372Z] b4d181a07f80: Pulling fs layer [2021-11-11T18:30:35.372Z] a1111a8f2ec3: Pulling fs layer [2021-11-11T18:30:35.372Z] ed53099fbce6: Pulling fs layer [2021-11-11T18:30:35.372Z] dc539afda2c1: Pulling fs layer [2021-11-11T18:30:35.372Z] 77bc0d833cb6: Pulling fs layer [2021-11-11T18:30:35.372Z] 9065ff56babe: Pulling fs layer [2021-11-11T18:30:35.372Z] d287ab97295c: Pulling fs layer [2021-11-11T18:30:35.372Z] dc539afda2c1: Waiting [2021-11-11T18:30:35.372Z] 77bc0d833cb6: Waiting [2021-11-11T18:30:35.372Z] 9065ff56babe: Waiting [2021-11-11T18:30:35.372Z] d287ab97295c: Waiting [2021-11-11T18:30:35.372Z] a1111a8f2ec3: Verifying Checksum [2021-11-11T18:30:35.372Z] a1111a8f2ec3: Download complete [2021-11-11T18:30:35.372Z] dc539afda2c1: Verifying Checksum [2021-11-11T18:30:35.372Z] dc539afda2c1: Download complete [2021-11-11T18:30:35.372Z] ed53099fbce6: Verifying Checksum [2021-11-11T18:30:35.372Z] ed53099fbce6: Download complete [2021-11-11T18:30:35.372Z] 9065ff56babe: Verifying Checksum [2021-11-11T18:30:35.372Z] 9065ff56babe: Download complete [2021-11-11T18:30:35.372Z] 77bc0d833cb6: Verifying Checksum [2021-11-11T18:30:35.372Z] 77bc0d833cb6: Download complete [2021-11-11T18:30:35.638Z] b4d181a07f80: Verifying Checksum [2021-11-11T18:30:35.638Z] b4d181a07f80: Download complete [2021-11-11T18:30:36.222Z] d287ab97295c: Verifying Checksum [2021-11-11T18:30:36.222Z] d287ab97295c: Download complete [2021-11-11T18:30:37.173Z] b4d181a07f80: Pull complete [2021-11-11T18:30:37.173Z] a1111a8f2ec3: Pull complete [2021-11-11T18:30:37.769Z] ed53099fbce6: Pull complete [2021-11-11T18:30:37.769Z] dc539afda2c1: Pull complete [2021-11-11T18:30:38.045Z] 77bc0d833cb6: Pull complete [2021-11-11T18:30:38.045Z] 9065ff56babe: Pull complete [2021-11-11T18:30:43.372Z] d287ab97295c: Pull complete [2021-11-11T18:30:43.372Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-11T18:30:43.372Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T18:30:43.372Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-11T18:30:43.479Z] prd-centos7-docker-4c-2g-172 does not seem to be running inside a container [2021-11-11T18:30:43.525Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-11T18:30:46.169Z] $ docker top b13d3aef33da80a8be3b0e2641d41186ef335313971317b4f7fc5070d3d89696 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:30:46.711Z] ---> job-cost.sh [2021-11-11T18:30:46.711Z] lf-activate-venv: SKIPPING [2021-11-11T18:30:46.711Z] INFO: No Stack... [2021-11-11T18:30:47.283Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-11T18:30:47.548Z] INFO: Archiving Costs [Pipeline] sh [2021-11-11T18:30:47.878Z] + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv [2021-11-11T18:30:47.878Z] + cut -d, -f6 [Pipeline] lock [2021-11-11T18:30:47.925Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1007-1-stack-cost] [2021-11-11T18:30:47.935Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1007-1-stack-cost] did not exist. Created. [2021-11-11T18:30:47.935Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1007-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-11T18:30:48.323Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-11T18:30:48.396Z] Stashed 1 file(s) [Pipeline] } [2021-11-11T18:30:48.421Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1007-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-11T18:30:48.487Z] $ docker stop --time=1 b13d3aef33da80a8be3b0e2641d41186ef335313971317b4f7fc5070d3d89696 [2021-11-11T18:30:49.673Z] $ docker rm -f b13d3aef33da80a8be3b0e2641d41186ef335313971317b4f7fc5070d3d89696 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-11T18:31:03.975Z] ok new-app-service 0.049s coverage: 48.1% of statements [2021-11-11T18:31:03.975Z] ? new-app-service/config [no test files] [2021-11-11T18:31:03.975Z] ok new-app-service/functions 0.052s [2021-11-11T18:31:03.975Z] CGO_ENABLED=1 go vet ./... [2021-11-11T18:31:26.202Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-11T18:31:26.202Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-11T18:31:26.202Z] ./bin/test-attribution-txt.sh [2021-11-11T18:31:26.795Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-11-11T18:31:26.795Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-11-11T18:31:28.239Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-11-11T18:31:38.442Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.112s coverage: 65.8% of statements [2021-11-11T18:31:38.442Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app/mocks [no test files] [2021-11-11T18:31:38.442Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.073s coverage: 93.7% of statements [2021-11-11T18:31:38.442Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-11-11T18:31:38.442Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.125s coverage: 61.8% of statements [2021-11-11T18:31:38.442Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-11-11T18:31:38.442Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.093s [2021-11-11T18:31:38.442Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.016s coverage: 100.0% of statements [2021-11-11T18:31:38.720Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.187s coverage: 78.3% of statements [2021-11-11T18:31:38.720Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-11-11T18:31:38.720Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-11-11T18:31:38.720Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-11-11T18:31:38.720Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-11-11T18:31:38.720Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-11-11T18:31:38.720Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-11-11T18:31:38.720Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.012s coverage: 97.3% of statements [2021-11-11T18:31:38.720Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-11-11T18:31:38.720Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] [2021-11-11T18:31:38.720Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.046s coverage: 10.5% of statements [2021-11-11T18:31:45.468Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.231s coverage: 77.0% of statements [2021-11-11T18:31:45.468Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] [2021-11-11T18:31:45.468Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-11-11T18:31:45.468Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.069s coverage: 14.3% of statements [2021-11-11T18:31:45.468Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.118s coverage: 27.3% of statements [2021-11-11T18:31:45.468Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-11-11T18:31:45.468Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-11-11T18:31:45.468Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.044s coverage: 51.4% of statements [2021-11-11T18:32:12.238Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.128s coverage: 78.2% of statements [2021-11-11T18:32:12.238Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.037s coverage: 94.4% of statements [2021-11-11T18:32:12.238Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-11T18:32:15.648Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-11T18:32:15.920Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-11T18:32:16.516Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] } [2021-11-11T18:32:16.579Z] $ docker stop --time=1 7cd71a98dc1f87b91a44590518eac44c579738c57f52d32e0f7e075e7c356032 [2021-11-11T18:32:18.390Z] $ docker rm -f 7cd71a98dc1f87b91a44590518eac44c579738c57f52d32e0f7e075e7c356032 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-11T18:32:20.885Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-11T18:32:20.920Z] Warning: overwriting stash ‘coverage-report’ [2021-11-11T18:32:21.638Z] 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] sh [2021-11-11T18:32:22.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-11T18:32:22.523Z] [2021-11-11T18:32:22.523Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:32:23.220Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-11T18:32:23.498Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-11T18:32:23.498Z] 448f6bf000e3: Pulling fs layer [2021-11-11T18:32:23.498Z] f757da607395: Pulling fs layer [2021-11-11T18:32:23.498Z] 05883995daec: Pulling fs layer [2021-11-11T18:32:23.498Z] 8603b9c90790: Pulling fs layer [2021-11-11T18:32:23.498Z] 1560dd03e051: Pulling fs layer [2021-11-11T18:32:23.498Z] 27f5ce0e4adf: Pulling fs layer [2021-11-11T18:32:23.498Z] c2d8d7efcc4b: Pulling fs layer [2021-11-11T18:32:23.498Z] 8603b9c90790: Waiting [2021-11-11T18:32:23.498Z] 1560dd03e051: Waiting [2021-11-11T18:32:23.498Z] 27f5ce0e4adf: Waiting [2021-11-11T18:32:23.498Z] c2d8d7efcc4b: Waiting [2021-11-11T18:32:23.498Z] f757da607395: Verifying Checksum [2021-11-11T18:32:23.498Z] f757da607395: Download complete [2021-11-11T18:32:23.498Z] 8603b9c90790: Verifying Checksum [2021-11-11T18:32:23.498Z] 8603b9c90790: Download complete [2021-11-11T18:32:23.805Z] 1560dd03e051: Download complete [2021-11-11T18:32:23.805Z] 27f5ce0e4adf: Verifying Checksum [2021-11-11T18:32:23.805Z] 27f5ce0e4adf: Download complete [2021-11-11T18:32:23.805Z] 05883995daec: Verifying Checksum [2021-11-11T18:32:23.805Z] 05883995daec: Download complete [2021-11-11T18:32:24.082Z] 448f6bf000e3: Verifying Checksum [2021-11-11T18:32:24.082Z] 448f6bf000e3: Download complete [2021-11-11T18:32:26.715Z] c2d8d7efcc4b: Verifying Checksum [2021-11-11T18:32:26.716Z] c2d8d7efcc4b: Download complete [2021-11-11T18:32:28.150Z] 448f6bf000e3: Pull complete [2021-11-11T18:32:28.423Z] f757da607395: Pull complete [2021-11-11T18:32:29.856Z] 05883995daec: Pull complete [2021-11-11T18:32:30.128Z] 8603b9c90790: Pull complete [2021-11-11T18:32:31.105Z] 1560dd03e051: Pull complete [2021-11-11T18:32:31.378Z] 27f5ce0e4adf: Pull complete [2021-11-11T18:32:46.460Z] c2d8d7efcc4b: Pull complete [2021-11-11T18:32:46.460Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-11T18:32:46.460Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-11T18:32:46.460Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-11T18:32:46.737Z] prd-ubuntu18.04-docker-arm64-4c-16g-170 does not seem to be running inside a container [2021-11-11T18:32:46.817Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-11T18:32:49.453Z] $ docker top 67297b7388b00b8bd810c9654a29968b76655e5bad74d35de4dffc4181475699 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:32:50.458Z] ---> job-cost.sh [2021-11-11T18:32:50.458Z] lf-activate-venv: SKIPPING [2021-11-11T18:32:50.458Z] INFO: No Stack... [2021-11-11T18:32:50.729Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-11T18:32:51.001Z] INFO: Archiving Costs [Pipeline] sh [2021-11-11T18:32:51.678Z] + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv [2021-11-11T18:32:51.678Z] + cut -d, -f6 [Pipeline] lock [2021-11-11T18:32:51.755Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1007-1-stack-cost] [2021-11-11T18:32:51.759Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1007-1-stack-cost] did not exist. Created. [2021-11-11T18:32:51.759Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1007-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-11T18:32:52.490Z] /w/workspace/app-functions-sdk-go/1@tmp/durable-4a3ab876/script.sh: 1: /w/workspace/app-functions-sdk-go/1@tmp/durable-4a3ab876/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-11T18:32:53.170Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-11T18:32:53.205Z] Warning: overwriting stash ‘stack-cost’ [2021-11-11T18:32:53.267Z] Stashed 1 file(s) [Pipeline] } [2021-11-11T18:32:53.282Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1007-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-11T18:32:53.344Z] $ docker stop --time=1 67297b7388b00b8bd810c9654a29968b76655e5bad74d35de4dffc4181475699 [2021-11-11T18:32:54.887Z] $ docker rm -f 67297b7388b00b8bd810c9654a29968b76655e5bad74d35de4dffc4181475699 [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 [2021-11-11T18:32:55.889Z] provisioning config files... [2021-11-11T18:32:55.899Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/dry_app-functions-sdk-go_PR-1007@tmp/config3815620477190921636tmp [Pipeline] { [Pipeline] sh [2021-11-11T18:32:56.225Z] + set +x [2021-11-11T18:32:56.225Z] + curl -s https://codecov.io/bash [2021-11-11T18:32:56.225Z] + bash -s -- [2021-11-11T18:32:56.225Z] [2021-11-11T18:32:56.225Z] _____ _ [2021-11-11T18:32:56.225Z] / ____| | | [2021-11-11T18:32:56.225Z] | | ___ __| | ___ ___ _____ __ [2021-11-11T18:32:56.225Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-11T18:32:56.225Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-11T18:32:56.225Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-11T18:32:56.225Z] Bash-1.0.6 [2021-11-11T18:32:56.225Z] [2021-11-11T18:32:56.225Z] [2021-11-11T18:32:56.225Z] ==> git version 2.24.4 found [2021-11-11T18:32:56.225Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-11-11T18:32:56.225Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-11T18:32:56.225Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-11T18:32:56.225Z] ==> Jenkins CI detected. [2021-11-11T18:32:56.225Z] current dir:  /w/workspace/dry_app-functions-sdk-go_PR-1007 [2021-11-11T18:32:56.225Z] project root: . [2021-11-11T18:32:56.225Z] --> token set from env [2021-11-11T18:32:56.485Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-11T18:32:56.485Z] ==> Running gcov in . (disable via -X gcov) [2021-11-11T18:32:56.485Z] ==> Python coveragepy not found [2021-11-11T18:32:56.485Z] ==> Searching for coverage reports in: [2021-11-11T18:32:56.485Z] + . [2021-11-11T18:32:56.485Z] -> Found 2 reports [2021-11-11T18:32:56.485Z] ==> Detecting git/mercurial file structure [2021-11-11T18:32:56.485Z] ==> Reading reports [2021-11-11T18:32:56.485Z] + ./app-service-template/coverage.out bytes=1219 [2021-11-11T18:32:56.485Z] + ./coverage.out bytes=107982 [2021-11-11T18:32:56.485Z] ==> Appending adjustments [2021-11-11T18:32:56.485Z] https://docs.codecov.io/docs/fixing-reports [2021-11-11T18:32:56.756Z] + Found adjustments [2021-11-11T18:32:56.756Z] ==> Gzipping contents [2021-11-11T18:32:56.756Z] 20K /tmp/codecov.X55N5G.gz [2021-11-11T18:32:56.756Z] ==> Uploading reports [2021-11-11T18:32:56.756Z] url: https://codecov.io [2021-11-11T18:32:56.756Z] query: branch=PR-1007&commit=08e60c215f3308355d75f9b28039c48879f12d67&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-1007%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=1007&job=&cmd_args= [2021-11-11T18:32:56.756Z] -> Pinging Codecov [2021-11-11T18:32:56.756Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-1007&commit=08e60c215f3308355d75f9b28039c48879f12d67&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-1007%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=1007&job=&cmd_args= [2021-11-11T18:32:57.328Z] -> Uploading to [2021-11-11T18:32:57.328Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-11/3D8B5DFFC46A037C893635FACE044666/08e60c215f3308355d75f9b28039c48879f12d67/e519beb9-a774-44e5-ac19-3a2cf3b41c6c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211111T183257Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dc6c46a9dd5509b20f8eca24743a9d0bb1ce8048f50bded3bbb8c4024249a5dc [2021-11-11T18:32:57.328Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-11T18:32:57.328Z] Dload Upload Total Spent Left Speed [2021-11-11T18:32:57.588Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18931 0 0 100 18931 0 57927 --:--:-- --:--:-- --:--:-- 57892 100 18931 0 0 100 18931 0 57900 --:--:-- --:--:-- --:--:-- 57892 [2021-11-11T18:32:57.588Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/08e60c215f3308355d75f9b28039c48879f12d67 [Pipeline] } [2021-11-11T18:32:57.606Z] 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 [2021-11-11T18:32:59.580Z] + '[' -d /w/workspace/dry_app-functions-sdk-go_PR-1007/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:32:59.910Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:33:00.514Z] ---> package-listing.sh [2021-11-11T18:33:00.514Z] ++ facter osfamily [2021-11-11T18:33:00.514Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-11T18:33:00.781Z] + OS_FAMILY=redhat [2021-11-11T18:33:00.781Z] + workspace=/w/workspace/dry_app-functions-sdk-go_PR-1007 [2021-11-11T18:33:00.781Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-11T18:33:00.781Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-11T18:33:00.781Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-11T18:33:00.781Z] + PACKAGES=/tmp/packages_start.txt [2021-11-11T18:33:00.781Z] + '[' /w/workspace/dry_app-functions-sdk-go_PR-1007 ']' [2021-11-11T18:33:00.781Z] + PACKAGES=/tmp/packages_end.txt [2021-11-11T18:33:00.781Z] + case "${OS_FAMILY}" in [2021-11-11T18:33:00.781Z] + sort [2021-11-11T18:33:00.781Z] + rpm -qa [2021-11-11T18:33:01.355Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-11T18:33:01.355Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-11T18:33:01.355Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-11T18:33:01.355Z] + '[' /w/workspace/dry_app-functions-sdk-go_PR-1007 ']' [2021-11-11T18:33:01.355Z] + mkdir -p /w/workspace/dry_app-functions-sdk-go_PR-1007/archives/ [2021-11-11T18:33:01.355Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_app-functions-sdk-go_PR-1007/archives/ [Pipeline] echo [2021-11-11T18:33:01.383Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -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-1007/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-11T18:33:01.684Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:33:02.288Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T18:33:02.288Z] [2021-11-11T18:33:02.288Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:33:02.625Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T18:33:02.625Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-11T18:33:02.625Z] b4d181a07f80: Pulling fs layer [2021-11-11T18:33:02.625Z] a1111a8f2ec3: Pulling fs layer [2021-11-11T18:33:02.625Z] ed53099fbce6: Pulling fs layer [2021-11-11T18:33:02.625Z] dc539afda2c1: Pulling fs layer [2021-11-11T18:33:02.625Z] 77bc0d833cb6: Pulling fs layer [2021-11-11T18:33:02.625Z] 9065ff56babe: Pulling fs layer [2021-11-11T18:33:02.625Z] d287ab97295c: Pulling fs layer [2021-11-11T18:33:02.625Z] dc539afda2c1: Waiting [2021-11-11T18:33:02.625Z] 77bc0d833cb6: Waiting [2021-11-11T18:33:02.625Z] 9065ff56babe: Waiting [2021-11-11T18:33:02.625Z] d287ab97295c: Waiting [2021-11-11T18:33:02.625Z] a1111a8f2ec3: Verifying Checksum [2021-11-11T18:33:02.625Z] a1111a8f2ec3: Download complete [2021-11-11T18:33:02.625Z] dc539afda2c1: Verifying Checksum [2021-11-11T18:33:02.625Z] dc539afda2c1: Download complete [2021-11-11T18:33:02.625Z] ed53099fbce6: Verifying Checksum [2021-11-11T18:33:02.625Z] ed53099fbce6: Download complete [2021-11-11T18:33:02.625Z] 77bc0d833cb6: Verifying Checksum [2021-11-11T18:33:02.625Z] 77bc0d833cb6: Download complete [2021-11-11T18:33:02.625Z] 9065ff56babe: Verifying Checksum [2021-11-11T18:33:02.625Z] 9065ff56babe: Download complete [2021-11-11T18:33:02.891Z] b4d181a07f80: Verifying Checksum [2021-11-11T18:33:02.891Z] b4d181a07f80: Download complete [2021-11-11T18:33:03.482Z] d287ab97295c: Verifying Checksum [2021-11-11T18:33:03.483Z] d287ab97295c: Download complete [2021-11-11T18:33:04.444Z] b4d181a07f80: Pull complete [2021-11-11T18:33:04.444Z] a1111a8f2ec3: Pull complete [2021-11-11T18:33:05.025Z] ed53099fbce6: Pull complete [2021-11-11T18:33:05.025Z] dc539afda2c1: Pull complete [2021-11-11T18:33:05.293Z] 77bc0d833cb6: Pull complete [2021-11-11T18:33:05.293Z] 9065ff56babe: Pull complete [2021-11-11T18:33:10.611Z] d287ab97295c: Pull complete [2021-11-11T18:33:10.611Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-11T18:33:10.611Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T18:33:10.611Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-11T18:33:10.694Z] prd-centos7-docker-4c-2g-169 does not seem to be running inside a container [2021-11-11T18:33:10.733Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -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-1007/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-1007 -v /w/workspace/dry_app-functions-sdk-go_PR-1007:/w/workspace/dry_app-functions-sdk-go_PR-1007:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1007@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1007@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-11T18:33:13.789Z] $ docker top bb4847e93da0acd89c3a3f2b421154a151c743a795e4e8c4600e44955e4a211f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-11T18:33:14.203Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-11T18:33:14.520Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-11T18:33:14.830Z] + ls /var/log/sa-host [2021-11-11T18:33:14.830Z] + sadf -c /var/log/sa-host/sa11 [2021-11-11T18:33:14.830Z] file_magic: OK [2021-11-11T18:33:14.830Z] HZ: Using current value: 100 [2021-11-11T18:33:14.830Z] file_header: OK [2021-11-11T18:33:14.830Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-11T18:33:14.830Z] Statistics: [2021-11-11T18:33:14.830Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-11T18:33:14.830Z] File successfully converted to sysstat format version 12.0.3 [2021-11-11T18:33:14.830Z] + sadf -c /var/log/sa-host/sa30 [2021-11-11T18:33:14.830Z] file_magic: OK [2021-11-11T18:33:14.830Z] HZ: Using current value: 100 [2021-11-11T18:33:14.830Z] file_header: OK [2021-11-11T18:33:14.830Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-11T18:33:14.830Z] Statistics: [2021-11-11T18:33:14.830Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-11T18:33:14.830Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T18:33:14.967Z] provisioning config files... [2021-11-11T18:33:14.977Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-functions-sdk-go_PR-1007@tmp/config2803701654845488907tmp [Pipeline] { [Pipeline] echo [2021-11-11T18:33:15.020Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:33:15.337Z] ---> create-netrc.sh [Pipeline] } [2021-11-11T18:33:15.354Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:33:15.733Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-11T18:33:15.757Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:33:16.074Z] ---> sudo-logs.sh [2021-11-11T18:33:16.074Z] Archiving 'sudo' log.. [2021-11-11T18:33:16.074Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-169.novalocal: Name or service not known [2021-11-11T18:33:16.074Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-169.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-11T18:33:16.134Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:33:16.452Z] ---> job-cost.sh [2021-11-11T18:33:16.452Z] lf-activate-venv: SKIPPING [2021-11-11T18:33:16.452Z] DEBUG: total: 0.10999999940395355 [2021-11-11T18:33:16.452Z] INFO: Retrieving Stack Cost... [2021-11-11T18:33:16.711Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-11T18:33:16.972Z] INFO: Archiving Costs [Pipeline] echo [2021-11-11T18:33:16.997Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:33:17.321Z] ---> logs-deploy.sh [2021-11-11T18:33:17.321Z] lf-activate-venv: SKIPPING [2021-11-11T18:33:17.321Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-1007/1 [2021-11-11T18:33:17.321Z] INFO: archiving workspace using pattern(s): [2021-11-11T18:33:17.891Z] Archives upload complete. [2021-11-11T18:33:18.151Z] INFO: archiving logs to Nexus