Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3d03b172bcd6eb4337644beb82d4d8e6dbb78fb2+fb43287b18a7d00e5a2a1a8f41cd1d41bcdf85bb (e5acab791bd7fed7a9247e744403b1c230e1bc41) 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-ssh4478978402313906180.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-ssh3491707830930070865.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-921/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-921/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh216905842197055474.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-ssh6056949232487970232.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-921/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-921/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4440729183210890768.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-481 in /w/workspace/ndry_app-functions-sdk-go_PR-921 [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-921 # 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-921@tmp/jenkins-gitclient-ssh3892141366598551636.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 3d03b172bcd6eb4337644beb82d4d8e6dbb78fb2 Merge succeeded, producing da7b7fca4c3f4b9bb4c20402e48a102681552a94 Checking out Revision da7b7fca4c3f4b9bb4c20402e48a102681552a94 (PR-921) > 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-921@tmp/jenkins-gitclient-ssh3161564675786665270.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/921/head:refs/remotes/origin/PR-921 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3d03b172bcd6eb4337644beb82d4d8e6dbb78fb2 # 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-921@tmp/jenkins-gitclient-ssh559987477917850569.key > git merge fb43287b18a7d00e5a2a1a8f41cd1d41bcdf85bb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f da7b7fca4c3f4b9bb4c20402e48a102681552a94 # timeout=10 Commit message: "Merge commit 'fb43287b18a7d00e5a2a1a8f41cd1d41bcdf85bb' into HEAD" > git rev-list --no-walk 3d03b172bcd6eb4337644beb82d4d8e6dbb78fb2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:46:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:46:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:46:51 ========================================================= 15:46:51 EdgeX Global Pipelines Version Info 15:46:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:46:53 ------------------- 15:46:53 stable info: 15:46:53 ------------------- 15:46:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:46:53 Commit SHA: db16f8292de5a0132d944c4e76ede2ca4f84da27 15:46:53 Message: update stable to v1.0.197 15:46:53 ------------------- 15:46:53 experimental info: 15:46:53 ------------------- 15:46:53 Commited By: **** collab-it+edgex@linuxfoundation.org 15:46:53 Commit SHA: db16f8292de5a0132d944c4e76ede2ca4f84da27 15:46:53 Message: update experimental to v1.0.197 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:46:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 15:46:53 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 15:46:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:46:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:46:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:46:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 15:46:54 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 15:46:54 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 15:46:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:46:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:46:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:46:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 15:46:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:46:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:46:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 15:46:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:46:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:46:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:46:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:46:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:46:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:46:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 15:46:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:46:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:46:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 15:46:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:46:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-921 [Pipeline] echo 15:46:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-921 [Pipeline] echo 15:46:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-921 [Pipeline] echo 15:46:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = da7b7fca4c3f4b9bb4c20402e48a102681552a94 [Pipeline] echo 15:46:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = da7b7fc [Pipeline] echo 15:46:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:46:55 + git log --format=format:%s -1 da7b7fca4c3f4b9bb4c20402e48a102681552a94 [Pipeline] echo 15:46:55 GIT_COMMIT: da7b7fca4c3f4b9bb4c20402e48a102681552a94, Commit Message: Merge commit 'fb43287b18a7d00e5a2a1a8f41cd1d41bcdf85bb' into HEAD [Pipeline] echo 15:46:55 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 15:46:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:46:56 15:46:56 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:46:56 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:47:02 latest: Pulling from edgex-devops/git-semver 15:47:02 31603596830f: Pulling fs layer 15:47:02 b6dc333f4379: Pulling fs layer 15:47:02 3d9ef1400e77: Pulling fs layer 15:47:02 fd332fbdc1db: Pulling fs layer 15:47:02 fd332fbdc1db: Waiting 15:47:02 b6dc333f4379: Download complete 15:47:02 31603596830f: Verifying Checksum 15:47:02 31603596830f: Download complete 15:47:02 31603596830f: Pull complete 15:47:02 b6dc333f4379: Pull complete 15:47:02 fd332fbdc1db: Verifying Checksum 15:47:02 fd332fbdc1db: Download complete 15:47:02 3d9ef1400e77: Verifying Checksum 15:47:02 3d9ef1400e77: Download complete 15:47:03 3d9ef1400e77: Pull complete 15:47:03 fd332fbdc1db: Pull complete 15:47:03 Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 15:47:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:47:03 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:47:03 prd-centos7-docker-4c-2g-481 does not seem to be running inside a container 15:47:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-921 -v /w/workspace/ndry_app-functions-sdk-go_PR-921:/w/workspace/ndry_app-functions-sdk-go_PR-921:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-921@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-921@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:04 $ docker top 3794a9641ddc5bd65091e9e7eb5b8ff9322689fdb6c4e7434ff5af000d5b2c39 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:47:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:47:04 [ssh-agent] Looking for ssh-agent implementation... 15:47:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:47:04 $ docker exec 3794a9641ddc5bd65091e9e7eb5b8ff9322689fdb6c4e7434ff5af000d5b2c39 ssh-agent 15:47:04 SSH_AUTH_SOCK=/tmp/ssh-gMeA5HcDxr4V/agent.14 15:47:04 SSH_AGENT_PID=21 15:47:04 Running ssh-add (command line suppressed) 15:47:04 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-921@tmp/private_key_8270820934168727979.key (/w/workspace/ndry_app-functions-sdk-go_PR-921@tmp/private_key_8270820934168727979.key) 15:47:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:47:05 + git tag --points-at HEAD [Pipeline] } 15:47:05 $ docker exec --env ******** --env ******** 3794a9641ddc5bd65091e9e7eb5b8ff9322689fdb6c4e7434ff5af000d5b2c39 ssh-agent -k 15:47:05 unset SSH_AUTH_SOCK; 15:47:05 unset SSH_AGENT_PID; 15:47:05 echo Agent pid 21 killed; 15:47:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:47:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:47:05 [ssh-agent] Looking for ssh-agent implementation... 15:47:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:47:05 $ docker exec 3794a9641ddc5bd65091e9e7eb5b8ff9322689fdb6c4e7434ff5af000d5b2c39 ssh-agent 15:47:05 SSH_AUTH_SOCK=/tmp/ssh-tQeP0AmbsVN7/agent.55 15:47:05 SSH_AGENT_PID=62 15:47:05 Running ssh-add (command line suppressed) 15:47:05 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-921@tmp/private_key_3405623911054352020.key (/w/workspace/ndry_app-functions-sdk-go_PR-921@tmp/private_key_3405623911054352020.key) 15:47:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:47:06 + git semver init 15:47:06 # -> Open(): unable to determine branch for HEAD 15:47:06 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-921/.git 15:47:06 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-921 15:47:06 # $SEMVER_REMOTE_NAME = origin 15:47:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:47:06 # $SEMVER_USER_NAME = edgex-jenkins 15:47:06 # $SEMVER_BRANCH = PR-921 15:47:06 # $SEMVER_TEMP = /tmp/semver-582465027 15:47:06 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 15:47:08 # '/tmp/semver-582465027' -> '/w/workspace/ndry_app-functions-sdk-go_PR-921/.semver' 15:47:08 # -> Force: false 15:47:08 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-921/.semver [Pipeline] } 15:47:08 $ docker exec --env ******** --env ******** 3794a9641ddc5bd65091e9e7eb5b8ff9322689fdb6c4e7434ff5af000d5b2c39 ssh-agent -k 15:47:08 unset SSH_AUTH_SOCK; 15:47:08 unset SSH_AGENT_PID; 15:47:08 echo Agent pid 62 killed; 15:47:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:47:09 + git semver [Pipeline] } 15:47:09 $ docker stop --time=1 3794a9641ddc5bd65091e9e7eb5b8ff9322689fdb6c4e7434ff5af000d5b2c39 15:47:10 $ docker rm -f 3794a9641ddc5bd65091e9e7eb5b8ff9322689fdb6c4e7434ff5af000d5b2c39 [Pipeline] // withDockerContainer [Pipeline] sh 15:47:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:47:11 Stashed 1 file(s) [Pipeline] echo 15:47:11 [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:47:26 Still waiting to schedule task 15:47:26 ‘prd-centos7-blackbox-4c-2g-76’ doesn’t have label ‘centos7-docker-4c-2g’ 15:47:26 ‘prd-centos7-blackbox-4c-2g-77’ doesn’t have label ‘centos7-docker-4c-2g’ 15:47:26 ‘prd-centos7-docker-4c-2g-482’ is offline 15:47:26 Still waiting to schedule task 15:47:26 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-479’ 15:49:13 Running on prd-centos7-docker-4c-2g-483 in /w/workspace/ndry_app-functions-sdk-go_PR-921 [Pipeline] { [Pipeline] ws 15:49:13 Running in /w/workspace/app-functions-sdk-go/7 [Pipeline] { [Pipeline] checkout 15:49:13 The recommended git tool is: git 15:49:16 using credential edgex-jenkins-ssh 15:49:16 Cloning the remote Git repository 15:49:16 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 15:49:16 > git init /w/workspace/app-functions-sdk-go/7 # timeout=10 15:49:16 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 15:49:16 > git --version # timeout=10 15:49:16 > git --version # 'git version 2.24.4' 15:49:16 using GIT_SSH to set credentials SSH Credentials for GitHub 15:49:16 [INFO] Currently running in a labeled security context 15:49:16 [INFO] Currently SELinux is 'enforcing' on the host 15:49:16 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/7@tmp/jenkins-gitclient-ssh8761250867802741946.key 15:49:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:49:20 Merging remotes/origin/main commit fb43287b18a7d00e5a2a1a8f41cd1d41bcdf85bb into PR head commit 3d03b172bcd6eb4337644beb82d4d8e6dbb78fb2 15:49:20 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 15:49:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:49:20 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 15:49:20 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 15:49:20 using GIT_SSH to set credentials SSH Credentials for GitHub 15:49:20 [INFO] Currently running in a labeled security context 15:49:20 [INFO] Currently SELinux is 'enforcing' on the host 15:49:20 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/7@tmp/jenkins-gitclient-ssh6271973509965455471.key 15:49:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/921/head:refs/remotes/origin/PR-921 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:49:20 > git config core.sparsecheckout # timeout=10 15:49:20 > git checkout -f 3d03b172bcd6eb4337644beb82d4d8e6dbb78fb2 # timeout=10 15:49:20 > git remote # timeout=10 15:49:20 > git config --get remote.origin.url # timeout=10 15:49:20 using GIT_SSH to set credentials SSH Credentials for GitHub 15:49:20 [INFO] Currently running in a labeled security context 15:49:20 [INFO] Currently SELinux is 'enforcing' on the host 15:49:20 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/7@tmp/jenkins-gitclient-ssh7639857579099024405.key 15:49:20 > git merge fb43287b18a7d00e5a2a1a8f41cd1d41bcdf85bb # timeout=10 15:49:20 > git rev-parse HEAD^{commit} # timeout=10 15:49:20 Merge succeeded, producing 343a71c000055f15e7617910ea524ba1d31cfb27 15:49:20 Checking out Revision 343a71c000055f15e7617910ea524ba1d31cfb27 (PR-921) 15:49:20 > git config core.sparsecheckout # timeout=10 15:49:20 > git checkout -f 343a71c000055f15e7617910ea524ba1d31cfb27 # timeout=10 15:49:24 Commit message: "Merge commit 'fb43287b18a7d00e5a2a1a8f41cd1d41bcdf85bb' into HEAD" 15:49:24 > git rev-list --no-walk 3d03b172bcd6eb4337644beb82d4d8e6dbb78fb2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:49:25 ========================================================= 15:49:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 15:49:25 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:49: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 . 15:49:25 Sending build context to Docker daemon 19.76MB 15:49:25 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 15:49:25 Step 2/8 : FROM ${BASE} 15:49:25 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 15:49:25 540db60ca938: Pulling fs layer 15:49:25 adcc1eea9eea: Pulling fs layer 15:49:25 4c4ab2625f07: Pulling fs layer 15:49:25 0773c198feca: Pulling fs layer 15:49:25 345f892a5656: Pulling fs layer 15:49:25 4796506630df: Pulling fs layer 15:49:25 cc55df3e53f1: Pulling fs layer 15:49:25 4d027b6c602c: Pulling fs layer 15:49:25 449e75d2c14e: Pulling fs layer 15:49:25 0773c198feca: Waiting 15:49:25 345f892a5656: Waiting 15:49:25 4796506630df: Waiting 15:49:25 cc55df3e53f1: Waiting 15:49:25 4d027b6c602c: Waiting 15:49:25 449e75d2c14e: Waiting 15:49:26 4c4ab2625f07: Download complete 15:49:26 adcc1eea9eea: Verifying Checksum 15:49:26 adcc1eea9eea: Download complete 15:49:26 345f892a5656: Verifying Checksum 15:49:26 345f892a5656: Download complete 15:49:26 4796506630df: Verifying Checksum 15:49:26 4796506630df: Download complete 15:49:26 cc55df3e53f1: Verifying Checksum 15:49:26 cc55df3e53f1: Download complete 15:49:26 540db60ca938: Verifying Checksum 15:49:26 540db60ca938: Download complete 15:49:26 540db60ca938: Pull complete 15:49:26 adcc1eea9eea: Pull complete 15:49:26 4c4ab2625f07: Pull complete 15:49:27 4d027b6c602c: Verifying Checksum 15:49:27 4d027b6c602c: Download complete 15:49:30 449e75d2c14e: Verifying Checksum 15:49:30 449e75d2c14e: Download complete 15:49:33 0773c198feca: Verifying Checksum 15:49:33 0773c198feca: Download complete 15:49:37 0773c198feca: Pull complete 15:49:37 345f892a5656: Pull complete 15:49:37 4796506630df: Pull complete 15:49:37 cc55df3e53f1: Pull complete 15:49:37 4d027b6c602c: Pull complete 15:49:39 449e75d2c14e: Pull complete 15:49:39 Digest: sha256:a2fa0993ec4462abfc92311096d2e43e803cda49eb027de246ea451416b7a8a8 15:49:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 15:49:39 ---> 0d28375d9b5b 15:49:39 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 15:49:39 20.10.0: Pulling from library/docker 15:49:39 05e7bc50f07f: Pulling fs layer 15:49:39 6db28d0fdbf6: Pulling fs layer 15:49:39 292df0bc6bf3: Pulling fs layer 15:49:39 2e060f4bd70b: Pulling fs layer 15:49:39 80e8d568a223: Pulling fs layer 15:49:39 8dc6ef1a942a: Pulling fs layer 15:49:39 2312dd95470a: Pulling fs layer 15:49:39 80e8d568a223: Waiting 15:49:39 8dc6ef1a942a: Waiting 15:49:39 2312dd95470a: Waiting 15:49:39 2e060f4bd70b: Waiting 15:49:39 292df0bc6bf3: Verifying Checksum 15:49:39 292df0bc6bf3: Download complete 15:49:39 05e7bc50f07f: Verifying Checksum 15:49:39 05e7bc50f07f: Download complete 15:49:39 6db28d0fdbf6: Verifying Checksum 15:49:39 6db28d0fdbf6: Download complete 15:49:39 80e8d568a223: Verifying Checksum 15:49:39 80e8d568a223: Download complete 15:49:39 8dc6ef1a942a: Verifying Checksum 15:49:39 8dc6ef1a942a: Download complete 15:49:39 2312dd95470a: Verifying Checksum 15:49:39 2312dd95470a: Download complete 15:49:39 05e7bc50f07f: Pull complete 15:49:39 6db28d0fdbf6: Pull complete 15:49:39 292df0bc6bf3: Pull complete 15:49:42 2e060f4bd70b: Verifying Checksum 15:49:42 2e060f4bd70b: Download complete 15:49:43 2e060f4bd70b: Pull complete 15:49:43 80e8d568a223: Pull complete 15:49:43 8dc6ef1a942a: Pull complete 15:49:43 2312dd95470a: Pull complete 15:49:43 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 15:49:43 Status: Downloaded newer image for docker:20.10.0 15:49:45 ---> bf48821d9e3e 15:49:45 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:49:45 ---> Running in 25029ef1313b 15:49:46 Removing intermediate container 25029ef1313b 15:49:46 ---> 8921da34432a 15:49:46 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 15:49:46 ---> Running in 4129168c8de9 15:49:46 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 15:49:47 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 15:49:47 (1/5) Installing libsodium (1.0.18-r0) 15:49:47 (2/5) Installing libzmq (4.3.3-r1) 15:49:47 (3/5) Installing pkgconf (1.7.3-r0) 15:49:48 (4/5) Installing libsodium-dev (1.0.18-r0) 15:49:48 (5/5) Installing zeromq-dev (4.3.3-r1) 15:49:48 Executing busybox-1.32.1-r6.trigger 15:49:48 OK: 150 MiB in 45 packages 15:49:48 Removing intermediate container 4129168c8de9 15:49:48 ---> 18248bcb64df 15:49:48 Step 6/8 : WORKDIR /build 15:49:48 ---> Running in 26a1859f568e 15:49:48 Removing intermediate container 26a1859f568e 15:49:48 ---> 258f80f82346 15:49:48 Step 7/8 : COPY go.mod . 15:49:49 ---> 38f68eb4a03e 15:49:49 Step 8/8 : RUN go mod download 15:49:49 ---> Running in fb4a6ed6c6ac 15:50:01 Removing intermediate container fb4a6ed6c6ac 15:50:01 ---> 874bf4a17442 15:50:01 Successfully built 874bf4a17442 15:50:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:50:01 + docker inspect -f . ci-base-image-x86_64 15:50:01 . [Pipeline] withDockerContainer 15:50:01 prd-centos7-docker-4c-2g-483 does not seem to be running inside a container 15:50:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/7 -v /w/workspace/app-functions-sdk-go/7:/w/workspace/app-functions-sdk-go/7:rw,z -v /w/workspace/app-functions-sdk-go/7@tmp:/w/workspace/app-functions-sdk-go/7@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 ******** ci-base-image-x86_64 cat 15:50:02 $ docker top f9f271d4bc1d26fc6d82cc3fc8799c1bdb1d8857dcca9b1de7958a7d9c4c8f18 -eo pid,comm [Pipeline] { [Pipeline] sh 15:50:02 + go version 15:50:02 go version go1.16.5 linux/amd64 [Pipeline] } 15:50:02 $ docker stop --time=1 f9f271d4bc1d26fc6d82cc3fc8799c1bdb1d8857dcca9b1de7958a7d9c4c8f18 15:50:03 $ docker rm -f f9f271d4bc1d26fc6d82cc3fc8799c1bdb1d8857dcca9b1de7958a7d9c4c8f18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:50:04 + docker inspect -f . ci-base-image-x86_64 15:50:04 . [Pipeline] withDockerContainer 15:50:04 prd-centos7-docker-4c-2g-483 does not seem to be running inside a container 15:50:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/7 -v /w/workspace/app-functions-sdk-go/7:/w/workspace/app-functions-sdk-go/7:rw,z -v /w/workspace/app-functions-sdk-go/7@tmp:/w/workspace/app-functions-sdk-go/7@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 ******** ci-base-image-x86_64 cat 15:50:05 $ docker top 95b54a0f4836f444ff03478dd89fa0f957a78df041b8a91646b87ab2687ad2b3 -eo pid,comm [Pipeline] { [Pipeline] sh 15:50:05 + go mod tidy [Pipeline] sh 15:50:06 + make test 15:50:06 make -C ./app-service-template build 15:50:06 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/7/app-service-template' 15:50:06 go mod tidy 15:50: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 15:50:16 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/7/app-service-template' 15:50:16 make -C ./app-service-template test 15:50:16 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/7/app-service-template' 15:50:16 go mod tidy 15:50:16 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 15:50:24 ok new-app-service 0.011s coverage: 47.8% of statements 15:50:24 ? new-app-service/config [no test files] 15:50:24 ok new-app-service/functions 0.007s 15:50:24 CGO_ENABLED=1 go vet ./... 15:50:33 gofmt -l . 15:50:33 [ "`gofmt -l .`" = "" ] 15:50:33 ./bin/test-attribution-txt.sh 15:50:33 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/7/app-service-template' 15:50:33 go mod tidy 15:50:33 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:50:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 15:50:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.009s coverage: 63.6% of statements 15:50:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.010s coverage: 96.5% of statements 15:50:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 15:50:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.010s coverage: 61.8% of statements 15:50:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 15:50:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.012s 15:50:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.038s coverage: 74.5% of statements 15:50:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 15:50:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 15:50:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 15:50:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 15:50:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 15:50:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 15:50:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.017s coverage: 97.1% of statements 15:50:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 15:50:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.011s coverage: 10.5% of statements 15:50:39 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.739s coverage: 76.1% of statements 15:50:39 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 15:50:39 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.010s coverage: 12.5% of statements 15:50:39 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.007s coverage: 27.3% of statements 15:50:39 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 15:50:39 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 15:50:39 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.008s coverage: 51.4% of statements 15:50:40 Running on prd-ubuntu18.04-docker-arm64-4c-16g-484 in /w/workspace/ndry_app-functions-sdk-go_PR-921 [Pipeline] { [Pipeline] ws 15:50:40 Running in /w/workspace/app-functions-sdk-go/7 [Pipeline] { [Pipeline] checkout 15:50:40 The recommended git tool is: git 15:50:46 using credential edgex-jenkins-ssh 15:50:46 Cloning the remote Git repository 15:50:46 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 15:50:47 > git init /w/workspace/app-functions-sdk-go/7 # timeout=10 15:50:47 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 15:50:47 > git --version # timeout=10 15:50:47 > git --version # 'git version 2.17.1' 15:50:47 using GIT_SSH to set credentials SSH Credentials for GitHub 15:50:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:50:50 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 15:50:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:50:50 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 15:50:50 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 15:50:50 using GIT_SSH to set credentials SSH Credentials for GitHub 15:50:50 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/921/head:refs/remotes/origin/PR-921 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:50:51 Merging remotes/origin/main commit fb43287b18a7d00e5a2a1a8f41cd1d41bcdf85bb into PR head commit 3d03b172bcd6eb4337644beb82d4d8e6dbb78fb2 15:50:51 Merge succeeded, producing 999e7d7600967bb26830e816ffbf1f7cf1434bf9 15:50:51 Checking out Revision 999e7d7600967bb26830e816ffbf1f7cf1434bf9 (PR-921) 15:50:51 > git config core.sparsecheckout # timeout=10 15:50:51 > git checkout -f 3d03b172bcd6eb4337644beb82d4d8e6dbb78fb2 # timeout=10 15:50:51 > git remote # timeout=10 15:50:51 > git config --get remote.origin.url # timeout=10 15:50:51 using GIT_SSH to set credentials SSH Credentials for GitHub 15:50:51 > git merge fb43287b18a7d00e5a2a1a8f41cd1d41bcdf85bb # timeout=10 15:50:51 > git rev-parse HEAD^{commit} # timeout=10 15:50:51 > git config core.sparsecheckout # timeout=10 15:50:51 > git checkout -f 999e7d7600967bb26830e816ffbf1f7cf1434bf9 # timeout=10 15:50:55 Commit message: "Merge commit 'fb43287b18a7d00e5a2a1a8f41cd1d41bcdf85bb' into HEAD" 15:50:55 > git rev-list --no-walk 3d03b172bcd6eb4337644beb82d4d8e6dbb78fb2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:50:56 ========================================================= 15:50:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 15:50:56 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:50:57 + 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:50:58 Sending build context to Docker daemon 19.76MB 15:50:58 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 15:50:58 Step 2/8 : FROM ${BASE} 15:50:59 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:50:59 595b0fe564bb: Pulling fs layer 15:50:59 24495759ef45: Pulling fs layer 15:50:59 d148012ef14d: Pulling fs layer 15:50:59 cb65c68fc2e2: Pulling fs layer 15:50:59 093eec477d81: Pulling fs layer 15:50:59 a6d5b2bbb924: Pulling fs layer 15:50:59 2446dc1eb7d3: Pulling fs layer 15:50:59 596795e73e0f: Pulling fs layer 15:50:59 cb65c68fc2e2: Waiting 15:50:59 093eec477d81: Waiting 15:50:59 a6d5b2bbb924: Waiting 15:50:59 2446dc1eb7d3: Waiting 15:50:59 596795e73e0f: Waiting 15:50:59 d148012ef14d: Verifying Checksum 15:50:59 d148012ef14d: Download complete 15:50:59 24495759ef45: Verifying Checksum 15:50:59 24495759ef45: Download complete 15:50:59 093eec477d81: Download complete 15:50:59 595b0fe564bb: Verifying Checksum 15:50:59 a6d5b2bbb924: Verifying Checksum 15:50:59 a6d5b2bbb924: Download complete 15:50:59 2446dc1eb7d3: Verifying Checksum 15:50:59 2446dc1eb7d3: Download complete 15:51:00 595b0fe564bb: Pull complete 15:51:01 24495759ef45: Pull complete 15:51:01 d148012ef14d: Pull complete 15:51:02 596795e73e0f: Verifying Checksum 15:51:02 596795e73e0f: Download complete 15:51:03 cb65c68fc2e2: Verifying Checksum 15:51:03 cb65c68fc2e2: Download complete 15:51:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.044s coverage: 78.1% of statements 15:51:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.007s coverage: 94.4% of statements 15:51:06 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:51:06 gofmt -l . 15:51:06 [ "`gofmt -l .`" = "" ] [Pipeline] } 15:51:06 $ docker stop --time=1 95b54a0f4836f444ff03478dd89fa0f957a78df041b8a91646b87ab2687ad2b3 15:51:07 $ docker rm -f 95b54a0f4836f444ff03478dd89fa0f957a78df041b8a91646b87ab2687ad2b3 [Pipeline] // withDockerContainer [Pipeline] sh 15:51:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:51:08 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:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:51:09 15:51:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:51:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:51:09 latest: Pulling from edgex-lftools-log-publisher 15:51:09 b4d181a07f80: Pulling fs layer 15:51:09 a1111a8f2ec3: Pulling fs layer 15:51:09 ed53099fbce6: Pulling fs layer 15:51:09 dc539afda2c1: Pulling fs layer 15:51:09 77bc0d833cb6: Pulling fs layer 15:51:09 9065ff56babe: Pulling fs layer 15:51:09 d287ab97295c: Pulling fs layer 15:51:09 77bc0d833cb6: Waiting 15:51:09 9065ff56babe: Waiting 15:51:09 d287ab97295c: Waiting 15:51:09 dc539afda2c1: Waiting 15:51:09 a1111a8f2ec3: Verifying Checksum 15:51:09 a1111a8f2ec3: Download complete 15:51:10 dc539afda2c1: Verifying Checksum 15:51:10 dc539afda2c1: Download complete 15:51:10 77bc0d833cb6: Verifying Checksum 15:51:10 77bc0d833cb6: Download complete 15:51:10 9065ff56babe: Verifying Checksum 15:51:10 9065ff56babe: Download complete 15:51:10 ed53099fbce6: Verifying Checksum 15:51:10 ed53099fbce6: Download complete 15:51:11 b4d181a07f80: Verifying Checksum 15:51:11 b4d181a07f80: Download complete 15:51:12 b4d181a07f80: Pull complete 15:51:12 a1111a8f2ec3: Pull complete 15:51:13 ed53099fbce6: Pull complete 15:51:13 dc539afda2c1: Pull complete 15:51:13 77bc0d833cb6: Pull complete 15:51:13 9065ff56babe: Pull complete 15:51:15 cb65c68fc2e2: Pull complete 15:51:15 093eec477d81: Pull complete 15:51:15 a6d5b2bbb924: Pull complete 15:51:15 2446dc1eb7d3: Pull complete 15:51:17 d287ab97295c: Verifying Checksum 15:51:17 d287ab97295c: Download complete 15:51:18 596795e73e0f: Pull complete 15:51:18 Digest: sha256:8fdc37217a1dd7593ea05f088b02ef5bfb3cd8d6ab6705c4f2c080891875b7a0 15:51:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 15:51:18 ---> d9e956139c92 15:51:18 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 15:51:18 20.10.0: Pulling from library/docker 15:51:19 a3cc7d3b244e: Pulling fs layer 15:51:19 02a3295e0d61: Pulling fs layer 15:51:19 0f4f2e6d8100: Pulling fs layer 15:51:19 330b718f631f: Pulling fs layer 15:51:19 a93816041522: Pulling fs layer 15:51:19 bdb6da89ff94: Pulling fs layer 15:51:19 2a70c0c122f4: Pulling fs layer 15:51:19 bdb6da89ff94: Waiting 15:51:19 2a70c0c122f4: Waiting 15:51:19 330b718f631f: Waiting 15:51:19 0f4f2e6d8100: Verifying Checksum 15:51:19 0f4f2e6d8100: Download complete 15:51:19 02a3295e0d61: Verifying Checksum 15:51:19 02a3295e0d61: Download complete 15:51:19 a3cc7d3b244e: Verifying Checksum 15:51:19 a3cc7d3b244e: Download complete 15:51:19 bdb6da89ff94: Verifying Checksum 15:51:19 bdb6da89ff94: Download complete 15:51:19 a93816041522: Verifying Checksum 15:51:19 a93816041522: Download complete 15:51:19 2a70c0c122f4: Verifying Checksum 15:51:19 2a70c0c122f4: Download complete 15:51:20 a3cc7d3b244e: Pull complete 15:51:21 02a3295e0d61: Pull complete 15:51:21 330b718f631f: Verifying Checksum 15:51:21 330b718f631f: Download complete 15:51:21 d287ab97295c: Pull complete 15:51:21 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 15:51:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:51:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:51:21 prd-centos7-docker-4c-2g-483 does not seem to be running inside a container 15:51:21 0f4f2e6d8100: Pull complete 15:51:21 $ 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/7 -v /w/workspace/app-functions-sdk-go/7:/w/workspace/app-functions-sdk-go/7:rw,z -v /w/workspace/app-functions-sdk-go/7@tmp:/w/workspace/app-functions-sdk-go/7@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:51:23 $ docker top 52a6ba67b53b8a4917b0664f3dbb3fb8eee17154d03c1d5540aab598cf084fab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:51:24 ---> job-cost.sh 15:51:24 lf-activate-venv: SKIPPING 15:51:24 INFO: No Stack... 15:51:25 INFO: Retrieving Pricing Info for: v3-standard-2 15:51:25 INFO: Archiving Costs [Pipeline] sh 15:51:25 + cat /w/workspace/app-functions-sdk-go/7/archives/cost.csv 15:51:25 + cut -d, -f6 [Pipeline] lock 15:51:25 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-7-stack-cost] 15:51:25 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-7-stack-cost] did not exist. Created. 15:51:25 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:51:25 330b718f631f: Pull complete 15:51:25 a93816041522: Pull complete 15:51:26 bdb6da89ff94: Pull complete 15:51:26 + echo total: 0.05999999865889549 [Pipeline] stash 15:51:26 Stashed 1 file(s) [Pipeline] } 15:51:26 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-7-stack-cost] [Pipeline] // lock [Pipeline] } 15:51:26 $ docker stop --time=1 52a6ba67b53b8a4917b0664f3dbb3fb8eee17154d03c1d5540aab598cf084fab 15:51:26 2a70c0c122f4: Pull complete 15:51:26 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 15:51:26 Status: Downloaded newer image for docker:20.10.0 15:51:27 $ docker rm -f 52a6ba67b53b8a4917b0664f3dbb3fb8eee17154d03c1d5540aab598cf084fab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:51:37 ---> 2fe5c9d0bf32 15:51:37 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:51:37 ---> Running in a2b9d0368e29 15:51:37 Removing intermediate container a2b9d0368e29 15:51:37 ---> 3b90a518f9a8 15:51:37 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 15:51:37 ---> Running in 1ba194ca640f 15:51:38 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 15:51:38 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 15:51:39 (1/5) Installing libsodium (1.0.18-r0) 15:51:39 (2/5) Installing libzmq (4.3.3-r1) 15:51:39 (3/5) Installing pkgconf (1.7.3-r0) 15:51:39 (4/5) Installing libsodium-dev (1.0.18-r0) 15:51:40 (5/5) Installing zeromq-dev (4.3.3-r1) 15:51:40 Executing busybox-1.32.1-r6.trigger 15:51:40 OK: 139 MiB in 45 packages 15:51:41 Removing intermediate container 1ba194ca640f 15:51:41 ---> 1ffa4d95d182 15:51:41 Step 6/8 : WORKDIR /build 15:51:41 ---> Running in 96e6aa46e160 15:51:42 Removing intermediate container 96e6aa46e160 15:51:42 ---> ee0fc4f381a6 15:51:42 Step 7/8 : COPY go.mod . 15:51:43 ---> 6c863e677dfc 15:51:43 Step 8/8 : RUN go mod download 15:51:43 ---> Running in 22acd500021c 15:52:15 Removing intermediate container 22acd500021c 15:52:15 ---> 38d5c5c1376d 15:52:15 Successfully built 38d5c5c1376d 15:52:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:52:16 + docker inspect -f . ci-base-image-arm64 15:52:16 . [Pipeline] withDockerContainer 15:52:16 prd-ubuntu18.04-docker-arm64-4c-16g-484 does not seem to be running inside a container 15:52:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/7 -v /w/workspace/app-functions-sdk-go/7:/w/workspace/app-functions-sdk-go/7:rw,z -v /w/workspace/app-functions-sdk-go/7@tmp:/w/workspace/app-functions-sdk-go/7@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:52:18 $ docker top f2ed2fc73f48baa4508174f0ad145432977e829d6f9d512155f477a4d8f526bc -eo pid,comm [Pipeline] { [Pipeline] sh 15:52:19 + go version 15:52:19 go version go1.16.5 linux/arm64 [Pipeline] } 15:52:19 $ docker stop --time=1 f2ed2fc73f48baa4508174f0ad145432977e829d6f9d512155f477a4d8f526bc 15:52:21 $ docker rm -f f2ed2fc73f48baa4508174f0ad145432977e829d6f9d512155f477a4d8f526bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:52:22 + docker inspect -f . ci-base-image-arm64 15:52:22 . [Pipeline] withDockerContainer 15:52:22 prd-ubuntu18.04-docker-arm64-4c-16g-484 does not seem to be running inside a container 15:52:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/7 -v /w/workspace/app-functions-sdk-go/7:/w/workspace/app-functions-sdk-go/7:rw,z -v /w/workspace/app-functions-sdk-go/7@tmp:/w/workspace/app-functions-sdk-go/7@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:52:24 $ docker top fe056d6587a272e13e3441ae96945105b022152e20847bd2b43c5abeb515637f -eo pid,comm [Pipeline] { [Pipeline] sh 15:52:25 + go mod tidy [Pipeline] sh 15:52:26 + make test 15:52:26 make -C ./app-service-template build 15:52:26 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/7/app-service-template' 15:52:26 go mod tidy 15:52:27 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:53:06 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/7/app-service-template' 15:53:06 make -C ./app-service-template test 15:53:06 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/7/app-service-template' 15:53:06 go mod tidy 15:53:06 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 15:53:33 ok new-app-service 0.045s coverage: 47.8% of statements 15:53:33 ? new-app-service/config [no test files] 15:53:33 ok new-app-service/functions 0.047s 15:53:33 CGO_ENABLED=1 go vet ./... 15:53:59 gofmt -l . 15:53:59 [ "`gofmt -l .`" = "" ] 15:53:59 ./bin/test-attribution-txt.sh 15:53:59 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/7/app-service-template' 15:53:59 go mod tidy 15:54:00 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:54:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 15:54:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.102s coverage: 63.6% of statements 15:54:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.050s coverage: 96.5% of statements 15:54:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 15:54:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.163s coverage: 61.8% of statements 15:54:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 15:54:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.064s 15:54:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.124s coverage: 74.5% of statements 15:54:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 15:54:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 15:54:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 15:54:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 15:54:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 15:54:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 15:54:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.016s coverage: 97.1% of statements 15:54:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 15:54:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.077s coverage: 10.5% of statements 15:54:17 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.836s coverage: 76.1% of statements 15:54:17 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 15:54:17 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.055s coverage: 12.5% of statements 15:54:17 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.040s coverage: 27.3% of statements 15:54:17 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 15:54:17 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 15:54:17 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.045s coverage: 51.4% of statements 15:54:44 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.129s coverage: 78.1% of statements 15:54:44 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.034s coverage: 94.4% of statements 15:54:44 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:54:48 gofmt -l . 15:54:48 [ "`gofmt -l .`" = "" ] [Pipeline] } 15:54:49 $ docker stop --time=1 fe056d6587a272e13e3441ae96945105b022152e20847bd2b43c5abeb515637f 15:54:51 $ docker rm -f fe056d6587a272e13e3441ae96945105b022152e20847bd2b43c5abeb515637f [Pipeline] // withDockerContainer [Pipeline] sh 15:54:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:54:52 Warning: overwriting stash ‘coverage-report’ 15:54:52 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:54:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:54:53 15:54:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:54:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:54:54 arm64: Pulling from edgex-lftools-log-publisher 15:54:54 448f6bf000e3: Pulling fs layer 15:54:54 f757da607395: Pulling fs layer 15:54:54 05883995daec: Pulling fs layer 15:54:54 8603b9c90790: Pulling fs layer 15:54:54 1560dd03e051: Pulling fs layer 15:54:54 27f5ce0e4adf: Pulling fs layer 15:54:54 c2d8d7efcc4b: Pulling fs layer 15:54:54 1560dd03e051: Waiting 15:54:54 27f5ce0e4adf: Waiting 15:54:54 8603b9c90790: Waiting 15:54:54 c2d8d7efcc4b: Waiting 15:54:54 f757da607395: Verifying Checksum 15:54:54 f757da607395: Download complete 15:54:54 8603b9c90790: Download complete 15:54:55 05883995daec: Verifying Checksum 15:54:55 05883995daec: Download complete 15:54:55 1560dd03e051: Download complete 15:54:55 27f5ce0e4adf: Verifying Checksum 15:54:55 27f5ce0e4adf: Download complete 15:54:56 448f6bf000e3: Verifying Checksum 15:54:56 448f6bf000e3: Download complete 15:54:58 c2d8d7efcc4b: Verifying Checksum 15:54:58 c2d8d7efcc4b: Download complete 15:54:59 448f6bf000e3: Pull complete 15:55:00 f757da607395: Pull complete 15:55:01 05883995daec: Pull complete 15:55:01 8603b9c90790: Pull complete 15:55:02 1560dd03e051: Pull complete 15:55:03 27f5ce0e4adf: Pull complete 15:55:18 c2d8d7efcc4b: Pull complete 15:55:18 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 15:55:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:55:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:55:18 prd-ubuntu18.04-docker-arm64-4c-16g-484 does not seem to be running inside a container 15:55:19 $ 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/7 -v /w/workspace/app-functions-sdk-go/7:/w/workspace/app-functions-sdk-go/7:rw,z -v /w/workspace/app-functions-sdk-go/7@tmp:/w/workspace/app-functions-sdk-go/7@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:55:24 $ docker top 4d13b3d8ab916ee3a365026d9ee92711f31339c64489efd7533152c9eb68343e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:55:24 ---> job-cost.sh 15:55:24 lf-activate-venv: SKIPPING 15:55:24 INFO: No Stack... 15:55:26 INFO: Retrieving Pricing Info for: v2-standard-4 15:55:27 INFO: Archiving Costs [Pipeline] sh 15:55:27 + cat /w/workspace/app-functions-sdk-go/7/archives/cost.csv 15:55:27 + cut -d, -f6 [Pipeline] lock 15:55:27 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-7-stack-cost] 15:55:27 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-7-stack-cost] did not exist. Created. 15:55:27 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:55:28 /w/workspace/app-functions-sdk-go/7@tmp/durable-790b9d25/script.sh: 1: /w/workspace/app-functions-sdk-go/7@tmp/durable-790b9d25/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 15:55:29 + echo total: 0.18000000715255737 [Pipeline] stash 15:55:29 Warning: overwriting stash ‘stack-cost’ 15:55:29 Stashed 1 file(s) [Pipeline] } 15:55:29 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-7-stack-cost] [Pipeline] // lock [Pipeline] } 15:55:29 $ docker stop --time=1 4d13b3d8ab916ee3a365026d9ee92711f31339c64489efd7533152c9eb68343e 15:55:31 $ docker rm -f 4d13b3d8ab916ee3a365026d9ee92711f31339c64489efd7533152c9eb68343e [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:55:31 provisioning config files... 15:55:32 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-921@tmp/config185521719984526968tmp [Pipeline] { [Pipeline] sh 15:55:32 + set +x 15:55:32 + curl -s https://codecov.io/bash 15:55:32 + bash -s -- 15:55:32 15:55:32 _____ _ 15:55:32 / ____| | | 15:55:32 | | ___ __| | ___ ___ _____ __ 15:55:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:55:32 | |___| (_) | (_| | __/ (_| (_) \ V / 15:55:32 \_____\___/ \__,_|\___|\___\___/ \_/ 15:55:32 Bash-1.0.6 15:55:32 15:55:32 15:55:32 ==> git version 2.24.4 found 15:55:32 ==> 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:55:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 15:55:32 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 15:55:32 ==> Jenkins CI detected. 15:55:32 current dir:  /w/workspace/ndry_app-functions-sdk-go_PR-921 15:55:32 project root: . 15:55:32 --> token set from env 15:55:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:55:32 ==> Running gcov in . (disable via -X gcov) 15:55:32 ==> Python coveragepy not found 15:55:32 ==> Searching for coverage reports in: 15:55:32 + . 15:55:32 -> Found 2 reports 15:55:32 ==> Detecting git/mercurial file structure 15:55:32 ==> Reading reports 15:55:32 + ./app-service-template/coverage.out bytes=1055 15:55:32 + ./coverage.out bytes=95183 15:55:32 ==> Appending adjustments 15:55:32 https://docs.codecov.io/docs/fixing-reports 15:55:32 + Found adjustments 15:55:32 ==> Gzipping contents 15:55:32 20K /tmp/codecov.Hma2hu.gz 15:55:32 ==> Uploading reports 15:55:32 url: https://codecov.io 15:55:32 query: branch=PR-921&commit=da7b7fca4c3f4b9bb4c20402e48a102681552a94&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-921%2F7%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=921&job=&cmd_args= 15:55:32 -> Pinging Codecov 15:55:32 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-921&commit=da7b7fca4c3f4b9bb4c20402e48a102681552a94&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-921%2F7%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=921&job=&cmd_args= 15:55:33 -> Uploading to 15:55:33 https://storage.googleapis.com/codecov/v4/raw/2021-07-29/3D8B5DFFC46A037C893635FACE044666/da7b7fca4c3f4b9bb4c20402e48a102681552a94/93a1a89c-8825-4a02-9564-59c8364e9174.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210729%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210729T155533Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=48ed23b6bb4ceaa784a0b0089b3f7ecd135efd4b8065eaef73fe8522e7ae5f44 15:55:33 % Total % Received % Xferd Average Speed Time Time Time Current 15:55:33 Dload Upload Total Spent Left Speed 15:55:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16460 0 0 100 16460 0 24494 --:--:-- --:--:-- --:--:-- 24494 15:55:33 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/da7b7fca4c3f4b9bb4c20402e48a102681552a94 [Pipeline] } 15:55:33 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:55:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:55:36 ---> package-listing.sh 15:55:36 ++ facter osfamily 15:55:36 ++ tr '[:upper:]' '[:lower:]' 15:55:36 + OS_FAMILY=redhat 15:55:36 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-921 15:55:36 + START_PACKAGES=/tmp/packages_start.txt 15:55:36 + END_PACKAGES=/tmp/packages_end.txt 15:55:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:55:36 + PACKAGES=/tmp/packages_start.txt 15:55:36 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-921 ']' 15:55:36 + PACKAGES=/tmp/packages_end.txt 15:55:36 + case "${OS_FAMILY}" in 15:55:36 + sort 15:55:36 + rpm -qa 15:55:37 + '[' -f /tmp/packages_start.txt ']' 15:55:37 + '[' -f /tmp/packages_end.txt ']' 15:55:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:55:37 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-921 ']' 15:55:37 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-921/archives/ 15:55:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-921/archives/ [Pipeline] echo 15:55:37 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-921/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:55:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:55:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:55:38 15:55:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:55:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:55:38 latest: Pulling from edgex-lftools-log-publisher 15:55:38 b4d181a07f80: Pulling fs layer 15:55:38 a1111a8f2ec3: Pulling fs layer 15:55:38 ed53099fbce6: Pulling fs layer 15:55:38 dc539afda2c1: Pulling fs layer 15:55:38 77bc0d833cb6: Pulling fs layer 15:55:38 9065ff56babe: Pulling fs layer 15:55:38 d287ab97295c: Pulling fs layer 15:55:38 dc539afda2c1: Waiting 15:55:38 77bc0d833cb6: Waiting 15:55:38 9065ff56babe: Waiting 15:55:38 d287ab97295c: Waiting 15:55:38 a1111a8f2ec3: Verifying Checksum 15:55:38 a1111a8f2ec3: Download complete 15:55:38 dc539afda2c1: Verifying Checksum 15:55:38 dc539afda2c1: Download complete 15:55:39 77bc0d833cb6: Verifying Checksum 15:55:39 77bc0d833cb6: Download complete 15:55:39 9065ff56babe: Verifying Checksum 15:55:39 9065ff56babe: Download complete 15:55:39 ed53099fbce6: Verifying Checksum 15:55:39 ed53099fbce6: Download complete 15:55:40 b4d181a07f80: Verifying Checksum 15:55:40 b4d181a07f80: Download complete 15:55:41 b4d181a07f80: Pull complete 15:55:41 a1111a8f2ec3: Pull complete 15:55:42 ed53099fbce6: Pull complete 15:55:42 dc539afda2c1: Pull complete 15:55:42 77bc0d833cb6: Pull complete 15:55:42 9065ff56babe: Pull complete 15:55:45 d287ab97295c: Verifying Checksum 15:55:45 d287ab97295c: Download complete 15:55:49 d287ab97295c: Pull complete 15:55:49 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 15:55:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:55:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:55:49 prd-centos7-docker-4c-2g-481 does not seem to be running inside a container 15:55:49 $ 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-921/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-921 -v /w/workspace/ndry_app-functions-sdk-go_PR-921:/w/workspace/ndry_app-functions-sdk-go_PR-921:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-921@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-921@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:55:52 $ docker top 9503af3d035742697933704fea89e3b1ba47abd8ea3db3d308b3fcbac9d4dc92 -eo pid,comm [Pipeline] { [Pipeline] sh 15:55:53 + touch /tmp/pre-build-complete [Pipeline] sh 15:55:53 + mkdir -p /var/log/sysstat [Pipeline] sh 15:55:53 + ls /var/log/sa-host 15:55:53 + sadf -c /var/log/sa-host/sa05 15:55:53 file_magic: OK 15:55:53 HZ: Using current value: 100 15:55:53 file_header: OK 15:55:53 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:55:53 Statistics: 15:55:53 Hnuu...uuuununununu...Hnuu...uuuununununu... 15:55:53 File successfully converted to sysstat format version 12.0.3 15:55:53 + sadf -c /var/log/sa-host/sa29 15:55:53 file_magic: OK 15:55:53 HZ: Using current value: 100 15:55:53 file_header: OK 15:55:53 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:55:53 Statistics: 15:55:53 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 15:55:53 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:55:54 provisioning config files... 15:55:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-921@tmp/config2246926832507817483tmp [Pipeline] { [Pipeline] echo 15:55:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:55:54 ---> create-netrc.sh [Pipeline] } 15:55:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:55:55 ---> python-tools-install.sh [Pipeline] echo 15:55:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:55:55 ---> sudo-logs.sh 15:55:55 Archiving 'sudo' log.. 15:56:01 sudo: unable to resolve host prd-centos7-docker-4c-2g-481.vexxhost.local: Name or service not known 15:56:01 sudo: unable to resolve host prd-centos7-docker-4c-2g-481.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 15:56:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:56:01 ---> job-cost.sh 15:56:01 lf-activate-venv: SKIPPING 15:56:01 DEBUG: total: 0.18000000715255737 15:56:01 INFO: Retrieving Stack Cost... 15:56:02 INFO: Retrieving Pricing Info for: v3-standard-2 15:56:02 INFO: Archiving Costs [Pipeline] echo 15:56:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:56:03 ---> logs-deploy.sh 15:56:03 lf-activate-venv: SKIPPING 15:56:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-921/7 15:56:03 INFO: archiving workspace using pattern(s): 15:56:04 Archives upload complete. 15:56:04 INFO: archiving logs to Nexus 15:56:04 ---> uname -a: 15:56:04 Linux prd-centos7-docker-4c-2g-481.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:56:04 15:56:04 15:56:04 ---> lscpu: 15:56:04 Architecture: x86_64 15:56:04 CPU op-mode(s): 32-bit, 64-bit 15:56:04 Byte Order: Little Endian 15:56:04 Address sizes: 40 bits physical, 48 bits virtual 15:56:04 CPU(s): 2 15:56:04 On-line CPU(s) list: 0,1 15:56:04 Thread(s) per core: 1 15:56:04 Core(s) per socket: 1 15:56:04 Socket(s): 2 15:56:04 NUMA node(s): 1 15:56:04 Vendor ID: AuthenticAMD 15:56:04 CPU family: 23 15:56:04 Model: 49 15:56:04 Model name: AMD EPYC-Rome Processor 15:56:04 Stepping: 0 15:56:04 CPU MHz: 2799.998 15:56:04 BogoMIPS: 5599.99 15:56:04 Virtualization: AMD-V 15:56:04 Hypervisor vendor: KVM 15:56:04 Virtualization type: full 15:56:04 L1d cache: 32K 15:56:04 L1i cache: 32K 15:56:04 L2 cache: 512K 15:56:04 L3 cache: 16384K 15:56:04 NUMA node0 CPU(s): 0,1 15:56:04 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:56:04 15:56:04 15:56:04 ---> nproc: 15:56:04 2 15:56:04 15:56:04 15:56:04 ---> df -h: 15:56:04 Filesystem Size Used Avail Use% Mounted on 15:56:04 overlay 40G 7.7G 33G 20% / 15:56:04 tmpfs 64M 0 64M 0% /dev 15:56:04 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 15:56:04 shm 64M 0 64M 0% /dev/shm 15:56:04 /dev/vda1 40G 7.7G 33G 20% /facter-os 15:56:04 15:56:04 15:56:04 ---> sar -b -r -n DEV: 15:56:04 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:56:04 15:56:04 15:46:04 LINUX RESTART (2 CPU) 15:56:04 15:56:04 15:47:01 tps rtps wtps bread/s bwrtn/s 15:56:04 15:48:01 17.99 0.65 17.34 352.70 4035.04 15:56:04 15:49:01 1.82 0.00 1.82 0.00 35.59 15:56:04 15:50:01 0.33 0.00 0.33 0.00 5.03 15:56:04 15:51:01 0.27 0.00 0.27 0.00 4.41 15:56:04 15:52:01 0.28 0.00 0.28 0.00 3.73 15:56:04 15:53:01 0.38 0.00 0.38 0.00 6.63 15:56:04 15:54:01 0.25 0.00 0.25 0.00 4.41 15:56:04 15:55:01 0.30 0.00 0.30 0.00 5.56 15:56:04 Average: 2.70 0.08 2.62 44.09 512.59 15:56:04 15:56:04 15:47:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 15:56:04 15:48:01 5471540 0 766136 9.57 2620 1768636 1163060 12.84 553136 1581476 24 15:56:04 15:49:01 5487940 0 749728 9.36 2620 1768644 1023416 11.30 544568 1576476 8 15:56:04 15:50:01 5484304 0 753364 9.41 2620 1768644 1023560 11.30 544296 1580352 8 15:56:04 15:51:01 5484356 0 753304 9.41 2620 1768652 1023656 11.30 544156 1581000 8 15:56:04 15:52:01 5479404 0 758252 9.47 2620 1768656 1023620 11.30 545700 1584056 8 15:56:04 15:53:01 5476444 0 761208 9.50 2620 1768660 1023416 11.30 548640 1584080 8 15:56:04 15:54:01 5474148 0 763496 9.53 2620 1768668 1023548 11.30 551800 1584080 16 15:56:04 15:55:01 5473304 0 764336 9.54 2620 1768672 1023572 11.30 553768 1582272 8 15:56:04 Average: 5478930 0 758728 9.47 2620 1768654 1040981 11.49 548258 1581724 11 15:56:04 15:56:04 15:47:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 15:56:04 15:48:01 eth0 151.12 113.41 642.75 34.03 0.00 0.00 0.00 0.00 15:56:04 15:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:56:04 15:48:01 docker0 60.53 70.17 7.15 313.87 0.00 0.00 0.00 0.00 15:56:04 15:49:01 eth0 0.67 0.08 0.06 0.01 0.00 0.00 0.00 0.00 15:56:04 15:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:56:04 15:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:56:04 15:50:01 eth0 1.73 0.38 0.43 0.20 0.00 0.00 0.00 0.00 15:56:04 15:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:56:04 15:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:56:04 15:51:01 eth0 1.72 0.58 0.60 0.40 0.00 0.00 0.00 0.00 15:56:04 15:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:56:04 15:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:56:04 15:52:01 eth0 0.75 0.40 0.41 0.23 0.00 0.00 0.00 0.00 15:56:04 15:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:56:04 15:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:56:04 15:53:01 eth0 0.52 0.10 0.05 0.04 0.00 0.00 0.00 0.00 15:56:04 15:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:56:04 15:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:56:04 15:54:01 eth0 1.05 0.32 0.32 0.20 0.00 0.00 0.00 0.00 15:56:04 15:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:56:04 15:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:56:04 15:55:01 eth0 0.60 0.38 0.28 0.21 0.00 0.00 0.00 0.00 15:56:04 15:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:56:04 15:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:56:04 Average: eth0 19.77 14.46 80.62 4.41 0.00 0.00 0.00 0.00 15:56:04 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:56:04 Average: docker0 7.57 8.77 0.89 39.24 0.00 0.00 0.00 0.00 15:56:04 15:56:04 15:56:04 ---> sar -P ALL: 15:56:04 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:56:04 15:56:04 15:46:04 LINUX RESTART (2 CPU) 15:56:04 15:56:04 15:47:01 CPU %user %nice %system %iowait %steal %idle 15:56:04 15:48:01 all 3.90 0.00 1.43 0.34 0.03 94.31 15:56:04 15:48:01 0 3.10 0.00 1.53 0.12 0.02 95.23 15:56:04 15:48:01 1 4.70 0.00 1.33 0.56 0.03 93.38 15:56:04 15:49:01 all 0.25 0.00 0.06 0.00 0.02 99.67 15:56:04 15:49:01 0 0.23 0.00 0.05 0.00 0.02 99.70 15:56:04 15:49:01 1 0.27 0.00 0.07 0.00 0.02 99.65 15:56:04 15:50:01 all 0.23 0.00 0.06 0.00 0.02 99.70 15:56:04 15:50:01 0 0.40 0.00 0.07 0.00 0.02 99.52 15:56:04 15:50:01 1 0.05 0.00 0.05 0.00 0.02 99.88 15:56:04 15:51:01 all 0.25 0.00 0.03 0.00 0.02 99.71 15:56:04 15:51:01 0 0.38 0.00 0.02 0.00 0.02 99.58 15:56:04 15:51:01 1 0.12 0.00 0.03 0.00 0.02 99.83 15:56:04 15:52:01 all 0.15 0.00 0.08 0.00 0.02 99.75 15:56:04 15:52:01 0 0.25 0.00 0.12 0.00 0.02 99.62 15:56:04 15:52:01 1 0.05 0.00 0.05 0.00 0.02 99.88 15:56:04 15:53:01 all 0.13 0.00 0.05 0.00 0.03 99.79 15:56:04 15:53:01 0 0.18 0.00 0.05 0.00 0.03 99.73 15:56:04 15:53:01 1 0.08 0.00 0.05 0.00 0.02 99.85 15:56:04 15:54:01 all 0.16 0.00 0.05 0.00 0.02 99.77 15:56:04 15:54:01 0 0.07 0.00 0.07 0.00 0.02 99.85 15:56:04 15:54:01 1 0.25 0.00 0.03 0.00 0.02 99.70 15:56:04 15:55:01 all 0.11 0.00 0.06 0.00 0.01 99.82 15:56:04 15:55:01 0 0.05 0.00 0.05 0.00 0.00 99.90 15:56:04 15:55:01 1 0.17 0.00 0.07 0.00 0.02 99.75 15:56:04 Average: all 0.64 0.00 0.23 0.04 0.02 99.07 15:56:04 Average: 0 0.58 0.00 0.24 0.01 0.02 99.15 15:56:04 Average: 1 0.71 0.00 0.21 0.07 0.02 99.00 15:56:04 15:56:04 15:56:04