Pull request #984 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 3250c25d5a556d2a21baae2321dd48aa82e77b28+9cffd47191c984938c468f886111698baecf4146 (dc98c5a2895e9664f0cce2e8a4daad92264230c0) 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-ssh6503292578503584604.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh1876536778995365749.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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-984/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-984/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1373407386031863223.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > 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-ssh4306120165075707462.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-984/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-984/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3922275219601185064.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-13382 in /w/workspace/ndry_app-functions-sdk-go_PR-984 [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-984 # 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-984@tmp/jenkins-gitclient-ssh6317368534740766736.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 9cffd47191c984938c468f886111698baecf4146 into PR head commit 3250c25d5a556d2a21baae2321dd48aa82e77b28 > 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-984@tmp/jenkins-gitclient-ssh6720918112475355956.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/984/head:refs/remotes/origin/PR-984 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merge succeeded, producing def87a11b3848184124b9666a489d9fd031b06a7 Checking out Revision def87a11b3848184124b9666a489d9fd031b06a7 (PR-984) > git config core.sparsecheckout # timeout=10 > git checkout -f 3250c25d5a556d2a21baae2321dd48aa82e77b28 # 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-984@tmp/jenkins-gitclient-ssh7215032328149842134.key > git merge 9cffd47191c984938c468f886111698baecf4146 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f def87a11b3848184124b9666a489d9fd031b06a7 # timeout=10 Commit message: "Merge commit '9cffd47191c984938c468f886111698baecf4146' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 3d8c7cbd7f285b9e1e5687a0daa62f831ebfc618 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:41:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:41:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:41:21 ========================================================= 02:41:21 EdgeX Global Pipelines Version Info 02:41:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:41:22 ------------------- 02:41:22 stable info: 02:41:22 ------------------- 02:41:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:41:22 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 02:41:22 Message: update stable to v1.0.210 02:41:22 ------------------- 02:41:22 experimental info: 02:41:22 ------------------- 02:41:22 Commited By: **** collab-it+edgex@linuxfoundation.org 02:41:22 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 02:41:22 Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-984 [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-984 [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-984 [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = def87a11b3848184124b9666a489d9fd031b06a7 [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = def87a1 [Pipeline] echo 02:41:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:41:23 + git log --format=format:%s -1 def87a11b3848184124b9666a489d9fd031b06a7 [Pipeline] echo 02:41:23 GIT_COMMIT: def87a11b3848184124b9666a489d9fd031b06a7, Commit Message: Merge commit '9cffd47191c984938c468f886111698baecf4146' into HEAD [Pipeline] echo 02:41:23 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:41:24 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:41:24 02:41:24 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:41:24 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:41:24 latest: Pulling from edgex-devops/git-semver 02:41:24 a0d0a0d46f8b: Pulling fs layer 02:41:24 3e5f54012d9b: Pulling fs layer 02:41:24 4c7163046ea9: Pulling fs layer 02:41:24 0c2d73faf560: Pulling fs layer 02:41:24 0c2d73faf560: Waiting 02:41:24 3e5f54012d9b: Verifying Checksum 02:41:24 3e5f54012d9b: Download complete 02:41:24 a0d0a0d46f8b: Verifying Checksum 02:41:24 a0d0a0d46f8b: Download complete 02:41:25 0c2d73faf560: Verifying Checksum 02:41:25 0c2d73faf560: Download complete 02:41:25 4c7163046ea9: Verifying Checksum 02:41:25 4c7163046ea9: Download complete 02:41:25 a0d0a0d46f8b: Pull complete 02:41:25 3e5f54012d9b: Pull complete 02:41:25 4c7163046ea9: Pull complete 02:41:25 0c2d73faf560: Pull complete 02:41:25 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 02:41:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:41:25 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:41:25 prd-centos7-docker-4c-2g-13382 does not seem to be running inside a container 02:41:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-984 -v /w/workspace/ndry_app-functions-sdk-go_PR-984:/w/workspace/ndry_app-functions-sdk-go_PR-984:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-984@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-984@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 02:41:26 $ docker top 460a3ffd18a5c029bc26098d0707f2356e314520e8e91f8da207e4f2713a4cbb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:41:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:41:26 [ssh-agent] Looking for ssh-agent implementation... 02:41:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:41:26 $ docker exec 460a3ffd18a5c029bc26098d0707f2356e314520e8e91f8da207e4f2713a4cbb ssh-agent 02:41:26 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhdCfGM/agent.14 02:41:26 SSH_AGENT_PID=20 02:41:26 Running ssh-add (command line suppressed) 02:41:26 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-984@tmp/private_key_7352702691445721946.key (/w/workspace/ndry_app-functions-sdk-go_PR-984@tmp/private_key_7352702691445721946.key) 02:41:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:41:27 + git tag --points-at HEAD [Pipeline] } 02:41:27 $ docker exec --env ******** --env ******** 460a3ffd18a5c029bc26098d0707f2356e314520e8e91f8da207e4f2713a4cbb ssh-agent -k 02:41:27 unset SSH_AUTH_SOCK; 02:41:27 unset SSH_AGENT_PID; 02:41:27 echo Agent pid 20 killed; 02:41:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:41:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:41:27 [ssh-agent] Looking for ssh-agent implementation... 02:41:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:41:27 $ docker exec 460a3ffd18a5c029bc26098d0707f2356e314520e8e91f8da207e4f2713a4cbb ssh-agent 02:41:27 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMgmNCF/agent.53 02:41:27 SSH_AGENT_PID=60 02:41:27 Running ssh-add (command line suppressed) 02:41:27 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-984@tmp/private_key_7518836724613649201.key (/w/workspace/ndry_app-functions-sdk-go_PR-984@tmp/private_key_7518836724613649201.key) 02:41:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:41:27 + git semver init 02:41:27 # -> Open(): unable to determine branch for HEAD 02:41:27 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-984/.git 02:41:27 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-984 02:41:27 # $SEMVER_REMOTE_NAME = origin 02:41:27 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:41:27 # $SEMVER_USER_NAME = edgex-jenkins 02:41:27 # $SEMVER_BRANCH = PR-984 02:41:27 # $SEMVER_TEMP = /tmp/semver-961393436 02:41:27 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 02:41:30 # '/tmp/semver-961393436' -> '/w/workspace/ndry_app-functions-sdk-go_PR-984/.semver' 02:41:30 # -> Force: false 02:41:30 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-984/.semver [Pipeline] } 02:41:30 $ docker exec --env ******** --env ******** 460a3ffd18a5c029bc26098d0707f2356e314520e8e91f8da207e4f2713a4cbb ssh-agent -k 02:41:30 unset SSH_AUTH_SOCK; 02:41:30 unset SSH_AGENT_PID; 02:41:30 echo Agent pid 60 killed; 02:41:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:41:30 + git semver [Pipeline] } 02:41:30 $ docker stop --time=1 460a3ffd18a5c029bc26098d0707f2356e314520e8e91f8da207e4f2713a4cbb 02:41:32 $ docker rm -f 460a3ffd18a5c029bc26098d0707f2356e314520e8e91f8da207e4f2713a4cbb [Pipeline] // withDockerContainer [Pipeline] sh 02:41:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:41:32 Stashed 1 file(s) [Pipeline] echo 02:41:32 [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 02:41:48 Still waiting to schedule task 02:41:48 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:41:48 Still waiting to schedule task 02:41:48 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 02:43:37 Running on prd-ubuntu18.04-docker-arm64-4c-16g-13383 in /w/workspace/ndry_app-functions-sdk-go_PR-984 [Pipeline] { [Pipeline] ws 02:43:37 Running in /w/workspace/app-functions-sdk-go/14 [Pipeline] { [Pipeline] checkout 02:43:38 The recommended git tool is: git 02:43:43 using credential edgex-jenkins-ssh 02:43:43 Cloning the remote Git repository 02:43:43 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 02:43:43 > git init /w/workspace/app-functions-sdk-go/14 # timeout=10 02:43:43 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 02:43:43 > git --version # timeout=10 02:43:43 > git --version # 'git version 2.17.1' 02:43:43 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:44 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:43:48 Merging remotes/origin/main commit 9cffd47191c984938c468f886111698baecf4146 into PR head commit 3250c25d5a556d2a21baae2321dd48aa82e77b28 02:43:47 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 02:43:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:43:47 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 02:43:47 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 02:43:47 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/984/head:refs/remotes/origin/PR-984 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:43:48 > git config core.sparsecheckout # timeout=10 02:43:48 > git checkout -f 3250c25d5a556d2a21baae2321dd48aa82e77b28 # timeout=10 02:43:48 Merge succeeded, producing eec36cf5e9ec633b2139571b72239e22db24cb99 02:43:48 Checking out Revision eec36cf5e9ec633b2139571b72239e22db24cb99 (PR-984) 02:43:48 > git remote # timeout=10 02:43:48 > git config --get remote.origin.url # timeout=10 02:43:48 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:48 > git merge 9cffd47191c984938c468f886111698baecf4146 # timeout=10 02:43:48 > git rev-parse HEAD^{commit} # timeout=10 02:43:48 > git config core.sparsecheckout # timeout=10 02:43:48 > git checkout -f eec36cf5e9ec633b2139571b72239e22db24cb99 # timeout=10 02:43:52 Commit message: "Merge commit '9cffd47191c984938c468f886111698baecf4146' into HEAD" 02:43:52 First time build. Skipping changelog. 02:43:52 > git rev-list --no-walk 3d8c7cbd7f285b9e1e5687a0daa62f831ebfc618 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:43:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:43:53 % Total % Received % Xferd Average Speed Time Time Time Current 02:43:53 Dload Upload Total Spent Left Speed 02:43:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 85064 0 --:--:-- --:--:-- --:--:-- 85064 [Pipeline] sh 02:43:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:43:54 + sudo tee /etc/docker/daemon.new 02:43:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:43:54 { 02:43:54 "registry-mirrors": [ 02:43:54 "https://nexus3.edgexfoundry.org:10001" 02:43:54 ], 02:43:54 "bip": "10.250.0.254/24", 02:43:54 "hosts": [ 02:43:54 "tcp://0.0.0.0:5555", 02:43:54 "unix:///var/run/docker.sock" 02:43:54 ], 02:43:54 "mtu": 1458, 02:43:54 "selinux-enabled": true, 02:43:54 "seccomp-profile": "/etc/docker/seccomp.json" 02:43:54 } [Pipeline] sh 02:43:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:43:55 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 02:44:14 ========================================================= 02:44:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 02:44:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 02:44:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 02:44:15 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:44:15 552d1f2373af: Pulling fs layer 02:44:15 ea3f2d53f512: Pulling fs layer 02:44:15 9e70ebbbe112: Pulling fs layer 02:44:15 7a9cfe048b4a: Pulling fs layer 02:44:15 72dc09318566: Pulling fs layer 02:44:15 f4f7b4309257: Pulling fs layer 02:44:15 0ac9a79272e3: Pulling fs layer 02:44:15 b78e95d17946: Pulling fs layer 02:44:15 72dc09318566: Waiting 02:44:15 f4f7b4309257: Waiting 02:44:15 0ac9a79272e3: Waiting 02:44:15 b78e95d17946: Waiting 02:44:15 7a9cfe048b4a: Waiting 02:44:15 9e70ebbbe112: Verifying Checksum 02:44:15 9e70ebbbe112: Download complete 02:44:15 ea3f2d53f512: Verifying Checksum 02:44:15 ea3f2d53f512: Download complete 02:44:15 72dc09318566: Verifying Checksum 02:44:15 72dc09318566: Download complete 02:44:15 f4f7b4309257: Verifying Checksum 02:44:15 f4f7b4309257: Download complete 02:44:15 552d1f2373af: Verifying Checksum 02:44:15 552d1f2373af: Download complete 02:44:15 0ac9a79272e3: Verifying Checksum 02:44:15 0ac9a79272e3: Download complete 02:44:16 552d1f2373af: Pull complete 02:44:16 ea3f2d53f512: Pull complete 02:44:17 9e70ebbbe112: Pull complete 02:44:17 b78e95d17946: Verifying Checksum 02:44:17 b78e95d17946: Download complete 02:44:18 7a9cfe048b4a: Verifying Checksum 02:44:18 7a9cfe048b4a: Download complete 02:44:28 7a9cfe048b4a: Pull complete 02:44:28 72dc09318566: Pull complete 02:44:28 f4f7b4309257: Pull complete 02:44:29 0ac9a79272e3: Pull complete 02:44:34 b78e95d17946: Pull complete 02:44:34 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 02:44:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 02:44:34 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 02:44:35 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 02:44:35 + docker inspect -f . ci-base-image-arm64 02:44:35 . [Pipeline] withDockerContainer 02:44:35 prd-ubuntu18.04-docker-arm64-4c-16g-13383 does not seem to be running inside a container 02:44:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/14 -v /w/workspace/app-functions-sdk-go/14:/w/workspace/app-functions-sdk-go/14:rw,z -v /w/workspace/app-functions-sdk-go/14@tmp:/w/workspace/app-functions-sdk-go/14@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 02:44:39 $ docker top 714baa297e3ecc822cc9cc22104dc2dceab19535b80c4cf8b6adb4a17d70de61 -eo pid,comm [Pipeline] { [Pipeline] sh 02:44:40 + go version 02:44:40 go version go1.16.8 linux/arm64 [Pipeline] } 02:44:40 $ docker stop --time=1 714baa297e3ecc822cc9cc22104dc2dceab19535b80c4cf8b6adb4a17d70de61 02:44:42 $ docker rm -f 714baa297e3ecc822cc9cc22104dc2dceab19535b80c4cf8b6adb4a17d70de61 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:44:43 + docker inspect -f . ci-base-image-arm64 02:44:43 . [Pipeline] withDockerContainer 02:44:43 prd-ubuntu18.04-docker-arm64-4c-16g-13383 does not seem to be running inside a container 02:44:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/14 -v /w/workspace/app-functions-sdk-go/14:/w/workspace/app-functions-sdk-go/14:rw,z -v /w/workspace/app-functions-sdk-go/14@tmp:/w/workspace/app-functions-sdk-go/14@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 02:44:44 $ docker top ce27e4e62bd88bb9c7c46e98c405bbffd3f1ddfa06c83a640bf06b325c061002 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:44:45 + make test 02:44:45 make -C ./app-service-template build 02:44:45 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/14/app-service-template' 02:44:45 go mod tidy 02:44:48 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.1-dev.26 02:44:48 go: downloading github.com/google/uuid v1.3.0 02:44:48 go: downloading github.com/stretchr/testify v1.7.0 02:44:48 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.1-dev.15 02:44:48 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.2-dev.7 02:44:48 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.1-dev.9 02:44:48 go: downloading github.com/davecgh/go-spew v1.1.1 02:44:48 go: downloading github.com/pmezard/go-difflib v1.0.0 02:44:48 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 02:44:48 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 02:44:48 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 02:44:48 go: downloading github.com/stretchr/objx v0.1.1 02:44:48 go: downloading github.com/go-playground/validator/v10 v10.9.0 02:44:48 go: downloading github.com/go-kit/kit v0.11.0 02:44:49 go: downloading github.com/gorilla/mux v1.8.0 02:44:49 go: downloading github.com/hashicorp/go-multierror v1.1.1 02:44:49 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.1-dev.5 02:44:49 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.1-dev.7 02:44:49 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 02:44:49 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 02:44:49 go: downloading github.com/mitchellh/copystructure v1.0.0 02:44:49 go: downloading github.com/hashicorp/consul/api v1.9.1 02:44:49 go: downloading github.com/pelletier/go-toml v1.9.4 02:44:49 go: downloading github.com/gorilla/websocket v1.4.2 02:44:49 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 02:44:49 go: downloading github.com/hashicorp/errwrap v1.0.0 02:44:49 go: downloading github.com/go-playground/universal-translator v0.18.0 02:44:49 go: downloading github.com/leodido/go-urn v1.2.1 02:44:49 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 02:44:49 go: downloading golang.org/x/text v0.3.6 02:44:49 go: downloading github.com/go-playground/assert/v2 v2.0.1 02:44:49 go: downloading github.com/go-playground/locales v0.14.0 02:44:52 go: downloading github.com/kr/pretty v0.3.0 02:44:52 go: downloading github.com/x448/float16 v0.8.4 02:44:52 go: downloading github.com/go-logfmt/logfmt v0.5.0 02:44:52 go: downloading github.com/go-stack/stack v1.8.0 02:44:52 go: downloading github.com/mitchellh/reflectwalk v1.0.0 02:44:52 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 02:44:52 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 02:44:52 go: downloading github.com/hashicorp/go-hclog v0.12.0 02:44:52 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 02:44:52 go: downloading github.com/hashicorp/serf v0.9.5 02:44:52 go: downloading github.com/mitchellh/mapstructure v1.1.2 02:44:52 go: downloading github.com/hashicorp/consul/sdk v0.8.0 02:44:52 go: downloading github.com/hashicorp/go-uuid v1.0.1 02:44:52 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 02:44:52 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 02:44:52 go: downloading github.com/kr/text v0.2.0 02:44:52 go: downloading github.com/rogpeppe/go-internal v1.8.0 02:44:52 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 02:44:53 go: downloading github.com/pebbe/zmq4 v1.2.7 02:44:53 go: downloading github.com/go-redis/redis/v7 v7.3.0 02:44:53 go: downloading github.com/mitchellh/go-homedir v1.1.0 02:44:53 go: downloading github.com/fatih/color v1.9.0 02:44:53 go: downloading github.com/mattn/go-colorable v0.1.6 02:44:53 go: downloading github.com/mattn/go-isatty v0.0.12 02:44:53 go: downloading github.com/pkg/errors v0.9.1 02:44:53 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 02:44:53 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 02:44:53 go: downloading github.com/hashicorp/go-msgpack v0.5.3 02:44:53 go: downloading github.com/hashicorp/memberlist v0.2.2 02:44:53 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 02:44:53 go: downloading github.com/onsi/ginkgo v1.10.1 02:44:53 go: downloading github.com/onsi/gomega v1.7.0 02:44:53 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 02:44:53 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 02:44:53 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 02:44:53 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 02:44:53 go: downloading github.com/miekg/dns v1.1.26 02:44:53 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 02:44:53 go: downloading github.com/hashicorp/golang-lru v0.5.0 02:44:53 go: downloading gopkg.in/yaml.v2 v2.4.0 02:44:53 go: downloading github.com/hpcloud/tail v1.0.0 02:44:53 go: downloading github.com/golang/protobuf v1.5.2 02:44:53 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 02:44:53 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 02:44:53 go: downloading gopkg.in/fsnotify.v1 v1.4.7 02:44:53 go: downloading google.golang.org/protobuf v1.27.1 02:44:54 go: downloading github.com/google/go-cmp v0.5.5 02:44:54 go: downloading github.com/fsnotify/fsnotify v1.4.7 02:44:54 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 02:44:54 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 02:45:02 Running on prd-centos7-docker-4c-2g-13384 in /w/workspace/ndry_app-functions-sdk-go_PR-984 [Pipeline] { [Pipeline] ws 02:45:02 Running in /w/workspace/app-functions-sdk-go/14 [Pipeline] { [Pipeline] checkout 02:45:02 The recommended git tool is: git 02:45:04 using credential edgex-jenkins-ssh 02:45:04 Cloning the remote Git repository 02:45:04 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 02:45:04 > git init /w/workspace/app-functions-sdk-go/14 # timeout=10 02:45:04 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 02:45:04 > git --version # timeout=10 02:45:04 > git --version # 'git version 2.24.4' 02:45:04 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:04 [INFO] Currently running in a labeled security context 02:45:04 [INFO] Currently SELinux is 'enforcing' on the host 02:45:04 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/14@tmp/jenkins-gitclient-ssh5320233511664731621.key 02:45:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:07 Merging remotes/origin/main commit 9cffd47191c984938c468f886111698baecf4146 into PR head commit 3250c25d5a556d2a21baae2321dd48aa82e77b28 02:45:07 Merge succeeded, producing 113c6963a5eae13d6992f749cd96f56509e9939d 02:45:07 Checking out Revision 113c6963a5eae13d6992f749cd96f56509e9939d (PR-984) 02:45:05 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 02:45:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:05 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 02:45:05 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 02:45:05 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:05 [INFO] Currently running in a labeled security context 02:45:05 [INFO] Currently SELinux is 'enforcing' on the host 02:45:05 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/14@tmp/jenkins-gitclient-ssh6512136642301892801.key 02:45:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/984/head:refs/remotes/origin/PR-984 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:45:06 > git config core.sparsecheckout # timeout=10 02:45:06 > git checkout -f 3250c25d5a556d2a21baae2321dd48aa82e77b28 # timeout=10 02:45:06 > git remote # timeout=10 02:45:06 > git config --get remote.origin.url # timeout=10 02:45:06 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:06 [INFO] Currently running in a labeled security context 02:45:06 [INFO] Currently SELinux is 'enforcing' on the host 02:45:06 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/14@tmp/jenkins-gitclient-ssh6361304594585904291.key 02:45:06 > git merge 9cffd47191c984938c468f886111698baecf4146 # timeout=10 02:45:06 > git rev-parse HEAD^{commit} # timeout=10 02:45:06 > git config core.sparsecheckout # timeout=10 02:45:06 > git checkout -f 113c6963a5eae13d6992f749cd96f56509e9939d # timeout=10 02:45:10 Commit message: "Merge commit '9cffd47191c984938c468f886111698baecf4146' into HEAD" 02:45:10 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 02:45:09 > git rev-list --no-walk 3d8c7cbd7f285b9e1e5687a0daa62f831ebfc618 # timeout=10 [Pipeline] unstash [Pipeline] echo 02:45:11 ========================================================= 02:45:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 02:45:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 02:45:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 02:45:11 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 02:45:11 a0d0a0d46f8b: Pulling fs layer 02:45:11 31adcdaf11c8: Pulling fs layer 02:45:11 b8b176561691: Pulling fs layer 02:45:11 4527c011a84f: Pulling fs layer 02:45:11 5d74067f8e1e: Pulling fs layer 02:45:11 e0aca202a116: Pulling fs layer 02:45:11 3a43be97a3b4: Pulling fs layer 02:45:11 34cad66bf833: Pulling fs layer 02:45:11 b4e3c513aaa6: Pulling fs layer 02:45:11 4527c011a84f: Waiting 02:45:11 5d74067f8e1e: Waiting 02:45:11 e0aca202a116: Waiting 02:45:11 3a43be97a3b4: Waiting 02:45:11 34cad66bf833: Waiting 02:45:11 b4e3c513aaa6: Waiting 02:45:11 b8b176561691: Verifying Checksum 02:45:11 b8b176561691: Download complete 02:45:11 31adcdaf11c8: Download complete 02:45:11 5d74067f8e1e: Verifying Checksum 02:45:11 5d74067f8e1e: Download complete 02:45:11 e0aca202a116: Verifying Checksum 02:45:11 e0aca202a116: Download complete 02:45:11 a0d0a0d46f8b: Verifying Checksum 02:45:11 a0d0a0d46f8b: Download complete 02:45:11 3a43be97a3b4: Verifying Checksum 02:45:11 3a43be97a3b4: Download complete 02:45:11 34cad66bf833: Verifying Checksum 02:45:11 34cad66bf833: Download complete 02:45:12 b4e3c513aaa6: Verifying Checksum 02:45:12 b4e3c513aaa6: Download complete 02:45:12 4527c011a84f: Verifying Checksum 02:45:12 4527c011a84f: Download complete 02:45:12 a0d0a0d46f8b: Pull complete 02:45:12 31adcdaf11c8: Pull complete 02:45:12 b8b176561691: Pull complete 02:45:16 4527c011a84f: Pull complete 02:45:16 5d74067f8e1e: Pull complete 02:45:16 e0aca202a116: Pull complete 02:45:16 3a43be97a3b4: Pull complete 02:45:16 34cad66bf833: Pull complete 02:45:19 b4e3c513aaa6: Pull complete 02:45:19 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 02:45:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 02:45:19 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 02:45:19 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 02:45:19 + docker inspect -f . ci-base-image-x86_64 02:45:19 . [Pipeline] withDockerContainer 02:45:19 prd-centos7-docker-4c-2g-13384 does not seem to be running inside a container 02:45:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/14 -v /w/workspace/app-functions-sdk-go/14:/w/workspace/app-functions-sdk-go/14:rw,z -v /w/workspace/app-functions-sdk-go/14@tmp:/w/workspace/app-functions-sdk-go/14@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 02:45:23 $ docker top 63fb5757057d928aed1cc84a4f62d90673c648fa45904615e71e119a4f300964 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:24 + go version 02:45:24 go version go1.16.8 linux/amd64 [Pipeline] } 02:45:24 $ docker stop --time=1 63fb5757057d928aed1cc84a4f62d90673c648fa45904615e71e119a4f300964 02:45:25 $ docker rm -f 63fb5757057d928aed1cc84a4f62d90673c648fa45904615e71e119a4f300964 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:45:26 + docker inspect -f . ci-base-image-x86_64 02:45:26 . [Pipeline] withDockerContainer 02:45:26 prd-centos7-docker-4c-2g-13384 does not seem to be running inside a container 02:45:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/14 -v /w/workspace/app-functions-sdk-go/14:/w/workspace/app-functions-sdk-go/14:rw,z -v /w/workspace/app-functions-sdk-go/14@tmp:/w/workspace/app-functions-sdk-go/14@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 02:45:26 $ docker top debf15c53379f043dc585f59e896b20b397903956e6c687d3db3d9fd37b2ca81 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:45:26 + make test 02:45:26 make -C ./app-service-template build 02:45:26 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/14/app-service-template' 02:45:26 go mod tidy 02:45:28 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.1-dev.26 02:45:28 go: downloading github.com/google/uuid v1.3.0 02:45:28 go: downloading github.com/stretchr/testify v1.7.0 02:45:28 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.1-dev.15 02:45:28 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.2-dev.7 02:45:28 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.1-dev.9 02:45:28 go: downloading github.com/go-playground/validator/v10 v10.9.0 02:45:28 go: downloading github.com/go-kit/kit v0.11.0 02:45:28 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 02:45:28 go: downloading github.com/davecgh/go-spew v1.1.1 02:45:28 go: downloading github.com/pmezard/go-difflib v1.0.0 02:45:28 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 02:45:28 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 02:45:28 go: downloading github.com/stretchr/objx v0.1.1 02:45:28 go: downloading github.com/gorilla/mux v1.8.0 02:45:28 go: downloading github.com/hashicorp/go-multierror v1.1.1 02:45:28 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.1-dev.5 02:45:28 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.1-dev.7 02:45:28 go: downloading github.com/go-playground/universal-translator v0.18.0 02:45:28 go: downloading github.com/leodido/go-urn v1.2.1 02:45:28 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 02:45:28 go: downloading golang.org/x/text v0.3.6 02:45:28 go: downloading github.com/go-playground/assert/v2 v2.0.1 02:45:28 go: downloading github.com/go-playground/locales v0.14.0 02:45:29 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 02:45:29 go: downloading github.com/go-logfmt/logfmt v0.5.0 02:45:29 go: downloading github.com/go-stack/stack v1.8.0 02:45:29 go: downloading github.com/mitchellh/copystructure v1.0.0 02:45:29 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 02:45:29 go: downloading github.com/gorilla/websocket v1.4.2 02:45:29 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 02:45:29 go: downloading github.com/pelletier/go-toml v1.9.4 02:45:29 go: downloading github.com/hashicorp/consul/api v1.9.1 02:45:29 go: downloading github.com/hashicorp/errwrap v1.0.0 02:45:29 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 02:45:30 go: downloading github.com/kr/pretty v0.3.0 02:45:30 go: downloading github.com/mitchellh/reflectwalk v1.0.0 02:45:30 go: downloading github.com/x448/float16 v0.8.4 02:45:30 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 02:45:30 go: downloading github.com/hashicorp/go-hclog v0.12.0 02:45:30 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 02:45:30 go: downloading github.com/hashicorp/serf v0.9.5 02:45:30 go: downloading github.com/mitchellh/mapstructure v1.1.2 02:45:30 go: downloading github.com/hashicorp/consul/sdk v0.8.0 02:45:30 go: downloading github.com/hashicorp/go-uuid v1.0.1 02:45:30 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 02:45:30 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 02:45:30 go: downloading github.com/kr/text v0.2.0 02:45:30 go: downloading github.com/rogpeppe/go-internal v1.8.0 02:45:30 go: downloading github.com/fatih/color v1.9.0 02:45:30 go: downloading github.com/mattn/go-colorable v0.1.6 02:45:30 go: downloading github.com/mattn/go-isatty v0.0.12 02:45:30 go: downloading github.com/mitchellh/go-homedir v1.1.0 02:45:30 go: downloading github.com/pkg/errors v0.9.1 02:45:30 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 02:45:30 go: downloading github.com/hashicorp/go-msgpack v0.5.3 02:45:30 go: downloading github.com/hashicorp/memberlist v0.2.2 02:45:30 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 02:45:30 go: downloading github.com/go-redis/redis/v7 v7.3.0 02:45:30 go: downloading github.com/pebbe/zmq4 v1.2.7 02:45:30 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 02:45:30 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 02:45:30 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 02:45:30 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 02:45:30 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 02:45:30 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 02:45:30 go: downloading github.com/miekg/dns v1.1.26 02:45:30 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 02:45:30 go: downloading github.com/onsi/ginkgo v1.10.1 02:45:30 go: downloading github.com/onsi/gomega v1.7.0 02:45:30 go: downloading github.com/hashicorp/golang-lru v0.5.0 02:45:30 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 02:45:30 go: downloading gopkg.in/yaml.v2 v2.4.0 02:45:30 go: downloading github.com/hpcloud/tail v1.0.0 02:45:30 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 02:45:30 go: downloading gopkg.in/fsnotify.v1 v1.4.7 02:45:30 go: downloading github.com/golang/protobuf v1.5.2 02:45:30 go: downloading github.com/fsnotify/fsnotify v1.4.7 02:45:30 go: downloading google.golang.org/protobuf v1.27.1 02:45:31 go: downloading github.com/google/go-cmp v0.5.5 02:45:31 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 02:45:31 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 02:45:33 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/14/app-service-template' 02:45:33 make -C ./app-service-template test 02:45:33 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/14/app-service-template' 02:45:33 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 02:45:43 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/14/app-service-template' 02:45:43 make -C ./app-service-template test 02:45:43 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/14/app-service-template' 02:45:43 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 02:45:53 ok new-app-service 0.014s coverage: 48.1% of statements 02:45:53 ? new-app-service/config [no test files] 02:45:53 ok new-app-service/functions 0.008s 02:45:53 CGO_ENABLED=1 go vet ./... 02:46:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:46:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:46:00 ./bin/test-attribution-txt.sh 02:46:00 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/14/app-service-template' 02:46:00 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:46:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 02:46:03 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.021s coverage: 67.0% of statements 02:46:03 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app/mocks [no test files] 02:46:03 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.022s coverage: 93.7% of statements 02:46:03 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 02:46:04 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.038s coverage: 61.8% of statements 02:46:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 02:46:04 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.008s 02:46:04 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.003s coverage: 100.0% of statements 02:46:04 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.044s coverage: 75.7% of statements 02:46:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 02:46:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 02:46:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 02:46:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 02:46:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 02:46:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 02:46:04 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.007s coverage: 97.3% of statements 02:46:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 02:46:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.008s coverage: 10.5% of statements 02:46:06 ok new-app-service 0.045s coverage: 48.1% of statements 02:46:06 ? new-app-service/config [no test files] 02:46:06 ok new-app-service/functions 0.043s 02:46:06 CGO_ENABLED=1 go vet ./... 02:46:09 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.087s coverage: 77.0% of statements 02:46:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 02:46:09 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.006s coverage: 14.9% of statements 02:46:09 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.012s coverage: 27.3% of statements 02:46:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 02:46:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 02:46:09 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.006s coverage: 51.4% of statements 02:46:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:46:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:46:33 ./bin/test-attribution-txt.sh 02:46:33 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/14/app-service-template' 02:46:33 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:46:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 02:46:36 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.038s coverage: 79.1% of statements 02:46:36 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.008s coverage: 94.4% of statements 02:46:36 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:46:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:46:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:46:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.127s coverage: 67.0% of statements 02:46:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app/mocks [no test files] 02:46:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.059s coverage: 93.7% of statements 02:46:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 02:46:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.109s coverage: 61.8% of statements 02:46:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 02:46:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.036s 02:46:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.048s coverage: 100.0% of statements 02:46:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.126s coverage: 75.7% of statements 02:46:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 02:46:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 02:46:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 02:46:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 02:46:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 02:46:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 02:46:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.016s coverage: 97.3% of statements 02:46:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 02:46:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.068s coverage: 10.5% of statements [Pipeline] } 02:46:48 $ docker stop --time=1 debf15c53379f043dc585f59e896b20b397903956e6c687d3db3d9fd37b2ca81 02:46:49 $ docker rm -f debf15c53379f043dc585f59e896b20b397903956e6c687d3db3d9fd37b2ca81 [Pipeline] // withDockerContainer [Pipeline] sh 02:46:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:46:50 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 02:46:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.133s coverage: 77.0% of statements 02:46:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 02:46:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.067s coverage: 14.9% of statements 02:46:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.061s coverage: 27.3% of statements 02:46:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 02:46:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 02:46:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.048s coverage: 51.4% of statements 02:46:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:46:51 02:46:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 02:46:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:46:52 latest: Pulling from edgex-lftools-log-publisher 02:46:52 b4d181a07f80: Pulling fs layer 02:46:52 a1111a8f2ec3: Pulling fs layer 02:46:52 ed53099fbce6: Pulling fs layer 02:46:52 dc539afda2c1: Pulling fs layer 02:46:52 77bc0d833cb6: Pulling fs layer 02:46:52 9065ff56babe: Pulling fs layer 02:46:52 d287ab97295c: Pulling fs layer 02:46:52 dc539afda2c1: Waiting 02:46:52 77bc0d833cb6: Waiting 02:46:52 9065ff56babe: Waiting 02:46:52 d287ab97295c: Waiting 02:46:52 a1111a8f2ec3: Verifying Checksum 02:46:52 a1111a8f2ec3: Download complete 02:46:52 dc539afda2c1: Verifying Checksum 02:46:52 dc539afda2c1: Download complete 02:46:52 ed53099fbce6: Verifying Checksum 02:46:52 ed53099fbce6: Download complete 02:46:52 9065ff56babe: Verifying Checksum 02:46:52 9065ff56babe: Download complete 02:46:52 77bc0d833cb6: Verifying Checksum 02:46:52 77bc0d833cb6: Download complete 02:46:52 b4d181a07f80: Verifying Checksum 02:46:52 b4d181a07f80: Download complete 02:46:52 d287ab97295c: Verifying Checksum 02:46:52 d287ab97295c: Download complete 02:46:53 b4d181a07f80: Pull complete 02:46:53 a1111a8f2ec3: Pull complete 02:46:54 ed53099fbce6: Pull complete 02:46:54 dc539afda2c1: Pull complete 02:46:55 77bc0d833cb6: Pull complete 02:46:55 9065ff56babe: Pull complete 02:47:00 d287ab97295c: Pull complete 02:47:00 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 02:47:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:47:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 02:47:00 prd-centos7-docker-4c-2g-13384 does not seem to be running inside a container 02:47:00 $ 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/14 -v /w/workspace/app-functions-sdk-go/14:/w/workspace/app-functions-sdk-go/14:rw,z -v /w/workspace/app-functions-sdk-go/14@tmp:/w/workspace/app-functions-sdk-go/14@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 02:47:03 $ docker top 15317bec28b5c1a9d4262e949d4faf260bc8c7a50a488d50fe8f5bf015636616 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:47:03 ---> job-cost.sh 02:47:03 lf-activate-venv: SKIPPING 02:47:03 INFO: No Stack... 02:47:04 INFO: Retrieving Pricing Info for: v3-standard-2 02:47:04 INFO: Archiving Costs [Pipeline] sh 02:47:04 + cat /w/workspace/app-functions-sdk-go/14/archives/cost.csv 02:47:04 + cut -d, -f6 [Pipeline] lock 02:47:04 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-984-14-stack-cost] 02:47:04 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-984-14-stack-cost] did not exist. Created. 02:47:04 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-984-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:47:05 + echo total: 0.05999999865889549 [Pipeline] stash 02:47:05 Stashed 1 file(s) [Pipeline] } 02:47:05 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-984-14-stack-cost] [Pipeline] // lock [Pipeline] } 02:47:05 $ docker stop --time=1 15317bec28b5c1a9d4262e949d4faf260bc8c7a50a488d50fe8f5bf015636616 02:47:06 $ docker rm -f 15317bec28b5c1a9d4262e949d4faf260bc8c7a50a488d50fe8f5bf015636616 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:47:18 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.118s coverage: 79.1% of statements 02:47:18 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.033s coverage: 94.4% of statements 02:47:18 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:47:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:47:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:47:20 WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] } 02:47:20 $ docker stop --time=1 ce27e4e62bd88bb9c7c46e98c405bbffd3f1ddfa06c83a640bf06b325c061002 02:47:22 $ docker rm -f ce27e4e62bd88bb9c7c46e98c405bbffd3f1ddfa06c83a640bf06b325c061002 [Pipeline] // withDockerContainer [Pipeline] sh 02:47:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:47:25 Warning: overwriting stash ‘coverage-report’ 02:47:25 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 02:47:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:47:26 02:47:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 02:47:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:47:27 arm64: Pulling from edgex-lftools-log-publisher 02:47:27 448f6bf000e3: Pulling fs layer 02:47:27 f757da607395: Pulling fs layer 02:47:27 05883995daec: Pulling fs layer 02:47:27 8603b9c90790: Pulling fs layer 02:47:27 1560dd03e051: Pulling fs layer 02:47:27 27f5ce0e4adf: Pulling fs layer 02:47:27 c2d8d7efcc4b: Pulling fs layer 02:47:27 8603b9c90790: Waiting 02:47:27 1560dd03e051: Waiting 02:47:27 27f5ce0e4adf: Waiting 02:47:27 c2d8d7efcc4b: Waiting 02:47:27 f757da607395: Verifying Checksum 02:47:27 f757da607395: Download complete 02:47:27 8603b9c90790: Verifying Checksum 02:47:27 8603b9c90790: Download complete 02:47:27 1560dd03e051: Verifying Checksum 02:47:27 1560dd03e051: Download complete 02:47:27 27f5ce0e4adf: Verifying Checksum 02:47:27 27f5ce0e4adf: Download complete 02:47:27 05883995daec: Verifying Checksum 02:47:27 05883995daec: Download complete 02:47:27 448f6bf000e3: Verifying Checksum 02:47:27 448f6bf000e3: Download complete 02:47:30 c2d8d7efcc4b: Verifying Checksum 02:47:30 c2d8d7efcc4b: Download complete 02:47:31 448f6bf000e3: Pull complete 02:47:31 f757da607395: Pull complete 02:47:33 05883995daec: Pull complete 02:47:33 8603b9c90790: Pull complete 02:47:34 1560dd03e051: Pull complete 02:47:34 27f5ce0e4adf: Pull complete 02:47:50 c2d8d7efcc4b: Pull complete 02:47:50 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 02:47:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:47:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 02:47:50 prd-ubuntu18.04-docker-arm64-4c-16g-13383 does not seem to be running inside a container 02:47:50 $ 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/14 -v /w/workspace/app-functions-sdk-go/14:/w/workspace/app-functions-sdk-go/14:rw,z -v /w/workspace/app-functions-sdk-go/14@tmp:/w/workspace/app-functions-sdk-go/14@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 02:47:53 $ docker top 1b97da7c129078c21b421b93282000a384d6204723715983015339bf3b9f3da4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:47:54 ---> job-cost.sh 02:47:54 lf-activate-venv: SKIPPING 02:47:54 INFO: No Stack... 02:47:54 INFO: Retrieving Pricing Info for: v3-standard-4 02:47:54 INFO: Archiving Costs [Pipeline] sh 02:47:55 + cat+ /w/workspace/app-functions-sdk-go/14/archives/cost.csv 02:47:55 cut -d, -f6 [Pipeline] lock 02:47:55 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-984-14-stack-cost] 02:47:55 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-984-14-stack-cost] did not exist. Created. 02:47:55 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-984-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:47:56 /w/workspace/app-functions-sdk-go/14@tmp/durable-1eef8d29/script.sh: 1: /w/workspace/app-functions-sdk-go/14@tmp/durable-1eef8d29/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 02:47:57 + echo total: 0.10999999940395355 [Pipeline] stash 02:47:57 Warning: overwriting stash ‘stack-cost’ 02:47:57 Stashed 1 file(s) [Pipeline] } 02:47:57 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-984-14-stack-cost] [Pipeline] // lock [Pipeline] } 02:47:57 $ docker stop --time=1 1b97da7c129078c21b421b93282000a384d6204723715983015339bf3b9f3da4 02:47:58 $ docker rm -f 1b97da7c129078c21b421b93282000a384d6204723715983015339bf3b9f3da4 [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 02:47:59 provisioning config files... 02:47:59 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-984@tmp/config5214662443690668734tmp [Pipeline] { [Pipeline] sh 02:47:59 + set +x 02:47:59 + curl -s https://codecov.io/bash 02:47:59 + bash -s -- 02:47:59 02:47:59 _____ _ 02:47:59 / ____| | | 02:47:59 | | ___ __| | ___ ___ _____ __ 02:47:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:47:59 | |___| (_) | (_| | __/ (_| (_) \ V / 02:47:59 \_____\___/ \__,_|\___|\___\___/ \_/ 02:47:59 Bash-1.0.6 02:47:59 02:47:59 02:47:59 ==> git version 2.24.4 found 02:47:59 ==> 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 02:47:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:47:59 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:47:59 ==> Jenkins CI detected. 02:47:59 current dir:  /w/workspace/ndry_app-functions-sdk-go_PR-984 02:47:59 project root: . 02:47:59 --> token set from env 02:47:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:48:00 ==> Running gcov in . (disable via -X gcov) 02:48:00 ==> Python coveragepy not found 02:48:00 ==> Searching for coverage reports in: 02:48:00 + . 02:48:00 -> Found 2 reports 02:48:00 ==> Detecting git/mercurial file structure 02:48:00 ==> Reading reports 02:48:00 + ./app-service-template/coverage.out bytes=1219 02:48:00 + ./coverage.out bytes=105666 02:48:00 ==> Appending adjustments 02:48:00 https://docs.codecov.io/docs/fixing-reports 02:48:00 + Found adjustments 02:48:00 ==> Gzipping contents 02:48:00 20K /tmp/codecov.RCL4Bv.gz 02:48:00 ==> Uploading reports 02:48:00 url: https://codecov.io 02:48:00 query: branch=PR-984&commit=def87a11b3848184124b9666a489d9fd031b06a7&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-984%2F14%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=984&job=&cmd_args= 02:48:00 -> Pinging Codecov 02:48:00 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-984&commit=def87a11b3848184124b9666a489d9fd031b06a7&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-984%2F14%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=984&job=&cmd_args= 02:48:00 -> Uploading to 02:48:00 https://storage.googleapis.com/codecov/v4/raw/2021-10-29/3D8B5DFFC46A037C893635FACE044666/def87a11b3848184124b9666a489d9fd031b06a7/8b9afcab-7136-4ccb-bef3-8efc88a35741.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211029%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211029T024800Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=822dc773334116a5c5a41f005a6c3d3d9e55711be8e7f343b1cca476b099d427 02:48:00 % Total % Received % Xferd Average Speed Time Time Time Current 02:48:00 Dload Upload Total Spent Left Speed 02:48:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18504 0 0 100 18504 0 61132 --:--:-- --:--:-- --:--:-- 61271 02:48:01 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/def87a11b3848184124b9666a489d9fd031b06a7 [Pipeline] } 02:48:01 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 02:48:02 + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-984/archives ']' [Pipeline] libraryResource [Pipeline] sh 02:48:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:48:03 ---> package-listing.sh 02:48:03 ++ facter osfamily 02:48:03 ++ tr '[:upper:]' '[:lower:]' 02:48:03 + OS_FAMILY=redhat 02:48:03 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-984 02:48:03 + START_PACKAGES=/tmp/packages_start.txt 02:48:03 + END_PACKAGES=/tmp/packages_end.txt 02:48:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:48:03 + PACKAGES=/tmp/packages_start.txt 02:48:03 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-984 ']' 02:48:03 + PACKAGES=/tmp/packages_end.txt 02:48:03 + case "${OS_FAMILY}" in 02:48:03 + sort 02:48:03 + rpm -qa 02:48:04 + '[' -f /tmp/packages_start.txt ']' 02:48:04 + '[' -f /tmp/packages_end.txt ']' 02:48:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:48:04 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-984 ']' 02:48:04 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-984/archives/ 02:48:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-984/archives/ [Pipeline] echo 02:48:04 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-984/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:48:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:48:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:48:04 02:48:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 02:48:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:48:05 latest: Pulling from edgex-lftools-log-publisher 02:48:05 b4d181a07f80: Pulling fs layer 02:48:05 a1111a8f2ec3: Pulling fs layer 02:48:05 ed53099fbce6: Pulling fs layer 02:48:05 dc539afda2c1: Pulling fs layer 02:48:05 77bc0d833cb6: Pulling fs layer 02:48:05 9065ff56babe: Pulling fs layer 02:48:05 d287ab97295c: Pulling fs layer 02:48:05 77bc0d833cb6: Waiting 02:48:05 9065ff56babe: Waiting 02:48:05 d287ab97295c: Waiting 02:48:05 dc539afda2c1: Waiting 02:48:05 a1111a8f2ec3: Verifying Checksum 02:48:05 a1111a8f2ec3: Download complete 02:48:05 dc539afda2c1: Verifying Checksum 02:48:05 dc539afda2c1: Download complete 02:48:05 ed53099fbce6: Verifying Checksum 02:48:05 ed53099fbce6: Download complete 02:48:05 9065ff56babe: Verifying Checksum 02:48:05 9065ff56babe: Download complete 02:48:05 77bc0d833cb6: Verifying Checksum 02:48:05 77bc0d833cb6: Download complete 02:48:05 b4d181a07f80: Verifying Checksum 02:48:05 b4d181a07f80: Download complete 02:48:06 d287ab97295c: Verifying Checksum 02:48:06 d287ab97295c: Download complete 02:48:07 b4d181a07f80: Pull complete 02:48:07 a1111a8f2ec3: Pull complete 02:48:07 ed53099fbce6: Pull complete 02:48:07 dc539afda2c1: Pull complete 02:48:08 77bc0d833cb6: Pull complete 02:48:08 9065ff56babe: Pull complete 02:48:14 d287ab97295c: Pull complete 02:48:14 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 02:48:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:48:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 02:48:14 prd-centos7-docker-4c-2g-13382 does not seem to be running inside a container 02:48:14 $ 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-984/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-984 -v /w/workspace/ndry_app-functions-sdk-go_PR-984:/w/workspace/ndry_app-functions-sdk-go_PR-984:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-984@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-984@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 02:48:19 $ docker top b515a17db0b653555e51f96f0549fb1e5812b882502fb7175497b8cbfd323e2d -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:19 + touch /tmp/pre-build-complete [Pipeline] sh 02:48:19 + mkdir -p /var/log/sysstat [Pipeline] sh 02:48:20 + ls /var/log/sa-host 02:48:20 + sadf -c /var/log/sa-host/sa29 02:48:20 file_magic: OK 02:48:20 HZ: Using current value: 100 02:48:20 file_header: OK 02:48:20 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 02:48:20 Statistics: 02:48:20 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:48:20 File successfully converted to sysstat format version 12.0.3 02:48:20 + sadf -c /var/log/sa-host/sa30 02:48:20 file_magic: OK 02:48:20 HZ: Using current value: 100 02:48:20 file_header: OK 02:48:20 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 02:48:20 Statistics: 02:48:20 Hnuu...uuuununununu...Hnuu...uuuununununu... 02:48:20 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:48:20 provisioning config files... 02:48:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-984@tmp/config5999948733704691071tmp [Pipeline] { [Pipeline] echo 02:48:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:48:20 ---> create-netrc.sh [Pipeline] } 02:48:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:48:21 ---> python-tools-install.sh [Pipeline] echo 02:48:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:48:21 ---> sudo-logs.sh 02:48:21 Archiving 'sudo' log.. 02:48:21 sudo: unable to resolve host prd-centos7-docker-4c-2g-13382.novalocal: Name or service not known 02:48:21 sudo: unable to resolve host prd-centos7-docker-4c-2g-13382.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 02:48:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:48:21 ---> job-cost.sh 02:48:21 lf-activate-venv: SKIPPING 02:48:21 DEBUG: total: 0.10999999940395355 02:48:21 INFO: Retrieving Stack Cost... 02:48:22 INFO: Retrieving Pricing Info for: v3-standard-2 02:48:22 INFO: Archiving Costs [Pipeline] echo 02:48:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:48:22 ---> logs-deploy.sh 02:48:22 lf-activate-venv: SKIPPING 02:48:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-984/14 02:48:22 INFO: archiving workspace using pattern(s): 02:48:23 Archives upload complete. 02:48:23 INFO: archiving logs to Nexus 02:48:24 ---> uname -a: 02:48:24 Linux prd-centos7-docker-4c-2g-13382.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 02:48:24 02:48:24 02:48:24 ---> lscpu: 02:48:24 Architecture: x86_64 02:48:24 CPU op-mode(s): 32-bit, 64-bit 02:48:24 Byte Order: Little Endian 02:48:24 Address sizes: 40 bits physical, 48 bits virtual 02:48:24 CPU(s): 2 02:48:24 On-line CPU(s) list: 0,1 02:48:24 Thread(s) per core: 1 02:48:24 Core(s) per socket: 1 02:48:24 Socket(s): 2 02:48:24 NUMA node(s): 1 02:48:24 Vendor ID: AuthenticAMD 02:48:24 CPU family: 23 02:48:24 Model: 49 02:48:24 Model name: AMD EPYC-Rome Processor 02:48:24 Stepping: 0 02:48:24 CPU MHz: 2799.996 02:48:24 BogoMIPS: 5599.99 02:48:24 Virtualization: AMD-V 02:48:24 Hypervisor vendor: KVM 02:48:24 Virtualization type: full 02:48:24 L1d cache: 32K 02:48:24 L1i cache: 32K 02:48:24 L2 cache: 512K 02:48:24 L3 cache: 16384K 02:48:24 NUMA node0 CPU(s): 0,1 02:48:24 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 02:48:24 02:48:24 02:48:24 ---> nproc: 02:48:24 2 02:48:24 02:48:24 02:48:24 ---> df -h: 02:48:24 Filesystem Size Used Avail Use% Mounted on 02:48:24 overlay 40G 7.7G 33G 20% / 02:48:24 tmpfs 64M 0 64M 0% /dev 02:48:24 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 02:48:24 shm 64M 0 64M 0% /dev/shm 02:48:24 /dev/vda1 40G 7.7G 33G 20% /facter-os 02:48:24 02:48:24 02:48:24 ---> sar -b -r -n DEV: 02:48:24 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/29/21 _x86_64_ (2 CPU) 02:48:24 02:48:24 02:40:42 LINUX RESTART (2 CPU) 02:48:24 02:48:24 02:41:01 tps rtps wtps bread/s bwrtn/s 02:48:24 02:42:02 106.98 20.83 86.15 5493.57 5613.95 02:48:24 02:43:01 1.81 0.00 1.81 0.00 35.37 02:48:24 02:44:01 0.22 0.00 0.22 0.00 2.33 02:48:24 02:45:01 0.27 0.00 0.27 0.00 3.76 02:48:24 02:46:01 0.27 0.00 0.27 0.00 3.13 02:48:24 02:47:01 0.32 0.00 0.32 0.00 4.36 02:48:24 02:48:01 0.28 0.03 0.25 3.73 2.58 02:48:24 Average: 15.77 2.99 12.78 787.50 811.51 02:48:24 02:48:24 02:41:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:48:24 02:42:02 5651520 0 622360 7.77 2620 1732440 1270276 14.02 580376 1540380 132 02:48:24 02:43:01 5664088 0 609760 7.61 2620 1732472 1166816 12.88 570300 1540352 20 02:48:24 02:44:01 5660936 0 612932 7.65 2620 1732452 1167068 12.89 573184 1540348 8 02:48:24 02:45:01 5659888 0 613972 7.67 2620 1732460 1166816 12.88 573976 1541236 16 02:48:24 02:46:01 5665180 0 608676 7.60 2620 1732464 1167056 12.88 568460 1541236 8 02:48:24 02:47:01 5666256 0 607596 7.59 2620 1732468 1166912 12.88 567528 1541240 8 02:48:24 02:48:01 5662432 0 611164 7.63 2620 1732724 1168816 12.90 570532 1541280 160 02:48:24 Average: 5661471 0 612351 7.65 2620 1732497 1181966 13.05 572051 1540867 50 02:48:24 02:48:24 02:41:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:48:24 02:42:02 eth0 573.01 398.50 1597.14 86.53 0.00 0.00 0.00 0.00 02:48:24 02:42:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:48:24 02:42:02 docker0 92.17 56.73 8.51 314.50 0.00 0.00 0.00 0.00 02:48:24 02:43:01 eth0 0.69 0.08 0.06 0.01 0.00 0.00 0.00 0.00 02:48:24 02:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:48:24 02:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:48:24 02:44:01 eth0 0.47 0.45 0.27 0.18 0.00 0.00 0.00 0.00 02:48:24 02:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:48:24 02:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:48:24 02:45:01 eth0 0.48 0.08 0.05 0.04 0.00 0.00 0.00 0.00 02:48:24 02:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:48:24 02:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:48:24 02:46:01 eth0 0.53 0.42 0.27 0.21 0.00 0.00 0.00 0.00 02:48:24 02:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:48:24 02:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:48:24 02:47:01 eth0 0.27 0.22 0.09 0.07 0.00 0.00 0.00 0.00 02:48:24 02:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:48:24 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:48:24 02:48:01 eth0 4.96 3.18 4.76 1.84 0.00 0.00 0.00 0.00 02:48:24 02:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:48:24 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:48:24 Average: eth0 83.14 57.72 229.58 12.73 0.00 0.00 0.00 0.00 02:48:24 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:48:24 Average: docker0 13.20 8.13 1.22 45.05 0.00 0.00 0.00 0.00 02:48:24 02:48:24 02:48:24 ---> sar -P ALL: 02:48:24 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/29/21 _x86_64_ (2 CPU) 02:48:24 02:48:24 02:40:42 LINUX RESTART (2 CPU) 02:48:24 02:48:24 02:41:01 CPU %user %nice %system %iowait %steal %idle 02:48:24 02:42:02 all 18.34 0.00 4.38 2.33 0.09 74.85 02:48:24 02:42:02 0 18.24 0.00 4.78 1.60 0.10 75.28 02:48:24 02:42:02 1 18.43 0.00 3.99 3.06 0.09 74.43 02:48:24 02:43:01 all 0.27 0.00 0.08 0.00 0.01 99.64 02:48:24 02:43:01 0 0.17 0.00 0.08 0.00 0.00 99.75 02:48:24 02:43:01 1 0.37 0.00 0.07 0.00 0.02 99.54 02:48:24 02:44:01 all 0.26 0.00 0.06 0.00 0.01 99.67 02:48:24 02:44:01 0 0.10 0.00 0.07 0.00 0.02 99.82 02:48:24 02:44:01 1 0.42 0.00 0.05 0.00 0.00 99.53 02:48:24 02:45:01 all 0.22 0.00 0.04 0.00 0.02 99.72 02:48:24 02:45:01 0 0.08 0.00 0.05 0.00 0.02 99.85 02:48:24 02:45:01 1 0.35 0.00 0.03 0.00 0.02 99.60 02:48:24 02:46:01 all 0.08 0.00 0.05 0.00 0.01 99.87 02:48:24 02:46:01 0 0.10 0.00 0.05 0.00 0.02 99.83 02:48:24 02:46:01 1 0.05 0.00 0.05 0.00 0.00 99.90 02:48:24 02:47:01 all 0.21 0.00 0.05 0.00 0.02 99.72 02:48:24 02:47:01 0 0.15 0.00 0.05 0.00 0.02 99.78 02:48:24 02:47:01 1 0.27 0.00 0.05 0.00 0.02 99.67 02:48:24 02:48:01 all 0.75 0.00 0.35 0.01 0.02 98.87 02:48:24 02:48:01 0 0.67 0.00 0.42 0.00 0.02 98.90 02:48:24 02:48:01 1 0.84 0.00 0.28 0.02 0.02 98.85 02:48:24 Average: all 2.82 0.00 0.70 0.33 0.02 96.13 02:48:24 Average: 0 2.73 0.00 0.77 0.22 0.03 96.25 02:48:24 Average: 1 2.90 0.00 0.63 0.43 0.02 96.01 02:48:24 02:48:24 02:48:24