Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5b39ffbcbe47cfdbd6e7f27eea3a95ad74b4ef3b 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-ssh1276987455704513719.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-ssh4413103830016528835.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/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/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3543190690427303913.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5306526007924009998.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/main/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/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4577944258908967220.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-407’ is offline Running on prd-centos7-docker-4c-2g-409 in /w/workspace/oundry_app-functions-sdk-go_main [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/oundry_app-functions-sdk-go_main # 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/oundry_app-functions-sdk-go_main@tmp/jenkins-gitclient-ssh3349164536035003492.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Avoid second fetch Checking out Revision 5b39ffbcbe47cfdbd6e7f27eea3a95ad74b4ef3b (main) > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5b39ffbcbe47cfdbd6e7f27eea3a95ad74b4ef3b # timeout=10 Commit message: "build(deps): bump github.com/google/uuid from 1.2.0 to 1.3.0 (#921)" > git rev-list --no-walk e5a08eac5f2241cb5719840b89bd863ed6eb1544 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:48:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:48:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:48:15 ========================================================= 18:48:15 EdgeX Global Pipelines Version Info 18:48:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:48:17 ------------------- 18:48:17 stable info: 18:48:17 ------------------- 18:48:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:48:17 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 18:48:17 Message: update stable to v1.0.205 18:48:17 ------------------- 18:48:17 experimental info: 18:48:17 ------------------- 18:48:17 Commited By: **** collab-it+edgex@linuxfoundation.org 18:48:17 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 18:48:17 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:48:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 18:48:17 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 18:48:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:48:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:48:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:48:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 18:48:17 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 18:48:17 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 18:48:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:48:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:48:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:48:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:48:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 18:48:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:48:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:48:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 18:48:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:48:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:48:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:48:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:48:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:48:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:48:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 18:48:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:48:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:48:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 18:48:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:48:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:48:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:48:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:48:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5b39ffbcbe47cfdbd6e7f27eea3a95ad74b4ef3b [Pipeline] echo 18:48:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5b39ffb [Pipeline] echo 18:48:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:48:19 + git log --format=format:%s -1 5b39ffbcbe47cfdbd6e7f27eea3a95ad74b4ef3b [Pipeline] echo 18:48:19 GIT_COMMIT: 5b39ffbcbe47cfdbd6e7f27eea3a95ad74b4ef3b, Commit Message: build(deps): bump github.com/google/uuid from 1.2.0 to 1.3.0 (#921) [Pipeline] echo 18:48:19 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:48:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:48:20 18:48:20 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:48:20 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:48:20 latest: Pulling from edgex-devops/git-semver 18:48:20 31603596830f: Pulling fs layer 18:48:20 04fac38145f0: Pulling fs layer 18:48:20 701f6daf10bf: Pulling fs layer 18:48:20 24f72da36158: Pulling fs layer 18:48:20 24f72da36158: Waiting 18:48:20 04fac38145f0: Verifying Checksum 18:48:20 04fac38145f0: Download complete 18:48:21 31603596830f: Verifying Checksum 18:48:21 31603596830f: Download complete 18:48:21 31603596830f: Pull complete 18:48:21 04fac38145f0: Pull complete 18:48:21 24f72da36158: Verifying Checksum 18:48:21 24f72da36158: Download complete 18:48:21 701f6daf10bf: Verifying Checksum 18:48:21 701f6daf10bf: Download complete 18:48:22 701f6daf10bf: Pull complete 18:48:22 24f72da36158: Pull complete 18:48:22 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 18:48:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:48:22 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:48:22 prd-centos7-docker-4c-2g-409 does not seem to be running inside a container 18:48:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:48:23 $ docker top da7a36f1ba007918f54ccadb20a2d0d14c959ee7cb51ed48e0aa5a3dec00e9f2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:48:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:48:23 [ssh-agent] Looking for ssh-agent implementation... 18:48:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:48:23 $ docker exec da7a36f1ba007918f54ccadb20a2d0d14c959ee7cb51ed48e0aa5a3dec00e9f2 ssh-agent 18:48:23 SSH_AUTH_SOCK=/tmp/ssh-zJ5o0ZuWrNyw/agent.15 18:48:23 SSH_AGENT_PID=22 18:48:23 Running ssh-add (command line suppressed) 18:48:23 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5206532924346897134.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5206532924346897134.key) 18:48:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:48:24 + git tag --points-at HEAD [Pipeline] } 18:48:24 $ docker exec --env ******** --env ******** da7a36f1ba007918f54ccadb20a2d0d14c959ee7cb51ed48e0aa5a3dec00e9f2 ssh-agent -k 18:48:24 unset SSH_AUTH_SOCK; 18:48:24 unset SSH_AGENT_PID; 18:48:24 echo Agent pid 22 killed; 18:48:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:48:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:48:24 [ssh-agent] Looking for ssh-agent implementation... 18:48:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:48:24 $ docker exec da7a36f1ba007918f54ccadb20a2d0d14c959ee7cb51ed48e0aa5a3dec00e9f2 ssh-agent 18:48:24 SSH_AUTH_SOCK=/tmp/ssh-CSztkJStnWFB/agent.54 18:48:24 SSH_AGENT_PID=60 18:48:24 Running ssh-add (command line suppressed) 18:48:24 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4235243855431306522.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4235243855431306522.key) 18:48:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:48:25 + git semver init 18:48:25 # -> Open(): unable to determine branch for HEAD 18:48:25 # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git 18:48:25 # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main 18:48:25 # $SEMVER_REMOTE_NAME = origin 18:48:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:48:25 # $SEMVER_USER_NAME = edgex-jenkins 18:48:25 # $SEMVER_BRANCH = main 18:48:25 # $SEMVER_TEMP = /tmp/semver-578943424 18:48:25 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 18:48:37 # '/tmp/semver-578943424' -> '/w/workspace/oundry_app-functions-sdk-go_main/.semver' 18:48:37 # -> Force: false 18:48:37 # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } 18:48:37 $ docker exec --env ******** --env ******** da7a36f1ba007918f54ccadb20a2d0d14c959ee7cb51ed48e0aa5a3dec00e9f2 ssh-agent -k 18:48:37 unset SSH_AUTH_SOCK; 18:48:37 unset SSH_AGENT_PID; 18:48:37 echo Agent pid 60 killed; 18:48:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:48:38 + git semver [Pipeline] } 18:48:38 $ docker stop --time=1 da7a36f1ba007918f54ccadb20a2d0d14c959ee7cb51ed48e0aa5a3dec00e9f2 18:48:39 $ docker rm -f da7a36f1ba007918f54ccadb20a2d0d14c959ee7cb51ed48e0aa5a3dec00e9f2 [Pipeline] // withDockerContainer [Pipeline] sh 18:48:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:48:40 Stashed 1 file(s) [Pipeline] echo 18:48:40 [edgeXSemver]: initialized semver on version 2.0.2-dev.5 [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 18:48:55 Still waiting to schedule task 18:48:55 ‘prd-centos7-docker-4c-2g-407’ is offline 18:48:55 ‘prd-centos7-docker-4c-2g-410’ is offline 18:48:55 Still waiting to schedule task 18:48:55 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 18:50:15 Running on prd-centos7-docker-4c-2g-412 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws 18:50:15 Running in /w/workspace/app-functions-sdk-go/15 [Pipeline] { [Pipeline] checkout 18:50:16 The recommended git tool is: git 18:50:19 using credential edgex-jenkins-ssh 18:50:19 Cloning the remote Git repository 18:50:18 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 18:50:18 > git init /w/workspace/app-functions-sdk-go/15 # timeout=10 18:50:18 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 18:50:18 > git --version # timeout=10 18:50:18 > git --version # 'git version 2.24.4' 18:50:18 using GIT_SSH to set credentials SSH Credentials for GitHub 18:50:18 [INFO] Currently running in a labeled security context 18:50:18 [INFO] Currently SELinux is 'enforcing' on the host 18:50:18 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/15@tmp/jenkins-gitclient-ssh3240592687501158404.key 18:50:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:50:20 Avoid second fetch 18:50:20 Checking out Revision 5b39ffbcbe47cfdbd6e7f27eea3a95ad74b4ef3b (main) 18:50:20 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 18:50:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:50:20 > git config core.sparsecheckout # timeout=10 18:50:20 > git checkout -f 5b39ffbcbe47cfdbd6e7f27eea3a95ad74b4ef3b # timeout=10 18:50:24 Commit message: "build(deps): bump github.com/google/uuid from 1.2.0 to 1.3.0 (#921)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:50:25 ========================================================= 18:50:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 18:50:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 18:50:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 18:50:25 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 18:50:25 540db60ca938: Pulling fs layer 18:50:25 adcc1eea9eea: Pulling fs layer 18:50:25 4c4ab2625f07: Pulling fs layer 18:50:25 db62176df00c: Pulling fs layer 18:50:25 3b30891b0d05: Pulling fs layer 18:50:25 06b49ca38bd5: Pulling fs layer 18:50:25 c788192a36de: Pulling fs layer 18:50:25 a77e37c0d609: Pulling fs layer 18:50:25 c3185cebc471: Pulling fs layer 18:50:25 db62176df00c: Waiting 18:50:25 3b30891b0d05: Waiting 18:50:25 06b49ca38bd5: Waiting 18:50:25 c788192a36de: Waiting 18:50:25 a77e37c0d609: Waiting 18:50:25 c3185cebc471: Waiting 18:50:25 4c4ab2625f07: Verifying Checksum 18:50:25 4c4ab2625f07: Download complete 18:50:26 adcc1eea9eea: Verifying Checksum 18:50:26 adcc1eea9eea: Download complete 18:50:26 3b30891b0d05: Verifying Checksum 18:50:26 3b30891b0d05: Download complete 18:50:26 06b49ca38bd5: Verifying Checksum 18:50:26 06b49ca38bd5: Download complete 18:50:26 c788192a36de: Verifying Checksum 18:50:26 c788192a36de: Download complete 18:50:26 540db60ca938: Verifying Checksum 18:50:26 540db60ca938: Download complete 18:50:26 540db60ca938: Pull complete 18:50:26 adcc1eea9eea: Pull complete 18:50:26 4c4ab2625f07: Pull complete 18:50:27 a77e37c0d609: Verifying Checksum 18:50:27 a77e37c0d609: Download complete 18:50:30 c3185cebc471: Verifying Checksum 18:50:30 c3185cebc471: Download complete 18:50:30 db62176df00c: Verifying Checksum 18:50:30 db62176df00c: Download complete 18:50:35 db62176df00c: Pull complete 18:50:35 3b30891b0d05: Pull complete 18:50:35 06b49ca38bd5: Pull complete 18:50:35 c788192a36de: Pull complete 18:50:35 a77e37c0d609: Pull complete 18:50:37 c3185cebc471: Pull complete 18:50:37 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 18:50:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 18:50:37 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 18:50:37 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 18:50:37 + docker inspect -f . ci-base-image-x86_64 18:50:37 . [Pipeline] withDockerContainer 18:50:37 prd-centos7-docker-4c-2g-412 does not seem to be running inside a container 18:50:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/15 -v /w/workspace/app-functions-sdk-go/15:/w/workspace/app-functions-sdk-go/15:rw,z -v /w/workspace/app-functions-sdk-go/15@tmp:/w/workspace/app-functions-sdk-go/15@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 ******** ci-base-image-x86_64 cat 18:50:39 $ docker top e30a08d2b7e86c6467e256f086bfdda3a60c078f309aa986979b7ab64750c9d6 -eo pid,comm [Pipeline] { [Pipeline] sh 18:50:40 + go version 18:50:40 go version go1.16.6 linux/amd64 [Pipeline] } 18:50:40 $ docker stop --time=1 e30a08d2b7e86c6467e256f086bfdda3a60c078f309aa986979b7ab64750c9d6 18:50:41 $ docker rm -f e30a08d2b7e86c6467e256f086bfdda3a60c078f309aa986979b7ab64750c9d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:50:42 + docker inspect -f . ci-base-image-x86_64 18:50:42 . [Pipeline] withDockerContainer 18:50:42 prd-centos7-docker-4c-2g-412 does not seem to be running inside a container 18:50:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/15 -v /w/workspace/app-functions-sdk-go/15:/w/workspace/app-functions-sdk-go/15:rw,z -v /w/workspace/app-functions-sdk-go/15@tmp:/w/workspace/app-functions-sdk-go/15@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 ******** ci-base-image-x86_64 cat 18:50:42 $ docker top b250e037e42f9259c3a13e4f6e79c7e9a98612556fc0bc8c822d0b0a44686633 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:50:43 + make test 18:50:43 make -C ./app-service-template build 18:50:43 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/15/app-service-template' 18:50:43 go mod tidy 18:50:44 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 18:50:44 go: downloading github.com/google/uuid v1.3.0 18:50:44 go: downloading github.com/stretchr/testify v1.7.0 18:50:44 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 18:50:44 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 18:50:44 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 18:50:44 go: downloading github.com/go-playground/validator/v10 v10.6.1 18:50:44 go: downloading github.com/go-kit/kit v0.9.0 18:50:44 go: downloading gopkg.in/yaml.v2 v2.4.0 18:50:44 go: downloading github.com/davecgh/go-spew v1.1.1 18:50:44 go: downloading github.com/pmezard/go-difflib v1.0.0 18:50:44 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 18:50:45 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 18:50:45 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 18:50:45 go: downloading github.com/stretchr/objx v0.1.0 18:50:45 go: downloading github.com/gorilla/mux v1.8.0 18:50:45 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 18:50:45 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 18:50:45 go: downloading github.com/go-playground/universal-translator v0.17.0 18:50:45 go: downloading github.com/leodido/go-urn v1.2.0 18:50:45 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 18:50:45 go: downloading golang.org/x/text v0.3.2 18:50:46 go: downloading github.com/go-playground/assert/v2 v2.0.1 18:50:46 go: downloading github.com/go-playground/locales v0.13.0 18:50:48 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 18:50:48 go: downloading github.com/go-logfmt/logfmt v0.4.0 18:50:49 go: downloading github.com/go-stack/stack v1.8.0 18:50:49 go: downloading github.com/gorilla/websocket v1.4.2 18:50:49 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 18:50:49 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 18:50:49 go: downloading github.com/mitchellh/copystructure v1.0.0 18:50:49 go: downloading github.com/pelletier/go-toml v1.9.2 18:50:49 go: downloading github.com/hashicorp/consul/api v1.8.1 18:50:49 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 18:50:50 go: downloading github.com/kr/pretty v0.2.0 18:50:50 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 18:50:50 go: downloading github.com/x448/float16 v0.8.4 18:50:50 go: downloading github.com/mitchellh/reflectwalk v1.0.0 18:50:50 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 18:50:50 go: downloading github.com/hashicorp/go-hclog v0.12.0 18:50:50 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 18:50:50 go: downloading github.com/hashicorp/serf v0.9.5 18:50:50 go: downloading github.com/mitchellh/mapstructure v1.1.2 18:50:50 go: downloading github.com/hashicorp/consul/sdk v0.7.0 18:50:50 go: downloading github.com/hashicorp/go-uuid v1.0.1 18:50:50 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 18:50:50 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:50:50 go: downloading github.com/kr/text v0.1.0 18:50:50 go: downloading github.com/fatih/color v1.9.0 18:50:50 go: downloading github.com/mattn/go-colorable v0.1.6 18:50:50 go: downloading github.com/mattn/go-isatty v0.0.12 18:50:50 go: downloading github.com/mitchellh/go-homedir v1.1.0 18:50:50 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:50:50 go: downloading github.com/pkg/errors v0.8.1 18:50:50 go: downloading github.com/hashicorp/go-msgpack v0.5.3 18:50:50 go: downloading github.com/hashicorp/memberlist v0.2.2 18:50:50 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 18:50:50 go: downloading github.com/go-redis/redis/v7 v7.3.0 18:50:50 go: downloading github.com/pebbe/zmq4 v1.2.7 18:50:51 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 18:50:51 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 18:50:51 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 18:50:51 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 18:50:51 go: downloading github.com/onsi/ginkgo v1.10.1 18:50:51 go: downloading github.com/onsi/gomega v1.7.0 18:50:52 go: downloading github.com/hashicorp/golang-lru v0.5.0 18:50:52 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 18:50:52 go: downloading github.com/hashicorp/go-multierror v1.1.0 18:50:52 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 18:50:52 go: downloading github.com/miekg/dns v1.1.26 18:50:52 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 18:50:52 go: downloading github.com/hashicorp/errwrap v1.0.0 18:50:52 go: downloading github.com/hpcloud/tail v1.0.0 18:50:53 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 18:50:53 go: downloading gopkg.in/fsnotify.v1 v1.4.7 18:50:53 go: downloading github.com/golang/protobuf v1.3.2 18:50:53 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 18:50:53 go: downloading github.com/fsnotify/fsnotify v1.4.7 18:50:53 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 18:51:06 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/15/app-service-template' 18:51:06 make -C ./app-service-template test 18:51:06 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/15/app-service-template' 18:51:06 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 18:51:09 Running on prd-ubuntu18.04-docker-arm64-4c-16g-411 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws 18:51:09 Running in /w/workspace/app-functions-sdk-go/15 [Pipeline] { [Pipeline] checkout 18:51:09 The recommended git tool is: git 18:51:14 ok new-app-service 0.017s coverage: 47.8% of statements 18:51:14 ? new-app-service/config [no test files] 18:51:14 ok new-app-service/functions 0.007s 18:51:14 CGO_ENABLED=1 go vet ./... 18:51:14 using credential edgex-jenkins-ssh 18:51:14 Cloning the remote Git repository 18:51:14 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 18:51:14 > git init /w/workspace/app-functions-sdk-go/15 # timeout=10 18:51:14 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 18:51:14 > git --version # timeout=10 18:51:14 > git --version # 'git version 2.17.1' 18:51:14 using GIT_SSH to set credentials SSH Credentials for GitHub 18:51:14 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:51:18 Avoid second fetch 18:51:18 Checking out Revision 5b39ffbcbe47cfdbd6e7f27eea3a95ad74b4ef3b (main) 18:51:18 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 18:51:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:51:18 > git config core.sparsecheckout # timeout=10 18:51:18 > git checkout -f 5b39ffbcbe47cfdbd6e7f27eea3a95ad74b4ef3b # timeout=10 18:51:21 gofmt -l . 18:51:21 [ "`gofmt -l .`" = "" ] 18:51:21 ./bin/test-attribution-txt.sh 18:51:21 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/15/app-service-template' 18:51:21 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:51:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 18:51:22 Commit message: "build(deps): bump github.com/google/uuid from 1.2.0 to 1.3.0 (#921)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 18:51:23 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.009s coverage: 63.6% of statements 18:51:23 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.021s coverage: 96.5% of statements 18:51:23 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [Pipeline] echo 18:51:23 ========================================================= 18:51:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 18:51:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 18:51:23 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.010s coverage: 61.8% of statements 18:51:23 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 18:51:23 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.019s 18:51:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 18:51:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.045s coverage: 74.5% of statements 18:51:24 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 18:51:24 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 18:51:24 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 18:51:24 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 18:51:24 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 18:51:24 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 18:51:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.003s coverage: 97.1% of statements 18:51:24 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 18:51:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.015s coverage: 10.5% of statements 18:51:25 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:51:25 595b0fe564bb: Pulling fs layer 18:51:25 24495759ef45: Pulling fs layer 18:51:25 d148012ef14d: Pulling fs layer 18:51:25 e90a11edd702: Pulling fs layer 18:51:25 d77568369979: Pulling fs layer 18:51:25 fc1c9f9a7f3b: Pulling fs layer 18:51:25 170f2ba95c9a: Pulling fs layer 18:51:25 97ac5df62f85: Pulling fs layer 18:51:25 d77568369979: Waiting 18:51:25 fc1c9f9a7f3b: Waiting 18:51:25 170f2ba95c9a: Waiting 18:51:25 97ac5df62f85: Waiting 18:51:25 e90a11edd702: Waiting 18:51:25 d148012ef14d: Verifying Checksum 18:51:25 d148012ef14d: Download complete 18:51:25 24495759ef45: Verifying Checksum 18:51:25 24495759ef45: Download complete 18:51:25 d77568369979: Verifying Checksum 18:51:25 d77568369979: Download complete 18:51:25 fc1c9f9a7f3b: Verifying Checksum 18:51:25 170f2ba95c9a: Download complete 18:51:25 595b0fe564bb: Verifying Checksum 18:51:25 595b0fe564bb: Download complete 18:51:26 595b0fe564bb: Pull complete 18:51:27 24495759ef45: Pull complete 18:51:27 d148012ef14d: Pull complete 18:51:27 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.737s coverage: 76.1% of statements 18:51:27 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 18:51:27 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.006s coverage: 12.5% of statements 18:51:27 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.012s coverage: 27.3% of statements 18:51:27 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 18:51:27 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 18:51:27 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.006s coverage: 51.4% of statements 18:51:30 97ac5df62f85: Verifying Checksum 18:51:30 97ac5df62f85: Download complete 18:51:30 e90a11edd702: Verifying Checksum 18:51:30 e90a11edd702: Download complete 18:51:42 e90a11edd702: Pull complete 18:51:42 d77568369979: Pull complete 18:51:42 fc1c9f9a7f3b: Pull complete 18:51:42 170f2ba95c9a: Pull complete 18:51:48 97ac5df62f85: Pull complete 18:51:48 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 18:51:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 18:51:48 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 18:51:48 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 18:51:48 + docker inspect -f . ci-base-image-arm64 18:51:48 . [Pipeline] withDockerContainer 18:51:49 prd-ubuntu18.04-docker-arm64-4c-16g-411 does not seem to be running inside a container 18:51:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/15 -v /w/workspace/app-functions-sdk-go/15:/w/workspace/app-functions-sdk-go/15:rw,z -v /w/workspace/app-functions-sdk-go/15@tmp:/w/workspace/app-functions-sdk-go/15@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 ******** ci-base-image-arm64 cat 18:51:54 $ docker top f9b29bfe1638cc3a3ac40b4e08b929f0cd5a7f190c6cd30f62cb4bfafc9dbce3 -eo pid,comm [Pipeline] { [Pipeline] sh 18:51:54 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.063s coverage: 78.1% of statements 18:51:54 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.006s coverage: 94.4% of statements 18:51:54 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:51:54 gofmt -l . 18:51:54 [ "`gofmt -l .`" = "" ] [Pipeline] } 18:51:54 $ docker stop --time=1 b250e037e42f9259c3a13e4f6e79c7e9a98612556fc0bc8c822d0b0a44686633 18:51:54 + go version 18:51:54 go version go1.16.6 linux/arm64 18:51:55 $ docker rm -f b250e037e42f9259c3a13e4f6e79c7e9a98612556fc0bc8c822d0b0a44686633 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } 18:51:56 $ docker stop --time=1 f9b29bfe1638cc3a3ac40b4e08b929f0cd5a7f190c6cd30f62cb4bfafc9dbce3 18:51:56 + sudo chown -R jenkins:jenkins . 18:51:58 $ docker rm -f f9b29bfe1638cc3a3ac40b4e08b929f0cd5a7f190c6cd30f62cb4bfafc9dbce3 [Pipeline] // withDockerContainer [Pipeline] stash [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:51:58 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } 18:51:58 + docker inspect -f . ci-base-image-arm64 18:51:58 . [Pipeline] // stage [Pipeline] withDockerContainer 18:51:59 prd-ubuntu18.04-docker-arm64-4c-16g-411 does not seem to be running inside a container 18:51:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/15 -v /w/workspace/app-functions-sdk-go/15:/w/workspace/app-functions-sdk-go/15:rw,z -v /w/workspace/app-functions-sdk-go/15@tmp:/w/workspace/app-functions-sdk-go/15@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 ******** ci-base-image-arm64 cat 18:52:01 $ docker top 619eb12634b2b07250e31cc2f3bc62e625e36d7998c9cdf295ebc5291e24165b -eo pid,comm [Pipeline] { [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] fileExists [Pipeline] sh 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 18:52:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:52:01 18:52:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix 18:52:02 + make test 18:52:02 make -C ./app-service-template build 18:52:02 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/15/app-service-template' 18:52:02 go mod tidy [Pipeline] sh 18:52:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:52:02 latest: Pulling from edgex-lftools-log-publisher 18:52:02 b4d181a07f80: Pulling fs layer 18:52:02 a1111a8f2ec3: Pulling fs layer 18:52:02 ed53099fbce6: Pulling fs layer 18:52:02 dc539afda2c1: Pulling fs layer 18:52:02 77bc0d833cb6: Pulling fs layer 18:52:02 9065ff56babe: Pulling fs layer 18:52:02 d287ab97295c: Pulling fs layer 18:52:02 dc539afda2c1: Waiting 18:52:02 77bc0d833cb6: Waiting 18:52:02 9065ff56babe: Waiting 18:52:02 d287ab97295c: Waiting 18:52:02 a1111a8f2ec3: Verifying Checksum 18:52:02 a1111a8f2ec3: Download complete 18:52:02 dc539afda2c1: Verifying Checksum 18:52:02 dc539afda2c1: Download complete 18:52:02 77bc0d833cb6: Verifying Checksum 18:52:02 77bc0d833cb6: Download complete 18:52:02 9065ff56babe: Verifying Checksum 18:52:02 9065ff56babe: Download complete 18:52:03 ed53099fbce6: Verifying Checksum 18:52:03 ed53099fbce6: Download complete 18:52:03 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 18:52:03 go: downloading github.com/google/uuid v1.3.0 18:52:03 go: downloading github.com/stretchr/testify v1.7.0 18:52:03 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 18:52:03 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 18:52:03 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 18:52:03 go: downloading github.com/davecgh/go-spew v1.1.1 18:52:03 go: downloading github.com/pmezard/go-difflib v1.0.0 18:52:03 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 18:52:03 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 18:52:03 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 18:52:03 go: downloading github.com/stretchr/objx v0.1.0 18:52:03 go: downloading github.com/go-playground/validator/v10 v10.6.1 18:52:03 go: downloading github.com/go-kit/kit v0.9.0 18:52:03 go: downloading gopkg.in/yaml.v2 v2.4.0 18:52:03 go: downloading github.com/gorilla/mux v1.8.0 18:52:03 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 18:52:03 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 18:52:03 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 18:52:03 go: downloading github.com/mitchellh/copystructure v1.0.0 18:52:04 b4d181a07f80: Verifying Checksum 18:52:04 b4d181a07f80: Download complete 18:52:04 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 18:52:04 go: downloading github.com/gorilla/websocket v1.4.2 18:52:04 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 18:52:04 go: downloading github.com/hashicorp/consul/api v1.8.1 18:52:04 go: downloading github.com/pelletier/go-toml v1.9.2 18:52:04 go: downloading github.com/go-playground/universal-translator v0.17.0 18:52:04 go: downloading github.com/leodido/go-urn v1.2.0 18:52:04 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 18:52:04 go: downloading golang.org/x/text v0.3.2 18:52:04 go: downloading github.com/go-playground/assert/v2 v2.0.1 18:52:05 b4d181a07f80: Pull complete 18:52:05 go: downloading github.com/go-playground/locales v0.13.0 18:52:05 a1111a8f2ec3: Pull complete 18:52:05 ed53099fbce6: Pull complete 18:52:05 dc539afda2c1: Pull complete 18:52:06 77bc0d833cb6: Pull complete 18:52:06 9065ff56babe: Pull complete 18:52:07 go: downloading github.com/mitchellh/reflectwalk v1.0.0 18:52:07 go: downloading github.com/x448/float16 v0.8.4 18:52:07 go: downloading github.com/kr/pretty v0.2.0 18:52:07 go: downloading github.com/go-logfmt/logfmt v0.4.0 18:52:07 go: downloading github.com/go-stack/stack v1.8.0 18:52:07 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 18:52:07 go: downloading github.com/hashicorp/go-hclog v0.12.0 18:52:07 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 18:52:07 go: downloading github.com/hashicorp/serf v0.9.5 18:52:07 go: downloading github.com/mitchellh/mapstructure v1.1.2 18:52:08 go: downloading github.com/hashicorp/consul/sdk v0.7.0 18:52:08 go: downloading github.com/hashicorp/go-uuid v1.0.1 18:52:08 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 18:52:08 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 18:52:08 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:52:08 go: downloading github.com/kr/text v0.1.0 18:52:08 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 18:52:08 go: downloading github.com/fatih/color v1.9.0 18:52:08 go: downloading github.com/mattn/go-colorable v0.1.6 18:52:08 go: downloading github.com/mattn/go-isatty v0.0.12 18:52:08 go: downloading github.com/mitchellh/go-homedir v1.1.0 18:52:08 go: downloading github.com/pkg/errors v0.8.1 18:52:08 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 18:52:08 go: downloading github.com/go-redis/redis/v7 v7.3.0 18:52:08 go: downloading github.com/pebbe/zmq4 v1.2.7 18:52:08 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 18:52:08 d287ab97295c: Verifying Checksum 18:52:08 d287ab97295c: Download complete 18:52:08 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:52:08 go: downloading github.com/hashicorp/go-msgpack v0.5.3 18:52:08 go: downloading github.com/hashicorp/memberlist v0.2.2 18:52:08 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 18:52:08 go: downloading github.com/onsi/ginkgo v1.10.1 18:52:08 go: downloading github.com/onsi/gomega v1.7.0 18:52:08 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 18:52:08 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 18:52:08 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 18:52:08 go: downloading github.com/hashicorp/go-multierror v1.1.0 18:52:08 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 18:52:08 go: downloading github.com/miekg/dns v1.1.26 18:52:08 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 18:52:08 go: downloading github.com/hashicorp/golang-lru v0.5.0 18:52:09 go: downloading github.com/hashicorp/errwrap v1.0.0 18:52:09 go: downloading github.com/hpcloud/tail v1.0.0 18:52:09 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 18:52:09 go: downloading github.com/golang/protobuf v1.3.2 18:52:09 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 18:52:09 go: downloading gopkg.in/fsnotify.v1 v1.4.7 18:52:09 go: downloading github.com/fsnotify/fsnotify v1.4.7 18:52:09 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 18:52:13 d287ab97295c: Pull complete 18:52:13 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 18:52:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:52:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 18:52:13 prd-centos7-docker-4c-2g-412 does not seem to be running inside a container 18:52:13 $ 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/15 -v /w/workspace/app-functions-sdk-go/15:/w/workspace/app-functions-sdk-go/15:rw,z -v /w/workspace/app-functions-sdk-go/15@tmp:/w/workspace/app-functions-sdk-go/15@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:52:16 $ docker top 523162ac3a2d9008519a31589c91696333dd4dd5f3f251efbf7b30276f0305a2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:52:17 ---> job-cost.sh 18:52:17 lf-activate-venv: SKIPPING 18:52:17 INFO: No Stack... 18:52:18 INFO: Retrieving Pricing Info for: v3-standard-2 18:52:18 INFO: Archiving Costs [Pipeline] sh 18:52:18 + cat /w/workspace/app-functions-sdk-go/15/archives/cost.csv 18:52:18 + cut -d, -f6 [Pipeline] lock 18:52:18 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-15-stack-cost] 18:52:18 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-15-stack-cost] did not exist. Created. 18:52:18 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:52:19 + echo total: 0.05999999865889549 [Pipeline] stash 18:52:19 Stashed 1 file(s) [Pipeline] } 18:52:19 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-15-stack-cost] [Pipeline] // lock [Pipeline] } 18:52:19 $ docker stop --time=1 523162ac3a2d9008519a31589c91696333dd4dd5f3f251efbf7b30276f0305a2 18:52:20 $ docker rm -f 523162ac3a2d9008519a31589c91696333dd4dd5f3f251efbf7b30276f0305a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:52:48 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/15/app-service-template' 18:52:48 make -C ./app-service-template test 18:52:48 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/15/app-service-template' 18:52:48 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 18:53:15 ok new-app-service 0.046s coverage: 47.8% of statements 18:53:15 ? new-app-service/config [no test files] 18:53:15 ok new-app-service/functions 0.053s 18:53:15 CGO_ENABLED=1 go vet ./... 18:53:42 gofmt -l . 18:53:42 [ "`gofmt -l .`" = "" ] 18:53:42 ./bin/test-attribution-txt.sh 18:53:42 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/15/app-service-template' 18:53:42 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:53:42 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 18:53:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.117s coverage: 63.6% of statements 18:53:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.064s coverage: 96.5% of statements 18:53:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 18:53:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.103s coverage: 61.8% of statements 18:53:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 18:53:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.052s 18:53:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.088s coverage: 74.5% of statements 18:53:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 18:53:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 18:53:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 18:53:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 18:53:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 18:53:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 18:53:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.020s coverage: 97.1% of statements 18:53:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 18:53:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.036s coverage: 10.5% of statements 18:53:57 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.805s coverage: 76.1% of statements 18:53:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 18:53:57 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.043s coverage: 12.5% of statements 18:53:57 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.088s coverage: 27.3% of statements 18:53:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 18:53:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 18:53:57 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.044s coverage: 51.4% of statements 18:54:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.146s coverage: 78.1% of statements 18:54:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.034s coverage: 94.4% of statements 18:54:24 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:54:26 gofmt -l . 18:54:27 [ "`gofmt -l .`" = "" ] [Pipeline] } 18:54:27 $ docker stop --time=1 619eb12634b2b07250e31cc2f3bc62e625e36d7998c9cdf295ebc5291e24165b 18:54:29 $ docker rm -f 619eb12634b2b07250e31cc2f3bc62e625e36d7998c9cdf295ebc5291e24165b [Pipeline] // withDockerContainer [Pipeline] sh 18:54:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:54:32 Warning: overwriting stash ‘coverage-report’ 18:54:32 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 18:54:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:54:33 18:54:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 18:54:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:54:34 arm64: Pulling from edgex-lftools-log-publisher 18:54:34 448f6bf000e3: Pulling fs layer 18:54:34 f757da607395: Pulling fs layer 18:54:34 05883995daec: Pulling fs layer 18:54:34 8603b9c90790: Pulling fs layer 18:54:34 1560dd03e051: Pulling fs layer 18:54:34 27f5ce0e4adf: Pulling fs layer 18:54:34 c2d8d7efcc4b: Pulling fs layer 18:54:34 1560dd03e051: Waiting 18:54:34 27f5ce0e4adf: Waiting 18:54:34 c2d8d7efcc4b: Waiting 18:54:34 8603b9c90790: Waiting 18:54:34 f757da607395: Verifying Checksum 18:54:34 f757da607395: Download complete 18:54:35 8603b9c90790: Verifying Checksum 18:54:35 8603b9c90790: Download complete 18:54:35 05883995daec: Verifying Checksum 18:54:35 05883995daec: Download complete 18:54:35 1560dd03e051: Verifying Checksum 18:54:35 1560dd03e051: Download complete 18:54:35 27f5ce0e4adf: Verifying Checksum 18:54:35 27f5ce0e4adf: Download complete 18:54:36 448f6bf000e3: Verifying Checksum 18:54:36 448f6bf000e3: Download complete 18:54:40 c2d8d7efcc4b: Verifying Checksum 18:54:40 c2d8d7efcc4b: Download complete 18:54:40 448f6bf000e3: Pull complete 18:54:40 f757da607395: Pull complete 18:54:42 05883995daec: Pull complete 18:54:42 8603b9c90790: Pull complete 18:54:43 1560dd03e051: Pull complete 18:54:44 27f5ce0e4adf: Pull complete 18:54:59 c2d8d7efcc4b: Pull complete 18:54:59 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 18:54:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:54:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 18:54:59 prd-ubuntu18.04-docker-arm64-4c-16g-411 does not seem to be running inside a container 18:54:59 $ 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/15 -v /w/workspace/app-functions-sdk-go/15:/w/workspace/app-functions-sdk-go/15:rw,z -v /w/workspace/app-functions-sdk-go/15@tmp:/w/workspace/app-functions-sdk-go/15@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:55:03 $ docker top 3ab880611e5c9823bc2107d573ccf856d1bc84f79e0d51f65dab412f8917bb0c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:55:04 ---> job-cost.sh 18:55:04 lf-activate-venv: SKIPPING 18:55:04 INFO: No Stack... 18:55:05 INFO: Retrieving Pricing Info for: v3-standard-4 18:55:06 INFO: Archiving Costs [Pipeline] sh 18:55:06 + cat /w/workspace/app-functions-sdk-go/15/archives/cost.csv 18:55:06 + cut -d, -f6 [Pipeline] lock 18:55:07 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-15-stack-cost] 18:55:07 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-15-stack-cost] did not exist. Created. 18:55:07 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:55:07 /w/workspace/app-functions-sdk-go/15@tmp/durable-9920e935/script.sh: 1: /w/workspace/app-functions-sdk-go/15@tmp/durable-9920e935/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 18:55:08 + echo total: 0.10999999940395355 [Pipeline] stash 18:55:08 Warning: overwriting stash ‘stack-cost’ 18:55:08 Stashed 1 file(s) [Pipeline] } 18:55:08 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-15-stack-cost] [Pipeline] // lock [Pipeline] } 18:55:08 $ docker stop --time=1 3ab880611e5c9823bc2107d573ccf856d1bc84f79e0d51f65dab412f8917bb0c 18:55:10 $ docker rm -f 3ab880611e5c9823bc2107d573ccf856d1bc84f79e0d51f65dab412f8917bb0c [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 18:55:11 provisioning config files... 18:55:11 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config1324105831031867565tmp [Pipeline] { [Pipeline] sh 18:55:11 + set +x 18:55:11 + curl -s https://codecov.io/bash 18:55:11 + bash -s -- 18:55:11 18:55:11 _____ _ 18:55:11 / ____| | | 18:55:11 | | ___ __| | ___ ___ _____ __ 18:55:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:55:11 | |___| (_) | (_| | __/ (_| (_) \ V / 18:55:11 \_____\___/ \__,_|\___|\___\___/ \_/ 18:55:11 Bash-1.0.6 18:55:11 18:55:11 18:55:11 ==> git version 2.24.4 found 18:55:11 ==> 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 18:55:11 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 18:55:11 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 18:55:11 ==> Jenkins CI detected. 18:55:11 current dir:  /w/workspace/oundry_app-functions-sdk-go_main 18:55:11 project root: . 18:55:11 --> token set from env 18:55:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:55:12 ==> Running gcov in . (disable via -X gcov) 18:55:12 ==> Python coveragepy not found 18:55:12 ==> Searching for coverage reports in: 18:55:12 + . 18:55:12 -> Found 2 reports 18:55:12 ==> Detecting git/mercurial file structure 18:55:12 ==> Reading reports 18:55:12 + ./app-service-template/coverage.out bytes=1055 18:55:12 + ./coverage.out bytes=95183 18:55:12 ==> Appending adjustments 18:55:12 https://docs.codecov.io/docs/fixing-reports 18:55:12 + Found adjustments 18:55:12 ==> Gzipping contents 18:55:12 20K /tmp/codecov.uWodz4.gz 18:55:12 ==> Uploading reports 18:55:12 url: https://codecov.io 18:55:12 query: branch=main&commit=5b39ffbcbe47cfdbd6e7f27eea3a95ad74b4ef3b&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F15%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:55:12 -> Pinging Codecov 18:55:12 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=main&commit=5b39ffbcbe47cfdbd6e7f27eea3a95ad74b4ef3b&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F15%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:55:13 -> Uploading to 18:55:13 https://storage.googleapis.com/codecov/v4/raw/2021-08-20/3D8B5DFFC46A037C893635FACE044666/5b39ffbcbe47cfdbd6e7f27eea3a95ad74b4ef3b/8d275d11-9c8a-4222-b0d6-b03a5adf5ead.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210820%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210820T185512Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f92f2719695493c18276122bfb0a6ff957ed81592b38de80ec26bd80066307c2 18:55:13 % Total % Received % Xferd Average Speed Time Time Time Current 18:55:13 Dload Upload Total Spent Left Speed 18:55:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16443 0 0 100 16443 0 42372 --:--:-- --:--:-- --:--:-- 42488 18:55:13 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/5b39ffbcbe47cfdbd6e7f27eea3a95ad74b4ef3b [Pipeline] } 18:55:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:55:13 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:55:13 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:55:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:55:14 18:55:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 18:55:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:55:14 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:55:14 188c0c94c7c5: Pulling fs layer 18:55:14 0ef7d3d256c8: Pulling fs layer 18:55:14 de9db76c5a1d: Pulling fs layer 18:55:14 0eba1c9be4d2: Pulling fs layer 18:55:14 0d57e429df01: Pulling fs layer 18:55:14 4e4be7b47b0d: Pulling fs layer 18:55:14 e1f770b5df2f: Pulling fs layer 18:55:14 85a0685a4137: Pulling fs layer 18:55:14 0d57e429df01: Waiting 18:55:14 4e4be7b47b0d: Waiting 18:55:14 e1f770b5df2f: Waiting 18:55:14 85a0685a4137: Waiting 18:55:14 0eba1c9be4d2: Waiting 18:55:14 de9db76c5a1d: Verifying Checksum 18:55:14 de9db76c5a1d: Download complete 18:55:14 0ef7d3d256c8: Verifying Checksum 18:55:14 0ef7d3d256c8: Download complete 18:55:14 0d57e429df01: Verifying Checksum 18:55:14 0d57e429df01: Download complete 18:55:14 4e4be7b47b0d: Verifying Checksum 18:55:14 4e4be7b47b0d: Download complete 18:55:14 188c0c94c7c5: Verifying Checksum 18:55:14 188c0c94c7c5: Download complete 18:55:15 188c0c94c7c5: Pull complete 18:55:15 0ef7d3d256c8: Pull complete 18:55:15 de9db76c5a1d: Pull complete 18:55:16 e1f770b5df2f: Verifying Checksum 18:55:16 e1f770b5df2f: Download complete 18:55:23 0eba1c9be4d2: Verifying Checksum 18:55:23 0eba1c9be4d2: Download complete 18:55:24 85a0685a4137: Verifying Checksum 18:55:24 85a0685a4137: Download complete 18:55:27 0eba1c9be4d2: Pull complete 18:55:27 0d57e429df01: Pull complete 18:55:27 4e4be7b47b0d: Pull complete 18:55:28 e1f770b5df2f: Pull complete 18:55:32 85a0685a4137: Pull complete 18:55:32 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 18:55:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:55:32 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 18:55:32 prd-centos7-docker-4c-2g-409 does not seem to be running inside a container 18:55:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 18:55:34 $ docker top e6892a50bb54e458efc6e71c89e0d3ada41f89daa1a62735a16b1a5aa7fa2e7f -eo pid,comm [Pipeline] { [Pipeline] echo 18:55:35 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 18:55:35 + set -o pipefail 18:55:35 + snyk monitor '--org=edgex-jenkins' 18:55:40 18:55:40 Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v2)... 18:55:40 18:55:40 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/fa3fe776-7c12-4f13-9014-20be8bb949b7 18:55:40 18:55:40 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 18:55:40 18:55:40 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:55:40 18:55:40 18:55:40 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 18:55:40 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 18:55:40 $ docker stop --time=1 e6892a50bb54e458efc6e71c89e0d3ada41f89daa1a62735a16b1a5aa7fa2e7f 18:55:43 $ docker rm -f e6892a50bb54e458efc6e71c89e0d3ada41f89daa1a62735a16b1a5aa7fa2e7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 18:55:43 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:55:43 provisioning config files... 18:55:43 not able to provide the file [ManagedFile: id=swaggerhub-api-key, targetLocation=null, variable=APIKEY], can't be resolved by any provider - maybe it got deleted by an administrator? [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:55:44 + '[' -d /w/workspace/oundry_app-functions-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 18:55:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:55:46 ---> package-listing.sh 18:55:46 ++ tr '[:upper:]' '[:lower:]' 18:55:46 ++ facter osfamily 18:55:46 + OS_FAMILY=redhat 18:55:46 + workspace=/w/workspace/oundry_app-functions-sdk-go_main 18:55:46 + START_PACKAGES=/tmp/packages_start.txt 18:55:46 + END_PACKAGES=/tmp/packages_end.txt 18:55:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:55:46 + PACKAGES=/tmp/packages_start.txt 18:55:46 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 18:55:46 + PACKAGES=/tmp/packages_end.txt 18:55:46 + case "${OS_FAMILY}" in 18:55:46 + sort 18:55:46 + rpm -qa 18:55:47 + '[' -f /tmp/packages_start.txt ']' 18:55:47 + '[' -f /tmp/packages_end.txt ']' 18:55:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:55:47 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 18:55:47 + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ 18:55:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_app-functions-sdk-go_main/archives/ [Pipeline] echo 18:55: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/oundry_app-functions-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:55:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:55:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:55:47 18:55:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 18:55:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:55:48 latest: Pulling from edgex-lftools-log-publisher 18:55:48 b4d181a07f80: Pulling fs layer 18:55:48 a1111a8f2ec3: Pulling fs layer 18:55:48 ed53099fbce6: Pulling fs layer 18:55:48 dc539afda2c1: Pulling fs layer 18:55:48 77bc0d833cb6: Pulling fs layer 18:55:48 9065ff56babe: Pulling fs layer 18:55:48 d287ab97295c: Pulling fs layer 18:55:48 dc539afda2c1: Waiting 18:55:48 77bc0d833cb6: Waiting 18:55:48 9065ff56babe: Waiting 18:55:48 d287ab97295c: Waiting 18:55:48 a1111a8f2ec3: Verifying Checksum 18:55:48 a1111a8f2ec3: Download complete 18:55:48 dc539afda2c1: Verifying Checksum 18:55:48 dc539afda2c1: Download complete 18:55:49 77bc0d833cb6: Verifying Checksum 18:55:49 77bc0d833cb6: Download complete 18:55:49 9065ff56babe: Verifying Checksum 18:55:49 9065ff56babe: Download complete 18:55:49 ed53099fbce6: Verifying Checksum 18:55:49 ed53099fbce6: Download complete 18:55:51 b4d181a07f80: Verifying Checksum 18:55:51 b4d181a07f80: Download complete 18:55:52 b4d181a07f80: Pull complete 18:55:52 a1111a8f2ec3: Pull complete 18:55:53 ed53099fbce6: Pull complete 18:55:53 dc539afda2c1: Pull complete 18:55:53 77bc0d833cb6: Pull complete 18:55:53 9065ff56babe: Pull complete 18:55:57 d287ab97295c: Verifying Checksum 18:55:57 d287ab97295c: Download complete 18:56:02 d287ab97295c: Pull complete 18:56:02 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 18:56:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:56:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 18:56:02 prd-centos7-docker-4c-2g-409 does not seem to be running inside a container 18:56:02 $ 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/oundry_app-functions-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:56:04 $ docker top 3b1be2f1ad9a4fb2e4181996f4b7d87c2b7d980201f60f0bbcff1cde7083fa48 -eo pid,comm [Pipeline] { [Pipeline] sh 18:56:05 + touch /tmp/pre-build-complete [Pipeline] sh 18:56:05 + mkdir -p /var/log/sysstat [Pipeline] sh 18:56:05 + ls /var/log/sa-host 18:56:05 + sadf -c /var/log/sa-host/sa19 18:56:05 file_magic: OK 18:56:05 HZ: Using current value: 100 18:56:05 file_header: OK 18:56:05 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 18:56:05 Statistics: 18:56:05 Hnuu...uuuununununu... 18:56:05 File successfully converted to sysstat format version 12.0.3 18:56:05 + sadf -c /var/log/sa-host/sa20 18:56:05 file_magic: OK 18:56:05 HZ: Using current value: 100 18:56:05 file_header: OK 18:56:05 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 18:56:05 Statistics: 18:56:05 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:56:05 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:56:06 provisioning config files... 18:56:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config2820764571954234727tmp [Pipeline] { [Pipeline] echo 18:56:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:56:06 ---> create-netrc.sh [Pipeline] } 18:56:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:56:06 ---> python-tools-install.sh [Pipeline] echo 18:56:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:56:07 ---> sudo-logs.sh 18:56:07 Archiving 'sudo' log.. 18:56:07 sudo: unable to resolve host prd-centos7-docker-4c-2g-409.vexxhost.local: Name or service not known 18:56:07 sudo: unable to resolve host prd-centos7-docker-4c-2g-409.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 18:56:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:56:07 ---> job-cost.sh 18:56:07 lf-activate-venv: SKIPPING 18:56:07 DEBUG: total: 0.10999999940395355 18:56:07 INFO: Retrieving Stack Cost... 18:56:08 INFO: Retrieving Pricing Info for: v3-standard-2 18:56:08 INFO: Archiving Costs [Pipeline] echo 18:56:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:56:09 ---> logs-deploy.sh 18:56:09 lf-activate-venv: SKIPPING 18:56:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/15 18:56:09 INFO: archiving workspace using pattern(s): 18:56:09 Archives upload complete. 18:56:10 INFO: archiving logs to Nexus 18:56:10 ---> uname -a: 18:56:10 Linux prd-centos7-docker-4c-2g-409.vexxhost.local 3.10.0-1160.36.2.el7.x86_64 #1 SMP Wed Jul 21 11:57:15 UTC 2021 x86_64 GNU/Linux 18:56:10 18:56:10 18:56:10 ---> lscpu: 18:56:10 Architecture: x86_64 18:56:10 CPU op-mode(s): 32-bit, 64-bit 18:56:10 Byte Order: Little Endian 18:56:10 Address sizes: 40 bits physical, 48 bits virtual 18:56:10 CPU(s): 2 18:56:10 On-line CPU(s) list: 0,1 18:56:10 Thread(s) per core: 1 18:56:10 Core(s) per socket: 1 18:56:10 Socket(s): 2 18:56:10 NUMA node(s): 1 18:56:10 Vendor ID: AuthenticAMD 18:56:10 CPU family: 23 18:56:10 Model: 49 18:56:10 Model name: AMD EPYC-Rome Processor 18:56:10 Stepping: 0 18:56:10 CPU MHz: 2799.998 18:56:10 BogoMIPS: 5599.99 18:56:10 Virtualization: AMD-V 18:56:10 Hypervisor vendor: KVM 18:56:10 Virtualization type: full 18:56:10 L1d cache: 32K 18:56:10 L1i cache: 32K 18:56:10 L2 cache: 512K 18:56:10 L3 cache: 16384K 18:56:10 NUMA node0 CPU(s): 0,1 18:56:10 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 18:56:10 18:56:10 18:56:10 ---> nproc: 18:56:10 2 18:56:10 18:56:10 18:56:10 ---> df -h: 18:56:10 Filesystem Size Used Avail Use% Mounted on 18:56:10 overlay 40G 8.4G 32G 21% / 18:56:10 tmpfs 64M 0 64M 0% /dev 18:56:10 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 18:56:10 shm 64M 0 64M 0% /dev/shm 18:56:10 /dev/vda1 40G 8.4G 32G 21% /facter-os 18:56:10 18:56:10 18:56:10 ---> sar -b -r -n DEV: 18:56:10 Linux 3.10.0-1160.36.2.el7.x86_64 (centos-7-docker-611db46c-487c-30ca-28da-62715972c0a2.vexxhost.lo) 08/20/21 _x86_64_ (2 CPU) 18:56:10 18:56:10 18:47:26 LINUX RESTART (2 CPU) 18:56:10 18:56:10 18:48:01 tps rtps wtps bread/s bwrtn/s 18:56:10 18:49:01 84.12 3.80 80.32 2436.10 4849.07 18:56:10 18:50:01 1.85 0.00 1.85 0.00 37.10 18:56:10 18:51:01 0.25 0.00 0.25 0.00 3.26 18:56:10 18:52:01 0.25 0.00 0.25 0.00 3.23 18:56:10 18:53:01 0.27 0.00 0.27 0.00 3.32 18:56:10 18:54:01 0.28 0.00 0.28 0.00 3.26 18:56:10 18:55:01 0.27 0.00 0.27 0.00 3.63 18:56:10 18:56:01 121.75 0.12 121.63 13.59 36679.18 18:56:10 Average: 26.13 0.49 25.64 306.28 5198.18 18:56:10 18:56:10 18:48:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:56:10 18:49:01 5658392 0 608908 7.60 2620 1739020 1123216 12.40 562124 1549456 128 18:56:10 18:50:01 5658652 0 608640 7.60 2620 1739028 1122992 12.40 562488 1549436 20 18:56:10 18:51:01 5662872 0 604420 7.55 2620 1739028 1034212 11.42 559672 1549436 8 18:56:10 18:52:01 5660796 0 606488 7.57 2620 1739036 1034344 11.42 561068 1549972 16 18:56:10 18:53:01 5666476 0 600804 7.50 2620 1739040 1034144 11.42 556124 1549972 16 18:56:10 18:54:01 5657392 0 609884 7.62 2620 1739044 1034048 11.42 565044 1549992 12 18:56:10 18:55:01 5655492 0 611780 7.64 2620 1739048 1034288 11.42 566936 1549988 20 18:56:10 18:56:01 4123212 0 859616 10.73 2620 3023492 1507400 16.64 1018520 2466872 565436 18:56:10 Average: 5467910 0 638818 7.98 2620 1899592 1115580 12.32 618997 1664390 70707 18:56:10 18:56:10 18:48:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:56:10 18:49:01 eth0 356.43 304.01 1206.28 64.80 0.00 0.00 0.00 0.00 18:56:10 18:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:10 18:49:01 docker0 144.07 134.22 11.07 316.85 0.00 0.00 0.00 0.00 18:56:10 18:50:01 eth0 2.88 1.17 3.24 0.27 0.00 0.00 0.00 0.00 18:56:10 18:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:10 18:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:10 18:51:01 eth0 1.08 0.30 0.33 0.20 0.00 0.00 0.00 0.00 18:56:10 18:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:10 18:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:10 18:52:01 eth0 0.98 0.73 0.54 0.37 0.00 0.00 0.00 0.00 18:56:10 18:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:10 18:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:10 18:53:01 eth0 0.30 0.18 0.09 0.10 0.00 0.00 0.00 0.00 18:56:10 18:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:10 18:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:10 18:54:01 eth0 0.85 0.07 0.07 0.01 0.00 0.00 0.00 0.00 18:56:10 18:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:10 18:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:10 18:55:01 eth0 0.92 0.45 0.39 0.21 0.00 0.00 0.00 0.00 18:56:10 18:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:10 18:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:10 18:56:01 eth0 1155.87 801.23 7087.94 103.86 0.00 0.00 0.00 0.00 18:56:10 18:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:10 18:56:01 docker0 63.58 79.78 5.04 370.30 0.00 0.00 0.00 0.00 18:56:10 Average: eth0 189.93 138.53 1037.45 21.23 0.00 0.00 0.00 0.00 18:56:10 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:10 Average: docker0 25.96 26.75 2.01 85.91 0.00 0.00 0.00 0.00 18:56:10 18:56:10 18:56:10 ---> sar -P ALL: 18:56:10 Linux 3.10.0-1160.36.2.el7.x86_64 (centos-7-docker-611db46c-487c-30ca-28da-62715972c0a2.vexxhost.lo) 08/20/21 _x86_64_ (2 CPU) 18:56:10 18:56:10 18:47:26 LINUX RESTART (2 CPU) 18:56:10 18:56:10 18:48:01 CPU %user %nice %system %iowait %steal %idle 18:56:10 18:49:01 all 10.30 0.00 2.95 2.39 0.06 84.30 18:56:10 18:49:01 0 9.71 0.00 3.63 4.27 0.07 82.32 18:56:10 18:49:01 1 10.88 0.00 2.28 0.51 0.05 86.27 18:56:10 18:50:01 all 0.16 0.00 0.07 0.00 0.03 99.75 18:56:10 18:50:01 0 0.07 0.00 0.08 0.00 0.02 99.83 18:56:10 18:50:01 1 0.25 0.00 0.05 0.00 0.03 99.67 18:56:10 18:51:01 all 0.21 0.00 0.06 0.00 0.03 99.70 18:56:10 18:51:01 0 0.12 0.00 0.07 0.00 0.03 99.78 18:56:10 18:51:01 1 0.30 0.00 0.05 0.00 0.03 99.62 18:56:10 18:52:01 all 0.24 0.00 0.06 0.00 0.03 99.67 18:56:10 18:52:01 0 0.08 0.00 0.08 0.00 0.03 99.80 18:56:10 18:52:01 1 0.40 0.00 0.03 0.00 0.02 99.55 18:56:10 18:53:01 all 0.21 0.00 0.05 0.00 0.03 99.72 18:56:10 18:53:01 0 0.17 0.00 0.07 0.00 0.03 99.73 18:56:10 18:53:01 1 0.25 0.00 0.03 0.00 0.02 99.70 18:56:10 18:54:01 all 0.14 0.00 0.06 0.00 0.03 99.77 18:56:10 18:54:01 0 0.25 0.00 0.03 0.00 0.02 99.70 18:56:10 18:54:01 1 0.03 0.00 0.08 0.00 0.05 99.83 18:56:10 18:55:01 all 0.22 0.00 0.05 0.00 0.02 99.72 18:56:10 18:55:01 0 0.28 0.00 0.03 0.00 0.00 99.68 18:56:10 18:55:01 1 0.15 0.00 0.07 0.00 0.03 99.75 18:56:10 18:56:01 all 22.06 0.00 8.27 1.36 0.10 68.22 18:56:10 18:56:01 0 22.18 0.00 8.82 1.09 0.11 67.80 18:56:10 18:56:01 1 21.94 0.00 7.72 1.62 0.09 68.63 18:56:10 Average: all 4.03 0.00 1.39 0.46 0.04 94.09 18:56:10 Average: 0 3.93 0.00 1.53 0.65 0.04 93.85 18:56:10 Average: 1 4.13 0.00 1.24 0.26 0.04 94.33 18:56:10 18:56:10 18:56:10