Pull request #648 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 8ef7481e371b8eeca33a7e2d2816ef491f3dd5b1+bbd9394e1bf3f068737f7a414770326546535454 (db3099384487cdadb31e3b7fe6e11019bf46ef08) 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-21707 in /w/workspace/ndry_app-functions-sdk-go_PR-648 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_PR-648 # 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.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/648/head:refs/remotes/origin/PR-648 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit bbd9394e1bf3f068737f7a414770326546535454 into PR head commit 8ef7481e371b8eeca33a7e2d2816ef491f3dd5b1 Merge succeeded, producing 8ef7481e371b8eeca33a7e2d2816ef491f3dd5b1 Checking out Revision 8ef7481e371b8eeca33a7e2d2816ef491f3dd5b1 (PR-648) > git config core.sparsecheckout # timeout=10 > git checkout -f 8ef7481e371b8eeca33a7e2d2816ef491f3dd5b1 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge bbd9394e1bf3f068737f7a414770326546535454 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8ef7481e371b8eeca33a7e2d2816ef491f3dd5b1 # timeout=10 Commit message: "refactor: Refactor V2 API /secrets to be singular /secret" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:00:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:00:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:00:30 ========================================================= 23:00:30 EdgeX Global Pipelines Version Info 23:00:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:00:32 ------------------- 23:00:32 stable info: 23:00:32 ------------------- 23:00:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:00:32 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 23:00:32 Message: update stable to v1.0.179 23:00:33 ------------------- 23:00:33 experimental info: 23:00:33 ------------------- 23:00:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:00:33 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 23:00:33 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:00:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 23:00:33 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 23:00:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:00:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:00:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:00:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 23:00:34 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:00:34 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 23:00:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:00:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:00:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:00:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 23:00:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:00:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:00:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 23:00:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:00:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:00:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:00:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:00:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:00:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:00:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 23:00:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:00:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:00:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 23:00:36 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 23:00:36 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 23:00:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-648 [Pipeline] echo 23:00:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-648 [Pipeline] echo 23:00:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-648 [Pipeline] echo 23:00:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8ef7481e371b8eeca33a7e2d2816ef491f3dd5b1 [Pipeline] echo 23:00:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8ef7481 [Pipeline] echo 23:00:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:00:37 + git log --format=format:%s -1 8ef7481e371b8eeca33a7e2d2816ef491f3dd5b1 [Pipeline] echo 23:00:37 GIT_COMMIT: 8ef7481e371b8eeca33a7e2d2816ef491f3dd5b1, Commit Message: refactor: Refactor V2 API /secrets to be singular /secret [Pipeline] echo 23:00:37 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:00:38 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:00:38 23:00:38 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:00:38 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:00:38 latest: Pulling from edgex-devops/git-semver 23:00:38 31603596830f: Pulling fs layer 23:00:38 2a8b12db71e7: Pulling fs layer 23:00:38 6ca5941a6612: Pulling fs layer 23:00:38 ecc8261a40a4: Pulling fs layer 23:00:38 ecc8261a40a4: Waiting 23:00:38 2a8b12db71e7: Verifying Checksum 23:00:38 2a8b12db71e7: Download complete 23:00:39 31603596830f: Download complete 23:00:39 ecc8261a40a4: Verifying Checksum 23:00:39 ecc8261a40a4: Download complete 23:00:39 6ca5941a6612: Verifying Checksum 23:00:39 6ca5941a6612: Download complete 23:00:39 31603596830f: Pull complete 23:00:39 2a8b12db71e7: Pull complete 23:00:40 6ca5941a6612: Pull complete 23:00:40 ecc8261a40a4: Pull complete 23:00:40 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 23:00:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:00:40 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:00:40 prd-centos7-docker-4c-2g-21707 does not seem to be running inside a container 23:00:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-648 -v /w/workspace/ndry_app-functions-sdk-go_PR-648:/w/workspace/ndry_app-functions-sdk-go_PR-648:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-648@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-648@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:10004/edgex-devops/git-semver:latest cat 23:00:42 $ docker top a910605e90f9f931089d04da0265346e1d0e4619aeca059eeb2d31649fbdd1a3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:00:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:00:43 [ssh-agent] Looking for ssh-agent implementation... 23:00:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:00:43 $ docker exec a910605e90f9f931089d04da0265346e1d0e4619aeca059eeb2d31649fbdd1a3 ssh-agent 23:00:43 SSH_AUTH_SOCK=/tmp/ssh-kYwxwamxO4hP/agent.11 23:00:43 SSH_AGENT_PID=17 23:00:43 Running ssh-add (command line suppressed) 23:00:43 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-648@tmp/private_key_8144382155500694194.key (/w/workspace/ndry_app-functions-sdk-go_PR-648@tmp/private_key_8144382155500694194.key) 23:00:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:00:44 + git tag --points-at HEAD [Pipeline] } 23:00:44 $ docker exec --env ******** --env ******** a910605e90f9f931089d04da0265346e1d0e4619aeca059eeb2d31649fbdd1a3 ssh-agent -k 23:00:44 unset SSH_AUTH_SOCK; 23:00:44 unset SSH_AGENT_PID; 23:00:44 echo Agent pid 17 killed; 23:00:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:00:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:00:44 [ssh-agent] Looking for ssh-agent implementation... 23:00:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:00:44 $ docker exec a910605e90f9f931089d04da0265346e1d0e4619aeca059eeb2d31649fbdd1a3 ssh-agent 23:00:44 SSH_AUTH_SOCK=/tmp/ssh-9kgn9EaBD4Jp/agent.46 23:00:44 SSH_AGENT_PID=51 23:00:44 Running ssh-add (command line suppressed) 23:00:44 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-648@tmp/private_key_1297523054532044601.key (/w/workspace/ndry_app-functions-sdk-go_PR-648@tmp/private_key_1297523054532044601.key) 23:00:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:00:45 + git semver init 23:00:45 # -> Open(): unable to determine branch for HEAD 23:00:45 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-648/.git 23:00:45 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-648 23:00:45 # $SEMVER_REMOTE_NAME = origin 23:00:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:00:45 # $SEMVER_USER_NAME = edgex-jenkins 23:00:45 # $SEMVER_BRANCH = PR-648 23:00:45 # $SEMVER_TEMP = /tmp/semver-104594025 23:00:45 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 23:00:53 # '/tmp/semver-104594025' -> '/w/workspace/ndry_app-functions-sdk-go_PR-648/.semver' 23:00:53 # -> Force: false 23:00:53 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-648/.semver [Pipeline] } 23:00:53 $ docker exec --env ******** --env ******** a910605e90f9f931089d04da0265346e1d0e4619aeca059eeb2d31649fbdd1a3 ssh-agent -k 23:00:53 unset SSH_AUTH_SOCK; 23:00:53 unset SSH_AGENT_PID; 23:00:53 echo Agent pid 51 killed; 23:00:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:00:54 + git semver [Pipeline] } 23:00:54 $ docker stop --time=1 a910605e90f9f931089d04da0265346e1d0e4619aeca059eeb2d31649fbdd1a3 23:00:55 $ docker rm -f a910605e90f9f931089d04da0265346e1d0e4619aeca059eeb2d31649fbdd1a3 [Pipeline] // withDockerContainer [Pipeline] sh 23:00:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:00:56 Stashed 1 file(s) [Pipeline] echo 23:00:56 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 23:01:12 Still waiting to schedule task 23:01:12 Waiting for next available executor on ‘centos7-docker-4c-2g’ 23:01:12 Still waiting to schedule task 23:01:12 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 23:02:56 Running on prd-centos7-docker-4c-2g-21709 in /w/workspace/ndry_app-functions-sdk-go_PR-648 [Pipeline] { [Pipeline] ws 23:02:56 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout 23:02:56 Running on prd-ubuntu18.04-docker-arm64-4c-16g-21708 in /w/workspace/ndry_app-functions-sdk-go_PR-648 [Pipeline] { [Pipeline] ws 23:02:56 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout 23:02:59 using credential edgex-jenkins-ssh 23:02:59 Cloning the remote Git repository 23:02:59 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:02:59 > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 23:02:59 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:02:59 > git --version # timeout=10 23:02:59 > git --version # 'git version 2.24.3' 23:02:59 using GIT_SSH to set credentials SSH Credentials for GitHub 23:02:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:03:00 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:03:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:03:00 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:03:00 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:03:00 using GIT_SSH to set credentials SSH Credentials for GitHub 23:03:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/648/head:refs/remotes/origin/PR-648 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:03:01 Merging remotes/origin/master commit bbd9394e1bf3f068737f7a414770326546535454 into PR head commit 8ef7481e371b8eeca33a7e2d2816ef491f3dd5b1 23:03:01 Merge succeeded, producing 8ef7481e371b8eeca33a7e2d2816ef491f3dd5b1 23:03:01 Checking out Revision 8ef7481e371b8eeca33a7e2d2816ef491f3dd5b1 (PR-648) 23:03:01 using credential edgex-jenkins-ssh 23:03:01 Cloning the remote Git repository 23:03:01 > git config core.sparsecheckout # timeout=10 23:03:01 > git checkout -f 8ef7481e371b8eeca33a7e2d2816ef491f3dd5b1 # timeout=10 23:03:01 > git remote # timeout=10 23:03:01 > git config --get remote.origin.url # timeout=10 23:03:01 using GIT_SSH to set credentials SSH Credentials for GitHub 23:03:01 > git merge bbd9394e1bf3f068737f7a414770326546535454 # timeout=10 23:03:01 > git rev-parse HEAD^{commit} # timeout=10 23:03:01 > git config core.sparsecheckout # timeout=10 23:03:01 > git checkout -f 8ef7481e371b8eeca33a7e2d2816ef491f3dd5b1 # timeout=10 23:03:01 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:03:01 > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 23:03:02 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:03:02 > git --version # timeout=10 23:03:02 > git --version # 'git version 2.17.1' 23:03:02 using GIT_SSH to set credentials SSH Credentials for GitHub 23:03:02 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:03:05 Commit message: "refactor: Refactor V2 API /secrets to be singular /secret" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:03:06 Merging remotes/origin/master commit bbd9394e1bf3f068737f7a414770326546535454 into PR head commit 8ef7481e371b8eeca33a7e2d2816ef491f3dd5b1 23:03:06 Merge succeeded, producing 8ef7481e371b8eeca33a7e2d2816ef491f3dd5b1 23:03:06 Checking out Revision 8ef7481e371b8eeca33a7e2d2816ef491f3dd5b1 (PR-648) 23:03:06 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 23:03:05 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:03:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:03:05 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:03:05 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:03:05 using GIT_SSH to set credentials SSH Credentials for GitHub 23:03:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/648/head:refs/remotes/origin/PR-648 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:03:06 > git config core.sparsecheckout # timeout=10 23:03:06 > git checkout -f 8ef7481e371b8eeca33a7e2d2816ef491f3dd5b1 # timeout=10 23:03:06 > git remote # timeout=10 23:03:06 > git config --get remote.origin.url # timeout=10 23:03:06 using GIT_SSH to set credentials SSH Credentials for GitHub 23:03:06 > git merge bbd9394e1bf3f068737f7a414770326546535454 # timeout=10 23:03:06 > git rev-parse HEAD^{commit} # timeout=10 23:03:06 > git config core.sparsecheckout # timeout=10 23:03:06 > git checkout -f 8ef7481e371b8eeca33a7e2d2816ef491f3dd5b1 # timeout=10 23:03:07 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 23:03:07 + sudo service docker restart 23:03:07 + true 23:03:07 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 23:03:08 ========================================================= 23:03:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 23:03:08 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:03:09 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 23:03:09 Sending build context to Docker daemon 19.04MB 23:03:09 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 23:03:09 Step 2/8 : FROM ${BASE} 23:03:09 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 23:03:09 188c0c94c7c5: Pulling fs layer 23:03:09 0ef7d3d256c8: Pulling fs layer 23:03:09 de9db76c5a1d: Pulling fs layer 23:03:09 bca2f99d35d6: Pulling fs layer 23:03:09 93359f2a8cfa: Pulling fs layer 23:03:09 7c6f9722023f: Pulling fs layer 23:03:09 a35cf1a2eb13: Pulling fs layer 23:03:09 bca2f99d35d6: Waiting 23:03:09 a35cf1a2eb13: Waiting 23:03:09 93359f2a8cfa: Waiting 23:03:09 7c6f9722023f: Waiting 23:03:09 de9db76c5a1d: Verifying Checksum 23:03:09 de9db76c5a1d: Download complete 23:03:09 0ef7d3d256c8: Verifying Checksum 23:03:09 0ef7d3d256c8: Download complete 23:03:09 93359f2a8cfa: Download complete 23:03:09 7c6f9722023f: Verifying Checksum 23:03:09 7c6f9722023f: Download complete 23:03:10 188c0c94c7c5: Verifying Checksum 23:03:10 188c0c94c7c5: Download complete 23:03:11 Commit message: "refactor: Refactor V2 API /secrets to be singular /secret" 23:03:11 188c0c94c7c5: Pull complete 23:03:11 0ef7d3d256c8: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 23:03:11 de9db76c5a1d: Pull complete [Pipeline] script [Pipeline] { [Pipeline] sh 23:03:12 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json 23:03:12 a35cf1a2eb13: Verifying Checksum 23:03:12 a35cf1a2eb13: Download complete [Pipeline] sh 23:03:13 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 23:03:13 bca2f99d35d6: Verifying Checksum 23:03:13 bca2f99d35d6: Download complete 23:03:13 + sudo service docker restart 23:03:13 + true [Pipeline] unstash [Pipeline] echo 23:03:16 ========================================================= 23:03:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 23:03:16 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:03:16 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 23:03:17 Sending build context to Docker daemon 19.04MB 23:03:17 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 23:03:17 Step 2/8 : FROM ${BASE} 23:03:18 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:03:18 5f621e34cdf4: Pulling fs layer 23:03:18 a4357932f1b6: Pulling fs layer 23:03:18 18c013af1878: Pulling fs layer 23:03:18 00ac8860ef70: Pulling fs layer 23:03:18 63d7cb157983: Pulling fs layer 23:03:18 b116817d02f9: Pulling fs layer 23:03:18 745a02a5169b: Pulling fs layer 23:03:18 00ac8860ef70: Waiting 23:03:18 63d7cb157983: Waiting 23:03:18 745a02a5169b: Waiting 23:03:18 b116817d02f9: Waiting 23:03:18 18c013af1878: Download complete 23:03:18 a4357932f1b6: Download complete 23:03:18 63d7cb157983: Verifying Checksum 23:03:18 63d7cb157983: Download complete 23:03:18 b116817d02f9: Download complete 23:03:18 5f621e34cdf4: Verifying Checksum 23:03:18 5f621e34cdf4: Download complete 23:03:18 bca2f99d35d6: Pull complete 23:03:18 5f621e34cdf4: Pull complete 23:03:19 93359f2a8cfa: Pull complete 23:03:19 7c6f9722023f: Pull complete 23:03:19 a4357932f1b6: Pull complete 23:03:19 18c013af1878: Pull complete 23:03:20 745a02a5169b: Verifying Checksum 23:03:21 00ac8860ef70: Verifying Checksum 23:03:21 00ac8860ef70: Download complete 23:03:23 a35cf1a2eb13: Pull complete 23:03:23 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 23:03:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 23:03:23 ---> a62c8e92a672 23:03:23 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 23:03:23 20.10.0: Pulling from library/docker 23:03:23 05e7bc50f07f: Pulling fs layer 23:03:23 6db28d0fdbf6: Pulling fs layer 23:03:23 292df0bc6bf3: Pulling fs layer 23:03:23 2e060f4bd70b: Pulling fs layer 23:03:23 80e8d568a223: Pulling fs layer 23:03:23 8dc6ef1a942a: Pulling fs layer 23:03:23 2312dd95470a: Pulling fs layer 23:03:23 2e060f4bd70b: Waiting 23:03:23 80e8d568a223: Waiting 23:03:23 8dc6ef1a942a: Waiting 23:03:23 2312dd95470a: Waiting 23:03:23 292df0bc6bf3: Download complete 23:03:23 05e7bc50f07f: Verifying Checksum 23:03:23 05e7bc50f07f: Download complete 23:03:23 6db28d0fdbf6: Verifying Checksum 23:03:23 6db28d0fdbf6: Download complete 23:03:23 80e8d568a223: Verifying Checksum 23:03:23 80e8d568a223: Download complete 23:03:23 8dc6ef1a942a: Verifying Checksum 23:03:23 8dc6ef1a942a: Download complete 23:03:23 2312dd95470a: Verifying Checksum 23:03:23 2312dd95470a: Download complete 23:03:23 05e7bc50f07f: Pull complete 23:03:23 6db28d0fdbf6: Pull complete 23:03:23 292df0bc6bf3: Pull complete 23:03:24 2e060f4bd70b: Verifying Checksum 23:03:24 2e060f4bd70b: Download complete 23:03:26 2e060f4bd70b: Pull complete 23:03:27 80e8d568a223: Pull complete 23:03:27 8dc6ef1a942a: Pull complete 23:03:27 2312dd95470a: Pull complete 23:03:27 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 23:03:27 Status: Downloaded newer image for docker:20.10.0 23:03:28 ---> e05fd3df95dd 23:03:28 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:03:29 ---> Running in bf9c576871b0 23:03:29 Removing intermediate container bf9c576871b0 23:03:29 ---> 6a8a850ba5e3 23:03:29 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 23:03:29 ---> Running in bc9f3e2f2f86 23:03:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 23:03:31 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 23:03:32 00ac8860ef70: Pull complete 23:03:32 63d7cb157983: Pull complete 23:03:32 b116817d02f9: Pull complete 23:03:33 (1/5) Installing libsodium (1.0.18-r0) 23:03:33 (2/5) Installing libzmq (4.3.3-r0) 23:03:33 (3/5) Installing pkgconf (1.7.2-r0) 23:03:33 (4/5) Installing libsodium-dev (1.0.18-r0) 23:03:33 (5/5) Installing zeromq-dev (4.3.3-r0) 23:03:33 Executing busybox-1.31.1-r19.trigger 23:03:33 OK: 167 MiB in 44 packages 23:03:34 Removing intermediate container bc9f3e2f2f86 23:03:34 ---> 17b8cd77d063 23:03:34 Step 6/8 : WORKDIR /build 23:03:34 ---> Running in ed546fe797fc 23:03:34 Removing intermediate container ed546fe797fc 23:03:34 ---> 212d40ff006c 23:03:34 Step 7/8 : COPY go.mod . 23:03:34 ---> 4ed76307d7e9 23:03:34 Step 8/8 : RUN go mod download 23:03:34 ---> Running in 1e0c5902a14d 23:03:36 745a02a5169b: Pull complete 23:03:36 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 23:03:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 23:03:36 ---> b7e6874047d6 23:03:36 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 23:03:36 20.10.0: Pulling from library/docker 23:03:36 a3cc7d3b244e: Pulling fs layer 23:03:36 02a3295e0d61: Pulling fs layer 23:03:36 0f4f2e6d8100: Pulling fs layer 23:03:36 330b718f631f: Pulling fs layer 23:03:36 a93816041522: Pulling fs layer 23:03:36 bdb6da89ff94: Pulling fs layer 23:03:36 2a70c0c122f4: Pulling fs layer 23:03:36 330b718f631f: Waiting 23:03:36 a93816041522: Waiting 23:03:36 bdb6da89ff94: Waiting 23:03:36 2a70c0c122f4: Waiting 23:03:36 0f4f2e6d8100: Download complete 23:03:36 02a3295e0d61: Verifying Checksum 23:03:36 02a3295e0d61: Download complete 23:03:36 a3cc7d3b244e: Verifying Checksum 23:03:36 a3cc7d3b244e: Download complete 23:03:36 bdb6da89ff94: Verifying Checksum 23:03:36 bdb6da89ff94: Download complete 23:03:36 a93816041522: Verifying Checksum 23:03:36 a93816041522: Download complete 23:03:36 2a70c0c122f4: Verifying Checksum 23:03:36 2a70c0c122f4: Download complete 23:03:37 a3cc7d3b244e: Pull complete 23:03:37 02a3295e0d61: Pull complete 23:03:38 330b718f631f: Verifying Checksum 23:03:38 330b718f631f: Download complete 23:03:38 0f4f2e6d8100: Pull complete 23:03:41 330b718f631f: Pull complete 23:03:42 a93816041522: Pull complete 23:03:42 bdb6da89ff94: Pull complete 23:03:42 2a70c0c122f4: Pull complete 23:03:42 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 23:03:42 Status: Downloaded newer image for docker:20.10.0 23:03:49 ---> bbf45cb3e8a9 23:03:49 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:03:49 ---> Running in 0e650a781eb2 23:03:49 Removing intermediate container 0e650a781eb2 23:03:49 ---> 1a7f90b95b1f 23:03:49 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 23:03:49 ---> Running in 00bddbe2c58f 23:03:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 23:03:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 23:03:52 (1/5) Installing libsodium (1.0.18-r0) 23:03:52 (2/5) Installing libzmq (4.3.3-r0) 23:03:52 (3/5) Installing pkgconf (1.7.2-r0) 23:03:52 (4/5) Installing libsodium-dev (1.0.18-r0) 23:03:53 (5/5) Installing zeromq-dev (4.3.3-r0) 23:03:53 Executing busybox-1.31.1-r19.trigger 23:03:53 OK: 144 MiB in 44 packages 23:03:54 Removing intermediate container 00bddbe2c58f 23:03:54 ---> c8aa90b45c77 23:03:54 Step 6/8 : WORKDIR /build 23:03:54 ---> Running in a14c597c8ba7 23:03:55 Removing intermediate container a14c597c8ba7 23:03:55 ---> 6850b3a169e2 23:03:55 Step 7/8 : COPY go.mod . 23:03:55 ---> 6c7222464c8b 23:03:55 Step 8/8 : RUN go mod download 23:03:55 ---> Running in b9fefb4ce784 23:03:56 Removing intermediate container 1e0c5902a14d 23:03:56 ---> aef7c9da9619 23:03:56 Successfully built aef7c9da9619 23:03:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:03:57 + docker inspect -f . ci-base-image-x86_64 23:03:57 . [Pipeline] withDockerContainer 23:03:57 prd-centos7-docker-4c-2g-21709 does not seem to be running inside a container 23:03:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:03:58 $ docker top 13fb597764f411deb464a21a050e02546496f276694d7d40cda3e1cf801ba948 -eo pid,comm [Pipeline] { [Pipeline] sh 23:03:59 + go version 23:03:59 go version go1.15.5 linux/amd64 [Pipeline] } 23:03:59 $ docker stop --time=1 13fb597764f411deb464a21a050e02546496f276694d7d40cda3e1cf801ba948 23:04:00 $ docker rm -f 13fb597764f411deb464a21a050e02546496f276694d7d40cda3e1cf801ba948 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:04:01 + docker inspect -f . ci-base-image-x86_64 23:04:01 . [Pipeline] withDockerContainer 23:04:01 prd-centos7-docker-4c-2g-21709 does not seem to be running inside a container 23:04:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:04:02 $ docker top 64ecc3637ac96c7321f420db95a8d8e37bd00d756d5605c0b0c9bc26f559569a -eo pid,comm [Pipeline] { [Pipeline] sh 23:04:02 + make test 23:04:02 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:04:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] 23:04:12 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.014s coverage: 81.0% of statements 23:04:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.032s coverage: 48.6% of statements 23:04:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 23:04:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 23:04:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.050s coverage: 61.5% of statements 23:04:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 23:04:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.119s coverage: 67.7% of statements 23:04:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 23:04:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 23:04:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 23:04:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 23:04:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 23:04:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 23:04:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.047s coverage: 97.0% of statements 23:04:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 23:04:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.023s coverage: 8.8% of statements 23:04:22 Removing intermediate container b9fefb4ce784 23:04:22 ---> 2e92247f8112 23:04:22 Successfully built 2e92247f8112 23:04:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:04:23 + docker inspect -f . ci-base-image-arm64 23:04:23 . [Pipeline] withDockerContainer 23:04:23 prd-ubuntu18.04-docker-arm64-4c-16g-21708 does not seem to be running inside a container 23:04:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:04:25 $ docker top 57d76a1a9020da525cf3cb5d8a18aea8437a0c31a21bf1d5b720510782361870 -eo pid,comm [Pipeline] { [Pipeline] sh 23:04:26 + go version 23:04:26 go version go1.15.5 linux/arm64 [Pipeline] } 23:04:26 $ docker stop --time=1 57d76a1a9020da525cf3cb5d8a18aea8437a0c31a21bf1d5b720510782361870 23:04:28 $ docker rm -f 57d76a1a9020da525cf3cb5d8a18aea8437a0c31a21bf1d5b720510782361870 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:04:29 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 7.227s coverage: 75.4% of statements 23:04:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 23:04:29 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.036s coverage: 87.9% of statements 23:04:29 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.017s coverage: 80.5% of statements 23:04:29 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.009s coverage: 71.7% of statements 23:04:29 + docker inspect -f . ci-base-image-arm64 23:04:29 . [Pipeline] withDockerContainer 23:04:29 prd-ubuntu18.04-docker-arm64-4c-16g-21708 does not seem to be running inside a container 23:04:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:04:31 $ docker top 7918395976a888f3c7e9518da814c6b15e34760b6408c93b674cbc08d64429e6 -eo pid,comm [Pipeline] { [Pipeline] sh 23:04:31 + make test 23:04:31 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:04:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] 23:04:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.032s coverage: 81.4% of statements 23:04:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.005s coverage: 94.4% of statements 23:04:51 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:04:51 gofmt -l . 23:04:51 [ "`gofmt -l .`" = "" ] 23:04:51 ./bin/test-go-mod-tidy.sh [Pipeline] } 23:04:52 $ docker stop --time=1 64ecc3637ac96c7321f420db95a8d8e37bd00d756d5605c0b0c9bc26f559569a 23:04:54 $ docker rm -f 64ecc3637ac96c7321f420db95a8d8e37bd00d756d5605c0b0c9bc26f559569a [Pipeline] // withDockerContainer [Pipeline] sh 23:04:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:04:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:05:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.076s coverage: 81.0% of statements 23:05:22 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.065s coverage: 48.6% of statements 23:05:22 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 23:05:22 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 23:05:22 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.085s coverage: 61.5% of statements 23:05:22 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 23:05:22 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.058s coverage: 67.7% of statements 23:05:22 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 23:05:22 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 23:05:22 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 23:05:22 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 23:05:22 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 23:05:22 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 23:05:22 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.027s coverage: 97.0% of statements 23:05:22 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 23:05:22 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.026s coverage: 8.8% of statements 23:05:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 7.268s coverage: 75.4% of statements 23:05:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 23:05:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.038s coverage: 87.9% of statements 23:05:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.034s coverage: 80.5% of statements 23:05:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.024s coverage: 71.7% of statements 23:05:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.058s coverage: 81.4% of statements 23:05:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.018s coverage: 94.4% of statements 23:05:48 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:05:58 gofmt -l . 23:05:58 [ "`gofmt -l .`" = "" ] 23:05:58 ./bin/test-go-mod-tidy.sh [Pipeline] } 23:05:58 $ docker stop --time=1 7918395976a888f3c7e9518da814c6b15e34760b6408c93b674cbc08d64429e6 23:06:00 $ docker rm -f 7918395976a888f3c7e9518da814c6b15e34760b6408c93b674cbc08d64429e6 [Pipeline] // withDockerContainer [Pipeline] sh 23:06:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:06:01 Warning: overwriting stash ‘coverage-report’ 23:06:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [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] wrap 23:06:05 provisioning config files... 23:06:05 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-648@tmp/config3408657958224829671tmp [Pipeline] { [Pipeline] sh 23:06:05 + set +x 23:06:05 + curl -s https://codecov.io/bash 23:06:05 + bash -s -- 23:06:05 23:06:05 _____ _ 23:06:05 / ____| | | 23:06:05 | | ___ __| | ___ ___ _____ __ 23:06:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:06:05 | |___| (_) | (_| | __/ (_| (_) \ V / 23:06:05 \_____\___/ \__,_|\___|\___\___/ \_/ 23:06:05 Bash-20210115-cec3c92 23:06:05 23:06:05 23:06:05 ==> git version 2.24.3 found 23:06:05 ==> 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 23:06:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 23:06:05 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 23:06:05 ==> Jenkins CI detected. 23:06:05 project root: . 23:06:05 --> token set from env 23:06:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:06:05 ==> Running gcov in . (disable via -X gcov) 23:06:05 ==> Python coveragepy not found 23:06:05 ==> Searching for coverage reports in: 23:06:05 + . 23:06:05 -> Found 1 reports 23:06:05 ==> Detecting git/mercurial file structure 23:06:05 ==> Reading reports 23:06:05 + ./coverage.out bytes=74114 23:06:05 ==> Appending adjustments 23:06:05 https://docs.codecov.io/docs/fixing-reports 23:06:06 + Found adjustments 23:06:06 ==> Gzipping contents 23:06:06 16K /tmp/codecov.BGRzvH.gz 23:06:06 ==> Uploading reports 23:06:06 url: https://codecov.io 23:06:06 query: branch=PR-648&commit=8ef7481e371b8eeca33a7e2d2816ef491f3dd5b1&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-648%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=648&job=&cmd_args= 23:06:06 -> Pinging Codecov 23:06:06 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-648&commit=8ef7481e371b8eeca33a7e2d2816ef491f3dd5b1&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-648%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=648&job=&cmd_args= 23:06:06 -> Uploading to 23:06:06 https://storage.googleapis.com/codecov/v4/raw/2021-01-20/3D8B5DFFC46A037C893635FACE044666/8ef7481e371b8eeca33a7e2d2816ef491f3dd5b1/ff51886b-3fb2-4932-aa98-2e54c7acd9d0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210120%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210120T230606Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2cfc848b5613728f8d9883ea8200b1eead787be25d9ee0e6f5cc6c4c5ee191ab 23:06:06 % Total % Received % Xferd Average Speed Time Time Time Current 23:06:06 Dload Upload Total Spent Left Speed 23:06:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12830 0 0 100 12830 0 26101 --:--:-- --:--:-- --:--:-- 26077 23:06:07 -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/8ef7481e371b8eeca33a7e2d2816ef491f3dd5b1 [Pipeline] } 23:06:07 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 23:06:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:06:10 ---> package-listing.sh 23:06:10 ++ facter osfamily 23:06:10 ++ tr '[:upper:]' '[:lower:]' 23:06:10 + OS_FAMILY=redhat 23:06:10 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-648 23:06:10 + START_PACKAGES=/tmp/packages_start.txt 23:06:10 + END_PACKAGES=/tmp/packages_end.txt 23:06:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:06:10 + PACKAGES=/tmp/packages_start.txt 23:06:10 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-648 ']' 23:06:10 + PACKAGES=/tmp/packages_end.txt 23:06:10 + case "${OS_FAMILY}" in 23:06:10 + rpm -qa 23:06:10 + sort 23:06:15 + '[' -f /tmp/packages_start.txt ']' 23:06:15 + '[' -f /tmp/packages_end.txt ']' 23:06:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:06:15 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-648 ']' 23:06:15 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-648/archives/ 23:06:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-648/archives/ [Pipeline] echo 23:06:15 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_PR-648/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:06:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:06:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:06:16 23:06:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 23:06:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:06:16 alpine: Pulling from edgex-lftools-log-publisher 23:06:16 df20fa9351a1: Pulling fs layer 23:06:16 36b3adc4ff6f: Pulling fs layer 23:06:16 8ad3a11d3b57: Pulling fs layer 23:06:16 46f8f816bc3b: Pulling fs layer 23:06:16 93b61091891f: Pulling fs layer 23:06:16 93b9cdb0e59b: Pulling fs layer 23:06:16 5e14af77c1be: Pulling fs layer 23:06:16 01666e4c0597: Pulling fs layer 23:06:16 aa168da1d23b: Pulling fs layer 23:06:16 93b9cdb0e59b: Waiting 23:06:16 5e14af77c1be: Waiting 23:06:16 01666e4c0597: Waiting 23:06:16 aa168da1d23b: Waiting 23:06:16 46f8f816bc3b: Waiting 23:06:16 93b61091891f: Waiting 23:06:16 36b3adc4ff6f: Verifying Checksum 23:06:16 36b3adc4ff6f: Download complete 23:06:16 46f8f816bc3b: Verifying Checksum 23:06:16 46f8f816bc3b: Download complete 23:06:16 df20fa9351a1: Verifying Checksum 23:06:16 df20fa9351a1: Download complete 23:06:16 93b9cdb0e59b: Verifying Checksum 23:06:16 93b9cdb0e59b: Download complete 23:06:16 93b61091891f: Verifying Checksum 23:06:16 93b61091891f: Download complete 23:06:16 5e14af77c1be: Download complete 23:06:16 01666e4c0597: Verifying Checksum 23:06:16 01666e4c0597: Download complete 23:06:16 df20fa9351a1: Pull complete 23:06:17 36b3adc4ff6f: Pull complete 23:06:17 8ad3a11d3b57: Verifying Checksum 23:06:17 8ad3a11d3b57: Download complete 23:06:18 8ad3a11d3b57: Pull complete 23:06:18 46f8f816bc3b: Pull complete 23:06:19 93b61091891f: Pull complete 23:06:19 aa168da1d23b: Verifying Checksum 23:06:19 aa168da1d23b: Download complete 23:06:19 93b9cdb0e59b: Pull complete 23:06:19 5e14af77c1be: Pull complete 23:06:19 01666e4c0597: Pull complete 23:06:27 aa168da1d23b: Pull complete 23:06:27 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 23:06:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:06:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 23:06:28 prd-centos7-docker-4c-2g-21707 does not seem to be running inside a container 23:06:28 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_PR-648/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_PR-648 -v /w/workspace/ndry_app-functions-sdk-go_PR-648:/w/workspace/ndry_app-functions-sdk-go_PR-648:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-648@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-648@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 23:06:31 $ docker top 4d081aba246489c9f17320477f281a58689502def54e59e856153795fb8b5c5b -eo pid,comm [Pipeline] { [Pipeline] sh 23:06:32 + touch /tmp/pre-build-complete [Pipeline] sh 23:06:32 + mkdir -p /var/log/sa [Pipeline] sh 23:06:32 + ls /var/log/sa-host 23:06:32 + sadf -c /var/log/sa-host/sa20 23:06:32 file_magic: OK 23:06:32 HZ: Using current value: 100 23:06:32 file_header: OK 23:06:32 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 23:06:32 Statistics: 23:06:32 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:06:32 File successfully converted to sysstat format version 12.2.1 23:06:32 + sadf -c /var/log/sa-host/sa23 23:06:32 file_magic: OK 23:06:32 HZ: Using current value: 100 23:06:32 file_header: OK 23:06:32 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 23:06:32 Statistics: 23:06:32 Hnuu...uuuununununu... 23:06:32 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:06:32 provisioning config files... 23:06:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-648@tmp/config778514148427009807tmp [Pipeline] { [Pipeline] echo 23:06:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:06:33 ---> create-netrc.sh [Pipeline] } 23:06:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 23:06:33 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 23:06:33 ---> python-tools-install.sh [Pipeline] echo 23:06:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:06:34 ---> sudo-logs.sh 23:06:34 Archiving 'sudo' log.. [Pipeline] echo 23:06:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:06:34 ---> job-cost.sh 23:06:34 lf-activate-venv: SKIPPING 23:06:34 INFO: No Stack... 23:06:36 INFO: Retrieving Pricing Info for: v1-standard-2 23:06:36 INFO: Archiving Costs [Pipeline] echo 23:06:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:06:36 ---> logs-deploy.sh 23:06:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-648/2 23:06:36 INFO: archiving workspace using pattern(s): 23:06:38 Archives upload complete. 23:06:38 INFO: archiving logs to Nexus 23:06:39 ---> uname -a: 23:06:39 Linux prd-centos7-docker-4c-2g-21707.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 23:06:39 23:06:39 23:06:39 ---> lscpu: 23:06:39 Architecture: x86_64 23:06:39 CPU op-mode(s): 32-bit, 64-bit 23:06:39 Byte Order: Little Endian 23:06:39 Address sizes: 40 bits physical, 48 bits virtual 23:06:39 CPU(s): 4 23:06:39 On-line CPU(s) list: 0-3 23:06:39 Thread(s) per core: 1 23:06:39 Core(s) per socket: 1 23:06:39 Socket(s): 4 23:06:39 NUMA node(s): 1 23:06:39 Vendor ID: GenuineIntel 23:06:39 CPU family: 6 23:06:39 Model: 44 23:06:39 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 23:06:39 Stepping: 1 23:06:39 CPU MHz: 2933.442 23:06:39 BogoMIPS: 5866.88 23:06:39 Virtualization: VT-x 23:06:39 Hypervisor vendor: KVM 23:06:39 Virtualization type: full 23:06:39 L1d cache: 128 KiB 23:06:39 L1i cache: 128 KiB 23:06:39 L2 cache: 16 MiB 23:06:39 L3 cache: 64 MiB 23:06:39 NUMA node0 CPU(s): 0-3 23:06:39 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 23:06:39 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 23:06:39 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 23:06:39 Vulnerability Meltdown: Mitigation; PTI 23:06:39 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 23:06:39 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 23:06:39 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 23:06:39 Vulnerability Srbds: Not affected 23:06:39 Vulnerability Tsx async abort: Not affected 23:06:39 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 23:06:39 23:06:39 23:06:39 ---> nproc: 23:06:39 4 23:06:39 23:06:39 23:06:39 ---> df -h: 23:06:39 Filesystem Size Used Available Use% Mounted on 23:06:39 overlay 50.0G 7.3G 42.7G 15% / 23:06:39 tmpfs 64.0M 0 64.0M 0% /dev 23:06:39 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 23:06:39 shm 64.0M 0 64.0M 0% /dev/shm 23:06:39 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 23:06:39 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 23:06:39 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 23:06:39 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 23:06:39 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-648 23:06:39 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-648@tmp 23:06:39 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 23:06:39 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 23:06:39 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 23:06:39 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 23:06:39 23:06:39 23:06:39 ---> free -m: 23:06:39 total used free shared buff/cache available 23:06:39 Mem: 1837 732 113 0 991 999 23:06:39 Swap: 1023 1 1022 23:06:39 23:06:39 23:06:39 ---> ip addr: 23:06:39 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 23:06:39 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 23:06:39 inet 127.0.0.1/8 scope host lo 23:06:39 valid_lft forever preferred_lft forever 23:06:39 inet6 ::1/128 scope host 23:06:39 valid_lft forever preferred_lft forever 23:06:39 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 23:06:39 link/ether fa:16:3e:a2:f5:9a brd ff:ff:ff:ff:ff:ff 23:06:39 inet 10.30.122.56/23 brd 10.30.123.255 scope global dynamic eth0 23:06:39 valid_lft 85992sec preferred_lft 85992sec 23:06:39 inet6 fe80::f816:3eff:fea2:f59a/64 scope link 23:06:39 valid_lft forever preferred_lft forever 23:06:39 3: docker0: mtu 1500 qdisc noqueue state DOWN 23:06:39 link/ether 02:42:9d:f7:41:02 brd ff:ff:ff:ff:ff:ff 23:06:39 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 23:06:39 valid_lft forever preferred_lft forever 23:06:39 inet6 fe80::42:9dff:fef7:4102/64 scope link 23:06:39 valid_lft forever preferred_lft forever 23:06:39 23:06:39 23:06:39 ---> sar -b -r -n DEV: 23:06:39 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/20/21 _x86_64_ (4 CPU) 23:06:39 23:06:39 22:59:40 LINUX RESTART (4 CPU) 23:06:39 23:06:39 23:00:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 23:06:39 23:01:01 138.44 51.00 87.44 0.00 8121.56 40895.11 0.00 23:06:39 23:02:01 2.51 0.07 2.45 0.00 1.47 52.69 0.00 23:06:39 23:03:01 0.45 0.00 0.45 0.00 0.00 6.14 0.00 23:06:39 23:04:01 0.22 0.00 0.22 0.00 0.00 2.28 0.00 23:06:39 23:05:01 0.22 0.00 0.22 0.00 0.00 3.46 0.00 23:06:39 23:06:01 0.32 0.00 0.32 0.00 0.00 3.88 0.00 23:06:39 Average: 23.71 8.52 15.19 0.00 1354.85 6832.37 0.00 23:06:39 23:06:39 23:00:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:06:39 23:01:01 214272 0 635316 33.77 2620 1029336 1102980 37.64 444988 1024540 132 23:06:39 23:02:01 221044 0 628332 33.39 2620 1029548 1080728 36.88 446544 1017408 16 23:06:39 23:03:01 220512 0 628860 33.42 2620 1029552 1080884 36.89 446048 1018892 16 23:06:39 23:04:01 219280 0 630088 33.49 2620 1029556 1080728 36.88 453340 1012740 12 23:06:39 23:05:01 219044 0 630320 33.50 2620 1029560 1080836 36.89 451552 1015228 8 23:06:39 23:06:01 217164 0 632192 33.60 2620 1029568 1080848 36.89 461284 1006760 8 23:06:39 Average: 218553 0 630851 33.53 2620 1029520 1084501 37.01 450626 1015928 32 23:06:39 23:06:39 23:00:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:06:39 23:01:01 eth0 690.57 531.20 1648.52 118.81 0.00 0.00 0.00 0.00 23:06:39 23:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:06:39 23:01:01 docker0 125.72 84.51 9.70 304.54 0.00 0.00 0.00 0.00 23:06:39 23:02:01 eth0 0.55 0.08 0.04 0.02 0.00 0.00 0.00 0.00 23:06:39 23:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:06:39 23:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:06:39 23:03:01 eth0 8.18 4.18 7.46 0.42 0.00 0.00 0.00 0.00 23:06:39 23:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:06:39 23:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:06:39 23:04:01 eth0 0.60 0.10 0.06 0.04 0.00 0.00 0.00 0.00 23:06:39 23:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:06:39 23:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:06:39 23:05:01 eth0 0.60 0.40 0.31 0.21 0.00 0.00 0.00 0.00 23:06:39 23:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:06:39 23:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:06:39 23:06:01 eth0 0.23 0.17 0.08 0.07 0.00 0.00 0.00 0.00 23:06:39 23:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:06:39 23:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:06:39 Average: eth0 116.87 89.42 276.28 19.94 0.00 0.00 0.00 0.00 23:06:39 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:06:39 Average: docker0 20.97 14.10 1.62 50.79 0.00 0.00 0.00 0.00 23:06:39 23:06:39 23:06:39 ---> sar -P ALL: 23:06:39 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/20/21 _x86_64_ (4 CPU) 23:06:39 23:06:39 22:59:40 LINUX RESTART (4 CPU) 23:06:39 23:06:39 23:00:01 CPU %user %nice %system %iowait %steal %idle 23:06:39 23:01:01 all 14.64 0.00 7.59 7.48 0.06 70.23 23:06:39 23:01:01 0 13.44 0.00 8.72 6.44 0.07 71.33 23:06:39 23:01:01 1 14.18 0.00 7.50 7.70 0.05 70.57 23:06:39 23:01:01 2 13.81 0.00 7.51 8.70 0.07 69.90 23:06:39 23:01:01 3 17.16 0.00 6.61 7.07 0.03 69.13 23:06:39 23:02:01 all 0.16 0.00 0.07 0.00 0.00 99.76 23:06:39 23:02:01 0 0.52 0.00 0.07 0.02 0.00 99.40 23:06:39 23:02:01 1 0.08 0.00 0.10 0.00 0.00 99.82 23:06:39 23:02:01 2 0.02 0.00 0.05 0.00 0.02 99.92 23:06:39 23:02:01 3 0.03 0.00 0.05 0.00 0.00 99.92 23:06:39 23:03:01 all 0.25 0.00 0.06 0.00 0.00 99.69 23:06:39 23:03:01 0 0.30 0.00 0.08 0.00 0.00 99.62 23:06:39 23:03:01 1 0.08 0.00 0.07 0.00 0.00 99.85 23:06:39 23:03:01 2 0.47 0.00 0.05 0.00 0.00 99.48 23:06:39 23:03:01 3 0.13 0.00 0.05 0.00 0.02 99.80 23:06:39 23:04:01 all 0.14 0.00 0.05 0.00 0.01 99.80 23:06:39 23:04:01 0 0.00 0.00 0.03 0.00 0.02 99.95 23:06:39 23:04:01 1 0.03 0.00 0.08 0.00 0.02 99.87 23:06:39 23:04:01 2 0.48 0.00 0.05 0.00 0.00 99.47 23:06:39 23:04:01 3 0.03 0.00 0.03 0.00 0.00 99.93 23:06:39 23:05:01 all 0.19 0.00 0.04 0.00 0.00 99.77 23:06:39 23:05:01 0 0.07 0.00 0.05 0.00 0.00 99.88 23:06:39 23:05:01 1 0.08 0.00 0.05 0.00 0.00 99.87 23:06:39 23:05:01 2 0.53 0.00 0.02 0.00 0.00 99.45 23:06:39 23:05:01 3 0.07 0.00 0.03 0.00 0.00 99.90 23:06:39 23:06:01 all 0.14 0.00 0.06 0.00 0.00 99.80 23:06:39 23:06:01 0 0.02 0.00 0.02 0.00 0.00 99.97 23:06:39 23:06:01 1 0.05 0.00 0.10 0.00 0.00 99.85 23:06:39 23:06:01 2 0.03 0.00 0.05 0.00 0.00 99.92 23:06:39 23:06:01 3 0.45 0.00 0.07 0.00 0.00 99.48 23:06:39 Average: all 2.54 0.00 1.29 1.22 0.01 94.94 23:06:39 Average: 0 2.35 0.00 1.47 1.05 0.01 95.12 23:06:39 Average: 1 2.39 0.00 1.30 1.27 0.01 95.04 23:06:39 Average: 2 2.52 0.00 1.27 1.42 0.01 94.78 23:06:39 Average: 3 2.91 0.00 1.11 1.15 0.01 94.82 23:06:39 23:06:39 23:06:39