Pull request #693 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 4ad07c4fdd2c1b66ba5073fd0a6351832faf5e2f+771896a60408ab9382bf668be7122de60d22a47a (c5272362f0f6ba285ddadda53f265a3c6cf82be3) 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 46d8313d362d7075c0f562900eedc504c24ea18a 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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-26335 in /w/workspace/ndry_app-functions-sdk-go_PR-693 [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-693 # 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/693/head:refs/remotes/origin/PR-693 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 771896a60408ab9382bf668be7122de60d22a47a into PR head commit 4ad07c4fdd2c1b66ba5073fd0a6351832faf5e2f Merge succeeded, producing 4ad07c4fdd2c1b66ba5073fd0a6351832faf5e2f Checking out Revision 4ad07c4fdd2c1b66ba5073fd0a6351832faf5e2f (PR-693) > git config core.sparsecheckout # timeout=10 > git checkout -f 4ad07c4fdd2c1b66ba5073fd0a6351832faf5e2f # 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 771896a60408ab9382bf668be7122de60d22a47a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4ad07c4fdd2c1b66ba5073fd0a6351832faf5e2f # timeout=10 Commit message: "refactor: Morew rework to streamline code." > git rev-list --no-walk cb3d0913a4a4a062c69b3bcb6a521933c1f41e28 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:06:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:06:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:06:37 ========================================================= 22:06:37 EdgeX Global Pipelines Version Info 22:06:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:06:39 ------------------- 22:06:39 stable info: 22:06:39 ------------------- 22:06:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:06:39 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 22:06:39 Message: update stable to v1.0.179 22:06:40 ------------------- 22:06:40 experimental info: 22:06:40 ------------------- 22:06:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:06:40 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 22:06:40 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:06:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 22:06:40 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 22:06:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:06:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:06:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:06:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 22:06:41 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 22:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 22:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:06:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:06:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 22:06:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:06:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:06:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:06:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:06:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:06:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:06:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 22:06:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:06:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:06:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 22:06:43 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 22:06:43 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 22:06:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-693 [Pipeline] echo 22:06:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-693 [Pipeline] echo 22:06:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-693 [Pipeline] echo 22:06:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4ad07c4fdd2c1b66ba5073fd0a6351832faf5e2f [Pipeline] echo 22:06:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4ad07c4 [Pipeline] echo 22:06:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:06:44 + git log --format=format:%s -1 4ad07c4fdd2c1b66ba5073fd0a6351832faf5e2f [Pipeline] echo 22:06:44 GIT_COMMIT: 4ad07c4fdd2c1b66ba5073fd0a6351832faf5e2f, Commit Message: refactor: Morew rework to streamline code. [Pipeline] echo 22:06:44 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:06:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:06:46 22:06:46 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:06:46 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:06:46 latest: Pulling from edgex-devops/git-semver 22:06:46 31603596830f: Pulling fs layer 22:06:46 2a8b12db71e7: Pulling fs layer 22:06:46 6ca5941a6612: Pulling fs layer 22:06:46 ecc8261a40a4: Pulling fs layer 22:06:46 ecc8261a40a4: Waiting 22:06:46 2a8b12db71e7: Verifying Checksum 22:06:46 2a8b12db71e7: Download complete 22:06:46 31603596830f: Verifying Checksum 22:06:46 31603596830f: Download complete 22:06:46 ecc8261a40a4: Verifying Checksum 22:06:46 ecc8261a40a4: Download complete 22:06:47 6ca5941a6612: Verifying Checksum 22:06:47 6ca5941a6612: Download complete 22:06:47 31603596830f: Pull complete 22:06:47 2a8b12db71e7: Pull complete 22:06:48 6ca5941a6612: Pull complete 22:06:48 ecc8261a40a4: Pull complete 22:06:48 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 22:06:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:06:48 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:06:48 prd-centos7-docker-4c-2g-26335 does not seem to be running inside a container 22:06:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-693 -v /w/workspace/ndry_app-functions-sdk-go_PR-693:/w/workspace/ndry_app-functions-sdk-go_PR-693:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-693@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-693@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 22:06:50 $ docker top 807b07651e7aa923fd21e75df7887165ede3e2e0d520604a7451237dee02c2fc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:06:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:06:51 [ssh-agent] Looking for ssh-agent implementation... 22:06:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:06:51 $ docker exec 807b07651e7aa923fd21e75df7887165ede3e2e0d520604a7451237dee02c2fc ssh-agent 22:06:51 SSH_AUTH_SOCK=/tmp/ssh-K8EFhFRyn9IG/agent.13 22:06:51 SSH_AGENT_PID=18 22:06:51 Running ssh-add (command line suppressed) 22:06:52 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-693@tmp/private_key_3409814786367399007.key (/w/workspace/ndry_app-functions-sdk-go_PR-693@tmp/private_key_3409814786367399007.key) 22:06:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:06:52 + git tag --points-at HEAD [Pipeline] } 22:06:52 $ docker exec --env ******** --env ******** 807b07651e7aa923fd21e75df7887165ede3e2e0d520604a7451237dee02c2fc ssh-agent -k 22:06:52 unset SSH_AUTH_SOCK; 22:06:52 unset SSH_AGENT_PID; 22:06:52 echo Agent pid 18 killed; 22:06:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:06:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:06:52 [ssh-agent] Looking for ssh-agent implementation... 22:06:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:06:52 $ docker exec 807b07651e7aa923fd21e75df7887165ede3e2e0d520604a7451237dee02c2fc ssh-agent 22:06:53 SSH_AUTH_SOCK=/tmp/ssh-GeIaKanvDIYY/agent.47 22:06:53 SSH_AGENT_PID=52 22:06:53 Running ssh-add (command line suppressed) 22:06:53 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-693@tmp/private_key_5096345222195605664.key (/w/workspace/ndry_app-functions-sdk-go_PR-693@tmp/private_key_5096345222195605664.key) 22:06:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:06:53 + git semver init 22:06:53 # -> Open(): unable to determine branch for HEAD 22:06:53 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-693/.git 22:06:53 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-693 22:06:53 # $SEMVER_REMOTE_NAME = origin 22:06:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:06:53 # $SEMVER_USER_NAME = edgex-jenkins 22:06:53 # $SEMVER_BRANCH = PR-693 22:06:53 # $SEMVER_TEMP = /tmp/semver-089510795 22:06:53 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 22:06:56 # '/tmp/semver-089510795' -> '/w/workspace/ndry_app-functions-sdk-go_PR-693/.semver' 22:06:56 # -> Force: false 22:06:56 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-693/.semver [Pipeline] } 22:06:56 $ docker exec --env ******** --env ******** 807b07651e7aa923fd21e75df7887165ede3e2e0d520604a7451237dee02c2fc ssh-agent -k 22:06:56 unset SSH_AUTH_SOCK; 22:06:56 unset SSH_AGENT_PID; 22:06:56 echo Agent pid 52 killed; 22:06:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:06:56 + git semver [Pipeline] } 22:06:56 $ docker stop --time=1 807b07651e7aa923fd21e75df7887165ede3e2e0d520604a7451237dee02c2fc 22:06:58 $ docker rm -f 807b07651e7aa923fd21e75df7887165ede3e2e0d520604a7451237dee02c2fc [Pipeline] // withDockerContainer [Pipeline] sh 22:06:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:06:59 Stashed 1 file(s) [Pipeline] echo 22:06:59 [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 22:07:14 Still waiting to schedule task 22:07:14 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-26335’ 22:07:14 Still waiting to schedule task 22:07:14 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 22:09:13 Running on prd-ubuntu18.04-docker-arm64-4c-16g-26336 in /w/workspace/ndry_app-functions-sdk-go_PR-693 [Pipeline] { [Pipeline] ws 22:09:13 Running in /w/workspace/app-functions-sdk-go/4 [Pipeline] { [Pipeline] checkout 22:09:19 using credential edgex-jenkins-ssh 22:09:19 Cloning the remote Git repository 22:09:19 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 22:09:19 > git init /w/workspace/app-functions-sdk-go/4 # timeout=10 22:09:19 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:09:19 > git --version # timeout=10 22:09:19 > git --version # 'git version 2.17.1' 22:09:19 using GIT_SSH to set credentials SSH Credentials for GitHub 22:09:19 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:09:22 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:09:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:09:22 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:09:22 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:09:22 using GIT_SSH to set credentials SSH Credentials for GitHub 22:09:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/693/head:refs/remotes/origin/PR-693 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:09:23 Merging remotes/origin/master commit 771896a60408ab9382bf668be7122de60d22a47a into PR head commit 4ad07c4fdd2c1b66ba5073fd0a6351832faf5e2f 22:09:23 Merge succeeded, producing 4ad07c4fdd2c1b66ba5073fd0a6351832faf5e2f 22:09:23 Checking out Revision 4ad07c4fdd2c1b66ba5073fd0a6351832faf5e2f (PR-693) 22:09:23 > git config core.sparsecheckout # timeout=10 22:09:23 > git checkout -f 4ad07c4fdd2c1b66ba5073fd0a6351832faf5e2f # timeout=10 22:09:23 > git remote # timeout=10 22:09:23 > git config --get remote.origin.url # timeout=10 22:09:23 using GIT_SSH to set credentials SSH Credentials for GitHub 22:09:23 > git merge 771896a60408ab9382bf668be7122de60d22a47a # timeout=10 22:09:23 > git rev-parse HEAD^{commit} # timeout=10 22:09:23 > git config core.sparsecheckout # timeout=10 22:09:23 > git checkout -f 4ad07c4fdd2c1b66ba5073fd0a6351832faf5e2f # timeout=10 22:09:28 Commit message: "refactor: Morew rework to streamline code." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:09:29 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 22:09:30 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:09:30 + true 22:09:30 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 22:09:33 ========================================================= 22:09:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 22:09:33 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:09:34 + 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 . 22:09:35 Sending build context to Docker daemon 19.21MB 22:09:35 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 22:09:35 Step 2/8 : FROM ${BASE} 22:09:35 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:09:35 5f621e34cdf4: Pulling fs layer 22:09:35 a4357932f1b6: Pulling fs layer 22:09:35 18c013af1878: Pulling fs layer 22:09:35 00ac8860ef70: Pulling fs layer 22:09:35 63d7cb157983: Pulling fs layer 22:09:35 b116817d02f9: Pulling fs layer 22:09:35 745a02a5169b: Pulling fs layer 22:09:35 00ac8860ef70: Waiting 22:09:35 63d7cb157983: Waiting 22:09:35 745a02a5169b: Waiting 22:09:35 18c013af1878: Verifying Checksum 22:09:35 18c013af1878: Download complete 22:09:35 a4357932f1b6: Verifying Checksum 22:09:35 a4357932f1b6: Download complete 22:09:35 63d7cb157983: Download complete 22:09:35 b116817d02f9: Verifying Checksum 22:09:35 b116817d02f9: Download complete 22:09:36 Running on prd-centos7-docker-4c-2g-26337 in /w/workspace/ndry_app-functions-sdk-go_PR-693 [Pipeline] { [Pipeline] ws 22:09:36 Running in /w/workspace/app-functions-sdk-go/4 [Pipeline] { [Pipeline] checkout 22:09:36 5f621e34cdf4: Verifying Checksum 22:09:36 5f621e34cdf4: Download complete 22:09:37 5f621e34cdf4: Pull complete 22:09:38 a4357932f1b6: Pull complete 22:09:38 18c013af1878: Pull complete 22:09:38 using credential edgex-jenkins-ssh 22:09:38 Cloning the remote Git repository 22:09:38 745a02a5169b: Verifying Checksum 22:09:38 745a02a5169b: Download complete 22:09:38 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 22:09:38 > git init /w/workspace/app-functions-sdk-go/4 # timeout=10 22:09:38 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:09:38 > git --version # timeout=10 22:09:38 > git --version # 'git version 2.24.3' 22:09:38 using GIT_SSH to set credentials SSH Credentials for GitHub 22:09:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:09:40 00ac8860ef70: Verifying Checksum 22:09:40 00ac8860ef70: Download complete 22:09:41 Merging remotes/origin/master commit 771896a60408ab9382bf668be7122de60d22a47a into PR head commit 4ad07c4fdd2c1b66ba5073fd0a6351832faf5e2f 22:09:41 Merge succeeded, producing 4ad07c4fdd2c1b66ba5073fd0a6351832faf5e2f 22:09:41 Checking out Revision 4ad07c4fdd2c1b66ba5073fd0a6351832faf5e2f (PR-693) 22:09:41 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:09:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:09:41 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:09:41 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:09:41 using GIT_SSH to set credentials SSH Credentials for GitHub 22:09:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/693/head:refs/remotes/origin/PR-693 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:09:41 > git config core.sparsecheckout # timeout=10 22:09:41 > git checkout -f 4ad07c4fdd2c1b66ba5073fd0a6351832faf5e2f # timeout=10 22:09:41 > git remote # timeout=10 22:09:41 > git config --get remote.origin.url # timeout=10 22:09:41 using GIT_SSH to set credentials SSH Credentials for GitHub 22:09:41 > git merge 771896a60408ab9382bf668be7122de60d22a47a # timeout=10 22:09:41 > git rev-parse HEAD^{commit} # timeout=10 22:09:41 > git config core.sparsecheckout # timeout=10 22:09:41 > git checkout -f 4ad07c4fdd2c1b66ba5073fd0a6351832faf5e2f # timeout=10 22:09:45 Commit message: "refactor: Morew rework to streamline code." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:09:46 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 22:09:47 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:09:47 + sudo service docker restart 22:09:47 + true 22:09:47 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 22:09:48 ========================================================= 22:09:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 22:09:48 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:09:48 + 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 . 22:09:49 Sending build context to Docker daemon 19.21MB 22:09:49 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 22:09:49 Step 2/8 : FROM ${BASE} 22:09:49 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 22:09:49 188c0c94c7c5: Pulling fs layer 22:09:49 0ef7d3d256c8: Pulling fs layer 22:09:49 de9db76c5a1d: Pulling fs layer 22:09:49 bca2f99d35d6: Pulling fs layer 22:09:49 93359f2a8cfa: Pulling fs layer 22:09:49 7c6f9722023f: Pulling fs layer 22:09:49 a35cf1a2eb13: Pulling fs layer 22:09:49 a35cf1a2eb13: Waiting 22:09:49 7c6f9722023f: Waiting 22:09:49 93359f2a8cfa: Waiting 22:09:49 bca2f99d35d6: Waiting 22:09:49 de9db76c5a1d: Verifying Checksum 22:09:49 de9db76c5a1d: Download complete 22:09:49 0ef7d3d256c8: Verifying Checksum 22:09:49 0ef7d3d256c8: Download complete 22:09:49 93359f2a8cfa: Verifying Checksum 22:09:49 93359f2a8cfa: Download complete 22:09:49 188c0c94c7c5: Verifying Checksum 22:09:49 188c0c94c7c5: Download complete 22:09:49 7c6f9722023f: Verifying Checksum 22:09:49 7c6f9722023f: Download complete 22:09:49 188c0c94c7c5: Pull complete 22:09:50 0ef7d3d256c8: Pull complete 22:09:50 de9db76c5a1d: Pull complete 22:09:50 00ac8860ef70: Pull complete 22:09:50 63d7cb157983: Pull complete 22:09:50 b116817d02f9: Pull complete 22:09:51 a35cf1a2eb13: Verifying Checksum 22:09:51 a35cf1a2eb13: Download complete 22:09:51 bca2f99d35d6: Verifying Checksum 22:09:51 bca2f99d35d6: Download complete 22:09:55 745a02a5169b: Pull complete 22:09:55 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 22:09:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 22:09:55 ---> b7e6874047d6 22:09:55 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 22:09:55 20.10.0: Pulling from library/docker 22:09:55 a3cc7d3b244e: Pulling fs layer 22:09:55 02a3295e0d61: Pulling fs layer 22:09:55 0f4f2e6d8100: Pulling fs layer 22:09:55 330b718f631f: Pulling fs layer 22:09:55 a93816041522: Pulling fs layer 22:09:55 bdb6da89ff94: Pulling fs layer 22:09:55 2a70c0c122f4: Pulling fs layer 22:09:55 a93816041522: Waiting 22:09:55 bdb6da89ff94: Waiting 22:09:55 2a70c0c122f4: Waiting 22:09:55 330b718f631f: Waiting 22:09:55 0f4f2e6d8100: Verifying Checksum 22:09:55 0f4f2e6d8100: Download complete 22:09:55 02a3295e0d61: Verifying Checksum 22:09:55 02a3295e0d61: Download complete 22:09:55 a3cc7d3b244e: Verifying Checksum 22:09:55 a3cc7d3b244e: Download complete 22:09:55 a93816041522: Verifying Checksum 22:09:55 a93816041522: Download complete 22:09:55 bdb6da89ff94: Verifying Checksum 22:09:55 bdb6da89ff94: Download complete 22:09:55 2a70c0c122f4: Verifying Checksum 22:09:55 a3cc7d3b244e: Pull complete 22:09:56 02a3295e0d61: Pull complete 22:09:56 0f4f2e6d8100: Pull complete 22:09:56 330b718f631f: Verifying Checksum 22:09:56 330b718f631f: Download complete 22:09:57 bca2f99d35d6: Pull complete 22:09:57 93359f2a8cfa: Pull complete 22:09:57 7c6f9722023f: Pull complete 22:10:01 330b718f631f: Pull complete 22:10:01 a93816041522: Pull complete 22:10:01 bdb6da89ff94: Pull complete 22:10:01 2a70c0c122f4: Pull complete 22:10:01 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 22:10:01 Status: Downloaded newer image for docker:20.10.0 22:10:03 a35cf1a2eb13: Pull complete 22:10:03 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 22:10:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 22:10:03 ---> a62c8e92a672 22:10:03 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 22:10:03 20.10.0: Pulling from library/docker 22:10:03 05e7bc50f07f: Pulling fs layer 22:10:03 6db28d0fdbf6: Pulling fs layer 22:10:03 292df0bc6bf3: Pulling fs layer 22:10:03 2e060f4bd70b: Pulling fs layer 22:10:03 80e8d568a223: Pulling fs layer 22:10:03 8dc6ef1a942a: Pulling fs layer 22:10:03 2312dd95470a: Pulling fs layer 22:10:03 80e8d568a223: Waiting 22:10:03 8dc6ef1a942a: Waiting 22:10:03 2312dd95470a: Waiting 22:10:03 2e060f4bd70b: Waiting 22:10:03 292df0bc6bf3: Verifying Checksum 22:10:03 292df0bc6bf3: Download complete 22:10:03 6db28d0fdbf6: Verifying Checksum 22:10:03 6db28d0fdbf6: Download complete 22:10:03 80e8d568a223: Verifying Checksum 22:10:03 80e8d568a223: Download complete 22:10:03 05e7bc50f07f: Verifying Checksum 22:10:03 8dc6ef1a942a: Verifying Checksum 22:10:03 8dc6ef1a942a: Download complete 22:10:03 2312dd95470a: Verifying Checksum 22:10:03 2312dd95470a: Download complete 22:10:03 05e7bc50f07f: Pull complete 22:10:04 6db28d0fdbf6: Pull complete 22:10:04 292df0bc6bf3: Pull complete 22:10:04 2e060f4bd70b: Download complete 22:10:07 2e060f4bd70b: Pull complete 22:10:07 80e8d568a223: Pull complete 22:10:07 8dc6ef1a942a: Pull complete 22:10:07 2312dd95470a: Pull complete 22:10:07 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 22:10:07 Status: Downloaded newer image for docker:20.10.0 22:10:08 ---> 121af3e81231 22:10:08 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:10:08 ---> Running in ef69bb9efec4 22:10:08 Removing intermediate container ef69bb9efec4 22:10:08 ---> 3a07e94a3537 22:10:08 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 22:10:08 ---> Running in 72fef2f75e48 22:10:09 ---> 2c85f84fa3be 22:10:09 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:10:09 ---> Running in dda9222fa25b 22:10:09 Removing intermediate container dda9222fa25b 22:10:09 ---> cd1b26412ca3 22:10:09 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 22:10:09 ---> Running in 74474b790bea 22:10:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:10:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:10:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:10:10 (1/5) Installing libsodium (1.0.18-r0) 22:10:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:10:11 (2/5) Installing libzmq (4.3.3-r0) 22:10:11 (3/5) Installing pkgconf (1.7.2-r0) 22:10:11 (4/5) Installing libsodium-dev (1.0.18-r0) 22:10:11 (5/5) Installing zeromq-dev (4.3.3-r0) 22:10:11 Executing busybox-1.31.1-r19.trigger 22:10:11 OK: 144 MiB in 44 packages 22:10:11 (1/5) Installing libsodium (1.0.18-r0) 22:10:11 (2/5) Installing libzmq (4.3.3-r0) 22:10:11 (3/5) Installing pkgconf (1.7.2-r0) 22:10:11 (4/5) Installing libsodium-dev (1.0.18-r0) 22:10:12 (5/5) Installing zeromq-dev (4.3.3-r0) 22:10:12 Executing busybox-1.31.1-r19.trigger 22:10:12 OK: 167 MiB in 44 packages 22:10:12 Removing intermediate container 72fef2f75e48 22:10:12 ---> 83bc51483757 22:10:12 Step 6/8 : WORKDIR /build 22:10:12 ---> Running in 193746353cd0 22:10:13 Removing intermediate container 74474b790bea 22:10:13 ---> cb4e20fd6833 22:10:13 Step 6/8 : WORKDIR /build 22:10:13 ---> Running in 3a3ca855455b 22:10:13 Removing intermediate container 3a3ca855455b 22:10:13 ---> 2c2640eb0fda 22:10:13 Step 7/8 : COPY go.mod . 22:10:13 ---> 7ec7a894e3ca 22:10:13 Step 8/8 : RUN go mod download 22:10:13 ---> Running in fa86c8f4e7c9 22:10:13 Removing intermediate container 193746353cd0 22:10:13 ---> 36be35857bdd 22:10:13 Step 7/8 : COPY go.mod . 22:10:14 ---> 95ccb45dbda6 22:10:14 Step 8/8 : RUN go mod download 22:10:14 ---> Running in 1ed4710a4865 22:10:40 Removing intermediate container fa86c8f4e7c9 22:10:40 ---> b137f7fd7aa3 22:10:40 Successfully built b137f7fd7aa3 22:10:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:10:40 + docker inspect -f . ci-base-image-x86_64 22:10:40 . [Pipeline] withDockerContainer 22:10:40 prd-centos7-docker-4c-2g-26337 does not seem to be running inside a container 22:10:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:10:41 Removing intermediate container 1ed4710a4865 22:10:41 ---> e4061b521e62 22:10:41 Successfully built e4061b521e62 22:10:41 Successfully tagged ci-base-image-arm64:latest 22:10:41 $ docker top d49459497739eea6be29ba4016a8c0068e29d72530f77cb54b1359bf40261778 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 22:10:42 + go version 22:10:42 go version go1.15.5 linux/amd64 [Pipeline] } 22:10:42 $ docker stop --time=1 d49459497739eea6be29ba4016a8c0068e29d72530f77cb54b1359bf40261778 22:10:42 + docker inspect -f . ci-base-image-arm64 22:10:42 . 22:10:43 $ docker rm -f d49459497739eea6be29ba4016a8c0068e29d72530f77cb54b1359bf40261778 [Pipeline] // withDockerContainer [Pipeline] withDockerContainer 22:10:43 prd-ubuntu18.04-docker-arm64-4c-16g-26336 does not seem to be running inside a container 22:10:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:10:45 $ docker top 16b1a3f46d304237704c29a839039646ad9f2c084b2f1039838fa66f467e7831 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:10:46 + go version 22:10:46 go version go1.15.5 linux/arm64 [Pipeline] } 22:10:46 + docker inspect -f . ci-base-image-x86_64 22:10:46 . 22:10:46 $ docker stop --time=1 16b1a3f46d304237704c29a839039646ad9f2c084b2f1039838fa66f467e7831 22:10:48 $ docker rm -f 16b1a3f46d304237704c29a839039646ad9f2c084b2f1039838fa66f467e7831 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withDockerContainer 22:10:48 prd-centos7-docker-4c-2g-26337 does not seem to be running inside a container 22:10:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:10:49 $ docker top 1208adce7868d2abc8788d4ca93b0de7fbf65502b3380939813cf16d76c99680 -eo pid,comm [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:10:50 + make test 22:10:50 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:10:50 + docker inspect -f . ci-base-image-arm64 22:10:50 . [Pipeline] withDockerContainer 22:10:50 prd-ubuntu18.04-docker-arm64-4c-16g-26336 does not seem to be running inside a container 22:10:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:10:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] 22:10:52 $ docker top c726070102c927676d129fe17832e35322df2f3ec41f9b6c2cd24aabf020a88a -eo pid,comm [Pipeline] { [Pipeline] sh 22:10:53 + make test 22:10:53 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:10:54 ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] 22:10:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.039s coverage: 82.6% of statements 22:11:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.025s coverage: 50.1% of statements 22:11:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 22:11:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 22:11:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.027s coverage: 61.5% of statements 22:11:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 22:11:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.048s coverage: 74.3% of statements 22:11:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 22:11:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 22:11:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 22:11:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 22:11:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 22:11:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 22:11:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.016s coverage: 97.0% of statements 22:11:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 22:11:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.012s coverage: 8.8% of statements 22:11:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.099s coverage: 82.6% of statements 22:11:23 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 13.847s coverage: 77.5% of statements 22:11:23 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 22:11:23 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.032s coverage: 87.9% of statements 22:11:23 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.014s coverage: 80.5% of statements 22:11:23 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.011s coverage: 71.7% of statements 22:11:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.052s coverage: 82.9% of statements 22:11:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.020s coverage: 94.4% of statements 22:11:35 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:11:38 gofmt -l . 22:11:39 [ "`gofmt -l .`" = "" ] 22:11:39 ./bin/test-go-mod-tidy.sh [Pipeline] } 22:11:39 $ docker stop --time=1 1208adce7868d2abc8788d4ca93b0de7fbf65502b3380939813cf16d76c99680 22:11:41 $ docker rm -f 1208adce7868d2abc8788d4ca93b0de7fbf65502b3380939813cf16d76c99680 [Pipeline] // withDockerContainer [Pipeline] sh 22:11:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:11:42 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] } 22:11:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.072s coverage: 50.1% of statements 22:11:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 22:11:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 22:11:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.083s coverage: 61.5% of statements 22:11:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 22:11:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.067s coverage: 74.3% of statements 22:11:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 22:11:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 22:11:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 22:11:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 22:11:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 22:11:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 22:11:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.010s coverage: 97.0% of statements 22:11:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 22:11:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.030s coverage: 8.8% of statements [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:11:56 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 13.881s coverage: 77.5% of statements 22:11:56 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 22:11:56 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.049s coverage: 87.9% of statements 22:11:56 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.043s coverage: 80.5% of statements 22:11:56 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.035s coverage: 71.7% of statements 22:12:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.079s coverage: 82.9% of statements 22:12:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.023s coverage: 94.4% of statements 22:12:11 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:12:19 gofmt -l . 22:12:20 [ "`gofmt -l .`" = "" ] 22:12:20 ./bin/test-go-mod-tidy.sh [Pipeline] } 22:12:21 $ docker stop --time=1 c726070102c927676d129fe17832e35322df2f3ec41f9b6c2cd24aabf020a88a 22:12:23 $ docker rm -f c726070102c927676d129fe17832e35322df2f3ec41f9b6c2cd24aabf020a88a [Pipeline] // withDockerContainer [Pipeline] sh 22:12:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:12:24 Warning: overwriting stash ‘coverage-report’ 22:12:25 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 22:12:27 provisioning config files... 22:12:27 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-693@tmp/config2354704407487681793tmp [Pipeline] { [Pipeline] sh 22:12:27 + set +x 22:12:27 + curl -s https://codecov.io/bash 22:12:27 + bash -s -- 22:12:27 22:12:27 _____ _ 22:12:27 / ____| | | 22:12:27 | | ___ __| | ___ ___ _____ __ 22:12:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:12:27 | |___| (_) | (_| | __/ (_| (_) \ V / 22:12:27 \_____\___/ \__,_|\___|\___\___/ \_/ 22:12:27 Bash-20210129-7c25fce 22:12:27 22:12:27 22:12:27 ==> git version 2.24.3 found 22:12:27 ==> 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 22:12:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 22:12:27 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 22:12:27 ==> Jenkins CI detected. 22:12:27 project root: . 22:12:27 --> token set from env 22:12:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:12:27 ==> Running gcov in . (disable via -X gcov) 22:12:27 ==> Python coveragepy not found 22:12:27 ==> Searching for coverage reports in: 22:12:27 + . 22:12:27 -> Found 1 reports 22:12:27 ==> Detecting git/mercurial file structure 22:12:27 ==> Reading reports 22:12:27 + ./coverage.out bytes=80965 22:12:27 ==> Appending adjustments 22:12:27 https://docs.codecov.io/docs/fixing-reports 22:12:28 + Found adjustments 22:12:28 ==> Gzipping contents 22:12:28 16K /tmp/codecov.nMk2io.gz 22:12:28 ==> Uploading reports 22:12:28 url: https://codecov.io 22:12:28 query: branch=PR-693&commit=4ad07c4fdd2c1b66ba5073fd0a6351832faf5e2f&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-693%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=693&job=&cmd_args= 22:12:28 -> Pinging Codecov 22:12:28 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-693&commit=4ad07c4fdd2c1b66ba5073fd0a6351832faf5e2f&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-693%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=693&job=&cmd_args= 22:12:28 -> Uploading to 22:12:28 https://storage.googleapis.com/codecov/v4/raw/2021-02-12/3D8B5DFFC46A037C893635FACE044666/4ad07c4fdd2c1b66ba5073fd0a6351832faf5e2f/3009c37f-dd49-47f0-8488-6acbbb152638.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210212%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210212T221228Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3b98c7cccd0e30736c01c35fc3278d5b361a95c92fd7246bd4bf8067dcdba367 22:12:28 % Total % Received % Xferd Average Speed Time Time Time Current 22:12:28 Dload Upload Total Spent Left Speed 22:12:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13748 0 0 100 13748 0 30760 --:--:-- --:--:-- --:--:-- 30756 22:12:29 -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/4ad07c4fdd2c1b66ba5073fd0a6351832faf5e2f [Pipeline] } 22:12:29 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 22:12:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:12:32 ---> package-listing.sh 22:12:32 ++ facter osfamily 22:12:32 ++ tr '[:upper:]' '[:lower:]' 22:12:32 + OS_FAMILY=redhat 22:12:32 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-693 22:12:32 + START_PACKAGES=/tmp/packages_start.txt 22:12:32 + END_PACKAGES=/tmp/packages_end.txt 22:12:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:12:32 + PACKAGES=/tmp/packages_start.txt 22:12:32 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-693 ']' 22:12:32 + PACKAGES=/tmp/packages_end.txt 22:12:32 + case "${OS_FAMILY}" in 22:12:32 + rpm -qa 22:12:32 + sort 22:12:37 + '[' -f /tmp/packages_start.txt ']' 22:12:37 + '[' -f /tmp/packages_end.txt ']' 22:12:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:12:37 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-693 ']' 22:12:37 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-693/archives/ 22:12:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-693/archives/ [Pipeline] echo 22:12:37 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-693/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:12:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:12:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:12:37 22:12:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:12:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:12:38 alpine: Pulling from edgex-lftools-log-publisher 22:12:38 df20fa9351a1: Pulling fs layer 22:12:38 36b3adc4ff6f: Pulling fs layer 22:12:38 8ad3a11d3b57: Pulling fs layer 22:12:38 46f8f816bc3b: Pulling fs layer 22:12:38 93b61091891f: Pulling fs layer 22:12:38 93b9cdb0e59b: Pulling fs layer 22:12:38 5e14af77c1be: Pulling fs layer 22:12:38 01666e4c0597: Pulling fs layer 22:12:38 aa168da1d23b: Pulling fs layer 22:12:38 46f8f816bc3b: Waiting 22:12:38 93b61091891f: Waiting 22:12:38 93b9cdb0e59b: Waiting 22:12:38 5e14af77c1be: Waiting 22:12:38 01666e4c0597: Waiting 22:12:38 aa168da1d23b: Waiting 22:12:38 36b3adc4ff6f: Download complete 22:12:38 46f8f816bc3b: Verifying Checksum 22:12:38 46f8f816bc3b: Download complete 22:12:38 df20fa9351a1: Verifying Checksum 22:12:38 df20fa9351a1: Download complete 22:12:38 93b9cdb0e59b: Verifying Checksum 22:12:38 93b9cdb0e59b: Download complete 22:12:38 93b61091891f: Verifying Checksum 22:12:38 93b61091891f: Download complete 22:12:38 5e14af77c1be: Download complete 22:12:38 01666e4c0597: Verifying Checksum 22:12:38 01666e4c0597: Download complete 22:12:38 df20fa9351a1: Pull complete 22:12:39 36b3adc4ff6f: Pull complete 22:12:39 8ad3a11d3b57: Verifying Checksum 22:12:39 8ad3a11d3b57: Download complete 22:12:40 8ad3a11d3b57: Pull complete 22:12:40 46f8f816bc3b: Pull complete 22:12:41 aa168da1d23b: Verifying Checksum 22:12:41 aa168da1d23b: Download complete 22:12:41 93b61091891f: Pull complete 22:12:41 93b9cdb0e59b: Pull complete 22:12:41 5e14af77c1be: Pull complete 22:12:41 01666e4c0597: Pull complete 22:12:48 aa168da1d23b: Pull complete 22:12:48 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 22:12:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:12:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:12:48 prd-centos7-docker-4c-2g-26335 does not seem to be running inside a container 22:12:48 $ 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-693/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-693 -v /w/workspace/ndry_app-functions-sdk-go_PR-693:/w/workspace/ndry_app-functions-sdk-go_PR-693:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-693@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-693@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 22:12:52 $ docker top 88fca04bf5fbe67bed865e960cee1b940706f98c298a2f32595dd33d4a51c90e -eo pid,comm [Pipeline] { [Pipeline] sh 22:12:53 + touch /tmp/pre-build-complete [Pipeline] sh 22:12:53 + mkdir -p /var/log/sa [Pipeline] sh 22:12:53 + ls /var/log/sa-host 22:12:53 + sadf -c /var/log/sa-host/sa12 22:12:53 file_magic: OK 22:12:53 HZ: Using current value: 100 22:12:53 file_header: OK 22:12:53 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 22:12:53 Statistics: 22:12:53 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:12:53 File successfully converted to sysstat format version 12.2.1 22:12:53 + sadf -c /var/log/sa-host/sa23 22:12:53 file_magic: OK 22:12:53 HZ: Using current value: 100 22:12:53 file_header: OK 22:12:53 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 22:12:53 Statistics: 22:12:53 Hnuu...uuuununununu... 22:12:53 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:12:54 provisioning config files... 22:12:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-693@tmp/config2738935782476798115tmp [Pipeline] { [Pipeline] echo 22:12:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:12:54 ---> create-netrc.sh [Pipeline] } 22:12:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 22:12:54 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 22:12:55 ---> python-tools-install.sh [Pipeline] echo 22:12:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:12:55 ---> sudo-logs.sh 22:12:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:12:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:12:55 ---> job-cost.sh 22:12:55 lf-activate-venv: SKIPPING 22:12:55 INFO: No Stack... 22:12:56 INFO: Retrieving Pricing Info for: v1-standard-2 22:12:57 INFO: Archiving Costs [Pipeline] echo 22:12:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:12:57 ---> logs-deploy.sh 22:12:57 lf-activate-venv: SKIPPING 22:12:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-693/4 22:12:57 INFO: archiving workspace using pattern(s): 22:12:59 Archives upload complete. 22:12:59 INFO: archiving logs to Nexus 22:13:00 ---> uname -a: 22:13:00 Linux prd-centos7-docker-4c-2g-26335.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 22:13:00 22:13:00 22:13:00 ---> lscpu: 22:13:00 Architecture: x86_64 22:13:00 CPU op-mode(s): 32-bit, 64-bit 22:13:00 Byte Order: Little Endian 22:13:00 Address sizes: 40 bits physical, 48 bits virtual 22:13:00 CPU(s): 4 22:13:00 On-line CPU(s) list: 0-3 22:13:00 Thread(s) per core: 1 22:13:00 Core(s) per socket: 1 22:13:00 Socket(s): 4 22:13:00 NUMA node(s): 1 22:13:00 Vendor ID: GenuineIntel 22:13:00 CPU family: 6 22:13:00 Model: 44 22:13:00 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 22:13:00 Stepping: 1 22:13:00 CPU MHz: 2933.438 22:13:00 BogoMIPS: 5866.87 22:13:00 Virtualization: VT-x 22:13:00 Hypervisor vendor: KVM 22:13:00 Virtualization type: full 22:13:00 L1d cache: 128 KiB 22:13:00 L1i cache: 128 KiB 22:13:00 L2 cache: 16 MiB 22:13:00 L3 cache: 64 MiB 22:13:00 NUMA node0 CPU(s): 0-3 22:13:00 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 22:13:00 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 22:13:00 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 22:13:00 Vulnerability Meltdown: Mitigation; PTI 22:13:00 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 22:13:00 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 22:13:00 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 22:13:00 Vulnerability Srbds: Not affected 22:13:00 Vulnerability Tsx async abort: Not affected 22:13:00 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 22:13:00 22:13:00 22:13:00 ---> nproc: 22:13:00 4 22:13:00 22:13:00 22:13:00 ---> df -h: 22:13:00 Filesystem Size Used Available Use% Mounted on 22:13:00 overlay 50.0G 7.3G 42.7G 15% / 22:13:00 tmpfs 64.0M 0 64.0M 0% /dev 22:13:00 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 22:13:00 shm 64.0M 0 64.0M 0% /dev/shm 22:13:00 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 22:13:00 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 22:13:00 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 22:13:00 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 22:13:00 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 22:13:00 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 22:13:00 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 22:13:00 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 22:13:00 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-693 22:13:00 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-693@tmp 22:13:00 22:13:00 22:13:00 ---> free -m: 22:13:00 total used free shared buff/cache available 22:13:00 Mem: 1837 705 76 0 1055 1027 22:13:00 Swap: 1023 0 1023 22:13:00 22:13:00 22:13:00 ---> ip addr: 22:13:00 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 22:13:00 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 22:13:00 inet 127.0.0.1/8 scope host lo 22:13:00 valid_lft forever preferred_lft forever 22:13:00 inet6 ::1/128 scope host 22:13:00 valid_lft forever preferred_lft forever 22:13:00 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 22:13:00 link/ether fa:16:3e:1e:ad:87 brd ff:ff:ff:ff:ff:ff 22:13:00 inet 10.30.123.18/23 brd 10.30.123.255 scope global dynamic eth0 22:13:00 valid_lft 85984sec preferred_lft 85984sec 22:13:00 inet6 fe80::f816:3eff:fe1e:ad87/64 scope link 22:13:00 valid_lft forever preferred_lft forever 22:13:00 3: docker0: mtu 1500 qdisc noqueue state DOWN 22:13:00 link/ether 02:42:42:ad:6c:0f brd ff:ff:ff:ff:ff:ff 22:13:00 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 22:13:00 valid_lft forever preferred_lft forever 22:13:00 inet6 fe80::42:42ff:fead:6c0f/64 scope link 22:13:00 valid_lft forever preferred_lft forever 22:13:00 22:13:00 22:13:00 ---> sar -b -r -n DEV: 22:13:00 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/12/21 _x86_64_ (4 CPU) 22:13:00 22:13:00 22:05:52 LINUX RESTART (4 CPU) 22:13:00 22:13:00 22:07:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 22:13:00 22:08:01 2.58 0.00 2.58 0.00 0.00 59.95 0.00 22:13:00 22:09:01 0.80 0.00 0.80 0.00 0.00 11.46 0.00 22:13:00 22:10:01 0.32 0.00 0.32 0.00 0.00 4.13 0.00 22:13:00 22:11:01 0.20 0.00 0.20 0.00 0.00 1.97 0.00 22:13:00 22:12:01 0.32 0.00 0.32 0.00 0.00 4.41 0.00 22:13:00 Average: 0.84 0.00 0.84 0.00 0.00 16.39 0.00 22:13:00 22:13:00 22:07:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 22:13:00 22:08:01 235032 0 571616 30.38 2620 1072276 1063936 36.31 384212 1064468 20 22:13:00 22:09:01 233056 0 573584 30.48 2620 1072284 1062024 36.25 400980 1050180 8 22:13:00 22:10:01 232904 0 573732 30.49 2620 1072288 1062060 36.25 401084 1050180 8 22:13:00 22:11:01 232840 0 573796 30.50 2620 1072288 1061880 36.24 409988 1041436 8 22:13:00 22:12:01 232460 0 574168 30.52 2620 1072296 1061940 36.24 410848 1040900 8 22:13:00 Average: 233258 0 573379 30.47 2620 1072286 1062368 36.26 401422 1049433 10 22:13:00 22:13:00 22:07:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 22:13:00 22:08:01 eth0 0.32 0.10 0.02 0.01 0.00 0.00 0.00 0.00 22:13:00 22:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:13:00 22:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:13:00 22:09:01 eth0 3.56 1.48 3.03 0.10 0.00 0.00 0.00 0.00 22:13:00 22:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:13:00 22:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:13:00 22:10:01 eth0 1.30 0.60 0.58 0.40 0.00 0.00 0.00 0.00 22:13:00 22:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:13:00 22:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:13:00 22:11:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 22:13:00 22:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:13:00 22:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:13:00 22:12:01 eth0 0.18 0.15 0.08 0.07 0.00 0.00 0.00 0.00 22:13:00 22:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:13:00 22:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:13:00 Average: eth0 1.09 0.48 0.74 0.12 0.00 0.00 0.00 0.00 22:13:00 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:13:00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:13:00 22:13:00 22:13:00 ---> sar -P ALL: 22:13:00 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/12/21 _x86_64_ (4 CPU) 22:13:00 22:13:00 22:05:52 LINUX RESTART (4 CPU) 22:13:00 22:13:00 22:07:01 CPU %user %nice %system %iowait %steal %idle 22:13:00 22:08:01 all 0.16 0.00 0.06 0.00 0.00 99.78 22:13:00 22:08:01 0 0.03 0.00 0.08 0.00 0.00 99.88 22:13:00 22:08:01 1 0.47 0.00 0.05 0.00 0.00 99.48 22:13:00 22:08:01 2 0.08 0.00 0.07 0.00 0.00 99.85 22:13:00 22:08:01 3 0.07 0.00 0.03 0.00 0.00 99.90 22:13:00 22:09:01 all 0.17 0.00 0.06 0.00 0.00 99.76 22:13:00 22:09:01 0 0.07 0.00 0.07 0.00 0.00 99.87 22:13:00 22:09:01 1 0.57 0.00 0.03 0.00 0.02 99.38 22:13:00 22:09:01 2 0.03 0.00 0.07 0.00 0.00 99.90 22:13:00 22:09:01 3 0.03 0.00 0.07 0.00 0.00 99.90 22:13:00 22:10:01 all 0.16 0.00 0.03 0.00 0.00 99.80 22:13:00 22:10:01 0 0.03 0.00 0.03 0.00 0.00 99.93 22:13:00 22:10:01 1 0.53 0.00 0.03 0.00 0.00 99.43 22:13:00 22:10:01 2 0.05 0.00 0.03 0.00 0.00 99.92 22:13:00 22:10:01 3 0.03 0.00 0.03 0.00 0.00 99.93 22:13:00 22:11:01 all 0.11 0.00 0.08 0.00 0.00 99.81 22:13:00 22:11:01 0 0.02 0.00 0.05 0.00 0.00 99.93 22:13:00 22:11:01 1 0.40 0.00 0.13 0.00 0.00 99.47 22:13:00 22:11:01 2 0.00 0.00 0.07 0.00 0.00 99.93 22:13:00 22:11:01 3 0.03 0.00 0.05 0.00 0.00 99.92 22:13:00 22:12:01 all 0.03 0.00 0.05 0.00 0.00 99.91 22:13:00 22:12:01 0 0.03 0.00 0.03 0.00 0.00 99.93 22:13:00 22:12:01 1 0.02 0.00 0.02 0.00 0.00 99.97 22:13:00 22:12:01 2 0.05 0.00 0.05 0.00 0.02 99.88 22:13:00 22:12:01 3 0.03 0.00 0.12 0.00 0.00 99.85 22:13:00 Average: all 0.13 0.00 0.06 0.00 0.00 99.81 22:13:00 Average: 0 0.04 0.00 0.05 0.00 0.00 99.91 22:13:00 Average: 1 0.40 0.00 0.05 0.00 0.00 99.55 22:13:00 Average: 2 0.04 0.00 0.06 0.00 0.00 99.90 22:13:00 Average: 3 0.04 0.00 0.06 0.00 0.00 99.90 22:13:00 22:13:00 22:13:00