Pull request #727 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from bc7efd426162ad16d5e179a5b534b390fb9ed455+a1af34c7f52734c37f3173cf500a3c7bd0fc61a0 (5b1d3b52b99081ba00510dac6827e346057bf5bc) 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 e395d696b4e6122b6a4fdab5d2b3787aeaccfdce 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 e395d696b4e6122b6a4fdab5d2b3787aeaccfdce 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-727/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 e395d696b4e6122b6a4fdab5d2b3787aeaccfdce (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e395d696b4e6122b6a4fdab5d2b3787aeaccfdce # timeout=10 Commit message: "Merge pull request #320 from ernestojeda/fix-email" > 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-727/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 e395d696b4e6122b6a4fdab5d2b3787aeaccfdce 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-28171 in /w/workspace/ndry_app-functions-sdk-go_PR-727 [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-727 # 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 Merging remotes/origin/master commit a1af34c7f52734c37f3173cf500a3c7bd0fc61a0 into PR head commit bc7efd426162ad16d5e179a5b534b390fb9ed455 > 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/727/head:refs/remotes/origin/PR-727 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bc7efd426162ad16d5e179a5b534b390fb9ed455 # timeout=10 Merge succeeded, producing bc7efd426162ad16d5e179a5b534b390fb9ed455 Checking out Revision bc7efd426162ad16d5e179a5b534b390fb9ed455 (PR-727) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a1af34c7f52734c37f3173cf500a3c7bd0fc61a0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bc7efd426162ad16d5e179a5b534b390fb9ed455 # 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 e395d696b4e6122b6a4fdab5d2b3787aeaccfdce [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-02T05:47:51.462Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-02T05:47:51.784Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-02T05:47:51.987Z] ========================================================= [2021-03-02T05:47:51.987Z] EdgeX Global Pipelines Version Info [2021-03-02T05:47:51.987Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-02T05:47:53.507Z] ------------------- [2021-03-02T05:47:53.507Z] stable info: [2021-03-02T05:47:53.507Z] ------------------- [2021-03-02T05:47:53.507Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-02T05:47:53.507Z] Commit SHA: e395d696b4e6122b6a4fdab5d2b3787aeaccfdce [2021-03-02T05:47:53.507Z] Message: update stable to v1.0.183 [2021-03-02T05:47:54.453Z] ------------------- [2021-03-02T05:47:54.454Z] experimental info: [2021-03-02T05:47:54.454Z] ------------------- [2021-03-02T05:47:54.454Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-02T05:47:54.454Z] Commit SHA: e395d696b4e6122b6a4fdab5d2b3787aeaccfdce [2021-03-02T05:47:54.454Z] Message: update experimental to v1.0.183 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-02T05:47:54.857Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-03-02T05:47:54.984Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-03-02T05:47:55.115Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-02T05:47:55.235Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-02T05:47:55.388Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-02T05:47:55.510Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-02T05:47:55.637Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-02T05:47:55.752Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-02T05:47:55.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-03-02T05:47:56.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-02T05:47:56.154Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-02T05:47:56.275Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-03-02T05:47:56.399Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-02T05:47:56.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-02T05:47:56.661Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-03-02T05:47:56.782Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-02T05:47:56.905Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-02T05:47:57.025Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-02T05:47:57.143Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-02T05:47:57.255Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-02T05:47:57.377Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-02T05:47:57.491Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-03-02T05:47:57.607Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-02T05:47:57.729Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-02T05:47:57.869Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-03-02T05:47:57.997Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-02T05:47:58.147Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-727 [Pipeline] echo [2021-03-02T05:47:58.270Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-727 [Pipeline] echo [2021-03-02T05:47:58.401Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-727 [Pipeline] echo [2021-03-02T05:47:58.528Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bc7efd426162ad16d5e179a5b534b390fb9ed455 [Pipeline] echo [2021-03-02T05:47:58.724Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bc7efd4 [Pipeline] echo [2021-03-02T05:47:58.872Z] [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-02T05:47:59.710Z] + git log --format=format:%s -1 bc7efd426162ad16d5e179a5b534b390fb9ed455 [Pipeline] echo [2021-03-02T05:47:59.800Z] GIT_COMMIT: bc7efd426162ad16d5e179a5b534b390fb9ed455, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2021-03-02T05:47:59.869Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-02T05:48:00.539Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-02T05:48:00.808Z] [2021-03-02T05:48:00.808Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-02T05:48:01.205Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-02T05:48:01.205Z] latest: Pulling from edgex-devops/git-semver [2021-03-02T05:48:01.205Z] 31603596830f: Pulling fs layer [2021-03-02T05:48:01.205Z] 2a8b12db71e7: Pulling fs layer [2021-03-02T05:48:01.205Z] 6ca5941a6612: Pulling fs layer [2021-03-02T05:48:01.205Z] ecc8261a40a4: Pulling fs layer [2021-03-02T05:48:01.205Z] ecc8261a40a4: Waiting [2021-03-02T05:48:01.205Z] 2a8b12db71e7: Verifying Checksum [2021-03-02T05:48:01.205Z] 2a8b12db71e7: Download complete [2021-03-02T05:48:01.476Z] 31603596830f: Download complete [2021-03-02T05:48:01.476Z] ecc8261a40a4: Verifying Checksum [2021-03-02T05:48:01.476Z] ecc8261a40a4: Download complete [2021-03-02T05:48:01.476Z] 6ca5941a6612: Verifying Checksum [2021-03-02T05:48:01.476Z] 6ca5941a6612: Download complete [2021-03-02T05:48:01.747Z] 31603596830f: Pull complete [2021-03-02T05:48:02.010Z] 2a8b12db71e7: Pull complete [2021-03-02T05:48:02.591Z] 6ca5941a6612: Pull complete [2021-03-02T05:48:02.853Z] ecc8261a40a4: Pull complete [2021-03-02T05:48:02.853Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-02T05:48:03.115Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-02T05:48:03.115Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-02T05:48:03.258Z] prd-centos7-docker-4c-2g-28171 does not seem to be running inside a container [2021-03-02T05:48:03.312Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-727 -v /w/workspace/ndry_app-functions-sdk-go_PR-727:/w/workspace/ndry_app-functions-sdk-go_PR-727:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-727@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-727@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-02T05:48:05.516Z] $ docker top 78566eed14eeb04b777c5d510a991428e5cda874bb59a51c796034db7fe5f80c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-02T05:48:06.075Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-02T05:48:06.075Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-02T05:48:06.351Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-02T05:48:06.355Z] $ docker exec 78566eed14eeb04b777c5d510a991428e5cda874bb59a51c796034db7fe5f80c ssh-agent [2021-03-02T05:48:06.544Z] SSH_AUTH_SOCK=/tmp/ssh-dPUMKOgJDECI/agent.12 [2021-03-02T05:48:06.544Z] SSH_AGENT_PID=17 [2021-03-02T05:48:06.558Z] Running ssh-add (command line suppressed) [2021-03-02T05:48:06.694Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-727@tmp/private_key_2580763000135616374.key (/w/workspace/ndry_app-functions-sdk-go_PR-727@tmp/private_key_2580763000135616374.key) [2021-03-02T05:48:06.754Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-02T05:48:07.192Z] + git tag --points-at HEAD [Pipeline] } [2021-03-02T05:48:07.222Z] $ docker exec --env ******** --env ******** 78566eed14eeb04b777c5d510a991428e5cda874bb59a51c796034db7fe5f80c ssh-agent -k [2021-03-02T05:48:07.343Z] unset SSH_AUTH_SOCK; [2021-03-02T05:48:07.343Z] unset SSH_AGENT_PID; [2021-03-02T05:48:07.343Z] echo Agent pid 17 killed; [2021-03-02T05:48:07.395Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-02T05:48:07.593Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-02T05:48:07.593Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-02T05:48:07.779Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-02T05:48:07.782Z] $ docker exec 78566eed14eeb04b777c5d510a991428e5cda874bb59a51c796034db7fe5f80c ssh-agent [2021-03-02T05:48:07.961Z] SSH_AUTH_SOCK=/tmp/ssh-egtyUOAvmrBP/agent.47 [2021-03-02T05:48:07.961Z] SSH_AGENT_PID=52 [2021-03-02T05:48:07.969Z] Running ssh-add (command line suppressed) [2021-03-02T05:48:08.093Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-727@tmp/private_key_5766405301845753573.key (/w/workspace/ndry_app-functions-sdk-go_PR-727@tmp/private_key_5766405301845753573.key) [2021-03-02T05:48:08.149Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-02T05:48:08.535Z] + git semver init [2021-03-02T05:48:08.535Z] # -> Open(): unable to determine branch for HEAD [2021-03-02T05:48:08.535Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-727/.git [2021-03-02T05:48:08.535Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-727 [2021-03-02T05:48:08.535Z] # $SEMVER_REMOTE_NAME = origin [2021-03-02T05:48:08.535Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-02T05:48:08.535Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-02T05:48:08.535Z] # $SEMVER_BRANCH = PR-727 [2021-03-02T05:48:08.535Z] # $SEMVER_TEMP = /tmp/semver-074270215 [2021-03-02T05:48:08.535Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-03-02T05:48:11.861Z] # '/tmp/semver-074270215' -> '/w/workspace/ndry_app-functions-sdk-go_PR-727/.semver' [2021-03-02T05:48:11.861Z] # -> Force: false [2021-03-02T05:48:11.861Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-727/.semver [Pipeline] } [2021-03-02T05:48:11.885Z] $ docker exec --env ******** --env ******** 78566eed14eeb04b777c5d510a991428e5cda874bb59a51c796034db7fe5f80c ssh-agent -k [2021-03-02T05:48:12.037Z] unset SSH_AUTH_SOCK; [2021-03-02T05:48:12.038Z] unset SSH_AGENT_PID; [2021-03-02T05:48:12.038Z] echo Agent pid 52 killed; [2021-03-02T05:48:12.108Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-02T05:48:12.695Z] + git semver [Pipeline] } [2021-03-02T05:48:12.730Z] $ docker stop --time=1 78566eed14eeb04b777c5d510a991428e5cda874bb59a51c796034db7fe5f80c [2021-03-02T05:48:14.215Z] $ docker rm -f 78566eed14eeb04b777c5d510a991428e5cda874bb59a51c796034db7fe5f80c [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-02T05:48:14.847Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-02T05:48:15.363Z] Stashed 1 file(s) [Pipeline] echo [2021-03-02T05:48:15.383Z] [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-02T05:48:31.186Z] Still waiting to schedule task [2021-03-02T05:48:31.186Z] ‘prd-centos7-docker-4c-2g-28168’ is offline; ‘prd-centos7-docker-4c-2g-28170’ is offline; ‘prd-centos7-docker-4c-2g-28172’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-27930’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-28169’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-03-02T05:48:31.210Z] Still waiting to schedule task [2021-03-02T05:48:31.210Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-02T05:50:18.402Z] Running on prd-centos7-docker-4c-2g-28175 in /w/workspace/ndry_app-functions-sdk-go_PR-727 [Pipeline] { [Pipeline] ws [2021-03-02T05:50:18.504Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-03-02T05:50:18.620Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-28173 in /w/workspace/ndry_app-functions-sdk-go_PR-727 [Pipeline] { [Pipeline] ws [2021-03-02T05:50:18.784Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-03-02T05:50:21.218Z] using credential edgex-jenkins-ssh [2021-03-02T05:50:21.271Z] Cloning the remote Git repository [2021-03-02T05:50:21.155Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-02T05:50:21.313Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-03-02T05:50:21.382Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-02T05:50:21.382Z] > git --version # timeout=10 [2021-03-02T05:50:21.390Z] > git --version # 'git version 2.24.3' [2021-03-02T05:50:21.391Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-02T05:50:21.418Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-02T05:50:23.431Z] Merging remotes/origin/master commit a1af34c7f52734c37f3173cf500a3c7bd0fc61a0 into PR head commit bc7efd426162ad16d5e179a5b534b390fb9ed455 [2021-03-02T05:50:23.535Z] Merge succeeded, producing bc7efd426162ad16d5e179a5b534b390fb9ed455 [2021-03-02T05:50:23.535Z] Checking out Revision bc7efd426162ad16d5e179a5b534b390fb9ed455 (PR-727) [2021-03-02T05:50:23.623Z] using credential edgex-jenkins-ssh [2021-03-02T05:50:23.697Z] Cloning the remote Git repository [2021-03-02T05:50:23.753Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-02T05:50:23.883Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-03-02T05:50:23.958Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-02T05:50:23.959Z] > git --version # timeout=10 [2021-03-02T05:50:23.982Z] > git --version # 'git version 2.17.1' [2021-03-02T05:50:23.984Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-02T05:50:22.957Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-02T05:50:22.964Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-02T05:50:22.978Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-02T05:50:22.998Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-02T05:50:22.998Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-02T05:50:23.003Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/727/head:refs/remotes/origin/PR-727 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-02T05:50:23.440Z] > git config core.sparsecheckout # timeout=10 [2021-03-02T05:50:23.448Z] > git checkout -f bc7efd426162ad16d5e179a5b534b390fb9ed455 # timeout=10 [2021-03-02T05:50:23.493Z] > git remote # timeout=10 [2021-03-02T05:50:23.507Z] > git config --get remote.origin.url # timeout=10 [2021-03-02T05:50:23.512Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-02T05:50:23.516Z] > git merge a1af34c7f52734c37f3173cf500a3c7bd0fc61a0 # timeout=10 [2021-03-02T05:50:23.526Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-02T05:50:23.539Z] > git config core.sparsecheckout # timeout=10 [2021-03-02T05:50:23.543Z] > git checkout -f bc7efd426162ad16d5e179a5b534b390fb9ed455 # timeout=10 [2021-03-02T05:50:24.060Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-02T05:50:27.206Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-03-02T05:50:27.239Z] > git --version # timeout=10 [2021-03-02T05:50:27.246Z] > git --version # 'git version 2.24.3' [2021-03-02T05:50:27.254Z] fatal: bad object e395d696b4e6122b6a4fdab5d2b3787aeaccfdce [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-02T05:50:28.789Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-02T05:50:29.163Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-02T05:50:29.483Z] + sudo service docker restart [2021-03-02T05:50:29.483Z] + true [2021-03-02T05:50:29.483Z] Redirecting to /bin/systemctl restart docker.service [2021-03-02T05:50:30.281Z] Merging remotes/origin/master commit a1af34c7f52734c37f3173cf500a3c7bd0fc61a0 into PR head commit bc7efd426162ad16d5e179a5b534b390fb9ed455 [Pipeline] unstash [2021-03-02T05:50:30.576Z] Merge succeeded, producing bc7efd426162ad16d5e179a5b534b390fb9ed455 [2021-03-02T05:50:30.576Z] Checking out Revision bc7efd426162ad16d5e179a5b534b390fb9ed455 (PR-727) [2021-03-02T05:50:29.708Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-02T05:50:29.730Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-02T05:50:29.761Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-02T05:50:29.797Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-02T05:50:29.798Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-02T05:50:29.810Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/727/head:refs/remotes/origin/PR-727 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-02T05:50:30.302Z] > git config core.sparsecheckout # timeout=10 [2021-03-02T05:50:30.317Z] > git checkout -f bc7efd426162ad16d5e179a5b534b390fb9ed455 # timeout=10 [2021-03-02T05:50:30.426Z] > git remote # timeout=10 [2021-03-02T05:50:30.443Z] > git config --get remote.origin.url # timeout=10 [2021-03-02T05:50:30.492Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-02T05:50:30.527Z] > git merge a1af34c7f52734c37f3173cf500a3c7bd0fc61a0 # timeout=10 [2021-03-02T05:50:30.554Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-02T05:50:30.586Z] > git config core.sparsecheckout # timeout=10 [2021-03-02T05:50:30.659Z] > git checkout -f bc7efd426162ad16d5e179a5b534b390fb9ed455 # timeout=10 [Pipeline] echo [2021-03-02T05:50:30.726Z] ========================================================= [2021-03-02T05:50:30.726Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-02T05:50:30.726Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-02T05:50:31.168Z] + 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-02T05:50:31.758Z] Sending build context to Docker daemon 19.26MB [2021-03-02T05:50:31.758Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-02T05:50:31.758Z] Step 2/8 : FROM ${BASE} [2021-03-02T05:50:31.758Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-02T05:50:31.758Z] 188c0c94c7c5: Pulling fs layer [2021-03-02T05:50:31.758Z] 0ef7d3d256c8: Pulling fs layer [2021-03-02T05:50:31.758Z] de9db76c5a1d: Pulling fs layer [2021-03-02T05:50:31.758Z] bca2f99d35d6: Pulling fs layer [2021-03-02T05:50:31.758Z] 93359f2a8cfa: Pulling fs layer [2021-03-02T05:50:31.758Z] 7c6f9722023f: Pulling fs layer [2021-03-02T05:50:31.758Z] a35cf1a2eb13: Pulling fs layer [2021-03-02T05:50:31.758Z] 93359f2a8cfa: Waiting [2021-03-02T05:50:31.758Z] bca2f99d35d6: Waiting [2021-03-02T05:50:31.758Z] 7c6f9722023f: Waiting [2021-03-02T05:50:31.758Z] a35cf1a2eb13: Waiting [2021-03-02T05:50:31.758Z] de9db76c5a1d: Verifying Checksum [2021-03-02T05:50:31.758Z] de9db76c5a1d: Download complete [2021-03-02T05:50:31.758Z] 0ef7d3d256c8: Verifying Checksum [2021-03-02T05:50:31.758Z] 0ef7d3d256c8: Download complete [2021-03-02T05:50:32.025Z] 93359f2a8cfa: Verifying Checksum [2021-03-02T05:50:32.025Z] 93359f2a8cfa: Download complete [2021-03-02T05:50:32.025Z] 7c6f9722023f: Verifying Checksum [2021-03-02T05:50:32.025Z] 7c6f9722023f: Download complete [2021-03-02T05:50:32.025Z] 188c0c94c7c5: Verifying Checksum [2021-03-02T05:50:32.025Z] 188c0c94c7c5: Download complete [2021-03-02T05:50:32.291Z] 188c0c94c7c5: Pull complete [2021-03-02T05:50:32.291Z] 0ef7d3d256c8: Pull complete [2021-03-02T05:50:32.554Z] de9db76c5a1d: Pull complete [2021-03-02T05:50:34.877Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-03-02T05:50:34.931Z] > git --version # timeout=10 [2021-03-02T05:50:34.940Z] > git --version # 'git version 2.17.1' [2021-03-02T05:50:34.953Z] fatal: bad object e395d696b4e6122b6a4fdab5d2b3787aeaccfdce [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2021-03-02T05:50:35.874Z] a35cf1a2eb13: Verifying Checksum [2021-03-02T05:50:35.874Z] a35cf1a2eb13: Download complete [Pipeline] sh [2021-03-02T05:50:36.824Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-03-02T05:50:36.830Z] bca2f99d35d6: Verifying Checksum [2021-03-02T05:50:36.830Z] bca2f99d35d6: Download complete [Pipeline] sh [2021-03-02T05:50:37.315Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-02T05:50:37.673Z] + sudo service docker restart [2021-03-02T05:50:37.673Z] + true [Pipeline] unstash [Pipeline] echo [2021-03-02T05:50:39.977Z] ========================================================= [2021-03-02T05:50:39.977Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-02T05:50:39.977Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-02T05:50:40.391Z] + 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-02T05:50:41.827Z] Sending build context to Docker daemon 19.26MB [2021-03-02T05:50:41.827Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-02T05:50:41.827Z] Step 2/8 : FROM ${BASE} [2021-03-02T05:50:41.827Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-02T05:50:41.827Z] 5f621e34cdf4: Pulling fs layer [2021-03-02T05:50:41.827Z] a4357932f1b6: Pulling fs layer [2021-03-02T05:50:41.827Z] 18c013af1878: Pulling fs layer [2021-03-02T05:50:41.827Z] 00ac8860ef70: Pulling fs layer [2021-03-02T05:50:41.827Z] 63d7cb157983: Pulling fs layer [2021-03-02T05:50:41.827Z] b116817d02f9: Pulling fs layer [2021-03-02T05:50:41.827Z] 745a02a5169b: Pulling fs layer [2021-03-02T05:50:41.827Z] 00ac8860ef70: Waiting [2021-03-02T05:50:41.827Z] 63d7cb157983: Waiting [2021-03-02T05:50:41.827Z] b116817d02f9: Waiting [2021-03-02T05:50:41.827Z] 745a02a5169b: Waiting [2021-03-02T05:50:41.827Z] 18c013af1878: Verifying Checksum [2021-03-02T05:50:41.827Z] 18c013af1878: Download complete [2021-03-02T05:50:41.827Z] a4357932f1b6: Download complete [2021-03-02T05:50:41.827Z] 63d7cb157983: Verifying Checksum [2021-03-02T05:50:41.827Z] 63d7cb157983: Download complete [2021-03-02T05:50:42.103Z] b116817d02f9: Verifying Checksum [2021-03-02T05:50:42.103Z] b116817d02f9: Download complete [2021-03-02T05:50:42.103Z] 5f621e34cdf4: Verifying Checksum [2021-03-02T05:50:42.103Z] 5f621e34cdf4: Download complete [2021-03-02T05:50:42.714Z] 5f621e34cdf4: Pull complete [2021-03-02T05:50:43.331Z] a4357932f1b6: Pull complete [2021-03-02T05:50:43.472Z] bca2f99d35d6: Pull complete [2021-03-02T05:50:43.472Z] 93359f2a8cfa: Pull complete [2021-03-02T05:50:43.472Z] 7c6f9722023f: Pull complete [2021-03-02T05:50:43.606Z] 18c013af1878: Pull complete [2021-03-02T05:50:43.878Z] 745a02a5169b: Verifying Checksum [2021-03-02T05:50:43.878Z] 745a02a5169b: Download complete [2021-03-02T05:50:45.311Z] 00ac8860ef70: Verifying Checksum [2021-03-02T05:50:45.311Z] 00ac8860ef70: Download complete [2021-03-02T05:50:51.678Z] a35cf1a2eb13: Pull complete [2021-03-02T05:50:51.678Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-02T05:50:51.678Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-02T05:50:51.678Z] ---> a62c8e92a672 [2021-03-02T05:50:51.678Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-03-02T05:50:51.678Z] 20.10.0: Pulling from library/docker [2021-03-02T05:50:51.678Z] 05e7bc50f07f: Pulling fs layer [2021-03-02T05:50:51.678Z] 6db28d0fdbf6: Pulling fs layer [2021-03-02T05:50:51.678Z] 292df0bc6bf3: Pulling fs layer [2021-03-02T05:50:51.678Z] 2e060f4bd70b: Pulling fs layer [2021-03-02T05:50:51.678Z] 80e8d568a223: Pulling fs layer [2021-03-02T05:50:51.678Z] 8dc6ef1a942a: Pulling fs layer [2021-03-02T05:50:51.678Z] 2312dd95470a: Pulling fs layer [2021-03-02T05:50:51.678Z] 80e8d568a223: Waiting [2021-03-02T05:50:51.678Z] 8dc6ef1a942a: Waiting [2021-03-02T05:50:51.678Z] 2312dd95470a: Waiting [2021-03-02T05:50:51.678Z] 2e060f4bd70b: Waiting [2021-03-02T05:50:51.678Z] 292df0bc6bf3: Verifying Checksum [2021-03-02T05:50:51.678Z] 292df0bc6bf3: Download complete [2021-03-02T05:50:51.678Z] 6db28d0fdbf6: Verifying Checksum [2021-03-02T05:50:51.678Z] 6db28d0fdbf6: Download complete [2021-03-02T05:50:51.678Z] 05e7bc50f07f: Verifying Checksum [2021-03-02T05:50:51.678Z] 05e7bc50f07f: Download complete [2021-03-02T05:50:51.678Z] 80e8d568a223: Verifying Checksum [2021-03-02T05:50:51.678Z] 80e8d568a223: Download complete [2021-03-02T05:50:51.678Z] 8dc6ef1a942a: Verifying Checksum [2021-03-02T05:50:51.678Z] 8dc6ef1a942a: Download complete [2021-03-02T05:50:51.679Z] 2312dd95470a: Verifying Checksum [2021-03-02T05:50:51.679Z] 2312dd95470a: Download complete [2021-03-02T05:50:51.679Z] 05e7bc50f07f: Pull complete [2021-03-02T05:50:52.260Z] 6db28d0fdbf6: Pull complete [2021-03-02T05:50:52.260Z] 292df0bc6bf3: Pull complete [2021-03-02T05:50:55.476Z] 00ac8860ef70: Pull complete [2021-03-02T05:50:55.585Z] 2e060f4bd70b: Verifying Checksum [2021-03-02T05:50:55.585Z] 2e060f4bd70b: Download complete [2021-03-02T05:50:55.754Z] 63d7cb157983: Pull complete [2021-03-02T05:50:56.030Z] b116817d02f9: Pull complete [2021-03-02T05:50:58.930Z] 2e060f4bd70b: Pull complete [2021-03-02T05:50:58.930Z] 80e8d568a223: Pull complete [2021-03-02T05:50:58.930Z] 8dc6ef1a942a: Pull complete [2021-03-02T05:50:58.930Z] 2312dd95470a: Pull complete [2021-03-02T05:50:58.930Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-03-02T05:50:58.930Z] Status: Downloaded newer image for docker:20.10.0 [2021-03-02T05:51:00.349Z] 745a02a5169b: Pull complete [2021-03-02T05:51:00.349Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-02T05:51:00.349Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-02T05:51:00.349Z] ---> b7e6874047d6 [2021-03-02T05:51:00.349Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-03-02T05:51:00.349Z] 20.10.0: Pulling from library/docker [2021-03-02T05:51:00.857Z] ---> 09bd43005e42 [2021-03-02T05:51:00.857Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-02T05:51:00.857Z] ---> Running in ee22ae1af478 [2021-03-02T05:51:01.120Z] Removing intermediate container ee22ae1af478 [2021-03-02T05:51:01.120Z] ---> 91056dc1c52c [2021-03-02T05:51:01.120Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-03-02T05:51:01.120Z] ---> Running in 0b949264d651 [2021-03-02T05:51:01.323Z] a3cc7d3b244e: Pulling fs layer [2021-03-02T05:51:01.323Z] 02a3295e0d61: Pulling fs layer [2021-03-02T05:51:01.323Z] 0f4f2e6d8100: Pulling fs layer [2021-03-02T05:51:01.323Z] 330b718f631f: Pulling fs layer [2021-03-02T05:51:01.323Z] a93816041522: Pulling fs layer [2021-03-02T05:51:01.323Z] bdb6da89ff94: Pulling fs layer [2021-03-02T05:51:01.323Z] 2a70c0c122f4: Pulling fs layer [2021-03-02T05:51:01.323Z] bdb6da89ff94: Waiting [2021-03-02T05:51:01.323Z] 330b718f631f: Waiting [2021-03-02T05:51:01.323Z] 2a70c0c122f4: Waiting [2021-03-02T05:51:01.323Z] a93816041522: Waiting [2021-03-02T05:51:01.594Z] 02a3295e0d61: Verifying Checksum [2021-03-02T05:51:01.594Z] 02a3295e0d61: Download complete [2021-03-02T05:51:01.868Z] a3cc7d3b244e: Download complete [2021-03-02T05:51:02.087Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-02T05:51:02.153Z] 0f4f2e6d8100: Verifying Checksum [2021-03-02T05:51:02.153Z] 0f4f2e6d8100: Download complete [2021-03-02T05:51:02.436Z] bdb6da89ff94: Verifying Checksum [2021-03-02T05:51:02.436Z] bdb6da89ff94: Download complete [2021-03-02T05:51:02.436Z] 2a70c0c122f4: Verifying Checksum [2021-03-02T05:51:02.436Z] 2a70c0c122f4: Download complete [2021-03-02T05:51:02.436Z] a3cc7d3b244e: Pull complete [2021-03-02T05:51:02.669Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-02T05:51:02.714Z] a93816041522: Verifying Checksum [2021-03-02T05:51:02.714Z] a93816041522: Download complete [2021-03-02T05:51:02.933Z] (1/5) Installing libsodium (1.0.18-r0) [2021-03-02T05:51:02.987Z] 02a3295e0d61: Pull complete [2021-03-02T05:51:03.579Z] 0f4f2e6d8100: Pull complete [2021-03-02T05:51:03.883Z] (2/5) Installing libzmq (4.3.3-r0) [2021-03-02T05:51:03.883Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-03-02T05:51:04.147Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-03-02T05:51:04.420Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-03-02T05:51:04.420Z] Executing busybox-1.31.1-r19.trigger [2021-03-02T05:51:04.420Z] OK: 167 MiB in 44 packages [2021-03-02T05:51:05.392Z] Removing intermediate container 0b949264d651 [2021-03-02T05:51:05.392Z] ---> 9dcae64545bb [2021-03-02T05:51:05.392Z] Step 6/8 : WORKDIR /build [2021-03-02T05:51:05.392Z] ---> Running in 5570c0b582ce [2021-03-02T05:51:05.657Z] Removing intermediate container 5570c0b582ce [2021-03-02T05:51:05.657Z] ---> a9be98f401c0 [2021-03-02T05:51:05.657Z] Step 7/8 : COPY go.mod . [2021-03-02T05:51:05.922Z] ---> dde97f0f617b [2021-03-02T05:51:05.922Z] Step 8/8 : RUN go mod download [2021-03-02T05:51:05.922Z] ---> Running in be3025f5edf8 [2021-03-02T05:51:06.974Z] 330b718f631f: Verifying Checksum [2021-03-02T05:51:06.974Z] 330b718f631f: Download complete [2021-03-02T05:51:11.294Z] 330b718f631f: Pull complete [2021-03-02T05:51:11.294Z] a93816041522: Pull complete [2021-03-02T05:51:11.294Z] bdb6da89ff94: Pull complete [2021-03-02T05:51:11.888Z] 2a70c0c122f4: Pull complete [2021-03-02T05:51:11.888Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-03-02T05:51:11.888Z] Status: Downloaded newer image for docker:20.10.0 [2021-03-02T05:51:18.623Z] ---> 855583ecf599 [2021-03-02T05:51:18.623Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-02T05:51:18.623Z] ---> Running in 27ff47fbf7be [2021-03-02T05:51:18.623Z] Removing intermediate container 27ff47fbf7be [2021-03-02T05:51:18.623Z] ---> 99abd4990810 [2021-03-02T05:51:18.623Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-03-02T05:51:18.623Z] ---> Running in 69637419712d [2021-03-02T05:51:19.601Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-02T05:51:21.580Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-02T05:51:23.548Z] (1/5) Installing libsodium (1.0.18-r0) [2021-03-02T05:51:23.548Z] (2/5) Installing libzmq (4.3.3-r0) [2021-03-02T05:51:23.820Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-03-02T05:51:23.820Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-03-02T05:51:24.096Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-03-02T05:51:24.096Z] Executing busybox-1.31.1-r19.trigger [2021-03-02T05:51:24.096Z] OK: 144 MiB in 44 packages [2021-03-02T05:51:25.537Z] Removing intermediate container 69637419712d [2021-03-02T05:51:25.537Z] ---> 0fe90d12efaa [2021-03-02T05:51:25.537Z] Step 6/8 : WORKDIR /build [2021-03-02T05:51:25.537Z] ---> Running in 1cebbc6a0e2c [2021-03-02T05:51:26.132Z] Removing intermediate container 1cebbc6a0e2c [2021-03-02T05:51:26.132Z] ---> 4a0c04007557 [2021-03-02T05:51:26.132Z] Step 7/8 : COPY go.mod . [2021-03-02T05:51:26.727Z] ---> 0cee27c690d3 [2021-03-02T05:51:26.727Z] Step 8/8 : RUN go mod download [2021-03-02T05:51:26.727Z] ---> Running in 3d7af17a0ebe [2021-03-02T05:51:32.591Z] Removing intermediate container be3025f5edf8 [2021-03-02T05:51:32.592Z] ---> c3079b02126e [2021-03-02T05:51:32.592Z] Successfully built c3079b02126e [2021-03-02T05:51:32.592Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-02T05:51:32.941Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-02T05:51:32.941Z] . [Pipeline] withDockerContainer [2021-03-02T05:51:33.093Z] prd-centos7-docker-4c-2g-28175 does not seem to be running inside a container [2021-03-02T05:51:33.147Z] $ 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-02T05:51:34.084Z] $ docker top bb2fb60ee79035892b3c6f26772eb5eadc06c145bfc51881e3d725c1c1279902 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-02T05:51:34.655Z] + go version [2021-03-02T05:51:34.655Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-02T05:51:34.706Z] $ docker stop --time=1 bb2fb60ee79035892b3c6f26772eb5eadc06c145bfc51881e3d725c1c1279902 [2021-03-02T05:51:36.072Z] $ docker rm -f bb2fb60ee79035892b3c6f26772eb5eadc06c145bfc51881e3d725c1c1279902 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-02T05:51:37.124Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-02T05:51:37.124Z] . [Pipeline] withDockerContainer [2021-03-02T05:51:37.257Z] prd-centos7-docker-4c-2g-28175 does not seem to be running inside a container [2021-03-02T05:51:37.312Z] $ 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-02T05:51:38.093Z] $ docker top 03943e11bd8e3c6026e85288e0e81bdf8c275efb9788789975c0aac8c852981e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-02T05:51:38.707Z] + make test [2021-03-02T05:51:38.707Z] make -C ./app-service-template build [2021-03-02T05:51:38.707Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-03-02T05:51:38.707Z] 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-02T05:51:53.526Z] Removing intermediate container 3d7af17a0ebe [2021-03-02T05:51:53.526Z] ---> e4a515440ccc [2021-03-02T05:51:53.526Z] Successfully built e4a515440ccc [2021-03-02T05:51:53.526Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-02T05:51:53.794Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-03-02T05:51:53.794Z] make -C ./app-service-template test [2021-03-02T05:51:53.794Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-03-02T05:51:53.794Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-03-02T05:51:53.902Z] + docker inspect -f . ci-base-image-arm64 [2021-03-02T05:51:53.902Z] . [Pipeline] withDockerContainer [2021-03-02T05:51:54.160Z] prd-ubuntu18.04-docker-arm64-4c-16g-28173 does not seem to be running inside a container [2021-03-02T05:51:54.250Z] $ 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-02T05:51:55.769Z] $ docker top 8b9fafd9dc8dd8a860e849439e9fc5f5fd2cef09fb65f9065cb5c98b271dd867 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-02T05:51:56.856Z] + go version [2021-03-02T05:51:56.856Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-02T05:51:56.896Z] $ docker stop --time=1 8b9fafd9dc8dd8a860e849439e9fc5f5fd2cef09fb65f9065cb5c98b271dd867 [2021-03-02T05:51:58.831Z] $ docker rm -f 8b9fafd9dc8dd8a860e849439e9fc5f5fd2cef09fb65f9065cb5c98b271dd867 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-02T05:52:00.048Z] + docker inspect -f . ci-base-image-arm64 [2021-03-02T05:52:00.048Z] . [Pipeline] withDockerContainer [2021-03-02T05:52:00.330Z] prd-ubuntu18.04-docker-arm64-4c-16g-28173 does not seem to be running inside a container [2021-03-02T05:52:00.411Z] $ 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-02T05:52:00.514Z] ? new-app-service [no test files] [2021-03-02T05:52:00.514Z] # new-app-service/functions [new-app-service/functions.test] [2021-03-02T05:52:00.514Z] functions/sample_test.go:79:24: not enough arguments in call to dtos.NewEvent [2021-03-02T05:52:00.514Z] have (string, string) [2021-03-02T05:52:00.514Z] want (string, string, string) [2021-03-02T05:52:00.514Z] FAIL new-app-service/functions [build failed] [2021-03-02T05:52:00.514Z] FAIL [2021-03-02T05:52:00.514Z] make[1]: *** [Makefile:43: test] Error 2 [2021-03-02T05:52:00.514Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-03-02T05:52:00.514Z] make: *** [Makefile:9: test-template] Error 2 [2021-03-02T05:52:01.936Z] $ docker top faf90ab4f56051f877f25f2a5bed2bc53b13efd837879ecac11ef9d0bf203581 -eo pid,comm [Pipeline] { [Pipeline] } [2021-03-02T05:52:02.394Z] $ docker stop --time=1 03943e11bd8e3c6026e85288e0e81bdf8c275efb9788789975c0aac8c852981e [2021-03-02T05:52:04.430Z] $ docker rm -f 03943e11bd8e3c6026e85288e0e81bdf8c275efb9788789975c0aac8c852981e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [2021-03-02T05:52:05.410Z] + make test [2021-03-02T05:52:05.410Z] make -C ./app-service-template build [2021-03-02T05:52:05.410Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-03-02T05:52:05.410Z] 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 [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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-02T05:52:06.587Z] ---> job-cost.sh [2021-03-02T05:52:06.587Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-x4oY [2021-03-02T05:52:24.802Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-02T05:52:44.438Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-03-02T05:52:44.438Z] make -C ./app-service-template test [2021-03-02T05:52:44.438Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-03-02T05:52:44.438Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-03-02T05:52:51.468Z] lf-activate-venv(): INFO: Adding /tmp/venv-x4oY/bin to PATH [2021-03-02T05:52:51.469Z] INFO: No Stack... [2021-03-02T05:52:53.398Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-02T05:52:53.977Z] INFO: Archiving Costs [Pipeline] sh [2021-03-02T05:52:54.319Z] + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv [2021-03-02T05:52:54.319Z] + cut -d, -f6 [Pipeline] lock [2021-03-02T05:52:54.431Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-727-1-stack-cost] [2021-03-02T05:52:54.438Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-727-1-stack-cost] did not exist. Created. [2021-03-02T05:52:54.439Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-727-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-02T05:52:54.930Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-02T05:52:55.428Z] Stashed 1 file(s) [Pipeline] } [2021-03-02T05:52:55.446Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-727-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-02T05:52:56.458Z] Failed in branch amd64 [2021-03-02T05:52:56.861Z] ? new-app-service [no test files] [2021-03-02T05:52:57.461Z] # new-app-service/functions [new-app-service/functions.test] [2021-03-02T05:52:57.461Z] functions/sample_test.go:79:24: not enough arguments in call to dtos.NewEvent [2021-03-02T05:52:57.461Z] have (string, string) [2021-03-02T05:52:57.461Z] want (string, string, string) [2021-03-02T05:52:57.733Z] FAIL new-app-service/functions [build failed] [2021-03-02T05:52:57.733Z] FAIL [2021-03-02T05:52:57.733Z] make[1]: *** [Makefile:43: test] Error 2 [2021-03-02T05:52:57.733Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-03-02T05:52:57.733Z] make: *** [Makefile:9: test-template] Error 2 [Pipeline] } [2021-03-02T05:52:57.788Z] $ docker stop --time=1 faf90ab4f56051f877f25f2a5bed2bc53b13efd837879ecac11ef9d0bf203581 [2021-03-02T05:53:00.139Z] $ docker rm -f faf90ab4f56051f877f25f2a5bed2bc53b13efd837879ecac11ef9d0bf203581 [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-02T05:53:02.169Z] ---> job-cost.sh [2021-03-02T05:53:02.169Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-rj9c [2021-03-02T05:53:41.215Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-02T05:55:48.001Z] lf-activate-venv(): INFO: Adding /tmp/venv-rj9c/bin to PATH [2021-03-02T05:55:48.001Z] INFO: No Stack... [2021-03-02T05:55:48.272Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-02T05:55:48.867Z] INFO: Archiving Costs [Pipeline] sh [2021-03-02T05:55:49.227Z] + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv [2021-03-02T05:55:49.227Z] + cut -d, -f6 [Pipeline] lock [2021-03-02T05:55:49.366Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-727-1-stack-cost] [2021-03-02T05:55:49.375Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-727-1-stack-cost] did not exist. Created. [2021-03-02T05:55:49.376Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-727-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-02T05:55:49.898Z] /w/workspace/app-functions-sdk-go/1@tmp/durable-59b76ed0/script.sh: 1: /w/workspace/app-functions-sdk-go/1@tmp/durable-59b76ed0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-02T05:55:50.275Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-02T05:55:50.317Z] Warning: overwriting stash ‘stack-cost’ [2021-03-02T05:55:51.319Z] Stashed 1 file(s) [Pipeline] } [2021-03-02T05:55:51.341Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-727-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-02T05:55:52.385Z] 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-02T05:55:56.372Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-02T05:55:56.976Z] ---> package-listing.sh [2021-03-02T05:55:56.976Z] ++ facter osfamily [2021-03-02T05:55:56.976Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-02T05:55:56.976Z] + OS_FAMILY=redhat [2021-03-02T05:55:56.976Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-727 [2021-03-02T05:55:56.976Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-02T05:55:56.976Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-02T05:55:56.976Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-02T05:55:56.976Z] + PACKAGES=/tmp/packages_start.txt [2021-03-02T05:55:56.976Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-727 ']' [2021-03-02T05:55:56.976Z] + PACKAGES=/tmp/packages_end.txt [2021-03-02T05:55:56.976Z] + case "${OS_FAMILY}" in [2021-03-02T05:55:56.976Z] + rpm -qa [2021-03-02T05:55:56.976Z] + sort [2021-03-02T05:56:02.294Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-02T05:56:02.294Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-02T05:56:02.294Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-02T05:56:02.294Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-727 ']' [2021-03-02T05:56:02.294Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-727/archives/ [2021-03-02T05:56:02.294Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-727/archives/ [Pipeline] echo [2021-03-02T05:56:02.338Z] 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-727/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-02T05:56:02.649Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-02T05:56:02.991Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-02T05:56:02.991Z] [2021-03-02T05:56:02.991Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-02T05:56:03.407Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-02T05:56:03.407Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-02T05:56:03.407Z] df20fa9351a1: Pulling fs layer [2021-03-02T05:56:03.407Z] 36b3adc4ff6f: Pulling fs layer [2021-03-02T05:56:03.407Z] 8ad3a11d3b57: Pulling fs layer [2021-03-02T05:56:03.407Z] 46f8f816bc3b: Pulling fs layer [2021-03-02T05:56:03.407Z] 93b61091891f: Pulling fs layer [2021-03-02T05:56:03.407Z] 93b9cdb0e59b: Pulling fs layer [2021-03-02T05:56:03.407Z] 5e14af77c1be: Pulling fs layer [2021-03-02T05:56:03.407Z] 01666e4c0597: Pulling fs layer [2021-03-02T05:56:03.407Z] aa168da1d23b: Pulling fs layer [2021-03-02T05:56:03.407Z] 46f8f816bc3b: Waiting [2021-03-02T05:56:03.407Z] 93b61091891f: Waiting [2021-03-02T05:56:03.407Z] 93b9cdb0e59b: Waiting [2021-03-02T05:56:03.407Z] 5e14af77c1be: Waiting [2021-03-02T05:56:03.407Z] 01666e4c0597: Waiting [2021-03-02T05:56:03.407Z] aa168da1d23b: Waiting [2021-03-02T05:56:03.407Z] 36b3adc4ff6f: Download complete [2021-03-02T05:56:03.407Z] 46f8f816bc3b: Download complete [2021-03-02T05:56:03.407Z] df20fa9351a1: Verifying Checksum [2021-03-02T05:56:03.407Z] df20fa9351a1: Download complete [2021-03-02T05:56:03.407Z] 93b9cdb0e59b: Verifying Checksum [2021-03-02T05:56:03.407Z] 93b9cdb0e59b: Download complete [2021-03-02T05:56:03.407Z] 5e14af77c1be: Verifying Checksum [2021-03-02T05:56:03.407Z] 5e14af77c1be: Download complete [2021-03-02T05:56:03.407Z] 93b61091891f: Verifying Checksum [2021-03-02T05:56:03.407Z] 93b61091891f: Download complete [2021-03-02T05:56:03.676Z] 01666e4c0597: Verifying Checksum [2021-03-02T05:56:03.676Z] 01666e4c0597: Download complete [2021-03-02T05:56:03.676Z] 8ad3a11d3b57: Verifying Checksum [2021-03-02T05:56:03.676Z] 8ad3a11d3b57: Download complete [2021-03-02T05:56:03.951Z] df20fa9351a1: Pull complete [2021-03-02T05:56:04.218Z] 36b3adc4ff6f: Pull complete [2021-03-02T05:56:04.802Z] 8ad3a11d3b57: Pull complete [2021-03-02T05:56:05.289Z] 46f8f816bc3b: Pull complete [2021-03-02T05:56:05.870Z] aa168da1d23b: Verifying Checksum [2021-03-02T05:56:05.870Z] aa168da1d23b: Download complete [2021-03-02T05:56:06.137Z] 93b61091891f: Pull complete [2021-03-02T05:56:06.137Z] 93b9cdb0e59b: Pull complete [2021-03-02T05:56:06.401Z] 5e14af77c1be: Pull complete [2021-03-02T05:56:06.401Z] 01666e4c0597: Pull complete [2021-03-02T05:56:13.057Z] aa168da1d23b: Pull complete [2021-03-02T05:56:13.057Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-02T05:56:13.057Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-02T05:56:13.057Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-02T05:56:13.294Z] prd-centos7-docker-4c-2g-28171 does not seem to be running inside a container [2021-03-02T05:56:13.350Z] $ 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-727/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-727 -v /w/workspace/ndry_app-functions-sdk-go_PR-727:/w/workspace/ndry_app-functions-sdk-go_PR-727:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-727@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-727@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-02T05:56:17.587Z] $ docker top d9b703814e84a488a4b3c2a768e795bce3a8c2996f905ca58d1fc94e9d512eac -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-02T05:56:18.163Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-02T05:56:18.489Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-02T05:56:18.810Z] + ls /var/log/sa-host [2021-03-02T05:56:18.811Z] + sadf -c /var/log/sa-host/sa02 [2021-03-02T05:56:18.811Z] file_magic: OK [2021-03-02T05:56:18.811Z] HZ: Using current value: 100 [2021-03-02T05:56:18.811Z] file_header: OK [2021-03-02T05:56:18.811Z] 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-02T05:56:18.811Z] Statistics: [2021-03-02T05:56:18.811Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-02T05:56:18.811Z] File successfully converted to sysstat format version 12.2.1 [2021-03-02T05:56:18.811Z] + sadf -c /var/log/sa-host/sa23 [2021-03-02T05:56:18.811Z] file_magic: OK [2021-03-02T05:56:18.811Z] HZ: Using current value: 100 [2021-03-02T05:56:18.811Z] file_header: OK [2021-03-02T05:56:18.811Z] 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-02T05:56:18.811Z] Statistics: [2021-03-02T05:56:18.811Z] Hnuu...uuuununununu... [2021-03-02T05:56:18.811Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-02T05:56:19.125Z] provisioning config files... [2021-03-02T05:56:19.148Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-727@tmp/config2969964456137721287tmp [Pipeline] { [Pipeline] echo [2021-03-02T05:56:19.271Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-02T05:56:19.604Z] ---> create-netrc.sh [Pipeline] } [2021-03-02T05:56:19.626Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-02T05:56:19.766Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-02T05:56:20.100Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-02T05:56:20.130Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-02T05:56:20.486Z] ---> sudo-logs.sh [2021-03-02T05:56:20.486Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-02T05:56:20.630Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-02T05:56:20.974Z] ---> job-cost.sh [2021-03-02T05:56:20.975Z] lf-activate-venv: SKIPPING [2021-03-02T05:56:20.975Z] DEBUG: total: 0.20999999344348907 [2021-03-02T05:56:20.975Z] INFO: Retrieving Stack Cost... [2021-03-02T05:56:21.927Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-02T05:56:22.503Z] INFO: Archiving Costs [Pipeline] echo [2021-03-02T05:56:22.536Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-02T05:56:22.870Z] ---> logs-deploy.sh [2021-03-02T05:56:22.870Z] lf-activate-venv: SKIPPING [2021-03-02T05:56:22.870Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-727/1 [2021-03-02T05:56:22.870Z] INFO: archiving workspace using pattern(s): [2021-03-02T05:56:24.798Z] Archives upload complete. [2021-03-02T05:56:24.798Z] INFO: archiving logs to Nexus