Pull request #997 updated 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 a1a30735006143909878feb0258cac09a364a890+e89e98e8daeb6a8ecc0e156476fdfb296812f4c9 (f0094dc3ae320cb7ac35f08509701dd11fe4d94f) Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh1107029933540275130.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh3796842687372526038.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 9a07f3f07dd1acff74ab8b51a5ea399813bb16af The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-997/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-997/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3141937762817171176.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a07f3f07dd1acff74ab8b51a5ea399813bb16af # timeout=10 Commit message: "Merge pull request #362 from edgexfoundry/lts-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh2187234953525914006.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-997/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-997/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1760548518662460360.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 on ‘prd-centos7-docker-4c-2g-28151’ Running on prd-centos7-docker-4c-2g-28430 in /w/workspace/ndry_app-functions-sdk-go_PR-997 [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/ndry_app-functions-sdk-go_PR-997 # 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/ndry_app-functions-sdk-go_PR-997@tmp/jenkins-gitclient-ssh3805180669007894044.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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/ndry_app-functions-sdk-go_PR-997@tmp/jenkins-gitclient-ssh6455643353872104372.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/997/head:refs/remotes/origin/PR-997 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e89e98e8daeb6a8ecc0e156476fdfb296812f4c9 into PR head commit a1a30735006143909878feb0258cac09a364a890 Merge succeeded, producing a1a30735006143909878feb0258cac09a364a890 Checking out Revision a1a30735006143909878feb0258cac09a364a890 (PR-997) > git config core.sparsecheckout # timeout=10 > git checkout -f a1a30735006143909878feb0258cac09a364a890 # 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/ndry_app-functions-sdk-go_PR-997@tmp/jenkins-gitclient-ssh2224918245081731864.key > git merge e89e98e8daeb6a8ecc0e156476fdfb296812f4c9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a1a30735006143909878feb0258cac09a364a890 # timeout=10 Commit message: "docs: Update Change Log for 2.1.0" First time build. Skipping changelog. > git rev-list --no-walk dd15cc513fdc0a78199db4d7276516b8335ae3ab # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-09T20:01:14.516Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-09T20:01:14.573Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-09T20:01:14.591Z] ========================================================= [2021-11-09T20:01:14.591Z] EdgeX Global Pipelines Version Info [2021-11-09T20:01:14.591Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-09T20:01:15.913Z] ------------------- [2021-11-09T20:01:15.913Z] stable info: [2021-11-09T20:01:15.913Z] ------------------- [2021-11-09T20:01:15.913Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-09T20:01:15.913Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-09T20:01:15.913Z] Message: update stable to v1.0.211 [2021-11-09T20:01:16.506Z] ------------------- [2021-11-09T20:01:16.506Z] experimental info: [2021-11-09T20:01:16.506Z] ------------------- [2021-11-09T20:01:16.506Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-09T20:01:16.506Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-09T20:01:16.506Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-09T20:01:16.612Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-11-09T20:01:16.620Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-11-09T20:01:16.628Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-09T20:01:16.640Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-09T20:01:16.654Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-09T20:01:16.664Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-09T20:01:16.674Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-09T20:01:16.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-11-09T20:01:16.696Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-09T20:01:17.722Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-09T20:01:17.734Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-09T20:01:17.745Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-11-09T20:01:17.763Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-09T20:01:17.774Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-09T20:01:17.784Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-11-09T20:01:17.800Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-11-09T20:01:17.816Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-09T20:01:17.827Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-09T20:01:17.845Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-09T20:01:17.861Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-09T20:01:17.878Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-11-09T20:01:17.888Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-11-09T20:01:17.900Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-09T20:01:17.921Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-09T20:01:17.930Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-11-09T20:01:17.941Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-09T20:01:17.949Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-997 [Pipeline] echo [2021-11-09T20:01:17.957Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-997 [Pipeline] echo [2021-11-09T20:01:17.966Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-997 [Pipeline] echo [2021-11-09T20:01:17.974Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a1a30735006143909878feb0258cac09a364a890 [Pipeline] echo [2021-11-09T20:01:17.985Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a1a3073 [Pipeline] echo [2021-11-09T20:01:18.004Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-09T20:01:18.533Z] + git rev-list -1 --merges a1a30735006143909878feb0258cac09a364a890~1..a1a30735006143909878feb0258cac09a364a890 [Pipeline] echo [2021-11-09T20:01:19.678Z] -----------> git rev-list -1 --merges a1a30735006143909878feb0258cac09a364a890~1..a1a30735006143909878feb0258cac09a364a890 a1a30735006143909878feb0258cac09a364a890 [false] [Pipeline] sh [2021-11-09T20:01:20.023Z] + git log --format=format:%s -1 a1a30735006143909878feb0258cac09a364a890 [Pipeline] echo [2021-11-09T20:01:20.062Z] ========================================================= [2021-11-09T20:01:20.062Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-09T20:01:20.062Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-09T20:01:20.464Z] + git log --format=format:%s -1 a1a30735006143909878feb0258cac09a364a890 [Pipeline] echo [2021-11-09T20:01:20.481Z] [semverPrep] GIT_COMMIT: a1a30735006143909878feb0258cac09a364a890, Commit Message: docs: Update Change Log for 2.1.0 [Pipeline] echo [2021-11-09T20:01:20.487Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-09T20:01:22.032Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-09T20:01:22.032Z] [2021-11-09T20:01:22.032Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T20:01:22.367Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-09T20:01:22.367Z] latest: Pulling from edgex-devops/git-semver [2021-11-09T20:01:22.367Z] a0d0a0d46f8b: Pulling fs layer [2021-11-09T20:01:22.367Z] 3e5f54012d9b: Pulling fs layer [2021-11-09T20:01:22.367Z] 4c7163046ea9: Pulling fs layer [2021-11-09T20:01:22.367Z] 0c2d73faf560: Pulling fs layer [2021-11-09T20:01:22.367Z] 0c2d73faf560: Waiting [2021-11-09T20:01:22.367Z] 3e5f54012d9b: Verifying Checksum [2021-11-09T20:01:22.367Z] 3e5f54012d9b: Download complete [2021-11-09T20:01:22.632Z] a0d0a0d46f8b: Verifying Checksum [2021-11-09T20:01:22.632Z] a0d0a0d46f8b: Download complete [2021-11-09T20:01:22.632Z] 0c2d73faf560: Verifying Checksum [2021-11-09T20:01:22.632Z] 0c2d73faf560: Download complete [2021-11-09T20:01:22.632Z] 4c7163046ea9: Verifying Checksum [2021-11-09T20:01:22.632Z] 4c7163046ea9: Download complete [2021-11-09T20:01:22.899Z] a0d0a0d46f8b: Pull complete [2021-11-09T20:01:22.899Z] 3e5f54012d9b: Pull complete [2021-11-09T20:01:23.188Z] 4c7163046ea9: Pull complete [2021-11-09T20:01:23.468Z] 0c2d73faf560: Pull complete [2021-11-09T20:01:23.468Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-09T20:01:23.468Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-09T20:01:23.468Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-09T20:01:23.557Z] prd-centos7-docker-4c-2g-28430 does not seem to be running inside a container [2021-11-09T20:01:23.669Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-997 -v /w/workspace/ndry_app-functions-sdk-go_PR-997:/w/workspace/ndry_app-functions-sdk-go_PR-997:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-997@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-997@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-09T20:01:25.045Z] $ docker top 449846aeb1b43a1cbb586982f4f4d30ed1e764f99da77f318b1449e35025b099 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-09T20:01:25.154Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-09T20:01:25.154Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-09T20:01:25.261Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-09T20:01:25.264Z] $ docker exec 449846aeb1b43a1cbb586982f4f4d30ed1e764f99da77f318b1449e35025b099 ssh-agent [2021-11-09T20:01:25.382Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOmpEhj/agent.13 [2021-11-09T20:01:25.382Z] SSH_AGENT_PID=20 [2021-11-09T20:01:25.393Z] Running ssh-add (command line suppressed) [2021-11-09T20:01:25.488Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-997@tmp/private_key_4926556850482288901.key (/w/workspace/ndry_app-functions-sdk-go_PR-997@tmp/private_key_4926556850482288901.key) [2021-11-09T20:01:25.506Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-09T20:01:25.835Z] + git tag --points-at HEAD [Pipeline] } [2021-11-09T20:01:25.853Z] $ docker exec --env ******** --env ******** 449846aeb1b43a1cbb586982f4f4d30ed1e764f99da77f318b1449e35025b099 ssh-agent -k [2021-11-09T20:01:25.950Z] unset SSH_AUTH_SOCK; [2021-11-09T20:01:25.950Z] unset SSH_AGENT_PID; [2021-11-09T20:01:25.950Z] echo Agent pid 20 killed; [2021-11-09T20:01:25.967Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-09T20:01:25.990Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-09T20:01:25.990Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-09T20:01:26.123Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-09T20:01:26.125Z] $ docker exec 449846aeb1b43a1cbb586982f4f4d30ed1e764f99da77f318b1449e35025b099 ssh-agent [2021-11-09T20:01:26.245Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXldmpMa/agent.54 [2021-11-09T20:01:26.245Z] SSH_AGENT_PID=60 [2021-11-09T20:01:26.255Z] Running ssh-add (command line suppressed) [2021-11-09T20:01:26.353Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-997@tmp/private_key_4459119969204899549.key (/w/workspace/ndry_app-functions-sdk-go_PR-997@tmp/private_key_4459119969204899549.key) [2021-11-09T20:01:26.372Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-09T20:01:26.683Z] + git semver init [2021-11-09T20:01:26.683Z] # -> Open(): unable to determine branch for HEAD [2021-11-09T20:01:26.683Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-997/.git [2021-11-09T20:01:26.683Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-997 [2021-11-09T20:01:26.683Z] # $SEMVER_REMOTE_NAME = origin [2021-11-09T20:01:26.683Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-09T20:01:26.683Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-09T20:01:26.683Z] # $SEMVER_BRANCH = PR-997 [2021-11-09T20:01:26.683Z] # $SEMVER_TEMP = /tmp/semver-580910940 [2021-11-09T20:01:26.683Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-11-09T20:01:29.555Z] # '/tmp/semver-580910940' -> '/w/workspace/ndry_app-functions-sdk-go_PR-997/.semver' [2021-11-09T20:01:29.555Z] # -> Force: false [2021-11-09T20:01:29.555Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-997/.semver [Pipeline] } [2021-11-09T20:01:29.569Z] $ docker exec --env ******** --env ******** 449846aeb1b43a1cbb586982f4f4d30ed1e764f99da77f318b1449e35025b099 ssh-agent -k [2021-11-09T20:01:29.673Z] unset SSH_AUTH_SOCK; [2021-11-09T20:01:29.673Z] unset SSH_AGENT_PID; [2021-11-09T20:01:29.673Z] echo Agent pid 60 killed; [2021-11-09T20:01:29.686Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-09T20:01:30.011Z] + git semver [Pipeline] } [2021-11-09T20:01:30.446Z] $ docker stop --time=1 449846aeb1b43a1cbb586982f4f4d30ed1e764f99da77f318b1449e35025b099 [2021-11-09T20:01:31.966Z] $ docker rm -f 449846aeb1b43a1cbb586982f4f4d30ed1e764f99da77f318b1449e35025b099 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-09T20:01:32.351Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-09T20:01:32.768Z] Stashed 1 file(s) [Pipeline] echo [2021-11-09T20:01:32.771Z] [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-09T20:01:42.193Z] Running on prd-centos7-docker-4c-2g-28439 in /w/workspace/ndry_app-functions-sdk-go_PR-997 [Pipeline] { [Pipeline] ws [2021-11-09T20:01:42.209Z] Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-11-09T20:01:42.334Z] The recommended git tool is: git [2021-11-09T20:01:47.458Z] using credential edgex-jenkins-ssh [2021-11-09T20:01:47.477Z] Cloning the remote Git repository [2021-11-09T20:01:47.900Z] Still waiting to schedule task [2021-11-09T20:01:47.900Z] ‘prd-centos7-docker-4c-2g-28429’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-11-09T20:01:47.900Z] ‘prd-centos7-docker-4c-2g-28440’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-11-09T20:01:47.900Z] ‘prd-centos7-docker-4c-2g-28441’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-11-09T20:01:47.900Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-28432’ is offline [2021-11-09T20:01:47.497Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-11-09T20:01:47.557Z] > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 [2021-11-09T20:01:47.590Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-11-09T20:01:47.590Z] > git --version # timeout=10 [2021-11-09T20:01:47.597Z] > git --version # 'git version 2.24.4' [2021-11-09T20:01:47.598Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T20:01:47.619Z] [INFO] Currently running in a labeled security context [2021-11-09T20:01:47.619Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-09T20:01:47.619Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh3072014434258453655.key [2021-11-09T20:01:47.632Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-09T20:01:54.904Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-11-09T20:01:54.918Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-09T20:01:54.933Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-11-09T20:01:54.946Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-11-09T20:01:54.946Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T20:01:54.947Z] [INFO] Currently running in a labeled security context [2021-11-09T20:01:54.947Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-09T20:01:54.947Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh6955861926553027731.key [2021-11-09T20:01:54.955Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/997/head:refs/remotes/origin/PR-997 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-09T20:01:56.363Z] Merging remotes/origin/main commit e89e98e8daeb6a8ecc0e156476fdfb296812f4c9 into PR head commit a1a30735006143909878feb0258cac09a364a890 [2021-11-09T20:01:56.473Z] Merge succeeded, producing a1a30735006143909878feb0258cac09a364a890 [2021-11-09T20:01:56.474Z] Checking out Revision a1a30735006143909878feb0258cac09a364a890 (PR-997) [2021-11-09T20:01:56.380Z] > git config core.sparsecheckout # timeout=10 [2021-11-09T20:01:56.391Z] > git checkout -f a1a30735006143909878feb0258cac09a364a890 # timeout=10 [2021-11-09T20:01:56.433Z] > git remote # timeout=10 [2021-11-09T20:01:56.439Z] > git config --get remote.origin.url # timeout=10 [2021-11-09T20:01:56.445Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T20:01:56.445Z] [INFO] Currently running in a labeled security context [2021-11-09T20:01:56.446Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-09T20:01:56.446Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh7281422112461825173.key [2021-11-09T20:01:56.454Z] > git merge e89e98e8daeb6a8ecc0e156476fdfb296812f4c9 # timeout=10 [2021-11-09T20:01:56.464Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-09T20:01:56.476Z] > git config core.sparsecheckout # timeout=10 [2021-11-09T20:01:56.483Z] > git checkout -f a1a30735006143909878feb0258cac09a364a890 # timeout=10 [2021-11-09T20:02:01.031Z] Commit message: "docs: Update Change Log for 2.1.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-11-09T20:02:01.601Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-09T20:02:01.610Z] ========================================================= [2021-11-09T20:02:01.610Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-09T20:02:01.610Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-11-09T20:02:02.981Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-09T20:02:03.246Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-09T20:02:03.246Z] a0d0a0d46f8b: Pulling fs layer [2021-11-09T20:02:03.246Z] 31adcdaf11c8: Pulling fs layer [2021-11-09T20:02:03.246Z] b8b176561691: Pulling fs layer [2021-11-09T20:02:03.246Z] 4527c011a84f: Pulling fs layer [2021-11-09T20:02:03.246Z] 5d74067f8e1e: Pulling fs layer [2021-11-09T20:02:03.246Z] e0aca202a116: Pulling fs layer [2021-11-09T20:02:03.246Z] 3a43be97a3b4: Pulling fs layer [2021-11-09T20:02:03.246Z] 34cad66bf833: Pulling fs layer [2021-11-09T20:02:03.246Z] b4e3c513aaa6: Pulling fs layer [2021-11-09T20:02:03.246Z] e0aca202a116: Waiting [2021-11-09T20:02:03.246Z] 3a43be97a3b4: Waiting [2021-11-09T20:02:03.246Z] 34cad66bf833: Waiting [2021-11-09T20:02:03.246Z] 4527c011a84f: Waiting [2021-11-09T20:02:03.246Z] b4e3c513aaa6: Waiting [2021-11-09T20:02:03.246Z] 5d74067f8e1e: Waiting [2021-11-09T20:02:03.246Z] 31adcdaf11c8: Verifying Checksum [2021-11-09T20:02:03.246Z] 31adcdaf11c8: Download complete [2021-11-09T20:02:03.529Z] a0d0a0d46f8b: Verifying Checksum [2021-11-09T20:02:03.529Z] a0d0a0d46f8b: Download complete [2021-11-09T20:02:03.529Z] 5d74067f8e1e: Verifying Checksum [2021-11-09T20:02:03.529Z] 5d74067f8e1e: Download complete [2021-11-09T20:02:03.529Z] e0aca202a116: Verifying Checksum [2021-11-09T20:02:03.529Z] e0aca202a116: Download complete [2021-11-09T20:02:03.529Z] 3a43be97a3b4: Verifying Checksum [2021-11-09T20:02:03.529Z] 3a43be97a3b4: Download complete [2021-11-09T20:02:03.529Z] b8b176561691: Verifying Checksum [2021-11-09T20:02:03.529Z] b8b176561691: Download complete [2021-11-09T20:02:03.529Z] a0d0a0d46f8b: Pull complete [2021-11-09T20:02:03.805Z] 31adcdaf11c8: Pull complete [2021-11-09T20:02:03.805Z] b8b176561691: Pull complete [2021-11-09T20:02:04.067Z] 34cad66bf833: Verifying Checksum [2021-11-09T20:02:04.067Z] 34cad66bf833: Download complete [2021-11-09T20:02:04.067Z] b4e3c513aaa6: Verifying Checksum [2021-11-09T20:02:04.067Z] b4e3c513aaa6: Download complete [2021-11-09T20:02:05.462Z] 4527c011a84f: Verifying Checksum [2021-11-09T20:02:05.462Z] 4527c011a84f: Download complete [2021-11-09T20:02:09.031Z] 4527c011a84f: Pull complete [2021-11-09T20:02:09.031Z] 5d74067f8e1e: Pull complete [2021-11-09T20:02:09.031Z] e0aca202a116: Pull complete [2021-11-09T20:02:09.306Z] 3a43be97a3b4: Pull complete [2021-11-09T20:02:09.306Z] 34cad66bf833: Pull complete [2021-11-09T20:02:12.974Z] b4e3c513aaa6: Pull complete [2021-11-09T20:02:12.974Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-09T20:02:12.974Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-09T20:02:12.974Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh [2021-11-09T20:02:13.312Z] + 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-09T20:02:13.636Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-09T20:02:13.636Z] . [Pipeline] withDockerContainer [2021-11-09T20:02:13.708Z] prd-centos7-docker-4c-2g-28439 does not seem to be running inside a container [2021-11-09T20:02:13.753Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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 ******** -e ******** ci-base-image-x86_64 cat [2021-11-09T20:02:16.679Z] $ docker top 225b282fea4bb376b4cb2cc5beb78e5ebef7dbfa72973e96908c81a249954504 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-09T20:02:17.072Z] + go version [2021-11-09T20:02:17.072Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-09T20:02:17.081Z] $ docker stop --time=1 225b282fea4bb376b4cb2cc5beb78e5ebef7dbfa72973e96908c81a249954504 [2021-11-09T20:02:18.312Z] $ docker rm -f 225b282fea4bb376b4cb2cc5beb78e5ebef7dbfa72973e96908c81a249954504 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-09T20:02:18.770Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-09T20:02:18.770Z] . [Pipeline] withDockerContainer [2021-11-09T20:02:18.836Z] prd-centos7-docker-4c-2g-28439 does not seem to be running inside a container [2021-11-09T20:02:18.889Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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 ******** -e ******** ci-base-image-x86_64 cat [2021-11-09T20:02:19.311Z] $ docker top e7f26e7f1fd138cdec0fb1d5c9edd120b7712074ebb45d4c442d9ba00b257cdd -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-09T20:02:19.703Z] + make test [2021-11-09T20:02:19.703Z] make -C ./app-service-template build [2021-11-09T20:02:19.703Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-11-09T20:02:19.703Z] go mod tidy [2021-11-09T20:02:22.246Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.1-dev.27 [2021-11-09T20:02:22.246Z] go: downloading github.com/google/uuid v1.3.0 [2021-11-09T20:02:22.246Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-11-09T20:02:22.246Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.1-dev.20 [2021-11-09T20:02:22.246Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.2-dev.7 [2021-11-09T20:02:22.246Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.1-dev.9 [2021-11-09T20:02:22.246Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2021-11-09T20:02:22.246Z] go: downloading github.com/go-kit/kit v0.11.0 [2021-11-09T20:02:22.246Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2021-11-09T20:02:22.510Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-11-09T20:02:22.510Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-11-09T20:02:22.510Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2021-11-09T20:02:22.510Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-11-09T20:02:22.510Z] go: downloading github.com/stretchr/objx v0.1.1 [2021-11-09T20:02:22.510Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-11-09T20:02:22.510Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2021-11-09T20:02:22.771Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.1-dev.5 [2021-11-09T20:02:22.771Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.1-dev.9 [2021-11-09T20:02:22.771Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2021-11-09T20:02:22.771Z] go: downloading github.com/leodido/go-urn v1.2.1 [2021-11-09T20:02:22.771Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2021-11-09T20:02:22.771Z] go: downloading golang.org/x/text v0.3.6 [2021-11-09T20:02:23.032Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-11-09T20:02:23.032Z] go: downloading github.com/go-playground/locales v0.14.0 [2021-11-09T20:02:23.614Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2021-11-09T20:02:23.614Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2021-11-09T20:02:23.884Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-11-09T20:02:23.884Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-11-09T20:02:23.884Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2021-11-09T20:02:23.884Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-11-09T20:02:23.884Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-11-09T20:02:24.146Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2021-11-09T20:02:24.146Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2021-11-09T20:02:24.146Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-11-09T20:02:24.146Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2021-11-09T20:02:24.146Z] go: downloading github.com/kr/pretty v0.3.0 [2021-11-09T20:02:24.411Z] go: downloading github.com/x448/float16 v0.8.4 [2021-11-09T20:02:24.411Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-11-09T20:02:24.411Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-11-09T20:02:24.709Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-11-09T20:02:24.709Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-11-09T20:02:24.709Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-11-09T20:02:24.709Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-11-09T20:02:24.709Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-11-09T20:02:24.709Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-11-09T20:02:24.709Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2021-11-09T20:02:24.709Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-11-09T20:02:24.709Z] go: downloading github.com/kr/text v0.2.0 [2021-11-09T20:02:24.709Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2021-11-09T20:02:24.709Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2021-11-09T20:02:24.709Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-11-09T20:02:24.709Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-11-09T20:02:25.280Z] go: downloading github.com/fatih/color v1.9.0 [2021-11-09T20:02:25.280Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-11-09T20:02:25.280Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-11-09T20:02:25.280Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-11-09T20:02:25.280Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-11-09T20:02:25.280Z] go: downloading github.com/pkg/errors v0.9.1 [2021-11-09T20:02:25.280Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-11-09T20:02:25.280Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-11-09T20:02:25.280Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-11-09T20:02:25.280Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-11-09T20:02:25.541Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-11-09T20:02:25.541Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-11-09T20:02:25.541Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-11-09T20:02:25.541Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-11-09T20:02:25.808Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-11-09T20:02:25.808Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-11-09T20:02:25.808Z] go: downloading github.com/miekg/dns v1.1.26 [2021-11-09T20:02:25.808Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-11-09T20:02:25.808Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-11-09T20:02:25.808Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-11-09T20:02:25.808Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2021-11-09T20:02:25.808Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2021-11-09T20:02:26.068Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-11-09T20:02:26.068Z] go: downloading github.com/golang/protobuf v1.5.2 [2021-11-09T20:02:26.068Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-11-09T20:02:26.068Z] go: downloading github.com/fsnotify/fsnotify v1.4.7 [2021-11-09T20:02:26.068Z] go: downloading google.golang.org/protobuf v1.27.1 [2021-11-09T20:02:26.336Z] go: downloading github.com/google/go-cmp v0.5.5 [2021-11-09T20:02:26.336Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 [2021-11-09T20:02:26.336Z] 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-09T20:02:39.563Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-11-09T20:02:39.563Z] make -C ./app-service-template test [2021-11-09T20:02:39.563Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-11-09T20:02:39.563Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-11-09T20:02:48.637Z] ok new-app-service 0.023s coverage: 48.1% of statements [2021-11-09T20:02:48.637Z] ? new-app-service/config [no test files] [2021-11-09T20:02:48.637Z] ok new-app-service/functions 0.008s [2021-11-09T20:02:48.637Z] CGO_ENABLED=1 go vet ./... [2021-11-09T20:02:57.495Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-09T20:02:57.495Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-09T20:02:57.495Z] ./bin/test-attribution-txt.sh [2021-11-09T20:02:57.495Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-11-09T20:02:57.495Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-11-09T20:02:57.768Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-11-09T20:02:59.759Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.012s coverage: 65.7% of statements [2021-11-09T20:02:59.759Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app/mocks [no test files] [2021-11-09T20:02:59.759Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.006s coverage: 93.7% of statements [2021-11-09T20:02:59.759Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-11-09T20:03:00.746Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.018s coverage: 61.8% of statements [2021-11-09T20:03:00.746Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-11-09T20:03:00.746Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.007s [2021-11-09T20:03:00.746Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.004s coverage: 100.0% of statements [2021-11-09T20:03:01.605Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.071s coverage: 75.7% of statements [2021-11-09T20:03:01.605Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-11-09T20:03:01.605Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-11-09T20:03:01.605Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-11-09T20:03:01.605Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-11-09T20:03:01.605Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-11-09T20:03:01.605Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-11-09T20:03:01.605Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.011s coverage: 97.3% of statements [2021-11-09T20:03:01.605Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-11-09T20:03:01.605Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] [2021-11-09T20:03:01.605Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.006s coverage: 10.5% of statements [2021-11-09T20:03:05.477Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.064s coverage: 77.0% of statements [2021-11-09T20:03:05.477Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] [2021-11-09T20:03:05.477Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-11-09T20:03:05.477Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.007s coverage: 14.3% of statements [2021-11-09T20:03:05.477Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.008s coverage: 27.3% of statements [2021-11-09T20:03:05.477Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-11-09T20:03:05.477Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-11-09T20:03:05.477Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.006s coverage: 51.4% of statements [2021-11-09T20:03:29.435Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.028s coverage: 78.2% of statements [2021-11-09T20:03:29.435Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.006s coverage: 94.4% of statements [2021-11-09T20:03:29.435Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-09T20:03:30.683Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-09T20:03:30.683Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } [2021-11-09T20:03:43.694Z] $ docker stop --time=1 e7f26e7f1fd138cdec0fb1d5c9edd120b7712074ebb45d4c442d9ba00b257cdd [2021-11-09T20:03:45.156Z] $ docker rm -f e7f26e7f1fd138cdec0fb1d5c9edd120b7712074ebb45d4c442d9ba00b257cdd [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-09T20:03:45.874Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-09T20:03:48.501Z] 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-09T20:03:51.284Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T20:03:51.284Z] [2021-11-09T20:03:51.284Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T20:03:51.597Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T20:03:51.597Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-09T20:03:51.597Z] b4d181a07f80: Pulling fs layer [2021-11-09T20:03:51.597Z] a1111a8f2ec3: Pulling fs layer [2021-11-09T20:03:51.597Z] ed53099fbce6: Pulling fs layer [2021-11-09T20:03:51.597Z] dc539afda2c1: Pulling fs layer [2021-11-09T20:03:51.597Z] 77bc0d833cb6: Pulling fs layer [2021-11-09T20:03:51.597Z] 9065ff56babe: Pulling fs layer [2021-11-09T20:03:51.597Z] d287ab97295c: Pulling fs layer [2021-11-09T20:03:51.597Z] dc539afda2c1: Waiting [2021-11-09T20:03:51.597Z] 77bc0d833cb6: Waiting [2021-11-09T20:03:51.597Z] 9065ff56babe: Waiting [2021-11-09T20:03:51.597Z] d287ab97295c: Waiting [2021-11-09T20:03:51.597Z] a1111a8f2ec3: Verifying Checksum [2021-11-09T20:03:51.597Z] a1111a8f2ec3: Download complete [2021-11-09T20:03:51.597Z] dc539afda2c1: Verifying Checksum [2021-11-09T20:03:51.597Z] dc539afda2c1: Download complete [2021-11-09T20:03:51.868Z] ed53099fbce6: Verifying Checksum [2021-11-09T20:03:51.868Z] ed53099fbce6: Download complete [2021-11-09T20:03:51.868Z] 77bc0d833cb6: Verifying Checksum [2021-11-09T20:03:51.868Z] 77bc0d833cb6: Download complete [2021-11-09T20:03:51.868Z] 9065ff56babe: Verifying Checksum [2021-11-09T20:03:51.868Z] 9065ff56babe: Download complete [2021-11-09T20:03:51.868Z] b4d181a07f80: Verifying Checksum [2021-11-09T20:03:51.868Z] b4d181a07f80: Download complete [2021-11-09T20:03:52.443Z] d287ab97295c: Verifying Checksum [2021-11-09T20:03:52.443Z] d287ab97295c: Download complete [2021-11-09T20:03:53.012Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-28442 in /w/workspace/ndry_app-functions-sdk-go_PR-997 [Pipeline] { [Pipeline] ws [2021-11-09T20:03:53.025Z] Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-11-09T20:03:53.247Z] The recommended git tool is: git [2021-11-09T20:03:53.406Z] b4d181a07f80: Pull complete [2021-11-09T20:03:53.406Z] a1111a8f2ec3: Pull complete [2021-11-09T20:03:53.978Z] ed53099fbce6: Pull complete [2021-11-09T20:03:53.978Z] dc539afda2c1: Pull complete [2021-11-09T20:03:54.240Z] 77bc0d833cb6: Pull complete [2021-11-09T20:03:54.507Z] 9065ff56babe: Pull complete [2021-11-09T20:03:59.703Z] d287ab97295c: Pull complete [2021-11-09T20:03:59.703Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-09T20:03:59.703Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T20:03:59.703Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-09T20:03:59.766Z] prd-centos7-docker-4c-2g-28439 does not seem to be running inside a container [2021-11-09T20:03:59.813Z] $ 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/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-09T20:04:00.213Z] using credential edgex-jenkins-ssh [2021-11-09T20:04:00.239Z] Cloning the remote Git repository [2021-11-09T20:04:00.346Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-11-09T20:04:00.517Z] > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 [2021-11-09T20:04:00.618Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-11-09T20:04:00.620Z] > git --version # timeout=10 [2021-11-09T20:04:00.643Z] > git --version # 'git version 2.17.1' [2021-11-09T20:04:00.645Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T20:04:00.763Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-09T20:04:04.144Z] $ docker top b0a1f441ee3ff79ea8e74eaa64847718f3a7791ee92042eb14141f3dee11bdfa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T20:04:04.699Z] ---> job-cost.sh [2021-11-09T20:04:04.699Z] lf-activate-venv: SKIPPING [2021-11-09T20:04:04.699Z] INFO: No Stack... [2021-11-09T20:04:04.958Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-09T20:04:05.745Z] INFO: Archiving Costs [Pipeline] sh [2021-11-09T20:04:06.058Z] + cat /w/workspace/app-functions-sdk-go/3/archives/cost.csv [2021-11-09T20:04:06.058Z] + cut -d, -f6 [Pipeline] lock [2021-11-09T20:04:06.085Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-997-3-stack-cost] [2021-11-09T20:04:06.095Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-997-3-stack-cost] did not exist. Created. [2021-11-09T20:04:06.095Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-997-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-09T20:04:06.415Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-09T20:04:06.465Z] Stashed 1 file(s) [Pipeline] } [2021-11-09T20:04:06.471Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-997-3-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-09T20:04:06.488Z] $ docker stop --time=1 b0a1f441ee3ff79ea8e74eaa64847718f3a7791ee92042eb14141f3dee11bdfa [2021-11-09T20:04:07.689Z] $ docker rm -f b0a1f441ee3ff79ea8e74eaa64847718f3a7791ee92042eb14141f3dee11bdfa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2021-11-09T20:04:07.828Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-11-09T20:04:07.859Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-09T20:04:07.891Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-11-09T20:04:07.928Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-11-09T20:04:07.929Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T20:04:07.944Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/997/head:refs/remotes/origin/PR-997 +refs/heads/main:refs/remotes/origin/main # timeout=10 [Pipeline] // stage [Pipeline] } [2021-11-09T20:04:08.662Z] Merging remotes/origin/main commit e89e98e8daeb6a8ecc0e156476fdfb296812f4c9 into PR head commit a1a30735006143909878feb0258cac09a364a890 [2021-11-09T20:04:08.925Z] Merge succeeded, producing a1a30735006143909878feb0258cac09a364a890 [2021-11-09T20:04:08.925Z] Checking out Revision a1a30735006143909878feb0258cac09a364a890 (PR-997) [2021-11-09T20:04:08.684Z] > git config core.sparsecheckout # timeout=10 [2021-11-09T20:04:08.701Z] > git checkout -f a1a30735006143909878feb0258cac09a364a890 # timeout=10 [2021-11-09T20:04:08.822Z] > git remote # timeout=10 [2021-11-09T20:04:08.843Z] > git config --get remote.origin.url # timeout=10 [2021-11-09T20:04:08.867Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T20:04:08.882Z] > git merge e89e98e8daeb6a8ecc0e156476fdfb296812f4c9 # timeout=10 [2021-11-09T20:04:08.907Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-09T20:04:08.932Z] > git config core.sparsecheckout # timeout=10 [2021-11-09T20:04:08.943Z] > git checkout -f a1a30735006143909878feb0258cac09a364a890 # timeout=10 [2021-11-09T20:04:13.598Z] Commit message: "docs: Update Change Log for 2.1.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-09T20:04:14.774Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-09T20:04:14.775Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-09T20:04:14.775Z] Dload Upload Total Spent Left Speed [2021-11-09T20:04:14.775Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 59120 0 --:--:-- --:--:-- --:--:-- 59120 [Pipeline] sh [2021-11-09T20:04:15.199Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-09T20:04:15.554Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-09T20:04:15.555Z] + sudo tee /etc/docker/daemon.new [2021-11-09T20:04:15.555Z] { [2021-11-09T20:04:15.555Z] "registry-mirrors": [ [2021-11-09T20:04:15.555Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-09T20:04:15.555Z] ], [2021-11-09T20:04:15.555Z] "bip": "10.250.0.254/24", [2021-11-09T20:04:15.555Z] "hosts": [ [2021-11-09T20:04:15.555Z] "tcp://0.0.0.0:5555", [2021-11-09T20:04:15.555Z] "unix:///var/run/docker.sock" [2021-11-09T20:04:15.555Z] ], [2021-11-09T20:04:15.555Z] "mtu": 1458, [2021-11-09T20:04:15.555Z] "selinux-enabled": true, [2021-11-09T20:04:15.555Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-09T20:04:15.555Z] } [Pipeline] sh [2021-11-09T20:04:15.903Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-09T20:04:16.251Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2021-11-09T20:04:36.686Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-09T20:04:36.695Z] ========================================================= [2021-11-09T20:04:36.695Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-09T20:04:36.695Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-11-09T20:04:37.088Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-09T20:04:38.097Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-09T20:04:38.097Z] 552d1f2373af: Pulling fs layer [2021-11-09T20:04:38.097Z] ea3f2d53f512: Pulling fs layer [2021-11-09T20:04:38.097Z] 9e70ebbbe112: Pulling fs layer [2021-11-09T20:04:38.097Z] 7a9cfe048b4a: Pulling fs layer [2021-11-09T20:04:38.097Z] 72dc09318566: Pulling fs layer [2021-11-09T20:04:38.097Z] f4f7b4309257: Pulling fs layer [2021-11-09T20:04:38.097Z] 0ac9a79272e3: Pulling fs layer [2021-11-09T20:04:38.097Z] b78e95d17946: Pulling fs layer [2021-11-09T20:04:38.097Z] 7a9cfe048b4a: Waiting [2021-11-09T20:04:38.097Z] 72dc09318566: Waiting [2021-11-09T20:04:38.097Z] f4f7b4309257: Waiting [2021-11-09T20:04:38.097Z] 0ac9a79272e3: Waiting [2021-11-09T20:04:38.097Z] b78e95d17946: Waiting [2021-11-09T20:04:38.097Z] 9e70ebbbe112: Verifying Checksum [2021-11-09T20:04:38.097Z] 9e70ebbbe112: Download complete [2021-11-09T20:04:38.097Z] ea3f2d53f512: Download complete [2021-11-09T20:04:38.097Z] 72dc09318566: Verifying Checksum [2021-11-09T20:04:38.097Z] 72dc09318566: Download complete [2021-11-09T20:04:38.097Z] f4f7b4309257: Download complete [2021-11-09T20:04:38.097Z] 552d1f2373af: Verifying Checksum [2021-11-09T20:04:38.097Z] 0ac9a79272e3: Verifying Checksum [2021-11-09T20:04:38.097Z] 0ac9a79272e3: Download complete [2021-11-09T20:04:39.100Z] 552d1f2373af: Pull complete [2021-11-09T20:04:39.729Z] ea3f2d53f512: Pull complete [2021-11-09T20:04:40.337Z] 9e70ebbbe112: Pull complete [2021-11-09T20:04:40.337Z] b78e95d17946: Verifying Checksum [2021-11-09T20:04:40.337Z] b78e95d17946: Download complete [2021-11-09T20:04:40.939Z] 7a9cfe048b4a: Verifying Checksum [2021-11-09T20:04:40.939Z] 7a9cfe048b4a: Download complete [2021-11-09T20:04:51.330Z] 7a9cfe048b4a: Pull complete [2021-11-09T20:04:51.330Z] 72dc09318566: Pull complete [2021-11-09T20:04:51.608Z] f4f7b4309257: Pull complete [2021-11-09T20:04:51.889Z] 0ac9a79272e3: Pull complete [2021-11-09T20:04:57.369Z] b78e95d17946: Pull complete [2021-11-09T20:04:57.369Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-09T20:04:57.369Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-09T20:04:57.369Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh [2021-11-09T20:04:58.563Z] + 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-09T20:04:58.926Z] + docker inspect -f . ci-base-image-arm64 [2021-11-09T20:04:58.927Z] . [Pipeline] withDockerContainer [2021-11-09T20:04:59.226Z] prd-ubuntu18.04-docker-arm64-4c-16g-28442 does not seem to be running inside a container [2021-11-09T20:04:59.404Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-09T20:05:01.936Z] $ docker top 80f275d9d36fcfc3bf0679925caaadd5825a65353f9cec9b1e80c8bb174adbe5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-09T20:05:02.981Z] + go version [2021-11-09T20:05:02.981Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-09T20:05:03.020Z] $ docker stop --time=1 80f275d9d36fcfc3bf0679925caaadd5825a65353f9cec9b1e80c8bb174adbe5 [2021-11-09T20:05:04.903Z] $ docker rm -f 80f275d9d36fcfc3bf0679925caaadd5825a65353f9cec9b1e80c8bb174adbe5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-09T20:05:05.651Z] + docker inspect -f . ci-base-image-arm64 [2021-11-09T20:05:05.651Z] . [Pipeline] withDockerContainer [2021-11-09T20:05:05.957Z] prd-ubuntu18.04-docker-arm64-4c-16g-28442 does not seem to be running inside a container [2021-11-09T20:05:06.061Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-09T20:05:07.732Z] $ docker top 36a1134aa7b1e243f189a4231de3622de75b75532c970f1210a55676d7460467 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-09T20:05:08.792Z] + make test [2021-11-09T20:05:08.792Z] make -C ./app-service-template build [2021-11-09T20:05:08.792Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-11-09T20:05:08.792Z] go mod tidy [2021-11-09T20:05:12.370Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.1-dev.27 [2021-11-09T20:05:12.370Z] go: downloading github.com/google/uuid v1.3.0 [2021-11-09T20:05:12.370Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-11-09T20:05:12.370Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.1-dev.20 [2021-11-09T20:05:12.370Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.2-dev.7 [2021-11-09T20:05:12.370Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.1-dev.9 [2021-11-09T20:05:12.370Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-11-09T20:05:12.370Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-11-09T20:05:12.370Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2021-11-09T20:05:12.370Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2021-11-09T20:05:12.370Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-11-09T20:05:12.370Z] go: downloading github.com/stretchr/objx v0.1.1 [2021-11-09T20:05:12.370Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2021-11-09T20:05:12.370Z] go: downloading github.com/go-kit/kit v0.11.0 [2021-11-09T20:05:12.370Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-11-09T20:05:12.370Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2021-11-09T20:05:12.370Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.1-dev.5 [2021-11-09T20:05:12.370Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.1-dev.9 [2021-11-09T20:05:12.370Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-11-09T20:05:12.370Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-11-09T20:05:12.370Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2021-11-09T20:05:12.370Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-11-09T20:05:12.370Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2021-11-09T20:05:12.370Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2021-11-09T20:05:12.370Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2021-11-09T20:05:12.370Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-11-09T20:05:12.370Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2021-11-09T20:05:12.370Z] go: downloading github.com/leodido/go-urn v1.2.1 [2021-11-09T20:05:12.370Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2021-11-09T20:05:12.370Z] go: downloading golang.org/x/text v0.3.6 [2021-11-09T20:05:12.370Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-11-09T20:05:12.656Z] go: downloading github.com/go-playground/locales v0.14.0 [2021-11-09T20:05:16.104Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-11-09T20:05:16.104Z] go: downloading github.com/kr/pretty v0.3.0 [2021-11-09T20:05:16.104Z] go: downloading github.com/x448/float16 v0.8.4 [2021-11-09T20:05:16.104Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2021-11-09T20:05:16.104Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-11-09T20:05:16.104Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-11-09T20:05:16.104Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-11-09T20:05:16.104Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-11-09T20:05:16.104Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-11-09T20:05:16.104Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-11-09T20:05:16.104Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-11-09T20:05:16.104Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2021-11-09T20:05:16.104Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-11-09T20:05:16.104Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2021-11-09T20:05:16.104Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-11-09T20:05:16.104Z] go: downloading github.com/kr/text v0.2.0 [2021-11-09T20:05:16.104Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2021-11-09T20:05:16.104Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2021-11-09T20:05:16.104Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-11-09T20:05:16.104Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-11-09T20:05:16.104Z] go: downloading github.com/fatih/color v1.9.0 [2021-11-09T20:05:16.104Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-11-09T20:05:16.104Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-11-09T20:05:16.104Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-11-09T20:05:16.104Z] go: downloading github.com/pkg/errors v0.9.1 [2021-11-09T20:05:16.104Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-11-09T20:05:16.104Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-11-09T20:05:16.410Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-11-09T20:05:16.410Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-11-09T20:05:16.410Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-11-09T20:05:16.410Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-11-09T20:05:16.410Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-11-09T20:05:16.692Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-11-09T20:05:16.692Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-11-09T20:05:16.692Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-11-09T20:05:16.692Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-11-09T20:05:16.692Z] go: downloading github.com/miekg/dns v1.1.26 [2021-11-09T20:05:16.692Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-11-09T20:05:17.866Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-11-09T20:05:17.866Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2021-11-09T20:05:17.866Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-11-09T20:05:17.866Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2021-11-09T20:05:17.866Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-11-09T20:05:17.866Z] go: downloading github.com/golang/protobuf v1.5.2 [2021-11-09T20:05:17.866Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-11-09T20:05:17.866Z] go: downloading github.com/fsnotify/fsnotify v1.4.7 [2021-11-09T20:05:17.866Z] go: downloading google.golang.org/protobuf v1.27.1 [2021-11-09T20:05:17.866Z] go: downloading github.com/google/go-cmp v0.5.5 [2021-11-09T20:05:18.146Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 [2021-11-09T20:05:18.146Z] 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-09T20:06:05.649Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-11-09T20:06:05.649Z] make -C ./app-service-template test [2021-11-09T20:06:05.649Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-11-09T20:06:05.649Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-11-09T20:06:46.034Z] ok new-app-service 0.053s coverage: 48.1% of statements [2021-11-09T20:06:46.034Z] ? new-app-service/config [no test files] [2021-11-09T20:06:46.034Z] ok new-app-service/functions 0.050s [2021-11-09T20:06:46.034Z] CGO_ENABLED=1 go vet ./... [2021-11-09T20:07:19.905Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-09T20:07:19.905Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-09T20:07:19.905Z] ./bin/test-attribution-txt.sh [2021-11-09T20:07:19.905Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-11-09T20:07:19.905Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-11-09T20:07:19.905Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-11-09T20:07:35.166Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.131s coverage: 65.7% of statements [2021-11-09T20:07:35.166Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app/mocks [no test files] [2021-11-09T20:07:35.166Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.099s coverage: 93.7% of statements [2021-11-09T20:07:35.166Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-11-09T20:07:35.166Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.102s coverage: 61.8% of statements [2021-11-09T20:07:35.166Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-11-09T20:07:35.166Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.042s [2021-11-09T20:07:35.166Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.037s coverage: 100.0% of statements [2021-11-09T20:07:35.166Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.162s coverage: 75.7% of statements [2021-11-09T20:07:35.166Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-11-09T20:07:35.166Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-11-09T20:07:35.166Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-11-09T20:07:35.166Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-11-09T20:07:35.166Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-11-09T20:07:35.166Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-11-09T20:07:35.166Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.016s coverage: 97.3% of statements [2021-11-09T20:07:35.166Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-11-09T20:07:35.166Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] [2021-11-09T20:07:35.166Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.044s coverage: 10.5% of statements [2021-11-09T20:07:42.174Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.265s coverage: 77.0% of statements [2021-11-09T20:07:42.174Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] [2021-11-09T20:07:42.174Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-11-09T20:07:42.174Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.069s coverage: 14.3% of statements [2021-11-09T20:07:42.174Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.154s coverage: 27.3% of statements [2021-11-09T20:07:42.174Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-11-09T20:07:42.174Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-11-09T20:07:42.174Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.052s coverage: 51.4% of statements [2021-11-09T20:08:07.513Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.142s coverage: 78.2% of statements [2021-11-09T20:08:07.513Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.036s coverage: 94.4% of statements [2021-11-09T20:08:07.513Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-09T20:08:12.884Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-09T20:08:13.964Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-09T20:08:14.814Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] } [2021-11-09T20:08:14.842Z] $ docker stop --time=1 36a1134aa7b1e243f189a4231de3622de75b75532c970f1210a55676d7460467 [2021-11-09T20:08:16.847Z] $ docker rm -f 36a1134aa7b1e243f189a4231de3622de75b75532c970f1210a55676d7460467 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-09T20:08:20.201Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-09T20:08:20.246Z] Warning: overwriting stash ‘coverage-report’ [2021-11-09T20:08:21.748Z] 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-09T20:08:23.949Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-09T20:08:23.949Z] [2021-11-09T20:08:23.949Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-09T20:08:24.338Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-09T20:08:24.643Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-09T20:08:24.643Z] 448f6bf000e3: Pulling fs layer [2021-11-09T20:08:24.643Z] f757da607395: Pulling fs layer [2021-11-09T20:08:24.643Z] 05883995daec: Pulling fs layer [2021-11-09T20:08:24.643Z] 8603b9c90790: Pulling fs layer [2021-11-09T20:08:24.643Z] 1560dd03e051: Pulling fs layer [2021-11-09T20:08:24.643Z] 27f5ce0e4adf: Pulling fs layer [2021-11-09T20:08:24.643Z] c2d8d7efcc4b: Pulling fs layer [2021-11-09T20:08:24.643Z] 1560dd03e051: Waiting [2021-11-09T20:08:24.643Z] 27f5ce0e4adf: Waiting [2021-11-09T20:08:24.643Z] c2d8d7efcc4b: Waiting [2021-11-09T20:08:24.643Z] 8603b9c90790: Waiting [2021-11-09T20:08:26.309Z] f757da607395: Verifying Checksum [2021-11-09T20:08:26.309Z] f757da607395: Download complete [2021-11-09T20:08:26.309Z] 8603b9c90790: Download complete [2021-11-09T20:08:26.309Z] 448f6bf000e3: Verifying Checksum [2021-11-09T20:08:26.309Z] 448f6bf000e3: Download complete [2021-11-09T20:08:26.846Z] 1560dd03e051: Verifying Checksum [2021-11-09T20:08:26.846Z] 1560dd03e051: Download complete [2021-11-09T20:08:26.846Z] 27f5ce0e4adf: Verifying Checksum [2021-11-09T20:08:26.846Z] 05883995daec: Verifying Checksum [2021-11-09T20:08:26.846Z] 05883995daec: Download complete [2021-11-09T20:08:30.692Z] c2d8d7efcc4b: Verifying Checksum [2021-11-09T20:08:30.692Z] c2d8d7efcc4b: Download complete [2021-11-09T20:08:30.980Z] 448f6bf000e3: Pull complete [2021-11-09T20:08:31.520Z] f757da607395: Pull complete [2021-11-09T20:08:33.214Z] 05883995daec: Pull complete [2021-11-09T20:08:33.495Z] 8603b9c90790: Pull complete [2021-11-09T20:08:34.538Z] 1560dd03e051: Pull complete [2021-11-09T20:08:34.818Z] 27f5ce0e4adf: Pull complete [2021-11-09T20:08:50.812Z] c2d8d7efcc4b: Pull complete [2021-11-09T20:08:50.812Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-09T20:08:50.812Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-09T20:08:50.812Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-09T20:08:51.657Z] prd-ubuntu18.04-docker-arm64-4c-16g-28442 does not seem to be running inside a container [2021-11-09T20:08:52.061Z] $ 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/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-09T20:08:55.463Z] $ docker top 1571f16adefdd4824b606b58a53dc35e3ab86a41048654d049cbf94fc437736c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T20:08:56.518Z] ---> job-cost.sh [2021-11-09T20:08:56.518Z] lf-activate-venv: SKIPPING [2021-11-09T20:08:56.518Z] INFO: No Stack... [2021-11-09T20:08:57.114Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-09T20:08:57.714Z] INFO: Archiving Costs [Pipeline] sh [2021-11-09T20:08:58.823Z] + cat /w/workspace/app-functions-sdk-go/3/archives/cost.csv [2021-11-09T20:08:58.823Z] + cut -d, -f6 [Pipeline] lock [2021-11-09T20:08:58.893Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-997-3-stack-cost] [2021-11-09T20:08:58.901Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-997-3-stack-cost] did not exist. Created. [2021-11-09T20:08:58.901Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-997-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-09T20:08:59.585Z] /w/workspace/app-functions-sdk-go/3@tmp/durable-2ce95fba/script.sh: 1: /w/workspace/app-functions-sdk-go/3@tmp/durable-2ce95fba/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-09T20:09:00.273Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-09T20:09:00.294Z] Warning: overwriting stash ‘stack-cost’ [2021-11-09T20:09:00.375Z] Stashed 1 file(s) [Pipeline] } [2021-11-09T20:09:00.386Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-997-3-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-09T20:09:00.410Z] $ docker stop --time=1 1571f16adefdd4824b606b58a53dc35e3ab86a41048654d049cbf94fc437736c [2021-11-09T20:09:02.122Z] $ docker rm -f 1571f16adefdd4824b606b58a53dc35e3ab86a41048654d049cbf94fc437736c [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-09T20:09:03.912Z] provisioning config files... [2021-11-09T20:09:03.927Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-997@tmp/config2044545039006605063tmp [Pipeline] { [Pipeline] sh [2021-11-09T20:09:04.248Z] + set +x [2021-11-09T20:09:04.248Z] + curl -s https://codecov.io/bash [2021-11-09T20:09:04.248Z] + bash -s -- [2021-11-09T20:09:04.248Z] [2021-11-09T20:09:04.248Z] _____ _ [2021-11-09T20:09:04.248Z] / ____| | | [2021-11-09T20:09:04.248Z] | | ___ __| | ___ ___ _____ __ [2021-11-09T20:09:04.248Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-09T20:09:04.248Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-09T20:09:04.248Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-09T20:09:04.248Z] Bash-1.0.6 [2021-11-09T20:09:04.248Z] [2021-11-09T20:09:04.248Z] [2021-11-09T20:09:04.248Z] ==> git version 2.24.4 found [2021-11-09T20:09:04.248Z] ==> 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-09T20:09:04.248Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-09T20:09:04.248Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-09T20:09:04.248Z] ==> Jenkins CI detected. [2021-11-09T20:09:04.248Z] current dir:  /w/workspace/ndry_app-functions-sdk-go_PR-997 [2021-11-09T20:09:04.248Z] project root: . [2021-11-09T20:09:04.248Z] --> token set from env [2021-11-09T20:09:04.248Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-09T20:09:04.248Z] ==> Running gcov in . (disable via -X gcov) [2021-11-09T20:09:04.248Z] ==> Python coveragepy not found [2021-11-09T20:09:04.248Z] ==> Searching for coverage reports in: [2021-11-09T20:09:04.248Z] + . [2021-11-09T20:09:04.509Z] -> Found 2 reports [2021-11-09T20:09:04.509Z] ==> Detecting git/mercurial file structure [2021-11-09T20:09:04.509Z] ==> Reading reports [2021-11-09T20:09:04.509Z] + ./app-service-template/coverage.out bytes=1219 [2021-11-09T20:09:04.509Z] + ./coverage.out bytes=107692 [2021-11-09T20:09:04.509Z] ==> Appending adjustments [2021-11-09T20:09:04.509Z] https://docs.codecov.io/docs/fixing-reports [2021-11-09T20:09:04.772Z] + Found adjustments [2021-11-09T20:09:04.772Z] ==> Gzipping contents [2021-11-09T20:09:04.772Z] 20K /tmp/codecov.OjoxWx.gz [2021-11-09T20:09:04.772Z] ==> Uploading reports [2021-11-09T20:09:04.772Z] url: https://codecov.io [2021-11-09T20:09:04.772Z] query: branch=PR-997&commit=a1a30735006143909878feb0258cac09a364a890&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-997%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=997&job=&cmd_args= [2021-11-09T20:09:04.772Z] -> Pinging Codecov [2021-11-09T20:09:04.772Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-997&commit=a1a30735006143909878feb0258cac09a364a890&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-997%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=997&job=&cmd_args= [2021-11-09T20:09:05.343Z] -> Uploading to [2021-11-09T20:09:05.343Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-09/3D8B5DFFC46A037C893635FACE044666/a1a30735006143909878feb0258cac09a364a890/d0db5147-89b3-400e-a103-05584be71325.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211109T200905Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0f6593a4c0f8b50234a424bc3ee7ece79ea00743eb129a4f37ce901c8c060c79 [2021-11-09T20:09:05.343Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-09T20:09:05.343Z] Dload Upload Total Spent Left Speed [2021-11-09T20:09:05.606Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18829 0 0 100 18829 0 53846 --:--:-- --:--:-- --:--:-- 53797 100 18829 0 0 100 18829 0 53826 --:--:-- --:--:-- --:--:-- 53797 [2021-11-09T20:09:05.606Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/a1a30735006143909878feb0258cac09a364a890 [Pipeline] } [2021-11-09T20:09:05.615Z] 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-09T20:09:06.990Z] + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-997/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-09T20:09:07.297Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T20:09:07.873Z] ---> package-listing.sh [2021-11-09T20:09:07.873Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-09T20:09:07.873Z] ++ facter osfamily [2021-11-09T20:09:08.137Z] + OS_FAMILY=redhat [2021-11-09T20:09:08.137Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-997 [2021-11-09T20:09:08.137Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-09T20:09:08.137Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-09T20:09:08.137Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-09T20:09:08.137Z] + PACKAGES=/tmp/packages_start.txt [2021-11-09T20:09:08.137Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-997 ']' [2021-11-09T20:09:08.137Z] + PACKAGES=/tmp/packages_end.txt [2021-11-09T20:09:08.137Z] + case "${OS_FAMILY}" in [2021-11-09T20:09:08.137Z] + sort [2021-11-09T20:09:08.137Z] + rpm -qa [2021-11-09T20:09:09.079Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-09T20:09:09.079Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-09T20:09:09.079Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-09T20:09:09.079Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-997 ']' [2021-11-09T20:09:09.079Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-997/archives/ [2021-11-09T20:09:09.079Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-997/archives/ [Pipeline] echo [2021-11-09T20:09:09.089Z] 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/ndry_app-functions-sdk-go_PR-997/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-09T20:09:09.399Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-09T20:09:09.961Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T20:09:09.961Z] [2021-11-09T20:09:09.961Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T20:09:10.507Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T20:09:10.507Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-09T20:09:10.507Z] b4d181a07f80: Pulling fs layer [2021-11-09T20:09:10.507Z] a1111a8f2ec3: Pulling fs layer [2021-11-09T20:09:10.507Z] ed53099fbce6: Pulling fs layer [2021-11-09T20:09:10.508Z] dc539afda2c1: Pulling fs layer [2021-11-09T20:09:10.508Z] 77bc0d833cb6: Pulling fs layer [2021-11-09T20:09:10.508Z] 9065ff56babe: Pulling fs layer [2021-11-09T20:09:10.508Z] d287ab97295c: Pulling fs layer [2021-11-09T20:09:10.508Z] dc539afda2c1: Waiting [2021-11-09T20:09:10.508Z] 77bc0d833cb6: Waiting [2021-11-09T20:09:10.508Z] d287ab97295c: Waiting [2021-11-09T20:09:10.508Z] 9065ff56babe: Waiting [2021-11-09T20:09:10.508Z] a1111a8f2ec3: Verifying Checksum [2021-11-09T20:09:10.508Z] a1111a8f2ec3: Download complete [2021-11-09T20:09:10.508Z] dc539afda2c1: Verifying Checksum [2021-11-09T20:09:10.508Z] dc539afda2c1: Download complete [2021-11-09T20:09:10.508Z] 77bc0d833cb6: Verifying Checksum [2021-11-09T20:09:10.508Z] 77bc0d833cb6: Download complete [2021-11-09T20:09:10.508Z] 9065ff56babe: Verifying Checksum [2021-11-09T20:09:10.508Z] 9065ff56babe: Download complete [2021-11-09T20:09:10.508Z] b4d181a07f80: Verifying Checksum [2021-11-09T20:09:10.508Z] b4d181a07f80: Download complete [2021-11-09T20:09:10.778Z] ed53099fbce6: Verifying Checksum [2021-11-09T20:09:10.778Z] ed53099fbce6: Download complete [2021-11-09T20:09:12.600Z] b4d181a07f80: Pull complete [2021-11-09T20:09:12.600Z] a1111a8f2ec3: Pull complete [2021-11-09T20:09:13.088Z] ed53099fbce6: Pull complete [2021-11-09T20:09:13.088Z] dc539afda2c1: Pull complete [2021-11-09T20:09:13.361Z] d287ab97295c: Verifying Checksum [2021-11-09T20:09:13.361Z] d287ab97295c: Download complete [2021-11-09T20:09:13.361Z] 77bc0d833cb6: Pull complete [2021-11-09T20:09:13.361Z] 9065ff56babe: Pull complete [2021-11-09T20:09:18.918Z] d287ab97295c: Pull complete [2021-11-09T20:09:18.918Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-09T20:09:18.918Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T20:09:18.918Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-09T20:09:18.990Z] prd-centos7-docker-4c-2g-28430 does not seem to be running inside a container [2021-11-09T20:09:19.033Z] $ 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/ndry_app-functions-sdk-go_PR-997/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_PR-997 -v /w/workspace/ndry_app-functions-sdk-go_PR-997:/w/workspace/ndry_app-functions-sdk-go_PR-997:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-997@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-997@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-09T20:09:21.664Z] $ docker top ef0823850e0b790a4a15a24c84d0acef5584ea9e0716fd9f90c55d74d89b9b93 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-09T20:09:22.042Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-09T20:09:23.230Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-09T20:09:23.551Z] + ls /var/log/sa-host [2021-11-09T20:09:23.551Z] + sadf -c /var/log/sa-host/sa09 [2021-11-09T20:09:23.551Z] file_magic: OK [2021-11-09T20:09:23.551Z] HZ: Using current value: 100 [2021-11-09T20:09:23.551Z] file_header: OK [2021-11-09T20:09:23.551Z] 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-09T20:09:23.551Z] Statistics: [2021-11-09T20:09:23.551Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-09T20:09:23.552Z] File successfully converted to sysstat format version 12.0.3 [2021-11-09T20:09:23.552Z] + sadf -c /var/log/sa-host/sa30 [2021-11-09T20:09:23.552Z] file_magic: OK [2021-11-09T20:09:23.552Z] HZ: Using current value: 100 [2021-11-09T20:09:23.552Z] file_header: OK [2021-11-09T20:09:23.552Z] 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-09T20:09:23.552Z] Statistics: [2021-11-09T20:09:23.552Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-09T20:09:23.552Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-09T20:09:23.629Z] provisioning config files... [2021-11-09T20:09:23.641Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-997@tmp/config7553014355358116957tmp [Pipeline] { [Pipeline] echo [2021-11-09T20:09:23.662Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T20:09:23.990Z] ---> create-netrc.sh [Pipeline] } [2021-11-09T20:09:23.999Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-09T20:09:24.340Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-09T20:09:24.348Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T20:09:24.641Z] ---> sudo-logs.sh [2021-11-09T20:09:24.641Z] Archiving 'sudo' log.. [2021-11-09T20:09:24.642Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-28430.novalocal: Name or service not known [2021-11-09T20:09:24.642Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-28430.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-09T20:09:24.667Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T20:09:24.954Z] ---> job-cost.sh [2021-11-09T20:09:24.954Z] lf-activate-venv: SKIPPING [2021-11-09T20:09:24.954Z] DEBUG: total: 0.10999999940395355 [2021-11-09T20:09:24.954Z] INFO: Retrieving Stack Cost... [2021-11-09T20:09:25.533Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-09T20:09:25.793Z] INFO: Archiving Costs [Pipeline] echo [2021-11-09T20:09:25.804Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T20:09:26.100Z] ---> logs-deploy.sh [2021-11-09T20:09:26.100Z] lf-activate-venv: SKIPPING [2021-11-09T20:09:26.100Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-997/3 [2021-11-09T20:09:26.100Z] INFO: archiving workspace using pattern(s): [2021-11-09T20:09:26.677Z] Archives upload complete. [2021-11-09T20:09:26.940Z] INFO: archiving logs to Nexus