Pull request #924 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from e1c098b85b990e0a052043c91247610c557e9117+76558247ef558a621c6cde6dc216633300cc3d0c (4baa79398c011fdf8116efa826aa980f0059f6b3) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2196607244369611041.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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4304721510728448194.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 144eb70ba3d470a427e699408e811d3f535e987a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-924/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-924/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh168907614389700061.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-924/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1905731676461914673.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 144eb70ba3d470a427e699408e811d3f535e987a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 144eb70ba3d470a427e699408e811d3f535e987a # timeout=10 Commit message: "Merge pull request #341 from ernestojeda/master-2-main" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2325314620841057634.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-924/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-924/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1447496544025877757.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-2949 in /w/workspace/ndry_app-functions-sdk-go_PR-924 [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-924 # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-924@tmp/jenkins-gitclient-ssh517576823073006359.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 76558247ef558a621c6cde6dc216633300cc3d0c into PR head commit e1c098b85b990e0a052043c91247610c557e9117 > 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-924@tmp/jenkins-gitclient-ssh4265494010145762321.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/924/head:refs/remotes/origin/PR-924 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merge succeeded, producing e1c098b85b990e0a052043c91247610c557e9117 Checking out Revision e1c098b85b990e0a052043c91247610c557e9117 (PR-924) > git config core.sparsecheckout # timeout=10 > git checkout -f e1c098b85b990e0a052043c91247610c557e9117 # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-924@tmp/jenkins-gitclient-ssh1629776057786549679.key > git merge 76558247ef558a621c6cde6dc216633300cc3d0c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e1c098b85b990e0a052043c91247610c557e9117 # timeout=10 Commit message: "fix: Change logging of CorrelationID to use proper function call" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-15T19:36:58.608Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-15T19:36:58.812Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-15T19:36:58.953Z] ========================================================= [2021-07-15T19:36:58.953Z] EdgeX Global Pipelines Version Info [2021-07-15T19:36:58.953Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-15T19:37:00.290Z] ------------------- [2021-07-15T19:37:00.290Z] stable info: [2021-07-15T19:37:00.290Z] ------------------- [2021-07-15T19:37:00.290Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-15T19:37:00.290Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-15T19:37:00.291Z] Message: update stable to v1.0.196 [2021-07-15T19:37:00.884Z] ------------------- [2021-07-15T19:37:00.884Z] experimental info: [2021-07-15T19:37:00.884Z] ------------------- [2021-07-15T19:37:00.884Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-15T19:37:00.884Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-15T19:37:00.884Z] Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-15T19:37:01.298Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-07-15T19:37:01.365Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-07-15T19:37:01.427Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-15T19:37:01.498Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-15T19:37:01.564Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-15T19:37:01.641Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-15T19:37:01.718Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-15T19:37:01.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-15T19:37:01.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-07-15T19:37:01.937Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-15T19:37:01.997Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-15T19:37:02.055Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-07-15T19:37:02.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-15T19:37:02.192Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-15T19:37:02.279Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-07-15T19:37:02.350Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-07-15T19:37:02.431Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-07-15T19:37:02.509Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-07-15T19:37:02.605Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-15T19:37:02.719Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-15T19:37:02.784Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-07-15T19:37:02.854Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-07-15T19:37:02.930Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-07-15T19:37:03.006Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-07-15T19:37:03.080Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-07-15T19:37:03.169Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-15T19:37:03.221Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-924 [Pipeline] echo [2021-07-15T19:37:03.272Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-924 [Pipeline] echo [2021-07-15T19:37:03.332Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-924 [Pipeline] echo [2021-07-15T19:37:03.387Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e1c098b85b990e0a052043c91247610c557e9117 [Pipeline] echo [2021-07-15T19:37:03.448Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e1c098b [Pipeline] echo [2021-07-15T19:37:03.508Z] [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-15T19:37:04.333Z] + git log --format=format:%s -1 e1c098b85b990e0a052043c91247610c557e9117 [Pipeline] echo [2021-07-15T19:37:04.422Z] GIT_COMMIT: e1c098b85b990e0a052043c91247610c557e9117, Commit Message: fix: Change logging of CorrelationID to use proper function call [Pipeline] echo [2021-07-15T19:37:04.474Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-07-15T19:37:05.127Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-15T19:37:05.127Z] [2021-07-15T19:37:05.127Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-15T19:37:05.515Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-15T19:37:05.785Z] latest: Pulling from edgex-devops/git-semver [2021-07-15T19:37:05.785Z] 31603596830f: Pulling fs layer [2021-07-15T19:37:05.785Z] b6dc333f4379: Pulling fs layer [2021-07-15T19:37:05.785Z] 3d9ef1400e77: Pulling fs layer [2021-07-15T19:37:05.785Z] fd332fbdc1db: Pulling fs layer [2021-07-15T19:37:05.785Z] fd332fbdc1db: Waiting [2021-07-15T19:37:05.785Z] b6dc333f4379: Verifying Checksum [2021-07-15T19:37:05.785Z] b6dc333f4379: Download complete [2021-07-15T19:37:06.053Z] 31603596830f: Verifying Checksum [2021-07-15T19:37:06.053Z] 31603596830f: Download complete [2021-07-15T19:37:06.053Z] 31603596830f: Pull complete [2021-07-15T19:37:06.320Z] fd332fbdc1db: Verifying Checksum [2021-07-15T19:37:06.320Z] fd332fbdc1db: Download complete [2021-07-15T19:37:06.320Z] b6dc333f4379: Pull complete [2021-07-15T19:37:06.320Z] 3d9ef1400e77: Verifying Checksum [2021-07-15T19:37:06.321Z] 3d9ef1400e77: Download complete [2021-07-15T19:37:06.921Z] 3d9ef1400e77: Pull complete [2021-07-15T19:37:07.192Z] fd332fbdc1db: Pull complete [2021-07-15T19:37:07.192Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-15T19:37:07.192Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-15T19:37:07.192Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-15T19:37:07.316Z] prd-centos7-docker-4c-2g-2949 does not seem to be running inside a container [2021-07-15T19:37:07.391Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-924 -v /w/workspace/ndry_app-functions-sdk-go_PR-924:/w/workspace/ndry_app-functions-sdk-go_PR-924:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-924@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-924@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-15T19:37:08.101Z] $ docker top bfd147590da7b4dfb8f4e819025b90dd13cb923736fb2b9b2f2a18d5877d0802 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-15T19:37:08.329Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-15T19:37:08.329Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-15T19:37:08.440Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-15T19:37:08.443Z] $ docker exec bfd147590da7b4dfb8f4e819025b90dd13cb923736fb2b9b2f2a18d5877d0802 ssh-agent [2021-07-15T19:37:08.557Z] SSH_AUTH_SOCK=/tmp/ssh-Zy6yGISa1rmU/agent.13 [2021-07-15T19:37:08.557Z] SSH_AGENT_PID=19 [2021-07-15T19:37:08.570Z] Running ssh-add (command line suppressed) [2021-07-15T19:37:08.656Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-924@tmp/private_key_3494957756981684493.key (/w/workspace/ndry_app-functions-sdk-go_PR-924@tmp/private_key_3494957756981684493.key) [2021-07-15T19:37:08.682Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-15T19:37:09.058Z] + git tag --points-at HEAD [Pipeline] } [2021-07-15T19:37:09.084Z] $ docker exec --env ******** --env ******** bfd147590da7b4dfb8f4e819025b90dd13cb923736fb2b9b2f2a18d5877d0802 ssh-agent -k [2021-07-15T19:37:09.183Z] unset SSH_AUTH_SOCK; [2021-07-15T19:37:09.183Z] unset SSH_AGENT_PID; [2021-07-15T19:37:09.183Z] echo Agent pid 19 killed; [2021-07-15T19:37:09.342Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-15T19:37:09.441Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-15T19:37:09.441Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-15T19:37:09.547Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-15T19:37:09.547Z] $ docker exec bfd147590da7b4dfb8f4e819025b90dd13cb923736fb2b9b2f2a18d5877d0802 ssh-agent [2021-07-15T19:37:09.667Z] SSH_AUTH_SOCK=/tmp/ssh-y705IfjtuRTq/agent.54 [2021-07-15T19:37:09.667Z] SSH_AGENT_PID=61 [2021-07-15T19:37:09.677Z] Running ssh-add (command line suppressed) [2021-07-15T19:37:09.769Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-924@tmp/private_key_1959475002740463218.key (/w/workspace/ndry_app-functions-sdk-go_PR-924@tmp/private_key_1959475002740463218.key) [2021-07-15T19:37:09.799Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-15T19:37:10.172Z] + git semver init [2021-07-15T19:37:10.173Z] # -> Open(): unable to determine branch for HEAD [2021-07-15T19:37:10.173Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-924/.git [2021-07-15T19:37:10.173Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-924 [2021-07-15T19:37:10.173Z] # $SEMVER_REMOTE_NAME = origin [2021-07-15T19:37:10.173Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-15T19:37:10.173Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-15T19:37:10.173Z] # $SEMVER_BRANCH = PR-924 [2021-07-15T19:37:10.173Z] # $SEMVER_TEMP = /tmp/semver-699442848 [2021-07-15T19:37:10.173Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-07-15T19:37:18.440Z] # '/tmp/semver-699442848' -> '/w/workspace/ndry_app-functions-sdk-go_PR-924/.semver' [2021-07-15T19:37:18.440Z] # -> Force: false [2021-07-15T19:37:18.440Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-924/.semver [Pipeline] } [2021-07-15T19:37:18.471Z] $ docker exec --env ******** --env ******** bfd147590da7b4dfb8f4e819025b90dd13cb923736fb2b9b2f2a18d5877d0802 ssh-agent -k [2021-07-15T19:37:18.570Z] unset SSH_AUTH_SOCK; [2021-07-15T19:37:18.573Z] unset SSH_AGENT_PID; [2021-07-15T19:37:18.573Z] echo Agent pid 61 killed; [2021-07-15T19:37:18.592Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-15T19:37:19.096Z] + git semver [Pipeline] } [2021-07-15T19:37:19.131Z] $ docker stop --time=1 bfd147590da7b4dfb8f4e819025b90dd13cb923736fb2b9b2f2a18d5877d0802 [2021-07-15T19:37:20.427Z] $ docker rm -f bfd147590da7b4dfb8f4e819025b90dd13cb923736fb2b9b2f2a18d5877d0802 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-15T19:37:20.905Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-15T19:37:21.368Z] Stashed 1 file(s) [Pipeline] echo [2021-07-15T19:37:21.399Z] [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-15T19:37:37.036Z] Still waiting to schedule task [2021-07-15T19:37:37.036Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-07-15T19:37:37.066Z] Still waiting to schedule task [2021-07-15T19:37:37.066Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-07-15T19:39:28.895Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2950 in /w/workspace/ndry_app-functions-sdk-go_PR-924 [Pipeline] { [Pipeline] ws [2021-07-15T19:39:28.966Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-07-15T19:39:29.251Z] The recommended git tool is: git [2021-07-15T19:39:35.068Z] using credential edgex-jenkins-ssh [2021-07-15T19:39:35.086Z] Cloning the remote Git repository [2021-07-15T19:39:35.140Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-15T19:39:35.240Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-07-15T19:39:35.307Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-15T19:39:35.307Z] > git --version # timeout=10 [2021-07-15T19:39:35.321Z] > git --version # 'git version 2.17.1' [2021-07-15T19:39:35.323Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-15T19:39:35.409Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-15T19:39:39.302Z] Merging remotes/origin/main commit 76558247ef558a621c6cde6dc216633300cc3d0c into PR head commit e1c098b85b990e0a052043c91247610c557e9117 [2021-07-15T19:39:39.539Z] Merge succeeded, producing e1c098b85b990e0a052043c91247610c557e9117 [2021-07-15T19:39:39.540Z] Checking out Revision e1c098b85b990e0a052043c91247610c557e9117 (PR-924) [2021-07-15T19:39:38.580Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-07-15T19:39:38.597Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-15T19:39:38.628Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-07-15T19:39:38.664Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-15T19:39:38.665Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-15T19:39:38.678Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/924/head:refs/remotes/origin/PR-924 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-15T19:39:39.321Z] > git config core.sparsecheckout # timeout=10 [2021-07-15T19:39:39.342Z] > git checkout -f e1c098b85b990e0a052043c91247610c557e9117 # timeout=10 [2021-07-15T19:39:39.449Z] > git remote # timeout=10 [2021-07-15T19:39:39.468Z] > git config --get remote.origin.url # timeout=10 [2021-07-15T19:39:39.486Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-15T19:39:39.498Z] > git merge 76558247ef558a621c6cde6dc216633300cc3d0c # timeout=10 [2021-07-15T19:39:39.522Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-15T19:39:39.545Z] > git config core.sparsecheckout # timeout=10 [2021-07-15T19:39:39.573Z] > git checkout -f e1c098b85b990e0a052043c91247610c557e9117 # timeout=10 [2021-07-15T19:39:43.968Z] Commit message: "fix: Change logging of CorrelationID to use proper function call" [2021-07-15T19:39:44.032Z] > git --version # timeout=10 [2021-07-15T19:39:44.047Z] > git --version # 'git version 2.17.1' [2021-07-15T19:39:44.070Z] fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-15T19:39:45.466Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-07-15T19:39:45.946Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-15T19:39:46.322Z] + sudo service docker restart [2021-07-15T19:39:46.322Z] + true [Pipeline] unstash [Pipeline] echo [2021-07-15T19:40:05.241Z] ========================================================= [2021-07-15T19:40:05.241Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-15T19:40:05.241Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-15T19:40:05.662Z] + 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-15T19:40:06.654Z] Sending build context to Docker daemon 19.75MB [2021-07-15T19:40:06.654Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-15T19:40:06.654Z] Step 2/8 : FROM ${BASE} [2021-07-15T19:40:07.285Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-15T19:40:07.285Z] 595b0fe564bb: Pulling fs layer [2021-07-15T19:40:07.285Z] 24495759ef45: Pulling fs layer [2021-07-15T19:40:07.285Z] d148012ef14d: Pulling fs layer [2021-07-15T19:40:07.285Z] cb65c68fc2e2: Pulling fs layer [2021-07-15T19:40:07.285Z] 093eec477d81: Pulling fs layer [2021-07-15T19:40:07.285Z] a6d5b2bbb924: Pulling fs layer [2021-07-15T19:40:07.285Z] 2446dc1eb7d3: Pulling fs layer [2021-07-15T19:40:07.285Z] 596795e73e0f: Pulling fs layer [2021-07-15T19:40:07.285Z] cb65c68fc2e2: Waiting [2021-07-15T19:40:07.285Z] 093eec477d81: Waiting [2021-07-15T19:40:07.285Z] a6d5b2bbb924: Waiting [2021-07-15T19:40:07.285Z] 2446dc1eb7d3: Waiting [2021-07-15T19:40:07.285Z] 596795e73e0f: Waiting [2021-07-15T19:40:07.560Z] d148012ef14d: Download complete [2021-07-15T19:40:07.560Z] 24495759ef45: Verifying Checksum [2021-07-15T19:40:07.560Z] 24495759ef45: Download complete [2021-07-15T19:40:07.560Z] 093eec477d81: Verifying Checksum [2021-07-15T19:40:07.560Z] 093eec477d81: Download complete [2021-07-15T19:40:07.560Z] a6d5b2bbb924: Download complete [2021-07-15T19:40:07.560Z] 595b0fe564bb: Download complete [2021-07-15T19:40:07.560Z] 2446dc1eb7d3: Verifying Checksum [2021-07-15T19:40:07.560Z] 2446dc1eb7d3: Download complete [2021-07-15T19:40:07.768Z] Running on prd-centos7-docker-4c-2g-2951 in /w/workspace/ndry_app-functions-sdk-go_PR-924 [Pipeline] { [Pipeline] ws [2021-07-15T19:40:07.830Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-07-15T19:40:08.014Z] The recommended git tool is: git [2021-07-15T19:40:08.563Z] 595b0fe564bb: Pull complete [2021-07-15T19:40:09.570Z] 24495759ef45: Pull complete [2021-07-15T19:40:09.847Z] d148012ef14d: Pull complete [2021-07-15T19:40:10.837Z] 596795e73e0f: Verifying Checksum [2021-07-15T19:40:10.837Z] 596795e73e0f: Download complete [2021-07-15T19:40:11.152Z] using credential edgex-jenkins-ssh [2021-07-15T19:40:11.173Z] Cloning the remote Git repository [2021-07-15T19:40:10.387Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-15T19:40:10.469Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-07-15T19:40:10.512Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-15T19:40:10.512Z] > git --version # timeout=10 [2021-07-15T19:40:10.518Z] > git --version # 'git version 2.24.4' [2021-07-15T19:40:10.519Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-15T19:40:11.450Z] cb65c68fc2e2: Verifying Checksum [2021-07-15T19:40:11.450Z] cb65c68fc2e2: Download complete [2021-07-15T19:40:10.544Z] [INFO] Currently running in a labeled security context [2021-07-15T19:40:10.544Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-15T19:40:10.544Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh5852254078286957805.key [2021-07-15T19:40:10.560Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-15T19:40:13.285Z] Merging remotes/origin/main commit 76558247ef558a621c6cde6dc216633300cc3d0c into PR head commit e1c098b85b990e0a052043c91247610c557e9117 [2021-07-15T19:40:13.380Z] Merge succeeded, producing e1c098b85b990e0a052043c91247610c557e9117 [2021-07-15T19:40:13.381Z] Checking out Revision e1c098b85b990e0a052043c91247610c557e9117 (PR-924) [2021-07-15T19:40:11.833Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-07-15T19:40:11.843Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-15T19:40:11.857Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-07-15T19:40:11.878Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-15T19:40:11.878Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-15T19:40:11.879Z] [INFO] Currently running in a labeled security context [2021-07-15T19:40:11.879Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-15T19:40:11.879Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh1577856310490825970.key [2021-07-15T19:40:11.885Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/924/head:refs/remotes/origin/PR-924 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-15T19:40:12.653Z] > git config core.sparsecheckout # timeout=10 [2021-07-15T19:40:12.661Z] > git checkout -f e1c098b85b990e0a052043c91247610c557e9117 # timeout=10 [2021-07-15T19:40:12.703Z] > git remote # timeout=10 [2021-07-15T19:40:12.711Z] > git config --get remote.origin.url # timeout=10 [2021-07-15T19:40:12.715Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-15T19:40:12.716Z] [INFO] Currently running in a labeled security context [2021-07-15T19:40:12.716Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-15T19:40:12.717Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh6191847400017661702.key [2021-07-15T19:40:12.722Z] > git merge 76558247ef558a621c6cde6dc216633300cc3d0c # timeout=10 [2021-07-15T19:40:12.734Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-15T19:40:12.749Z] > git config core.sparsecheckout # timeout=10 [2021-07-15T19:40:12.757Z] > git checkout -f e1c098b85b990e0a052043c91247610c557e9117 # timeout=10 [2021-07-15T19:40:16.876Z] Commit message: "fix: Change logging of CorrelationID to use proper function call" [2021-07-15T19:40:16.631Z] > git --version # timeout=10 [2021-07-15T19:40:16.638Z] > git --version # 'git version 2.24.4' [2021-07-15T19:40:16.645Z] fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-15T19:40:18.061Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-07-15T19:40:18.437Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-15T19:40:18.797Z] + true [2021-07-15T19:40:18.798Z] + sudo service docker restart [2021-07-15T19:40:18.798Z] Redirecting to /bin/systemctl restart docker.service [2021-07-15T19:40:22.141Z] cb65c68fc2e2: Pull complete [2021-07-15T19:40:22.141Z] 093eec477d81: Pull complete [2021-07-15T19:40:22.141Z] a6d5b2bbb924: Pull complete [2021-07-15T19:40:22.748Z] 2446dc1eb7d3: Pull complete [2021-07-15T19:40:27.091Z] 596795e73e0f: Pull complete [2021-07-15T19:40:27.091Z] Digest: sha256:8fdc37217a1dd7593ea05f088b02ef5bfb3cd8d6ab6705c4f2c080891875b7a0 [2021-07-15T19:40:27.091Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-15T19:40:27.091Z] ---> d9e956139c92 [2021-07-15T19:40:27.091Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-07-15T19:40:27.697Z] 20.10.0: Pulling from library/docker [2021-07-15T19:40:27.976Z] a3cc7d3b244e: Pulling fs layer [2021-07-15T19:40:27.976Z] 02a3295e0d61: Pulling fs layer [2021-07-15T19:40:27.976Z] 0f4f2e6d8100: Pulling fs layer [2021-07-15T19:40:27.976Z] 330b718f631f: Pulling fs layer [2021-07-15T19:40:27.976Z] a93816041522: Pulling fs layer [2021-07-15T19:40:27.976Z] bdb6da89ff94: Pulling fs layer [2021-07-15T19:40:27.976Z] 2a70c0c122f4: Pulling fs layer [2021-07-15T19:40:27.976Z] 330b718f631f: Waiting [2021-07-15T19:40:27.976Z] a93816041522: Waiting [2021-07-15T19:40:27.976Z] bdb6da89ff94: Waiting [2021-07-15T19:40:27.976Z] 2a70c0c122f4: Waiting [2021-07-15T19:40:27.976Z] 0f4f2e6d8100: Verifying Checksum [2021-07-15T19:40:27.976Z] 0f4f2e6d8100: Download complete [2021-07-15T19:40:27.976Z] 02a3295e0d61: Verifying Checksum [2021-07-15T19:40:27.976Z] 02a3295e0d61: Download complete [2021-07-15T19:40:27.976Z] a93816041522: Download complete [2021-07-15T19:40:27.976Z] a3cc7d3b244e: Download complete [2021-07-15T19:40:28.254Z] bdb6da89ff94: Verifying Checksum [2021-07-15T19:40:28.255Z] bdb6da89ff94: Download complete [2021-07-15T19:40:28.255Z] 2a70c0c122f4: Verifying Checksum [2021-07-15T19:40:28.255Z] 2a70c0c122f4: Download complete [2021-07-15T19:40:28.863Z] a3cc7d3b244e: Pull complete [2021-07-15T19:40:29.467Z] 02a3295e0d61: Pull complete [2021-07-15T19:40:29.742Z] 0f4f2e6d8100: Pull complete [2021-07-15T19:40:30.018Z] 330b718f631f: Verifying Checksum [2021-07-15T19:40:30.018Z] 330b718f631f: Download complete [2021-07-15T19:40:33.441Z] 330b718f631f: Pull complete [2021-07-15T19:40:33.719Z] a93816041522: Pull complete [2021-07-15T19:40:34.314Z] bdb6da89ff94: Pull complete [2021-07-15T19:40:34.591Z] 2a70c0c122f4: Pull complete [2021-07-15T19:40:34.591Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-07-15T19:40:34.591Z] Status: Downloaded newer image for docker:20.10.0 [Pipeline] unstash [Pipeline] echo [2021-07-15T19:40:37.258Z] ========================================================= [2021-07-15T19:40:37.258Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-15T19:40:37.258Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-15T19:40:37.661Z] + 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-15T19:40:37.930Z] Sending build context to Docker daemon 19.75MB [2021-07-15T19:40:37.930Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-15T19:40:37.930Z] Step 2/8 : FROM ${BASE} [2021-07-15T19:40:38.414Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-15T19:40:38.414Z] 540db60ca938: Pulling fs layer [2021-07-15T19:40:38.415Z] adcc1eea9eea: Pulling fs layer [2021-07-15T19:40:38.415Z] 4c4ab2625f07: Pulling fs layer [2021-07-15T19:40:38.415Z] 0773c198feca: Pulling fs layer [2021-07-15T19:40:38.415Z] 345f892a5656: Pulling fs layer [2021-07-15T19:40:38.415Z] 4796506630df: Pulling fs layer [2021-07-15T19:40:38.415Z] cc55df3e53f1: Pulling fs layer [2021-07-15T19:40:38.415Z] 4d027b6c602c: Pulling fs layer [2021-07-15T19:40:38.415Z] 449e75d2c14e: Pulling fs layer [2021-07-15T19:40:38.415Z] 4796506630df: Waiting [2021-07-15T19:40:38.415Z] cc55df3e53f1: Waiting [2021-07-15T19:40:38.415Z] 4d027b6c602c: Waiting [2021-07-15T19:40:38.415Z] 449e75d2c14e: Waiting [2021-07-15T19:40:38.415Z] 0773c198feca: Waiting [2021-07-15T19:40:38.415Z] 345f892a5656: Waiting [2021-07-15T19:40:38.415Z] 4c4ab2625f07: Verifying Checksum [2021-07-15T19:40:38.415Z] 4c4ab2625f07: Download complete [2021-07-15T19:40:38.415Z] adcc1eea9eea: Verifying Checksum [2021-07-15T19:40:38.415Z] adcc1eea9eea: Download complete [2021-07-15T19:40:38.415Z] 345f892a5656: Verifying Checksum [2021-07-15T19:40:38.415Z] 345f892a5656: Download complete [2021-07-15T19:40:38.415Z] 540db60ca938: Verifying Checksum [2021-07-15T19:40:38.415Z] 540db60ca938: Download complete [2021-07-15T19:40:38.688Z] 4796506630df: Verifying Checksum [2021-07-15T19:40:38.688Z] 4796506630df: Download complete [2021-07-15T19:40:38.688Z] cc55df3e53f1: Verifying Checksum [2021-07-15T19:40:38.688Z] cc55df3e53f1: Download complete [2021-07-15T19:40:38.688Z] 540db60ca938: Pull complete [2021-07-15T19:40:38.688Z] adcc1eea9eea: Pull complete [2021-07-15T19:40:38.688Z] 4c4ab2625f07: Pull complete [2021-07-15T19:40:38.956Z] 4d027b6c602c: Verifying Checksum [2021-07-15T19:40:38.956Z] 4d027b6c602c: Download complete [2021-07-15T19:40:41.323Z] ---> 0810f7d7540a [2021-07-15T19:40:41.324Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-07-15T19:40:41.324Z] ---> Running in 07d86d6eead8 [2021-07-15T19:40:41.536Z] 449e75d2c14e: Verifying Checksum [2021-07-15T19:40:41.537Z] 449e75d2c14e: Download complete [2021-07-15T19:40:41.597Z] Removing intermediate container 07d86d6eead8 [2021-07-15T19:40:41.597Z] ---> 4bdea562d20d [2021-07-15T19:40:41.597Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-07-15T19:40:42.192Z] ---> Running in 2ef1e8fd9d7e [2021-07-15T19:40:42.957Z] 0773c198feca: Verifying Checksum [2021-07-15T19:40:42.957Z] 0773c198feca: Download complete [2021-07-15T19:40:43.635Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-15T19:40:44.642Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-15T19:40:45.240Z] (1/5) Installing libsodium (1.0.18-r0) [2021-07-15T19:40:45.512Z] (2/5) Installing libzmq (4.3.3-r1) [2021-07-15T19:40:45.782Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-07-15T19:40:45.782Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-07-15T19:40:46.056Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-07-15T19:40:46.056Z] Executing busybox-1.32.1-r6.trigger [2021-07-15T19:40:46.056Z] OK: 139 MiB in 45 packages [2021-07-15T19:40:46.339Z] 0773c198feca: Pull complete [2021-07-15T19:40:46.339Z] 345f892a5656: Pull complete [2021-07-15T19:40:46.339Z] 4796506630df: Pull complete [2021-07-15T19:40:46.339Z] cc55df3e53f1: Pull complete [2021-07-15T19:40:46.339Z] 4d027b6c602c: Pull complete [2021-07-15T19:40:47.494Z] Removing intermediate container 2ef1e8fd9d7e [2021-07-15T19:40:47.494Z] ---> 5d6ef4a5012a [2021-07-15T19:40:47.494Z] Step 6/8 : WORKDIR /build [2021-07-15T19:40:47.494Z] ---> Running in 8ee6c0214a8b [2021-07-15T19:40:47.757Z] 449e75d2c14e: Pull complete [2021-07-15T19:40:47.757Z] Digest: sha256:a2fa0993ec4462abfc92311096d2e43e803cda49eb027de246ea451416b7a8a8 [2021-07-15T19:40:47.757Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-15T19:40:47.757Z] ---> 0d28375d9b5b [2021-07-15T19:40:47.757Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-07-15T19:40:47.757Z] 20.10.0: Pulling from library/docker [2021-07-15T19:40:48.029Z] 05e7bc50f07f: Pulling fs layer [2021-07-15T19:40:48.029Z] 6db28d0fdbf6: Pulling fs layer [2021-07-15T19:40:48.029Z] 292df0bc6bf3: Pulling fs layer [2021-07-15T19:40:48.029Z] 2e060f4bd70b: Pulling fs layer [2021-07-15T19:40:48.029Z] 80e8d568a223: Pulling fs layer [2021-07-15T19:40:48.029Z] 8dc6ef1a942a: Pulling fs layer [2021-07-15T19:40:48.029Z] 2312dd95470a: Pulling fs layer [2021-07-15T19:40:48.029Z] 2e060f4bd70b: Waiting [2021-07-15T19:40:48.029Z] 80e8d568a223: Waiting [2021-07-15T19:40:48.029Z] 8dc6ef1a942a: Waiting [2021-07-15T19:40:48.029Z] 2312dd95470a: Waiting [2021-07-15T19:40:48.029Z] 292df0bc6bf3: Verifying Checksum [2021-07-15T19:40:48.029Z] 292df0bc6bf3: Download complete [2021-07-15T19:40:48.029Z] 6db28d0fdbf6: Verifying Checksum [2021-07-15T19:40:48.029Z] 6db28d0fdbf6: Download complete [2021-07-15T19:40:48.029Z] 05e7bc50f07f: Verifying Checksum [2021-07-15T19:40:48.029Z] 05e7bc50f07f: Download complete [2021-07-15T19:40:48.029Z] 8dc6ef1a942a: Verifying Checksum [2021-07-15T19:40:48.029Z] 8dc6ef1a942a: Download complete [2021-07-15T19:40:48.029Z] 80e8d568a223: Verifying Checksum [2021-07-15T19:40:48.029Z] 80e8d568a223: Download complete [2021-07-15T19:40:48.029Z] 2312dd95470a: Verifying Checksum [2021-07-15T19:40:48.029Z] 2312dd95470a: Download complete [2021-07-15T19:40:48.104Z] Removing intermediate container 8ee6c0214a8b [2021-07-15T19:40:48.104Z] ---> fae918167e5d [2021-07-15T19:40:48.104Z] Step 7/8 : COPY go.mod . [2021-07-15T19:40:48.299Z] 05e7bc50f07f: Pull complete [2021-07-15T19:40:48.299Z] 6db28d0fdbf6: Pull complete [2021-07-15T19:40:48.567Z] 292df0bc6bf3: Pull complete [2021-07-15T19:40:48.715Z] ---> 25f6c70703f5 [2021-07-15T19:40:48.716Z] Step 8/8 : RUN go mod download [2021-07-15T19:40:48.991Z] ---> Running in b72603c60854 [2021-07-15T19:40:50.526Z] 2e060f4bd70b: Verifying Checksum [2021-07-15T19:40:50.526Z] 2e060f4bd70b: Download complete [2021-07-15T19:40:52.509Z] 2e060f4bd70b: Pull complete [2021-07-15T19:40:52.509Z] 80e8d568a223: Pull complete [2021-07-15T19:40:52.509Z] 8dc6ef1a942a: Pull complete [2021-07-15T19:40:52.509Z] 2312dd95470a: Pull complete [2021-07-15T19:40:52.509Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-07-15T19:40:52.509Z] Status: Downloaded newer image for docker:20.10.0 [2021-07-15T19:40:55.102Z] ---> 516e549c83e1 [2021-07-15T19:40:55.102Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-07-15T19:40:55.102Z] ---> Running in 54e9cc1e1b47 [2021-07-15T19:40:55.102Z] Removing intermediate container 54e9cc1e1b47 [2021-07-15T19:40:55.102Z] ---> 0ec3f3208328 [2021-07-15T19:40:55.102Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-07-15T19:40:55.102Z] ---> Running in ee890a6a30e7 [2021-07-15T19:40:55.102Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-15T19:40:56.523Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-15T19:40:57.110Z] (1/5) Installing libsodium (1.0.18-r0) [2021-07-15T19:40:57.110Z] (2/5) Installing libzmq (4.3.3-r1) [2021-07-15T19:40:57.110Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-07-15T19:40:57.380Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-07-15T19:40:57.380Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-07-15T19:40:57.380Z] Executing busybox-1.32.1-r6.trigger [2021-07-15T19:40:57.380Z] OK: 150 MiB in 45 packages [2021-07-15T19:40:57.650Z] Removing intermediate container ee890a6a30e7 [2021-07-15T19:40:57.650Z] ---> 3f6ac50ee95f [2021-07-15T19:40:57.650Z] Step 6/8 : WORKDIR /build [2021-07-15T19:40:57.916Z] ---> Running in fffb7f137a73 [2021-07-15T19:40:57.916Z] Removing intermediate container fffb7f137a73 [2021-07-15T19:40:57.916Z] ---> 0ee721e3f1c7 [2021-07-15T19:40:57.916Z] Step 7/8 : COPY go.mod . [2021-07-15T19:40:58.183Z] ---> 5ac44c18fc9b [2021-07-15T19:40:58.183Z] Step 8/8 : RUN go mod download [2021-07-15T19:40:58.183Z] ---> Running in bfbe0de9ec50 [2021-07-15T19:41:08.311Z] Removing intermediate container bfbe0de9ec50 [2021-07-15T19:41:08.311Z] ---> 8b4b8fe8e31e [2021-07-15T19:41:08.311Z] Successfully built 8b4b8fe8e31e [2021-07-15T19:41:08.311Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-15T19:41:08.734Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-15T19:41:08.734Z] . [Pipeline] withDockerContainer [2021-07-15T19:41:08.865Z] prd-centos7-docker-4c-2g-2951 does not seem to be running inside a container [2021-07-15T19:41:08.940Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-15T19:41:09.310Z] $ docker top 513c0c27f6f5a01160bee645c6877c188e88703df3a695b2da33afec8ec39785 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-15T19:41:09.792Z] + go version [2021-07-15T19:41:09.792Z] go version go1.16.5 linux/amd64 [Pipeline] } [2021-07-15T19:41:09.820Z] $ docker stop --time=1 513c0c27f6f5a01160bee645c6877c188e88703df3a695b2da33afec8ec39785 [2021-07-15T19:41:11.018Z] $ docker rm -f 513c0c27f6f5a01160bee645c6877c188e88703df3a695b2da33afec8ec39785 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-15T19:41:11.963Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-15T19:41:11.963Z] . [Pipeline] withDockerContainer [2021-07-15T19:41:12.074Z] prd-centos7-docker-4c-2g-2951 does not seem to be running inside a container [2021-07-15T19:41:12.138Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-15T19:41:12.522Z] $ docker top de4732303064aa41aa740a6e3a051eac8fab22bab5a6e87187ca349cb638e847 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-15T19:41:13.003Z] + go mod tidy [Pipeline] sh [2021-07-15T19:41:13.630Z] + make test [2021-07-15T19:41:13.631Z] make -C ./app-service-template build [2021-07-15T19:41:13.631Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-07-15T19:41:13.631Z] go mod tidy [2021-07-15T19:41:13.901Z] 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-15T19:41:15.826Z] Removing intermediate container b72603c60854 [2021-07-15T19:41:15.826Z] ---> 59b7f386e8b8 [2021-07-15T19:41:15.826Z] Successfully built 59b7f386e8b8 [2021-07-15T19:41:15.826Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-15T19:41:16.211Z] + docker inspect -f . ci-base-image-arm64 [2021-07-15T19:41:16.211Z] . [Pipeline] withDockerContainer [2021-07-15T19:41:16.513Z] prd-ubuntu18.04-docker-arm64-4c-16g-2950 does not seem to be running inside a container [2021-07-15T19:41:16.623Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-15T19:41:18.389Z] $ docker top 4f6e986fa1124f6605357b78e3fc8cd230d8bec350e6635da005da53bd68a41b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-15T19:41:19.408Z] + go version [2021-07-15T19:41:19.408Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-15T19:41:19.449Z] $ docker stop --time=1 4f6e986fa1124f6605357b78e3fc8cd230d8bec350e6635da005da53bd68a41b [2021-07-15T19:41:21.314Z] $ docker rm -f 4f6e986fa1124f6605357b78e3fc8cd230d8bec350e6635da005da53bd68a41b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-15T19:41:22.400Z] + docker inspect -f . ci-base-image-arm64 [2021-07-15T19:41:22.400Z] . [Pipeline] withDockerContainer [2021-07-15T19:41:22.700Z] prd-ubuntu18.04-docker-arm64-4c-16g-2950 does not seem to be running inside a container [2021-07-15T19:41:22.796Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-15T19:41:24.061Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-07-15T19:41:24.061Z] make -C ./app-service-template test [2021-07-15T19:41:24.061Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-07-15T19:41:24.061Z] go mod tidy [2021-07-15T19:41:24.061Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-07-15T19:41:24.697Z] $ docker top 6e0ce95324a48c508ec23c2f455fccea2e880838b50bf6307a294458626d055f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-15T19:41:25.742Z] + go mod tidy [Pipeline] sh [2021-07-15T19:41:27.034Z] + make test [2021-07-15T19:41:27.034Z] make -C ./app-service-template build [2021-07-15T19:41:27.034Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-07-15T19:41:27.034Z] go mod tidy [2021-07-15T19:41:27.641Z] 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-15T19:41:32.317Z] ok new-app-service 0.008s coverage: 47.8% of statements [2021-07-15T19:41:32.317Z] ? new-app-service/config [no test files] [2021-07-15T19:41:32.317Z] ok new-app-service/functions 0.010s [2021-07-15T19:41:32.593Z] CGO_ENABLED=1 go vet ./... [2021-07-15T19:41:39.318Z] gofmt -l . [2021-07-15T19:41:39.318Z] [ "`gofmt -l .`" = "" ] [2021-07-15T19:41:39.318Z] ./bin/test-attribution-txt.sh [2021-07-15T19:41:39.916Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-07-15T19:41:39.916Z] go mod tidy [2021-07-15T19:41:39.916Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-07-15T19:41:40.509Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-07-15T19:41:41.507Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.022s coverage: 63.6% of statements [2021-07-15T19:41:41.775Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.007s coverage: 96.5% of statements [2021-07-15T19:41:41.775Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-07-15T19:41:42.410Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.016s coverage: 61.8% of statements [2021-07-15T19:41:42.410Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-07-15T19:41:42.411Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.007s [2021-07-15T19:41:43.001Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.052s coverage: 74.5% of statements [2021-07-15T19:41:43.002Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-07-15T19:41:43.002Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-07-15T19:41:43.002Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-07-15T19:41:43.002Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-07-15T19:41:43.002Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-07-15T19:41:43.002Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-07-15T19:41:43.002Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.006s coverage: 97.1% of statements [2021-07-15T19:41:43.002Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-07-15T19:41:43.002Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.009s coverage: 10.5% of statements [2021-07-15T19:41:46.361Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.756s coverage: 76.1% of statements [2021-07-15T19:41:46.361Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-07-15T19:41:46.361Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.011s coverage: 12.5% of statements [2021-07-15T19:41:46.361Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.009s coverage: 27.3% of statements [2021-07-15T19:41:46.361Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-07-15T19:41:46.361Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-07-15T19:41:46.361Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.009s coverage: 51.4% of statements [2021-07-15T19:42:06.714Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-07-15T19:42:06.714Z] make -C ./app-service-template test [2021-07-15T19:42:06.714Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-07-15T19:42:06.714Z] go mod tidy [2021-07-15T19:42:06.714Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-07-15T19:42:13.064Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.042s coverage: 78.0% of statements [2021-07-15T19:42:13.064Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.006s coverage: 94.4% of statements [2021-07-15T19:42:13.064Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-07-15T19:42:13.064Z] gofmt -l . [2021-07-15T19:42:13.064Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-07-15T19:42:13.095Z] $ docker stop --time=1 de4732303064aa41aa740a6e3a051eac8fab22bab5a6e87187ca349cb638e847 [2021-07-15T19:42:14.362Z] $ docker rm -f de4732303064aa41aa740a6e3a051eac8fab22bab5a6e87187ca349cb638e847 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-15T19:42:14.907Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-15T19:42:15.192Z] 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-15T19:42:16.724Z] ---> job-cost.sh [2021-07-15T19:42:16.724Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-yJiX [2021-07-15T19:42:24.977Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-15T19:42:33.567Z] ok new-app-service 0.040s coverage: 47.8% of statements [2021-07-15T19:42:33.567Z] ? new-app-service/config [no test files] [2021-07-15T19:42:33.567Z] ok new-app-service/functions 0.039s [2021-07-15T19:42:33.567Z] CGO_ENABLED=1 go vet ./... [2021-07-15T19:42:43.245Z] lf-activate-venv(): INFO: Adding /tmp/venv-yJiX/bin to PATH [2021-07-15T19:42:43.245Z] INFO: No Stack... [2021-07-15T19:42:43.831Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-15T19:42:44.418Z] INFO: Archiving Costs [Pipeline] sh [2021-07-15T19:42:44.769Z] + cut -d, -f6 [2021-07-15T19:42:44.769Z] + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-07-15T19:42:44.851Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-924-1-stack-cost] [2021-07-15T19:42:44.859Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-924-1-stack-cost] did not exist. Created. [2021-07-15T19:42:44.859Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-924-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-15T19:42:45.310Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-15T19:42:45.435Z] Stashed 1 file(s) [Pipeline] } [2021-07-15T19:42:45.458Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-924-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-15T19:43:00.438Z] gofmt -l . [2021-07-15T19:43:00.438Z] [ "`gofmt -l .`" = "" ] [2021-07-15T19:43:00.438Z] ./bin/test-attribution-txt.sh [2021-07-15T19:43:00.438Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-07-15T19:43:00.438Z] go mod tidy [2021-07-15T19:43:00.438Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-07-15T19:43:00.438Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-07-15T19:43:08.794Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.103s coverage: 63.6% of statements [2021-07-15T19:43:08.794Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.050s coverage: 96.5% of statements [2021-07-15T19:43:08.794Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-07-15T19:43:08.794Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.147s coverage: 61.8% of statements [2021-07-15T19:43:08.794Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-07-15T19:43:08.794Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.045s [2021-07-15T19:43:09.400Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.132s coverage: 74.5% of statements [2021-07-15T19:43:09.400Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-07-15T19:43:09.400Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-07-15T19:43:09.400Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-07-15T19:43:09.400Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-07-15T19:43:09.400Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-07-15T19:43:09.400Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-07-15T19:43:09.400Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.012s coverage: 97.1% of statements [2021-07-15T19:43:09.400Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-07-15T19:43:09.400Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.054s coverage: 10.5% of statements [2021-07-15T19:43:16.378Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.827s coverage: 76.1% of statements [2021-07-15T19:43:16.378Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-07-15T19:43:16.378Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.044s coverage: 12.5% of statements [2021-07-15T19:43:16.378Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.047s coverage: 27.3% of statements [2021-07-15T19:43:16.378Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-07-15T19:43:16.378Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-07-15T19:43:16.378Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.096s coverage: 51.4% of statements [2021-07-15T19:43:43.228Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.120s coverage: 78.0% of statements [2021-07-15T19:43:43.228Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.046s coverage: 94.4% of statements [2021-07-15T19:43:43.228Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-07-15T19:43:46.632Z] gofmt -l . [2021-07-15T19:43:46.632Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-07-15T19:43:46.946Z] $ docker stop --time=1 6e0ce95324a48c508ec23c2f455fccea2e880838b50bf6307a294458626d055f [2021-07-15T19:43:49.104Z] $ docker rm -f 6e0ce95324a48c508ec23c2f455fccea2e880838b50bf6307a294458626d055f [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-15T19:43:50.080Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-15T19:43:50.122Z] Warning: overwriting stash ‘coverage-report’ [2021-07-15T19:43:50.702Z] 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-15T19:43:51.860Z] ---> job-cost.sh [2021-07-15T19:43:51.860Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-9su8 [2021-07-15T19:44:30.911Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-15T19:46:07.709Z] lf-activate-venv(): INFO: Adding /tmp/venv-9su8/bin to PATH [2021-07-15T19:46:07.709Z] INFO: No Stack... [2021-07-15T19:46:07.709Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-15T19:46:07.709Z] INFO: Archiving Costs [Pipeline] sh [2021-07-15T19:46:08.107Z] + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv [2021-07-15T19:46:08.108Z] + cut -d, -f6 [Pipeline] lock [2021-07-15T19:46:08.225Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-924-1-stack-cost] [2021-07-15T19:46:08.258Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-924-1-stack-cost] did not exist. Created. [2021-07-15T19:46:08.258Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-924-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-15T19:46:08.901Z] /w/workspace/app-functions-sdk-go/1@tmp/durable-37613214/script.sh: 1: /w/workspace/app-functions-sdk-go/1@tmp/durable-37613214/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-15T19:46:09.283Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-15T19:46:09.321Z] Warning: overwriting stash ‘stack-cost’ [2021-07-15T19:46:09.479Z] Stashed 1 file(s) [Pipeline] } [2021-07-15T19:46:09.505Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-924-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-07-15T19:46:10.987Z] provisioning config files... [2021-07-15T19:46:11.005Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-924@tmp/config1126495663142129112tmp [Pipeline] { [Pipeline] sh [2021-07-15T19:46:11.394Z] + set +x [2021-07-15T19:46:11.394Z] + curl -s https://codecov.io/bash [2021-07-15T19:46:11.394Z] + bash -s -- [2021-07-15T19:46:11.394Z] [2021-07-15T19:46:11.394Z] _____ _ [2021-07-15T19:46:11.394Z] / ____| | | [2021-07-15T19:46:11.394Z] | | ___ __| | ___ ___ _____ __ [2021-07-15T19:46:11.394Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-07-15T19:46:11.394Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-07-15T19:46:11.394Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-07-15T19:46:11.394Z] Bash-1.0.5 [2021-07-15T19:46:11.394Z] [2021-07-15T19:46:11.394Z] [2021-07-15T19:46:11.394Z] ==> git version 2.24.4 found [2021-07-15T19:46:11.394Z] ==> 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-15T19:46:11.394Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-07-15T19:46:11.394Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-07-15T19:46:11.394Z] ==> Jenkins CI detected. [2021-07-15T19:46:11.394Z] project root: . [2021-07-15T19:46:11.394Z] --> token set from env [2021-07-15T19:46:11.394Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-07-15T19:46:11.668Z] ==> Running gcov in . (disable via -X gcov) [2021-07-15T19:46:11.668Z] ==> Python coveragepy not found [2021-07-15T19:46:11.668Z] ==> Searching for coverage reports in: [2021-07-15T19:46:11.668Z] + . [2021-07-15T19:46:11.668Z] -> Found 2 reports [2021-07-15T19:46:11.668Z] ==> Detecting git/mercurial file structure [2021-07-15T19:46:11.668Z] ==> Reading reports [2021-07-15T19:46:11.668Z] + ./app-service-template/coverage.out bytes=1055 [2021-07-15T19:46:11.668Z] + ./coverage.out bytes=95181 [2021-07-15T19:46:11.668Z] ==> Appending adjustments [2021-07-15T19:46:11.668Z] https://docs.codecov.io/docs/fixing-reports [2021-07-15T19:46:11.938Z] + Found adjustments [2021-07-15T19:46:11.938Z] ==> Gzipping contents [2021-07-15T19:46:11.938Z] 20K /tmp/codecov.22Hhk3.gz [2021-07-15T19:46:11.938Z] ==> Uploading reports [2021-07-15T19:46:11.938Z] url: https://codecov.io [2021-07-15T19:46:11.938Z] query: branch=PR-924&commit=e1c098b85b990e0a052043c91247610c557e9117&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-924%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=924&job=&cmd_args= [2021-07-15T19:46:11.938Z] -> Pinging Codecov [2021-07-15T19:46:11.938Z] https://codecov.io/upload/v4?package=bash-1.0.5&token=&package=bash-1.0.5&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-924&commit=e1c098b85b990e0a052043c91247610c557e9117&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-924%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=924&job=&cmd_args= [2021-07-15T19:46:12.523Z] -> Uploading to [2021-07-15T19:46:12.523Z] https://storage.googleapis.com/codecov/v4/raw/2021-07-15/3D8B5DFFC46A037C893635FACE044666/e1c098b85b990e0a052043c91247610c557e9117/e64f03b5-236b-4767-abb3-6bdfc3492fba.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210715%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210715T194612Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2c0ebd559500d0bcaa6ba368ee88e867a5ae48a645d08f014d4b49c666b718c1 [2021-07-15T19:46:12.523Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-15T19:46:12.523Z] Dload Upload Total Spent Left Speed [2021-07-15T19:46:13.111Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16444 0 0 100 16444 0 35979 --:--:-- --:--:-- --:--:-- 35982 [2021-07-15T19:46:13.111Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/e1c098b85b990e0a052043c91247610c557e9117 [Pipeline] } [2021-07-15T19:46:13.145Z] 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-15T19:46:16.205Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-15T19:46:16.884Z] ---> package-listing.sh [2021-07-15T19:46:16.884Z] ++ facter osfamily [2021-07-15T19:46:16.884Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-15T19:46:17.365Z] + OS_FAMILY=redhat [2021-07-15T19:46:17.365Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-924 [2021-07-15T19:46:17.365Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-15T19:46:17.365Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-15T19:46:17.365Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-15T19:46:17.365Z] + PACKAGES=/tmp/packages_start.txt [2021-07-15T19:46:17.365Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-924 ']' [2021-07-15T19:46:17.365Z] + PACKAGES=/tmp/packages_end.txt [2021-07-15T19:46:17.365Z] + case "${OS_FAMILY}" in [2021-07-15T19:46:17.365Z] + sort [2021-07-15T19:46:17.365Z] + rpm -qa [2021-07-15T19:46:17.946Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-15T19:46:17.946Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-15T19:46:17.946Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-15T19:46:17.946Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-924 ']' [2021-07-15T19:46:17.946Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-924/archives/ [2021-07-15T19:46:17.946Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-924/archives/ [Pipeline] echo [2021-07-15T19:46:17.984Z] 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-924/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-15T19:46:18.314Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-15T19:46:18.977Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-15T19:46:18.977Z] [2021-07-15T19:46:18.977Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-07-15T19:46:19.407Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-15T19:46:19.407Z] alpine: Pulling from edgex-lftools-log-publisher [2021-07-15T19:46:19.407Z] 5843afab3874: Pulling fs layer [2021-07-15T19:46:19.407Z] 2dfaacf7024e: Pulling fs layer [2021-07-15T19:46:19.407Z] 2dbba127c6aa: Pulling fs layer [2021-07-15T19:46:19.407Z] 1a467efa2204: Pulling fs layer [2021-07-15T19:46:19.407Z] 865369a531d5: Pulling fs layer [2021-07-15T19:46:19.407Z] 2dc3bafdbf1c: Pulling fs layer [2021-07-15T19:46:19.407Z] 9ac237eaa80d: Pulling fs layer [2021-07-15T19:46:19.407Z] 6bcad4ecc5c2: Pulling fs layer [2021-07-15T19:46:19.407Z] 7074353bde3e: Pulling fs layer [2021-07-15T19:46:19.407Z] 865369a531d5: Waiting [2021-07-15T19:46:19.407Z] 2dc3bafdbf1c: Waiting [2021-07-15T19:46:19.407Z] 9ac237eaa80d: Waiting [2021-07-15T19:46:19.407Z] 6bcad4ecc5c2: Waiting [2021-07-15T19:46:19.407Z] 7074353bde3e: Waiting [2021-07-15T19:46:19.407Z] 1a467efa2204: Waiting [2021-07-15T19:46:19.407Z] 2dfaacf7024e: Verifying Checksum [2021-07-15T19:46:19.407Z] 2dfaacf7024e: Download complete [2021-07-15T19:46:19.674Z] 1a467efa2204: Verifying Checksum [2021-07-15T19:46:19.674Z] 1a467efa2204: Download complete [2021-07-15T19:46:19.674Z] 5843afab3874: Verifying Checksum [2021-07-15T19:46:19.674Z] 5843afab3874: Download complete [2021-07-15T19:46:19.674Z] 865369a531d5: Verifying Checksum [2021-07-15T19:46:19.674Z] 865369a531d5: Download complete [2021-07-15T19:46:19.674Z] 9ac237eaa80d: Verifying Checksum [2021-07-15T19:46:19.674Z] 9ac237eaa80d: Download complete [2021-07-15T19:46:19.674Z] 6bcad4ecc5c2: Verifying Checksum [2021-07-15T19:46:19.674Z] 6bcad4ecc5c2: Download complete [2021-07-15T19:46:19.943Z] 5843afab3874: Pull complete [2021-07-15T19:46:19.943Z] 2dc3bafdbf1c: Verifying Checksum [2021-07-15T19:46:19.943Z] 2dc3bafdbf1c: Download complete [2021-07-15T19:46:20.211Z] 2dfaacf7024e: Pull complete [2021-07-15T19:46:20.479Z] 2dbba127c6aa: Verifying Checksum [2021-07-15T19:46:20.479Z] 2dbba127c6aa: Download complete [2021-07-15T19:46:21.069Z] 2dbba127c6aa: Pull complete [2021-07-15T19:46:21.069Z] 1a467efa2204: Pull complete [2021-07-15T19:46:21.336Z] 865369a531d5: Pull complete [2021-07-15T19:46:21.336Z] 2dc3bafdbf1c: Pull complete [2021-07-15T19:46:21.336Z] 9ac237eaa80d: Pull complete [2021-07-15T19:46:21.605Z] 6bcad4ecc5c2: Pull complete [2021-07-15T19:46:24.191Z] 7074353bde3e: Download complete [2021-07-15T19:46:28.482Z] 7074353bde3e: Pull complete [2021-07-15T19:46:28.482Z] Digest: sha256:2a5174b1bc71a2b706ed38de5c718fca755e8a1691f7904ed9ba2ee036070238 [2021-07-15T19:46:28.482Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-15T19:46:28.482Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-07-15T19:46:28.813Z] prd-centos7-docker-4c-2g-2949 does not seem to be running inside a container [2021-07-15T19:46:28.880Z] $ 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-924/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-924 -v /w/workspace/ndry_app-functions-sdk-go_PR-924:/w/workspace/ndry_app-functions-sdk-go_PR-924:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-924@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-924@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-07-15T19:46:30.901Z] $ docker top 792c5a8b70d645c51cfe31eb6c8577b8692d1d8be03b8d34ecb3eaf782de8ef1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-15T19:46:31.368Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-15T19:46:31.719Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-07-15T19:46:32.065Z] + ls /var/log/sa-host [2021-07-15T19:46:32.065Z] + sadf -c /var/log/sa-host/sa05 [2021-07-15T19:46:32.065Z] file_magic: OK [2021-07-15T19:46:32.065Z] HZ: Using current value: 100 [2021-07-15T19:46:32.065Z] file_header: OK [2021-07-15T19:46:32.065Z] 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-15T19:46:32.065Z] Statistics: [2021-07-15T19:46:32.065Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-15T19:46:32.065Z] File successfully converted to sysstat format version 12.5.4 [2021-07-15T19:46:32.082Z] + sadf -c /var/log/sa-host/sa15 [2021-07-15T19:46:32.082Z] file_magic: OK [2021-07-15T19:46:32.082Z] HZ: Using current value: 100 [2021-07-15T19:46:32.082Z] file_header: OK [2021-07-15T19:46:32.082Z] 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-15T19:46:32.082Z] Statistics: [2021-07-15T19:46:32.083Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-15T19:46:32.083Z] File successfully converted to sysstat format version 12.5.4 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-15T19:46:32.816Z] provisioning config files... [2021-07-15T19:46:32.840Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-924@tmp/config7210076865552538347tmp [Pipeline] { [Pipeline] echo [2021-07-15T19:46:32.936Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-15T19:46:33.300Z] ---> create-netrc.sh [Pipeline] } [2021-07-15T19:46:33.326Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-15T19:46:33.818Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-15T19:46:33.856Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-15T19:46:34.217Z] ---> sudo-logs.sh [2021-07-15T19:46:34.217Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-07-15T19:46:34.307Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-15T19:46:34.681Z] ---> job-cost.sh [2021-07-15T19:46:34.681Z] lf-activate-venv: SKIPPING [2021-07-15T19:46:34.681Z] DEBUG: total: 0.18000000715255737 [2021-07-15T19:46:34.681Z] INFO: Retrieving Stack Cost... [2021-07-15T19:46:35.641Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-15T19:46:35.908Z] INFO: Archiving Costs [Pipeline] echo [2021-07-15T19:46:35.949Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-15T19:46:36.317Z] ---> logs-deploy.sh [2021-07-15T19:46:36.317Z] lf-activate-venv: SKIPPING [2021-07-15T19:46:36.317Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-924/1 [2021-07-15T19:46:36.317Z] INFO: archiving workspace using pattern(s): [2021-07-15T19:46:36.909Z] Archives upload complete. [2021-07-15T19:46:37.179Z] INFO: archiving logs to Nexus