Pull request #967 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of AlexCuse for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 1a27d5b71ffc4932352d3af3931f9c00699172ea+57f4d8b3a53339fb4c347c59efd7dde63d4c2d50 (2277f302d11c064071deea42caa2cf08455d1fa1) 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-ssh1894056678915612066.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh1043131774679968966.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh5951096614882721639.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > 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-ssh2024517722955987912.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-ssh2677255697193393055.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Running on prd-centos7-docker-4c-2g-314 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-ssh9021888725030803071.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-ssh2734968183970252739.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 57f4d8b3a53339fb4c347c59efd7dde63d4c2d50 into PR head commit 1a27d5b71ffc4932352d3af3931f9c00699172ea Merge succeeded, producing 1a27d5b71ffc4932352d3af3931f9c00699172ea Checking out Revision 1a27d5b71ffc4932352d3af3931f9c00699172ea (PR-967) > git config core.sparsecheckout # timeout=10 > git checkout -f 1a27d5b71ffc4932352d3af3931f9c00699172ea # 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-ssh7875776571160888596.key > git merge 57f4d8b3a53339fb4c347c59efd7dde63d4c2d50 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1a27d5b71ffc4932352d3af3931f9c00699172ea # timeout=10 Commit message: "refactor(triggers): Normalize Orchestration" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:01:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:01:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:01:37 ========================================================= 17:01:37 EdgeX Global Pipelines Version Info 17:01:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 199ee099190686e745c2421e7d08d6d1c160f39a # timeout=10 17:01:38 ------------------- 17:01:38 stable info: 17:01:38 ------------------- 17:01:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:01:38 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 17:01:38 Message: update stable to v1.0.217 17:01:39 ------------------- 17:01:39 experimental info: 17:01:39 ------------------- 17:01:39 Commited By: **** collab-it+edgex@linuxfoundation.org 17:01:39 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 17:01:39 Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:01:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 17:01:39 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 17:01:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:01:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:01:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:01:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 17:01:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:01:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:01:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:01:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:01:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:01:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 17:01:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:01:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:01:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 17:01:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:01:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:01:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:01:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:01:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:01:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:01:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 17:01:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:01:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:01:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 17:01:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:01:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-967 [Pipeline] echo 17:01:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-967 [Pipeline] echo 17:01:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-967 [Pipeline] echo 17:01:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1a27d5b71ffc4932352d3af3931f9c00699172ea [Pipeline] echo 17:01:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1a27d5b [Pipeline] echo 17:01:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:01:40 + git rev-list -1 --merges 1a27d5b71ffc4932352d3af3931f9c00699172ea~1..1a27d5b71ffc4932352d3af3931f9c00699172ea [Pipeline] echo 17:01:40 -----------> git rev-list -1 --merges 1a27d5b71ffc4932352d3af3931f9c00699172ea~1..1a27d5b71ffc4932352d3af3931f9c00699172ea 1a27d5b71ffc4932352d3af3931f9c00699172ea [false] [Pipeline] sh 17:01:40 + git log --format=format:%s -1 1a27d5b71ffc4932352d3af3931f9c00699172ea [Pipeline] echo 17:01:40 ========================================================= 17:01:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:01:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:01:40 + git log --format=format:%s -1 1a27d5b71ffc4932352d3af3931f9c00699172ea [Pipeline] echo 17:01:40 [semverPrep] GIT_COMMIT: 1a27d5b71ffc4932352d3af3931f9c00699172ea, Commit Message: refactor(triggers): Normalize Orchestration [Pipeline] echo 17:01:40 [semverPrep] This is not a build commit. [Pipeline] sh 17:01:41 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 17:01:41 + grep -v github /etc/ssh/ssh_known_hosts 17:01:41 + '[' -e /tmp/ssh_known_hosts ']' 17:01:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:01:41 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 17:01:41 + sudo tee -a /etc/ssh/ssh_known_hosts 17:01:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 17:01:41 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:01:41 17:01:41 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:01:42 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:01:42 latest: Pulling from edgex-devops/git-semver 17:01:42 a0d0a0d46f8b: Pulling fs layer 17:01:42 3e5f54012d9b: Pulling fs layer 17:01:42 4c7163046ea9: Pulling fs layer 17:01:42 0c2d73faf560: Pulling fs layer 17:01:42 0c2d73faf560: Waiting 17:01:42 3e5f54012d9b: Verifying Checksum 17:01:42 3e5f54012d9b: Download complete 17:01:42 a0d0a0d46f8b: Verifying Checksum 17:01:42 a0d0a0d46f8b: Download complete 17:01:42 0c2d73faf560: Verifying Checksum 17:01:42 0c2d73faf560: Download complete 17:01:42 4c7163046ea9: Verifying Checksum 17:01:42 4c7163046ea9: Download complete 17:01:42 a0d0a0d46f8b: Pull complete 17:01:42 3e5f54012d9b: Pull complete 17:01:42 4c7163046ea9: Pull complete 17:01:42 0c2d73faf560: Pull complete 17:01:42 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 17:01:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:01:42 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:01:43 prd-centos7-docker-4c-2g-314 does not seem to be running inside a container 17:01:43 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:01:43 $ docker top a0f85eaa76208a7c6b161b1b3c2c8107ca8b0f076e86a025b4d1bfd067f65f55 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:01:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:01:43 [ssh-agent] Looking for ssh-agent implementation... 17:01:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:01:43 $ docker exec a0f85eaa76208a7c6b161b1b3c2c8107ca8b0f076e86a025b4d1bfd067f65f55 ssh-agent 17:01:44 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHoBaMb/agent.13 17:01:44 SSH_AGENT_PID=20 17:01:44 Running ssh-add (command line suppressed) 17:01:44 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-967@tmp/private_key_8811582523324882471.key (/w/workspace/ndry_app-functions-sdk-go_PR-967@tmp/private_key_8811582523324882471.key) 17:01:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:01:44 + git tag --points-at HEAD [Pipeline] } 17:01:44 $ docker exec --env ******** --env ******** a0f85eaa76208a7c6b161b1b3c2c8107ca8b0f076e86a025b4d1bfd067f65f55 ssh-agent -k 17:01:44 unset SSH_AUTH_SOCK; 17:01:44 unset SSH_AGENT_PID; 17:01:44 echo Agent pid 20 killed; 17:01:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:01:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:01:44 [ssh-agent] Looking for ssh-agent implementation... 17:01:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:01:44 $ docker exec a0f85eaa76208a7c6b161b1b3c2c8107ca8b0f076e86a025b4d1bfd067f65f55 ssh-agent 17:01:44 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoFAega/agent.53 17:01:44 SSH_AGENT_PID=59 17:01:44 Running ssh-add (command line suppressed) 17:01:44 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-967@tmp/private_key_5582344267030615693.key (/w/workspace/ndry_app-functions-sdk-go_PR-967@tmp/private_key_5582344267030615693.key) 17:01:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:01:45 + git semver init 17:01:45 # -> Open(): unable to determine branch for HEAD 17:01:45 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-967/.git 17:01:45 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-967 17:01:45 # $SEMVER_REMOTE_NAME = origin 17:01:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:01:45 # $SEMVER_USER_NAME = edgex-jenkins 17:01:45 # $SEMVER_BRANCH = PR-967 17:01:45 # $SEMVER_TEMP = /tmp/semver-771053724 17:01:45 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 17:01:47 # '/tmp/semver-771053724' -> '/w/workspace/ndry_app-functions-sdk-go_PR-967/.semver' 17:01:47 # -> Force: false 17:01:47 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-967/.semver [Pipeline] } 17:01:47 $ docker exec --env ******** --env ******** a0f85eaa76208a7c6b161b1b3c2c8107ca8b0f076e86a025b4d1bfd067f65f55 ssh-agent -k 17:01:47 unset SSH_AUTH_SOCK; 17:01:47 unset SSH_AGENT_PID; 17:01:47 echo Agent pid 59 killed; 17:01:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:01:48 + git semver [Pipeline] } 17:01:48 $ docker stop --time=1 a0f85eaa76208a7c6b161b1b3c2c8107ca8b0f076e86a025b4d1bfd067f65f55 17:01:49 $ docker rm -f a0f85eaa76208a7c6b161b1b3c2c8107ca8b0f076e86a025b4d1bfd067f65f55 [Pipeline] // withDockerContainer [Pipeline] sh 17:01:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:01:50 Stashed 1 file(s) [Pipeline] echo 17:01:50 [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 17:02:05 Still waiting to schedule task 17:02:05 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-314’ 17:02:05 Still waiting to schedule task 17:02:05 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 17:03:30 Running on prd-ubuntu18.04-docker-arm64-4c-16g-315 in /w/workspace/ndry_app-functions-sdk-go_PR-967 [Pipeline] { [Pipeline] ws 17:03:30 Running in /w/workspace/app-functions-sdk-go/10 [Pipeline] { [Pipeline] checkout 17:03:30 The recommended git tool is: git 17:03:35 using credential edgex-jenkins-ssh 17:03:35 Cloning the remote Git repository 17:03:35 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 17:03:35 > git init /w/workspace/app-functions-sdk-go/10 # timeout=10 17:03:35 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:03:35 > git --version # timeout=10 17:03:35 > git --version # 'git version 2.17.1' 17:03:35 using GIT_SSH to set credentials SSH Credentials for GitHub 17:03:35 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:03:41 Merging remotes/origin/main commit 57f4d8b3a53339fb4c347c59efd7dde63d4c2d50 into PR head commit 1a27d5b71ffc4932352d3af3931f9c00699172ea 17:03:42 Merge succeeded, producing 1a27d5b71ffc4932352d3af3931f9c00699172ea 17:03:42 Checking out Revision 1a27d5b71ffc4932352d3af3931f9c00699172ea (PR-967) 17:03:40 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:03:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:03:40 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:03:40 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:03:40 using GIT_SSH to set credentials SSH Credentials for GitHub 17:03:40 > 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 17:03:41 > git config core.sparsecheckout # timeout=10 17:03:41 > git checkout -f 1a27d5b71ffc4932352d3af3931f9c00699172ea # timeout=10 17:03:41 > git remote # timeout=10 17:03:42 > git config --get remote.origin.url # timeout=10 17:03:42 using GIT_SSH to set credentials SSH Credentials for GitHub 17:03:42 > git merge 57f4d8b3a53339fb4c347c59efd7dde63d4c2d50 # timeout=10 17:03:42 > git rev-parse HEAD^{commit} # timeout=10 17:03:42 > git config core.sparsecheckout # timeout=10 17:03:42 > git checkout -f 1a27d5b71ffc4932352d3af3931f9c00699172ea # timeout=10 17:03:46 Commit message: "refactor(triggers): Normalize Orchestration" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:03:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:03:47 % Total % Received % Xferd Average Speed Time Time Time Current 17:03:47 Dload Upload Total Spent Left Speed 17:03:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 72539 0 --:--:-- --:--:-- --:--:-- 72097 100 11824 100 11824 0 0 72097 0 --:--:-- --:--:-- --:--:-- 71660 [Pipeline] sh 17:03:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:03:48 + sudo tee /etc/docker/daemon.new 17:03:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:03:48 { 17:03:48 "registry-mirrors": [ 17:03:48 "https://nexus3.edgexfoundry.org:10001" 17:03:48 ], 17:03:48 "bip": "10.250.0.254/24", 17:03:48 "hosts": [ 17:03:48 "tcp://0.0.0.0:5555", 17:03:48 "unix:///var/run/docker.sock" 17:03:48 ], 17:03:48 "mtu": 1458, 17:03:48 "selinux-enabled": true, 17:03:48 "seccomp-profile": "/etc/docker/seccomp.json" 17:03:48 } [Pipeline] sh 17:03:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:03:48 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 17:04:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:04:07 ========================================================= 17:04:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 17:04:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 17:04:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 17:04:08 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:04:08 552d1f2373af: Pulling fs layer 17:04:08 ea3f2d53f512: Pulling fs layer 17:04:08 9e70ebbbe112: Pulling fs layer 17:04:08 7a9cfe048b4a: Pulling fs layer 17:04:08 72dc09318566: Pulling fs layer 17:04:08 f4f7b4309257: Pulling fs layer 17:04:08 0ac9a79272e3: Pulling fs layer 17:04:08 b78e95d17946: Pulling fs layer 17:04:08 72dc09318566: Waiting 17:04:08 f4f7b4309257: Waiting 17:04:08 0ac9a79272e3: Waiting 17:04:08 b78e95d17946: Waiting 17:04:08 7a9cfe048b4a: Waiting 17:04:08 9e70ebbbe112: Verifying Checksum 17:04:08 9e70ebbbe112: Download complete 17:04:08 ea3f2d53f512: Verifying Checksum 17:04:08 ea3f2d53f512: Download complete 17:04:08 72dc09318566: Verifying Checksum 17:04:08 72dc09318566: Download complete 17:04:08 f4f7b4309257: Download complete 17:04:08 0ac9a79272e3: Verifying Checksum 17:04:08 0ac9a79272e3: Download complete 17:04:08 552d1f2373af: Download complete 17:04:09 552d1f2373af: Pull complete 17:04:10 ea3f2d53f512: Pull complete 17:04:10 9e70ebbbe112: Pull complete 17:04:10 b78e95d17946: Verifying Checksum 17:04:10 b78e95d17946: Download complete 17:04:11 7a9cfe048b4a: Verifying Checksum 17:04:11 7a9cfe048b4a: Download complete 17:04:21 7a9cfe048b4a: Pull complete 17:04:21 72dc09318566: Pull complete 17:04:21 f4f7b4309257: Pull complete 17:04:22 0ac9a79272e3: Pull complete 17:04:27 b78e95d17946: Pull complete 17:04:27 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 17:04:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 17:04:27 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 17:04:28 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 17:04:28 + docker inspect -f . ci-base-image-arm64 17:04:28 . [Pipeline] withDockerContainer 17:04:28 prd-ubuntu18.04-docker-arm64-4c-16g-315 does not seem to be running inside a container 17:04:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/10 -v /w/workspace/app-functions-sdk-go/10:/w/workspace/app-functions-sdk-go/10:rw,z -v /w/workspace/app-functions-sdk-go/10@tmp:/w/workspace/app-functions-sdk-go/10@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 17:04:31 $ docker top 9d440fbef5f3b042de76b168186961fc4f27fb02efc2ff82a9316187bae8b347 -eo pid,comm [Pipeline] { [Pipeline] sh 17:04:32 + go version 17:04:32 go version go1.16.8 linux/arm64 [Pipeline] } 17:04:32 $ docker stop --time=1 9d440fbef5f3b042de76b168186961fc4f27fb02efc2ff82a9316187bae8b347 17:04:34 $ docker rm -f 9d440fbef5f3b042de76b168186961fc4f27fb02efc2ff82a9316187bae8b347 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:04:35 + docker inspect -f . ci-base-image-arm64 17:04:35 . [Pipeline] withDockerContainer 17:04:35 prd-ubuntu18.04-docker-arm64-4c-16g-315 does not seem to be running inside a container 17:04:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/10 -v /w/workspace/app-functions-sdk-go/10:/w/workspace/app-functions-sdk-go/10:rw,z -v /w/workspace/app-functions-sdk-go/10@tmp:/w/workspace/app-functions-sdk-go/10@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 17:04:37 $ docker top a32cbb3a7354d4e13fe1a7990bc965b5d5d170368effc1ff0efb05bf67a9e948 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:04:38 + make test 17:04:38 make -C ./app-service-template build 17:04:38 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/10/app-service-template' 17:04:38 go mod tidy 17:04:40 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 17:04:40 go: downloading github.com/google/uuid v1.3.0 17:04:40 go: downloading github.com/stretchr/testify v1.7.0 17:04:40 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.0 17:04:40 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.0 17:04:40 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 17:04:40 go: downloading github.com/davecgh/go-spew v1.1.1 17:04:40 go: downloading github.com/pmezard/go-difflib v1.0.0 17:04:40 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 17:04:40 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 17:04:40 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 17:04:40 go: downloading github.com/stretchr/objx v0.1.1 17:04:40 go: downloading github.com/go-playground/validator/v10 v10.9.0 17:04:40 go: downloading github.com/go-kit/kit v0.11.0 17:04:40 go: downloading github.com/gorilla/mux v1.8.0 17:04:40 go: downloading github.com/hashicorp/go-multierror v1.1.1 17:04:40 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 17:04:40 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 17:04:40 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 17:04:40 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 17:04:41 go: downloading github.com/mitchellh/copystructure v1.0.0 17:04:41 go: downloading github.com/hashicorp/consul/api v1.9.1 17:04:41 go: downloading github.com/gorilla/websocket v1.4.2 17:04:41 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 17:04:41 go: downloading github.com/pelletier/go-toml v1.9.4 17:04:41 go: downloading github.com/hashicorp/errwrap v1.0.0 17:04:41 go: downloading github.com/go-playground/universal-translator v0.18.0 17:04:41 go: downloading github.com/leodido/go-urn v1.2.1 17:04:41 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 17:04:41 go: downloading golang.org/x/text v0.3.6 17:04:41 go: downloading github.com/go-playground/assert/v2 v2.0.1 17:04:41 go: downloading github.com/go-playground/locales v0.14.0 17:04:44 go: downloading github.com/kr/pretty v0.3.0 17:04:44 go: downloading github.com/x448/float16 v0.8.4 17:04:44 go: downloading github.com/mitchellh/reflectwalk v1.0.0 17:04:44 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 17:04:44 go: downloading github.com/go-logfmt/logfmt v0.5.0 17:04:44 go: downloading github.com/go-stack/stack v1.8.0 17:04:44 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 17:04:44 go: downloading github.com/hashicorp/go-hclog v0.12.0 17:04:44 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 17:04:44 go: downloading github.com/hashicorp/serf v0.9.5 17:04:44 go: downloading github.com/mitchellh/mapstructure v1.1.2 17:04:44 go: downloading github.com/hashicorp/consul/sdk v0.8.0 17:04:44 go: downloading github.com/hashicorp/go-uuid v1.0.1 17:04:44 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 17:04:44 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:04:44 go: downloading github.com/kr/text v0.2.0 17:04:44 go: downloading github.com/rogpeppe/go-internal v1.8.0 17:04:44 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 17:04:44 go: downloading github.com/go-redis/redis/v7 v7.3.0 17:04:44 go: downloading github.com/pebbe/zmq4 v1.2.7 17:04:44 go: downloading github.com/mitchellh/go-homedir v1.1.0 17:04:44 go: downloading github.com/fatih/color v1.9.0 17:04:45 go: downloading github.com/mattn/go-colorable v0.1.6 17:04:45 go: downloading github.com/mattn/go-isatty v0.0.12 17:04:45 go: downloading github.com/pkg/errors v0.9.1 17:04:45 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 17:04:45 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:04:45 go: downloading github.com/hashicorp/go-msgpack v0.5.3 17:04:45 go: downloading github.com/hashicorp/memberlist v0.2.2 17:04:45 go: downloading github.com/onsi/ginkgo v1.10.1 17:04:45 go: downloading github.com/onsi/gomega v1.7.0 17:04:45 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 17:04:45 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 17:04:45 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 17:04:45 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 17:04:45 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 17:04:45 go: downloading github.com/miekg/dns v1.1.26 17:04:45 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 17:04:45 go: downloading github.com/hashicorp/golang-lru v0.5.0 17:04:45 go: downloading github.com/hpcloud/tail v1.0.0 17:04:45 go: downloading gopkg.in/yaml.v2 v2.3.0 17:04:45 go: downloading github.com/golang/protobuf v1.5.2 17:04:45 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 17:04:45 go: downloading gopkg.in/fsnotify.v1 v1.4.7 17:04:45 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 17:04:45 go: downloading github.com/fsnotify/fsnotify v1.4.7 17:04:45 go: downloading google.golang.org/protobuf v1.27.1 17:04:46 go: downloading github.com/google/go-cmp v0.5.5 17:04:46 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 17:04:46 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 17:05:25 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/10/app-service-template' 17:05:25 make -C ./app-service-template test 17:05:25 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/10/app-service-template' 17:05:25 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 17:05:52 ok new-app-service 0.056s coverage: 48.1% of statements 17:05:52 ? new-app-service/config [no test files] 17:05:52 ok new-app-service/functions 0.041s 17:05:53 CGO_ENABLED=1 go vet ./... 17:06:16 Running on prd-centos7-docker-4c-2g-317 in /w/workspace/ndry_app-functions-sdk-go_PR-967 [Pipeline] { [Pipeline] ws 17:06:16 Running in /w/workspace/app-functions-sdk-go/10 [Pipeline] { [Pipeline] checkout 17:06:16 The recommended git tool is: git 17:06:18 using credential edgex-jenkins-ssh 17:06:18 Cloning the remote Git repository 17:06:17 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 17:06:17 > git init /w/workspace/app-functions-sdk-go/10 # timeout=10 17:06:17 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:06:17 > git --version # timeout=10 17:06:17 > git --version # 'git version 2.24.4' 17:06:17 using GIT_SSH to set credentials SSH Credentials for GitHub 17:06:17 [INFO] Currently running in a labeled security context 17:06:17 [INFO] Currently SELinux is 'enforcing' on the host 17:06:17 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/10@tmp/jenkins-gitclient-ssh5040633218553380850.key 17:06:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:06:20 Merging remotes/origin/main commit 57f4d8b3a53339fb4c347c59efd7dde63d4c2d50 into PR head commit 1a27d5b71ffc4932352d3af3931f9c00699172ea 17:06:21 Merge succeeded, producing 1a27d5b71ffc4932352d3af3931f9c00699172ea 17:06:21 Checking out Revision 1a27d5b71ffc4932352d3af3931f9c00699172ea (PR-967) 17:06:19 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:06:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:06:19 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:06:19 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:06:19 using GIT_SSH to set credentials SSH Credentials for GitHub 17:06:19 [INFO] Currently running in a labeled security context 17:06:19 [INFO] Currently SELinux is 'enforcing' on the host 17:06:19 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/10@tmp/jenkins-gitclient-ssh2187084830671091542.key 17:06:19 > 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 17:06:20 > git config core.sparsecheckout # timeout=10 17:06:20 > git checkout -f 1a27d5b71ffc4932352d3af3931f9c00699172ea # timeout=10 17:06:20 > git remote # timeout=10 17:06:20 > git config --get remote.origin.url # timeout=10 17:06:20 using GIT_SSH to set credentials SSH Credentials for GitHub 17:06:20 [INFO] Currently running in a labeled security context 17:06:20 [INFO] Currently SELinux is 'enforcing' on the host 17:06:20 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/10@tmp/jenkins-gitclient-ssh4386620687819677986.key 17:06:20 > git merge 57f4d8b3a53339fb4c347c59efd7dde63d4c2d50 # timeout=10 17:06:20 > git rev-parse HEAD^{commit} # timeout=10 17:06:20 > git config core.sparsecheckout # timeout=10 17:06:20 > git checkout -f 1a27d5b71ffc4932352d3af3931f9c00699172ea # timeout=10 17:06:24 Commit message: "refactor(triggers): Normalize Orchestration" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 17:06:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:06:25 ========================================================= 17:06:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 17:06:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 17:06:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:06:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:06:25 ./bin/test-attribution-txt.sh 17:06:25 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/10/app-service-template' 17:06:25 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:06:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 17:06:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 17:06:25 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 17:06:25 a0d0a0d46f8b: Pulling fs layer 17:06:25 31adcdaf11c8: Pulling fs layer 17:06:25 b8b176561691: Pulling fs layer 17:06:25 4527c011a84f: Pulling fs layer 17:06:25 5d74067f8e1e: Pulling fs layer 17:06:25 e0aca202a116: Pulling fs layer 17:06:25 3a43be97a3b4: Pulling fs layer 17:06:25 34cad66bf833: Pulling fs layer 17:06:25 b4e3c513aaa6: Pulling fs layer 17:06:25 4527c011a84f: Waiting 17:06:25 5d74067f8e1e: Waiting 17:06:25 e0aca202a116: Waiting 17:06:25 3a43be97a3b4: Waiting 17:06:25 34cad66bf833: Waiting 17:06:25 b4e3c513aaa6: Waiting 17:06:25 b8b176561691: Verifying Checksum 17:06:25 b8b176561691: Download complete 17:06:25 31adcdaf11c8: Verifying Checksum 17:06:25 31adcdaf11c8: Download complete 17:06:25 5d74067f8e1e: Verifying Checksum 17:06:25 5d74067f8e1e: Download complete 17:06:25 e0aca202a116: Verifying Checksum 17:06:25 e0aca202a116: Download complete 17:06:25 3a43be97a3b4: Verifying Checksum 17:06:25 3a43be97a3b4: Download complete 17:06:25 a0d0a0d46f8b: Verifying Checksum 17:06:25 a0d0a0d46f8b: Download complete 17:06:25 34cad66bf833: Verifying Checksum 17:06:25 34cad66bf833: Download complete 17:06:26 a0d0a0d46f8b: Pull complete 17:06:26 31adcdaf11c8: Pull complete 17:06:26 b4e3c513aaa6: Verifying Checksum 17:06:26 b4e3c513aaa6: Download complete 17:06:26 b8b176561691: Pull complete 17:06:26 4527c011a84f: Verifying Checksum 17:06:26 4527c011a84f: Download complete 17:06:30 4527c011a84f: Pull complete 17:06:30 5d74067f8e1e: Pull complete 17:06:30 e0aca202a116: Pull complete 17:06:30 3a43be97a3b4: Pull complete 17:06:30 34cad66bf833: Pull complete 17:06:32 b4e3c513aaa6: Pull complete 17:06:32 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 17:06:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 17:06:32 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 17:06:32 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 17:06:33 + docker inspect -f . ci-base-image-x86_64 17:06:33 . [Pipeline] withDockerContainer 17:06:33 prd-centos7-docker-4c-2g-317 does not seem to be running inside a container 17:06:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/10 -v /w/workspace/app-functions-sdk-go/10:/w/workspace/app-functions-sdk-go/10:rw,z -v /w/workspace/app-functions-sdk-go/10@tmp:/w/workspace/app-functions-sdk-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:06:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.107s coverage: 65.9% of statements 17:06:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.048s coverage: 93.7% of statements 17:06:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 17:06:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.094s coverage: 61.8% of statements 17:06:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 17:06:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.123s 17:06:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.036s coverage: 100.0% of statements 17:06:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.224s coverage: 78.3% of statements 17:06:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 17:06:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 17:06:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 17:06:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 17:06:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 17:06:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 17:06:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.013s coverage: 97.3% of statements 17:06:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 17:06:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] 17:06:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.080s coverage: 97.4% of statements 17:06:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] 17:06:36 $ docker top 21ef0c8d6e74517d3fb336b099f005def2c17747b353332c59829d91f5da62ca -eo pid,comm [Pipeline] { [Pipeline] sh 17:06:36 + go version 17:06:36 go version go1.16.8 linux/amd64 [Pipeline] } 17:06:36 $ docker stop --time=1 21ef0c8d6e74517d3fb336b099f005def2c17747b353332c59829d91f5da62ca 17:06:37 $ docker rm -f 21ef0c8d6e74517d3fb336b099f005def2c17747b353332c59829d91f5da62ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:06:38 + docker inspect -f . ci-base-image-x86_64 17:06:38 . [Pipeline] withDockerContainer 17:06:38 prd-centos7-docker-4c-2g-317 does not seem to be running inside a container 17:06:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/10 -v /w/workspace/app-functions-sdk-go/10:/w/workspace/app-functions-sdk-go/10:rw,z -v /w/workspace/app-functions-sdk-go/10@tmp:/w/workspace/app-functions-sdk-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:06:38 $ docker top c68594d07ea1d40235de6dfebf128ea30ead0158243633bb5b85e6ded76e91b2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:06:39 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.706s coverage: 80.4% of statements 17:06:39 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] 17:06:39 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] 17:06:39 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.052s coverage: 34.2% of statements 17:06:39 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] 17:06:39 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.035s coverage: 14.3% of statements 17:06:39 + make test 17:06:39 make -C ./app-service-template build 17:06:39 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/10/app-service-template' 17:06:39 go mod tidy 17:06:39 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.068s coverage: 27.3% of statements 17:06:39 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 17:06:39 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 17:06:39 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.042s coverage: 51.4% of statements 17:06:40 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 17:06:40 go: downloading github.com/google/uuid v1.3.0 17:06:40 go: downloading github.com/stretchr/testify v1.7.0 17:06:40 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.0 17:06:40 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.0 17:06:40 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 17:06:40 go: downloading github.com/go-playground/validator/v10 v10.9.0 17:06:40 go: downloading github.com/go-kit/kit v0.11.0 17:06:40 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 17:06:40 go: downloading github.com/davecgh/go-spew v1.1.1 17:06:40 go: downloading github.com/pmezard/go-difflib v1.0.0 17:06:40 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 17:06:40 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 17:06:40 go: downloading github.com/stretchr/objx v0.1.1 17:06:40 go: downloading github.com/gorilla/mux v1.8.0 17:06:40 go: downloading github.com/hashicorp/go-multierror v1.1.1 17:06:40 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 17:06:40 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 17:06:40 go: downloading github.com/go-playground/universal-translator v0.18.0 17:06:40 go: downloading github.com/leodido/go-urn v1.2.1 17:06:40 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 17:06:40 go: downloading golang.org/x/text v0.3.6 17:06:41 go: downloading github.com/go-playground/assert/v2 v2.0.1 17:06:41 go: downloading github.com/go-playground/locales v0.14.0 17:06:42 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 17:06:42 go: downloading github.com/go-logfmt/logfmt v0.5.0 17:06:42 go: downloading github.com/go-stack/stack v1.8.0 17:06:42 go: downloading github.com/pelletier/go-toml v1.9.4 17:06:42 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 17:06:42 go: downloading github.com/hashicorp/consul/api v1.9.1 17:06:42 go: downloading github.com/mitchellh/copystructure v1.0.0 17:06:42 go: downloading github.com/gorilla/websocket v1.4.2 17:06:42 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 17:06:42 go: downloading github.com/hashicorp/errwrap v1.0.0 17:06:42 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 17:06:42 go: downloading github.com/kr/pretty v0.3.0 17:06:42 go: downloading github.com/x448/float16 v0.8.4 17:06:42 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 17:06:42 go: downloading github.com/hashicorp/go-hclog v0.12.0 17:06:42 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 17:06:42 go: downloading github.com/hashicorp/serf v0.9.5 17:06:42 go: downloading github.com/mitchellh/mapstructure v1.1.2 17:06:42 go: downloading github.com/hashicorp/consul/sdk v0.8.0 17:06:42 go: downloading github.com/hashicorp/go-uuid v1.0.1 17:06:42 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 17:06:42 go: downloading github.com/mitchellh/reflectwalk v1.0.0 17:06:42 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:06:42 go: downloading github.com/kr/text v0.2.0 17:06:42 go: downloading github.com/rogpeppe/go-internal v1.8.0 17:06:42 go: downloading github.com/fatih/color v1.9.0 17:06:42 go: downloading github.com/mattn/go-colorable v0.1.6 17:06:42 go: downloading github.com/mattn/go-isatty v0.0.12 17:06:42 go: downloading github.com/mitchellh/go-homedir v1.1.0 17:06:42 go: downloading github.com/pkg/errors v0.9.1 17:06:42 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:06:42 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 17:06:42 go: downloading github.com/hashicorp/go-msgpack v0.5.3 17:06:42 go: downloading github.com/hashicorp/memberlist v0.2.2 17:06:42 go: downloading github.com/go-redis/redis/v7 v7.3.0 17:06:42 go: downloading github.com/pebbe/zmq4 v1.2.7 17:06:42 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 17:06:42 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 17:06:42 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 17:06:42 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 17:06:42 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 17:06:42 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 17:06:42 go: downloading github.com/miekg/dns v1.1.26 17:06:42 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 17:06:42 go: downloading github.com/onsi/ginkgo v1.10.1 17:06:42 go: downloading github.com/onsi/gomega v1.7.0 17:06:42 go: downloading github.com/hashicorp/golang-lru v0.5.0 17:06:42 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 17:06:42 go: downloading gopkg.in/yaml.v2 v2.3.0 17:06:42 go: downloading github.com/hpcloud/tail v1.0.0 17:06:42 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 17:06:42 go: downloading github.com/golang/protobuf v1.5.2 17:06:42 go: downloading gopkg.in/fsnotify.v1 v1.4.7 17:06:42 go: downloading github.com/fsnotify/fsnotify v1.4.7 17:06:42 go: downloading google.golang.org/protobuf v1.27.1 17:06:43 go: downloading github.com/google/go-cmp v0.5.5 17:06:43 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 17:06:43 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 17:06:55 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/10/app-service-template' 17:06:55 make -C ./app-service-template test 17:06:55 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/10/app-service-template' 17:06:55 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 17:07:03 ok new-app-service 0.027s coverage: 48.1% of statements 17:07:03 ? new-app-service/config [no test files] 17:07:03 ok new-app-service/functions 0.008s 17:07:03 CGO_ENABLED=1 go vet ./... 17:07:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.119s coverage: 78.2% of statements 17:07:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.034s coverage: 94.4% of statements 17:07:06 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:07:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:07:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:07:12 ./bin/test-attribution-txt.sh 17:07:12 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/10/app-service-template' 17:07:12 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:07:12 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 17:07:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:07:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:07:13 WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] echo 17:07:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:07:13 $ docker stop --time=1 a32cbb3a7354d4e13fe1a7990bc965b5d5d170368effc1ff0efb05bf67a9e948 17:07:13 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.016s coverage: 65.9% of statements 17:07:13 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.007s coverage: 93.7% of statements 17:07:13 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 17:07:14 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.014s coverage: 61.8% of statements 17:07:14 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 17:07:14 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.014s 17:07:14 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.004s coverage: 100.0% of statements 17:07:14 $ docker rm -f a32cbb3a7354d4e13fe1a7990bc965b5d5d170368effc1ff0efb05bf67a9e948 17:07:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.046s coverage: 78.3% of statements 17:07:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 17:07:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 17:07:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 17:07:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 17:07:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 17:07:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 17:07:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.011s coverage: 97.3% of statements 17:07:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 17:07:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] 17:07:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.009s coverage: 97.4% of statements 17:07:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] 17:07:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.628s coverage: 80.4% of statements 17:07:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] 17:07:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] 17:07:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.007s coverage: 31.6% of statements 17:07:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] 17:07:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.006s coverage: 14.3% of statements 17:07:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.007s coverage: 27.3% of statements 17:07:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 17:07:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [Pipeline] // withDockerContainer [Pipeline] sh 17:07:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:07:17 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.011s coverage: 51.4% of statements 17:07:18 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 17:07:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:07:18 17:07:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 17:07:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:07:19 arm64: Pulling from edgex-lftools-log-publisher 17:07:19 448f6bf000e3: Pulling fs layer 17:07:19 f757da607395: Pulling fs layer 17:07:19 05883995daec: Pulling fs layer 17:07:19 8603b9c90790: Pulling fs layer 17:07:19 1560dd03e051: Pulling fs layer 17:07:19 27f5ce0e4adf: Pulling fs layer 17:07:19 c2d8d7efcc4b: Pulling fs layer 17:07:19 1560dd03e051: Waiting 17:07:19 27f5ce0e4adf: Waiting 17:07:19 c2d8d7efcc4b: Waiting 17:07:19 8603b9c90790: Waiting 17:07:19 f757da607395: Verifying Checksum 17:07:19 f757da607395: Download complete 17:07:19 8603b9c90790: Verifying Checksum 17:07:19 8603b9c90790: Download complete 17:07:19 1560dd03e051: Verifying Checksum 17:07:19 1560dd03e051: Download complete 17:07:19 27f5ce0e4adf: Verifying Checksum 17:07:19 27f5ce0e4adf: Download complete 17:07:19 05883995daec: Verifying Checksum 17:07:19 05883995daec: Download complete 17:07:19 448f6bf000e3: Verifying Checksum 17:07:19 448f6bf000e3: Download complete 17:07:22 c2d8d7efcc4b: Download complete 17:07:23 448f6bf000e3: Pull complete 17:07:24 f757da607395: Pull complete 17:07:25 05883995daec: Pull complete 17:07:25 8603b9c90790: Pull complete 17:07:26 1560dd03e051: Pull complete 17:07:27 27f5ce0e4adf: Pull complete 17:07:42 c2d8d7efcc4b: Pull complete 17:07:42 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 17:07:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:07:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 17:07:42 prd-ubuntu18.04-docker-arm64-4c-16g-315 does not seem to be running inside a container 17:07:42 $ 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/10 -v /w/workspace/app-functions-sdk-go/10:/w/workspace/app-functions-sdk-go/10:rw,z -v /w/workspace/app-functions-sdk-go/10@tmp:/w/workspace/app-functions-sdk-go/10@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 17:07:44 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.020s coverage: 78.2% of statements 17:07:44 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.008s coverage: 94.4% of statements 17:07:44 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:07:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:07:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:07:45 $ docker top d2c0de58213ce72be41f2fa10a8a2100d8f29b72a5508eb2cc7d031596572d9c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:07:46 ---> job-cost.sh 17:07:46 lf-activate-venv: SKIPPING 17:07:46 INFO: No Stack... 17:07:46 INFO: Retrieving Pricing Info for: v3-standard-4 17:07:46 INFO: Archiving Costs [Pipeline] sh 17:07:47 + cat /w/workspace/app-functions-sdk-go/10/archives/cost.csv 17:07:47 + cut -d, -f6 [Pipeline] lock 17:07:47 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-967-10-stack-cost] 17:07:47 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-967-10-stack-cost] did not exist. Created. 17:07:47 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-967-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:07:48 + echo total: 0.10999999940395355 [Pipeline] stash 17:07:48 Stashed 1 file(s) [Pipeline] } 17:07:48 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-967-10-stack-cost] [Pipeline] // lock [Pipeline] } 17:07:48 $ docker stop --time=1 d2c0de58213ce72be41f2fa10a8a2100d8f29b72a5508eb2cc7d031596572d9c 17:07:49 $ docker rm -f d2c0de58213ce72be41f2fa10a8a2100d8f29b72a5508eb2cc7d031596572d9c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 17:07:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:07:59 $ docker stop --time=1 c68594d07ea1d40235de6dfebf128ea30ead0158243633bb5b85e6ded76e91b2 17:08:00 $ docker rm -f c68594d07ea1d40235de6dfebf128ea30ead0158243633bb5b85e6ded76e91b2 [Pipeline] // withDockerContainer [Pipeline] sh 17:08:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:08:01 Warning: overwriting stash ‘coverage-report’ 17:08:01 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 17:08:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:08:03 17:08:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:08:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:08:03 latest: Pulling from edgex-lftools-log-publisher 17:08:03 b4d181a07f80: Pulling fs layer 17:08:03 a1111a8f2ec3: Pulling fs layer 17:08:03 ed53099fbce6: Pulling fs layer 17:08:03 dc539afda2c1: Pulling fs layer 17:08:03 77bc0d833cb6: Pulling fs layer 17:08:03 9065ff56babe: Pulling fs layer 17:08:03 d287ab97295c: Pulling fs layer 17:08:03 dc539afda2c1: Waiting 17:08:03 77bc0d833cb6: Waiting 17:08:03 9065ff56babe: Waiting 17:08:03 d287ab97295c: Waiting 17:08:03 a1111a8f2ec3: Verifying Checksum 17:08:03 a1111a8f2ec3: Download complete 17:08:03 dc539afda2c1: Verifying Checksum 17:08:03 dc539afda2c1: Download complete 17:08:03 ed53099fbce6: Verifying Checksum 17:08:03 ed53099fbce6: Download complete 17:08:03 9065ff56babe: Verifying Checksum 17:08:03 9065ff56babe: Download complete 17:08:03 77bc0d833cb6: Verifying Checksum 17:08:03 77bc0d833cb6: Download complete 17:08:03 b4d181a07f80: Verifying Checksum 17:08:03 b4d181a07f80: Download complete 17:08:04 d287ab97295c: Verifying Checksum 17:08:04 d287ab97295c: Download complete 17:08:04 b4d181a07f80: Pull complete 17:08:04 a1111a8f2ec3: Pull complete 17:08:05 ed53099fbce6: Pull complete 17:08:05 dc539afda2c1: Pull complete 17:08:05 77bc0d833cb6: Pull complete 17:08:05 9065ff56babe: Pull complete 17:08:11 d287ab97295c: Pull complete 17:08:11 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 17:08:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:08:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:08:11 prd-centos7-docker-4c-2g-317 does not seem to be running inside a container 17:08:11 $ 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/10 -v /w/workspace/app-functions-sdk-go/10:/w/workspace/app-functions-sdk-go/10:rw,z -v /w/workspace/app-functions-sdk-go/10@tmp:/w/workspace/app-functions-sdk-go/10@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 17:08:13 $ docker top 772ca8783295f22e3dc853d9710b1f98343665c0c8f73b305a802e98083d3586 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:08:13 ---> job-cost.sh 17:08:13 lf-activate-venv: SKIPPING 17:08:13 INFO: No Stack... 17:08:13 INFO: Retrieving Pricing Info for: v3-standard-2 17:08:14 INFO: Archiving Costs [Pipeline] sh 17:08:14 + cat /w/workspace/app-functions-sdk-go/10/archives/cost.csv 17:08:14 + cut -d, -f6 [Pipeline] lock 17:08:14 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-967-10-stack-cost] 17:08:14 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-967-10-stack-cost] did not exist. Created. 17:08:14 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-967-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:08:14 /w/workspace/app-functions-sdk-go/10@tmp/durable-21b8a688/script.sh: 1: /w/workspace/app-functions-sdk-go/10@tmp/durable-21b8a688/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 17:08:15 + echo total: 0.05999999865889549 [Pipeline] stash 17:08:15 Warning: overwriting stash ‘stack-cost’ 17:08:15 Stashed 1 file(s) [Pipeline] } 17:08:15 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-967-10-stack-cost] [Pipeline] // lock [Pipeline] } 17:08:15 $ docker stop --time=1 772ca8783295f22e3dc853d9710b1f98343665c0c8f73b305a802e98083d3586 17:08:16 $ docker rm -f 772ca8783295f22e3dc853d9710b1f98343665c0c8f73b305a802e98083d3586 [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 17:08:16 provisioning config files... 17:08:16 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-967@tmp/config1612319828083011813tmp [Pipeline] { [Pipeline] sh 17:08:17 + set +x 17:08:17 + bash -s -- 17:08:17 + curl -s https://codecov.io/bash 17:08:17 17:08:17 _____ _ 17:08:17 / ____| | | 17:08:17 | | ___ __| | ___ ___ _____ __ 17:08:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:08:17 | |___| (_) | (_| | __/ (_| (_) \ V / 17:08:17 \_____\___/ \__,_|\___|\___\___/ \_/ 17:08:17 Bash-1.0.6 17:08:17 17:08:17 17:08:17 ==> git version 2.24.4 found 17:08:17 ==> 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 17:08:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 17:08:17 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 17:08:17 ==> Jenkins CI detected. 17:08:17 current dir:  /w/workspace/ndry_app-functions-sdk-go_PR-967 17:08:17 project root: . 17:08:17 --> token set from env 17:08:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:08:17 ==> Running gcov in . (disable via -X gcov) 17:08:17 ==> Python coveragepy not found 17:08:17 ==> Searching for coverage reports in: 17:08:17 + . 17:08:17 -> Found 2 reports 17:08:17 ==> Detecting git/mercurial file structure 17:08:17 ==> Reading reports 17:08:17 + ./app-service-template/coverage.out bytes=1219 17:08:17 + ./coverage.out bytes=111397 17:08:17 ==> Appending adjustments 17:08:17 https://docs.codecov.io/docs/fixing-reports 17:08:17 + Found adjustments 17:08:17 ==> Gzipping contents 17:08:17 20K /tmp/codecov.w0ie9H.gz 17:08:17 ==> Uploading reports 17:08:17 url: https://codecov.io 17:08:17 query: branch=PR-967&commit=1a27d5b71ffc4932352d3af3931f9c00699172ea&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-967%2F10%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=967&job=&cmd_args= 17:08:17 -> Pinging Codecov 17:08:17 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=1a27d5b71ffc4932352d3af3931f9c00699172ea&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-967%2F10%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=967&job=&cmd_args= 17:08:18 -> Uploading to 17:08:18 https://storage.googleapis.com/codecov/v4/raw/2021-11-22/3D8B5DFFC46A037C893635FACE044666/1a27d5b71ffc4932352d3af3931f9c00699172ea/1437a923-26ca-4a7a-ac33-39bed3ecbb28.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211122%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211122T170818Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0e88c336ff4ff7f933c9766e4b2afe66a8f31fc5cb3c6748764f89242c031585 17:08:18 % Total % Received % Xferd Average Speed Time Time Time Current 17:08:18 Dload Upload Total Spent Left Speed 17:08:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19412 0 0 100 19412 0 63566 --:--:-- --:--:-- --:--:-- 63645 17:08:18 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/1a27d5b71ffc4932352d3af3931f9c00699172ea [Pipeline] } 17:08:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:08:19 + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-967/archives ']' [Pipeline] libraryResource [Pipeline] sh 17:08:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:08:20 ---> package-listing.sh 17:08:20 ++ facter osfamily 17:08:20 ++ tr '[:upper:]' '[:lower:]' 17:08:21 + OS_FAMILY=redhat 17:08:21 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-967 17:08:21 + START_PACKAGES=/tmp/packages_start.txt 17:08:21 + END_PACKAGES=/tmp/packages_end.txt 17:08:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:08:21 + PACKAGES=/tmp/packages_start.txt 17:08:21 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-967 ']' 17:08:21 + PACKAGES=/tmp/packages_end.txt 17:08:21 + case "${OS_FAMILY}" in 17:08:21 + sort 17:08:21 + rpm -qa 17:08:21 + '[' -f /tmp/packages_start.txt ']' 17:08:21 + '[' -f /tmp/packages_end.txt ']' 17:08:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:08:21 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-967 ']' 17:08:21 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-967/archives/ 17:08:21 + 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 17:08:21 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 17:08:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:08:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:08:22 17:08:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:08:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:08:22 latest: Pulling from edgex-lftools-log-publisher 17:08:22 b4d181a07f80: Pulling fs layer 17:08:22 a1111a8f2ec3: Pulling fs layer 17:08:22 ed53099fbce6: Pulling fs layer 17:08:22 dc539afda2c1: Pulling fs layer 17:08:22 77bc0d833cb6: Pulling fs layer 17:08:22 9065ff56babe: Pulling fs layer 17:08:22 d287ab97295c: Pulling fs layer 17:08:22 dc539afda2c1: Waiting 17:08:22 77bc0d833cb6: Waiting 17:08:22 9065ff56babe: Waiting 17:08:22 d287ab97295c: Waiting 17:08:22 a1111a8f2ec3: Verifying Checksum 17:08:22 a1111a8f2ec3: Download complete 17:08:22 dc539afda2c1: Verifying Checksum 17:08:22 dc539afda2c1: Download complete 17:08:22 77bc0d833cb6: Verifying Checksum 17:08:22 77bc0d833cb6: Download complete 17:08:23 ed53099fbce6: Verifying Checksum 17:08:23 ed53099fbce6: Download complete 17:08:23 9065ff56babe: Verifying Checksum 17:08:23 9065ff56babe: Download complete 17:08:23 b4d181a07f80: Download complete 17:08:23 d287ab97295c: Verifying Checksum 17:08:23 d287ab97295c: Download complete 17:08:24 b4d181a07f80: Pull complete 17:08:24 a1111a8f2ec3: Pull complete 17:08:25 ed53099fbce6: Pull complete 17:08:25 dc539afda2c1: Pull complete 17:08:25 77bc0d833cb6: Pull complete 17:08:26 9065ff56babe: Pull complete 17:08:31 d287ab97295c: Pull complete 17:08:31 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 17:08:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:08:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:08:31 prd-centos7-docker-4c-2g-314 does not seem to be running inside a container 17:08:31 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:08:33 $ docker top 682b4e028bc6ebdaf166f56bcf0da4125325ebdda14ed317a860f5e2fe69fd16 -eo pid,comm [Pipeline] { [Pipeline] sh 17:08:34 + touch /tmp/pre-build-complete [Pipeline] sh 17:08:34 + mkdir -p /var/log/sysstat [Pipeline] sh 17:08:34 + ls /var/log/sa-host 17:08:34 + sadf -c /var/log/sa-host/sa22 17:08:34 file_magic: OK 17:08:34 HZ: Using current value: 100 17:08:34 file_header: OK 17:08:34 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 17:08:34 Statistics: 17:08:34 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...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...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:08:34 File successfully converted to sysstat format version 12.0.3 17:08:34 + sadf -c /var/log/sa-host/sa30 17:08:34 file_magic: OK 17:08:34 HZ: Using current value: 100 17:08:34 file_header: OK 17:08:34 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 17:08:34 Statistics: 17:08:34 Hnuu...uuuununununu...Hnuu...uuuununununu... 17:08:34 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:08:35 provisioning config files... 17:08:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-967@tmp/config1746200087080351444tmp [Pipeline] { [Pipeline] echo 17:08:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:08:35 ---> create-netrc.sh [Pipeline] } 17:08:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:08:35 ---> python-tools-install.sh [Pipeline] echo 17:08:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:08:36 ---> sudo-logs.sh 17:08:36 Archiving 'sudo' log.. 17:08:36 sudo: unable to resolve host prd-centos7-docker-4c-2g-314.novalocal: Name or service not known 17:08:36 sudo: unable to resolve host prd-centos7-docker-4c-2g-314.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 17:08:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:08:36 ---> job-cost.sh 17:08:36 lf-activate-venv: SKIPPING 17:08:36 DEBUG: total: 0.05999999865889549 17:08:36 INFO: Retrieving Stack Cost... 17:08:36 INFO: Retrieving Pricing Info for: v3-standard-2 17:08:37 INFO: Archiving Costs [Pipeline] echo 17:08:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:08:37 ---> logs-deploy.sh 17:08:37 lf-activate-venv: SKIPPING 17:08:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-967/10 17:08:37 INFO: archiving workspace using pattern(s): 17:08:38 Archives upload complete. 17:08:38 INFO: archiving logs to Nexus