Pull request #916 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 951a0015673747c439391eda2eac77bef53a790b+8d950f7e259bb89e658a7b11c19439370248a894 (1102922a5fdd9a5c9e3622e081865df84afb20dd) 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-ssh214326070577493226.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-ssh6735998121317806004.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-916/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-916/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5563039961944169131.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-916/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4643243602551759248.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-ssh3800140375407820022.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee 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-916/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-916/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3669019471210638087.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 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > 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-724 in /w/workspace/ndry_app-functions-sdk-go_PR-916 [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-916 # 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-916@tmp/jenkins-gitclient-ssh5166846722635137928.key > 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 [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-916@tmp/jenkins-gitclient-ssh2680393992458819542.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/916/head:refs/remotes/origin/PR-916 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 8d950f7e259bb89e658a7b11c19439370248a894 into PR head commit 951a0015673747c439391eda2eac77bef53a790b Merge succeeded, producing 951a0015673747c439391eda2eac77bef53a790b Checking out Revision 951a0015673747c439391eda2eac77bef53a790b (PR-916) > git config core.sparsecheckout # timeout=10 > git checkout -f 951a0015673747c439391eda2eac77bef53a790b # 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-916@tmp/jenkins-gitclient-ssh3640368402325110060.key > git merge 8d950f7e259bb89e658a7b11c19439370248a894 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 951a0015673747c439391eda2eac77bef53a790b # timeout=10 Commit message: "refactor: Change swagger to be published as version 2.0" 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-29T20:23:47.453Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-29T20:23:47.668Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-29T20:23:47.806Z] ========================================================= [2021-06-29T20:23:47.806Z] EdgeX Global Pipelines Version Info [2021-06-29T20:23:47.806Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-29T20:23:49.333Z] ------------------- [2021-06-29T20:23:49.333Z] stable info: [2021-06-29T20:23:49.333Z] ------------------- [2021-06-29T20:23:49.333Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-29T20:23:49.333Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-29T20:23:49.333Z] Message: update stable to v1.0.195 [2021-06-29T20:23:49.915Z] ------------------- [2021-06-29T20:23:49.915Z] experimental info: [2021-06-29T20:23:49.915Z] ------------------- [2021-06-29T20:23:49.915Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-29T20:23:49.915Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-29T20:23:49.915Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-29T20:23:50.162Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-06-29T20:23:50.223Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-06-29T20:23:50.289Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-29T20:23:50.352Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-29T20:23:50.409Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-29T20:23:50.469Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-29T20:23:50.534Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-29T20:23:50.611Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-29T20:23:50.678Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-29T20:23:50.740Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-29T20:23:50.800Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-29T20:23:50.867Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-06-29T20:23:50.934Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-29T20:23:50.995Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-29T20:23:51.119Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-06-29T20:23:51.193Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-29T20:23:51.259Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-29T20:23:51.323Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-29T20:23:51.385Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-29T20:23:51.449Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-29T20:23:51.512Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-29T20:23:51.580Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-06-29T20:23:51.642Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-29T20:23:51.715Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-29T20:23:51.777Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-06-29T20:23:51.839Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-29T20:23:51.910Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-916 [Pipeline] echo [2021-06-29T20:23:51.973Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-916 [Pipeline] echo [2021-06-29T20:23:52.036Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-916 [Pipeline] echo [2021-06-29T20:23:52.098Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 951a0015673747c439391eda2eac77bef53a790b [Pipeline] echo [2021-06-29T20:23:52.162Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 951a001 [Pipeline] echo [2021-06-29T20:23:52.224Z] [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-29T20:23:52.883Z] + git log --format=format:%s -1 951a0015673747c439391eda2eac77bef53a790b [Pipeline] echo [2021-06-29T20:23:52.964Z] GIT_COMMIT: 951a0015673747c439391eda2eac77bef53a790b, Commit Message: refactor: Change swagger to be published as version 2.0 [Pipeline] echo [2021-06-29T20:23:53.009Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-29T20:23:53.972Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-29T20:23:53.972Z] [2021-06-29T20:23:53.973Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-29T20:23:54.335Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-29T20:23:54.335Z] latest: Pulling from edgex-devops/git-semver [2021-06-29T20:23:54.335Z] 31603596830f: Pulling fs layer [2021-06-29T20:23:54.335Z] 54011a49482f: Pulling fs layer [2021-06-29T20:23:54.335Z] a6820b24f6d8: Pulling fs layer [2021-06-29T20:23:54.335Z] f581987b2513: Pulling fs layer [2021-06-29T20:23:54.335Z] f581987b2513: Waiting [2021-06-29T20:23:54.335Z] 54011a49482f: Verifying Checksum [2021-06-29T20:23:54.335Z] 54011a49482f: Download complete [2021-06-29T20:23:54.603Z] 31603596830f: Verifying Checksum [2021-06-29T20:23:54.603Z] 31603596830f: Download complete [2021-06-29T20:23:54.873Z] f581987b2513: Verifying Checksum [2021-06-29T20:23:54.873Z] f581987b2513: Download complete [2021-06-29T20:23:54.873Z] 31603596830f: Pull complete [2021-06-29T20:23:54.873Z] 54011a49482f: Pull complete [2021-06-29T20:23:54.873Z] a6820b24f6d8: Verifying Checksum [2021-06-29T20:23:54.873Z] a6820b24f6d8: Download complete [2021-06-29T20:23:55.454Z] a6820b24f6d8: Pull complete [2021-06-29T20:23:55.715Z] f581987b2513: Pull complete [2021-06-29T20:23:55.715Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-29T20:23:55.715Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-29T20:23:55.715Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-29T20:23:55.815Z] prd-centos7-docker-4c-2g-724 does not seem to be running inside a container [2021-06-29T20:23:55.858Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-916 -v /w/workspace/ndry_app-functions-sdk-go_PR-916:/w/workspace/ndry_app-functions-sdk-go_PR-916:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-916@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-916@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-29T20:23:57.277Z] $ docker top ec4e033a2da4faaf50128e7a4beb264c03821e457638d904e0bc0c8612d65ea4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-29T20:23:57.489Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-29T20:23:57.489Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-29T20:23:57.596Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-29T20:23:57.596Z] $ docker exec ec4e033a2da4faaf50128e7a4beb264c03821e457638d904e0bc0c8612d65ea4 ssh-agent [2021-06-29T20:23:57.709Z] SSH_AUTH_SOCK=/tmp/ssh-m3HYRilI8Wft/agent.13 [2021-06-29T20:23:57.709Z] SSH_AGENT_PID=19 [2021-06-29T20:23:57.716Z] Running ssh-add (command line suppressed) [2021-06-29T20:23:57.806Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-916@tmp/private_key_4162947315951548757.key (/w/workspace/ndry_app-functions-sdk-go_PR-916@tmp/private_key_4162947315951548757.key) [2021-06-29T20:23:57.827Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-29T20:23:58.177Z] + git tag --points-at HEAD [Pipeline] } [2021-06-29T20:23:58.196Z] $ docker exec --env ******** --env ******** ec4e033a2da4faaf50128e7a4beb264c03821e457638d904e0bc0c8612d65ea4 ssh-agent -k [2021-06-29T20:23:58.286Z] unset SSH_AUTH_SOCK; [2021-06-29T20:23:58.286Z] unset SSH_AGENT_PID; [2021-06-29T20:23:58.286Z] echo Agent pid 19 killed; [2021-06-29T20:23:58.301Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-29T20:23:58.397Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-29T20:23:58.397Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-29T20:23:58.507Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-29T20:23:58.506Z] $ docker exec ec4e033a2da4faaf50128e7a4beb264c03821e457638d904e0bc0c8612d65ea4 ssh-agent [2021-06-29T20:23:58.613Z] SSH_AUTH_SOCK=/tmp/ssh-Bdvu4sz1DXWX/agent.52 [2021-06-29T20:23:58.613Z] SSH_AGENT_PID=58 [2021-06-29T20:23:58.619Z] Running ssh-add (command line suppressed) [2021-06-29T20:23:58.710Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-916@tmp/private_key_7241174414725335098.key (/w/workspace/ndry_app-functions-sdk-go_PR-916@tmp/private_key_7241174414725335098.key) [2021-06-29T20:23:58.732Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-29T20:23:59.105Z] + git semver init [2021-06-29T20:23:59.105Z] # -> Open(): unable to determine branch for HEAD [2021-06-29T20:23:59.105Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-916/.git [2021-06-29T20:23:59.105Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-916 [2021-06-29T20:23:59.105Z] # $SEMVER_REMOTE_NAME = origin [2021-06-29T20:23:59.105Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-29T20:23:59.105Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-29T20:23:59.105Z] # $SEMVER_BRANCH = PR-916 [2021-06-29T20:23:59.105Z] # $SEMVER_TEMP = /tmp/semver-550341471 [2021-06-29T20:23:59.105Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-06-29T20:24:01.043Z] # '/tmp/semver-550341471' -> '/w/workspace/ndry_app-functions-sdk-go_PR-916/.semver' [2021-06-29T20:24:01.043Z] # -> Force: false [2021-06-29T20:24:01.043Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-916/.semver [Pipeline] } [2021-06-29T20:24:01.061Z] $ docker exec --env ******** --env ******** ec4e033a2da4faaf50128e7a4beb264c03821e457638d904e0bc0c8612d65ea4 ssh-agent -k [2021-06-29T20:24:01.150Z] unset SSH_AUTH_SOCK; [2021-06-29T20:24:01.150Z] unset SSH_AGENT_PID; [2021-06-29T20:24:01.150Z] echo Agent pid 58 killed; [2021-06-29T20:24:01.166Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-29T20:24:01.666Z] + git semver [Pipeline] } [2021-06-29T20:24:01.709Z] $ docker stop --time=1 ec4e033a2da4faaf50128e7a4beb264c03821e457638d904e0bc0c8612d65ea4 [2021-06-29T20:24:03.184Z] $ docker rm -f ec4e033a2da4faaf50128e7a4beb264c03821e457638d904e0bc0c8612d65ea4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-29T20:24:03.645Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-29T20:24:03.968Z] Stashed 1 file(s) [Pipeline] echo [2021-06-29T20:24:03.992Z] [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-29T20:24:19.575Z] Still waiting to schedule task [2021-06-29T20:24:19.575Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-29T20:24:19.605Z] Still waiting to schedule task [2021-06-29T20:24:19.606Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-29T20:27:07.949Z] Running on prd-centos7-docker-4c-2g-726 in /w/workspace/ndry_app-functions-sdk-go_PR-916 [Pipeline] { [Pipeline] ws [2021-06-29T20:27:08.023Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-06-29T20:27:08.197Z] The recommended git tool is: git [2021-06-29T20:27:10.720Z] using credential edgex-jenkins-ssh [2021-06-29T20:27:10.734Z] Cloning the remote Git repository [2021-06-29T20:27:10.754Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-29T20:27:10.822Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-06-29T20:27:10.866Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-29T20:27:10.866Z] > git --version # timeout=10 [2021-06-29T20:27:10.876Z] > git --version # 'git version 2.24.4' [2021-06-29T20:27:10.877Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-29T20:27:10.896Z] [INFO] Currently running in a labeled security context [2021-06-29T20:27:10.896Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-29T20:27:10.896Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh1610372133487989813.key [2021-06-29T20:27:10.907Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-29T20:27:16.250Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-29T20:27:16.256Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-29T20:27:16.270Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-29T20:27:16.284Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-29T20:27:16.284Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-29T20:27:16.287Z] [INFO] Currently running in a labeled security context [2021-06-29T20:27:16.287Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-29T20:27:16.287Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh4171050387733911307.key [2021-06-29T20:27:16.294Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/916/head:refs/remotes/origin/PR-916 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-29T20:27:16.804Z] Merging remotes/origin/master commit 8d950f7e259bb89e658a7b11c19439370248a894 into PR head commit 951a0015673747c439391eda2eac77bef53a790b [2021-06-29T20:27:16.894Z] Merge succeeded, producing 951a0015673747c439391eda2eac77bef53a790b [2021-06-29T20:27:16.895Z] Checking out Revision 951a0015673747c439391eda2eac77bef53a790b (PR-916) [2021-06-29T20:27:16.809Z] > git config core.sparsecheckout # timeout=10 [2021-06-29T20:27:16.815Z] > git checkout -f 951a0015673747c439391eda2eac77bef53a790b # timeout=10 [2021-06-29T20:27:16.850Z] > git remote # timeout=10 [2021-06-29T20:27:16.862Z] > git config --get remote.origin.url # timeout=10 [2021-06-29T20:27:16.867Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-29T20:27:16.868Z] [INFO] Currently running in a labeled security context [2021-06-29T20:27:16.868Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-29T20:27:16.868Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh100855066519893732.key [2021-06-29T20:27:16.877Z] > git merge 8d950f7e259bb89e658a7b11c19439370248a894 # timeout=10 [2021-06-29T20:27:16.887Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-29T20:27:16.895Z] > git config core.sparsecheckout # timeout=10 [2021-06-29T20:27:16.903Z] > git checkout -f 951a0015673747c439391eda2eac77bef53a790b # timeout=10 [2021-06-29T20:27:20.501Z] Commit message: "refactor: Change swagger to be published as version 2.0" [2021-06-29T20:27:20.522Z] > git --version # timeout=10 [2021-06-29T20:27:20.525Z] > git --version # 'git version 2.24.4' [2021-06-29T20:27:20.539Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-29T20:27:21.879Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-29T20:27:22.232Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-29T20:27:22.557Z] + sudo service docker restart [2021-06-29T20:27:22.557Z] + true [2021-06-29T20:27:22.557Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-06-29T20:27:40.862Z] ========================================================= [2021-06-29T20:27:40.862Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-29T20:27:40.862Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-29T20:27:41.229Z] + 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-29T20:27:41.491Z] Sending build context to Docker daemon 19.89MB [2021-06-29T20:27:41.491Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-29T20:27:41.491Z] Step 2/8 : FROM ${BASE} [2021-06-29T20:27:41.754Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-29T20:27:41.754Z] 540db60ca938: Pulling fs layer [2021-06-29T20:27:41.754Z] adcc1eea9eea: Pulling fs layer [2021-06-29T20:27:41.754Z] 4c4ab2625f07: Pulling fs layer [2021-06-29T20:27:41.754Z] 0510c868ecb4: Pulling fs layer [2021-06-29T20:27:41.754Z] afea3b2eda06: Pulling fs layer [2021-06-29T20:27:41.754Z] 7809a108b3ef: Pulling fs layer [2021-06-29T20:27:41.754Z] f706445af74f: Pulling fs layer [2021-06-29T20:27:41.754Z] 0510c868ecb4: Waiting [2021-06-29T20:27:41.754Z] afea3b2eda06: Waiting [2021-06-29T20:27:41.754Z] 7809a108b3ef: Waiting [2021-06-29T20:27:41.754Z] f706445af74f: Waiting [2021-06-29T20:27:41.754Z] 4c4ab2625f07: Verifying Checksum [2021-06-29T20:27:41.754Z] 4c4ab2625f07: Download complete [2021-06-29T20:27:41.754Z] adcc1eea9eea: Verifying Checksum [2021-06-29T20:27:41.754Z] adcc1eea9eea: Download complete [2021-06-29T20:27:41.754Z] afea3b2eda06: Verifying Checksum [2021-06-29T20:27:41.754Z] afea3b2eda06: Download complete [2021-06-29T20:27:41.754Z] 7809a108b3ef: Verifying Checksum [2021-06-29T20:27:41.754Z] 7809a108b3ef: Download complete [2021-06-29T20:27:41.754Z] 540db60ca938: Verifying Checksum [2021-06-29T20:27:41.754Z] 540db60ca938: Download complete [2021-06-29T20:27:42.333Z] 540db60ca938: Pull complete [2021-06-29T20:27:42.333Z] adcc1eea9eea: Pull complete [2021-06-29T20:27:42.333Z] 4c4ab2625f07: Pull complete [2021-06-29T20:27:43.726Z] f706445af74f: Verifying Checksum [2021-06-29T20:27:43.726Z] f706445af74f: Download complete [2021-06-29T20:27:43.993Z] 0510c868ecb4: Verifying Checksum [2021-06-29T20:27:43.994Z] 0510c868ecb4: Download complete [2021-06-29T20:27:47.321Z] 0510c868ecb4: Pull complete [2021-06-29T20:27:47.321Z] afea3b2eda06: Pull complete [2021-06-29T20:27:47.321Z] 7809a108b3ef: Pull complete [2021-06-29T20:27:48.735Z] f706445af74f: Pull complete [2021-06-29T20:27:48.735Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-29T20:27:48.735Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-29T20:27:48.735Z] ---> b068be0155e3 [2021-06-29T20:27:48.735Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-06-29T20:27:48.996Z] 20.10.0: Pulling from library/docker [2021-06-29T20:27:48.996Z] 05e7bc50f07f: Pulling fs layer [2021-06-29T20:27:48.996Z] 6db28d0fdbf6: Pulling fs layer [2021-06-29T20:27:48.996Z] 292df0bc6bf3: Pulling fs layer [2021-06-29T20:27:48.996Z] 2e060f4bd70b: Pulling fs layer [2021-06-29T20:27:48.996Z] 80e8d568a223: Pulling fs layer [2021-06-29T20:27:48.996Z] 8dc6ef1a942a: Pulling fs layer [2021-06-29T20:27:48.996Z] 2312dd95470a: Pulling fs layer [2021-06-29T20:27:48.996Z] 80e8d568a223: Waiting [2021-06-29T20:27:48.996Z] 8dc6ef1a942a: Waiting [2021-06-29T20:27:48.996Z] 2312dd95470a: Waiting [2021-06-29T20:27:48.996Z] 2e060f4bd70b: Waiting [2021-06-29T20:27:48.996Z] 292df0bc6bf3: Verifying Checksum [2021-06-29T20:27:48.996Z] 292df0bc6bf3: Download complete [2021-06-29T20:27:48.996Z] 6db28d0fdbf6: Verifying Checksum [2021-06-29T20:27:48.996Z] 6db28d0fdbf6: Download complete [2021-06-29T20:27:48.996Z] 05e7bc50f07f: Verifying Checksum [2021-06-29T20:27:48.996Z] 05e7bc50f07f: Download complete [2021-06-29T20:27:48.996Z] 80e8d568a223: Verifying Checksum [2021-06-29T20:27:48.996Z] 80e8d568a223: Download complete [2021-06-29T20:27:48.996Z] 8dc6ef1a942a: Verifying Checksum [2021-06-29T20:27:48.996Z] 8dc6ef1a942a: Download complete [2021-06-29T20:27:48.996Z] 2312dd95470a: Verifying Checksum [2021-06-29T20:27:48.996Z] 2312dd95470a: Download complete [2021-06-29T20:27:49.265Z] 05e7bc50f07f: Pull complete [2021-06-29T20:27:49.265Z] 6db28d0fdbf6: Pull complete [2021-06-29T20:27:49.525Z] 292df0bc6bf3: Pull complete [2021-06-29T20:27:49.791Z] 2e060f4bd70b: Verifying Checksum [2021-06-29T20:27:49.791Z] 2e060f4bd70b: Download complete [2021-06-29T20:27:51.712Z] 2e060f4bd70b: Pull complete [2021-06-29T20:27:51.712Z] 80e8d568a223: Pull complete [2021-06-29T20:27:51.712Z] 8dc6ef1a942a: Pull complete [2021-06-29T20:27:51.974Z] 2312dd95470a: Pull complete [2021-06-29T20:27:51.974Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-06-29T20:27:51.974Z] Status: Downloaded newer image for docker:20.10.0 [2021-06-29T20:27:57.281Z] ---> dd2649b723e8 [2021-06-29T20:27:57.281Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-29T20:27:57.281Z] ---> Running in 2a55ab2325f5 [2021-06-29T20:27:57.281Z] Removing intermediate container 2a55ab2325f5 [2021-06-29T20:27:57.281Z] ---> 67570d6c0169 [2021-06-29T20:27:57.281Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-06-29T20:27:57.281Z] ---> Running in afa7f7004324 [2021-06-29T20:27:57.281Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-29T20:27:57.857Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-29T20:27:58.118Z] (1/5) Installing libsodium (1.0.18-r0) [2021-06-29T20:27:58.383Z] (2/5) Installing libzmq (4.3.3-r1) [2021-06-29T20:27:58.383Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-06-29T20:27:58.383Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-06-29T20:27:58.645Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-06-29T20:27:58.645Z] Executing busybox-1.32.1-r6.trigger [2021-06-29T20:27:58.645Z] OK: 150 MiB in 45 packages [2021-06-29T20:27:58.914Z] Removing intermediate container afa7f7004324 [2021-06-29T20:27:58.915Z] ---> ed5fd93799f4 [2021-06-29T20:27:58.915Z] Step 6/8 : WORKDIR /build [2021-06-29T20:27:59.179Z] ---> Running in 6208254d4a16 [2021-06-29T20:27:59.179Z] Removing intermediate container 6208254d4a16 [2021-06-29T20:27:59.179Z] ---> 74691110cf6e [2021-06-29T20:27:59.179Z] Step 7/8 : COPY go.mod . [2021-06-29T20:27:59.445Z] ---> ffb36d14bf9c [2021-06-29T20:27:59.445Z] Step 8/8 : RUN go mod download [2021-06-29T20:27:59.445Z] ---> Running in 6c241c88fd61 [2021-06-29T20:28:14.396Z] Removing intermediate container 6c241c88fd61 [2021-06-29T20:28:14.396Z] ---> 512566b0b217 [2021-06-29T20:28:14.396Z] Successfully built 512566b0b217 [2021-06-29T20:28:14.396Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-29T20:28:14.751Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-29T20:28:14.751Z] . [Pipeline] withDockerContainer [2021-06-29T20:28:14.860Z] prd-centos7-docker-4c-2g-726 does not seem to be running inside a container [2021-06-29T20:28:14.906Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-29T20:28:15.397Z] $ docker top 8ef6ddd3f01ac68988ada3bdd6493fda8ff8f18e3fea2d1dc2a64b35940672c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-29T20:28:15.856Z] + go version [2021-06-29T20:28:15.856Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-29T20:28:15.884Z] $ docker stop --time=1 8ef6ddd3f01ac68988ada3bdd6493fda8ff8f18e3fea2d1dc2a64b35940672c7 [2021-06-29T20:28:17.071Z] $ docker rm -f 8ef6ddd3f01ac68988ada3bdd6493fda8ff8f18e3fea2d1dc2a64b35940672c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-29T20:28:17.917Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-29T20:28:17.917Z] . [Pipeline] withDockerContainer [2021-06-29T20:28:18.021Z] prd-centos7-docker-4c-2g-726 does not seem to be running inside a container [2021-06-29T20:28:18.064Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-29T20:28:18.465Z] $ docker top 6fe526a473dc854ba2a8ce447cd9660c9d6126be0769b3535e86802a26508a2f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-29T20:28:18.996Z] + go mod tidy [Pipeline] sh [2021-06-29T20:28:19.713Z] + make test [2021-06-29T20:28:19.713Z] make -C ./app-service-template build [2021-06-29T20:28:19.713Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-06-29T20:28:19.713Z] go mod tidy [2021-06-29T20:28:19.872Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-727 in /w/workspace/ndry_app-functions-sdk-go_PR-916 [Pipeline] { [Pipeline] ws [2021-06-29T20:28:19.931Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [2021-06-29T20:28:20.065Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [Pipeline] checkout [2021-06-29T20:28:20.417Z] The recommended git tool is: git [2021-06-29T20:28:26.631Z] using credential edgex-jenkins-ssh [2021-06-29T20:28:26.649Z] Cloning the remote Git repository [2021-06-29T20:28:26.696Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-29T20:28:26.812Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-06-29T20:28:26.889Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-29T20:28:26.889Z] > git --version # timeout=10 [2021-06-29T20:28:26.907Z] > git --version # 'git version 2.17.1' [2021-06-29T20:28:26.909Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-29T20:28:27.006Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-29T20:28:30.158Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-06-29T20:28:30.158Z] make -C ./app-service-template test [2021-06-29T20:28:30.158Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-06-29T20:28:30.158Z] go mod tidy [2021-06-29T20:28:30.158Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-06-29T20:28:30.274Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-29T20:28:30.291Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-29T20:28:30.324Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-29T20:28:30.366Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-29T20:28:30.367Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-29T20:28:30.382Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/916/head:refs/remotes/origin/PR-916 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-29T20:28:31.029Z] Merging remotes/origin/master commit 8d950f7e259bb89e658a7b11c19439370248a894 into PR head commit 951a0015673747c439391eda2eac77bef53a790b [2021-06-29T20:28:31.269Z] Merge succeeded, producing 951a0015673747c439391eda2eac77bef53a790b [2021-06-29T20:28:31.269Z] Checking out Revision 951a0015673747c439391eda2eac77bef53a790b (PR-916) [2021-06-29T20:28:31.047Z] > git config core.sparsecheckout # timeout=10 [2021-06-29T20:28:31.062Z] > git checkout -f 951a0015673747c439391eda2eac77bef53a790b # timeout=10 [2021-06-29T20:28:31.173Z] > git remote # timeout=10 [2021-06-29T20:28:31.196Z] > git config --get remote.origin.url # timeout=10 [2021-06-29T20:28:31.211Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-29T20:28:31.224Z] > git merge 8d950f7e259bb89e658a7b11c19439370248a894 # timeout=10 [2021-06-29T20:28:31.249Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-29T20:28:31.274Z] > git config core.sparsecheckout # timeout=10 [2021-06-29T20:28:31.291Z] > git checkout -f 951a0015673747c439391eda2eac77bef53a790b # timeout=10 [2021-06-29T20:28:35.651Z] Commit message: "refactor: Change swagger to be published as version 2.0" [2021-06-29T20:28:35.707Z] > git --version # timeout=10 [2021-06-29T20:28:35.715Z] > git --version # 'git version 2.17.1' [2021-06-29T20:28:35.726Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-29T20:28:37.428Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-29T20:28:37.870Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-29T20:28:38.245Z] + true [2021-06-29T20:28:38.245Z] + sudo service docker restart [2021-06-29T20:28:40.225Z] ok new-app-service 0.018s coverage: 47.8% of statements [2021-06-29T20:28:40.225Z] ? new-app-service/config [no test files] [2021-06-29T20:28:40.225Z] ok new-app-service/functions 0.007s [2021-06-29T20:28:40.225Z] CGO_ENABLED=1 go vet ./... [2021-06-29T20:28:45.578Z] gofmt -l . [2021-06-29T20:28:45.578Z] [ "`gofmt -l .`" = "" ] [2021-06-29T20:28:45.578Z] ./bin/test-attribution-txt.sh [2021-06-29T20:28:45.846Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-06-29T20:28:45.846Z] go mod tidy [2021-06-29T20:28:46.111Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-06-29T20:28:46.374Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-06-29T20:28:47.792Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.018s coverage: 63.6% of statements [2021-06-29T20:28:47.792Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.025s coverage: 96.5% of statements [2021-06-29T20:28:47.792Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-06-29T20:28:48.377Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.014s coverage: 61.8% of statements [2021-06-29T20:28:48.377Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-06-29T20:28:48.377Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.015s [2021-06-29T20:28:48.962Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.148s coverage: 74.5% of statements [2021-06-29T20:28:48.962Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-06-29T20:28:48.962Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-06-29T20:28:48.962Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-06-29T20:28:48.962Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-06-29T20:28:48.962Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-06-29T20:28:48.962Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-06-29T20:28:48.962Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.007s coverage: 97.1% of statements [2021-06-29T20:28:48.962Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-06-29T20:28:49.226Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.005s coverage: 10.5% of statements [2021-06-29T20:28:52.563Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.745s coverage: 76.1% of statements [2021-06-29T20:28:52.563Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-06-29T20:28:52.563Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.010s coverage: 12.5% of statements [2021-06-29T20:28:52.563Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.008s coverage: 27.3% of statements [2021-06-29T20:28:52.563Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-06-29T20:28:52.563Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-06-29T20:28:52.563Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.008s coverage: 51.4% of statements [Pipeline] unstash [Pipeline] echo [2021-06-29T20:28:57.202Z] ========================================================= [2021-06-29T20:28:57.202Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-29T20:28:57.202Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-29T20:28:57.617Z] + 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-29T20:28:59.614Z] Sending build context to Docker daemon 19.89MB [2021-06-29T20:28:59.614Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-29T20:28:59.614Z] Step 2/8 : FROM ${BASE} [2021-06-29T20:29:00.219Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-29T20:29:00.219Z] 595b0fe564bb: Pulling fs layer [2021-06-29T20:29:00.219Z] 3088b5b3c5c0: Pulling fs layer [2021-06-29T20:29:00.219Z] 5b7225fbf94c: Pulling fs layer [2021-06-29T20:29:00.219Z] ba82ee9f976e: Pulling fs layer [2021-06-29T20:29:00.219Z] 506bd15cee9f: Pulling fs layer [2021-06-29T20:29:00.219Z] 75a0a4a0db45: Pulling fs layer [2021-06-29T20:29:00.219Z] 618dc40b7e24: Pulling fs layer [2021-06-29T20:29:00.219Z] 75a0a4a0db45: Waiting [2021-06-29T20:29:00.219Z] 618dc40b7e24: Waiting [2021-06-29T20:29:00.219Z] ba82ee9f976e: Waiting [2021-06-29T20:29:00.219Z] 506bd15cee9f: Waiting [2021-06-29T20:29:00.219Z] 5b7225fbf94c: Verifying Checksum [2021-06-29T20:29:00.219Z] 5b7225fbf94c: Download complete [2021-06-29T20:29:01.667Z] 3088b5b3c5c0: Verifying Checksum [2021-06-29T20:29:01.667Z] 3088b5b3c5c0: Download complete [2021-06-29T20:29:01.667Z] 506bd15cee9f: Verifying Checksum [2021-06-29T20:29:01.667Z] 506bd15cee9f: Download complete [2021-06-29T20:29:01.667Z] 75a0a4a0db45: Verifying Checksum [2021-06-29T20:29:01.667Z] 75a0a4a0db45: Download complete [2021-06-29T20:29:01.667Z] 595b0fe564bb: Download complete [2021-06-29T20:29:02.289Z] 595b0fe564bb: Pull complete [2021-06-29T20:29:03.285Z] 3088b5b3c5c0: Pull complete [2021-06-29T20:29:03.562Z] 5b7225fbf94c: Pull complete [2021-06-29T20:29:03.836Z] 618dc40b7e24: Download complete [2021-06-29T20:29:04.128Z] ba82ee9f976e: Verifying Checksum [2021-06-29T20:29:04.128Z] ba82ee9f976e: Download complete [2021-06-29T20:29:14.307Z] ba82ee9f976e: Pull complete [2021-06-29T20:29:14.307Z] 506bd15cee9f: Pull complete [2021-06-29T20:29:14.582Z] 75a0a4a0db45: Pull complete [2021-06-29T20:29:18.924Z] 618dc40b7e24: Pull complete [2021-06-29T20:29:18.924Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-29T20:29:18.924Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-29T20:29:18.924Z] ---> a36622ca3599 [2021-06-29T20:29:18.924Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-06-29T20:29:18.924Z] 20.10.0: Pulling from library/docker [2021-06-29T20:29:18.924Z] a3cc7d3b244e: Pulling fs layer [2021-06-29T20:29:18.924Z] 02a3295e0d61: Pulling fs layer [2021-06-29T20:29:18.924Z] 0f4f2e6d8100: Pulling fs layer [2021-06-29T20:29:18.924Z] 330b718f631f: Pulling fs layer [2021-06-29T20:29:18.924Z] a93816041522: Pulling fs layer [2021-06-29T20:29:18.924Z] bdb6da89ff94: Pulling fs layer [2021-06-29T20:29:18.924Z] 2a70c0c122f4: Pulling fs layer [2021-06-29T20:29:18.924Z] 330b718f631f: Waiting [2021-06-29T20:29:18.924Z] a93816041522: Waiting [2021-06-29T20:29:18.924Z] bdb6da89ff94: Waiting [2021-06-29T20:29:18.924Z] 2a70c0c122f4: Waiting [2021-06-29T20:29:18.924Z] 0f4f2e6d8100: Verifying Checksum [2021-06-29T20:29:18.924Z] 0f4f2e6d8100: Download complete [2021-06-29T20:29:19.202Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.087s coverage: 78.0% of statements [2021-06-29T20:29:19.202Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.007s coverage: 94.4% of statements [2021-06-29T20:29:19.202Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-29T20:29:19.202Z] gofmt -l . [2021-06-29T20:29:19.202Z] [ "`gofmt -l .`" = "" ] [2021-06-29T20:29:19.213Z] 02a3295e0d61: Verifying Checksum [2021-06-29T20:29:19.213Z] 02a3295e0d61: Download complete [2021-06-29T20:29:19.213Z] a3cc7d3b244e: Verifying Checksum [2021-06-29T20:29:19.213Z] a93816041522: Verifying Checksum [2021-06-29T20:29:19.213Z] a93816041522: Download complete [2021-06-29T20:29:19.213Z] bdb6da89ff94: Verifying Checksum [2021-06-29T20:29:19.213Z] bdb6da89ff94: Download complete [2021-06-29T20:29:19.213Z] 2a70c0c122f4: Verifying Checksum [2021-06-29T20:29:19.213Z] 2a70c0c122f4: Download complete [Pipeline] } [2021-06-29T20:29:19.280Z] $ docker stop --time=1 6fe526a473dc854ba2a8ce447cd9660c9d6126be0769b3535e86802a26508a2f [2021-06-29T20:29:19.821Z] a3cc7d3b244e: Pull complete [2021-06-29T20:29:20.546Z] $ docker rm -f 6fe526a473dc854ba2a8ce447cd9660c9d6126be0769b3535e86802a26508a2f [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-29T20:29:20.806Z] 02a3295e0d61: Pull complete [2021-06-29T20:29:20.806Z] 330b718f631f: Download complete [2021-06-29T20:29:21.068Z] + sudo chown -R jenkins:jenkins . [2021-06-29T20:29:21.080Z] 0f4f2e6d8100: Pull complete [Pipeline] stash [2021-06-29T20:29:21.321Z] 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-29T20:29:22.891Z] ---> job-cost.sh [2021-06-29T20:29:22.891Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-4RNH [2021-06-29T20:29:25.436Z] 330b718f631f: Pull complete [2021-06-29T20:29:25.713Z] a93816041522: Pull complete [2021-06-29T20:29:26.316Z] bdb6da89ff94: Pull complete [2021-06-29T20:29:26.916Z] 2a70c0c122f4: Pull complete [2021-06-29T20:29:26.916Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-06-29T20:29:26.916Z] Status: Downloaded newer image for docker:20.10.0 [2021-06-29T20:29:32.908Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-29T20:29:33.655Z] ---> d25d22fcf3e7 [2021-06-29T20:29:33.655Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-29T20:29:33.655Z] ---> Running in 3e7512a4713f [2021-06-29T20:29:33.655Z] Removing intermediate container 3e7512a4713f [2021-06-29T20:29:33.655Z] ---> 38c98ad7580a [2021-06-29T20:29:33.655Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-06-29T20:29:33.655Z] ---> Running in df2c5d93e20b [2021-06-29T20:29:35.099Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-29T20:29:36.084Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-29T20:29:37.077Z] (1/5) Installing libsodium (1.0.18-r0) [2021-06-29T20:29:37.077Z] (2/5) Installing libzmq (4.3.3-r1) [2021-06-29T20:29:37.350Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-06-29T20:29:37.350Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-06-29T20:29:37.350Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-06-29T20:29:37.628Z] Executing busybox-1.32.1-r6.trigger [2021-06-29T20:29:37.628Z] OK: 139 MiB in 45 packages [2021-06-29T20:29:39.076Z] Removing intermediate container df2c5d93e20b [2021-06-29T20:29:39.076Z] ---> 10b3cb378023 [2021-06-29T20:29:39.076Z] Step 6/8 : WORKDIR /build [2021-06-29T20:29:39.076Z] ---> Running in a58e66282013 [2021-06-29T20:29:39.674Z] Removing intermediate container a58e66282013 [2021-06-29T20:29:39.674Z] ---> bab0eb3cc183 [2021-06-29T20:29:39.674Z] Step 7/8 : COPY go.mod . [2021-06-29T20:29:40.677Z] ---> 3792b6fe914a [2021-06-29T20:29:40.677Z] Step 8/8 : RUN go mod download [2021-06-29T20:29:40.961Z] ---> Running in 63ce2536d564 [2021-06-29T20:29:45.164Z] lf-activate-venv(): INFO: Adding /tmp/venv-4RNH/bin to PATH [2021-06-29T20:29:45.164Z] INFO: No Stack... [2021-06-29T20:29:46.109Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-29T20:29:46.683Z] INFO: Archiving Costs [Pipeline] sh [2021-06-29T20:29:47.017Z] + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv [2021-06-29T20:29:47.017Z] + cut -d, -f6 [Pipeline] lock [2021-06-29T20:29:47.099Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-916-1-stack-cost] [2021-06-29T20:29:47.107Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-916-1-stack-cost] did not exist. Created. [2021-06-29T20:29:47.114Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-916-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-29T20:29:47.550Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-29T20:29:47.639Z] Stashed 1 file(s) [Pipeline] } [2021-06-29T20:29:47.663Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-916-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-29T20:30:07.815Z] Removing intermediate container 63ce2536d564 [2021-06-29T20:30:07.816Z] ---> 975a65960a03 [2021-06-29T20:30:07.816Z] Successfully built 975a65960a03 [2021-06-29T20:30:07.816Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-29T20:30:08.200Z] + docker inspect -f . ci-base-image-arm64 [2021-06-29T20:30:08.201Z] . [Pipeline] withDockerContainer [2021-06-29T20:30:08.510Z] prd-ubuntu18.04-docker-arm64-4c-16g-727 does not seem to be running inside a container [2021-06-29T20:30:08.602Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-29T20:30:10.360Z] $ docker top e977d96d42b252b873940cd05ca4316ca2ed046896a5601d60d0f00152741831 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-29T20:30:11.434Z] + go version [2021-06-29T20:30:11.435Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-29T20:30:11.483Z] $ docker stop --time=1 e977d96d42b252b873940cd05ca4316ca2ed046896a5601d60d0f00152741831 [2021-06-29T20:30:13.395Z] $ docker rm -f e977d96d42b252b873940cd05ca4316ca2ed046896a5601d60d0f00152741831 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-29T20:30:14.491Z] + docker inspect -f . ci-base-image-arm64 [2021-06-29T20:30:14.491Z] . [Pipeline] withDockerContainer [2021-06-29T20:30:14.788Z] prd-ubuntu18.04-docker-arm64-4c-16g-727 does not seem to be running inside a container [2021-06-29T20:30:14.877Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-29T20:30:16.593Z] $ docker top 5c32acda4ebe9087bfb6c8c3293f5bc25166f8b2f6566fc696d36f71a1b6f11a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-29T20:30:17.649Z] + go mod tidy [Pipeline] sh [2021-06-29T20:30:18.945Z] + make test [2021-06-29T20:30:18.945Z] make -C ./app-service-template build [2021-06-29T20:30:18.945Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-06-29T20:30:18.945Z] go mod tidy [2021-06-29T20:30:19.550Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-06-29T20:30:58.636Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-06-29T20:30:58.636Z] make -C ./app-service-template test [2021-06-29T20:30:58.636Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-06-29T20:30:58.636Z] go mod tidy [2021-06-29T20:30:58.636Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-06-29T20:31:31.052Z] ok new-app-service 0.051s coverage: 47.8% of statements [2021-06-29T20:31:31.052Z] ? new-app-service/config [no test files] [2021-06-29T20:31:31.052Z] ok new-app-service/functions 0.046s [2021-06-29T20:31:31.052Z] CGO_ENABLED=1 go vet ./... [2021-06-29T20:32:03.442Z] gofmt -l . [2021-06-29T20:32:03.442Z] [ "`gofmt -l .`" = "" ] [2021-06-29T20:32:03.442Z] ./bin/test-attribution-txt.sh [2021-06-29T20:32:03.442Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-06-29T20:32:03.442Z] go mod tidy [2021-06-29T20:32:03.442Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-06-29T20:32:03.442Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-06-29T20:32:11.767Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.102s coverage: 63.6% of statements [2021-06-29T20:32:11.767Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.075s coverage: 96.5% of statements [2021-06-29T20:32:11.767Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-06-29T20:32:11.768Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.096s coverage: 61.8% of statements [2021-06-29T20:32:11.768Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-06-29T20:32:11.768Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.084s [2021-06-29T20:32:11.768Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.097s coverage: 74.5% of statements [2021-06-29T20:32:11.768Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-06-29T20:32:11.768Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-06-29T20:32:11.768Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-06-29T20:32:11.768Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-06-29T20:32:11.768Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-06-29T20:32:11.768Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-06-29T20:32:11.768Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.032s coverage: 97.1% of statements [2021-06-29T20:32:11.768Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-06-29T20:32:11.768Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.046s coverage: 10.5% of statements [2021-06-29T20:32:18.512Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.839s coverage: 76.1% of statements [2021-06-29T20:32:18.512Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-06-29T20:32:18.512Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.066s coverage: 12.5% of statements [2021-06-29T20:32:18.512Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.137s coverage: 27.3% of statements [2021-06-29T20:32:18.512Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-06-29T20:32:18.512Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-06-29T20:32:18.512Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.045s coverage: 51.4% of statements [2021-06-29T20:32:45.297Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.106s coverage: 78.0% of statements [2021-06-29T20:32:45.297Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.046s coverage: 94.4% of statements [2021-06-29T20:32:45.297Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-29T20:32:47.951Z] gofmt -l . [2021-06-29T20:32:47.951Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-06-29T20:32:48.579Z] $ docker stop --time=1 5c32acda4ebe9087bfb6c8c3293f5bc25166f8b2f6566fc696d36f71a1b6f11a [2021-06-29T20:32:50.650Z] $ docker rm -f 5c32acda4ebe9087bfb6c8c3293f5bc25166f8b2f6566fc696d36f71a1b6f11a [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-29T20:32:51.732Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-29T20:32:51.777Z] Warning: overwriting stash ‘coverage-report’ [2021-06-29T20:32:52.483Z] 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-29T20:32:53.560Z] ---> job-cost.sh [2021-06-29T20:32:53.561Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-zTkB [2021-06-29T20:33:51.107Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-29T20:35:42.957Z] lf-activate-venv(): INFO: Adding /tmp/venv-zTkB/bin to PATH [2021-06-29T20:35:42.957Z] INFO: No Stack... [2021-06-29T20:35:42.957Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-29T20:35:42.957Z] INFO: Archiving Costs [Pipeline] sh [2021-06-29T20:35:43.328Z] + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv [2021-06-29T20:35:43.328Z] + cut -d, -f6 [Pipeline] lock [2021-06-29T20:35:43.423Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-916-1-stack-cost] [2021-06-29T20:35:43.429Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-916-1-stack-cost] did not exist. Created. [2021-06-29T20:35:43.429Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-916-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-29T20:35:43.877Z] /w/workspace/app-functions-sdk-go/1@tmp/durable-623daf81/script.sh: 1: /w/workspace/app-functions-sdk-go/1@tmp/durable-623daf81/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-29T20:35:44.262Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-29T20:35:44.305Z] Warning: overwriting stash ‘stack-cost’ [2021-06-29T20:35:44.495Z] Stashed 1 file(s) [Pipeline] } [2021-06-29T20:35:44.527Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-916-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-29T20:35:45.884Z] provisioning config files... [2021-06-29T20:35:45.894Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-916@tmp/config6814951655275850052tmp [Pipeline] { [Pipeline] sh [2021-06-29T20:35:46.251Z] + set +x [2021-06-29T20:35:46.252Z] + curl -s https://codecov.io/bash [2021-06-29T20:35:46.252Z] + bash -s -- [2021-06-29T20:35:46.252Z] [2021-06-29T20:35:46.252Z] _____ _ [2021-06-29T20:35:46.252Z] / ____| | | [2021-06-29T20:35:46.252Z] | | ___ __| | ___ ___ _____ __ [2021-06-29T20:35:46.252Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-29T20:35:46.252Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-29T20:35:46.252Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-29T20:35:46.252Z] Bash-1.0.3 [2021-06-29T20:35:46.252Z] [2021-06-29T20:35:46.252Z] [2021-06-29T20:35:46.252Z] ==> git version 2.24.4 found [2021-06-29T20:35:46.252Z] ==> 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-29T20:35:46.252Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-29T20:35:46.252Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-29T20:35:46.252Z] ==> Jenkins CI detected. [2021-06-29T20:35:46.252Z] project root: . [2021-06-29T20:35:46.252Z] --> token set from env [2021-06-29T20:35:46.252Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-29T20:35:46.512Z] ==> Running gcov in . (disable via -X gcov) [2021-06-29T20:35:46.512Z] ==> Python coveragepy not found [2021-06-29T20:35:46.512Z] ==> Searching for coverage reports in: [2021-06-29T20:35:46.512Z] + . [2021-06-29T20:35:46.512Z] -> Found 2 reports [2021-06-29T20:35:46.512Z] ==> Detecting git/mercurial file structure [2021-06-29T20:35:46.512Z] ==> Reading reports [2021-06-29T20:35:46.512Z] + ./app-service-template/coverage.out bytes=1055 [2021-06-29T20:35:46.512Z] + ./coverage.out bytes=95181 [2021-06-29T20:35:46.512Z] ==> Appending adjustments [2021-06-29T20:35:46.512Z] https://docs.codecov.io/docs/fixing-reports [2021-06-29T20:35:46.775Z] + Found adjustments [2021-06-29T20:35:46.775Z] ==> Gzipping contents [2021-06-29T20:35:46.775Z] 20K /tmp/codecov.FsXSsP.gz [2021-06-29T20:35:46.775Z] ==> Uploading reports [2021-06-29T20:35:46.775Z] url: https://codecov.io [2021-06-29T20:35:46.775Z] query: branch=PR-916&commit=951a0015673747c439391eda2eac77bef53a790b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-916%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=916&job=&cmd_args= [2021-06-29T20:35:46.775Z] -> Pinging Codecov [2021-06-29T20:35:46.775Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-916&commit=951a0015673747c439391eda2eac77bef53a790b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-916%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=916&job=&cmd_args= [2021-06-29T20:35:47.347Z] -> Uploading to [2021-06-29T20:35:47.347Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-29/3D8B5DFFC46A037C893635FACE044666/951a0015673747c439391eda2eac77bef53a790b/d472b3a9-aa3a-4bbb-807a-2a87c6c0a8d3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210629%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210629T203547Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0091cb2ae26b32a4a83c1f16bc21f69e20c2fa3e7aed13d91452c2ca1c28e478 [2021-06-29T20:35:47.347Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-29T20:35:47.347Z] Dload Upload Total Spent Left Speed [2021-06-29T20:35:47.921Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16858 0 0 100 16858 0 33332 --:--:-- --:--:-- --:--:-- 33316 100 16858 0 0 100 16858 0 33323 --:--:-- --:--:-- --:--:-- 33316 [2021-06-29T20:35:47.921Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/951a0015673747c439391eda2eac77bef53a790b [Pipeline] } [2021-06-29T20:35:47.951Z] 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-29T20:35:50.943Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-29T20:35:51.593Z] ---> package-listing.sh [2021-06-29T20:35:51.593Z] ++ facter osfamily [2021-06-29T20:35:51.593Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-29T20:35:51.867Z] + OS_FAMILY=redhat [2021-06-29T20:35:51.867Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-916 [2021-06-29T20:35:51.867Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-29T20:35:51.867Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-29T20:35:51.867Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-29T20:35:51.867Z] + PACKAGES=/tmp/packages_start.txt [2021-06-29T20:35:51.867Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-916 ']' [2021-06-29T20:35:51.867Z] + PACKAGES=/tmp/packages_end.txt [2021-06-29T20:35:51.867Z] + case "${OS_FAMILY}" in [2021-06-29T20:35:51.867Z] + rpm -qa [2021-06-29T20:35:51.867Z] + sort [2021-06-29T20:35:52.445Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-29T20:35:52.445Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-29T20:35:52.445Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-29T20:35:52.445Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-916 ']' [2021-06-29T20:35:52.445Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-916/archives/ [2021-06-29T20:35:52.445Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-916/archives/ [Pipeline] echo [2021-06-29T20:35:52.486Z] 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-916/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-29T20:35:52.803Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-29T20:35:53.402Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-29T20:35:53.402Z] [2021-06-29T20:35:53.402Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-29T20:35:53.796Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-29T20:35:53.797Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-29T20:35:53.797Z] df20fa9351a1: Pulling fs layer [2021-06-29T20:35:53.797Z] 36b3adc4ff6f: Pulling fs layer [2021-06-29T20:35:53.797Z] 8ad3a11d3b57: Pulling fs layer [2021-06-29T20:35:53.797Z] 46f8f816bc3b: Pulling fs layer [2021-06-29T20:35:53.797Z] 93b61091891f: Pulling fs layer [2021-06-29T20:35:53.797Z] 93b9cdb0e59b: Pulling fs layer [2021-06-29T20:35:53.797Z] 5e14af77c1be: Pulling fs layer [2021-06-29T20:35:53.797Z] 01666e4c0597: Pulling fs layer [2021-06-29T20:35:53.797Z] aa168da1d23b: Pulling fs layer [2021-06-29T20:35:53.797Z] 93b61091891f: Waiting [2021-06-29T20:35:53.797Z] 93b9cdb0e59b: Waiting [2021-06-29T20:35:53.797Z] 5e14af77c1be: Waiting [2021-06-29T20:35:53.797Z] 01666e4c0597: Waiting [2021-06-29T20:35:53.797Z] aa168da1d23b: Waiting [2021-06-29T20:35:53.797Z] 46f8f816bc3b: Waiting [2021-06-29T20:35:53.797Z] 36b3adc4ff6f: Download complete [2021-06-29T20:35:53.797Z] 46f8f816bc3b: Verifying Checksum [2021-06-29T20:35:53.797Z] 46f8f816bc3b: Download complete [2021-06-29T20:35:53.797Z] df20fa9351a1: Verifying Checksum [2021-06-29T20:35:53.797Z] df20fa9351a1: Download complete [2021-06-29T20:35:54.060Z] 93b9cdb0e59b: Verifying Checksum [2021-06-29T20:35:54.060Z] 93b9cdb0e59b: Download complete [2021-06-29T20:35:54.060Z] 93b61091891f: Verifying Checksum [2021-06-29T20:35:54.060Z] 93b61091891f: Download complete [2021-06-29T20:35:54.060Z] 5e14af77c1be: Verifying Checksum [2021-06-29T20:35:54.060Z] 5e14af77c1be: Download complete [2021-06-29T20:35:54.060Z] 01666e4c0597: Verifying Checksum [2021-06-29T20:35:54.060Z] 01666e4c0597: Download complete [2021-06-29T20:35:54.060Z] df20fa9351a1: Pull complete [2021-06-29T20:35:54.319Z] 8ad3a11d3b57: Verifying Checksum [2021-06-29T20:35:54.319Z] 8ad3a11d3b57: Download complete [2021-06-29T20:35:54.319Z] 36b3adc4ff6f: Pull complete [2021-06-29T20:35:54.902Z] 8ad3a11d3b57: Pull complete [2021-06-29T20:35:54.902Z] 46f8f816bc3b: Pull complete [2021-06-29T20:35:55.164Z] 93b61091891f: Pull complete [2021-06-29T20:35:55.164Z] 93b9cdb0e59b: Pull complete [2021-06-29T20:35:55.428Z] 5e14af77c1be: Pull complete [2021-06-29T20:35:55.428Z] 01666e4c0597: Pull complete [2021-06-29T20:35:56.011Z] aa168da1d23b: Verifying Checksum [2021-06-29T20:35:56.011Z] aa168da1d23b: Download complete [2021-06-29T20:36:00.267Z] aa168da1d23b: Pull complete [2021-06-29T20:36:00.267Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-29T20:36:00.267Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-29T20:36:00.267Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-29T20:36:00.368Z] prd-centos7-docker-4c-2g-724 does not seem to be running inside a container [2021-06-29T20:36:00.412Z] $ 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-916/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-916 -v /w/workspace/ndry_app-functions-sdk-go_PR-916:/w/workspace/ndry_app-functions-sdk-go_PR-916:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-916@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-916@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-29T20:36:02.827Z] $ docker top 92679b946f24c11d6c98442c6d00935aeb27debf2c1f7216877ca84b3391d2bf -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-29T20:36:03.278Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-29T20:36:03.600Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-29T20:36:03.931Z] + ls /var/log/sa-host [2021-06-29T20:36:03.931Z] + sadf -c /var/log/sa-host/sa05 [2021-06-29T20:36:03.931Z] file_magic: OK [2021-06-29T20:36:03.931Z] HZ: Using current value: 100 [2021-06-29T20:36:03.931Z] file_header: OK [2021-06-29T20:36:03.931Z] 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-29T20:36:03.931Z] Statistics: [2021-06-29T20:36:03.931Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-29T20:36:03.932Z] File successfully converted to sysstat format version 12.2.1 [2021-06-29T20:36:03.932Z] + sadf -c /var/log/sa-host/sa29 [2021-06-29T20:36:03.932Z] file_magic: OK [2021-06-29T20:36:03.932Z] HZ: Using current value: 100 [2021-06-29T20:36:03.932Z] file_header: OK [2021-06-29T20:36:03.932Z] 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-29T20:36:03.932Z] Statistics: [2021-06-29T20:36:03.932Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-29T20:36:03.932Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-29T20:36:04.778Z] provisioning config files... [2021-06-29T20:36:04.804Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-916@tmp/config7037817419211285963tmp [Pipeline] { [Pipeline] echo [2021-06-29T20:36:04.861Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-29T20:36:05.200Z] ---> create-netrc.sh [Pipeline] } [2021-06-29T20:36:05.233Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-29T20:36:05.703Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-29T20:36:05.736Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-29T20:36:06.083Z] ---> sudo-logs.sh [2021-06-29T20:36:06.083Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-29T20:36:06.168Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-29T20:36:06.524Z] ---> job-cost.sh [2021-06-29T20:36:06.524Z] lf-activate-venv: SKIPPING [2021-06-29T20:36:06.524Z] DEBUG: total: 0.18000000715255737 [2021-06-29T20:36:06.524Z] INFO: Retrieving Stack Cost... [2021-06-29T20:36:07.912Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-29T20:36:08.484Z] INFO: Archiving Costs [Pipeline] echo [2021-06-29T20:36:08.520Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-29T20:36:08.853Z] ---> logs-deploy.sh [2021-06-29T20:36:08.853Z] lf-activate-venv: SKIPPING [2021-06-29T20:36:08.853Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-916/1 [2021-06-29T20:36:08.853Z] INFO: archiving workspace using pattern(s): [2021-06-29T20:36:09.796Z] Archives upload complete. [2021-06-29T20:36:09.796Z] INFO: archiving logs to Nexus