Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of cherrycl for edgexfoundry/app-functions-sdk-go Loading trusted files from base branch main at b10469f13584187c4bd7f7cff58f5aa0259e83b1 rather than d51d541f257a7b5bae36629c803b1edc728dd05d Obtained Jenkinsfile from b10469f13584187c4bd7f7cff58f5aa0259e83b1 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh5832296510510668465.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-ssh7820882049651130779.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-918/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-918/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3948855114797797042.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 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-ssh9087702343886392597.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-918/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-918/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2960319659227005678.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-2003 in /w/workspace/ndry_app-functions-sdk-go_PR-918 [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-918 # 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-918@tmp/jenkins-gitclient-ssh7729077522847597119.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-918@tmp/jenkins-gitclient-ssh7989515162875141088.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/918/head:refs/remotes/origin/PR-918 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b10469f13584187c4bd7f7cff58f5aa0259e83b1 into PR head commit d51d541f257a7b5bae36629c803b1edc728dd05d Merge succeeded, producing ce88d66002491c98523ab5a22bd13153b9f5fdf7 Checking out Revision ce88d66002491c98523ab5a22bd13153b9f5fdf7 (PR-918) > git config core.sparsecheckout # timeout=10 > git checkout -f d51d541f257a7b5bae36629c803b1edc728dd05d # 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-918@tmp/jenkins-gitclient-ssh7302415866406396448.key > git merge b10469f13584187c4bd7f7cff58f5aa0259e83b1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ce88d66002491c98523ab5a22bd13153b9f5fdf7 # timeout=10 Commit message: "Merge commit 'b10469f13584187c4bd7f7cff58f5aa0259e83b1' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-07T03:46:49.188Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-07T03:46:49.273Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-07T03:46:49.302Z] ========================================================= [2021-07-07T03:46:49.303Z] EdgeX Global Pipelines Version Info [2021-07-07T03:46:49.303Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 4713cf9b2f7877595b2096caf2bd140c05d01eca # timeout=10 [2021-07-07T03:46:50.758Z] ------------------- [2021-07-07T03:46:50.758Z] stable info: [2021-07-07T03:46:50.758Z] ------------------- [2021-07-07T03:46:50.758Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-07T03:46:50.758Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-07T03:46:50.758Z] Message: update stable to v1.0.196 [2021-07-07T03:46:51.334Z] ------------------- [2021-07-07T03:46:51.334Z] experimental info: [2021-07-07T03:46:51.334Z] ------------------- [2021-07-07T03:46:51.334Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-07T03:46:51.334Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-07T03:46:51.334Z] Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-07T03:46:51.457Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-07-07T03:46:51.483Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-07-07T03:46:51.508Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-07T03:46:51.534Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-07T03:46:51.558Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-07T03:46:51.586Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-07T03:46:51.608Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-07T03:46:51.631Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-07T03:46:51.653Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-07-07T03:46:51.675Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-07T03:46:51.697Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-07T03:46:51.720Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-07-07T03:46:51.744Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-07T03:46:51.769Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-07T03:46:51.794Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-07-07T03:46:51.818Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-07-07T03:46:51.844Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-07-07T03:46:51.869Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-07-07T03:46:51.893Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-07T03:46:51.916Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-07T03:46:51.939Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-07-07T03:46:51.961Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-07-07T03:46:51.983Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-07-07T03:46:52.006Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-07-07T03:46:52.030Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-07-07T03:46:52.056Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-07T03:46:52.082Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-918 [Pipeline] echo [2021-07-07T03:46:52.107Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-918 [Pipeline] echo [2021-07-07T03:46:52.132Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-918 [Pipeline] echo [2021-07-07T03:46:52.157Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ce88d66002491c98523ab5a22bd13153b9f5fdf7 [Pipeline] echo [2021-07-07T03:46:52.181Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ce88d66 [Pipeline] echo [2021-07-07T03:46:52.207Z] [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-07T03:46:52.666Z] + git log --format=format:%s -1 ce88d66002491c98523ab5a22bd13153b9f5fdf7 [Pipeline] echo [2021-07-07T03:46:52.707Z] GIT_COMMIT: ce88d66002491c98523ab5a22bd13153b9f5fdf7, Commit Message: Merge commit 'b10469f13584187c4bd7f7cff58f5aa0259e83b1' into HEAD [Pipeline] echo [2021-07-07T03:46:52.722Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-07-07T03:46:53.303Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-07T03:46:53.303Z] [2021-07-07T03:46:53.303Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-07T03:46:53.628Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-07T03:46:53.628Z] latest: Pulling from edgex-devops/git-semver [2021-07-07T03:46:53.628Z] 31603596830f: Pulling fs layer [2021-07-07T03:46:53.628Z] b6dc333f4379: Pulling fs layer [2021-07-07T03:46:53.628Z] 3d9ef1400e77: Pulling fs layer [2021-07-07T03:46:53.628Z] fd332fbdc1db: Pulling fs layer [2021-07-07T03:46:53.628Z] fd332fbdc1db: Waiting [2021-07-07T03:46:53.628Z] b6dc333f4379: Verifying Checksum [2021-07-07T03:46:53.628Z] b6dc333f4379: Download complete [2021-07-07T03:46:53.890Z] 31603596830f: Verifying Checksum [2021-07-07T03:46:53.890Z] 31603596830f: Download complete [2021-07-07T03:46:53.890Z] fd332fbdc1db: Verifying Checksum [2021-07-07T03:46:53.890Z] fd332fbdc1db: Download complete [2021-07-07T03:46:53.890Z] 3d9ef1400e77: Verifying Checksum [2021-07-07T03:46:53.890Z] 3d9ef1400e77: Download complete [2021-07-07T03:46:53.890Z] 31603596830f: Pull complete [2021-07-07T03:46:54.155Z] b6dc333f4379: Pull complete [2021-07-07T03:46:54.735Z] 3d9ef1400e77: Pull complete [2021-07-07T03:46:54.998Z] fd332fbdc1db: Pull complete [2021-07-07T03:46:54.998Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-07T03:46:54.998Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-07T03:46:54.998Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-07T03:46:55.092Z] prd-centos7-docker-4c-2g-2003 does not seem to be running inside a container [2021-07-07T03:46:55.133Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-918 -v /w/workspace/ndry_app-functions-sdk-go_PR-918:/w/workspace/ndry_app-functions-sdk-go_PR-918:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-918@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-918@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-07T03:46:56.083Z] $ docker top 5f9daac808b8b09c2aec384e22f1f9ac9a6b8c0f3721a708cecc367b601e023d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-07T03:46:56.227Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-07T03:46:56.227Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-07T03:46:56.343Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-07T03:46:56.342Z] $ docker exec 5f9daac808b8b09c2aec384e22f1f9ac9a6b8c0f3721a708cecc367b601e023d ssh-agent [2021-07-07T03:46:56.460Z] SSH_AUTH_SOCK=/tmp/ssh-TutU18tfsySC/agent.13 [2021-07-07T03:46:56.460Z] SSH_AGENT_PID=20 [2021-07-07T03:46:56.469Z] Running ssh-add (command line suppressed) [2021-07-07T03:46:56.561Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-918@tmp/private_key_3073008006276413351.key (/w/workspace/ndry_app-functions-sdk-go_PR-918@tmp/private_key_3073008006276413351.key) [2021-07-07T03:46:56.584Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-07T03:46:56.889Z] + git tag --points-at HEAD [Pipeline] } [2021-07-07T03:46:56.900Z] $ docker exec --env ******** --env ******** 5f9daac808b8b09c2aec384e22f1f9ac9a6b8c0f3721a708cecc367b601e023d ssh-agent -k [2021-07-07T03:46:57.000Z] unset SSH_AUTH_SOCK; [2021-07-07T03:46:57.001Z] unset SSH_AGENT_PID; [2021-07-07T03:46:57.001Z] echo Agent pid 20 killed; [2021-07-07T03:46:57.017Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-07T03:46:57.086Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-07T03:46:57.086Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-07T03:46:57.218Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-07T03:46:57.217Z] $ docker exec 5f9daac808b8b09c2aec384e22f1f9ac9a6b8c0f3721a708cecc367b601e023d ssh-agent [2021-07-07T03:46:57.321Z] SSH_AUTH_SOCK=/tmp/ssh-UhXUeiGam53p/agent.55 [2021-07-07T03:46:57.321Z] SSH_AGENT_PID=61 [2021-07-07T03:46:57.328Z] Running ssh-add (command line suppressed) [2021-07-07T03:46:57.439Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-918@tmp/private_key_8701501187729160876.key (/w/workspace/ndry_app-functions-sdk-go_PR-918@tmp/private_key_8701501187729160876.key) [2021-07-07T03:46:57.457Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-07T03:46:57.767Z] + git semver init [2021-07-07T03:46:57.767Z] # -> Open(): unable to determine branch for HEAD [2021-07-07T03:46:57.767Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-918/.git [2021-07-07T03:46:57.767Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-918 [2021-07-07T03:46:57.767Z] # $SEMVER_REMOTE_NAME = origin [2021-07-07T03:46:57.767Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-07T03:46:57.767Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-07T03:46:57.767Z] # $SEMVER_BRANCH = PR-918 [2021-07-07T03:46:57.767Z] # $SEMVER_TEMP = /tmp/semver-543615905 [2021-07-07T03:46:57.767Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-07-07T03:46:59.697Z] # '/tmp/semver-543615905' -> '/w/workspace/ndry_app-functions-sdk-go_PR-918/.semver' [2021-07-07T03:46:59.697Z] # -> Force: false [2021-07-07T03:46:59.697Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-918/.semver [Pipeline] } [2021-07-07T03:46:59.703Z] $ docker exec --env ******** --env ******** 5f9daac808b8b09c2aec384e22f1f9ac9a6b8c0f3721a708cecc367b601e023d ssh-agent -k [2021-07-07T03:46:59.804Z] unset SSH_AUTH_SOCK; [2021-07-07T03:46:59.805Z] unset SSH_AGENT_PID; [2021-07-07T03:46:59.805Z] echo Agent pid 61 killed; [2021-07-07T03:46:59.820Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-07T03:47:00.153Z] + git semver [Pipeline] } [2021-07-07T03:47:00.169Z] $ docker stop --time=1 5f9daac808b8b09c2aec384e22f1f9ac9a6b8c0f3721a708cecc367b601e023d [2021-07-07T03:47:01.551Z] $ docker rm -f 5f9daac808b8b09c2aec384e22f1f9ac9a6b8c0f3721a708cecc367b601e023d [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-07T03:47:01.924Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-07T03:47:02.262Z] Stashed 1 file(s) [Pipeline] echo [2021-07-07T03:47:02.267Z] [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-07T03:47:17.541Z] Still waiting to schedule task [2021-07-07T03:47:17.541Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-07-07T03:47:17.544Z] Still waiting to schedule task [2021-07-07T03:47:17.544Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-07-07T03:49:15.054Z] Running on prd-centos7-docker-4c-2g-2006 in /w/workspace/ndry_app-functions-sdk-go_PR-918 [Pipeline] { [Pipeline] ws [2021-07-07T03:49:15.073Z] Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-07-07T03:49:15.192Z] The recommended git tool is: git [2021-07-07T03:49:17.731Z] using credential edgex-jenkins-ssh [2021-07-07T03:49:17.746Z] Cloning the remote Git repository [2021-07-07T03:49:17.403Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-07T03:49:17.470Z] > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 [2021-07-07T03:49:17.506Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-07T03:49:17.506Z] > git --version # timeout=10 [2021-07-07T03:49:17.514Z] > git --version # 'git version 2.24.4' [2021-07-07T03:49:17.514Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T03:49:17.536Z] [INFO] Currently running in a labeled security context [2021-07-07T03:49:17.536Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-07T03:49:17.536Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh3781882521710520999.key [2021-07-07T03:49:17.563Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-07T03:49:18.872Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-07-07T03:49:18.882Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-07T03:49:18.895Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-07-07T03:49:18.909Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-07T03:49:18.910Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T03:49:18.911Z] [INFO] Currently running in a labeled security context [2021-07-07T03:49:18.911Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-07T03:49:18.911Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh5133576660943646000.key [2021-07-07T03:49:18.921Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/918/head:refs/remotes/origin/PR-918 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-07T03:49:19.682Z] Merging remotes/origin/main commit b10469f13584187c4bd7f7cff58f5aa0259e83b1 into PR head commit d51d541f257a7b5bae36629c803b1edc728dd05d [2021-07-07T03:49:19.795Z] Merge succeeded, producing 7ce3eedefa59f1cf018f30925490f3c660090192 [2021-07-07T03:49:19.796Z] Checking out Revision 7ce3eedefa59f1cf018f30925490f3c660090192 (PR-918) [2021-07-07T03:49:19.461Z] > git config core.sparsecheckout # timeout=10 [2021-07-07T03:49:19.471Z] > git checkout -f d51d541f257a7b5bae36629c803b1edc728dd05d # timeout=10 [2021-07-07T03:49:19.522Z] > git remote # timeout=10 [2021-07-07T03:49:19.527Z] > git config --get remote.origin.url # timeout=10 [2021-07-07T03:49:19.532Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T03:49:19.533Z] [INFO] Currently running in a labeled security context [2021-07-07T03:49:19.533Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-07T03:49:19.533Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh8331280629858832326.key [2021-07-07T03:49:19.543Z] > git merge b10469f13584187c4bd7f7cff58f5aa0259e83b1 # timeout=10 [2021-07-07T03:49:19.563Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-07T03:49:19.578Z] > git config core.sparsecheckout # timeout=10 [2021-07-07T03:49:19.582Z] > git checkout -f 7ce3eedefa59f1cf018f30925490f3c660090192 # timeout=10 [2021-07-07T03:49:23.233Z] Commit message: "Merge commit 'b10469f13584187c4bd7f7cff58f5aa0259e83b1' into HEAD" [2021-07-07T03:49:23.246Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-07T03:49:24.316Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-07-07T03:49:23.233Z] > git rev-list --no-walk 4713cf9b2f7877595b2096caf2bd140c05d01eca # timeout=10 [2021-07-07T03:49:24.650Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-07T03:49:24.960Z] + true [2021-07-07T03:49:24.960Z] + sudo service docker restart [2021-07-07T03:49:24.960Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-07-07T03:49:43.249Z] ========================================================= [2021-07-07T03:49:43.249Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-07T03:49:43.249Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-07T03:49:43.562Z] + 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-07T03:49:43.823Z] Sending build context to Docker daemon 19.72MB [2021-07-07T03:49:43.823Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-07T03:49:43.823Z] Step 2/8 : FROM ${BASE} [2021-07-07T03:49:43.823Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-07T03:49:43.823Z] 540db60ca938: Pulling fs layer [2021-07-07T03:49:43.823Z] adcc1eea9eea: Pulling fs layer [2021-07-07T03:49:43.823Z] 4c4ab2625f07: Pulling fs layer [2021-07-07T03:49:43.823Z] 0510c868ecb4: Pulling fs layer [2021-07-07T03:49:43.823Z] afea3b2eda06: Pulling fs layer [2021-07-07T03:49:43.823Z] 7809a108b3ef: Pulling fs layer [2021-07-07T03:49:43.823Z] f706445af74f: Pulling fs layer [2021-07-07T03:49:43.823Z] 0510c868ecb4: Waiting [2021-07-07T03:49:43.823Z] afea3b2eda06: Waiting [2021-07-07T03:49:43.823Z] 7809a108b3ef: Waiting [2021-07-07T03:49:43.823Z] f706445af74f: Waiting [2021-07-07T03:49:44.084Z] 4c4ab2625f07: Verifying Checksum [2021-07-07T03:49:44.084Z] 4c4ab2625f07: Download complete [2021-07-07T03:49:44.084Z] adcc1eea9eea: Verifying Checksum [2021-07-07T03:49:44.084Z] adcc1eea9eea: Download complete [2021-07-07T03:49:44.084Z] afea3b2eda06: Verifying Checksum [2021-07-07T03:49:44.084Z] afea3b2eda06: Download complete [2021-07-07T03:49:44.084Z] 7809a108b3ef: Verifying Checksum [2021-07-07T03:49:44.084Z] 7809a108b3ef: Download complete [2021-07-07T03:49:44.084Z] 540db60ca938: Verifying Checksum [2021-07-07T03:49:44.084Z] 540db60ca938: Download complete [2021-07-07T03:49:44.084Z] 540db60ca938: Pull complete [2021-07-07T03:49:44.348Z] adcc1eea9eea: Pull complete [2021-07-07T03:49:44.348Z] 4c4ab2625f07: Pull complete [2021-07-07T03:49:45.738Z] f706445af74f: Verifying Checksum [2021-07-07T03:49:45.738Z] f706445af74f: Download complete [2021-07-07T03:49:46.007Z] 0510c868ecb4: Verifying Checksum [2021-07-07T03:49:46.007Z] 0510c868ecb4: Download complete [2021-07-07T03:49:50.266Z] 0510c868ecb4: Pull complete [2021-07-07T03:49:50.266Z] afea3b2eda06: Pull complete [2021-07-07T03:49:50.266Z] 7809a108b3ef: Pull complete [2021-07-07T03:49:51.220Z] f706445af74f: Pull complete [2021-07-07T03:49:51.485Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-07-07T03:49:51.485Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-07T03:49:51.485Z] ---> b068be0155e3 [2021-07-07T03:49:51.485Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-07-07T03:49:51.485Z] 20.10.0: Pulling from library/docker [2021-07-07T03:49:51.485Z] 05e7bc50f07f: Pulling fs layer [2021-07-07T03:49:51.485Z] 6db28d0fdbf6: Pulling fs layer [2021-07-07T03:49:51.485Z] 292df0bc6bf3: Pulling fs layer [2021-07-07T03:49:51.485Z] 2e060f4bd70b: Pulling fs layer [2021-07-07T03:49:51.485Z] 80e8d568a223: Pulling fs layer [2021-07-07T03:49:51.485Z] 8dc6ef1a942a: Pulling fs layer [2021-07-07T03:49:51.485Z] 2312dd95470a: Pulling fs layer [2021-07-07T03:49:51.485Z] 2e060f4bd70b: Waiting [2021-07-07T03:49:51.485Z] 80e8d568a223: Waiting [2021-07-07T03:49:51.485Z] 8dc6ef1a942a: Waiting [2021-07-07T03:49:51.485Z] 2312dd95470a: Waiting [2021-07-07T03:49:51.485Z] 292df0bc6bf3: Download complete [2021-07-07T03:49:51.747Z] 6db28d0fdbf6: Verifying Checksum [2021-07-07T03:49:51.747Z] 6db28d0fdbf6: Download complete [2021-07-07T03:49:51.747Z] 05e7bc50f07f: Verifying Checksum [2021-07-07T03:49:51.747Z] 05e7bc50f07f: Download complete [2021-07-07T03:49:51.747Z] 80e8d568a223: Verifying Checksum [2021-07-07T03:49:51.747Z] 80e8d568a223: Download complete [2021-07-07T03:49:51.747Z] 8dc6ef1a942a: Verifying Checksum [2021-07-07T03:49:51.747Z] 8dc6ef1a942a: Download complete [2021-07-07T03:49:51.747Z] 2312dd95470a: Verifying Checksum [2021-07-07T03:49:51.747Z] 2312dd95470a: Download complete [2021-07-07T03:49:52.012Z] 05e7bc50f07f: Pull complete [2021-07-07T03:49:52.012Z] 6db28d0fdbf6: Pull complete [2021-07-07T03:49:52.274Z] 292df0bc6bf3: Pull complete [2021-07-07T03:49:52.853Z] 2e060f4bd70b: Verifying Checksum [2021-07-07T03:49:52.853Z] 2e060f4bd70b: Download complete [2021-07-07T03:49:54.283Z] 2e060f4bd70b: Pull complete [2021-07-07T03:49:54.551Z] 80e8d568a223: Pull complete [2021-07-07T03:49:54.551Z] 8dc6ef1a942a: Pull complete [2021-07-07T03:49:54.815Z] 2312dd95470a: Pull complete [2021-07-07T03:49:54.815Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-07-07T03:49:54.815Z] Status: Downloaded newer image for docker:20.10.0 [2021-07-07T03:49:57.376Z] ---> 8e33b87ef0b7 [2021-07-07T03:49:57.376Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-07-07T03:49:57.376Z] ---> Running in 38bb1cb51711 [2021-07-07T03:49:57.376Z] Removing intermediate container 38bb1cb51711 [2021-07-07T03:49:57.376Z] ---> a99dcee6584b [2021-07-07T03:49:57.376Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-07-07T03:49:57.376Z] ---> Running in ef7e321b27cf [2021-07-07T03:49:57.950Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-07T03:49:58.525Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-07T03:49:59.100Z] (1/5) Installing libsodium (1.0.18-r0) [2021-07-07T03:49:59.100Z] (2/5) Installing libzmq (4.3.3-r1) [2021-07-07T03:49:59.100Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-07-07T03:49:59.363Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-07-07T03:49:59.363Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-07-07T03:49:59.363Z] Executing busybox-1.32.1-r6.trigger [2021-07-07T03:49:59.363Z] OK: 150 MiB in 45 packages [2021-07-07T03:49:59.940Z] Removing intermediate container ef7e321b27cf [2021-07-07T03:49:59.940Z] ---> 5370bc6fc4f9 [2021-07-07T03:49:59.940Z] Step 6/8 : WORKDIR /build [2021-07-07T03:49:59.940Z] ---> Running in c642113374d8 [2021-07-07T03:49:59.940Z] Removing intermediate container c642113374d8 [2021-07-07T03:49:59.940Z] ---> 146041ab7b2d [2021-07-07T03:49:59.940Z] Step 7/8 : COPY go.mod . [2021-07-07T03:50:00.207Z] ---> 9e2d6ade21a4 [2021-07-07T03:50:00.207Z] Step 8/8 : RUN go mod download [2021-07-07T03:50:00.207Z] ---> Running in 6d52005802a4 [2021-07-07T03:50:12.483Z] Removing intermediate container 6d52005802a4 [2021-07-07T03:50:12.483Z] ---> 71ac65075e58 [2021-07-07T03:50:12.483Z] Successfully built 71ac65075e58 [2021-07-07T03:50:12.483Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-07T03:50:12.797Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-07T03:50:12.797Z] . [Pipeline] withDockerContainer [2021-07-07T03:50:12.889Z] prd-centos7-docker-4c-2g-2006 does not seem to be running inside a container [2021-07-07T03:50:12.927Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-07T03:50:13.326Z] $ docker top da84ddac33418f32fc0f91349ba48258dc59be37c88a9df79a776a6be98d4aa3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-07T03:50:13.722Z] + go version [2021-07-07T03:50:13.722Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-07-07T03:50:13.731Z] $ docker stop --time=1 da84ddac33418f32fc0f91349ba48258dc59be37c88a9df79a776a6be98d4aa3 [2021-07-07T03:50:14.943Z] $ docker rm -f da84ddac33418f32fc0f91349ba48258dc59be37c88a9df79a776a6be98d4aa3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-07T03:50:15.585Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-07T03:50:15.585Z] . [Pipeline] withDockerContainer [2021-07-07T03:50:15.666Z] prd-centos7-docker-4c-2g-2006 does not seem to be running inside a container [2021-07-07T03:50:15.714Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-07T03:50:16.118Z] $ docker top 3715677b2b78ccf87e8a94ae039f788536f8fe6c80c02ea6f66e519070cf981d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-07T03:50:16.557Z] + go mod tidy [Pipeline] sh [2021-07-07T03:50:17.154Z] + make test [2021-07-07T03:50:17.154Z] make -C ./app-service-template build [2021-07-07T03:50:17.154Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-07-07T03:50:17.154Z] go mod tidy [2021-07-07T03:50:17.433Z] 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-07T03:50:21.496Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2007 in /w/workspace/ndry_app-functions-sdk-go_PR-918 [Pipeline] { [Pipeline] ws [2021-07-07T03:50:21.517Z] Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-07-07T03:50:21.755Z] The recommended git tool is: git [2021-07-07T03:50:27.729Z] using credential edgex-jenkins-ssh [2021-07-07T03:50:27.752Z] Cloning the remote Git repository [2021-07-07T03:50:27.799Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-07T03:50:27.899Z] > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 [2021-07-07T03:50:27.967Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-07T03:50:27.967Z] > git --version # timeout=10 [2021-07-07T03:50:27.988Z] > git --version # 'git version 2.17.1' [2021-07-07T03:50:27.989Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T03:50:28.075Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-07T03:50:29.918Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-07-07T03:50:29.918Z] make -C ./app-service-template test [2021-07-07T03:50:29.918Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-07-07T03:50:29.918Z] go mod tidy [2021-07-07T03:50:29.918Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-07-07T03:50:31.928Z] Merging remotes/origin/main commit b10469f13584187c4bd7f7cff58f5aa0259e83b1 into PR head commit d51d541f257a7b5bae36629c803b1edc728dd05d [2021-07-07T03:50:31.226Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-07-07T03:50:31.243Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-07T03:50:31.265Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-07-07T03:50:31.300Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-07T03:50:31.301Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T03:50:31.313Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/918/head:refs/remotes/origin/PR-918 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-07T03:50:31.945Z] > git config core.sparsecheckout # timeout=10 [2021-07-07T03:50:31.959Z] > git checkout -f d51d541f257a7b5bae36629c803b1edc728dd05d # timeout=10 [2021-07-07T03:50:32.058Z] > git remote # timeout=10 [2021-07-07T03:50:32.152Z] Merge succeeded, producing a151734a66af3de5a4a537bd3f609c8dfc47f978 [2021-07-07T03:50:32.153Z] Checking out Revision a151734a66af3de5a4a537bd3f609c8dfc47f978 (PR-918) [2021-07-07T03:50:32.078Z] > git config --get remote.origin.url # timeout=10 [2021-07-07T03:50:32.089Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T03:50:32.101Z] > git merge b10469f13584187c4bd7f7cff58f5aa0259e83b1 # timeout=10 [2021-07-07T03:50:32.136Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-07T03:50:32.157Z] > git config core.sparsecheckout # timeout=10 [2021-07-07T03:50:32.176Z] > git checkout -f a151734a66af3de5a4a537bd3f609c8dfc47f978 # timeout=10 [2021-07-07T03:50:36.393Z] Commit message: "Merge commit 'b10469f13584187c4bd7f7cff58f5aa0259e83b1' into HEAD" [2021-07-07T03:50:36.420Z] First time build. Skipping changelog. [2021-07-07T03:50:36.405Z] > git rev-list --no-walk 4713cf9b2f7877595b2096caf2bd140c05d01eca # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-07T03:50:37.795Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-07-07T03:50:38.105Z] ok new-app-service 0.009s coverage: 47.8% of statements [2021-07-07T03:50:38.105Z] ? new-app-service/config [no test files] [2021-07-07T03:50:38.224Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-07T03:50:38.371Z] ok new-app-service/functions 0.009s [2021-07-07T03:50:38.371Z] CGO_ENABLED=1 go vet ./... [2021-07-07T03:50:38.564Z] + true [2021-07-07T03:50:38.564Z] + sudo service docker restart [2021-07-07T03:50:46.598Z] gofmt -l . [2021-07-07T03:50:46.598Z] [ "`gofmt -l .`" = "" ] [2021-07-07T03:50:46.598Z] ./bin/test-attribution-txt.sh [2021-07-07T03:50:46.598Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-07-07T03:50:46.598Z] go mod tidy [2021-07-07T03:50:46.598Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-07-07T03:50:46.874Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-07-07T03:50:48.339Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.013s coverage: 63.6% of statements [2021-07-07T03:50:48.339Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.010s coverage: 96.5% of statements [2021-07-07T03:50:48.339Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-07-07T03:50:48.943Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.018s coverage: 61.8% of statements [2021-07-07T03:50:48.943Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-07-07T03:50:48.943Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.006s [2021-07-07T03:50:49.532Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.019s coverage: 74.5% of statements [2021-07-07T03:50:49.532Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-07-07T03:50:49.532Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-07-07T03:50:49.532Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-07-07T03:50:49.532Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-07-07T03:50:49.532Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-07-07T03:50:49.532Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-07-07T03:50:49.532Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.009s coverage: 97.1% of statements [2021-07-07T03:50:49.532Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-07-07T03:50:49.803Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.006s coverage: 10.5% of statements [2021-07-07T03:50:53.134Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.740s coverage: 76.1% of statements [2021-07-07T03:50:53.134Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-07-07T03:50:53.134Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.010s coverage: 12.5% of statements [2021-07-07T03:50:53.134Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.011s coverage: 27.3% of statements [2021-07-07T03:50:53.134Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-07-07T03:50:53.134Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-07-07T03:50:53.134Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.008s coverage: 51.4% of statements [Pipeline] unstash [Pipeline] echo [2021-07-07T03:50:57.147Z] ========================================================= [2021-07-07T03:50:57.148Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-07T03:50:57.148Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-07T03:50:57.498Z] + 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-07T03:50:58.478Z] Sending build context to Docker daemon 19.74MB [2021-07-07T03:50:58.478Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-07T03:50:58.478Z] Step 2/8 : FROM ${BASE} [2021-07-07T03:50:59.081Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-07T03:50:59.081Z] 595b0fe564bb: Pulling fs layer [2021-07-07T03:50:59.081Z] 3088b5b3c5c0: Pulling fs layer [2021-07-07T03:50:59.081Z] 5b7225fbf94c: Pulling fs layer [2021-07-07T03:50:59.081Z] ba82ee9f976e: Pulling fs layer [2021-07-07T03:50:59.081Z] 506bd15cee9f: Pulling fs layer [2021-07-07T03:50:59.081Z] 75a0a4a0db45: Pulling fs layer [2021-07-07T03:50:59.081Z] 618dc40b7e24: Pulling fs layer [2021-07-07T03:50:59.081Z] 75a0a4a0db45: Waiting [2021-07-07T03:50:59.081Z] ba82ee9f976e: Waiting [2021-07-07T03:50:59.081Z] 618dc40b7e24: Waiting [2021-07-07T03:50:59.081Z] 506bd15cee9f: Waiting [2021-07-07T03:50:59.081Z] 5b7225fbf94c: Verifying Checksum [2021-07-07T03:50:59.081Z] 5b7225fbf94c: Download complete [2021-07-07T03:50:59.081Z] 3088b5b3c5c0: Verifying Checksum [2021-07-07T03:50:59.081Z] 3088b5b3c5c0: Download complete [2021-07-07T03:50:59.388Z] 506bd15cee9f: Verifying Checksum [2021-07-07T03:50:59.388Z] 506bd15cee9f: Download complete [2021-07-07T03:50:59.388Z] 75a0a4a0db45: Verifying Checksum [2021-07-07T03:50:59.388Z] 75a0a4a0db45: Download complete [2021-07-07T03:50:59.388Z] 595b0fe564bb: Verifying Checksum [2021-07-07T03:50:59.388Z] 595b0fe564bb: Download complete [2021-07-07T03:50:59.994Z] 595b0fe564bb: Pull complete [2021-07-07T03:51:00.607Z] 3088b5b3c5c0: Pull complete [2021-07-07T03:51:01.204Z] 5b7225fbf94c: Pull complete [2021-07-07T03:51:02.193Z] 618dc40b7e24: Verifying Checksum [2021-07-07T03:51:02.193Z] 618dc40b7e24: Download complete [2021-07-07T03:51:03.173Z] ba82ee9f976e: Download complete [2021-07-07T03:51:13.380Z] ba82ee9f976e: Pull complete [2021-07-07T03:51:13.380Z] 506bd15cee9f: Pull complete [2021-07-07T03:51:13.655Z] 75a0a4a0db45: Pull complete [2021-07-07T03:51:17.972Z] 618dc40b7e24: Pull complete [2021-07-07T03:51:17.972Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-07-07T03:51:17.972Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-07T03:51:17.972Z] ---> a36622ca3599 [2021-07-07T03:51:17.972Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-07-07T03:51:17.972Z] 20.10.0: Pulling from library/docker [2021-07-07T03:51:17.972Z] a3cc7d3b244e: Pulling fs layer [2021-07-07T03:51:17.972Z] 02a3295e0d61: Pulling fs layer [2021-07-07T03:51:17.972Z] 0f4f2e6d8100: Pulling fs layer [2021-07-07T03:51:17.972Z] 330b718f631f: Pulling fs layer [2021-07-07T03:51:17.972Z] a93816041522: Pulling fs layer [2021-07-07T03:51:17.972Z] bdb6da89ff94: Pulling fs layer [2021-07-07T03:51:17.972Z] 2a70c0c122f4: Pulling fs layer [2021-07-07T03:51:17.972Z] 330b718f631f: Waiting [2021-07-07T03:51:17.972Z] a93816041522: Waiting [2021-07-07T03:51:17.972Z] bdb6da89ff94: Waiting [2021-07-07T03:51:17.972Z] 2a70c0c122f4: Waiting [2021-07-07T03:51:17.972Z] 0f4f2e6d8100: Verifying Checksum [2021-07-07T03:51:17.972Z] 0f4f2e6d8100: Download complete [2021-07-07T03:51:17.972Z] 02a3295e0d61: Verifying Checksum [2021-07-07T03:51:17.972Z] 02a3295e0d61: Download complete [2021-07-07T03:51:17.972Z] a93816041522: Verifying Checksum [2021-07-07T03:51:17.972Z] a93816041522: Download complete [2021-07-07T03:51:17.972Z] bdb6da89ff94: Verifying Checksum [2021-07-07T03:51:17.972Z] bdb6da89ff94: Download complete [2021-07-07T03:51:17.972Z] a3cc7d3b244e: Verifying Checksum [2021-07-07T03:51:17.972Z] a3cc7d3b244e: Download complete [2021-07-07T03:51:17.972Z] 2a70c0c122f4: Verifying Checksum [2021-07-07T03:51:17.972Z] 2a70c0c122f4: Download complete [2021-07-07T03:51:18.968Z] a3cc7d3b244e: Pull complete [2021-07-07T03:51:19.569Z] 02a3295e0d61: Pull complete [2021-07-07T03:51:19.749Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.049s coverage: 78.0% of statements [2021-07-07T03:51:19.749Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.009s coverage: 94.4% of statements [2021-07-07T03:51:19.749Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-07-07T03:51:19.749Z] gofmt -l . [2021-07-07T03:51:19.749Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-07-07T03:51:19.761Z] $ docker stop --time=1 3715677b2b78ccf87e8a94ae039f788536f8fe6c80c02ea6f66e519070cf981d [2021-07-07T03:51:19.856Z] 330b718f631f: Verifying Checksum [2021-07-07T03:51:19.856Z] 330b718f631f: Download complete [2021-07-07T03:51:19.856Z] 0f4f2e6d8100: Pull complete [2021-07-07T03:51:21.068Z] $ docker rm -f 3715677b2b78ccf87e8a94ae039f788536f8fe6c80c02ea6f66e519070cf981d [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-07T03:51:21.536Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-07T03:51:21.783Z] 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-07T03:51:22.731Z] ---> job-cost.sh [2021-07-07T03:51:22.731Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-1YLY [2021-07-07T03:51:24.167Z] 330b718f631f: Pull complete [2021-07-07T03:51:24.168Z] a93816041522: Pull complete [2021-07-07T03:51:24.440Z] bdb6da89ff94: Pull complete [2021-07-07T03:51:24.712Z] 2a70c0c122f4: Pull complete [2021-07-07T03:51:24.986Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-07-07T03:51:24.986Z] Status: Downloaded newer image for docker:20.10.0 [2021-07-07T03:51:30.644Z] ---> 6756659b4026 [2021-07-07T03:51:30.644Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-07-07T03:51:30.644Z] ---> Running in c1d7d732a48d [2021-07-07T03:51:30.927Z] Removing intermediate container c1d7d732a48d [2021-07-07T03:51:30.927Z] ---> cede4449a696 [2021-07-07T03:51:30.927Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-07-07T03:51:30.927Z] ---> Running in 58eb93c4fde0 [2021-07-07T03:51:32.359Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-07T03:51:32.853Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-07T03:51:33.336Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-07T03:51:34.308Z] (1/5) Installing libsodium (1.0.18-r0) [2021-07-07T03:51:34.308Z] (2/5) Installing libzmq (4.3.3-r1) [2021-07-07T03:51:34.308Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-07-07T03:51:34.588Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-07-07T03:51:34.588Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-07-07T03:51:34.588Z] Executing busybox-1.32.1-r6.trigger [2021-07-07T03:51:34.588Z] OK: 139 MiB in 45 packages [2021-07-07T03:51:36.033Z] Removing intermediate container 58eb93c4fde0 [2021-07-07T03:51:36.033Z] ---> 1fb6a2cb33e3 [2021-07-07T03:51:36.033Z] Step 6/8 : WORKDIR /build [2021-07-07T03:51:36.033Z] ---> Running in a0b8ff78a763 [2021-07-07T03:51:36.635Z] Removing intermediate container a0b8ff78a763 [2021-07-07T03:51:36.635Z] ---> 8cda913c8991 [2021-07-07T03:51:36.635Z] Step 7/8 : COPY go.mod . [2021-07-07T03:51:37.617Z] ---> 59e0c0be43b0 [2021-07-07T03:51:37.617Z] Step 8/8 : RUN go mod download [2021-07-07T03:51:37.617Z] ---> Running in 1529a22c3bb1 [2021-07-07T03:51:45.173Z] lf-activate-venv(): INFO: Adding /tmp/venv-1YLY/bin to PATH [2021-07-07T03:51:45.173Z] INFO: No Stack... [2021-07-07T03:51:46.118Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-07T03:51:46.383Z] INFO: Archiving Costs [Pipeline] sh [2021-07-07T03:51:46.699Z] + cat /w/workspace/app-functions-sdk-go/3/archives/cost.csv [2021-07-07T03:51:46.699Z] + cut -d, -f6 [Pipeline] lock [2021-07-07T03:51:46.731Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-918-3-stack-cost] [2021-07-07T03:51:46.743Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-918-3-stack-cost] did not exist. Created. [2021-07-07T03:51:46.743Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-918-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-07T03:51:47.085Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-07T03:51:47.155Z] Stashed 1 file(s) [Pipeline] } [2021-07-07T03:51:47.166Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-918-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-07T03:52:04.447Z] Removing intermediate container 1529a22c3bb1 [2021-07-07T03:52:04.448Z] ---> a8836810a5ed [2021-07-07T03:52:04.448Z] Successfully built a8836810a5ed [2021-07-07T03:52:04.448Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-07T03:52:04.803Z] + docker inspect -f . ci-base-image-arm64 [2021-07-07T03:52:04.803Z] . [Pipeline] withDockerContainer [2021-07-07T03:52:05.071Z] prd-ubuntu18.04-docker-arm64-4c-16g-2007 does not seem to be running inside a container [2021-07-07T03:52:05.184Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-07T03:52:06.908Z] $ docker top 68902f55f042516a40fc4bcbd090e70d1f676a6f55b6fc6eed18148074cc2f11 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-07T03:52:07.877Z] + go version [2021-07-07T03:52:07.877Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-07T03:52:07.924Z] $ docker stop --time=1 68902f55f042516a40fc4bcbd090e70d1f676a6f55b6fc6eed18148074cc2f11 [2021-07-07T03:52:09.777Z] $ docker rm -f 68902f55f042516a40fc4bcbd090e70d1f676a6f55b6fc6eed18148074cc2f11 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-07T03:52:10.615Z] + docker inspect -f . ci-base-image-arm64 [2021-07-07T03:52:10.615Z] . [Pipeline] withDockerContainer [2021-07-07T03:52:10.877Z] prd-ubuntu18.04-docker-arm64-4c-16g-2007 does not seem to be running inside a container [2021-07-07T03:52:10.993Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-07T03:52:12.606Z] $ docker top 1040311f41a40f3f3eebbdc04f7a4775fab84396051afc941845bc48ac6ab6fd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-07T03:52:13.580Z] + go mod tidy [Pipeline] sh [2021-07-07T03:52:14.878Z] + make test [2021-07-07T03:52:14.878Z] make -C ./app-service-template build [2021-07-07T03:52:14.878Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-07-07T03:52:14.878Z] go mod tidy [2021-07-07T03:52:15.482Z] 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-07T03:52:54.534Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-07-07T03:52:54.534Z] make -C ./app-service-template test [2021-07-07T03:52:54.534Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-07-07T03:52:54.534Z] go mod tidy [2021-07-07T03:52:54.534Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-07-07T03:53:21.389Z] ok new-app-service 0.040s coverage: 47.8% of statements [2021-07-07T03:53:21.389Z] ? new-app-service/config [no test files] [2021-07-07T03:53:21.389Z] ok new-app-service/functions 0.036s [2021-07-07T03:53:21.389Z] CGO_ENABLED=1 go vet ./... [2021-07-07T03:53:48.236Z] gofmt -l . [2021-07-07T03:53:48.236Z] [ "`gofmt -l .`" = "" ] [2021-07-07T03:53:48.236Z] ./bin/test-attribution-txt.sh [2021-07-07T03:53:49.225Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-07-07T03:53:49.225Z] go mod tidy [2021-07-07T03:53:49.504Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-07-07T03:53:50.969Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-07-07T03:53:59.296Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.082s coverage: 63.6% of statements [2021-07-07T03:53:59.296Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.068s coverage: 96.5% of statements [2021-07-07T03:53:59.296Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-07-07T03:53:59.296Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.081s coverage: 61.8% of statements [2021-07-07T03:53:59.296Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-07-07T03:53:59.296Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.059s [2021-07-07T03:53:59.574Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.207s coverage: 74.5% of statements [2021-07-07T03:53:59.574Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-07-07T03:53:59.574Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-07-07T03:53:59.574Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-07-07T03:53:59.574Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-07-07T03:53:59.574Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-07-07T03:53:59.574Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-07-07T03:53:59.574Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.024s coverage: 97.1% of statements [2021-07-07T03:53:59.574Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-07-07T03:54:00.175Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.040s coverage: 10.5% of statements [2021-07-07T03:54:06.916Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.823s coverage: 76.1% of statements [2021-07-07T03:54:06.916Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-07-07T03:54:06.916Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.046s coverage: 12.5% of statements [2021-07-07T03:54:06.916Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.052s coverage: 27.3% of statements [2021-07-07T03:54:06.916Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-07-07T03:54:06.916Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-07-07T03:54:06.916Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.050s coverage: 51.4% of statements [2021-07-07T03:54:33.689Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.119s coverage: 78.0% of statements [2021-07-07T03:54:33.689Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.032s coverage: 94.4% of statements [2021-07-07T03:54:33.689Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-07-07T03:54:35.684Z] gofmt -l . [2021-07-07T03:54:35.684Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-07-07T03:54:36.367Z] $ docker stop --time=1 1040311f41a40f3f3eebbdc04f7a4775fab84396051afc941845bc48ac6ab6fd [2021-07-07T03:54:38.291Z] $ docker rm -f 1040311f41a40f3f3eebbdc04f7a4775fab84396051afc941845bc48ac6ab6fd [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-07T03:54:39.123Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-07T03:54:39.161Z] Warning: overwriting stash ‘coverage-report’ [2021-07-07T03:54:39.769Z] 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-07T03:54:40.543Z] ---> job-cost.sh [2021-07-07T03:54:40.543Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-zcrx [2021-07-07T03:55:19.529Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-07T03:56:56.334Z] lf-activate-venv(): INFO: Adding /tmp/venv-zcrx/bin to PATH [2021-07-07T03:56:56.334Z] INFO: No Stack... [2021-07-07T03:56:56.334Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-07T03:56:56.334Z] INFO: Archiving Costs [Pipeline] sh [2021-07-07T03:56:56.680Z] + cut -d, -f6 [2021-07-07T03:56:56.681Z] + cat /w/workspace/app-functions-sdk-go/3/archives/cost.csv [Pipeline] lock [2021-07-07T03:56:56.747Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-918-3-stack-cost] [2021-07-07T03:56:56.756Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-918-3-stack-cost] did not exist. Created. [2021-07-07T03:56:56.756Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-918-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-07T03:56:57.134Z] /w/workspace/app-functions-sdk-go/3@tmp/durable-5c8addd5/script.sh: 1: /w/workspace/app-functions-sdk-go/3@tmp/durable-5c8addd5/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-07T03:56:57.478Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-07T03:56:57.513Z] Warning: overwriting stash ‘stack-cost’ [2021-07-07T03:56:57.680Z] Stashed 1 file(s) [Pipeline] } [2021-07-07T03:56:57.697Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-918-3-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-07T03:56:58.491Z] provisioning config files... [2021-07-07T03:56:58.502Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-918@tmp/config7831483237598562369tmp [Pipeline] { [Pipeline] sh [2021-07-07T03:56:58.838Z] + set +x [2021-07-07T03:56:58.838Z] + curl -s https://codecov.io/bash [2021-07-07T03:56:58.838Z] + bash -s -- [2021-07-07T03:56:59.100Z] [2021-07-07T03:56:59.100Z] _____ _ [2021-07-07T03:56:59.100Z] / ____| | | [2021-07-07T03:56:59.100Z] | | ___ __| | ___ ___ _____ __ [2021-07-07T03:56:59.100Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-07-07T03:56:59.100Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-07-07T03:56:59.100Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-07-07T03:56:59.100Z] Bash-1.0.3 [2021-07-07T03:56:59.100Z] [2021-07-07T03:56:59.100Z] [2021-07-07T03:56:59.100Z] ==> git version 2.24.4 found [2021-07-07T03:56:59.100Z] ==> 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-07T03:56:59.100Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-07-07T03:56:59.100Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-07-07T03:56:59.100Z] ==> Jenkins CI detected. [2021-07-07T03:56:59.100Z] project root: . [2021-07-07T03:56:59.100Z] --> token set from env [2021-07-07T03:56:59.100Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-07-07T03:56:59.100Z] ==> Running gcov in . (disable via -X gcov) [2021-07-07T03:56:59.100Z] ==> Python coveragepy not found [2021-07-07T03:56:59.100Z] ==> Searching for coverage reports in: [2021-07-07T03:56:59.100Z] + . [2021-07-07T03:56:59.100Z] -> Found 2 reports [2021-07-07T03:56:59.100Z] ==> Detecting git/mercurial file structure [2021-07-07T03:56:59.100Z] ==> Reading reports [2021-07-07T03:56:59.100Z] + ./app-service-template/coverage.out bytes=1055 [2021-07-07T03:56:59.100Z] + ./coverage.out bytes=95181 [2021-07-07T03:56:59.100Z] ==> Appending adjustments [2021-07-07T03:56:59.100Z] https://docs.codecov.io/docs/fixing-reports [2021-07-07T03:56:59.362Z] + Found adjustments [2021-07-07T03:56:59.362Z] ==> Gzipping contents [2021-07-07T03:56:59.362Z] 20K /tmp/codecov.NrjcWg.gz [2021-07-07T03:56:59.624Z] ==> Uploading reports [2021-07-07T03:56:59.624Z] url: https://codecov.io [2021-07-07T03:56:59.624Z] query: branch=PR-918&commit=ce88d66002491c98523ab5a22bd13153b9f5fdf7&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-918%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=918&job=&cmd_args= [2021-07-07T03:56:59.624Z] -> Pinging Codecov [2021-07-07T03:56:59.624Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-918&commit=ce88d66002491c98523ab5a22bd13153b9f5fdf7&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-918%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=918&job=&cmd_args= [2021-07-07T03:56:59.892Z] -> Uploading to [2021-07-07T03:56:59.892Z] https://storage.googleapis.com/codecov/v4/raw/2021-07-07/3D8B5DFFC46A037C893635FACE044666/ce88d66002491c98523ab5a22bd13153b9f5fdf7/d3cd807e-a74d-4f95-83cc-c0ddd488e75e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210707%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210707T035659Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=24073f61620085e7b3774ab278d909a4f0481701c9d01c826bb4a8688aa03722 [2021-07-07T03:56:59.892Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-07T03:56:59.892Z] Dload Upload Total Spent Left Speed [2021-07-07T03:57:00.470Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16854 0 0 100 16854 0 39506 --:--:-- --:--:-- --:--:-- 39563 [2021-07-07T03:57:00.470Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/ce88d66002491c98523ab5a22bd13153b9f5fdf7 [Pipeline] } [2021-07-07T03:57:00.503Z] 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-07T03:57:02.215Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T03:57:02.783Z] ---> package-listing.sh [2021-07-07T03:57:02.783Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-07T03:57:02.783Z] ++ facter osfamily [2021-07-07T03:57:03.048Z] + OS_FAMILY=redhat [2021-07-07T03:57:03.048Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-918 [2021-07-07T03:57:03.048Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-07T03:57:03.048Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-07T03:57:03.048Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-07T03:57:03.048Z] + PACKAGES=/tmp/packages_start.txt [2021-07-07T03:57:03.048Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-918 ']' [2021-07-07T03:57:03.048Z] + PACKAGES=/tmp/packages_end.txt [2021-07-07T03:57:03.048Z] + case "${OS_FAMILY}" in [2021-07-07T03:57:03.048Z] + sort [2021-07-07T03:57:03.048Z] + rpm -qa [2021-07-07T03:57:03.634Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-07T03:57:03.634Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-07T03:57:03.634Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-07T03:57:03.895Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-918 ']' [2021-07-07T03:57:03.896Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-918/archives/ [2021-07-07T03:57:03.896Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-918/archives/ [Pipeline] echo [2021-07-07T03:57:03.908Z] 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-918/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-07T03:57:04.196Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-07T03:57:04.767Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-07T03:57:04.767Z] [2021-07-07T03:57:04.767Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-07-07T03:57:05.089Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-07T03:57:05.089Z] alpine: Pulling from edgex-lftools-log-publisher [2021-07-07T03:57:05.089Z] df20fa9351a1: Pulling fs layer [2021-07-07T03:57:05.089Z] 36b3adc4ff6f: Pulling fs layer [2021-07-07T03:57:05.089Z] 8ad3a11d3b57: Pulling fs layer [2021-07-07T03:57:05.089Z] 46f8f816bc3b: Pulling fs layer [2021-07-07T03:57:05.089Z] 93b61091891f: Pulling fs layer [2021-07-07T03:57:05.089Z] 93b9cdb0e59b: Pulling fs layer [2021-07-07T03:57:05.089Z] 5e14af77c1be: Pulling fs layer [2021-07-07T03:57:05.089Z] 01666e4c0597: Pulling fs layer [2021-07-07T03:57:05.089Z] aa168da1d23b: Pulling fs layer [2021-07-07T03:57:05.089Z] 93b61091891f: Waiting [2021-07-07T03:57:05.089Z] 93b9cdb0e59b: Waiting [2021-07-07T03:57:05.089Z] 5e14af77c1be: Waiting [2021-07-07T03:57:05.089Z] 01666e4c0597: Waiting [2021-07-07T03:57:05.089Z] aa168da1d23b: Waiting [2021-07-07T03:57:05.089Z] 46f8f816bc3b: Waiting [2021-07-07T03:57:05.089Z] 36b3adc4ff6f: Verifying Checksum [2021-07-07T03:57:05.089Z] 36b3adc4ff6f: Download complete [2021-07-07T03:57:05.089Z] 46f8f816bc3b: Verifying Checksum [2021-07-07T03:57:05.089Z] 46f8f816bc3b: Download complete [2021-07-07T03:57:05.354Z] df20fa9351a1: Verifying Checksum [2021-07-07T03:57:05.354Z] df20fa9351a1: Download complete [2021-07-07T03:57:05.354Z] 93b9cdb0e59b: Verifying Checksum [2021-07-07T03:57:05.354Z] 93b9cdb0e59b: Download complete [2021-07-07T03:57:05.354Z] 93b61091891f: Verifying Checksum [2021-07-07T03:57:05.354Z] 93b61091891f: Download complete [2021-07-07T03:57:05.354Z] 01666e4c0597: Verifying Checksum [2021-07-07T03:57:05.354Z] 01666e4c0597: Download complete [2021-07-07T03:57:05.354Z] 5e14af77c1be: Verifying Checksum [2021-07-07T03:57:05.354Z] 5e14af77c1be: Download complete [2021-07-07T03:57:05.354Z] 8ad3a11d3b57: Verifying Checksum [2021-07-07T03:57:05.354Z] 8ad3a11d3b57: Download complete [2021-07-07T03:57:05.354Z] df20fa9351a1: Pull complete [2021-07-07T03:57:05.619Z] 36b3adc4ff6f: Pull complete [2021-07-07T03:57:06.197Z] 8ad3a11d3b57: Pull complete [2021-07-07T03:57:06.198Z] 46f8f816bc3b: Pull complete [2021-07-07T03:57:06.769Z] 93b61091891f: Pull complete [2021-07-07T03:57:06.769Z] 93b9cdb0e59b: Pull complete [2021-07-07T03:57:06.769Z] 5e14af77c1be: Pull complete [2021-07-07T03:57:06.769Z] 01666e4c0597: Pull complete [2021-07-07T03:57:07.344Z] aa168da1d23b: Verifying Checksum [2021-07-07T03:57:07.344Z] aa168da1d23b: Download complete [2021-07-07T03:57:11.586Z] aa168da1d23b: Pull complete [2021-07-07T03:57:11.586Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-07-07T03:57:11.586Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-07T03:57:11.586Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-07-07T03:57:11.666Z] prd-centos7-docker-4c-2g-2003 does not seem to be running inside a container [2021-07-07T03:57:11.710Z] $ 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-918/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-918 -v /w/workspace/ndry_app-functions-sdk-go_PR-918:/w/workspace/ndry_app-functions-sdk-go_PR-918:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-918@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-918@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-07-07T03:57:13.737Z] $ docker top 848d0a7b0cc4b23d6da0985eb0a4c316d8478bd102736854398003ccd2150a44 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-07T03:57:14.145Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-07T03:57:14.451Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-07-07T03:57:14.747Z] + ls /var/log/sa-host [2021-07-07T03:57:14.747Z] + sadf -c /var/log/sa-host/sa05 [2021-07-07T03:57:14.747Z] file_magic: OK [2021-07-07T03:57:14.747Z] HZ: Using current value: 100 [2021-07-07T03:57:14.747Z] file_header: OK [2021-07-07T03:57:14.747Z] 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-07T03:57:14.747Z] Statistics: [2021-07-07T03:57:14.747Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-07T03:57:14.747Z] File successfully converted to sysstat format version 12.2.1 [2021-07-07T03:57:14.747Z] + sadf -c /var/log/sa-host/sa07 [2021-07-07T03:57:14.747Z] file_magic: OK [2021-07-07T03:57:14.747Z] HZ: Using current value: 100 [2021-07-07T03:57:14.747Z] file_header: OK [2021-07-07T03:57:14.747Z] 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-07T03:57:14.747Z] Statistics: [2021-07-07T03:57:14.747Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-07T03:57:14.747Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-07T03:57:14.947Z] provisioning config files... [2021-07-07T03:57:14.960Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-918@tmp/config3525205343086633656tmp [Pipeline] { [Pipeline] echo [2021-07-07T03:57:14.984Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T03:57:15.300Z] ---> create-netrc.sh [Pipeline] } [2021-07-07T03:57:15.309Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-07T03:57:15.691Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-07T03:57:15.703Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T03:57:16.009Z] ---> sudo-logs.sh [2021-07-07T03:57:16.009Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-07-07T03:57:16.047Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T03:57:16.348Z] ---> job-cost.sh [2021-07-07T03:57:16.348Z] lf-activate-venv: SKIPPING [2021-07-07T03:57:16.348Z] DEBUG: total: 0.18000000715255737 [2021-07-07T03:57:16.348Z] INFO: Retrieving Stack Cost... [2021-07-07T03:57:17.737Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-07T03:57:18.001Z] INFO: Archiving Costs [Pipeline] echo [2021-07-07T03:57:18.018Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T03:57:18.323Z] ---> logs-deploy.sh [2021-07-07T03:57:18.323Z] lf-activate-venv: SKIPPING [2021-07-07T03:57:18.323Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-918/3 [2021-07-07T03:57:18.323Z] INFO: archiving workspace using pattern(s): [2021-07-07T03:57:19.270Z] Archives upload complete. [2021-07-07T03:57:19.270Z] INFO: archiving logs to Nexus [2021-07-07T03:57:19.845Z] ---> uname -a: [2021-07-07T03:57:19.845Z] Linux prd-centos7-docker-4c-2g-2003.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-07T03:57:19.845Z] [2021-07-07T03:57:19.845Z] [2021-07-07T03:57:19.845Z] ---> lscpu: [2021-07-07T03:57:19.845Z] Architecture: x86_64 [2021-07-07T03:57:19.845Z] CPU op-mode(s): 32-bit, 64-bit [2021-07-07T03:57:19.845Z] Byte Order: Little Endian [2021-07-07T03:57:19.845Z] Address sizes: 40 bits physical, 48 bits virtual [2021-07-07T03:57:19.845Z] CPU(s): 2 [2021-07-07T03:57:19.845Z] On-line CPU(s) list: 0,1 [2021-07-07T03:57:19.845Z] Thread(s) per core: 1 [2021-07-07T03:57:19.845Z] Core(s) per socket: 1 [2021-07-07T03:57:19.845Z] Socket(s): 2 [2021-07-07T03:57:19.845Z] NUMA node(s): 1 [2021-07-07T03:57:19.845Z] Vendor ID: AuthenticAMD [2021-07-07T03:57:19.845Z] CPU family: 23 [2021-07-07T03:57:19.845Z] Model: 49 [2021-07-07T03:57:19.845Z] Model name: AMD EPYC-Rome Processor [2021-07-07T03:57:19.845Z] Stepping: 0 [2021-07-07T03:57:19.845Z] CPU MHz: 2800.000 [2021-07-07T03:57:19.845Z] BogoMIPS: 5600.00 [2021-07-07T03:57:19.845Z] Virtualization: AMD-V [2021-07-07T03:57:19.845Z] Hypervisor vendor: KVM [2021-07-07T03:57:19.845Z] Virtualization type: full [2021-07-07T03:57:19.845Z] L1d cache: 64 KiB [2021-07-07T03:57:19.845Z] L1i cache: 64 KiB [2021-07-07T03:57:19.845Z] L2 cache: 1 MiB [2021-07-07T03:57:19.845Z] L3 cache: 32 MiB [2021-07-07T03:57:19.845Z] NUMA node0 CPU(s): 0,1 [2021-07-07T03:57:19.845Z] Vulnerability Itlb multihit: Not affected [2021-07-07T03:57:19.845Z] Vulnerability L1tf: Not affected [2021-07-07T03:57:19.845Z] Vulnerability Mds: Not affected [2021-07-07T03:57:19.845Z] Vulnerability Meltdown: Not affected [2021-07-07T03:57:19.845Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-07-07T03:57:19.845Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-07-07T03:57:19.845Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-07-07T03:57:19.845Z] Vulnerability Srbds: Not affected [2021-07-07T03:57:19.845Z] Vulnerability Tsx async abort: Not affected [2021-07-07T03:57:19.845Z] 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-07T03:57:19.845Z] [2021-07-07T03:57:19.845Z] [2021-07-07T03:57:19.845Z] ---> nproc: [2021-07-07T03:57:19.845Z] 2 [2021-07-07T03:57:19.845Z] [2021-07-07T03:57:19.845Z] [2021-07-07T03:57:19.845Z] ---> df -h: [2021-07-07T03:57:19.845Z] Filesystem Size Used Available Use% Mounted on [2021-07-07T03:57:19.845Z] overlay 40.0G 7.6G 32.4G 19% / [2021-07-07T03:57:19.845Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-07-07T03:57:19.845Z] tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup [2021-07-07T03:57:19.845Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-07-07T03:57:19.845Z] /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os [2021-07-07T03:57:19.845Z] /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf [2021-07-07T03:57:19.845Z] /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname [2021-07-07T03:57:19.845Z] /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts [2021-07-07T03:57:19.845Z] /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log [2021-07-07T03:57:19.845Z] /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/ndry_app-functions-sdk-go_PR-918 [2021-07-07T03:57:19.845Z] /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json [2021-07-07T03:57:19.845Z] /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/ndry_app-functions-sdk-go_PR-918@tmp [2021-07-07T03:57:19.845Z] /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host [2021-07-07T03:57:19.845Z] /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure [2021-07-07T03:57:19.845Z] [2021-07-07T03:57:19.845Z]