Pull request #930 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 74ee5606d08ca99f916d38546fc0656e6a4c6524+ebab09c1f1c3ca512e4b147264c251d1ef0d01e0 (c40c0385718a6e0b987d15127517e4fc2b8ab0a8) 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-ssh5764164008034982588.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-ssh8751977911762770321.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-930/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-930/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2080816881792135858.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-ssh4081394223124798195.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-930/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-930/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7331816556076073351.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-360 in /w/workspace/ndry_app-functions-sdk-go_PR-930 [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-930 # 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-930@tmp/jenkins-gitclient-ssh4600071872051129507.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-930@tmp/jenkins-gitclient-ssh7570766264270097996.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/930/head:refs/remotes/origin/PR-930 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ebab09c1f1c3ca512e4b147264c251d1ef0d01e0 into PR head commit 74ee5606d08ca99f916d38546fc0656e6a4c6524 Merge succeeded, producing 74ee5606d08ca99f916d38546fc0656e6a4c6524 Checking out Revision 74ee5606d08ca99f916d38546fc0656e6a4c6524 (PR-930) > git config core.sparsecheckout # timeout=10 > git checkout -f 74ee5606d08ca99f916d38546fc0656e6a4c6524 # 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-930@tmp/jenkins-gitclient-ssh7039409195942896312.key > git merge ebab09c1f1c3ca512e4b147264c251d1ef0d01e0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 74ee5606d08ca99f916d38546fc0656e6a4c6524 # timeout=10 Commit message: "Merge branch 'main' into changelog-2.0.1" > git rev-list --no-walk 137c3f3014bb71d143e902c42f97a55385bbe6ef # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:03:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:03:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:03:08 ========================================================= 16:03:08 EdgeX Global Pipelines Version Info 16:03:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:03:09 ------------------- 16:03:09 stable info: 16:03:09 ------------------- 16:03:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:03:09 Commit SHA: db16f8292de5a0132d944c4e76ede2ca4f84da27 16:03:09 Message: update stable to v1.0.197 16:03:10 ------------------- 16:03:10 experimental info: 16:03:10 ------------------- 16:03:10 Commited By: **** collab-it+edgex@linuxfoundation.org 16:03:10 Commit SHA: db16f8292de5a0132d944c4e76ede2ca4f84da27 16:03:10 Message: update experimental to v1.0.197 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:03:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 16:03:10 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 16:03:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:03:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:03:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:03:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 16:03:10 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 16:03:10 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 16:03:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:03:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:03:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:03:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 16:03:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:03:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:03:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 16:03:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:03:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:03:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:03:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:03:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:03:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:03:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 16:03:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:03:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:03:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 16:03:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:03:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-930 [Pipeline] echo 16:03:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-930 [Pipeline] echo 16:03:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-930 [Pipeline] echo 16:03:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 74ee5606d08ca99f916d38546fc0656e6a4c6524 [Pipeline] echo 16:03:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 74ee560 [Pipeline] echo 16:03:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:03:11 + git log --format=format:%s -1 74ee5606d08ca99f916d38546fc0656e6a4c6524 [Pipeline] echo 16:03:11 GIT_COMMIT: 74ee5606d08ca99f916d38546fc0656e6a4c6524, Commit Message: Merge branch 'main' into changelog-2.0.1 [Pipeline] echo 16:03:11 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 16:03:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:03:12 16:03:12 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:03:12 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:03:12 latest: Pulling from edgex-devops/git-semver 16:03:12 31603596830f: Pulling fs layer 16:03:12 b6dc333f4379: Pulling fs layer 16:03:12 3d9ef1400e77: Pulling fs layer 16:03:12 fd332fbdc1db: Pulling fs layer 16:03:12 b6dc333f4379: Verifying Checksum 16:03:12 b6dc333f4379: Download complete 16:03:13 31603596830f: Verifying Checksum 16:03:13 31603596830f: Download complete 16:03:13 31603596830f: Pull complete 16:03:13 fd332fbdc1db: Verifying Checksum 16:03:13 fd332fbdc1db: Download complete 16:03:13 b6dc333f4379: Pull complete 16:03:13 3d9ef1400e77: Verifying Checksum 16:03:13 3d9ef1400e77: Download complete 16:03:14 3d9ef1400e77: Pull complete 16:03:14 fd332fbdc1db: Pull complete 16:03:14 Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 16:03:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:03:14 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:03:14 prd-centos7-docker-4c-2g-360 does not seem to be running inside a container 16:03:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-930 -v /w/workspace/ndry_app-functions-sdk-go_PR-930:/w/workspace/ndry_app-functions-sdk-go_PR-930:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-930@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-930@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 16:03:15 $ docker top 1311c157a69284a2d4847c7476489f8083e946197e81cdab82697818bcaeff32 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:03:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:03:15 [ssh-agent] Looking for ssh-agent implementation... 16:03:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:03:15 $ docker exec 1311c157a69284a2d4847c7476489f8083e946197e81cdab82697818bcaeff32 ssh-agent 16:03:15 SSH_AUTH_SOCK=/tmp/ssh-He4kkFChkop5/agent.14 16:03:15 SSH_AGENT_PID=21 16:03:15 Running ssh-add (command line suppressed) 16:03:15 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-930@tmp/private_key_4751285051055096156.key (/w/workspace/ndry_app-functions-sdk-go_PR-930@tmp/private_key_4751285051055096156.key) 16:03:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:03:16 + git tag --points-at HEAD [Pipeline] } 16:03:16 $ docker exec --env ******** --env ******** 1311c157a69284a2d4847c7476489f8083e946197e81cdab82697818bcaeff32 ssh-agent -k 16:03:16 unset SSH_AUTH_SOCK; 16:03:16 unset SSH_AGENT_PID; 16:03:16 echo Agent pid 21 killed; 16:03:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:03:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:03:16 [ssh-agent] Looking for ssh-agent implementation... 16:03:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:03:16 $ docker exec 1311c157a69284a2d4847c7476489f8083e946197e81cdab82697818bcaeff32 ssh-agent 16:03:16 SSH_AUTH_SOCK=/tmp/ssh-tBYi4Qr1hjQv/agent.55 16:03:16 SSH_AGENT_PID=61 16:03:16 Running ssh-add (command line suppressed) 16:03:16 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-930@tmp/private_key_5740017510350350006.key (/w/workspace/ndry_app-functions-sdk-go_PR-930@tmp/private_key_5740017510350350006.key) 16:03:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:03:17 + git semver init 16:03:17 # -> Open(): unable to determine branch for HEAD 16:03:17 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-930/.git 16:03:17 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-930 16:03:17 # $SEMVER_REMOTE_NAME = origin 16:03:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:03:17 # $SEMVER_USER_NAME = edgex-jenkins 16:03:17 # $SEMVER_BRANCH = PR-930 16:03:17 # $SEMVER_TEMP = /tmp/semver-174261646 16:03:17 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 16:03:25 # '/tmp/semver-174261646' -> '/w/workspace/ndry_app-functions-sdk-go_PR-930/.semver' 16:03:25 # -> Force: false 16:03:25 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-930/.semver [Pipeline] } 16:03:25 $ docker exec --env ******** --env ******** 1311c157a69284a2d4847c7476489f8083e946197e81cdab82697818bcaeff32 ssh-agent -k 16:03:25 unset SSH_AUTH_SOCK; 16:03:25 unset SSH_AGENT_PID; 16:03:25 echo Agent pid 61 killed; 16:03:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:03:25 + git semver [Pipeline] } 16:03:25 $ docker stop --time=1 1311c157a69284a2d4847c7476489f8083e946197e81cdab82697818bcaeff32 16:03:27 $ docker rm -f 1311c157a69284a2d4847c7476489f8083e946197e81cdab82697818bcaeff32 [Pipeline] // withDockerContainer [Pipeline] sh 16:03:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:03:27 Stashed 1 file(s) [Pipeline] echo 16:03:27 [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 16:03:43 Still waiting to schedule task 16:03:43 Waiting for next available executor on ‘centos7-docker-4c-2g’ 16:03:43 Still waiting to schedule task 16:03:43 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 16:04:42 Running on prd-centos7-docker-4c-2g-365 in /w/workspace/ndry_app-functions-sdk-go_PR-930 [Pipeline] { [Pipeline] ws 16:04:42 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout 16:04:42 The recommended git tool is: git 16:04:45 using credential edgex-jenkins-ssh 16:04:45 Cloning the remote Git repository 16:04:44 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 16:04:44 > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 16:04:44 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 16:04:44 > git --version # timeout=10 16:04:44 > git --version # 'git version 2.24.4' 16:04:44 using GIT_SSH to set credentials SSH Credentials for GitHub 16:04:44 [INFO] Currently running in a labeled security context 16:04:44 [INFO] Currently SELinux is 'enforcing' on the host 16:04:44 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh4893278996888306428.key 16:04:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:05:19 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 16:05:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:05:19 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 16:05:19 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 16:05:19 using GIT_SSH to set credentials SSH Credentials for GitHub 16:05:19 [INFO] Currently running in a labeled security context 16:05:19 [INFO] Currently SELinux is 'enforcing' on the host 16:05:19 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh1473074679653261745.key 16:05:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/930/head:refs/remotes/origin/PR-930 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:05:20 Merging remotes/origin/main commit ebab09c1f1c3ca512e4b147264c251d1ef0d01e0 into PR head commit 74ee5606d08ca99f916d38546fc0656e6a4c6524 16:05:20 Merge succeeded, producing 74ee5606d08ca99f916d38546fc0656e6a4c6524 16:05:20 Checking out Revision 74ee5606d08ca99f916d38546fc0656e6a4c6524 (PR-930) 16:05:20 > git config core.sparsecheckout # timeout=10 16:05:20 > git checkout -f 74ee5606d08ca99f916d38546fc0656e6a4c6524 # timeout=10 16:05:20 > git remote # timeout=10 16:05:20 > git config --get remote.origin.url # timeout=10 16:05:20 using GIT_SSH to set credentials SSH Credentials for GitHub 16:05:20 [INFO] Currently running in a labeled security context 16:05:20 [INFO] Currently SELinux is 'enforcing' on the host 16:05:20 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh4428643922367833604.key 16:05:20 > git merge ebab09c1f1c3ca512e4b147264c251d1ef0d01e0 # timeout=10 16:05:20 > git rev-parse HEAD^{commit} # timeout=10 16:05:20 > git config core.sparsecheckout # timeout=10 16:05:20 > git checkout -f 74ee5606d08ca99f916d38546fc0656e6a4c6524 # timeout=10 16:05:24 Commit message: "Merge branch 'main' into changelog-2.0.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 16:05:24 ========================================================= 16:05:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 16:05:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:05:25 + 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 . 16:05:25 Sending build context to Docker daemon 19.78MB 16:05:25 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 16:05:25 Step 2/8 : FROM ${BASE} 16:05:25 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 16:05:25 540db60ca938: Pulling fs layer 16:05:25 adcc1eea9eea: Pulling fs layer 16:05:25 4c4ab2625f07: Pulling fs layer 16:05:25 0773c198feca: Pulling fs layer 16:05:25 345f892a5656: Pulling fs layer 16:05:25 4796506630df: Pulling fs layer 16:05:25 cc55df3e53f1: Pulling fs layer 16:05:25 4d027b6c602c: Pulling fs layer 16:05:25 449e75d2c14e: Pulling fs layer 16:05:25 4796506630df: Waiting 16:05:25 cc55df3e53f1: Waiting 16:05:25 4d027b6c602c: Waiting 16:05:25 0773c198feca: Waiting 16:05:25 345f892a5656: Waiting 16:05:25 449e75d2c14e: Waiting 16:05:25 4c4ab2625f07: Verifying Checksum 16:05:25 4c4ab2625f07: Download complete 16:05:25 adcc1eea9eea: Download complete 16:05:25 345f892a5656: Verifying Checksum 16:05:25 345f892a5656: Download complete 16:05:25 4796506630df: Verifying Checksum 16:05:25 4796506630df: Download complete 16:05:25 cc55df3e53f1: Verifying Checksum 16:05:25 cc55df3e53f1: Download complete 16:05:25 540db60ca938: Verifying Checksum 16:05:25 540db60ca938: Download complete 16:05:25 540db60ca938: Pull complete 16:05:25 adcc1eea9eea: Pull complete 16:05:25 4c4ab2625f07: Pull complete 16:05:26 4d027b6c602c: Verifying Checksum 16:05:26 4d027b6c602c: Download complete 16:05:29 449e75d2c14e: Verifying Checksum 16:05:29 449e75d2c14e: Download complete 16:05:30 0773c198feca: Verifying Checksum 16:05:30 0773c198feca: Download complete 16:05:33 0773c198feca: Pull complete 16:05:33 345f892a5656: Pull complete 16:05:33 4796506630df: Pull complete 16:05:33 cc55df3e53f1: Pull complete 16:05:33 4d027b6c602c: Pull complete 16:05:35 449e75d2c14e: Pull complete 16:05:35 Digest: sha256:a2fa0993ec4462abfc92311096d2e43e803cda49eb027de246ea451416b7a8a8 16:05:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 16:05:35 ---> 0d28375d9b5b 16:05:35 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 16:05:35 20.10.0: Pulling from library/docker 16:05:35 05e7bc50f07f: Pulling fs layer 16:05:35 6db28d0fdbf6: Pulling fs layer 16:05:35 292df0bc6bf3: Pulling fs layer 16:05:35 2e060f4bd70b: Pulling fs layer 16:05:35 80e8d568a223: Pulling fs layer 16:05:35 8dc6ef1a942a: Pulling fs layer 16:05:35 2312dd95470a: Pulling fs layer 16:05:35 2e060f4bd70b: Waiting 16:05:35 80e8d568a223: Waiting 16:05:35 8dc6ef1a942a: Waiting 16:05:35 2312dd95470a: Waiting 16:05:35 292df0bc6bf3: Verifying Checksum 16:05:35 292df0bc6bf3: Download complete 16:05:35 05e7bc50f07f: Verifying Checksum 16:05:35 05e7bc50f07f: Download complete 16:05:35 80e8d568a223: Verifying Checksum 16:05:35 80e8d568a223: Download complete 16:05:35 6db28d0fdbf6: Verifying Checksum 16:05:35 6db28d0fdbf6: Download complete 16:05:35 8dc6ef1a942a: Verifying Checksum 16:05:35 8dc6ef1a942a: Download complete 16:05:35 2312dd95470a: Verifying Checksum 16:05:35 2312dd95470a: Download complete 16:05:36 05e7bc50f07f: Pull complete 16:05:36 6db28d0fdbf6: Pull complete 16:05:36 292df0bc6bf3: Pull complete 16:05:39 2e060f4bd70b: Verifying Checksum 16:05:39 2e060f4bd70b: Download complete 16:05:41 2e060f4bd70b: Pull complete 16:05:41 80e8d568a223: Pull complete 16:05:41 8dc6ef1a942a: Pull complete 16:05:41 2312dd95470a: Pull complete 16:05:41 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 16:05:41 Status: Downloaded newer image for docker:20.10.0 16:05:43 ---> bbbdca789183 16:05:43 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:05:43 ---> Running in 7a98e651dab8 16:05:43 Removing intermediate container 7a98e651dab8 16:05:43 ---> ff52f12eb67c 16:05:43 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 16:05:43 ---> Running in 5df9fff77c9d 16:05:44 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 16:05:45 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 16:05:45 (1/5) Installing libsodium (1.0.18-r0) 16:05:45 (2/5) Installing libzmq (4.3.3-r1) 16:05:45 (3/5) Installing pkgconf (1.7.3-r0) 16:05:46 (4/5) Installing libsodium-dev (1.0.18-r0) 16:05:46 (5/5) Installing zeromq-dev (4.3.3-r1) 16:05:46 Executing busybox-1.32.1-r6.trigger 16:05:46 OK: 150 MiB in 45 packages 16:05:46 Removing intermediate container 5df9fff77c9d 16:05:46 ---> a07666ddd7c1 16:05:46 Step 6/8 : WORKDIR /build 16:05:46 ---> Running in 1a0a5c975947 16:05:46 Removing intermediate container 1a0a5c975947 16:05:46 ---> 3a7252abd1bd 16:05:46 Step 7/8 : COPY go.mod . 16:05:46 ---> 65c90e1b7c86 16:05:46 Step 8/8 : RUN go mod download 16:05:46 ---> Running in d14ebb1e2432 16:05:56 Removing intermediate container d14ebb1e2432 16:05:56 ---> a64b05c169a8 16:05:56 Successfully built a64b05c169a8 16:05:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:05:57 + docker inspect -f . ci-base-image-x86_64 16:05:57 . [Pipeline] withDockerContainer 16:05:57 prd-centos7-docker-4c-2g-365 does not seem to be running inside a container 16:05:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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 16:05:57 $ docker top e20c63fcb415fe2098577396975d47ef514c1d3827a5d748bf278a02e11d3dbf -eo pid,comm [Pipeline] { [Pipeline] sh 16:05:58 + go version 16:05:58 go version go1.16.5 linux/amd64 [Pipeline] } 16:05:58 $ docker stop --time=1 e20c63fcb415fe2098577396975d47ef514c1d3827a5d748bf278a02e11d3dbf 16:05:59 $ docker rm -f e20c63fcb415fe2098577396975d47ef514c1d3827a5d748bf278a02e11d3dbf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:06:00 + docker inspect -f . ci-base-image-x86_64 16:06:00 . [Pipeline] withDockerContainer 16:06:00 prd-centos7-docker-4c-2g-365 does not seem to be running inside a container 16:06:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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 16:06:00 $ docker top f90c8237c604e51ebdefb67c7f247b9f876c1cee66c144a0563c93efd637cf72 -eo pid,comm [Pipeline] { [Pipeline] sh 16:06:00 + go mod tidy [Pipeline] sh 16:06:01 + make test 16:06:01 make -C ./app-service-template build 16:06:01 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 16:06:01 go mod tidy 16:06:01 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 16:06:11 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 16:06:11 make -C ./app-service-template test 16:06:11 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 16:06:11 go mod tidy 16:06:11 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 16:06:22 ok new-app-service 0.014s coverage: 47.8% of statements 16:06:22 ? new-app-service/config [no test files] 16:06:22 ok new-app-service/functions 0.008s 16:06:22 CGO_ENABLED=1 go vet ./... 16:06:30 gofmt -l . 16:06:30 [ "`gofmt -l .`" = "" ] 16:06:30 ./bin/test-attribution-txt.sh 16:06:30 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 16:06:30 go mod tidy 16:06:30 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:06:30 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 16:06:31 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.012s coverage: 63.6% of statements 16:06:31 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.013s coverage: 96.5% of statements 16:06:31 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 16:06:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.015s coverage: 61.8% of statements 16:06:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 16:06:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.010s 16:06:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.033s coverage: 74.5% of statements 16:06:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 16:06:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 16:06:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 16:06:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 16:06:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 16:06:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 16:06:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.003s coverage: 97.1% of statements 16:06:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 16:06:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.009s coverage: 10.5% of statements 16:06:36 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.751s coverage: 76.1% of statements 16:06:36 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 16:06:36 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.009s coverage: 12.5% of statements 16:06:36 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.010s coverage: 27.3% of statements 16:06:36 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 16:06:36 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 16:06:36 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.009s coverage: 51.4% of statements 16:07:03 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.037s coverage: 78.1% of statements 16:07:03 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.009s coverage: 94.4% of statements 16:07:03 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:07:03 gofmt -l . 16:07:03 [ "`gofmt -l .`" = "" ] [Pipeline] } 16:07:03 $ docker stop --time=1 f90c8237c604e51ebdefb67c7f247b9f876c1cee66c144a0563c93efd637cf72 16:07:04 $ docker rm -f f90c8237c604e51ebdefb67c7f247b9f876c1cee66c144a0563c93efd637cf72 [Pipeline] // withDockerContainer [Pipeline] sh 16:07:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:07:05 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 16:07:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:07:06 16:07:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:07:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:07:06 latest: Pulling from edgex-lftools-log-publisher 16:07:06 b4d181a07f80: Pulling fs layer 16:07:06 a1111a8f2ec3: Pulling fs layer 16:07:06 ed53099fbce6: Pulling fs layer 16:07:06 dc539afda2c1: Pulling fs layer 16:07:06 77bc0d833cb6: Pulling fs layer 16:07:06 9065ff56babe: Pulling fs layer 16:07:06 d287ab97295c: Pulling fs layer 16:07:06 dc539afda2c1: Waiting 16:07:06 77bc0d833cb6: Waiting 16:07:06 9065ff56babe: Waiting 16:07:06 d287ab97295c: Waiting 16:07:07 a1111a8f2ec3: Verifying Checksum 16:07:07 a1111a8f2ec3: Download complete 16:07:07 dc539afda2c1: Verifying Checksum 16:07:07 dc539afda2c1: Download complete 16:07:07 ed53099fbce6: Verifying Checksum 16:07:07 ed53099fbce6: Download complete 16:07:07 9065ff56babe: Verifying Checksum 16:07:07 9065ff56babe: Download complete 16:07:07 77bc0d833cb6: Verifying Checksum 16:07:07 77bc0d833cb6: Download complete 16:07:08 b4d181a07f80: Verifying Checksum 16:07:08 b4d181a07f80: Download complete 16:07:09 b4d181a07f80: Pull complete 16:07:10 a1111a8f2ec3: Pull complete 16:07:10 ed53099fbce6: Pull complete 16:07:10 dc539afda2c1: Pull complete 16:07:10 77bc0d833cb6: Pull complete 16:07:10 9065ff56babe: Pull complete 16:07:13 d287ab97295c: Verifying Checksum 16:07:13 d287ab97295c: Download complete 16:07:13 Running on prd-ubuntu18.04-docker-arm64-4c-16g-369 in /w/workspace/ndry_app-functions-sdk-go_PR-930 [Pipeline] { [Pipeline] ws 16:07:13 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout 16:07:13 The recommended git tool is: git 16:07:17 d287ab97295c: Pull complete 16:07:17 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 16:07:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:07:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:07:17 prd-centos7-docker-4c-2g-365 does not seem to be running inside a container 16:07:17 $ 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/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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 16:07:19 using credential edgex-jenkins-ssh 16:07:20 Cloning the remote Git repository 16:07:20 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 16:07:20 $ docker top e1aaa7dd86b864163ecfc25e9ed0c7ca3aa68e1677d2074494ff4e1292864da0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:07:20 ---> job-cost.sh 16:07:20 lf-activate-venv: SKIPPING 16:07:20 INFO: No Stack... 16:07:20 > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 16:07:20 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 16:07:20 > git --version # timeout=10 16:07:20 > git --version # 'git version 2.17.1' 16:07:20 using GIT_SSH to set credentials SSH Credentials for GitHub 16:07:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:07:22 INFO: Retrieving Pricing Info for: v3-standard-2 16:07:22 INFO: Archiving Costs [Pipeline] sh 16:07:22 + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv 16:07:22 + cut -d, -f6 [Pipeline] lock 16:07:22 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-930-2-stack-cost] 16:07:22 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-930-2-stack-cost] did not exist. Created. 16:07:22 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-930-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:07:23 + echo total: 0.05999999865889549 [Pipeline] stash 16:07:23 Stashed 1 file(s) [Pipeline] } 16:07:23 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-930-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:07:23 $ docker stop --time=1 e1aaa7dd86b864163ecfc25e9ed0c7ca3aa68e1677d2074494ff4e1292864da0 16:07:24 $ docker rm -f e1aaa7dd86b864163ecfc25e9ed0c7ca3aa68e1677d2074494ff4e1292864da0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:07:25 Merging remotes/origin/main commit ebab09c1f1c3ca512e4b147264c251d1ef0d01e0 into PR head commit 74ee5606d08ca99f916d38546fc0656e6a4c6524 16:07:25 Merge succeeded, producing 74ee5606d08ca99f916d38546fc0656e6a4c6524 16:07:25 Checking out Revision 74ee5606d08ca99f916d38546fc0656e6a4c6524 (PR-930) 16:07:24 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 16:07:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:07:24 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 16:07:24 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 16:07:24 using GIT_SSH to set credentials SSH Credentials for GitHub 16:07:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/930/head:refs/remotes/origin/PR-930 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:07:25 > git config core.sparsecheckout # timeout=10 16:07:25 > git checkout -f 74ee5606d08ca99f916d38546fc0656e6a4c6524 # timeout=10 16:07:25 > git remote # timeout=10 16:07:25 > git config --get remote.origin.url # timeout=10 16:07:25 using GIT_SSH to set credentials SSH Credentials for GitHub 16:07:25 > git merge ebab09c1f1c3ca512e4b147264c251d1ef0d01e0 # timeout=10 16:07:25 > git rev-parse HEAD^{commit} # timeout=10 16:07:25 > git config core.sparsecheckout # timeout=10 16:07:25 > git checkout -f 74ee5606d08ca99f916d38546fc0656e6a4c6524 # timeout=10 16:07:29 Commit message: "Merge branch 'main' into changelog-2.0.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 16:07:30 ========================================================= 16:07:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 16:07:30 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:07:31 + 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 . 16:07:32 Sending build context to Docker daemon 19.78MB 16:07:32 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 16:07:32 Step 2/8 : FROM ${BASE} 16:07:33 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:07:33 595b0fe564bb: Pulling fs layer 16:07:33 24495759ef45: Pulling fs layer 16:07:33 d148012ef14d: Pulling fs layer 16:07:33 cb65c68fc2e2: Pulling fs layer 16:07:33 093eec477d81: Pulling fs layer 16:07:33 a6d5b2bbb924: Pulling fs layer 16:07:33 2446dc1eb7d3: Pulling fs layer 16:07:33 596795e73e0f: Pulling fs layer 16:07:33 a6d5b2bbb924: Waiting 16:07:33 2446dc1eb7d3: Waiting 16:07:33 cb65c68fc2e2: Waiting 16:07:33 093eec477d81: Waiting 16:07:33 596795e73e0f: Waiting 16:07:33 d148012ef14d: Verifying Checksum 16:07:33 d148012ef14d: Download complete 16:07:33 24495759ef45: Download complete 16:07:33 093eec477d81: Download complete 16:07:33 a6d5b2bbb924: Verifying Checksum 16:07:33 a6d5b2bbb924: Download complete 16:07:33 595b0fe564bb: Verifying Checksum 16:07:33 595b0fe564bb: Download complete 16:07:33 2446dc1eb7d3: Verifying Checksum 16:07:33 2446dc1eb7d3: Download complete 16:07:33 595b0fe564bb: Pull complete 16:07:34 24495759ef45: Pull complete 16:07:35 d148012ef14d: Pull complete 16:07:36 596795e73e0f: Verifying Checksum 16:07:36 596795e73e0f: Download complete 16:07:37 cb65c68fc2e2: Verifying Checksum 16:07:37 cb65c68fc2e2: Download complete 16:07:49 cb65c68fc2e2: Pull complete 16:07:49 093eec477d81: Pull complete 16:07:49 a6d5b2bbb924: Pull complete 16:07:49 2446dc1eb7d3: Pull complete 16:07:53 596795e73e0f: Pull complete 16:07:53 Digest: sha256:8fdc37217a1dd7593ea05f088b02ef5bfb3cd8d6ab6705c4f2c080891875b7a0 16:07:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 16:07:53 ---> d9e956139c92 16:07:53 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 16:07:53 20.10.0: Pulling from library/docker 16:07:53 a3cc7d3b244e: Pulling fs layer 16:07:53 02a3295e0d61: Pulling fs layer 16:07:53 0f4f2e6d8100: Pulling fs layer 16:07:53 330b718f631f: Pulling fs layer 16:07:53 a93816041522: Pulling fs layer 16:07:53 bdb6da89ff94: Pulling fs layer 16:07:53 2a70c0c122f4: Pulling fs layer 16:07:53 330b718f631f: Waiting 16:07:53 a93816041522: Waiting 16:07:53 bdb6da89ff94: Waiting 16:07:53 2a70c0c122f4: Waiting 16:07:53 0f4f2e6d8100: Verifying Checksum 16:07:53 0f4f2e6d8100: Download complete 16:07:53 02a3295e0d61: Verifying Checksum 16:07:53 02a3295e0d61: Download complete 16:07:53 a93816041522: Download complete 16:07:53 a3cc7d3b244e: Verifying Checksum 16:07:53 a3cc7d3b244e: Download complete 16:07:53 bdb6da89ff94: Verifying Checksum 16:07:53 bdb6da89ff94: Download complete 16:07:53 2a70c0c122f4: Download complete 16:07:54 a3cc7d3b244e: Pull complete 16:07:55 02a3295e0d61: Pull complete 16:07:55 0f4f2e6d8100: Pull complete 16:07:56 330b718f631f: Verifying Checksum 16:07:56 330b718f631f: Download complete 16:07:59 330b718f631f: Pull complete 16:08:00 a93816041522: Pull complete 16:08:00 bdb6da89ff94: Pull complete 16:08:00 2a70c0c122f4: Pull complete 16:08:00 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 16:08:00 Status: Downloaded newer image for docker:20.10.0 16:08:13 ---> 175def3ae272 16:08:13 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:08:13 ---> Running in 826ecbd68e23 16:08:13 Removing intermediate container 826ecbd68e23 16:08:13 ---> b25e822e4a93 16:08:13 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 16:08:13 ---> Running in eadd95bb9d0d 16:08:14 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 16:08:15 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 16:08:16 (1/5) Installing libsodium (1.0.18-r0) 16:08:16 (2/5) Installing libzmq (4.3.3-r1) 16:08:17 (3/5) Installing pkgconf (1.7.3-r0) 16:08:17 (4/5) Installing libsodium-dev (1.0.18-r0) 16:08:17 (5/5) Installing zeromq-dev (4.3.3-r1) 16:08:17 Executing busybox-1.32.1-r6.trigger 16:08:17 OK: 139 MiB in 45 packages 16:08:19 Removing intermediate container eadd95bb9d0d 16:08:19 ---> 2dbba2e7f9ea 16:08:19 Step 6/8 : WORKDIR /build 16:08:19 ---> Running in 268c9e31f21b 16:08:20 Removing intermediate container 268c9e31f21b 16:08:20 ---> e58c09162fc0 16:08:20 Step 7/8 : COPY go.mod . 16:08:21 ---> f375992cc367 16:08:21 Step 8/8 : RUN go mod download 16:08:21 ---> Running in f082edf05b71 16:08:54 Removing intermediate container f082edf05b71 16:08:54 ---> 54f0f56d8c7d 16:08:54 Successfully built 54f0f56d8c7d 16:08:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:08:54 + docker inspect -f . ci-base-image-arm64 16:08:54 . [Pipeline] withDockerContainer 16:08:55 prd-ubuntu18.04-docker-arm64-4c-16g-369 does not seem to be running inside a container 16:08:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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 ******** -e ******** ci-base-image-arm64 cat 16:08:57 $ docker top cd6007850e9a39ed9c359703af3212302fc3fbe26465895311cff7fb71bbd64e -eo pid,comm [Pipeline] { [Pipeline] sh 16:08:58 + go version 16:08:58 go version go1.16.5 linux/arm64 [Pipeline] } 16:08:58 $ docker stop --time=1 cd6007850e9a39ed9c359703af3212302fc3fbe26465895311cff7fb71bbd64e 16:09:00 $ docker rm -f cd6007850e9a39ed9c359703af3212302fc3fbe26465895311cff7fb71bbd64e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:09:01 + docker inspect -f . ci-base-image-arm64 16:09:01 . [Pipeline] withDockerContainer 16:09:01 prd-ubuntu18.04-docker-arm64-4c-16g-369 does not seem to be running inside a container 16:09:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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 ******** -e ******** ci-base-image-arm64 cat 16:09:04 $ docker top daaee8389cfecd57982045bba5d7e86564ab2f68bbd827f93c3398ab2fe82c47 -eo pid,comm [Pipeline] { [Pipeline] sh 16:09:04 + go mod tidy [Pipeline] sh 16:09:06 + make test 16:09:06 make -C ./app-service-template build 16:09:06 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 16:09:06 go mod tidy 16:09:06 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 16:09:53 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 16:09:53 make -C ./app-service-template test 16:09:53 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 16:09:53 go mod tidy 16:09:53 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 16:10:26 ok new-app-service 0.043s coverage: 47.8% of statements 16:10:26 ? new-app-service/config [no test files] 16:10:26 ok new-app-service/functions 0.044s 16:10:26 CGO_ENABLED=1 go vet ./... 16:10:53 gofmt -l . 16:10:53 [ "`gofmt -l .`" = "" ] 16:10:53 ./bin/test-attribution-txt.sh 16:10:54 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 16:10:54 go mod tidy 16:10:54 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:10:56 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 16:11:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.145s coverage: 63.6% of statements 16:11:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.060s coverage: 96.5% of statements 16:11:07 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 16:11:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.130s coverage: 61.8% of statements 16:11:07 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 16:11:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.057s 16:11:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.174s coverage: 74.5% of statements 16:11:07 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 16:11:07 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 16:11:07 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 16:11:07 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 16:11:07 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 16:11:07 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 16:11:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.013s coverage: 97.1% of statements 16:11:07 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 16:11:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.039s coverage: 10.5% of statements 16:11:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.844s coverage: 76.1% of statements 16:11:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 16:11:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.098s coverage: 12.5% of statements 16:11:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.116s coverage: 27.3% of statements 16:11:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 16:11:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 16:11:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.059s coverage: 51.4% of statements 16:11:42 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.129s coverage: 78.1% of statements 16:11:42 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.033s coverage: 94.4% of statements 16:11:42 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:11:44 gofmt -l . 16:11:44 [ "`gofmt -l .`" = "" ] [Pipeline] } 16:11:45 $ docker stop --time=1 daaee8389cfecd57982045bba5d7e86564ab2f68bbd827f93c3398ab2fe82c47 16:11:47 $ docker rm -f daaee8389cfecd57982045bba5d7e86564ab2f68bbd827f93c3398ab2fe82c47 [Pipeline] // withDockerContainer [Pipeline] sh 16:11:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:11:48 Warning: overwriting stash ‘coverage-report’ 16:11:49 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 16:11:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:11:50 16:11:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 16:11:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:11:51 arm64: Pulling from edgex-lftools-log-publisher 16:11:51 448f6bf000e3: Pulling fs layer 16:11:51 f757da607395: Pulling fs layer 16:11:51 05883995daec: Pulling fs layer 16:11:51 8603b9c90790: Pulling fs layer 16:11:51 1560dd03e051: Pulling fs layer 16:11:51 27f5ce0e4adf: Pulling fs layer 16:11:51 c2d8d7efcc4b: Pulling fs layer 16:11:51 1560dd03e051: Waiting 16:11:51 27f5ce0e4adf: Waiting 16:11:51 c2d8d7efcc4b: Waiting 16:11:51 8603b9c90790: Waiting 16:11:51 f757da607395: Verifying Checksum 16:11:51 f757da607395: Download complete 16:11:51 8603b9c90790: Verifying Checksum 16:11:51 8603b9c90790: Download complete 16:11:51 1560dd03e051: Verifying Checksum 16:11:51 1560dd03e051: Download complete 16:11:51 27f5ce0e4adf: Verifying Checksum 16:11:51 27f5ce0e4adf: Download complete 16:11:52 05883995daec: Download complete 16:11:53 448f6bf000e3: Verifying Checksum 16:11:57 448f6bf000e3: Pull complete 16:11:57 c2d8d7efcc4b: Verifying Checksum 16:11:57 c2d8d7efcc4b: Download complete 16:11:57 f757da607395: Pull complete 16:11:59 05883995daec: Pull complete 16:11:59 8603b9c90790: Pull complete 16:12:00 1560dd03e051: Pull complete 16:12:01 27f5ce0e4adf: Pull complete 16:12:16 c2d8d7efcc4b: Pull complete 16:12:16 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 16:12:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:12:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 16:12:16 prd-ubuntu18.04-docker-arm64-4c-16g-369 does not seem to be running inside a container 16:12:16 $ 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/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:12:22 $ docker top 3c7b4bf6c63bf5c815d1594771cf220bd86361b88ff27961dde3dc96bf361e9d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:12:23 ---> job-cost.sh 16:12:23 lf-activate-venv: SKIPPING 16:12:23 INFO: No Stack... 16:12:24 INFO: Retrieving Pricing Info for: v2-standard-4 16:12:25 INFO: Archiving Costs [Pipeline] sh 16:12:25 + cut -d, -f6 16:12:25 + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv [Pipeline] lock 16:12:25 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-930-2-stack-cost] 16:12:25 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-930-2-stack-cost] did not exist. Created. 16:12:25 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-930-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:12:26 /w/workspace/app-functions-sdk-go/2@tmp/durable-edf30e35/script.sh: 1: /w/workspace/app-functions-sdk-go/2@tmp/durable-edf30e35/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 16:12:27 + echo total: 0.18000000715255737 [Pipeline] stash 16:12:27 Warning: overwriting stash ‘stack-cost’ 16:12:27 Stashed 1 file(s) [Pipeline] } 16:12:27 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-930-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:12:27 $ docker stop --time=1 3c7b4bf6c63bf5c815d1594771cf220bd86361b88ff27961dde3dc96bf361e9d 16:12:29 $ docker rm -f 3c7b4bf6c63bf5c815d1594771cf220bd86361b88ff27961dde3dc96bf361e9d [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 16:12:29 provisioning config files... 16:12:30 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-930@tmp/config8150933476041168168tmp [Pipeline] { [Pipeline] sh 16:12:30 + set +x 16:12:30 + bash -s -- 16:12:30 + curl -s https://codecov.io/bash 16:12:30 16:12:30 _____ _ 16:12:30 / ____| | | 16:12:30 | | ___ __| | ___ ___ _____ __ 16:12:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:12:30 | |___| (_) | (_| | __/ (_| (_) \ V / 16:12:30 \_____\___/ \__,_|\___|\___\___/ \_/ 16:12:30 Bash-1.0.6 16:12:30 16:12:30 16:12:30 ==> git version 2.24.4 found 16:12:30 ==> 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 16:12:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 16:12:30 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 16:12:30 ==> Jenkins CI detected. 16:12:30 current dir:  /w/workspace/ndry_app-functions-sdk-go_PR-930 16:12:30 project root: . 16:12:30 --> token set from env 16:12:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:12:30 ==> Running gcov in . (disable via -X gcov) 16:12:30 ==> Python coveragepy not found 16:12:30 ==> Searching for coverage reports in: 16:12:30 + . 16:12:30 -> Found 2 reports 16:12:30 ==> Detecting git/mercurial file structure 16:12:30 ==> Reading reports 16:12:30 + ./app-service-template/coverage.out bytes=1055 16:12:30 + ./coverage.out bytes=95183 16:12:30 ==> Appending adjustments 16:12:30 https://docs.codecov.io/docs/fixing-reports 16:12:30 + Found adjustments 16:12:30 ==> Gzipping contents 16:12:30 20K /tmp/codecov.pqDSa0.gz 16:12:30 ==> Uploading reports 16:12:30 url: https://codecov.io 16:12:30 query: branch=PR-930&commit=74ee5606d08ca99f916d38546fc0656e6a4c6524&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-930%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=930&job=&cmd_args= 16:12:30 -> Pinging Codecov 16:12:30 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-930&commit=74ee5606d08ca99f916d38546fc0656e6a4c6524&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-930%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=930&job=&cmd_args= 16:12:31 -> Uploading to 16:12:31 https://storage.googleapis.com/codecov/v4/raw/2021-07-28/3D8B5DFFC46A037C893635FACE044666/74ee5606d08ca99f916d38546fc0656e6a4c6524/2163ac2b-377a-472e-a1cd-7c779f41ebda.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210728%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210728T161231Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=600a7e96fb04acfa41cb9d643bb90f3502a6deb2b5e8b48361f15ee307fe3a6e 16:12:31 % Total % Received % Xferd Average Speed Time Time Time Current 16:12:31 Dload Upload Total Spent Left Speed 16:12:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16464 0 0 100 16464 0 38044 --:--:-- --:--:-- --:--:-- 38023 100 16464 0 0 100 16464 0 38034 --:--:-- --:--:-- --:--:-- 38023 16:12:31 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/74ee5606d08ca99f916d38546fc0656e6a4c6524 [Pipeline] } 16:12:31 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 16:12:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:12:33 ---> package-listing.sh 16:12:33 ++ tr '[:upper:]' '[:lower:]' 16:12:33 ++ facter osfamily 16:12:34 + OS_FAMILY=redhat 16:12:34 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-930 16:12:34 + START_PACKAGES=/tmp/packages_start.txt 16:12:34 + END_PACKAGES=/tmp/packages_end.txt 16:12:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:12:34 + PACKAGES=/tmp/packages_start.txt 16:12:34 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-930 ']' 16:12:34 + PACKAGES=/tmp/packages_end.txt 16:12:34 + case "${OS_FAMILY}" in 16:12:34 + sort 16:12:34 + rpm -qa 16:12:34 + '[' -f /tmp/packages_start.txt ']' 16:12:34 + '[' -f /tmp/packages_end.txt ']' 16:12:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:12:34 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-930 ']' 16:12:34 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-930/archives/ 16:12:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-930/archives/ [Pipeline] echo 16:12:34 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-930/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:12:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:12:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:12:35 16:12:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:12:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:12:35 latest: Pulling from edgex-lftools-log-publisher 16:12:35 b4d181a07f80: Pulling fs layer 16:12:35 a1111a8f2ec3: Pulling fs layer 16:12:35 ed53099fbce6: Pulling fs layer 16:12:35 dc539afda2c1: Pulling fs layer 16:12:35 77bc0d833cb6: Pulling fs layer 16:12:35 9065ff56babe: Pulling fs layer 16:12:35 d287ab97295c: Pulling fs layer 16:12:35 77bc0d833cb6: Waiting 16:12:35 9065ff56babe: Waiting 16:12:35 d287ab97295c: Waiting 16:12:35 dc539afda2c1: Waiting 16:12:36 a1111a8f2ec3: Verifying Checksum 16:12:36 a1111a8f2ec3: Download complete 16:12:36 dc539afda2c1: Verifying Checksum 16:12:36 dc539afda2c1: Download complete 16:12:36 77bc0d833cb6: Verifying Checksum 16:12:36 77bc0d833cb6: Download complete 16:12:36 9065ff56babe: Verifying Checksum 16:12:36 9065ff56babe: Download complete 16:12:36 ed53099fbce6: Verifying Checksum 16:12:36 ed53099fbce6: Download complete 16:12:38 b4d181a07f80: Download complete 16:12:39 b4d181a07f80: Pull complete 16:12:39 a1111a8f2ec3: Pull complete 16:12:39 ed53099fbce6: Pull complete 16:12:39 dc539afda2c1: Pull complete 16:12:39 77bc0d833cb6: Pull complete 16:12:39 9065ff56babe: Pull complete 16:12:43 d287ab97295c: Verifying Checksum 16:12:43 d287ab97295c: Download complete 16:12:47 d287ab97295c: Pull complete 16:12:47 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 16:12:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:12:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:12:47 prd-centos7-docker-4c-2g-360 does not seem to be running inside a container 16:12:47 $ 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-930/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-930 -v /w/workspace/ndry_app-functions-sdk-go_PR-930:/w/workspace/ndry_app-functions-sdk-go_PR-930:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-930@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-930@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 16:12:50 $ docker top b2a7f1db6a58c4e3ff47eb1acaff3a145c8319d7f489a7124ed2d4cd4954c22a -eo pid,comm [Pipeline] { [Pipeline] sh 16:12:50 + touch /tmp/pre-build-complete [Pipeline] sh 16:12:51 + mkdir -p /var/log/sysstat [Pipeline] sh 16:12:51 + ls /var/log/sa-host 16:12:51 + sadf -c /var/log/sa-host/sa05 16:12:51 file_magic: OK 16:12:51 HZ: Using current value: 100 16:12:51 file_header: OK 16:12:51 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 16:12:51 Statistics: 16:12:51 Hnuu...uuuununununu...Hnuu...uuuununununu... 16:12:51 File successfully converted to sysstat format version 12.0.3 16:12:51 + sadf -c /var/log/sa-host/sa28 16:12:51 file_magic: OK 16:12:51 HZ: Using current value: 100 16:12:51 file_header: OK 16:12:51 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 16:12:51 Statistics: 16:12:51 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:12:51 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:12:51 provisioning config files... 16:12:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-930@tmp/config1663295112025352714tmp [Pipeline] { [Pipeline] echo 16:12:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:12:51 ---> create-netrc.sh [Pipeline] } 16:12:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:12:52 ---> python-tools-install.sh [Pipeline] echo 16:12:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:12:52 ---> sudo-logs.sh 16:12:52 Archiving 'sudo' log.. 16:12:52 sudo: unable to resolve host prd-centos7-docker-4c-2g-360.vexxhost.local: Name or service not known 16:12:52 sudo: unable to resolve host prd-centos7-docker-4c-2g-360.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 16:12:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:12:53 ---> job-cost.sh 16:12:53 lf-activate-venv: SKIPPING 16:12:53 DEBUG: total: 0.18000000715255737 16:12:53 INFO: Retrieving Stack Cost... 16:12:53 INFO: Retrieving Pricing Info for: v3-standard-2 16:12:54 INFO: Archiving Costs [Pipeline] echo 16:12:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:12:54 ---> logs-deploy.sh 16:12:54 lf-activate-venv: SKIPPING 16:12:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-930/2 16:12:54 INFO: archiving workspace using pattern(s): 16:12:55 Archives upload complete. 16:12:55 INFO: archiving logs to Nexus 16:12:56 ---> uname -a: 16:12:56 Linux prd-centos7-docker-4c-2g-360.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 16:12:56 16:12:56 16:12:56 ---> lscpu: 16:12:56 Architecture: x86_64 16:12:56 CPU op-mode(s): 32-bit, 64-bit 16:12:56 Byte Order: Little Endian 16:12:56 Address sizes: 40 bits physical, 48 bits virtual 16:12:56 CPU(s): 2 16:12:56 On-line CPU(s) list: 0,1 16:12:56 Thread(s) per core: 1 16:12:56 Core(s) per socket: 1 16:12:56 Socket(s): 2 16:12:56 NUMA node(s): 1 16:12:56 Vendor ID: AuthenticAMD 16:12:56 CPU family: 23 16:12:56 Model: 49 16:12:56 Model name: AMD EPYC-Rome Processor 16:12:56 Stepping: 0 16:12:56 CPU MHz: 2799.998 16:12:56 BogoMIPS: 5599.99 16:12:56 Virtualization: AMD-V 16:12:56 Hypervisor vendor: KVM 16:12:56 Virtualization type: full 16:12:56 L1d cache: 32K 16:12:56 L1i cache: 32K 16:12:56 L2 cache: 512K 16:12:56 L3 cache: 16384K 16:12:56 NUMA node0 CPU(s): 0,1 16:12:56 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 16:12:56 16:12:56 16:12:56 ---> nproc: 16:12:56 2 16:12:56 16:12:56 16:12:56 ---> df -h: 16:12:56 Filesystem Size Used Avail Use% Mounted on 16:12:56 overlay 40G 7.7G 33G 20% / 16:12:56 tmpfs 64M 0 64M 0% /dev 16:12:56 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 16:12:56 shm 64M 0 64M 0% /dev/shm 16:12:56 /dev/vda1 40G 7.7G 33G 20% /facter-os 16:12:56 16:12:56 16:12:56 ---> sar -b -r -n DEV: 16:12:56 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/28/21 _x86_64_ (2 CPU) 16:12:56 16:12:56 16:02:24 LINUX RESTART (2 CPU) 16:12:56 16:12:56 16:03:01 tps rtps wtps bread/s bwrtn/s 16:12:56 16:04:01 84.12 3.41 80.70 2557.98 5172.03 16:12:56 16:05:01 1.77 0.00 1.77 0.00 38.59 16:12:56 16:06:01 0.28 0.00 0.28 0.00 3.46 16:12:56 16:07:01 0.23 0.00 0.23 0.00 3.03 16:12:56 16:08:01 0.22 0.00 0.22 0.00 2.76 16:12:56 16:09:01 0.33 0.00 0.33 0.00 5.08 16:12:56 16:10:01 0.20 0.00 0.20 0.00 2.70 16:12:56 16:11:01 0.27 0.00 0.27 0.00 3.61 16:12:56 16:12:01 0.23 0.00 0.23 0.00 2.70 16:12:56 Average: 9.74 0.38 9.36 284.32 581.75 16:12:56 16:12:56 16:03:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:12:56 16:04:01 5434184 0 803448 10.03 2620 1768688 1283168 14.17 591152 1582480 132 16:12:56 16:05:01 5441984 0 795644 9.93 2620 1768692 1226184 13.54 585288 1582444 8 16:12:56 16:06:01 5442912 0 794712 9.92 2620 1768696 1215916 13.42 590716 1575976 8 16:12:56 16:07:01 5442064 0 795556 9.93 2620 1768700 1215952 13.42 591868 1575972 8 16:12:56 16:08:01 5443780 0 793836 9.91 2620 1768704 1190492 13.14 583300 1583316 20 16:12:56 16:09:01 5443592 0 794020 9.91 2620 1768708 1190552 13.14 583604 1583316 8 16:12:56 16:10:01 5443652 0 793952 9.91 2620 1768716 1190384 13.14 583264 1583316 8 16:12:56 16:11:01 5431660 0 805936 10.06 2620 1768724 1190456 13.14 595600 1583316 8 16:12:56 16:12:01 5433412 0 804184 10.04 2620 1768724 1190204 13.14 595968 1581452 8 16:12:56 Average: 5439693 0 797921 9.96 2620 1768706 1210368 13.36 588973 1581288 23 16:12:56 16:12:56 16:03:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:12:56 16:04:01 eth0 328.77 287.76 998.02 43.46 0.00 0.00 0.00 0.00 16:12:56 16:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:12:56 16:04:01 docker0 118.30 102.40 10.03 313.73 0.00 0.00 0.00 0.00 16:12:56 16:05:01 eth0 3.15 0.90 1.01 0.60 0.00 0.00 0.00 0.00 16:12:56 16:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:12:56 16:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:12:56 16:06:01 eth0 2.05 0.33 0.41 0.23 0.00 0.00 0.00 0.00 16:12:56 16:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:12:56 16:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:12:56 16:07:01 eth0 1.62 0.40 0.35 0.21 0.00 0.00 0.00 0.00 16:12:56 16:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:12:56 16:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:12:56 16:08:01 eth0 2.13 0.72 0.76 0.44 0.00 0.00 0.00 0.00 16:12:56 16:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:12:56 16:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:12:56 16:09:01 eth0 0.70 0.30 0.29 0.20 0.00 0.00 0.00 0.00 16:12:56 16:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:12:56 16:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:12:56 16:10:01 eth0 1.03 0.35 0.32 0.24 0.00 0.00 0.00 0.00 16:12:56 16:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:12:56 16:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:12:56 16:11:01 eth0 0.55 0.33 0.27 0.20 0.00 0.00 0.00 0.00 16:12:56 16:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:12:56 16:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:12:56 16:12:01 eth0 0.13 0.10 0.01 0.01 0.00 0.00 0.00 0.00 16:12:56 16:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:12:56 16:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:12:56 Average: eth0 37.81 32.37 111.31 5.07 0.00 0.00 0.00 0.00 16:12:56 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:12:56 Average: docker0 13.15 11.38 1.11 34.87 0.00 0.00 0.00 0.00 16:12:56 16:12:56 16:12:56 ---> sar -P ALL: 16:12:56 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/28/21 _x86_64_ (2 CPU) 16:12:56 16:12:56 16:02:24 LINUX RESTART (2 CPU) 16:12:56 16:12:56 16:03:01 CPU %user %nice %system %iowait %steal %idle 16:12:56 16:04:01 all 6.81 0.00 2.63 2.16 0.05 88.35 16:12:56 16:04:01 0 7.11 0.00 2.67 1.75 0.05 88.41 16:12:56 16:04:01 1 6.50 0.00 2.60 2.56 0.05 88.29 16:12:56 16:05:01 all 0.20 0.00 0.06 0.00 0.03 99.72 16:12:56 16:05:01 0 0.08 0.00 0.07 0.00 0.03 99.82 16:12:56 16:05:01 1 0.32 0.00 0.05 0.00 0.02 99.62 16:12:56 16:06:01 all 0.12 0.00 0.04 0.00 0.04 99.80 16:12:56 16:06:01 0 0.05 0.00 0.05 0.00 0.05 99.85 16:12:56 16:06:01 1 0.18 0.00 0.03 0.00 0.03 99.75 16:12:56 16:07:01 all 0.11 0.00 0.04 0.00 0.02 99.83 16:12:56 16:07:01 0 0.05 0.00 0.03 0.00 0.02 99.90 16:12:56 16:07:01 1 0.17 0.00 0.05 0.00 0.02 99.77 16:12:56 16:08:01 all 0.17 0.00 0.04 0.00 0.03 99.77 16:12:56 16:08:01 0 0.18 0.00 0.03 0.00 0.03 99.75 16:12:56 16:08:01 1 0.15 0.00 0.05 0.00 0.02 99.78 16:12:56 16:09:01 all 0.12 0.00 0.05 0.00 0.02 99.82 16:12:56 16:09:01 0 0.18 0.00 0.08 0.00 0.03 99.70 16:12:56 16:09:01 1 0.05 0.00 0.02 0.00 0.00 99.93 16:12:56 16:10:01 all 0.15 0.00 0.06 0.00 0.03 99.77 16:12:56 16:10:01 0 0.23 0.00 0.08 0.00 0.03 99.65 16:12:56 16:10:01 1 0.07 0.00 0.03 0.00 0.02 99.88 16:12:56 16:11:01 all 0.18 0.00 0.05 0.00 0.03 99.75 16:12:56 16:11:01 0 0.30 0.00 0.07 0.00 0.03 99.60 16:12:56 16:11:01 1 0.05 0.00 0.03 0.00 0.02 99.90 16:12:56 16:12:01 all 0.13 0.00 0.03 0.00 0.03 99.81 16:12:56 16:12:01 0 0.25 0.00 0.03 0.00 0.03 99.68 16:12:56 16:12:01 1 0.02 0.00 0.03 0.00 0.02 99.93 16:12:56 Average: all 0.88 0.00 0.33 0.24 0.03 98.53 16:12:56 Average: 0 0.93 0.00 0.34 0.19 0.04 98.50 16:12:56 Average: 1 0.82 0.00 0.32 0.28 0.02 98.56 16:12:56 16:12:56 16:12:56