Pull request #933 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 63ccb940e137e1fcb5be2804a63ac775764a07ea+042dfbc200e9a033131772982770329148424ff7 (34a1313fb7ca5992d046847e432a86b85dd13cda) 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-ssh513160004365994770.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-ssh401278530765113813.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-933/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-933/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2414324172373135642.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > 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-ssh7680251660502164510.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-933/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-933/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7463173651320117644.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_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-623 in /w/workspace/ndry_app-functions-sdk-go_PR-933 [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-933 # 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-933@tmp/jenkins-gitclient-ssh8402361154795441707.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-933@tmp/jenkins-gitclient-ssh7668645652806600616.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/933/head:refs/remotes/origin/PR-933 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 042dfbc200e9a033131772982770329148424ff7 into PR head commit 63ccb940e137e1fcb5be2804a63ac775764a07ea Merge succeeded, producing 63ccb940e137e1fcb5be2804a63ac775764a07ea Checking out Revision 63ccb940e137e1fcb5be2804a63ac775764a07ea (PR-933) > git config core.sparsecheckout # timeout=10 > git checkout -f 63ccb940e137e1fcb5be2804a63ac775764a07ea # 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-933@tmp/jenkins-gitclient-ssh5228408148237136342.key > git merge 042dfbc200e9a033131772982770329148424ff7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 63ccb940e137e1fcb5be2804a63ac775764a07ea # timeout=10 Commit message: "refactor: Clean up TOML quotes and add LF MD files" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:57:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:57:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:57:59 ========================================================= 23:57:59 EdgeX Global Pipelines Version Info 23:57:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 90a9e7a48d745e248e73141aa0a205d157817975 # timeout=10 23:58:00 ------------------- 23:58:00 stable info: 23:58:00 ------------------- 23:58:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:58:00 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 23:58:00 Message: update stable to v1.0.205 23:58:01 ------------------- 23:58:01 experimental info: 23:58:01 ------------------- 23:58:01 Commited By: **** collab-it+edgex@linuxfoundation.org 23:58:01 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 23:58:01 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:58:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 23:58:01 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 23:58:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:58:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:58:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:58:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-933 [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-933 [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-933 [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 63ccb940e137e1fcb5be2804a63ac775764a07ea [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 63ccb94 [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:58:03 + git log --format=format:%s -1 63ccb940e137e1fcb5be2804a63ac775764a07ea [Pipeline] echo 23:58:03 GIT_COMMIT: 63ccb940e137e1fcb5be2804a63ac775764a07ea, Commit Message: refactor: Clean up TOML quotes and add LF MD files [Pipeline] echo 23:58:03 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:58:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:58:03 23:58:03 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:58:04 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:58:04 latest: Pulling from edgex-devops/git-semver 23:58:04 31603596830f: Pulling fs layer 23:58:04 d4622e32a9a9: Pulling fs layer 23:58:04 1030fce36090: Pulling fs layer 23:58:04 6c6cb7e1b49b: Pulling fs layer 23:58:04 6c6cb7e1b49b: Waiting 23:58:04 d4622e32a9a9: Verifying Checksum 23:58:04 d4622e32a9a9: Download complete 23:58:04 31603596830f: Verifying Checksum 23:58:04 31603596830f: Download complete 23:58:04 31603596830f: Pull complete 23:58:04 6c6cb7e1b49b: Verifying Checksum 23:58:04 6c6cb7e1b49b: Download complete 23:58:04 d4622e32a9a9: Pull complete 23:58:04 1030fce36090: Verifying Checksum 23:58:04 1030fce36090: Download complete 23:58:05 1030fce36090: Pull complete 23:58:05 6c6cb7e1b49b: Pull complete 23:58:05 Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab 23:58:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:58:05 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:58:05 prd-centos7-docker-4c-2g-623 does not seem to be running inside a container 23:58:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-933 -v /w/workspace/ndry_app-functions-sdk-go_PR-933:/w/workspace/ndry_app-functions-sdk-go_PR-933:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-933@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-933@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:10004/edgex-devops/git-semver:latest cat 23:58:06 $ docker top c8e1dc73135004b47ed0abead70b0e48afae0d76c871292d1b5bc8d32101872c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:58:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:58:06 [ssh-agent] Looking for ssh-agent implementation... 23:58:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:58:06 $ docker exec c8e1dc73135004b47ed0abead70b0e48afae0d76c871292d1b5bc8d32101872c ssh-agent 23:58:06 SSH_AUTH_SOCK=/tmp/ssh-7UzrnVoPI2Wt/agent.14 23:58:06 SSH_AGENT_PID=21 23:58:06 Running ssh-add (command line suppressed) 23:58:06 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-933@tmp/private_key_7280063486573346426.key (/w/workspace/ndry_app-functions-sdk-go_PR-933@tmp/private_key_7280063486573346426.key) 23:58:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:58:07 + git tag --points-at HEAD [Pipeline] } 23:58:07 $ docker exec --env ******** --env ******** c8e1dc73135004b47ed0abead70b0e48afae0d76c871292d1b5bc8d32101872c ssh-agent -k 23:58:07 unset SSH_AUTH_SOCK; 23:58:07 unset SSH_AGENT_PID; 23:58:07 echo Agent pid 21 killed; 23:58:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:58:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:58:07 [ssh-agent] Looking for ssh-agent implementation... 23:58:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:58:07 $ docker exec c8e1dc73135004b47ed0abead70b0e48afae0d76c871292d1b5bc8d32101872c ssh-agent 23:58:07 SSH_AUTH_SOCK=/tmp/ssh-ow7q2sLP9LXZ/agent.57 23:58:07 SSH_AGENT_PID=63 23:58:07 Running ssh-add (command line suppressed) 23:58:07 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-933@tmp/private_key_3793364905083368212.key (/w/workspace/ndry_app-functions-sdk-go_PR-933@tmp/private_key_3793364905083368212.key) 23:58:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:58:07 + git semver init 23:58:07 # -> Open(): unable to determine branch for HEAD 23:58:07 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-933/.git 23:58:07 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-933 23:58:07 # $SEMVER_REMOTE_NAME = origin 23:58:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:58:07 # $SEMVER_USER_NAME = edgex-jenkins 23:58:07 # $SEMVER_BRANCH = PR-933 23:58:07 # $SEMVER_TEMP = /tmp/semver-059339552 23:58:07 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 23:58:09 # '/tmp/semver-059339552' -> '/w/workspace/ndry_app-functions-sdk-go_PR-933/.semver' 23:58:09 # -> Force: false 23:58:09 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-933/.semver [Pipeline] } 23:58:09 $ docker exec --env ******** --env ******** c8e1dc73135004b47ed0abead70b0e48afae0d76c871292d1b5bc8d32101872c ssh-agent -k 23:58:09 unset SSH_AUTH_SOCK; 23:58:09 unset SSH_AGENT_PID; 23:58:09 echo Agent pid 63 killed; 23:58:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:58:10 + git semver [Pipeline] } 23:58:10 $ docker stop --time=1 c8e1dc73135004b47ed0abead70b0e48afae0d76c871292d1b5bc8d32101872c 23:58:11 $ docker rm -f c8e1dc73135004b47ed0abead70b0e48afae0d76c871292d1b5bc8d32101872c [Pipeline] // withDockerContainer [Pipeline] sh 23:58:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:58:12 Stashed 1 file(s) [Pipeline] echo 23:58:12 [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 23:58:27 Still waiting to schedule task 23:58:27 ‘prd-centos7-blackbox-4c-2g-2297’ doesn’t have label ‘centos7-docker-4c-2g’ 23:58:27 ‘prd-centos7-blackbox-4c-2g-2298’ doesn’t have label ‘centos7-docker-4c-2g’ 23:58:27 ‘prd-centos7-blackbox-4c-2g-2299’ doesn’t have label ‘centos7-docker-4c-2g’ 23:58:27 ‘prd-centos7-docker-4c-2g-615’ is offline 23:58:27 ‘prd-centos7-docker-4c-2g-617’ is offline 23:58:27 ‘prd-centos7-docker-4c-2g-618’ is offline 23:58:27 ‘prd-centos7-docker-4c-2g-620’ is offline 23:58:27 ‘prd-centos7-docker-4c-2g-621’ is offline 23:58:27 ‘prd-centos7-docker-4c-2g-624’ is offline 23:58:27 ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ doesn’t have label ‘centos7-docker-4c-2g’ 23:58:27 ‘prd-ubuntu18.04-docker-arm64-4c-16g-616’ doesn’t have label ‘centos7-docker-4c-2g’ 23:58:27 ‘prd-ubuntu18.04-docker-arm64-4c-16g-619’ doesn’t have label ‘centos7-docker-4c-2g’ 23:58:27 Still waiting to schedule task 23:58:27 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 23:59:24 Running on prd-centos7-docker-4c-2g-627 in /w/workspace/ndry_app-functions-sdk-go_PR-933 [Pipeline] { [Pipeline] ws 23:59:24 Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout 23:59:24 The recommended git tool is: git 23:59:27 using credential edgex-jenkins-ssh 23:59:27 Cloning the remote Git repository 23:59:27 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:59:27 > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 23:59:27 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:59:27 > git --version # timeout=10 23:59:27 > git --version # 'git version 2.24.4' 23:59:27 using GIT_SSH to set credentials SSH Credentials for GitHub 23:59:27 [INFO] Currently running in a labeled security context 23:59:27 [INFO] Currently SELinux is 'enforcing' on the host 23:59:27 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh1960913766419104792.key 23:59:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:59:28 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:59:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:59:28 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:59:28 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:59:28 using GIT_SSH to set credentials SSH Credentials for GitHub 23:59:28 [INFO] Currently running in a labeled security context 23:59:28 [INFO] Currently SELinux is 'enforcing' on the host 23:59:28 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh1492545472904483358.key 23:59:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/933/head:refs/remotes/origin/PR-933 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:59:29 Merging remotes/origin/main commit 042dfbc200e9a033131772982770329148424ff7 into PR head commit 63ccb940e137e1fcb5be2804a63ac775764a07ea 23:59:29 Merge succeeded, producing 63ccb940e137e1fcb5be2804a63ac775764a07ea 23:59:29 Checking out Revision 63ccb940e137e1fcb5be2804a63ac775764a07ea (PR-933) 23:59:29 > git config core.sparsecheckout # timeout=10 23:59:29 > git checkout -f 63ccb940e137e1fcb5be2804a63ac775764a07ea # timeout=10 23:59:29 > git remote # timeout=10 23:59:29 > git config --get remote.origin.url # timeout=10 23:59:29 using GIT_SSH to set credentials SSH Credentials for GitHub 23:59:29 [INFO] Currently running in a labeled security context 23:59:29 [INFO] Currently SELinux is 'enforcing' on the host 23:59:29 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh7320893158737001723.key 23:59:29 > git merge 042dfbc200e9a033131772982770329148424ff7 # timeout=10 23:59:29 > git rev-parse HEAD^{commit} # timeout=10 23:59:29 > git config core.sparsecheckout # timeout=10 23:59:29 > git checkout -f 63ccb940e137e1fcb5be2804a63ac775764a07ea # timeout=10 23:59:33 Commit message: "refactor: Clean up TOML quotes and add LF MD files" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 23:59:33 ========================================================= 23:59:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 23:59:33 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:59:34 + 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 . 23:59:34 Sending build context to Docker daemon 19.84MB 23:59:34 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 23:59:34 Step 2/8 : FROM ${BASE} 23:59:34 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 23:59:34 540db60ca938: Pulling fs layer 23:59:34 adcc1eea9eea: Pulling fs layer 23:59:34 4c4ab2625f07: Pulling fs layer 23:59:34 db62176df00c: Pulling fs layer 23:59:34 3b30891b0d05: Pulling fs layer 23:59:34 06b49ca38bd5: Pulling fs layer 23:59:34 c788192a36de: Pulling fs layer 23:59:34 a77e37c0d609: Pulling fs layer 23:59:34 c3185cebc471: Pulling fs layer 23:59:34 db62176df00c: Waiting 23:59:34 3b30891b0d05: Waiting 23:59:34 06b49ca38bd5: Waiting 23:59:34 c788192a36de: Waiting 23:59:34 a77e37c0d609: Waiting 23:59:34 c3185cebc471: Waiting 23:59:34 4c4ab2625f07: Verifying Checksum 23:59:34 4c4ab2625f07: Download complete 23:59:34 adcc1eea9eea: Verifying Checksum 23:59:34 adcc1eea9eea: Download complete 23:59:34 3b30891b0d05: Verifying Checksum 23:59:34 3b30891b0d05: Download complete 23:59:34 06b49ca38bd5: Verifying Checksum 23:59:34 06b49ca38bd5: Download complete 23:59:34 c788192a36de: Verifying Checksum 23:59:34 c788192a36de: Download complete 23:59:34 540db60ca938: Verifying Checksum 23:59:34 540db60ca938: Download complete 23:59:34 540db60ca938: Pull complete 23:59:34 adcc1eea9eea: Pull complete 23:59:34 a77e37c0d609: Verifying Checksum 23:59:34 a77e37c0d609: Download complete 23:59:34 4c4ab2625f07: Pull complete 23:59:38 c3185cebc471: Verifying Checksum 23:59:38 c3185cebc471: Download complete 23:59:38 db62176df00c: Verifying Checksum 23:59:38 db62176df00c: Download complete 23:59:42 db62176df00c: Pull complete 23:59:42 3b30891b0d05: Pull complete 23:59:42 06b49ca38bd5: Pull complete 23:59:42 c788192a36de: Pull complete 23:59:42 a77e37c0d609: Pull complete 23:59:45 c3185cebc471: Pull complete 23:59:45 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 23:59:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 23:59:45 ---> 031687cdd783 23:59:45 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 23:59:45 20.10.0: Pulling from library/docker 23:59:45 05e7bc50f07f: Pulling fs layer 23:59:45 6db28d0fdbf6: Pulling fs layer 23:59:45 292df0bc6bf3: Pulling fs layer 23:59:45 2e060f4bd70b: Pulling fs layer 23:59:45 80e8d568a223: Pulling fs layer 23:59:45 8dc6ef1a942a: Pulling fs layer 23:59:45 2312dd95470a: Pulling fs layer 23:59:45 2e060f4bd70b: Waiting 23:59:45 80e8d568a223: Waiting 23:59:45 8dc6ef1a942a: Waiting 23:59:45 2312dd95470a: Waiting 23:59:45 292df0bc6bf3: Verifying Checksum 23:59:45 292df0bc6bf3: Download complete 23:59:45 6db28d0fdbf6: Verifying Checksum 23:59:45 6db28d0fdbf6: Download complete 23:59:45 80e8d568a223: Verifying Checksum 23:59:45 80e8d568a223: Download complete 23:59:45 05e7bc50f07f: Verifying Checksum 23:59:45 05e7bc50f07f: Download complete 23:59:45 8dc6ef1a942a: Verifying Checksum 23:59:45 8dc6ef1a942a: Download complete 23:59:45 2312dd95470a: Verifying Checksum 23:59:45 2312dd95470a: Download complete 23:59:45 05e7bc50f07f: Pull complete 23:59:45 6db28d0fdbf6: Pull complete 23:59:45 292df0bc6bf3: Pull complete 23:59:47 2e060f4bd70b: Verifying Checksum 23:59:47 2e060f4bd70b: Download complete 23:59:49 2e060f4bd70b: Pull complete 23:59:49 80e8d568a223: Pull complete 23:59:49 8dc6ef1a942a: Pull complete 23:59:49 2312dd95470a: Pull complete 23:59:49 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 23:59:49 Status: Downloaded newer image for docker:20.10.0 23:59:51 ---> bc889b48d9e0 23:59:51 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:59:51 ---> Running in c3fc1a06f7a2 23:59:51 Removing intermediate container c3fc1a06f7a2 23:59:51 ---> 67d18a64fdbf 23:59:51 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 23:59:51 ---> Running in ec027903cd93 23:59:51 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 23:59:52 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 23:59:53 OK: 219 MiB in 52 packages 23:59:53 Removing intermediate container ec027903cd93 23:59:53 ---> 7a8cb9365174 23:59:53 Step 6/8 : WORKDIR /build 23:59:53 ---> Running in 7713a0bfe691 23:59:53 Removing intermediate container 7713a0bfe691 23:59:53 ---> 60a7b3bf4ce1 23:59:53 Step 7/8 : COPY go.mod . 23:59:53 ---> 0a6520138a53 23:59:53 Step 8/8 : RUN go mod download 23:59:53 ---> Running in 1693bd153c80 00:00:06 Removing intermediate container 1693bd153c80 00:00:06 ---> 2c50502ee5f7 00:00:06 Successfully built 2c50502ee5f7 00:00:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:00:06 + docker inspect -f . ci-base-image-x86_64 00:00:06 . [Pipeline] withDockerContainer 00:00:06 prd-centos7-docker-4c-2g-627 does not seem to be running inside a container 00:00:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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-x86_64 cat 00:00:06 $ docker top 51c4b4286526a9fe4768d0df9b2864a94a8aeaec323f65a40495d661decccd16 -eo pid,comm [Pipeline] { [Pipeline] sh 00:00:07 + go version 00:00:07 go version go1.16.6 linux/amd64 [Pipeline] } 00:00:07 $ docker stop --time=1 51c4b4286526a9fe4768d0df9b2864a94a8aeaec323f65a40495d661decccd16 00:00:08 $ docker rm -f 51c4b4286526a9fe4768d0df9b2864a94a8aeaec323f65a40495d661decccd16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:00:09 + docker inspect -f . ci-base-image-x86_64 00:00:09 . [Pipeline] withDockerContainer 00:00:09 prd-centos7-docker-4c-2g-627 does not seem to be running inside a container 00:00:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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-x86_64 cat 00:00:09 $ docker top 3b1716d7f3c042ba9775538c32f26704a37e1075aad75743946c50b632ec3986 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:00:10 + make test 00:00:10 make -C ./app-service-template build 00:00:10 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 00:00:10 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 00:00:22 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 00:00:22 make -C ./app-service-template test 00:00:22 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 00:00:22 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 00:00:30 ok new-app-service 0.014s coverage: 47.8% of statements 00:00:30 ? new-app-service/config [no test files] 00:00:30 ok new-app-service/functions 0.010s 00:00:30 CGO_ENABLED=1 go vet ./... 00:00:39 gofmt -l . 00:00:39 [ "`gofmt -l .`" = "" ] 00:00:39 ./bin/test-attribution-txt.sh 00:00:39 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 00:00:39 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:00:39 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 00:00:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.012s coverage: 63.6% of statements 00:00:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.008s coverage: 96.5% of statements 00:00:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 00:00:41 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.021s coverage: 61.8% of statements 00:00:41 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 00:00:41 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.020s 00:00:41 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.047s coverage: 74.5% of statements 00:00:41 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 00:00:41 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 00:00:41 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 00:00:41 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 00:00:41 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 00:00:41 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 00:00:41 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.003s coverage: 97.1% of statements 00:00:41 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 00:00:42 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.006s coverage: 10.5% of statements 00:00:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.739s coverage: 76.1% of statements 00:00:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 00:00:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.007s coverage: 12.5% of statements 00:00:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.011s coverage: 27.3% of statements 00:00:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 00:00:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 00:00:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.007s coverage: 51.4% of statements 00:01:12 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.060s coverage: 78.1% of statements 00:01:12 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.019s coverage: 94.4% of statements 00:01:12 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:01:12 gofmt -l . 00:01:12 [ "`gofmt -l .`" = "" ] [Pipeline] } 00:01:12 $ docker stop --time=1 3b1716d7f3c042ba9775538c32f26704a37e1075aad75743946c50b632ec3986 00:01:13 $ docker rm -f 3b1716d7f3c042ba9775538c32f26704a37e1075aad75743946c50b632ec3986 [Pipeline] // withDockerContainer [Pipeline] sh 00:01:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:01:14 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 00:01:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:01:14 00:01:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:01:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:01:15 latest: Pulling from edgex-lftools-log-publisher 00:01:15 b4d181a07f80: Pulling fs layer 00:01:15 a1111a8f2ec3: Pulling fs layer 00:01:15 ed53099fbce6: Pulling fs layer 00:01:15 dc539afda2c1: Pulling fs layer 00:01:15 77bc0d833cb6: Pulling fs layer 00:01:15 9065ff56babe: Pulling fs layer 00:01:15 d287ab97295c: Pulling fs layer 00:01:15 77bc0d833cb6: Waiting 00:01:15 9065ff56babe: Waiting 00:01:15 d287ab97295c: Waiting 00:01:15 dc539afda2c1: Waiting 00:01:15 a1111a8f2ec3: Verifying Checksum 00:01:15 a1111a8f2ec3: Download complete 00:01:15 dc539afda2c1: Verifying Checksum 00:01:15 dc539afda2c1: Download complete 00:01:15 ed53099fbce6: Verifying Checksum 00:01:15 ed53099fbce6: Download complete 00:01:15 9065ff56babe: Verifying Checksum 00:01:15 9065ff56babe: Download complete 00:01:15 77bc0d833cb6: Verifying Checksum 00:01:15 77bc0d833cb6: Download complete 00:01:16 b4d181a07f80: Verifying Checksum 00:01:16 b4d181a07f80: Download complete 00:01:17 b4d181a07f80: Pull complete 00:01:17 a1111a8f2ec3: Pull complete 00:01:18 ed53099fbce6: Pull complete 00:01:18 dc539afda2c1: Pull complete 00:01:18 77bc0d833cb6: Pull complete 00:01:18 9065ff56babe: Pull complete 00:01:19 d287ab97295c: Verifying Checksum 00:01:19 d287ab97295c: Download complete 00:01:24 d287ab97295c: Pull complete 00:01:24 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 00:01:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:01:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:01:24 prd-centos7-docker-4c-2g-627 does not seem to be running inside a container 00:01:24 $ 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/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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:latest cat 00:01:26 $ docker top e931945274ec67d2722ef4ab03b8eb414184cff84ac6685aa81673e2c5d669c8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:01:27 ---> job-cost.sh 00:01:27 lf-activate-venv: SKIPPING 00:01:27 INFO: No Stack... 00:01:28 INFO: Retrieving Pricing Info for: v3-standard-2 00:01:28 INFO: Archiving Costs [Pipeline] sh 00:01:28 + cat /w/workspace/app-functions-sdk-go/3/archives/cost.csv 00:01:28 + cut -d, -f6 [Pipeline] lock 00:01:29 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-933-3-stack-cost] 00:01:29 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-933-3-stack-cost] did not exist. Created. 00:01:29 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-933-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:01:29 + echo total: 0.05999999865889549 [Pipeline] stash 00:01:29 Stashed 1 file(s) [Pipeline] } 00:01:29 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-933-3-stack-cost] [Pipeline] // lock [Pipeline] } 00:01:29 $ docker stop --time=1 e931945274ec67d2722ef4ab03b8eb414184cff84ac6685aa81673e2c5d669c8 00:01:30 $ docker rm -f e931945274ec67d2722ef4ab03b8eb414184cff84ac6685aa81673e2c5d669c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:01:34 Running on prd-ubuntu18.04-docker-arm64-4c-16g-629 in /w/workspace/ndry_app-functions-sdk-go_PR-933 [Pipeline] { [Pipeline] ws 00:01:34 Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout 00:01:34 The recommended git tool is: git 00:01:40 using credential edgex-jenkins-ssh 00:01:40 Cloning the remote Git repository 00:01:40 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 00:01:40 > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 00:01:40 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:01:40 > git --version # timeout=10 00:01:40 > git --version # 'git version 2.17.1' 00:01:40 using GIT_SSH to set credentials SSH Credentials for GitHub 00:01:40 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:01:44 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:01:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:01:44 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:01:44 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:01:44 using GIT_SSH to set credentials SSH Credentials for GitHub 00:01:44 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/933/head:refs/remotes/origin/PR-933 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:01:45 Merging remotes/origin/main commit 042dfbc200e9a033131772982770329148424ff7 into PR head commit 63ccb940e137e1fcb5be2804a63ac775764a07ea 00:01:45 Merge succeeded, producing 63ccb940e137e1fcb5be2804a63ac775764a07ea 00:01:45 Checking out Revision 63ccb940e137e1fcb5be2804a63ac775764a07ea (PR-933) 00:01:45 > git config core.sparsecheckout # timeout=10 00:01:45 > git checkout -f 63ccb940e137e1fcb5be2804a63ac775764a07ea # timeout=10 00:01:45 > git remote # timeout=10 00:01:45 > git config --get remote.origin.url # timeout=10 00:01:45 using GIT_SSH to set credentials SSH Credentials for GitHub 00:01:45 > git merge 042dfbc200e9a033131772982770329148424ff7 # timeout=10 00:01:45 > git rev-parse HEAD^{commit} # timeout=10 00:01:45 > git config core.sparsecheckout # timeout=10 00:01:45 > git checkout -f 63ccb940e137e1fcb5be2804a63ac775764a07ea # timeout=10 00:01:49 Commit message: "refactor: Clean up TOML quotes and add LF MD files" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 00:01:50 ========================================================= 00:01:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 00:01:50 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:01:51 + 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 . 00:01:52 Sending build context to Docker daemon 19.84MB 00:01:52 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 00:01:52 Step 2/8 : FROM ${BASE} 00:01:53 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:01:53 595b0fe564bb: Pulling fs layer 00:01:53 24495759ef45: Pulling fs layer 00:01:53 d148012ef14d: Pulling fs layer 00:01:53 e90a11edd702: Pulling fs layer 00:01:53 d77568369979: Pulling fs layer 00:01:53 fc1c9f9a7f3b: Pulling fs layer 00:01:53 170f2ba95c9a: Pulling fs layer 00:01:53 97ac5df62f85: Pulling fs layer 00:01:53 e90a11edd702: Waiting 00:01:53 d77568369979: Waiting 00:01:53 fc1c9f9a7f3b: Waiting 00:01:53 170f2ba95c9a: Waiting 00:01:53 97ac5df62f85: Waiting 00:01:53 d148012ef14d: Verifying Checksum 00:01:53 d148012ef14d: Download complete 00:01:53 24495759ef45: Verifying Checksum 00:01:53 24495759ef45: Download complete 00:01:53 d77568369979: Verifying Checksum 00:01:53 d77568369979: Download complete 00:01:53 fc1c9f9a7f3b: Download complete 00:01:53 595b0fe564bb: Verifying Checksum 00:01:53 595b0fe564bb: Download complete 00:01:53 170f2ba95c9a: Verifying Checksum 00:01:53 170f2ba95c9a: Download complete 00:01:54 595b0fe564bb: Pull complete 00:01:54 24495759ef45: Pull complete 00:01:55 d148012ef14d: Pull complete 00:01:57 97ac5df62f85: Verifying Checksum 00:01:57 97ac5df62f85: Download complete 00:01:58 e90a11edd702: Verifying Checksum 00:01:58 e90a11edd702: Download complete 00:02:08 e90a11edd702: Pull complete 00:02:08 d77568369979: Pull complete 00:02:08 fc1c9f9a7f3b: Pull complete 00:02:09 170f2ba95c9a: Pull complete 00:02:15 97ac5df62f85: Pull complete 00:02:15 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 00:02:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 00:02:15 ---> 04bc70af865f 00:02:15 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 00:02:15 20.10.0: Pulling from library/docker 00:02:15 a3cc7d3b244e: Pulling fs layer 00:02:15 02a3295e0d61: Pulling fs layer 00:02:15 0f4f2e6d8100: Pulling fs layer 00:02:15 330b718f631f: Pulling fs layer 00:02:15 a93816041522: Pulling fs layer 00:02:15 bdb6da89ff94: Pulling fs layer 00:02:15 2a70c0c122f4: Pulling fs layer 00:02:15 330b718f631f: Waiting 00:02:15 a93816041522: Waiting 00:02:15 bdb6da89ff94: Waiting 00:02:15 2a70c0c122f4: Waiting 00:02:15 0f4f2e6d8100: Verifying Checksum 00:02:15 0f4f2e6d8100: Download complete 00:02:15 02a3295e0d61: Verifying Checksum 00:02:15 02a3295e0d61: Download complete 00:02:15 a3cc7d3b244e: Verifying Checksum 00:02:15 a93816041522: Verifying Checksum 00:02:15 a93816041522: Download complete 00:02:15 bdb6da89ff94: Download complete 00:02:15 2a70c0c122f4: Verifying Checksum 00:02:16 a3cc7d3b244e: Pull complete 00:02:17 02a3295e0d61: Pull complete 00:02:17 330b718f631f: Verifying Checksum 00:02:17 330b718f631f: Download complete 00:02:17 0f4f2e6d8100: Pull complete 00:02:21 330b718f631f: Pull complete 00:02:21 a93816041522: Pull complete 00:02:22 bdb6da89ff94: Pull complete 00:02:22 2a70c0c122f4: Pull complete 00:02:22 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 00:02:22 Status: Downloaded newer image for docker:20.10.0 00:02:30 ---> 0fb2bf8e2276 00:02:30 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:02:30 ---> Running in 3a81f315ff96 00:02:30 Removing intermediate container 3a81f315ff96 00:02:30 ---> 0926b54d1668 00:02:30 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 00:02:31 ---> Running in 8dad6626dc4b 00:02:32 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 00:02:33 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 00:02:35 OK: 218 MiB in 52 packages 00:02:36 Removing intermediate container 8dad6626dc4b 00:02:36 ---> bedbdf54a63c 00:02:36 Step 6/8 : WORKDIR /build 00:02:36 ---> Running in 98dae1469f70 00:02:37 Removing intermediate container 98dae1469f70 00:02:37 ---> c626899bbc40 00:02:37 Step 7/8 : COPY go.mod . 00:02:38 ---> 7f6765836c92 00:02:38 Step 8/8 : RUN go mod download 00:02:38 ---> Running in 0d50f4cc378d 00:03:10 Removing intermediate container 0d50f4cc378d 00:03:10 ---> 268181d1fbe7 00:03:10 Successfully built 268181d1fbe7 00:03:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:03:11 + docker inspect -f . ci-base-image-arm64 00:03:11 . [Pipeline] withDockerContainer 00:03:11 prd-ubuntu18.04-docker-arm64-4c-16g-629 does not seem to be running inside a container 00:03:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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 00:03:13 $ docker top 5394a28dab6b7532f216346d75c4ab6a5a35905d3a62618491158b08737e0eea -eo pid,comm [Pipeline] { [Pipeline] sh 00:03:15 + go version 00:03:15 go version go1.16.6 linux/arm64 [Pipeline] } 00:03:15 $ docker stop --time=1 5394a28dab6b7532f216346d75c4ab6a5a35905d3a62618491158b08737e0eea 00:03:17 $ docker rm -f 5394a28dab6b7532f216346d75c4ab6a5a35905d3a62618491158b08737e0eea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:03:17 + docker inspect -f . ci-base-image-arm64 00:03:17 . [Pipeline] withDockerContainer 00:03:18 prd-ubuntu18.04-docker-arm64-4c-16g-629 does not seem to be running inside a container 00:03:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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 00:03:20 $ docker top a089290337e194ed1fab64898ea265e6bc5ce905ec623f4b230d9774ce78dea0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:03:21 + make test 00:03:21 make -C ./app-service-template build 00:03:21 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 00:03:21 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 00:04:00 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 00:04:00 make -C ./app-service-template test 00:04:00 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 00:04:00 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 00:04:39 ok new-app-service 0.044s coverage: 47.8% of statements 00:04:39 ? new-app-service/config [no test files] 00:04:39 ok new-app-service/functions 0.037s 00:04:39 CGO_ENABLED=1 go vet ./... 00:05:05 gofmt -l . 00:05:05 [ "`gofmt -l .`" = "" ] 00:05:05 ./bin/test-attribution-txt.sh 00:05:05 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 00:05:05 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:05:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 00:05:14 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.164s coverage: 63.6% of statements 00:05:14 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.054s coverage: 96.5% of statements 00:05:14 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 00:05:14 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.126s coverage: 61.8% of statements 00:05:14 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 00:05:14 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.084s 00:05:14 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.118s coverage: 74.5% of statements 00:05:14 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 00:05:14 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 00:05:14 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 00:05:14 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 00:05:14 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 00:05:14 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 00:05:14 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.024s coverage: 97.1% of statements 00:05:14 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 00:05:14 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.067s coverage: 10.5% of statements 00:05:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.889s coverage: 76.1% of statements 00:05:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 00:05:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.061s coverage: 12.5% of statements 00:05:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.091s coverage: 27.3% of statements 00:05:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 00:05:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 00:05:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.043s coverage: 51.4% of statements 00:05:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.126s coverage: 78.1% of statements 00:05:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.034s coverage: 94.4% of statements 00:05:48 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:05:51 gofmt -l . 00:05:51 [ "`gofmt -l .`" = "" ] [Pipeline] } 00:05:51 $ docker stop --time=1 a089290337e194ed1fab64898ea265e6bc5ce905ec623f4b230d9774ce78dea0 00:05:54 $ docker rm -f a089290337e194ed1fab64898ea265e6bc5ce905ec623f4b230d9774ce78dea0 [Pipeline] // withDockerContainer [Pipeline] sh 00:05:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:05:55 Warning: overwriting stash ‘coverage-report’ 00:05:55 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 00:05:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:05:56 00:05:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 00:05:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:05:57 arm64: Pulling from edgex-lftools-log-publisher 00:05:57 448f6bf000e3: Pulling fs layer 00:05:57 f757da607395: Pulling fs layer 00:05:57 05883995daec: Pulling fs layer 00:05:57 8603b9c90790: Pulling fs layer 00:05:57 1560dd03e051: Pulling fs layer 00:05:57 27f5ce0e4adf: Pulling fs layer 00:05:57 c2d8d7efcc4b: Pulling fs layer 00:05:57 8603b9c90790: Waiting 00:05:57 1560dd03e051: Waiting 00:05:57 27f5ce0e4adf: Waiting 00:05:57 c2d8d7efcc4b: Waiting 00:05:57 f757da607395: Verifying Checksum 00:05:57 f757da607395: Download complete 00:05:57 8603b9c90790: Verifying Checksum 00:05:57 8603b9c90790: Download complete 00:05:57 1560dd03e051: Verifying Checksum 00:05:57 1560dd03e051: Download complete 00:05:57 27f5ce0e4adf: Download complete 00:05:58 05883995daec: Verifying Checksum 00:05:58 05883995daec: Download complete 00:05:58 448f6bf000e3: Verifying Checksum 00:05:58 448f6bf000e3: Download complete 00:06:03 448f6bf000e3: Pull complete 00:06:03 c2d8d7efcc4b: Verifying Checksum 00:06:03 c2d8d7efcc4b: Download complete 00:06:03 f757da607395: Pull complete 00:06:05 05883995daec: Pull complete 00:06:05 8603b9c90790: Pull complete 00:06:06 1560dd03e051: Pull complete 00:06:06 27f5ce0e4adf: Pull complete 00:06:22 c2d8d7efcc4b: Pull complete 00:06:22 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 00:06:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:06:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 00:06:22 prd-ubuntu18.04-docker-arm64-4c-16g-629 does not seem to be running inside a container 00:06:22 $ 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/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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 00:06:28 $ docker top ee81056892c151a100b3d25f02e70eb519ad38a4d46d35bfed3b39267c8616e5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:06:29 ---> job-cost.sh 00:06:29 lf-activate-venv: SKIPPING 00:06:29 INFO: No Stack... 00:06:30 INFO: Retrieving Pricing Info for: v2-standard-4 00:06:31 INFO: Archiving Costs [Pipeline] sh 00:06:31 + cat /w/workspace/app-functions-sdk-go/3/archives/cost.csv 00:06:31 + cut -d, -f6 [Pipeline] lock 00:06:31 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-933-3-stack-cost] 00:06:31 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-933-3-stack-cost] did not exist. Created. 00:06:31 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-933-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:06:32 /w/workspace/app-functions-sdk-go/3@tmp/durable-9e93ce52/script.sh: 1: /w/workspace/app-functions-sdk-go/3@tmp/durable-9e93ce52/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 00:06:33 + echo total: 0.18000000715255737 [Pipeline] stash 00:06:33 Warning: overwriting stash ‘stack-cost’ 00:06:33 Stashed 1 file(s) [Pipeline] } 00:06:33 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-933-3-stack-cost] [Pipeline] // lock [Pipeline] } 00:06:33 $ docker stop --time=1 ee81056892c151a100b3d25f02e70eb519ad38a4d46d35bfed3b39267c8616e5 00:06:35 $ docker rm -f ee81056892c151a100b3d25f02e70eb519ad38a4d46d35bfed3b39267c8616e5 [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 00:06:36 provisioning config files... 00:06:36 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-933@tmp/config8026472887666580031tmp [Pipeline] { [Pipeline] sh 00:06:36 + set +x 00:06:36 + curl -s https://codecov.io/bash 00:06:36 + bash -s -- 00:06:36 00:06:36 _____ _ 00:06:36 / ____| | | 00:06:36 | | ___ __| | ___ ___ _____ __ 00:06:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:06:36 | |___| (_) | (_| | __/ (_| (_) \ V / 00:06:36 \_____\___/ \__,_|\___|\___\___/ \_/ 00:06:36 Bash-1.0.6 00:06:36 00:06:36 00:06:36 ==> git version 2.24.4 found 00:06:36 ==> 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 00:06:36 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 00:06:36 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 00:06:36 ==> Jenkins CI detected. 00:06:36 current dir:  /w/workspace/ndry_app-functions-sdk-go_PR-933 00:06:36 project root: . 00:06:36 --> token set from env 00:06:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:06:36 ==> Running gcov in . (disable via -X gcov) 00:06:36 ==> Python coveragepy not found 00:06:36 ==> Searching for coverage reports in: 00:06:36 + . 00:06:36 -> Found 2 reports 00:06:36 ==> Detecting git/mercurial file structure 00:06:36 ==> Reading reports 00:06:36 + ./app-service-template/coverage.out bytes=1055 00:06:36 + ./coverage.out bytes=95183 00:06:36 ==> Appending adjustments 00:06:36 https://docs.codecov.io/docs/fixing-reports 00:06:37 + Found adjustments 00:06:37 ==> Gzipping contents 00:06:37 20K /tmp/codecov.zZTd4n.gz 00:06:37 ==> Uploading reports 00:06:37 url: https://codecov.io 00:06:37 query: branch=PR-933&commit=63ccb940e137e1fcb5be2804a63ac775764a07ea&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-933%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=933&job=&cmd_args= 00:06:37 -> Pinging Codecov 00:06:37 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-933&commit=63ccb940e137e1fcb5be2804a63ac775764a07ea&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-933%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=933&job=&cmd_args= 00:06:37 -> Uploading to 00:06:37 https://storage.googleapis.com/codecov/v4/raw/2021-08-12/3D8B5DFFC46A037C893635FACE044666/63ccb940e137e1fcb5be2804a63ac775764a07ea/67b64474-8b52-4084-addd-295ffb985735.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210812%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210812T000637Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7e88f45fb68863b93078dcd359c04a5967b91334b1846c2c7c38e067777b9b64 00:06:37 % Total % Received % Xferd Average Speed Time Time Time Current 00:06:37 Dload Upload Total Spent Left Speed 00:06:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16473 0 0 100 16473 0 37839 --:--:-- --:--:-- --:--:-- 37782 00:06:37 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/63ccb940e137e1fcb5be2804a63ac775764a07ea [Pipeline] } 00:06:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:06:38 + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-933/archives ']' [Pipeline] libraryResource [Pipeline] sh 00:06:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:06:39 ---> package-listing.sh 00:06:39 ++ tr '[:upper:]' '[:lower:]' 00:06:39 ++ facter osfamily 00:06:40 + OS_FAMILY=redhat 00:06:40 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-933 00:06:40 + START_PACKAGES=/tmp/packages_start.txt 00:06:40 + END_PACKAGES=/tmp/packages_end.txt 00:06:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:06:40 + PACKAGES=/tmp/packages_start.txt 00:06:40 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-933 ']' 00:06:40 + PACKAGES=/tmp/packages_end.txt 00:06:40 + case "${OS_FAMILY}" in 00:06:40 + sort 00:06:40 + rpm -qa 00:06:40 + '[' -f /tmp/packages_start.txt ']' 00:06:40 + '[' -f /tmp/packages_end.txt ']' 00:06:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:06:40 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-933 ']' 00:06:40 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-933/archives/ 00:06:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-933/archives/ [Pipeline] echo 00:06:40 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-933/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:06:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:06:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:06:41 00:06:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:06:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:06:41 latest: Pulling from edgex-lftools-log-publisher 00:06:41 b4d181a07f80: Pulling fs layer 00:06:41 a1111a8f2ec3: Pulling fs layer 00:06:41 ed53099fbce6: Pulling fs layer 00:06:41 dc539afda2c1: Pulling fs layer 00:06:41 77bc0d833cb6: Pulling fs layer 00:06:41 9065ff56babe: Pulling fs layer 00:06:41 d287ab97295c: Pulling fs layer 00:06:41 77bc0d833cb6: Waiting 00:06:41 9065ff56babe: Waiting 00:06:41 d287ab97295c: Waiting 00:06:41 dc539afda2c1: Waiting 00:06:42 a1111a8f2ec3: Verifying Checksum 00:06:42 a1111a8f2ec3: Download complete 00:06:42 dc539afda2c1: Verifying Checksum 00:06:42 dc539afda2c1: Download complete 00:06:43 77bc0d833cb6: Verifying Checksum 00:06:43 77bc0d833cb6: Download complete 00:06:43 9065ff56babe: Verifying Checksum 00:06:43 9065ff56babe: Download complete 00:06:43 ed53099fbce6: Verifying Checksum 00:06:43 ed53099fbce6: Download complete 00:06:44 b4d181a07f80: Verifying Checksum 00:06:44 b4d181a07f80: Download complete 00:06:45 b4d181a07f80: Pull complete 00:06:45 a1111a8f2ec3: Pull complete 00:06:46 ed53099fbce6: Pull complete 00:06:46 dc539afda2c1: Pull complete 00:06:46 77bc0d833cb6: Pull complete 00:06:46 9065ff56babe: Pull complete 00:06:50 d287ab97295c: Download complete 00:06:54 d287ab97295c: Pull complete 00:06:54 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 00:06:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:06:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:06:55 prd-centos7-docker-4c-2g-623 does not seem to be running inside a container 00:06:55 $ 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-933/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-933 -v /w/workspace/ndry_app-functions-sdk-go_PR-933:/w/workspace/ndry_app-functions-sdk-go_PR-933:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-933@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-933@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 00:06:57 $ docker top d31c86786f266a3b6d3f113fd898de8a7ab67e681ed57cee671b28d073eefd26 -eo pid,comm [Pipeline] { [Pipeline] sh 00:06:57 + touch /tmp/pre-build-complete [Pipeline] sh 00:06:58 + mkdir -p /var/log/sysstat [Pipeline] sh 00:06:58 + ls /var/log/sa-host 00:06:58 + sadf -c /var/log/sa-host/sa05 00:06:58 file_magic: OK 00:06:58 HZ: Using current value: 100 00:06:58 file_header: OK 00:06:58 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 00:06:58 Statistics: 00:06:58 Hnuu...uuuununununu...Hnuu...uuuununununu... 00:06:58 File successfully converted to sysstat format version 12.0.3 00:06:58 + sadf -c /var/log/sa-host/sa11 00:06:58 file_magic: OK 00:06:58 HZ: Using current value: 100 00:06:58 file_header: OK 00:06:58 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 00:06:58 Statistics: 00:06:58 HRHnuu...uuuununununu...Hnuu...uuuununununu... 00:06:58 File successfully converted to sysstat format version 12.0.3 00:06:58 + sadf -c /var/log/sa-host/sa12 00:06:58 file_magic: OK 00:06:58 HZ: Using current value: 100 00:06:58 file_header: OK 00:06:58 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 00:06:58 Statistics: 00:06:58 Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:06:58 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:06:59 provisioning config files... 00:06:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-933@tmp/config6500213328560592159tmp [Pipeline] { [Pipeline] echo 00:06:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:06:59 ---> create-netrc.sh [Pipeline] } 00:06:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:06:59 ---> python-tools-install.sh [Pipeline] echo 00:06:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:07:00 ---> sudo-logs.sh 00:07:00 Archiving 'sudo' log.. 00:07:00 sudo: unable to resolve host prd-centos7-docker-4c-2g-623.vexxhost.local: Name or service not known 00:07:00 sudo: unable to resolve host prd-centos7-docker-4c-2g-623.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 00:07:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:07:00 ---> job-cost.sh 00:07:00 lf-activate-venv: SKIPPING 00:07:00 DEBUG: total: 0.18000000715255737 00:07:00 INFO: Retrieving Stack Cost... 00:07:01 INFO: Retrieving Pricing Info for: v3-standard-2 00:07:01 INFO: Archiving Costs [Pipeline] echo 00:07:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:07:02 ---> logs-deploy.sh 00:07:02 lf-activate-venv: SKIPPING 00:07:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-933/3 00:07:02 INFO: archiving workspace using pattern(s): 00:07:02 Archives upload complete. 00:07:03 INFO: archiving logs to Nexus 00:07:03 ---> uname -a: 00:07:03 Linux prd-centos7-docker-4c-2g-623.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 00:07:03 00:07:03 00:07:03 ---> lscpu: 00:07:03 Architecture: x86_64 00:07:03 CPU op-mode(s): 32-bit, 64-bit 00:07:03 Byte Order: Little Endian 00:07:03 Address sizes: 40 bits physical, 48 bits virtual 00:07:03 CPU(s): 2 00:07:03 On-line CPU(s) list: 0,1 00:07:03 Thread(s) per core: 1 00:07:03 Core(s) per socket: 1 00:07:03 Socket(s): 2 00:07:03 NUMA node(s): 1 00:07:03 Vendor ID: AuthenticAMD 00:07:03 CPU family: 23 00:07:03 Model: 49 00:07:03 Model name: AMD EPYC-Rome Processor 00:07:03 Stepping: 0 00:07:03 CPU MHz: 2799.998 00:07:03 BogoMIPS: 5599.99 00:07:03 Virtualization: AMD-V 00:07:03 Hypervisor vendor: KVM 00:07:03 Virtualization type: full 00:07:03 L1d cache: 32K 00:07:03 L1i cache: 32K 00:07:03 L2 cache: 512K 00:07:03 L3 cache: 16384K 00:07:03 NUMA node0 CPU(s): 0,1 00:07:03 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 00:07:03 00:07:03 00:07:03 ---> nproc: 00:07:03 2 00:07:03 00:07:03 00:07:03 ---> df -h: 00:07:03 Filesystem Size Used Avail Use% Mounted on 00:07:03 overlay 40G 7.7G 33G 20% / 00:07:03 tmpfs 64M 0 64M 0% /dev 00:07:03 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 00:07:03 shm 64M 0 64M 0% /dev/shm 00:07:03 /dev/vda1 40G 7.7G 33G 20% /facter-os 00:07:03 00:07:03 00:07:03 ---> sar -b -r -n DEV: 00:07:03 Linux 3.10.0-1160.21.1.el7.x86_64 (prd-centos7-docker-4c-2g-623.vexxhost.local) 08/12/21 _x86_64_ (2 CPU) 00:07:03 00:07:03 00:00:01 tps rtps wtps bread/s bwrtn/s 00:07:03 00:01:01 0.30 0.02 0.28 0.13 4.36 00:07:03 00:02:01 0.43 0.10 0.33 1.73 5.46 00:07:03 00:03:01 0.32 0.00 0.32 0.00 3.81 00:07:03 00:04:01 0.32 0.00 0.32 0.00 3.92 00:07:03 00:05:01 0.18 0.00 0.18 0.00 2.35 00:07:03 00:06:01 0.20 0.00 0.20 0.00 2.58 00:07:03 Average: 0.29 0.02 0.27 0.31 3.75 00:07:03 00:07:03 00:00:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:07:03 00:01:01 5437028 0 800496 10.00 2620 1768796 1227368 13.55 593380 1579336 8 00:07:03 00:02:01 5437584 0 799812 9.99 2620 1768924 1223408 13.51 593492 1579396 8 00:07:03 00:03:01 5434504 0 802884 10.02 2620 1768932 1223520 13.51 594384 1581728 16 00:07:03 00:04:01 5437092 0 800296 9.99 2620 1768932 1204944 13.30 592040 1581724 16 00:07:03 00:05:01 5435448 0 801936 10.01 2620 1768936 1205124 13.31 593656 1581724 8 00:07:03 00:06:01 5427720 0 809656 10.11 2620 1768944 1205184 13.31 601428 1581724 8 00:07:03 Average: 5434896 0 802513 10.02 2620 1768911 1214925 13.41 594730 1580939 11 00:07:03 00:07:03 00:00:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:07:03 00:01:01 eth0 3.21 1.05 1.19 0.79 0.00 0.00 0.00 0.00 00:07:03 00:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:07:03 00:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:07:03 00:02:01 eth0 0.62 0.33 0.28 0.23 0.00 0.00 0.00 0.00 00:07:03 00:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:07:03 00:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:07:03 00:03:01 eth0 0.77 0.58 0.45 0.28 0.00 0.00 0.00 0.00 00:07:03 00:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:07:03 00:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:07:03 00:04:01 eth0 1.17 0.08 0.12 0.01 0.00 0.00 0.00 0.00 00:07:03 00:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:07:03 00:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:07:03 00:05:01 eth0 1.78 0.63 0.63 0.37 0.00 0.00 0.00 0.00 00:07:03 00:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:07:03 00:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:07:03 00:06:01 eth0 1.27 0.30 0.34 0.23 0.00 0.00 0.00 0.00 00:07:03 00:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:07:03 00:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:07:03 Average: eth0 1.47 0.50 0.50 0.32 0.00 0.00 0.00 0.00 00:07:03 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:07:03 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:07:03 00:07:03 00:07:03 ---> sar -P ALL: 00:07:03 Linux 3.10.0-1160.21.1.el7.x86_64 (prd-centos7-docker-4c-2g-623.vexxhost.local) 08/12/21 _x86_64_ (2 CPU) 00:07:03 00:07:03 00:00:01 CPU %user %nice %system %iowait %steal %idle 00:07:03 00:01:01 all 0.25 0.00 0.18 0.00 0.02 99.55 00:07:03 00:01:01 0 0.12 0.00 0.15 0.00 0.02 99.72 00:07:03 00:01:01 1 0.38 0.00 0.22 0.00 0.02 99.38 00:07:03 00:02:01 all 0.25 0.00 0.05 0.01 0.02 99.67 00:07:03 00:02:01 0 0.07 0.00 0.07 0.02 0.02 99.83 00:07:03 00:02:01 1 0.43 0.00 0.03 0.00 0.02 99.52 00:07:03 00:03:01 all 0.16 0.00 0.09 0.00 0.03 99.72 00:07:03 00:03:01 0 0.25 0.00 0.07 0.00 0.03 99.65 00:07:03 00:03:01 1 0.07 0.00 0.12 0.00 0.03 99.78 00:07:03 00:04:01 all 0.18 0.00 0.03 0.00 0.03 99.77 00:07:03 00:04:01 0 0.33 0.00 0.03 0.00 0.03 99.60 00:07:03 00:04:01 1 0.03 0.00 0.02 0.00 0.02 99.93 00:07:03 00:05:01 all 0.19 0.00 0.04 0.00 0.02 99.75 00:07:03 00:05:01 0 0.18 0.00 0.05 0.00 0.02 99.75 00:07:03 00:05:01 1 0.20 0.00 0.03 0.00 0.02 99.75 00:07:03 00:06:01 all 0.06 0.00 0.05 0.00 0.03 99.86 00:07:03 00:06:01 0 0.02 0.00 0.03 0.00 0.02 99.93 00:07:03 00:06:01 1 0.10 0.00 0.07 0.00 0.05 99.78 00:07:03 Average: all 0.18 0.00 0.07 0.00 0.02 99.72 00:07:03 Average: 0 0.16 0.00 0.07 0.00 0.02 99.75 00:07:03 Average: 1 0.20 0.00 0.08 0.00 0.03 99.69 00:07:03 00:07:03 00:07:03