Pull request #899 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 88cd3141a6a48c636225ba9a5751d79cd3e68367+86d8c8cfb612f93dc4efeca806267a6dc2c52eff (aa7411719e4e4cf5493dd8a516c12d31894de228) 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1048395597543544857.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2381591410390655036.key > 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 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git 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-899/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-899/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8926395482054715212.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-899/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2318478010076269302.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3615432419689489517.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE 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-899/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-899/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh990843062982289459.key > 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 Avoid second fetch Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > 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 6a41506d72e8e131afc862d141935157bee59f41 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: app-functions-sdk 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1643 in /w/workspace/ndry_app-functions-sdk-go_PR-899 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-899 # 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.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-899@tmp/jenkins-gitclient-ssh6820373018592917096.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 86d8c8cfb612f93dc4efeca806267a6dc2c52eff into PR head commit 88cd3141a6a48c636225ba9a5751d79cd3e68367 Merge succeeded, producing 88cd3141a6a48c636225ba9a5751d79cd3e68367 Checking out Revision 88cd3141a6a48c636225ba9a5751d79cd3e68367 (PR-899) > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-899@tmp/jenkins-gitclient-ssh7816003638994140979.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/899/head:refs/remotes/origin/PR-899 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 88cd3141a6a48c636225ba9a5751d79cd3e68367 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-899@tmp/jenkins-gitclient-ssh1020964080539832681.key > git merge 86d8c8cfb612f93dc4efeca806267a6dc2c52eff # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 88cd3141a6a48c636225ba9a5751d79cd3e68367 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-16T05:43:31.921Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-16T05:43:32.160Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-16T05:43:32.300Z] ========================================================= [2021-06-16T05:43:32.300Z] EdgeX Global Pipelines Version Info [2021-06-16T05:43:32.300Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-16T05:43:33.814Z] ------------------- [2021-06-16T05:43:33.815Z] stable info: [2021-06-16T05:43:33.815Z] ------------------- [2021-06-16T05:43:33.815Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-16T05:43:33.815Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-16T05:43:33.815Z] Message: update stable to v1.0.195 [2021-06-16T05:43:34.387Z] ------------------- [2021-06-16T05:43:34.387Z] experimental info: [2021-06-16T05:43:34.387Z] ------------------- [2021-06-16T05:43:34.387Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-16T05:43:34.387Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-16T05:43:34.387Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-16T05:43:34.646Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-06-16T05:43:34.710Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-06-16T05:43:34.771Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-16T05:43:34.833Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-16T05:43:34.891Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-16T05:43:34.948Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-16T05:43:35.005Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-16T05:43:35.066Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-16T05:43:35.144Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-16T05:43:35.204Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-16T05:43:35.267Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-16T05:43:35.331Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-06-16T05:43:35.392Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-16T05:43:35.453Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-16T05:43:35.514Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-06-16T05:43:35.574Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-16T05:43:35.631Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-16T05:43:35.698Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-16T05:43:35.775Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-16T05:43:35.843Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-16T05:43:35.905Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-16T05:43:35.968Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-06-16T05:43:36.028Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-16T05:43:36.092Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-16T05:43:36.152Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-06-16T05:43:36.210Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-16T05:43:36.270Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-899 [Pipeline] echo [2021-06-16T05:43:36.332Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-899 [Pipeline] echo [2021-06-16T05:43:36.393Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-899 [Pipeline] echo [2021-06-16T05:43:36.466Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 88cd3141a6a48c636225ba9a5751d79cd3e68367 [Pipeline] echo [2021-06-16T05:43:36.526Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 88cd314 [Pipeline] echo [2021-06-16T05:43:36.586Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-16T05:43:37.226Z] + git log --format=format:%s -1 88cd3141a6a48c636225ba9a5751d79cd3e68367 [Pipeline] echo [2021-06-16T05:43:37.282Z] GIT_COMMIT: 88cd3141a6a48c636225ba9a5751d79cd3e68367, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2021-06-16T05:43:37.323Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-16T05:43:40.138Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-16T05:43:40.400Z] [2021-06-16T05:43:40.400Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-16T05:43:40.794Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-16T05:43:40.794Z] latest: Pulling from edgex-devops/git-semver [2021-06-16T05:43:40.794Z] 31603596830f: Pulling fs layer [2021-06-16T05:43:40.794Z] 54011a49482f: Pulling fs layer [2021-06-16T05:43:40.794Z] a6820b24f6d8: Pulling fs layer [2021-06-16T05:43:40.794Z] f581987b2513: Pulling fs layer [2021-06-16T05:43:40.794Z] f581987b2513: Waiting [2021-06-16T05:43:40.794Z] 54011a49482f: Verifying Checksum [2021-06-16T05:43:40.794Z] 54011a49482f: Download complete [2021-06-16T05:43:41.064Z] 31603596830f: Verifying Checksum [2021-06-16T05:43:41.064Z] 31603596830f: Download complete [2021-06-16T05:43:41.064Z] f581987b2513: Verifying Checksum [2021-06-16T05:43:41.064Z] f581987b2513: Download complete [2021-06-16T05:43:41.064Z] a6820b24f6d8: Verifying Checksum [2021-06-16T05:43:41.064Z] a6820b24f6d8: Download complete [2021-06-16T05:43:41.064Z] 31603596830f: Pull complete [2021-06-16T05:43:41.325Z] 54011a49482f: Pull complete [2021-06-16T05:43:41.898Z] a6820b24f6d8: Pull complete [2021-06-16T05:43:41.898Z] f581987b2513: Pull complete [2021-06-16T05:43:41.898Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-16T05:43:41.898Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-16T05:43:42.166Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-16T05:43:42.279Z] prd-centos7-docker-4c-2g-1643 does not seem to be running inside a container [2021-06-16T05:43:42.326Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-899 -v /w/workspace/ndry_app-functions-sdk-go_PR-899:/w/workspace/ndry_app-functions-sdk-go_PR-899:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-899@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-899@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 [2021-06-16T05:43:43.596Z] $ docker top 8e700efcd934fb5599e46601a252d1ef4912bcfd9c2d25615bd6bd194052599e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-16T05:43:43.794Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-16T05:43:43.794Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-16T05:43:43.913Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-16T05:43:43.914Z] $ docker exec 8e700efcd934fb5599e46601a252d1ef4912bcfd9c2d25615bd6bd194052599e ssh-agent [2021-06-16T05:43:44.014Z] SSH_AUTH_SOCK=/tmp/ssh-CvmT1czW45Zz/agent.13 [2021-06-16T05:43:44.014Z] SSH_AGENT_PID=19 [2021-06-16T05:43:44.021Z] Running ssh-add (command line suppressed) [2021-06-16T05:43:44.114Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-899@tmp/private_key_8109996115500325264.key (/w/workspace/ndry_app-functions-sdk-go_PR-899@tmp/private_key_8109996115500325264.key) [2021-06-16T05:43:44.129Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-16T05:43:44.489Z] + git tag --points-at HEAD [Pipeline] } [2021-06-16T05:43:44.512Z] $ docker exec --env ******** --env ******** 8e700efcd934fb5599e46601a252d1ef4912bcfd9c2d25615bd6bd194052599e ssh-agent -k [2021-06-16T05:43:44.608Z] unset SSH_AUTH_SOCK; [2021-06-16T05:43:44.608Z] unset SSH_AGENT_PID; [2021-06-16T05:43:44.608Z] echo Agent pid 19 killed; [2021-06-16T05:43:44.620Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-16T05:43:44.718Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-16T05:43:44.719Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-16T05:43:44.819Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-16T05:43:44.819Z] $ docker exec 8e700efcd934fb5599e46601a252d1ef4912bcfd9c2d25615bd6bd194052599e ssh-agent [2021-06-16T05:43:44.913Z] SSH_AUTH_SOCK=/tmp/ssh-jbk9qEMBBlPb/agent.52 [2021-06-16T05:43:44.913Z] SSH_AGENT_PID=58 [2021-06-16T05:43:44.921Z] Running ssh-add (command line suppressed) [2021-06-16T05:43:45.012Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-899@tmp/private_key_3345725838199257434.key (/w/workspace/ndry_app-functions-sdk-go_PR-899@tmp/private_key_3345725838199257434.key) [2021-06-16T05:43:45.028Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-16T05:43:45.376Z] + git semver init [2021-06-16T05:43:45.376Z] # -> Open(): unable to determine branch for HEAD [2021-06-16T05:43:45.376Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-899/.git [2021-06-16T05:43:45.376Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-899 [2021-06-16T05:43:45.376Z] # $SEMVER_REMOTE_NAME = origin [2021-06-16T05:43:45.376Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-16T05:43:45.376Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-16T05:43:45.376Z] # $SEMVER_BRANCH = PR-899 [2021-06-16T05:43:45.376Z] # $SEMVER_TEMP = /tmp/semver-947280420 [2021-06-16T05:43:45.376Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-06-16T05:43:47.294Z] # '/tmp/semver-947280420' -> '/w/workspace/ndry_app-functions-sdk-go_PR-899/.semver' [2021-06-16T05:43:47.294Z] # -> Force: false [2021-06-16T05:43:47.294Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-899/.semver [Pipeline] } [2021-06-16T05:43:47.314Z] $ docker exec --env ******** --env ******** 8e700efcd934fb5599e46601a252d1ef4912bcfd9c2d25615bd6bd194052599e ssh-agent -k [2021-06-16T05:43:47.408Z] unset SSH_AUTH_SOCK; [2021-06-16T05:43:47.409Z] unset SSH_AGENT_PID; [2021-06-16T05:43:47.409Z] echo Agent pid 58 killed; [2021-06-16T05:43:47.428Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-16T05:43:47.887Z] + git semver [Pipeline] } [2021-06-16T05:43:47.916Z] $ docker stop --time=1 8e700efcd934fb5599e46601a252d1ef4912bcfd9c2d25615bd6bd194052599e [2021-06-16T05:43:49.459Z] $ docker rm -f 8e700efcd934fb5599e46601a252d1ef4912bcfd9c2d25615bd6bd194052599e [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-16T05:43:49.901Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-16T05:43:50.246Z] Stashed 1 file(s) [Pipeline] echo [2021-06-16T05:43:50.270Z] [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 [2021-06-16T05:44:05.936Z] Still waiting to schedule task [2021-06-16T05:44:05.937Z] ‘prd-centos7-blackbox-4c-2g-591’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-16T05:44:05.937Z] ‘prd-centos7-docker-4c-2g-1642’ is offline [2021-06-16T05:44:05.938Z] ‘prd-centos7-docker-4c-2g-1644’ is offline [2021-06-16T05:44:05.966Z] Still waiting to schedule task [2021-06-16T05:44:05.966Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1641’ [2021-06-16T05:47:30.156Z] Running on prd-centos7-docker-4c-2g-1646 in /w/workspace/ndry_app-functions-sdk-go_PR-899 [Pipeline] { [Pipeline] ws [2021-06-16T05:47:30.217Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-06-16T05:47:30.381Z] The recommended git tool is: git [2021-06-16T05:47:35.118Z] using credential edgex-jenkins-ssh [2021-06-16T05:47:35.133Z] Cloning the remote Git repository [2021-06-16T05:47:36.091Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1645 in /w/workspace/ndry_app-functions-sdk-go_PR-899 [Pipeline] { [Pipeline] ws [2021-06-16T05:47:36.154Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [2021-06-16T05:47:35.162Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-16T05:47:35.231Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-06-16T05:47:35.258Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-16T05:47:35.258Z] > git --version # timeout=10 [2021-06-16T05:47:35.272Z] > git --version # 'git version 2.24.4' [2021-06-16T05:47:35.272Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-16T05:47:35.296Z] [INFO] Currently running in a labeled security context [2021-06-16T05:47:35.297Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-16T05:47:35.297Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh1716078775079739285.key [2021-06-16T05:47:35.352Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] checkout [2021-06-16T05:47:36.407Z] The recommended git tool is: git [2021-06-16T05:47:37.339Z] Merging remotes/origin/master commit 86d8c8cfb612f93dc4efeca806267a6dc2c52eff into PR head commit 88cd3141a6a48c636225ba9a5751d79cd3e68367 [2021-06-16T05:47:37.434Z] Merge succeeded, producing 88cd3141a6a48c636225ba9a5751d79cd3e68367 [2021-06-16T05:47:37.434Z] Checking out Revision 88cd3141a6a48c636225ba9a5751d79cd3e68367 (PR-899) [2021-06-16T05:47:36.888Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-16T05:47:36.902Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-16T05:47:36.913Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-16T05:47:36.930Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-16T05:47:36.930Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-16T05:47:36.931Z] [INFO] Currently running in a labeled security context [2021-06-16T05:47:36.931Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-16T05:47:36.931Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh8709096819188062205.key [2021-06-16T05:47:36.938Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/899/head:refs/remotes/origin/PR-899 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-16T05:47:37.347Z] > git config core.sparsecheckout # timeout=10 [2021-06-16T05:47:37.355Z] > git checkout -f 88cd3141a6a48c636225ba9a5751d79cd3e68367 # timeout=10 [2021-06-16T05:47:37.393Z] > git remote # timeout=10 [2021-06-16T05:47:37.402Z] > git config --get remote.origin.url # timeout=10 [2021-06-16T05:47:37.410Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-16T05:47:37.412Z] [INFO] Currently running in a labeled security context [2021-06-16T05:47:37.412Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-16T05:47:37.412Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh2886798357604253900.key [2021-06-16T05:47:37.417Z] > git merge 86d8c8cfb612f93dc4efeca806267a6dc2c52eff # timeout=10 [2021-06-16T05:47:37.426Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-16T05:47:37.435Z] > git config core.sparsecheckout # timeout=10 [2021-06-16T05:47:37.448Z] > git checkout -f 88cd3141a6a48c636225ba9a5751d79cd3e68367 # timeout=10 [2021-06-16T05:47:41.040Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-06-16T05:47:41.064Z] > git --version # timeout=10 [2021-06-16T05:47:41.070Z] > git --version # 'git version 2.24.4' [2021-06-16T05:47:41.077Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-16T05:47:41.248Z] using credential edgex-jenkins-ssh [2021-06-16T05:47:41.275Z] Cloning the remote Git repository [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-16T05:47:41.324Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-16T05:47:41.425Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-06-16T05:47:41.484Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-16T05:47:41.485Z] > git --version # timeout=10 [2021-06-16T05:47:41.503Z] > git --version # 'git version 2.17.1' [2021-06-16T05:47:41.504Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-16T05:47:41.619Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-16T05:47:42.541Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-16T05:47:42.909Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-16T05:47:43.235Z] + sudo service docker restart [2021-06-16T05:47:43.236Z] + true [2021-06-16T05:47:43.236Z] Redirecting to /bin/systemctl restart docker.service [2021-06-16T05:47:44.629Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-16T05:47:44.644Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-16T05:47:44.666Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-16T05:47:44.694Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-16T05:47:44.695Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-16T05:47:44.706Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/899/head:refs/remotes/origin/PR-899 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-16T05:47:45.200Z] Merging remotes/origin/master commit 86d8c8cfb612f93dc4efeca806267a6dc2c52eff into PR head commit 88cd3141a6a48c636225ba9a5751d79cd3e68367 [2021-06-16T05:47:45.399Z] Merge succeeded, producing 88cd3141a6a48c636225ba9a5751d79cd3e68367 [2021-06-16T05:47:45.400Z] Checking out Revision 88cd3141a6a48c636225ba9a5751d79cd3e68367 (PR-899) [2021-06-16T05:47:45.216Z] > git config core.sparsecheckout # timeout=10 [2021-06-16T05:47:45.230Z] > git checkout -f 88cd3141a6a48c636225ba9a5751d79cd3e68367 # timeout=10 [2021-06-16T05:47:45.329Z] > git remote # timeout=10 [2021-06-16T05:47:45.344Z] > git config --get remote.origin.url # timeout=10 [2021-06-16T05:47:45.356Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-16T05:47:45.366Z] > git merge 86d8c8cfb612f93dc4efeca806267a6dc2c52eff # timeout=10 [2021-06-16T05:47:45.385Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-16T05:47:45.403Z] > git config core.sparsecheckout # timeout=10 [2021-06-16T05:47:45.413Z] > git checkout -f 88cd3141a6a48c636225ba9a5751d79cd3e68367 # timeout=10 [2021-06-16T05:47:49.587Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-06-16T05:47:49.647Z] > git --version # timeout=10 [2021-06-16T05:47:49.659Z] > git --version # 'git version 2.17.1' [2021-06-16T05:47:49.676Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-16T05:47:53.553Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-16T05:47:53.980Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-16T05:47:54.367Z] + sudo service docker restart [2021-06-16T05:47:54.367Z] + true [Pipeline] unstash [Pipeline] echo [2021-06-16T05:48:02.659Z] ========================================================= [2021-06-16T05:48:02.660Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-16T05:48:02.660Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-16T05:48:03.036Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-06-16T05:48:03.615Z] Sending build context to Docker daemon 19.81MB [2021-06-16T05:48:03.615Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-16T05:48:03.615Z] Step 2/8 : FROM ${BASE} [2021-06-16T05:48:03.879Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-16T05:48:03.879Z] 540db60ca938: Pulling fs layer [2021-06-16T05:48:03.879Z] adcc1eea9eea: Pulling fs layer [2021-06-16T05:48:03.879Z] 4c4ab2625f07: Pulling fs layer [2021-06-16T05:48:03.879Z] 0510c868ecb4: Pulling fs layer [2021-06-16T05:48:03.879Z] afea3b2eda06: Pulling fs layer [2021-06-16T05:48:03.879Z] 7809a108b3ef: Pulling fs layer [2021-06-16T05:48:03.879Z] f706445af74f: Pulling fs layer [2021-06-16T05:48:03.879Z] 0510c868ecb4: Waiting [2021-06-16T05:48:03.879Z] afea3b2eda06: Waiting [2021-06-16T05:48:03.879Z] 7809a108b3ef: Waiting [2021-06-16T05:48:03.879Z] f706445af74f: Waiting [2021-06-16T05:48:03.879Z] 4c4ab2625f07: Verifying Checksum [2021-06-16T05:48:03.879Z] 4c4ab2625f07: Download complete [2021-06-16T05:48:03.879Z] adcc1eea9eea: Verifying Checksum [2021-06-16T05:48:03.879Z] adcc1eea9eea: Download complete [2021-06-16T05:48:03.879Z] afea3b2eda06: Verifying Checksum [2021-06-16T05:48:03.879Z] afea3b2eda06: Download complete [2021-06-16T05:48:03.879Z] 7809a108b3ef: Download complete [2021-06-16T05:48:03.879Z] 540db60ca938: Verifying Checksum [2021-06-16T05:48:03.879Z] 540db60ca938: Download complete [2021-06-16T05:48:04.456Z] 540db60ca938: Pull complete [2021-06-16T05:48:04.457Z] adcc1eea9eea: Pull complete [2021-06-16T05:48:04.720Z] 4c4ab2625f07: Pull complete [2021-06-16T05:48:05.667Z] f706445af74f: Verifying Checksum [2021-06-16T05:48:05.667Z] f706445af74f: Download complete [2021-06-16T05:48:06.242Z] 0510c868ecb4: Verifying Checksum [2021-06-16T05:48:06.242Z] 0510c868ecb4: Download complete [2021-06-16T05:48:10.546Z] 0510c868ecb4: Pull complete [2021-06-16T05:48:10.546Z] afea3b2eda06: Pull complete [2021-06-16T05:48:10.546Z] 7809a108b3ef: Pull complete [2021-06-16T05:48:12.482Z] f706445af74f: Pull complete [2021-06-16T05:48:12.482Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-16T05:48:12.482Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-16T05:48:12.482Z] ---> b068be0155e3 [2021-06-16T05:48:12.482Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-06-16T05:48:12.482Z] 20.10.0: Pulling from library/docker [Pipeline] unstash [2021-06-16T05:48:12.743Z] 05e7bc50f07f: Pulling fs layer [2021-06-16T05:48:12.743Z] 6db28d0fdbf6: Pulling fs layer [2021-06-16T05:48:12.744Z] 292df0bc6bf3: Pulling fs layer [2021-06-16T05:48:12.744Z] 2e060f4bd70b: Pulling fs layer [2021-06-16T05:48:12.744Z] 80e8d568a223: Pulling fs layer [2021-06-16T05:48:12.744Z] 8dc6ef1a942a: Pulling fs layer [2021-06-16T05:48:12.744Z] 2312dd95470a: Pulling fs layer [2021-06-16T05:48:12.744Z] 80e8d568a223: Waiting [2021-06-16T05:48:12.744Z] 8dc6ef1a942a: Waiting [2021-06-16T05:48:12.744Z] 2312dd95470a: Waiting [2021-06-16T05:48:12.744Z] 2e060f4bd70b: Waiting [2021-06-16T05:48:13.007Z] 292df0bc6bf3: Verifying Checksum [2021-06-16T05:48:13.007Z] 292df0bc6bf3: Download complete [Pipeline] echo [2021-06-16T05:48:13.163Z] ========================================================= [2021-06-16T05:48:13.163Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-16T05:48:13.163Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-16T05:48:13.270Z] 6db28d0fdbf6: Verifying Checksum [2021-06-16T05:48:13.271Z] 6db28d0fdbf6: Download complete [2021-06-16T05:48:13.271Z] 05e7bc50f07f: Verifying Checksum [2021-06-16T05:48:13.271Z] 05e7bc50f07f: Download complete [2021-06-16T05:48:13.538Z] 80e8d568a223: Verifying Checksum [2021-06-16T05:48:13.538Z] 80e8d568a223: Download complete [2021-06-16T05:48:13.538Z] 8dc6ef1a942a: Verifying Checksum [2021-06-16T05:48:13.538Z] 8dc6ef1a942a: Download complete [2021-06-16T05:48:13.538Z] 05e7bc50f07f: Pull complete [2021-06-16T05:48:13.589Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-06-16T05:48:13.800Z] 2312dd95470a: Verifying Checksum [2021-06-16T05:48:13.800Z] 2312dd95470a: Download complete [2021-06-16T05:48:14.063Z] 6db28d0fdbf6: Pull complete [2021-06-16T05:48:14.063Z] 292df0bc6bf3: Pull complete [2021-06-16T05:48:14.590Z] Sending build context to Docker daemon 19.81MB [2021-06-16T05:48:14.590Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-16T05:48:14.590Z] Step 2/8 : FROM ${BASE} [2021-06-16T05:48:15.191Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-16T05:48:15.192Z] 595b0fe564bb: Pulling fs layer [2021-06-16T05:48:15.192Z] 3088b5b3c5c0: Pulling fs layer [2021-06-16T05:48:15.192Z] 5b7225fbf94c: Pulling fs layer [2021-06-16T05:48:15.192Z] ba82ee9f976e: Pulling fs layer [2021-06-16T05:48:15.192Z] 506bd15cee9f: Pulling fs layer [2021-06-16T05:48:15.192Z] 75a0a4a0db45: Pulling fs layer [2021-06-16T05:48:15.192Z] 618dc40b7e24: Pulling fs layer [2021-06-16T05:48:15.192Z] 506bd15cee9f: Waiting [2021-06-16T05:48:15.192Z] 75a0a4a0db45: Waiting [2021-06-16T05:48:15.192Z] ba82ee9f976e: Waiting [2021-06-16T05:48:15.192Z] 618dc40b7e24: Waiting [2021-06-16T05:48:15.192Z] 5b7225fbf94c: Verifying Checksum [2021-06-16T05:48:15.192Z] 5b7225fbf94c: Download complete [2021-06-16T05:48:15.192Z] 3088b5b3c5c0: Verifying Checksum [2021-06-16T05:48:15.192Z] 3088b5b3c5c0: Download complete [2021-06-16T05:48:15.192Z] 506bd15cee9f: Verifying Checksum [2021-06-16T05:48:15.192Z] 506bd15cee9f: Download complete [2021-06-16T05:48:15.192Z] 75a0a4a0db45: Verifying Checksum [2021-06-16T05:48:15.192Z] 75a0a4a0db45: Download complete [2021-06-16T05:48:15.192Z] 595b0fe564bb: Verifying Checksum [2021-06-16T05:48:15.192Z] 595b0fe564bb: Download complete [2021-06-16T05:48:16.201Z] 595b0fe564bb: Pull complete [2021-06-16T05:48:16.804Z] 3088b5b3c5c0: Pull complete [2021-06-16T05:48:17.079Z] 5b7225fbf94c: Pull complete [2021-06-16T05:48:17.684Z] 618dc40b7e24: Verifying Checksum [2021-06-16T05:48:17.684Z] 618dc40b7e24: Download complete [2021-06-16T05:48:18.280Z] 2e060f4bd70b: Verifying Checksum [2021-06-16T05:48:18.280Z] 2e060f4bd70b: Download complete [2021-06-16T05:48:19.123Z] ba82ee9f976e: Verifying Checksum [2021-06-16T05:48:19.123Z] ba82ee9f976e: Download complete [2021-06-16T05:48:22.553Z] 2e060f4bd70b: Pull complete [2021-06-16T05:48:22.553Z] 80e8d568a223: Pull complete [2021-06-16T05:48:22.553Z] 8dc6ef1a942a: Pull complete [2021-06-16T05:48:22.553Z] 2312dd95470a: Pull complete [2021-06-16T05:48:22.553Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-06-16T05:48:22.553Z] Status: Downloaded newer image for docker:20.10.0 [2021-06-16T05:48:29.687Z] ---> db13ebb9e9ed [2021-06-16T05:48:29.687Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-16T05:48:29.687Z] ---> Running in 8d9aceec68e5 [2021-06-16T05:48:29.687Z] Removing intermediate container 8d9aceec68e5 [2021-06-16T05:48:29.687Z] ---> af9909ffc0ac [2021-06-16T05:48:29.687Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-06-16T05:48:29.687Z] ---> Running in 438696716c7a [2021-06-16T05:48:29.687Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-16T05:48:29.700Z] ba82ee9f976e: Pull complete [2021-06-16T05:48:29.700Z] 506bd15cee9f: Pull complete [2021-06-16T05:48:29.700Z] 75a0a4a0db45: Pull complete [2021-06-16T05:48:29.951Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-16T05:48:30.905Z] (1/5) Installing libsodium (1.0.18-r0) [2021-06-16T05:48:30.905Z] (2/5) Installing libzmq (4.3.3-r1) [2021-06-16T05:48:30.905Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-06-16T05:48:31.167Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-06-16T05:48:31.167Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-06-16T05:48:31.167Z] Executing busybox-1.32.1-r6.trigger [2021-06-16T05:48:31.167Z] OK: 150 MiB in 45 packages [2021-06-16T05:48:32.123Z] Removing intermediate container 438696716c7a [2021-06-16T05:48:32.123Z] ---> c53c6a141c49 [2021-06-16T05:48:32.123Z] Step 6/8 : WORKDIR /build [2021-06-16T05:48:32.123Z] ---> Running in e39a282771f3 [2021-06-16T05:48:32.123Z] Removing intermediate container e39a282771f3 [2021-06-16T05:48:32.123Z] ---> fd0763c12f71 [2021-06-16T05:48:32.123Z] Step 7/8 : COPY go.mod . [2021-06-16T05:48:32.394Z] ---> 0126ca5b573f [2021-06-16T05:48:32.394Z] Step 8/8 : RUN go mod download [2021-06-16T05:48:32.394Z] ---> Running in 9b675a175f67 [2021-06-16T05:48:34.033Z] 618dc40b7e24: Pull complete [2021-06-16T05:48:34.033Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-16T05:48:34.033Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-16T05:48:34.033Z] ---> a36622ca3599 [2021-06-16T05:48:34.033Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-06-16T05:48:34.033Z] 20.10.0: Pulling from library/docker [2021-06-16T05:48:34.304Z] a3cc7d3b244e: Pulling fs layer [2021-06-16T05:48:34.304Z] 02a3295e0d61: Pulling fs layer [2021-06-16T05:48:34.304Z] 0f4f2e6d8100: Pulling fs layer [2021-06-16T05:48:34.304Z] 330b718f631f: Pulling fs layer [2021-06-16T05:48:34.304Z] a93816041522: Pulling fs layer [2021-06-16T05:48:34.304Z] bdb6da89ff94: Pulling fs layer [2021-06-16T05:48:34.304Z] 2a70c0c122f4: Pulling fs layer [2021-06-16T05:48:34.304Z] 330b718f631f: Waiting [2021-06-16T05:48:34.304Z] a93816041522: Waiting [2021-06-16T05:48:34.304Z] bdb6da89ff94: Waiting [2021-06-16T05:48:34.304Z] 2a70c0c122f4: Waiting [2021-06-16T05:48:34.304Z] 0f4f2e6d8100: Verifying Checksum [2021-06-16T05:48:34.304Z] 0f4f2e6d8100: Download complete [2021-06-16T05:48:34.576Z] 02a3295e0d61: Verifying Checksum [2021-06-16T05:48:34.576Z] 02a3295e0d61: Download complete [2021-06-16T05:48:34.576Z] a3cc7d3b244e: Verifying Checksum [2021-06-16T05:48:34.576Z] a3cc7d3b244e: Download complete [2021-06-16T05:48:34.851Z] a93816041522: Download complete [2021-06-16T05:48:34.851Z] bdb6da89ff94: Verifying Checksum [2021-06-16T05:48:34.851Z] bdb6da89ff94: Download complete [2021-06-16T05:48:34.851Z] 2a70c0c122f4: Verifying Checksum [2021-06-16T05:48:34.851Z] 2a70c0c122f4: Download complete [2021-06-16T05:48:35.448Z] a3cc7d3b244e: Pull complete [2021-06-16T05:48:36.047Z] 02a3295e0d61: Pull complete [2021-06-16T05:48:36.321Z] 0f4f2e6d8100: Pull complete [2021-06-16T05:48:39.697Z] 330b718f631f: Verifying Checksum [2021-06-16T05:48:39.697Z] 330b718f631f: Download complete [2021-06-16T05:48:44.079Z] 330b718f631f: Pull complete [2021-06-16T05:48:44.079Z] a93816041522: Pull complete [2021-06-16T05:48:44.079Z] bdb6da89ff94: Pull complete [2021-06-16T05:48:44.349Z] 2a70c0c122f4: Pull complete [2021-06-16T05:48:44.349Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-06-16T05:48:44.349Z] Status: Downloaded newer image for docker:20.10.0 [2021-06-16T05:48:49.758Z] ---> b0f7a3375b65 [2021-06-16T05:48:49.758Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-16T05:48:49.758Z] ---> Running in a276ee1f8c82 [2021-06-16T05:48:50.033Z] Removing intermediate container a276ee1f8c82 [2021-06-16T05:48:50.033Z] ---> 8ea83e1eff5e [2021-06-16T05:48:50.033Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-06-16T05:48:52.011Z] ---> Running in e2ae7f449cce [2021-06-16T05:48:52.011Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-16T05:48:52.011Z] Removing intermediate container 9b675a175f67 [2021-06-16T05:48:52.011Z] ---> 732af661d85d [2021-06-16T05:48:52.011Z] Successfully built 732af661d85d [2021-06-16T05:48:52.011Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-16T05:48:52.368Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-16T05:48:52.368Z] . [Pipeline] withDockerContainer [2021-06-16T05:48:52.476Z] prd-centos7-docker-4c-2g-1646 does not seem to be running inside a container [2021-06-16T05:48:52.523Z] $ 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 [2021-06-16T05:48:52.605Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-16T05:48:52.954Z] $ docker top ffadad0e1bfc225a65f4107aaa62729ade27725d95a147fc8171a969f5e3b4e8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-16T05:48:53.418Z] + go version [2021-06-16T05:48:53.419Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-16T05:48:53.448Z] $ docker stop --time=1 ffadad0e1bfc225a65f4107aaa62729ade27725d95a147fc8171a969f5e3b4e8 [2021-06-16T05:48:53.584Z] (1/5) Installing libsodium (1.0.18-r0) [2021-06-16T05:48:53.584Z] (2/5) Installing libzmq (4.3.3-r1) [2021-06-16T05:48:53.584Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-06-16T05:48:53.855Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-06-16T05:48:53.855Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-06-16T05:48:54.130Z] Executing busybox-1.32.1-r6.trigger [2021-06-16T05:48:54.130Z] OK: 139 MiB in 45 packages [2021-06-16T05:48:54.679Z] $ docker rm -f ffadad0e1bfc225a65f4107aaa62729ade27725d95a147fc8171a969f5e3b4e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2021-06-16T05:48:55.108Z] Removing intermediate container e2ae7f449cce [2021-06-16T05:48:55.108Z] ---> 805983b124cf [2021-06-16T05:48:55.108Z] Step 6/8 : WORKDIR /build [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-16T05:48:55.383Z] ---> Running in e8b735305433 [2021-06-16T05:48:55.607Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-16T05:48:55.607Z] . [Pipeline] withDockerContainer [2021-06-16T05:48:55.715Z] prd-centos7-docker-4c-2g-1646 does not seem to be running inside a container [2021-06-16T05:48:55.769Z] $ 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 [2021-06-16T05:48:55.980Z] Removing intermediate container e8b735305433 [2021-06-16T05:48:55.980Z] ---> d69b9342120b [2021-06-16T05:48:55.980Z] Step 7/8 : COPY go.mod . [2021-06-16T05:48:56.206Z] $ docker top 87793457b7f77b58b29bc279c1f351a568cb51c2fbc0a99c2a9007b8db4e78a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-16T05:48:56.586Z] ---> 8ac5e760fa45 [2021-06-16T05:48:56.586Z] Step 8/8 : RUN go mod download [2021-06-16T05:48:56.681Z] + go mod tidy [2021-06-16T05:48:56.878Z] ---> Running in 44e9c21ce0bc [Pipeline] sh [2021-06-16T05:48:57.293Z] + make test [2021-06-16T05:48:57.293Z] make -C ./app-service-template build [2021-06-16T05:48:57.293Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-06-16T05:48:57.293Z] go mod tidy [2021-06-16T05:48:57.560Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.52 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-06-16T05:49:09.908Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-06-16T05:49:09.908Z] make -C ./app-service-template test [2021-06-16T05:49:09.908Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-06-16T05:49:09.908Z] go mod tidy [2021-06-16T05:49:09.908Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-06-16T05:49:19.970Z] ok new-app-service 0.019s coverage: 47.8% of statements [2021-06-16T05:49:19.970Z] ? new-app-service/config [no test files] [2021-06-16T05:49:19.971Z] ok new-app-service/functions 0.009s [2021-06-16T05:49:19.971Z] CGO_ENABLED=1 go vet ./... [2021-06-16T05:49:21.144Z] Removing intermediate container 44e9c21ce0bc [2021-06-16T05:49:21.144Z] ---> c102a7116817 [2021-06-16T05:49:21.144Z] Successfully built c102a7116817 [2021-06-16T05:49:21.144Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-16T05:49:21.532Z] + docker inspect -f . ci-base-image-arm64 [2021-06-16T05:49:21.532Z] . [Pipeline] withDockerContainer [2021-06-16T05:49:21.792Z] prd-ubuntu18.04-docker-arm64-4c-16g-1645 does not seem to be running inside a container [2021-06-16T05:49:21.884Z] $ 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-arm64 cat [2021-06-16T05:49:23.381Z] $ docker top a40e3880e82c9b41a8217f7b3389af02a0805f54c0236114b15fbe8989a05091 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-16T05:49:24.389Z] + go version [2021-06-16T05:49:24.389Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-16T05:49:24.439Z] $ docker stop --time=1 a40e3880e82c9b41a8217f7b3389af02a0805f54c0236114b15fbe8989a05091 [2021-06-16T05:49:26.686Z] $ docker rm -f a40e3880e82c9b41a8217f7b3389af02a0805f54c0236114b15fbe8989a05091 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-16T05:49:27.767Z] + docker inspect -f . ci-base-image-arm64 [2021-06-16T05:49:27.767Z] . [Pipeline] withDockerContainer [2021-06-16T05:49:28.049Z] prd-ubuntu18.04-docker-arm64-4c-16g-1645 does not seem to be running inside a container [2021-06-16T05:49:28.149Z] $ 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-arm64 cat [2021-06-16T05:49:28.177Z] gofmt -l . [2021-06-16T05:49:28.177Z] [ "`gofmt -l .`" = "" ] [2021-06-16T05:49:28.177Z] ./bin/test-attribution-txt.sh [2021-06-16T05:49:28.177Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-06-16T05:49:28.177Z] go mod tidy [2021-06-16T05:49:28.177Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-06-16T05:49:28.177Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-06-16T05:49:29.596Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.017s coverage: 63.6% of statements [2021-06-16T05:49:29.596Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.012s coverage: 96.5% of statements [2021-06-16T05:49:29.596Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-06-16T05:49:29.672Z] $ docker top d7c25664b176a0b281866bc2f901411e5e45a16f3f606d968b4e6cf289dedb1f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-16T05:49:30.178Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.016s coverage: 61.8% of statements [2021-06-16T05:49:30.178Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-06-16T05:49:30.178Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.008s [2021-06-16T05:49:30.661Z] + go mod tidy [2021-06-16T05:49:30.762Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.024s coverage: 74.5% of statements [2021-06-16T05:49:30.762Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-06-16T05:49:30.762Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-06-16T05:49:30.762Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-06-16T05:49:30.762Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-06-16T05:49:30.762Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-06-16T05:49:30.762Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-06-16T05:49:30.762Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.007s coverage: 97.1% of statements [2021-06-16T05:49:30.762Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [Pipeline] sh [2021-06-16T05:49:31.345Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.008s coverage: 10.5% of statements [2021-06-16T05:49:31.948Z] + make test [2021-06-16T05:49:31.948Z] make -C ./app-service-template build [2021-06-16T05:49:31.948Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-06-16T05:49:31.948Z] go mod tidy [2021-06-16T05:49:32.543Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.52 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-06-16T05:49:34.675Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.738s coverage: 76.1% of statements [2021-06-16T05:49:34.675Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-06-16T05:49:34.675Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.012s coverage: 12.5% of statements [2021-06-16T05:49:34.675Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.012s coverage: 27.3% of statements [2021-06-16T05:49:34.675Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-06-16T05:49:34.675Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-06-16T05:49:34.675Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.009s coverage: 51.4% of statements [2021-06-16T05:50:01.654Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.129s coverage: 78.0% of statements [2021-06-16T05:50:01.654Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.008s coverage: 94.4% of statements [2021-06-16T05:50:01.654Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-16T05:50:01.654Z] gofmt -l . [2021-06-16T05:50:01.654Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-06-16T05:50:01.686Z] $ docker stop --time=1 87793457b7f77b58b29bc279c1f351a568cb51c2fbc0a99c2a9007b8db4e78a7 [2021-06-16T05:50:03.061Z] $ docker rm -f 87793457b7f77b58b29bc279c1f351a568cb51c2fbc0a99c2a9007b8db4e78a7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-16T05:50:03.557Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-16T05:50:03.797Z] Stashed 2 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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-16T05:50:05.113Z] ---> job-cost.sh [2021-06-16T05:50:05.114Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Tv1k [2021-06-16T05:50:11.596Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-06-16T05:50:11.596Z] make -C ./app-service-template test [2021-06-16T05:50:11.596Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-06-16T05:50:11.596Z] go mod tidy [2021-06-16T05:50:11.596Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-06-16T05:50:15.147Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-16T05:50:30.121Z] lf-activate-venv(): INFO: Adding /tmp/venv-Tv1k/bin to PATH [2021-06-16T05:50:30.121Z] INFO: No Stack... [2021-06-16T05:50:30.121Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-16T05:50:30.121Z] INFO: Archiving Costs [Pipeline] sh [2021-06-16T05:50:30.460Z] + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv [2021-06-16T05:50:30.460Z] + cut -d, -f6 [Pipeline] lock [2021-06-16T05:50:30.537Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-899-1-stack-cost] [2021-06-16T05:50:30.550Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-899-1-stack-cost] did not exist. Created. [2021-06-16T05:50:30.550Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-899-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-16T05:50:30.975Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-16T05:50:31.079Z] Stashed 1 file(s) [Pipeline] } [2021-06-16T05:50:31.102Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-899-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-16T05:50:38.459Z] ok new-app-service 0.042s coverage: 47.8% of statements [2021-06-16T05:50:38.459Z] ? new-app-service/config [no test files] [2021-06-16T05:50:38.459Z] ok new-app-service/functions 0.048s [2021-06-16T05:50:38.459Z] CGO_ENABLED=1 go vet ./... [2021-06-16T05:51:01.536Z] gofmt -l . [2021-06-16T05:51:01.536Z] [ "`gofmt -l .`" = "" ] [2021-06-16T05:51:01.536Z] ./bin/test-attribution-txt.sh [2021-06-16T05:51:02.979Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-06-16T05:51:02.979Z] go mod tidy [2021-06-16T05:51:03.582Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-06-16T05:51:05.022Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-06-16T05:51:13.344Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.106s coverage: 63.6% of statements [2021-06-16T05:51:13.344Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.082s coverage: 96.5% of statements [2021-06-16T05:51:13.344Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-06-16T05:51:13.344Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.108s coverage: 61.8% of statements [2021-06-16T05:51:13.344Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-06-16T05:51:13.344Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.066s [2021-06-16T05:51:13.619Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.114s coverage: 74.5% of statements [2021-06-16T05:51:13.619Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-06-16T05:51:13.619Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-06-16T05:51:13.619Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-06-16T05:51:13.619Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-06-16T05:51:13.619Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-06-16T05:51:13.619Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-06-16T05:51:13.619Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.054s coverage: 97.1% of statements [2021-06-16T05:51:13.619Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-06-16T05:51:13.913Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.123s coverage: 10.5% of statements [2021-06-16T05:51:22.326Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.861s coverage: 76.1% of statements [2021-06-16T05:51:22.326Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-06-16T05:51:22.326Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.081s coverage: 12.5% of statements [2021-06-16T05:51:22.326Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.117s coverage: 27.3% of statements [2021-06-16T05:51:22.326Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-06-16T05:51:22.326Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-06-16T05:51:22.326Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.039s coverage: 51.4% of statements [2021-06-16T05:51:49.089Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.109s coverage: 78.0% of statements [2021-06-16T05:51:49.089Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.038s coverage: 94.4% of statements [2021-06-16T05:51:49.089Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-16T05:51:51.068Z] gofmt -l . [2021-06-16T05:51:51.068Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-06-16T05:51:51.411Z] $ docker stop --time=1 d7c25664b176a0b281866bc2f901411e5e45a16f3f606d968b4e6cf289dedb1f [2021-06-16T05:51:53.410Z] $ docker rm -f d7c25664b176a0b281866bc2f901411e5e45a16f3f606d968b4e6cf289dedb1f [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-16T05:51:54.379Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-16T05:51:54.422Z] Warning: overwriting stash ‘coverage-report’ [2021-06-16T05:51:55.002Z] Stashed 2 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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-16T05:51:56.052Z] ---> job-cost.sh [2021-06-16T05:51:56.052Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-1sxM [2021-06-16T05:52:35.779Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-16T05:53:57.497Z] lf-activate-venv(): INFO: Adding /tmp/venv-1sxM/bin to PATH [2021-06-16T05:53:57.497Z] INFO: No Stack... [2021-06-16T05:53:57.497Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-16T05:53:57.497Z] INFO: Archiving Costs [Pipeline] sh [2021-06-16T05:53:57.859Z] + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv [2021-06-16T05:53:57.859Z] + cut -d, -f6 [Pipeline] lock [2021-06-16T05:53:57.953Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-899-1-stack-cost] [2021-06-16T05:53:57.958Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-899-1-stack-cost] did not exist. Created. [2021-06-16T05:53:57.958Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-899-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-16T05:54:00.485Z] /w/workspace/app-functions-sdk-go/1@tmp/durable-f53ccd40/script.sh: 1: /w/workspace/app-functions-sdk-go/1@tmp/durable-f53ccd40/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-16T05:54:00.849Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-16T05:54:00.890Z] Warning: overwriting stash ‘stack-cost’ [2021-06-16T05:54:01.047Z] Stashed 1 file(s) [Pipeline] } [2021-06-16T05:54:01.067Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-899-1-stack-cost] [Pipeline] // lock [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] configFileProvider [2021-06-16T05:54:02.276Z] provisioning config files... [2021-06-16T05:54:02.291Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-899@tmp/config6577821194891955045tmp [Pipeline] { [Pipeline] sh [2021-06-16T05:54:02.652Z] + set +x [2021-06-16T05:54:02.652Z] + bash -s -- [2021-06-16T05:54:02.652Z] + curl -s https://codecov.io/bash [2021-06-16T05:54:02.652Z] [2021-06-16T05:54:02.652Z] _____ _ [2021-06-16T05:54:02.652Z] / ____| | | [2021-06-16T05:54:02.652Z] | | ___ __| | ___ ___ _____ __ [2021-06-16T05:54:02.652Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-16T05:54:02.652Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-16T05:54:02.652Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-16T05:54:02.652Z] Bash-1.0.3 [2021-06-16T05:54:02.652Z] [2021-06-16T05:54:02.652Z] [2021-06-16T05:54:02.652Z] ==> git version 2.24.4 found [2021-06-16T05:54:02.652Z] ==> 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 [2021-06-16T05:54:02.652Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-16T05:54:02.652Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-16T05:54:02.918Z] ==> Jenkins CI detected. [2021-06-16T05:54:02.918Z] project root: . [2021-06-16T05:54:02.918Z] --> token set from env [2021-06-16T05:54:02.918Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-16T05:54:02.918Z] ==> Running gcov in . (disable via -X gcov) [2021-06-16T05:54:02.918Z] ==> Python coveragepy not found [2021-06-16T05:54:02.918Z] ==> Searching for coverage reports in: [2021-06-16T05:54:02.918Z] + . [2021-06-16T05:54:02.918Z] -> Found 2 reports [2021-06-16T05:54:02.918Z] ==> Detecting git/mercurial file structure [2021-06-16T05:54:02.918Z] ==> Reading reports [2021-06-16T05:54:02.918Z] + ./app-service-template/coverage.out bytes=1055 [2021-06-16T05:54:02.918Z] + ./coverage.out bytes=95090 [2021-06-16T05:54:02.918Z] ==> Appending adjustments [2021-06-16T05:54:02.918Z] https://docs.codecov.io/docs/fixing-reports [2021-06-16T05:54:03.187Z] + Found adjustments [2021-06-16T05:54:03.187Z] ==> Gzipping contents [2021-06-16T05:54:03.187Z] 20K /tmp/codecov.y9cnLY.gz [2021-06-16T05:54:03.187Z] ==> Uploading reports [2021-06-16T05:54:03.187Z] url: https://codecov.io [2021-06-16T05:54:03.187Z] query: branch=PR-899&commit=88cd3141a6a48c636225ba9a5751d79cd3e68367&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-899%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=899&job=&cmd_args= [2021-06-16T05:54:03.187Z] -> Pinging Codecov [2021-06-16T05:54:03.187Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-899&commit=88cd3141a6a48c636225ba9a5751d79cd3e68367&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-899%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=899&job=&cmd_args= [2021-06-16T05:54:05.124Z] -> Uploading to [2021-06-16T05:54:05.124Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-16/3D8B5DFFC46A037C893635FACE044666/88cd3141a6a48c636225ba9a5751d79cd3e68367/32813544-ba74-465b-9f06-cb2b2adc09a3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210616%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210616T055404Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4dee9fe395af0e66e3b839e9e4a0e2bf8a491186e64e04fd392c9bd114a0809d [2021-06-16T05:54:05.124Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-16T05:54:05.124Z] Dload Upload Total Spent Left Speed [2021-06-16T05:54:05.124Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16824 0 0 100 16824 0 40322 --:--:-- --:--:-- --:--:-- 40345 [2021-06-16T05:54:05.124Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/88cd3141a6a48c636225ba9a5751d79cd3e68367 [Pipeline] } [2021-06-16T05:54:05.148Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency 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 [2021-06-16T05:54:07.744Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-16T05:54:08.385Z] ---> package-listing.sh [2021-06-16T05:54:08.385Z] ++ facter osfamily [2021-06-16T05:54:08.385Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-16T05:54:08.648Z] + OS_FAMILY=redhat [2021-06-16T05:54:08.648Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-899 [2021-06-16T05:54:08.648Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-16T05:54:08.648Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-16T05:54:08.648Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-16T05:54:08.648Z] + PACKAGES=/tmp/packages_start.txt [2021-06-16T05:54:08.648Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-899 ']' [2021-06-16T05:54:08.648Z] + PACKAGES=/tmp/packages_end.txt [2021-06-16T05:54:08.648Z] + case "${OS_FAMILY}" in [2021-06-16T05:54:08.648Z] + sort [2021-06-16T05:54:08.648Z] + rpm -qa [2021-06-16T05:54:09.238Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-16T05:54:09.238Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-16T05:54:09.238Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-16T05:54:09.238Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-899 ']' [2021-06-16T05:54:09.238Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-899/archives/ [2021-06-16T05:54:09.238Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-899/archives/ [Pipeline] echo [2021-06-16T05:54:09.273Z] 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-899/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-16T05:54:09.589Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-16T05:54:10.201Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-16T05:54:10.201Z] [2021-06-16T05:54:10.201Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-16T05:54:10.553Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-16T05:54:10.554Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-16T05:54:10.554Z] df20fa9351a1: Pulling fs layer [2021-06-16T05:54:10.554Z] 36b3adc4ff6f: Pulling fs layer [2021-06-16T05:54:10.554Z] 8ad3a11d3b57: Pulling fs layer [2021-06-16T05:54:10.554Z] 46f8f816bc3b: Pulling fs layer [2021-06-16T05:54:10.554Z] 93b61091891f: Pulling fs layer [2021-06-16T05:54:10.554Z] 93b9cdb0e59b: Pulling fs layer [2021-06-16T05:54:10.554Z] 5e14af77c1be: Pulling fs layer [2021-06-16T05:54:10.554Z] 01666e4c0597: Pulling fs layer [2021-06-16T05:54:10.554Z] aa168da1d23b: Pulling fs layer [2021-06-16T05:54:10.554Z] 46f8f816bc3b: Waiting [2021-06-16T05:54:10.554Z] 93b61091891f: Waiting [2021-06-16T05:54:10.554Z] 93b9cdb0e59b: Waiting [2021-06-16T05:54:10.554Z] 5e14af77c1be: Waiting [2021-06-16T05:54:10.554Z] 01666e4c0597: Waiting [2021-06-16T05:54:10.554Z] aa168da1d23b: Waiting [2021-06-16T05:54:10.554Z] 36b3adc4ff6f: Verifying Checksum [2021-06-16T05:54:10.554Z] 36b3adc4ff6f: Download complete [2021-06-16T05:54:10.554Z] 46f8f816bc3b: Verifying Checksum [2021-06-16T05:54:10.554Z] 46f8f816bc3b: Download complete [2021-06-16T05:54:10.825Z] df20fa9351a1: Verifying Checksum [2021-06-16T05:54:10.825Z] df20fa9351a1: Download complete [2021-06-16T05:54:10.825Z] 93b9cdb0e59b: Verifying Checksum [2021-06-16T05:54:10.825Z] 93b9cdb0e59b: Download complete [2021-06-16T05:54:10.825Z] 93b61091891f: Verifying Checksum [2021-06-16T05:54:10.825Z] 93b61091891f: Download complete [2021-06-16T05:54:10.825Z] 5e14af77c1be: Verifying Checksum [2021-06-16T05:54:10.825Z] 5e14af77c1be: Download complete [2021-06-16T05:54:10.825Z] 01666e4c0597: Verifying Checksum [2021-06-16T05:54:10.825Z] 01666e4c0597: Download complete [2021-06-16T05:54:10.825Z] 8ad3a11d3b57: Verifying Checksum [2021-06-16T05:54:10.825Z] 8ad3a11d3b57: Download complete [2021-06-16T05:54:10.825Z] df20fa9351a1: Pull complete [2021-06-16T05:54:11.087Z] 36b3adc4ff6f: Pull complete [2021-06-16T05:54:11.666Z] 8ad3a11d3b57: Pull complete [2021-06-16T05:54:11.666Z] 46f8f816bc3b: Pull complete [2021-06-16T05:54:11.932Z] 93b61091891f: Pull complete [2021-06-16T05:54:12.193Z] 93b9cdb0e59b: Pull complete [2021-06-16T05:54:12.193Z] 5e14af77c1be: Pull complete [2021-06-16T05:54:12.193Z] 01666e4c0597: Pull complete [2021-06-16T05:54:12.764Z] aa168da1d23b: Verifying Checksum [2021-06-16T05:54:12.764Z] aa168da1d23b: Download complete [2021-06-16T05:54:17.026Z] aa168da1d23b: Pull complete [2021-06-16T05:54:17.026Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-16T05:54:17.026Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-16T05:54:17.026Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-16T05:54:17.123Z] prd-centos7-docker-4c-2g-1643 does not seem to be running inside a container [2021-06-16T05:54:17.163Z] $ 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-899/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-899 -v /w/workspace/ndry_app-functions-sdk-go_PR-899:/w/workspace/ndry_app-functions-sdk-go_PR-899:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-899@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-899@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 [2021-06-16T05:54:19.779Z] $ docker top 150be6b5b543fe4377df5a36d595f6f7244c3d156e092f6050c0e55b79bae5ad -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-16T05:54:20.213Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-16T05:54:20.529Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-16T05:54:20.844Z] + ls /var/log/sa-host [2021-06-16T05:54:20.844Z] + sadf -c /var/log/sa-host/sa05 [2021-06-16T05:54:20.844Z] file_magic: OK [2021-06-16T05:54:20.844Z] HZ: Using current value: 100 [2021-06-16T05:54:20.844Z] file_header: OK [2021-06-16T05:54:20.844Z] 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 [2021-06-16T05:54:20.844Z] Statistics: [2021-06-16T05:54:20.844Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-16T05:54:20.844Z] File successfully converted to sysstat format version 12.2.1 [2021-06-16T05:54:20.844Z] + sadf -c /var/log/sa-host/sa16 [2021-06-16T05:54:20.844Z] file_magic: OK [2021-06-16T05:54:20.844Z] HZ: Using current value: 100 [2021-06-16T05:54:20.844Z] file_header: OK [2021-06-16T05:54:20.844Z] 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 [2021-06-16T05:54:20.844Z] Statistics: [2021-06-16T05:54:20.845Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-16T05:54:20.845Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-16T05:54:21.112Z] provisioning config files... [2021-06-16T05:54:21.125Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-899@tmp/config8288218393061163210tmp [Pipeline] { [Pipeline] echo [2021-06-16T05:54:21.186Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-16T05:54:21.522Z] ---> create-netrc.sh [Pipeline] } [2021-06-16T05:54:21.543Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-16T05:54:23.878Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-16T05:54:23.907Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-16T05:54:24.256Z] ---> sudo-logs.sh [2021-06-16T05:54:24.256Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-16T05:54:24.337Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-16T05:54:24.674Z] ---> job-cost.sh [2021-06-16T05:54:24.674Z] lf-activate-venv: SKIPPING [2021-06-16T05:54:24.674Z] DEBUG: total: 0.18000000715255737 [2021-06-16T05:54:24.674Z] INFO: Retrieving Stack Cost... [2021-06-16T05:54:25.617Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-16T05:54:26.190Z] INFO: Archiving Costs [Pipeline] echo [2021-06-16T05:54:26.228Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-16T05:54:26.556Z] ---> logs-deploy.sh [2021-06-16T05:54:26.556Z] lf-activate-venv: SKIPPING [2021-06-16T05:54:26.556Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-899/1 [2021-06-16T05:54:26.556Z] INFO: archiving workspace using pattern(s): [2021-06-16T05:54:27.500Z] Archives upload complete. [2021-06-16T05:54:27.500Z] INFO: archiving logs to Nexus