Pull request #613 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of AlexCuse for edgexfoundry/app-functions-sdk-go Loading trusted files from base branch master at fb6bb540a8cb6df0ab3c7959dfb0879070efde55 rather than 001ef2fc921875c2a222e0c037d1e39153f345c8 Obtained Jenkinsfile from fb6bb540a8cb6df0ab3c7959dfb0879070efde55 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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-613/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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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-613/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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-17092 in /w/workspace/ndry_app-functions-sdk-go_PR-613 [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-613 # 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 fb6bb540a8cb6df0ab3c7959dfb0879070efde55 into PR head commit 001ef2fc921875c2a222e0c037d1e39153f345c8 > 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/613/head:refs/remotes/origin/PR-613 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 001ef2fc921875c2a222e0c037d1e39153f345c8 # timeout=10 Merge succeeded, producing 001ef2fc921875c2a222e0c037d1e39153f345c8 Checking out Revision 001ef2fc921875c2a222e0c037d1e39153f345c8 (PR-613) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge fb6bb540a8cb6df0ab3c7959dfb0879070efde55 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 001ef2fc921875c2a222e0c037d1e39153f345c8 # timeout=10 Commit message: "feat(sdk): Add MakeItStop" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-21T19:34:44.638Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-21T19:34:45.074Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-21T19:34:45.390Z] ========================================================= [2020-12-21T19:34:45.391Z] EdgeX Global Pipelines Version Info [2020-12-21T19:34:45.391Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-21T19:34:46.973Z] ------------------- [2020-12-21T19:34:46.974Z] stable info: [2020-12-21T19:34:46.974Z] ------------------- [2020-12-21T19:34:46.974Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-21T19:34:46.974Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-21T19:34:46.974Z] Message: update stable to v1.0.173 [2020-12-21T19:34:47.922Z] ------------------- [2020-12-21T19:34:47.922Z] experimental info: [2020-12-21T19:34:47.922Z] ------------------- [2020-12-21T19:34:47.922Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-21T19:34:47.922Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-21T19:34:47.922Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-21T19:34:48.381Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-12-21T19:34:48.529Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-12-21T19:34:48.667Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-21T19:34:48.828Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-21T19:34:48.994Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-21T19:34:49.199Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-21T19:34:49.353Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-21T19:34:49.529Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-21T19:34:49.680Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-21T19:34:49.825Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-21T19:34:49.946Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-21T19:34:50.111Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-12-21T19:34:50.269Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-21T19:34:50.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-21T19:34:50.622Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-12-21T19:34:50.790Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-21T19:34:50.925Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-21T19:34:51.069Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-21T19:34:51.240Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-21T19:34:51.436Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-21T19:34:51.609Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-21T19:34:51.765Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-12-21T19:34:51.913Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-21T19:34:52.099Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-21T19:34:52.263Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-12-21T19:34:52.456Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-21T19:34:52.704Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-21T19:34:52.881Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-613 [Pipeline] echo [2020-12-21T19:34:53.040Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-613 [Pipeline] echo [2020-12-21T19:34:53.216Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-613 [Pipeline] echo [2020-12-21T19:34:53.460Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 001ef2fc921875c2a222e0c037d1e39153f345c8 [Pipeline] echo [2020-12-21T19:34:53.578Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 001ef2f [Pipeline] echo [2020-12-21T19:34:53.705Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-21T19:34:54.634Z] + git log --format=format:%s -1 001ef2fc921875c2a222e0c037d1e39153f345c8 [Pipeline] echo [2020-12-21T19:34:54.710Z] GIT_COMMIT: 001ef2fc921875c2a222e0c037d1e39153f345c8, Commit Message: feat(sdk): Add MakeItStop [Pipeline] echo [2020-12-21T19:34:54.781Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-21T19:34:55.813Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-21T19:34:56.074Z] [2020-12-21T19:34:56.074Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-21T19:34:56.456Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-21T19:34:56.456Z] latest: Pulling from edgex-devops/git-semver [2020-12-21T19:34:56.456Z] 31603596830f: Pulling fs layer [2020-12-21T19:34:56.456Z] 2a8b12db71e7: Pulling fs layer [2020-12-21T19:34:56.456Z] 6ca5941a6612: Pulling fs layer [2020-12-21T19:34:56.456Z] ecc8261a40a4: Pulling fs layer [2020-12-21T19:34:56.456Z] 2a8b12db71e7: Download complete [2020-12-21T19:34:56.786Z] 31603596830f: Verifying Checksum [2020-12-21T19:34:56.786Z] 31603596830f: Download complete [2020-12-21T19:34:56.786Z] ecc8261a40a4: Verifying Checksum [2020-12-21T19:34:56.786Z] ecc8261a40a4: Download complete [2020-12-21T19:34:56.786Z] 6ca5941a6612: Verifying Checksum [2020-12-21T19:34:56.786Z] 6ca5941a6612: Download complete [2020-12-21T19:34:57.057Z] 31603596830f: Pull complete [2020-12-21T19:34:57.322Z] 2a8b12db71e7: Pull complete [2020-12-21T19:34:58.271Z] 6ca5941a6612: Pull complete [2020-12-21T19:34:58.271Z] ecc8261a40a4: Pull complete [2020-12-21T19:34:58.271Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-21T19:34:58.271Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-21T19:34:58.271Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-21T19:34:58.399Z] prd-centos7-docker-4c-2g-17092 does not seem to be running inside a container [2020-12-21T19:34:58.445Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-613 -v /w/workspace/ndry_app-functions-sdk-go_PR-613:/w/workspace/ndry_app-functions-sdk-go_PR-613:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-613@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-613@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:10004/edgex-devops/git-semver:latest cat [2020-12-21T19:35:00.540Z] $ docker top c572715afdeafa424b8238d3f7688e3dcc68275fb920850229404eb520158911 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-21T19:35:00.999Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-21T19:35:00.999Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-21T19:35:01.243Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-21T19:35:01.251Z] $ docker exec c572715afdeafa424b8238d3f7688e3dcc68275fb920850229404eb520158911 ssh-agent [2020-12-21T19:35:01.421Z] SSH_AUTH_SOCK=/tmp/ssh-iW1Otblpum88/agent.12 [2020-12-21T19:35:01.421Z] SSH_AGENT_PID=17 [2020-12-21T19:35:01.434Z] Running ssh-add (command line suppressed) [2020-12-21T19:35:01.572Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-613@tmp/private_key_2505744814190611676.key (/w/workspace/ndry_app-functions-sdk-go_PR-613@tmp/private_key_2505744814190611676.key) [2020-12-21T19:35:01.633Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-21T19:35:02.080Z] + git tag --points-at HEAD [Pipeline] } [2020-12-21T19:35:02.192Z] $ docker exec --env ******** --env ******** c572715afdeafa424b8238d3f7688e3dcc68275fb920850229404eb520158911 ssh-agent -k [2020-12-21T19:35:02.325Z] unset SSH_AUTH_SOCK; [2020-12-21T19:35:02.325Z] unset SSH_AGENT_PID; [2020-12-21T19:35:02.325Z] echo Agent pid 17 killed; [2020-12-21T19:35:02.373Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-21T19:35:02.653Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-21T19:35:02.653Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-21T19:35:02.866Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-21T19:35:02.875Z] $ docker exec c572715afdeafa424b8238d3f7688e3dcc68275fb920850229404eb520158911 ssh-agent [2020-12-21T19:35:03.046Z] SSH_AUTH_SOCK=/tmp/ssh-F0dsYMcQTGwB/agent.45 [2020-12-21T19:35:03.046Z] SSH_AGENT_PID=50 [2020-12-21T19:35:03.054Z] Running ssh-add (command line suppressed) [2020-12-21T19:35:03.186Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-613@tmp/private_key_6899697892915305253.key (/w/workspace/ndry_app-functions-sdk-go_PR-613@tmp/private_key_6899697892915305253.key) [2020-12-21T19:35:03.237Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-21T19:35:03.654Z] + git semver init [2020-12-21T19:35:03.654Z] # -> Open(): unable to determine branch for HEAD [2020-12-21T19:35:03.654Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-613/.git [2020-12-21T19:35:03.654Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-613 [2020-12-21T19:35:03.654Z] # $SEMVER_REMOTE_NAME = origin [2020-12-21T19:35:03.654Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-21T19:35:03.654Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-21T19:35:03.654Z] # $SEMVER_BRANCH = PR-613 [2020-12-21T19:35:03.654Z] # $SEMVER_TEMP = /tmp/semver-143001025 [2020-12-21T19:35:03.654Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-12-21T19:35:06.237Z] # '/tmp/semver-143001025' -> '/w/workspace/ndry_app-functions-sdk-go_PR-613/.semver' [2020-12-21T19:35:06.501Z] # -> Force: false [2020-12-21T19:35:06.501Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-613/.semver [Pipeline] } [2020-12-21T19:35:06.524Z] $ docker exec --env ******** --env ******** c572715afdeafa424b8238d3f7688e3dcc68275fb920850229404eb520158911 ssh-agent -k [2020-12-21T19:35:06.649Z] unset SSH_AUTH_SOCK; [2020-12-21T19:35:06.649Z] unset SSH_AGENT_PID; [2020-12-21T19:35:06.650Z] echo Agent pid 50 killed; [2020-12-21T19:35:06.702Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-21T19:35:07.400Z] + git semver [Pipeline] } [2020-12-21T19:35:07.445Z] $ docker stop --time=1 c572715afdeafa424b8238d3f7688e3dcc68275fb920850229404eb520158911 [2020-12-21T19:35:09.004Z] $ docker rm -f c572715afdeafa424b8238d3f7688e3dcc68275fb920850229404eb520158911 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-21T19:35:09.623Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-21T19:35:10.383Z] Stashed 1 file(s) [Pipeline] echo [2020-12-21T19:35:10.405Z] [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 [2020-12-21T19:35:26.342Z] Still waiting to schedule task [2020-12-21T19:35:26.342Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-21T19:35:26.367Z] Still waiting to schedule task [2020-12-21T19:35:26.367Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-21T19:37:17.176Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-17093 in /w/workspace/ndry_app-functions-sdk-go_PR-613 [Pipeline] { [Pipeline] ws [2020-12-21T19:37:17.321Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-12-21T19:37:22.232Z] using credential edgex-jenkins-ssh [2020-12-21T19:37:22.297Z] Cloning the remote Git repository [2020-12-21T19:37:22.355Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-21T19:37:22.459Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2020-12-21T19:37:22.538Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-21T19:37:22.539Z] > git --version # timeout=10 [2020-12-21T19:37:22.556Z] > git --version # 'git version 2.17.1' [2020-12-21T19:37:22.557Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T19:37:22.633Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T19:37:25.990Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-12-21T19:37:26.004Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T19:37:26.036Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-12-21T19:37:26.079Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-21T19:37:26.079Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T19:37:26.092Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/613/head:refs/remotes/origin/PR-613 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-21T19:37:26.747Z] Merging remotes/origin/master commit fb6bb540a8cb6df0ab3c7959dfb0879070efde55 into PR head commit 001ef2fc921875c2a222e0c037d1e39153f345c8 [2020-12-21T19:37:26.997Z] Merge succeeded, producing 001ef2fc921875c2a222e0c037d1e39153f345c8 [2020-12-21T19:37:26.997Z] Checking out Revision 001ef2fc921875c2a222e0c037d1e39153f345c8 (PR-613) [2020-12-21T19:37:26.766Z] > git config core.sparsecheckout # timeout=10 [2020-12-21T19:37:26.796Z] > git checkout -f 001ef2fc921875c2a222e0c037d1e39153f345c8 # timeout=10 [2020-12-21T19:37:26.903Z] > git remote # timeout=10 [2020-12-21T19:37:26.924Z] > git config --get remote.origin.url # timeout=10 [2020-12-21T19:37:26.941Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T19:37:26.953Z] > git merge fb6bb540a8cb6df0ab3c7959dfb0879070efde55 # timeout=10 [2020-12-21T19:37:26.980Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-21T19:37:27.000Z] > git config core.sparsecheckout # timeout=10 [2020-12-21T19:37:27.009Z] > git checkout -f 001ef2fc921875c2a222e0c037d1e39153f345c8 # timeout=10 [2020-12-21T19:37:31.482Z] Commit message: "feat(sdk): Add MakeItStop" [2020-12-21T19:37:31.535Z] > git --version # timeout=10 [2020-12-21T19:37:31.545Z] > git --version # 'git version 2.17.1' [2020-12-21T19:37:31.561Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-21T19:37:33.669Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-21T19:37:34.130Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-21T19:37:34.488Z] + true [2020-12-21T19:37:34.488Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2020-12-21T19:37:36.775Z] ========================================================= [2020-12-21T19:37:36.775Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-21T19:37:36.775Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-21T19:37:37.206Z] + 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 . [2020-12-21T19:37:38.187Z] Sending build context to Docker daemon 19.09MB [2020-12-21T19:37:38.187Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2020-12-21T19:37:38.187Z] Step 2/8 : FROM ${BASE} [2020-12-21T19:37:38.781Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-21T19:37:38.781Z] 5f621e34cdf4: Pulling fs layer [2020-12-21T19:37:38.781Z] a4357932f1b6: Pulling fs layer [2020-12-21T19:37:38.781Z] 18c013af1878: Pulling fs layer [2020-12-21T19:37:38.781Z] 00ac8860ef70: Pulling fs layer [2020-12-21T19:37:38.781Z] 63d7cb157983: Pulling fs layer [2020-12-21T19:37:38.781Z] b116817d02f9: Pulling fs layer [2020-12-21T19:37:38.781Z] 00ac8860ef70: Waiting [2020-12-21T19:37:38.781Z] 63d7cb157983: Waiting [2020-12-21T19:37:38.781Z] 745a02a5169b: Pulling fs layer [2020-12-21T19:37:38.781Z] b116817d02f9: Waiting [2020-12-21T19:37:38.781Z] 745a02a5169b: Waiting [2020-12-21T19:37:38.781Z] 18c013af1878: Verifying Checksum [2020-12-21T19:37:38.781Z] 18c013af1878: Download complete [2020-12-21T19:37:38.781Z] a4357932f1b6: Verifying Checksum [2020-12-21T19:37:38.781Z] a4357932f1b6: Download complete [2020-12-21T19:37:38.781Z] 63d7cb157983: Download complete [2020-12-21T19:37:38.781Z] 5f621e34cdf4: Verifying Checksum [2020-12-21T19:37:38.781Z] 5f621e34cdf4: Download complete [2020-12-21T19:37:38.781Z] b116817d02f9: Verifying Checksum [2020-12-21T19:37:38.781Z] b116817d02f9: Download complete [2020-12-21T19:37:39.378Z] 5f621e34cdf4: Pull complete [2020-12-21T19:37:39.990Z] a4357932f1b6: Pull complete [2020-12-21T19:37:40.266Z] 18c013af1878: Pull complete [2020-12-21T19:37:41.704Z] 745a02a5169b: Verifying Checksum [2020-12-21T19:37:41.704Z] 745a02a5169b: Download complete [2020-12-21T19:37:42.679Z] 00ac8860ef70: Download complete [2020-12-21T19:37:52.841Z] 00ac8860ef70: Pull complete [2020-12-21T19:37:52.841Z] 63d7cb157983: Pull complete [2020-12-21T19:37:53.116Z] b116817d02f9: Pull complete [2020-12-21T19:37:57.438Z] 745a02a5169b: Pull complete [2020-12-21T19:37:57.438Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-21T19:37:57.438Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-21T19:37:57.438Z] ---> b7e6874047d6 [2020-12-21T19:37:57.438Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2020-12-21T19:37:57.438Z] 20.10.0: Pulling from library/docker [2020-12-21T19:37:57.438Z] a3cc7d3b244e: Pulling fs layer [2020-12-21T19:37:57.438Z] 02a3295e0d61: Pulling fs layer [2020-12-21T19:37:57.438Z] 0f4f2e6d8100: Pulling fs layer [2020-12-21T19:37:57.438Z] 330b718f631f: Pulling fs layer [2020-12-21T19:37:57.438Z] a93816041522: Pulling fs layer [2020-12-21T19:37:57.438Z] bdb6da89ff94: Pulling fs layer [2020-12-21T19:37:57.438Z] 2a70c0c122f4: Pulling fs layer [2020-12-21T19:37:57.438Z] a93816041522: Waiting [2020-12-21T19:37:57.438Z] bdb6da89ff94: Waiting [2020-12-21T19:37:57.438Z] 2a70c0c122f4: Waiting [2020-12-21T19:37:57.438Z] 330b718f631f: Waiting [2020-12-21T19:37:57.438Z] 0f4f2e6d8100: Verifying Checksum [2020-12-21T19:37:57.438Z] 0f4f2e6d8100: Download complete [2020-12-21T19:37:57.438Z] 02a3295e0d61: Verifying Checksum [2020-12-21T19:37:57.438Z] 02a3295e0d61: Download complete [2020-12-21T19:37:57.438Z] a93816041522: Verifying Checksum [2020-12-21T19:37:57.438Z] a93816041522: Download complete [2020-12-21T19:37:57.438Z] a3cc7d3b244e: Verifying Checksum [2020-12-21T19:37:57.438Z] a3cc7d3b244e: Download complete [2020-12-21T19:37:57.438Z] bdb6da89ff94: Verifying Checksum [2020-12-21T19:37:57.438Z] bdb6da89ff94: Download complete [2020-12-21T19:37:57.438Z] 2a70c0c122f4: Verifying Checksum [2020-12-21T19:37:57.438Z] 2a70c0c122f4: Download complete [2020-12-21T19:37:58.444Z] a3cc7d3b244e: Pull complete [2020-12-21T19:37:59.038Z] 02a3295e0d61: Pull complete [2020-12-21T19:37:59.038Z] 330b718f631f: Download complete [2020-12-21T19:37:59.309Z] 0f4f2e6d8100: Pull complete [2020-12-21T19:38:00.875Z] Running on prd-centos7-docker-4c-2g-17094 in /w/workspace/ndry_app-functions-sdk-go_PR-613 [Pipeline] { [Pipeline] ws [2020-12-21T19:38:01.043Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-12-21T19:38:02.719Z] 330b718f631f: Pull complete [2020-12-21T19:38:02.994Z] a93816041522: Pull complete [2020-12-21T19:38:03.505Z] using credential edgex-jenkins-ssh [2020-12-21T19:38:03.598Z] bdb6da89ff94: Pull complete [2020-12-21T19:38:03.644Z] Cloning the remote Git repository [2020-12-21T19:38:03.875Z] 2a70c0c122f4: Pull complete [2020-12-21T19:38:03.875Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2020-12-21T19:38:03.875Z] Status: Downloaded newer image for docker:20.10.0 [2020-12-21T19:38:03.682Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-21T19:38:03.750Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2020-12-21T19:38:03.807Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-21T19:38:03.807Z] > git --version # timeout=10 [2020-12-21T19:38:03.813Z] > git --version # 'git version 2.24.3' [2020-12-21T19:38:03.814Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T19:38:03.848Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T19:38:05.761Z] Merging remotes/origin/master commit fb6bb540a8cb6df0ab3c7959dfb0879070efde55 into PR head commit 001ef2fc921875c2a222e0c037d1e39153f345c8 [2020-12-21T19:38:05.246Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-12-21T19:38:05.252Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T19:38:05.265Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-12-21T19:38:05.277Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-21T19:38:05.277Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T19:38:05.281Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/613/head:refs/remotes/origin/PR-613 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-21T19:38:05.769Z] > git config core.sparsecheckout # timeout=10 [2020-12-21T19:38:05.775Z] > git checkout -f 001ef2fc921875c2a222e0c037d1e39153f345c8 # timeout=10 [2020-12-21T19:38:05.818Z] > git remote # timeout=10 [2020-12-21T19:38:05.823Z] > git config --get remote.origin.url # timeout=10 [2020-12-21T19:38:05.830Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T19:38:05.834Z] > git merge fb6bb540a8cb6df0ab3c7959dfb0879070efde55 # timeout=10 [2020-12-21T19:38:05.850Z] Merge succeeded, producing 001ef2fc921875c2a222e0c037d1e39153f345c8 [2020-12-21T19:38:05.850Z] Checking out Revision 001ef2fc921875c2a222e0c037d1e39153f345c8 (PR-613) [2020-12-21T19:38:05.843Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-21T19:38:05.852Z] > git config core.sparsecheckout # timeout=10 [2020-12-21T19:38:05.855Z] > git checkout -f 001ef2fc921875c2a222e0c037d1e39153f345c8 # timeout=10 [2020-12-21T19:38:09.487Z] Commit message: "feat(sdk): Add MakeItStop" [2020-12-21T19:38:09.512Z] > git --version # timeout=10 [2020-12-21T19:38:09.518Z] > git --version # 'git version 2.24.3' [2020-12-21T19:38:09.524Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-21T19:38:10.591Z] ---> fc01b8fbc8a4 [2020-12-21T19:38:10.591Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-21T19:38:10.591Z] ---> Running in c86ce0bfe3b3 [2020-12-21T19:38:10.591Z] Removing intermediate container c86ce0bfe3b3 [2020-12-21T19:38:10.591Z] ---> d1c66f2e3405 [2020-12-21T19:38:10.591Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-12-21T19:38:10.591Z] ---> Running in 2d72bb06e30e [2020-12-21T19:38:11.062Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-21T19:38:11.409Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-21T19:38:11.730Z] + sudo service docker restart [2020-12-21T19:38:11.730Z] + true [2020-12-21T19:38:11.730Z] Redirecting to /bin/systemctl restart docker.service [2020-12-21T19:38:12.057Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-21T19:38:12.656Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] unstash [2020-12-21T19:38:13.250Z] (1/5) Installing libsodium (1.0.18-r0) [Pipeline] echo [2020-12-21T19:38:13.388Z] ========================================================= [2020-12-21T19:38:13.388Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-21T19:38:13.388Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-21T19:38:13.523Z] (2/5) Installing libzmq (4.3.3-r0) [2020-12-21T19:38:13.523Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-12-21T19:38:13.782Z] + 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 . [2020-12-21T19:38:13.806Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-12-21T19:38:13.806Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-12-21T19:38:13.806Z] Executing busybox-1.31.1-r19.trigger [2020-12-21T19:38:13.806Z] OK: 144 MiB in 44 packages [2020-12-21T19:38:14.359Z] Sending build context to Docker daemon 19.09MB [2020-12-21T19:38:14.359Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2020-12-21T19:38:14.359Z] Step 2/8 : FROM ${BASE} [2020-12-21T19:38:14.359Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-21T19:38:14.359Z] 188c0c94c7c5: Pulling fs layer [2020-12-21T19:38:14.359Z] 0ef7d3d256c8: Pulling fs layer [2020-12-21T19:38:14.359Z] de9db76c5a1d: Pulling fs layer [2020-12-21T19:38:14.359Z] bca2f99d35d6: Pulling fs layer [2020-12-21T19:38:14.359Z] 93359f2a8cfa: Pulling fs layer [2020-12-21T19:38:14.359Z] 7c6f9722023f: Pulling fs layer [2020-12-21T19:38:14.359Z] a35cf1a2eb13: Pulling fs layer [2020-12-21T19:38:14.359Z] 93359f2a8cfa: Waiting [2020-12-21T19:38:14.359Z] 7c6f9722023f: Waiting [2020-12-21T19:38:14.359Z] a35cf1a2eb13: Waiting [2020-12-21T19:38:14.359Z] bca2f99d35d6: Waiting [2020-12-21T19:38:14.359Z] de9db76c5a1d: Verifying Checksum [2020-12-21T19:38:14.359Z] de9db76c5a1d: Download complete [2020-12-21T19:38:14.359Z] 0ef7d3d256c8: Download complete [2020-12-21T19:38:14.359Z] 93359f2a8cfa: Verifying Checksum [2020-12-21T19:38:14.359Z] 93359f2a8cfa: Download complete [2020-12-21T19:38:14.359Z] 7c6f9722023f: Verifying Checksum [2020-12-21T19:38:14.359Z] 7c6f9722023f: Download complete [2020-12-21T19:38:14.359Z] 188c0c94c7c5: Verifying Checksum [2020-12-21T19:38:14.359Z] 188c0c94c7c5: Download complete [2020-12-21T19:38:14.628Z] 188c0c94c7c5: Pull complete [2020-12-21T19:38:14.894Z] 0ef7d3d256c8: Pull complete [2020-12-21T19:38:15.156Z] de9db76c5a1d: Pull complete [2020-12-21T19:38:15.244Z] Removing intermediate container 2d72bb06e30e [2020-12-21T19:38:15.244Z] ---> 32f3bac77df3 [2020-12-21T19:38:15.244Z] Step 6/8 : WORKDIR /build [2020-12-21T19:38:15.244Z] ---> Running in eb7d07b38d16 [2020-12-21T19:38:15.836Z] Removing intermediate container eb7d07b38d16 [2020-12-21T19:38:15.836Z] ---> 3b2e7d93194b [2020-12-21T19:38:15.836Z] Step 7/8 : COPY go.mod . [2020-12-21T19:38:16.104Z] a35cf1a2eb13: Verifying Checksum [2020-12-21T19:38:16.105Z] a35cf1a2eb13: Download complete [2020-12-21T19:38:16.432Z] ---> 8fa8fd9b3afa [2020-12-21T19:38:16.432Z] Step 8/8 : RUN go mod download [2020-12-21T19:38:16.432Z] ---> Running in 75e3fc7f8433 [2020-12-21T19:38:17.058Z] bca2f99d35d6: Verifying Checksum [2020-12-21T19:38:17.058Z] bca2f99d35d6: Download complete [2020-12-21T19:38:22.377Z] bca2f99d35d6: Pull complete [2020-12-21T19:38:22.377Z] 93359f2a8cfa: Pull complete [2020-12-21T19:38:22.377Z] 7c6f9722023f: Pull complete [2020-12-21T19:38:26.614Z] a35cf1a2eb13: Pull complete [2020-12-21T19:38:26.614Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-21T19:38:26.614Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-21T19:38:26.614Z] ---> a62c8e92a672 [2020-12-21T19:38:26.614Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2020-12-21T19:38:26.614Z] 20.10.0: Pulling from library/docker [2020-12-21T19:38:26.614Z] 05e7bc50f07f: Pulling fs layer [2020-12-21T19:38:26.614Z] 6db28d0fdbf6: Pulling fs layer [2020-12-21T19:38:26.614Z] 292df0bc6bf3: Pulling fs layer [2020-12-21T19:38:26.614Z] 2e060f4bd70b: Pulling fs layer [2020-12-21T19:38:26.614Z] 80e8d568a223: Pulling fs layer [2020-12-21T19:38:26.614Z] 8dc6ef1a942a: Pulling fs layer [2020-12-21T19:38:26.614Z] 2312dd95470a: Pulling fs layer [2020-12-21T19:38:26.614Z] 2e060f4bd70b: Waiting [2020-12-21T19:38:26.614Z] 80e8d568a223: Waiting [2020-12-21T19:38:26.614Z] 8dc6ef1a942a: Waiting [2020-12-21T19:38:26.614Z] 2312dd95470a: Waiting [2020-12-21T19:38:26.614Z] 292df0bc6bf3: Verifying Checksum [2020-12-21T19:38:26.614Z] 292df0bc6bf3: Download complete [2020-12-21T19:38:26.881Z] 05e7bc50f07f: Verifying Checksum [2020-12-21T19:38:26.881Z] 05e7bc50f07f: Download complete [2020-12-21T19:38:26.881Z] 6db28d0fdbf6: Verifying Checksum [2020-12-21T19:38:26.881Z] 6db28d0fdbf6: Download complete [2020-12-21T19:38:26.881Z] 80e8d568a223: Verifying Checksum [2020-12-21T19:38:26.881Z] 80e8d568a223: Download complete [2020-12-21T19:38:26.881Z] 8dc6ef1a942a: Verifying Checksum [2020-12-21T19:38:26.881Z] 8dc6ef1a942a: Download complete [2020-12-21T19:38:26.881Z] 2312dd95470a: Verifying Checksum [2020-12-21T19:38:26.881Z] 2312dd95470a: Download complete [2020-12-21T19:38:27.153Z] 05e7bc50f07f: Pull complete [2020-12-21T19:38:27.420Z] 6db28d0fdbf6: Pull complete [2020-12-21T19:38:27.420Z] 292df0bc6bf3: Pull complete [2020-12-21T19:38:27.998Z] 2e060f4bd70b: Verifying Checksum [2020-12-21T19:38:27.998Z] 2e060f4bd70b: Download complete [2020-12-21T19:38:31.354Z] 2e060f4bd70b: Pull complete [2020-12-21T19:38:31.354Z] 80e8d568a223: Pull complete [2020-12-21T19:38:31.354Z] 8dc6ef1a942a: Pull complete [2020-12-21T19:38:31.354Z] 2312dd95470a: Pull complete [2020-12-21T19:38:31.354Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2020-12-21T19:38:31.354Z] Status: Downloaded newer image for docker:20.10.0 [2020-12-21T19:38:32.749Z] ---> 429d730808f2 [2020-12-21T19:38:32.749Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-21T19:38:33.015Z] ---> Running in fa33692b9310 [2020-12-21T19:38:33.015Z] Removing intermediate container fa33692b9310 [2020-12-21T19:38:33.015Z] ---> 19fb24b211ea [2020-12-21T19:38:33.015Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-12-21T19:38:33.015Z] ---> Running in 50842254fe00 [2020-12-21T19:38:33.971Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-21T19:38:34.549Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-21T19:38:35.125Z] (1/5) Installing libsodium (1.0.18-r0) [2020-12-21T19:38:35.125Z] (2/5) Installing libzmq (4.3.3-r0) [2020-12-21T19:38:35.387Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-12-21T19:38:35.387Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-12-21T19:38:35.387Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-12-21T19:38:35.665Z] Executing busybox-1.31.1-r19.trigger [2020-12-21T19:38:35.665Z] OK: 167 MiB in 44 packages [2020-12-21T19:38:36.244Z] Removing intermediate container 50842254fe00 [2020-12-21T19:38:36.244Z] ---> d4ab763bd4b6 [2020-12-21T19:38:36.244Z] Step 6/8 : WORKDIR /build [2020-12-21T19:38:36.508Z] ---> Running in 3f2dfb44e8dc [2020-12-21T19:38:36.508Z] Removing intermediate container 3f2dfb44e8dc [2020-12-21T19:38:36.508Z] ---> afe31253df82 [2020-12-21T19:38:36.508Z] Step 7/8 : COPY go.mod . [2020-12-21T19:38:36.771Z] ---> 1a59bf9b1b9d [2020-12-21T19:38:36.771Z] Step 8/8 : RUN go mod download [2020-12-21T19:38:36.771Z] ---> Running in 9cb1cb98d9b9 [2020-12-21T19:38:43.228Z] Removing intermediate container 75e3fc7f8433 [2020-12-21T19:38:43.228Z] ---> c9bb9b4b0971 [2020-12-21T19:38:43.228Z] Successfully built c9bb9b4b0971 [2020-12-21T19:38:43.228Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-21T19:38:43.631Z] + docker inspect -f . ci-base-image-arm64 [2020-12-21T19:38:43.631Z] . [Pipeline] withDockerContainer [2020-12-21T19:38:43.929Z] prd-ubuntu18.04-docker-arm64-4c-16g-17093 does not seem to be running inside a container [2020-12-21T19:38:44.010Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-21T19:38:45.479Z] $ docker top a2d8573f3e0ac32e6bc5cb6a02dd3b5224e06d46141ee9f6d1f6203629db0adb -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T19:38:46.571Z] + go version [2020-12-21T19:38:46.571Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-21T19:38:46.613Z] $ docker stop --time=1 a2d8573f3e0ac32e6bc5cb6a02dd3b5224e06d46141ee9f6d1f6203629db0adb [2020-12-21T19:38:48.498Z] $ docker rm -f a2d8573f3e0ac32e6bc5cb6a02dd3b5224e06d46141ee9f6d1f6203629db0adb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-21T19:38:49.742Z] + docker inspect -f . ci-base-image-arm64 [2020-12-21T19:38:49.742Z] . [Pipeline] withDockerContainer [2020-12-21T19:38:50.041Z] prd-ubuntu18.04-docker-arm64-4c-16g-17093 does not seem to be running inside a container [2020-12-21T19:38:50.124Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-21T19:38:51.589Z] $ docker top b668c5a7bf1ca8428f88faed5465d4e074cdf40173f2f78925b90875d91b6021 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T19:38:52.704Z] + make test [2020-12-21T19:38:52.704Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-21T19:38:54.143Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-12-21T19:38:58.788Z] Removing intermediate container 9cb1cb98d9b9 [2020-12-21T19:38:58.788Z] ---> e10540348ef4 [2020-12-21T19:38:58.788Z] Successfully built e10540348ef4 [2020-12-21T19:38:58.788Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-21T19:38:59.141Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-21T19:38:59.141Z] . [Pipeline] withDockerContainer [2020-12-21T19:38:59.297Z] prd-centos7-docker-4c-2g-17094 does not seem to be running inside a container [2020-12-21T19:38:59.351Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-21T19:39:00.076Z] $ docker top 09671339e4820790476b5ebd7d2498332fdd73ca26d307319c49d9b0db499c40 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T19:39:00.686Z] + go version [2020-12-21T19:39:00.686Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-21T19:39:00.717Z] $ docker stop --time=1 09671339e4820790476b5ebd7d2498332fdd73ca26d307319c49d9b0db499c40 [2020-12-21T19:39:02.053Z] $ docker rm -f 09671339e4820790476b5ebd7d2498332fdd73ca26d307319c49d9b0db499c40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-21T19:39:03.256Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-21T19:39:03.256Z] . [Pipeline] withDockerContainer [2020-12-21T19:39:03.378Z] prd-centos7-docker-4c-2g-17094 does not seem to be running inside a container [2020-12-21T19:39:03.430Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-21T19:39:04.035Z] $ docker top 4221f63751a67823c4af13dca5dc8a72f55b548fb351f62ea09cf73b5be3a542 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T19:39:04.584Z] + make test [2020-12-21T19:39:04.584Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-21T19:39:05.995Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-12-21T19:39:14.218Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.024s coverage: 86.2% of statements [2020-12-21T19:39:20.896Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 0.031s coverage: 47.8% of statements [2020-12-21T19:39:20.896Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-12-21T19:39:20.896Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-12-21T19:39:20.896Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.052s coverage: 61.5% of statements [2020-12-21T19:39:20.896Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-12-21T19:39:20.896Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.027s coverage: 69.1% of statements [2020-12-21T19:39:20.896Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-12-21T19:39:20.896Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-12-21T19:39:20.896Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-12-21T19:39:20.896Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-12-21T19:39:20.896Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-12-21T19:39:20.896Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-12-21T19:39:20.896Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.012s coverage: 97.7% of statements [2020-12-21T19:39:20.896Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-12-21T19:39:20.896Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-12-21T19:39:20.896Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.011s coverage: 8.8% of statements [2020-12-21T19:39:20.990Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.026s coverage: 86.2% of statements [2020-12-21T19:39:29.071Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.917s coverage: 75.0% of statements [2020-12-21T19:39:29.071Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2020-12-21T19:39:29.071Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.034s coverage: 87.9% of statements [2020-12-21T19:39:29.071Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.009s coverage: 88.9% of statements [2020-12-21T19:39:29.071Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.023s coverage: 80.5% of statements [2020-12-21T19:39:29.071Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.012s coverage: 71.7% of statements [2020-12-21T19:39:39.340Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 0.058s coverage: 47.8% of statements [2020-12-21T19:39:39.340Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-12-21T19:39:39.340Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-12-21T19:39:39.340Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.083s coverage: 61.5% of statements [2020-12-21T19:39:39.340Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-12-21T19:39:39.340Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.065s coverage: 69.1% of statements [2020-12-21T19:39:39.340Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-12-21T19:39:39.340Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-12-21T19:39:39.340Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-12-21T19:39:39.340Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-12-21T19:39:39.340Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-12-21T19:39:39.340Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-12-21T19:39:39.340Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.018s coverage: 97.7% of statements [2020-12-21T19:39:39.340Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-12-21T19:39:39.340Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-12-21T19:39:39.340Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.065s coverage: 8.8% of statements [2020-12-21T19:39:47.634Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.974s coverage: 75.0% of statements [2020-12-21T19:39:47.634Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2020-12-21T19:39:47.634Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.049s coverage: 87.9% of statements [2020-12-21T19:39:47.634Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.031s coverage: 88.9% of statements [2020-12-21T19:39:47.634Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.039s coverage: 80.5% of statements [2020-12-21T19:39:47.634Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.023s coverage: 71.7% of statements [2020-12-21T19:39:51.055Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.029s coverage: 81.6% of statements [2020-12-21T19:39:51.055Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.005s coverage: 94.4% of statements [2020-12-21T19:39:51.055Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-12-21T19:39:51.055Z] gofmt -l . [2020-12-21T19:39:51.055Z] [ "`gofmt -l .`" = "" ] [2020-12-21T19:39:51.055Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-21T19:39:51.669Z] $ docker stop --time=1 4221f63751a67823c4af13dca5dc8a72f55b548fb351f62ea09cf73b5be3a542 [2020-12-21T19:39:53.467Z] $ docker rm -f 4221f63751a67823c4af13dca5dc8a72f55b548fb351f62ea09cf73b5be3a542 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-21T19:39:54.227Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-21T19:39:54.636Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-21T19:40:05.914Z] panic: interface conversion: interface {} is nil, not [][]uint8 [2020-12-21T19:40:05.914Z] [2020-12-21T19:40:05.914Z] goroutine 37 [running]: [2020-12-21T19:40:05.914Z] github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms.TestBatchInTimeAndCountMode_CountMet.func3(0x4000200050, 0x4000200060, 0x400021c000, 0x400021a000, 0x4000200040) [2020-12-21T19:40:05.914Z] /w/workspace/app-functions-sdk-go/1/pkg/transforms/batch_test.go:126 +0x224 [2020-12-21T19:40:05.914Z] created by github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms.TestBatchInTimeAndCountMode_CountMet [2020-12-21T19:40:05.914Z] /w/workspace/app-functions-sdk-go/1/pkg/transforms/batch_test.go:121 +0x17c [2020-12-21T19:40:05.914Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 22.019s [2020-12-21T19:40:05.914Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.011s coverage: 94.4% of statements [2020-12-21T19:40:05.914Z] FAIL [2020-12-21T19:40:05.914Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2020-12-21T19:40:05.971Z] $ docker stop --time=1 b668c5a7bf1ca8428f88faed5465d4e074cdf40173f2f78925b90875d91b6021 [2020-12-21T19:40:08.054Z] $ docker rm -f b668c5a7bf1ca8428f88faed5465d4e074cdf40173f2f78925b90875d91b6021 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-21T19:40:10.780Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-12-21T19:40:16.560Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T19:40:16.914Z] ---> package-listing.sh [2020-12-21T19:40:16.915Z] ++ facter osfamily [2020-12-21T19:40:16.915Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-21T19:40:16.915Z] + OS_FAMILY=redhat [2020-12-21T19:40:16.915Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-613 [2020-12-21T19:40:16.915Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-21T19:40:16.915Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-21T19:40:16.915Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-21T19:40:16.915Z] + PACKAGES=/tmp/packages_start.txt [2020-12-21T19:40:16.915Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-613 ']' [2020-12-21T19:40:16.915Z] + PACKAGES=/tmp/packages_end.txt [2020-12-21T19:40:16.915Z] + case "${OS_FAMILY}" in [2020-12-21T19:40:16.915Z] + rpm -qa [2020-12-21T19:40:16.915Z] + sort [2020-12-21T19:40:22.250Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-21T19:40:22.250Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-21T19:40:22.250Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-21T19:40:22.250Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-613 ']' [2020-12-21T19:40:22.250Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-613/archives/ [2020-12-21T19:40:22.250Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-613/archives/ [Pipeline] echo [2020-12-21T19:40:22.286Z] 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-613/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-21T19:40:22.613Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-21T19:40:22.959Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-21T19:40:22.959Z] [2020-12-21T19:40:22.959Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-21T19:40:23.353Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-21T19:40:23.353Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-21T19:40:23.353Z] df20fa9351a1: Pulling fs layer [2020-12-21T19:40:23.353Z] 36b3adc4ff6f: Pulling fs layer [2020-12-21T19:40:23.353Z] 8ad3a11d3b57: Pulling fs layer [2020-12-21T19:40:23.353Z] 46f8f816bc3b: Pulling fs layer [2020-12-21T19:40:23.353Z] 93b61091891f: Pulling fs layer [2020-12-21T19:40:23.353Z] 93b9cdb0e59b: Pulling fs layer [2020-12-21T19:40:23.353Z] 5e14af77c1be: Pulling fs layer [2020-12-21T19:40:23.353Z] 01666e4c0597: Pulling fs layer [2020-12-21T19:40:23.353Z] aa168da1d23b: Pulling fs layer [2020-12-21T19:40:23.353Z] 93b61091891f: Waiting [2020-12-21T19:40:23.353Z] 93b9cdb0e59b: Waiting [2020-12-21T19:40:23.353Z] 5e14af77c1be: Waiting [2020-12-21T19:40:23.353Z] 01666e4c0597: Waiting [2020-12-21T19:40:23.353Z] aa168da1d23b: Waiting [2020-12-21T19:40:23.353Z] 46f8f816bc3b: Waiting [2020-12-21T19:40:23.353Z] 36b3adc4ff6f: Verifying Checksum [2020-12-21T19:40:23.353Z] 36b3adc4ff6f: Download complete [2020-12-21T19:40:23.353Z] 46f8f816bc3b: Verifying Checksum [2020-12-21T19:40:23.353Z] 46f8f816bc3b: Download complete [2020-12-21T19:40:23.615Z] df20fa9351a1: Verifying Checksum [2020-12-21T19:40:23.615Z] df20fa9351a1: Download complete [2020-12-21T19:40:23.615Z] 93b9cdb0e59b: Verifying Checksum [2020-12-21T19:40:23.615Z] 93b9cdb0e59b: Download complete [2020-12-21T19:40:23.615Z] 93b61091891f: Verifying Checksum [2020-12-21T19:40:23.615Z] 93b61091891f: Download complete [2020-12-21T19:40:23.615Z] 5e14af77c1be: Verifying Checksum [2020-12-21T19:40:23.615Z] 5e14af77c1be: Download complete [2020-12-21T19:40:23.615Z] 01666e4c0597: Verifying Checksum [2020-12-21T19:40:23.615Z] 01666e4c0597: Download complete [2020-12-21T19:40:23.615Z] 8ad3a11d3b57: Verifying Checksum [2020-12-21T19:40:23.615Z] 8ad3a11d3b57: Download complete [2020-12-21T19:40:23.879Z] df20fa9351a1: Pull complete [2020-12-21T19:40:24.145Z] 36b3adc4ff6f: Pull complete [2020-12-21T19:40:24.723Z] 8ad3a11d3b57: Pull complete [2020-12-21T19:40:24.985Z] 46f8f816bc3b: Pull complete [2020-12-21T19:40:25.940Z] aa168da1d23b: Verifying Checksum [2020-12-21T19:40:25.940Z] aa168da1d23b: Download complete [2020-12-21T19:40:26.203Z] 93b61091891f: Pull complete [2020-12-21T19:40:26.465Z] 93b9cdb0e59b: Pull complete [2020-12-21T19:40:26.728Z] 5e14af77c1be: Pull complete [2020-12-21T19:40:26.728Z] 01666e4c0597: Pull complete [2020-12-21T19:40:34.927Z] aa168da1d23b: Pull complete [2020-12-21T19:40:34.927Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-21T19:40:34.927Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-21T19:40:34.927Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-21T19:40:35.111Z] prd-centos7-docker-4c-2g-17092 does not seem to be running inside a container [2020-12-21T19:40:35.180Z] $ 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-613/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-613 -v /w/workspace/ndry_app-functions-sdk-go_PR-613:/w/workspace/ndry_app-functions-sdk-go_PR-613:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-613@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-613@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-21T19:40:38.054Z] $ docker top 7935e1d4ac2117a05a600a4cf38d575b792ea8e6ab6601033d02f233a5002e99 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T19:40:38.699Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-21T19:40:39.034Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-21T19:40:39.363Z] + ls /var/log/sa-host [2020-12-21T19:40:39.363Z] + sadf -c /var/log/sa-host/sa21 [2020-12-21T19:40:39.363Z] file_magic: OK [2020-12-21T19:40:39.363Z] HZ: Using current value: 100 [2020-12-21T19:40:39.363Z] file_header: OK [2020-12-21T19:40:39.363Z] 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 [2020-12-21T19:40:39.363Z] Statistics: [2020-12-21T19:40:39.363Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-21T19:40:39.363Z] File successfully converted to sysstat format version 12.2.1 [2020-12-21T19:40:39.363Z] + sadf -c /var/log/sa-host/sa23 [2020-12-21T19:40:39.363Z] file_magic: OK [2020-12-21T19:40:39.363Z] HZ: Using current value: 100 [2020-12-21T19:40:39.363Z] file_header: OK [2020-12-21T19:40:39.363Z] 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 [2020-12-21T19:40:39.363Z] Statistics: [2020-12-21T19:40:39.363Z] Hnuu...uuuununununu... [2020-12-21T19:40:39.363Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-21T19:40:40.113Z] provisioning config files... [2020-12-21T19:40:40.142Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-613@tmp/config8335683147468804172tmp [Pipeline] { [Pipeline] echo [2020-12-21T19:40:40.259Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T19:40:40.616Z] ---> create-netrc.sh [Pipeline] } [2020-12-21T19:40:40.645Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-21T19:40:41.025Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T19:40:41.377Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-21T19:40:41.413Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T19:40:41.753Z] ---> sudo-logs.sh [2020-12-21T19:40:41.754Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-21T19:40:41.787Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T19:40:42.126Z] ---> job-cost.sh [2020-12-21T19:40:42.126Z] lf-activate-venv: SKIPPING [2020-12-21T19:40:42.126Z] INFO: No Stack... [2020-12-21T19:40:43.082Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-21T19:40:43.654Z] INFO: Archiving Costs [Pipeline] echo [2020-12-21T19:40:43.684Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T19:40:44.016Z] ---> logs-deploy.sh [2020-12-21T19:40:44.016Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-613/1 [2020-12-21T19:40:44.016Z] INFO: archiving workspace using pattern(s): [2020-12-21T19:40:45.937Z] Archives upload complete. [2020-12-21T19:40:45.937Z] INFO: archiving logs to Nexus