Pull request #921 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0fea3cdb622d216ef7ec3cfb4c36b165a461783c+b10469f13584187c4bd7f7cff58f5aa0259e83b1 (d6ccf2adfe0a0f7948f13dfd55cd05e506fbc141) 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-ssh5221112000521845468.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 144eb70ba3d470a427e699408e811d3f535e987a 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-ssh6410799166649722934.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 144eb70ba3d470a427e699408e811d3f535e987a 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-921/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-921/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7727260700293991755.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-921/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3538405666700422337.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 144eb70ba3d470a427e699408e811d3f535e987a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 144eb70ba3d470a427e699408e811d3f535e987a # timeout=10 Commit message: "Merge pull request #341 from ernestojeda/master-2-main" > 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-ssh2145839496959498556.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 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-921/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-921/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7973827144881554878.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 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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 144eb70ba3d470a427e699408e811d3f535e987a 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-42 in /w/workspace/ndry_app-functions-sdk-go_PR-921 [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-921 # 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-921@tmp/jenkins-gitclient-ssh2935151031559443048.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/main commit b10469f13584187c4bd7f7cff58f5aa0259e83b1 into PR head commit 0fea3cdb622d216ef7ec3cfb4c36b165a461783c Merge succeeded, producing 0fea3cdb622d216ef7ec3cfb4c36b165a461783c Checking out Revision 0fea3cdb622d216ef7ec3cfb4c36b165a461783c (PR-921) > 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-921@tmp/jenkins-gitclient-ssh2807312069985732831.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/921/head:refs/remotes/origin/PR-921 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0fea3cdb622d216ef7ec3cfb4c36b165a461783c # 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-921@tmp/jenkins-gitclient-ssh6138026645007458757.key > git merge b10469f13584187c4bd7f7cff58f5aa0259e83b1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0fea3cdb622d216ef7ec3cfb4c36b165a461783c # timeout=10 Commit message: "build(deps): bump github.com/google/uuid from 1.2.0 to 1.3.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-13T04:07:52.668Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-13T04:07:52.908Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-13T04:07:53.031Z] ========================================================= [2021-07-13T04:07:53.031Z] EdgeX Global Pipelines Version Info [2021-07-13T04:07:53.031Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-13T04:07:54.441Z] ------------------- [2021-07-13T04:07:54.441Z] stable info: [2021-07-13T04:07:54.441Z] ------------------- [2021-07-13T04:07:54.441Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-13T04:07:54.441Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-13T04:07:54.441Z] Message: update stable to v1.0.196 [2021-07-13T04:07:55.017Z] ------------------- [2021-07-13T04:07:55.017Z] experimental info: [2021-07-13T04:07:55.017Z] ------------------- [2021-07-13T04:07:55.017Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-13T04:07:55.017Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-13T04:07:55.017Z] Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-13T04:07:55.300Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-07-13T04:07:55.365Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-07-13T04:07:55.426Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-13T04:07:55.483Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-13T04:07:55.543Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-13T04:07:55.613Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-13T04:07:55.690Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-13T04:07:55.759Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-13T04:07:55.836Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-07-13T04:07:55.902Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-13T04:07:55.962Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-13T04:07:56.026Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-07-13T04:07:56.094Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-13T04:07:56.155Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-13T04:07:56.235Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-07-13T04:07:56.297Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-07-13T04:07:56.359Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-07-13T04:07:56.420Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-07-13T04:07:56.481Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-13T04:07:56.542Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-13T04:07:56.605Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-07-13T04:07:56.664Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-07-13T04:07:56.743Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-07-13T04:07:56.821Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-07-13T04:07:56.899Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-07-13T04:07:56.959Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-13T04:07:57.040Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-921 [Pipeline] echo [2021-07-13T04:07:57.101Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-921 [Pipeline] echo [2021-07-13T04:07:57.175Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-921 [Pipeline] echo [2021-07-13T04:07:57.240Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0fea3cdb622d216ef7ec3cfb4c36b165a461783c [Pipeline] echo [2021-07-13T04:07:57.300Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0fea3cd [Pipeline] echo [2021-07-13T04:07:57.358Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-13T04:07:58.051Z] + git log --format=format:%s -1 0fea3cdb622d216ef7ec3cfb4c36b165a461783c [Pipeline] echo [2021-07-13T04:07:58.113Z] GIT_COMMIT: 0fea3cdb622d216ef7ec3cfb4c36b165a461783c, Commit Message: build(deps): bump github.com/google/uuid from 1.2.0 to 1.3.0 [Pipeline] echo [2021-07-13T04:07:58.152Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-07-13T04:07:58.822Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-13T04:07:58.822Z] [2021-07-13T04:07:58.822Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-13T04:07:59.191Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-13T04:07:59.192Z] latest: Pulling from edgex-devops/git-semver [2021-07-13T04:07:59.192Z] 31603596830f: Pulling fs layer [2021-07-13T04:07:59.192Z] b6dc333f4379: Pulling fs layer [2021-07-13T04:07:59.192Z] 3d9ef1400e77: Pulling fs layer [2021-07-13T04:07:59.192Z] fd332fbdc1db: Pulling fs layer [2021-07-13T04:07:59.192Z] fd332fbdc1db: Waiting [2021-07-13T04:07:59.192Z] b6dc333f4379: Verifying Checksum [2021-07-13T04:07:59.192Z] b6dc333f4379: Download complete [2021-07-13T04:07:59.454Z] 31603596830f: Verifying Checksum [2021-07-13T04:07:59.454Z] 31603596830f: Download complete [2021-07-13T04:07:59.454Z] fd332fbdc1db: Verifying Checksum [2021-07-13T04:07:59.454Z] fd332fbdc1db: Download complete [2021-07-13T04:07:59.454Z] 3d9ef1400e77: Verifying Checksum [2021-07-13T04:07:59.454Z] 3d9ef1400e77: Download complete [2021-07-13T04:07:59.715Z] 31603596830f: Pull complete [2021-07-13T04:07:59.715Z] b6dc333f4379: Pull complete [2021-07-13T04:08:00.289Z] 3d9ef1400e77: Pull complete [2021-07-13T04:08:00.550Z] fd332fbdc1db: Pull complete [2021-07-13T04:08:00.550Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-13T04:08:00.550Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-13T04:08:00.550Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-13T04:08:00.663Z] prd-centos7-docker-4c-2g-42 does not seem to be running inside a container [2021-07-13T04:08:00.705Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-921 -v /w/workspace/ndry_app-functions-sdk-go_PR-921:/w/workspace/ndry_app-functions-sdk-go_PR-921:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-921@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-921@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:10004/edgex-devops/git-semver:latest cat [2021-07-13T04:08:01.543Z] $ docker top 474c9f2131d4663ede1b3940b924cc33c78b9a8f1c5ed638b1539b6d0794f2ae -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-13T04:08:01.759Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-13T04:08:01.759Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-13T04:08:01.868Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-13T04:08:01.870Z] $ docker exec 474c9f2131d4663ede1b3940b924cc33c78b9a8f1c5ed638b1539b6d0794f2ae ssh-agent [2021-07-13T04:08:01.987Z] SSH_AUTH_SOCK=/tmp/ssh-IjEX3PxRO7TI/agent.13 [2021-07-13T04:08:01.987Z] SSH_AGENT_PID=19 [2021-07-13T04:08:01.995Z] Running ssh-add (command line suppressed) [2021-07-13T04:08:02.111Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-921@tmp/private_key_878381067323913626.key (/w/workspace/ndry_app-functions-sdk-go_PR-921@tmp/private_key_878381067323913626.key) [2021-07-13T04:08:02.128Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-13T04:08:02.477Z] + git tag --points-at HEAD [Pipeline] } [2021-07-13T04:08:02.499Z] $ docker exec --env ******** --env ******** 474c9f2131d4663ede1b3940b924cc33c78b9a8f1c5ed638b1539b6d0794f2ae ssh-agent -k [2021-07-13T04:08:02.588Z] unset SSH_AUTH_SOCK; [2021-07-13T04:08:02.588Z] unset SSH_AGENT_PID; [2021-07-13T04:08:02.588Z] echo Agent pid 19 killed; [2021-07-13T04:08:02.605Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-13T04:08:02.720Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-13T04:08:02.720Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-13T04:08:02.826Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-13T04:08:02.826Z] $ docker exec 474c9f2131d4663ede1b3940b924cc33c78b9a8f1c5ed638b1539b6d0794f2ae ssh-agent [2021-07-13T04:08:02.928Z] SSH_AUTH_SOCK=/tmp/ssh-dtFFtUq8qJQP/agent.54 [2021-07-13T04:08:02.928Z] SSH_AGENT_PID=60 [2021-07-13T04:08:02.933Z] Running ssh-add (command line suppressed) [2021-07-13T04:08:03.028Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-921@tmp/private_key_1391732000891115824.key (/w/workspace/ndry_app-functions-sdk-go_PR-921@tmp/private_key_1391732000891115824.key) [2021-07-13T04:08:03.045Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-13T04:08:03.395Z] + git semver init [2021-07-13T04:08:03.395Z] # -> Open(): unable to determine branch for HEAD [2021-07-13T04:08:03.395Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-921/.git [2021-07-13T04:08:03.395Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-921 [2021-07-13T04:08:03.395Z] # $SEMVER_REMOTE_NAME = origin [2021-07-13T04:08:03.395Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-13T04:08:03.395Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-13T04:08:03.395Z] # $SEMVER_BRANCH = PR-921 [2021-07-13T04:08:03.395Z] # $SEMVER_TEMP = /tmp/semver-586352707 [2021-07-13T04:08:03.395Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-07-13T04:08:05.944Z] # '/tmp/semver-586352707' -> '/w/workspace/ndry_app-functions-sdk-go_PR-921/.semver' [2021-07-13T04:08:05.944Z] # -> Force: false [2021-07-13T04:08:05.944Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-921/.semver [Pipeline] } [2021-07-13T04:08:05.962Z] $ docker exec --env ******** --env ******** 474c9f2131d4663ede1b3940b924cc33c78b9a8f1c5ed638b1539b6d0794f2ae ssh-agent -k [2021-07-13T04:08:06.046Z] unset SSH_AUTH_SOCK; [2021-07-13T04:08:06.047Z] unset SSH_AGENT_PID; [2021-07-13T04:08:06.047Z] echo Agent pid 60 killed; [2021-07-13T04:08:06.062Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-13T04:08:06.504Z] + git semver [Pipeline] } [2021-07-13T04:08:06.530Z] $ docker stop --time=1 474c9f2131d4663ede1b3940b924cc33c78b9a8f1c5ed638b1539b6d0794f2ae [2021-07-13T04:08:07.882Z] $ docker rm -f 474c9f2131d4663ede1b3940b924cc33c78b9a8f1c5ed638b1539b6d0794f2ae [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-13T04:08:08.315Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-13T04:08:08.658Z] Stashed 1 file(s) [Pipeline] echo [2021-07-13T04:08:08.682Z] [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-07-13T04:08:24.322Z] Still waiting to schedule task [2021-07-13T04:08:24.323Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-07-13T04:08:24.361Z] Still waiting to schedule task [2021-07-13T04:08:24.361Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-07-13T04:10:41.483Z] Running on prd-centos7-docker-4c-2g-46 in /w/workspace/ndry_app-functions-sdk-go_PR-921 [Pipeline] { [Pipeline] ws [2021-07-13T04:10:41.542Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-07-13T04:10:41.712Z] The recommended git tool is: git [2021-07-13T04:10:44.134Z] using credential edgex-jenkins-ssh [2021-07-13T04:10:44.149Z] Cloning the remote Git repository [2021-07-13T04:10:44.173Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-13T04:10:44.243Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-07-13T04:10:44.272Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-13T04:10:44.273Z] > git --version # timeout=10 [2021-07-13T04:10:44.277Z] > git --version # 'git version 2.24.4' [2021-07-13T04:10:44.277Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-13T04:10:44.316Z] [INFO] Currently running in a labeled security context [2021-07-13T04:10:44.316Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-13T04:10:44.316Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh1080238225363657592.key [2021-07-13T04:10:44.342Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-13T04:10:46.261Z] Merging remotes/origin/main commit b10469f13584187c4bd7f7cff58f5aa0259e83b1 into PR head commit 0fea3cdb622d216ef7ec3cfb4c36b165a461783c [2021-07-13T04:10:45.802Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-07-13T04:10:45.819Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-13T04:10:45.834Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-07-13T04:10:45.845Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-13T04:10:45.846Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-13T04:10:45.847Z] [INFO] Currently running in a labeled security context [2021-07-13T04:10:45.847Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-13T04:10:45.847Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh2087941467888055157.key [2021-07-13T04:10:45.855Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/921/head:refs/remotes/origin/PR-921 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-13T04:10:46.265Z] > git config core.sparsecheckout # timeout=10 [2021-07-13T04:10:46.270Z] > git checkout -f 0fea3cdb622d216ef7ec3cfb4c36b165a461783c # timeout=10 [2021-07-13T04:10:46.349Z] Merge succeeded, producing 0fea3cdb622d216ef7ec3cfb4c36b165a461783c [2021-07-13T04:10:46.349Z] Checking out Revision 0fea3cdb622d216ef7ec3cfb4c36b165a461783c (PR-921) [2021-07-13T04:10:46.305Z] > git remote # timeout=10 [2021-07-13T04:10:46.312Z] > git config --get remote.origin.url # timeout=10 [2021-07-13T04:10:46.318Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-13T04:10:46.319Z] [INFO] Currently running in a labeled security context [2021-07-13T04:10:46.319Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-13T04:10:46.320Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh6011383087044091746.key [2021-07-13T04:10:46.329Z] > git merge b10469f13584187c4bd7f7cff58f5aa0259e83b1 # timeout=10 [2021-07-13T04:10:46.338Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-13T04:10:46.349Z] > git config core.sparsecheckout # timeout=10 [2021-07-13T04:10:46.354Z] > git checkout -f 0fea3cdb622d216ef7ec3cfb4c36b165a461783c # timeout=10 [2021-07-13T04:10:50.055Z] Commit message: "build(deps): bump github.com/google/uuid from 1.2.0 to 1.3.0" [2021-07-13T04:10:50.079Z] > git --version # timeout=10 [2021-07-13T04:10:50.113Z] > git --version # 'git version 2.24.4' [2021-07-13T04:10:50.138Z] fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-13T04:10:51.432Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-07-13T04:10:51.788Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-13T04:10:52.118Z] + sudo service docker restart [2021-07-13T04:10:52.118Z] + true [2021-07-13T04:10:52.118Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-07-13T04:11:10.458Z] ========================================================= [2021-07-13T04:11:10.458Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-13T04:11:10.458Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-13T04:11:10.815Z] + 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-07-13T04:11:11.773Z] Sending build context to Docker daemon 19.74MB [2021-07-13T04:11:11.773Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-13T04:11:11.773Z] Step 2/8 : FROM ${BASE} [2021-07-13T04:11:12.036Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-13T04:11:12.036Z] 540db60ca938: Pulling fs layer [2021-07-13T04:11:12.036Z] adcc1eea9eea: Pulling fs layer [2021-07-13T04:11:12.036Z] 4c4ab2625f07: Pulling fs layer [2021-07-13T04:11:12.036Z] 0773c198feca: Pulling fs layer [2021-07-13T04:11:12.036Z] 345f892a5656: Pulling fs layer [2021-07-13T04:11:12.036Z] 9ac62484cfdc: Pulling fs layer [2021-07-13T04:11:12.036Z] 5ac4037533be: Pulling fs layer [2021-07-13T04:11:12.036Z] dc6bda0758c5: Pulling fs layer [2021-07-13T04:11:12.036Z] 345f892a5656: Waiting [2021-07-13T04:11:12.036Z] 9ac62484cfdc: Waiting [2021-07-13T04:11:12.036Z] 5ac4037533be: Waiting [2021-07-13T04:11:12.036Z] dc6bda0758c5: Waiting [2021-07-13T04:11:12.036Z] 0773c198feca: Waiting [2021-07-13T04:11:12.036Z] 4c4ab2625f07: Verifying Checksum [2021-07-13T04:11:12.036Z] 4c4ab2625f07: Download complete [2021-07-13T04:11:12.036Z] adcc1eea9eea: Verifying Checksum [2021-07-13T04:11:12.036Z] adcc1eea9eea: Download complete [2021-07-13T04:11:12.036Z] 345f892a5656: Verifying Checksum [2021-07-13T04:11:12.036Z] 345f892a5656: Download complete [2021-07-13T04:11:12.036Z] 9ac62484cfdc: Verifying Checksum [2021-07-13T04:11:12.036Z] 9ac62484cfdc: Download complete [2021-07-13T04:11:12.297Z] 540db60ca938: Verifying Checksum [2021-07-13T04:11:12.297Z] 540db60ca938: Download complete [2021-07-13T04:11:12.558Z] 540db60ca938: Pull complete [2021-07-13T04:11:12.823Z] 5ac4037533be: Verifying Checksum [2021-07-13T04:11:12.823Z] 5ac4037533be: Download complete [2021-07-13T04:11:12.823Z] adcc1eea9eea: Pull complete [2021-07-13T04:11:13.100Z] 4c4ab2625f07: Pull complete [2021-07-13T04:11:14.490Z] dc6bda0758c5: Verifying Checksum [2021-07-13T04:11:14.490Z] dc6bda0758c5: Download complete [2021-07-13T04:11:14.751Z] 0773c198feca: Verifying Checksum [2021-07-13T04:11:14.751Z] 0773c198feca: Download complete [2021-07-13T04:11:18.952Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-45 in /w/workspace/ndry_app-functions-sdk-go_PR-921 [Pipeline] { [Pipeline] ws [2021-07-13T04:11:19.007Z] 0773c198feca: Pull complete [2021-07-13T04:11:19.007Z] 345f892a5656: Pull complete [2021-07-13T04:11:19.007Z] 9ac62484cfdc: Pull complete [2021-07-13T04:11:19.007Z] 5ac4037533be: Pull complete [2021-07-13T04:11:19.011Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-07-13T04:11:19.277Z] The recommended git tool is: git [2021-07-13T04:11:20.422Z] dc6bda0758c5: Pull complete [2021-07-13T04:11:20.683Z] Digest: sha256:693441261ed0de8fcf303aa2a0eae3a43e217b849db77d7793b1d2a0399e3ec4 [2021-07-13T04:11:20.684Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-13T04:11:20.684Z] ---> eb58bd16d52e [2021-07-13T04:11:20.684Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-07-13T04:11:20.944Z] 20.10.0: Pulling from library/docker [2021-07-13T04:11:21.516Z] 05e7bc50f07f: Pulling fs layer [2021-07-13T04:11:21.516Z] 6db28d0fdbf6: Pulling fs layer [2021-07-13T04:11:21.516Z] 292df0bc6bf3: Pulling fs layer [2021-07-13T04:11:21.516Z] 2e060f4bd70b: Pulling fs layer [2021-07-13T04:11:21.516Z] 80e8d568a223: Pulling fs layer [2021-07-13T04:11:21.516Z] 8dc6ef1a942a: Pulling fs layer [2021-07-13T04:11:21.516Z] 2312dd95470a: Pulling fs layer [2021-07-13T04:11:21.516Z] 2e060f4bd70b: Waiting [2021-07-13T04:11:21.516Z] 8dc6ef1a942a: Waiting [2021-07-13T04:11:21.516Z] 2312dd95470a: Waiting [2021-07-13T04:11:21.516Z] 80e8d568a223: Waiting [2021-07-13T04:11:21.516Z] 292df0bc6bf3: Verifying Checksum [2021-07-13T04:11:21.516Z] 292df0bc6bf3: Download complete [2021-07-13T04:11:21.516Z] 6db28d0fdbf6: Verifying Checksum [2021-07-13T04:11:21.516Z] 6db28d0fdbf6: Download complete [2021-07-13T04:11:21.516Z] 80e8d568a223: Verifying Checksum [2021-07-13T04:11:21.516Z] 80e8d568a223: Download complete [2021-07-13T04:11:21.516Z] 8dc6ef1a942a: Verifying Checksum [2021-07-13T04:11:21.516Z] 8dc6ef1a942a: Download complete [2021-07-13T04:11:21.516Z] 05e7bc50f07f: Verifying Checksum [2021-07-13T04:11:21.516Z] 05e7bc50f07f: Download complete [2021-07-13T04:11:21.516Z] 2312dd95470a: Verifying Checksum [2021-07-13T04:11:21.516Z] 2312dd95470a: Download complete [2021-07-13T04:11:21.784Z] 05e7bc50f07f: Pull complete [2021-07-13T04:11:22.047Z] 6db28d0fdbf6: Pull complete [2021-07-13T04:11:22.308Z] 292df0bc6bf3: Pull complete [2021-07-13T04:11:22.587Z] 2e060f4bd70b: Verifying Checksum [2021-07-13T04:11:22.587Z] 2e060f4bd70b: Download complete [2021-07-13T04:11:24.552Z] using credential edgex-jenkins-ssh [2021-07-13T04:11:24.622Z] Cloning the remote Git repository [2021-07-13T04:11:24.666Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-13T04:11:24.833Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-07-13T04:11:24.906Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-13T04:11:24.906Z] > git --version # timeout=10 [2021-07-13T04:11:24.922Z] > git --version # 'git version 2.17.1' [2021-07-13T04:11:24.924Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-13T04:11:25.025Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-13T04:11:26.839Z] 2e060f4bd70b: Pull complete [2021-07-13T04:11:26.840Z] 80e8d568a223: Pull complete [2021-07-13T04:11:27.100Z] 8dc6ef1a942a: Pull complete [2021-07-13T04:11:27.101Z] 2312dd95470a: Pull complete [2021-07-13T04:11:27.368Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-07-13T04:11:27.368Z] Status: Downloaded newer image for docker:20.10.0 [2021-07-13T04:11:28.025Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-07-13T04:11:28.614Z] Merging remotes/origin/main commit b10469f13584187c4bd7f7cff58f5aa0259e83b1 into PR head commit 0fea3cdb622d216ef7ec3cfb4c36b165a461783c [2021-07-13T04:11:28.847Z] Merge succeeded, producing 0fea3cdb622d216ef7ec3cfb4c36b165a461783c [2021-07-13T04:11:28.847Z] Checking out Revision 0fea3cdb622d216ef7ec3cfb4c36b165a461783c (PR-921) [2021-07-13T04:11:28.043Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-13T04:11:28.071Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-07-13T04:11:28.109Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-13T04:11:28.110Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-13T04:11:28.121Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/921/head:refs/remotes/origin/PR-921 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-13T04:11:28.619Z] > git config core.sparsecheckout # timeout=10 [2021-07-13T04:11:28.639Z] > git checkout -f 0fea3cdb622d216ef7ec3cfb4c36b165a461783c # timeout=10 [2021-07-13T04:11:28.748Z] > git remote # timeout=10 [2021-07-13T04:11:28.767Z] > git config --get remote.origin.url # timeout=10 [2021-07-13T04:11:28.783Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-13T04:11:28.794Z] > git merge b10469f13584187c4bd7f7cff58f5aa0259e83b1 # timeout=10 [2021-07-13T04:11:28.816Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-13T04:11:28.841Z] > git config core.sparsecheckout # timeout=10 [2021-07-13T04:11:28.859Z] > git checkout -f 0fea3cdb622d216ef7ec3cfb4c36b165a461783c # timeout=10 [2021-07-13T04:11:33.116Z] Commit message: "build(deps): bump github.com/google/uuid from 1.2.0 to 1.3.0" [2021-07-13T04:11:33.163Z] > git --version # timeout=10 [2021-07-13T04:11:33.174Z] > git --version # 'git version 2.17.1' [2021-07-13T04:11:33.198Z] fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-13T04:11:34.782Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-07-13T04:11:35.224Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-13T04:11:35.587Z] + true [2021-07-13T04:11:35.587Z] + sudo service docker restart [2021-07-13T04:11:42.289Z] ---> 7cdac02db056 [2021-07-13T04:11:42.289Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-07-13T04:11:42.289Z] ---> Running in 670d906333d0 [2021-07-13T04:11:42.555Z] Removing intermediate container 670d906333d0 [2021-07-13T04:11:42.555Z] ---> f803c4fd1411 [2021-07-13T04:11:42.555Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-07-13T04:11:42.815Z] ---> Running in 7cafdf192f45 [2021-07-13T04:11:43.391Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-13T04:11:44.334Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-13T04:11:44.905Z] (1/5) Installing libsodium (1.0.18-r0) [2021-07-13T04:11:45.165Z] (2/5) Installing libzmq (4.3.3-r1) [2021-07-13T04:11:45.165Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-07-13T04:11:45.165Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-07-13T04:11:45.426Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-07-13T04:11:45.426Z] Executing busybox-1.32.1-r6.trigger [2021-07-13T04:11:45.426Z] OK: 150 MiB in 45 packages [2021-07-13T04:11:46.821Z] Removing intermediate container 7cafdf192f45 [2021-07-13T04:11:46.821Z] ---> 513cca3bcd1c [2021-07-13T04:11:46.821Z] Step 6/8 : WORKDIR /build [2021-07-13T04:11:46.821Z] ---> Running in f0c160502914 [2021-07-13T04:11:47.084Z] Removing intermediate container f0c160502914 [2021-07-13T04:11:47.084Z] ---> 99e4e239de0d [2021-07-13T04:11:47.084Z] Step 7/8 : COPY go.mod . [2021-07-13T04:11:47.654Z] ---> 6c86dc5f8397 [2021-07-13T04:11:47.654Z] Step 8/8 : RUN go mod download [2021-07-13T04:11:47.654Z] ---> Running in 49caa823b35b [Pipeline] unstash [Pipeline] echo [2021-07-13T04:11:54.424Z] ========================================================= [2021-07-13T04:11:54.425Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-13T04:11:54.425Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-13T04:11:54.842Z] + 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-07-13T04:11:55.828Z] Sending build context to Docker daemon 19.74MB [2021-07-13T04:11:56.103Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-13T04:11:56.103Z] Step 2/8 : FROM ${BASE} [2021-07-13T04:11:56.376Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-13T04:11:56.376Z] 595b0fe564bb: Pulling fs layer [2021-07-13T04:11:56.376Z] 24495759ef45: Pulling fs layer [2021-07-13T04:11:56.376Z] d148012ef14d: Pulling fs layer [2021-07-13T04:11:56.376Z] cb65c68fc2e2: Pulling fs layer [2021-07-13T04:11:56.376Z] 093eec477d81: Pulling fs layer [2021-07-13T04:11:56.376Z] 20fd20ab2234: Pulling fs layer [2021-07-13T04:11:56.376Z] 43245461236d: Pulling fs layer [2021-07-13T04:11:56.376Z] 5a37c24eccbd: Pulling fs layer [2021-07-13T04:11:56.376Z] 20fd20ab2234: Waiting [2021-07-13T04:11:56.376Z] cb65c68fc2e2: Waiting [2021-07-13T04:11:56.376Z] 093eec477d81: Waiting [2021-07-13T04:11:56.376Z] 43245461236d: Waiting [2021-07-13T04:11:56.376Z] 5a37c24eccbd: Waiting [2021-07-13T04:11:56.376Z] d148012ef14d: Download complete [2021-07-13T04:11:56.376Z] 24495759ef45: Download complete [2021-07-13T04:11:56.652Z] 093eec477d81: Verifying Checksum [2021-07-13T04:11:56.652Z] 093eec477d81: Download complete [2021-07-13T04:11:56.652Z] 595b0fe564bb: Verifying Checksum [2021-07-13T04:11:56.652Z] 595b0fe564bb: Download complete [2021-07-13T04:11:56.652Z] 43245461236d: Verifying Checksum [2021-07-13T04:11:56.652Z] 43245461236d: Download complete [2021-07-13T04:11:57.266Z] 595b0fe564bb: Pull complete [2021-07-13T04:11:57.545Z] 20fd20ab2234: Verifying Checksum [2021-07-13T04:11:57.545Z] 20fd20ab2234: Download complete [2021-07-13T04:11:57.824Z] 24495759ef45: Pull complete [2021-07-13T04:11:58.421Z] d148012ef14d: Pull complete [2021-07-13T04:11:59.395Z] 5a37c24eccbd: Verifying Checksum [2021-07-13T04:11:59.395Z] 5a37c24eccbd: Download complete [2021-07-13T04:12:00.372Z] cb65c68fc2e2: Verifying Checksum [2021-07-13T04:12:00.372Z] cb65c68fc2e2: Download complete [2021-07-13T04:12:12.805Z] cb65c68fc2e2: Pull complete [2021-07-13T04:12:12.805Z] 093eec477d81: Pull complete [2021-07-13T04:12:12.805Z] 20fd20ab2234: Pull complete [2021-07-13T04:12:12.805Z] 43245461236d: Pull complete [2021-07-13T04:12:14.261Z] Removing intermediate container 49caa823b35b [2021-07-13T04:12:14.262Z] ---> f986f88a2ef1 [2021-07-13T04:12:14.262Z] Successfully built f986f88a2ef1 [2021-07-13T04:12:14.262Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-13T04:12:14.621Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-13T04:12:14.621Z] . [Pipeline] withDockerContainer [2021-07-13T04:12:14.746Z] prd-centos7-docker-4c-2g-46 does not seem to be running inside a container [2021-07-13T04:12:14.785Z] $ 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-07-13T04:12:15.336Z] $ docker top a842dbd64c94b05c79367cf361d4b8871005281fd59becfeff4502ffe0965334 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-13T04:12:15.909Z] + go version [2021-07-13T04:12:15.909Z] go version go1.16.5 linux/amd64 [Pipeline] } [2021-07-13T04:12:15.936Z] $ docker stop --time=1 a842dbd64c94b05c79367cf361d4b8871005281fd59becfeff4502ffe0965334 [2021-07-13T04:12:16.202Z] 5a37c24eccbd: Pull complete [2021-07-13T04:12:16.202Z] Digest: sha256:1f93be31992c0c85398b36ba92fe0466778821d351774b6a75e3069a3cd419d7 [2021-07-13T04:12:16.202Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-13T04:12:16.202Z] ---> 274d7007c78b [2021-07-13T04:12:16.202Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-07-13T04:12:16.202Z] 20.10.0: Pulling from library/docker [2021-07-13T04:12:16.797Z] a3cc7d3b244e: Pulling fs layer [2021-07-13T04:12:16.797Z] 02a3295e0d61: Pulling fs layer [2021-07-13T04:12:16.797Z] 0f4f2e6d8100: Pulling fs layer [2021-07-13T04:12:16.797Z] 330b718f631f: Pulling fs layer [2021-07-13T04:12:16.797Z] a93816041522: Pulling fs layer [2021-07-13T04:12:16.797Z] bdb6da89ff94: Pulling fs layer [2021-07-13T04:12:16.797Z] 2a70c0c122f4: Pulling fs layer [2021-07-13T04:12:16.797Z] 330b718f631f: Waiting [2021-07-13T04:12:16.797Z] a93816041522: Waiting [2021-07-13T04:12:16.797Z] bdb6da89ff94: Waiting [2021-07-13T04:12:16.797Z] 2a70c0c122f4: Waiting [2021-07-13T04:12:16.797Z] 0f4f2e6d8100: Verifying Checksum [2021-07-13T04:12:16.797Z] 0f4f2e6d8100: Download complete [2021-07-13T04:12:16.797Z] 02a3295e0d61: Download complete [2021-07-13T04:12:16.797Z] a93816041522: Verifying Checksum [2021-07-13T04:12:16.797Z] a93816041522: Download complete [2021-07-13T04:12:16.797Z] a3cc7d3b244e: Download complete [2021-07-13T04:12:16.797Z] bdb6da89ff94: Verifying Checksum [2021-07-13T04:12:16.797Z] bdb6da89ff94: Download complete [2021-07-13T04:12:16.797Z] 2a70c0c122f4: Verifying Checksum [2021-07-13T04:12:16.797Z] 2a70c0c122f4: Download complete [2021-07-13T04:12:17.139Z] $ docker rm -f a842dbd64c94b05c79367cf361d4b8871005281fd59becfeff4502ffe0965334 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-13T04:12:17.782Z] a3cc7d3b244e: Pull complete [2021-07-13T04:12:18.038Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-13T04:12:18.038Z] . [Pipeline] withDockerContainer [2021-07-13T04:12:18.150Z] prd-centos7-docker-4c-2g-46 does not seem to be running inside a container [2021-07-13T04:12:18.192Z] $ 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-07-13T04:12:18.388Z] 02a3295e0d61: Pull complete [2021-07-13T04:12:18.388Z] 330b718f631f: Verifying Checksum [2021-07-13T04:12:18.388Z] 330b718f631f: Download complete [2021-07-13T04:12:18.622Z] $ docker top 14daa5afa4151731c01bd0491860c45f543f0a22518922b90e3e8750a15c4983 -eo pid,comm [2021-07-13T04:12:18.660Z] 0f4f2e6d8100: Pull complete [Pipeline] { [Pipeline] sh [2021-07-13T04:12:19.098Z] + go mod tidy [Pipeline] sh [2021-07-13T04:12:19.697Z] + make test [2021-07-13T04:12:19.697Z] make -C ./app-service-template build [2021-07-13T04:12:19.697Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-07-13T04:12:19.697Z] go mod tidy [2021-07-13T04:12:19.968Z] 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-07-13T04:12:22.973Z] 330b718f631f: Pull complete [2021-07-13T04:12:22.973Z] a93816041522: Pull complete [2021-07-13T04:12:22.973Z] bdb6da89ff94: Pull complete [2021-07-13T04:12:23.248Z] 2a70c0c122f4: Pull complete [2021-07-13T04:12:23.248Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-07-13T04:12:23.248Z] Status: Downloaded newer image for docker:20.10.0 [2021-07-13T04:12:28.663Z] ---> c8d9543af3aa [2021-07-13T04:12:28.663Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-07-13T04:12:28.663Z] ---> Running in ace82027c584 [2021-07-13T04:12:28.663Z] Removing intermediate container ace82027c584 [2021-07-13T04:12:28.663Z] ---> 3eb8b3483818 [2021-07-13T04:12:28.663Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-07-13T04:12:28.938Z] ---> Running in b0b53280015e [2021-07-13T04:12:30.374Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-13T04:12:31.349Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-13T04:12:31.954Z] (1/5) Installing libsodium (1.0.18-r0) [2021-07-13T04:12:31.954Z] (2/5) Installing libzmq (4.3.3-r1) [2021-07-13T04:12:31.954Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-07-13T04:12:32.226Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-07-13T04:12:32.226Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-07-13T04:12:32.263Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-07-13T04:12:32.263Z] make -C ./app-service-template test [2021-07-13T04:12:32.263Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-07-13T04:12:32.263Z] go mod tidy [2021-07-13T04:12:32.263Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-07-13T04:12:32.502Z] Executing busybox-1.32.1-r6.trigger [2021-07-13T04:12:32.502Z] OK: 139 MiB in 45 packages [2021-07-13T04:12:33.479Z] Removing intermediate container b0b53280015e [2021-07-13T04:12:33.479Z] ---> 5187c1b776f4 [2021-07-13T04:12:33.479Z] Step 6/8 : WORKDIR /build [2021-07-13T04:12:33.754Z] ---> Running in 1cadf6870320 [2021-07-13T04:12:34.354Z] Removing intermediate container 1cadf6870320 [2021-07-13T04:12:34.354Z] ---> bcc4edc6b078 [2021-07-13T04:12:34.354Z] Step 7/8 : COPY go.mod . [2021-07-13T04:12:34.968Z] ---> c6da30e04f05 [2021-07-13T04:12:34.968Z] Step 8/8 : RUN go mod download [2021-07-13T04:12:35.242Z] ---> Running in 0775c3663749 [2021-07-13T04:12:40.499Z] ok new-app-service 0.011s coverage: 47.8% of statements [2021-07-13T04:12:40.499Z] ? new-app-service/config [no test files] [2021-07-13T04:12:40.499Z] ok new-app-service/functions 0.008s [2021-07-13T04:12:40.499Z] CGO_ENABLED=1 go vet ./... [2021-07-13T04:12:47.148Z] gofmt -l . [2021-07-13T04:12:47.148Z] [ "`gofmt -l .`" = "" ] [2021-07-13T04:12:47.148Z] ./bin/test-attribution-txt.sh [2021-07-13T04:12:47.732Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-07-13T04:12:47.732Z] go mod tidy [2021-07-13T04:12:47.732Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-07-13T04:12:48.310Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-07-13T04:12:49.714Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.014s coverage: 63.6% of statements [2021-07-13T04:12:49.714Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.008s coverage: 96.5% of statements [2021-07-13T04:12:49.714Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-07-13T04:12:50.300Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.013s coverage: 61.8% of statements [2021-07-13T04:12:50.300Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-07-13T04:12:50.300Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.006s [2021-07-13T04:12:51.259Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.161s coverage: 74.5% of statements [2021-07-13T04:12:51.259Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-07-13T04:12:51.259Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-07-13T04:12:51.259Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-07-13T04:12:51.259Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-07-13T04:12:51.259Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-07-13T04:12:51.259Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-07-13T04:12:51.259Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.003s coverage: 97.1% of statements [2021-07-13T04:12:51.259Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-07-13T04:12:51.259Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.018s coverage: 10.5% of statements [2021-07-13T04:12:55.504Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.747s coverage: 76.1% of statements [2021-07-13T04:12:55.504Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-07-13T04:12:55.504Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.008s coverage: 12.5% of statements [2021-07-13T04:12:55.504Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.012s coverage: 27.3% of statements [2021-07-13T04:12:55.504Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-07-13T04:12:55.504Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-07-13T04:12:55.504Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.009s coverage: 51.4% of statements [2021-07-13T04:13:02.066Z] Removing intermediate container 0775c3663749 [2021-07-13T04:13:02.066Z] ---> c2ae4883887b [2021-07-13T04:13:02.066Z] Successfully built c2ae4883887b [2021-07-13T04:13:02.066Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-13T04:13:02.455Z] + docker inspect -f . ci-base-image-arm64 [2021-07-13T04:13:02.455Z] . [Pipeline] withDockerContainer [2021-07-13T04:13:02.722Z] prd-ubuntu18.04-docker-arm64-4c-16g-45 does not seem to be running inside a container [2021-07-13T04:13:02.791Z] $ 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 ******** ci-base-image-arm64 cat [2021-07-13T04:13:04.453Z] $ docker top 13222dbfec772d25d84ff83e3d47115af2894bff8ddae6dcd57df4e3f885dbc2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-13T04:13:05.519Z] + go version [2021-07-13T04:13:05.519Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-13T04:13:05.570Z] $ docker stop --time=1 13222dbfec772d25d84ff83e3d47115af2894bff8ddae6dcd57df4e3f885dbc2 [2021-07-13T04:13:07.405Z] $ docker rm -f 13222dbfec772d25d84ff83e3d47115af2894bff8ddae6dcd57df4e3f885dbc2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-13T04:13:08.456Z] + docker inspect -f . ci-base-image-arm64 [2021-07-13T04:13:08.456Z] . [Pipeline] withDockerContainer [2021-07-13T04:13:08.734Z] prd-ubuntu18.04-docker-arm64-4c-16g-45 does not seem to be running inside a container [2021-07-13T04:13:08.803Z] $ 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 ******** ci-base-image-arm64 cat [2021-07-13T04:13:10.404Z] $ docker top 9023a52f89c4905f324a0f1947f6651a44405630584f4a638f79de18ff3d8abc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-13T04:13:11.435Z] + go mod tidy [Pipeline] sh [2021-07-13T04:13:12.724Z] + make test [2021-07-13T04:13:12.725Z] make -C ./app-service-template build [2021-07-13T04:13:12.725Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-07-13T04:13:12.725Z] go mod tidy [2021-07-13T04:13:13.323Z] 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-07-13T04:13:22.134Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.107s coverage: 78.0% of statements [2021-07-13T04:13:22.134Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.007s coverage: 94.4% of statements [2021-07-13T04:13:22.134Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-07-13T04:13:22.134Z] gofmt -l . [2021-07-13T04:13:22.134Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-07-13T04:13:22.167Z] $ docker stop --time=1 14daa5afa4151731c01bd0491860c45f543f0a22518922b90e3e8750a15c4983 [2021-07-13T04:13:23.461Z] $ docker rm -f 14daa5afa4151731c01bd0491860c45f543f0a22518922b90e3e8750a15c4983 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-13T04:13:24.046Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-13T04:13:24.296Z] 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-07-13T04:13:25.751Z] ---> job-cost.sh [2021-07-13T04:13:25.752Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-96M0 [2021-07-13T04:13:35.784Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-13T04:13:48.064Z] lf-activate-venv(): INFO: Adding /tmp/venv-96M0/bin to PATH [2021-07-13T04:13:48.064Z] INFO: No Stack... [2021-07-13T04:13:48.635Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-13T04:13:48.896Z] INFO: Archiving Costs [Pipeline] sh [2021-07-13T04:13:49.234Z] + cut -d, -f6 [2021-07-13T04:13:49.234Z] + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-07-13T04:13:49.296Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-1-stack-cost] [2021-07-13T04:13:49.305Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-1-stack-cost] did not exist. Created. [2021-07-13T04:13:49.305Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-13T04:13:49.722Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-13T04:13:49.814Z] Stashed 1 file(s) [Pipeline] } [2021-07-13T04:13:49.844Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-13T04:13:52.373Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-07-13T04:13:52.373Z] make -C ./app-service-template test [2021-07-13T04:13:52.373Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-07-13T04:13:52.373Z] go mod tidy [2021-07-13T04:13:52.373Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-07-13T04:14:19.253Z] ok new-app-service 0.042s coverage: 47.8% of statements [2021-07-13T04:14:19.253Z] ? new-app-service/config [no test files] [2021-07-13T04:14:19.253Z] ok new-app-service/functions 0.039s [2021-07-13T04:14:19.253Z] CGO_ENABLED=1 go vet ./... [2021-07-13T04:14:46.092Z] gofmt -l . [2021-07-13T04:14:46.092Z] [ "`gofmt -l .`" = "" ] [2021-07-13T04:14:46.092Z] ./bin/test-attribution-txt.sh [2021-07-13T04:14:46.092Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-07-13T04:14:46.092Z] go mod tidy [2021-07-13T04:14:46.368Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-07-13T04:14:47.837Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-07-13T04:14:56.164Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.118s coverage: 63.6% of statements [2021-07-13T04:14:56.164Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.044s coverage: 96.5% of statements [2021-07-13T04:14:56.164Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-07-13T04:14:56.164Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.128s coverage: 61.8% of statements [2021-07-13T04:14:56.164Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-07-13T04:14:56.164Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.071s [2021-07-13T04:14:56.164Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.094s coverage: 74.5% of statements [2021-07-13T04:14:56.164Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-07-13T04:14:56.164Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-07-13T04:14:56.164Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-07-13T04:14:56.164Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-07-13T04:14:56.164Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-07-13T04:14:56.164Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-07-13T04:14:56.164Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.021s coverage: 97.1% of statements [2021-07-13T04:14:56.164Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-07-13T04:14:57.166Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.060s coverage: 10.5% of statements [2021-07-13T04:15:03.945Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.827s coverage: 76.1% of statements [2021-07-13T04:15:03.945Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-07-13T04:15:03.945Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.055s coverage: 12.5% of statements [2021-07-13T04:15:03.945Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.083s coverage: 27.3% of statements [2021-07-13T04:15:03.945Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-07-13T04:15:03.945Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-07-13T04:15:03.945Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.081s coverage: 51.4% of statements [2021-07-13T04:15:30.886Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.110s coverage: 78.0% of statements [2021-07-13T04:15:30.886Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.037s coverage: 94.4% of statements [2021-07-13T04:15:30.886Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-07-13T04:15:32.334Z] gofmt -l . [2021-07-13T04:15:32.614Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-07-13T04:15:33.233Z] $ docker stop --time=1 9023a52f89c4905f324a0f1947f6651a44405630584f4a638f79de18ff3d8abc [2021-07-13T04:15:35.126Z] $ docker rm -f 9023a52f89c4905f324a0f1947f6651a44405630584f4a638f79de18ff3d8abc [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-13T04:15:36.137Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-13T04:15:36.180Z] Warning: overwriting stash ‘coverage-report’ [2021-07-13T04:15:36.772Z] 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-07-13T04:15:38.024Z] ---> job-cost.sh [2021-07-13T04:15:38.024Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-8rFU [2021-07-13T04:16:17.066Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-13T04:17:53.820Z] lf-activate-venv(): INFO: Adding /tmp/venv-8rFU/bin to PATH [2021-07-13T04:17:53.820Z] INFO: No Stack... [2021-07-13T04:17:53.820Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-13T04:17:53.820Z] INFO: Archiving Costs [Pipeline] sh [2021-07-13T04:17:54.208Z] + cut -d, -f6 [2021-07-13T04:17:54.209Z] + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-07-13T04:17:54.296Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-1-stack-cost] [2021-07-13T04:17:54.303Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-1-stack-cost] did not exist. Created. [2021-07-13T04:17:54.304Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-13T04:17:54.762Z] /w/workspace/app-functions-sdk-go/1@tmp/durable-ec13eed9/script.sh: 1: /w/workspace/app-functions-sdk-go/1@tmp/durable-ec13eed9/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-13T04:17:55.135Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-13T04:17:55.177Z] Warning: overwriting stash ‘stack-cost’ [2021-07-13T04:17:55.331Z] Stashed 1 file(s) [Pipeline] } [2021-07-13T04:17:55.355Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-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-07-13T04:17:57.625Z] provisioning config files... [2021-07-13T04:17:57.638Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-921@tmp/config9076583644615271041tmp [Pipeline] { [Pipeline] sh [2021-07-13T04:17:57.998Z] + set +x [2021-07-13T04:17:57.998Z] + curl -s https://codecov.io/bash [2021-07-13T04:17:57.998Z] + bash -s -- [2021-07-13T04:17:58.262Z] [2021-07-13T04:17:58.262Z] _____ _ [2021-07-13T04:17:58.262Z] / ____| | | [2021-07-13T04:17:58.262Z] | | ___ __| | ___ ___ _____ __ [2021-07-13T04:17:58.262Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-07-13T04:17:58.262Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-07-13T04:17:58.262Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-07-13T04:17:58.262Z] Bash-1.0.4 [2021-07-13T04:17:58.262Z] [2021-07-13T04:17:58.262Z] [2021-07-13T04:17:58.262Z] ==> git version 2.24.4 found [2021-07-13T04:17:58.262Z] ==> 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-07-13T04:17:58.262Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-07-13T04:17:58.262Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-07-13T04:17:58.262Z] ==> Jenkins CI detected. [2021-07-13T04:17:58.262Z] project root: . [2021-07-13T04:17:58.262Z] --> token set from env [2021-07-13T04:17:58.262Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-07-13T04:17:58.262Z] ==> Running gcov in . (disable via -X gcov) [2021-07-13T04:17:58.262Z] ==> Python coveragepy not found [2021-07-13T04:17:58.262Z] ==> Searching for coverage reports in: [2021-07-13T04:17:58.262Z] + . [2021-07-13T04:17:58.262Z] -> Found 2 reports [2021-07-13T04:17:58.263Z] ==> Detecting git/mercurial file structure [2021-07-13T04:17:58.263Z] ==> Reading reports [2021-07-13T04:17:58.263Z] + ./app-service-template/coverage.out bytes=1055 [2021-07-13T04:17:58.263Z] + ./coverage.out bytes=95181 [2021-07-13T04:17:58.263Z] ==> Appending adjustments [2021-07-13T04:17:58.263Z] https://docs.codecov.io/docs/fixing-reports [2021-07-13T04:17:58.529Z] + Found adjustments [2021-07-13T04:17:58.529Z] ==> Gzipping contents [2021-07-13T04:17:58.529Z] 20K /tmp/codecov.9RE3mF.gz [2021-07-13T04:17:58.529Z] ==> Uploading reports [2021-07-13T04:17:58.529Z] url: https://codecov.io [2021-07-13T04:17:58.529Z] query: branch=PR-921&commit=0fea3cdb622d216ef7ec3cfb4c36b165a461783c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-921%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=921&job=&cmd_args= [2021-07-13T04:17:58.530Z] -> Pinging Codecov [2021-07-13T04:17:58.530Z] https://codecov.io/upload/v4?package=bash-1.0.4&branch=PR-921&commit=0fea3cdb622d216ef7ec3cfb4c36b165a461783c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-921%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=921&job=&cmd_args= [2021-07-13T04:17:59.106Z] -> Uploading to [2021-07-13T04:17:59.106Z] https://storage.googleapis.com/codecov/v4/raw/2021-07-13/3D8B5DFFC46A037C893635FACE044666/0fea3cdb622d216ef7ec3cfb4c36b165a461783c/16ca5383-6914-4726-bd2d-8a364da6e6cc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210713%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210713T041758Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c0c4d1532869b9980c8d1e15b84772b5e55ad59157fb9cb50961a8a3351fe78a [2021-07-13T04:17:59.106Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-13T04:17:59.106Z] Dload Upload Total Spent Left Speed [2021-07-13T04:17:59.677Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16437 0 0 100 16437 0 31917 --:--:-- --:--:-- --:--:-- 31916 100 16437 0 0 100 16437 0 31908 --:--:-- --:--:-- --:--:-- 31854 [2021-07-13T04:17:59.677Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/0fea3cdb622d216ef7ec3cfb4c36b165a461783c [Pipeline] } [2021-07-13T04:17:59.705Z] 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-07-13T04:18:02.532Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-13T04:18:03.193Z] ---> package-listing.sh [2021-07-13T04:18:03.193Z] ++ facter osfamily [2021-07-13T04:18:03.193Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-13T04:18:03.474Z] + OS_FAMILY=redhat [2021-07-13T04:18:03.474Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-921 [2021-07-13T04:18:03.474Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-13T04:18:03.474Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-13T04:18:03.474Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-13T04:18:03.474Z] + PACKAGES=/tmp/packages_start.txt [2021-07-13T04:18:03.474Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-921 ']' [2021-07-13T04:18:03.474Z] + PACKAGES=/tmp/packages_end.txt [2021-07-13T04:18:03.474Z] + case "${OS_FAMILY}" in [2021-07-13T04:18:03.474Z] + sort [2021-07-13T04:18:03.474Z] + rpm -qa [2021-07-13T04:18:04.441Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-13T04:18:04.441Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-13T04:18:04.441Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-13T04:18:04.441Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-921 ']' [2021-07-13T04:18:04.441Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-921/archives/ [2021-07-13T04:18:04.441Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-921/archives/ [Pipeline] echo [2021-07-13T04:18:04.477Z] 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-921/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-13T04:18:04.799Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-13T04:18:05.421Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-13T04:18:05.421Z] [2021-07-13T04:18:05.421Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-07-13T04:18:05.817Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-13T04:18:05.817Z] alpine: Pulling from edgex-lftools-log-publisher [2021-07-13T04:18:05.817Z] df20fa9351a1: Pulling fs layer [2021-07-13T04:18:05.817Z] 36b3adc4ff6f: Pulling fs layer [2021-07-13T04:18:05.817Z] 8ad3a11d3b57: Pulling fs layer [2021-07-13T04:18:05.817Z] 46f8f816bc3b: Pulling fs layer [2021-07-13T04:18:05.817Z] 93b61091891f: Pulling fs layer [2021-07-13T04:18:05.817Z] 93b9cdb0e59b: Pulling fs layer [2021-07-13T04:18:05.817Z] 5e14af77c1be: Pulling fs layer [2021-07-13T04:18:05.817Z] 01666e4c0597: Pulling fs layer [2021-07-13T04:18:05.817Z] aa168da1d23b: Pulling fs layer [2021-07-13T04:18:05.817Z] 46f8f816bc3b: Waiting [2021-07-13T04:18:05.817Z] 93b61091891f: Waiting [2021-07-13T04:18:05.817Z] 93b9cdb0e59b: Waiting [2021-07-13T04:18:05.817Z] 5e14af77c1be: Waiting [2021-07-13T04:18:05.817Z] 01666e4c0597: Waiting [2021-07-13T04:18:05.817Z] aa168da1d23b: Waiting [2021-07-13T04:18:05.817Z] 36b3adc4ff6f: Verifying Checksum [2021-07-13T04:18:05.817Z] 36b3adc4ff6f: Download complete [2021-07-13T04:18:05.817Z] 46f8f816bc3b: Verifying Checksum [2021-07-13T04:18:05.817Z] 46f8f816bc3b: Download complete [2021-07-13T04:18:06.080Z] df20fa9351a1: Verifying Checksum [2021-07-13T04:18:06.080Z] df20fa9351a1: Download complete [2021-07-13T04:18:06.080Z] 93b9cdb0e59b: Verifying Checksum [2021-07-13T04:18:06.080Z] 93b9cdb0e59b: Download complete [2021-07-13T04:18:06.080Z] 93b61091891f: Verifying Checksum [2021-07-13T04:18:06.080Z] 93b61091891f: Download complete [2021-07-13T04:18:06.080Z] 01666e4c0597: Verifying Checksum [2021-07-13T04:18:06.080Z] 01666e4c0597: Download complete [2021-07-13T04:18:06.080Z] 5e14af77c1be: Verifying Checksum [2021-07-13T04:18:06.080Z] 5e14af77c1be: Download complete [2021-07-13T04:18:06.348Z] 8ad3a11d3b57: Verifying Checksum [2021-07-13T04:18:06.348Z] 8ad3a11d3b57: Download complete [2021-07-13T04:18:06.348Z] df20fa9351a1: Pull complete [2021-07-13T04:18:06.348Z] 36b3adc4ff6f: Pull complete [2021-07-13T04:18:06.927Z] 8ad3a11d3b57: Pull complete [2021-07-13T04:18:06.927Z] 46f8f816bc3b: Pull complete [2021-07-13T04:18:07.202Z] 93b61091891f: Pull complete [2021-07-13T04:18:07.467Z] 93b9cdb0e59b: Pull complete [2021-07-13T04:18:07.467Z] 5e14af77c1be: Pull complete [2021-07-13T04:18:07.467Z] 01666e4c0597: Pull complete [2021-07-13T04:18:10.023Z] aa168da1d23b: Verifying Checksum [2021-07-13T04:18:10.023Z] aa168da1d23b: Download complete [2021-07-13T04:18:13.366Z] aa168da1d23b: Pull complete [2021-07-13T04:18:13.366Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-07-13T04:18:13.366Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-13T04:18:13.366Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-07-13T04:18:13.480Z] prd-centos7-docker-4c-2g-42 does not seem to be running inside a container [2021-07-13T04:18:13.518Z] $ 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-921/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-921 -v /w/workspace/ndry_app-functions-sdk-go_PR-921:/w/workspace/ndry_app-functions-sdk-go_PR-921:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-921@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-921@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:10003/edgex-lftools-log-publisher:alpine cat [2021-07-13T04:18:15.377Z] $ docker top 956413241bb0e29c21ab716fbb45497e49d4938520f9bd7cef4fbfacb1b7314d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-13T04:18:15.805Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-13T04:18:16.125Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-07-13T04:18:16.440Z] + ls /var/log/sa-host [2021-07-13T04:18:16.440Z] + sadf -c /var/log/sa-host/sa05 [2021-07-13T04:18:16.440Z] file_magic: OK [2021-07-13T04:18:16.440Z] HZ: Using current value: 100 [2021-07-13T04:18:16.440Z] file_header: OK [2021-07-13T04:18:16.440Z] 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-07-13T04:18:16.440Z] Statistics: [2021-07-13T04:18:16.440Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-13T04:18:16.440Z] File successfully converted to sysstat format version 12.2.1 [2021-07-13T04:18:16.440Z] + sadf -c /var/log/sa-host/sa13 [2021-07-13T04:18:16.440Z] file_magic: OK [2021-07-13T04:18:16.440Z] HZ: Using current value: 100 [2021-07-13T04:18:16.440Z] file_header: OK [2021-07-13T04:18:16.440Z] 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-07-13T04:18:16.440Z] Statistics: [2021-07-13T04:18:16.440Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-13T04:18:16.440Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-13T04:18:17.130Z] provisioning config files... [2021-07-13T04:18:17.149Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-921@tmp/config5141116940042602811tmp [Pipeline] { [Pipeline] echo [2021-07-13T04:18:17.239Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-13T04:18:17.598Z] ---> create-netrc.sh [Pipeline] } [2021-07-13T04:18:17.624Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-13T04:18:18.100Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-13T04:18:18.132Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-13T04:18:18.475Z] ---> sudo-logs.sh [2021-07-13T04:18:18.475Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-07-13T04:18:18.584Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-13T04:18:18.942Z] ---> job-cost.sh [2021-07-13T04:18:18.942Z] lf-activate-venv: SKIPPING [2021-07-13T04:18:18.942Z] DEBUG: total: 0.18000000715255737 [2021-07-13T04:18:18.942Z] INFO: Retrieving Stack Cost... [2021-07-13T04:18:19.888Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-13T04:18:20.150Z] INFO: Archiving Costs [Pipeline] echo [2021-07-13T04:18:20.187Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-13T04:18:20.525Z] ---> logs-deploy.sh [2021-07-13T04:18:20.525Z] lf-activate-venv: SKIPPING [2021-07-13T04:18:20.525Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-921/1 [2021-07-13T04:18:20.525Z] INFO: archiving workspace using pattern(s): [2021-07-13T04:18:21.468Z] Archives upload complete. [2021-07-13T04:18:21.468Z] INFO: archiving logs to Nexus [2021-07-13T04:18:22.045Z] ---> uname -a: [2021-07-13T04:18:22.045Z] Linux prd-centos7-docker-4c-2g-42.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux [2021-07-13T04:18:22.045Z] [2021-07-13T04:18:22.045Z] [2021-07-13T04:18:22.045Z] ---> lscpu: [2021-07-13T04:18:22.045Z] Architecture: x86_64 [2021-07-13T04:18:22.045Z] CPU op-mode(s): 32-bit, 64-bit [2021-07-13T04:18:22.045Z] Byte Order: Little Endian [2021-07-13T04:18:22.045Z] Address sizes: 40 bits physical, 48 bits virtual [2021-07-13T04:18:22.045Z] CPU(s): 2 [2021-07-13T04:18:22.045Z] On-line CPU(s) list: 0,1 [2021-07-13T04:18:22.045Z] Thread(s) per core: 1 [2021-07-13T04:18:22.045Z] Core(s) per socket: 1 [2021-07-13T04:18:22.045Z] Socket(s): 2 [2021-07-13T04:18:22.045Z] NUMA node(s): 1 [2021-07-13T04:18:22.045Z] Vendor ID: AuthenticAMD [2021-07-13T04:18:22.045Z] CPU family: 23 [2021-07-13T04:18:22.045Z] Model: 49 [2021-07-13T04:18:22.045Z] Model name: AMD EPYC-Rome Processor [2021-07-13T04:18:22.045Z] Stepping: 0 [2021-07-13T04:18:22.045Z] CPU MHz: 2799.998 [2021-07-13T04:18:22.045Z] BogoMIPS: 5599.99 [2021-07-13T04:18:22.045Z] Virtualization: AMD-V [2021-07-13T04:18:22.045Z] Hypervisor vendor: KVM [2021-07-13T04:18:22.045Z] Virtualization type: full [2021-07-13T04:18:22.045Z] L1d cache: 64 KiB [2021-07-13T04:18:22.046Z] L1i cache: 64 KiB [2021-07-13T04:18:22.046Z] L2 cache: 1 MiB [2021-07-13T04:18:22.046Z] L3 cache: 32 MiB [2021-07-13T04:18:22.046Z] NUMA node0 CPU(s): 0,1 [2021-07-13T04:18:22.046Z] Vulnerability Itlb multihit: Not affected [2021-07-13T04:18:22.046Z] Vulnerability L1tf: Not affected [2021-07-13T04:18:22.046Z] Vulnerability Mds: Not affected [2021-07-13T04:18:22.046Z] Vulnerability Meltdown: Not affected [2021-07-13T04:18:22.046Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-07-13T04:18:22.046Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-07-13T04:18:22.046Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-07-13T04:18:22.046Z] Vulnerability Srbds: Not affected [2021-07-13T04:18:22.046Z] Vulnerability Tsx async abort: Not affected [2021-07-13T04:18:22.046Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp [2021-07-13T04:18:22.046Z] [2021-07-13T04:18:22.046Z] [2021-07-13T04:18:22.046Z] ---> nproc: [2021-07-13T04:18:22.046Z] 2 [2021-07-13T04:18:22.046Z] [2021-07-13T04:18:22.046Z]