Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f9862466792e7d0dcceb1905b0181161eb5fc782+fb43287b18a7d00e5a2a1a8f41cd1d41bcdf85bb (3472158a0d65a3a1265c919aea02d0775ed78a9a) 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-ssh4041140936580771001.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision db16f8292de5a0132d944c4e76ede2ca4f84da27 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-ssh5102972070144412755.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 db16f8292de5a0132d944c4e76ede2ca4f84da27 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-875/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-875/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1268023573676580991.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision db16f8292de5a0132d944c4e76ede2ca4f84da27 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f db16f8292de5a0132d944c4e76ede2ca4f84da27 # timeout=10 Commit message: "Merge pull request #343 from ernestojeda/pipeline-optimizations" > 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-ssh3619426885869596663.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 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-875/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-875/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6262688019269285238.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ 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_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-482 in /w/workspace/ndry_app-functions-sdk-go_PR-875 [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-875 # 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-875@tmp/jenkins-gitclient-ssh8461404485179778981.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 fb43287b18a7d00e5a2a1a8f41cd1d41bcdf85bb into PR head commit f9862466792e7d0dcceb1905b0181161eb5fc782 > 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-875@tmp/jenkins-gitclient-ssh8527803648065873501.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/875/head:refs/remotes/origin/PR-875 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f9862466792e7d0dcceb1905b0181161eb5fc782 # 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-875@tmp/jenkins-gitclient-ssh1635245773141417800.key > git merge fb43287b18a7d00e5a2a1a8f41cd1d41bcdf85bb # timeout=10 Merge succeeded, producing 6579e910d0e48102a1d38d5e45ddd608b66f16f1 Checking out Revision 6579e910d0e48102a1d38d5e45ddd608b66f16f1 (PR-875) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6579e910d0e48102a1d38d5e45ddd608b66f16f1 # timeout=10 Commit message: "Merge commit 'fb43287b18a7d00e5a2a1a8f41cd1d41bcdf85bb' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 66d9e7ac32697f298287e0685b965c4d429596e8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:47:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:47:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:47:43 ========================================================= 15:47:43 EdgeX Global Pipelines Version Info 15:47:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:47:44 ------------------- 15:47:44 stable info: 15:47:44 ------------------- 15:47:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:47:44 Commit SHA: db16f8292de5a0132d944c4e76ede2ca4f84da27 15:47:44 Message: update stable to v1.0.197 15:47:45 ------------------- 15:47:45 experimental info: 15:47:45 ------------------- 15:47:45 Commited By: **** collab-it+edgex@linuxfoundation.org 15:47:45 Commit SHA: db16f8292de5a0132d944c4e76ede2ca4f84da27 15:47:45 Message: update experimental to v1.0.197 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:47:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 15:47:45 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 15:47:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:47:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:47:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:47:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 15:47:45 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 15:47:45 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 15:47:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:47:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:47:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:47:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 15:47:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:47:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:47:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 15:47:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:47:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:47:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:47:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:47:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:47:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:47:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 15:47:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:47:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:47:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 15:47:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:47:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-875 [Pipeline] echo 15:47:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-875 [Pipeline] echo 15:47:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-875 [Pipeline] echo 15:47:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6579e910d0e48102a1d38d5e45ddd608b66f16f1 [Pipeline] echo 15:47:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6579e91 [Pipeline] echo 15:47:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:47:46 + git log --format=format:%s -1 6579e910d0e48102a1d38d5e45ddd608b66f16f1 [Pipeline] echo 15:47:46 GIT_COMMIT: 6579e910d0e48102a1d38d5e45ddd608b66f16f1, Commit Message: Merge commit 'fb43287b18a7d00e5a2a1a8f41cd1d41bcdf85bb' into HEAD [Pipeline] echo 15:47:46 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 15:47:47 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:47:47 15:47:47 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:47:47 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:47:47 latest: Pulling from edgex-devops/git-semver 15:47:47 31603596830f: Pulling fs layer 15:47:47 b6dc333f4379: Pulling fs layer 15:47:47 3d9ef1400e77: Pulling fs layer 15:47:47 fd332fbdc1db: Pulling fs layer 15:47:47 fd332fbdc1db: Waiting 15:47:47 b6dc333f4379: Download complete 15:47:48 31603596830f: Verifying Checksum 15:47:48 31603596830f: Download complete 15:47:48 31603596830f: Pull complete 15:47:48 fd332fbdc1db: Verifying Checksum 15:47:48 fd332fbdc1db: Download complete 15:47:48 b6dc333f4379: Pull complete 15:47:48 3d9ef1400e77: Verifying Checksum 15:47:48 3d9ef1400e77: Download complete 15:47:48 3d9ef1400e77: Pull complete 15:47:48 fd332fbdc1db: Pull complete 15:47:48 Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 15:47:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:47:49 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:47:49 prd-centos7-docker-4c-2g-482 does not seem to be running inside a container 15:47:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-875 -v /w/workspace/ndry_app-functions-sdk-go_PR-875:/w/workspace/ndry_app-functions-sdk-go_PR-875:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-875@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-875@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:47:50 $ docker top 90abb0a672f95f19033e7101b7d197f24ccd73e08f45c30fe980f47f7bb6592f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:47:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:47:50 [ssh-agent] Looking for ssh-agent implementation... 15:47:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:47:50 $ docker exec 90abb0a672f95f19033e7101b7d197f24ccd73e08f45c30fe980f47f7bb6592f ssh-agent 15:47:50 SSH_AUTH_SOCK=/tmp/ssh-DEI6QMg0AoSj/agent.13 15:47:50 SSH_AGENT_PID=19 15:47:50 Running ssh-add (command line suppressed) 15:47:50 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-875@tmp/private_key_3691615437569906301.key (/w/workspace/ndry_app-functions-sdk-go_PR-875@tmp/private_key_3691615437569906301.key) 15:47:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:47:50 + git tag --points-at HEAD [Pipeline] } 15:47:50 $ docker exec --env ******** --env ******** 90abb0a672f95f19033e7101b7d197f24ccd73e08f45c30fe980f47f7bb6592f ssh-agent -k 15:47:51 unset SSH_AUTH_SOCK; 15:47:51 unset SSH_AGENT_PID; 15:47:51 echo Agent pid 19 killed; 15:47:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:47:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:47:51 [ssh-agent] Looking for ssh-agent implementation... 15:47:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:47:51 $ docker exec 90abb0a672f95f19033e7101b7d197f24ccd73e08f45c30fe980f47f7bb6592f ssh-agent 15:47:51 SSH_AUTH_SOCK=/tmp/ssh-bW5wSmtgG4xD/agent.53 15:47:51 SSH_AGENT_PID=59 15:47:51 Running ssh-add (command line suppressed) 15:47:51 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-875@tmp/private_key_582994499274935222.key (/w/workspace/ndry_app-functions-sdk-go_PR-875@tmp/private_key_582994499274935222.key) 15:47:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:47:51 + git semver init 15:47:51 # -> Open(): unable to determine branch for HEAD 15:47:51 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-875/.git 15:47:51 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-875 15:47:51 # $SEMVER_REMOTE_NAME = origin 15:47:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:47:51 # $SEMVER_USER_NAME = edgex-jenkins 15:47:51 # $SEMVER_BRANCH = PR-875 15:47:51 # $SEMVER_TEMP = /tmp/semver-674863183 15:47:51 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 15:47:53 # '/tmp/semver-674863183' -> '/w/workspace/ndry_app-functions-sdk-go_PR-875/.semver' 15:47:53 # -> Force: false 15:47:53 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-875/.semver [Pipeline] } 15:47:53 $ docker exec --env ******** --env ******** 90abb0a672f95f19033e7101b7d197f24ccd73e08f45c30fe980f47f7bb6592f ssh-agent -k 15:47:53 unset SSH_AUTH_SOCK; 15:47:53 unset SSH_AGENT_PID; 15:47:53 echo Agent pid 59 killed; 15:47:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:47:54 + git semver [Pipeline] } 15:47:54 $ docker stop --time=1 90abb0a672f95f19033e7101b7d197f24ccd73e08f45c30fe980f47f7bb6592f 15:47:55 $ docker rm -f 90abb0a672f95f19033e7101b7d197f24ccd73e08f45c30fe980f47f7bb6592f [Pipeline] // withDockerContainer [Pipeline] sh 15:47:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:47:56 Stashed 1 file(s) [Pipeline] echo 15:47:56 [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 15:48:11 Still waiting to schedule task 15:48:11 Waiting for next available executor on ‘centos7-docker-4c-2g’ 15:48:11 Still waiting to schedule task 15:48:11 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-479’ 15:50:07 Running on prd-centos7-docker-4c-2g-485 in /w/workspace/ndry_app-functions-sdk-go_PR-875 [Pipeline] { [Pipeline] ws 15:50:07 Running in /w/workspace/app-functions-sdk-go/29 [Pipeline] { [Pipeline] checkout 15:50:08 The recommended git tool is: git 15:50:10 using credential edgex-jenkins-ssh 15:50:10 Cloning the remote Git repository 15:50:10 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 15:50:10 > git init /w/workspace/app-functions-sdk-go/29 # timeout=10 15:50:10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 15:50:10 > git --version # timeout=10 15:50:10 > git --version # 'git version 2.24.4' 15:50:10 using GIT_SSH to set credentials SSH Credentials for GitHub 15:50:10 [INFO] Currently running in a labeled security context 15:50:10 [INFO] Currently SELinux is 'enforcing' on the host 15:50:10 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/29@tmp/jenkins-gitclient-ssh984715636195579047.key 15:50:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:50:12 Merging remotes/origin/main commit fb43287b18a7d00e5a2a1a8f41cd1d41bcdf85bb into PR head commit f9862466792e7d0dcceb1905b0181161eb5fc782 15:50:13 Merge succeeded, producing cf9469714763ed9fbf48b69e3f11847c5c153fa6 15:50:13 Checking out Revision cf9469714763ed9fbf48b69e3f11847c5c153fa6 (PR-875) 15:50:11 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 15:50:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:50:12 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 15:50:12 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 15:50:12 using GIT_SSH to set credentials SSH Credentials for GitHub 15:50:12 [INFO] Currently running in a labeled security context 15:50:12 [INFO] Currently SELinux is 'enforcing' on the host 15:50:12 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/29@tmp/jenkins-gitclient-ssh4239107516743148943.key 15:50:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/875/head:refs/remotes/origin/PR-875 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:50:12 > git config core.sparsecheckout # timeout=10 15:50:12 > git checkout -f f9862466792e7d0dcceb1905b0181161eb5fc782 # timeout=10 15:50:12 > git remote # timeout=10 15:50:12 > git config --get remote.origin.url # timeout=10 15:50:12 using GIT_SSH to set credentials SSH Credentials for GitHub 15:50:12 [INFO] Currently running in a labeled security context 15:50:12 [INFO] Currently SELinux is 'enforcing' on the host 15:50:12 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/29@tmp/jenkins-gitclient-ssh340408677250807392.key 15:50:12 > git merge fb43287b18a7d00e5a2a1a8f41cd1d41bcdf85bb # timeout=10 15:50:12 > git rev-parse HEAD^{commit} # timeout=10 15:50:12 > git config core.sparsecheckout # timeout=10 15:50:12 > git checkout -f cf9469714763ed9fbf48b69e3f11847c5c153fa6 # timeout=10 15:50:16 Commit message: "Merge commit 'fb43287b18a7d00e5a2a1a8f41cd1d41bcdf85bb' into HEAD" 15:50:16 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:50:17 ========================================================= 15:50:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 15:50:17 ========================================================= 15:50:16 > git rev-list --no-walk 66d9e7ac32697f298287e0685b965c4d429596e8 # timeout=10 [Pipeline] isUnix [Pipeline] sh 15:50:17 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 15:50:17 Sending build context to Docker daemon 19.76MB 15:50:17 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 15:50:17 Step 2/8 : FROM ${BASE} 15:50:17 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 15:50:17 540db60ca938: Pulling fs layer 15:50:17 adcc1eea9eea: Pulling fs layer 15:50:17 4c4ab2625f07: Pulling fs layer 15:50:17 0773c198feca: Pulling fs layer 15:50:17 345f892a5656: Pulling fs layer 15:50:17 4796506630df: Pulling fs layer 15:50:17 cc55df3e53f1: Pulling fs layer 15:50:17 4d027b6c602c: Pulling fs layer 15:50:17 449e75d2c14e: Pulling fs layer 15:50:17 0773c198feca: Waiting 15:50:17 345f892a5656: Waiting 15:50:17 4796506630df: Waiting 15:50:17 cc55df3e53f1: Waiting 15:50:17 4d027b6c602c: Waiting 15:50:17 449e75d2c14e: Waiting 15:50:17 4c4ab2625f07: Download complete 15:50:17 adcc1eea9eea: Verifying Checksum 15:50:17 adcc1eea9eea: Download complete 15:50:18 345f892a5656: Verifying Checksum 15:50:18 345f892a5656: Download complete 15:50:18 4796506630df: Verifying Checksum 15:50:18 4796506630df: Download complete 15:50:18 cc55df3e53f1: Verifying Checksum 15:50:18 cc55df3e53f1: Download complete 15:50:18 540db60ca938: Verifying Checksum 15:50:18 540db60ca938: Download complete 15:50:18 540db60ca938: Pull complete 15:50:18 adcc1eea9eea: Pull complete 15:50:18 4c4ab2625f07: Pull complete 15:50:18 4d027b6c602c: Verifying Checksum 15:50:18 4d027b6c602c: Download complete 15:50:22 449e75d2c14e: Verifying Checksum 15:50:22 449e75d2c14e: Download complete 15:50:23 0773c198feca: Verifying Checksum 15:50:23 0773c198feca: Download complete 15:50:26 0773c198feca: Pull complete 15:50:26 345f892a5656: Pull complete 15:50:26 4796506630df: Pull complete 15:50:26 cc55df3e53f1: Pull complete 15:50:26 4d027b6c602c: Pull complete 15:50:27 449e75d2c14e: Pull complete 15:50:27 Digest: sha256:a2fa0993ec4462abfc92311096d2e43e803cda49eb027de246ea451416b7a8a8 15:50:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 15:50:27 ---> 0d28375d9b5b 15:50:27 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 15:50:28 20.10.0: Pulling from library/docker 15:50:28 05e7bc50f07f: Pulling fs layer 15:50:28 6db28d0fdbf6: Pulling fs layer 15:50:28 292df0bc6bf3: Pulling fs layer 15:50:28 2e060f4bd70b: Pulling fs layer 15:50:28 80e8d568a223: Pulling fs layer 15:50:28 8dc6ef1a942a: Pulling fs layer 15:50:28 2312dd95470a: Pulling fs layer 15:50:28 2e060f4bd70b: Waiting 15:50:28 80e8d568a223: Waiting 15:50:28 8dc6ef1a942a: Waiting 15:50:28 2312dd95470a: Waiting 15:50:28 292df0bc6bf3: Verifying Checksum 15:50:28 292df0bc6bf3: Download complete 15:50:28 6db28d0fdbf6: Verifying Checksum 15:50:28 6db28d0fdbf6: Download complete 15:50:28 05e7bc50f07f: Verifying Checksum 15:50:28 05e7bc50f07f: Download complete 15:50:28 80e8d568a223: Verifying Checksum 15:50:28 80e8d568a223: Download complete 15:50:28 2312dd95470a: Verifying Checksum 15:50:28 2312dd95470a: Download complete 15:50:28 8dc6ef1a942a: Verifying Checksum 15:50:28 8dc6ef1a942a: Download complete 15:50:28 05e7bc50f07f: Pull complete 15:50:28 6db28d0fdbf6: Pull complete 15:50:28 292df0bc6bf3: Pull complete 15:50:30 2e060f4bd70b: Verifying Checksum 15:50:30 2e060f4bd70b: Download complete 15:50:31 2e060f4bd70b: Pull complete 15:50:31 80e8d568a223: Pull complete 15:50:31 8dc6ef1a942a: Pull complete 15:50:31 2312dd95470a: Pull complete 15:50:31 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 15:50:31 Status: Downloaded newer image for docker:20.10.0 15:50:33 ---> fe31faa7804b 15:50:33 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:50:33 ---> Running in 9e7f4e262d5a 15:50:33 Removing intermediate container 9e7f4e262d5a 15:50:33 ---> 7bcdb90555ec 15:50:33 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 15:50:33 ---> Running in 8589cde88c7b 15:50:34 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 15:50:35 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 15:50:35 (1/5) Installing libsodium (1.0.18-r0) 15:50:35 (2/5) Installing libzmq (4.3.3-r1) 15:50:35 (3/5) Installing pkgconf (1.7.3-r0) 15:50:35 (4/5) Installing libsodium-dev (1.0.18-r0) 15:50:35 (5/5) Installing zeromq-dev (4.3.3-r1) 15:50:35 Executing busybox-1.32.1-r6.trigger 15:50:35 OK: 150 MiB in 45 packages 15:50:36 Removing intermediate container 8589cde88c7b 15:50:36 ---> 9b1de633581e 15:50:36 Step 6/8 : WORKDIR /build 15:50:36 ---> Running in e56495cb226f 15:50:36 Removing intermediate container e56495cb226f 15:50:36 ---> 8d2393138bac 15:50:36 Step 7/8 : COPY go.mod . 15:50:36 ---> 454e35c55d8d 15:50:36 Step 8/8 : RUN go mod download 15:50:36 ---> Running in b3c87e9fd0ae 15:50:46 Removing intermediate container b3c87e9fd0ae 15:50:46 ---> b8777cf15d8e 15:50:46 Successfully built b8777cf15d8e 15:50:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:50:47 + docker inspect -f . ci-base-image-x86_64 15:50:47 . [Pipeline] withDockerContainer 15:50:47 prd-centos7-docker-4c-2g-485 does not seem to be running inside a container 15:50:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/29 -v /w/workspace/app-functions-sdk-go/29:/w/workspace/app-functions-sdk-go/29:rw,z -v /w/workspace/app-functions-sdk-go/29@tmp:/w/workspace/app-functions-sdk-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:50:47 $ docker top 7e1ce7cdb9115429a409ef1c21eff9debb78937243da504c9244d8f07af15542 -eo pid,comm [Pipeline] { [Pipeline] sh 15:50:48 + go version 15:50:48 go version go1.16.5 linux/amd64 [Pipeline] } 15:50:48 $ docker stop --time=1 7e1ce7cdb9115429a409ef1c21eff9debb78937243da504c9244d8f07af15542 15:50:49 $ docker rm -f 7e1ce7cdb9115429a409ef1c21eff9debb78937243da504c9244d8f07af15542 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:50:49 + docker inspect -f . ci-base-image-x86_64 15:50:49 . [Pipeline] withDockerContainer 15:50:50 prd-centos7-docker-4c-2g-485 does not seem to be running inside a container 15:50:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/29 -v /w/workspace/app-functions-sdk-go/29:/w/workspace/app-functions-sdk-go/29:rw,z -v /w/workspace/app-functions-sdk-go/29@tmp:/w/workspace/app-functions-sdk-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:50:50 $ docker top d8b6a9c7b5bd59b6a5ed9fb9783982c0b36566d0d057ceda78a2379bea83ed9e -eo pid,comm [Pipeline] { [Pipeline] sh 15:50:50 + go mod tidy [Pipeline] sh 15:50:51 + make test 15:50:51 make -C ./app-service-template build 15:50:51 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/29/app-service-template' 15:50:51 go mod tidy 15:50:51 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 15:51:01 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/29/app-service-template' 15:51:01 make -C ./app-service-template test 15:51:01 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/29/app-service-template' 15:51:01 go mod tidy 15:51:01 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 15:51:10 ok new-app-service 0.008s coverage: 47.8% of statements 15:51:10 ? new-app-service/config [no test files] 15:51:10 ok new-app-service/functions 0.008s 15:51:10 CGO_ENABLED=1 go vet ./... 15:51:18 gofmt -l . 15:51:18 [ "`gofmt -l .`" = "" ] 15:51:18 ./bin/test-attribution-txt.sh 15:51:18 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/29/app-service-template' 15:51:18 go mod tidy 15:51:18 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:51:18 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 15:51:19 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.024s coverage: 63.6% of statements 15:51:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.015s coverage: 96.5% of statements 15:51:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 15:51:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.020s coverage: 61.8% of statements 15:51:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 15:51:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.006s 15:51:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.039s coverage: 74.5% of statements 15:51:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 15:51:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 15:51:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 15:51:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 15:51:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 15:51:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 15:51:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.004s coverage: 97.1% of statements 15:51:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 15:51:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.007s coverage: 10.5% of statements 15:51:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.743s coverage: 76.1% of statements 15:51:24 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 15:51:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.006s coverage: 12.5% of statements 15:51:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.009s coverage: 27.3% of statements 15:51:24 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 15:51:24 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 15:51:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.009s coverage: 51.4% of statements 15:51:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.047s coverage: 78.1% of statements 15:51:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.006s coverage: 94.4% of statements 15:51:51 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:51:51 gofmt -l . 15:51:51 [ "`gofmt -l .`" = "" ] [Pipeline] } 15:51:51 $ docker stop --time=1 d8b6a9c7b5bd59b6a5ed9fb9783982c0b36566d0d057ceda78a2379bea83ed9e 15:51:52 $ docker rm -f d8b6a9c7b5bd59b6a5ed9fb9783982c0b36566d0d057ceda78a2379bea83ed9e [Pipeline] // withDockerContainer [Pipeline] sh 15:51:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:51:53 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 15:51:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:51:54 15:51:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:51:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:51:54 latest: Pulling from edgex-lftools-log-publisher 15:51:54 b4d181a07f80: Pulling fs layer 15:51:54 a1111a8f2ec3: Pulling fs layer 15:51:54 ed53099fbce6: Pulling fs layer 15:51:54 dc539afda2c1: Pulling fs layer 15:51:54 77bc0d833cb6: Pulling fs layer 15:51:54 9065ff56babe: Pulling fs layer 15:51:54 d287ab97295c: Pulling fs layer 15:51:54 dc539afda2c1: Waiting 15:51:54 77bc0d833cb6: Waiting 15:51:54 9065ff56babe: Waiting 15:51:54 d287ab97295c: Waiting 15:51:55 a1111a8f2ec3: Verifying Checksum 15:51:55 a1111a8f2ec3: Download complete 15:51:55 dc539afda2c1: Verifying Checksum 15:51:55 dc539afda2c1: Download complete 15:51:55 77bc0d833cb6: Verifying Checksum 15:51:55 77bc0d833cb6: Download complete 15:51:55 9065ff56babe: Verifying Checksum 15:51:55 9065ff56babe: Download complete 15:51:55 ed53099fbce6: Verifying Checksum 15:51:55 ed53099fbce6: Download complete 15:51:55 b4d181a07f80: Verifying Checksum 15:51:55 b4d181a07f80: Download complete 15:51:57 b4d181a07f80: Pull complete 15:51:57 a1111a8f2ec3: Pull complete 15:51:57 ed53099fbce6: Pull complete 15:51:57 dc539afda2c1: Pull complete 15:51:58 77bc0d833cb6: Pull complete 15:51:58 9065ff56babe: Pull complete 15:51:59 d287ab97295c: Verifying Checksum 15:51:59 d287ab97295c: Download complete 15:52:00 Running on prd-ubuntu18.04-docker-arm64-4c-16g-486 in /w/workspace/ndry_app-functions-sdk-go_PR-875 [Pipeline] { [Pipeline] ws 15:52:00 Running in /w/workspace/app-functions-sdk-go/29 [Pipeline] { [Pipeline] checkout 15:52:00 The recommended git tool is: git 15:52:03 d287ab97295c: Pull complete 15:52:03 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 15:52:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:52:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:52:03 prd-centos7-docker-4c-2g-485 does not seem to be running inside a container 15:52:03 $ 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/29 -v /w/workspace/app-functions-sdk-go/29:/w/workspace/app-functions-sdk-go/29:rw,z -v /w/workspace/app-functions-sdk-go/29@tmp:/w/workspace/app-functions-sdk-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:52:05 using credential edgex-jenkins-ssh 15:52:05 Cloning the remote Git repository 15:52:06 $ docker top 9c586d49ec119ad16227e0918d48e0629fbc0bf9332fb131e274db40af3adb52 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:52:05 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 15:52:05 > git init /w/workspace/app-functions-sdk-go/29 # timeout=10 15:52:05 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 15:52:05 > git --version # timeout=10 15:52:05 > git --version # 'git version 2.17.1' 15:52:05 using GIT_SSH to set credentials SSH Credentials for GitHub 15:52:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:52:06 ---> job-cost.sh 15:52:06 lf-activate-venv: SKIPPING 15:52:06 INFO: No Stack... 15:52:08 INFO: Retrieving Pricing Info for: v3-standard-2 15:52:08 INFO: Archiving Costs [Pipeline] sh 15:52:08 + cat /w/workspace/app-functions-sdk-go/29/archives/cost.csv 15:52:08 + cut -d, -f6 [Pipeline] lock 15:52:08 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-29-stack-cost] 15:52:08 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-29-stack-cost] did not exist. Created. 15:52:08 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:52:08 + echo total: 0.05999999865889549 [Pipeline] stash 15:52:08 Stashed 1 file(s) [Pipeline] } 15:52:08 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-29-stack-cost] [Pipeline] // lock [Pipeline] } 15:52:08 $ docker stop --time=1 9c586d49ec119ad16227e0918d48e0629fbc0bf9332fb131e274db40af3adb52 15:52:09 Merging remotes/origin/main commit fb43287b18a7d00e5a2a1a8f41cd1d41bcdf85bb into PR head commit f9862466792e7d0dcceb1905b0181161eb5fc782 15:52:10 $ docker rm -f 9c586d49ec119ad16227e0918d48e0629fbc0bf9332fb131e274db40af3adb52 15:52:10 Merge succeeded, producing 77c1eb0e283e1d088c8fa5026c0f67b2c0e5d39a 15:52:10 Checking out Revision 77c1eb0e283e1d088c8fa5026c0f67b2c0e5d39a (PR-875) [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:52:09 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 15:52:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:52:09 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 15:52:09 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 15:52:09 using GIT_SSH to set credentials SSH Credentials for GitHub 15:52:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/875/head:refs/remotes/origin/PR-875 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:52:09 > git config core.sparsecheckout # timeout=10 15:52:09 > git checkout -f f9862466792e7d0dcceb1905b0181161eb5fc782 # timeout=10 15:52:09 > git remote # timeout=10 15:52:10 > git config --get remote.origin.url # timeout=10 15:52:10 using GIT_SSH to set credentials SSH Credentials for GitHub 15:52:10 > git merge fb43287b18a7d00e5a2a1a8f41cd1d41bcdf85bb # timeout=10 15:52:10 > git rev-parse HEAD^{commit} # timeout=10 15:52:10 > git config core.sparsecheckout # timeout=10 15:52:10 > git checkout -f 77c1eb0e283e1d088c8fa5026c0f67b2c0e5d39a # timeout=10 15:52:14 Commit message: "Merge commit 'fb43287b18a7d00e5a2a1a8f41cd1d41bcdf85bb' into HEAD" 15:52:14 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 15:52:14 > git rev-list --no-walk 66d9e7ac32697f298287e0685b965c4d429596e8 # timeout=10 [Pipeline] echo 15:52:15 ========================================================= 15:52:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 15:52:15 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:52:16 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 15:52:16 Sending build context to Docker daemon 19.75MB 15:52:16 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 15:52:16 Step 2/8 : FROM ${BASE} 15:52:17 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:52:17 595b0fe564bb: Pulling fs layer 15:52:17 24495759ef45: Pulling fs layer 15:52:17 d148012ef14d: Pulling fs layer 15:52:17 cb65c68fc2e2: Pulling fs layer 15:52:17 093eec477d81: Pulling fs layer 15:52:17 a6d5b2bbb924: Pulling fs layer 15:52:17 2446dc1eb7d3: Pulling fs layer 15:52:17 596795e73e0f: Pulling fs layer 15:52:17 cb65c68fc2e2: Waiting 15:52:17 093eec477d81: Waiting 15:52:17 a6d5b2bbb924: Waiting 15:52:17 2446dc1eb7d3: Waiting 15:52:17 596795e73e0f: Waiting 15:52:17 d148012ef14d: Verifying Checksum 15:52:17 d148012ef14d: Download complete 15:52:17 24495759ef45: Download complete 15:52:17 093eec477d81: Verifying Checksum 15:52:17 093eec477d81: Download complete 15:52:17 a6d5b2bbb924: Verifying Checksum 15:52:17 a6d5b2bbb924: Download complete 15:52:17 2446dc1eb7d3: Download complete 15:52:17 595b0fe564bb: Verifying Checksum 15:52:17 595b0fe564bb: Download complete 15:52:18 595b0fe564bb: Pull complete 15:52:19 24495759ef45: Pull complete 15:52:19 d148012ef14d: Pull complete 15:52:20 596795e73e0f: Verifying Checksum 15:52:20 596795e73e0f: Download complete 15:52:21 cb65c68fc2e2: Download complete 15:52:31 cb65c68fc2e2: Pull complete 15:52:31 093eec477d81: Pull complete 15:52:31 a6d5b2bbb924: Pull complete 15:52:32 2446dc1eb7d3: Pull complete 15:52:36 596795e73e0f: Pull complete 15:52:36 Digest: sha256:8fdc37217a1dd7593ea05f088b02ef5bfb3cd8d6ab6705c4f2c080891875b7a0 15:52:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 15:52:36 ---> d9e956139c92 15:52:36 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 15:52:37 20.10.0: Pulling from library/docker 15:52:37 a3cc7d3b244e: Pulling fs layer 15:52:37 02a3295e0d61: Pulling fs layer 15:52:37 0f4f2e6d8100: Pulling fs layer 15:52:37 330b718f631f: Pulling fs layer 15:52:37 a93816041522: Pulling fs layer 15:52:37 bdb6da89ff94: Pulling fs layer 15:52:37 2a70c0c122f4: Pulling fs layer 15:52:37 a93816041522: Waiting 15:52:37 bdb6da89ff94: Waiting 15:52:37 2a70c0c122f4: Waiting 15:52:37 330b718f631f: Waiting 15:52:37 0f4f2e6d8100: Verifying Checksum 15:52:37 02a3295e0d61: Download complete 15:52:37 a3cc7d3b244e: Verifying Checksum 15:52:37 a3cc7d3b244e: Download complete 15:52:37 a93816041522: Verifying Checksum 15:52:37 a93816041522: Download complete 15:52:37 bdb6da89ff94: Download complete 15:52:37 2a70c0c122f4: Verifying Checksum 15:52:37 2a70c0c122f4: Download complete 15:52:38 a3cc7d3b244e: Pull complete 15:52:38 02a3295e0d61: Pull complete 15:52:39 0f4f2e6d8100: Pull complete 15:52:39 330b718f631f: Verifying Checksum 15:52:39 330b718f631f: Download complete 15:52:42 330b718f631f: Pull complete 15:52:43 a93816041522: Pull complete 15:52:43 bdb6da89ff94: Pull complete 15:52:44 2a70c0c122f4: Pull complete 15:52:44 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 15:52:44 Status: Downloaded newer image for docker:20.10.0 15:52:52 ---> f2cba8560614 15:52:52 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:52:52 ---> Running in 799a64039bfe 15:52:52 Removing intermediate container 799a64039bfe 15:52:52 ---> f5c208fb633f 15:52:52 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 15:52:52 ---> Running in fdb9e890d4a5 15:52:54 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 15:52:54 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 15:52:55 (1/5) Installing libsodium (1.0.18-r0) 15:52:55 (2/5) Installing libzmq (4.3.3-r1) 15:52:56 (3/5) Installing pkgconf (1.7.3-r0) 15:52:56 (4/5) Installing libsodium-dev (1.0.18-r0) 15:52:56 (5/5) Installing zeromq-dev (4.3.3-r1) 15:52:56 Executing busybox-1.32.1-r6.trigger 15:52:56 OK: 139 MiB in 45 packages 15:52:58 Removing intermediate container fdb9e890d4a5 15:52:58 ---> 88ebc91a2da5 15:52:58 Step 6/8 : WORKDIR /build 15:52:58 ---> Running in 7f5363d184e9 15:52:59 Removing intermediate container 7f5363d184e9 15:52:59 ---> af0b0deba9f7 15:52:59 Step 7/8 : COPY go.mod . 15:52:59 ---> 62a8dc2b4e93 15:52:59 Step 8/8 : RUN go mod download 15:53:00 ---> Running in 8157705897aa 15:53:32 Removing intermediate container 8157705897aa 15:53:32 ---> 4eb464e00924 15:53:32 Successfully built 4eb464e00924 15:53:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:53:33 + docker inspect -f . ci-base-image-arm64 15:53:33 . [Pipeline] withDockerContainer 15:53:33 prd-ubuntu18.04-docker-arm64-4c-16g-486 does not seem to be running inside a container 15:53:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/29 -v /w/workspace/app-functions-sdk-go/29:/w/workspace/app-functions-sdk-go/29:rw,z -v /w/workspace/app-functions-sdk-go/29@tmp:/w/workspace/app-functions-sdk-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:53:35 $ docker top 1ca7c11c4a8c03060ee68fb31c0b29b439725b0041c79e9d1ce6b2999cf23979 -eo pid,comm [Pipeline] { [Pipeline] sh 15:53:36 + go version 15:53:36 go version go1.16.5 linux/arm64 [Pipeline] } 15:53:36 $ docker stop --time=1 1ca7c11c4a8c03060ee68fb31c0b29b439725b0041c79e9d1ce6b2999cf23979 15:53:38 $ docker rm -f 1ca7c11c4a8c03060ee68fb31c0b29b439725b0041c79e9d1ce6b2999cf23979 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:53:39 + docker inspect -f . ci-base-image-arm64 15:53:39 . [Pipeline] withDockerContainer 15:53:39 prd-ubuntu18.04-docker-arm64-4c-16g-486 does not seem to be running inside a container 15:53:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/29 -v /w/workspace/app-functions-sdk-go/29:/w/workspace/app-functions-sdk-go/29:rw,z -v /w/workspace/app-functions-sdk-go/29@tmp:/w/workspace/app-functions-sdk-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:53:41 $ docker top 1f706daab9da3376deeba0bd2e80e66fe415d4f54f78b84e4ec8322bfb6a6f1d -eo pid,comm [Pipeline] { [Pipeline] sh 15:53:42 + go mod tidy [Pipeline] sh 15:53:44 + make test 15:53:44 make -C ./app-service-template build 15:53:44 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/29/app-service-template' 15:53:44 go mod tidy 15:53:44 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 15:54:23 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/29/app-service-template' 15:54:23 make -C ./app-service-template test 15:54:23 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/29/app-service-template' 15:54:23 go mod tidy 15:54:23 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 15:54:56 ok new-app-service 0.045s coverage: 47.8% of statements 15:54:56 ? new-app-service/config [no test files] 15:54:56 ok new-app-service/functions 0.041s 15:54:56 CGO_ENABLED=1 go vet ./... 15:55:22 gofmt -l . 15:55:22 [ "`gofmt -l .`" = "" ] 15:55:22 ./bin/test-attribution-txt.sh 15:55:22 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/29/app-service-template' 15:55:22 go mod tidy 15:55:22 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:55:23 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 15:55:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.093s coverage: 63.6% of statements 15:55:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.051s coverage: 96.5% of statements 15:55:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 15:55:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.118s coverage: 61.8% of statements 15:55:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 15:55:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.046s 15:55:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.085s coverage: 74.5% of statements 15:55:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 15:55:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 15:55:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 15:55:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 15:55:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 15:55:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 15:55:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.016s coverage: 97.1% of statements 15:55:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 15:55:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.042s coverage: 10.5% of statements 15:55:39 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.881s coverage: 76.1% of statements 15:55:39 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 15:55:39 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.062s coverage: 12.5% of statements 15:55:39 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.052s coverage: 27.3% of statements 15:55:39 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 15:55:39 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 15:55:39 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.048s coverage: 51.4% of statements 15:56:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.103s coverage: 78.1% of statements 15:56:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.031s coverage: 94.4% of statements 15:56:05 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:56:09 gofmt -l . 15:56:09 [ "`gofmt -l .`" = "" ] [Pipeline] } 15:56:09 $ docker stop --time=1 1f706daab9da3376deeba0bd2e80e66fe415d4f54f78b84e4ec8322bfb6a6f1d 15:56:12 $ docker rm -f 1f706daab9da3376deeba0bd2e80e66fe415d4f54f78b84e4ec8322bfb6a6f1d [Pipeline] // withDockerContainer [Pipeline] sh 15:56:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:56:12 Warning: overwriting stash ‘coverage-report’ 15:56:13 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 15:56:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:56:14 15:56:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:56:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:56:15 arm64: Pulling from edgex-lftools-log-publisher 15:56:15 448f6bf000e3: Pulling fs layer 15:56:15 f757da607395: Pulling fs layer 15:56:15 05883995daec: Pulling fs layer 15:56:15 8603b9c90790: Pulling fs layer 15:56:15 1560dd03e051: Pulling fs layer 15:56:15 27f5ce0e4adf: Pulling fs layer 15:56:15 c2d8d7efcc4b: Pulling fs layer 15:56:15 8603b9c90790: Waiting 15:56:15 1560dd03e051: Waiting 15:56:15 27f5ce0e4adf: Waiting 15:56:15 c2d8d7efcc4b: Waiting 15:56:15 f757da607395: Verifying Checksum 15:56:15 f757da607395: Download complete 15:56:15 8603b9c90790: Download complete 15:56:15 1560dd03e051: Verifying Checksum 15:56:15 1560dd03e051: Download complete 15:56:15 27f5ce0e4adf: Verifying Checksum 15:56:16 05883995daec: Verifying Checksum 15:56:16 05883995daec: Download complete 15:56:16 448f6bf000e3: Verifying Checksum 15:56:16 448f6bf000e3: Download complete 15:56:20 c2d8d7efcc4b: Verifying Checksum 15:56:20 c2d8d7efcc4b: Download complete 15:56:20 448f6bf000e3: Pull complete 15:56:21 f757da607395: Pull complete 15:56:22 05883995daec: Pull complete 15:56:22 8603b9c90790: Pull complete 15:56:23 1560dd03e051: Pull complete 15:56:24 27f5ce0e4adf: Pull complete 15:56:39 c2d8d7efcc4b: Pull complete 15:56:39 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 15:56:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:56:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:56:39 prd-ubuntu18.04-docker-arm64-4c-16g-486 does not seem to be running inside a container 15:56:39 $ 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/29 -v /w/workspace/app-functions-sdk-go/29:/w/workspace/app-functions-sdk-go/29:rw,z -v /w/workspace/app-functions-sdk-go/29@tmp:/w/workspace/app-functions-sdk-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:56:44 $ docker top f53c061a2f42ceb28d697684d239c1437edaa62136330a4d2c9cce062bf69985 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:56:45 ---> job-cost.sh 15:56:45 lf-activate-venv: SKIPPING 15:56:45 INFO: No Stack... 15:56:46 INFO: Retrieving Pricing Info for: v2-standard-4 15:56:46 INFO: Archiving Costs [Pipeline] sh 15:56:47 + cat /w/workspace/app-functions-sdk-go/29/archives/cost.csv 15:56:47 + cut -d, -f6 [Pipeline] lock 15:56:47 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-29-stack-cost] 15:56:47 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-29-stack-cost] did not exist. Created. 15:56:47 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:56:48 /w/workspace/app-functions-sdk-go/29@tmp/durable-be968a8f/script.sh: 1: /w/workspace/app-functions-sdk-go/29@tmp/durable-be968a8f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 15:56:48 + echo total: 0.18000000715255737 [Pipeline] stash 15:56:48 Warning: overwriting stash ‘stack-cost’ 15:56:48 Stashed 1 file(s) [Pipeline] } 15:56:48 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-875-29-stack-cost] [Pipeline] // lock [Pipeline] } 15:56:48 $ docker stop --time=1 f53c061a2f42ceb28d697684d239c1437edaa62136330a4d2c9cce062bf69985 15:56:50 $ docker rm -f f53c061a2f42ceb28d697684d239c1437edaa62136330a4d2c9cce062bf69985 [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 15:56:51 provisioning config files... 15:56:51 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-875@tmp/config9142126528473982975tmp [Pipeline] { [Pipeline] sh 15:56:51 + set +x 15:56:51 + curl -s https://codecov.io/bash 15:56:51 + bash -s -- 15:56:51 15:56:51 _____ _ 15:56:51 / ____| | | 15:56:51 | | ___ __| | ___ ___ _____ __ 15:56:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:56:51 | |___| (_) | (_| | __/ (_| (_) \ V / 15:56:51 \_____\___/ \__,_|\___|\___\___/ \_/ 15:56:51 Bash-1.0.6 15:56:51 15:56:51 15:56:51 ==> git version 2.24.4 found 15:56:51 ==> 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 15:56:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 15:56:51 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 15:56:51 ==> Jenkins CI detected. 15:56:51 current dir:  /w/workspace/ndry_app-functions-sdk-go_PR-875 15:56:51 project root: . 15:56:51 --> token set from env 15:56:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:56:51 ==> Running gcov in . (disable via -X gcov) 15:56:51 ==> Python coveragepy not found 15:56:51 ==> Searching for coverage reports in: 15:56:51 + . 15:56:51 -> Found 2 reports 15:56:51 ==> Detecting git/mercurial file structure 15:56:52 ==> Reading reports 15:56:52 + ./app-service-template/coverage.out bytes=1055 15:56:52 + ./coverage.out bytes=95183 15:56:52 ==> Appending adjustments 15:56:52 https://docs.codecov.io/docs/fixing-reports 15:56:52 + Found adjustments 15:56:52 ==> Gzipping contents 15:56:52 20K /tmp/codecov.KnTeOG.gz 15:56:52 ==> Uploading reports 15:56:52 url: https://codecov.io 15:56:52 query: branch=PR-875&commit=6579e910d0e48102a1d38d5e45ddd608b66f16f1&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-875%2F29%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=875&job=&cmd_args= 15:56:52 -> Pinging Codecov 15:56:52 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-875&commit=6579e910d0e48102a1d38d5e45ddd608b66f16f1&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-875%2F29%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=875&job=&cmd_args= 15:56:52 -> Uploading to 15:56:52 https://storage.googleapis.com/codecov/v4/raw/2021-07-29/3D8B5DFFC46A037C893635FACE044666/6579e910d0e48102a1d38d5e45ddd608b66f16f1/264b9cb5-d3e3-414e-b645-23c88c22251e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210729%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210729T155652Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f9c3538562a89e07cff2c68efed17bcafa03f3d2a1937fe75b111bd995e03fb1 15:56:52 % Total % Received % Xferd Average Speed Time Time Time Current 15:56:52 Dload Upload Total Spent Left Speed 15:56:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16444 0 0 100 16444 0 47458 --:--:-- --:--:-- --:--:-- 47526 15:56:53 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/6579e910d0e48102a1d38d5e45ddd608b66f16f1 [Pipeline] } 15:56:53 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] libraryResource [Pipeline] sh 15:56:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:56:55 ---> package-listing.sh 15:56:55 ++ facter osfamily 15:56:55 ++ tr '[:upper:]' '[:lower:]' 15:56:55 + OS_FAMILY=redhat 15:56:55 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-875 15:56:55 + START_PACKAGES=/tmp/packages_start.txt 15:56:55 + END_PACKAGES=/tmp/packages_end.txt 15:56:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:56:55 + PACKAGES=/tmp/packages_start.txt 15:56:55 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-875 ']' 15:56:55 + PACKAGES=/tmp/packages_end.txt 15:56:55 + case "${OS_FAMILY}" in 15:56:55 + sort 15:56:55 + rpm -qa 15:56:56 + '[' -f /tmp/packages_start.txt ']' 15:56:56 + '[' -f /tmp/packages_end.txt ']' 15:56:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:56:56 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-875 ']' 15:56:56 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-875/archives/ 15:56:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-875/archives/ [Pipeline] echo 15:56:56 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-875/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:56:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:56:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:56:57 15:56:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:56:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:56:57 latest: Pulling from edgex-lftools-log-publisher 15:56:57 b4d181a07f80: Pulling fs layer 15:56:57 a1111a8f2ec3: Pulling fs layer 15:56:57 ed53099fbce6: Pulling fs layer 15:56:57 dc539afda2c1: Pulling fs layer 15:56:57 77bc0d833cb6: Pulling fs layer 15:56:57 9065ff56babe: Pulling fs layer 15:56:57 d287ab97295c: Pulling fs layer 15:56:57 77bc0d833cb6: Waiting 15:56:57 9065ff56babe: Waiting 15:56:57 d287ab97295c: Waiting 15:56:57 dc539afda2c1: Waiting 15:56:57 a1111a8f2ec3: Verifying Checksum 15:56:57 a1111a8f2ec3: Download complete 15:56:57 dc539afda2c1: Verifying Checksum 15:56:57 dc539afda2c1: Download complete 15:56:57 77bc0d833cb6: Verifying Checksum 15:56:57 77bc0d833cb6: Download complete 15:56:57 9065ff56babe: Verifying Checksum 15:56:57 9065ff56babe: Download complete 15:56:58 ed53099fbce6: Verifying Checksum 15:56:58 ed53099fbce6: Download complete 15:56:59 b4d181a07f80: Verifying Checksum 15:56:59 b4d181a07f80: Download complete 15:57:00 b4d181a07f80: Pull complete 15:57:00 a1111a8f2ec3: Pull complete 15:57:01 ed53099fbce6: Pull complete 15:57:01 dc539afda2c1: Pull complete 15:57:02 77bc0d833cb6: Pull complete 15:57:02 9065ff56babe: Pull complete 15:57:04 d287ab97295c: Verifying Checksum 15:57:04 d287ab97295c: Download complete 15:57:09 d287ab97295c: Pull complete 15:57:09 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 15:57:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:57:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:57:09 prd-centos7-docker-4c-2g-482 does not seem to be running inside a container 15:57:09 $ 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-875/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-875 -v /w/workspace/ndry_app-functions-sdk-go_PR-875:/w/workspace/ndry_app-functions-sdk-go_PR-875:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-875@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-875@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:57:11 $ docker top ff87d48e21276e268f1c75bd58957f4fc5c6fbc7fa8046a3a7755bf6a4a5ce0d -eo pid,comm [Pipeline] { [Pipeline] sh 15:57:11 + touch /tmp/pre-build-complete [Pipeline] sh 15:57:12 + mkdir -p /var/log/sysstat [Pipeline] sh 15:57:12 + ls /var/log/sa-host 15:57:12 + sadf -c /var/log/sa-host/sa05 15:57:12 file_magic: OK 15:57:12 HZ: Using current value: 100 15:57:12 file_header: OK 15:57:12 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 15:57:12 Statistics: 15:57:12 Hnuu...uuuununununu...Hnuu...uuuununununu... 15:57:12 File successfully converted to sysstat format version 12.0.3 15:57:12 + sadf -c /var/log/sa-host/sa29 15:57:12 file_magic: OK 15:57:12 HZ: Using current value: 100 15:57:12 file_header: OK 15:57:12 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 15:57:12 Statistics: 15:57:12 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 15:57:12 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:57:12 provisioning config files... 15:57:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-875@tmp/config1599387129032404528tmp [Pipeline] { [Pipeline] echo 15:57:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:57:12 ---> create-netrc.sh [Pipeline] } 15:57:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:57:13 ---> python-tools-install.sh [Pipeline] echo 15:57:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:57:13 ---> sudo-logs.sh 15:57:13 Archiving 'sudo' log.. 15:57:13 sudo: unable to resolve host prd-centos7-docker-4c-2g-482.vexxhost.local: Name or service not known 15:57:13 sudo: unable to resolve host prd-centos7-docker-4c-2g-482.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 15:57:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:57:14 ---> job-cost.sh 15:57:14 lf-activate-venv: SKIPPING 15:57:14 DEBUG: total: 0.18000000715255737 15:57:14 INFO: Retrieving Stack Cost... 15:57:14 INFO: Retrieving Pricing Info for: v3-standard-2 15:57:14 INFO: Archiving Costs [Pipeline] echo 15:57:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:57:15 ---> logs-deploy.sh 15:57:15 lf-activate-venv: SKIPPING 15:57:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-875/29 15:57:15 INFO: archiving workspace using pattern(s): 15:57:15 Archives upload complete. 15:57:16 INFO: archiving logs to Nexus 15:57:16 ---> uname -a: 15:57:16 Linux prd-centos7-docker-4c-2g-482.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux 15:57:16 15:57:16 15:57:16 ---> lscpu: 15:57:16 Architecture: x86_64 15:57:16 CPU op-mode(s): 32-bit, 64-bit 15:57:16 Byte Order: Little Endian 15:57:16 Address sizes: 40 bits physical, 48 bits virtual 15:57:16 CPU(s): 2 15:57:16 On-line CPU(s) list: 0,1 15:57:16 Thread(s) per core: 1 15:57:16 Core(s) per socket: 1 15:57:16 Socket(s): 2 15:57:16 NUMA node(s): 1 15:57:16 Vendor ID: AuthenticAMD 15:57:16 CPU family: 23 15:57:16 Model: 49 15:57:16 Model name: AMD EPYC-Rome Processor 15:57:16 Stepping: 0 15:57:16 CPU MHz: 2799.998 15:57:16 BogoMIPS: 5599.99 15:57:16 Virtualization: AMD-V 15:57:16 Hypervisor vendor: KVM 15:57:16 Virtualization type: full 15:57:16 L1d cache: 32K 15:57:16 L1i cache: 32K 15:57:16 L2 cache: 512K 15:57:16 L3 cache: 16384K 15:57:16 NUMA node0 CPU(s): 0,1 15:57:16 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 15:57:16 15:57:16 15:57:16 ---> nproc: 15:57:16 2 15:57:16 15:57:16 15:57:16 ---> df -h: 15:57:16 Filesystem Size Used Avail Use% Mounted on 15:57:16 overlay 40G 7.7G 33G 20% / 15:57:16 tmpfs 64M 0 64M 0% /dev 15:57:16 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 15:57:16 shm 64M 0 64M 0% /dev/shm 15:57:16 /dev/vda1 40G 7.7G 33G 20% /facter-os 15:57:16 15:57:16 15:57:16 ---> sar -b -r -n DEV: 15:57:16 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/29/21 _x86_64_ (2 CPU) 15:57:16 15:57:16 15:47:02 LINUX RESTART (2 CPU) 15:57:16 15:57:16 15:48:01 tps rtps wtps bread/s bwrtn/s 15:57:16 15:49:01 0.87 0.00 0.87 0.00 21.74 15:57:16 15:50:01 0.43 0.00 0.43 0.00 7.55 15:57:16 15:51:01 0.37 0.00 0.37 0.00 5.61 15:57:16 15:52:01 0.27 0.00 0.27 0.00 4.43 15:57:16 15:53:01 0.23 0.00 0.23 0.00 3.93 15:57:16 15:54:01 0.43 0.00 0.43 0.00 7.20 15:57:16 15:55:01 0.28 0.00 0.28 0.00 5.41 15:57:16 15:56:01 0.33 0.00 0.33 0.00 5.05 15:57:16 15:57:01 3.20 0.13 3.06 13.72 118.58 15:57:16 Average: 0.71 0.01 0.70 1.53 19.95 15:57:16 15:57:16 15:48:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 15:57:16 15:49:01 5439400 0 798276 9.97 2620 1768644 1204296 13.30 589676 1581552 16 15:57:16 15:50:01 5437920 0 799748 9.99 2620 1768652 1197512 13.22 596724 1575828 12 15:57:16 15:51:01 5436956 0 800712 10.00 2620 1768652 1197488 13.22 593452 1580172 8 15:57:16 15:52:01 5439572 0 798088 9.96 2620 1768660 1197164 13.22 590832 1580884 8 15:57:16 15:53:01 5436040 0 801616 10.01 2620 1768664 1197344 13.22 593344 1582100 8 15:57:16 15:54:01 5434052 0 803600 10.03 2620 1768668 1197380 13.22 594732 1582100 8 15:57:16 15:55:01 5425904 0 811740 10.14 2620 1768676 1205516 13.31 603224 1582100 12 15:57:16 15:56:01 5424724 0 812916 10.15 2620 1768680 1205360 13.31 604176 1582100 8 15:57:16 15:57:01 5134368 0 922512 11.52 2620 1949440 1679656 18.54 819276 1628660 179884 15:57:16 Average: 5400993 0 816579 10.20 2620 1788748 1253524 13.84 620604 1586166 19996 15:57:16 15:57:16 15:48:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 15:57:16 15:49:01 eth0 0.70 0.13 0.06 0.03 0.00 0.00 0.00 0.00 15:57:16 15:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:57:16 15:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:57:16 15:50:01 eth0 2.73 0.92 3.33 0.24 0.00 0.00 0.00 0.00 15:57:16 15:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:57:16 15:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:57:16 15:51:01 eth0 1.77 0.63 0.60 0.40 0.00 0.00 0.00 0.00 15:57:16 15:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:57:16 15:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:57:16 15:52:01 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 15:57:16 15:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:57:16 15:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:57:16 15:53:01 eth0 1.10 0.43 0.40 0.27 0.00 0.00 0.00 0.00 15:57:16 15:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:57:16 15:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:57:16 15:54:01 eth0 1.13 0.40 0.38 0.21 0.00 0.00 0.00 0.00 15:57:16 15:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:57:16 15:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:57:16 15:55:01 eth0 0.53 0.33 0.27 0.17 0.00 0.00 0.00 0.00 15:57:16 15:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:57:16 15:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:57:16 15:56:01 eth0 0.15 0.10 0.01 0.04 0.00 0.00 0.00 0.00 15:57:16 15:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:57:16 15:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:57:16 15:57:01 eth0 290.66 202.08 1650.76 33.95 0.00 0.00 0.00 0.00 15:57:16 15:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:57:16 15:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:57:16 Average: eth0 33.23 22.80 184.06 3.92 0.00 0.00 0.00 0.00 15:57:16 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:57:16 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:57:16 15:57:16 15:57:16 ---> sar -P ALL: 15:57:16 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/29/21 _x86_64_ (2 CPU) 15:57:16 15:57:16 15:47:02 LINUX RESTART (2 CPU) 15:57:16 15:57:16 15:48:01 CPU %user %nice %system %iowait %steal %idle 15:57:16 15:49:01 all 0.23 0.00 0.05 0.00 0.02 99.71 15:57:16 15:49:01 0 0.27 0.00 0.03 0.00 0.00 99.70 15:57:16 15:49:01 1 0.18 0.00 0.07 0.00 0.03 99.72 15:57:16 15:50:01 all 0.23 0.00 0.05 0.00 0.02 99.71 15:57:16 15:50:01 0 0.08 0.00 0.05 0.00 0.02 99.85 15:57:16 15:50:01 1 0.37 0.00 0.05 0.00 0.02 99.57 15:57:16 15:51:01 all 0.23 0.00 0.07 0.00 0.02 99.68 15:57:16 15:51:01 0 0.35 0.00 0.08 0.00 0.02 99.55 15:57:16 15:51:01 1 0.12 0.00 0.05 0.00 0.02 99.82 15:57:16 15:52:01 all 0.18 0.00 0.04 0.00 0.00 99.77 15:57:16 15:52:01 0 0.28 0.00 0.05 0.00 0.00 99.67 15:57:16 15:52:01 1 0.08 0.00 0.03 0.00 0.00 99.88 15:57:16 15:53:01 all 0.27 0.00 0.07 0.00 0.03 99.64 15:57:16 15:53:01 0 0.12 0.00 0.07 0.00 0.02 99.80 15:57:16 15:53:01 1 0.42 0.00 0.07 0.00 0.03 99.48 15:57:16 15:54:01 all 0.24 0.00 0.05 0.00 0.02 99.69 15:57:16 15:54:01 0 0.07 0.00 0.07 0.00 0.02 99.85 15:57:16 15:54:01 1 0.42 0.00 0.03 0.00 0.02 99.53 15:57:16 15:55:01 all 0.28 0.00 0.06 0.00 0.01 99.65 15:57:16 15:55:01 0 0.10 0.00 0.07 0.00 0.02 99.82 15:57:16 15:55:01 1 0.47 0.00 0.05 0.00 0.00 99.48 15:57:16 15:56:01 all 0.19 0.00 0.05 0.00 0.01 99.75 15:57:16 15:56:01 0 0.07 0.00 0.05 0.00 0.02 99.87 15:57:16 15:56:01 1 0.32 0.00 0.05 0.00 0.00 99.63 15:57:16 15:57:01 all 4.28 0.00 1.51 0.02 0.03 94.16 15:57:16 15:57:01 0 5.02 0.00 1.69 0.02 0.03 93.24 15:57:16 15:57:01 1 3.53 0.00 1.33 0.02 0.03 95.09 15:57:16 Average: all 0.68 0.00 0.21 0.00 0.02 99.09 15:57:16 Average: 0 0.70 0.00 0.24 0.00 0.01 99.05 15:57:16 Average: 1 0.65 0.00 0.19 0.00 0.02 99.14 15:57:16 15:57:16 15:57:16