Pull request #925 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 4d169d2de8f9d0fb838b77df330eabbc72317b43+76558247ef558a621c6cde6dc216633300cc3d0c (1536640a47d9673d8eba1ec1ab072ec5547fec6c) 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-ssh8928459988051257940.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-ssh7707531095548688509.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-925/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-925/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2907024702753611269.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-925/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6092057588089638854.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-ssh4701188471812441964.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-925/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-925/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh35811847486210297.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-2963 in /w/workspace/ndry_app-functions-sdk-go_PR-925 [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-925 # 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-925@tmp/jenkins-gitclient-ssh498645287996887318.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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-925@tmp/jenkins-gitclient-ssh1378184597900071993.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/925/head:refs/remotes/origin/PR-925 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 76558247ef558a621c6cde6dc216633300cc3d0c into PR head commit 4d169d2de8f9d0fb838b77df330eabbc72317b43 Merge succeeded, producing 4d169d2de8f9d0fb838b77df330eabbc72317b43 Checking out Revision 4d169d2de8f9d0fb838b77df330eabbc72317b43 (PR-925) > git config core.sparsecheckout # timeout=10 > git checkout -f 4d169d2de8f9d0fb838b77df330eabbc72317b43 # 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-925@tmp/jenkins-gitclient-ssh7082747462415194634.key > git merge 76558247ef558a621c6cde6dc216633300cc3d0c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4d169d2de8f9d0fb838b77df330eabbc72317b43 # timeout=10 Commit message: "fix: Create Event copy with all required fields" 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-15T20:59:10.898Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-15T20:59:11.107Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-15T20:59:11.237Z] ========================================================= [2021-07-15T20:59:11.237Z] EdgeX Global Pipelines Version Info [2021-07-15T20:59:11.237Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-15T20:59:12.556Z] ------------------- [2021-07-15T20:59:12.556Z] stable info: [2021-07-15T20:59:12.556Z] ------------------- [2021-07-15T20:59:12.556Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-15T20:59:12.556Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-15T20:59:12.556Z] Message: update stable to v1.0.196 [2021-07-15T20:59:13.156Z] ------------------- [2021-07-15T20:59:13.156Z] experimental info: [2021-07-15T20:59:13.156Z] ------------------- [2021-07-15T20:59:13.156Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-15T20:59:13.156Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-15T20:59:13.156Z] Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-15T20:59:13.443Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-07-15T20:59:13.505Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-07-15T20:59:13.563Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-15T20:59:13.619Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-15T20:59:13.676Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-15T20:59:13.732Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-15T20:59:13.812Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-15T20:59:13.868Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-15T20:59:13.925Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-07-15T20:59:13.981Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-15T20:59:14.040Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-15T20:59:14.091Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-07-15T20:59:14.163Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-15T20:59:14.277Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-15T20:59:14.335Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-07-15T20:59:14.391Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-07-15T20:59:14.450Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-07-15T20:59:14.509Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-07-15T20:59:14.572Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-15T20:59:14.644Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-15T20:59:14.716Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-07-15T20:59:14.785Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-07-15T20:59:14.853Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-07-15T20:59:14.917Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-07-15T20:59:14.975Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-07-15T20:59:15.037Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-15T20:59:15.096Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-925 [Pipeline] echo [2021-07-15T20:59:15.154Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-925 [Pipeline] echo [2021-07-15T20:59:15.214Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-925 [Pipeline] echo [2021-07-15T20:59:15.313Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4d169d2de8f9d0fb838b77df330eabbc72317b43 [Pipeline] echo [2021-07-15T20:59:15.376Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4d169d2 [Pipeline] echo [2021-07-15T20:59:15.450Z] [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-15T20:59:16.169Z] + git log --format=format:%s -1 4d169d2de8f9d0fb838b77df330eabbc72317b43 [Pipeline] echo [2021-07-15T20:59:16.258Z] GIT_COMMIT: 4d169d2de8f9d0fb838b77df330eabbc72317b43, Commit Message: fix: Create Event copy with all required fields [Pipeline] echo [2021-07-15T20:59:16.306Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-07-15T20:59:17.257Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-15T20:59:17.257Z] [2021-07-15T20:59:17.257Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-15T20:59:17.653Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-15T20:59:17.653Z] latest: Pulling from edgex-devops/git-semver [2021-07-15T20:59:17.653Z] 31603596830f: Pulling fs layer [2021-07-15T20:59:17.653Z] b6dc333f4379: Pulling fs layer [2021-07-15T20:59:17.653Z] 3d9ef1400e77: Pulling fs layer [2021-07-15T20:59:17.653Z] fd332fbdc1db: Pulling fs layer [2021-07-15T20:59:17.653Z] fd332fbdc1db: Waiting [2021-07-15T20:59:17.921Z] b6dc333f4379: Verifying Checksum [2021-07-15T20:59:17.921Z] b6dc333f4379: Download complete [2021-07-15T20:59:17.921Z] 31603596830f: Verifying Checksum [2021-07-15T20:59:17.921Z] 31603596830f: Download complete [2021-07-15T20:59:18.213Z] 31603596830f: Pull complete [2021-07-15T20:59:18.213Z] fd332fbdc1db: Verifying Checksum [2021-07-15T20:59:18.213Z] fd332fbdc1db: Download complete [2021-07-15T20:59:18.213Z] b6dc333f4379: Pull complete [2021-07-15T20:59:18.540Z] 3d9ef1400e77: Download complete [2021-07-15T20:59:19.141Z] 3d9ef1400e77: Pull complete [2021-07-15T20:59:19.141Z] fd332fbdc1db: Pull complete [2021-07-15T20:59:19.141Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-15T20:59:19.141Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-15T20:59:19.141Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-15T20:59:19.480Z] prd-centos7-docker-4c-2g-2963 does not seem to be running inside a container [2021-07-15T20:59:19.559Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-925 -v /w/workspace/ndry_app-functions-sdk-go_PR-925:/w/workspace/ndry_app-functions-sdk-go_PR-925:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-925@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-925@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-15T20:59:20.417Z] $ docker top 8b22925feb63bb3c33f19bc82eab295001494579fcccfa5ac3f0fddf8eb75463 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-15T20:59:20.656Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-15T20:59:20.656Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-15T20:59:20.783Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-15T20:59:20.788Z] $ docker exec 8b22925feb63bb3c33f19bc82eab295001494579fcccfa5ac3f0fddf8eb75463 ssh-agent [2021-07-15T20:59:20.911Z] SSH_AUTH_SOCK=/tmp/ssh-dXLsnbCnZlsc/agent.13 [2021-07-15T20:59:20.911Z] SSH_AGENT_PID=20 [2021-07-15T20:59:20.928Z] Running ssh-add (command line suppressed) [2021-07-15T20:59:21.039Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-925@tmp/private_key_7838603797242257337.key (/w/workspace/ndry_app-functions-sdk-go_PR-925@tmp/private_key_7838603797242257337.key) [2021-07-15T20:59:21.071Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-15T20:59:21.456Z] + git tag --points-at HEAD [Pipeline] } [2021-07-15T20:59:21.485Z] $ docker exec --env ******** --env ******** 8b22925feb63bb3c33f19bc82eab295001494579fcccfa5ac3f0fddf8eb75463 ssh-agent -k [2021-07-15T20:59:21.594Z] unset SSH_AUTH_SOCK; [2021-07-15T20:59:21.594Z] unset SSH_AGENT_PID; [2021-07-15T20:59:21.594Z] echo Agent pid 20 killed; [2021-07-15T20:59:21.616Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-15T20:59:21.720Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-15T20:59:21.720Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-15T20:59:21.851Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-15T20:59:21.854Z] $ docker exec 8b22925feb63bb3c33f19bc82eab295001494579fcccfa5ac3f0fddf8eb75463 ssh-agent [2021-07-15T20:59:21.985Z] SSH_AUTH_SOCK=/tmp/ssh-OsSqONN6EeLk/agent.54 [2021-07-15T20:59:21.985Z] SSH_AGENT_PID=61 [2021-07-15T20:59:21.999Z] Running ssh-add (command line suppressed) [2021-07-15T20:59:22.105Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-925@tmp/private_key_1581892739246765147.key (/w/workspace/ndry_app-functions-sdk-go_PR-925@tmp/private_key_1581892739246765147.key) [2021-07-15T20:59:22.132Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-15T20:59:22.584Z] + git semver init [2021-07-15T20:59:22.584Z] # -> Open(): unable to determine branch for HEAD [2021-07-15T20:59:22.584Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-925/.git [2021-07-15T20:59:22.584Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-925 [2021-07-15T20:59:22.584Z] # $SEMVER_REMOTE_NAME = origin [2021-07-15T20:59:22.584Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-15T20:59:22.584Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-15T20:59:22.584Z] # $SEMVER_BRANCH = PR-925 [2021-07-15T20:59:22.584Z] # $SEMVER_TEMP = /tmp/semver-974418596 [2021-07-15T20:59:22.584Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-07-15T20:59:25.213Z] # '/tmp/semver-974418596' -> '/w/workspace/ndry_app-functions-sdk-go_PR-925/.semver' [2021-07-15T20:59:25.213Z] # -> Force: false [2021-07-15T20:59:25.213Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-925/.semver [Pipeline] } [2021-07-15T20:59:25.241Z] $ docker exec --env ******** --env ******** 8b22925feb63bb3c33f19bc82eab295001494579fcccfa5ac3f0fddf8eb75463 ssh-agent -k [2021-07-15T20:59:25.346Z] unset SSH_AUTH_SOCK; [2021-07-15T20:59:25.347Z] unset SSH_AGENT_PID; [2021-07-15T20:59:25.347Z] echo Agent pid 61 killed; [2021-07-15T20:59:25.371Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-15T20:59:25.861Z] + git semver [Pipeline] } [2021-07-15T20:59:25.906Z] $ docker stop --time=1 8b22925feb63bb3c33f19bc82eab295001494579fcccfa5ac3f0fddf8eb75463 [2021-07-15T20:59:27.285Z] $ docker rm -f 8b22925feb63bb3c33f19bc82eab295001494579fcccfa5ac3f0fddf8eb75463 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-15T20:59:27.754Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-15T20:59:28.270Z] Stashed 1 file(s) [Pipeline] echo [2021-07-15T20:59:28.296Z] [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-15T20:59:43.899Z] Still waiting to schedule task [2021-07-15T20:59:43.899Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-07-15T20:59:43.931Z] Still waiting to schedule task [2021-07-15T20:59:43.932Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-07-15T21:01:45.453Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2964 in /w/workspace/ndry_app-functions-sdk-go_PR-925 [Pipeline] { [Pipeline] ws [2021-07-15T21:01:45.529Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-07-15T21:01:45.870Z] The recommended git tool is: git [2021-07-15T21:01:51.798Z] using credential edgex-jenkins-ssh [2021-07-15T21:01:51.823Z] Cloning the remote Git repository [2021-07-15T21:01:51.905Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-15T21:01:52.044Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-07-15T21:01:52.147Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-15T21:01:52.147Z] > git --version # timeout=10 [2021-07-15T21:01:52.163Z] > git --version # 'git version 2.17.1' [2021-07-15T21:01:52.165Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-15T21:01:52.252Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-15T21:01:55.855Z] Merging remotes/origin/main commit 76558247ef558a621c6cde6dc216633300cc3d0c into PR head commit 4d169d2de8f9d0fb838b77df330eabbc72317b43 [2021-07-15T21:01:56.098Z] Merge succeeded, producing 4d169d2de8f9d0fb838b77df330eabbc72317b43 [2021-07-15T21:01:56.098Z] Checking out Revision 4d169d2de8f9d0fb838b77df330eabbc72317b43 (PR-925) [2021-07-15T21:01:55.185Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-07-15T21:01:55.202Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-15T21:01:55.225Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-07-15T21:01:55.264Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-15T21:01:55.265Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-15T21:01:55.281Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/925/head:refs/remotes/origin/PR-925 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-15T21:01:55.875Z] > git config core.sparsecheckout # timeout=10 [2021-07-15T21:01:55.893Z] > git checkout -f 4d169d2de8f9d0fb838b77df330eabbc72317b43 # timeout=10 [2021-07-15T21:01:56.002Z] > git remote # timeout=10 [2021-07-15T21:01:56.022Z] > git config --get remote.origin.url # timeout=10 [2021-07-15T21:01:56.041Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-15T21:01:56.052Z] > git merge 76558247ef558a621c6cde6dc216633300cc3d0c # timeout=10 [2021-07-15T21:01:56.082Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-15T21:01:56.106Z] > git config core.sparsecheckout # timeout=10 [2021-07-15T21:01:56.118Z] > git checkout -f 4d169d2de8f9d0fb838b77df330eabbc72317b43 # timeout=10 [2021-07-15T21:02:00.578Z] Commit message: "fix: Create Event copy with all required fields" [2021-07-15T21:02:00.637Z] > git --version # timeout=10 [2021-07-15T21:02:00.658Z] > git --version # 'git version 2.17.1' [2021-07-15T21:02:00.675Z] fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-15T21:02:02.077Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-07-15T21:02:02.510Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-15T21:02:02.954Z] + sudo service docker restart [2021-07-15T21:02:02.954Z] + true [2021-07-15T21:02:13.446Z] Running on prd-centos7-docker-4c-2g-2965 in /w/workspace/ndry_app-functions-sdk-go_PR-925 [Pipeline] { [Pipeline] ws [2021-07-15T21:02:13.531Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-07-15T21:02:13.724Z] The recommended git tool is: git [2021-07-15T21:02:16.976Z] using credential edgex-jenkins-ssh [2021-07-15T21:02:17.013Z] Cloning the remote Git repository [2021-07-15T21:02:16.993Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-15T21:02:17.078Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-07-15T21:02:17.120Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-15T21:02:17.120Z] > git --version # timeout=10 [2021-07-15T21:02:17.129Z] > git --version # 'git version 2.24.4' [2021-07-15T21:02:17.129Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-15T21:02:17.271Z] [INFO] Currently running in a labeled security context [2021-07-15T21:02:17.271Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-15T21:02:17.271Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh3529127703792683152.key [2021-07-15T21:02:17.309Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-15T21:02:19.095Z] Merging remotes/origin/main commit 76558247ef558a621c6cde6dc216633300cc3d0c into PR head commit 4d169d2de8f9d0fb838b77df330eabbc72317b43 [2021-07-15T21:02:19.216Z] Merge succeeded, producing 4d169d2de8f9d0fb838b77df330eabbc72317b43 [2021-07-15T21:02:19.217Z] Checking out Revision 4d169d2de8f9d0fb838b77df330eabbc72317b43 (PR-925) [2021-07-15T21:02:18.525Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-07-15T21:02:18.540Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-15T21:02:18.556Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-07-15T21:02:18.572Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-15T21:02:18.572Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-15T21:02:18.573Z] [INFO] Currently running in a labeled security context [2021-07-15T21:02:18.573Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-15T21:02:18.573Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh9161577617790743996.key [2021-07-15T21:02:18.583Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/925/head:refs/remotes/origin/PR-925 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-15T21:02:19.111Z] > git config core.sparsecheckout # timeout=10 [2021-07-15T21:02:19.120Z] > git checkout -f 4d169d2de8f9d0fb838b77df330eabbc72317b43 # timeout=10 [2021-07-15T21:02:19.171Z] > git remote # timeout=10 [2021-07-15T21:02:19.176Z] > git config --get remote.origin.url # timeout=10 [2021-07-15T21:02:19.183Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-15T21:02:19.184Z] [INFO] Currently running in a labeled security context [2021-07-15T21:02:19.184Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-15T21:02:19.184Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh1009214653809397372.key [2021-07-15T21:02:19.191Z] > git merge 76558247ef558a621c6cde6dc216633300cc3d0c # timeout=10 [2021-07-15T21:02:19.204Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-15T21:02:19.216Z] > git config core.sparsecheckout # timeout=10 [2021-07-15T21:02:19.225Z] > git checkout -f 4d169d2de8f9d0fb838b77df330eabbc72317b43 # timeout=10 [Pipeline] unstash [Pipeline] echo [2021-07-15T21:02:21.873Z] ========================================================= [2021-07-15T21:02:21.873Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-15T21:02:21.873Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-15T21:02:22.274Z] + 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-15T21:02:23.087Z] Commit message: "fix: Create Event copy with all required fields" [2021-07-15T21:02:23.118Z] > git --version # timeout=10 [2021-07-15T21:02:23.131Z] > git --version # 'git version 2.24.4' [2021-07-15T21:02:23.135Z] fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-15T21:02:23.261Z] Sending build context to Docker daemon 19.74MB [2021-07-15T21:02:23.261Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-15T21:02:23.261Z] Step 2/8 : FROM ${BASE} [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-15T21:02:24.246Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-15T21:02:24.246Z] 595b0fe564bb: Pulling fs layer [2021-07-15T21:02:24.246Z] 24495759ef45: Pulling fs layer [2021-07-15T21:02:24.246Z] d148012ef14d: Pulling fs layer [2021-07-15T21:02:24.246Z] cb65c68fc2e2: Pulling fs layer [2021-07-15T21:02:24.246Z] 093eec477d81: Pulling fs layer [2021-07-15T21:02:24.246Z] a6d5b2bbb924: Pulling fs layer [2021-07-15T21:02:24.246Z] 2446dc1eb7d3: Pulling fs layer [2021-07-15T21:02:24.246Z] 596795e73e0f: Pulling fs layer [2021-07-15T21:02:24.246Z] 093eec477d81: Waiting [2021-07-15T21:02:24.246Z] a6d5b2bbb924: Waiting [2021-07-15T21:02:24.246Z] 2446dc1eb7d3: Waiting [2021-07-15T21:02:24.246Z] 596795e73e0f: Waiting [2021-07-15T21:02:24.246Z] cb65c68fc2e2: Waiting [2021-07-15T21:02:24.246Z] d148012ef14d: Verifying Checksum [2021-07-15T21:02:24.246Z] d148012ef14d: Download complete [2021-07-15T21:02:24.246Z] 24495759ef45: Download complete [2021-07-15T21:02:24.246Z] 093eec477d81: Verifying Checksum [2021-07-15T21:02:24.246Z] 093eec477d81: Download complete [2021-07-15T21:02:24.246Z] a6d5b2bbb924: Verifying Checksum [2021-07-15T21:02:24.246Z] a6d5b2bbb924: Download complete [2021-07-15T21:02:24.246Z] 2446dc1eb7d3: Download complete [2021-07-15T21:02:24.246Z] 595b0fe564bb: Verifying Checksum [2021-07-15T21:02:24.246Z] 595b0fe564bb: Download complete [2021-07-15T21:02:24.391Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-07-15T21:02:24.768Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-15T21:02:25.120Z] + sudo service docker restart [2021-07-15T21:02:25.120Z] + true [2021-07-15T21:02:25.120Z] Redirecting to /bin/systemctl restart docker.service [2021-07-15T21:02:25.242Z] 595b0fe564bb: Pull complete [2021-07-15T21:02:25.848Z] 24495759ef45: Pull complete [2021-07-15T21:02:26.129Z] d148012ef14d: Pull complete [2021-07-15T21:02:26.408Z] 596795e73e0f: Verifying Checksum [2021-07-15T21:02:26.408Z] 596795e73e0f: Download complete [2021-07-15T21:02:27.875Z] cb65c68fc2e2: Verifying Checksum [2021-07-15T21:02:27.875Z] cb65c68fc2e2: Download complete [2021-07-15T21:02:38.097Z] cb65c68fc2e2: Pull complete [2021-07-15T21:02:38.374Z] 093eec477d81: Pull complete [2021-07-15T21:02:38.975Z] a6d5b2bbb924: Pull complete [2021-07-15T21:02:39.249Z] 2446dc1eb7d3: Pull complete [Pipeline] unstash [2021-07-15T21:02:43.574Z] 596795e73e0f: Pull complete [2021-07-15T21:02:43.574Z] Digest: sha256:8fdc37217a1dd7593ea05f088b02ef5bfb3cd8d6ab6705c4f2c080891875b7a0 [2021-07-15T21:02:43.574Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-15T21:02:43.574Z] ---> d9e956139c92 [2021-07-15T21:02:43.574Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-07-15T21:02:43.574Z] 20.10.0: Pulling from library/docker [2021-07-15T21:02:43.574Z] a3cc7d3b244e: Pulling fs layer [2021-07-15T21:02:43.574Z] 02a3295e0d61: Pulling fs layer [2021-07-15T21:02:43.574Z] 0f4f2e6d8100: Pulling fs layer [2021-07-15T21:02:43.574Z] 330b718f631f: Pulling fs layer [2021-07-15T21:02:43.574Z] a93816041522: Pulling fs layer [2021-07-15T21:02:43.574Z] bdb6da89ff94: Pulling fs layer [2021-07-15T21:02:43.574Z] 2a70c0c122f4: Pulling fs layer [2021-07-15T21:02:43.574Z] bdb6da89ff94: Waiting [2021-07-15T21:02:43.574Z] 330b718f631f: Waiting [2021-07-15T21:02:43.574Z] a93816041522: Waiting [2021-07-15T21:02:43.574Z] 2a70c0c122f4: Waiting [2021-07-15T21:02:43.574Z] 0f4f2e6d8100: Download complete [Pipeline] echo [2021-07-15T21:02:43.730Z] ========================================================= [2021-07-15T21:02:43.730Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-15T21:02:43.730Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-15T21:02:43.851Z] a3cc7d3b244e: Verifying Checksum [2021-07-15T21:02:43.851Z] a3cc7d3b244e: Download complete [2021-07-15T21:02:43.851Z] 02a3295e0d61: Verifying Checksum [2021-07-15T21:02:43.851Z] 02a3295e0d61: Download complete [2021-07-15T21:02:43.851Z] a93816041522: Verifying Checksum [2021-07-15T21:02:43.851Z] a93816041522: Download complete [2021-07-15T21:02:43.851Z] bdb6da89ff94: Verifying Checksum [2021-07-15T21:02:43.851Z] bdb6da89ff94: Download complete [2021-07-15T21:02:43.851Z] 2a70c0c122f4: Verifying Checksum [2021-07-15T21:02:43.851Z] 2a70c0c122f4: Download complete [2021-07-15T21:02:44.205Z] + 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-15T21:02:44.205Z] Sending build context to Docker daemon 19.75MB [2021-07-15T21:02:44.205Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-15T21:02:44.205Z] Step 2/8 : FROM ${BASE} [2021-07-15T21:02:44.475Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-15T21:02:44.475Z] 540db60ca938: Pulling fs layer [2021-07-15T21:02:44.475Z] adcc1eea9eea: Pulling fs layer [2021-07-15T21:02:44.475Z] 4c4ab2625f07: Pulling fs layer [2021-07-15T21:02:44.475Z] 0773c198feca: Pulling fs layer [2021-07-15T21:02:44.475Z] 345f892a5656: Pulling fs layer [2021-07-15T21:02:44.475Z] 4796506630df: Pulling fs layer [2021-07-15T21:02:44.475Z] cc55df3e53f1: Pulling fs layer [2021-07-15T21:02:44.475Z] 4d027b6c602c: Pulling fs layer [2021-07-15T21:02:44.475Z] 449e75d2c14e: Pulling fs layer [2021-07-15T21:02:44.475Z] 0773c198feca: Waiting [2021-07-15T21:02:44.475Z] 345f892a5656: Waiting [2021-07-15T21:02:44.475Z] 4796506630df: Waiting [2021-07-15T21:02:44.475Z] cc55df3e53f1: Waiting [2021-07-15T21:02:44.475Z] 4d027b6c602c: Waiting [2021-07-15T21:02:44.475Z] 449e75d2c14e: Waiting [2021-07-15T21:02:44.475Z] 4c4ab2625f07: Verifying Checksum [2021-07-15T21:02:44.475Z] 4c4ab2625f07: Download complete [2021-07-15T21:02:44.475Z] adcc1eea9eea: Verifying Checksum [2021-07-15T21:02:44.475Z] adcc1eea9eea: Download complete [2021-07-15T21:02:44.475Z] 345f892a5656: Verifying Checksum [2021-07-15T21:02:44.475Z] 345f892a5656: Download complete [2021-07-15T21:02:44.475Z] 4796506630df: Verifying Checksum [2021-07-15T21:02:44.475Z] 4796506630df: Download complete [2021-07-15T21:02:44.475Z] cc55df3e53f1: Verifying Checksum [2021-07-15T21:02:44.475Z] cc55df3e53f1: Download complete [2021-07-15T21:02:44.538Z] a3cc7d3b244e: Pull complete [2021-07-15T21:02:45.066Z] 540db60ca938: Verifying Checksum [2021-07-15T21:02:45.066Z] 4d027b6c602c: Verifying Checksum [2021-07-15T21:02:45.066Z] 4d027b6c602c: Download complete [2021-07-15T21:02:45.066Z] 540db60ca938: Pull complete [2021-07-15T21:02:45.146Z] 02a3295e0d61: Pull complete [2021-07-15T21:02:45.338Z] adcc1eea9eea: Pull complete [2021-07-15T21:02:45.339Z] 4c4ab2625f07: Pull complete [2021-07-15T21:02:45.745Z] 0f4f2e6d8100: Pull complete [2021-07-15T21:02:46.352Z] 330b718f631f: Verifying Checksum [2021-07-15T21:02:46.352Z] 330b718f631f: Download complete [2021-07-15T21:02:48.887Z] 449e75d2c14e: Download complete [2021-07-15T21:02:49.605Z] 0773c198feca: Verifying Checksum [2021-07-15T21:02:49.605Z] 0773c198feca: Download complete [2021-07-15T21:02:50.677Z] 330b718f631f: Pull complete [2021-07-15T21:02:50.677Z] a93816041522: Pull complete [2021-07-15T21:02:50.952Z] bdb6da89ff94: Pull complete [2021-07-15T21:02:51.227Z] 2a70c0c122f4: Pull complete [2021-07-15T21:02:51.501Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-07-15T21:02:51.501Z] Status: Downloaded newer image for docker:20.10.0 [2021-07-15T21:02:52.958Z] 0773c198feca: Pull complete [2021-07-15T21:02:52.958Z] 345f892a5656: Pull complete [2021-07-15T21:02:52.958Z] 4796506630df: Pull complete [2021-07-15T21:02:52.958Z] cc55df3e53f1: Pull complete [2021-07-15T21:02:53.223Z] 4d027b6c602c: Pull complete [2021-07-15T21:02:54.647Z] 449e75d2c14e: Pull complete [2021-07-15T21:02:54.647Z] Digest: sha256:a2fa0993ec4462abfc92311096d2e43e803cda49eb027de246ea451416b7a8a8 [2021-07-15T21:02:54.648Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-15T21:02:54.648Z] ---> 0d28375d9b5b [2021-07-15T21:02:54.648Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-07-15T21:02:54.914Z] 20.10.0: Pulling from library/docker [2021-07-15T21:02:54.914Z] 05e7bc50f07f: Pulling fs layer [2021-07-15T21:02:54.914Z] 6db28d0fdbf6: Pulling fs layer [2021-07-15T21:02:54.914Z] 292df0bc6bf3: Pulling fs layer [2021-07-15T21:02:54.914Z] 2e060f4bd70b: Pulling fs layer [2021-07-15T21:02:54.914Z] 80e8d568a223: Pulling fs layer [2021-07-15T21:02:54.914Z] 8dc6ef1a942a: Pulling fs layer [2021-07-15T21:02:54.914Z] 2312dd95470a: Pulling fs layer [2021-07-15T21:02:54.914Z] 2e060f4bd70b: Waiting [2021-07-15T21:02:54.914Z] 80e8d568a223: Waiting [2021-07-15T21:02:54.914Z] 8dc6ef1a942a: Waiting [2021-07-15T21:02:54.914Z] 2312dd95470a: Waiting [2021-07-15T21:02:54.914Z] 292df0bc6bf3: Verifying Checksum [2021-07-15T21:02:54.914Z] 292df0bc6bf3: Download complete [2021-07-15T21:02:55.184Z] 05e7bc50f07f: Verifying Checksum [2021-07-15T21:02:55.184Z] 05e7bc50f07f: Download complete [2021-07-15T21:02:55.184Z] 6db28d0fdbf6: Verifying Checksum [2021-07-15T21:02:55.184Z] 6db28d0fdbf6: Download complete [2021-07-15T21:02:55.184Z] 80e8d568a223: Verifying Checksum [2021-07-15T21:02:55.184Z] 80e8d568a223: Download complete [2021-07-15T21:02:55.184Z] 8dc6ef1a942a: Verifying Checksum [2021-07-15T21:02:55.184Z] 8dc6ef1a942a: Download complete [2021-07-15T21:02:55.184Z] 05e7bc50f07f: Pull complete [2021-07-15T21:02:55.184Z] 2312dd95470a: Verifying Checksum [2021-07-15T21:02:55.184Z] 2312dd95470a: Download complete [2021-07-15T21:02:55.450Z] 6db28d0fdbf6: Pull complete [2021-07-15T21:02:55.450Z] 292df0bc6bf3: Pull complete [2021-07-15T21:02:57.426Z] 2e060f4bd70b: Verifying Checksum [2021-07-15T21:02:57.426Z] 2e060f4bd70b: Download complete [2021-07-15T21:02:58.244Z] ---> cad1eea72dd9 [2021-07-15T21:02:58.244Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-07-15T21:02:58.244Z] ---> Running in 9100d1537a0e [2021-07-15T21:02:58.244Z] Removing intermediate container 9100d1537a0e [2021-07-15T21:02:58.244Z] ---> cdcb3c4746e5 [2021-07-15T21:02:58.244Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-07-15T21:02:58.244Z] ---> Running in 83f116043ea9 [2021-07-15T21:02:58.865Z] 2e060f4bd70b: Pull complete [2021-07-15T21:02:58.865Z] 80e8d568a223: Pull complete [2021-07-15T21:02:59.137Z] 8dc6ef1a942a: Pull complete [2021-07-15T21:02:59.137Z] 2312dd95470a: Pull complete [2021-07-15T21:02:59.137Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-07-15T21:02:59.137Z] Status: Downloaded newer image for docker:20.10.0 [2021-07-15T21:02:59.682Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-15T21:03:00.666Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-15T21:03:01.269Z] (1/5) Installing libsodium (1.0.18-r0) [2021-07-15T21:03:01.543Z] (2/5) Installing libzmq (4.3.3-r1) [2021-07-15T21:03:01.543Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-07-15T21:03:01.543Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-07-15T21:03:01.737Z] ---> 8f20086df1b3 [2021-07-15T21:03:01.737Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-07-15T21:03:01.737Z] ---> Running in eab40ff7064c [2021-07-15T21:03:01.737Z] Removing intermediate container eab40ff7064c [2021-07-15T21:03:01.737Z] ---> 67b6c0fb2006 [2021-07-15T21:03:01.737Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-07-15T21:03:01.737Z] ---> Running in 2e7a67969724 [2021-07-15T21:03:01.737Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-15T21:03:01.822Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-07-15T21:03:01.822Z] Executing busybox-1.32.1-r6.trigger [2021-07-15T21:03:01.822Z] OK: 139 MiB in 45 packages [2021-07-15T21:03:02.373Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-15T21:03:02.985Z] (1/5) Installing libsodium (1.0.18-r0) [2021-07-15T21:03:02.985Z] (2/5) Installing libzmq (4.3.3-r1) [2021-07-15T21:03:03.254Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-07-15T21:03:03.254Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-07-15T21:03:03.254Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-07-15T21:03:03.295Z] Removing intermediate container 83f116043ea9 [2021-07-15T21:03:03.295Z] ---> bcc811cfa622 [2021-07-15T21:03:03.295Z] Step 6/8 : WORKDIR /build [2021-07-15T21:03:03.524Z] Executing busybox-1.32.1-r6.trigger [2021-07-15T21:03:03.524Z] OK: 150 MiB in 45 packages [2021-07-15T21:03:03.569Z] ---> Running in 04bf90884271 [2021-07-15T21:03:03.796Z] Removing intermediate container 2e7a67969724 [2021-07-15T21:03:03.796Z] ---> 5cf8e69b9d95 [2021-07-15T21:03:03.796Z] Step 6/8 : WORKDIR /build [2021-07-15T21:03:03.796Z] ---> Running in 66a7163cd38a [2021-07-15T21:03:03.796Z] Removing intermediate container 66a7163cd38a [2021-07-15T21:03:03.796Z] ---> 5b2274f6cb12 [2021-07-15T21:03:03.796Z] Step 7/8 : COPY go.mod . [2021-07-15T21:03:04.066Z] ---> 8a65746f2c12 [2021-07-15T21:03:04.066Z] Step 8/8 : RUN go mod download [2021-07-15T21:03:04.066Z] ---> Running in 136e7e943020 [2021-07-15T21:03:04.167Z] Removing intermediate container 04bf90884271 [2021-07-15T21:03:04.167Z] ---> bc4d735380d5 [2021-07-15T21:03:04.167Z] Step 7/8 : COPY go.mod . [2021-07-15T21:03:04.778Z] ---> 16f936bed6a3 [2021-07-15T21:03:04.778Z] Step 8/8 : RUN go mod download [2021-07-15T21:03:05.051Z] ---> Running in a314bd1bb406 [2021-07-15T21:03:16.415Z] Removing intermediate container 136e7e943020 [2021-07-15T21:03:16.415Z] ---> b71ddb2f59c2 [2021-07-15T21:03:16.415Z] Successfully built b71ddb2f59c2 [2021-07-15T21:03:16.415Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-15T21:03:16.810Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-15T21:03:16.810Z] . [Pipeline] withDockerContainer [2021-07-15T21:03:16.955Z] prd-centos7-docker-4c-2g-2965 does not seem to be running inside a container [2021-07-15T21:03:17.025Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-15T21:03:17.510Z] $ docker top 01b4bb430122d07b98b99417a2cbf6cae15a432a435607774201fa381d138b9d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-15T21:03:18.097Z] + go version [2021-07-15T21:03:18.097Z] go version go1.16.5 linux/amd64 [Pipeline] } [2021-07-15T21:03:18.135Z] $ docker stop --time=1 01b4bb430122d07b98b99417a2cbf6cae15a432a435607774201fa381d138b9d [2021-07-15T21:03:19.352Z] $ docker rm -f 01b4bb430122d07b98b99417a2cbf6cae15a432a435607774201fa381d138b9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-15T21:03:20.283Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-15T21:03:20.284Z] . [Pipeline] withDockerContainer [2021-07-15T21:03:20.427Z] prd-centos7-docker-4c-2g-2965 does not seem to be running inside a container [2021-07-15T21:03:20.504Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-15T21:03:20.952Z] $ docker top e7164895ae337012a756c47f51d0b277ac303501d6955ab109b3a86435fc6bd4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-15T21:03:21.527Z] + go mod tidy [Pipeline] sh [2021-07-15T21:03:22.158Z] + make test [2021-07-15T21:03:22.158Z] make -C ./app-service-template build [2021-07-15T21:03:22.158Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-07-15T21:03:22.158Z] go mod tidy [2021-07-15T21:03:22.435Z] 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-15T21:03:31.922Z] Removing intermediate container a314bd1bb406 [2021-07-15T21:03:31.923Z] ---> 6ffd2138986a [2021-07-15T21:03:31.923Z] Successfully built 6ffd2138986a [2021-07-15T21:03:31.923Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-15T21:03:32.400Z] + docker inspect -f . ci-base-image-arm64 [2021-07-15T21:03:32.401Z] . [Pipeline] withDockerContainer [2021-07-15T21:03:32.682Z] prd-ubuntu18.04-docker-arm64-4c-16g-2964 does not seem to be running inside a container [2021-07-15T21:03:32.771Z] $ 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-15T21:03:34.311Z] $ docker top b558234af08b3a68729ae62d016d8da9f52d4dc4f86b856f4b6362be75c79dd9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-15T21:03:34.860Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-07-15T21:03:34.860Z] make -C ./app-service-template test [2021-07-15T21:03:34.860Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-07-15T21:03:34.860Z] go mod tidy [2021-07-15T21:03:34.860Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-07-15T21:03:35.317Z] + go version [2021-07-15T21:03:35.317Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-15T21:03:35.353Z] $ docker stop --time=1 b558234af08b3a68729ae62d016d8da9f52d4dc4f86b856f4b6362be75c79dd9 [2021-07-15T21:03:37.144Z] $ docker rm -f b558234af08b3a68729ae62d016d8da9f52d4dc4f86b856f4b6362be75c79dd9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-15T21:03:38.282Z] + docker inspect -f . ci-base-image-arm64 [2021-07-15T21:03:38.282Z] . [Pipeline] withDockerContainer [2021-07-15T21:03:38.548Z] prd-ubuntu18.04-docker-arm64-4c-16g-2964 does not seem to be running inside a container [2021-07-15T21:03:38.721Z] $ 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-15T21:03:40.355Z] $ docker top 24402a55febde8c398e044cadf28e9e4a0b3075c02824f45a10538fcdd461aaf -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-15T21:03:41.407Z] + go mod tidy [Pipeline] sh [2021-07-15T21:03:42.726Z] + make test [2021-07-15T21:03:42.726Z] make -C ./app-service-template build [2021-07-15T21:03:42.726Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-07-15T21:03:42.726Z] go mod tidy [2021-07-15T21:03:43.118Z] ok new-app-service 0.011s coverage: 47.8% of statements [2021-07-15T21:03:43.118Z] ? new-app-service/config [no test files] [2021-07-15T21:03:43.332Z] 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-15T21:03:43.392Z] ok new-app-service/functions 0.010s [2021-07-15T21:03:43.392Z] CGO_ENABLED=1 go vet ./... [2021-07-15T21:03:50.120Z] gofmt -l . [2021-07-15T21:03:50.120Z] [ "`gofmt -l .`" = "" ] [2021-07-15T21:03:50.120Z] ./bin/test-attribution-txt.sh [2021-07-15T21:03:50.707Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-07-15T21:03:50.707Z] go mod tidy [2021-07-15T21:03:50.979Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-07-15T21:03:51.258Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-07-15T21:03:52.688Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.011s coverage: 63.6% of statements [2021-07-15T21:03:53.343Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.013s coverage: 96.5% of statements [2021-07-15T21:03:53.343Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-07-15T21:03:53.343Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.017s coverage: 61.8% of statements [2021-07-15T21:03:53.343Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-07-15T21:03:53.645Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.017s [2021-07-15T21:03:54.247Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.040s coverage: 74.5% of statements [2021-07-15T21:03:54.247Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-07-15T21:03:54.247Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-07-15T21:03:54.247Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-07-15T21:03:54.247Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-07-15T21:03:54.248Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-07-15T21:03:54.248Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-07-15T21:03:54.248Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.011s coverage: 97.1% of statements [2021-07-15T21:03:54.248Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-07-15T21:03:54.524Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.006s coverage: 10.5% of statements [2021-07-15T21:03:57.902Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.761s coverage: 76.1% of statements [2021-07-15T21:03:57.902Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-07-15T21:03:57.902Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.017s coverage: 12.5% of statements [2021-07-15T21:03:57.902Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.013s coverage: 27.3% of statements [2021-07-15T21:03:57.902Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-07-15T21:03:57.902Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-07-15T21:03:57.902Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.009s coverage: 51.4% of statements [2021-07-15T21:04:15.837Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-07-15T21:04:15.837Z] make -C ./app-service-template test [2021-07-15T21:04:15.837Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-07-15T21:04:15.837Z] go mod tidy [2021-07-15T21:04:16.462Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-07-15T21:04:24.740Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.043s coverage: 78.1% of statements [2021-07-15T21:04:24.740Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.009s coverage: 94.4% of statements [2021-07-15T21:04:24.740Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-07-15T21:04:24.740Z] gofmt -l . [2021-07-15T21:04:24.740Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-07-15T21:04:24.779Z] $ docker stop --time=1 e7164895ae337012a756c47f51d0b277ac303501d6955ab109b3a86435fc6bd4 [2021-07-15T21:04:26.049Z] $ docker rm -f e7164895ae337012a756c47f51d0b277ac303501d6955ab109b3a86435fc6bd4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-15T21:04:26.621Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-15T21:04:27.156Z] 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-15T21:04:28.763Z] ---> job-cost.sh [2021-07-15T21:04:28.763Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-lBTA [2021-07-15T21:04:38.886Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-15T21:04:48.944Z] ok new-app-service 0.043s coverage: 47.8% of statements [2021-07-15T21:04:48.944Z] ? new-app-service/config [no test files] [2021-07-15T21:04:48.944Z] ok new-app-service/functions 0.046s [2021-07-15T21:04:48.944Z] CGO_ENABLED=1 go vet ./... [2021-07-15T21:04:51.249Z] lf-activate-venv(): INFO: Adding /tmp/venv-lBTA/bin to PATH [2021-07-15T21:04:51.249Z] INFO: No Stack... [2021-07-15T21:04:51.249Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-15T21:04:51.516Z] INFO: Archiving Costs [Pipeline] sh [2021-07-15T21:04:51.869Z] + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv [2021-07-15T21:04:51.869Z] + cut -d, -f6 [Pipeline] lock [2021-07-15T21:04:51.953Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-925-1-stack-cost] [2021-07-15T21:04:51.962Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-925-1-stack-cost] did not exist. Created. [2021-07-15T21:04:51.962Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-925-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-15T21:04:52.431Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-15T21:04:52.541Z] Stashed 1 file(s) [Pipeline] } [2021-07-15T21:04:52.562Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-925-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-15T21:05:15.806Z] gofmt -l . [2021-07-15T21:05:15.807Z] [ "`gofmt -l .`" = "" ] [2021-07-15T21:05:15.807Z] ./bin/test-attribution-txt.sh [2021-07-15T21:05:15.807Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-07-15T21:05:15.807Z] go mod tidy [2021-07-15T21:05:16.418Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-07-15T21:05:17.985Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-07-15T21:05:26.472Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.090s coverage: 63.6% of statements [2021-07-15T21:05:26.472Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.057s coverage: 96.5% of statements [2021-07-15T21:05:26.473Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-07-15T21:05:26.473Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.102s coverage: 61.8% of statements [2021-07-15T21:05:26.473Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-07-15T21:05:26.473Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.055s [2021-07-15T21:05:26.473Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.131s coverage: 74.5% of statements [2021-07-15T21:05:26.473Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-07-15T21:05:26.473Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-07-15T21:05:26.473Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-07-15T21:05:26.473Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-07-15T21:05:26.473Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-07-15T21:05:26.473Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-07-15T21:05:26.473Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.047s coverage: 97.1% of statements [2021-07-15T21:05:26.473Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-07-15T21:05:26.758Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.092s coverage: 10.5% of statements [2021-07-15T21:05:33.517Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.881s coverage: 76.1% of statements [2021-07-15T21:05:33.517Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-07-15T21:05:33.517Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.035s coverage: 12.5% of statements [2021-07-15T21:05:33.517Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.073s coverage: 27.3% of statements [2021-07-15T21:05:33.517Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-07-15T21:05:33.517Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-07-15T21:05:33.517Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.044s coverage: 51.4% of statements [2021-07-15T21:06:00.356Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.116s coverage: 78.1% of statements [2021-07-15T21:06:00.356Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.038s coverage: 94.4% of statements [2021-07-15T21:06:00.356Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-07-15T21:06:02.366Z] gofmt -l . [2021-07-15T21:06:02.967Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-07-15T21:06:03.280Z] $ docker stop --time=1 24402a55febde8c398e044cadf28e9e4a0b3075c02824f45a10538fcdd461aaf [2021-07-15T21:06:05.296Z] $ docker rm -f 24402a55febde8c398e044cadf28e9e4a0b3075c02824f45a10538fcdd461aaf [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-15T21:06:06.310Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-15T21:06:06.352Z] Warning: overwriting stash ‘coverage-report’ [2021-07-15T21:06:06.954Z] 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-15T21:06:08.279Z] ---> job-cost.sh [2021-07-15T21:06:08.279Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-nNhv [2021-07-15T21:06:47.373Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-15T21:08:24.197Z] lf-activate-venv(): INFO: Adding /tmp/venv-nNhv/bin to PATH [2021-07-15T21:08:24.197Z] INFO: No Stack... [2021-07-15T21:08:24.197Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-15T21:08:24.197Z] INFO: Archiving Costs [Pipeline] sh [2021-07-15T21:08:24.563Z] + cut -d, -f6 [2021-07-15T21:08:24.563Z] + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-07-15T21:08:24.670Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-925-1-stack-cost] [2021-07-15T21:08:24.677Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-925-1-stack-cost] did not exist. Created. [2021-07-15T21:08:24.677Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-925-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-15T21:08:25.137Z] /w/workspace/app-functions-sdk-go/1@tmp/durable-f6a3f054/script.sh: 1: /w/workspace/app-functions-sdk-go/1@tmp/durable-f6a3f054/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-15T21:08:25.540Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-15T21:08:25.578Z] Warning: overwriting stash ‘stack-cost’ [2021-07-15T21:08:25.750Z] Stashed 1 file(s) [Pipeline] } [2021-07-15T21:08:25.771Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-925-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-15T21:08:27.320Z] provisioning config files... [2021-07-15T21:08:27.348Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-925@tmp/config7646429465111985468tmp [Pipeline] { [Pipeline] sh [2021-07-15T21:08:27.751Z] + set +x [2021-07-15T21:08:27.751Z] + bash -s -- [2021-07-15T21:08:27.751Z] + curl -s https://codecov.io/bash [2021-07-15T21:08:27.751Z] [2021-07-15T21:08:27.751Z] _____ _ [2021-07-15T21:08:27.751Z] / ____| | | [2021-07-15T21:08:27.751Z] | | ___ __| | ___ ___ _____ __ [2021-07-15T21:08:27.751Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-07-15T21:08:27.751Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-07-15T21:08:27.751Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-07-15T21:08:27.751Z] Bash-1.0.5 [2021-07-15T21:08:27.751Z] [2021-07-15T21:08:27.751Z] [2021-07-15T21:08:27.751Z] ==> git version 2.24.4 found [2021-07-15T21:08:27.751Z] ==> 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-15T21:08:27.751Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-07-15T21:08:27.751Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-07-15T21:08:27.751Z] ==> Jenkins CI detected. [2021-07-15T21:08:27.751Z] project root: . [2021-07-15T21:08:27.751Z] --> token set from env [2021-07-15T21:08:28.239Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-07-15T21:08:28.239Z] ==> Running gcov in . (disable via -X gcov) [2021-07-15T21:08:28.239Z] ==> Python coveragepy not found [2021-07-15T21:08:28.239Z] ==> Searching for coverage reports in: [2021-07-15T21:08:28.239Z] + . [2021-07-15T21:08:28.239Z] -> Found 2 reports [2021-07-15T21:08:28.239Z] ==> Detecting git/mercurial file structure [2021-07-15T21:08:28.239Z] ==> Reading reports [2021-07-15T21:08:28.239Z] + ./app-service-template/coverage.out bytes=1055 [2021-07-15T21:08:28.239Z] + ./coverage.out bytes=95181 [2021-07-15T21:08:28.239Z] ==> Appending adjustments [2021-07-15T21:08:28.239Z] https://docs.codecov.io/docs/fixing-reports [2021-07-15T21:08:28.239Z] + Found adjustments [2021-07-15T21:08:28.239Z] ==> Gzipping contents [2021-07-15T21:08:28.239Z] 20K /tmp/codecov.U4Llag.gz [2021-07-15T21:08:28.239Z] ==> Uploading reports [2021-07-15T21:08:28.239Z] url: https://codecov.io [2021-07-15T21:08:28.239Z] query: branch=PR-925&commit=4d169d2de8f9d0fb838b77df330eabbc72317b43&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-925%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=925&job=&cmd_args= [2021-07-15T21:08:28.239Z] -> Pinging Codecov [2021-07-15T21:08:28.239Z] https://codecov.io/upload/v4?package=bash-1.0.5&token=&package=bash-1.0.5&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-925&commit=4d169d2de8f9d0fb838b77df330eabbc72317b43&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-925%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=925&job=&cmd_args= [2021-07-15T21:08:28.834Z] -> Uploading to [2021-07-15T21:08:28.834Z] https://storage.googleapis.com/codecov/v4/raw/2021-07-15/3D8B5DFFC46A037C893635FACE044666/4d169d2de8f9d0fb838b77df330eabbc72317b43/edd2f656-efb8-4246-8a58-00cf706c3384.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210715%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210715T210828Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5a10a3b027b224519ff75a6772c2cc4b2c0269110182242a6e6745b65aeaff35 [2021-07-15T21:08:28.834Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-15T21:08:28.834Z] Dload Upload Total Spent Left Speed [2021-07-15T21:08:29.117Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16439 0 0 100 16439 0 34863 --:--:-- --:--:-- --:--:-- 34902 [2021-07-15T21:08:29.117Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/4d169d2de8f9d0fb838b77df330eabbc72317b43 [Pipeline] } [2021-07-15T21:08:29.189Z] 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-15T21:08:32.169Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-15T21:08:32.859Z] ---> package-listing.sh [2021-07-15T21:08:32.860Z] ++ facter osfamily [2021-07-15T21:08:32.860Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-15T21:08:33.133Z] + OS_FAMILY=redhat [2021-07-15T21:08:33.133Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-925 [2021-07-15T21:08:33.133Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-15T21:08:33.133Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-15T21:08:33.133Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-15T21:08:33.133Z] + PACKAGES=/tmp/packages_start.txt [2021-07-15T21:08:33.133Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-925 ']' [2021-07-15T21:08:33.133Z] + PACKAGES=/tmp/packages_end.txt [2021-07-15T21:08:33.133Z] + case "${OS_FAMILY}" in [2021-07-15T21:08:33.133Z] + rpm -qa [2021-07-15T21:08:33.133Z] + sort [2021-07-15T21:08:33.722Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-15T21:08:33.722Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-15T21:08:33.722Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-15T21:08:33.722Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-925 ']' [2021-07-15T21:08:33.722Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-925/archives/ [2021-07-15T21:08:33.722Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-925/archives/ [Pipeline] echo [2021-07-15T21:08:33.775Z] 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-925/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-15T21:08:34.109Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-15T21:08:34.770Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-15T21:08:34.770Z] [2021-07-15T21:08:34.770Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-07-15T21:08:35.168Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-15T21:08:35.168Z] alpine: Pulling from edgex-lftools-log-publisher [2021-07-15T21:08:35.168Z] 5843afab3874: Pulling fs layer [2021-07-15T21:08:35.168Z] 2dfaacf7024e: Pulling fs layer [2021-07-15T21:08:35.168Z] 2dbba127c6aa: Pulling fs layer [2021-07-15T21:08:35.168Z] 1a467efa2204: Pulling fs layer [2021-07-15T21:08:35.168Z] 865369a531d5: Pulling fs layer [2021-07-15T21:08:35.168Z] 2dc3bafdbf1c: Pulling fs layer [2021-07-15T21:08:35.168Z] 9ac237eaa80d: Pulling fs layer [2021-07-15T21:08:35.168Z] 6bcad4ecc5c2: Pulling fs layer [2021-07-15T21:08:35.168Z] 7074353bde3e: Pulling fs layer [2021-07-15T21:08:35.168Z] 1a467efa2204: Waiting [2021-07-15T21:08:35.168Z] 865369a531d5: Waiting [2021-07-15T21:08:35.168Z] 2dc3bafdbf1c: Waiting [2021-07-15T21:08:35.168Z] 9ac237eaa80d: Waiting [2021-07-15T21:08:35.168Z] 6bcad4ecc5c2: Waiting [2021-07-15T21:08:35.168Z] 7074353bde3e: Waiting [2021-07-15T21:08:35.437Z] 2dfaacf7024e: Verifying Checksum [2021-07-15T21:08:35.437Z] 2dfaacf7024e: Download complete [2021-07-15T21:08:35.437Z] 1a467efa2204: Verifying Checksum [2021-07-15T21:08:35.437Z] 1a467efa2204: Download complete [2021-07-15T21:08:35.437Z] 5843afab3874: Verifying Checksum [2021-07-15T21:08:35.437Z] 5843afab3874: Download complete [2021-07-15T21:08:35.437Z] 2dc3bafdbf1c: Verifying Checksum [2021-07-15T21:08:35.437Z] 2dc3bafdbf1c: Download complete [2021-07-15T21:08:35.437Z] 9ac237eaa80d: Verifying Checksum [2021-07-15T21:08:35.437Z] 9ac237eaa80d: Download complete [2021-07-15T21:08:35.437Z] 6bcad4ecc5c2: Verifying Checksum [2021-07-15T21:08:35.437Z] 6bcad4ecc5c2: Download complete [2021-07-15T21:08:35.720Z] 865369a531d5: Verifying Checksum [2021-07-15T21:08:35.720Z] 865369a531d5: Download complete [2021-07-15T21:08:35.720Z] 5843afab3874: Pull complete [2021-07-15T21:08:36.003Z] 2dbba127c6aa: Verifying Checksum [2021-07-15T21:08:36.003Z] 2dbba127c6aa: Download complete [2021-07-15T21:08:36.003Z] 2dfaacf7024e: Pull complete [2021-07-15T21:08:36.604Z] 2dbba127c6aa: Pull complete [2021-07-15T21:08:36.604Z] 1a467efa2204: Pull complete [2021-07-15T21:08:36.875Z] 865369a531d5: Pull complete [2021-07-15T21:08:36.875Z] 2dc3bafdbf1c: Pull complete [2021-07-15T21:08:37.145Z] 9ac237eaa80d: Pull complete [2021-07-15T21:08:37.145Z] 6bcad4ecc5c2: Pull complete [2021-07-15T21:08:39.733Z] 7074353bde3e: Verifying Checksum [2021-07-15T21:08:39.733Z] 7074353bde3e: Download complete [2021-07-15T21:08:44.087Z] 7074353bde3e: Pull complete [2021-07-15T21:08:44.087Z] Digest: sha256:2a5174b1bc71a2b706ed38de5c718fca755e8a1691f7904ed9ba2ee036070238 [2021-07-15T21:08:44.087Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-15T21:08:44.087Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-07-15T21:08:44.224Z] prd-centos7-docker-4c-2g-2963 does not seem to be running inside a container [2021-07-15T21:08:44.306Z] $ 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-925/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-925 -v /w/workspace/ndry_app-functions-sdk-go_PR-925:/w/workspace/ndry_app-functions-sdk-go_PR-925:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-925@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-925@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-15T21:08:46.286Z] $ docker top 3a2082c211b81d23df7421b5a049af13a17494c6b7cd8f0fc2b5447db511caf4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-15T21:08:46.792Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-15T21:08:47.151Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-07-15T21:08:47.512Z] + ls /var/log/sa-host [2021-07-15T21:08:47.512Z] + sadf -c /var/log/sa-host/sa05 [2021-07-15T21:08:47.512Z] file_magic: OK [2021-07-15T21:08:47.512Z] HZ: Using current value: 100 [2021-07-15T21:08:47.512Z] file_header: OK [2021-07-15T21:08:47.512Z] 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-15T21:08:47.512Z] Statistics: [2021-07-15T21:08:47.512Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-15T21:08:47.512Z] File successfully converted to sysstat format version 12.5.4 [2021-07-15T21:08:47.512Z] + sadf -c /var/log/sa-host/sa15 [2021-07-15T21:08:47.512Z] file_magic: OK [2021-07-15T21:08:47.512Z] HZ: Using current value: 100 [2021-07-15T21:08:47.512Z] file_header: OK [2021-07-15T21:08:47.512Z] 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-15T21:08:47.512Z] Statistics: [2021-07-15T21:08:47.512Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-15T21:08:47.512Z] File successfully converted to sysstat format version 12.5.4 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-15T21:08:48.310Z] provisioning config files... [2021-07-15T21:08:48.344Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-925@tmp/config8503545870131376777tmp [Pipeline] { [Pipeline] echo [2021-07-15T21:08:48.413Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-15T21:08:48.827Z] ---> create-netrc.sh [Pipeline] } [2021-07-15T21:08:48.855Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-15T21:08:49.413Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-15T21:08:49.474Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-15T21:08:49.836Z] ---> sudo-logs.sh [2021-07-15T21:08:49.836Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-07-15T21:08:49.938Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-15T21:08:50.343Z] ---> job-cost.sh [2021-07-15T21:08:50.343Z] lf-activate-venv: SKIPPING [2021-07-15T21:08:50.343Z] DEBUG: total: 0.18000000715255737 [2021-07-15T21:08:50.343Z] INFO: Retrieving Stack Cost... [2021-07-15T21:08:51.791Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-15T21:08:52.063Z] INFO: Archiving Costs [Pipeline] echo [2021-07-15T21:08:52.102Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-15T21:08:52.472Z] ---> logs-deploy.sh [2021-07-15T21:08:52.472Z] lf-activate-venv: SKIPPING [2021-07-15T21:08:52.472Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-925/1 [2021-07-15T21:08:52.472Z] INFO: archiving workspace using pattern(s): [2021-07-15T21:08:53.065Z] Archives upload complete. [2021-07-15T21:08:53.333Z] INFO: archiving logs to Nexus