Pull request #921 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3d03b172bcd6eb4337644beb82d4d8e6dbb78fb2+ebab09c1f1c3ca512e4b147264c251d1ef0d01e0 (1ee11143173c380161b1d9c280fdcec4b54be806) 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-ssh2748305257763755819.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-ssh2731714204093619771.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-ssh1459631470829252736.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-ssh7860984242161718041.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-ssh8883074274752078022.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-362 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-ssh7686127469312590321.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 ebab09c1f1c3ca512e4b147264c251d1ef0d01e0 into PR head commit 3d03b172bcd6eb4337644beb82d4d8e6dbb78fb2 Merge succeeded, producing 3d03b172bcd6eb4337644beb82d4d8e6dbb78fb2 Checking out Revision 3d03b172bcd6eb4337644beb82d4d8e6dbb78fb2 (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-ssh5277892101383176749.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-ssh5621682179304940774.key > git merge ebab09c1f1c3ca512e4b147264c251d1ef0d01e0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3d03b172bcd6eb4337644beb82d4d8e6dbb78fb2 # timeout=10 Commit message: "build(deps): bump github.com/google/uuid from 1.2.0 to 1.3.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:03:53 Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk af6b0c6779e8d7072cde14915cdb7e90634aa6b2 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:03:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:03:53 ========================================================= 16:03:53 EdgeX Global Pipelines Version Info 16:03:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:03:54 ------------------- 16:03:54 stable info: 16:03:54 ------------------- 16:03:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:03:54 Commit SHA: db16f8292de5a0132d944c4e76ede2ca4f84da27 16:03:54 Message: update stable to v1.0.197 16:03:55 ------------------- 16:03:55 experimental info: 16:03:55 ------------------- 16:03:55 Commited By: **** collab-it+edgex@linuxfoundation.org 16:03:55 Commit SHA: db16f8292de5a0132d944c4e76ede2ca4f84da27 16:03:55 Message: update experimental to v1.0.197 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:03:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 16:03:55 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 16:03:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:03:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:03:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:03:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 16:03:55 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 16:03:55 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 16:03:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:03:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:03:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:03:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 16:03:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:03:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:03:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 16:03:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:03:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:03:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:03:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:03:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:03:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:03:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 16:03:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:03:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:03:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 16:03:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:03:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-921 [Pipeline] echo 16:03:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-921 [Pipeline] echo 16:03:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-921 [Pipeline] echo 16:03:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3d03b172bcd6eb4337644beb82d4d8e6dbb78fb2 [Pipeline] echo 16:03:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3d03b17 [Pipeline] echo 16:03:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:03:56 + git log --format=format:%s -1 3d03b172bcd6eb4337644beb82d4d8e6dbb78fb2 [Pipeline] echo 16:03:56 GIT_COMMIT: 3d03b172bcd6eb4337644beb82d4d8e6dbb78fb2, Commit Message: build(deps): bump github.com/google/uuid from 1.2.0 to 1.3.0 [Pipeline] echo 16:03:56 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 16:03:57 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:03:57 16:03:57 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:03:57 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:03:57 latest: Pulling from edgex-devops/git-semver 16:03:57 31603596830f: Pulling fs layer 16:03:57 b6dc333f4379: Pulling fs layer 16:03:57 3d9ef1400e77: Pulling fs layer 16:03:57 fd332fbdc1db: Pulling fs layer 16:03:57 fd332fbdc1db: Waiting 16:03:57 b6dc333f4379: Verifying Checksum 16:03:57 b6dc333f4379: Download complete 16:03:57 31603596830f: Verifying Checksum 16:03:57 31603596830f: Download complete 16:03:58 31603596830f: Pull complete 16:03:58 b6dc333f4379: Pull complete 16:03:58 fd332fbdc1db: Verifying Checksum 16:03:58 fd332fbdc1db: Download complete 16:03:58 3d9ef1400e77: Verifying Checksum 16:03:58 3d9ef1400e77: Download complete 16:03:59 3d9ef1400e77: Pull complete 16:03:59 fd332fbdc1db: Pull complete 16:03:59 Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 16:03:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:03:59 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:03:59 prd-centos7-docker-4c-2g-362 does not seem to be running inside a container 16:03:59 $ 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 16:04:00 $ docker top 9846f3c6482b842827b10f5ebaeee5645330823a9c328dad94419b115fa73838 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:04:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:04:00 [ssh-agent] Looking for ssh-agent implementation... 16:04:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:04:00 $ docker exec 9846f3c6482b842827b10f5ebaeee5645330823a9c328dad94419b115fa73838 ssh-agent 16:04:01 SSH_AUTH_SOCK=/tmp/ssh-Gz7BuHQoRWOI/agent.14 16:04:01 SSH_AGENT_PID=21 16:04:01 Running ssh-add (command line suppressed) 16:04:01 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-921@tmp/private_key_5774418623974182864.key (/w/workspace/ndry_app-functions-sdk-go_PR-921@tmp/private_key_5774418623974182864.key) 16:04:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:04:01 + git tag --points-at HEAD [Pipeline] } 16:04:01 $ docker exec --env ******** --env ******** 9846f3c6482b842827b10f5ebaeee5645330823a9c328dad94419b115fa73838 ssh-agent -k 16:04:01 unset SSH_AUTH_SOCK; 16:04:01 unset SSH_AGENT_PID; 16:04:01 echo Agent pid 21 killed; 16:04:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:04:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:04:01 [ssh-agent] Looking for ssh-agent implementation... 16:04:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:04:01 $ docker exec 9846f3c6482b842827b10f5ebaeee5645330823a9c328dad94419b115fa73838 ssh-agent 16:04:01 SSH_AUTH_SOCK=/tmp/ssh-eD0UED43z77b/agent.55 16:04:01 SSH_AGENT_PID=61 16:04:01 Running ssh-add (command line suppressed) 16:04:02 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-921@tmp/private_key_91781693848362565.key (/w/workspace/ndry_app-functions-sdk-go_PR-921@tmp/private_key_91781693848362565.key) 16:04:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:04:02 + git semver init 16:04:02 # -> Open(): unable to determine branch for HEAD 16:04:02 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-921/.git 16:04:02 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-921 16:04:02 # $SEMVER_REMOTE_NAME = origin 16:04:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:04:02 # $SEMVER_USER_NAME = edgex-jenkins 16:04:02 # $SEMVER_BRANCH = PR-921 16:04:02 # $SEMVER_TEMP = /tmp/semver-107713738 16:04:02 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 16:04:10 # '/tmp/semver-107713738' -> '/w/workspace/ndry_app-functions-sdk-go_PR-921/.semver' 16:04:10 # -> Force: false 16:04:10 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-921/.semver [Pipeline] } 16:04:10 $ docker exec --env ******** --env ******** 9846f3c6482b842827b10f5ebaeee5645330823a9c328dad94419b115fa73838 ssh-agent -k 16:04:10 unset SSH_AUTH_SOCK; 16:04:10 unset SSH_AGENT_PID; 16:04:10 echo Agent pid 61 killed; 16:04:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:04:11 + git semver [Pipeline] } 16:04:11 $ docker stop --time=1 9846f3c6482b842827b10f5ebaeee5645330823a9c328dad94419b115fa73838 16:04:12 $ docker rm -f 9846f3c6482b842827b10f5ebaeee5645330823a9c328dad94419b115fa73838 [Pipeline] // withDockerContainer [Pipeline] sh 16:04:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:04:13 Stashed 1 file(s) [Pipeline] echo 16:04:13 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 16:04:29 Still waiting to schedule task 16:04:29 ‘prd-centos7-blackbox-4c-2g-76’ doesn’t have label ‘centos7-docker-4c-2g’ 16:04:29 ‘prd-centos7-blackbox-4c-2g-77’ doesn’t have label ‘centos7-docker-4c-2g’ 16:04:29 ‘prd-centos7-docker-4c-2g-353’ is offline 16:04:29 ‘prd-centos7-docker-4c-2g-356’ is offline 16:04:29 ‘prd-centos7-docker-4c-2g-358’ is offline 16:04:29 ‘prd-centos7-docker-4c-2g-361’ is offline 16:04:29 ‘prd-centos7-docker-4c-2g-364’ is offline 16:04:29 ‘prd-ubuntu18.04-docker-arm64-4c-16g-354’ doesn’t have label ‘centos7-docker-4c-2g’ 16:04:29 ‘prd-ubuntu18.04-docker-arm64-4c-16g-357’ doesn’t have label ‘centos7-docker-4c-2g’ 16:04:29 Still waiting to schedule task 16:04:29 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 16:05:38 Running on prd-centos7-docker-4c-2g-367 in /w/workspace/ndry_app-functions-sdk-go_PR-921 [Pipeline] { [Pipeline] ws 16:05:38 Running in /w/workspace/app-functions-sdk-go/6 [Pipeline] { [Pipeline] checkout 16:05:38 The recommended git tool is: git 16:05:41 using credential edgex-jenkins-ssh 16:05:41 Cloning the remote Git repository 16:05:41 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 16:05:41 > git init /w/workspace/app-functions-sdk-go/6 # timeout=10 16:05:41 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 16:05:41 > git --version # timeout=10 16:05:41 > git --version # 'git version 2.24.4' 16:05:41 using GIT_SSH to set credentials SSH Credentials for GitHub 16:05:41 [INFO] Currently running in a labeled security context 16:05:41 [INFO] Currently SELinux is 'enforcing' on the host 16:05:41 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/6@tmp/jenkins-gitclient-ssh2472941379874761461.key 16:05:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:05:51 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 16:05:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:05:51 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 16:05:51 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 16:05:51 using GIT_SSH to set credentials SSH Credentials for GitHub 16:05:51 [INFO] Currently running in a labeled security context 16:05:51 [INFO] Currently SELinux is 'enforcing' on the host 16:05:51 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/6@tmp/jenkins-gitclient-ssh2350837868383314304.key 16:05:51 > 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 16:05:52 Merging remotes/origin/main commit ebab09c1f1c3ca512e4b147264c251d1ef0d01e0 into PR head commit 3d03b172bcd6eb4337644beb82d4d8e6dbb78fb2 16:05:52 Merge succeeded, producing 3d03b172bcd6eb4337644beb82d4d8e6dbb78fb2 16:05:52 Checking out Revision 3d03b172bcd6eb4337644beb82d4d8e6dbb78fb2 (PR-921) 16:05:52 > git config core.sparsecheckout # timeout=10 16:05:52 > git checkout -f 3d03b172bcd6eb4337644beb82d4d8e6dbb78fb2 # timeout=10 16:05:52 > git remote # timeout=10 16:05:52 > git config --get remote.origin.url # timeout=10 16:05:52 using GIT_SSH to set credentials SSH Credentials for GitHub 16:05:52 [INFO] Currently running in a labeled security context 16:05:52 [INFO] Currently SELinux is 'enforcing' on the host 16:05:52 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/6@tmp/jenkins-gitclient-ssh7335666299032555811.key 16:05:52 > git merge ebab09c1f1c3ca512e4b147264c251d1ef0d01e0 # timeout=10 16:05:52 > git rev-parse HEAD^{commit} # timeout=10 16:05:52 > git config core.sparsecheckout # timeout=10 16:05:52 > git checkout -f 3d03b172bcd6eb4337644beb82d4d8e6dbb78fb2 # timeout=10 16:05:56 Commit message: "build(deps): bump github.com/google/uuid from 1.2.0 to 1.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 16:05:56 ========================================================= 16:05:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 16:05:56 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:05:57 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 16:05:57 Sending build context to Docker daemon 19.76MB 16:05:57 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 16:05:57 Step 2/8 : FROM ${BASE} 16:05:57 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 16:05:57 540db60ca938: Pulling fs layer 16:05:57 adcc1eea9eea: Pulling fs layer 16:05:57 4c4ab2625f07: Pulling fs layer 16:05:57 0773c198feca: Pulling fs layer 16:05:57 345f892a5656: Pulling fs layer 16:05:57 4796506630df: Pulling fs layer 16:05:57 cc55df3e53f1: Pulling fs layer 16:05:57 4d027b6c602c: Pulling fs layer 16:05:57 449e75d2c14e: Pulling fs layer 16:05:57 0773c198feca: Waiting 16:05:57 345f892a5656: Waiting 16:05:57 4796506630df: Waiting 16:05:57 cc55df3e53f1: Waiting 16:05:57 4d027b6c602c: Waiting 16:05:57 449e75d2c14e: Waiting 16:05:57 4c4ab2625f07: Verifying Checksum 16:05:57 4c4ab2625f07: Download complete 16:05:57 adcc1eea9eea: Verifying Checksum 16:05:57 adcc1eea9eea: Download complete 16:05:57 345f892a5656: Verifying Checksum 16:05:57 345f892a5656: Download complete 16:05:58 540db60ca938: Verifying Checksum 16:05:58 540db60ca938: Download complete 16:05:58 cc55df3e53f1: Verifying Checksum 16:05:58 cc55df3e53f1: Download complete 16:05:58 540db60ca938: Pull complete 16:05:58 adcc1eea9eea: Pull complete 16:05:58 4c4ab2625f07: Pull complete 16:05:58 4d027b6c602c: Verifying Checksum 16:05:58 4d027b6c602c: Download complete 16:06:01 449e75d2c14e: Verifying Checksum 16:06:01 449e75d2c14e: Download complete 16:06:04 0773c198feca: Verifying Checksum 16:06:04 0773c198feca: Download complete 16:06:07 0773c198feca: Pull complete 16:06:07 345f892a5656: Pull complete 16:06:07 4796506630df: Pull complete 16:06:07 cc55df3e53f1: Pull complete 16:06:07 4d027b6c602c: Pull complete 16:06:09 449e75d2c14e: Pull complete 16:06:09 Digest: sha256:a2fa0993ec4462abfc92311096d2e43e803cda49eb027de246ea451416b7a8a8 16:06:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 16:06:09 ---> 0d28375d9b5b 16:06:09 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 16:06:09 20.10.0: Pulling from library/docker 16:06:09 05e7bc50f07f: Pulling fs layer 16:06:09 6db28d0fdbf6: Pulling fs layer 16:06:09 292df0bc6bf3: Pulling fs layer 16:06:09 2e060f4bd70b: Pulling fs layer 16:06:09 80e8d568a223: Pulling fs layer 16:06:09 8dc6ef1a942a: Pulling fs layer 16:06:09 2312dd95470a: Pulling fs layer 16:06:09 2e060f4bd70b: Waiting 16:06:09 80e8d568a223: Waiting 16:06:09 8dc6ef1a942a: Waiting 16:06:09 2312dd95470a: Waiting 16:06:09 292df0bc6bf3: Verifying Checksum 16:06:09 292df0bc6bf3: Download complete 16:06:09 6db28d0fdbf6: Verifying Checksum 16:06:09 6db28d0fdbf6: Download complete 16:06:09 80e8d568a223: Verifying Checksum 16:06:09 80e8d568a223: Download complete 16:06:09 8dc6ef1a942a: Verifying Checksum 16:06:09 8dc6ef1a942a: Download complete 16:06:09 05e7bc50f07f: Verifying Checksum 16:06:09 05e7bc50f07f: Download complete 16:06:10 2312dd95470a: Verifying Checksum 16:06:10 2312dd95470a: Download complete 16:06:10 05e7bc50f07f: Pull complete 16:06:10 6db28d0fdbf6: Pull complete 16:06:10 292df0bc6bf3: Pull complete 16:06:13 2e060f4bd70b: Verifying Checksum 16:06:13 2e060f4bd70b: Download complete 16:06:15 2e060f4bd70b: Pull complete 16:06:15 80e8d568a223: Pull complete 16:06:15 8dc6ef1a942a: Pull complete 16:06:15 2312dd95470a: Pull complete 16:06:15 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 16:06:15 Status: Downloaded newer image for docker:20.10.0 16:06:18 ---> 1086213ec7a4 16:06:18 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:06:18 ---> Running in 0ef1c52c4b72 16:06:18 Removing intermediate container 0ef1c52c4b72 16:06:18 ---> 6cabf95ce6cd 16:06:18 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 16:06:18 ---> Running in e27f44eb6838 16:06:18 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 16:06:19 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 16:06:19 (1/5) Installing libsodium (1.0.18-r0) 16:06:19 (2/5) Installing libzmq (4.3.3-r1) 16:06:19 (3/5) Installing pkgconf (1.7.3-r0) 16:06:19 (4/5) Installing libsodium-dev (1.0.18-r0) 16:06:20 (5/5) Installing zeromq-dev (4.3.3-r1) 16:06:20 Executing busybox-1.32.1-r6.trigger 16:06:20 OK: 150 MiB in 45 packages 16:06:20 Removing intermediate container e27f44eb6838 16:06:20 ---> 565ae50f8b6e 16:06:20 Step 6/8 : WORKDIR /build 16:06:20 ---> Running in 903d5dd2ab61 16:06:20 Removing intermediate container 903d5dd2ab61 16:06:20 ---> 3524a6d8a7f2 16:06:20 Step 7/8 : COPY go.mod . 16:06:20 ---> d6fed24d52d2 16:06:20 Step 8/8 : RUN go mod download 16:06:20 ---> Running in 7b44d62c3852 16:06:30 Removing intermediate container 7b44d62c3852 16:06:30 ---> 534a928f7383 16:06:30 Successfully built 534a928f7383 16:06:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:06:31 + docker inspect -f . ci-base-image-x86_64 16:06:31 . [Pipeline] withDockerContainer 16:06:31 prd-centos7-docker-4c-2g-367 does not seem to be running inside a container 16:06:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/6 -v /w/workspace/app-functions-sdk-go/6:/w/workspace/app-functions-sdk-go/6:rw,z -v /w/workspace/app-functions-sdk-go/6@tmp:/w/workspace/app-functions-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:06:31 $ docker top 81536c1c5a994ca10c5c0a3e191717fe290138a0325706f4d9e4f1cdab90a7c9 -eo pid,comm [Pipeline] { [Pipeline] sh 16:06:32 + go version 16:06:32 go version go1.16.5 linux/amd64 [Pipeline] } 16:06:32 $ docker stop --time=1 81536c1c5a994ca10c5c0a3e191717fe290138a0325706f4d9e4f1cdab90a7c9 16:06:33 $ docker rm -f 81536c1c5a994ca10c5c0a3e191717fe290138a0325706f4d9e4f1cdab90a7c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:06:33 + docker inspect -f . ci-base-image-x86_64 16:06:33 . [Pipeline] withDockerContainer 16:06:33 prd-centos7-docker-4c-2g-367 does not seem to be running inside a container 16:06:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/6 -v /w/workspace/app-functions-sdk-go/6:/w/workspace/app-functions-sdk-go/6:rw,z -v /w/workspace/app-functions-sdk-go/6@tmp:/w/workspace/app-functions-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:06:34 $ docker top 4b63ec56e52f648281dfb1e216f34845b41c69119061f6d4a228d9d05df686aa -eo pid,comm [Pipeline] { [Pipeline] sh 16:06:34 + go mod tidy [Pipeline] sh 16:06:35 + make test 16:06:35 make -C ./app-service-template build 16:06:35 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/6/app-service-template' 16:06:35 go mod tidy 16:06:35 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 16:06:45 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/6/app-service-template' 16:06:45 make -C ./app-service-template test 16:06:45 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/6/app-service-template' 16:06:45 go mod tidy 16:06:45 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 16:06:54 ok new-app-service 0.013s coverage: 47.8% of statements 16:06:54 ? new-app-service/config [no test files] 16:06:54 ok new-app-service/functions 0.007s 16:06:54 CGO_ENABLED=1 go vet ./... 16:07:00 gofmt -l . 16:07:00 [ "`gofmt -l .`" = "" ] 16:07:00 ./bin/test-attribution-txt.sh 16:07:00 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/6/app-service-template' 16:07:00 go mod tidy 16:07:00 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:07:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 16:07:02 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.012s coverage: 63.6% of statements 16:07:02 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.012s coverage: 96.5% of statements 16:07:02 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 16:07:03 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.010s coverage: 61.8% of statements 16:07:03 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 16:07:03 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.008s 16:07:04 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.026s coverage: 74.5% of statements 16:07:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 16:07:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 16:07:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 16:07:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 16:07:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 16:07:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 16:07:04 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.002s coverage: 97.1% of statements 16:07:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 16:07:04 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.007s coverage: 10.5% of statements 16:07:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.733s coverage: 76.1% of statements 16:07:07 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 16:07:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.006s coverage: 12.5% of statements 16:07:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.014s coverage: 27.3% of statements 16:07:07 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 16:07:07 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 16:07:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.009s coverage: 51.4% of statements 16:07:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.028s coverage: 78.1% of statements 16:07:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.006s coverage: 94.4% of statements 16:07:34 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:07:34 gofmt -l . 16:07:34 [ "`gofmt -l .`" = "" ] [Pipeline] } 16:07:34 $ docker stop --time=1 4b63ec56e52f648281dfb1e216f34845b41c69119061f6d4a228d9d05df686aa 16:07:35 $ docker rm -f 4b63ec56e52f648281dfb1e216f34845b41c69119061f6d4a228d9d05df686aa [Pipeline] // withDockerContainer [Pipeline] sh 16:07:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:07:36 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:07:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:07:37 16:07:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:07:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:07:37 latest: Pulling from edgex-lftools-log-publisher 16:07:37 b4d181a07f80: Pulling fs layer 16:07:37 a1111a8f2ec3: Pulling fs layer 16:07:37 ed53099fbce6: Pulling fs layer 16:07:37 dc539afda2c1: Pulling fs layer 16:07:37 77bc0d833cb6: Pulling fs layer 16:07:37 9065ff56babe: Pulling fs layer 16:07:37 d287ab97295c: Pulling fs layer 16:07:37 77bc0d833cb6: Waiting 16:07:37 9065ff56babe: Waiting 16:07:37 d287ab97295c: Waiting 16:07:37 dc539afda2c1: Waiting 16:07:38 a1111a8f2ec3: Verifying Checksum 16:07:38 a1111a8f2ec3: Download complete 16:07:38 dc539afda2c1: Verifying Checksum 16:07:38 dc539afda2c1: Download complete 16:07:38 77bc0d833cb6: Verifying Checksum 16:07:38 77bc0d833cb6: Download complete 16:07:38 ed53099fbce6: Verifying Checksum 16:07:38 ed53099fbce6: Download complete 16:07:38 9065ff56babe: Verifying Checksum 16:07:38 9065ff56babe: Download complete 16:07:39 b4d181a07f80: Verifying Checksum 16:07:39 b4d181a07f80: Download complete 16:07:40 b4d181a07f80: Pull complete 16:07:40 a1111a8f2ec3: Pull complete 16:07:40 ed53099fbce6: Pull complete 16:07:40 dc539afda2c1: Pull complete 16:07:41 77bc0d833cb6: Pull complete 16:07:41 9065ff56babe: Pull complete 16:07:43 d287ab97295c: Verifying Checksum 16:07:43 d287ab97295c: Download complete 16:07:48 d287ab97295c: Pull complete 16:07:48 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 16:07:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:07:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:07:48 prd-centos7-docker-4c-2g-367 does not seem to be running inside a container 16:07:48 $ 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/6 -v /w/workspace/app-functions-sdk-go/6:/w/workspace/app-functions-sdk-go/6:rw,z -v /w/workspace/app-functions-sdk-go/6@tmp:/w/workspace/app-functions-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:07:51 $ docker top e4ef42eef3daec2767a98c9181b1f944083de938fcb4d82bbfddccd473356e3f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:07:51 ---> job-cost.sh 16:07:51 lf-activate-venv: SKIPPING 16:07:51 INFO: No Stack... 16:07:53 INFO: Retrieving Pricing Info for: v3-standard-2 16:07:53 INFO: Archiving Costs [Pipeline] sh 16:07:54 + cat /w/workspace/app-functions-sdk-go/6/archives/cost.csv 16:07:54 + cut -d, -f6 [Pipeline] lock 16:07:54 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-6-stack-cost] 16:07:54 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-6-stack-cost] did not exist. Created. 16:07:54 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:07:54 + echo total: 0.05999999865889549 [Pipeline] stash 16:07:54 Stashed 1 file(s) [Pipeline] } 16:07:54 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-6-stack-cost] [Pipeline] // lock [Pipeline] } 16:07:54 $ docker stop --time=1 e4ef42eef3daec2767a98c9181b1f944083de938fcb4d82bbfddccd473356e3f 16:07:55 $ docker rm -f e4ef42eef3daec2767a98c9181b1f944083de938fcb4d82bbfddccd473356e3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:07:56 Running on prd-ubuntu18.04-docker-arm64-4c-16g-370 in /w/workspace/ndry_app-functions-sdk-go_PR-921 [Pipeline] { [Pipeline] ws 16:07:56 Running in /w/workspace/app-functions-sdk-go/6 [Pipeline] { [Pipeline] checkout 16:07:56 The recommended git tool is: git 16:08:04 using credential edgex-jenkins-ssh 16:08:04 Cloning the remote Git repository 16:08:04 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 16:08:04 > git init /w/workspace/app-functions-sdk-go/6 # timeout=10 16:08:04 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 16:08:04 > git --version # timeout=10 16:08:04 > git --version # 'git version 2.17.1' 16:08:04 using GIT_SSH to set credentials SSH Credentials for GitHub 16:08:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:08:08 Merging remotes/origin/main commit ebab09c1f1c3ca512e4b147264c251d1ef0d01e0 into PR head commit 3d03b172bcd6eb4337644beb82d4d8e6dbb78fb2 16:08:07 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 16:08:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:08:08 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 16:08:08 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 16:08:08 using GIT_SSH to set credentials SSH Credentials for GitHub 16:08:08 > 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 16:08:08 > git config core.sparsecheckout # timeout=10 16:08:08 > git checkout -f 3d03b172bcd6eb4337644beb82d4d8e6dbb78fb2 # timeout=10 16:08:08 > git remote # timeout=10 16:08:08 > git config --get remote.origin.url # timeout=10 16:08:08 using GIT_SSH to set credentials SSH Credentials for GitHub 16:08:08 > git merge ebab09c1f1c3ca512e4b147264c251d1ef0d01e0 # timeout=10 16:08:08 > git rev-parse HEAD^{commit} # timeout=10 16:08:08 Merge succeeded, producing 3d03b172bcd6eb4337644beb82d4d8e6dbb78fb2 16:08:08 Checking out Revision 3d03b172bcd6eb4337644beb82d4d8e6dbb78fb2 (PR-921) 16:08:08 > git config core.sparsecheckout # timeout=10 16:08:09 > git checkout -f 3d03b172bcd6eb4337644beb82d4d8e6dbb78fb2 # timeout=10 16:08:13 Commit message: "build(deps): bump github.com/google/uuid from 1.2.0 to 1.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 16:08:14 ========================================================= 16:08:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 16:08:14 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:08:15 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 16:08:16 Sending build context to Docker daemon 19.75MB 16:08:16 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 16:08:16 Step 2/8 : FROM ${BASE} 16:08:17 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:08:17 595b0fe564bb: Pulling fs layer 16:08:17 24495759ef45: Pulling fs layer 16:08:17 d148012ef14d: Pulling fs layer 16:08:17 cb65c68fc2e2: Pulling fs layer 16:08:17 093eec477d81: Pulling fs layer 16:08:17 a6d5b2bbb924: Pulling fs layer 16:08:17 2446dc1eb7d3: Pulling fs layer 16:08:17 596795e73e0f: Pulling fs layer 16:08:17 093eec477d81: Waiting 16:08:17 a6d5b2bbb924: Waiting 16:08:17 cb65c68fc2e2: Waiting 16:08:17 2446dc1eb7d3: Waiting 16:08:17 596795e73e0f: Waiting 16:08:17 d148012ef14d: Verifying Checksum 16:08:17 d148012ef14d: Download complete 16:08:17 24495759ef45: Verifying Checksum 16:08:17 24495759ef45: Download complete 16:08:17 093eec477d81: Download complete 16:08:17 a6d5b2bbb924: Download complete 16:08:17 2446dc1eb7d3: Verifying Checksum 16:08:17 2446dc1eb7d3: Download complete 16:08:17 595b0fe564bb: Download complete 16:08:18 595b0fe564bb: Pull complete 16:08:19 24495759ef45: Pull complete 16:08:19 d148012ef14d: Pull complete 16:08:21 596795e73e0f: Verifying Checksum 16:08:21 596795e73e0f: Download complete 16:08:22 cb65c68fc2e2: Verifying Checksum 16:08:22 cb65c68fc2e2: Download complete 16:08:32 cb65c68fc2e2: Pull complete 16:08:33 093eec477d81: Pull complete 16:08:33 a6d5b2bbb924: Pull complete 16:08:33 2446dc1eb7d3: Pull complete 16:08:38 596795e73e0f: Pull complete 16:08:38 Digest: sha256:8fdc37217a1dd7593ea05f088b02ef5bfb3cd8d6ab6705c4f2c080891875b7a0 16:08:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 16:08:38 ---> d9e956139c92 16:08:38 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 16:08:38 20.10.0: Pulling from library/docker 16:08:38 a3cc7d3b244e: Pulling fs layer 16:08:38 02a3295e0d61: Pulling fs layer 16:08:38 0f4f2e6d8100: Pulling fs layer 16:08:38 330b718f631f: Pulling fs layer 16:08:38 a93816041522: Pulling fs layer 16:08:38 bdb6da89ff94: Pulling fs layer 16:08:38 2a70c0c122f4: Pulling fs layer 16:08:38 330b718f631f: Waiting 16:08:38 a93816041522: Waiting 16:08:38 bdb6da89ff94: Waiting 16:08:38 2a70c0c122f4: Waiting 16:08:38 0f4f2e6d8100: Download complete 16:08:39 02a3295e0d61: Download complete 16:08:39 a93816041522: Download complete 16:08:39 a3cc7d3b244e: Verifying Checksum 16:08:39 bdb6da89ff94: Verifying Checksum 16:08:39 bdb6da89ff94: Download complete 16:08:39 2a70c0c122f4: Verifying Checksum 16:08:39 2a70c0c122f4: Download complete 16:08:40 a3cc7d3b244e: Pull complete 16:08:40 02a3295e0d61: Pull complete 16:08:40 330b718f631f: Verifying Checksum 16:08:40 330b718f631f: Download complete 16:08:41 0f4f2e6d8100: Pull complete 16:08:45 330b718f631f: Pull complete 16:08:45 a93816041522: Pull complete 16:08:46 bdb6da89ff94: Pull complete 16:08:46 2a70c0c122f4: Pull complete 16:08:46 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 16:08:46 Status: Downloaded newer image for docker:20.10.0 16:08:56 ---> 1dee324c5677 16:08:56 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:08:56 ---> Running in a9da1128f98d 16:08:57 Removing intermediate container a9da1128f98d 16:08:57 ---> c45af14ed312 16:08:57 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 16:08:57 ---> Running in 098f1299b702 16:08:59 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 16:09:00 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 16:09:02 (1/5) Installing libsodium (1.0.18-r0) 16:09:02 (2/5) Installing libzmq (4.3.3-r1) 16:09:03 (3/5) Installing pkgconf (1.7.3-r0) 16:09:03 (4/5) Installing libsodium-dev (1.0.18-r0) 16:09:03 (5/5) Installing zeromq-dev (4.3.3-r1) 16:09:03 Executing busybox-1.32.1-r6.trigger 16:09:03 OK: 139 MiB in 45 packages 16:09:05 Removing intermediate container 098f1299b702 16:09:05 ---> b9f6073fc2b3 16:09:05 Step 6/8 : WORKDIR /build 16:09:05 ---> Running in 6e6fed7270e2 16:09:06 Removing intermediate container 6e6fed7270e2 16:09:06 ---> d2bbc56d3bdd 16:09:06 Step 7/8 : COPY go.mod . 16:09:07 ---> 6de847e170f5 16:09:07 Step 8/8 : RUN go mod download 16:09:07 ---> Running in 23a2a47946e1 16:09:46 Removing intermediate container 23a2a47946e1 16:09:46 ---> 1f2af1901801 16:09:46 Successfully built 1f2af1901801 16:09:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:09:47 + docker inspect -f . ci-base-image-arm64 16:09:47 . [Pipeline] withDockerContainer 16:09:47 prd-ubuntu18.04-docker-arm64-4c-16g-370 does not seem to be running inside a container 16:09:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/6 -v /w/workspace/app-functions-sdk-go/6:/w/workspace/app-functions-sdk-go/6:rw,z -v /w/workspace/app-functions-sdk-go/6@tmp:/w/workspace/app-functions-sdk-go/6@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 16:09:49 $ docker top 84cd28cfbda3cba7537a2b994ff09bbd96e97cb22b34df6aaebef4e84916db10 -eo pid,comm [Pipeline] { [Pipeline] sh 16:09:50 + go version 16:09:50 go version go1.16.5 linux/arm64 [Pipeline] } 16:09:50 $ docker stop --time=1 84cd28cfbda3cba7537a2b994ff09bbd96e97cb22b34df6aaebef4e84916db10 16:09:52 $ docker rm -f 84cd28cfbda3cba7537a2b994ff09bbd96e97cb22b34df6aaebef4e84916db10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:09:53 + docker inspect -f . ci-base-image-arm64 16:09:53 . [Pipeline] withDockerContainer 16:09:53 prd-ubuntu18.04-docker-arm64-4c-16g-370 does not seem to be running inside a container 16:09:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/6 -v /w/workspace/app-functions-sdk-go/6:/w/workspace/app-functions-sdk-go/6:rw,z -v /w/workspace/app-functions-sdk-go/6@tmp:/w/workspace/app-functions-sdk-go/6@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 16:09:56 $ docker top 6f8c7f38ec6958f4fc9e1c3243f3563afe4b7c854acaa67a86359c8b98c90940 -eo pid,comm [Pipeline] { [Pipeline] sh 16:09:57 + go mod tidy [Pipeline] sh 16:09:59 + make test 16:09:59 make -C ./app-service-template build 16:09:59 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/6/app-service-template' 16:09:59 go mod tidy 16:10:00 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 16:10:39 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/6/app-service-template' 16:10:39 make -C ./app-service-template test 16:10:39 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/6/app-service-template' 16:10:39 go mod tidy 16:10:39 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 16:11:11 ok new-app-service 0.045s coverage: 47.8% of statements 16:11:11 ? new-app-service/config [no test files] 16:11:11 ok new-app-service/functions 0.041s 16:11:11 CGO_ENABLED=1 go vet ./... 16:11:44 gofmt -l . 16:11:44 [ "`gofmt -l .`" = "" ] 16:11:44 ./bin/test-attribution-txt.sh 16:11:44 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/6/app-service-template' 16:11:44 go mod tidy 16:11:44 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:11:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 16:11:53 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.126s coverage: 63.6% of statements 16:11:53 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.062s coverage: 96.5% of statements 16:11:53 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 16:11:53 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.144s coverage: 61.8% of statements 16:11:53 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 16:11:53 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.062s 16:11:54 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.156s coverage: 74.5% of statements 16:11:54 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 16:11:54 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 16:11:54 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 16:11:54 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 16:11:54 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 16:11:54 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 16:11:54 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.033s coverage: 97.1% of statements 16:11:54 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 16:11:54 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.065s coverage: 10.5% of statements 16:12:01 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.882s coverage: 76.1% of statements 16:12:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 16:12:01 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.036s coverage: 12.5% of statements 16:12:01 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.040s coverage: 27.3% of statements 16:12:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 16:12:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 16:12:01 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.044s coverage: 51.4% of statements 16:12:27 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.107s coverage: 78.1% of statements 16:12:27 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.035s coverage: 94.4% of statements 16:12:27 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:12:30 gofmt -l . 16:12:30 [ "`gofmt -l .`" = "" ] [Pipeline] } 16:12:31 $ docker stop --time=1 6f8c7f38ec6958f4fc9e1c3243f3563afe4b7c854acaa67a86359c8b98c90940 16:12:33 $ docker rm -f 6f8c7f38ec6958f4fc9e1c3243f3563afe4b7c854acaa67a86359c8b98c90940 [Pipeline] // withDockerContainer [Pipeline] sh 16:12:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:12:34 Warning: overwriting stash ‘coverage-report’ 16:12:35 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:12:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:12:36 16:12:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 16:12:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:12:36 arm64: Pulling from edgex-lftools-log-publisher 16:12:36 448f6bf000e3: Pulling fs layer 16:12:36 f757da607395: Pulling fs layer 16:12:36 05883995daec: Pulling fs layer 16:12:36 8603b9c90790: Pulling fs layer 16:12:36 1560dd03e051: Pulling fs layer 16:12:36 27f5ce0e4adf: Pulling fs layer 16:12:36 c2d8d7efcc4b: Pulling fs layer 16:12:36 1560dd03e051: Waiting 16:12:36 27f5ce0e4adf: Waiting 16:12:36 8603b9c90790: Waiting 16:12:36 c2d8d7efcc4b: Waiting 16:12:37 f757da607395: Verifying Checksum 16:12:37 f757da607395: Download complete 16:12:37 8603b9c90790: Verifying Checksum 16:12:37 8603b9c90790: Download complete 16:12:37 1560dd03e051: Verifying Checksum 16:12:37 1560dd03e051: Download complete 16:12:37 27f5ce0e4adf: Verifying Checksum 16:12:37 27f5ce0e4adf: Download complete 16:12:37 05883995daec: Verifying Checksum 16:12:37 05883995daec: Download complete 16:12:38 448f6bf000e3: Verifying Checksum 16:12:38 448f6bf000e3: Download complete 16:12:41 c2d8d7efcc4b: Verifying Checksum 16:12:41 c2d8d7efcc4b: Download complete 16:12:42 448f6bf000e3: Pull complete 16:12:42 f757da607395: Pull complete 16:12:44 05883995daec: Pull complete 16:12:44 8603b9c90790: Pull complete 16:12:45 1560dd03e051: Pull complete 16:12:46 27f5ce0e4adf: Pull complete 16:13:01 c2d8d7efcc4b: Pull complete 16:13:01 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 16:13:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:13:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 16:13:01 prd-ubuntu18.04-docker-arm64-4c-16g-370 does not seem to be running inside a container 16:13:01 $ 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/6 -v /w/workspace/app-functions-sdk-go/6:/w/workspace/app-functions-sdk-go/6:rw,z -v /w/workspace/app-functions-sdk-go/6@tmp:/w/workspace/app-functions-sdk-go/6@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 16:13:07 $ docker top b986778e27ecaffa683f0660169a1862373573d915d15c350801378bfe47e83b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:13:09 ---> job-cost.sh 16:13:09 lf-activate-venv: SKIPPING 16:13:09 INFO: No Stack... 16:13:10 INFO: Retrieving Pricing Info for: v2-standard-4 16:13:11 INFO: Archiving Costs [Pipeline] sh 16:13:11 + + cat /w/workspace/app-functions-sdk-go/6/archives/cost.csv 16:13:11 cut -d, -f6 [Pipeline] lock 16:13:11 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-6-stack-cost] 16:13:11 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-6-stack-cost] did not exist. Created. 16:13:11 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:13:12 /w/workspace/app-functions-sdk-go/6@tmp/durable-72631120/script.sh: 1: /w/workspace/app-functions-sdk-go/6@tmp/durable-72631120/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 16:13:13 + echo total: 0.18000000715255737 [Pipeline] stash 16:13:13 Warning: overwriting stash ‘stack-cost’ 16:13:13 Stashed 1 file(s) [Pipeline] } 16:13:13 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-6-stack-cost] [Pipeline] // lock [Pipeline] } 16:13:13 $ docker stop --time=1 b986778e27ecaffa683f0660169a1862373573d915d15c350801378bfe47e83b 16:13:15 $ docker rm -f b986778e27ecaffa683f0660169a1862373573d915d15c350801378bfe47e83b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 16:13:16 provisioning config files... 16:13:16 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-921@tmp/config2344551995157561449tmp [Pipeline] { [Pipeline] sh 16:13:16 + set +x 16:13:16 + curl -s https://codecov.io/bash 16:13:16 + bash -s -- 16:13:16 16:13:16 _____ _ 16:13:16 / ____| | | 16:13:16 | | ___ __| | ___ ___ _____ __ 16:13:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:13:16 | |___| (_) | (_| | __/ (_| (_) \ V / 16:13:16 \_____\___/ \__,_|\___|\___\___/ \_/ 16:13:16 Bash-1.0.6 16:13:16 16:13:16 16:13:16 ==> git version 2.24.4 found 16:13:16 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 16:13:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 16:13:16 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 16:13:16 ==> Jenkins CI detected. 16:13:16 current dir:  /w/workspace/ndry_app-functions-sdk-go_PR-921 16:13:16 project root: . 16:13:16 --> token set from env 16:13:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:13:16 ==> Running gcov in . (disable via -X gcov) 16:13:16 ==> Python coveragepy not found 16:13:16 ==> Searching for coverage reports in: 16:13:16 + . 16:13:16 -> Found 2 reports 16:13:16 ==> Detecting git/mercurial file structure 16:13:16 ==> Reading reports 16:13:16 + ./app-service-template/coverage.out bytes=1055 16:13:16 + ./coverage.out bytes=95183 16:13:16 ==> Appending adjustments 16:13:16 https://docs.codecov.io/docs/fixing-reports 16:13:17 + Found adjustments 16:13:17 ==> Gzipping contents 16:13:17 20K /tmp/codecov.QlicyY.gz 16:13:17 ==> Uploading reports 16:13:17 url: https://codecov.io 16:13:17 query: branch=PR-921&commit=3d03b172bcd6eb4337644beb82d4d8e6dbb78fb2&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-921%2F6%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=921&job=&cmd_args= 16:13:17 -> Pinging Codecov 16:13:17 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=3d03b172bcd6eb4337644beb82d4d8e6dbb78fb2&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-921%2F6%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=921&job=&cmd_args= 16:13:17 -> Uploading to 16:13:17 https://storage.googleapis.com/codecov/v4/raw/2021-07-28/3D8B5DFFC46A037C893635FACE044666/3d03b172bcd6eb4337644beb82d4d8e6dbb78fb2/6f6cbe31-0974-4b0d-91e0-e4e94abece6e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210728%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210728T161317Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=927217c437a9a928cd7d9f0ad971504a90280702abf2ee3d55868b01d1d80ee9 16:13:17 % Total % Received % Xferd Average Speed Time Time Time Current 16:13:17 Dload Upload Total Spent Left Speed 16:13:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16466 0 0 100 16466 0 39090 --:--:-- --:--:-- --:--:-- 39111 16:13:17 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/3d03b172bcd6eb4337644beb82d4d8e6dbb78fb2 [Pipeline] } 16:13:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 16:13:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:13:20 ---> package-listing.sh 16:13:20 ++ tr '[:upper:]' '[:lower:]' 16:13:20 ++ facter osfamily 16:13:20 + OS_FAMILY=redhat 16:13:20 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-921 16:13:20 + START_PACKAGES=/tmp/packages_start.txt 16:13:20 + END_PACKAGES=/tmp/packages_end.txt 16:13:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:13:20 + PACKAGES=/tmp/packages_start.txt 16:13:20 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-921 ']' 16:13:20 + PACKAGES=/tmp/packages_end.txt 16:13:20 + case "${OS_FAMILY}" in 16:13:20 + rpm -qa 16:13:20 + sort 16:13:21 + '[' -f /tmp/packages_start.txt ']' 16:13:21 + '[' -f /tmp/packages_end.txt ']' 16:13:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:13:21 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-921 ']' 16:13:21 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-921/archives/ 16:13:21 + 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 16:13:21 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 16:13:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:13:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:13:22 16:13:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:13:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:13:28 latest: Pulling from edgex-lftools-log-publisher 16:13:28 b4d181a07f80: Pulling fs layer 16:13:28 a1111a8f2ec3: Pulling fs layer 16:13:28 ed53099fbce6: Pulling fs layer 16:13:28 dc539afda2c1: Pulling fs layer 16:13:28 77bc0d833cb6: Pulling fs layer 16:13:28 9065ff56babe: Pulling fs layer 16:13:28 d287ab97295c: Pulling fs layer 16:13:28 dc539afda2c1: Waiting 16:13:28 77bc0d833cb6: Waiting 16:13:28 9065ff56babe: Waiting 16:13:28 d287ab97295c: Waiting 16:13:28 a1111a8f2ec3: Verifying Checksum 16:13:28 a1111a8f2ec3: Download complete 16:13:28 dc539afda2c1: Verifying Checksum 16:13:28 dc539afda2c1: Download complete 16:13:29 77bc0d833cb6: Verifying Checksum 16:13:29 77bc0d833cb6: Download complete 16:13:29 9065ff56babe: Verifying Checksum 16:13:29 9065ff56babe: Download complete 16:13:29 ed53099fbce6: Verifying Checksum 16:13:29 ed53099fbce6: Download complete 16:13:30 b4d181a07f80: Verifying Checksum 16:13:30 b4d181a07f80: Download complete 16:13:31 b4d181a07f80: Pull complete 16:13:31 a1111a8f2ec3: Pull complete 16:13:32 ed53099fbce6: Pull complete 16:13:32 dc539afda2c1: Pull complete 16:13:32 77bc0d833cb6: Pull complete 16:13:32 9065ff56babe: Pull complete 16:13:38 d287ab97295c: Verifying Checksum 16:13:38 d287ab97295c: Download complete 16:13:43 d287ab97295c: Pull complete 16:13:43 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 16:13:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:13:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:13:43 prd-centos7-docker-4c-2g-362 does not seem to be running inside a container 16:13:43 $ 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 16:13:46 $ docker top bc644fba9c079394e33fb6df75624985de730d226f393c5b8f5e8415ee82ff0e -eo pid,comm [Pipeline] { [Pipeline] sh 16:13:46 + touch /tmp/pre-build-complete [Pipeline] sh 16:13:46 + mkdir -p /var/log/sysstat [Pipeline] sh 16:13:47 + ls /var/log/sa-host 16:13:47 + sadf -c /var/log/sa-host/sa05 16:13:47 file_magic: OK 16:13:47 HZ: Using current value: 100 16:13:47 file_header: OK 16:13:47 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 16:13:47 Statistics: 16:13:47 Hnuu...uuuununununu...Hnuu...uuuununununu... 16:13:47 File successfully converted to sysstat format version 12.0.3 16:13:47 + sadf -c /var/log/sa-host/sa28 16:13:47 file_magic: OK 16:13:47 HZ: Using current value: 100 16:13:47 file_header: OK 16:13:47 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 16:13:47 Statistics: 16:13:47 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:13:47 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:13:47 provisioning config files... 16:13:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-921@tmp/config3766051786113696663tmp [Pipeline] { [Pipeline] echo 16:13:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:13:47 ---> create-netrc.sh [Pipeline] } 16:13:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:13:48 ---> python-tools-install.sh [Pipeline] echo 16:13:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:13:48 ---> sudo-logs.sh 16:13:48 Archiving 'sudo' log.. 16:13:48 sudo: unable to resolve host prd-centos7-docker-4c-2g-362.vexxhost.local: Name or service not known 16:13:48 sudo: unable to resolve host prd-centos7-docker-4c-2g-362.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 16:13:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:13:48 ---> job-cost.sh 16:13:48 lf-activate-venv: SKIPPING 16:13:48 DEBUG: total: 0.18000000715255737 16:13:48 INFO: Retrieving Stack Cost... 16:13:49 INFO: Retrieving Pricing Info for: v3-standard-2 16:13:50 INFO: Archiving Costs [Pipeline] echo 16:13:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:13:50 ---> logs-deploy.sh 16:13:50 lf-activate-venv: SKIPPING 16:13:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-921/6 16:13:50 INFO: archiving workspace using pattern(s): 16:13:51 Archives upload complete. 16:13:51 INFO: archiving logs to Nexus 16:13:51 ---> uname -a: 16:13:51 Linux prd-centos7-docker-4c-2g-362.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux 16:13:51 16:13:51 16:13:51 ---> lscpu: 16:13:51 Architecture: x86_64 16:13:51 CPU op-mode(s): 32-bit, 64-bit 16:13:51 Byte Order: Little Endian 16:13:51 Address sizes: 40 bits physical, 48 bits virtual 16:13:51 CPU(s): 2 16:13:51 On-line CPU(s) list: 0,1 16:13:51 Thread(s) per core: 1 16:13:51 Core(s) per socket: 1 16:13:51 Socket(s): 2 16:13:51 NUMA node(s): 1 16:13:51 Vendor ID: AuthenticAMD 16:13:51 CPU family: 23 16:13:51 Model: 49 16:13:51 Model name: AMD EPYC-Rome Processor 16:13:51 Stepping: 0 16:13:51 CPU MHz: 2799.998 16:13:51 BogoMIPS: 5599.99 16:13:51 Virtualization: AMD-V 16:13:51 Hypervisor vendor: KVM 16:13:51 Virtualization type: full 16:13:51 L1d cache: 32K 16:13:51 L1i cache: 32K 16:13:51 L2 cache: 512K 16:13:51 L3 cache: 16384K 16:13:51 NUMA node0 CPU(s): 0,1 16:13:51 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 16:13:51 16:13:51 16:13:51 ---> nproc: 16:13:51 2 16:13:51 16:13:51 16:13:51 ---> df -h: 16:13:51 Filesystem Size Used Avail Use% Mounted on 16:13:51 overlay 40G 7.7G 33G 20% / 16:13:51 tmpfs 64M 0 64M 0% /dev 16:13:51 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 16:13:51 shm 64M 0 64M 0% /dev/shm 16:13:51 /dev/vda1 40G 7.7G 33G 20% /facter-os 16:13:51 16:13:51 16:13:51 ---> sar -b -r -n DEV: 16:13:51 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/28/21 _x86_64_ (2 CPU) 16:13:51 16:13:51 16:03:08 LINUX RESTART (2 CPU) 16:13:51 16:13:51 16:04:02 tps rtps wtps bread/s bwrtn/s 16:13:51 16:05:01 6.37 0.19 6.18 23.57 1375.95 16:13:51 16:06:01 1.67 0.00 1.67 0.00 31.55 16:13:51 16:07:01 0.27 0.00 0.27 0.00 3.20 16:13:51 16:08:01 0.20 0.00 0.20 0.00 2.87 16:13:51 16:09:01 0.17 0.00 0.17 0.00 2.50 16:13:51 16:10:01 0.35 0.00 0.35 0.00 4.81 16:13:51 16:11:01 0.28 0.00 0.28 0.00 4.38 16:13:51 16:12:01 0.27 0.00 0.27 0.00 3.61 16:13:51 16:13:01 0.23 0.00 0.23 0.00 2.73 16:13:51 Average: 1.08 0.02 1.06 2.58 156.85 16:13:51 16:13:51 16:04:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:13:51 16:05:01 5430208 0 807504 10.08 2620 1768608 1253240 13.84 599752 1579516 20 16:13:51 16:06:01 5431244 0 806460 10.07 2620 1768616 1227540 13.55 601248 1577304 8 16:13:51 16:07:01 5431048 0 806656 10.07 2620 1768616 1227588 13.55 602536 1576416 8 16:13:51 16:08:01 5431028 0 806668 10.07 2620 1768624 1207016 13.33 602580 1576416 20 16:13:51 16:09:01 5430780 0 806912 10.08 2620 1768628 1207028 13.33 593964 1585152 8 16:13:51 16:10:01 5430252 0 807432 10.08 2620 1768636 1207056 13.33 594792 1585152 8 16:13:51 16:11:01 5429676 0 808004 10.09 2620 1768640 1207128 13.33 595480 1585152 8 16:13:51 16:12:01 5425336 0 812340 10.14 2620 1768644 1206816 13.32 599684 1585152 8 16:13:51 16:13:01 5424940 0 812732 10.15 2620 1768648 1206816 13.32 601992 1583344 8 16:13:51 Average: 5429390 0 808301 10.09 2620 1768629 1216692 13.43 599114 1581512 11 16:13:51 16:13:51 16:04:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:13:51 16:05:01 eth0 151.06 145.55 337.28 18.03 0.00 0.00 0.00 0.00 16:13:51 16:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:51 16:05:01 docker0 135.28 130.55 10.78 321.37 0.00 0.00 0.00 0.00 16:13:51 16:06:01 eth0 1.92 0.30 0.40 0.20 0.00 0.00 0.00 0.00 16:13:51 16:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:51 16:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:51 16:07:01 eth0 1.53 0.38 0.34 0.20 0.00 0.00 0.00 0.00 16:13:51 16:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:51 16:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:51 16:08:01 eth0 1.70 0.53 0.61 0.36 0.00 0.00 0.00 0.00 16:13:51 16:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:51 16:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:51 16:09:01 eth0 0.87 0.43 0.43 0.30 0.00 0.00 0.00 0.00 16:13:51 16:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:51 16:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:51 16:10:01 eth0 1.00 0.32 0.32 0.17 0.00 0.00 0.00 0.00 16:13:51 16:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:51 16:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:51 16:11:01 eth0 0.52 0.48 0.27 0.24 0.00 0.00 0.00 0.00 16:13:51 16:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:51 16:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:51 16:12:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 16:13:51 16:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:51 16:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:51 16:13:01 eth0 0.18 0.08 0.01 0.01 0.00 0.00 0.00 0.00 16:13:51 16:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:51 16:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:51 Average: eth0 17.41 16.23 37.20 2.14 0.00 0.00 0.00 0.00 16:13:51 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:51 Average: docker0 14.81 14.29 1.18 35.19 0.00 0.00 0.00 0.00 16:13:51 16:13:51 16:13:51 ---> sar -P ALL: 16:13:51 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/28/21 _x86_64_ (2 CPU) 16:13:51 16:13:51 16:03:08 LINUX RESTART (2 CPU) 16:13:51 16:13:51 16:04:02 CPU %user %nice %system %iowait %steal %idle 16:13:51 16:05:01 all 2.35 0.00 0.77 0.13 0.03 96.72 16:13:51 16:05:01 0 2.47 0.00 0.82 0.22 0.03 96.45 16:13:51 16:05:01 1 2.22 0.00 0.72 0.03 0.03 96.99 16:13:51 16:06:01 all 0.25 0.00 0.04 0.00 0.00 99.71 16:13:51 16:06:01 0 0.40 0.00 0.05 0.00 0.00 99.55 16:13:51 16:06:01 1 0.10 0.00 0.03 0.00 0.00 99.87 16:13:51 16:07:01 all 0.25 0.00 0.04 0.00 0.02 99.69 16:13:51 16:07:01 0 0.42 0.00 0.03 0.00 0.02 99.53 16:13:51 16:07:01 1 0.08 0.00 0.05 0.00 0.02 99.85 16:13:51 16:08:01 all 0.26 0.00 0.04 0.00 0.00 99.70 16:13:51 16:08:01 0 0.43 0.00 0.07 0.00 0.00 99.50 16:13:51 16:08:01 1 0.08 0.00 0.02 0.00 0.00 99.90 16:13:51 16:09:01 all 0.09 0.00 0.06 0.00 0.02 99.83 16:13:51 16:09:01 0 0.08 0.00 0.05 0.00 0.02 99.85 16:13:51 16:09:01 1 0.10 0.00 0.07 0.00 0.02 99.82 16:13:51 16:10:01 all 0.21 0.00 0.05 0.00 0.01 99.73 16:13:51 16:10:01 0 0.07 0.00 0.05 0.00 0.02 99.87 16:13:51 16:10:01 1 0.35 0.00 0.05 0.00 0.00 99.60 16:13:51 16:11:01 all 0.25 0.00 0.05 0.00 0.02 99.68 16:13:51 16:11:01 0 0.10 0.00 0.07 0.00 0.02 99.82 16:13:51 16:11:01 1 0.40 0.00 0.03 0.00 0.02 99.55 16:13:51 16:12:01 all 0.22 0.00 0.05 0.00 0.00 99.73 16:13:51 16:12:01 0 0.03 0.00 0.05 0.00 0.00 99.92 16:13:51 16:12:01 1 0.40 0.00 0.05 0.00 0.00 99.55 16:13:51 16:13:01 all 0.25 0.00 0.06 0.00 0.01 99.68 16:13:51 16:13:01 0 0.33 0.00 0.07 0.00 0.02 99.58 16:13:51 16:13:01 1 0.17 0.00 0.05 0.00 0.00 99.78 16:13:51 Average: all 0.45 0.00 0.13 0.01 0.01 99.39 16:13:51 Average: 0 0.48 0.00 0.14 0.02 0.01 99.35 16:13:51 Average: 1 0.43 0.00 0.12 0.00 0.01 99.44 16:13:51 16:13:51 16:13:51