Pull request #705 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 44b2d2f3296b2bf107ae2a94ee4c84b4572c16f0+ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb (178166662852624c3b5aa845ea5c78f48c109694) 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 69a7e166112f335804d9fea76440e5140e47f034 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-705/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 > 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a 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-705/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 > 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 69a7e166112f335804d9fea76440e5140e47f034 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-27133 in /w/workspace/ndry_app-functions-sdk-go_PR-705 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout 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-705 # 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.3' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/705/head:refs/remotes/origin/PR-705 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb into PR head commit 44b2d2f3296b2bf107ae2a94ee4c84b4572c16f0 Merge succeeded, producing 44b2d2f3296b2bf107ae2a94ee4c84b4572c16f0 Checking out Revision 44b2d2f3296b2bf107ae2a94ee4c84b4572c16f0 (PR-705) > git config core.sparsecheckout # timeout=10 > git checkout -f 44b2d2f3296b2bf107ae2a94ee4c84b4572c16f0 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 44b2d2f3296b2bf107ae2a94ee4c84b4572c16f0 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-22T07:05:08.312Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-22T07:05:08.649Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-22T07:05:08.840Z] ========================================================= [2021-02-22T07:05:08.840Z] EdgeX Global Pipelines Version Info [2021-02-22T07:05:08.840Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-22T07:05:10.812Z] ------------------- [2021-02-22T07:05:10.812Z] stable info: [2021-02-22T07:05:10.812Z] ------------------- [2021-02-22T07:05:10.812Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-22T07:05:10.812Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-22T07:05:10.812Z] Message: update stable to v1.0.179 [2021-02-22T07:05:11.384Z] ------------------- [2021-02-22T07:05:11.385Z] experimental info: [2021-02-22T07:05:11.385Z] ------------------- [2021-02-22T07:05:11.385Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-22T07:05:11.385Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-22T07:05:11.385Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-22T07:05:11.784Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-02-22T07:05:11.913Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-02-22T07:05:12.065Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-22T07:05:12.189Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-22T07:05:12.309Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-22T07:05:12.427Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-22T07:05:12.543Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-22T07:05:12.753Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-22T07:05:12.870Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-02-22T07:05:13.008Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-22T07:05:13.170Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-22T07:05:13.292Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-02-22T07:05:13.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-22T07:05:13.562Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-22T07:05:13.681Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-02-22T07:05:13.810Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-22T07:05:13.939Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-22T07:05:14.072Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-22T07:05:14.191Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-22T07:05:14.306Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-22T07:05:14.427Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-22T07:05:14.540Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-02-22T07:05:14.648Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-22T07:05:14.759Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-22T07:05:14.871Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-02-22T07:05:14.984Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-22T07:05:15.101Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-22T07:05:15.229Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-705 [Pipeline] echo [2021-02-22T07:05:15.348Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-705 [Pipeline] echo [2021-02-22T07:05:15.469Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-705 [Pipeline] echo [2021-02-22T07:05:15.584Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 44b2d2f3296b2bf107ae2a94ee4c84b4572c16f0 [Pipeline] echo [2021-02-22T07:05:15.724Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 44b2d2f [Pipeline] echo [2021-02-22T07:05:15.841Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-22T07:05:16.740Z] + git log --format=format:%s -1 44b2d2f3296b2bf107ae2a94ee4c84b4572c16f0 [Pipeline] echo [2021-02-22T07:05:16.826Z] GIT_COMMIT: 44b2d2f3296b2bf107ae2a94ee4c84b4572c16f0, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2021-02-22T07:05:16.897Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-22T07:05:17.766Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-22T07:05:18.029Z] [2021-02-22T07:05:18.029Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-22T07:05:18.442Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-22T07:05:18.442Z] latest: Pulling from edgex-devops/git-semver [2021-02-22T07:05:18.442Z] 31603596830f: Pulling fs layer [2021-02-22T07:05:18.442Z] 2a8b12db71e7: Pulling fs layer [2021-02-22T07:05:18.442Z] 6ca5941a6612: Pulling fs layer [2021-02-22T07:05:18.442Z] ecc8261a40a4: Pulling fs layer [2021-02-22T07:05:18.442Z] ecc8261a40a4: Waiting [2021-02-22T07:05:18.442Z] 2a8b12db71e7: Verifying Checksum [2021-02-22T07:05:18.442Z] 2a8b12db71e7: Download complete [2021-02-22T07:05:18.712Z] 31603596830f: Verifying Checksum [2021-02-22T07:05:18.712Z] 31603596830f: Download complete [2021-02-22T07:05:18.712Z] ecc8261a40a4: Verifying Checksum [2021-02-22T07:05:18.712Z] ecc8261a40a4: Download complete [2021-02-22T07:05:18.712Z] 6ca5941a6612: Verifying Checksum [2021-02-22T07:05:18.712Z] 6ca5941a6612: Download complete [2021-02-22T07:05:18.986Z] 31603596830f: Pull complete [2021-02-22T07:05:19.253Z] 2a8b12db71e7: Pull complete [2021-02-22T07:05:20.203Z] 6ca5941a6612: Pull complete [2021-02-22T07:05:20.203Z] ecc8261a40a4: Pull complete [2021-02-22T07:05:20.203Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-22T07:05:20.467Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-22T07:05:20.467Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-22T07:05:20.662Z] prd-centos7-docker-4c-2g-27133 does not seem to be running inside a container [2021-02-22T07:05:20.717Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-705 -v /w/workspace/ndry_app-functions-sdk-go_PR-705:/w/workspace/ndry_app-functions-sdk-go_PR-705:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-705@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-705@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-22T07:05:22.673Z] $ docker top 85ba5c648b652b328976e819c18058e3b9d06f3aab8df8b0974cc3bc0ee715e3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-22T07:05:23.121Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-22T07:05:23.121Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-22T07:05:23.398Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-22T07:05:23.403Z] $ docker exec 85ba5c648b652b328976e819c18058e3b9d06f3aab8df8b0974cc3bc0ee715e3 ssh-agent [2021-02-22T07:05:23.569Z] SSH_AUTH_SOCK=/tmp/ssh-sfDyIcrUPY8A/agent.12 [2021-02-22T07:05:23.569Z] SSH_AGENT_PID=17 [2021-02-22T07:05:23.582Z] Running ssh-add (command line suppressed) [2021-02-22T07:05:23.720Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-705@tmp/private_key_8126478270570584855.key (/w/workspace/ndry_app-functions-sdk-go_PR-705@tmp/private_key_8126478270570584855.key) [2021-02-22T07:05:23.771Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-22T07:05:24.164Z] + git tag --points-at HEAD [Pipeline] } [2021-02-22T07:05:24.275Z] $ docker exec --env ******** --env ******** 85ba5c648b652b328976e819c18058e3b9d06f3aab8df8b0974cc3bc0ee715e3 ssh-agent -k [2021-02-22T07:05:24.427Z] unset SSH_AUTH_SOCK; [2021-02-22T07:05:24.428Z] unset SSH_AGENT_PID; [2021-02-22T07:05:24.428Z] echo Agent pid 17 killed; [2021-02-22T07:05:24.475Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-22T07:05:24.663Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-22T07:05:24.663Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-22T07:05:24.829Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-22T07:05:24.833Z] $ docker exec 85ba5c648b652b328976e819c18058e3b9d06f3aab8df8b0974cc3bc0ee715e3 ssh-agent [2021-02-22T07:05:25.005Z] SSH_AUTH_SOCK=/tmp/ssh-W4bppY0O4rdc/agent.45 [2021-02-22T07:05:25.005Z] SSH_AGENT_PID=51 [2021-02-22T07:05:25.012Z] Running ssh-add (command line suppressed) [2021-02-22T07:05:25.133Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-705@tmp/private_key_4018190188428584134.key (/w/workspace/ndry_app-functions-sdk-go_PR-705@tmp/private_key_4018190188428584134.key) [2021-02-22T07:05:25.197Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-22T07:05:25.577Z] + git semver init [2021-02-22T07:05:25.578Z] # -> Open(): unable to determine branch for HEAD [2021-02-22T07:05:25.578Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-705/.git [2021-02-22T07:05:25.578Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-705 [2021-02-22T07:05:25.578Z] # $SEMVER_REMOTE_NAME = origin [2021-02-22T07:05:25.578Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-22T07:05:25.578Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-22T07:05:25.578Z] # $SEMVER_BRANCH = PR-705 [2021-02-22T07:05:25.578Z] # $SEMVER_TEMP = /tmp/semver-269371614 [2021-02-22T07:05:25.578Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-02-22T07:05:28.144Z] # '/tmp/semver-269371614' -> '/w/workspace/ndry_app-functions-sdk-go_PR-705/.semver' [2021-02-22T07:05:28.406Z] # -> Force: false [2021-02-22T07:05:28.406Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-705/.semver [Pipeline] } [2021-02-22T07:05:28.432Z] $ docker exec --env ******** --env ******** 85ba5c648b652b328976e819c18058e3b9d06f3aab8df8b0974cc3bc0ee715e3 ssh-agent -k [2021-02-22T07:05:28.549Z] unset SSH_AUTH_SOCK; [2021-02-22T07:05:28.549Z] unset SSH_AGENT_PID; [2021-02-22T07:05:28.549Z] echo Agent pid 51 killed; [2021-02-22T07:05:28.602Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-22T07:05:29.184Z] + git semver [Pipeline] } [2021-02-22T07:05:29.216Z] $ docker stop --time=1 85ba5c648b652b328976e819c18058e3b9d06f3aab8df8b0974cc3bc0ee715e3 [2021-02-22T07:05:30.712Z] $ docker rm -f 85ba5c648b652b328976e819c18058e3b9d06f3aab8df8b0974cc3bc0ee715e3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-22T07:05:31.273Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-22T07:05:31.803Z] Stashed 1 file(s) [Pipeline] echo [2021-02-22T07:05:31.827Z] [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-02-22T07:05:47.748Z] Still waiting to schedule task [2021-02-22T07:05:47.748Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-02-22T07:05:47.778Z] Still waiting to schedule task [2021-02-22T07:05:47.778Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-02-22T07:09:03.064Z] Running on prd-centos7-docker-4c-2g-27136 in /w/workspace/ndry_app-functions-sdk-go_PR-705 [Pipeline] { [Pipeline] ws [2021-02-22T07:09:03.205Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-02-22T07:09:05.632Z] using credential edgex-jenkins-ssh [2021-02-22T07:09:05.745Z] Cloning the remote Git repository [2021-02-22T07:09:05.143Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-22T07:09:05.233Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-02-22T07:09:05.312Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-22T07:09:05.312Z] > git --version # timeout=10 [2021-02-22T07:09:05.322Z] > git --version # 'git version 2.24.3' [2021-02-22T07:09:05.323Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-22T07:09:05.352Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-22T07:09:06.847Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-22T07:09:06.856Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-22T07:09:06.868Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-22T07:09:06.880Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-22T07:09:06.880Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-22T07:09:06.885Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/705/head:refs/remotes/origin/PR-705 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-22T07:09:07.796Z] Merging remotes/origin/master commit ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb into PR head commit 44b2d2f3296b2bf107ae2a94ee4c84b4572c16f0 [2021-02-22T07:09:07.882Z] Merge succeeded, producing 44b2d2f3296b2bf107ae2a94ee4c84b4572c16f0 [2021-02-22T07:09:07.883Z] Checking out Revision 44b2d2f3296b2bf107ae2a94ee4c84b4572c16f0 (PR-705) [2021-02-22T07:09:07.346Z] > git config core.sparsecheckout # timeout=10 [2021-02-22T07:09:07.350Z] > git checkout -f 44b2d2f3296b2bf107ae2a94ee4c84b4572c16f0 # timeout=10 [2021-02-22T07:09:07.397Z] > git remote # timeout=10 [2021-02-22T07:09:07.404Z] > git config --get remote.origin.url # timeout=10 [2021-02-22T07:09:07.409Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-22T07:09:07.412Z] > git merge ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb # timeout=10 [2021-02-22T07:09:07.424Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-22T07:09:07.434Z] > git config core.sparsecheckout # timeout=10 [2021-02-22T07:09:07.439Z] > git checkout -f 44b2d2f3296b2bf107ae2a94ee4c84b4572c16f0 # timeout=10 [2021-02-22T07:09:11.194Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-02-22T07:09:11.042Z] > git --version # timeout=10 [2021-02-22T07:09:11.046Z] > git --version # 'git version 2.24.3' [2021-02-22T07:09:11.051Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-22T07:09:12.903Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-22T07:09:13.249Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-22T07:09:13.563Z] + sudo service docker restart [2021-02-22T07:09:13.563Z] + true [2021-02-22T07:09:13.563Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-02-22T07:09:14.742Z] ========================================================= [2021-02-22T07:09:14.742Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-22T07:09:14.742Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-22T07:09:15.132Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-02-22T07:09:15.706Z] Sending build context to Docker daemon 19.22MB [2021-02-22T07:09:15.706Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-22T07:09:15.706Z] Step 2/8 : FROM ${BASE} [2021-02-22T07:09:15.972Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-22T07:09:15.972Z] 188c0c94c7c5: Pulling fs layer [2021-02-22T07:09:15.972Z] 0ef7d3d256c8: Pulling fs layer [2021-02-22T07:09:15.972Z] de9db76c5a1d: Pulling fs layer [2021-02-22T07:09:15.972Z] bca2f99d35d6: Pulling fs layer [2021-02-22T07:09:15.972Z] 93359f2a8cfa: Pulling fs layer [2021-02-22T07:09:15.972Z] 7c6f9722023f: Pulling fs layer [2021-02-22T07:09:15.972Z] a35cf1a2eb13: Pulling fs layer [2021-02-22T07:09:15.972Z] bca2f99d35d6: Waiting [2021-02-22T07:09:15.972Z] 93359f2a8cfa: Waiting [2021-02-22T07:09:15.972Z] a35cf1a2eb13: Waiting [2021-02-22T07:09:15.972Z] 7c6f9722023f: Waiting [2021-02-22T07:09:15.972Z] de9db76c5a1d: Verifying Checksum [2021-02-22T07:09:15.972Z] de9db76c5a1d: Download complete [2021-02-22T07:09:15.972Z] 0ef7d3d256c8: Verifying Checksum [2021-02-22T07:09:15.972Z] 0ef7d3d256c8: Download complete [2021-02-22T07:09:15.972Z] 93359f2a8cfa: Verifying Checksum [2021-02-22T07:09:15.972Z] 93359f2a8cfa: Download complete [2021-02-22T07:09:16.547Z] 7c6f9722023f: Verifying Checksum [2021-02-22T07:09:16.547Z] 7c6f9722023f: Download complete [2021-02-22T07:09:16.547Z] 188c0c94c7c5: Verifying Checksum [2021-02-22T07:09:16.547Z] 188c0c94c7c5: Download complete [2021-02-22T07:09:16.812Z] 188c0c94c7c5: Pull complete [2021-02-22T07:09:17.075Z] 0ef7d3d256c8: Pull complete [2021-02-22T07:09:17.075Z] de9db76c5a1d: Pull complete [2021-02-22T07:09:19.003Z] a35cf1a2eb13: Verifying Checksum [2021-02-22T07:09:19.003Z] a35cf1a2eb13: Download complete [2021-02-22T07:09:19.264Z] bca2f99d35d6: Verifying Checksum [2021-02-22T07:09:19.264Z] bca2f99d35d6: Download complete [2021-02-22T07:09:24.582Z] bca2f99d35d6: Pull complete [2021-02-22T07:09:24.582Z] 93359f2a8cfa: Pull complete [2021-02-22T07:09:24.582Z] 7c6f9722023f: Pull complete [2021-02-22T07:09:31.230Z] a35cf1a2eb13: Pull complete [2021-02-22T07:09:31.230Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-22T07:09:31.230Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-22T07:09:31.230Z] ---> a62c8e92a672 [2021-02-22T07:09:31.230Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-02-22T07:09:31.230Z] 20.10.0: Pulling from library/docker [2021-02-22T07:09:31.230Z] 05e7bc50f07f: Pulling fs layer [2021-02-22T07:09:31.230Z] 6db28d0fdbf6: Pulling fs layer [2021-02-22T07:09:31.230Z] 292df0bc6bf3: Pulling fs layer [2021-02-22T07:09:31.230Z] 2e060f4bd70b: Pulling fs layer [2021-02-22T07:09:31.230Z] 80e8d568a223: Pulling fs layer [2021-02-22T07:09:31.230Z] 8dc6ef1a942a: Pulling fs layer [2021-02-22T07:09:31.230Z] 2312dd95470a: Pulling fs layer [2021-02-22T07:09:31.230Z] 2e060f4bd70b: Waiting [2021-02-22T07:09:31.230Z] 80e8d568a223: Waiting [2021-02-22T07:09:31.230Z] 8dc6ef1a942a: Waiting [2021-02-22T07:09:31.230Z] 2312dd95470a: Waiting [2021-02-22T07:09:31.230Z] 05e7bc50f07f: Verifying Checksum [2021-02-22T07:09:31.230Z] 05e7bc50f07f: Download complete [2021-02-22T07:09:31.501Z] 292df0bc6bf3: Verifying Checksum [2021-02-22T07:09:31.501Z] 292df0bc6bf3: Download complete [2021-02-22T07:09:31.767Z] 05e7bc50f07f: Pull complete [2021-02-22T07:09:31.767Z] 80e8d568a223: Download complete [2021-02-22T07:09:32.339Z] 6db28d0fdbf6: Verifying Checksum [2021-02-22T07:09:32.339Z] 6db28d0fdbf6: Download complete [2021-02-22T07:09:32.339Z] 8dc6ef1a942a: Verifying Checksum [2021-02-22T07:09:32.339Z] 8dc6ef1a942a: Download complete [2021-02-22T07:09:32.339Z] 6db28d0fdbf6: Pull complete [2021-02-22T07:09:32.600Z] 292df0bc6bf3: Pull complete [2021-02-22T07:09:32.600Z] 2312dd95470a: Verifying Checksum [2021-02-22T07:09:32.600Z] 2312dd95470a: Download complete [2021-02-22T07:09:36.810Z] 2e060f4bd70b: Verifying Checksum [2021-02-22T07:09:36.810Z] 2e060f4bd70b: Download complete [2021-02-22T07:09:40.119Z] 2e060f4bd70b: Pull complete [2021-02-22T07:09:40.119Z] 80e8d568a223: Pull complete [2021-02-22T07:09:40.119Z] 8dc6ef1a942a: Pull complete [2021-02-22T07:09:40.119Z] 2312dd95470a: Pull complete [2021-02-22T07:09:40.119Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-02-22T07:09:40.119Z] Status: Downloaded newer image for docker:20.10.0 [2021-02-22T07:09:41.514Z] ---> d2130a884187 [2021-02-22T07:09:41.514Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-22T07:09:41.514Z] ---> Running in b794b9056215 [2021-02-22T07:09:41.514Z] Removing intermediate container b794b9056215 [2021-02-22T07:09:41.514Z] ---> 2196f8ca1059 [2021-02-22T07:09:41.514Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-02-22T07:09:41.776Z] ---> Running in 9e57229b2b26 [2021-02-22T07:09:42.350Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-22T07:09:42.923Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-22T07:09:43.184Z] (1/5) Installing libsodium (1.0.18-r0) [2021-02-22T07:09:43.446Z] (2/5) Installing libzmq (4.3.3-r0) [2021-02-22T07:09:43.446Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-02-22T07:09:43.446Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-02-22T07:09:43.708Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-02-22T07:09:43.708Z] Executing busybox-1.31.1-r19.trigger [2021-02-22T07:09:43.708Z] OK: 167 MiB in 44 packages [2021-02-22T07:09:44.281Z] Removing intermediate container 9e57229b2b26 [2021-02-22T07:09:44.281Z] ---> a36ea0901b5e [2021-02-22T07:09:44.281Z] Step 6/8 : WORKDIR /build [2021-02-22T07:09:44.281Z] ---> Running in 4fbd7da76d31 [2021-02-22T07:09:44.545Z] Removing intermediate container 4fbd7da76d31 [2021-02-22T07:09:44.545Z] ---> 7942871c1c9b [2021-02-22T07:09:44.545Z] Step 7/8 : COPY go.mod . [2021-02-22T07:09:44.810Z] ---> de45eaca28a7 [2021-02-22T07:09:44.810Z] Step 8/8 : RUN go mod download [2021-02-22T07:09:44.810Z] ---> Running in c3770ac36045 [2021-02-22T07:10:06.806Z] Removing intermediate container c3770ac36045 [2021-02-22T07:10:06.806Z] ---> 35f8a821c80e [2021-02-22T07:10:06.806Z] Successfully built 35f8a821c80e [2021-02-22T07:10:06.806Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-22T07:10:07.165Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-22T07:10:07.165Z] . [Pipeline] withDockerContainer [2021-02-22T07:10:07.307Z] prd-centos7-docker-4c-2g-27136 does not seem to be running inside a container [2021-02-22T07:10:07.360Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-22T07:10:07.932Z] $ docker top a194398e84ef43674a3dec4c35c128820d7a138b93965f8609461562e6def265 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-22T07:10:08.481Z] + go version [2021-02-22T07:10:08.481Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-22T07:10:08.512Z] $ docker stop --time=1 a194398e84ef43674a3dec4c35c128820d7a138b93965f8609461562e6def265 [2021-02-22T07:10:09.823Z] $ docker rm -f a194398e84ef43674a3dec4c35c128820d7a138b93965f8609461562e6def265 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-22T07:10:10.941Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-22T07:10:10.941Z] . [Pipeline] withDockerContainer [2021-02-22T07:10:11.063Z] prd-centos7-docker-4c-2g-27136 does not seem to be running inside a container [2021-02-22T07:10:11.105Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-22T07:10:11.638Z] $ docker top 3758acb2f7ed724154c25c17852d13f5c3d473e4d3e616d9a3fdd79bb2a92250 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-22T07:10:12.198Z] + make test [2021-02-22T07:10:12.198Z] make -C ./app-service-template build [2021-02-22T07:10:12.198Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-02-22T07:10:12.198Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion= -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-02-22T07:10:27.183Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-02-22T07:10:27.183Z] make -C ./app-service-template test [2021-02-22T07:10:27.183Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-02-22T07:10:27.183Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-02-22T07:10:31.453Z] ? new-app-service [no test files] [2021-02-22T07:10:31.713Z] ok new-app-service/functions 0.008s coverage: 75.8% of statements [2021-02-22T07:10:31.975Z] CGO_ENABLED=1 go vet ./... [2021-02-22T07:10:34.559Z] gofmt -l . [2021-02-22T07:10:34.559Z] [ "`gofmt -l .`" = "" ] [2021-02-22T07:10:34.559Z] ./bin/test-go-mod-tidy.sh [2021-02-22T07:10:34.829Z] ./bin/test-attribution-txt.sh [2021-02-22T07:10:35.401Z] An attribution for github.com/fatih/color is missing from in Attribution.txt, please add [2021-02-22T07:10:35.401Z] An attribution for github.com/hashicorp/go-hclog is missing from in Attribution.txt, please add [2021-02-22T07:10:35.401Z] An attribution for github.com/mattn/go-colorable is missing from in Attribution.txt, please add [2021-02-22T07:10:35.401Z] An attribution for github.com/mattn/go-isatty is missing from in Attribution.txt, please add [2021-02-22T07:10:35.401Z] An attribution for golang.org/x/sys is missing from in Attribution.txt, please add [2021-02-22T07:10:35.401Z] make[1]: *** [Makefile:48: test] Error 1 [2021-02-22T07:10:35.401Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-02-22T07:10:35.401Z] make: *** [Makefile:9: test-template] Error 2 [Pipeline] } [2021-02-22T07:10:35.451Z] $ docker stop --time=1 3758acb2f7ed724154c25c17852d13f5c3d473e4d3e616d9a3fdd79bb2a92250 [2021-02-22T07:10:37.260Z] $ docker rm -f 3758acb2f7ed724154c25c17852d13f5c3d473e4d3e616d9a3fdd79bb2a92250 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-22T07:10:39.772Z] Failed in branch amd64 [2021-02-22T07:13:07.831Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-27137 in /w/workspace/ndry_app-functions-sdk-go_PR-705 [Pipeline] { [Pipeline] ws [2021-02-22T07:13:07.934Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-02-22T07:13:12.923Z] using credential edgex-jenkins-ssh [2021-02-22T07:13:12.983Z] Cloning the remote Git repository [2021-02-22T07:13:13.039Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-22T07:13:13.146Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-02-22T07:13:13.219Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-22T07:13:13.220Z] > git --version # timeout=10 [2021-02-22T07:13:13.238Z] > git --version # 'git version 2.17.1' [2021-02-22T07:13:13.239Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-22T07:13:13.327Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-22T07:13:18.095Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-22T07:13:18.116Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-22T07:13:18.145Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-22T07:13:18.184Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-22T07:13:18.184Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-22T07:13:18.199Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/705/head:refs/remotes/origin/PR-705 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-22T07:13:18.649Z] Merging remotes/origin/master commit ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb into PR head commit 44b2d2f3296b2bf107ae2a94ee4c84b4572c16f0 [2021-02-22T07:13:19.030Z] Merge succeeded, producing 44b2d2f3296b2bf107ae2a94ee4c84b4572c16f0 [2021-02-22T07:13:19.031Z] Checking out Revision 44b2d2f3296b2bf107ae2a94ee4c84b4572c16f0 (PR-705) [2021-02-22T07:13:18.675Z] > git config core.sparsecheckout # timeout=10 [2021-02-22T07:13:18.694Z] > git checkout -f 44b2d2f3296b2bf107ae2a94ee4c84b4572c16f0 # timeout=10 [2021-02-22T07:13:18.846Z] > git remote # timeout=10 [2021-02-22T07:13:18.887Z] > git config --get remote.origin.url # timeout=10 [2021-02-22T07:13:18.913Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-22T07:13:18.941Z] > git merge ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb # timeout=10 [2021-02-22T07:13:18.989Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-22T07:13:19.044Z] > git config core.sparsecheckout # timeout=10 [2021-02-22T07:13:19.070Z] > git checkout -f 44b2d2f3296b2bf107ae2a94ee4c84b4572c16f0 # timeout=10 [2021-02-22T07:13:23.337Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-02-22T07:13:23.397Z] > git --version # timeout=10 [2021-02-22T07:13:23.408Z] > git --version # 'git version 2.17.1' [2021-02-22T07:13:23.424Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-22T07:13:25.471Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-22T07:13:25.887Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-22T07:13:26.249Z] + true [2021-02-22T07:13:26.249Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2021-02-22T07:13:29.176Z] ========================================================= [2021-02-22T07:13:29.176Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-22T07:13:29.176Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-22T07:13:29.597Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-02-22T07:13:30.582Z] Sending build context to Docker daemon 19.21MB [2021-02-22T07:13:30.583Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-22T07:13:30.583Z] Step 2/8 : FROM ${BASE} [2021-02-22T07:13:31.188Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-22T07:13:31.188Z] 5f621e34cdf4: Pulling fs layer [2021-02-22T07:13:31.188Z] a4357932f1b6: Pulling fs layer [2021-02-22T07:13:31.188Z] 18c013af1878: Pulling fs layer [2021-02-22T07:13:31.188Z] 00ac8860ef70: Pulling fs layer [2021-02-22T07:13:31.188Z] 63d7cb157983: Pulling fs layer [2021-02-22T07:13:31.188Z] b116817d02f9: Pulling fs layer [2021-02-22T07:13:31.188Z] 745a02a5169b: Pulling fs layer [2021-02-22T07:13:31.188Z] 00ac8860ef70: Waiting [2021-02-22T07:13:31.188Z] 63d7cb157983: Waiting [2021-02-22T07:13:31.188Z] b116817d02f9: Waiting [2021-02-22T07:13:31.188Z] 745a02a5169b: Waiting [2021-02-22T07:13:31.188Z] 18c013af1878: Verifying Checksum [2021-02-22T07:13:31.188Z] 18c013af1878: Download complete [2021-02-22T07:13:31.188Z] a4357932f1b6: Verifying Checksum [2021-02-22T07:13:31.188Z] a4357932f1b6: Download complete [2021-02-22T07:13:31.188Z] 63d7cb157983: Verifying Checksum [2021-02-22T07:13:31.189Z] 63d7cb157983: Download complete [2021-02-22T07:13:31.189Z] b116817d02f9: Download complete [2021-02-22T07:13:31.189Z] 5f621e34cdf4: Verifying Checksum [2021-02-22T07:13:31.189Z] 5f621e34cdf4: Download complete [2021-02-22T07:13:31.796Z] 5f621e34cdf4: Pull complete [2021-02-22T07:13:32.423Z] a4357932f1b6: Pull complete [2021-02-22T07:13:32.695Z] 18c013af1878: Pull complete [2021-02-22T07:13:34.139Z] 745a02a5169b: Verifying Checksum [2021-02-22T07:13:34.139Z] 745a02a5169b: Download complete [2021-02-22T07:13:35.132Z] 00ac8860ef70: Verifying Checksum [2021-02-22T07:13:35.132Z] 00ac8860ef70: Download complete [2021-02-22T07:13:45.302Z] 00ac8860ef70: Pull complete [2021-02-22T07:13:45.302Z] 63d7cb157983: Pull complete [2021-02-22T07:13:45.578Z] b116817d02f9: Pull complete [2021-02-22T07:13:49.922Z] 745a02a5169b: Pull complete [2021-02-22T07:13:49.922Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-22T07:13:49.922Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-22T07:13:49.922Z] ---> b7e6874047d6 [2021-02-22T07:13:49.922Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-02-22T07:13:49.922Z] 20.10.0: Pulling from library/docker [2021-02-22T07:13:49.922Z] a3cc7d3b244e: Pulling fs layer [2021-02-22T07:13:49.922Z] 02a3295e0d61: Pulling fs layer [2021-02-22T07:13:49.922Z] 0f4f2e6d8100: Pulling fs layer [2021-02-22T07:13:49.922Z] 330b718f631f: Pulling fs layer [2021-02-22T07:13:49.922Z] a93816041522: Pulling fs layer [2021-02-22T07:13:49.922Z] bdb6da89ff94: Pulling fs layer [2021-02-22T07:13:49.922Z] 2a70c0c122f4: Pulling fs layer [2021-02-22T07:13:49.922Z] a93816041522: Waiting [2021-02-22T07:13:49.922Z] 330b718f631f: Waiting [2021-02-22T07:13:49.922Z] bdb6da89ff94: Waiting [2021-02-22T07:13:49.922Z] 2a70c0c122f4: Waiting [2021-02-22T07:13:50.522Z] a3cc7d3b244e: Download complete [2021-02-22T07:13:50.522Z] 02a3295e0d61: Verifying Checksum [2021-02-22T07:13:50.522Z] 02a3295e0d61: Download complete [2021-02-22T07:13:50.794Z] 0f4f2e6d8100: Verifying Checksum [2021-02-22T07:13:50.794Z] 0f4f2e6d8100: Download complete [2021-02-22T07:13:50.794Z] a3cc7d3b244e: Pull complete [2021-02-22T07:13:51.068Z] a93816041522: Verifying Checksum [2021-02-22T07:13:51.068Z] a93816041522: Download complete [2021-02-22T07:13:51.343Z] bdb6da89ff94: Verifying Checksum [2021-02-22T07:13:51.343Z] bdb6da89ff94: Download complete [2021-02-22T07:13:51.623Z] 02a3295e0d61: Pull complete [2021-02-22T07:13:51.623Z] 2a70c0c122f4: Verifying Checksum [2021-02-22T07:13:51.623Z] 2a70c0c122f4: Download complete [2021-02-22T07:13:51.901Z] 0f4f2e6d8100: Pull complete [2021-02-22T07:13:56.198Z] 330b718f631f: Verifying Checksum [2021-02-22T07:13:56.198Z] 330b718f631f: Download complete [2021-02-22T07:14:00.514Z] 330b718f631f: Pull complete [2021-02-22T07:14:00.514Z] a93816041522: Pull complete [2021-02-22T07:14:00.790Z] bdb6da89ff94: Pull complete [2021-02-22T07:14:01.065Z] 2a70c0c122f4: Pull complete [2021-02-22T07:14:01.065Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-02-22T07:14:01.065Z] Status: Downloaded newer image for docker:20.10.0 [2021-02-22T07:14:07.792Z] ---> c593ae655d0f [2021-02-22T07:14:07.792Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-22T07:14:07.792Z] ---> Running in a279f8bdc33d [2021-02-22T07:14:07.792Z] Removing intermediate container a279f8bdc33d [2021-02-22T07:14:07.792Z] ---> e9e7b02243ba [2021-02-22T07:14:07.792Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-02-22T07:14:07.792Z] ---> Running in ddd1c85a70e3 [2021-02-22T07:14:09.247Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-22T07:14:09.527Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-22T07:14:10.504Z] (1/5) Installing libsodium (1.0.18-r0) [2021-02-22T07:14:10.504Z] (2/5) Installing libzmq (4.3.3-r0) [2021-02-22T07:14:10.504Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-02-22T07:14:10.504Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-02-22T07:14:10.779Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-02-22T07:14:10.779Z] Executing busybox-1.31.1-r19.trigger [2021-02-22T07:14:10.779Z] OK: 144 MiB in 44 packages [2021-02-22T07:14:12.280Z] Removing intermediate container ddd1c85a70e3 [2021-02-22T07:14:12.280Z] ---> 0ac182ee817d [2021-02-22T07:14:12.280Z] Step 6/8 : WORKDIR /build [2021-02-22T07:14:12.280Z] ---> Running in d79af3223d33 [2021-02-22T07:14:12.879Z] Removing intermediate container d79af3223d33 [2021-02-22T07:14:12.879Z] ---> 36b33391f9db [2021-02-22T07:14:12.879Z] Step 7/8 : COPY go.mod . [2021-02-22T07:14:13.478Z] ---> 94c55de63bdf [2021-02-22T07:14:13.478Z] Step 8/8 : RUN go mod download [2021-02-22T07:14:13.478Z] ---> Running in 7285032251aa [2021-02-22T07:14:40.291Z] Removing intermediate container 7285032251aa [2021-02-22T07:14:40.291Z] ---> 349a33d86aec [2021-02-22T07:14:40.291Z] Successfully built 349a33d86aec [2021-02-22T07:14:40.291Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-22T07:14:40.686Z] + docker inspect -f . ci-base-image-arm64 [2021-02-22T07:14:40.686Z] . [Pipeline] withDockerContainer [2021-02-22T07:14:40.943Z] prd-ubuntu18.04-docker-arm64-4c-16g-27137 does not seem to be running inside a container [2021-02-22T07:14:41.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 ******** ci-base-image-arm64 cat [2021-02-22T07:14:42.490Z] $ docker top c725ca1d6cd6fb6937b57967b8e1133e72c36b5303247a947f401c88037fd76f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-22T07:14:43.543Z] + go version [2021-02-22T07:14:43.543Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-22T07:14:43.578Z] $ docker stop --time=1 c725ca1d6cd6fb6937b57967b8e1133e72c36b5303247a947f401c88037fd76f [2021-02-22T07:14:45.496Z] $ docker rm -f c725ca1d6cd6fb6937b57967b8e1133e72c36b5303247a947f401c88037fd76f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-22T07:14:46.745Z] + docker inspect -f . ci-base-image-arm64 [2021-02-22T07:14:46.745Z] . [Pipeline] withDockerContainer [2021-02-22T07:14:47.056Z] prd-ubuntu18.04-docker-arm64-4c-16g-27137 does not seem to be running inside a container [2021-02-22T07:14:47.132Z] $ 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 ******** ci-base-image-arm64 cat [2021-02-22T07:14:48.618Z] $ docker top b44778daa2de4b439f87d04d61cc1a1cd2fc2045f1f542cd6fd1d520c329287a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-22T07:14:49.699Z] + make test [2021-02-22T07:14:49.700Z] make -C ./app-service-template build [2021-02-22T07:14:49.700Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-02-22T07:14:49.700Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion= -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-02-22T07:15:22.097Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-02-22T07:15:22.097Z] make -C ./app-service-template test [2021-02-22T07:15:22.097Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-02-22T07:15:22.097Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-02-22T07:15:40.479Z] ? new-app-service [no test files] [2021-02-22T07:15:42.455Z] ok new-app-service/functions 0.023s coverage: 75.8% of statements [2021-02-22T07:15:42.455Z] CGO_ENABLED=1 go vet ./... [2021-02-22T07:15:52.645Z] gofmt -l . [2021-02-22T07:15:52.645Z] [ "`gofmt -l .`" = "" ] [2021-02-22T07:15:52.645Z] ./bin/test-go-mod-tidy.sh [2021-02-22T07:15:52.645Z] ./bin/test-attribution-txt.sh [2021-02-22T07:15:52.916Z] An attribution for github.com/fatih/color is missing from in Attribution.txt, please add [2021-02-22T07:15:52.916Z] An attribution for github.com/hashicorp/go-hclog is missing from in Attribution.txt, please add [2021-02-22T07:15:52.916Z] An attribution for github.com/mattn/go-colorable is missing from in Attribution.txt, please add [2021-02-22T07:15:52.916Z] An attribution for github.com/mattn/go-isatty is missing from in Attribution.txt, please add [2021-02-22T07:15:52.916Z] An attribution for golang.org/x/sys is missing from in Attribution.txt, please add [2021-02-22T07:15:53.186Z] make[1]: *** [Makefile:48: test] Error 1 [2021-02-22T07:15:53.186Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-02-22T07:15:53.186Z] make: *** [Makefile:9: test-template] Error 2 [Pipeline] } [2021-02-22T07:15:53.237Z] $ docker stop --time=1 b44778daa2de4b439f87d04d61cc1a1cd2fc2045f1f542cd6fd1d520c329287a [2021-02-22T07:15:55.548Z] $ docker rm -f b44778daa2de4b439f87d04d61cc1a1cd2fc2045f1f542cd6fd1d520c329287a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-22T07:15:58.060Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-02-22T07:16:04.171Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-22T07:16:04.678Z] ---> package-listing.sh [2021-02-22T07:16:04.678Z] ++ facter osfamily [2021-02-22T07:16:04.678Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-22T07:16:04.678Z] + OS_FAMILY=redhat [2021-02-22T07:16:04.678Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-705 [2021-02-22T07:16:04.678Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-22T07:16:04.678Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-22T07:16:04.678Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-22T07:16:04.678Z] + PACKAGES=/tmp/packages_start.txt [2021-02-22T07:16:04.678Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-705 ']' [2021-02-22T07:16:04.678Z] + PACKAGES=/tmp/packages_end.txt [2021-02-22T07:16:04.678Z] + case "${OS_FAMILY}" in [2021-02-22T07:16:04.678Z] + rpm -qa [2021-02-22T07:16:04.678Z] + sort [2021-02-22T07:16:09.996Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-22T07:16:09.996Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-22T07:16:09.996Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-22T07:16:09.996Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-705 ']' [2021-02-22T07:16:09.996Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-705/archives/ [2021-02-22T07:16:09.996Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-705/archives/ [Pipeline] echo [2021-02-22T07:16:10.128Z] 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-705/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-22T07:16:10.526Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-22T07:16:11.002Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-22T07:16:11.003Z] [2021-02-22T07:16:11.003Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-22T07:16:11.558Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-22T07:16:11.558Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-22T07:16:11.558Z] df20fa9351a1: Pulling fs layer [2021-02-22T07:16:11.558Z] 36b3adc4ff6f: Pulling fs layer [2021-02-22T07:16:11.558Z] 8ad3a11d3b57: Pulling fs layer [2021-02-22T07:16:11.558Z] 46f8f816bc3b: Pulling fs layer [2021-02-22T07:16:11.558Z] 93b61091891f: Pulling fs layer [2021-02-22T07:16:11.558Z] 93b9cdb0e59b: Pulling fs layer [2021-02-22T07:16:11.558Z] 5e14af77c1be: Pulling fs layer [2021-02-22T07:16:11.558Z] 01666e4c0597: Pulling fs layer [2021-02-22T07:16:11.558Z] aa168da1d23b: Pulling fs layer [2021-02-22T07:16:11.558Z] 46f8f816bc3b: Waiting [2021-02-22T07:16:11.558Z] 93b61091891f: Waiting [2021-02-22T07:16:11.558Z] 01666e4c0597: Waiting [2021-02-22T07:16:11.558Z] aa168da1d23b: Waiting [2021-02-22T07:16:11.558Z] 5e14af77c1be: Waiting [2021-02-22T07:16:11.558Z] 93b9cdb0e59b: Waiting [2021-02-22T07:16:11.558Z] 36b3adc4ff6f: Verifying Checksum [2021-02-22T07:16:11.558Z] 36b3adc4ff6f: Download complete [2021-02-22T07:16:11.558Z] 46f8f816bc3b: Verifying Checksum [2021-02-22T07:16:11.558Z] 46f8f816bc3b: Download complete [2021-02-22T07:16:11.558Z] df20fa9351a1: Download complete [2021-02-22T07:16:11.558Z] 93b9cdb0e59b: Verifying Checksum [2021-02-22T07:16:11.558Z] 93b9cdb0e59b: Download complete [2021-02-22T07:16:11.825Z] 5e14af77c1be: Verifying Checksum [2021-02-22T07:16:11.825Z] 5e14af77c1be: Download complete [2021-02-22T07:16:11.825Z] 01666e4c0597: Verifying Checksum [2021-02-22T07:16:11.825Z] 93b61091891f: Verifying Checksum [2021-02-22T07:16:11.825Z] 93b61091891f: Download complete [2021-02-22T07:16:11.825Z] 01666e4c0597: Download complete [2021-02-22T07:16:12.087Z] df20fa9351a1: Pull complete [2021-02-22T07:16:12.087Z] 36b3adc4ff6f: Pull complete [2021-02-22T07:16:12.667Z] 8ad3a11d3b57: Verifying Checksum [2021-02-22T07:16:12.667Z] 8ad3a11d3b57: Download complete [2021-02-22T07:16:13.249Z] 8ad3a11d3b57: Pull complete [2021-02-22T07:16:13.519Z] 46f8f816bc3b: Pull complete [2021-02-22T07:16:14.124Z] 93b61091891f: Pull complete [2021-02-22T07:16:14.388Z] aa168da1d23b: Verifying Checksum [2021-02-22T07:16:14.388Z] aa168da1d23b: Download complete [2021-02-22T07:16:14.388Z] 93b9cdb0e59b: Pull complete [2021-02-22T07:16:14.651Z] 5e14af77c1be: Pull complete [2021-02-22T07:16:14.651Z] 01666e4c0597: Pull complete [2021-02-22T07:16:22.848Z] aa168da1d23b: Pull complete [2021-02-22T07:16:22.848Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-22T07:16:22.848Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-22T07:16:22.848Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-22T07:16:23.146Z] prd-centos7-docker-4c-2g-27133 does not seem to be running inside a container [2021-02-22T07:16:23.236Z] $ 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-705/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-705 -v /w/workspace/ndry_app-functions-sdk-go_PR-705:/w/workspace/ndry_app-functions-sdk-go_PR-705:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-705@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-705@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-22T07:16:26.484Z] $ docker top a7a41cb934e14c8838077f84ae4d01fca7945b48542621d2caf5c9718357e670 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-22T07:16:27.146Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-22T07:16:27.522Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-22T07:16:27.937Z] + ls /var/log/sa-host [2021-02-22T07:16:27.937Z] + sadf -c /var/log/sa-host/sa22 [2021-02-22T07:16:27.937Z] file_magic: OK [2021-02-22T07:16:27.937Z] HZ: Using current value: 100 [2021-02-22T07:16:27.937Z] file_header: OK [2021-02-22T07:16:27.937Z] 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-02-22T07:16:27.937Z] Statistics: [2021-02-22T07:16:27.937Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-22T07:16:27.937Z] File successfully converted to sysstat format version 12.2.1 [2021-02-22T07:16:27.937Z] + sadf -c /var/log/sa-host/sa23 [2021-02-22T07:16:27.937Z] file_magic: OK [2021-02-22T07:16:27.937Z] HZ: Using current value: 100 [2021-02-22T07:16:27.937Z] file_header: OK [2021-02-22T07:16:27.937Z] 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-02-22T07:16:27.937Z] Statistics: [2021-02-22T07:16:27.937Z] Hnuu...uuuununununu... [2021-02-22T07:16:27.937Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-22T07:16:28.895Z] provisioning config files... [2021-02-22T07:16:28.914Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-705@tmp/config1139047136983031088tmp [Pipeline] { [Pipeline] echo [2021-02-22T07:16:29.304Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-22T07:16:29.884Z] ---> create-netrc.sh [Pipeline] } [2021-02-22T07:16:29.906Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-22T07:16:30.058Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-22T07:16:30.395Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-22T07:16:30.426Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-22T07:16:30.758Z] ---> sudo-logs.sh [2021-02-22T07:16:30.759Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-02-22T07:16:30.888Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-22T07:16:31.220Z] ---> job-cost.sh [2021-02-22T07:16:31.220Z] lf-activate-venv: SKIPPING [2021-02-22T07:16:31.220Z] INFO: No Stack... [2021-02-22T07:16:32.166Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-22T07:16:32.739Z] INFO: Archiving Costs [Pipeline] echo [2021-02-22T07:16:32.786Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-22T07:16:33.124Z] ---> logs-deploy.sh [2021-02-22T07:16:33.124Z] lf-activate-venv: SKIPPING [2021-02-22T07:16:33.124Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-705/1 [2021-02-22T07:16:33.124Z] INFO: archiving workspace using pattern(s): [2021-02-22T07:16:35.043Z] Archives upload complete. [2021-02-22T07:16:35.043Z] INFO: archiving logs to Nexus