Pull request #671 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2d7e1422f1ff4a15527cd748bcd46313f6f7e54f+fc40647c9a5a0500e2956cf52a4e5c076e69792e (0d7f6c29505ffaf1e6d114a6ba83676f680c7583) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-671/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-671/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-24530 in /w/workspace/ndry_app-functions-sdk-go_PR-671 [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-671 # 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/671/head:refs/remotes/origin/PR-671 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit fc40647c9a5a0500e2956cf52a4e5c076e69792e into PR head commit 2d7e1422f1ff4a15527cd748bcd46313f6f7e54f Merge succeeded, producing 2d7e1422f1ff4a15527cd748bcd46313f6f7e54f Checking out Revision 2d7e1422f1ff4a15527cd748bcd46313f6f7e54f (PR-671) > git config core.sparsecheckout # timeout=10 > git checkout -f 2d7e1422f1ff4a15527cd748bcd46313f6f7e54f # 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 fc40647c9a5a0500e2956cf52a4e5c076e69792e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2d7e1422f1ff4a15527cd748bcd46313f6f7e54f # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:09:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:09:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:09:12 ========================================================= 06:09:12 EdgeX Global Pipelines Version Info 06:09:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:09:14 ------------------- 06:09:14 stable info: 06:09:14 ------------------- 06:09:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:09:14 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 06:09:14 Message: update stable to v1.0.179 06:09:15 ------------------- 06:09:15 experimental info: 06:09:15 ------------------- 06:09:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:09:15 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 06:09:15 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:09:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 06:09:15 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 06:09:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:09:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:09:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:09:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:09:16 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:09:16 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:09:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:09:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:09:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:09:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 06:09:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:09:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:09:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 06:09:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:09:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:09:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:09:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:09:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:09:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:09:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 06:09:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:09:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:09:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 06:09:18 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:09:19 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 06:09:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-671 [Pipeline] echo 06:09:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-671 [Pipeline] echo 06:09:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-671 [Pipeline] echo 06:09:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2d7e1422f1ff4a15527cd748bcd46313f6f7e54f [Pipeline] echo 06:09:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2d7e142 [Pipeline] echo 06:09:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:09:20 + git log --format=format:%s -1 2d7e1422f1ff4a15527cd748bcd46313f6f7e54f [Pipeline] echo 06:09:20 GIT_COMMIT: 2d7e1422f1ff4a15527cd748bcd46313f6f7e54f, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo 06:09:20 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:09:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:09:21 06:09:21 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:09:22 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:09:22 latest: Pulling from edgex-devops/git-semver 06:09:22 31603596830f: Pulling fs layer 06:09:22 2a8b12db71e7: Pulling fs layer 06:09:22 6ca5941a6612: Pulling fs layer 06:09:22 ecc8261a40a4: Pulling fs layer 06:09:22 ecc8261a40a4: Waiting 06:09:22 2a8b12db71e7: Verifying Checksum 06:09:22 2a8b12db71e7: Download complete 06:09:22 31603596830f: Verifying Checksum 06:09:22 31603596830f: Download complete 06:09:22 ecc8261a40a4: Verifying Checksum 06:09:22 ecc8261a40a4: Download complete 06:09:22 6ca5941a6612: Verifying Checksum 06:09:22 6ca5941a6612: Download complete 06:09:22 31603596830f: Pull complete 06:09:23 2a8b12db71e7: Pull complete 06:09:23 6ca5941a6612: Pull complete 06:09:23 ecc8261a40a4: Pull complete 06:09:23 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:09:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:09:23 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:09:24 prd-centos7-docker-4c-2g-24530 does not seem to be running inside a container 06:09:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-671 -v /w/workspace/ndry_app-functions-sdk-go_PR-671:/w/workspace/ndry_app-functions-sdk-go_PR-671:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-671@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-671@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:09:26 $ docker top 4fc9d9054ac4f2ad12889ba3d73d6f4c3a860e25df046f76f420c55849a621cd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:09:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:09:26 [ssh-agent] Looking for ssh-agent implementation... 06:09:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:09:27 $ docker exec 4fc9d9054ac4f2ad12889ba3d73d6f4c3a860e25df046f76f420c55849a621cd ssh-agent 06:09:27 SSH_AUTH_SOCK=/tmp/ssh-77BVJfDMFq6A/agent.12 06:09:27 SSH_AGENT_PID=17 06:09:27 Running ssh-add (command line suppressed) 06:09:27 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-671@tmp/private_key_1484639502750532367.key (/w/workspace/ndry_app-functions-sdk-go_PR-671@tmp/private_key_1484639502750532367.key) 06:09:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:09:28 + git tag --points-at HEAD [Pipeline] } 06:09:28 $ docker exec --env ******** --env ******** 4fc9d9054ac4f2ad12889ba3d73d6f4c3a860e25df046f76f420c55849a621cd ssh-agent -k 06:09:28 unset SSH_AUTH_SOCK; 06:09:28 unset SSH_AGENT_PID; 06:09:28 echo Agent pid 17 killed; 06:09:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:09:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:09:28 [ssh-agent] Looking for ssh-agent implementation... 06:09:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:09:28 $ docker exec 4fc9d9054ac4f2ad12889ba3d73d6f4c3a860e25df046f76f420c55849a621cd ssh-agent 06:09:28 SSH_AUTH_SOCK=/tmp/ssh-C0yPWrPSUN1a/agent.46 06:09:28 SSH_AGENT_PID=51 06:09:28 Running ssh-add (command line suppressed) 06:09:28 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-671@tmp/private_key_3672867132336427911.key (/w/workspace/ndry_app-functions-sdk-go_PR-671@tmp/private_key_3672867132336427911.key) 06:09:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:09:29 + git semver init 06:09:29 # -> Open(): unable to determine branch for HEAD 06:09:29 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-671/.git 06:09:29 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-671 06:09:29 # $SEMVER_REMOTE_NAME = origin 06:09:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:09:29 # $SEMVER_USER_NAME = edgex-jenkins 06:09:29 # $SEMVER_BRANCH = PR-671 06:09:29 # $SEMVER_TEMP = /tmp/semver-611900283 06:09:29 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 06:09:33 # '/tmp/semver-611900283' -> '/w/workspace/ndry_app-functions-sdk-go_PR-671/.semver' 06:09:33 # -> Force: false 06:09:33 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-671/.semver [Pipeline] } 06:09:33 $ docker exec --env ******** --env ******** 4fc9d9054ac4f2ad12889ba3d73d6f4c3a860e25df046f76f420c55849a621cd ssh-agent -k 06:09:33 unset SSH_AUTH_SOCK; 06:09:33 unset SSH_AGENT_PID; 06:09:33 echo Agent pid 51 killed; 06:09:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:09:34 + git semver [Pipeline] } 06:09:34 $ docker stop --time=1 4fc9d9054ac4f2ad12889ba3d73d6f4c3a860e25df046f76f420c55849a621cd 06:09:35 $ docker rm -f 4fc9d9054ac4f2ad12889ba3d73d6f4c3a860e25df046f76f420c55849a621cd [Pipeline] // withDockerContainer [Pipeline] sh 06:09:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:09:36 Stashed 1 file(s) [Pipeline] echo 06:09:36 [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 06:09:53 Still waiting to schedule task 06:09:53 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:09:53 Still waiting to schedule task 06:09:53 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 06:11:15 Running on prd-centos7-docker-4c-2g-24536 in /w/workspace/ndry_app-functions-sdk-go_PR-671 [Pipeline] { [Pipeline] ws 06:11:15 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:11:19 using credential edgex-jenkins-ssh 06:11:19 Cloning the remote Git repository 06:11:19 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 06:11:19 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 06:11:19 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 06:11:19 > git --version # timeout=10 06:11:19 > git --version # 'git version 2.24.3' 06:11:19 using GIT_SSH to set credentials SSH Credentials for GitHub 06:11:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:11:24 Merging remotes/origin/master commit fc40647c9a5a0500e2956cf52a4e5c076e69792e into PR head commit 2d7e1422f1ff4a15527cd748bcd46313f6f7e54f 06:11:24 Merge succeeded, producing 2d7e1422f1ff4a15527cd748bcd46313f6f7e54f 06:11:24 Checking out Revision 2d7e1422f1ff4a15527cd748bcd46313f6f7e54f (PR-671) 06:11:23 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 06:11:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:11:23 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 06:11:23 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 06:11:23 using GIT_SSH to set credentials SSH Credentials for GitHub 06:11:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/671/head:refs/remotes/origin/PR-671 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:11:24 > git config core.sparsecheckout # timeout=10 06:11:24 > git checkout -f 2d7e1422f1ff4a15527cd748bcd46313f6f7e54f # timeout=10 06:11:24 > git remote # timeout=10 06:11:24 > git config --get remote.origin.url # timeout=10 06:11:24 using GIT_SSH to set credentials SSH Credentials for GitHub 06:11:24 > git merge fc40647c9a5a0500e2956cf52a4e5c076e69792e # timeout=10 06:11:24 > git rev-parse HEAD^{commit} # timeout=10 06:11:24 > git config core.sparsecheckout # timeout=10 06:11:24 > git checkout -f 2d7e1422f1ff4a15527cd748bcd46313f6f7e54f # timeout=10 06:11:28 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" 06:11:28 > git --version # timeout=10 06:11:28 > git --version # 'git version 2.24.3' 06:11:28 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:11:29 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:11:30 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:11:30 + sudo service docker restart 06:11:30 + true 06:11:30 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 06:11:32 ========================================================= 06:11:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:11:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:11:32 + 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 . 06:11:34 Sending build context to Docker daemon 19.09MB 06:11:34 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:11:34 Step 2/8 : FROM ${BASE} 06:11:34 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:11:34 188c0c94c7c5: Pulling fs layer 06:11:34 0ef7d3d256c8: Pulling fs layer 06:11:34 de9db76c5a1d: Pulling fs layer 06:11:34 bca2f99d35d6: Pulling fs layer 06:11:34 93359f2a8cfa: Pulling fs layer 06:11:34 7c6f9722023f: Pulling fs layer 06:11:34 a35cf1a2eb13: Pulling fs layer 06:11:34 93359f2a8cfa: Waiting 06:11:34 7c6f9722023f: Waiting 06:11:34 a35cf1a2eb13: Waiting 06:11:34 bca2f99d35d6: Waiting 06:11:34 de9db76c5a1d: Verifying Checksum 06:11:34 de9db76c5a1d: Download complete 06:11:34 0ef7d3d256c8: Verifying Checksum 06:11:34 0ef7d3d256c8: Download complete 06:11:34 93359f2a8cfa: Verifying Checksum 06:11:34 93359f2a8cfa: Download complete 06:11:34 7c6f9722023f: Verifying Checksum 06:11:34 7c6f9722023f: Download complete 06:11:34 188c0c94c7c5: Verifying Checksum 06:11:34 188c0c94c7c5: Download complete 06:11:34 188c0c94c7c5: Pull complete 06:11:35 0ef7d3d256c8: Pull complete 06:11:35 de9db76c5a1d: Pull complete 06:11:37 a35cf1a2eb13: Verifying Checksum 06:11:37 a35cf1a2eb13: Download complete 06:11:37 bca2f99d35d6: Verifying Checksum 06:11:37 bca2f99d35d6: Download complete 06:11:44 bca2f99d35d6: Pull complete 06:11:44 93359f2a8cfa: Pull complete 06:11:44 7c6f9722023f: Pull complete 06:11:50 a35cf1a2eb13: Pull complete 06:11:50 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:11:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:11:50 ---> a62c8e92a672 06:11:50 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 06:11:50 20.10.0: Pulling from library/docker 06:11:50 05e7bc50f07f: Pulling fs layer 06:11:50 6db28d0fdbf6: Pulling fs layer 06:11:50 292df0bc6bf3: Pulling fs layer 06:11:50 2e060f4bd70b: Pulling fs layer 06:11:50 80e8d568a223: Pulling fs layer 06:11:50 8dc6ef1a942a: Pulling fs layer 06:11:50 2312dd95470a: Pulling fs layer 06:11:50 80e8d568a223: Waiting 06:11:50 8dc6ef1a942a: Waiting 06:11:50 2312dd95470a: Waiting 06:11:50 2e060f4bd70b: Waiting 06:11:50 292df0bc6bf3: Download complete 06:11:50 6db28d0fdbf6: Verifying Checksum 06:11:50 6db28d0fdbf6: Download complete 06:11:50 05e7bc50f07f: Verifying Checksum 06:11:50 05e7bc50f07f: Download complete 06:11:50 80e8d568a223: Download complete 06:11:50 8dc6ef1a942a: Verifying Checksum 06:11:50 8dc6ef1a942a: Download complete 06:11:50 2312dd95470a: Verifying Checksum 06:11:50 2312dd95470a: Download complete 06:11:50 05e7bc50f07f: Pull complete 06:11:50 6db28d0fdbf6: Pull complete 06:11:51 292df0bc6bf3: Pull complete 06:11:51 2e060f4bd70b: Verifying Checksum 06:11:51 2e060f4bd70b: Download complete 06:11:55 2e060f4bd70b: Pull complete 06:11:55 80e8d568a223: Pull complete 06:11:55 8dc6ef1a942a: Pull complete 06:11:55 2312dd95470a: Pull complete 06:11:55 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 06:11:55 Status: Downloaded newer image for docker:20.10.0 06:11:57 ---> 8e87100af0df 06:11:57 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:11:57 ---> Running in 9b62af712546 06:11:57 Removing intermediate container 9b62af712546 06:11:57 ---> 4daf3d84a7cf 06:11:57 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 06:11:57 ---> Running in db09184bcd52 06:11:58 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:11:59 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:11:59 (1/5) Installing libsodium (1.0.18-r0) 06:11:59 (2/5) Installing libzmq (4.3.3-r0) 06:12:00 (3/5) Installing pkgconf (1.7.2-r0) 06:12:00 (4/5) Installing libsodium-dev (1.0.18-r0) 06:12:00 (5/5) Installing zeromq-dev (4.3.3-r0) 06:12:00 Executing busybox-1.31.1-r19.trigger 06:12:00 OK: 167 MiB in 44 packages 06:12:00 Removing intermediate container db09184bcd52 06:12:00 ---> b5d07df135aa 06:12:00 Step 6/8 : WORKDIR /build 06:12:01 ---> Running in 9c4161054e1f 06:12:01 Removing intermediate container 9c4161054e1f 06:12:01 ---> 4bf2d76e7983 06:12:01 Step 7/8 : COPY go.mod . 06:12:01 ---> ebdb88b6b525 06:12:01 Step 8/8 : RUN go mod download 06:12:01 ---> Running in 9a3e4fd28a53 06:12:28 Removing intermediate container 9a3e4fd28a53 06:12:28 ---> 743ea4829a90 06:12:28 Successfully built 743ea4829a90 06:12:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:12:28 + docker inspect -f . ci-base-image-x86_64 06:12:29 . [Pipeline] withDockerContainer 06:12:29 prd-centos7-docker-4c-2g-24536 does not seem to be running inside a container 06:12:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:12:30 $ docker top aedae32828df2b03f9152afb4aa9b1cdcaa31b0c7b7d07db722fdb5fd90be5a4 -eo pid,comm [Pipeline] { [Pipeline] sh 06:12:31 + go version 06:12:31 go version go1.15.5 linux/amd64 [Pipeline] } 06:12:31 $ docker stop --time=1 aedae32828df2b03f9152afb4aa9b1cdcaa31b0c7b7d07db722fdb5fd90be5a4 06:12:33 $ docker rm -f aedae32828df2b03f9152afb4aa9b1cdcaa31b0c7b7d07db722fdb5fd90be5a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:12:34 + docker inspect -f . ci-base-image-x86_64 06:12:34 . [Pipeline] withDockerContainer 06:12:34 prd-centos7-docker-4c-2g-24536 does not seem to be running inside a container 06:12:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:12:35 $ docker top 3f73422bc1ae71e5677369b2466d99b4a56ace48e85a7317ae7500c4e5a8a304 -eo pid,comm [Pipeline] { [Pipeline] sh 06:12:35 + make test 06:12:35 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 06:12:37 ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] 06:12:47 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.018s coverage: 82.6% of statements 06:12:57 Running on prd-ubuntu18.04-docker-arm64-4c-16g-24540 in /w/workspace/ndry_app-functions-sdk-go_PR-671 [Pipeline] { [Pipeline] ws 06:12:57 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:12:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.075s coverage: 48.6% of statements 06:12:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 06:12:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 06:12:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.045s coverage: 61.5% of statements 06:12:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 06:12:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.031s coverage: 71.7% of statements 06:12:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 06:12:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 06:12:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 06:12:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 06:12:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 06:12:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 06:12:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.010s coverage: 97.0% of statements 06:12:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 06:12:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.024s coverage: 8.8% of statements 06:13:01 using credential edgex-jenkins-ssh 06:13:01 Cloning the remote Git repository 06:13:01 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 06:13:01 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 06:13:02 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 06:13:02 > git --version # timeout=10 06:13:02 > git --version # 'git version 2.17.1' 06:13:02 using GIT_SSH to set credentials SSH Credentials for GitHub 06:13:02 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:13:05 Merging remotes/origin/master commit fc40647c9a5a0500e2956cf52a4e5c076e69792e into PR head commit 2d7e1422f1ff4a15527cd748bcd46313f6f7e54f 06:13:05 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 06:13:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:13:05 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 06:13:05 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 06:13:05 using GIT_SSH to set credentials SSH Credentials for GitHub 06:13:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/671/head:refs/remotes/origin/PR-671 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:13:06 > git config core.sparsecheckout # timeout=10 06:13:06 > git checkout -f 2d7e1422f1ff4a15527cd748bcd46313f6f7e54f # timeout=10 06:13:06 > git remote # timeout=10 06:13:06 > git config --get remote.origin.url # timeout=10 06:13:06 Merge succeeded, producing 2d7e1422f1ff4a15527cd748bcd46313f6f7e54f 06:13:06 Checking out Revision 2d7e1422f1ff4a15527cd748bcd46313f6f7e54f (PR-671) 06:13:06 using GIT_SSH to set credentials SSH Credentials for GitHub 06:13:06 > git merge fc40647c9a5a0500e2956cf52a4e5c076e69792e # timeout=10 06:13:06 > git rev-parse HEAD^{commit} # timeout=10 06:13:06 > git config core.sparsecheckout # timeout=10 06:13:06 > git checkout -f 2d7e1422f1ff4a15527cd748bcd46313f6f7e54f # timeout=10 06:13:10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" 06:13:10 > git --version # timeout=10 06:13:10 > git --version # 'git version 2.17.1' 06:13:10 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:13:12 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:13:12 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:13:13 + sudo service docker restart 06:13:13 + true 06:13:13 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 13.849s coverage: 77.5% of statements 06:13:13 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 06:13:13 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.022s coverage: 87.9% of statements 06:13:13 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.019s coverage: 80.5% of statements 06:13:13 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.022s coverage: 71.7% of statements [Pipeline] unstash [Pipeline] echo 06:13:16 ========================================================= 06:13:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:13:16 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:13:16 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 06:13:17 Sending build context to Docker daemon 19.09MB 06:13:17 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:13:17 Step 2/8 : FROM ${BASE} 06:13:17 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:13:17 5f621e34cdf4: Pulling fs layer 06:13:17 a4357932f1b6: Pulling fs layer 06:13:17 18c013af1878: Pulling fs layer 06:13:17 00ac8860ef70: Pulling fs layer 06:13:17 63d7cb157983: Pulling fs layer 06:13:17 b116817d02f9: Pulling fs layer 06:13:17 745a02a5169b: Pulling fs layer 06:13:17 00ac8860ef70: Waiting 06:13:17 63d7cb157983: Waiting 06:13:17 b116817d02f9: Waiting 06:13:17 745a02a5169b: Waiting 06:13:17 18c013af1878: Verifying Checksum 06:13:17 18c013af1878: Download complete 06:13:17 a4357932f1b6: Verifying Checksum 06:13:17 a4357932f1b6: Download complete 06:13:17 63d7cb157983: Verifying Checksum 06:13:17 63d7cb157983: Download complete 06:13:17 b116817d02f9: Verifying Checksum 06:13:18 5f621e34cdf4: Download complete 06:13:18 5f621e34cdf4: Pull complete 06:13:19 a4357932f1b6: Pull complete 06:13:19 18c013af1878: Pull complete 06:13:20 745a02a5169b: Verifying Checksum 06:13:20 745a02a5169b: Download complete 06:13:23 00ac8860ef70: Verifying Checksum 06:13:23 00ac8860ef70: Download complete 06:13:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.043s coverage: 81.4% of statements 06:13:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.008s coverage: 94.4% of statements 06:13:25 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:13:29 gofmt -l . 06:13:29 [ "`gofmt -l .`" = "" ] 06:13:29 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:13:30 $ docker stop --time=1 3f73422bc1ae71e5677369b2466d99b4a56ace48e85a7317ae7500c4e5a8a304 06:13:31 00ac8860ef70: Pull complete 06:13:31 63d7cb157983: Pull complete 06:13:31 b116817d02f9: Pull complete 06:13:32 $ docker rm -f 3f73422bc1ae71e5677369b2466d99b4a56ace48e85a7317ae7500c4e5a8a304 [Pipeline] // withDockerContainer [Pipeline] sh 06:13:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:13:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:13:36 745a02a5169b: Pull complete 06:13:36 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:13:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:13:36 ---> b7e6874047d6 06:13:36 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 06:13:36 20.10.0: Pulling from library/docker 06:13:36 a3cc7d3b244e: Pulling fs layer 06:13:36 02a3295e0d61: Pulling fs layer 06:13:36 0f4f2e6d8100: Pulling fs layer 06:13:36 330b718f631f: Pulling fs layer 06:13:36 a93816041522: Pulling fs layer 06:13:36 bdb6da89ff94: Pulling fs layer 06:13:36 2a70c0c122f4: Pulling fs layer 06:13:36 330b718f631f: Waiting 06:13:36 a93816041522: Waiting 06:13:36 bdb6da89ff94: Waiting 06:13:36 2a70c0c122f4: Waiting 06:13:36 0f4f2e6d8100: Verifying Checksum 06:13:36 0f4f2e6d8100: Download complete 06:13:36 02a3295e0d61: Download complete 06:13:36 a3cc7d3b244e: Verifying Checksum 06:13:36 a3cc7d3b244e: Download complete 06:13:36 bdb6da89ff94: Verifying Checksum 06:13:36 bdb6da89ff94: Download complete 06:13:36 a93816041522: Verifying Checksum 06:13:36 a93816041522: Download complete 06:13:36 2a70c0c122f4: Verifying Checksum 06:13:36 2a70c0c122f4: Download complete 06:13:36 a3cc7d3b244e: Pull complete 06:13:37 02a3295e0d61: Pull complete 06:13:37 330b718f631f: Verifying Checksum 06:13:37 330b718f631f: Download complete 06:13:37 0f4f2e6d8100: Pull complete 06:13:42 330b718f631f: Pull complete 06:13:42 a93816041522: Pull complete 06:13:42 bdb6da89ff94: Pull complete 06:13:42 2a70c0c122f4: Pull complete 06:13:42 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 06:13:42 Status: Downloaded newer image for docker:20.10.0 06:13:49 ---> 0001ae4be8e3 06:13:49 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:13:49 ---> Running in 27db963955fa 06:13:50 Removing intermediate container 27db963955fa 06:13:50 ---> 7451c38b1a48 06:13:50 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 06:13:50 ---> Running in 8a7e626ab360 06:13:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:13:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:13:53 (1/5) Installing libsodium (1.0.18-r0) 06:13:53 (2/5) Installing libzmq (4.3.3-r0) 06:13:54 (3/5) Installing pkgconf (1.7.2-r0) 06:13:54 (4/5) Installing libsodium-dev (1.0.18-r0) 06:13:54 (5/5) Installing zeromq-dev (4.3.3-r0) 06:13:54 Executing busybox-1.31.1-r19.trigger 06:13:54 OK: 144 MiB in 44 packages 06:13:56 Removing intermediate container 8a7e626ab360 06:13:56 ---> 4c4f17348f61 06:13:56 Step 6/8 : WORKDIR /build 06:13:56 ---> Running in 87f8fdb93d43 06:13:57 Removing intermediate container 87f8fdb93d43 06:13:57 ---> f5706c8366e2 06:13:57 Step 7/8 : COPY go.mod . 06:13:57 ---> e707f0a1eeac 06:13:57 Step 8/8 : RUN go mod download 06:13:58 ---> Running in a3c38212675b 06:14:25 Removing intermediate container a3c38212675b 06:14:25 ---> c2dbeb4d120b 06:14:25 Successfully built c2dbeb4d120b 06:14:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:14:25 + docker inspect -f . ci-base-image-arm64 06:14:25 . [Pipeline] withDockerContainer 06:14:25 prd-ubuntu18.04-docker-arm64-4c-16g-24540 does not seem to be running inside a container 06:14:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:14:27 $ docker top 4d2ca2b147c43c7a831d93a525b976b77c9283fbd3045046d9876141c7ebf98e -eo pid,comm [Pipeline] { [Pipeline] sh 06:14:28 + go version 06:14:28 go version go1.15.5 linux/arm64 [Pipeline] } 06:14:28 $ docker stop --time=1 4d2ca2b147c43c7a831d93a525b976b77c9283fbd3045046d9876141c7ebf98e 06:14:30 $ docker rm -f 4d2ca2b147c43c7a831d93a525b976b77c9283fbd3045046d9876141c7ebf98e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:14:31 + docker inspect -f . ci-base-image-arm64 06:14:31 . [Pipeline] withDockerContainer 06:14:32 prd-ubuntu18.04-docker-arm64-4c-16g-24540 does not seem to be running inside a container 06:14:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:14:33 $ docker top 14d353ab8b9a7672d6da28d9786fb8797074f9bddf7a3b1b70034ae460bd0300 -eo pid,comm [Pipeline] { [Pipeline] sh 06:14:34 + make test 06:14:34 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 06:14:36 ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] 06:14:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.056s coverage: 82.6% of statements 06:15:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.087s coverage: 48.6% of statements 06:15:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 06:15:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 06:15:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.092s coverage: 61.5% of statements 06:15:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 06:15:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.077s coverage: 71.7% of statements 06:15:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 06:15:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 06:15:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 06:15:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 06:15:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 06:15:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 06:15:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.045s coverage: 97.0% of statements 06:15:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 06:15:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.039s coverage: 8.8% of statements 06:15:37 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 13.906s coverage: 77.5% of statements 06:15:37 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 06:15:37 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.071s coverage: 87.9% of statements 06:15:37 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.071s coverage: 80.5% of statements 06:15:37 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.023s coverage: 71.7% of statements 06:15:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.072s coverage: 81.4% of statements 06:15:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.024s coverage: 94.4% of statements 06:15:52 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:16:01 gofmt -l . 06:16:01 [ "`gofmt -l .`" = "" ] 06:16:01 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:16:02 $ docker stop --time=1 14d353ab8b9a7672d6da28d9786fb8797074f9bddf7a3b1b70034ae460bd0300 06:16:04 $ docker rm -f 14d353ab8b9a7672d6da28d9786fb8797074f9bddf7a3b1b70034ae460bd0300 [Pipeline] // withDockerContainer [Pipeline] sh 06:16:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:16:05 Warning: overwriting stash ‘coverage-report’ 06:16:06 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 06:16:08 provisioning config files... 06:16:08 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-671@tmp/config3249882961292441877tmp [Pipeline] { [Pipeline] sh 06:16:09 + set +x 06:16:09 + curl -s https://codecov.io/bash 06:16:09 + bash -s -- 06:16:09 06:16:09 _____ _ 06:16:09 / ____| | | 06:16:09 | | ___ __| | ___ ___ _____ __ 06:16:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:16:09 | |___| (_) | (_| | __/ (_| (_) \ V / 06:16:09 \_____\___/ \__,_|\___|\___\___/ \_/ 06:16:09 Bash-20210129-7c25fce 06:16:09 06:16:09 06:16:09 ==> git version 2.24.3 found 06:16:09 ==> 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 06:16:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:16:09 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:16:09 ==> Jenkins CI detected. 06:16:09 project root: . 06:16:09 --> token set from env 06:16:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:16:09 ==> Running gcov in . (disable via -X gcov) 06:16:09 ==> Python coveragepy not found 06:16:09 ==> Searching for coverage reports in: 06:16:09 + . 06:16:09 -> Found 1 reports 06:16:09 ==> Detecting git/mercurial file structure 06:16:09 ==> Reading reports 06:16:09 + ./coverage.out bytes=77817 06:16:09 ==> Appending adjustments 06:16:09 https://docs.codecov.io/docs/fixing-reports 06:16:09 + Found adjustments 06:16:09 ==> Gzipping contents 06:16:09 16K /tmp/codecov.ScjETm.gz 06:16:09 ==> Uploading reports 06:16:09 url: https://codecov.io 06:16:09 query: branch=PR-671&commit=2d7e1422f1ff4a15527cd748bcd46313f6f7e54f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-671%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=671&job=&cmd_args= 06:16:09 -> Pinging Codecov 06:16:09 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-671&commit=2d7e1422f1ff4a15527cd748bcd46313f6f7e54f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-671%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=671&job=&cmd_args= 06:16:10 -> Uploading to 06:16:10 https://storage.googleapis.com/codecov/v4/raw/2021-02-02/3D8B5DFFC46A037C893635FACE044666/2d7e1422f1ff4a15527cd748bcd46313f6f7e54f/a4797f8b-5859-440a-8c05-07e9e24eec61.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210202T061610Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5982f532259874bb1dfa23594771cf57dfb78099f205bfc7448f7d508a396da0 06:16:10 % Total % Received % Xferd Average Speed Time Time Time Current 06:16:10 Dload Upload Total Spent Left Speed 06:16:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13456 0 0 100 13456 0 34566 --:--:-- --:--:-- --:--:-- 34502 06:16:11 -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/2d7e1422f1ff4a15527cd748bcd46313f6f7e54f [Pipeline] } 06:16:11 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 06:16:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:16:16 ---> package-listing.sh 06:16:16 ++ facter osfamily 06:16:16 ++ tr '[:upper:]' '[:lower:]' 06:16:16 + OS_FAMILY=redhat 06:16:16 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-671 06:16:16 + START_PACKAGES=/tmp/packages_start.txt 06:16:16 + END_PACKAGES=/tmp/packages_end.txt 06:16:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:16:16 + PACKAGES=/tmp/packages_start.txt 06:16:16 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-671 ']' 06:16:16 + PACKAGES=/tmp/packages_end.txt 06:16:16 + case "${OS_FAMILY}" in 06:16:16 + rpm -qa 06:16:16 + sort 06:16:21 + '[' -f /tmp/packages_start.txt ']' 06:16:21 + '[' -f /tmp/packages_end.txt ']' 06:16:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:16:21 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-671 ']' 06:16:21 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-671/archives/ 06:16:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-671/archives/ [Pipeline] echo 06:16:21 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-671/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:16:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:16:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:16:22 06:16:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:16:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:16:23 alpine: Pulling from edgex-lftools-log-publisher 06:16:23 df20fa9351a1: Pulling fs layer 06:16:23 36b3adc4ff6f: Pulling fs layer 06:16:23 8ad3a11d3b57: Pulling fs layer 06:16:23 46f8f816bc3b: Pulling fs layer 06:16:23 93b61091891f: Pulling fs layer 06:16:23 93b9cdb0e59b: Pulling fs layer 06:16:23 5e14af77c1be: Pulling fs layer 06:16:23 01666e4c0597: Pulling fs layer 06:16:23 aa168da1d23b: Pulling fs layer 06:16:23 46f8f816bc3b: Waiting 06:16:23 93b61091891f: Waiting 06:16:23 93b9cdb0e59b: Waiting 06:16:23 5e14af77c1be: Waiting 06:16:23 01666e4c0597: Waiting 06:16:23 aa168da1d23b: Waiting 06:16:23 36b3adc4ff6f: Verifying Checksum 06:16:23 36b3adc4ff6f: Download complete 06:16:23 46f8f816bc3b: Verifying Checksum 06:16:23 46f8f816bc3b: Download complete 06:16:23 df20fa9351a1: Verifying Checksum 06:16:23 df20fa9351a1: Download complete 06:16:23 93b9cdb0e59b: Verifying Checksum 06:16:23 93b9cdb0e59b: Download complete 06:16:23 5e14af77c1be: Verifying Checksum 06:16:23 5e14af77c1be: Download complete 06:16:23 01666e4c0597: Verifying Checksum 06:16:23 01666e4c0597: Download complete 06:16:23 93b61091891f: Download complete 06:16:23 8ad3a11d3b57: Verifying Checksum 06:16:23 8ad3a11d3b57: Download complete 06:16:23 df20fa9351a1: Pull complete 06:16:23 36b3adc4ff6f: Pull complete 06:16:24 8ad3a11d3b57: Pull complete 06:16:25 46f8f816bc3b: Pull complete 06:16:25 aa168da1d23b: Verifying Checksum 06:16:25 aa168da1d23b: Download complete 06:16:25 93b61091891f: Pull complete 06:16:25 93b9cdb0e59b: Pull complete 06:16:25 5e14af77c1be: Pull complete 06:16:25 01666e4c0597: Pull complete 06:16:34 aa168da1d23b: Pull complete 06:16:34 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:16:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:16:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:16:34 prd-centos7-docker-4c-2g-24530 does not seem to be running inside a container 06:16:34 $ 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-671/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-671 -v /w/workspace/ndry_app-functions-sdk-go_PR-671:/w/workspace/ndry_app-functions-sdk-go_PR-671:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-671@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-671@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:16:38 $ docker top 5029634e8b4c0c7f6374491eaa60cba7cc422ffd96696f72bc27d20fcc3cb319 -eo pid,comm [Pipeline] { [Pipeline] sh 06:16:38 + touch /tmp/pre-build-complete [Pipeline] sh 06:16:39 + mkdir -p /var/log/sa [Pipeline] sh 06:16:39 + ls /var/log/sa-host 06:16:39 + sadf -c /var/log/sa-host/sa02 06:16:39 file_magic: OK 06:16:39 HZ: Using current value: 100 06:16:39 file_header: OK 06:16:39 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 06:16:39 Statistics: 06:16:39 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:16:39 File successfully converted to sysstat format version 12.2.1 06:16:39 + sadf -c /var/log/sa-host/sa23 06:16:39 file_magic: OK 06:16:39 HZ: Using current value: 100 06:16:39 file_header: OK 06:16:39 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 06:16:39 Statistics: 06:16:39 Hnuu...uuuununununu... 06:16:39 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:16:39 provisioning config files... 06:16:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-671@tmp/config6984151881499455761tmp [Pipeline] { [Pipeline] echo 06:16:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:16:40 ---> create-netrc.sh [Pipeline] } 06:16:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:16:40 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:16:40 ---> python-tools-install.sh [Pipeline] echo 06:16:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:16:40 ---> sudo-logs.sh 06:16:40 Archiving 'sudo' log.. [Pipeline] echo 06:16:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:16:41 ---> job-cost.sh 06:16:41 lf-activate-venv: SKIPPING 06:16:41 INFO: No Stack... 06:16:42 INFO: Retrieving Pricing Info for: v1-standard-2 06:16:42 INFO: Archiving Costs [Pipeline] echo 06:16:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:16:43 ---> logs-deploy.sh 06:16:43 lf-activate-venv: SKIPPING 06:16:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-671/1 06:16:43 INFO: archiving workspace using pattern(s): 06:16:45 Archives upload complete. 06:16:45 INFO: archiving logs to Nexus