Pull request #616 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 8c202e86bdc9edff9a93b4f8bc39120dac14bd3c+8142930acee8fabaf6710482ac85b747560789e9 (7fe55abf9781460326f6f6f96b0a68a6696c7dc0) 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 ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-22333 in /w/workspace/ndry_app-functions-sdk-go_PR-616 [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-616 # 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/616/head:refs/remotes/origin/PR-616 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 8142930acee8fabaf6710482ac85b747560789e9 into PR head commit 8c202e86bdc9edff9a93b4f8bc39120dac14bd3c Merge succeeded, producing 8c202e86bdc9edff9a93b4f8bc39120dac14bd3c Checking out Revision 8c202e86bdc9edff9a93b4f8bc39120dac14bd3c (PR-616) > git config core.sparsecheckout # timeout=10 > git checkout -f 8c202e86bdc9edff9a93b4f8bc39120dac14bd3c # 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 8142930acee8fabaf6710482ac85b747560789e9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8c202e86bdc9edff9a93b4f8bc39120dac14bd3c # timeout=10 Commit message: "feat: Expect V2 Event DTO from triggers." First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:25:04 Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk f9fcbd98a1d37bb430da5ff824a8590ff7d778b8 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:25:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:25:05 ========================================================= 20:25:05 EdgeX Global Pipelines Version Info 20:25:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:25:07 ------------------- 20:25:07 stable info: 20:25:07 ------------------- 20:25:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:25:07 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 20:25:07 Message: update stable to v1.0.179 20:25:07 ------------------- 20:25:07 experimental info: 20:25:07 ------------------- 20:25:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:25:07 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 20:25:07 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:25:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 20:25:08 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 20:25:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:25:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:25:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:25:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 20:25:08 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 20:25:08 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 20:25:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:25:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:25:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:25:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 20:25:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:25:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:25:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 20:25:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 20:25:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:25:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:25:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:25:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:25:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:25:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 20:25:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:25:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:25:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 20:25:10 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 20:25:11 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 20:25:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-616 [Pipeline] echo 20:25:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-616 [Pipeline] echo 20:25:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-616 [Pipeline] echo 20:25:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8c202e86bdc9edff9a93b4f8bc39120dac14bd3c [Pipeline] echo 20:25:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8c202e8 [Pipeline] echo 20:25:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:25:12 + git log --format=format:%s -1 8c202e86bdc9edff9a93b4f8bc39120dac14bd3c [Pipeline] echo 20:25:12 GIT_COMMIT: 8c202e86bdc9edff9a93b4f8bc39120dac14bd3c, Commit Message: feat: Expect V2 Event DTO from triggers. [Pipeline] echo 20:25:12 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 20:25:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:25:13 20:25:13 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:25:14 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:25:14 latest: Pulling from edgex-devops/git-semver 20:25:14 31603596830f: Pulling fs layer 20:25:14 2a8b12db71e7: Pulling fs layer 20:25:14 6ca5941a6612: Pulling fs layer 20:25:14 ecc8261a40a4: Pulling fs layer 20:25:14 ecc8261a40a4: Waiting 20:25:14 2a8b12db71e7: Verifying Checksum 20:25:14 2a8b12db71e7: Download complete 20:25:14 6ca5941a6612: Verifying Checksum 20:25:14 6ca5941a6612: Download complete 20:25:14 ecc8261a40a4: Verifying Checksum 20:25:14 ecc8261a40a4: Download complete 20:25:14 31603596830f: Verifying Checksum 20:25:14 31603596830f: Download complete 20:25:15 31603596830f: Pull complete 20:25:15 2a8b12db71e7: Pull complete 20:25:16 6ca5941a6612: Pull complete 20:25:16 ecc8261a40a4: Pull complete 20:25:16 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 20:25:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:25:16 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:25:16 prd-centos7-docker-4c-2g-22333 does not seem to be running inside a container 20:25:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-616 -v /w/workspace/ndry_app-functions-sdk-go_PR-616:/w/workspace/ndry_app-functions-sdk-go_PR-616:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-616@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-616@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:25:18 $ docker top 97054111f02d09daae612a1fed09e8af8e0bc5e9e64aca8572b33817e0fc56c0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:25:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:25:18 [ssh-agent] Looking for ssh-agent implementation... 20:25:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:25:18 $ docker exec 97054111f02d09daae612a1fed09e8af8e0bc5e9e64aca8572b33817e0fc56c0 ssh-agent 20:25:18 SSH_AUTH_SOCK=/tmp/ssh-U0yUY1gB4X49/agent.11 20:25:18 SSH_AGENT_PID=17 20:25:18 Running ssh-add (command line suppressed) 20:25:19 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-616@tmp/private_key_5402046315522894542.key (/w/workspace/ndry_app-functions-sdk-go_PR-616@tmp/private_key_5402046315522894542.key) 20:25:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:25:19 + git tag --points-at HEAD [Pipeline] } 20:25:19 $ docker exec --env ******** --env ******** 97054111f02d09daae612a1fed09e8af8e0bc5e9e64aca8572b33817e0fc56c0 ssh-agent -k 20:25:19 unset SSH_AUTH_SOCK; 20:25:19 unset SSH_AGENT_PID; 20:25:19 echo Agent pid 17 killed; 20:25:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:25:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:25:19 [ssh-agent] Looking for ssh-agent implementation... 20:25:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:25:20 $ docker exec 97054111f02d09daae612a1fed09e8af8e0bc5e9e64aca8572b33817e0fc56c0 ssh-agent 20:25:20 SSH_AUTH_SOCK=/tmp/ssh-1ynWlOilG7mw/agent.47 20:25:20 SSH_AGENT_PID=52 20:25:20 Running ssh-add (command line suppressed) 20:25:20 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-616@tmp/private_key_7343893851944600980.key (/w/workspace/ndry_app-functions-sdk-go_PR-616@tmp/private_key_7343893851944600980.key) 20:25:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:25:20 + git semver init 20:25:20 # -> Open(): unable to determine branch for HEAD 20:25:20 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-616/.git 20:25:20 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-616 20:25:20 # $SEMVER_REMOTE_NAME = origin 20:25:20 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:25:20 # $SEMVER_USER_NAME = edgex-jenkins 20:25:20 # $SEMVER_BRANCH = PR-616 20:25:20 # $SEMVER_TEMP = /tmp/semver-088414972 20:25:20 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 20:25:23 # '/tmp/semver-088414972' -> '/w/workspace/ndry_app-functions-sdk-go_PR-616/.semver' 20:25:23 # -> Force: false 20:25:23 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-616/.semver [Pipeline] } 20:25:23 $ docker exec --env ******** --env ******** 97054111f02d09daae612a1fed09e8af8e0bc5e9e64aca8572b33817e0fc56c0 ssh-agent -k 20:25:23 unset SSH_AUTH_SOCK; 20:25:23 unset SSH_AGENT_PID; 20:25:23 echo Agent pid 52 killed; 20:25:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:25:24 + git semver [Pipeline] } 20:25:24 $ docker stop --time=1 97054111f02d09daae612a1fed09e8af8e0bc5e9e64aca8572b33817e0fc56c0 20:25:25 $ docker rm -f 97054111f02d09daae612a1fed09e8af8e0bc5e9e64aca8572b33817e0fc56c0 [Pipeline] // withDockerContainer [Pipeline] sh 20:25:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:25:26 Stashed 1 file(s) [Pipeline] echo 20:25:26 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 20:25:42 Still waiting to schedule task 20:25:42 Waiting for next available executor on ‘centos7-docker-4c-2g’ 20:25:42 Still waiting to schedule task 20:25:42 ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline 20:27:30 Running on prd-ubuntu18.04-docker-arm64-4c-16g-22334 in /w/workspace/ndry_app-functions-sdk-go_PR-616 [Pipeline] { [Pipeline] ws 20:27:30 Running in /w/workspace/app-functions-sdk-go/8 [Pipeline] { [Pipeline] checkout 20:27:34 using credential edgex-jenkins-ssh 20:27:35 Cloning the remote Git repository 20:27:35 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 20:27:35 > git init /w/workspace/app-functions-sdk-go/8 # timeout=10 20:27:35 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:27:35 > git --version # timeout=10 20:27:35 > git --version # 'git version 2.17.1' 20:27:35 using GIT_SSH to set credentials SSH Credentials for GitHub 20:27:35 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:27:39 Merging remotes/origin/master commit 8142930acee8fabaf6710482ac85b747560789e9 into PR head commit 8c202e86bdc9edff9a93b4f8bc39120dac14bd3c 20:27:38 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:27:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:27:38 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:27:38 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:27:38 using GIT_SSH to set credentials SSH Credentials for GitHub 20:27:38 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/616/head:refs/remotes/origin/PR-616 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:27:39 > git config core.sparsecheckout # timeout=10 20:27:39 Merge succeeded, producing 8c202e86bdc9edff9a93b4f8bc39120dac14bd3c 20:27:39 Checking out Revision 8c202e86bdc9edff9a93b4f8bc39120dac14bd3c (PR-616) 20:27:39 > git checkout -f 8c202e86bdc9edff9a93b4f8bc39120dac14bd3c # timeout=10 20:27:39 > git remote # timeout=10 20:27:39 > git config --get remote.origin.url # timeout=10 20:27:39 using GIT_SSH to set credentials SSH Credentials for GitHub 20:27:39 > git merge 8142930acee8fabaf6710482ac85b747560789e9 # timeout=10 20:27:39 > git rev-parse HEAD^{commit} # timeout=10 20:27:39 > git config core.sparsecheckout # timeout=10 20:27:39 > git checkout -f 8c202e86bdc9edff9a93b4f8bc39120dac14bd3c # timeout=10 20:27:43 Commit message: "feat: Expect V2 Event DTO from triggers." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:27:45 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 20:27:45 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:27:46 + true 20:27:46 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 20:27:49 ========================================================= 20:27:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 20:27:49 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:27:49 + 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 . 20:27:50 Sending build context to Docker daemon 19.19MB 20:27:50 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 20:27:50 Step 2/8 : FROM ${BASE} 20:27:51 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:27:51 5f621e34cdf4: Pulling fs layer 20:27:51 a4357932f1b6: Pulling fs layer 20:27:51 18c013af1878: Pulling fs layer 20:27:51 00ac8860ef70: Pulling fs layer 20:27:51 63d7cb157983: Pulling fs layer 20:27:51 b116817d02f9: Pulling fs layer 20:27:51 745a02a5169b: Pulling fs layer 20:27:51 00ac8860ef70: Waiting 20:27:51 63d7cb157983: Waiting 20:27:51 b116817d02f9: Waiting 20:27:51 745a02a5169b: Waiting 20:27:51 18c013af1878: Verifying Checksum 20:27:51 18c013af1878: Download complete 20:27:51 a4357932f1b6: Verifying Checksum 20:27:51 a4357932f1b6: Download complete 20:27:51 63d7cb157983: Download complete 20:27:51 b116817d02f9: Download complete 20:27:51 5f621e34cdf4: Verifying Checksum 20:27:52 5f621e34cdf4: Pull complete 20:27:52 a4357932f1b6: Pull complete 20:27:53 18c013af1878: Pull complete 20:27:53 745a02a5169b: Verifying Checksum 20:27:53 745a02a5169b: Download complete 20:27:54 00ac8860ef70: Verifying Checksum 20:27:54 00ac8860ef70: Download complete 20:28:04 00ac8860ef70: Pull complete 20:28:04 63d7cb157983: Pull complete 20:28:04 b116817d02f9: Pull complete 20:28:08 745a02a5169b: Pull complete 20:28:08 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 20:28:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 20:28:08 ---> b7e6874047d6 20:28:08 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 20:28:08 20.10.0: Pulling from library/docker 20:28:08 a3cc7d3b244e: Pulling fs layer 20:28:08 02a3295e0d61: Pulling fs layer 20:28:08 0f4f2e6d8100: Pulling fs layer 20:28:08 330b718f631f: Pulling fs layer 20:28:08 a93816041522: Pulling fs layer 20:28:08 bdb6da89ff94: Pulling fs layer 20:28:08 2a70c0c122f4: Pulling fs layer 20:28:08 330b718f631f: Waiting 20:28:08 a93816041522: Waiting 20:28:08 bdb6da89ff94: Waiting 20:28:08 2a70c0c122f4: Waiting 20:28:08 0f4f2e6d8100: Verifying Checksum 20:28:08 0f4f2e6d8100: Download complete 20:28:08 02a3295e0d61: Verifying Checksum 20:28:08 02a3295e0d61: Download complete 20:28:08 a3cc7d3b244e: Verifying Checksum 20:28:08 a3cc7d3b244e: Download complete 20:28:08 a93816041522: Verifying Checksum 20:28:08 a93816041522: Download complete 20:28:08 2a70c0c122f4: Verifying Checksum 20:28:08 2a70c0c122f4: Download complete 20:28:08 bdb6da89ff94: Verifying Checksum 20:28:08 bdb6da89ff94: Download complete 20:28:09 a3cc7d3b244e: Pull complete 20:28:09 02a3295e0d61: Pull complete 20:28:09 0f4f2e6d8100: Pull complete 20:28:10 330b718f631f: Verifying Checksum 20:28:10 330b718f631f: Download complete 20:28:13 330b718f631f: Pull complete 20:28:14 a93816041522: Pull complete 20:28:14 bdb6da89ff94: Pull complete 20:28:14 2a70c0c122f4: Pull complete 20:28:14 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 20:28:14 Status: Downloaded newer image for docker:20.10.0 20:28:21 ---> e4b63647cae5 20:28:21 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:28:21 ---> Running in 92dfb6c9a767 20:28:21 Removing intermediate container 92dfb6c9a767 20:28:21 ---> 02b6b32da537 20:28:21 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 20:28:21 ---> Running in d15212c0fb23 20:28:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:28:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:28:23 (1/5) Installing libsodium (1.0.18-r0) 20:28:23 (2/5) Installing libzmq (4.3.3-r0) 20:28:24 (3/5) Installing pkgconf (1.7.2-r0) 20:28:24 (4/5) Installing libsodium-dev (1.0.18-r0) 20:28:24 (5/5) Installing zeromq-dev (4.3.3-r0) 20:28:24 Executing busybox-1.31.1-r19.trigger 20:28:24 OK: 144 MiB in 44 packages 20:28:24 Running on prd-centos7-docker-4c-2g-22335 in /w/workspace/ndry_app-functions-sdk-go_PR-616 [Pipeline] { [Pipeline] ws 20:28:25 Running in /w/workspace/app-functions-sdk-go/8 [Pipeline] { [Pipeline] checkout 20:28:25 Removing intermediate container d15212c0fb23 20:28:25 ---> 67698a75699a 20:28:25 Step 6/8 : WORKDIR /build 20:28:25 ---> Running in 1aaf44d6ae7f 20:28:26 Removing intermediate container 1aaf44d6ae7f 20:28:26 ---> dfc4846956f1 20:28:26 Step 7/8 : COPY go.mod . 20:28:27 ---> 222eb9f73255 20:28:27 Step 8/8 : RUN go mod download 20:28:27 ---> Running in 581906a43b90 20:28:27 using credential edgex-jenkins-ssh 20:28:28 Cloning the remote Git repository 20:28:28 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 20:28:28 > git init /w/workspace/app-functions-sdk-go/8 # timeout=10 20:28:28 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:28:28 > git --version # timeout=10 20:28:28 > git --version # 'git version 2.24.3' 20:28:28 using GIT_SSH to set credentials SSH Credentials for GitHub 20:28:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:28:29 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:28:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:28:29 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:28:29 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:28:29 using GIT_SSH to set credentials SSH Credentials for GitHub 20:28:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/616/head:refs/remotes/origin/PR-616 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:28:30 Merging remotes/origin/master commit 8142930acee8fabaf6710482ac85b747560789e9 into PR head commit 8c202e86bdc9edff9a93b4f8bc39120dac14bd3c 20:28:30 Merge succeeded, producing 8c202e86bdc9edff9a93b4f8bc39120dac14bd3c 20:28:30 Checking out Revision 8c202e86bdc9edff9a93b4f8bc39120dac14bd3c (PR-616) 20:28:30 > git config core.sparsecheckout # timeout=10 20:28:30 > git checkout -f 8c202e86bdc9edff9a93b4f8bc39120dac14bd3c # timeout=10 20:28:30 > git remote # timeout=10 20:28:30 > git config --get remote.origin.url # timeout=10 20:28:30 using GIT_SSH to set credentials SSH Credentials for GitHub 20:28:30 > git merge 8142930acee8fabaf6710482ac85b747560789e9 # timeout=10 20:28:30 > git rev-parse HEAD^{commit} # timeout=10 20:28:30 > git config core.sparsecheckout # timeout=10 20:28:30 > git checkout -f 8c202e86bdc9edff9a93b4f8bc39120dac14bd3c # timeout=10 20:28:34 Commit message: "feat: Expect V2 Event DTO from triggers." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:28:35 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 20:28:35 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:28:36 + sudo service docker restart 20:28:36 + true 20:28:36 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 20:28:37 ========================================================= 20:28:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 20:28:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:28:37 + 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 . 20:28:38 Sending build context to Docker daemon 19.19MB 20:28:38 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 20:28:38 Step 2/8 : FROM ${BASE} 20:28:38 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 20:28:38 188c0c94c7c5: Pulling fs layer 20:28:38 0ef7d3d256c8: Pulling fs layer 20:28:38 de9db76c5a1d: Pulling fs layer 20:28:38 bca2f99d35d6: Pulling fs layer 20:28:38 93359f2a8cfa: Pulling fs layer 20:28:38 7c6f9722023f: Pulling fs layer 20:28:38 a35cf1a2eb13: Pulling fs layer 20:28:38 93359f2a8cfa: Waiting 20:28:38 bca2f99d35d6: Waiting 20:28:38 a35cf1a2eb13: Waiting 20:28:38 de9db76c5a1d: Verifying Checksum 20:28:38 de9db76c5a1d: Download complete 20:28:38 0ef7d3d256c8: Verifying Checksum 20:28:38 0ef7d3d256c8: Download complete 20:28:38 93359f2a8cfa: Verifying Checksum 20:28:38 93359f2a8cfa: Download complete 20:28:38 7c6f9722023f: Verifying Checksum 20:28:38 7c6f9722023f: Download complete 20:28:38 188c0c94c7c5: Verifying Checksum 20:28:38 188c0c94c7c5: Download complete 20:28:38 188c0c94c7c5: Pull complete 20:28:39 0ef7d3d256c8: Pull complete 20:28:39 de9db76c5a1d: Pull complete 20:28:40 a35cf1a2eb13: Verifying Checksum 20:28:40 a35cf1a2eb13: Download complete 20:28:40 bca2f99d35d6: Verifying Checksum 20:28:40 bca2f99d35d6: Download complete 20:28:46 bca2f99d35d6: Pull complete 20:28:46 93359f2a8cfa: Pull complete 20:28:46 7c6f9722023f: Pull complete 20:28:50 a35cf1a2eb13: Pull complete 20:28:50 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 20:28:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 20:28:50 ---> a62c8e92a672 20:28:50 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 20:28:50 20.10.0: Pulling from library/docker 20:28:50 05e7bc50f07f: Pulling fs layer 20:28:50 6db28d0fdbf6: Pulling fs layer 20:28:50 292df0bc6bf3: Pulling fs layer 20:28:50 2e060f4bd70b: Pulling fs layer 20:28:50 80e8d568a223: Pulling fs layer 20:28:50 8dc6ef1a942a: Pulling fs layer 20:28:50 2312dd95470a: Pulling fs layer 20:28:50 80e8d568a223: Waiting 20:28:50 8dc6ef1a942a: Waiting 20:28:50 2312dd95470a: Waiting 20:28:50 2e060f4bd70b: Waiting 20:28:50 292df0bc6bf3: Verifying Checksum 20:28:50 292df0bc6bf3: Download complete 20:28:50 6db28d0fdbf6: Verifying Checksum 20:28:50 6db28d0fdbf6: Download complete 20:28:50 05e7bc50f07f: Verifying Checksum 20:28:50 05e7bc50f07f: Download complete 20:28:50 80e8d568a223: Verifying Checksum 20:28:50 80e8d568a223: Download complete 20:28:50 8dc6ef1a942a: Verifying Checksum 20:28:50 8dc6ef1a942a: Download complete 20:28:50 2312dd95470a: Verifying Checksum 20:28:50 2312dd95470a: Download complete 20:28:51 05e7bc50f07f: Pull complete 20:28:51 6db28d0fdbf6: Pull complete 20:28:51 292df0bc6bf3: Pull complete 20:28:51 2e060f4bd70b: Download complete 20:28:53 Removing intermediate container 581906a43b90 20:28:53 ---> 7e9d8e749406 20:28:53 Successfully built 7e9d8e749406 20:28:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:28:54 + docker inspect -f . ci-base-image-arm64 20:28:54 . [Pipeline] withDockerContainer 20:28:54 prd-ubuntu18.04-docker-arm64-4c-16g-22334 does not seem to be running inside a container 20:28:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/8 -v /w/workspace/app-functions-sdk-go/8:/w/workspace/app-functions-sdk-go/8:rw,z -v /w/workspace/app-functions-sdk-go/8@tmp:/w/workspace/app-functions-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:28:55 2e060f4bd70b: Pull complete 20:28:55 80e8d568a223: Pull complete 20:28:55 8dc6ef1a942a: Pull complete 20:28:55 2312dd95470a: Pull complete 20:28:55 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 20:28:55 Status: Downloaded newer image for docker:20.10.0 20:28:56 $ docker top c70d3f86bc5650fbf184e986ffaf4c595d6461a322845123558615a3a63ba551 -eo pid,comm [Pipeline] { 20:28:56 ---> 4ed0f24c0764 20:28:56 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:28:56 ---> Running in 5555892055a9 [Pipeline] sh 20:28:56 Removing intermediate container 5555892055a9 20:28:56 ---> 1a05e064c805 20:28:56 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 20:28:56 ---> Running in 6acd98916c92 20:28:57 + go version 20:28:57 go version go1.15.5 linux/arm64 [Pipeline] } 20:28:57 $ docker stop --time=1 c70d3f86bc5650fbf184e986ffaf4c595d6461a322845123558615a3a63ba551 20:28:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:28:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:28:58 (1/5) Installing libsodium (1.0.18-r0) 20:28:58 (2/5) Installing libzmq (4.3.3-r0) 20:28:58 $ docker rm -f c70d3f86bc5650fbf184e986ffaf4c595d6461a322845123558615a3a63ba551 20:28:59 (3/5) Installing pkgconf (1.7.2-r0) 20:28:59 (4/5) Installing libsodium-dev (1.0.18-r0) 20:28:59 (5/5) Installing zeromq-dev (4.3.3-r0) [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 20:28:59 Executing busybox-1.31.1-r19.trigger 20:28:59 OK: 167 MiB in 44 packages [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:28:59 Removing intermediate container 6acd98916c92 20:28:59 ---> 238906b1c6a7 20:28:59 Step 6/8 : WORKDIR /build 20:28:59 ---> Running in 6cabb27e6905 20:28:59 + docker inspect -f . ci-base-image-arm64 20:28:59 . [Pipeline] withDockerContainer 20:29:00 Removing intermediate container 6cabb27e6905 20:29:00 ---> 8be51c572dc6 20:29:00 Step 7/8 : COPY go.mod . 20:29:00 ---> c7ad8b9e40b9 20:29:00 Step 8/8 : RUN go mod download 20:29:00 prd-ubuntu18.04-docker-arm64-4c-16g-22334 does not seem to be running inside a container 20:29:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/8 -v /w/workspace/app-functions-sdk-go/8:/w/workspace/app-functions-sdk-go/8:rw,z -v /w/workspace/app-functions-sdk-go/8@tmp:/w/workspace/app-functions-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:29:00 ---> Running in 5d19c64a693b 20:29:01 $ docker top 300ed9a458b09b99ebe5bf0e1bf6620f96a55f2421babb49d79d1e51877cf83b -eo pid,comm [Pipeline] { [Pipeline] sh 20:29:02 + make test 20:29:02 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:29:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] 20:29:22 Removing intermediate container 5d19c64a693b 20:29:22 ---> 78bdf5766b15 20:29:22 Successfully built 78bdf5766b15 20:29:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:29:23 + docker inspect -f . ci-base-image-x86_64 20:29:23 . [Pipeline] withDockerContainer 20:29:23 prd-centos7-docker-4c-2g-22335 does not seem to be running inside a container 20:29:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/8 -v /w/workspace/app-functions-sdk-go/8:/w/workspace/app-functions-sdk-go/8:rw,z -v /w/workspace/app-functions-sdk-go/8@tmp:/w/workspace/app-functions-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:29:24 $ docker top 9a5555dd961f549683bfa2252878f4f1ca3e95e517e50464897641d398c8cc43 -eo pid,comm [Pipeline] { [Pipeline] sh 20:29:24 + go version 20:29:24 go version go1.15.5 linux/amd64 [Pipeline] } 20:29:24 $ docker stop --time=1 9a5555dd961f549683bfa2252878f4f1ca3e95e517e50464897641d398c8cc43 20:29:26 $ docker rm -f 9a5555dd961f549683bfa2252878f4f1ca3e95e517e50464897641d398c8cc43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 20:29:26 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.085s coverage: 82.6% of statements [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:29:27 + docker inspect -f . ci-base-image-x86_64 20:29:27 . [Pipeline] withDockerContainer 20:29:27 prd-centos7-docker-4c-2g-22335 does not seem to be running inside a container 20:29:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/8 -v /w/workspace/app-functions-sdk-go/8:/w/workspace/app-functions-sdk-go/8:rw,z -v /w/workspace/app-functions-sdk-go/8@tmp:/w/workspace/app-functions-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:29:27 $ docker top 1ff3c41f43c8f66e507d09eabbb9e9502f21421ba5fa438b8079345b6ea03ce5 -eo pid,comm [Pipeline] { [Pipeline] sh 20:29:28 + make test 20:29:28 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:29:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] 20:29:37 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.050s coverage: 82.6% of statements 20:29:44 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.037s coverage: 48.6% of statements 20:29:44 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 20:29:44 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 20:29:44 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.039s coverage: 61.5% of statements 20:29:44 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 20:29:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.053s coverage: 73.6% of statements 20:29:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 20:29:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 20:29:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 20:29:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 20:29:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 20:29:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 20:29:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.005s coverage: 97.0% of statements 20:29:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 20:29:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.011s coverage: 8.8% of statements 20:29:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.079s coverage: 48.6% of statements 20:29:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 20:29:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 20:29:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.086s coverage: 61.5% of statements 20:29:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 20:29:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.065s coverage: 73.6% of statements 20:29:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 20:29:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 20:29:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 20:29:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 20:29:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 20:29:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 20:29:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.032s coverage: 97.0% of statements 20:29:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 20:29:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.026s coverage: 8.8% of statements 20:30:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 13.843s coverage: 77.5% of statements 20:30:00 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 20:30:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.031s coverage: 87.9% of statements 20:30:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.013s coverage: 80.5% of statements 20:30:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.012s coverage: 71.7% of statements 20:30:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 13.895s coverage: 77.5% of statements 20:30:07 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 20:30:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.047s coverage: 87.9% of statements 20:30:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.034s coverage: 80.5% of statements 20:30:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.047s coverage: 71.7% of statements 20:30:12 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.049s coverage: 81.4% of statements 20:30:12 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.009s coverage: 94.4% of statements 20:30:12 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:30:16 gofmt -l . 20:30:16 [ "`gofmt -l .`" = "" ] 20:30:16 ./bin/test-go-mod-tidy.sh [Pipeline] } 20:30:16 $ docker stop --time=1 1ff3c41f43c8f66e507d09eabbb9e9502f21421ba5fa438b8079345b6ea03ce5 20:30:18 $ docker rm -f 1ff3c41f43c8f66e507d09eabbb9e9502f21421ba5fa438b8079345b6ea03ce5 [Pipeline] // withDockerContainer [Pipeline] sh 20:30:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:30:19 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.072s coverage: 81.4% of statements 20:30:19 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.023s coverage: 94.4% of statements 20:30:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:30:19 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] } 20:30:30 gofmt -l . 20:30:30 [ "`gofmt -l .`" = "" ] 20:30:30 ./bin/test-go-mod-tidy.sh [Pipeline] } 20:30:31 $ docker stop --time=1 300ed9a458b09b99ebe5bf0e1bf6620f96a55f2421babb49d79d1e51877cf83b 20:30:33 $ docker rm -f 300ed9a458b09b99ebe5bf0e1bf6620f96a55f2421babb49d79d1e51877cf83b [Pipeline] // withDockerContainer [Pipeline] sh 20:30:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:30:34 Warning: overwriting stash ‘coverage-report’ 20:30:35 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 20:30:37 provisioning config files... 20:30:37 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-616@tmp/config8333815586798729984tmp [Pipeline] { [Pipeline] sh 20:30:37 + set +x 20:30:37 + curl -s https://codecov.io/bash 20:30:37 + bash -s -- 20:30:38 20:30:38 _____ _ 20:30:38 / ____| | | 20:30:38 | | ___ __| | ___ ___ _____ __ 20:30:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:30:38 | |___| (_) | (_| | __/ (_| (_) \ V / 20:30:38 \_____\___/ \__,_|\___|\___\___/ \_/ 20:30:38 Bash-20210115-cec3c92 20:30:38 20:30:38 20:30:38 ==> git version 2.24.3 found 20:30:38 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 20:30:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 20:30:38 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 20:30:38 ==> Jenkins CI detected. 20:30:38 project root: . 20:30:38 --> token set from env 20:30:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:30:38 ==> Running gcov in . (disable via -X gcov) 20:30:38 ==> Python coveragepy not found 20:30:38 ==> Searching for coverage reports in: 20:30:38 + . 20:30:38 -> Found 1 reports 20:30:38 ==> Detecting git/mercurial file structure 20:30:38 ==> Reading reports 20:30:38 + ./coverage.out bytes=77345 20:30:38 ==> Appending adjustments 20:30:38 https://docs.codecov.io/docs/fixing-reports 20:30:38 + Found adjustments 20:30:38 ==> Gzipping contents 20:30:38 16K /tmp/codecov.edqrhv.gz 20:30:38 ==> Uploading reports 20:30:38 url: https://codecov.io 20:30:38 query: branch=PR-616&commit=8c202e86bdc9edff9a93b4f8bc39120dac14bd3c&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-616%2F8%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=616&job=&cmd_args= 20:30:38 -> Pinging Codecov 20:30:38 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-616&commit=8c202e86bdc9edff9a93b4f8bc39120dac14bd3c&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-616%2F8%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=616&job=&cmd_args= 20:30:39 -> Uploading to 20:30:39 https://storage.googleapis.com/codecov/v4/raw/2021-01-22/3D8B5DFFC46A037C893635FACE044666/8c202e86bdc9edff9a93b4f8bc39120dac14bd3c/4af6d912-795c-4ebd-b987-aba056d111c3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210122%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210122T203038Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a8c5cd5e2b9dc5439d5fe99ea5539349622a26bb6486ac3c6fdfd629800375aa 20:30:39 % Total % Received % Xferd Average Speed Time Time Time Current 20:30:39 Dload Upload Total Spent Left Speed 20:30:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13398 0 0 100 13398 0 28767 --:--:-- --:--:-- --:--:-- 28812 20:30:39 -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/8c202e86bdc9edff9a93b4f8bc39120dac14bd3c [Pipeline] } 20:30:39 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 20:30:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:30:43 ---> package-listing.sh 20:30:43 ++ facter osfamily 20:30:43 ++ tr '[:upper:]' '[:lower:]' 20:30:43 + OS_FAMILY=redhat 20:30:43 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-616 20:30:43 + START_PACKAGES=/tmp/packages_start.txt 20:30:43 + END_PACKAGES=/tmp/packages_end.txt 20:30:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:30:43 + PACKAGES=/tmp/packages_start.txt 20:30:43 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-616 ']' 20:30:43 + PACKAGES=/tmp/packages_end.txt 20:30:43 + case "${OS_FAMILY}" in 20:30:43 + rpm -qa 20:30:43 + sort 20:30:48 + '[' -f /tmp/packages_start.txt ']' 20:30:48 + '[' -f /tmp/packages_end.txt ']' 20:30:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:30:48 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-616 ']' 20:30:48 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-616/archives/ 20:30:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-616/archives/ [Pipeline] echo 20:30:48 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-616/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:30:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:30:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:30:49 20:30:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:30:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:30:49 alpine: Pulling from edgex-lftools-log-publisher 20:30:49 df20fa9351a1: Pulling fs layer 20:30:49 36b3adc4ff6f: Pulling fs layer 20:30:49 8ad3a11d3b57: Pulling fs layer 20:30:49 46f8f816bc3b: Pulling fs layer 20:30:49 93b61091891f: Pulling fs layer 20:30:49 93b9cdb0e59b: Pulling fs layer 20:30:49 5e14af77c1be: Pulling fs layer 20:30:49 01666e4c0597: Pulling fs layer 20:30:49 aa168da1d23b: Pulling fs layer 20:30:49 93b61091891f: Waiting 20:30:49 93b9cdb0e59b: Waiting 20:30:49 5e14af77c1be: Waiting 20:30:49 01666e4c0597: Waiting 20:30:49 aa168da1d23b: Waiting 20:30:49 46f8f816bc3b: Waiting 20:30:49 36b3adc4ff6f: Verifying Checksum 20:30:49 36b3adc4ff6f: Download complete 20:30:49 46f8f816bc3b: Verifying Checksum 20:30:49 46f8f816bc3b: Download complete 20:30:49 df20fa9351a1: Verifying Checksum 20:30:49 df20fa9351a1: Download complete 20:30:49 93b9cdb0e59b: Download complete 20:30:49 93b61091891f: Verifying Checksum 20:30:49 93b61091891f: Download complete 20:30:49 5e14af77c1be: Verifying Checksum 20:30:49 5e14af77c1be: Download complete 20:30:49 01666e4c0597: Verifying Checksum 20:30:49 01666e4c0597: Download complete 20:30:49 8ad3a11d3b57: Verifying Checksum 20:30:49 8ad3a11d3b57: Download complete 20:30:50 df20fa9351a1: Pull complete 20:30:50 36b3adc4ff6f: Pull complete 20:30:51 aa168da1d23b: Verifying Checksum 20:30:51 aa168da1d23b: Download complete 20:30:52 8ad3a11d3b57: Pull complete 20:30:52 46f8f816bc3b: Pull complete 20:30:52 93b61091891f: Pull complete 20:30:53 93b9cdb0e59b: Pull complete 20:30:53 5e14af77c1be: Pull complete 20:30:53 01666e4c0597: Pull complete 20:30:59 aa168da1d23b: Pull complete 20:30:59 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 20:30:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:30:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:31:00 prd-centos7-docker-4c-2g-22333 does not seem to be running inside a container 20:31:00 $ 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-616/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-616 -v /w/workspace/ndry_app-functions-sdk-go_PR-616:/w/workspace/ndry_app-functions-sdk-go_PR-616:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-616@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-616@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 20:31:03 $ docker top 86357a3d16dee866e4dd48d0f2e352deee4b1fadd7ca7946836e205e8ac8bbf4 -eo pid,comm [Pipeline] { [Pipeline] sh 20:31:03 + touch /tmp/pre-build-complete [Pipeline] sh 20:31:04 + mkdir -p /var/log/sa [Pipeline] sh 20:31:04 + ls /var/log/sa-host 20:31:04 + sadf -c /var/log/sa-host/sa22 20:31:04 file_magic: OK 20:31:04 HZ: Using current value: 100 20:31:04 file_header: OK 20:31:04 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 20:31:04 Statistics: 20:31:04 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:31:04 File successfully converted to sysstat format version 12.2.1 20:31:04 + sadf -c /var/log/sa-host/sa23 20:31:04 file_magic: OK 20:31:04 HZ: Using current value: 100 20:31:04 file_header: OK 20:31:04 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 20:31:04 Statistics: 20:31:04 Hnuu...uuuununununu... 20:31:04 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:31:05 provisioning config files... 20:31:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-616@tmp/config5620793583405845333tmp [Pipeline] { [Pipeline] echo 20:31:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:31:05 ---> create-netrc.sh [Pipeline] } 20:31:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 20:31:05 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 20:31:05 ---> python-tools-install.sh [Pipeline] echo 20:31:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:31:06 ---> sudo-logs.sh 20:31:06 Archiving 'sudo' log.. [Pipeline] echo 20:31:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:31:06 ---> job-cost.sh 20:31:06 lf-activate-venv: SKIPPING 20:31:06 INFO: No Stack... 20:31:07 INFO: Retrieving Pricing Info for: v1-standard-2 20:31:07 INFO: Archiving Costs [Pipeline] echo 20:31:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:31:08 ---> logs-deploy.sh 20:31:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-616/8 20:31:08 INFO: archiving workspace using pattern(s): 20:31:10 Archives upload complete. 20:31:10 INFO: archiving logs to Nexus 20:31:11 ---> uname -a: 20:31:11 Linux prd-centos7-docker-4c-2g-22333.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 20:31:11 20:31:11 20:31:11 ---> lscpu: 20:31:11 Architecture: x86_64 20:31:11 CPU op-mode(s): 32-bit, 64-bit 20:31:11 Byte Order: Little Endian 20:31:11 Address sizes: 40 bits physical, 48 bits virtual 20:31:11 CPU(s): 4 20:31:11 On-line CPU(s) list: 0-3 20:31:11 Thread(s) per core: 1 20:31:11 Core(s) per socket: 1 20:31:11 Socket(s): 4 20:31:11 NUMA node(s): 1 20:31:11 Vendor ID: GenuineIntel 20:31:11 CPU family: 6 20:31:11 Model: 44 20:31:11 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 20:31:11 Stepping: 1 20:31:11 CPU MHz: 2933.438 20:31:11 BogoMIPS: 5866.87 20:31:11 Virtualization: VT-x 20:31:11 Hypervisor vendor: KVM 20:31:11 Virtualization type: full 20:31:11 L1d cache: 128 KiB 20:31:11 L1i cache: 128 KiB 20:31:11 L2 cache: 16 MiB 20:31:11 L3 cache: 64 MiB 20:31:11 NUMA node0 CPU(s): 0-3 20:31:11 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 20:31:11 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 20:31:11 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 20:31:11 Vulnerability Meltdown: Mitigation; PTI 20:31:11 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:31:11 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 20:31:11 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 20:31:11 Vulnerability Srbds: Not affected 20:31:11 Vulnerability Tsx async abort: Not affected 20:31:11 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 20:31:11 20:31:11 20:31:11 ---> nproc: 20:31:11 4 20:31:11 20:31:11 20:31:11 ---> df -h: 20:31:11 Filesystem Size Used Available Use% Mounted on 20:31:11 overlay 50.0G 7.3G 42.7G 15% / 20:31:11 tmpfs 64.0M 0 64.0M 0% /dev 20:31:11 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 20:31:11 shm 64.0M 0 64.0M 0% /dev/shm 20:31:11 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 20:31:11 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 20:31:11 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 20:31:11 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 20:31:11 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 20:31:11 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 20:31:11 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-616 20:31:11 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-616@tmp 20:31:11 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 20:31:11 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 20:31:11 20:31:11 20:31:11 ---> free -m: 20:31:11 total used free shared buff/cache available 20:31:11 Mem: 1837 694 114 0 1028 1038 20:31:11 Swap: 1023 1 1022 20:31:11 20:31:11 20:31:11 ---> ip addr: 20:31:11 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 20:31:11 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 20:31:11 inet 127.0.0.1/8 scope host lo 20:31:11 valid_lft forever preferred_lft forever 20:31:11 inet6 ::1/128 scope host 20:31:11 valid_lft forever preferred_lft forever 20:31:11 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 20:31:11 link/ether fa:16:3e:c7:b2:c3 brd ff:ff:ff:ff:ff:ff 20:31:11 inet 10.30.123.90/23 brd 10.30.123.255 scope global dynamic eth0 20:31:11 valid_lft 86001sec preferred_lft 86001sec 20:31:11 inet6 fe80::f816:3eff:fec7:b2c3/64 scope link 20:31:11 valid_lft forever preferred_lft forever 20:31:11 3: docker0: mtu 1500 qdisc noqueue state DOWN 20:31:11 link/ether 02:42:d8:dd:60:79 brd ff:ff:ff:ff:ff:ff 20:31:11 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 20:31:11 valid_lft forever preferred_lft forever 20:31:11 inet6 fe80::42:d8ff:fedd:6079/64 scope link 20:31:11 valid_lft forever preferred_lft forever 20:31:11 20:31:11 20:31:11 ---> sar -b -r -n DEV: 20:31:11 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/22/21 _x86_64_ (4 CPU) 20:31:11 20:31:11 20:24:21 LINUX RESTART (4 CPU) 20:31:11 20:31:11 20:25:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 20:31:11 20:26:01 45.94 14.34 31.60 0.00 4589.28 4288.53 0.00 20:31:11 20:27:01 2.15 0.00 2.15 0.00 0.00 37.90 0.00 20:31:11 20:28:01 0.30 0.00 0.30 0.00 0.00 3.61 0.00 20:31:11 20:29:01 0.43 0.00 0.43 0.00 0.00 6.88 0.00 20:31:11 20:30:01 0.15 0.00 0.15 0.00 0.00 2.07 0.00 20:31:11 20:31:01 126.58 72.31 54.27 0.00 5977.50 17210.62 0.00 20:31:11 Average: 29.32 14.48 14.84 0.00 1763.98 3600.33 0.00 20:31:11 20:31:11 20:25:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:31:11 20:26:01 234828 0 592912 31.51 2620 1051184 1118948 38.19 405348 1043176 8 20:31:11 20:27:01 243532 0 584200 31.05 2620 1051192 1073856 36.65 402224 1039176 16 20:31:11 20:28:01 240932 0 586796 31.19 2620 1051196 1074072 36.66 402816 1041580 8 20:31:11 20:29:01 240552 0 587176 31.21 2620 1051196 1074072 36.66 417824 1026612 8 20:31:11 20:30:01 240344 0 587376 31.22 2620 1051204 1073940 36.65 413484 1031384 8 20:31:11 20:31:01 176932 0 691104 36.73 2620 1010888 1276144 43.55 460512 980640 25260 20:31:11 Average: 229520 0 604927 32.15 2620 1044477 1115172 38.06 417035 1027095 4218 20:31:11 20:31:11 20:25:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 20:31:11 20:26:01 eth0 240.59 208.23 757.71 54.08 0.00 0.00 0.00 0.00 20:31:11 20:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:31:11 20:26:01 docker0 97.47 75.27 8.46 306.02 0.00 0.00 0.00 0.00 20:31:11 20:27:01 eth0 0.82 0.05 0.07 0.00 0.00 0.00 0.00 0.00 20:31:11 20:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:31:11 20:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:31:11 20:28:01 eth0 1.03 0.50 0.32 0.21 0.00 0.00 0.00 0.00 20:31:11 20:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:31:11 20:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:31:11 20:29:01 eth0 2.50 1.37 1.99 0.24 0.00 0.00 0.00 0.00 20:31:11 20:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:31:11 20:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:31:11 20:30:01 eth0 0.20 0.17 0.08 0.10 0.00 0.00 0.00 0.00 20:31:11 20:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:31:11 20:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:31:11 20:31:01 eth0 206.65 172.09 2167.88 19.63 0.00 0.00 0.00 0.00 20:31:11 20:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:31:11 20:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:31:11 Average: eth0 75.39 63.81 489.09 12.38 0.00 0.00 0.00 0.00 20:31:11 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:31:11 Average: docker0 16.24 12.54 1.41 50.98 0.00 0.00 0.00 0.00 20:31:11 20:31:11 20:31:11 ---> sar -P ALL: 20:31:11 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/22/21 _x86_64_ (4 CPU) 20:31:11 20:31:11 20:24:21 LINUX RESTART (4 CPU) 20:31:11 20:31:11 20:25:01 CPU %user %nice %system %iowait %steal %idle 20:31:11 20:26:01 all 4.36 0.00 2.34 1.23 0.04 92.03 20:31:11 20:26:01 0 3.71 0.00 2.50 2.50 0.03 91.24 20:31:11 20:26:01 1 5.85 0.00 2.12 1.46 0.03 90.54 20:31:11 20:26:01 2 3.69 0.00 2.27 0.32 0.05 93.67 20:31:11 20:26:01 3 4.19 0.00 2.47 0.64 0.03 92.67 20:31:11 20:27:01 all 0.16 0.00 0.06 0.00 0.00 99.78 20:31:11 20:27:01 0 0.03 0.00 0.07 0.00 0.00 99.90 20:31:11 20:27:01 1 0.53 0.00 0.03 0.00 0.00 99.43 20:31:11 20:27:01 2 0.02 0.00 0.07 0.00 0.00 99.92 20:31:11 20:27:01 3 0.05 0.00 0.07 0.00 0.00 99.88 20:31:11 20:28:01 all 0.18 0.00 0.10 0.00 0.00 99.72 20:31:11 20:28:01 0 0.05 0.00 0.12 0.00 0.00 99.83 20:31:11 20:28:01 1 0.48 0.00 0.07 0.00 0.00 99.45 20:31:11 20:28:01 2 0.07 0.00 0.07 0.00 0.00 99.87 20:31:11 20:28:01 3 0.10 0.00 0.15 0.00 0.00 99.75 20:31:11 20:29:01 all 0.17 0.00 0.04 0.00 0.00 99.78 20:31:11 20:29:01 0 0.02 0.00 0.02 0.00 0.00 99.97 20:31:11 20:29:01 1 0.07 0.00 0.02 0.00 0.00 99.92 20:31:11 20:29:01 2 0.53 0.00 0.08 0.00 0.00 99.38 20:31:11 20:29:01 3 0.07 0.00 0.05 0.00 0.02 99.87 20:31:11 20:30:01 all 0.18 0.00 0.08 0.00 0.00 99.73 20:31:11 20:30:01 0 0.07 0.00 0.05 0.00 0.02 99.87 20:31:11 20:30:01 1 0.03 0.00 0.12 0.00 0.00 99.85 20:31:11 20:30:01 2 0.55 0.00 0.05 0.00 0.00 99.40 20:31:11 20:30:01 3 0.07 0.00 0.12 0.00 0.00 99.82 20:31:11 20:31:01 all 5.56 0.00 3.84 2.25 0.02 88.33 20:31:11 20:31:01 0 4.92 0.00 3.91 0.35 0.02 90.81 20:31:11 20:31:01 1 6.81 0.00 3.99 5.87 0.03 83.30 20:31:11 20:31:01 2 4.86 0.00 3.93 1.19 0.02 90.00 20:31:11 20:31:01 3 5.66 0.00 3.52 1.57 0.02 89.23 20:31:11 Average: all 1.76 0.00 1.07 0.58 0.01 96.58 20:31:11 Average: 0 1.46 0.00 1.10 0.47 0.01 96.95 20:31:11 Average: 1 2.29 0.00 1.05 1.22 0.01 95.44 20:31:11 Average: 2 1.61 0.00 1.07 0.25 0.01 97.05 20:31:11 Average: 3 1.68 0.00 1.06 0.37 0.01 96.89 20:31:11 20:31:11 20:31:11