Branch indexing 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 AlexCuse for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 8388dad5e9df1cb0af4d5af4924481941aa1e40b+83cc0a214dfebcd1d3c5b886a0c92c56b107cdc6 (3c350470bede0e8f620c4206dd1e5a34a68457b7) 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-ssh7747508161063516382.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f1d79d91c36788821211008368c3015072ca53ca 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-ssh616284894724959418.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 f1d79d91c36788821211008368c3015072ca53ca 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-967/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-967/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4942427422799656054.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f1d79d91c36788821211008368c3015072ca53ca (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f1d79d91c36788821211008368c3015072ca53ca # timeout=10 Commit message: "Merge pull request #358 from ernestojeda/update-get-head-tags" > 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-ssh6658419935828431859.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-967/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-967/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7829372927219156680.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 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-1012 in /w/workspace/ndry_app-functions-sdk-go_PR-967 [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-967 # 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-967@tmp/jenkins-gitclient-ssh5955425204420647469.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-967@tmp/jenkins-gitclient-ssh8783599740648636302.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/967/head:refs/remotes/origin/PR-967 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 83cc0a214dfebcd1d3c5b886a0c92c56b107cdc6 into PR head commit 8388dad5e9df1cb0af4d5af4924481941aa1e40b Merge succeeded, producing 73a9e4eb54660c6ac712f14417eabf56fce78fbd Checking out Revision 73a9e4eb54660c6ac712f14417eabf56fce78fbd (PR-967) > git config core.sparsecheckout # timeout=10 > git checkout -f 8388dad5e9df1cb0af4d5af4924481941aa1e40b # 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-967@tmp/jenkins-gitclient-ssh4166899081310731892.key > git merge 83cc0a214dfebcd1d3c5b886a0c92c56b107cdc6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 73a9e4eb54660c6ac712f14417eabf56fce78fbd # timeout=10 Commit message: "Merge commit '83cc0a214dfebcd1d3c5b886a0c92c56b107cdc6' into HEAD" > git rev-list --no-walk 8388dad5e9df1cb0af4d5af4924481941aa1e40b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-13T07:45:35.389Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-13T07:45:35.444Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-13T07:45:35.457Z] ========================================================= [2021-10-13T07:45:35.457Z] EdgeX Global Pipelines Version Info [2021-10-13T07:45:35.457Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-13T07:45:36.607Z] ------------------- [2021-10-13T07:45:36.607Z] stable info: [2021-10-13T07:45:36.607Z] ------------------- [2021-10-13T07:45:36.607Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-13T07:45:36.607Z] Commit SHA: f1d79d91c36788821211008368c3015072ca53ca [2021-10-13T07:45:36.607Z] Message: update stable to v1.0.209 [2021-10-13T07:45:37.182Z] ------------------- [2021-10-13T07:45:37.182Z] experimental info: [2021-10-13T07:45:37.182Z] ------------------- [2021-10-13T07:45:37.182Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-13T07:45:37.182Z] Commit SHA: f1d79d91c36788821211008368c3015072ca53ca [2021-10-13T07:45:37.182Z] Message: update experimental to v1.0.209 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-13T07:45:37.263Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-10-13T07:45:37.276Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-10-13T07:45:37.287Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-13T07:45:37.302Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-13T07:45:37.313Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-13T07:45:37.325Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-13T07:45:37.336Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-13T07:45:37.349Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-13T07:45:37.361Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-13T07:45:37.374Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-13T07:45:37.387Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-13T07:45:37.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-10-13T07:45:37.415Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-13T07:45:37.426Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-13T07:45:37.438Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-10-13T07:45:37.450Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-13T07:45:37.462Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-13T07:45:37.472Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-13T07:45:37.483Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-13T07:45:37.493Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-13T07:45:37.504Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-13T07:45:37.515Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-13T07:45:37.525Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-13T07:45:37.535Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-13T07:45:37.546Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-10-13T07:45:37.557Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-13T07:45:37.568Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-967 [Pipeline] echo [2021-10-13T07:45:37.579Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-967 [Pipeline] echo [2021-10-13T07:45:37.591Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-967 [Pipeline] echo [2021-10-13T07:45:37.605Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 73a9e4eb54660c6ac712f14417eabf56fce78fbd [Pipeline] echo [2021-10-13T07:45:37.620Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 73a9e4e [Pipeline] echo [2021-10-13T07:45:37.636Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-13T07:45:38.051Z] + git log --format=format:%s -1 73a9e4eb54660c6ac712f14417eabf56fce78fbd [Pipeline] echo [2021-10-13T07:45:38.092Z] GIT_COMMIT: 73a9e4eb54660c6ac712f14417eabf56fce78fbd, Commit Message: Merge commit '83cc0a214dfebcd1d3c5b886a0c92c56b107cdc6' into HEAD [Pipeline] echo [2021-10-13T07:45:38.100Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-13T07:45:38.751Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-13T07:45:38.752Z] [2021-10-13T07:45:38.752Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-13T07:45:39.062Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-13T07:45:39.062Z] latest: Pulling from edgex-devops/git-semver [2021-10-13T07:45:39.062Z] a0d0a0d46f8b: Pulling fs layer [2021-10-13T07:45:39.062Z] 3e5f54012d9b: Pulling fs layer [2021-10-13T07:45:39.062Z] 4c7163046ea9: Pulling fs layer [2021-10-13T07:45:39.062Z] 0c2d73faf560: Pulling fs layer [2021-10-13T07:45:39.062Z] 3e5f54012d9b: Verifying Checksum [2021-10-13T07:45:39.062Z] 3e5f54012d9b: Download complete [2021-10-13T07:45:39.334Z] a0d0a0d46f8b: Verifying Checksum [2021-10-13T07:45:39.334Z] a0d0a0d46f8b: Download complete [2021-10-13T07:45:39.334Z] 4c7163046ea9: Verifying Checksum [2021-10-13T07:45:39.334Z] 4c7163046ea9: Download complete [2021-10-13T07:45:39.334Z] 0c2d73faf560: Verifying Checksum [2021-10-13T07:45:39.334Z] 0c2d73faf560: Download complete [2021-10-13T07:45:39.334Z] a0d0a0d46f8b: Pull complete [2021-10-13T07:45:39.334Z] 3e5f54012d9b: Pull complete [2021-10-13T07:45:39.596Z] 4c7163046ea9: Pull complete [2021-10-13T07:45:39.863Z] 0c2d73faf560: Pull complete [2021-10-13T07:45:39.863Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-13T07:45:39.863Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-13T07:45:39.863Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-13T07:45:39.938Z] prd-centos7-docker-4c-2g-1012 does not seem to be running inside a container [2021-10-13T07:45:39.937Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-967 -v /w/workspace/ndry_app-functions-sdk-go_PR-967:/w/workspace/ndry_app-functions-sdk-go_PR-967:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-967@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-967@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:10004/edgex-devops/git-semver:latest cat [2021-10-13T07:45:40.584Z] $ docker top dae8c114938c17614713791f234c5df2274e7be57870ab8f6cd0310022eec9cd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-13T07:45:40.676Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-13T07:45:40.676Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-13T07:45:40.798Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-13T07:45:40.801Z] $ docker exec dae8c114938c17614713791f234c5df2274e7be57870ab8f6cd0310022eec9cd ssh-agent [2021-10-13T07:45:40.929Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfIpkNn/agent.14 [2021-10-13T07:45:40.929Z] SSH_AGENT_PID=21 [2021-10-13T07:45:40.937Z] Running ssh-add (command line suppressed) [2021-10-13T07:45:41.054Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-967@tmp/private_key_6167496902844023125.key (/w/workspace/ndry_app-functions-sdk-go_PR-967@tmp/private_key_6167496902844023125.key) [2021-10-13T07:45:41.068Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-13T07:45:41.362Z] + git tag --points-at HEAD [Pipeline] } [2021-10-13T07:45:41.378Z] $ docker exec --env ******** --env ******** dae8c114938c17614713791f234c5df2274e7be57870ab8f6cd0310022eec9cd ssh-agent -k [2021-10-13T07:45:41.468Z] unset SSH_AUTH_SOCK; [2021-10-13T07:45:41.468Z] unset SSH_AGENT_PID; [2021-10-13T07:45:41.468Z] echo Agent pid 21 killed; [2021-10-13T07:45:41.476Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-13T07:45:41.496Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-13T07:45:41.496Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-13T07:45:41.607Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-13T07:45:41.610Z] $ docker exec dae8c114938c17614713791f234c5df2274e7be57870ab8f6cd0310022eec9cd ssh-agent [2021-10-13T07:45:41.710Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhEkmFC/agent.55 [2021-10-13T07:45:41.710Z] SSH_AGENT_PID=62 [2021-10-13T07:45:41.715Z] Running ssh-add (command line suppressed) [2021-10-13T07:45:41.821Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-967@tmp/private_key_5235164447397076397.key (/w/workspace/ndry_app-functions-sdk-go_PR-967@tmp/private_key_5235164447397076397.key) [2021-10-13T07:45:41.835Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-13T07:45:42.138Z] + git semver init [2021-10-13T07:45:42.138Z] # -> Open(): unable to determine branch for HEAD [2021-10-13T07:45:42.138Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-967/.git [2021-10-13T07:45:42.138Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-967 [2021-10-13T07:45:42.138Z] # $SEMVER_REMOTE_NAME = origin [2021-10-13T07:45:42.138Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-13T07:45:42.138Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-13T07:45:42.138Z] # $SEMVER_BRANCH = PR-967 [2021-10-13T07:45:42.138Z] # $SEMVER_TEMP = /tmp/semver-799353800 [2021-10-13T07:45:42.138Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-10-13T07:45:44.059Z] # '/tmp/semver-799353800' -> '/w/workspace/ndry_app-functions-sdk-go_PR-967/.semver' [2021-10-13T07:45:44.319Z] # -> Force: false [2021-10-13T07:45:44.319Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-967/.semver [Pipeline] } [2021-10-13T07:45:44.330Z] $ docker exec --env ******** --env ******** dae8c114938c17614713791f234c5df2274e7be57870ab8f6cd0310022eec9cd ssh-agent -k [2021-10-13T07:45:44.434Z] unset SSH_AUTH_SOCK; [2021-10-13T07:45:44.435Z] unset SSH_AGENT_PID; [2021-10-13T07:45:44.435Z] echo Agent pid 62 killed; [2021-10-13T07:45:44.447Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-13T07:45:44.759Z] + git semver [Pipeline] } [2021-10-13T07:45:44.776Z] $ docker stop --time=1 dae8c114938c17614713791f234c5df2274e7be57870ab8f6cd0310022eec9cd [2021-10-13T07:45:46.115Z] $ docker rm -f dae8c114938c17614713791f234c5df2274e7be57870ab8f6cd0310022eec9cd [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-13T07:45:46.470Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-13T07:45:46.721Z] Stashed 1 file(s) [Pipeline] echo [2021-10-13T07:45:46.724Z] [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-10-13T07:46:01.859Z] Still waiting to schedule task [2021-10-13T07:46:01.859Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1012’ [2021-10-13T07:46:01.860Z] Still waiting to schedule task [2021-10-13T07:46:01.860Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-13T07:49:51.173Z] Running on prd-centos7-docker-4c-2g-1017 in /w/workspace/ndry_app-functions-sdk-go_PR-967 [Pipeline] { [Pipeline] ws [2021-10-13T07:49:51.185Z] Running in /w/workspace/app-functions-sdk-go/6 [Pipeline] { [Pipeline] checkout [2021-10-13T07:49:51.270Z] The recommended git tool is: git [2021-10-13T07:49:53.283Z] using credential edgex-jenkins-ssh [2021-10-13T07:49:53.298Z] Cloning the remote Git repository [2021-10-13T07:49:53.234Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-10-13T07:49:53.303Z] > git init /w/workspace/app-functions-sdk-go/6 # timeout=10 [2021-10-13T07:49:53.364Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-10-13T07:49:53.365Z] > git --version # timeout=10 [2021-10-13T07:49:53.381Z] > git --version # 'git version 2.24.4' [2021-10-13T07:49:53.382Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-13T07:49:53.472Z] [INFO] Currently running in a labeled security context [2021-10-13T07:49:53.472Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-13T07:49:53.472Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/6@tmp/jenkins-gitclient-ssh2140663035129511557.key [2021-10-13T07:49:53.522Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-13T07:49:55.744Z] Merging remotes/origin/main commit 83cc0a214dfebcd1d3c5b886a0c92c56b107cdc6 into PR head commit 8388dad5e9df1cb0af4d5af4924481941aa1e40b [2021-10-13T07:49:54.948Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-10-13T07:49:54.954Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-13T07:49:54.965Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-10-13T07:49:54.983Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-10-13T07:49:54.983Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-13T07:49:54.984Z] [INFO] Currently running in a labeled security context [2021-10-13T07:49:54.984Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-13T07:49:54.984Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/6@tmp/jenkins-gitclient-ssh9140006880756121207.key [2021-10-13T07:49:54.994Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/967/head:refs/remotes/origin/PR-967 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-13T07:49:55.615Z] > git config core.sparsecheckout # timeout=10 [2021-10-13T07:49:55.624Z] > git checkout -f 8388dad5e9df1cb0af4d5af4924481941aa1e40b # timeout=10 [2021-10-13T07:49:55.669Z] > git remote # timeout=10 [2021-10-13T07:49:55.872Z] Merge succeeded, producing b8615002ad1437c45083309e59d953d3e636dd2c [2021-10-13T07:49:55.873Z] Checking out Revision b8615002ad1437c45083309e59d953d3e636dd2c (PR-967) [2021-10-13T07:49:55.682Z] > git config --get remote.origin.url # timeout=10 [2021-10-13T07:49:55.688Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-13T07:49:55.689Z] [INFO] Currently running in a labeled security context [2021-10-13T07:49:55.689Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-13T07:49:55.689Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/6@tmp/jenkins-gitclient-ssh3395662115819287031.key [2021-10-13T07:49:55.697Z] > git merge 83cc0a214dfebcd1d3c5b886a0c92c56b107cdc6 # timeout=10 [2021-10-13T07:49:55.726Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-13T07:49:55.736Z] > git config core.sparsecheckout # timeout=10 [2021-10-13T07:49:55.744Z] > git checkout -f b8615002ad1437c45083309e59d953d3e636dd2c # timeout=10 [2021-10-13T07:49:59.321Z] Commit message: "Merge commit '83cc0a214dfebcd1d3c5b886a0c92c56b107cdc6' into HEAD" [2021-10-13T07:49:59.296Z] > git rev-list --no-walk 8388dad5e9df1cb0af4d5af4924481941aa1e40b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-10-13T07:50:00.103Z] ========================================================= [2021-10-13T07:50:00.104Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-13T07:50:00.104Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-10-13T07:50:00.494Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-13T07:50:00.494Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-13T07:50:00.494Z] 4e9f2cdf4387: Pulling fs layer [2021-10-13T07:50:00.494Z] 57d31006c564: Pulling fs layer [2021-10-13T07:50:00.494Z] bd5ccded8296: Pulling fs layer [2021-10-13T07:50:00.494Z] 304dd3a0f381: Pulling fs layer [2021-10-13T07:50:00.494Z] d37cda54a23b: Pulling fs layer [2021-10-13T07:50:00.494Z] bae75c0f2455: Pulling fs layer [2021-10-13T07:50:00.494Z] 806579b3d29a: Pulling fs layer [2021-10-13T07:50:00.494Z] c77eb801bf70: Pulling fs layer [2021-10-13T07:50:00.494Z] 6d0567d44e1a: Pulling fs layer [2021-10-13T07:50:00.494Z] bae75c0f2455: Waiting [2021-10-13T07:50:00.494Z] 806579b3d29a: Waiting [2021-10-13T07:50:00.494Z] c77eb801bf70: Waiting [2021-10-13T07:50:00.494Z] 6d0567d44e1a: Waiting [2021-10-13T07:50:00.494Z] 304dd3a0f381: Waiting [2021-10-13T07:50:00.494Z] d37cda54a23b: Waiting [2021-10-13T07:50:00.494Z] bd5ccded8296: Verifying Checksum [2021-10-13T07:50:00.494Z] bd5ccded8296: Download complete [2021-10-13T07:50:00.494Z] 57d31006c564: Verifying Checksum [2021-10-13T07:50:00.494Z] 57d31006c564: Download complete [2021-10-13T07:50:00.494Z] d37cda54a23b: Verifying Checksum [2021-10-13T07:50:00.494Z] d37cda54a23b: Download complete [2021-10-13T07:50:00.494Z] bae75c0f2455: Verifying Checksum [2021-10-13T07:50:00.494Z] bae75c0f2455: Download complete [2021-10-13T07:50:00.494Z] 806579b3d29a: Verifying Checksum [2021-10-13T07:50:00.494Z] 806579b3d29a: Download complete [2021-10-13T07:50:00.494Z] 4e9f2cdf4387: Verifying Checksum [2021-10-13T07:50:00.494Z] 4e9f2cdf4387: Download complete [2021-10-13T07:50:00.776Z] c77eb801bf70: Verifying Checksum [2021-10-13T07:50:00.776Z] c77eb801bf70: Download complete [2021-10-13T07:50:01.066Z] 4e9f2cdf4387: Pull complete [2021-10-13T07:50:01.350Z] 304dd3a0f381: Verifying Checksum [2021-10-13T07:50:01.350Z] 304dd3a0f381: Download complete [2021-10-13T07:50:01.350Z] 57d31006c564: Pull complete [2021-10-13T07:50:01.350Z] 6d0567d44e1a: Verifying Checksum [2021-10-13T07:50:01.350Z] 6d0567d44e1a: Download complete [2021-10-13T07:50:01.350Z] bd5ccded8296: Pull complete [2021-10-13T07:50:05.592Z] 304dd3a0f381: Pull complete [2021-10-13T07:50:05.592Z] d37cda54a23b: Pull complete [2021-10-13T07:50:05.592Z] bae75c0f2455: Pull complete [2021-10-13T07:50:05.592Z] 806579b3d29a: Pull complete [2021-10-13T07:50:05.592Z] c77eb801bf70: Pull complete [2021-10-13T07:50:08.154Z] 6d0567d44e1a: Pull complete [2021-10-13T07:50:08.413Z] Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd [2021-10-13T07:50:08.413Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-13T07:50:08.413Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh [2021-10-13T07:50:08.740Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh [2021-10-13T07:50:09.052Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-13T07:50:09.052Z] . [Pipeline] withDockerContainer [2021-10-13T07:50:09.136Z] prd-centos7-docker-4c-2g-1017 does not seem to be running inside a container [2021-10-13T07:50:09.189Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/6 -v /w/workspace/app-functions-sdk-go/6:/w/workspace/app-functions-sdk-go/6:rw,z -v /w/workspace/app-functions-sdk-go/6@tmp:/w/workspace/app-functions-sdk-go/6@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-x86_64 cat [2021-10-13T07:50:11.005Z] $ docker top 7491bb98a2d399b674ea3cda1bb2c650d3aa853f6a63422bd98ff5afb0921fae -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-13T07:50:11.377Z] + go version [2021-10-13T07:50:11.377Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-13T07:50:11.389Z] $ docker stop --time=1 7491bb98a2d399b674ea3cda1bb2c650d3aa853f6a63422bd98ff5afb0921fae [2021-10-13T07:50:12.566Z] $ docker rm -f 7491bb98a2d399b674ea3cda1bb2c650d3aa853f6a63422bd98ff5afb0921fae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-13T07:50:13.053Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-13T07:50:13.054Z] . [Pipeline] withDockerContainer [2021-10-13T07:50:13.141Z] prd-centos7-docker-4c-2g-1017 does not seem to be running inside a container [2021-10-13T07:50:13.180Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/6 -v /w/workspace/app-functions-sdk-go/6:/w/workspace/app-functions-sdk-go/6:rw,z -v /w/workspace/app-functions-sdk-go/6@tmp:/w/workspace/app-functions-sdk-go/6@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-x86_64 cat [2021-10-13T07:50:13.500Z] $ docker top d4fe4e3808a39c5674f9c40d21c1df508a9b871bac715501a3194cbff3505628 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-13T07:50:13.860Z] + make test [2021-10-13T07:50:13.860Z] make -C ./app-service-template build [2021-10-13T07:50:13.860Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/6/app-service-template' [2021-10-13T07:50:13.860Z] go mod tidy [2021-10-13T07:50:15.244Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.1-dev.20 [2021-10-13T07:50:15.244Z] go: downloading github.com/google/uuid v1.3.0 [2021-10-13T07:50:15.244Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-10-13T07:50:15.244Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-10-13T07:50:15.244Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-10-13T07:50:15.244Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-10-13T07:50:15.505Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2021-10-13T07:50:15.505Z] go: downloading github.com/go-kit/kit v0.11.0 [2021-10-13T07:50:15.505Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2021-10-13T07:50:15.505Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-10-13T07:50:15.505Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-10-13T07:50:15.505Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2021-10-13T07:50:15.505Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-10-13T07:50:15.505Z] go: downloading github.com/stretchr/objx v0.1.1 [2021-10-13T07:50:15.505Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-10-13T07:50:15.505Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2021-10-13T07:50:15.505Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-10-13T07:50:15.506Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-10-13T07:50:15.506Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2021-10-13T07:50:15.769Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2021-10-13T07:50:15.769Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-10-13T07:50:15.769Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2021-10-13T07:50:15.769Z] go: downloading github.com/leodido/go-urn v1.2.1 [2021-10-13T07:50:15.769Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2021-10-13T07:50:15.769Z] go: downloading golang.org/x/text v0.3.6 [2021-10-13T07:50:15.769Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-10-13T07:50:15.769Z] go: downloading github.com/go-playground/locales v0.14.0 [2021-10-13T07:50:16.726Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-10-13T07:50:16.726Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2021-10-13T07:50:16.726Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-10-13T07:50:16.726Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-10-13T07:50:16.726Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-10-13T07:50:16.726Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-10-13T07:50:16.726Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-10-13T07:50:16.726Z] go: downloading github.com/kr/pretty v0.3.0 [2021-10-13T07:50:16.726Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2021-10-13T07:50:16.726Z] go: downloading github.com/x448/float16 v0.8.4 [2021-10-13T07:50:16.991Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-10-13T07:50:16.991Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-10-13T07:50:16.991Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-10-13T07:50:16.991Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-10-13T07:50:16.991Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-10-13T07:50:16.991Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-10-13T07:50:16.991Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-10-13T07:50:16.991Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-10-13T07:50:16.991Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-10-13T07:50:16.991Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-10-13T07:50:16.991Z] go: downloading github.com/kr/text v0.2.0 [2021-10-13T07:50:16.991Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2021-10-13T07:50:16.991Z] go: downloading github.com/fatih/color v1.9.0 [2021-10-13T07:50:16.991Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-10-13T07:50:16.991Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-10-13T07:50:17.257Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-10-13T07:50:17.257Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-10-13T07:50:17.257Z] go: downloading github.com/pkg/errors v0.9.1 [2021-10-13T07:50:17.257Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-10-13T07:50:17.257Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-10-13T07:50:17.257Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2021-10-13T07:50:17.257Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-10-13T07:50:17.257Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-10-13T07:50:17.257Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-10-13T07:50:17.257Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-10-13T07:50:17.257Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-10-13T07:50:17.257Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-10-13T07:50:17.257Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-10-13T07:50:17.257Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-10-13T07:50:17.257Z] go: downloading github.com/miekg/dns v1.1.26 [2021-10-13T07:50:17.257Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-10-13T07:50:17.257Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-10-13T07:50:17.257Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-10-13T07:50:17.257Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-10-13T07:50:17.523Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2021-10-13T07:50:17.523Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-10-13T07:50:17.523Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-10-13T07:50:17.523Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-10-13T07:50:17.523Z] go: downloading github.com/golang/protobuf v1.5.2 [2021-10-13T07:50:17.523Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-10-13T07:50:17.523Z] go: downloading github.com/fsnotify/fsnotify v1.4.7 [2021-10-13T07:50:17.523Z] go: downloading google.golang.org/protobuf v1.27.1 [2021-10-13T07:50:17.783Z] go: downloading github.com/google/go-cmp v0.5.5 [2021-10-13T07:50:17.783Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 [2021-10-13T07:50:17.783Z] 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-10-13T07:50:30.095Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/6/app-service-template' [2021-10-13T07:50:30.095Z] make -C ./app-service-template test [2021-10-13T07:50:30.095Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/6/app-service-template' [2021-10-13T07:50:30.095Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-10-13T07:50:36.721Z] ok new-app-service 0.011s coverage: 48.1% of statements [2021-10-13T07:50:36.721Z] ? new-app-service/config [no test files] [2021-10-13T07:50:36.721Z] ok new-app-service/functions 0.008s [2021-10-13T07:50:36.982Z] CGO_ENABLED=1 go vet ./... [2021-10-13T07:50:43.642Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-13T07:50:43.642Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-13T07:50:43.642Z] ./bin/test-attribution-txt.sh [2021-10-13T07:50:44.223Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/6/app-service-template' [2021-10-13T07:50:44.223Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-10-13T07:50:44.806Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-10-13T07:50:46.252Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.021s coverage: 67.1% of statements [2021-10-13T07:50:46.515Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.008s coverage: 93.7% of statements [2021-10-13T07:50:46.515Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-10-13T07:50:46.777Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.013s coverage: 61.8% of statements [2021-10-13T07:50:46.777Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-10-13T07:50:47.055Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.009s [2021-10-13T07:50:47.662Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.102s coverage: 75.7% of statements [2021-10-13T07:50:47.662Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-10-13T07:50:47.662Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-10-13T07:50:47.662Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-10-13T07:50:47.662Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-10-13T07:50:47.662Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-10-13T07:50:47.662Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-10-13T07:50:47.662Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.016s coverage: 97.3% of statements [2021-10-13T07:50:47.662Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-10-13T07:50:47.663Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] [2021-10-13T07:50:47.937Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.006s coverage: 97.4% of statements [2021-10-13T07:50:47.937Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] [2021-10-13T07:50:49.869Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.614s coverage: 80.4% of statements [2021-10-13T07:50:49.869Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] [2021-10-13T07:50:49.869Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] [2021-10-13T07:50:49.869Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.011s coverage: 34.2% of statements [2021-10-13T07:50:49.869Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] [2021-10-13T07:50:49.869Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.009s coverage: 12.5% of statements [2021-10-13T07:50:50.137Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.011s coverage: 27.3% of statements [2021-10-13T07:50:50.137Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-10-13T07:50:50.137Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-10-13T07:50:50.137Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.008s coverage: 51.4% of statements [2021-10-13T07:51:16.740Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.024s coverage: 77.5% of statements [2021-10-13T07:51:16.740Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.008s coverage: 94.4% of statements [2021-10-13T07:51:16.740Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-13T07:51:17.686Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-13T07:51:17.686Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } [2021-10-13T07:51:17.696Z] $ docker stop --time=1 d4fe4e3808a39c5674f9c40d21c1df508a9b871bac715501a3194cbff3505628 [2021-10-13T07:51:18.981Z] $ docker rm -f d4fe4e3808a39c5674f9c40d21c1df508a9b871bac715501a3194cbff3505628 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-13T07:51:19.621Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-13T07:51:19.821Z] 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-10-13T07:51:20.912Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-13T07:51:20.912Z] [2021-10-13T07:51:20.912Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-13T07:51:21.219Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-13T07:51:21.219Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-13T07:51:21.219Z] b4d181a07f80: Pulling fs layer [2021-10-13T07:51:21.219Z] a1111a8f2ec3: Pulling fs layer [2021-10-13T07:51:21.219Z] ed53099fbce6: Pulling fs layer [2021-10-13T07:51:21.219Z] dc539afda2c1: Pulling fs layer [2021-10-13T07:51:21.220Z] 77bc0d833cb6: Pulling fs layer [2021-10-13T07:51:21.220Z] 9065ff56babe: Pulling fs layer [2021-10-13T07:51:21.220Z] d287ab97295c: Pulling fs layer [2021-10-13T07:51:21.220Z] dc539afda2c1: Waiting [2021-10-13T07:51:21.220Z] 77bc0d833cb6: Waiting [2021-10-13T07:51:21.220Z] 9065ff56babe: Waiting [2021-10-13T07:51:21.220Z] d287ab97295c: Waiting [2021-10-13T07:51:21.220Z] a1111a8f2ec3: Verifying Checksum [2021-10-13T07:51:21.220Z] a1111a8f2ec3: Download complete [2021-10-13T07:51:21.220Z] dc539afda2c1: Verifying Checksum [2021-10-13T07:51:21.220Z] dc539afda2c1: Download complete [2021-10-13T07:51:21.489Z] ed53099fbce6: Verifying Checksum [2021-10-13T07:51:21.489Z] ed53099fbce6: Download complete [2021-10-13T07:51:21.489Z] 9065ff56babe: Verifying Checksum [2021-10-13T07:51:21.489Z] 9065ff56babe: Download complete [2021-10-13T07:51:21.489Z] 77bc0d833cb6: Verifying Checksum [2021-10-13T07:51:21.489Z] 77bc0d833cb6: Download complete [2021-10-13T07:51:21.489Z] b4d181a07f80: Verifying Checksum [2021-10-13T07:51:21.489Z] b4d181a07f80: Download complete [2021-10-13T07:51:22.073Z] d287ab97295c: Verifying Checksum [2021-10-13T07:51:22.073Z] d287ab97295c: Download complete [2021-10-13T07:51:23.038Z] b4d181a07f80: Pull complete [2021-10-13T07:51:23.038Z] a1111a8f2ec3: Pull complete [2021-10-13T07:51:23.614Z] ed53099fbce6: Pull complete [2021-10-13T07:51:23.614Z] dc539afda2c1: Pull complete [2021-10-13T07:51:23.876Z] 77bc0d833cb6: Pull complete [2021-10-13T07:51:23.876Z] 9065ff56babe: Pull complete [2021-10-13T07:51:29.186Z] d287ab97295c: Pull complete [2021-10-13T07:51:29.186Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-13T07:51:29.186Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-13T07:51:29.186Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-13T07:51:29.253Z] prd-centos7-docker-4c-2g-1017 does not seem to be running inside a container [2021-10-13T07:51:29.294Z] $ 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/6 -v /w/workspace/app-functions-sdk-go/6:/w/workspace/app-functions-sdk-go/6:rw,z -v /w/workspace/app-functions-sdk-go/6@tmp:/w/workspace/app-functions-sdk-go/6@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:latest cat [2021-10-13T07:51:31.560Z] $ docker top ef3a550b4b4e834da360a406f787290e70c7cc23b388f1a6d79aa5b0bbcd9fad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-13T07:51:32.020Z] ---> job-cost.sh [2021-10-13T07:51:32.020Z] lf-activate-venv: SKIPPING [2021-10-13T07:51:32.020Z] INFO: No Stack... [2021-10-13T07:51:32.279Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-13T07:51:32.541Z] INFO: Archiving Costs [Pipeline] sh [2021-10-13T07:51:32.840Z] + cat /w/workspace/app-functions-sdk-go/6/archives/cost.csv [2021-10-13T07:51:32.840Z] + cut -d, -f6 [Pipeline] lock [2021-10-13T07:51:32.876Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-967-6-stack-cost] [2021-10-13T07:51:32.885Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-967-6-stack-cost] did not exist. Created. [2021-10-13T07:51:32.885Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-967-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-13T07:51:33.195Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-13T07:51:33.232Z] Stashed 1 file(s) [Pipeline] } [2021-10-13T07:51:33.238Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-967-6-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-13T07:51:33.247Z] $ docker stop --time=1 ef3a550b4b4e834da360a406f787290e70c7cc23b388f1a6d79aa5b0bbcd9fad [2021-10-13T07:51:34.402Z] $ docker rm -f ef3a550b4b4e834da360a406f787290e70c7cc23b388f1a6d79aa5b0bbcd9fad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-13T07:54:51.609Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1021 in /w/workspace/ndry_app-functions-sdk-go_PR-967 [Pipeline] { [Pipeline] ws [2021-10-13T07:54:51.623Z] Running in /w/workspace/app-functions-sdk-go/6 [Pipeline] { [Pipeline] checkout [2021-10-13T07:54:51.863Z] The recommended git tool is: git [2021-10-13T07:54:57.989Z] using credential edgex-jenkins-ssh [2021-10-13T07:54:58.008Z] Cloning the remote Git repository [2021-10-13T07:54:58.134Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-10-13T07:54:58.234Z] > git init /w/workspace/app-functions-sdk-go/6 # timeout=10 [2021-10-13T07:54:58.313Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-10-13T07:54:58.314Z] > git --version # timeout=10 [2021-10-13T07:54:58.337Z] > git --version # 'git version 2.17.1' [2021-10-13T07:54:58.339Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-13T07:54:58.458Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-13T07:55:01.668Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-10-13T07:55:01.686Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-13T07:55:01.716Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-10-13T07:55:01.752Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-10-13T07:55:01.752Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-13T07:55:01.772Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/967/head:refs/remotes/origin/PR-967 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-13T07:55:03.004Z] Merging remotes/origin/main commit 83cc0a214dfebcd1d3c5b886a0c92c56b107cdc6 into PR head commit 8388dad5e9df1cb0af4d5af4924481941aa1e40b [2021-10-13T07:55:03.359Z] Merge succeeded, producing 23fb700d2818209611d53537a056eab53e580870 [2021-10-13T07:55:03.359Z] Checking out Revision 23fb700d2818209611d53537a056eab53e580870 (PR-967) [2021-10-13T07:55:03.028Z] > git config core.sparsecheckout # timeout=10 [2021-10-13T07:55:03.048Z] > git checkout -f 8388dad5e9df1cb0af4d5af4924481941aa1e40b # timeout=10 [2021-10-13T07:55:03.169Z] > git remote # timeout=10 [2021-10-13T07:55:03.196Z] > git config --get remote.origin.url # timeout=10 [2021-10-13T07:55:03.213Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-13T07:55:03.228Z] > git merge 83cc0a214dfebcd1d3c5b886a0c92c56b107cdc6 # timeout=10 [2021-10-13T07:55:03.343Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-13T07:55:03.370Z] > git config core.sparsecheckout # timeout=10 [2021-10-13T07:55:03.394Z] > git checkout -f 23fb700d2818209611d53537a056eab53e580870 # timeout=10 [2021-10-13T07:55:07.773Z] Commit message: "Merge commit '83cc0a214dfebcd1d3c5b886a0c92c56b107cdc6' into HEAD" [2021-10-13T07:55:07.785Z] > git rev-list --no-walk 8388dad5e9df1cb0af4d5af4924481941aa1e40b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-10-13T07:55:08.841Z] ========================================================= [2021-10-13T07:55:08.841Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-13T07:55:08.841Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-10-13T07:55:09.472Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-13T07:55:10.936Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-13T07:55:10.936Z] bbf911997326: Pulling fs layer [2021-10-13T07:55:10.936Z] 58ec367f63d7: Pulling fs layer [2021-10-13T07:55:10.936Z] 1b4a6ffa7d45: Pulling fs layer [2021-10-13T07:55:10.936Z] fc5181fea5dc: Pulling fs layer [2021-10-13T07:55:10.936Z] 9c418107303f: Pulling fs layer [2021-10-13T07:55:10.936Z] 284eca6f2348: Pulling fs layer [2021-10-13T07:55:10.936Z] 842844d905b1: Pulling fs layer [2021-10-13T07:55:10.936Z] 901a3a57568e: Pulling fs layer [2021-10-13T07:55:10.936Z] fc5181fea5dc: Waiting [2021-10-13T07:55:10.936Z] 9c418107303f: Waiting [2021-10-13T07:55:10.936Z] 284eca6f2348: Waiting [2021-10-13T07:55:10.936Z] 842844d905b1: Waiting [2021-10-13T07:55:10.936Z] 901a3a57568e: Waiting [2021-10-13T07:55:10.936Z] 1b4a6ffa7d45: Verifying Checksum [2021-10-13T07:55:10.936Z] 1b4a6ffa7d45: Download complete [2021-10-13T07:55:10.936Z] 58ec367f63d7: Verifying Checksum [2021-10-13T07:55:10.936Z] 58ec367f63d7: Download complete [2021-10-13T07:55:10.936Z] 9c418107303f: Verifying Checksum [2021-10-13T07:55:10.936Z] 9c418107303f: Download complete [2021-10-13T07:55:10.936Z] 284eca6f2348: Verifying Checksum [2021-10-13T07:55:10.936Z] 284eca6f2348: Download complete [2021-10-13T07:55:10.936Z] 842844d905b1: Download complete [2021-10-13T07:55:10.936Z] bbf911997326: Verifying Checksum [2021-10-13T07:55:10.936Z] bbf911997326: Download complete [2021-10-13T07:55:11.956Z] bbf911997326: Pull complete [2021-10-13T07:55:12.590Z] 58ec367f63d7: Pull complete [2021-10-13T07:55:12.875Z] 1b4a6ffa7d45: Pull complete [2021-10-13T07:55:13.153Z] 901a3a57568e: Verifying Checksum [2021-10-13T07:55:13.153Z] 901a3a57568e: Download complete [2021-10-13T07:55:13.432Z] fc5181fea5dc: Verifying Checksum [2021-10-13T07:55:13.433Z] fc5181fea5dc: Download complete [2021-10-13T07:55:23.663Z] fc5181fea5dc: Pull complete [2021-10-13T07:55:23.946Z] 9c418107303f: Pull complete [2021-10-13T07:55:24.225Z] 284eca6f2348: Pull complete [2021-10-13T07:55:24.829Z] 842844d905b1: Pull complete [2021-10-13T07:55:30.289Z] 901a3a57568e: Pull complete [2021-10-13T07:55:30.289Z] Digest: sha256:92108203400274521d8db92c8dd03fc26ad1e7e27843eaecabaf975bf4a1b1e7 [2021-10-13T07:55:30.289Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-13T07:55:30.289Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh [2021-10-13T07:55:30.701Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-13T07:55:31.053Z] + docker inspect -f . ci-base-image-arm64 [2021-10-13T07:55:31.053Z] . [Pipeline] withDockerContainer [2021-10-13T07:55:31.337Z] prd-ubuntu18.04-docker-arm64-4c-16g-1021 does not seem to be running inside a container [2021-10-13T07:55:31.445Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/6 -v /w/workspace/app-functions-sdk-go/6:/w/workspace/app-functions-sdk-go/6:rw,z -v /w/workspace/app-functions-sdk-go/6@tmp:/w/workspace/app-functions-sdk-go/6@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-10-13T07:55:37.131Z] $ docker top 114e9f5800c81831ae4aaf218a2405c8562b3fe3c3200ec988b76c2c3b0986c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-13T07:55:38.155Z] + go version [2021-10-13T07:55:38.155Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-13T07:55:38.186Z] $ docker stop --time=1 114e9f5800c81831ae4aaf218a2405c8562b3fe3c3200ec988b76c2c3b0986c7 [2021-10-13T07:55:40.060Z] $ docker rm -f 114e9f5800c81831ae4aaf218a2405c8562b3fe3c3200ec988b76c2c3b0986c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-13T07:55:41.028Z] + docker inspect -f . ci-base-image-arm64 [2021-10-13T07:55:41.028Z] . [Pipeline] withDockerContainer [2021-10-13T07:55:41.306Z] prd-ubuntu18.04-docker-arm64-4c-16g-1021 does not seem to be running inside a container [2021-10-13T07:55:41.556Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/6 -v /w/workspace/app-functions-sdk-go/6:/w/workspace/app-functions-sdk-go/6:rw,z -v /w/workspace/app-functions-sdk-go/6@tmp:/w/workspace/app-functions-sdk-go/6@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-10-13T07:55:43.134Z] $ docker top 5441f9286ac6e4a7ddffc10fdbd6d1100ac046c048cbced05e98ea8248e02708 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-13T07:55:44.086Z] + make test [2021-10-13T07:55:44.086Z] make -C ./app-service-template build [2021-10-13T07:55:44.086Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/6/app-service-template' [2021-10-13T07:55:44.087Z] go mod tidy [2021-10-13T07:55:46.735Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.1-dev.20 [2021-10-13T07:55:46.735Z] go: downloading github.com/google/uuid v1.3.0 [2021-10-13T07:55:46.735Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-10-13T07:55:46.735Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-10-13T07:55:46.735Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-10-13T07:55:46.735Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-10-13T07:55:47.015Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-10-13T07:55:47.015Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-10-13T07:55:47.015Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2021-10-13T07:55:47.015Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2021-10-13T07:55:47.015Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-10-13T07:55:47.015Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2021-10-13T07:55:47.015Z] go: downloading github.com/stretchr/objx v0.1.1 [2021-10-13T07:55:47.015Z] go: downloading github.com/go-kit/kit v0.11.0 [2021-10-13T07:55:47.293Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-10-13T07:55:47.293Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2021-10-13T07:55:47.293Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-10-13T07:55:47.293Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-10-13T07:55:47.293Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-10-13T07:55:47.293Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-10-13T07:55:47.293Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2021-10-13T07:55:47.293Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-10-13T07:55:47.571Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2021-10-13T07:55:47.571Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-10-13T07:55:47.571Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-10-13T07:55:47.571Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2021-10-13T07:55:47.852Z] go: downloading github.com/leodido/go-urn v1.2.1 [2021-10-13T07:55:47.852Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2021-10-13T07:55:47.852Z] go: downloading golang.org/x/text v0.3.6 [2021-10-13T07:55:48.132Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-10-13T07:55:48.132Z] go: downloading github.com/go-playground/locales v0.14.0 [2021-10-13T07:55:50.784Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-10-13T07:55:50.784Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2021-10-13T07:55:50.784Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-10-13T07:55:50.784Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-10-13T07:55:50.784Z] go: downloading github.com/x448/float16 v0.8.4 [2021-10-13T07:55:51.061Z] go: downloading github.com/kr/pretty v0.3.0 [2021-10-13T07:55:51.061Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-10-13T07:55:51.061Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-10-13T07:55:51.061Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-10-13T07:55:51.061Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-10-13T07:55:51.061Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-10-13T07:55:51.061Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-10-13T07:55:51.061Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-10-13T07:55:51.061Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-10-13T07:55:51.061Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2021-10-13T07:55:51.061Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-10-13T07:55:51.341Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2021-10-13T07:55:51.341Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-10-13T07:55:51.341Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-10-13T07:55:51.341Z] go: downloading github.com/kr/text v0.2.0 [2021-10-13T07:55:51.341Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2021-10-13T07:55:51.341Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-10-13T07:55:51.621Z] go: downloading github.com/fatih/color v1.9.0 [2021-10-13T07:55:51.621Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-10-13T07:55:51.621Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-10-13T07:55:51.621Z] go: downloading github.com/pkg/errors v0.9.1 [2021-10-13T07:55:51.621Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-10-13T07:55:51.621Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-10-13T07:55:51.621Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-10-13T07:55:51.621Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-10-13T07:55:51.621Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-10-13T07:55:51.621Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-10-13T07:55:51.898Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-10-13T07:55:51.898Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-10-13T07:55:51.898Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-10-13T07:55:52.176Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-10-13T07:55:52.176Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-10-13T07:55:52.176Z] go: downloading github.com/miekg/dns v1.1.26 [2021-10-13T07:55:52.176Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-10-13T07:55:52.176Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-10-13T07:55:52.176Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-10-13T07:55:52.176Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-10-13T07:55:52.176Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2021-10-13T07:55:52.176Z] go: downloading github.com/golang/protobuf v1.5.2 [2021-10-13T07:55:52.176Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-10-13T07:55:52.453Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-10-13T07:55:52.453Z] go: downloading github.com/fsnotify/fsnotify v1.4.7 [2021-10-13T07:55:52.453Z] go: downloading google.golang.org/protobuf v1.27.1 [2021-10-13T07:55:53.449Z] go: downloading github.com/google/go-cmp v0.5.5 [2021-10-13T07:55:53.449Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 [2021-10-13T07:55:53.449Z] 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-10-13T07:56:32.577Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/6/app-service-template' [2021-10-13T07:56:32.577Z] make -C ./app-service-template test [2021-10-13T07:56:32.577Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/6/app-service-template' [2021-10-13T07:56:32.577Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-10-13T07:57:05.071Z] ok new-app-service 0.054s coverage: 48.1% of statements [2021-10-13T07:57:05.071Z] ? new-app-service/config [no test files] [2021-10-13T07:57:05.071Z] ok new-app-service/functions 0.038s [2021-10-13T07:57:05.071Z] CGO_ENABLED=1 go vet ./... [2021-10-13T07:57:31.986Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-13T07:57:31.986Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-13T07:57:31.986Z] ./bin/test-attribution-txt.sh [2021-10-13T07:57:31.986Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/6/app-service-template' [2021-10-13T07:57:31.986Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-10-13T07:57:31.987Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-10-13T07:57:42.245Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.151s coverage: 67.1% of statements [2021-10-13T07:57:42.245Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.075s coverage: 93.7% of statements [2021-10-13T07:57:42.245Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-10-13T07:57:42.245Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.087s coverage: 61.8% of statements [2021-10-13T07:57:42.245Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-10-13T07:57:42.245Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.099s [2021-10-13T07:57:42.245Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.150s coverage: 75.7% of statements [2021-10-13T07:57:42.245Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-10-13T07:57:42.245Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-10-13T07:57:42.245Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-10-13T07:57:42.245Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-10-13T07:57:42.245Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-10-13T07:57:42.245Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-10-13T07:57:42.245Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.019s coverage: 97.3% of statements [2021-10-13T07:57:42.245Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-10-13T07:57:42.245Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] [2021-10-13T07:57:42.245Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.086s coverage: 97.4% of statements [2021-10-13T07:57:42.245Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] [2021-10-13T07:57:46.636Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.779s coverage: 80.4% of statements [2021-10-13T07:57:46.636Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] [2021-10-13T07:57:46.636Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] [2021-10-13T07:57:46.636Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.077s coverage: 34.2% of statements [2021-10-13T07:57:46.636Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] [2021-10-13T07:57:46.636Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.037s coverage: 12.5% of statements [2021-10-13T07:57:46.927Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.049s coverage: 27.3% of statements [2021-10-13T07:57:46.927Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-10-13T07:57:46.927Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-10-13T07:57:46.927Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.043s coverage: 51.4% of statements [2021-10-13T07:58:19.344Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.121s coverage: 77.5% of statements [2021-10-13T07:58:19.344Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.048s coverage: 94.4% of statements [2021-10-13T07:58:19.344Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-13T07:58:20.337Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-13T07:58:20.941Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } [2021-10-13T07:58:21.246Z] $ docker stop --time=1 5441f9286ac6e4a7ddffc10fdbd6d1100ac046c048cbced05e98ea8248e02708 [2021-10-13T07:58:23.313Z] $ docker rm -f 5441f9286ac6e4a7ddffc10fdbd6d1100ac046c048cbced05e98ea8248e02708 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-13T07:58:25.873Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-13T07:58:25.903Z] Warning: overwriting stash ‘coverage-report’ [2021-10-13T07:58:26.612Z] 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-10-13T07:58:27.221Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-13T07:58:27.221Z] [2021-10-13T07:58:27.221Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-13T07:58:27.861Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-13T07:58:28.467Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-13T07:58:28.467Z] 448f6bf000e3: Pulling fs layer [2021-10-13T07:58:28.467Z] f757da607395: Pulling fs layer [2021-10-13T07:58:28.467Z] 05883995daec: Pulling fs layer [2021-10-13T07:58:28.467Z] 8603b9c90790: Pulling fs layer [2021-10-13T07:58:28.467Z] 1560dd03e051: Pulling fs layer [2021-10-13T07:58:28.467Z] 27f5ce0e4adf: Pulling fs layer [2021-10-13T07:58:28.467Z] c2d8d7efcc4b: Pulling fs layer [2021-10-13T07:58:28.467Z] 8603b9c90790: Waiting [2021-10-13T07:58:28.467Z] 1560dd03e051: Waiting [2021-10-13T07:58:28.467Z] c2d8d7efcc4b: Waiting [2021-10-13T07:58:28.467Z] 27f5ce0e4adf: Waiting [2021-10-13T07:58:28.467Z] f757da607395: Verifying Checksum [2021-10-13T07:58:28.467Z] f757da607395: Download complete [2021-10-13T07:58:28.467Z] 8603b9c90790: Verifying Checksum [2021-10-13T07:58:28.746Z] 1560dd03e051: Verifying Checksum [2021-10-13T07:58:28.746Z] 1560dd03e051: Download complete [2021-10-13T07:58:28.746Z] 05883995daec: Verifying Checksum [2021-10-13T07:58:28.746Z] 05883995daec: Download complete [2021-10-13T07:58:28.746Z] 27f5ce0e4adf: Verifying Checksum [2021-10-13T07:58:28.746Z] 27f5ce0e4adf: Download complete [2021-10-13T07:58:29.028Z] 448f6bf000e3: Verifying Checksum [2021-10-13T07:58:29.028Z] 448f6bf000e3: Download complete [2021-10-13T07:58:31.682Z] c2d8d7efcc4b: Verifying Checksum [2021-10-13T07:58:31.682Z] c2d8d7efcc4b: Download complete [2021-10-13T07:58:32.671Z] 448f6bf000e3: Pull complete [2021-10-13T07:58:33.293Z] f757da607395: Pull complete [2021-10-13T07:58:34.747Z] 05883995daec: Pull complete [2021-10-13T07:58:35.024Z] 8603b9c90790: Pull complete [2021-10-13T07:58:36.013Z] 1560dd03e051: Pull complete [2021-10-13T07:58:36.293Z] 27f5ce0e4adf: Pull complete [2021-10-13T07:58:51.445Z] c2d8d7efcc4b: Pull complete [2021-10-13T07:58:51.445Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-13T07:58:51.445Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-13T07:58:51.445Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-13T07:58:51.715Z] prd-ubuntu18.04-docker-arm64-4c-16g-1021 does not seem to be running inside a container [2021-10-13T07:58:51.825Z] $ 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/6 -v /w/workspace/app-functions-sdk-go/6:/w/workspace/app-functions-sdk-go/6:rw,z -v /w/workspace/app-functions-sdk-go/6@tmp:/w/workspace/app-functions-sdk-go/6@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-10-13T07:58:55.532Z] $ docker top 3a14900dc26c8e3d3ced950c268d6ac0796a7232df43726f8ca3fd4828170c86 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-13T07:58:56.572Z] ---> job-cost.sh [2021-10-13T07:58:56.573Z] lf-activate-venv: SKIPPING [2021-10-13T07:58:56.573Z] INFO: No Stack... [2021-10-13T07:58:57.567Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-13T07:58:57.846Z] INFO: Archiving Costs [Pipeline] sh [2021-10-13T07:58:58.528Z] + cut -d, -f6 [2021-10-13T07:58:58.528Z] + cat /w/workspace/app-functions-sdk-go/6/archives/cost.csv [Pipeline] lock [2021-10-13T07:58:58.598Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-967-6-stack-cost] [2021-10-13T07:58:58.603Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-967-6-stack-cost] did not exist. Created. [2021-10-13T07:58:58.604Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-967-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-13T07:58:59.294Z] /w/workspace/app-functions-sdk-go/6@tmp/durable-3f09d82d/script.sh: 1: /w/workspace/app-functions-sdk-go/6@tmp/durable-3f09d82d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-13T07:58:59.986Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-13T07:59:00.017Z] Warning: overwriting stash ‘stack-cost’ [2021-10-13T07:59:00.083Z] Stashed 1 file(s) [Pipeline] } [2021-10-13T07:59:00.089Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-967-6-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-13T07:59:00.109Z] $ docker stop --time=1 3a14900dc26c8e3d3ced950c268d6ac0796a7232df43726f8ca3fd4828170c86 [2021-10-13T07:59:01.787Z] $ docker rm -f 3a14900dc26c8e3d3ced950c268d6ac0796a7232df43726f8ca3fd4828170c86 [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-10-13T07:59:02.544Z] provisioning config files... [2021-10-13T07:59:02.556Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-967@tmp/config4111824641093243862tmp [Pipeline] { [Pipeline] sh [2021-10-13T07:59:02.865Z] + set +x [2021-10-13T07:59:02.865Z] + curl -s https://codecov.io/bash [2021-10-13T07:59:02.865Z] + bash -s -- [2021-10-13T07:59:02.865Z] [2021-10-13T07:59:02.865Z] _____ _ [2021-10-13T07:59:02.865Z] / ____| | | [2021-10-13T07:59:02.865Z] | | ___ __| | ___ ___ _____ __ [2021-10-13T07:59:02.865Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-13T07:59:02.865Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-13T07:59:02.865Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-13T07:59:02.865Z] Bash-1.0.6 [2021-10-13T07:59:02.865Z] [2021-10-13T07:59:02.865Z] [2021-10-13T07:59:02.865Z] ==> git version 2.24.4 found [2021-10-13T07:59:02.865Z] ==> 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-10-13T07:59:02.865Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-13T07:59:02.865Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-13T07:59:02.865Z] ==> Jenkins CI detected. [2021-10-13T07:59:02.865Z] current dir:  /w/workspace/ndry_app-functions-sdk-go_PR-967 [2021-10-13T07:59:02.865Z] project root: . [2021-10-13T07:59:02.865Z] --> token set from env [2021-10-13T07:59:02.865Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-13T07:59:03.130Z] ==> Running gcov in . (disable via -X gcov) [2021-10-13T07:59:03.130Z] ==> Python coveragepy not found [2021-10-13T07:59:03.130Z] ==> Searching for coverage reports in: [2021-10-13T07:59:03.130Z] + . [2021-10-13T07:59:03.130Z] -> Found 2 reports [2021-10-13T07:59:03.130Z] ==> Detecting git/mercurial file structure [2021-10-13T07:59:03.130Z] ==> Reading reports [2021-10-13T07:59:03.130Z] + ./app-service-template/coverage.out bytes=1219 [2021-10-13T07:59:03.130Z] + ./coverage.out bytes=106295 [2021-10-13T07:59:03.130Z] ==> Appending adjustments [2021-10-13T07:59:03.130Z] https://docs.codecov.io/docs/fixing-reports [2021-10-13T07:59:03.392Z] + Found adjustments [2021-10-13T07:59:03.392Z] ==> Gzipping contents [2021-10-13T07:59:03.392Z] 20K /tmp/codecov.RB6i3Y.gz [2021-10-13T07:59:03.392Z] ==> Uploading reports [2021-10-13T07:59:03.392Z] url: https://codecov.io [2021-10-13T07:59:03.392Z] query: branch=PR-967&commit=73a9e4eb54660c6ac712f14417eabf56fce78fbd&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-967%2F6%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=967&job=&cmd_args= [2021-10-13T07:59:03.392Z] -> Pinging Codecov [2021-10-13T07:59:03.392Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-967&commit=73a9e4eb54660c6ac712f14417eabf56fce78fbd&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-967%2F6%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=967&job=&cmd_args= [2021-10-13T07:59:03.964Z] -> Uploading to [2021-10-13T07:59:03.964Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-13/3D8B5DFFC46A037C893635FACE044666/73a9e4eb54660c6ac712f14417eabf56fce78fbd/5d3106b0-b5db-4645-8073-a38c0e351ae1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211013%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211013T075903Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d8c37b5b3afa3db43d37c0f94816a6e53cbc75e0da9138d5205e9f070c7a3878 [2021-10-13T07:59:03.964Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-13T07:59:03.964Z] Dload Upload Total Spent Left Speed [2021-10-13T07:59:04.224Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18372 0 0 100 18372 0 60298 --:--:-- --:--:-- --:--:-- 60434 [2021-10-13T07:59:04.224Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/73a9e4eb54660c6ac712f14417eabf56fce78fbd [Pipeline] } [2021-10-13T07:59:04.231Z] 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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-13T07:59:05.568Z] + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-967/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-13T07:59:05.873Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-13T07:59:06.445Z] ---> package-listing.sh [2021-10-13T07:59:06.445Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-13T07:59:06.445Z] ++ facter osfamily [2021-10-13T07:59:06.707Z] + OS_FAMILY=redhat [2021-10-13T07:59:06.707Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-967 [2021-10-13T07:59:06.707Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-13T07:59:06.707Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-13T07:59:06.707Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-13T07:59:06.707Z] + PACKAGES=/tmp/packages_start.txt [2021-10-13T07:59:06.708Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-967 ']' [2021-10-13T07:59:06.708Z] + PACKAGES=/tmp/packages_end.txt [2021-10-13T07:59:06.708Z] + case "${OS_FAMILY}" in [2021-10-13T07:59:06.708Z] + rpm -qa [2021-10-13T07:59:06.708Z] + sort [2021-10-13T07:59:07.300Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-13T07:59:07.300Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-13T07:59:07.300Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-13T07:59:07.300Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-967 ']' [2021-10-13T07:59:07.300Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-967/archives/ [2021-10-13T07:59:07.300Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-967/archives/ [Pipeline] echo [2021-10-13T07:59:07.317Z] 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-967/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-13T07:59:07.606Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-13T07:59:08.164Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-13T07:59:08.164Z] [2021-10-13T07:59:08.164Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-13T07:59:08.467Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-13T07:59:08.467Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-13T07:59:08.467Z] b4d181a07f80: Pulling fs layer [2021-10-13T07:59:08.467Z] a1111a8f2ec3: Pulling fs layer [2021-10-13T07:59:08.467Z] ed53099fbce6: Pulling fs layer [2021-10-13T07:59:08.467Z] dc539afda2c1: Pulling fs layer [2021-10-13T07:59:08.467Z] 77bc0d833cb6: Pulling fs layer [2021-10-13T07:59:08.467Z] 9065ff56babe: Pulling fs layer [2021-10-13T07:59:08.467Z] d287ab97295c: Pulling fs layer [2021-10-13T07:59:08.467Z] dc539afda2c1: Waiting [2021-10-13T07:59:08.467Z] 77bc0d833cb6: Waiting [2021-10-13T07:59:08.467Z] 9065ff56babe: Waiting [2021-10-13T07:59:08.467Z] d287ab97295c: Waiting [2021-10-13T07:59:08.467Z] a1111a8f2ec3: Verifying Checksum [2021-10-13T07:59:08.467Z] a1111a8f2ec3: Download complete [2021-10-13T07:59:08.467Z] dc539afda2c1: Verifying Checksum [2021-10-13T07:59:08.467Z] dc539afda2c1: Download complete [2021-10-13T07:59:08.467Z] ed53099fbce6: Verifying Checksum [2021-10-13T07:59:08.467Z] ed53099fbce6: Download complete [2021-10-13T07:59:08.732Z] 9065ff56babe: Verifying Checksum [2021-10-13T07:59:08.732Z] 9065ff56babe: Download complete [2021-10-13T07:59:08.732Z] 77bc0d833cb6: Verifying Checksum [2021-10-13T07:59:08.732Z] 77bc0d833cb6: Download complete [2021-10-13T07:59:08.732Z] b4d181a07f80: Verifying Checksum [2021-10-13T07:59:08.732Z] b4d181a07f80: Download complete [2021-10-13T07:59:09.311Z] d287ab97295c: Verifying Checksum [2021-10-13T07:59:09.311Z] d287ab97295c: Download complete [2021-10-13T07:59:10.268Z] b4d181a07f80: Pull complete [2021-10-13T07:59:10.268Z] a1111a8f2ec3: Pull complete [2021-10-13T07:59:10.841Z] ed53099fbce6: Pull complete [2021-10-13T07:59:11.103Z] dc539afda2c1: Pull complete [2021-10-13T07:59:11.369Z] 77bc0d833cb6: Pull complete [2021-10-13T07:59:11.369Z] 9065ff56babe: Pull complete [2021-10-13T07:59:16.688Z] d287ab97295c: Pull complete [2021-10-13T07:59:16.688Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-13T07:59:16.688Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-13T07:59:16.688Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-13T07:59:16.749Z] prd-centos7-docker-4c-2g-1012 does not seem to be running inside a container [2021-10-13T07:59:16.784Z] $ 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-967/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-967 -v /w/workspace/ndry_app-functions-sdk-go_PR-967:/w/workspace/ndry_app-functions-sdk-go_PR-967:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-967@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-967@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-10-13T07:59:18.933Z] $ docker top 1e851670e2f3d84d02e192cf3ca1bd113ff24c151a7ad2de92ce9352ad7bb21c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-13T07:59:19.320Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-13T07:59:19.615Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-13T07:59:19.914Z] + ls /var/log/sa-host [2021-10-13T07:59:19.914Z] + sadf -c /var/log/sa-host/sa13 [2021-10-13T07:59:19.914Z] file_magic: OK [2021-10-13T07:59:19.914Z] HZ: Using current value: 100 [2021-10-13T07:59:19.914Z] file_header: OK [2021-10-13T07:59:19.914Z] 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-10-13T07:59:19.914Z] Statistics: [2021-10-13T07:59:19.914Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-13T07:59:19.914Z] File successfully converted to sysstat format version 12.0.3 [2021-10-13T07:59:19.914Z] + sadf -c /var/log/sa-host/sa30 [2021-10-13T07:59:19.914Z] file_magic: OK [2021-10-13T07:59:19.914Z] HZ: Using current value: 100 [2021-10-13T07:59:19.914Z] file_header: OK [2021-10-13T07:59:19.914Z] 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-10-13T07:59:19.914Z] Statistics: [2021-10-13T07:59:19.914Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-13T07:59:19.914Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-13T07:59:20.252Z] provisioning config files... [2021-10-13T07:59:20.263Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-967@tmp/config2772287430046221548tmp [Pipeline] { [Pipeline] echo [2021-10-13T07:59:20.276Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-13T07:59:20.582Z] ---> create-netrc.sh [Pipeline] } [2021-10-13T07:59:20.590Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-13T07:59:20.943Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-13T07:59:20.955Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-13T07:59:21.247Z] ---> sudo-logs.sh [2021-10-13T07:59:21.247Z] Archiving 'sudo' log.. [2021-10-13T07:59:21.247Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1012.novalocal: Name or service not known [2021-10-13T07:59:21.247Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1012.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-13T07:59:21.277Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-13T07:59:21.585Z] ---> job-cost.sh [2021-10-13T07:59:21.585Z] lf-activate-venv: SKIPPING [2021-10-13T07:59:21.585Z] DEBUG: total: 0.10999999940395355 [2021-10-13T07:59:21.585Z] INFO: Retrieving Stack Cost... [2021-10-13T07:59:36.511Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-13T07:59:36.511Z] INFO: Archiving Costs [Pipeline] echo [2021-10-13T07:59:36.524Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-13T07:59:36.816Z] ---> logs-deploy.sh [2021-10-13T07:59:36.816Z] lf-activate-venv: SKIPPING [2021-10-13T07:59:36.816Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-967/6 [2021-10-13T07:59:36.816Z] INFO: archiving workspace using pattern(s): [2021-10-13T07:59:37.762Z] Archives upload complete. [2021-10-13T07:59:37.762Z] INFO: archiving logs to Nexus