Pull request #735 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 8780dcd831dba302c0564cd44c159b8fab072d4e+3ee2f0baa2d3a3d98ce4974c8435d92977f8a164 (850aa1a0e9095fb195b9004d4c2a556f93582a5e) 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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-735/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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > 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-735/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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 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-28951 in /w/workspace/ndry_app-functions-sdk-go_PR-735 [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-735 # 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/735/head:refs/remotes/origin/PR-735 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3ee2f0baa2d3a3d98ce4974c8435d92977f8a164 into PR head commit 8780dcd831dba302c0564cd44c159b8fab072d4e Merge succeeded, producing 8780dcd831dba302c0564cd44c159b8fab072d4e Checking out Revision 8780dcd831dba302c0564cd44c159b8fab072d4e (PR-735) > git config core.sparsecheckout # timeout=10 > git checkout -f 8780dcd831dba302c0564cd44c159b8fab072d4e # 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 3ee2f0baa2d3a3d98ce4974c8435d92977f8a164 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8780dcd831dba302c0564cd44c159b8fab072d4e # timeout=10 Commit message: "Bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-08T06:59:27.337Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-08T06:59:27.658Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-08T06:59:27.904Z] ========================================================= [2021-03-08T06:59:27.904Z] EdgeX Global Pipelines Version Info [2021-03-08T06:59:27.904Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-08T06:59:29.402Z] ------------------- [2021-03-08T06:59:29.402Z] stable info: [2021-03-08T06:59:29.402Z] ------------------- [2021-03-08T06:59:29.402Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-08T06:59:29.402Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-08T06:59:29.402Z] Message: update stable to v1.0.184 [2021-03-08T06:59:30.347Z] ------------------- [2021-03-08T06:59:30.347Z] experimental info: [2021-03-08T06:59:30.347Z] ------------------- [2021-03-08T06:59:30.347Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-08T06:59:30.347Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-08T06:59:30.347Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-08T06:59:30.888Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-03-08T06:59:31.011Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-03-08T06:59:31.144Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-08T06:59:31.294Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-08T06:59:31.425Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-08T06:59:31.559Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-08T06:59:31.685Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-08T06:59:31.833Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-08T06:59:31.953Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-03-08T06:59:32.078Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-08T06:59:32.208Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-08T06:59:32.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-03-08T06:59:32.484Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-08T06:59:32.609Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-08T06:59:32.769Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-03-08T06:59:32.905Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-08T06:59:33.036Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-08T06:59:33.161Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-08T06:59:33.296Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-08T06:59:33.420Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-08T06:59:33.560Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-08T06:59:33.688Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-03-08T06:59:33.826Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-08T06:59:33.957Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-08T06:59:34.084Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-03-08T06:59:34.213Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-08T06:59:34.336Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-735 [Pipeline] echo [2021-03-08T06:59:34.460Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-735 [Pipeline] echo [2021-03-08T06:59:34.586Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-735 [Pipeline] echo [2021-03-08T06:59:34.703Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8780dcd831dba302c0564cd44c159b8fab072d4e [Pipeline] echo [2021-03-08T06:59:34.857Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8780dcd [Pipeline] echo [2021-03-08T06:59:34.978Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-08T06:59:36.033Z] + git log --format=format:%s -1 8780dcd831dba302c0564cd44c159b8fab072d4e [Pipeline] echo [2021-03-08T06:59:36.120Z] GIT_COMMIT: 8780dcd831dba302c0564cd44c159b8fab072d4e, Commit Message: Bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo [2021-03-08T06:59:36.197Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-08T06:59:36.833Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-08T06:59:36.834Z] [2021-03-08T06:59:36.834Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-08T06:59:37.485Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-08T06:59:37.485Z] latest: Pulling from edgex-devops/git-semver [2021-03-08T06:59:37.485Z] 31603596830f: Pulling fs layer [2021-03-08T06:59:37.485Z] 2a8b12db71e7: Pulling fs layer [2021-03-08T06:59:37.485Z] 6ca5941a6612: Pulling fs layer [2021-03-08T06:59:37.485Z] ecc8261a40a4: Pulling fs layer [2021-03-08T06:59:37.485Z] ecc8261a40a4: Waiting [2021-03-08T06:59:37.485Z] 2a8b12db71e7: Download complete [2021-03-08T06:59:37.750Z] 31603596830f: Download complete [2021-03-08T06:59:37.750Z] ecc8261a40a4: Verifying Checksum [2021-03-08T06:59:37.750Z] ecc8261a40a4: Download complete [2021-03-08T06:59:37.750Z] 6ca5941a6612: Verifying Checksum [2021-03-08T06:59:37.750Z] 6ca5941a6612: Download complete [2021-03-08T06:59:38.013Z] 31603596830f: Pull complete [2021-03-08T06:59:38.013Z] 2a8b12db71e7: Pull complete [2021-03-08T06:59:38.967Z] 6ca5941a6612: Pull complete [2021-03-08T06:59:39.231Z] ecc8261a40a4: Pull complete [2021-03-08T06:59:39.231Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-08T06:59:39.231Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-08T06:59:39.231Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-08T06:59:39.394Z] prd-centos7-docker-4c-2g-28951 does not seem to be running inside a container [2021-03-08T06:59:39.441Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-735 -v /w/workspace/ndry_app-functions-sdk-go_PR-735:/w/workspace/ndry_app-functions-sdk-go_PR-735:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-735@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-735@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-03-08T06:59:41.746Z] $ docker top eb9208f1d376f1c44f676d75db566f3364a121ea3c701e0a9c44adb83b1c3ee2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-08T06:59:42.279Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-08T06:59:42.279Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-08T06:59:42.506Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-08T06:59:42.509Z] $ docker exec eb9208f1d376f1c44f676d75db566f3364a121ea3c701e0a9c44adb83b1c3ee2 ssh-agent [2021-03-08T06:59:42.676Z] SSH_AUTH_SOCK=/tmp/ssh-Uz4eVCnFHk4q/agent.12 [2021-03-08T06:59:42.676Z] SSH_AGENT_PID=18 [2021-03-08T06:59:42.762Z] Running ssh-add (command line suppressed) [2021-03-08T06:59:42.892Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-735@tmp/private_key_7425373632684721705.key (/w/workspace/ndry_app-functions-sdk-go_PR-735@tmp/private_key_7425373632684721705.key) [2021-03-08T06:59:42.946Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-08T06:59:43.326Z] + git tag --points-at HEAD [Pipeline] } [2021-03-08T06:59:43.357Z] $ docker exec --env ******** --env ******** eb9208f1d376f1c44f676d75db566f3364a121ea3c701e0a9c44adb83b1c3ee2 ssh-agent -k [2021-03-08T06:59:43.473Z] unset SSH_AUTH_SOCK; [2021-03-08T06:59:43.473Z] unset SSH_AGENT_PID; [2021-03-08T06:59:43.473Z] echo Agent pid 18 killed; [2021-03-08T06:59:43.519Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-08T06:59:43.718Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-08T06:59:43.718Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-08T06:59:43.880Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-08T06:59:43.884Z] $ docker exec eb9208f1d376f1c44f676d75db566f3364a121ea3c701e0a9c44adb83b1c3ee2 ssh-agent [2021-03-08T06:59:44.043Z] SSH_AUTH_SOCK=/tmp/ssh-qcTKtwkampYC/agent.47 [2021-03-08T06:59:44.043Z] SSH_AGENT_PID=52 [2021-03-08T06:59:44.051Z] Running ssh-add (command line suppressed) [2021-03-08T06:59:44.169Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-735@tmp/private_key_4765140790176862735.key (/w/workspace/ndry_app-functions-sdk-go_PR-735@tmp/private_key_4765140790176862735.key) [2021-03-08T06:59:44.220Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-08T06:59:44.612Z] + git semver init [2021-03-08T06:59:44.612Z] # -> Open(): unable to determine branch for HEAD [2021-03-08T06:59:44.612Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-735/.git [2021-03-08T06:59:44.612Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-735 [2021-03-08T06:59:44.612Z] # $SEMVER_REMOTE_NAME = origin [2021-03-08T06:59:44.612Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-08T06:59:44.612Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-08T06:59:44.612Z] # $SEMVER_BRANCH = PR-735 [2021-03-08T06:59:44.612Z] # $SEMVER_TEMP = /tmp/semver-994315491 [2021-03-08T06:59:44.612Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-03-08T06:59:47.175Z] # '/tmp/semver-994315491' -> '/w/workspace/ndry_app-functions-sdk-go_PR-735/.semver' [2021-03-08T06:59:47.175Z] # -> Force: false [2021-03-08T06:59:47.175Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-735/.semver [Pipeline] } [2021-03-08T06:59:47.199Z] $ docker exec --env ******** --env ******** eb9208f1d376f1c44f676d75db566f3364a121ea3c701e0a9c44adb83b1c3ee2 ssh-agent -k [2021-03-08T06:59:47.312Z] unset SSH_AUTH_SOCK; [2021-03-08T06:59:47.312Z] unset SSH_AGENT_PID; [2021-03-08T06:59:47.312Z] echo Agent pid 52 killed; [2021-03-08T06:59:47.364Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-08T06:59:47.931Z] + git semver [Pipeline] } [2021-03-08T06:59:47.965Z] $ docker stop --time=1 eb9208f1d376f1c44f676d75db566f3364a121ea3c701e0a9c44adb83b1c3ee2 [2021-03-08T06:59:49.409Z] $ docker rm -f eb9208f1d376f1c44f676d75db566f3364a121ea3c701e0a9c44adb83b1c3ee2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-08T06:59:49.982Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-08T06:59:50.499Z] Stashed 1 file(s) [Pipeline] echo [2021-03-08T06:59:50.520Z] [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-03-08T07:00:06.581Z] Still waiting to schedule task [2021-03-08T07:00:06.581Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-03-08T07:00:06.607Z] Still waiting to schedule task [2021-03-08T07:00:06.608Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-08T07:01:23.449Z] Running on prd-centos7-docker-4c-2g-28956 in /w/workspace/ndry_app-functions-sdk-go_PR-735 [Pipeline] { [Pipeline] ws [2021-03-08T07:01:23.565Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-03-08T07:01:26.200Z] using credential edgex-jenkins-ssh [2021-03-08T07:01:26.297Z] Cloning the remote Git repository [2021-03-08T07:01:26.328Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-08T07:01:26.392Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-03-08T07:01:26.483Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-08T07:01:26.483Z] > git --version # timeout=10 [2021-03-08T07:01:26.499Z] > git --version # 'git version 2.24.3' [2021-03-08T07:01:26.500Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-08T07:01:26.529Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-08T07:01:28.326Z] Merging remotes/origin/master commit 3ee2f0baa2d3a3d98ce4974c8435d92977f8a164 into PR head commit 8780dcd831dba302c0564cd44c159b8fab072d4e [2021-03-08T07:01:28.425Z] Merge succeeded, producing 8780dcd831dba302c0564cd44c159b8fab072d4e [2021-03-08T07:01:28.425Z] Checking out Revision 8780dcd831dba302c0564cd44c159b8fab072d4e (PR-735) [2021-03-08T07:01:27.930Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-08T07:01:27.938Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-08T07:01:27.950Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-08T07:01:27.964Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-08T07:01:27.965Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-08T07:01:27.969Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/735/head:refs/remotes/origin/PR-735 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-08T07:01:28.337Z] > git config core.sparsecheckout # timeout=10 [2021-03-08T07:01:28.344Z] > git checkout -f 8780dcd831dba302c0564cd44c159b8fab072d4e # timeout=10 [2021-03-08T07:01:28.393Z] > git remote # timeout=10 [2021-03-08T07:01:28.398Z] > git config --get remote.origin.url # timeout=10 [2021-03-08T07:01:28.405Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-08T07:01:28.409Z] > git merge 3ee2f0baa2d3a3d98ce4974c8435d92977f8a164 # timeout=10 [2021-03-08T07:01:28.419Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-08T07:01:28.427Z] > git config core.sparsecheckout # timeout=10 [2021-03-08T07:01:28.431Z] > git checkout -f 8780dcd831dba302c0564cd44c159b8fab072d4e # timeout=10 [2021-03-08T07:01:32.174Z] Commit message: "Bump github.com/edgexfoundry/go-mod-messaging/v2" [2021-03-08T07:01:32.198Z] > git --version # timeout=10 [2021-03-08T07:01:32.203Z] > git --version # 'git version 2.24.3' [2021-03-08T07:01:32.206Z] fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-08T07:01:33.573Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-08T07:01:33.935Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-08T07:01:34.291Z] + sudo service docker restart [2021-03-08T07:01:34.291Z] + true [2021-03-08T07:01:34.291Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-03-08T07:01:36.024Z] ========================================================= [2021-03-08T07:01:36.024Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-08T07:01:36.024Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-08T07:01:36.407Z] + 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-03-08T07:01:36.982Z] Sending build context to Docker daemon 19.25MB [2021-03-08T07:01:36.982Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-08T07:01:36.982Z] Step 2/8 : FROM ${BASE} [2021-03-08T07:01:36.982Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-08T07:01:36.982Z] 188c0c94c7c5: Pulling fs layer [2021-03-08T07:01:36.982Z] 0ef7d3d256c8: Pulling fs layer [2021-03-08T07:01:36.982Z] de9db76c5a1d: Pulling fs layer [2021-03-08T07:01:36.982Z] bca2f99d35d6: Pulling fs layer [2021-03-08T07:01:36.982Z] 93359f2a8cfa: Pulling fs layer [2021-03-08T07:01:36.982Z] 7c6f9722023f: Pulling fs layer [2021-03-08T07:01:36.982Z] a35cf1a2eb13: Pulling fs layer [2021-03-08T07:01:36.982Z] bca2f99d35d6: Waiting [2021-03-08T07:01:36.982Z] 7c6f9722023f: Waiting [2021-03-08T07:01:36.982Z] a35cf1a2eb13: Waiting [2021-03-08T07:01:36.982Z] 93359f2a8cfa: Waiting [2021-03-08T07:01:36.982Z] de9db76c5a1d: Verifying Checksum [2021-03-08T07:01:36.982Z] de9db76c5a1d: Download complete [2021-03-08T07:01:36.982Z] 0ef7d3d256c8: Verifying Checksum [2021-03-08T07:01:36.982Z] 0ef7d3d256c8: Download complete [2021-03-08T07:01:37.246Z] 93359f2a8cfa: Download complete [2021-03-08T07:01:37.508Z] 7c6f9722023f: Verifying Checksum [2021-03-08T07:01:37.509Z] 7c6f9722023f: Download complete [2021-03-08T07:01:37.771Z] 188c0c94c7c5: Verifying Checksum [2021-03-08T07:01:37.771Z] 188c0c94c7c5: Download complete [2021-03-08T07:01:38.035Z] 188c0c94c7c5: Pull complete [2021-03-08T07:01:38.301Z] 0ef7d3d256c8: Pull complete [2021-03-08T07:01:38.301Z] de9db76c5a1d: Pull complete [2021-03-08T07:01:40.860Z] a35cf1a2eb13: Verifying Checksum [2021-03-08T07:01:40.860Z] a35cf1a2eb13: Download complete [2021-03-08T07:01:41.808Z] bca2f99d35d6: Verifying Checksum [2021-03-08T07:01:41.808Z] bca2f99d35d6: Download complete [2021-03-08T07:01:47.159Z] bca2f99d35d6: Pull complete [2021-03-08T07:01:47.159Z] 93359f2a8cfa: Pull complete [2021-03-08T07:01:47.159Z] 7c6f9722023f: Pull complete [2021-03-08T07:01:53.782Z] a35cf1a2eb13: Pull complete [2021-03-08T07:01:53.782Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-08T07:01:53.782Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-08T07:01:53.782Z] ---> a62c8e92a672 [2021-03-08T07:01:53.782Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-03-08T07:01:53.782Z] 20.10.0: Pulling from library/docker [2021-03-08T07:01:53.782Z] 05e7bc50f07f: Pulling fs layer [2021-03-08T07:01:53.782Z] 6db28d0fdbf6: Pulling fs layer [2021-03-08T07:01:53.782Z] 292df0bc6bf3: Pulling fs layer [2021-03-08T07:01:53.782Z] 2e060f4bd70b: Pulling fs layer [2021-03-08T07:01:53.782Z] 80e8d568a223: Pulling fs layer [2021-03-08T07:01:53.782Z] 8dc6ef1a942a: Pulling fs layer [2021-03-08T07:01:53.782Z] 2312dd95470a: Pulling fs layer [2021-03-08T07:01:53.782Z] 2e060f4bd70b: Waiting [2021-03-08T07:01:53.782Z] 80e8d568a223: Waiting [2021-03-08T07:01:53.782Z] 8dc6ef1a942a: Waiting [2021-03-08T07:01:53.782Z] 2312dd95470a: Waiting [2021-03-08T07:01:53.782Z] 292df0bc6bf3: Verifying Checksum [2021-03-08T07:01:53.782Z] 292df0bc6bf3: Download complete [2021-03-08T07:01:53.782Z] 6db28d0fdbf6: Verifying Checksum [2021-03-08T07:01:53.782Z] 6db28d0fdbf6: Download complete [2021-03-08T07:01:53.782Z] 80e8d568a223: Verifying Checksum [2021-03-08T07:01:53.782Z] 80e8d568a223: Download complete [2021-03-08T07:01:54.048Z] 05e7bc50f07f: Verifying Checksum [2021-03-08T07:01:54.048Z] 05e7bc50f07f: Download complete [2021-03-08T07:01:54.048Z] 8dc6ef1a942a: Verifying Checksum [2021-03-08T07:01:54.048Z] 8dc6ef1a942a: Download complete [2021-03-08T07:01:54.048Z] 2312dd95470a: Verifying Checksum [2021-03-08T07:01:54.048Z] 2312dd95470a: Download complete [2021-03-08T07:01:54.320Z] 05e7bc50f07f: Pull complete [2021-03-08T07:01:54.583Z] 6db28d0fdbf6: Pull complete [2021-03-08T07:01:54.846Z] 292df0bc6bf3: Pull complete [2021-03-08T07:01:55.431Z] 2e060f4bd70b: Verifying Checksum [2021-03-08T07:01:55.431Z] 2e060f4bd70b: Download complete [2021-03-08T07:01:58.010Z] 2e060f4bd70b: Pull complete [2021-03-08T07:01:58.010Z] 80e8d568a223: Pull complete [2021-03-08T07:01:58.277Z] 8dc6ef1a942a: Pull complete [2021-03-08T07:01:58.277Z] 2312dd95470a: Pull complete [2021-03-08T07:01:58.277Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-03-08T07:01:58.277Z] Status: Downloaded newer image for docker:20.10.0 [2021-03-08T07:02:00.206Z] ---> ee6745e583fc [2021-03-08T07:02:00.206Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-08T07:02:00.206Z] ---> Running in 8c3f9df86797 [2021-03-08T07:02:00.206Z] Removing intermediate container 8c3f9df86797 [2021-03-08T07:02:00.206Z] ---> f48a5310bcdd [2021-03-08T07:02:00.206Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-03-08T07:02:00.206Z] ---> Running in a394feca17bd [2021-03-08T07:02:01.151Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-08T07:02:01.724Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-08T07:02:02.304Z] (1/5) Installing libsodium (1.0.18-r0) [2021-03-08T07:02:02.567Z] (2/5) Installing libzmq (4.3.3-r0) [2021-03-08T07:02:02.567Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-03-08T07:02:02.831Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-03-08T07:02:02.831Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-03-08T07:02:02.831Z] Executing busybox-1.31.1-r19.trigger [2021-03-08T07:02:02.831Z] OK: 167 MiB in 44 packages [2021-03-08T07:02:03.414Z] Removing intermediate container a394feca17bd [2021-03-08T07:02:03.414Z] ---> 76fd742f2069 [2021-03-08T07:02:03.414Z] Step 6/8 : WORKDIR /build [2021-03-08T07:02:03.414Z] ---> Running in 7060feb80b18 [2021-03-08T07:02:03.680Z] Removing intermediate container 7060feb80b18 [2021-03-08T07:02:03.680Z] ---> 4e625ee55341 [2021-03-08T07:02:03.680Z] Step 7/8 : COPY go.mod . [2021-03-08T07:02:03.945Z] ---> b6ac5a61a76d [2021-03-08T07:02:03.945Z] Step 8/8 : RUN go mod download [2021-03-08T07:02:03.945Z] ---> Running in 50abfef1ee41 [2021-03-08T07:02:30.589Z] Removing intermediate container 50abfef1ee41 [2021-03-08T07:02:30.589Z] ---> 97cccb878bc3 [2021-03-08T07:02:30.589Z] Successfully built 97cccb878bc3 [2021-03-08T07:02:30.589Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-08T07:02:30.938Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-08T07:02:30.938Z] . [Pipeline] withDockerContainer [2021-03-08T07:02:31.082Z] prd-centos7-docker-4c-2g-28956 does not seem to be running inside a container [2021-03-08T07:02:31.133Z] $ 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-x86_64 cat [2021-03-08T07:02:31.765Z] $ docker top 39855c7c9965a5c66a2f7db584f6f67a4c04164a7c1141eb4e447962989c54bc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-08T07:02:32.289Z] + go version [2021-03-08T07:02:32.289Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-08T07:02:32.320Z] $ docker stop --time=1 39855c7c9965a5c66a2f7db584f6f67a4c04164a7c1141eb4e447962989c54bc [2021-03-08T07:02:33.661Z] $ docker rm -f 39855c7c9965a5c66a2f7db584f6f67a4c04164a7c1141eb4e447962989c54bc [2021-03-08T07:02:33.698Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-28958 in /w/workspace/ndry_app-functions-sdk-go_PR-735 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] ws [2021-03-08T07:02:34.036Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] checkout [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-08T07:02:34.918Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-08T07:02:34.918Z] . [Pipeline] withDockerContainer [2021-03-08T07:02:35.043Z] prd-centos7-docker-4c-2g-28956 does not seem to be running inside a container [2021-03-08T07:02:35.109Z] $ 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-x86_64 cat [2021-03-08T07:02:35.707Z] $ docker top a4bd7b782603958017cf074731a5998926b938c02a4007f0401883fb1071c612 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-08T07:02:36.291Z] + make test [2021-03-08T07:02:36.291Z] make -C ./app-service-template build [2021-03-08T07:02:36.291Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-03-08T07:02:36.291Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-03-08T07:02:39.651Z] using credential edgex-jenkins-ssh [2021-03-08T07:02:39.703Z] Cloning the remote Git repository [2021-03-08T07:02:39.768Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-08T07:02:39.874Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-03-08T07:02:39.970Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-08T07:02:39.970Z] > git --version # timeout=10 [2021-03-08T07:02:39.989Z] > git --version # 'git version 2.17.1' [2021-03-08T07:02:39.991Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-08T07:02:40.047Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-08T07:02:46.123Z] Merging remotes/origin/master commit 3ee2f0baa2d3a3d98ce4974c8435d92977f8a164 into PR head commit 8780dcd831dba302c0564cd44c159b8fab072d4e [2021-03-08T07:02:45.486Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-08T07:02:45.502Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-08T07:02:45.531Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-08T07:02:45.582Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-08T07:02:45.582Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-08T07:02:45.595Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/735/head:refs/remotes/origin/PR-735 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-08T07:02:46.146Z] > git config core.sparsecheckout # timeout=10 [2021-03-08T07:02:46.459Z] Merge succeeded, producing 8780dcd831dba302c0564cd44c159b8fab072d4e [2021-03-08T07:02:46.459Z] Checking out Revision 8780dcd831dba302c0564cd44c159b8fab072d4e (PR-735) [2021-03-08T07:02:46.168Z] > git checkout -f 8780dcd831dba302c0564cd44c159b8fab072d4e # timeout=10 [2021-03-08T07:02:46.277Z] > git remote # timeout=10 [2021-03-08T07:02:46.337Z] > git config --get remote.origin.url # timeout=10 [2021-03-08T07:02:46.382Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-08T07:02:46.401Z] > git merge 3ee2f0baa2d3a3d98ce4974c8435d92977f8a164 # timeout=10 [2021-03-08T07:02:46.435Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-08T07:02:46.471Z] > git config core.sparsecheckout # timeout=10 [2021-03-08T07:02:46.518Z] > git checkout -f 8780dcd831dba302c0564cd44c159b8fab072d4e # timeout=10 [2021-03-08T07:02:50.886Z] Commit message: "Bump github.com/edgexfoundry/go-mod-messaging/v2" [2021-03-08T07:02:50.948Z] > git --version # timeout=10 [2021-03-08T07:02:50.964Z] > git --version # 'git version 2.17.1' [2021-03-08T07:02:50.984Z] fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-08T07:02:51.322Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-03-08T07:02:51.322Z] make -C ./app-service-template test [2021-03-08T07:02:51.322Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-03-08T07:02:51.322Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-08T07:02:52.811Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-08T07:02:54.361Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-08T07:02:54.724Z] + + sudo servicetrue docker [2021-03-08T07:02:54.724Z] restart [2021-03-08T07:02:55.782Z] ? new-app-service [no test files] [2021-03-08T07:02:56.059Z] ok new-app-service/functions 0.008s coverage: 75.8% of statements [2021-03-08T07:02:56.059Z] CGO_ENABLED=1 go vet ./... [Pipeline] unstash [Pipeline] echo [2021-03-08T07:02:57.692Z] ========================================================= [2021-03-08T07:02:57.692Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-08T07:02:57.692Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-08T07:02:58.107Z] + 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-03-08T07:02:59.096Z] Sending build context to Docker daemon 19.24MB [2021-03-08T07:02:59.096Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-08T07:02:59.096Z] Step 2/8 : FROM ${BASE} [2021-03-08T07:02:59.380Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-08T07:02:59.380Z] 5f621e34cdf4: Pulling fs layer [2021-03-08T07:02:59.380Z] a4357932f1b6: Pulling fs layer [2021-03-08T07:02:59.380Z] 18c013af1878: Pulling fs layer [2021-03-08T07:02:59.380Z] 00ac8860ef70: Pulling fs layer [2021-03-08T07:02:59.380Z] 63d7cb157983: Pulling fs layer [2021-03-08T07:02:59.380Z] b116817d02f9: Pulling fs layer [2021-03-08T07:02:59.380Z] 745a02a5169b: Pulling fs layer [2021-03-08T07:02:59.380Z] 00ac8860ef70: Waiting [2021-03-08T07:02:59.380Z] b116817d02f9: Waiting [2021-03-08T07:02:59.435Z] gofmt -l . [2021-03-08T07:02:59.435Z] [ "`gofmt -l .`" = "" ] [2021-03-08T07:02:59.435Z] ./bin/test-go-mod-tidy.sh [2021-03-08T07:02:59.435Z] ./bin/test-attribution-txt.sh [2021-03-08T07:02:59.655Z] 18c013af1878: Verifying Checksum [2021-03-08T07:02:59.655Z] 18c013af1878: Download complete [2021-03-08T07:02:59.655Z] a4357932f1b6: Download complete [2021-03-08T07:02:59.655Z] 63d7cb157983: Verifying Checksum [2021-03-08T07:02:59.655Z] 63d7cb157983: Download complete [2021-03-08T07:02:59.655Z] b116817d02f9: Verifying Checksum [2021-03-08T07:02:59.655Z] b116817d02f9: Download complete [2021-03-08T07:02:59.655Z] 5f621e34cdf4: Verifying Checksum [2021-03-08T07:02:59.655Z] 5f621e34cdf4: Download complete [2021-03-08T07:03:00.011Z] An attribution for github.com/gorilla/websocket is missing from in Attribution.txt, please add [2021-03-08T07:03:00.011Z] make[1]: *** [Makefile:48: test] Error 1 [2021-03-08T07:03:00.011Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-03-08T07:03:00.011Z] make: *** [Makefile:9: test-template] Error 2 [Pipeline] } [2021-03-08T07:03:00.086Z] $ docker stop --time=1 a4bd7b782603958017cf074731a5998926b938c02a4007f0401883fb1071c612 [2021-03-08T07:03:00.270Z] 5f621e34cdf4: Pull complete [2021-03-08T07:03:00.887Z] a4357932f1b6: Pull complete [2021-03-08T07:03:01.163Z] 18c013af1878: Pull complete [2021-03-08T07:03:02.003Z] $ docker rm -f a4bd7b782603958017cf074731a5998926b938c02a4007f0401883fb1071c612 [2021-03-08T07:03:02.149Z] 745a02a5169b: Verifying Checksum [2021-03-08T07:03:02.149Z] 745a02a5169b: Download complete [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] } [2021-03-08T07:03:03.152Z] 00ac8860ef70: Verifying Checksum [2021-03-08T07:03:03.152Z] 00ac8860ef70: Download complete [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-08T07:03:04.235Z] ---> job-cost.sh [2021-03-08T07:03:04.235Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Vjop [2021-03-08T07:03:13.342Z] 00ac8860ef70: Pull complete [2021-03-08T07:03:13.621Z] 63d7cb157983: Pull complete [2021-03-08T07:03:14.219Z] b116817d02f9: Pull complete [2021-03-08T07:03:18.550Z] 745a02a5169b: Pull complete [2021-03-08T07:03:18.550Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-08T07:03:18.550Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-08T07:03:18.550Z] ---> b7e6874047d6 [2021-03-08T07:03:18.550Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-03-08T07:03:18.550Z] 20.10.0: Pulling from library/docker [2021-03-08T07:03:18.550Z] a3cc7d3b244e: Pulling fs layer [2021-03-08T07:03:18.550Z] 02a3295e0d61: Pulling fs layer [2021-03-08T07:03:18.550Z] 0f4f2e6d8100: Pulling fs layer [2021-03-08T07:03:18.550Z] 330b718f631f: Pulling fs layer [2021-03-08T07:03:18.550Z] a93816041522: Pulling fs layer [2021-03-08T07:03:18.550Z] bdb6da89ff94: Pulling fs layer [2021-03-08T07:03:18.550Z] 2a70c0c122f4: Pulling fs layer [2021-03-08T07:03:18.550Z] a93816041522: Waiting [2021-03-08T07:03:18.550Z] bdb6da89ff94: Waiting [2021-03-08T07:03:18.550Z] 2a70c0c122f4: Waiting [2021-03-08T07:03:18.550Z] 330b718f631f: Waiting [2021-03-08T07:03:18.550Z] 0f4f2e6d8100: Verifying Checksum [2021-03-08T07:03:18.550Z] 0f4f2e6d8100: Download complete [2021-03-08T07:03:18.550Z] a3cc7d3b244e: Verifying Checksum [2021-03-08T07:03:18.550Z] a3cc7d3b244e: Download complete [2021-03-08T07:03:18.550Z] 02a3295e0d61: Verifying Checksum [2021-03-08T07:03:18.550Z] 02a3295e0d61: Download complete [2021-03-08T07:03:18.550Z] a93816041522: Verifying Checksum [2021-03-08T07:03:18.550Z] a93816041522: Download complete [2021-03-08T07:03:18.550Z] bdb6da89ff94: Verifying Checksum [2021-03-08T07:03:18.550Z] bdb6da89ff94: Download complete [2021-03-08T07:03:18.550Z] 2a70c0c122f4: Download complete [2021-03-08T07:03:18.550Z] a3cc7d3b244e: Pull complete [2021-03-08T07:03:19.183Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-08T07:03:19.538Z] 02a3295e0d61: Pull complete [2021-03-08T07:03:19.811Z] 0f4f2e6d8100: Pull complete [2021-03-08T07:03:19.811Z] 330b718f631f: Verifying Checksum [2021-03-08T07:03:19.811Z] 330b718f631f: Download complete [2021-03-08T07:03:24.138Z] 330b718f631f: Pull complete [2021-03-08T07:03:24.138Z] a93816041522: Pull complete [2021-03-08T07:03:24.138Z] bdb6da89ff94: Pull complete [2021-03-08T07:03:24.415Z] 2a70c0c122f4: Pull complete [2021-03-08T07:03:24.415Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-03-08T07:03:24.415Z] Status: Downloaded newer image for docker:20.10.0 [2021-03-08T07:03:31.172Z] ---> 3b8bae8c07a1 [2021-03-08T07:03:31.172Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-08T07:03:31.172Z] ---> Running in c0f689144271 [2021-03-08T07:03:31.172Z] Removing intermediate container c0f689144271 [2021-03-08T07:03:31.172Z] ---> c12459ed25d9 [2021-03-08T07:03:31.172Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-03-08T07:03:31.172Z] ---> Running in abae97642136 [2021-03-08T07:03:32.611Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-08T07:03:33.204Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-08T07:03:33.803Z] (1/5) Installing libsodium (1.0.18-r0) [2021-03-08T07:03:33.803Z] (2/5) Installing libzmq (4.3.3-r0) [2021-03-08T07:03:34.077Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-03-08T07:03:34.077Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-03-08T07:03:34.357Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-03-08T07:03:34.357Z] Executing busybox-1.31.1-r19.trigger [2021-03-08T07:03:34.357Z] OK: 144 MiB in 44 packages [2021-03-08T07:03:35.808Z] Removing intermediate container abae97642136 [2021-03-08T07:03:35.808Z] ---> ea5a20d8e8e5 [2021-03-08T07:03:35.809Z] Step 6/8 : WORKDIR /build [2021-03-08T07:03:35.809Z] ---> Running in e10194fad0fb [2021-03-08T07:03:36.407Z] Removing intermediate container e10194fad0fb [2021-03-08T07:03:36.407Z] ---> 63f0d20de2f5 [2021-03-08T07:03:36.407Z] Step 7/8 : COPY go.mod . [2021-03-08T07:03:37.006Z] ---> 7be5e930db1b [2021-03-08T07:03:37.006Z] Step 8/8 : RUN go mod download [2021-03-08T07:03:37.006Z] ---> Running in 4d02fa9af743 [2021-03-08T07:03:45.801Z] lf-activate-venv(): INFO: Adding /tmp/venv-Vjop/bin to PATH [2021-03-08T07:03:45.802Z] INFO: No Stack... [2021-03-08T07:03:45.802Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-08T07:03:45.802Z] INFO: Archiving Costs [Pipeline] sh [2021-03-08T07:03:46.129Z] + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv [2021-03-08T07:03:46.129Z] + cut -d, -f6 [Pipeline] lock [2021-03-08T07:03:46.248Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-735-1-stack-cost] [2021-03-08T07:03:46.254Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-735-1-stack-cost] did not exist. Created. [2021-03-08T07:03:46.254Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-735-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-08T07:03:46.724Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-08T07:03:47.172Z] Stashed 1 file(s) [Pipeline] } [2021-03-08T07:03:47.191Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-735-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-08T07:03:48.175Z] Failed in branch amd64 [2021-03-08T07:04:03.799Z] Removing intermediate container 4d02fa9af743 [2021-03-08T07:04:03.799Z] ---> 3826eafd32e5 [2021-03-08T07:04:03.799Z] Successfully built 3826eafd32e5 [2021-03-08T07:04:03.799Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-08T07:04:04.182Z] + docker inspect -f . ci-base-image-arm64 [2021-03-08T07:04:04.182Z] . [Pipeline] withDockerContainer [2021-03-08T07:04:04.440Z] prd-ubuntu18.04-docker-arm64-4c-16g-28958 does not seem to be running inside a container [2021-03-08T07:04:04.522Z] $ 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-03-08T07:04:06.014Z] $ docker top 8b16b54e1cb2d9a18aff45709ea8c935fa9e2c269c7752c774059709bfc55c93 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-08T07:04:07.168Z] + go version [2021-03-08T07:04:07.168Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-08T07:04:07.199Z] $ docker stop --time=1 8b16b54e1cb2d9a18aff45709ea8c935fa9e2c269c7752c774059709bfc55c93 [2021-03-08T07:04:09.053Z] $ docker rm -f 8b16b54e1cb2d9a18aff45709ea8c935fa9e2c269c7752c774059709bfc55c93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-08T07:04:10.268Z] + docker inspect -f . ci-base-image-arm64 [2021-03-08T07:04:10.268Z] . [Pipeline] withDockerContainer [2021-03-08T07:04:10.543Z] prd-ubuntu18.04-docker-arm64-4c-16g-28958 does not seem to be running inside a container [2021-03-08T07:04:10.649Z] $ 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-03-08T07:04:11.957Z] $ docker top c3a03525fe25066b5cc5184d4e128a67c7101f94cd8bf16dbee643c6db3d313e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-08T07:04:12.969Z] + make test [2021-03-08T07:04:12.969Z] make -C ./app-service-template build [2021-03-08T07:04:12.969Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-03-08T07:04:12.969Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-03-08T07:04:52.016Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-03-08T07:04:52.016Z] make -C ./app-service-template test [2021-03-08T07:04:52.016Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-03-08T07:04:52.016Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-03-08T07:05:07.191Z] ? new-app-service [no test files] [2021-03-08T07:05:07.191Z] ok new-app-service/functions 0.024s coverage: 75.8% of statements [2021-03-08T07:05:07.462Z] CGO_ENABLED=1 go vet ./... [2021-03-08T07:05:17.654Z] gofmt -l . [2021-03-08T07:05:17.654Z] [ "`gofmt -l .`" = "" ] [2021-03-08T07:05:17.654Z] ./bin/test-go-mod-tidy.sh [2021-03-08T07:05:17.654Z] ./bin/test-attribution-txt.sh [2021-03-08T07:05:17.928Z] An attribution for github.com/gorilla/websocket is missing from in Attribution.txt, please add [2021-03-08T07:05:18.202Z] make[1]: *** [Makefile:48: test] Error 1 [2021-03-08T07:05:18.202Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-03-08T07:05:18.202Z] make: *** [Makefile:9: test-template] Error 2 [Pipeline] } [2021-03-08T07:05:18.247Z] $ docker stop --time=1 c3a03525fe25066b5cc5184d4e128a67c7101f94cd8bf16dbee643c6db3d313e [2021-03-08T07:05:20.384Z] $ docker rm -f c3a03525fe25066b5cc5184d4e128a67c7101f94cd8bf16dbee643c6db3d313e [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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-08T07:05:22.255Z] ---> job-cost.sh [2021-03-08T07:05:22.255Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-V4gH [2021-03-08T07:06:01.389Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-08T07:08:08.199Z] lf-activate-venv(): INFO: Adding /tmp/venv-V4gH/bin to PATH [2021-03-08T07:08:08.199Z] INFO: No Stack... [2021-03-08T07:08:08.199Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-08T07:08:08.199Z] INFO: Archiving Costs [Pipeline] sh [2021-03-08T07:08:08.565Z] + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv [2021-03-08T07:08:08.566Z] + cut -d, -f6 [Pipeline] lock [2021-03-08T07:08:08.700Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-735-1-stack-cost] [2021-03-08T07:08:08.726Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-735-1-stack-cost] did not exist. Created. [2021-03-08T07:08:08.726Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-735-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-08T07:08:09.239Z] /w/workspace/app-functions-sdk-go/1@tmp/durable-69939424/script.sh: 1: /w/workspace/app-functions-sdk-go/1@tmp/durable-69939424/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-08T07:08:09.612Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-08T07:08:09.655Z] Warning: overwriting stash ‘stack-cost’ [2021-03-08T07:08:10.497Z] Stashed 1 file(s) [Pipeline] } [2021-03-08T07:08:10.544Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-735-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-08T07:08:12.652Z] 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] { (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-03-08T07:08:16.635Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T07:08:17.262Z] ---> package-listing.sh [2021-03-08T07:08:17.262Z] ++ facter osfamily [2021-03-08T07:08:17.262Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-08T07:08:17.262Z] + OS_FAMILY=redhat [2021-03-08T07:08:17.262Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-735 [2021-03-08T07:08:17.262Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-08T07:08:17.263Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-08T07:08:17.263Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-08T07:08:17.263Z] + PACKAGES=/tmp/packages_start.txt [2021-03-08T07:08:17.263Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-735 ']' [2021-03-08T07:08:17.263Z] + PACKAGES=/tmp/packages_end.txt [2021-03-08T07:08:17.263Z] + case "${OS_FAMILY}" in [2021-03-08T07:08:17.263Z] + rpm -qa [2021-03-08T07:08:17.263Z] + sort [2021-03-08T07:08:22.578Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-08T07:08:22.578Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-08T07:08:22.578Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-08T07:08:22.578Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-735 ']' [2021-03-08T07:08:22.578Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-735/archives/ [2021-03-08T07:08:22.578Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-735/archives/ [Pipeline] echo [2021-03-08T07:08:22.612Z] 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-735/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-08T07:08:22.935Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-08T07:08:23.292Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-08T07:08:23.292Z] [2021-03-08T07:08:23.292Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-08T07:08:23.697Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-08T07:08:23.698Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-08T07:08:23.698Z] df20fa9351a1: Pulling fs layer [2021-03-08T07:08:23.698Z] 36b3adc4ff6f: Pulling fs layer [2021-03-08T07:08:23.698Z] 8ad3a11d3b57: Pulling fs layer [2021-03-08T07:08:23.698Z] 46f8f816bc3b: Pulling fs layer [2021-03-08T07:08:23.698Z] 93b61091891f: Pulling fs layer [2021-03-08T07:08:23.698Z] 93b9cdb0e59b: Pulling fs layer [2021-03-08T07:08:23.698Z] 5e14af77c1be: Pulling fs layer [2021-03-08T07:08:23.698Z] 01666e4c0597: Pulling fs layer [2021-03-08T07:08:23.698Z] aa168da1d23b: Pulling fs layer [2021-03-08T07:08:23.698Z] 46f8f816bc3b: Waiting [2021-03-08T07:08:23.698Z] 93b61091891f: Waiting [2021-03-08T07:08:23.698Z] 93b9cdb0e59b: Waiting [2021-03-08T07:08:23.698Z] 5e14af77c1be: Waiting [2021-03-08T07:08:23.698Z] 01666e4c0597: Waiting [2021-03-08T07:08:23.698Z] aa168da1d23b: Waiting [2021-03-08T07:08:23.698Z] 36b3adc4ff6f: Download complete [2021-03-08T07:08:23.698Z] 46f8f816bc3b: Verifying Checksum [2021-03-08T07:08:23.698Z] 46f8f816bc3b: Download complete [2021-03-08T07:08:23.698Z] df20fa9351a1: Verifying Checksum [2021-03-08T07:08:23.698Z] 93b9cdb0e59b: Verifying Checksum [2021-03-08T07:08:23.698Z] 93b9cdb0e59b: Download complete [2021-03-08T07:08:23.967Z] 5e14af77c1be: Download complete [2021-03-08T07:08:23.967Z] 01666e4c0597: Verifying Checksum [2021-03-08T07:08:23.967Z] 01666e4c0597: Download complete [2021-03-08T07:08:23.967Z] 93b61091891f: Download complete [2021-03-08T07:08:24.232Z] df20fa9351a1: Pull complete [2021-03-08T07:08:24.495Z] 8ad3a11d3b57: Verifying Checksum [2021-03-08T07:08:24.495Z] 8ad3a11d3b57: Download complete [2021-03-08T07:08:24.761Z] 36b3adc4ff6f: Pull complete [2021-03-08T07:08:25.717Z] 8ad3a11d3b57: Pull complete [2021-03-08T07:08:25.994Z] 46f8f816bc3b: Pull complete [2021-03-08T07:08:26.256Z] aa168da1d23b: Verifying Checksum [2021-03-08T07:08:26.256Z] aa168da1d23b: Download complete [2021-03-08T07:08:26.256Z] 93b61091891f: Pull complete [2021-03-08T07:08:26.518Z] 93b9cdb0e59b: Pull complete [2021-03-08T07:08:26.518Z] 5e14af77c1be: Pull complete [2021-03-08T07:08:26.518Z] 01666e4c0597: Pull complete [2021-03-08T07:08:34.709Z] aa168da1d23b: Pull complete [2021-03-08T07:08:34.709Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-08T07:08:34.709Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-08T07:08:34.709Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-08T07:08:34.879Z] prd-centos7-docker-4c-2g-28951 does not seem to be running inside a container [2021-03-08T07:08:34.927Z] $ 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-735/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-735 -v /w/workspace/ndry_app-functions-sdk-go_PR-735:/w/workspace/ndry_app-functions-sdk-go_PR-735:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-735@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-735@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-03-08T07:08:39.087Z] $ docker top e4eb781c98bf237029c5d9f9b75face7becea49a6787e883953aa3e05bcedaf0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-08T07:08:39.637Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-08T07:08:39.962Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-08T07:08:40.288Z] + ls /var/log/sa-host [2021-03-08T07:08:40.288Z] + sadf -c /var/log/sa-host/sa08 [2021-03-08T07:08:40.288Z] file_magic: OK [2021-03-08T07:08:40.288Z] HZ: Using current value: 100 [2021-03-08T07:08:40.288Z] file_header: OK [2021-03-08T07:08:40.288Z] 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-03-08T07:08:40.288Z] Statistics: [2021-03-08T07:08:40.288Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-08T07:08:40.288Z] File successfully converted to sysstat format version 12.2.1 [2021-03-08T07:08:40.288Z] + sadf -c /var/log/sa-host/sa23 [2021-03-08T07:08:40.288Z] file_magic: OK [2021-03-08T07:08:40.288Z] HZ: Using current value: 100 [2021-03-08T07:08:40.288Z] file_header: OK [2021-03-08T07:08:40.288Z] 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-03-08T07:08:40.288Z] Statistics: [2021-03-08T07:08:40.288Z] Hnuu...uuuununununu... [2021-03-08T07:08:40.288Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-08T07:08:40.986Z] provisioning config files... [2021-03-08T07:08:41.008Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-735@tmp/config7248162527500017372tmp [Pipeline] { [Pipeline] echo [2021-03-08T07:08:41.154Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T07:08:41.501Z] ---> create-netrc.sh [Pipeline] } [2021-03-08T07:08:41.524Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-08T07:08:41.701Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T07:08:42.033Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-08T07:08:42.076Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T07:08:42.415Z] ---> sudo-logs.sh [2021-03-08T07:08:42.415Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-08T07:08:42.542Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T07:08:42.886Z] ---> job-cost.sh [2021-03-08T07:08:42.886Z] lf-activate-venv: SKIPPING [2021-03-08T07:08:42.886Z] DEBUG: total: 0.20999999344348907 [2021-03-08T07:08:42.886Z] INFO: Retrieving Stack Cost... [2021-03-08T07:08:43.832Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-08T07:08:44.406Z] INFO: Archiving Costs [Pipeline] echo [2021-03-08T07:08:44.444Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T07:08:44.798Z] ---> logs-deploy.sh [2021-03-08T07:08:44.798Z] lf-activate-venv: SKIPPING [2021-03-08T07:08:44.798Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-735/1 [2021-03-08T07:08:44.798Z] INFO: archiving workspace using pattern(s): [2021-03-08T07:08:46.720Z] Archives upload complete. [2021-03-08T07:08:46.720Z] INFO: archiving logs to Nexus