Pull request #729 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ded36966271c4352ff904b20205b07bb40621baf+a1af34c7f52734c37f3173cf500a3c7bd0fc61a0 (0eab64798929037187e4c83674991b1f948700d6) 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-729/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-729/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 ‘prd-centos7-docker-4c-2g-28354’ 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’ Running on prd-centos7-docker-4c-2g-28357 in /w/workspace/ndry_app-functions-sdk-go_PR-729 [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-729 # 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 Merging remotes/origin/master commit a1af34c7f52734c37f3173cf500a3c7bd0fc61a0 into PR head commit ded36966271c4352ff904b20205b07bb40621baf Merge succeeded, producing ded36966271c4352ff904b20205b07bb40621baf Checking out Revision ded36966271c4352ff904b20205b07bb40621baf (PR-729) > 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/729/head:refs/remotes/origin/PR-729 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ded36966271c4352ff904b20205b07bb40621baf # 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 a1af34c7f52734c37f3173cf500a3c7bd0fc61a0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ded36966271c4352ff904b20205b07bb40621baf # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/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-03T05:58:35.022Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-03T05:58:35.359Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-03T05:58:35.541Z] ========================================================= [2021-03-03T05:58:35.541Z] EdgeX Global Pipelines Version Info [2021-03-03T05:58:35.541Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-03T05:58:37.506Z] ------------------- [2021-03-03T05:58:37.506Z] stable info: [2021-03-03T05:58:37.506Z] ------------------- [2021-03-03T05:58:37.506Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-03T05:58:37.506Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-03T05:58:37.506Z] Message: update stable to v1.0.184 [2021-03-03T05:58:38.460Z] ------------------- [2021-03-03T05:58:38.460Z] experimental info: [2021-03-03T05:58:38.460Z] ------------------- [2021-03-03T05:58:38.460Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-03T05:58:38.460Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-03T05:58:38.460Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-03T05:58:38.840Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-03-03T05:58:38.966Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-03-03T05:58:39.090Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-03T05:58:39.239Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-03T05:58:39.373Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-03T05:58:39.498Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-03T05:58:39.626Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-03T05:58:39.781Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-03T05:58:39.930Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-03-03T05:58:40.082Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-03T05:58:40.250Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-03T05:58:40.376Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-03-03T05:58:40.532Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-03T05:58:40.727Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-03T05:58:40.850Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-03-03T05:58:40.985Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-03T05:58:41.111Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-03T05:58:41.223Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-03T05:58:41.343Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-03T05:58:41.488Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-03T05:58:41.613Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-03T05:58:41.728Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-03-03T05:58:41.855Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-03T05:58:42.079Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-03T05:58:42.211Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-03-03T05:58:42.379Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-03T05:58:42.499Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-729 [Pipeline] echo [2021-03-03T05:58:42.621Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-729 [Pipeline] echo [2021-03-03T05:58:42.750Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-729 [Pipeline] echo [2021-03-03T05:58:42.877Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ded36966271c4352ff904b20205b07bb40621baf [Pipeline] echo [2021-03-03T05:58:43.037Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ded3696 [Pipeline] echo [2021-03-03T05:58:43.155Z] [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-03T05:58:44.207Z] + git log --format=format:%s -1 ded36966271c4352ff904b20205b07bb40621baf [Pipeline] echo [2021-03-03T05:58:44.330Z] GIT_COMMIT: ded36966271c4352ff904b20205b07bb40621baf, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-03-03T05:58:44.405Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-03T05:58:45.052Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-03T05:58:46.523Z] [2021-03-03T05:58:46.523Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-03T05:58:46.999Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-03T05:58:47.435Z] latest: Pulling from edgex-devops/git-semver [2021-03-03T05:58:47.435Z] 31603596830f: Pulling fs layer [2021-03-03T05:58:47.435Z] 2a8b12db71e7: Pulling fs layer [2021-03-03T05:58:47.435Z] 6ca5941a6612: Pulling fs layer [2021-03-03T05:58:47.435Z] ecc8261a40a4: Pulling fs layer [2021-03-03T05:58:47.435Z] ecc8261a40a4: Waiting [2021-03-03T05:58:47.435Z] 2a8b12db71e7: Verifying Checksum [2021-03-03T05:58:47.435Z] 2a8b12db71e7: Download complete [2021-03-03T05:58:47.740Z] 31603596830f: Verifying Checksum [2021-03-03T05:58:47.740Z] 31603596830f: Download complete [2021-03-03T05:58:48.107Z] ecc8261a40a4: Verifying Checksum [2021-03-03T05:58:48.107Z] ecc8261a40a4: Download complete [2021-03-03T05:58:48.386Z] 6ca5941a6612: Verifying Checksum [2021-03-03T05:58:48.386Z] 6ca5941a6612: Download complete [2021-03-03T05:58:48.651Z] 31603596830f: Pull complete [2021-03-03T05:58:49.256Z] 2a8b12db71e7: Pull complete [2021-03-03T05:58:50.691Z] 6ca5941a6612: Pull complete [2021-03-03T05:58:51.304Z] ecc8261a40a4: Pull complete [2021-03-03T05:58:51.581Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-03T05:58:51.581Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-03T05:58:51.581Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-03T05:58:51.793Z] prd-centos7-docker-4c-2g-28357 does not seem to be running inside a container [2021-03-03T05:58:51.917Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-729 -v /w/workspace/ndry_app-functions-sdk-go_PR-729:/w/workspace/ndry_app-functions-sdk-go_PR-729:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-729@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-729@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-03T05:58:57.211Z] $ docker top adee34034959b5759da2423f29acede01b9b21ed0604becef532b795f415b439 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-03T05:58:58.345Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-03T05:58:58.345Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-03T05:58:58.971Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-03T05:58:58.981Z] $ docker exec adee34034959b5759da2423f29acede01b9b21ed0604becef532b795f415b439 ssh-agent [2021-03-03T05:58:59.445Z] SSH_AUTH_SOCK=/tmp/ssh-Arwhc0MQ4H8t/agent.12 [2021-03-03T05:58:59.445Z] SSH_AGENT_PID=18 [2021-03-03T05:58:59.479Z] Running ssh-add (command line suppressed) [2021-03-03T05:58:59.791Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-729@tmp/private_key_2389879141460334686.key (/w/workspace/ndry_app-functions-sdk-go_PR-729@tmp/private_key_2389879141460334686.key) [2021-03-03T05:58:59.899Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-03T05:59:00.308Z] + git tag --points-at HEAD [Pipeline] } [2021-03-03T05:59:00.471Z] $ docker exec --env ******** --env ******** adee34034959b5759da2423f29acede01b9b21ed0604becef532b795f415b439 ssh-agent -k [2021-03-03T05:59:00.647Z] unset SSH_AUTH_SOCK; [2021-03-03T05:59:00.647Z] unset SSH_AGENT_PID; [2021-03-03T05:59:00.647Z] echo Agent pid 18 killed; [2021-03-03T05:59:00.764Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-03T05:59:00.970Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-03T05:59:00.970Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-03T05:59:01.276Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-03T05:59:01.286Z] $ docker exec adee34034959b5759da2423f29acede01b9b21ed0604becef532b795f415b439 ssh-agent [2021-03-03T05:59:01.566Z] SSH_AUTH_SOCK=/tmp/ssh-Endqe53drtR2/agent.46 [2021-03-03T05:59:01.566Z] SSH_AGENT_PID=52 [2021-03-03T05:59:01.577Z] Running ssh-add (command line suppressed) [2021-03-03T05:59:01.779Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-729@tmp/private_key_9164203154001257593.key (/w/workspace/ndry_app-functions-sdk-go_PR-729@tmp/private_key_9164203154001257593.key) [2021-03-03T05:59:01.891Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-03T05:59:02.324Z] + git semver init [2021-03-03T05:59:02.324Z] # -> Open(): unable to determine branch for HEAD [2021-03-03T05:59:02.324Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-729/.git [2021-03-03T05:59:02.324Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-729 [2021-03-03T05:59:02.324Z] # $SEMVER_REMOTE_NAME = origin [2021-03-03T05:59:02.324Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-03T05:59:02.324Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-03T05:59:02.324Z] # $SEMVER_BRANCH = PR-729 [2021-03-03T05:59:02.324Z] # $SEMVER_TEMP = /tmp/semver-823672404 [2021-03-03T05:59:02.324Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-03-03T05:59:05.719Z] # '/tmp/semver-823672404' -> '/w/workspace/ndry_app-functions-sdk-go_PR-729/.semver' [2021-03-03T05:59:05.999Z] # -> Force: false [2021-03-03T05:59:05.999Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-729/.semver [Pipeline] } [2021-03-03T05:59:06.037Z] $ docker exec --env ******** --env ******** adee34034959b5759da2423f29acede01b9b21ed0604becef532b795f415b439 ssh-agent -k [2021-03-03T05:59:06.217Z] unset SSH_AUTH_SOCK; [2021-03-03T05:59:06.217Z] unset SSH_AGENT_PID; [2021-03-03T05:59:06.217Z] echo Agent pid 52 killed; [2021-03-03T05:59:06.306Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-03T05:59:06.941Z] + git semver [Pipeline] } [2021-03-03T05:59:06.997Z] $ docker stop --time=1 adee34034959b5759da2423f29acede01b9b21ed0604becef532b795f415b439 [2021-03-03T05:59:09.680Z] $ docker rm -f adee34034959b5759da2423f29acede01b9b21ed0604becef532b795f415b439 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-03T05:59:10.331Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-03T05:59:11.367Z] Stashed 1 file(s) [Pipeline] echo [2021-03-03T05:59:11.388Z] [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-03T05:59:27.305Z] Still waiting to schedule task [2021-03-03T05:59:27.305Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-03-03T05:59:27.333Z] Still waiting to schedule task [2021-03-03T05:59:27.333Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-27930’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-28360’ is offline [2021-03-03T06:01:38.483Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-28361 in /w/workspace/ndry_app-functions-sdk-go_PR-729 [Pipeline] { [Pipeline] ws [2021-03-03T06:01:38.580Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-03-03T06:01:43.390Z] using credential edgex-jenkins-ssh [2021-03-03T06:01:43.466Z] Cloning the remote Git repository [2021-03-03T06:01:43.522Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-03T06:01:43.633Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-03-03T06:01:43.699Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-03T06:01:43.700Z] > git --version # timeout=10 [2021-03-03T06:01:43.719Z] > git --version # 'git version 2.17.1' [2021-03-03T06:01:43.721Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-03T06:01:43.781Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-03T06:01:47.454Z] Merging remotes/origin/master commit a1af34c7f52734c37f3173cf500a3c7bd0fc61a0 into PR head commit ded36966271c4352ff904b20205b07bb40621baf [2021-03-03T06:01:46.873Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-03T06:01:46.888Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-03T06:01:46.915Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-03T06:01:46.956Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-03T06:01:46.957Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-03T06:01:46.969Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/729/head:refs/remotes/origin/PR-729 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-03T06:01:47.484Z] > git config core.sparsecheckout # timeout=10 [2021-03-03T06:01:47.503Z] > git checkout -f ded36966271c4352ff904b20205b07bb40621baf # timeout=10 [2021-03-03T06:01:47.713Z] Merge succeeded, producing ded36966271c4352ff904b20205b07bb40621baf [2021-03-03T06:01:47.714Z] Checking out Revision ded36966271c4352ff904b20205b07bb40621baf (PR-729) [2021-03-03T06:01:47.626Z] > git remote # timeout=10 [2021-03-03T06:01:47.644Z] > git config --get remote.origin.url # timeout=10 [2021-03-03T06:01:47.664Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-03T06:01:47.675Z] > git merge a1af34c7f52734c37f3173cf500a3c7bd0fc61a0 # timeout=10 [2021-03-03T06:01:47.700Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-03T06:01:47.727Z] > git config core.sparsecheckout # timeout=10 [2021-03-03T06:01:47.738Z] > git checkout -f ded36966271c4352ff904b20205b07bb40621baf # timeout=10 [2021-03-03T06:01:52.292Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-03-03T06:01:52.355Z] > git --version # timeout=10 [2021-03-03T06:01:52.368Z] > git --version # 'git version 2.17.1' [2021-03-03T06:01:52.378Z] fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-03T06:01:54.126Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-03T06:01:54.588Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-03T06:01:54.951Z] + sudo service docker restart [2021-03-03T06:01:54.951Z] + true [Pipeline] unstash [Pipeline] echo [2021-03-03T06:01:57.911Z] ========================================================= [2021-03-03T06:01:57.911Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-03T06:01:57.911Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-03T06:01:58.339Z] + 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-03T06:01:59.332Z] Sending build context to Docker daemon 19.26MB [2021-03-03T06:01:59.332Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-03T06:01:59.332Z] Step 2/8 : FROM ${BASE} [2021-03-03T06:01:59.609Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-03T06:01:59.609Z] 5f621e34cdf4: Pulling fs layer [2021-03-03T06:01:59.609Z] a4357932f1b6: Pulling fs layer [2021-03-03T06:01:59.609Z] 18c013af1878: Pulling fs layer [2021-03-03T06:01:59.609Z] 00ac8860ef70: Pulling fs layer [2021-03-03T06:01:59.609Z] 63d7cb157983: Pulling fs layer [2021-03-03T06:01:59.609Z] b116817d02f9: Pulling fs layer [2021-03-03T06:01:59.609Z] 745a02a5169b: Pulling fs layer [2021-03-03T06:01:59.609Z] 63d7cb157983: Waiting [2021-03-03T06:01:59.609Z] b116817d02f9: Waiting [2021-03-03T06:01:59.609Z] 745a02a5169b: Waiting [2021-03-03T06:01:59.609Z] 00ac8860ef70: Waiting [2021-03-03T06:01:59.883Z] 18c013af1878: Verifying Checksum [2021-03-03T06:01:59.883Z] 18c013af1878: Download complete [2021-03-03T06:01:59.883Z] a4357932f1b6: Download complete [2021-03-03T06:01:59.883Z] 63d7cb157983: Verifying Checksum [2021-03-03T06:01:59.883Z] 63d7cb157983: Download complete [2021-03-03T06:01:59.883Z] b116817d02f9: Verifying Checksum [2021-03-03T06:01:59.883Z] b116817d02f9: Download complete [2021-03-03T06:01:59.883Z] 5f621e34cdf4: Download complete [2021-03-03T06:02:00.489Z] 5f621e34cdf4: Pull complete [2021-03-03T06:02:01.099Z] a4357932f1b6: Pull complete [2021-03-03T06:02:01.703Z] 18c013af1878: Pull complete [2021-03-03T06:02:02.392Z] 745a02a5169b: Verifying Checksum [2021-03-03T06:02:02.392Z] 745a02a5169b: Download complete [2021-03-03T06:02:03.504Z] 00ac8860ef70: Verifying Checksum [2021-03-03T06:02:03.504Z] 00ac8860ef70: Download complete [2021-03-03T06:02:13.696Z] 00ac8860ef70: Pull complete [2021-03-03T06:02:13.972Z] 63d7cb157983: Pull complete [2021-03-03T06:02:14.245Z] b116817d02f9: Pull complete [2021-03-03T06:02:18.577Z] 745a02a5169b: Pull complete [2021-03-03T06:02:18.577Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-03T06:02:18.577Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-03T06:02:18.577Z] ---> b7e6874047d6 [2021-03-03T06:02:18.577Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-03-03T06:02:18.577Z] 20.10.0: Pulling from library/docker [2021-03-03T06:02:18.577Z] a3cc7d3b244e: Pulling fs layer [2021-03-03T06:02:18.577Z] 02a3295e0d61: Pulling fs layer [2021-03-03T06:02:18.577Z] 0f4f2e6d8100: Pulling fs layer [2021-03-03T06:02:18.577Z] 330b718f631f: Pulling fs layer [2021-03-03T06:02:18.577Z] a93816041522: Pulling fs layer [2021-03-03T06:02:18.577Z] bdb6da89ff94: Pulling fs layer [2021-03-03T06:02:18.577Z] 2a70c0c122f4: Pulling fs layer [2021-03-03T06:02:18.577Z] a93816041522: Waiting [2021-03-03T06:02:18.577Z] bdb6da89ff94: Waiting [2021-03-03T06:02:18.577Z] 2a70c0c122f4: Waiting [2021-03-03T06:02:18.577Z] 330b718f631f: Waiting [2021-03-03T06:02:18.577Z] 0f4f2e6d8100: Verifying Checksum [2021-03-03T06:02:18.577Z] 0f4f2e6d8100: Download complete [2021-03-03T06:02:18.577Z] 02a3295e0d61: Verifying Checksum [2021-03-03T06:02:18.577Z] 02a3295e0d61: Download complete [2021-03-03T06:02:18.577Z] a93816041522: Verifying Checksum [2021-03-03T06:02:18.577Z] a93816041522: Download complete [2021-03-03T06:02:18.577Z] a3cc7d3b244e: Verifying Checksum [2021-03-03T06:02:18.577Z] a3cc7d3b244e: Download complete [2021-03-03T06:02:18.577Z] bdb6da89ff94: Verifying Checksum [2021-03-03T06:02:18.577Z] bdb6da89ff94: Download complete [2021-03-03T06:02:18.577Z] 2a70c0c122f4: Download complete [2021-03-03T06:02:19.178Z] a3cc7d3b244e: Pull complete [2021-03-03T06:02:20.158Z] 02a3295e0d61: Pull complete [2021-03-03T06:02:20.158Z] 330b718f631f: Verifying Checksum [2021-03-03T06:02:20.158Z] 330b718f631f: Download complete [2021-03-03T06:02:20.433Z] 0f4f2e6d8100: Pull complete [2021-03-03T06:02:24.748Z] 330b718f631f: Pull complete [2021-03-03T06:02:24.748Z] a93816041522: Pull complete [2021-03-03T06:02:24.748Z] bdb6da89ff94: Pull complete [2021-03-03T06:02:25.344Z] 2a70c0c122f4: Pull complete [2021-03-03T06:02:25.344Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-03-03T06:02:25.344Z] Status: Downloaded newer image for docker:20.10.0 [2021-03-03T06:02:32.072Z] ---> d577581e7984 [2021-03-03T06:02:32.072Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-03T06:02:32.072Z] ---> Running in 922054aa1a64 [2021-03-03T06:02:32.072Z] Removing intermediate container 922054aa1a64 [2021-03-03T06:02:32.072Z] ---> 62e898bfcc7d [2021-03-03T06:02:32.072Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-03-03T06:02:32.072Z] ---> Running in fc3a4ff53e7d [2021-03-03T06:02:33.054Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-03T06:02:33.645Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-03T06:02:34.239Z] (1/5) Installing libsodium (1.0.18-r0) [2021-03-03T06:02:34.832Z] (2/5) Installing libzmq (4.3.3-r0) [2021-03-03T06:02:35.102Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-03-03T06:02:35.102Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-03-03T06:02:35.375Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-03-03T06:02:35.375Z] Executing busybox-1.31.1-r19.trigger [2021-03-03T06:02:35.375Z] OK: 144 MiB in 44 packages [2021-03-03T06:02:36.813Z] Removing intermediate container fc3a4ff53e7d [2021-03-03T06:02:36.813Z] ---> 27599036fc0c [2021-03-03T06:02:36.813Z] Step 6/8 : WORKDIR /build [2021-03-03T06:02:36.813Z] ---> Running in 6fc9f8a74673 [2021-03-03T06:02:37.408Z] Removing intermediate container 6fc9f8a74673 [2021-03-03T06:02:37.408Z] ---> dcee7100f5c4 [2021-03-03T06:02:37.408Z] Step 7/8 : COPY go.mod . [2021-03-03T06:02:38.003Z] ---> 4d9052f2513b [2021-03-03T06:02:38.003Z] Step 8/8 : RUN go mod download [2021-03-03T06:02:38.282Z] ---> Running in b13cc186949c [2021-03-03T06:03:05.096Z] Removing intermediate container b13cc186949c [2021-03-03T06:03:05.096Z] ---> c02aeed7c449 [2021-03-03T06:03:05.096Z] Successfully built c02aeed7c449 [2021-03-03T06:03:05.096Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-03T06:03:05.481Z] + docker inspect -f . ci-base-image-arm64 [2021-03-03T06:03:05.481Z] . [Pipeline] withDockerContainer [2021-03-03T06:03:05.793Z] prd-ubuntu18.04-docker-arm64-4c-16g-28361 does not seem to be running inside a container [2021-03-03T06:03:05.881Z] $ 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 ******** ci-base-image-arm64 cat [2021-03-03T06:03:07.427Z] $ docker top cb2a0f41a01c05761391fd093931713841acbb866ca24e00a8f10280f37bfeef -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-03T06:03:08.511Z] + go version [2021-03-03T06:03:08.511Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-03T06:03:08.550Z] $ docker stop --time=1 cb2a0f41a01c05761391fd093931713841acbb866ca24e00a8f10280f37bfeef [2021-03-03T06:03:10.477Z] $ docker rm -f cb2a0f41a01c05761391fd093931713841acbb866ca24e00a8f10280f37bfeef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-03T06:03:11.805Z] + docker inspect -f . ci-base-image-arm64 [2021-03-03T06:03:11.805Z] . [Pipeline] withDockerContainer [2021-03-03T06:03:12.115Z] prd-ubuntu18.04-docker-arm64-4c-16g-28361 does not seem to be running inside a container [2021-03-03T06:03:12.205Z] $ 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 ******** ci-base-image-arm64 cat [2021-03-03T06:03:13.681Z] $ docker top 2966320af7a36ff9457867b5fee0a35309a4904f66fd42b44c77d28dec3ea6a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-03T06:03:14.834Z] + make test [2021-03-03T06:03:14.834Z] make -C ./app-service-template build [2021-03-03T06:03:14.834Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-03-03T06:03:14.834Z] 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-03T06:03:29.166Z] Running on prd-centos7-docker-4c-2g-28364 in /w/workspace/ndry_app-functions-sdk-go_PR-729 [Pipeline] { [Pipeline] ws [2021-03-03T06:03:29.260Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-03-03T06:03:31.623Z] using credential edgex-jenkins-ssh [2021-03-03T06:03:31.672Z] Cloning the remote Git repository [2021-03-03T06:03:31.698Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-03T06:03:31.858Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-03-03T06:03:31.942Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-03T06:03:31.943Z] > git --version # timeout=10 [2021-03-03T06:03:31.955Z] > git --version # 'git version 2.24.3' [2021-03-03T06:03:31.955Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-03T06:03:31.981Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-03T06:03:33.634Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-03T06:03:33.640Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-03T06:03:33.650Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-03T06:03:33.663Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-03T06:03:33.663Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-03T06:03:33.667Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/729/head:refs/remotes/origin/PR-729 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-03T06:03:34.148Z] Merging remotes/origin/master commit a1af34c7f52734c37f3173cf500a3c7bd0fc61a0 into PR head commit ded36966271c4352ff904b20205b07bb40621baf [2021-03-03T06:03:34.241Z] Merge succeeded, producing ded36966271c4352ff904b20205b07bb40621baf [2021-03-03T06:03:34.242Z] Checking out Revision ded36966271c4352ff904b20205b07bb40621baf (PR-729) [2021-03-03T06:03:34.156Z] > git config core.sparsecheckout # timeout=10 [2021-03-03T06:03:34.160Z] > git checkout -f ded36966271c4352ff904b20205b07bb40621baf # timeout=10 [2021-03-03T06:03:34.204Z] > git remote # timeout=10 [2021-03-03T06:03:34.217Z] > git config --get remote.origin.url # timeout=10 [2021-03-03T06:03:34.221Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-03T06:03:34.225Z] > git merge a1af34c7f52734c37f3173cf500a3c7bd0fc61a0 # timeout=10 [2021-03-03T06:03:34.236Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-03T06:03:34.244Z] > git config core.sparsecheckout # timeout=10 [2021-03-03T06:03:34.249Z] > git checkout -f ded36966271c4352ff904b20205b07bb40621baf # timeout=10 [2021-03-03T06:03:37.914Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-03-03T06:03:37.940Z] > git --version # timeout=10 [2021-03-03T06:03:37.944Z] > git --version # 'git version 2.24.3' [2021-03-03T06:03:37.948Z] fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-03T06:03:39.394Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-03T06:03:39.745Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-03T06:03:40.066Z] + sudo service docker restart [2021-03-03T06:03:40.066Z] + true [2021-03-03T06:03:40.066Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-03-03T06:03:41.693Z] ========================================================= [2021-03-03T06:03:41.693Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-03T06:03:41.693Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-03T06:03:42.087Z] + 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-03T06:03:42.663Z] Sending build context to Docker daemon 19.26MB [2021-03-03T06:03:42.663Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-03T06:03:42.663Z] Step 2/8 : FROM ${BASE} [2021-03-03T06:03:42.663Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-03T06:03:42.663Z] 188c0c94c7c5: Pulling fs layer [2021-03-03T06:03:42.663Z] 0ef7d3d256c8: Pulling fs layer [2021-03-03T06:03:42.663Z] de9db76c5a1d: Pulling fs layer [2021-03-03T06:03:42.663Z] bca2f99d35d6: Pulling fs layer [2021-03-03T06:03:42.663Z] 93359f2a8cfa: Pulling fs layer [2021-03-03T06:03:42.663Z] 7c6f9722023f: Pulling fs layer [2021-03-03T06:03:42.663Z] a35cf1a2eb13: Pulling fs layer [2021-03-03T06:03:42.663Z] 93359f2a8cfa: Waiting [2021-03-03T06:03:42.663Z] 7c6f9722023f: Waiting [2021-03-03T06:03:42.663Z] a35cf1a2eb13: Waiting [2021-03-03T06:03:42.663Z] bca2f99d35d6: Waiting [2021-03-03T06:03:42.663Z] de9db76c5a1d: Download complete [2021-03-03T06:03:42.663Z] 0ef7d3d256c8: Verifying Checksum [2021-03-03T06:03:42.663Z] 0ef7d3d256c8: Download complete [2021-03-03T06:03:42.663Z] 93359f2a8cfa: Verifying Checksum [2021-03-03T06:03:42.663Z] 93359f2a8cfa: Download complete [2021-03-03T06:03:42.926Z] 7c6f9722023f: Verifying Checksum [2021-03-03T06:03:42.926Z] 7c6f9722023f: Download complete [2021-03-03T06:03:43.189Z] 188c0c94c7c5: Verifying Checksum [2021-03-03T06:03:43.189Z] 188c0c94c7c5: Download complete [2021-03-03T06:03:43.452Z] 188c0c94c7c5: Pull complete [2021-03-03T06:03:43.723Z] 0ef7d3d256c8: Pull complete [2021-03-03T06:03:43.724Z] de9db76c5a1d: Pull complete [2021-03-03T06:03:45.122Z] a35cf1a2eb13: Verifying Checksum [2021-03-03T06:03:45.122Z] a35cf1a2eb13: Download complete [2021-03-03T06:03:45.384Z] bca2f99d35d6: Verifying Checksum [2021-03-03T06:03:45.384Z] bca2f99d35d6: Download complete [2021-03-03T06:03:47.239Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-03-03T06:03:47.239Z] make -C ./app-service-template test [2021-03-03T06:03:47.239Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-03-03T06:03:47.239Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-03-03T06:03:50.701Z] bca2f99d35d6: Pull complete [2021-03-03T06:03:50.701Z] 93359f2a8cfa: Pull complete [2021-03-03T06:03:50.701Z] 7c6f9722023f: Pull complete [2021-03-03T06:03:58.874Z] a35cf1a2eb13: Pull complete [2021-03-03T06:03:58.875Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-03T06:03:58.875Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-03T06:03:58.875Z] ---> a62c8e92a672 [2021-03-03T06:03:58.875Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-03-03T06:03:58.875Z] 20.10.0: Pulling from library/docker [2021-03-03T06:03:58.875Z] 05e7bc50f07f: Pulling fs layer [2021-03-03T06:03:58.875Z] 6db28d0fdbf6: Pulling fs layer [2021-03-03T06:03:58.875Z] 292df0bc6bf3: Pulling fs layer [2021-03-03T06:03:58.875Z] 2e060f4bd70b: Pulling fs layer [2021-03-03T06:03:58.875Z] 80e8d568a223: Pulling fs layer [2021-03-03T06:03:58.875Z] 8dc6ef1a942a: Pulling fs layer [2021-03-03T06:03:58.875Z] 2312dd95470a: Pulling fs layer [2021-03-03T06:03:58.875Z] 80e8d568a223: Waiting [2021-03-03T06:03:58.875Z] 2e060f4bd70b: Waiting [2021-03-03T06:03:58.875Z] 8dc6ef1a942a: Waiting [2021-03-03T06:03:58.875Z] 2312dd95470a: Waiting [2021-03-03T06:03:58.875Z] 292df0bc6bf3: Verifying Checksum [2021-03-03T06:03:58.875Z] 292df0bc6bf3: Download complete [2021-03-03T06:03:58.875Z] 05e7bc50f07f: Verifying Checksum [2021-03-03T06:03:58.875Z] 80e8d568a223: Verifying Checksum [2021-03-03T06:03:58.875Z] 80e8d568a223: Download complete [2021-03-03T06:03:58.875Z] 6db28d0fdbf6: Verifying Checksum [2021-03-03T06:03:58.875Z] 6db28d0fdbf6: Download complete [2021-03-03T06:03:58.875Z] 2312dd95470a: Verifying Checksum [2021-03-03T06:03:58.875Z] 2312dd95470a: Download complete [2021-03-03T06:03:58.875Z] 8dc6ef1a942a: Verifying Checksum [2021-03-03T06:03:58.875Z] 8dc6ef1a942a: Download complete [2021-03-03T06:03:58.875Z] 05e7bc50f07f: Pull complete [2021-03-03T06:03:58.875Z] 6db28d0fdbf6: Pull complete [2021-03-03T06:03:58.875Z] 292df0bc6bf3: Pull complete [2021-03-03T06:03:58.875Z] 2e060f4bd70b: Verifying Checksum [2021-03-03T06:03:58.875Z] 2e060f4bd70b: Download complete [2021-03-03T06:04:01.453Z] 2e060f4bd70b: Pull complete [2021-03-03T06:04:01.453Z] 80e8d568a223: Pull complete [2021-03-03T06:04:01.453Z] 8dc6ef1a942a: Pull complete [2021-03-03T06:04:01.453Z] 2312dd95470a: Pull complete [2021-03-03T06:04:01.453Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-03-03T06:04:01.453Z] Status: Downloaded newer image for docker:20.10.0 [2021-03-03T06:04:02.864Z] ---> a517666c1941 [2021-03-03T06:04:02.864Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-03T06:04:03.132Z] ---> Running in 2495faf815cc [2021-03-03T06:04:03.133Z] Removing intermediate container 2495faf815cc [2021-03-03T06:04:03.133Z] ---> d989e816b352 [2021-03-03T06:04:03.133Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-03-03T06:04:03.397Z] ---> Running in 4add96f1e4a7 [2021-03-03T06:04:03.975Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-03T06:04:04.552Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-03T06:04:04.815Z] (1/5) Installing libsodium (1.0.18-r0) [2021-03-03T06:04:05.082Z] (2/5) Installing libzmq (4.3.3-r0) [2021-03-03T06:04:05.082Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-03-03T06:04:05.082Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-03-03T06:04:05.358Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-03-03T06:04:05.358Z] Executing busybox-1.31.1-r19.trigger [2021-03-03T06:04:05.358Z] OK: 167 MiB in 44 packages [2021-03-03T06:04:05.940Z] Removing intermediate container 4add96f1e4a7 [2021-03-03T06:04:05.940Z] ---> 2339e35ccb37 [2021-03-03T06:04:05.940Z] Step 6/8 : WORKDIR /build [2021-03-03T06:04:06.205Z] ---> Running in b29d6b53c956 [2021-03-03T06:04:06.205Z] Removing intermediate container b29d6b53c956 [2021-03-03T06:04:06.205Z] ---> 83e05444e46d [2021-03-03T06:04:06.205Z] Step 7/8 : COPY go.mod . [2021-03-03T06:04:06.468Z] ---> 830a7dbb3f8f [2021-03-03T06:04:06.468Z] Step 8/8 : RUN go mod download [2021-03-03T06:04:06.732Z] ---> Running in 5305f5af243b [2021-03-03T06:04:09.445Z] ? new-app-service [no test files] [2021-03-03T06:04:09.446Z] # new-app-service/functions [new-app-service/functions.test] [2021-03-03T06:04:09.446Z] functions/sample_test.go:79:24: not enough arguments in call to dtos.NewEvent [2021-03-03T06:04:09.446Z] have (string, string) [2021-03-03T06:04:09.446Z] want (string, string, string) [2021-03-03T06:04:09.446Z] FAIL new-app-service/functions [build failed] [2021-03-03T06:04:09.446Z] FAIL [2021-03-03T06:04:09.446Z] make[1]: *** [Makefile:43: test] Error 2 [2021-03-03T06:04:09.446Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-03-03T06:04:09.446Z] make: *** [Makefile:9: test-template] Error 2 [Pipeline] } [2021-03-03T06:04:09.495Z] $ docker stop --time=1 2966320af7a36ff9457867b5fee0a35309a4904f66fd42b44c77d28dec3ea6a8 [2021-03-03T06:04:11.768Z] $ docker rm -f 2966320af7a36ff9457867b5fee0a35309a4904f66fd42b44c77d28dec3ea6a8 [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-03T06:04:14.059Z] ---> job-cost.sh [2021-03-03T06:04:14.059Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-82zZ [2021-03-03T06:04:28.798Z] Removing intermediate container 5305f5af243b [2021-03-03T06:04:28.798Z] ---> 0f781f5fe2cb [2021-03-03T06:04:28.798Z] Successfully built 0f781f5fe2cb [2021-03-03T06:04:28.798Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-03T06:04:29.214Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-03T06:04:29.215Z] . [Pipeline] withDockerContainer [2021-03-03T06:04:29.362Z] prd-centos7-docker-4c-2g-28364 does not seem to be running inside a container [2021-03-03T06:04:29.410Z] $ 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-03T06:04:30.191Z] $ docker top 108f43aa1b836aa3b8f46f22847468c04c3e7104cbcd224b94a994a242f93766 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-03T06:04:30.763Z] + go version [2021-03-03T06:04:30.763Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-03T06:04:30.798Z] $ docker stop --time=1 108f43aa1b836aa3b8f46f22847468c04c3e7104cbcd224b94a994a242f93766 [2021-03-03T06:04:32.132Z] $ docker rm -f 108f43aa1b836aa3b8f46f22847468c04c3e7104cbcd224b94a994a242f93766 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-03T06:04:33.191Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-03T06:04:33.191Z] . [Pipeline] withDockerContainer [2021-03-03T06:04:33.311Z] prd-centos7-docker-4c-2g-28364 does not seem to be running inside a container [2021-03-03T06:04:33.359Z] $ 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-03T06:04:33.940Z] $ docker top eb2b5a2a18d426e2f5d1cca842c243e3accd8a20541d37027d2045deebb7d349 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-03T06:04:34.476Z] + make test [2021-03-03T06:04:34.476Z] make -C ./app-service-template build [2021-03-03T06:04:34.476Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-03-03T06:04:34.476Z] 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-03T06:04:49.497Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-03-03T06:04:49.497Z] make -C ./app-service-template test [2021-03-03T06:04:49.497Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-03-03T06:04:49.497Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-03-03T06:04:52.865Z] ? new-app-service [no test files] [2021-03-03T06:04:53.129Z] # new-app-service/functions [new-app-service/functions.test] [2021-03-03T06:04:53.129Z] functions/sample_test.go:79:24: not enough arguments in call to dtos.NewEvent [2021-03-03T06:04:53.129Z] have (string, string) [2021-03-03T06:04:53.129Z] want (string, string, string) [2021-03-03T06:04:53.129Z] FAIL new-app-service/functions [build failed] [2021-03-03T06:04:53.129Z] FAIL [2021-03-03T06:04:53.129Z] make[1]: *** [Makefile:43: test] Error 2 [2021-03-03T06:04:53.129Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-03-03T06:04:53.129Z] make: *** [Makefile:9: test-template] Error 2 [Pipeline] } [2021-03-03T06:04:53.177Z] $ docker stop --time=1 eb2b5a2a18d426e2f5d1cca842c243e3accd8a20541d37027d2045deebb7d349 [2021-03-03T06:04:53.208Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-03T06:04:55.068Z] $ docker rm -f eb2b5a2a18d426e2f5d1cca842c243e3accd8a20541d37027d2045deebb7d349 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-03T06:04:56.899Z] ---> job-cost.sh [2021-03-03T06:04:56.899Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-KkFJ [2021-03-03T06:05:11.848Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-03T06:05:38.509Z] lf-activate-venv(): INFO: Adding /tmp/venv-KkFJ/bin to PATH [2021-03-03T06:05:38.509Z] INFO: No Stack... [2021-03-03T06:05:38.509Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-03T06:05:38.509Z] INFO: Archiving Costs [Pipeline] sh [2021-03-03T06:05:38.839Z] + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv [2021-03-03T06:05:38.839Z] + cut -d, -f6 [Pipeline] lock [2021-03-03T06:05:38.950Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-729-1-stack-cost] [2021-03-03T06:05:38.957Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-729-1-stack-cost] did not exist. Created. [2021-03-03T06:05:38.957Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-729-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-03T06:05:39.471Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-03T06:05:39.899Z] Stashed 1 file(s) [Pipeline] } [2021-03-03T06:05:39.921Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-729-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-03T06:05:41.080Z] Failed in branch amd64 [2021-03-03T06:06:59.997Z] lf-activate-venv(): INFO: Adding /tmp/venv-82zZ/bin to PATH [2021-03-03T06:06:59.997Z] INFO: No Stack... [2021-03-03T06:06:59.997Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-03T06:06:59.997Z] INFO: Archiving Costs [Pipeline] sh [2021-03-03T06:07:00.364Z] + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv [2021-03-03T06:07:00.364Z] + cut -d, -f6 [Pipeline] lock [2021-03-03T06:07:00.508Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-729-1-stack-cost] [2021-03-03T06:07:00.515Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-729-1-stack-cost] did not exist. Created. [2021-03-03T06:07:00.515Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-729-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-03T06:07:01.044Z] /w/workspace/app-functions-sdk-go/1@tmp/durable-f0bcc2fc/script.sh: 1: /w/workspace/app-functions-sdk-go/1@tmp/durable-f0bcc2fc/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-03T06:07:01.420Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-03T06:07:01.461Z] Warning: overwriting stash ‘stack-cost’ [2021-03-03T06:07:02.355Z] Stashed 1 file(s) [Pipeline] } [2021-03-03T06:07:02.376Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-729-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-03T06:07:03.419Z] 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-03T06:07:07.538Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-03T06:07:08.601Z] ---> package-listing.sh [2021-03-03T06:07:08.601Z] ++ facter osfamily [2021-03-03T06:07:08.601Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-03T06:07:08.889Z] + OS_FAMILY=redhat [2021-03-03T06:07:08.889Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-729 [2021-03-03T06:07:08.889Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-03T06:07:08.889Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-03T06:07:08.889Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-03T06:07:08.889Z] + PACKAGES=/tmp/packages_start.txt [2021-03-03T06:07:08.889Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-729 ']' [2021-03-03T06:07:08.889Z] + PACKAGES=/tmp/packages_end.txt [2021-03-03T06:07:08.889Z] + case "${OS_FAMILY}" in [2021-03-03T06:07:08.889Z] + sort [2021-03-03T06:07:08.889Z] + rpm -qa [2021-03-03T06:07:29.310Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-03T06:07:29.310Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-03T06:07:29.310Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-03T06:07:29.310Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-729 ']' [2021-03-03T06:07:29.310Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-729/archives/ [2021-03-03T06:07:29.310Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-729/archives/ [Pipeline] echo [2021-03-03T06:07:29.358Z] 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-729/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-03T06:07:29.703Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-03T06:07:30.399Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-03T06:07:30.676Z] [2021-03-03T06:07:30.676Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-03T06:07:31.171Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-03T06:07:31.581Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-03T06:07:31.581Z] df20fa9351a1: Pulling fs layer [2021-03-03T06:07:31.581Z] 36b3adc4ff6f: Pulling fs layer [2021-03-03T06:07:31.581Z] 8ad3a11d3b57: Pulling fs layer [2021-03-03T06:07:31.581Z] 46f8f816bc3b: Pulling fs layer [2021-03-03T06:07:31.581Z] 93b61091891f: Pulling fs layer [2021-03-03T06:07:31.581Z] 93b9cdb0e59b: Pulling fs layer [2021-03-03T06:07:31.581Z] 5e14af77c1be: Pulling fs layer [2021-03-03T06:07:31.581Z] 01666e4c0597: Pulling fs layer [2021-03-03T06:07:31.581Z] aa168da1d23b: Pulling fs layer [2021-03-03T06:07:31.581Z] 93b9cdb0e59b: Waiting [2021-03-03T06:07:31.581Z] 5e14af77c1be: Waiting [2021-03-03T06:07:31.581Z] 01666e4c0597: Waiting [2021-03-03T06:07:31.581Z] aa168da1d23b: Waiting [2021-03-03T06:07:31.581Z] 93b61091891f: Waiting [2021-03-03T06:07:31.581Z] 46f8f816bc3b: Waiting [2021-03-03T06:07:31.581Z] 36b3adc4ff6f: Verifying Checksum [2021-03-03T06:07:31.581Z] 36b3adc4ff6f: Download complete [2021-03-03T06:07:31.581Z] 46f8f816bc3b: Verifying Checksum [2021-03-03T06:07:31.581Z] 46f8f816bc3b: Download complete [2021-03-03T06:07:32.599Z] df20fa9351a1: Verifying Checksum [2021-03-03T06:07:32.599Z] df20fa9351a1: Download complete [2021-03-03T06:07:32.599Z] 93b9cdb0e59b: Verifying Checksum [2021-03-03T06:07:32.599Z] 93b9cdb0e59b: Download complete [2021-03-03T06:07:32.950Z] 5e14af77c1be: Verifying Checksum [2021-03-03T06:07:32.950Z] 5e14af77c1be: Download complete [2021-03-03T06:07:32.950Z] 01666e4c0597: Verifying Checksum [2021-03-03T06:07:32.950Z] 01666e4c0597: Download complete [2021-03-03T06:07:32.950Z] 93b61091891f: Verifying Checksum [2021-03-03T06:07:32.950Z] 93b61091891f: Download complete [2021-03-03T06:07:33.634Z] 8ad3a11d3b57: Verifying Checksum [2021-03-03T06:07:33.634Z] 8ad3a11d3b57: Download complete [2021-03-03T06:07:34.643Z] df20fa9351a1: Pull complete [2021-03-03T06:07:34.938Z] 36b3adc4ff6f: Pull complete [2021-03-03T06:07:37.645Z] 8ad3a11d3b57: Pull complete [2021-03-03T06:07:37.645Z] aa168da1d23b: Verifying Checksum [2021-03-03T06:07:37.645Z] aa168da1d23b: Download complete [2021-03-03T06:07:38.032Z] 46f8f816bc3b: Pull complete [2021-03-03T06:07:39.771Z] 93b61091891f: Pull complete [2021-03-03T06:07:40.402Z] 93b9cdb0e59b: Pull complete [2021-03-03T06:07:41.039Z] 5e14af77c1be: Pull complete [2021-03-03T06:07:42.652Z] 01666e4c0597: Pull complete [2021-03-03T06:08:09.963Z] aa168da1d23b: Pull complete [2021-03-03T06:08:09.963Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-03T06:08:09.963Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-03T06:08:09.963Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-03T06:08:10.545Z] prd-centos7-docker-4c-2g-28357 does not seem to be running inside a container [2021-03-03T06:08:10.653Z] $ 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-729/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-729 -v /w/workspace/ndry_app-functions-sdk-go_PR-729:/w/workspace/ndry_app-functions-sdk-go_PR-729:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-729@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-729@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-03T06:08:17.770Z] $ docker top 932b64c30faad47352764b06b5bbc7c7c36cbd931b79daedd3a41aa40bf88f0b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-03T06:08:19.490Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-03T06:08:19.842Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-03T06:08:20.177Z] + ls /var/log/sa-host [2021-03-03T06:08:20.177Z] + sadf -c /var/log/sa-host/sa03 [2021-03-03T06:08:20.177Z] file_magic: OK [2021-03-03T06:08:20.177Z] HZ: Using current value: 100 [2021-03-03T06:08:20.177Z] file_header: OK [2021-03-03T06:08:20.177Z] 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-03T06:08:20.177Z] Statistics: [2021-03-03T06:08:20.177Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-03T06:08:20.177Z] File successfully converted to sysstat format version 12.2.1 [2021-03-03T06:08:20.177Z] + sadf -c /var/log/sa-host/sa23 [2021-03-03T06:08:20.177Z] file_magic: OK [2021-03-03T06:08:20.177Z] HZ: Using current value: 100 [2021-03-03T06:08:20.177Z] file_header: OK [2021-03-03T06:08:20.177Z] 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-03T06:08:20.177Z] Statistics: [2021-03-03T06:08:20.177Z] Hnuu...uuuununununu... [2021-03-03T06:08:20.177Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-03T06:08:21.083Z] provisioning config files... [2021-03-03T06:08:21.112Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-729@tmp/config1901363740567978417tmp [Pipeline] { [Pipeline] echo [2021-03-03T06:08:21.258Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-03T06:08:21.819Z] ---> create-netrc.sh [Pipeline] } [2021-03-03T06:08:22.176Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-03T06:08:22.341Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-03T06:08:22.898Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-03T06:08:22.933Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-03T06:08:23.767Z] ---> sudo-logs.sh [2021-03-03T06:08:23.767Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-03T06:08:24.105Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-03T06:08:24.508Z] ---> job-cost.sh [2021-03-03T06:08:24.508Z] lf-activate-venv: SKIPPING [2021-03-03T06:08:24.508Z] DEBUG: total: 0.20999999344348907 [2021-03-03T06:08:24.508Z] INFO: Retrieving Stack Cost... [2021-03-03T06:08:26.033Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-03T06:08:26.641Z] INFO: Archiving Costs [Pipeline] echo [2021-03-03T06:08:26.692Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-03T06:08:27.057Z] ---> logs-deploy.sh [2021-03-03T06:08:27.057Z] lf-activate-venv: SKIPPING [2021-03-03T06:08:27.057Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-729/1 [2021-03-03T06:08:27.057Z] INFO: archiving workspace using pattern(s): [2021-03-03T06:08:31.407Z] Archives upload complete. [2021-03-03T06:08:31.672Z] INFO: archiving logs to Nexus