Pull request #934 opened 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 ernestojeda for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from b3ca90582895055df56e9268e143865a1e8d2fb0+d60328c32dfc0c7c0cb78d3227db5683dd1fac29 (47a50e5a3d8a7a9c5b9dc0e7cf211fe58e00435e) Running in Durability level: MAX_SURVIVABILITY 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-ssh6628714609217214555.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-ssh638174885855938336.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-934/workspace@libs/edgex-global-pipelines # timeout=10 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-934/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4259419715800822752.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-934/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2600554482264707916.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh8551400904461861782.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-934/workspace@libs/lf-pipelines # timeout=10 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-934/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6036689879308902978.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-992 in /w/workspace/ndry_app-functions-sdk-go_PR-934 [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-934 # 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-934@tmp/jenkins-gitclient-ssh1901415962939371940.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 d60328c32dfc0c7c0cb78d3227db5683dd1fac29 into PR head commit b3ca90582895055df56e9268e143865a1e8d2fb0 Merge succeeded, producing b3ca90582895055df56e9268e143865a1e8d2fb0 Checking out Revision b3ca90582895055df56e9268e143865a1e8d2fb0 (PR-934) > 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-934@tmp/jenkins-gitclient-ssh5536772696779479815.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/934/head:refs/remotes/origin/PR-934 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b3ca90582895055df56e9268e143865a1e8d2fb0 # 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-934@tmp/jenkins-gitclient-ssh4397299031816675054.key > git merge d60328c32dfc0c7c0cb78d3227db5683dd1fac29 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b3ca90582895055df56e9268e143865a1e8d2fb0 # timeout=10 Commit message: "ci: remove the need for a ci specific Dockerfile" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:37:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:37:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:37:58 ========================================================= 20:37:58 EdgeX Global Pipelines Version Info 20:37:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:38:00 ------------------- 20:38:00 stable info: 20:38:00 ------------------- 20:38:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:38:00 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 20:38:00 Message: update stable to v1.0.205 20:38:00 ------------------- 20:38:00 experimental info: 20:38:00 ------------------- 20:38:00 Commited By: **** collab-it+edgex@linuxfoundation.org 20:38:00 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 20:38:00 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:38:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 20:38:00 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 20:38:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:38:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:38:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:38:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 20:38:01 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 20:38:01 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 20:38:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:38:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:38:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:38:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:38:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 20:38:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:38:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:38:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 20:38:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 20:38:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:38:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:38:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:38:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:38:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:38:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 20:38:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:38:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:38:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 20:38:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:38:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-934 [Pipeline] echo 20:38:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-934 [Pipeline] echo 20:38:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-934 [Pipeline] echo 20:38:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b3ca90582895055df56e9268e143865a1e8d2fb0 [Pipeline] echo 20:38:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b3ca905 [Pipeline] echo 20:38:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:38:03 + git log --format=format:%s -1 b3ca90582895055df56e9268e143865a1e8d2fb0 [Pipeline] echo 20:38:03 GIT_COMMIT: b3ca90582895055df56e9268e143865a1e8d2fb0, Commit Message: ci: remove the need for a ci specific Dockerfile [Pipeline] echo 20:38:03 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 20:38:04 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:38:04 20:38:04 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:38:05 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:38:05 latest: Pulling from edgex-devops/git-semver 20:38:05 31603596830f: Pulling fs layer 20:38:05 d4622e32a9a9: Pulling fs layer 20:38:05 1030fce36090: Pulling fs layer 20:38:05 6c6cb7e1b49b: Pulling fs layer 20:38:05 6c6cb7e1b49b: Waiting 20:38:05 d4622e32a9a9: Verifying Checksum 20:38:05 d4622e32a9a9: Download complete 20:38:05 31603596830f: Verifying Checksum 20:38:05 31603596830f: Download complete 20:38:05 6c6cb7e1b49b: Verifying Checksum 20:38:05 6c6cb7e1b49b: Download complete 20:38:05 31603596830f: Pull complete 20:38:05 d4622e32a9a9: Pull complete 20:38:05 1030fce36090: Verifying Checksum 20:38:05 1030fce36090: Download complete 20:38:06 1030fce36090: Pull complete 20:38:06 6c6cb7e1b49b: Pull complete 20:38:06 Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab 20:38:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:38:06 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:38:06 prd-centos7-docker-4c-2g-992 does not seem to be running inside a container 20:38:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-934 -v /w/workspace/ndry_app-functions-sdk-go_PR-934:/w/workspace/ndry_app-functions-sdk-go_PR-934:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-934@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-934@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 20:38:07 $ docker top 52a3e89da18c379ec65c13338214dd435ba23dc5197ead975ef866e332451aaa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:38:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:38:07 [ssh-agent] Looking for ssh-agent implementation... 20:38:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:38:07 $ docker exec 52a3e89da18c379ec65c13338214dd435ba23dc5197ead975ef866e332451aaa ssh-agent 20:38:07 SSH_AUTH_SOCK=/tmp/ssh-INvTTn5HYfJy/agent.14 20:38:07 SSH_AGENT_PID=20 20:38:07 Running ssh-add (command line suppressed) 20:38:07 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-934@tmp/private_key_7123347055525650357.key (/w/workspace/ndry_app-functions-sdk-go_PR-934@tmp/private_key_7123347055525650357.key) 20:38:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:38:08 + git tag --points-at HEAD [Pipeline] } 20:38:08 $ docker exec --env ******** --env ******** 52a3e89da18c379ec65c13338214dd435ba23dc5197ead975ef866e332451aaa ssh-agent -k 20:38:08 unset SSH_AUTH_SOCK; 20:38:08 unset SSH_AGENT_PID; 20:38:08 echo Agent pid 20 killed; 20:38:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:38:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:38:08 [ssh-agent] Looking for ssh-agent implementation... 20:38:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:38:08 $ docker exec 52a3e89da18c379ec65c13338214dd435ba23dc5197ead975ef866e332451aaa ssh-agent 20:38:08 SSH_AUTH_SOCK=/tmp/ssh-Aiooa4YPcui6/agent.56 20:38:08 SSH_AGENT_PID=62 20:38:08 Running ssh-add (command line suppressed) 20:38:08 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-934@tmp/private_key_5826064599209817133.key (/w/workspace/ndry_app-functions-sdk-go_PR-934@tmp/private_key_5826064599209817133.key) 20:38:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:38:09 + git semver init 20:38:09 # -> Open(): unable to determine branch for HEAD 20:38:09 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-934/.git 20:38:09 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-934 20:38:09 # $SEMVER_REMOTE_NAME = origin 20:38:09 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:38:09 # $SEMVER_USER_NAME = edgex-jenkins 20:38:09 # $SEMVER_BRANCH = PR-934 20:38:09 # $SEMVER_TEMP = /tmp/semver-711174580 20:38:09 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 20:38:11 # '/tmp/semver-711174580' -> '/w/workspace/ndry_app-functions-sdk-go_PR-934/.semver' 20:38:11 # -> Force: false 20:38:11 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-934/.semver [Pipeline] } 20:38:11 $ docker exec --env ******** --env ******** 52a3e89da18c379ec65c13338214dd435ba23dc5197ead975ef866e332451aaa ssh-agent -k 20:38:11 unset SSH_AUTH_SOCK; 20:38:11 unset SSH_AGENT_PID; 20:38:11 echo Agent pid 62 killed; 20:38:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:38:11 + git semver [Pipeline] } 20:38:11 $ docker stop --time=1 52a3e89da18c379ec65c13338214dd435ba23dc5197ead975ef866e332451aaa 20:38:13 $ docker rm -f 52a3e89da18c379ec65c13338214dd435ba23dc5197ead975ef866e332451aaa [Pipeline] // withDockerContainer [Pipeline] sh 20:38:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:38:14 Stashed 1 file(s) [Pipeline] echo 20:38:14 [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 20:38:29 Still waiting to schedule task 20:38:29 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-992’ 20:38:29 Still waiting to schedule task 20:38:29 ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ is offline 20:40:29 Running on prd-ubuntu18.04-docker-arm64-4c-16g-993 in /w/workspace/ndry_app-functions-sdk-go_PR-934 [Pipeline] { [Pipeline] ws 20:40:29 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 20:40:29 The recommended git tool is: git 20:40:35 using credential edgex-jenkins-ssh 20:40:35 Cloning the remote Git repository 20:40:35 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 20:40:35 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 20:40:35 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:40:35 > git --version # timeout=10 20:40:35 > git --version # 'git version 2.17.1' 20:40:35 using GIT_SSH to set credentials SSH Credentials for GitHub 20:40:35 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:40:41 Merging remotes/origin/main commit d60328c32dfc0c7c0cb78d3227db5683dd1fac29 into PR head commit b3ca90582895055df56e9268e143865a1e8d2fb0 20:40:41 Merge succeeded, producing b3ca90582895055df56e9268e143865a1e8d2fb0 20:40:41 Checking out Revision b3ca90582895055df56e9268e143865a1e8d2fb0 (PR-934) 20:40:40 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:40:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:40:40 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:40:40 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:40:40 using GIT_SSH to set credentials SSH Credentials for GitHub 20:40:40 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/934/head:refs/remotes/origin/PR-934 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:40:41 > git config core.sparsecheckout # timeout=10 20:40:41 > git checkout -f b3ca90582895055df56e9268e143865a1e8d2fb0 # timeout=10 20:40:41 > git remote # timeout=10 20:40:41 > git config --get remote.origin.url # timeout=10 20:40:41 using GIT_SSH to set credentials SSH Credentials for GitHub 20:40:41 > git merge d60328c32dfc0c7c0cb78d3227db5683dd1fac29 # timeout=10 20:40:41 > git rev-parse HEAD^{commit} # timeout=10 20:40:41 > git config core.sparsecheckout # timeout=10 20:40:41 > git checkout -f b3ca90582895055df56e9268e143865a1e8d2fb0 # timeout=10 20:40:45 Commit message: "ci: remove the need for a ci specific Dockerfile" 20:40:45 > git --version # timeout=10 20:40:45 > git --version # 'git version 2.17.1' 20:40:45 fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 20:40:47 ========================================================= 20:40:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 20:40:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 20:40:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 20:40:48 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:40:48 595b0fe564bb: Pulling fs layer 20:40:48 24495759ef45: Pulling fs layer 20:40:48 d148012ef14d: Pulling fs layer 20:40:48 e90a11edd702: Pulling fs layer 20:40:48 d77568369979: Pulling fs layer 20:40:48 fc1c9f9a7f3b: Pulling fs layer 20:40:48 170f2ba95c9a: Pulling fs layer 20:40:48 97ac5df62f85: Pulling fs layer 20:40:48 e90a11edd702: Waiting 20:40:48 d77568369979: Waiting 20:40:48 fc1c9f9a7f3b: Waiting 20:40:48 170f2ba95c9a: Waiting 20:40:48 97ac5df62f85: Waiting 20:40:48 d148012ef14d: Verifying Checksum 20:40:48 d148012ef14d: Download complete 20:40:48 24495759ef45: Verifying Checksum 20:40:48 24495759ef45: Download complete 20:40:48 d77568369979: Verifying Checksum 20:40:48 d77568369979: Download complete 20:40:48 fc1c9f9a7f3b: Verifying Checksum 20:40:48 fc1c9f9a7f3b: Download complete 20:40:49 595b0fe564bb: Verifying Checksum 20:40:49 170f2ba95c9a: Verifying Checksum 20:40:49 170f2ba95c9a: Download complete 20:40:50 595b0fe564bb: Pull complete 20:40:50 24495759ef45: Pull complete 20:40:51 d148012ef14d: Pull complete 20:40:52 97ac5df62f85: Download complete 20:40:53 e90a11edd702: Verifying Checksum 20:40:53 e90a11edd702: Download complete 20:41:01 Running on prd-centos7-docker-4c-2g-994 in /w/workspace/ndry_app-functions-sdk-go_PR-934 [Pipeline] { [Pipeline] ws 20:41:01 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 20:41:01 The recommended git tool is: git 20:41:03 e90a11edd702: Pull complete 20:41:03 d77568369979: Pull complete 20:41:04 fc1c9f9a7f3b: Pull complete 20:41:04 using credential edgex-jenkins-ssh 20:41:04 Cloning the remote Git repository 20:41:04 170f2ba95c9a: Pull complete 20:41:04 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 20:41:04 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 20:41:04 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:41:04 > git --version # timeout=10 20:41:04 > git --version # 'git version 2.24.4' 20:41:04 using GIT_SSH to set credentials SSH Credentials for GitHub 20:41:04 [INFO] Currently running in a labeled security context 20:41:04 [INFO] Currently SELinux is 'enforcing' on the host 20:41:04 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh1158841986239575428.key 20:41:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:41:07 Merging remotes/origin/main commit d60328c32dfc0c7c0cb78d3227db5683dd1fac29 into PR head commit b3ca90582895055df56e9268e143865a1e8d2fb0 20:41:07 Merge succeeded, producing b3ca90582895055df56e9268e143865a1e8d2fb0 20:41:07 Checking out Revision b3ca90582895055df56e9268e143865a1e8d2fb0 (PR-934) 20:41:06 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:41:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:41:06 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:41:06 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:41:06 using GIT_SSH to set credentials SSH Credentials for GitHub 20:41:06 [INFO] Currently running in a labeled security context 20:41:06 [INFO] Currently SELinux is 'enforcing' on the host 20:41:06 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh534370307199321257.key 20:41:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/934/head:refs/remotes/origin/PR-934 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:41:07 > git config core.sparsecheckout # timeout=10 20:41:07 > git checkout -f b3ca90582895055df56e9268e143865a1e8d2fb0 # timeout=10 20:41:07 > git remote # timeout=10 20:41:07 > git config --get remote.origin.url # timeout=10 20:41:07 using GIT_SSH to set credentials SSH Credentials for GitHub 20:41:07 [INFO] Currently running in a labeled security context 20:41:07 [INFO] Currently SELinux is 'enforcing' on the host 20:41:07 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh5601090484059481415.key 20:41:07 > git merge d60328c32dfc0c7c0cb78d3227db5683dd1fac29 # timeout=10 20:41:07 > git rev-parse HEAD^{commit} # timeout=10 20:41:07 > git config core.sparsecheckout # timeout=10 20:41:07 > git checkout -f b3ca90582895055df56e9268e143865a1e8d2fb0 # timeout=10 20:41:10 Commit message: "ci: remove the need for a ci specific Dockerfile" 20:41:10 > git --version # timeout=10 20:41:10 > git --version # 'git version 2.24.4' 20:41:10 fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 20:41:11 97ac5df62f85: Pull complete 20:41:11 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 20:41:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 20:41:11 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] unstash [Pipeline] echo 20:41:11 ========================================================= 20:41:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 20:41:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists 20:41:11 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 20:41:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 20:41:12 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 20:41:12 540db60ca938: Pulling fs layer 20:41:12 adcc1eea9eea: Pulling fs layer 20:41:12 4c4ab2625f07: Pulling fs layer 20:41:12 db62176df00c: Pulling fs layer 20:41:12 3b30891b0d05: Pulling fs layer 20:41:12 06b49ca38bd5: Pulling fs layer 20:41:12 c788192a36de: Pulling fs layer 20:41:12 a77e37c0d609: Pulling fs layer 20:41:12 c3185cebc471: Pulling fs layer 20:41:12 db62176df00c: Waiting 20:41:12 3b30891b0d05: Waiting 20:41:12 06b49ca38bd5: Waiting 20:41:12 c788192a36de: Waiting 20:41:12 a77e37c0d609: Waiting 20:41:12 c3185cebc471: Waiting 20:41:12 4c4ab2625f07: Verifying Checksum 20:41:12 4c4ab2625f07: Download complete 20:41:12 adcc1eea9eea: Verifying Checksum 20:41:12 adcc1eea9eea: Download complete 20:41:12 3b30891b0d05: Verifying Checksum 20:41:12 3b30891b0d05: Download complete 20:41:12 + docker inspect -f . ci-base-image-arm64 20:41:12 . [Pipeline] withDockerContainer 20:41:12 06b49ca38bd5: Verifying Checksum 20:41:12 06b49ca38bd5: Download complete 20:41:12 c788192a36de: Verifying Checksum 20:41:12 c788192a36de: Download complete 20:41:12 540db60ca938: Download complete 20:41:12 prd-ubuntu18.04-docker-arm64-4c-16g-993 does not seem to be running inside a container 20:41:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 ******** ci-base-image-arm64 cat 20:41:12 540db60ca938: Pull complete 20:41:12 adcc1eea9eea: Pull complete 20:41:12 4c4ab2625f07: Pull complete 20:41:13 a77e37c0d609: Verifying Checksum 20:41:13 a77e37c0d609: Download complete 20:41:17 c3185cebc471: Verifying Checksum 20:41:17 c3185cebc471: Download complete 20:41:17 db62176df00c: Verifying Checksum 20:41:17 db62176df00c: Download complete 20:41:18 $ docker top 263ad39800761f4d0306734b76af8608190c5f94e20b7ef7b562a63a2ea52dc1 -eo pid,comm [Pipeline] { [Pipeline] sh 20:41:19 db62176df00c: Pull complete 20:41:19 3b30891b0d05: Pull complete 20:41:20 + go version 20:41:20 go version go1.16.6 linux/arm64 [Pipeline] } 20:41:20 $ docker stop --time=1 263ad39800761f4d0306734b76af8608190c5f94e20b7ef7b562a63a2ea52dc1 20:41:20 06b49ca38bd5: Pull complete 20:41:20 c788192a36de: Pull complete 20:41:20 a77e37c0d609: Pull complete 20:41:22 $ docker rm -f 263ad39800761f4d0306734b76af8608190c5f94e20b7ef7b562a63a2ea52dc1 20:41:22 c3185cebc471: Pull complete 20:41:22 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 20:41:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 20:41:22 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:41:22 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 20:41:23 + docker inspect -f . ci-base-image-arm64 20:41:23 . [Pipeline] withDockerContainer 20:41:23 + docker inspect -f . ci-base-image-x86_64 20:41:23 . 20:41:23 prd-ubuntu18.04-docker-arm64-4c-16g-993 does not seem to be running inside a container 20:41:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 ******** ci-base-image-arm64 cat 20:41:25 $ docker top e6876d37648fa998ea2446a2e9a350e772eca4dafce6cc5691208846bb5d12cc -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 20:41:26 prd-centos7-docker-4c-2g-994 does not seem to be running inside a container 20:41:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 20:41:28 $ docker top 5bbefadf4decddc19b7cb0c4d1b6909e5a3ab8e43032c4c7b3f43737b6be755e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [Pipeline] sh 20:41:28 + go version 20:41:28 go version go1.16.6 linux/amd64 [Pipeline] } 20:41:28 $ docker stop --time=1 5bbefadf4decddc19b7cb0c4d1b6909e5a3ab8e43032c4c7b3f43737b6be755e 20:41:29 + make test 20:41:29 make -C ./app-service-template build 20:41:29 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 20:41:29 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 20:41:30 $ docker rm -f 5bbefadf4decddc19b7cb0c4d1b6909e5a3ab8e43032c4c7b3f43737b6be755e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:41:30 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 20:41:30 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 20:41:30 + docker inspect -f . ci-base-image-x86_64 20:41:30 . [Pipeline] withDockerContainer 20:41:31 prd-centos7-docker-4c-2g-994 does not seem to be running inside a container 20:41:31 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 20:41:31 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 20:41:31 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 20:41:31 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 20:41:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 20:41:31 go: downloading github.com/gorilla/mux v1.8.0 20:41:31 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 20:41:31 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 20:41:31 go: downloading github.com/go-kit/kit v0.9.0 20:41:31 go: downloading github.com/google/uuid v1.2.0 20:41:31 go: downloading github.com/go-playground/validator/v10 v10.6.1 20:41:31 $ docker top 49d8a0bd57c87c3ad1b2b988f61df307b19b331c6c5defc620a65470aab7241f -eo pid,comm [Pipeline] { 20:41:31 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 20:41:31 go: downloading github.com/pelletier/go-toml v1.9.2 20:41:31 go: downloading github.com/gorilla/websocket v1.4.2 20:41:31 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [Pipeline] fileExists [Pipeline] sh 20:41:31 go: downloading github.com/hashicorp/consul/api v1.8.1 20:41:31 go: downloading github.com/go-playground/universal-translator v0.17.0 20:41:31 go: downloading github.com/leodido/go-urn v1.2.0 20:41:32 + make test 20:41:32 make -C ./app-service-template build 20:41:32 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 20:41:32 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 20:41:32 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 20:41:32 go: downloading golang.org/x/text v0.3.2 20:41:32 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 20:41:32 go: downloading github.com/x448/float16 v0.8.4 20:41:32 go: downloading github.com/go-logfmt/logfmt v0.4.0 20:41:32 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 20:41:32 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 20:41:32 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 20:41:32 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 20:41:32 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 20:41:32 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 20:41:32 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:41:32 go: downloading github.com/mitchellh/copystructure v1.0.0 20:41:32 go: downloading github.com/go-playground/locales v0.13.0 20:41:32 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 20:41:32 go: downloading github.com/hashicorp/go-hclog v0.12.0 20:41:32 go: downloading github.com/gorilla/mux v1.8.0 20:41:32 go: downloading github.com/go-kit/kit v0.9.0 20:41:32 go: downloading github.com/google/uuid v1.2.0 20:41:32 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 20:41:32 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 20:41:32 go: downloading github.com/mitchellh/copystructure v1.0.0 20:41:32 go: downloading github.com/go-playground/validator/v10 v10.6.1 20:41:32 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 20:41:32 go: downloading github.com/pelletier/go-toml v1.9.2 20:41:32 go: downloading github.com/gorilla/websocket v1.4.2 20:41:32 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 20:41:33 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 20:41:33 go: downloading github.com/hashicorp/serf v0.9.5 20:41:33 go: downloading github.com/mitchellh/mapstructure v1.1.2 20:41:33 go: downloading github.com/hashicorp/consul/api v1.8.1 20:41:33 go: downloading github.com/mitchellh/reflectwalk v1.0.0 20:41:33 go: downloading github.com/go-logfmt/logfmt v0.4.0 20:41:33 go: downloading github.com/go-playground/universal-translator v0.17.0 20:41:33 go: downloading github.com/leodido/go-urn v1.2.0 20:41:33 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 20:41:33 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 20:41:33 go: downloading github.com/go-redis/redis/v7 v7.3.0 20:41:33 go: downloading github.com/pebbe/zmq4 v1.2.7 20:41:33 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 20:41:33 go: downloading github.com/mitchellh/reflectwalk v1.0.0 20:41:33 go: downloading github.com/fatih/color v1.9.0 20:41:33 go: downloading github.com/mattn/go-isatty v0.0.12 20:41:33 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:41:33 go: downloading golang.org/x/text v0.3.2 20:41:33 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 20:41:33 go: downloading github.com/x448/float16 v0.8.4 20:41:33 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:41:33 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 20:41:33 go: downloading github.com/hashicorp/go-hclog v0.12.0 20:41:33 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 20:41:33 go: downloading github.com/hashicorp/serf v0.9.5 20:41:33 go: downloading github.com/mitchellh/mapstructure v1.1.2 20:41:33 go: downloading github.com/mattn/go-colorable v0.1.6 20:41:33 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 20:41:33 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 20:41:33 go: downloading github.com/hashicorp/golang-lru v0.5.0 20:41:33 go: downloading github.com/go-playground/locales v0.13.0 20:41:34 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 20:41:34 go: downloading github.com/go-redis/redis/v7 v7.3.0 20:41:34 go: downloading github.com/pebbe/zmq4 v1.2.7 20:41:34 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 20:41:34 go: downloading github.com/fatih/color v1.9.0 20:41:34 go: downloading github.com/mattn/go-isatty v0.0.12 20:41:34 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:41:34 go: downloading github.com/mattn/go-colorable v0.1.6 20:41:34 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 20:41:34 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 20:41:34 go: downloading github.com/hashicorp/golang-lru v0.5.0 20:41:47 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 20:41:47 make -C ./app-service-template test 20:41:47 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 20:41:47 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 20:41:47 go: downloading github.com/stretchr/testify v1.7.0 20:41:47 go: downloading github.com/davecgh/go-spew v1.1.1 20:41:47 go: downloading github.com/pmezard/go-difflib v1.0.0 20:41:47 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 20:41:47 go: downloading github.com/stretchr/objx v0.1.0 20:41:57 ok new-app-service 0.011s coverage: 47.8% of statements 20:41:57 ? new-app-service/config [no test files] 20:41:57 ok new-app-service/functions 0.007s 20:41:57 CGO_ENABLED=1 go vet ./... 20:42:03 gofmt -l . 20:42:03 [ "`gofmt -l .`" = "" ] 20:42:03 ./bin/test-attribution-txt.sh 20:42:03 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 20:42:03 go: downloading github.com/mitchellh/go-homedir v1.1.0 20:42:04 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 20:42:04 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:42:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 20:42:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.020s coverage: 63.6% of statements 20:42:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.035s coverage: 96.5% of statements 20:42:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 20:42:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.010s coverage: 61.8% of statements 20:42:07 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 20:42:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.012s 20:42:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.056s coverage: 74.5% of statements 20:42:07 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 20:42:07 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 20:42:07 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 20:42:07 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 20:42:07 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 20:42:07 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 20:42:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.004s coverage: 97.1% of statements 20:42:07 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 20:42:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.009s coverage: 10.5% of statements 20:42:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.728s coverage: 76.1% of statements 20:42:11 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 20:42:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.007s coverage: 12.5% of statements 20:42:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.009s coverage: 27.3% of statements 20:42:11 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 20:42:11 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 20:42:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.007s coverage: 51.4% of statements 20:42:12 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 20:42:12 make -C ./app-service-template test 20:42:12 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 20:42:12 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 20:42:12 go: downloading github.com/stretchr/testify v1.7.0 20:42:12 go: downloading github.com/pmezard/go-difflib v1.0.0 20:42:12 go: downloading github.com/davecgh/go-spew v1.1.1 20:42:12 go: downloading github.com/stretchr/objx v0.1.0 20:42:12 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 20:42:38 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.071s coverage: 78.1% of statements 20:42:38 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.006s coverage: 94.4% of statements 20:42:38 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:42:38 gofmt -l . 20:42:38 [ "`gofmt -l .`" = "" ] [Pipeline] } 20:42:38 $ docker stop --time=1 49d8a0bd57c87c3ad1b2b988f61df307b19b331c6c5defc620a65470aab7241f 20:42:39 $ docker rm -f 49d8a0bd57c87c3ad1b2b988f61df307b19b331c6c5defc620a65470aab7241f [Pipeline] // withDockerContainer [Pipeline] sh 20:42:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:42:40 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 20:42:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:42:41 20:42:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:42:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:42:42 latest: Pulling from edgex-lftools-log-publisher 20:42:42 b4d181a07f80: Pulling fs layer 20:42:42 a1111a8f2ec3: Pulling fs layer 20:42:42 ed53099fbce6: Pulling fs layer 20:42:42 dc539afda2c1: Pulling fs layer 20:42:42 77bc0d833cb6: Pulling fs layer 20:42:42 9065ff56babe: Pulling fs layer 20:42:42 d287ab97295c: Pulling fs layer 20:42:42 dc539afda2c1: Waiting 20:42:42 77bc0d833cb6: Waiting 20:42:42 9065ff56babe: Waiting 20:42:42 d287ab97295c: Waiting 20:42:42 a1111a8f2ec3: Verifying Checksum 20:42:42 a1111a8f2ec3: Download complete 20:42:42 dc539afda2c1: Verifying Checksum 20:42:42 dc539afda2c1: Download complete 20:42:42 77bc0d833cb6: Verifying Checksum 20:42:42 77bc0d833cb6: Download complete 20:42:42 9065ff56babe: Verifying Checksum 20:42:42 9065ff56babe: Download complete 20:42:42 ed53099fbce6: Verifying Checksum 20:42:42 ed53099fbce6: Download complete 20:42:43 b4d181a07f80: Verifying Checksum 20:42:43 b4d181a07f80: Download complete 20:42:44 b4d181a07f80: Pull complete 20:42:44 a1111a8f2ec3: Pull complete 20:42:45 ed53099fbce6: Pull complete 20:42:45 dc539afda2c1: Pull complete 20:42:45 77bc0d833cb6: Pull complete 20:42:45 ok new-app-service 0.047s coverage: 47.8% of statements 20:42:45 ? new-app-service/config [no test files] 20:42:45 ok new-app-service/functions 0.038s 20:42:45 CGO_ENABLED=1 go vet ./... 20:42:45 9065ff56babe: Pull complete 20:42:46 d287ab97295c: Verifying Checksum 20:42:46 d287ab97295c: Download complete 20:42:51 d287ab97295c: Pull complete 20:42:51 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 20:42:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:42:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:42:51 prd-centos7-docker-4c-2g-994 does not seem to be running inside a container 20:42:51 $ 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/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 20:42:54 $ docker top 7e6ab10c83bfed0903001ae004356f3dad723b77b22138207ff0b83c4d799a50 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:42:54 ---> job-cost.sh 20:42:54 lf-activate-venv: SKIPPING 20:42:54 INFO: No Stack... 20:42:55 INFO: Retrieving Pricing Info for: v3-standard-2 20:42:56 INFO: Archiving Costs [Pipeline] sh 20:42:56 + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv 20:42:56 + cut -d, -f6 [Pipeline] lock 20:42:56 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-934-1-stack-cost] 20:42:56 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-934-1-stack-cost] did not exist. Created. 20:42:56 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-934-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:42:56 + echo total: 0.05999999865889549 [Pipeline] stash 20:42:56 Stashed 1 file(s) [Pipeline] } 20:42:56 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-934-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:42:57 $ docker stop --time=1 7e6ab10c83bfed0903001ae004356f3dad723b77b22138207ff0b83c4d799a50 20:42:58 $ docker rm -f 7e6ab10c83bfed0903001ae004356f3dad723b77b22138207ff0b83c4d799a50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:43:12 gofmt -l . 20:43:12 [ "`gofmt -l .`" = "" ] 20:43:12 ./bin/test-attribution-txt.sh 20:43:12 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 20:43:12 go: downloading github.com/mitchellh/go-homedir v1.1.0 20:43:12 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 20:43:12 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:43:12 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 20:43:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.092s coverage: 63.6% of statements 20:43:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.049s coverage: 96.5% of statements 20:43:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 20:43:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.070s coverage: 61.8% of statements 20:43:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 20:43:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.036s 20:43:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.088s coverage: 74.5% of statements 20:43:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 20:43:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 20:43:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 20:43:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 20:43:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 20:43:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 20:43:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.017s coverage: 97.1% of statements 20:43:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 20:43:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.034s coverage: 10.5% of statements 20:43:27 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.857s coverage: 76.1% of statements 20:43:27 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 20:43:27 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.053s coverage: 12.5% of statements 20:43:27 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.053s coverage: 27.3% of statements 20:43:27 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 20:43:27 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 20:43:27 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.044s coverage: 51.4% of statements 20:43:54 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.121s coverage: 78.1% of statements 20:43:54 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.033s coverage: 94.4% of statements 20:43:54 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:43:57 gofmt -l . 20:43:57 [ "`gofmt -l .`" = "" ] [Pipeline] } 20:43:57 $ docker stop --time=1 e6876d37648fa998ea2446a2e9a350e772eca4dafce6cc5691208846bb5d12cc 20:43:59 $ docker rm -f e6876d37648fa998ea2446a2e9a350e772eca4dafce6cc5691208846bb5d12cc [Pipeline] // withDockerContainer [Pipeline] sh 20:44:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:44:01 Warning: overwriting stash ‘coverage-report’ 20:44:02 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 20:44:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:44:03 20:44:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:44:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:44:04 arm64: Pulling from edgex-lftools-log-publisher 20:44:04 448f6bf000e3: Pulling fs layer 20:44:04 f757da607395: Pulling fs layer 20:44:04 05883995daec: Pulling fs layer 20:44:04 8603b9c90790: Pulling fs layer 20:44:04 8603b9c90790: Waiting 20:44:04 1560dd03e051: Pulling fs layer 20:44:04 27f5ce0e4adf: Pulling fs layer 20:44:04 c2d8d7efcc4b: Pulling fs layer 20:44:04 1560dd03e051: Waiting 20:44:04 27f5ce0e4adf: Waiting 20:44:04 f757da607395: Verifying Checksum 20:44:04 f757da607395: Download complete 20:44:04 8603b9c90790: Download complete 20:44:04 1560dd03e051: Verifying Checksum 20:44:04 1560dd03e051: Download complete 20:44:04 27f5ce0e4adf: Verifying Checksum 20:44:04 27f5ce0e4adf: Download complete 20:44:04 05883995daec: Verifying Checksum 20:44:04 05883995daec: Download complete 20:44:05 448f6bf000e3: Download complete 20:44:08 c2d8d7efcc4b: Verifying Checksum 20:44:08 c2d8d7efcc4b: Download complete 20:44:08 448f6bf000e3: Pull complete 20:44:09 f757da607395: Pull complete 20:44:10 05883995daec: Pull complete 20:44:11 8603b9c90790: Pull complete 20:44:12 1560dd03e051: Pull complete 20:44:12 27f5ce0e4adf: Pull complete 20:44:27 c2d8d7efcc4b: Pull complete 20:44:27 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 20:44:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:44:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:44:28 prd-ubuntu18.04-docker-arm64-4c-16g-993 does not seem to be running inside a container 20:44:28 $ 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/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:44:33 $ docker top 7888abd6091f4f9e928c9ad972e0236566045713108073f3f70628e0869710de -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:44:34 ---> job-cost.sh 20:44:34 lf-activate-venv: SKIPPING 20:44:34 INFO: No Stack... 20:44:35 INFO: Retrieving Pricing Info for: v2-standard-4 20:44:36 INFO: Archiving Costs [Pipeline] sh 20:44:36 + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv 20:44:36 + cut -d, -f6 [Pipeline] lock 20:44:36 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-934-1-stack-cost] 20:44:36 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-934-1-stack-cost] did not exist. Created. 20:44:36 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-934-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:44:37 /w/workspace/app-functions-sdk-go/1@tmp/durable-23ef23f6/script.sh: 1: /w/workspace/app-functions-sdk-go/1@tmp/durable-23ef23f6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 20:44:38 + echo total: 0.18000000715255737 [Pipeline] stash 20:44:38 Warning: overwriting stash ‘stack-cost’ 20:44:38 Stashed 1 file(s) [Pipeline] } 20:44:38 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-934-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:44:38 $ docker stop --time=1 7888abd6091f4f9e928c9ad972e0236566045713108073f3f70628e0869710de 20:44:40 $ docker rm -f 7888abd6091f4f9e928c9ad972e0236566045713108073f3f70628e0869710de [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 20:44:41 provisioning config files... 20:44:41 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-934@tmp/config992287156616797184tmp [Pipeline] { [Pipeline] sh 20:44:41 + set +x 20:44:41 + bash -s -- 20:44:41 + curl -s https://codecov.io/bash 20:44:41 20:44:41 _____ _ 20:44:41 / ____| | | 20:44:41 | | ___ __| | ___ ___ _____ __ 20:44:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:44:41 | |___| (_) | (_| | __/ (_| (_) \ V / 20:44:41 \_____\___/ \__,_|\___|\___\___/ \_/ 20:44:41 Bash-1.0.6 20:44:41 20:44:41 20:44:41 ==> git version 2.24.4 found 20:44:41 ==> 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 20:44:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 20:44:41 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 20:44:41 ==> Jenkins CI detected. 20:44:41 current dir:  /w/workspace/ndry_app-functions-sdk-go_PR-934 20:44:41 project root: . 20:44:41 --> token set from env 20:44:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:44:42 ==> Running gcov in . (disable via -X gcov) 20:44:42 ==> Python coveragepy not found 20:44:42 ==> Searching for coverage reports in: 20:44:42 + . 20:44:42 -> Found 2 reports 20:44:42 ==> Detecting git/mercurial file structure 20:44:42 ==> Reading reports 20:44:42 + ./app-service-template/coverage.out bytes=1055 20:44:42 + ./coverage.out bytes=95183 20:44:42 ==> Appending adjustments 20:44:42 https://docs.codecov.io/docs/fixing-reports 20:44:42 + Found adjustments 20:44:42 ==> Gzipping contents 20:44:42 20K /tmp/codecov.lHd226.gz 20:44:42 ==> Uploading reports 20:44:42 url: https://codecov.io 20:44:42 query: branch=PR-934&commit=b3ca90582895055df56e9268e143865a1e8d2fb0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-934%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=934&job=&cmd_args= 20:44:42 -> Pinging Codecov 20:44:42 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-934&commit=b3ca90582895055df56e9268e143865a1e8d2fb0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-934%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=934&job=&cmd_args= 20:44:43 -> Uploading to 20:44:43 https://storage.googleapis.com/codecov/v4/raw/2021-08-16/3D8B5DFFC46A037C893635FACE044666/b3ca90582895055df56e9268e143865a1e8d2fb0/289a0903-8b8a-41e7-8e27-a4623cd2a2f9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210816%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210816T204442Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1bbeeb337f46c051d3e340bcd00b3e272ae45f2b29a6137c5f0dce5af6445e4a 20:44:43 % Total % Received % Xferd Average Speed Time Time Time Current 20:44:43 Dload Upload Total Spent Left Speed 20:44:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16419 0 0 100 16419 0 43312 --:--:-- --:--:-- --:--:-- 43321 20:44:43 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/b3ca90582895055df56e9268e143865a1e8d2fb0 [Pipeline] } 20:44:43 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 20:44:45 + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-934/archives ']' [Pipeline] libraryResource [Pipeline] sh 20:44:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:44:46 ---> package-listing.sh 20:44:46 ++ facter osfamily 20:44:46 ++ tr '[:upper:]' '[:lower:]' 20:44:46 + OS_FAMILY=redhat 20:44:46 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-934 20:44:46 + START_PACKAGES=/tmp/packages_start.txt 20:44:46 + END_PACKAGES=/tmp/packages_end.txt 20:44:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:44:46 + PACKAGES=/tmp/packages_start.txt 20:44:46 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-934 ']' 20:44:46 + PACKAGES=/tmp/packages_end.txt 20:44:46 + case "${OS_FAMILY}" in 20:44:46 + rpm -qa 20:44:46 + sort 20:44:47 + '[' -f /tmp/packages_start.txt ']' 20:44:47 + '[' -f /tmp/packages_end.txt ']' 20:44:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:44:47 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-934 ']' 20:44:47 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-934/archives/ 20:44:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-934/archives/ [Pipeline] echo 20:44:47 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-934/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:44:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:44:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:44:48 20:44:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:44:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:44:48 latest: Pulling from edgex-lftools-log-publisher 20:44:48 b4d181a07f80: Pulling fs layer 20:44:48 a1111a8f2ec3: Pulling fs layer 20:44:48 ed53099fbce6: Pulling fs layer 20:44:48 dc539afda2c1: Pulling fs layer 20:44:48 77bc0d833cb6: Pulling fs layer 20:44:48 9065ff56babe: Pulling fs layer 20:44:48 d287ab97295c: Pulling fs layer 20:44:48 dc539afda2c1: Waiting 20:44:48 77bc0d833cb6: Waiting 20:44:48 9065ff56babe: Waiting 20:44:48 d287ab97295c: Waiting 20:44:48 a1111a8f2ec3: Verifying Checksum 20:44:48 a1111a8f2ec3: Download complete 20:44:48 dc539afda2c1: Download complete 20:44:48 77bc0d833cb6: Verifying Checksum 20:44:48 77bc0d833cb6: Download complete 20:44:48 9065ff56babe: Verifying Checksum 20:44:48 9065ff56babe: Download complete 20:44:49 ed53099fbce6: Verifying Checksum 20:44:49 ed53099fbce6: Download complete 20:44:50 b4d181a07f80: Verifying Checksum 20:44:50 b4d181a07f80: Download complete 20:44:51 b4d181a07f80: Pull complete 20:44:51 a1111a8f2ec3: Pull complete 20:44:52 ed53099fbce6: Pull complete 20:44:52 dc539afda2c1: Pull complete 20:44:52 77bc0d833cb6: Pull complete 20:44:52 9065ff56babe: Pull complete 20:44:53 d287ab97295c: Verifying Checksum 20:44:53 d287ab97295c: Download complete 20:44:58 d287ab97295c: Pull complete 20:44:58 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 20:44:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:44:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:44:58 prd-centos7-docker-4c-2g-992 does not seem to be running inside a container 20:44:58 $ 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-934/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-934 -v /w/workspace/ndry_app-functions-sdk-go_PR-934:/w/workspace/ndry_app-functions-sdk-go_PR-934:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-934@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-934@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 20:45:00 $ docker top 05978b3e9134aa66df871c5e4d1086198b9d386f58db1b25e7b16a5fd39df2d8 -eo pid,comm [Pipeline] { [Pipeline] sh 20:45:01 + touch /tmp/pre-build-complete [Pipeline] sh 20:45:01 + mkdir -p /var/log/sysstat [Pipeline] sh 20:45:02 + ls /var/log/sa-host 20:45:02 + sadf -c /var/log/sa-host/sa05 20:45:02 file_magic: OK 20:45:02 HZ: Using current value: 100 20:45:02 file_header: OK 20:45:02 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 20:45:02 Statistics: 20:45:02 Hnuu...uuuununununu...Hnuu...uuuununununu... 20:45:02 File successfully converted to sysstat format version 12.0.3 20:45:02 + sadf -c /var/log/sa-host/sa16 20:45:02 file_magic: OK 20:45:02 HZ: Using current value: 100 20:45:02 file_header: OK 20:45:02 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 20:45:02 Statistics: 20:45:02 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:45:02 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:45:02 provisioning config files... 20:45:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-934@tmp/config3410681509340355790tmp [Pipeline] { [Pipeline] echo 20:45:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:45:03 ---> create-netrc.sh [Pipeline] } 20:45:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:45:03 ---> python-tools-install.sh [Pipeline] echo 20:45:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:45:04 ---> sudo-logs.sh 20:45:04 Archiving 'sudo' log.. 20:45:04 sudo: unable to resolve host prd-centos7-docker-4c-2g-992.vexxhost.local: Name or service not known 20:45:04 sudo: unable to resolve host prd-centos7-docker-4c-2g-992.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 20:45:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:45:04 ---> job-cost.sh 20:45:04 lf-activate-venv: SKIPPING 20:45:04 DEBUG: total: 0.18000000715255737 20:45:04 INFO: Retrieving Stack Cost... 20:45:06 INFO: Retrieving Pricing Info for: v3-standard-2 20:45:06 INFO: Archiving Costs [Pipeline] echo 20:45:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:45:06 ---> logs-deploy.sh 20:45:06 lf-activate-venv: SKIPPING 20:45:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-934/1 20:45:06 INFO: archiving workspace using pattern(s): 20:45:07 Archives upload complete. 20:45:07 INFO: archiving logs to Nexus 20:45:08 ---> uname -a: 20:45:08 Linux prd-centos7-docker-4c-2g-992.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 20:45:08 20:45:08 20:45:08 ---> lscpu: 20:45:08 Architecture: x86_64 20:45:08 CPU op-mode(s): 32-bit, 64-bit 20:45:08 Byte Order: Little Endian 20:45:08 Address sizes: 40 bits physical, 48 bits virtual 20:45:08 CPU(s): 2 20:45:08 On-line CPU(s) list: 0,1 20:45:08 Thread(s) per core: 1 20:45:08 Core(s) per socket: 1 20:45:08 Socket(s): 2 20:45:08 NUMA node(s): 1 20:45:08 Vendor ID: AuthenticAMD 20:45:08 CPU family: 23 20:45:08 Model: 49 20:45:08 Model name: AMD EPYC-Rome Processor 20:45:08 Stepping: 0 20:45:08 CPU MHz: 2799.998 20:45:08 BogoMIPS: 5599.99 20:45:08 Virtualization: AMD-V 20:45:08 Hypervisor vendor: KVM 20:45:08 Virtualization type: full 20:45:08 L1d cache: 32K 20:45:08 L1i cache: 32K 20:45:08 L2 cache: 512K 20:45:08 L3 cache: 16384K 20:45:08 NUMA node0 CPU(s): 0,1 20:45:08 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 20:45:08 20:45:08 20:45:08 ---> nproc: 20:45:08 2 20:45:08 20:45:08 20:45:08 ---> df -h: 20:45:08 Filesystem Size Used Avail Use% Mounted on 20:45:08 overlay 40G 7.7G 33G 20% / 20:45:08 tmpfs 64M 0 64M 0% /dev 20:45:08 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 20:45:08 shm 64M 0 64M 0% /dev/shm 20:45:08 /dev/vda1 40G 7.7G 33G 20% /facter-os 20:45:08 20:45:08 20:45:08 ---> sar -b -r -n DEV: 20:45:08 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/16/21 _x86_64_ (2 CPU) 20:45:08 20:45:08 20:37:10 LINUX RESTART (2 CPU) 20:45:08 20:45:08 20:38:03 tps rtps wtps bread/s bwrtn/s 20:45:08 20:39:01 22.52 3.31 19.21 2609.51 3761.13 20:45:08 20:40:01 1.77 0.00 1.77 0.00 32.46 20:45:08 20:41:01 0.23 0.00 0.23 0.00 2.83 20:45:08 20:42:01 0.17 0.00 0.17 0.00 1.88 20:45:08 20:43:01 0.28 0.00 0.28 0.00 3.80 20:45:08 20:44:01 0.35 0.00 0.35 0.00 4.10 20:45:08 20:45:01 68.58 0.13 68.44 13.72 17866.43 20:45:08 Average: 13.37 0.48 12.89 364.10 3093.63 20:45:08 20:45:08 20:38:03 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:45:08 20:39:01 5440208 0 797312 9.96 2620 1768800 1247988 13.78 590168 1579156 20 20:45:08 20:40:01 5443368 0 794148 9.92 2620 1768804 1204800 13.30 588180 1578544 8 20:45:08 20:41:01 5441172 0 796340 9.94 2620 1768808 1205184 13.31 590856 1577972 8 20:45:08 20:42:01 5440360 0 797148 9.95 2620 1768812 1205100 13.30 591768 1577968 8 20:45:08 20:43:01 5439620 0 797880 9.96 2620 1768820 1204896 13.30 585188 1586096 8 20:45:08 20:44:01 5440184 0 797312 9.96 2620 1768824 1204800 13.30 584936 1586096 12 20:45:08 20:45:01 4825652 0 921352 11.50 2620 2259316 1387908 15.32 758704 1928144 8 20:45:08 Average: 5352938 0 814499 10.17 2620 1838883 1237239 13.66 612829 1630568 10 20:45:08 20:45:08 20:38:03 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 20:45:08 20:39:01 eth0 138.32 108.87 663.10 20.46 0.00 0.00 0.00 0.00 20:45:08 20:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:08 20:39:01 docker0 60.04 61.92 7.19 321.73 0.00 0.00 0.00 0.00 20:45:08 20:40:01 eth0 0.58 0.08 0.06 0.01 0.00 0.00 0.00 0.00 20:45:08 20:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:08 20:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:08 20:41:01 eth0 1.77 0.73 3.16 0.23 0.00 0.00 0.00 0.00 20:45:08 20:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:08 20:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:08 20:42:01 eth0 0.45 0.27 0.27 0.17 0.00 0.00 0.00 0.00 20:45:08 20:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:08 20:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:08 20:43:01 eth0 0.33 0.22 0.14 0.10 0.00 0.00 0.00 0.00 20:45:08 20:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:08 20:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:08 20:44:01 eth0 0.08 0.10 0.01 0.01 0.00 0.00 0.00 0.00 20:45:08 20:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:08 20:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:08 20:45:01 eth0 379.82 252.07 2621.19 61.86 0.00 0.00 0.00 0.00 20:45:08 20:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:08 20:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:08 Average: eth0 74.19 51.50 468.89 11.79 0.00 0.00 0.00 0.00 20:45:08 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:08 Average: docker0 8.33 8.59 1.00 44.65 0.00 0.00 0.00 0.00 20:45:08 20:45:08 20:45:08 ---> sar -P ALL: 20:45:08 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/16/21 _x86_64_ (2 CPU) 20:45:08 20:45:08 20:37:10 LINUX RESTART (2 CPU) 20:45:08 20:45:08 20:38:03 CPU %user %nice %system %iowait %steal %idle 20:45:08 20:39:01 all 3.56 0.00 1.40 0.38 0.05 94.61 20:45:08 20:39:01 0 2.41 0.00 1.50 0.49 0.05 95.55 20:45:08 20:39:01 1 4.72 0.00 1.29 0.28 0.05 93.66 20:45:08 20:40:01 all 0.07 0.00 0.03 0.00 0.03 99.87 20:45:08 20:40:01 0 0.03 0.00 0.03 0.00 0.03 99.90 20:45:08 20:40:01 1 0.10 0.00 0.02 0.00 0.03 99.85 20:45:08 20:41:01 all 0.13 0.00 0.04 0.00 0.04 99.78 20:45:08 20:41:01 0 0.12 0.00 0.05 0.00 0.07 99.77 20:45:08 20:41:01 1 0.15 0.00 0.03 0.00 0.02 99.80 20:45:08 20:42:01 all 0.19 0.00 0.03 0.00 0.03 99.75 20:45:08 20:42:01 0 0.03 0.00 0.02 0.00 0.02 99.93 20:45:08 20:42:01 1 0.35 0.00 0.03 0.00 0.05 99.57 20:45:08 20:43:01 all 0.14 0.00 0.03 0.00 0.03 99.79 20:45:08 20:43:01 0 0.03 0.00 0.03 0.00 0.03 99.90 20:45:08 20:43:01 1 0.25 0.00 0.03 0.00 0.03 99.68 20:45:08 20:44:01 all 0.16 0.00 0.03 0.01 0.03 99.77 20:45:08 20:44:01 0 0.02 0.00 0.03 0.00 0.02 99.93 20:45:08 20:44:01 1 0.30 0.00 0.02 0.02 0.05 99.62 20:45:08 20:45:01 all 8.02 0.00 3.36 0.81 0.05 87.76 20:45:08 20:45:01 0 7.75 0.00 3.53 1.18 0.05 87.49 20:45:08 20:45:01 1 8.28 0.00 3.19 0.44 0.05 88.04 20:45:08 Average: all 1.72 0.00 0.69 0.17 0.04 97.38 20:45:08 Average: 0 1.46 0.00 0.73 0.23 0.04 97.54 20:45:08 Average: 1 1.99 0.00 0.65 0.10 0.04 97.22 20:45:08 20:45:08 20:45:08