Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 6bf444ff37da30785237bee6d11838ba1ee62386+c8e7ff089f1a2c07127fbe8e5bfcbe3f04fcc01e (48f5b7867164a5122097ffeea994eb2831f22a96) 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 fc09f7fe5f69055b0e322e50b0bb9debbc716db4 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 fc09f7fe5f69055b0e322e50b0bb9debbc716db4 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 fc09f7fe5f69055b0e322e50b0bb9debbc716db4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f fc09f7fe5f69055b0e322e50b0bb9debbc716db4 # timeout=10 Commit message: "Merge pull request #271 from ernestojeda/documentation-changes" > 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-5453 in /w/workspace/ndry_app-functions-sdk-go_PR-539 [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-539 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit c8e7ff089f1a2c07127fbe8e5bfcbe3f04fcc01e into PR head commit 6bf444ff37da30785237bee6d11838ba1ee62386 > 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 --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/539/head:refs/remotes/origin/PR-539 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6bf444ff37da30785237bee6d11838ba1ee62386 # timeout=10 Merge succeeded, producing a370605ec3af0c7fce1d208cfd7b03ec25885761 Checking out Revision a370605ec3af0c7fce1d208cfd7b03ec25885761 (PR-539) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge c8e7ff089f1a2c07127fbe8e5bfcbe3f04fcc01e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a370605ec3af0c7fce1d208cfd7b03ec25885761 # timeout=10 Commit message: "Merge commit 'c8e7ff089f1a2c07127fbe8e5bfcbe3f04fcc01e' into HEAD" > git rev-list --no-walk 6bf444ff37da30785237bee6d11838ba1ee62386 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:46:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:46:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:46:10 ========================================================= 23:46:10 EdgeX Global Pipelines Version Info 23:46:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:46:11 ------------------- 23:46:11 stable info: 23:46:11 ------------------- 23:46:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:46:11 Commit SHA: fc09f7fe5f69055b0e322e50b0bb9debbc716db4 23:46:11 Message: update stable to v1.0.142 23:46:12 ------------------- 23:46:12 experimental info: 23:46:12 ------------------- 23:46:12 Commited By: **** collab-it+edgex@linuxfoundation.org 23:46:12 Commit SHA: 2f41ad55dd360c8679175c2f18fa26421540ceb6 23:46:12 Message: update experimental to v1.0.143 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 23:46:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 23:46:13 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 23:46:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:46:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:46:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:46:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 23:46:13 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:46:13 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 23:46:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:46:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:46:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:46:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 23:46:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:46:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:46:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 23:46:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:46:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:46:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:46:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:46:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:46:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:46:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 23:46:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:46:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:46:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 23:46:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-539 [Pipeline] echo 23:46:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-539 [Pipeline] echo 23:46:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-539 [Pipeline] echo 23:46:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a370605ec3af0c7fce1d208cfd7b03ec25885761 [Pipeline] echo 23:46:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a370605 [Pipeline] echo 23:46:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:46:16 + git log --format=format:%s -1 a370605ec3af0c7fce1d208cfd7b03ec25885761 [Pipeline] echo 23:46:16 GIT_COMMIT: a370605ec3af0c7fce1d208cfd7b03ec25885761, Commit Message: Merge commit 'c8e7ff089f1a2c07127fbe8e5bfcbe3f04fcc01e' into HEAD [Pipeline] echo 23:46:16 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:46:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:46:18 23:46:18 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:46:18 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:46:18 latest: Pulling from edgex-devops/git-semver 23:46:18 31603596830f: Pulling fs layer 23:46:18 2a8b12db71e7: Pulling fs layer 23:46:18 6ca5941a6612: Pulling fs layer 23:46:18 ecc8261a40a4: Pulling fs layer 23:46:18 ecc8261a40a4: Waiting 23:46:18 2a8b12db71e7: Verifying Checksum 23:46:18 2a8b12db71e7: Download complete 23:46:18 ecc8261a40a4: Verifying Checksum 23:46:18 ecc8261a40a4: Download complete 23:46:18 6ca5941a6612: Verifying Checksum 23:46:18 6ca5941a6612: Download complete 23:46:18 31603596830f: Verifying Checksum 23:46:18 31603596830f: Download complete 23:46:19 31603596830f: Pull complete 23:46:19 2a8b12db71e7: Pull complete 23:46:20 6ca5941a6612: Pull complete 23:46:20 ecc8261a40a4: Pull complete 23:46:20 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 23:46:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:46:20 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:46:20 prd-centos7-docker-4c-2g-5453 does not seem to be running inside a container 23:46:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-539 -v /w/workspace/ndry_app-functions-sdk-go_PR-539:/w/workspace/ndry_app-functions-sdk-go_PR-539:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-539@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-539@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:46:23 $ docker top 13c2918fce85e660dab69ce99cb0f14692e2d962e8da027eaee580c5d91cc9e3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:46:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:46:23 [ssh-agent] Looking for ssh-agent implementation... 23:46:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:46:23 $ docker exec 13c2918fce85e660dab69ce99cb0f14692e2d962e8da027eaee580c5d91cc9e3 ssh-agent 23:46:24 SSH_AUTH_SOCK=/tmp/ssh-vdFimCDniZrE/agent.12 23:46:24 SSH_AGENT_PID=17 23:46:24 Running ssh-add (command line suppressed) 23:46:24 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-539@tmp/private_key_1795858661934547936.key (/w/workspace/ndry_app-functions-sdk-go_PR-539@tmp/private_key_1795858661934547936.key) 23:46:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:46:24 + git tag --points-at HEAD [Pipeline] } 23:46:24 $ docker exec --env ******** --env ******** 13c2918fce85e660dab69ce99cb0f14692e2d962e8da027eaee580c5d91cc9e3 ssh-agent -k 23:46:24 unset SSH_AUTH_SOCK; 23:46:24 unset SSH_AGENT_PID; 23:46:24 echo Agent pid 17 killed; 23:46:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:46:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:46:25 [ssh-agent] Looking for ssh-agent implementation... 23:46:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:46:25 $ docker exec 13c2918fce85e660dab69ce99cb0f14692e2d962e8da027eaee580c5d91cc9e3 ssh-agent 23:46:25 SSH_AUTH_SOCK=/tmp/ssh-y8jrUKqQ9NEz/agent.45 23:46:25 SSH_AGENT_PID=51 23:46:25 Running ssh-add (command line suppressed) 23:46:25 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-539@tmp/private_key_999744398006153933.key (/w/workspace/ndry_app-functions-sdk-go_PR-539@tmp/private_key_999744398006153933.key) 23:46:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:46:25 + git semver init 23:46:25 # -> Open(): unable to determine branch for HEAD 23:46:25 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-539/.git 23:46:25 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-539 23:46:25 # $SEMVER_REMOTE_NAME = origin 23:46:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:46:25 # $SEMVER_USER_NAME = edgex-jenkins 23:46:25 # $SEMVER_BRANCH = PR-539 23:46:25 # $SEMVER_TEMP = /tmp/semver-709991222 23:46:25 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 23:46:28 # '/tmp/semver-709991222' -> '/w/workspace/ndry_app-functions-sdk-go_PR-539/.semver' 23:46:28 # -> Force: false 23:46:28 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-539/.semver [Pipeline] } 23:46:28 $ docker exec --env ******** --env ******** 13c2918fce85e660dab69ce99cb0f14692e2d962e8da027eaee580c5d91cc9e3 ssh-agent -k 23:46:28 unset SSH_AUTH_SOCK; 23:46:28 unset SSH_AGENT_PID; 23:46:28 echo Agent pid 51 killed; 23:46:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:46:29 + git semver [Pipeline] } 23:46:29 $ docker stop --time=1 13c2918fce85e660dab69ce99cb0f14692e2d962e8da027eaee580c5d91cc9e3 23:46:30 $ docker rm -f 13c2918fce85e660dab69ce99cb0f14692e2d962e8da027eaee580c5d91cc9e3 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 23:46:32 Stashed 1 file(s) [Pipeline] echo 23:46:32 [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:46:34 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5450 in /w/workspace/ndry_app-functions-sdk-go_PR-539 [Pipeline] { [Pipeline] ws 23:46:34 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout 23:46:41 using credential edgex-jenkins-ssh 23:46:41 Cloning the remote Git repository 23:46:41 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:46:41 > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 23:46:41 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:46:41 > git --version # timeout=10 23:46:41 > git --version # 'git version 2.17.1' 23:46:41 using GIT_SSH to set credentials SSH Credentials for GitHub 23:46:41 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:46:44 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:46:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:46:44 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:46:44 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:46:44 using GIT_SSH to set credentials SSH Credentials for GitHub 23:46:44 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/539/head:refs/remotes/origin/PR-539 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:46:45 Merging remotes/origin/master commit c8e7ff089f1a2c07127fbe8e5bfcbe3f04fcc01e into PR head commit 6bf444ff37da30785237bee6d11838ba1ee62386 23:46:45 Merge succeeded, producing abbc17af70e10f32bf4ead295b33e6f374b146bc 23:46:45 Checking out Revision abbc17af70e10f32bf4ead295b33e6f374b146bc (PR-539) 23:46:45 > git config core.sparsecheckout # timeout=10 23:46:45 > git checkout -f 6bf444ff37da30785237bee6d11838ba1ee62386 # timeout=10 23:46:45 > git remote # timeout=10 23:46:45 > git config --get remote.origin.url # timeout=10 23:46:45 using GIT_SSH to set credentials SSH Credentials for GitHub 23:46:45 > git merge c8e7ff089f1a2c07127fbe8e5bfcbe3f04fcc01e # timeout=10 23:46:45 > git rev-parse HEAD^{commit} # timeout=10 23:46:45 > git config core.sparsecheckout # timeout=10 23:46:45 > git checkout -f abbc17af70e10f32bf4ead295b33e6f374b146bc # timeout=10 23:46:48 Still waiting to schedule task 23:46:48 ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-5452’ is offline; ‘prd-centos7-docker-4c-2g-5454’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’ 23:46:49 Commit message: "Merge commit 'c8e7ff089f1a2c07127fbe8e5bfcbe3f04fcc01e' into HEAD" 23:46:49 > git rev-list --no-walk 6bf444ff37da30785237bee6d11838ba1ee62386 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 23:46:50 ========================================================= 23:46:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 23:46:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:46:51 + 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:46:52 Sending build context to Docker daemon 19.1MB 23:46:52 Step 1/8 : ARG BASE=golang:1.15-alpine 23:46:52 Step 2/8 : FROM ${BASE} 23:46:53 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:46:53 b538f80385f9: Pulling fs layer 23:46:53 74f711af9a0d: Pulling fs layer 23:46:53 99f96fe45779: Pulling fs layer 23:46:53 8529a6b9a6be: Pulling fs layer 23:46:53 45590311c82a: Pulling fs layer 23:46:53 69ca0ff8b7b3: Pulling fs layer 23:46:53 209524e5b208: Pulling fs layer 23:46:53 8529a6b9a6be: Waiting 23:46:53 45590311c82a: Waiting 23:46:53 69ca0ff8b7b3: Waiting 23:46:53 209524e5b208: Waiting 23:46:53 99f96fe45779: Verifying Checksum 23:46:53 99f96fe45779: Download complete 23:46:53 74f711af9a0d: Download complete 23:46:53 45590311c82a: Verifying Checksum 23:46:53 45590311c82a: Download complete 23:46:53 69ca0ff8b7b3: Verifying Checksum 23:46:53 69ca0ff8b7b3: Download complete 23:46:54 b538f80385f9: Verifying Checksum 23:46:54 b538f80385f9: Download complete 23:46:54 b538f80385f9: Pull complete 23:46:55 74f711af9a0d: Pull complete 23:46:55 99f96fe45779: Pull complete 23:46:56 209524e5b208: Verifying Checksum 23:46:56 209524e5b208: Download complete 23:46:57 8529a6b9a6be: Download complete 23:47:07 8529a6b9a6be: Pull complete 23:47:07 45590311c82a: Pull complete 23:47:07 69ca0ff8b7b3: Pull complete 23:47:12 209524e5b208: Pull complete 23:47:12 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 23:47:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 23:47:12 ---> 5bddaf1c2fca 23:47:12 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 23:47:12 latest: Pulling from library/docker 23:47:12 b538f80385f9: Already exists 23:47:12 259a493cd78d: Pulling fs layer 23:47:12 b8e66b5100f5: Pulling fs layer 23:47:12 7f8258a56ab6: Pulling fs layer 23:47:12 75a0a0ebb566: Pulling fs layer 23:47:12 4a2c62f0a2a3: Pulling fs layer 23:47:12 294320357d30: Pulling fs layer 23:47:12 75a0a0ebb566: Waiting 23:47:12 4a2c62f0a2a3: Waiting 23:47:12 294320357d30: Waiting 23:47:12 b8e66b5100f5: Verifying Checksum 23:47:12 b8e66b5100f5: Download complete 23:47:12 259a493cd78d: Download complete 23:47:12 75a0a0ebb566: Download complete 23:47:12 4a2c62f0a2a3: Verifying Checksum 23:47:12 4a2c62f0a2a3: Download complete 23:47:12 294320357d30: Verifying Checksum 23:47:12 294320357d30: Download complete 23:47:13 259a493cd78d: Pull complete 23:47:13 b8e66b5100f5: Pull complete 23:47:13 7f8258a56ab6: Verifying Checksum 23:47:13 7f8258a56ab6: Download complete 23:47:17 7f8258a56ab6: Pull complete 23:47:17 75a0a0ebb566: Pull complete 23:47:17 4a2c62f0a2a3: Pull complete 23:47:17 294320357d30: Pull complete 23:47:17 Digest: sha256:57ddfc5b9f4f89f1598440cd1d6d97b87532b0bce1315e7880ae6843e3583529 23:47:17 Status: Downloaded newer image for docker:latest 23:47:23 ---> 01dae888088c 23:47:23 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:47:23 ---> Running in e39d53812478 23:47:23 Removing intermediate container e39d53812478 23:47:23 ---> 1fafb86cb6c6 23:47:23 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 23:47:24 ---> Running in 7af0a932b848 23:47:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 23:47:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 23:47:27 (1/5) Installing libsodium (1.0.18-r0) 23:47:27 (2/5) Installing libzmq (4.3.3-r0) 23:47:27 (3/5) Installing pkgconf (1.7.2-r0) 23:47:27 (4/5) Installing libsodium-dev (1.0.18-r0) 23:47:27 (5/5) Installing zeromq-dev (4.3.3-r0) 23:47:27 Executing busybox-1.31.1-r16.trigger 23:47:27 OK: 144 MiB in 44 packages 23:47:29 Removing intermediate container 7af0a932b848 23:47:29 ---> cae15a16c5a4 23:47:29 Step 6/8 : WORKDIR /build 23:47:29 ---> Running in fa81ba023fd0 23:47:29 Removing intermediate container fa81ba023fd0 23:47:29 ---> 7416b001e93b 23:47:29 Step 7/8 : COPY go.mod . 23:47:30 ---> 7ba90af109e0 23:47:30 Step 8/8 : RUN go mod download 23:47:30 ---> Running in 9149579324ba 23:47:55 Running on prd-centos7-docker-4c-2g-5456 in /w/workspace/ndry_app-functions-sdk-go_PR-539 [Pipeline] { [Pipeline] ws 23:47:55 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout 23:47:58 using credential edgex-jenkins-ssh 23:47:58 Cloning the remote Git repository 23:47:58 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:47:58 > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 23:47:58 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:47:58 > git --version # timeout=10 23:47:58 > git --version # 'git version 2.16.5' 23:47:58 using GIT_SSH to set credentials SSH Credentials for GitHub 23:47:58 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:48:00 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:48:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:48:00 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:48:00 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:48:00 using GIT_SSH to set credentials SSH Credentials for GitHub 23:48:00 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/539/head:refs/remotes/origin/PR-539 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:48:00 Merging remotes/origin/master commit c8e7ff089f1a2c07127fbe8e5bfcbe3f04fcc01e into PR head commit 6bf444ff37da30785237bee6d11838ba1ee62386 23:48:00 Merge succeeded, producing 9d2e4c4676f746a059f200b15fe54a0be0bd5b42 23:48:00 Checking out Revision 9d2e4c4676f746a059f200b15fe54a0be0bd5b42 (PR-539) 23:48:00 > git config core.sparsecheckout # timeout=10 23:48:00 > git checkout -f 6bf444ff37da30785237bee6d11838ba1ee62386 # timeout=10 23:48:00 > git remote # timeout=10 23:48:00 > git config --get remote.origin.url # timeout=10 23:48:00 using GIT_SSH to set credentials SSH Credentials for GitHub 23:48:00 > git merge c8e7ff089f1a2c07127fbe8e5bfcbe3f04fcc01e # timeout=10 23:48:00 > git rev-parse HEAD^{commit} # timeout=10 23:48:00 > git config core.sparsecheckout # timeout=10 23:48:00 > git checkout -f 9d2e4c4676f746a059f200b15fe54a0be0bd5b42 # timeout=10 23:48:02 Removing intermediate container 9149579324ba 23:48:02 ---> fc8039720e9c 23:48:02 Successfully built fc8039720e9c 23:48:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:48:03 + docker inspect -f . ci-base-image-arm64 23:48:03 . [Pipeline] withDockerContainer 23:48:03 prd-ubuntu18.04-docker-arm64-4c-16g-5450 does not seem to be running inside a container 23:48:03 $ 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 ******** ci-base-image-arm64 cat 23:48:04 Commit message: "Merge commit 'c8e7ff089f1a2c07127fbe8e5bfcbe3f04fcc01e' into HEAD" 23:48:04 > git rev-list --no-walk 6bf444ff37da30785237bee6d11838ba1ee62386 # timeout=10 23:48:05 $ docker top 1436e87ad91a96f2e3d46e353fd4f59208327f87d33845f0b2438f353f89aafd -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 23:48:06 ========================================================= 23:48:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 23:48:06 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:48:06 + go version 23:48:06 go version go1.15.2 linux/arm64 [Pipeline] } 23:48:07 $ docker stop --time=1 1436e87ad91a96f2e3d46e353fd4f59208327f87d33845f0b2438f353f89aafd 23:48:07 + 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:48:07 Sending build context to Docker daemon 19.1MB 23:48:07 Step 1/8 : ARG BASE=golang:1.15-alpine 23:48:07 Step 2/8 : FROM ${BASE} 23:48:07 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 23:48:07 df20fa9351a1: Pulling fs layer 23:48:07 ed8968b2872e: Pulling fs layer 23:48:07 a92cc7c5fd73: Pulling fs layer 23:48:07 e871e8e8d7a9: Pulling fs layer 23:48:07 e73272ec9a57: Pulling fs layer 23:48:07 1e910a182e73: Pulling fs layer 23:48:07 4e634b169226: Pulling fs layer 23:48:07 e73272ec9a57: Waiting 23:48:07 1e910a182e73: Waiting 23:48:07 4e634b169226: Waiting 23:48:07 e871e8e8d7a9: Waiting 23:48:07 a92cc7c5fd73: Download complete 23:48:07 ed8968b2872e: Verifying Checksum 23:48:07 ed8968b2872e: Download complete 23:48:07 e73272ec9a57: Verifying Checksum 23:48:07 e73272ec9a57: Download complete 23:48:07 1e910a182e73: Verifying Checksum 23:48:07 1e910a182e73: Download complete 23:48:07 df20fa9351a1: Verifying Checksum 23:48:07 df20fa9351a1: Download complete 23:48:07 df20fa9351a1: Pull complete 23:48:08 ed8968b2872e: Pull complete 23:48:08 a92cc7c5fd73: Pull complete 23:48:08 $ docker rm -f 1436e87ad91a96f2e3d46e353fd4f59208327f87d33845f0b2438f353f89aafd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:48:09 + docker inspect -f . ci-base-image-arm64 23:48:09 . [Pipeline] withDockerContainer 23:48:10 prd-ubuntu18.04-docker-arm64-4c-16g-5450 does not seem to be running inside a container 23:48:10 $ 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 ******** ci-base-image-arm64 cat 23:48:10 4e634b169226: Verifying Checksum 23:48:10 4e634b169226: Download complete 23:48:10 e871e8e8d7a9: Verifying Checksum 23:48:10 e871e8e8d7a9: Download complete 23:48:12 $ docker top 9ab211b16c72daa9d041de92084019f1b70720efa4d3ed1da4e2ca51a26182dc -eo pid,comm [Pipeline] { [Pipeline] sh 23:48:13 + make test 23:48:13 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:48:15 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 23:48:16 e871e8e8d7a9: Pull complete 23:48:16 e73272ec9a57: Pull complete 23:48:16 1e910a182e73: Pull complete 23:48:26 4e634b169226: Pull complete 23:48:26 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 23:48:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 23:48:26 ---> f7629b54cfaa 23:48:26 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 23:48:26 latest: Pulling from library/docker 23:48:26 df20fa9351a1: Already exists 23:48:26 25ad7478873d: Pulling fs layer 23:48:26 4684f6177b5d: Pulling fs layer 23:48:26 8ba584e970af: Pulling fs layer 23:48:26 3cdc74d2b06d: Pulling fs layer 23:48:26 4cf5a0d07c1f: Pulling fs layer 23:48:26 fca0ccc462d5: Pulling fs layer 23:48:26 4cf5a0d07c1f: Waiting 23:48:26 fca0ccc462d5: Waiting 23:48:26 3cdc74d2b06d: Waiting 23:48:26 25ad7478873d: Verifying Checksum 23:48:26 25ad7478873d: Download complete 23:48:26 3cdc74d2b06d: Verifying Checksum 23:48:26 3cdc74d2b06d: Download complete 23:48:26 4684f6177b5d: Verifying Checksum 23:48:26 4684f6177b5d: Download complete 23:48:26 4cf5a0d07c1f: Verifying Checksum 23:48:26 4cf5a0d07c1f: Download complete 23:48:26 25ad7478873d: Pull complete 23:48:26 fca0ccc462d5: Verifying Checksum 23:48:26 fca0ccc462d5: Download complete 23:48:26 4684f6177b5d: Pull complete 23:48:26 8ba584e970af: Verifying Checksum 23:48:26 8ba584e970af: Download complete 23:48:29 8ba584e970af: Pull complete 23:48:29 3cdc74d2b06d: Pull complete 23:48:29 4cf5a0d07c1f: Pull complete 23:48:29 fca0ccc462d5: Pull complete 23:48:29 Digest: sha256:57ddfc5b9f4f89f1598440cd1d6d97b87532b0bce1315e7880ae6843e3583529 23:48:29 Status: Downloaded newer image for docker:latest 23:48:30 ---> b5174d78ed6f 23:48:30 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:48:31 ---> Running in f2267eed2a16 23:48:31 Removing intermediate container f2267eed2a16 23:48:31 ---> 8cf4fae3afe6 23:48:31 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 23:48:31 ---> Running in c33f4b72a9af 23:48:32 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 23:48:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 23:48:33 (1/5) Installing libsodium (1.0.18-r0) 23:48:33 (2/5) Installing libzmq (4.3.3-r0) 23:48:33 (3/5) Installing pkgconf (1.7.2-r0) 23:48:33 (4/5) Installing libsodium-dev (1.0.18-r0) 23:48:33 (5/5) Installing zeromq-dev (4.3.3-r0) 23:48:33 Executing busybox-1.31.1-r16.trigger 23:48:33 OK: 167 MiB in 44 packages 23:48:34 Removing intermediate container c33f4b72a9af 23:48:34 ---> 88c8ab1ed20b 23:48:34 Step 6/8 : WORKDIR /build 23:48:34 ---> Running in f8612e29427d 23:48:34 Removing intermediate container f8612e29427d 23:48:34 ---> eaeb4a2ea4fd 23:48:34 Step 7/8 : COPY go.mod . 23:48:34 ---> 29f9c93ef8e6 23:48:34 Step 8/8 : RUN go mod download 23:48:34 ---> Running in 23a54533e2d3 23:48:37 # github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 23:48:37 internal/v2/controller/http/controller.go:130:102: secretRequest.RequestID undefined (type requests.SecretsRequest has no field or method RequestID) 23:48:37 internal/v2/controller/http/controller.go:134:59: secretRequest.RequestID undefined (type requests.SecretsRequest has no field or method RequestID) 23:48:37 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.102s coverage: 86.2% of statements 23:49:01 Removing intermediate container 23a54533e2d3 23:49:01 ---> 356ac7eefb8a 23:49:01 Successfully built 356ac7eefb8a 23:49:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:49:01 + docker inspect -f . ci-base-image-x86_64 23:49:01 . [Pipeline] withDockerContainer 23:49:01 prd-centos7-docker-4c-2g-5456 does not seem to be running inside a container 23:49:02 $ 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 ******** ci-base-image-x86_64 cat 23:49:02 $ docker top b5a83139ecdfc3d2d6aba0f3f5dc3630585c31a5c5edc1339b38dd517079f90d -eo pid,comm [Pipeline] { [Pipeline] sh 23:49:03 + go version 23:49:03 go version go1.15.2 linux/amd64 [Pipeline] } 23:49:03 $ docker stop --time=1 b5a83139ecdfc3d2d6aba0f3f5dc3630585c31a5c5edc1339b38dd517079f90d 23:49:04 $ docker rm -f b5a83139ecdfc3d2d6aba0f3f5dc3630585c31a5c5edc1339b38dd517079f90d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:49:05 + docker inspect -f . ci-base-image-x86_64 23:49:05 . [Pipeline] withDockerContainer 23:49:05 prd-centos7-docker-4c-2g-5456 does not seem to be running inside a container 23:49:05 $ 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 ******** ci-base-image-x86_64 cat 23:49:06 $ docker top 7b2c1528e681dac9cb7ce651ae72b25fa0c93fac975d81d31965354cacbc876f -eo pid,comm [Pipeline] { [Pipeline] sh 23:49:06 + make test 23:49:06 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:49:08 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 23:49:09 FAIL github.com/edgexfoundry/app-functions-sdk-go/appsdk [build failed] 23:49:09 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 23:49:09 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 23:49:09 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.064s coverage: 54.7% of statements 23:49:09 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 23:49:09 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.330s coverage: 69.1% of statements 23:49:13 # github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http [github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http.test] 23:49:13 internal/v2/controller/http/controller.go:130: secretRequest.RequestID undefined (type requests.SecretsRequest has no field or method RequestID) 23:49:13 internal/v2/controller/http/controller.go:134: secretRequest.RequestID undefined (type requests.SecretsRequest has no field or method RequestID) 23:49:13 internal/v2/controller/http/controller_test.go:187:35: unknown field 'RequestID' in struct literal of type "github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common".BaseRequest (but does have RequestId) 23:49:13 internal/v2/controller/http/controller_test.go:200:18: validNoRequestId.RequestID undefined (type requests.SecretsRequest has no field or method RequestID) 23:49:13 internal/v2/controller/http/controller_test.go:202:14: badRequestId.RequestID undefined (type requests.SecretsRequest has no field or method RequestID) 23:49:13 internal/v2/controller/http/controller_test.go:267:62: actualResponse.RequestID undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common".BaseResponse has no field or method RequestID, but does have RequestId) 23:49:13 # github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests [github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests.test] 23:49:13 internal/v2/dtos/requests/secrets_test.go:34:34: unknown field 'RequestID' in struct literal of type common.BaseRequest (but does have RequestId) 23:49:13 internal/v2/dtos/requests/secrets_test.go:54:18: validNoRequestId.RequestID undefined (type SecretsRequest has no field or method RequestID) 23:49:13 internal/v2/dtos/requests/secrets_test.go:56:14: badRequestId.RequestID undefined (type SecretsRequest has no field or method RequestID) 23:49:15 # github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 23:49:15 internal/v2/controller/http/controller.go:130:102: secretRequest.RequestID undefined (type requests.SecretsRequest has no field or method RequestID) 23:49:15 internal/v2/controller/http/controller.go:134:59: secretRequest.RequestID undefined (type requests.SecretsRequest has no field or method RequestID) 23:49:15 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.139s coverage: 86.2% of statements 23:49:23 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.856s coverage: 61.6% of statements 23:49:23 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.019s coverage: 89.5% of statements 23:49:23 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.013s coverage: 100.0% of statements 23:49:23 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.113s coverage: 100.0% of statements 23:49:23 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.011s coverage: 100.0% of statements 23:49:23 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.015s coverage: 100.0% of statements 23:49:23 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 23:49:23 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 23:49:23 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 23:49:23 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 23:49:23 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 23:49:23 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 23:49:23 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] 23:49:23 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.012s coverage: 96.6% of statements 23:49:23 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 23:49:23 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.012s coverage: 97.7% of statements 23:49:23 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 23:49:23 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] 23:49:23 FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http [build failed] 23:49:23 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.033s coverage: 75.0% of statements 23:49:23 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 23:49:23 FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http [build failed] 23:49:23 FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests [build failed] 23:49:23 FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/webserver [build failed] 23:49:23 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.021s coverage: 71.7% of statements 23:49:27 FAIL github.com/edgexfoundry/app-functions-sdk-go/appsdk [build failed] 23:49:27 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 23:49:27 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 23:49:27 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.053s coverage: 54.7% of statements 23:49:27 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 23:49:27 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.277s coverage: 69.1% of statements 23:49:27 # github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http [github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http.test] 23:49:27 internal/v2/controller/http/controller.go:130: secretRequest.RequestID undefined (type requests.SecretsRequest has no field or method RequestID) 23:49:27 internal/v2/controller/http/controller.go:134: secretRequest.RequestID undefined (type requests.SecretsRequest has no field or method RequestID) 23:49:27 internal/v2/controller/http/controller_test.go:187:35: unknown field 'RequestID' in struct literal of type "github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common".BaseRequest (but does have RequestId) 23:49:27 internal/v2/controller/http/controller_test.go:200:18: validNoRequestId.RequestID undefined (type requests.SecretsRequest has no field or method RequestID) 23:49:27 internal/v2/controller/http/controller_test.go:202:14: badRequestId.RequestID undefined (type requests.SecretsRequest has no field or method RequestID) 23:49:27 internal/v2/controller/http/controller_test.go:267:62: actualResponse.RequestID undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common".BaseResponse has no field or method RequestID, but does have RequestId) 23:49:28 # github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests [github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests.test] 23:49:28 internal/v2/dtos/requests/secrets_test.go:34:34: unknown field 'RequestID' in struct literal of type common.BaseRequest (but does have RequestId) 23:49:28 internal/v2/dtos/requests/secrets_test.go:54:18: validNoRequestId.RequestID undefined (type SecretsRequest has no field or method RequestID) 23:49:28 internal/v2/dtos/requests/secrets_test.go:56:14: badRequestId.RequestID undefined (type SecretsRequest has no field or method RequestID) 23:49:43 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.596s coverage: 61.6% of statements 23:49:43 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.006s coverage: 89.5% of statements 23:49:43 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.006s coverage: 100.0% of statements 23:49:43 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.076s coverage: 100.0% of statements 23:49:43 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.006s coverage: 100.0% of statements 23:49:43 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.005s coverage: 100.0% of statements 23:49:43 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 23:49:43 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 23:49:43 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 23:49:43 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 23:49:43 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 23:49:43 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 23:49:43 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] 23:49:43 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.004s coverage: 96.6% of statements 23:49:43 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 23:49:43 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.006s coverage: 97.7% of statements 23:49:43 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 23:49:43 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] 23:49:43 FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http [build failed] 23:49:43 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.004s coverage: 75.0% of statements 23:49:43 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 23:49:43 FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http [build failed] 23:49:43 FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests [build failed] 23:49:43 FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/webserver [build failed] 23:49:43 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.007s coverage: 71.7% of statements 23:49:45 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.719s coverage: 70.6% of statements 23:49:45 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.011s coverage: 94.4% of statements 23:49:45 FAIL 23:49:45 make: *** [Makefile:6: test] Error 2 [Pipeline] } 23:49:45 $ docker stop --time=1 9ab211b16c72daa9d041de92084019f1b70720efa4d3ed1da4e2ca51a26182dc 23:49:47 $ docker rm -f 9ab211b16c72daa9d041de92084019f1b70720efa4d3ed1da4e2ca51a26182dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:49:49 Failed in branch arm64 23:49:55 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.360s coverage: 70.6% of statements 23:49:55 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.006s coverage: 94.4% of statements 23:49:55 FAIL 23:49:55 make: *** [Makefile:6: test] Error 2 [Pipeline] } 23:49:55 $ docker stop --time=1 7b2c1528e681dac9cb7ce651ae72b25fa0c93fac975d81d31965354cacbc876f 23:49:57 $ docker rm -f 7b2c1528e681dac9cb7ce651ae72b25fa0c93fac975d81d31965354cacbc876f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:49:58 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 23:50:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:50:04 ---> package-listing.sh 23:50:04 ++ facter osfamily 23:50:04 ++ tr '[:upper:]' '[:lower:]' 23:50:04 + OS_FAMILY=redhat 23:50:04 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-539 23:50:04 + START_PACKAGES=/tmp/packages_start.txt 23:50:04 + END_PACKAGES=/tmp/packages_end.txt 23:50:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:50:04 + PACKAGES=/tmp/packages_start.txt 23:50:04 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-539 ']' 23:50:04 + PACKAGES=/tmp/packages_end.txt 23:50:04 + case "${OS_FAMILY}" in 23:50:04 + rpm -qa 23:50:04 + sort 23:50:08 + '[' -f /tmp/packages_start.txt ']' 23:50:08 + '[' -f /tmp/packages_end.txt ']' 23:50:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:50:08 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-539 ']' 23:50:08 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-539/archives/ 23:50:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-539/archives/ [Pipeline] echo 23:50:08 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-539/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:50:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:50:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:50:08 23:50:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 23:50:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:50:09 alpine: Pulling from edgex-lftools-log-publisher 23:50:09 df20fa9351a1: Pulling fs layer 23:50:09 36b3adc4ff6f: Pulling fs layer 23:50:09 8ad3a11d3b57: Pulling fs layer 23:50:09 46f8f816bc3b: Pulling fs layer 23:50:09 93b61091891f: Pulling fs layer 23:50:09 93b9cdb0e59b: Pulling fs layer 23:50:09 5e14af77c1be: Pulling fs layer 23:50:09 01666e4c0597: Pulling fs layer 23:50:09 aa168da1d23b: Pulling fs layer 23:50:09 93b61091891f: Waiting 23:50:09 93b9cdb0e59b: Waiting 23:50:09 5e14af77c1be: Waiting 23:50:09 01666e4c0597: Waiting 23:50:09 aa168da1d23b: Waiting 23:50:09 46f8f816bc3b: Waiting 23:50:09 36b3adc4ff6f: Verifying Checksum 23:50:09 36b3adc4ff6f: Download complete 23:50:09 46f8f816bc3b: Verifying Checksum 23:50:09 46f8f816bc3b: Download complete 23:50:09 df20fa9351a1: Verifying Checksum 23:50:09 df20fa9351a1: Download complete 23:50:09 93b9cdb0e59b: Verifying Checksum 23:50:09 93b9cdb0e59b: Download complete 23:50:09 5e14af77c1be: Download complete 23:50:09 93b61091891f: Download complete 23:50:09 01666e4c0597: Download complete 23:50:09 df20fa9351a1: Pull complete 23:50:10 36b3adc4ff6f: Pull complete 23:50:10 8ad3a11d3b57: Verifying Checksum 23:50:10 8ad3a11d3b57: Download complete 23:50:11 8ad3a11d3b57: Pull complete 23:50:11 46f8f816bc3b: Pull complete 23:50:11 93b61091891f: Pull complete 23:50:12 93b9cdb0e59b: Pull complete 23:50:12 5e14af77c1be: Pull complete 23:50:12 aa168da1d23b: Verifying Checksum 23:50:12 aa168da1d23b: Download complete 23:50:12 01666e4c0597: Pull complete 23:50:19 aa168da1d23b: Pull complete 23:50:19 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 23:50:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:50:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 23:50:19 prd-centos7-docker-4c-2g-5453 does not seem to be running inside a container 23:50:19 $ 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-539/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-539 -v /w/workspace/ndry_app-functions-sdk-go_PR-539:/w/workspace/ndry_app-functions-sdk-go_PR-539:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-539@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-539@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 23:50:27 $ docker top 7c4f54107d8ea65ee514c850511ef57a81bfcdd8045e5613c35edf7ee77b6141 -eo pid,comm [Pipeline] { [Pipeline] sh 23:50:27 + touch /tmp/pre-build-complete [Pipeline] sh 23:50:28 + mkdir -p /var/log/sa [Pipeline] sh 23:50:28 + ls /var/log/sa-host 23:50:28 + sadf -c /var/log/sa-host/sa05 23:50:28 file_magic: OK 23:50:28 HZ: Using current value: 100 23:50:28 file_header: OK 23:50:28 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:50:28 Statistics: 23:50:28 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:50:28 File successfully converted to sysstat format version 12.2.1 23:50:28 + sadf -c /var/log/sa-host/sa14 23:50:28 file_magic: OK 23:50:28 HZ: Using current value: 100 23:50:28 file_header: OK 23:50:28 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:50:28 Statistics: 23:50:28 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:50:28 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:50:29 provisioning config files... 23:50:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-539@tmp/config5656623784131377965tmp [Pipeline] { [Pipeline] echo 23:50:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:50:29 ---> create-netrc.sh [Pipeline] } 23:50:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 23:50:29 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 23:50:29 ---> python-tools-install.sh [Pipeline] echo 23:50:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:50:30 ---> sudo-logs.sh 23:50:30 Archiving 'sudo' log.. [Pipeline] echo 23:50:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:50:30 ---> job-cost.sh 23:50:30 lf-activate-venv: SKIPPING 23:50:30 INFO: No Stack... 23:50:31 INFO: Retrieving Pricing Info for: v1-standard-2 23:50:32 INFO: Archiving Costs [Pipeline] echo 23:50:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:50:32 ---> logs-deploy.sh 23:50:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-539/2 23:50:32 INFO: archiving workspace using pattern(s): 23:50:34 Archives upload complete. 23:50:34 INFO: archiving logs to Nexus 23:50:35 ---> uname -a: 23:50:35 Linux prd-centos7-docker-4c-2g-5453.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 23:50:35 23:50:35 23:50:35 ---> lscpu: 23:50:35 Architecture: x86_64 23:50:35 CPU op-mode(s): 32-bit, 64-bit 23:50:35 Byte Order: Little Endian 23:50:35 Address sizes: 40 bits physical, 48 bits virtual 23:50:35 CPU(s): 4 23:50:35 On-line CPU(s) list: 0-3 23:50:35 Thread(s) per core: 1 23:50:35 Core(s) per socket: 1 23:50:35 Socket(s): 4 23:50:35 NUMA node(s): 1 23:50:35 Vendor ID: GenuineIntel 23:50:35 CPU family: 6 23:50:35 Model: 44 23:50:35 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 23:50:35 Stepping: 1 23:50:35 CPU MHz: 2933.436 23:50:35 BogoMIPS: 5866.87 23:50:35 Virtualization: VT-x 23:50:35 Hypervisor vendor: KVM 23:50:35 Virtualization type: full 23:50:35 L1d cache: 128 KiB 23:50:35 L1i cache: 128 KiB 23:50:35 L2 cache: 16 MiB 23:50:35 L3 cache: 64 MiB 23:50:35 NUMA node0 CPU(s): 0-3 23:50:35 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 23:50:35 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 23:50:35 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 23:50:35 Vulnerability Meltdown: Mitigation; PTI 23:50:35 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 23:50:35 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 23:50:35 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 23:50:35 Vulnerability Tsx async abort: Not affected 23:50:35 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:50:35 23:50:35 23:50:35 ---> nproc: 23:50:35 4 23:50:35 23:50:35 23:50:35 ---> df -h: 23:50:35 Filesystem Size Used Available Use% Mounted on 23:50:35 overlay 50.0G 7.2G 42.8G 14% / 23:50:35 tmpfs 64.0M 0 64.0M 0% /dev 23:50:35 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 23:50:35 shm 64.0M 0 64.0M 0% /dev/shm 23:50:35 /dev/vda1 50.0G 7.2G 42.8G 14% /facter-os 23:50:35 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/resolv.conf 23:50:35 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hostname 23:50:35 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hosts 23:50:35 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/ndry_app-functions-sdk-go_PR-539@tmp 23:50:35 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/sa-host 23:50:35 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/secure 23:50:35 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/auth.log 23:50:35 /dev/vda1 50.0G 7.2G 42.8G 14% /run/cloud-init/result.json 23:50:35 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/ndry_app-functions-sdk-go_PR-539 23:50:35 23:50:35 23:50:35 ---> free -m: 23:50:35 total used free shared buff/cache available 23:50:35 Mem: 1837 648 116 0 1072 1086 23:50:35 Swap: 1023 1 1022 23:50:35 23:50:35 23:50:35 ---> ip addr: 23:50:35 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 23:50:35 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 23:50:35 inet 127.0.0.1/8 scope host lo 23:50:35 valid_lft forever preferred_lft forever 23:50:35 inet6 ::1/128 scope host 23:50:35 valid_lft forever preferred_lft forever 23:50:35 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 23:50:35 link/ether fa:16:3e:e9:72:f2 brd ff:ff:ff:ff:ff:ff 23:50:35 inet 10.30.123.58/23 brd 10.30.123.255 scope global dynamic eth0 23:50:35 valid_lft 86103sec preferred_lft 86103sec 23:50:35 inet6 fe80::f816:3eff:fee9:72f2/64 scope link 23:50:35 valid_lft forever preferred_lft forever 23:50:35 3: docker0: mtu 1500 qdisc noqueue state DOWN 23:50:35 link/ether 02:42:57:a3:51:2c brd ff:ff:ff:ff:ff:ff 23:50:35 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 23:50:35 valid_lft forever preferred_lft forever 23:50:35 inet6 fe80::42:57ff:fea3:512c/64 scope link 23:50:35 valid_lft forever preferred_lft forever 23:50:35 23:50:35 23:50:35 ---> sar -b -r -n DEV: 23:50:35 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 10/14/20 _x86_64_ (4 CPU) 23:50:35 23:50:35 23:45:23 LINUX RESTART (4 CPU) 23:50:35 23:50:35 23:46:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 23:50:35 23:47:01 60.24 14.86 45.37 0.00 5002.13 6532.34 0.00 23:50:35 23:48:01 1.72 0.00 1.72 0.00 0.00 35.52 0.00 23:50:35 23:49:01 0.67 0.00 0.67 0.00 0.00 7.48 0.00 23:50:35 23:50:01 0.42 0.00 0.42 0.00 0.00 5.76 0.00 23:50:35 Average: 15.76 3.72 12.05 0.00 1251.05 1645.95 0.00 23:50:35 23:50:35 23:46:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:50:35 23:47:01 223008 0 550184 29.24 2604 1105760 1090836 37.23 390516 1108652 120 23:50:35 23:48:01 224792 0 548384 29.15 2604 1105776 1085252 37.04 391328 1106416 8 23:50:35 23:49:01 225932 0 547240 29.08 2604 1105780 1081140 36.90 391160 1106032 8 23:50:35 23:50:01 225856 0 547312 29.09 2604 1105784 1064692 36.34 392724 1104544 20 23:50:35 Average: 224897 0 548280 29.14 2604 1105775 1080480 36.87 391432 1106411 39 23:50:35 23:50:35 23:46:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:50:35 23:47:01 eth0 398.64 350.70 1161.00 79.84 0.00 0.00 0.00 0.00 23:50:35 23:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:50:35 23:47:01 docker0 106.79 75.98 9.51 303.77 0.00 0.00 0.00 0.00 23:50:35 23:48:01 eth0 1.83 0.57 0.63 0.36 0.00 0.00 0.00 0.00 23:50:35 23:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:50:35 23:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:50:35 23:49:01 eth0 0.50 0.32 0.27 0.23 0.00 0.00 0.00 0.00 23:50:35 23:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:50:35 23:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:50:35 23:50:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 23:50:35 23:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:50:35 23:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:50:35 Average: eth0 100.30 87.95 290.60 20.12 0.00 0.00 0.00 0.00 23:50:35 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:50:35 Average: docker0 26.71 19.00 2.38 75.97 0.00 0.00 0.00 0.00 23:50:35 23:50:35 23:50:35 ---> sar -P ALL: 23:50:35 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 10/14/20 _x86_64_ (4 CPU) 23:50:35 23:50:35 23:45:23 LINUX RESTART (4 CPU) 23:50:35 23:50:35 23:46:01 CPU %user %nice %system %iowait %steal %idle 23:50:35 23:47:01 all 6.28 0.00 2.66 2.09 0.05 88.92 23:50:35 23:47:01 0 6.66 0.00 3.47 1.01 0.03 88.83 23:50:35 23:47:01 1 5.51 0.00 2.34 0.47 0.03 91.65 23:50:35 23:47:01 2 7.33 0.00 2.08 0.87 0.07 89.65 23:50:35 23:47:01 3 5.63 0.00 2.76 6.01 0.05 85.55 23:50:35 23:48:01 all 0.16 0.00 0.05 0.00 0.01 99.78 23:50:35 23:48:01 0 0.52 0.00 0.05 0.00 0.00 99.43 23:50:35 23:48:01 1 0.03 0.00 0.05 0.00 0.02 99.90 23:50:35 23:48:01 2 0.05 0.00 0.05 0.00 0.02 99.88 23:50:35 23:48:01 3 0.05 0.00 0.07 0.00 0.00 99.88 23:50:35 23:49:01 all 0.15 0.00 0.04 0.00 0.01 99.80 23:50:35 23:49:01 0 0.45 0.00 0.07 0.00 0.02 99.47 23:50:35 23:49:01 1 0.05 0.00 0.02 0.00 0.00 99.93 23:50:35 23:49:01 2 0.05 0.00 0.03 0.00 0.00 99.92 23:50:35 23:49:01 3 0.07 0.00 0.03 0.00 0.02 99.88 23:50:35 23:50:01 all 0.14 0.00 0.04 0.00 0.00 99.82 23:50:35 23:50:01 0 0.48 0.00 0.03 0.00 0.00 99.48 23:50:35 23:50:01 1 0.02 0.00 0.05 0.00 0.00 99.93 23:50:35 23:50:01 2 0.02 0.00 0.03 0.00 0.00 99.95 23:50:35 23:50:01 3 0.03 0.00 0.03 0.00 0.02 99.92 23:50:35 Average: all 1.67 0.00 0.69 0.52 0.02 97.10 23:50:35 Average: 0 2.01 0.00 0.90 0.25 0.01 96.82 23:50:35 Average: 1 1.39 0.00 0.61 0.12 0.01 97.87 23:50:35 Average: 2 1.85 0.00 0.55 0.22 0.02 97.37 23:50:35 Average: 3 1.43 0.00 0.72 1.49 0.02 96.34 23:50:35 23:50:35 23:50:35