Pull request #640 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b515a4f42cce3f8b62401128f09c775e073333fb+29611b3d058cda2078929c84c413ab145d4a6c62 (ffdf5ab92ff5bd19711f0911781a715126e4b6af) Running in Durability level: PERFORMANCE_OPTIMIZED 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 Checking out Revision f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > 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 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-20627 in /w/workspace/ndry_app-functions-sdk-go_PR-640 [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-640 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/640/head:refs/remotes/origin/PR-640 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 29611b3d058cda2078929c84c413ab145d4a6c62 into PR head commit b515a4f42cce3f8b62401128f09c775e073333fb Merge succeeded, producing b515a4f42cce3f8b62401128f09c775e073333fb Checking out Revision b515a4f42cce3f8b62401128f09c775e073333fb (PR-640) > git config core.sparsecheckout # timeout=10 > git checkout -f b515a4f42cce3f8b62401128f09c775e073333fb # 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 29611b3d058cda2078929c84c413ab145d4a6c62 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b515a4f42cce3f8b62401128f09c775e073333fb # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-15T21:15:38.565Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 19d32573141ea48f239995ac518c879f3fc94ffb # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-15T21:15:38.832Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-15T21:15:38.932Z] ========================================================= [2021-01-15T21:15:38.932Z] EdgeX Global Pipelines Version Info [2021-01-15T21:15:38.932Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:15:41.487Z] ------------------- [2021-01-15T21:15:41.487Z] stable info: [2021-01-15T21:15:41.487Z] ------------------- [2021-01-15T21:15:41.487Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-15T21:15:41.487Z] Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d [2021-01-15T21:15:41.487Z] Message: update stable to v1.0.177 [2021-01-15T21:15:42.456Z] ------------------- [2021-01-15T21:15:42.456Z] experimental info: [2021-01-15T21:15:42.456Z] ------------------- [2021-01-15T21:15:42.456Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-15T21:15:42.456Z] Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 [2021-01-15T21:15:42.456Z] Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-15T21:15:42.716Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-01-15T21:15:42.800Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-01-15T21:15:42.882Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-15T21:15:42.970Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-15T21:15:43.052Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-15T21:15:43.139Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-15T21:15:43.224Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-15T21:15:43.341Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-15T21:15:43.440Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-15T21:15:43.524Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-15T21:15:43.666Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-15T21:15:43.755Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-01-15T21:15:43.838Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-15T21:15:43.954Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-15T21:15:44.044Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-01-15T21:15:44.129Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-15T21:15:44.224Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-15T21:15:44.307Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-15T21:15:44.401Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-15T21:15:44.492Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-15T21:15:44.587Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-15T21:15:44.675Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-01-15T21:15:44.765Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-15T21:15:44.853Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-15T21:15:44.950Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-01-15T21:15:45.032Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-15T21:15:45.115Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-15T21:15:45.199Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-640 [Pipeline] echo [2021-01-15T21:15:45.305Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-640 [Pipeline] echo [2021-01-15T21:15:45.396Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-640 [Pipeline] echo [2021-01-15T21:15:45.485Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b515a4f42cce3f8b62401128f09c775e073333fb [Pipeline] echo [2021-01-15T21:15:45.573Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b515a4f [Pipeline] echo [2021-01-15T21:15:45.678Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-15T21:15:46.350Z] + git log --format=format:%s -1 b515a4f42cce3f8b62401128f09c775e073333fb [Pipeline] echo [2021-01-15T21:15:46.424Z] GIT_COMMIT: b515a4f42cce3f8b62401128f09c775e073333fb, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2021-01-15T21:15:46.470Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:15:47.113Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-15T21:15:47.382Z] [2021-01-15T21:15:47.382Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:15:47.907Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-15T21:15:48.241Z] latest: Pulling from edgex-devops/git-semver [2021-01-15T21:15:48.241Z] 31603596830f: Pulling fs layer [2021-01-15T21:15:48.241Z] 2a8b12db71e7: Pulling fs layer [2021-01-15T21:15:48.241Z] 6ca5941a6612: Pulling fs layer [2021-01-15T21:15:48.241Z] ecc8261a40a4: Pulling fs layer [2021-01-15T21:15:48.241Z] ecc8261a40a4: Waiting [2021-01-15T21:15:48.241Z] 2a8b12db71e7: Verifying Checksum [2021-01-15T21:15:48.241Z] 2a8b12db71e7: Download complete [2021-01-15T21:15:48.530Z] 31603596830f: Verifying Checksum [2021-01-15T21:15:48.530Z] 31603596830f: Download complete [2021-01-15T21:15:48.810Z] ecc8261a40a4: Verifying Checksum [2021-01-15T21:15:48.810Z] ecc8261a40a4: Download complete [2021-01-15T21:15:48.810Z] 6ca5941a6612: Verifying Checksum [2021-01-15T21:15:48.810Z] 6ca5941a6612: Download complete [2021-01-15T21:15:49.092Z] 31603596830f: Pull complete [2021-01-15T21:15:49.375Z] 2a8b12db71e7: Pull complete [2021-01-15T21:15:51.442Z] 6ca5941a6612: Pull complete [2021-01-15T21:15:51.711Z] ecc8261a40a4: Pull complete [2021-01-15T21:15:51.711Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-15T21:15:51.711Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-15T21:15:51.711Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-15T21:15:52.090Z] prd-centos7-docker-4c-2g-20627 does not seem to be running inside a container [2021-01-15T21:15:52.220Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-640 -v /w/workspace/ndry_app-functions-sdk-go_PR-640:/w/workspace/ndry_app-functions-sdk-go_PR-640:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-640@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-640@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 [2021-01-15T21:15:56.562Z] $ docker top 6f195ec93ca44d8fa56be5a38ac4c42d216a11c57b7a38795cd62373f89856cb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-15T21:15:56.968Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-15T21:15:56.968Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-15T21:15:57.434Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-15T21:15:57.441Z] $ docker exec 6f195ec93ca44d8fa56be5a38ac4c42d216a11c57b7a38795cd62373f89856cb ssh-agent [2021-01-15T21:15:58.076Z] SSH_AUTH_SOCK=/tmp/ssh-hCJQwyO5AcLo/agent.11 [2021-01-15T21:15:58.076Z] SSH_AGENT_PID=16 [2021-01-15T21:15:58.157Z] Running ssh-add (command line suppressed) [2021-01-15T21:15:58.545Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-640@tmp/private_key_6817976041771057319.key (/w/workspace/ndry_app-functions-sdk-go_PR-640@tmp/private_key_6817976041771057319.key) [2021-01-15T21:15:58.805Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-15T21:15:59.401Z] + git tag --points-at HEAD [Pipeline] } [2021-01-15T21:15:59.427Z] $ docker exec --env ******** --env ******** 6f195ec93ca44d8fa56be5a38ac4c42d216a11c57b7a38795cd62373f89856cb ssh-agent -k [2021-01-15T21:15:59.698Z] unset SSH_AUTH_SOCK; [2021-01-15T21:15:59.699Z] unset SSH_AGENT_PID; [2021-01-15T21:15:59.699Z] echo Agent pid 16 killed; [2021-01-15T21:15:59.784Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-15T21:15:59.935Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-15T21:15:59.935Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-15T21:16:00.431Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-15T21:16:00.438Z] $ docker exec 6f195ec93ca44d8fa56be5a38ac4c42d216a11c57b7a38795cd62373f89856cb ssh-agent [2021-01-15T21:16:00.853Z] SSH_AUTH_SOCK=/tmp/ssh-ux8rXiMfq5yJ/agent.44 [2021-01-15T21:16:00.853Z] SSH_AGENT_PID=49 [2021-01-15T21:16:00.870Z] Running ssh-add (command line suppressed) [2021-01-15T21:16:01.195Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-640@tmp/private_key_8266116808104971033.key (/w/workspace/ndry_app-functions-sdk-go_PR-640@tmp/private_key_8266116808104971033.key) [2021-01-15T21:16:01.396Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-15T21:16:01.775Z] + git semver init [2021-01-15T21:16:01.775Z] # -> Open(): unable to determine branch for HEAD [2021-01-15T21:16:01.775Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-640/.git [2021-01-15T21:16:01.775Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-640 [2021-01-15T21:16:01.775Z] # $SEMVER_REMOTE_NAME = origin [2021-01-15T21:16:01.775Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-15T21:16:01.775Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-15T21:16:01.775Z] # $SEMVER_BRANCH = PR-640 [2021-01-15T21:16:01.775Z] # $SEMVER_TEMP = /tmp/semver-838849812 [2021-01-15T21:16:01.775Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-01-15T21:16:14.484Z] # '/tmp/semver-838849812' -> '/w/workspace/ndry_app-functions-sdk-go_PR-640/.semver' [2021-01-15T21:16:14.484Z] # -> Force: false [2021-01-15T21:16:14.484Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-640/.semver [Pipeline] } [2021-01-15T21:16:14.592Z] $ docker exec --env ******** --env ******** 6f195ec93ca44d8fa56be5a38ac4c42d216a11c57b7a38795cd62373f89856cb ssh-agent -k [2021-01-15T21:16:14.865Z] unset SSH_AUTH_SOCK; [2021-01-15T21:16:14.880Z] unset SSH_AGENT_PID; [2021-01-15T21:16:14.880Z] echo Agent pid 49 killed; [2021-01-15T21:16:15.013Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-15T21:16:15.565Z] + git semver [Pipeline] } [2021-01-15T21:16:15.593Z] $ docker stop --time=1 6f195ec93ca44d8fa56be5a38ac4c42d216a11c57b7a38795cd62373f89856cb [2021-01-15T21:16:17.618Z] $ docker rm -f 6f195ec93ca44d8fa56be5a38ac4c42d216a11c57b7a38795cd62373f89856cb [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-15T21:16:18.239Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-15T21:16:19.638Z] Stashed 1 file(s) [Pipeline] echo [2021-01-15T21:16:19.640Z] [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-01-15T21:16:35.133Z] Still waiting to schedule task [2021-01-15T21:16:35.133Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-15T21:16:35.135Z] Still waiting to schedule task [2021-01-15T21:16:35.135Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-15T21:19:36.077Z] Running on prd-centos7-docker-4c-2g-20631 in /w/workspace/ndry_app-functions-sdk-go_PR-640 [Pipeline] { [Pipeline] ws [2021-01-15T21:19:36.133Z] Running in /w/workspace/app-functions-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-01-15T21:19:38.755Z] using credential edgex-jenkins-ssh [2021-01-15T21:19:38.825Z] Cloning the remote Git repository [2021-01-15T21:19:38.851Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-15T21:19:38.923Z] > git init /w/workspace/app-functions-sdk-go/4 # timeout=10 [2021-01-15T21:19:38.982Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-15T21:19:38.983Z] > git --version # timeout=10 [2021-01-15T21:19:38.989Z] > git --version # 'git version 2.24.3' [2021-01-15T21:19:38.990Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T21:19:39.024Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-15T21:19:40.668Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-01-15T21:19:40.676Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-15T21:19:40.690Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-01-15T21:19:40.706Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-15T21:19:40.706Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T21:19:40.712Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/640/head:refs/remotes/origin/PR-640 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-15T21:19:41.104Z] Merging remotes/origin/master commit 29611b3d058cda2078929c84c413ab145d4a6c62 into PR head commit b515a4f42cce3f8b62401128f09c775e073333fb [2021-01-15T21:19:41.205Z] Merge succeeded, producing b515a4f42cce3f8b62401128f09c775e073333fb [2021-01-15T21:19:41.205Z] Checking out Revision b515a4f42cce3f8b62401128f09c775e073333fb (PR-640) [2021-01-15T21:19:41.113Z] > git config core.sparsecheckout # timeout=10 [2021-01-15T21:19:41.119Z] > git checkout -f b515a4f42cce3f8b62401128f09c775e073333fb # timeout=10 [2021-01-15T21:19:41.166Z] > git remote # timeout=10 [2021-01-15T21:19:41.174Z] > git config --get remote.origin.url # timeout=10 [2021-01-15T21:19:41.180Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T21:19:41.185Z] > git merge 29611b3d058cda2078929c84c413ab145d4a6c62 # timeout=10 [2021-01-15T21:19:41.197Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-15T21:19:41.209Z] > git config core.sparsecheckout # timeout=10 [2021-01-15T21:19:41.216Z] > git checkout -f b515a4f42cce3f8b62401128f09c775e073333fb # timeout=10 [2021-01-15T21:19:44.884Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-15T21:19:46.413Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-15T21:19:46.747Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-15T21:19:47.046Z] + sudo service docker restart [2021-01-15T21:19:47.046Z] + true [2021-01-15T21:19:47.046Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-01-15T21:19:48.134Z] ========================================================= [2021-01-15T21:19:48.134Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-15T21:19:48.134Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:19:48.517Z] + 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-01-15T21:19:49.099Z] Sending build context to Docker daemon 19.22MB [2021-01-15T21:19:49.099Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-15T21:19:49.099Z] Step 2/8 : FROM ${BASE} [2021-01-15T21:19:49.365Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-15T21:19:49.365Z] 188c0c94c7c5: Pulling fs layer [2021-01-15T21:19:49.365Z] 0ef7d3d256c8: Pulling fs layer [2021-01-15T21:19:49.365Z] de9db76c5a1d: Pulling fs layer [2021-01-15T21:19:49.365Z] bca2f99d35d6: Pulling fs layer [2021-01-15T21:19:49.365Z] 93359f2a8cfa: Pulling fs layer [2021-01-15T21:19:49.365Z] 7c6f9722023f: Pulling fs layer [2021-01-15T21:19:49.365Z] a35cf1a2eb13: Pulling fs layer [2021-01-15T21:19:49.365Z] 93359f2a8cfa: Waiting [2021-01-15T21:19:49.365Z] a35cf1a2eb13: Waiting [2021-01-15T21:19:49.365Z] 7c6f9722023f: Waiting [2021-01-15T21:19:49.365Z] de9db76c5a1d: Verifying Checksum [2021-01-15T21:19:49.365Z] de9db76c5a1d: Download complete [2021-01-15T21:19:49.365Z] 0ef7d3d256c8: Verifying Checksum [2021-01-15T21:19:49.365Z] 0ef7d3d256c8: Download complete [2021-01-15T21:19:49.365Z] 93359f2a8cfa: Verifying Checksum [2021-01-15T21:19:49.365Z] 93359f2a8cfa: Download complete [2021-01-15T21:19:49.365Z] 7c6f9722023f: Verifying Checksum [2021-01-15T21:19:49.365Z] 7c6f9722023f: Download complete [2021-01-15T21:19:49.365Z] 188c0c94c7c5: Verifying Checksum [2021-01-15T21:19:49.365Z] 188c0c94c7c5: Download complete [2021-01-15T21:19:49.628Z] 188c0c94c7c5: Pull complete [2021-01-15T21:19:49.891Z] 0ef7d3d256c8: Pull complete [2021-01-15T21:19:49.891Z] de9db76c5a1d: Pull complete [2021-01-15T21:19:51.824Z] a35cf1a2eb13: Verifying Checksum [2021-01-15T21:19:51.824Z] a35cf1a2eb13: Download complete [2021-01-15T21:19:52.088Z] bca2f99d35d6: Verifying Checksum [2021-01-15T21:19:52.088Z] bca2f99d35d6: Download complete [2021-01-15T21:19:57.433Z] bca2f99d35d6: Pull complete [2021-01-15T21:19:57.433Z] 93359f2a8cfa: Pull complete [2021-01-15T21:19:57.433Z] 7c6f9722023f: Pull complete [2021-01-15T21:20:05.639Z] a35cf1a2eb13: Pull complete [2021-01-15T21:20:05.639Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-15T21:20:05.639Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-15T21:20:05.639Z] ---> a62c8e92a672 [2021-01-15T21:20:05.639Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-01-15T21:20:05.639Z] 20.10.0: Pulling from library/docker [2021-01-15T21:20:05.639Z] 05e7bc50f07f: Pulling fs layer [2021-01-15T21:20:05.639Z] 6db28d0fdbf6: Pulling fs layer [2021-01-15T21:20:05.639Z] 292df0bc6bf3: Pulling fs layer [2021-01-15T21:20:05.639Z] 2e060f4bd70b: Pulling fs layer [2021-01-15T21:20:05.639Z] 80e8d568a223: Pulling fs layer [2021-01-15T21:20:05.639Z] 8dc6ef1a942a: Pulling fs layer [2021-01-15T21:20:05.639Z] 2312dd95470a: Pulling fs layer [2021-01-15T21:20:05.639Z] 80e8d568a223: Waiting [2021-01-15T21:20:05.639Z] 8dc6ef1a942a: Waiting [2021-01-15T21:20:05.639Z] 2312dd95470a: Waiting [2021-01-15T21:20:05.639Z] 2e060f4bd70b: Waiting [2021-01-15T21:20:05.639Z] 292df0bc6bf3: Verifying Checksum [2021-01-15T21:20:05.639Z] 292df0bc6bf3: Download complete [2021-01-15T21:20:05.639Z] 6db28d0fdbf6: Verifying Checksum [2021-01-15T21:20:05.639Z] 6db28d0fdbf6: Download complete [2021-01-15T21:20:05.639Z] 05e7bc50f07f: Verifying Checksum [2021-01-15T21:20:05.639Z] 05e7bc50f07f: Download complete [2021-01-15T21:20:05.639Z] 80e8d568a223: Verifying Checksum [2021-01-15T21:20:05.639Z] 80e8d568a223: Download complete [2021-01-15T21:20:05.639Z] 8dc6ef1a942a: Verifying Checksum [2021-01-15T21:20:05.639Z] 8dc6ef1a942a: Download complete [2021-01-15T21:20:05.639Z] 2312dd95470a: Verifying Checksum [2021-01-15T21:20:05.639Z] 2312dd95470a: Download complete [2021-01-15T21:20:05.639Z] 05e7bc50f07f: Pull complete [2021-01-15T21:20:05.639Z] 6db28d0fdbf6: Pull complete [2021-01-15T21:20:05.639Z] 292df0bc6bf3: Pull complete [2021-01-15T21:20:05.918Z] 2e060f4bd70b: Download complete [2021-01-15T21:20:08.528Z] 2e060f4bd70b: Pull complete [2021-01-15T21:20:08.794Z] 80e8d568a223: Pull complete [2021-01-15T21:20:08.794Z] 8dc6ef1a942a: Pull complete [2021-01-15T21:20:09.058Z] 2312dd95470a: Pull complete [2021-01-15T21:20:09.058Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-01-15T21:20:09.058Z] Status: Downloaded newer image for docker:20.10.0 [2021-01-15T21:20:11.050Z] ---> adbe4d74f39c [2021-01-15T21:20:11.050Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-15T21:20:11.050Z] ---> Running in fe4922841e7e [2021-01-15T21:20:11.314Z] Removing intermediate container fe4922841e7e [2021-01-15T21:20:11.314Z] ---> 1983bb139a8e [2021-01-15T21:20:11.314Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-01-15T21:20:11.314Z] ---> Running in 92296624f5a6 [2021-01-15T21:20:12.266Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-15T21:20:12.845Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-15T21:20:13.422Z] (1/5) Installing libsodium (1.0.18-r0) [2021-01-15T21:20:13.422Z] (2/5) Installing libzmq (4.3.3-r0) [2021-01-15T21:20:13.422Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-01-15T21:20:13.690Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-01-15T21:20:13.690Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-01-15T21:20:13.690Z] Executing busybox-1.31.1-r19.trigger [2021-01-15T21:20:13.690Z] OK: 167 MiB in 44 packages [2021-01-15T21:20:14.652Z] Removing intermediate container 92296624f5a6 [2021-01-15T21:20:14.652Z] ---> 69246ac72993 [2021-01-15T21:20:14.652Z] Step 6/8 : WORKDIR /build [2021-01-15T21:20:14.652Z] ---> Running in 10df12631f07 [2021-01-15T21:20:14.917Z] Removing intermediate container 10df12631f07 [2021-01-15T21:20:14.917Z] ---> d0e0f3a6b7b8 [2021-01-15T21:20:14.917Z] Step 7/8 : COPY go.mod . [2021-01-15T21:20:15.182Z] ---> a86db4e4dbb7 [2021-01-15T21:20:15.182Z] Step 8/8 : RUN go mod download [2021-01-15T21:20:15.182Z] ---> Running in 3a75fdc318e0 [2021-01-15T21:20:18.385Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-20630 in /w/workspace/ndry_app-functions-sdk-go_PR-640 [Pipeline] { [Pipeline] ws [2021-01-15T21:20:18.473Z] Running in /w/workspace/app-functions-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-01-15T21:20:23.756Z] using credential edgex-jenkins-ssh [2021-01-15T21:20:23.816Z] Cloning the remote Git repository [2021-01-15T21:20:23.881Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-15T21:20:23.982Z] > git init /w/workspace/app-functions-sdk-go/4 # timeout=10 [2021-01-15T21:20:24.072Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-15T21:20:24.073Z] > git --version # timeout=10 [2021-01-15T21:20:24.099Z] > git --version # 'git version 2.17.1' [2021-01-15T21:20:24.101Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T21:20:24.158Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-15T21:20:27.248Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-01-15T21:20:27.264Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-15T21:20:27.293Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-01-15T21:20:27.326Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-15T21:20:27.327Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T21:20:27.340Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/640/head:refs/remotes/origin/PR-640 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-15T21:20:27.882Z] Merging remotes/origin/master commit 29611b3d058cda2078929c84c413ab145d4a6c62 into PR head commit b515a4f42cce3f8b62401128f09c775e073333fb [2021-01-15T21:20:28.223Z] Merge succeeded, producing b515a4f42cce3f8b62401128f09c775e073333fb [2021-01-15T21:20:28.223Z] Checking out Revision b515a4f42cce3f8b62401128f09c775e073333fb (PR-640) [2021-01-15T21:20:27.906Z] > git config core.sparsecheckout # timeout=10 [2021-01-15T21:20:27.924Z] > git checkout -f b515a4f42cce3f8b62401128f09c775e073333fb # timeout=10 [2021-01-15T21:20:28.071Z] > git remote # timeout=10 [2021-01-15T21:20:28.118Z] > git config --get remote.origin.url # timeout=10 [2021-01-15T21:20:28.138Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T21:20:28.153Z] > git merge 29611b3d058cda2078929c84c413ab145d4a6c62 # timeout=10 [2021-01-15T21:20:28.198Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-15T21:20:28.234Z] > git config core.sparsecheckout # timeout=10 [2021-01-15T21:20:28.262Z] > git checkout -f b515a4f42cce3f8b62401128f09c775e073333fb # timeout=10 [2021-01-15T21:20:32.591Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-15T21:20:34.221Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-15T21:20:34.639Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-15T21:20:34.975Z] + + sudotrue service [2021-01-15T21:20:34.975Z] docker restart [Pipeline] unstash [Pipeline] echo [2021-01-15T21:20:37.866Z] ========================================================= [2021-01-15T21:20:37.867Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-15T21:20:37.867Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:20:38.248Z] + 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-01-15T21:20:39.234Z] Sending build context to Docker daemon 19.22MB [2021-01-15T21:20:39.234Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-15T21:20:39.234Z] Step 2/8 : FROM ${BASE} [2021-01-15T21:20:39.830Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-15T21:20:39.830Z] 5f621e34cdf4: Pulling fs layer [2021-01-15T21:20:39.830Z] a4357932f1b6: Pulling fs layer [2021-01-15T21:20:39.830Z] 18c013af1878: Pulling fs layer [2021-01-15T21:20:39.830Z] 00ac8860ef70: Pulling fs layer [2021-01-15T21:20:39.830Z] 63d7cb157983: Pulling fs layer [2021-01-15T21:20:39.830Z] b116817d02f9: Pulling fs layer [2021-01-15T21:20:39.830Z] 745a02a5169b: Pulling fs layer [2021-01-15T21:20:39.830Z] 63d7cb157983: Waiting [2021-01-15T21:20:39.830Z] 00ac8860ef70: Waiting [2021-01-15T21:20:39.830Z] b116817d02f9: Waiting [2021-01-15T21:20:39.830Z] 745a02a5169b: Waiting [2021-01-15T21:20:39.830Z] 18c013af1878: Download complete [2021-01-15T21:20:39.830Z] a4357932f1b6: Verifying Checksum [2021-01-15T21:20:39.830Z] a4357932f1b6: Download complete [2021-01-15T21:20:39.830Z] 63d7cb157983: Verifying Checksum [2021-01-15T21:20:39.830Z] 63d7cb157983: Download complete [2021-01-15T21:20:39.830Z] b116817d02f9: Verifying Checksum [2021-01-15T21:20:39.830Z] b116817d02f9: Download complete [2021-01-15T21:20:40.105Z] 5f621e34cdf4: Verifying Checksum [2021-01-15T21:20:40.105Z] 5f621e34cdf4: Download complete [2021-01-15T21:20:40.710Z] 5f621e34cdf4: Pull complete [2021-01-15T21:20:41.703Z] a4357932f1b6: Pull complete [2021-01-15T21:20:41.899Z] Removing intermediate container 3a75fdc318e0 [2021-01-15T21:20:41.899Z] ---> 709ae5e7b08e [2021-01-15T21:20:41.899Z] Successfully built 709ae5e7b08e [2021-01-15T21:20:41.899Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:20:41.981Z] 18c013af1878: Pull complete [2021-01-15T21:20:42.219Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-15T21:20:42.219Z] . [Pipeline] withDockerContainer [2021-01-15T21:20:42.261Z] 745a02a5169b: Verifying Checksum [2021-01-15T21:20:42.261Z] 745a02a5169b: Download complete [2021-01-15T21:20:42.359Z] prd-centos7-docker-4c-2g-20631 does not seem to be running inside a container [2021-01-15T21:20:42.413Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@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 [2021-01-15T21:20:43.284Z] $ docker top 2a75d71f4d195bbfb1104c1fb8894b61e9437184c67b7a19d0c018759e30804e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-15T21:20:43.697Z] 00ac8860ef70: Verifying Checksum [2021-01-15T21:20:43.697Z] 00ac8860ef70: Download complete [2021-01-15T21:20:43.786Z] + go version [2021-01-15T21:20:43.786Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-15T21:20:43.801Z] $ docker stop --time=1 2a75d71f4d195bbfb1104c1fb8894b61e9437184c67b7a19d0c018759e30804e [2021-01-15T21:20:45.157Z] $ docker rm -f 2a75d71f4d195bbfb1104c1fb8894b61e9437184c67b7a19d0c018759e30804e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:20:45.958Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-15T21:20:45.958Z] . [Pipeline] withDockerContainer [2021-01-15T21:20:46.066Z] prd-centos7-docker-4c-2g-20631 does not seem to be running inside a container [2021-01-15T21:20:46.115Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@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 [2021-01-15T21:20:46.846Z] $ docker top 7bc7cd087b7f7fb8b14b5c712c0252425bb8e1c09e31c3e9900762d29043872c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-15T21:20:47.391Z] + make test [2021-01-15T21:20:47.391Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-15T21:20:48.802Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] [2021-01-15T21:20:53.875Z] 00ac8860ef70: Pull complete [2021-01-15T21:20:53.875Z] 63d7cb157983: Pull complete [2021-01-15T21:20:54.151Z] b116817d02f9: Pull complete [2021-01-15T21:20:57.072Z] # github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http [2021-01-15T21:20:57.072Z] internal/v2/controller/http/controller.go:121:19: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common".SecretsRequest [2021-01-15T21:20:57.072Z] internal/v2/controller/http/controller.go:182:53: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common".SecretsRequest [2021-01-15T21:20:57.072Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.026s coverage: 81.0% of statements [2021-01-15T21:20:58.490Z] 745a02a5169b: Pull complete [2021-01-15T21:20:58.490Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-15T21:20:58.490Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-15T21:20:58.490Z] ---> b7e6874047d6 [2021-01-15T21:20:58.490Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-01-15T21:20:58.490Z] 20.10.0: Pulling from library/docker [2021-01-15T21:20:58.490Z] a3cc7d3b244e: Pulling fs layer [2021-01-15T21:20:58.490Z] 02a3295e0d61: Pulling fs layer [2021-01-15T21:20:58.490Z] 0f4f2e6d8100: Pulling fs layer [2021-01-15T21:20:58.490Z] 330b718f631f: Pulling fs layer [2021-01-15T21:20:58.490Z] a93816041522: Pulling fs layer [2021-01-15T21:20:58.490Z] bdb6da89ff94: Pulling fs layer [2021-01-15T21:20:58.490Z] 2a70c0c122f4: Pulling fs layer [2021-01-15T21:20:58.490Z] a93816041522: Waiting [2021-01-15T21:20:58.490Z] bdb6da89ff94: Waiting [2021-01-15T21:20:58.490Z] 330b718f631f: Waiting [2021-01-15T21:20:58.490Z] 2a70c0c122f4: Waiting [2021-01-15T21:20:58.490Z] 0f4f2e6d8100: Verifying Checksum [2021-01-15T21:20:58.490Z] 0f4f2e6d8100: Download complete [2021-01-15T21:20:58.490Z] 02a3295e0d61: Verifying Checksum [2021-01-15T21:20:58.490Z] 02a3295e0d61: Download complete [2021-01-15T21:20:58.490Z] a93816041522: Download complete [2021-01-15T21:20:58.490Z] a3cc7d3b244e: Verifying Checksum [2021-01-15T21:20:58.490Z] a3cc7d3b244e: Download complete [2021-01-15T21:20:58.490Z] bdb6da89ff94: Verifying Checksum [2021-01-15T21:20:58.490Z] bdb6da89ff94: Download complete [2021-01-15T21:20:58.490Z] 2a70c0c122f4: Verifying Checksum [2021-01-15T21:20:58.490Z] 2a70c0c122f4: Download complete [2021-01-15T21:20:59.092Z] a3cc7d3b244e: Pull complete [2021-01-15T21:20:59.694Z] 02a3295e0d61: Pull complete [2021-01-15T21:20:59.967Z] 0f4f2e6d8100: Pull complete [2021-01-15T21:21:00.239Z] 330b718f631f: Verifying Checksum [2021-01-15T21:21:00.239Z] 330b718f631f: Download complete [2021-01-15T21:21:02.460Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk [build failed] [2021-01-15T21:21:02.460Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-01-15T21:21:02.460Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-01-15T21:21:02.730Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.039s coverage: 61.5% of statements [2021-01-15T21:21:02.730Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-01-15T21:21:03.001Z] # github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http [github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http.test] [2021-01-15T21:21:03.001Z] internal/v2/controller/http/controller.go:121: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common".SecretsRequest [2021-01-15T21:21:03.001Z] internal/v2/controller/http/controller.go:182: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common".SecretsRequest [2021-01-15T21:21:03.001Z] internal/v2/controller/http/controller_test.go:189:18: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common".SecretsRequest [2021-01-15T21:21:03.001Z] internal/v2/controller/http/controller_test.go:207:24: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common".SecretsKeyValue [2021-01-15T21:21:03.001Z] internal/v2/controller/http/controller_test.go:209:31: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common".SecretsKeyValue [2021-01-15T21:21:03.001Z] internal/v2/controller/http/controller_test.go:213:33: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common".SecretsKeyValue [2021-01-15T21:21:03.001Z] internal/v2/controller/http/controller_test.go:221:22: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common".SecretsRequest [2021-01-15T21:21:03.618Z] 330b718f631f: Pull complete [2021-01-15T21:21:03.618Z] a93816041522: Pull complete [2021-01-15T21:21:03.898Z] bdb6da89ff94: Pull complete [2021-01-15T21:21:04.171Z] 2a70c0c122f4: Pull complete [2021-01-15T21:21:04.171Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-01-15T21:21:04.422Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.025s coverage: 67.7% of statements [2021-01-15T21:21:04.422Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-01-15T21:21:04.422Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-01-15T21:21:04.422Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-01-15T21:21:04.422Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-01-15T21:21:04.422Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-01-15T21:21:04.422Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-01-15T21:21:04.422Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.020s coverage: 97.0% of statements [2021-01-15T21:21:04.422Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-01-15T21:21:04.422Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http [build failed] [2021-01-15T21:21:04.443Z] Status: Downloaded newer image for docker:20.10.0 [2021-01-15T21:21:11.026Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 7.235s coverage: 75.4% of statements [2021-01-15T21:21:11.026Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-01-15T21:21:11.026Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http [build failed] [2021-01-15T21:21:11.026Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver [build failed] [2021-01-15T21:21:11.026Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.008s coverage: 71.7% of statements [2021-01-15T21:21:11.164Z] ---> 77816a0cc1ff [2021-01-15T21:21:11.164Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-15T21:21:11.164Z] ---> Running in e340d76adadb [2021-01-15T21:21:11.164Z] Removing intermediate container e340d76adadb [2021-01-15T21:21:11.164Z] ---> fa9f39cc4f5b [2021-01-15T21:21:11.164Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-01-15T21:21:11.164Z] ---> Running in b6f0d5e98db2 [2021-01-15T21:21:12.606Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-15T21:21:13.201Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-15T21:21:13.797Z] (1/5) Installing libsodium (1.0.18-r0) [2021-01-15T21:21:13.797Z] (2/5) Installing libzmq (4.3.3-r0) [2021-01-15T21:21:13.797Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-01-15T21:21:14.076Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-01-15T21:21:14.076Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-01-15T21:21:14.076Z] Executing busybox-1.31.1-r19.trigger [2021-01-15T21:21:14.076Z] OK: 144 MiB in 44 packages [2021-01-15T21:21:15.512Z] Removing intermediate container b6f0d5e98db2 [2021-01-15T21:21:15.512Z] ---> f05568ace0a8 [2021-01-15T21:21:15.512Z] Step 6/8 : WORKDIR /build [2021-01-15T21:21:15.512Z] ---> Running in 0cf975be8348 [2021-01-15T21:21:16.106Z] Removing intermediate container 0cf975be8348 [2021-01-15T21:21:16.106Z] ---> 2454fce75d75 [2021-01-15T21:21:16.106Z] Step 7/8 : COPY go.mod . [2021-01-15T21:21:16.704Z] ---> 2a8c9e2cb64e [2021-01-15T21:21:16.704Z] Step 8/8 : RUN go mod download [2021-01-15T21:21:16.704Z] ---> Running in beb033d16741 [2021-01-15T21:21:33.025Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.025s coverage: 81.4% of statements [2021-01-15T21:21:33.025Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.005s coverage: 94.4% of statements [2021-01-15T21:21:33.025Z] FAIL [2021-01-15T21:21:33.025Z] make: *** [Makefile:6: test] Error 2 [Pipeline] } [2021-01-15T21:21:33.045Z] $ docker stop --time=1 7bc7cd087b7f7fb8b14b5c712c0252425bb8e1c09e31c3e9900762d29043872c [2021-01-15T21:21:35.202Z] $ docker rm -f 7bc7cd087b7f7fb8b14b5c712c0252425bb8e1c09e31c3e9900762d29043872c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-15T21:21:37.103Z] Failed in branch amd64 [2021-01-15T21:21:43.500Z] Removing intermediate container beb033d16741 [2021-01-15T21:21:43.500Z] ---> 677cddf34273 [2021-01-15T21:21:43.500Z] Successfully built 677cddf34273 [2021-01-15T21:21:43.500Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:21:43.845Z] + docker inspect -f . ci-base-image-arm64 [2021-01-15T21:21:43.845Z] . [Pipeline] withDockerContainer [2021-01-15T21:21:44.081Z] prd-ubuntu18.04-docker-arm64-4c-16g-20630 does not seem to be running inside a container [2021-01-15T21:21:44.164Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@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-arm64 cat [2021-01-15T21:21:45.646Z] $ docker top 2cc310dc57be8b36dc62caedaa2783d1b0aee72af7066871eaaa5e00e5ecbec8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-15T21:21:46.683Z] + go version [2021-01-15T21:21:46.683Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-15T21:21:46.707Z] $ docker stop --time=1 2cc310dc57be8b36dc62caedaa2783d1b0aee72af7066871eaaa5e00e5ecbec8 [2021-01-15T21:21:48.633Z] $ docker rm -f 2cc310dc57be8b36dc62caedaa2783d1b0aee72af7066871eaaa5e00e5ecbec8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:21:49.632Z] + docker inspect -f . ci-base-image-arm64 [2021-01-15T21:21:49.632Z] . [Pipeline] withDockerContainer [2021-01-15T21:21:49.896Z] prd-ubuntu18.04-docker-arm64-4c-16g-20630 does not seem to be running inside a container [2021-01-15T21:21:49.984Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@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-arm64 cat [2021-01-15T21:21:51.514Z] $ docker top f80169024f65c4db5c4cf93461bbdc3f12636cfb07cca893b7318ef3e81a8512 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-15T21:21:52.675Z] + make test [2021-01-15T21:21:52.675Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-15T21:21:54.119Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] [2021-01-15T21:22:16.313Z] # github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http [2021-01-15T21:22:16.313Z] internal/v2/controller/http/controller.go:121:19: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common".SecretsRequest [2021-01-15T21:22:16.313Z] internal/v2/controller/http/controller.go:182:53: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common".SecretsRequest [2021-01-15T21:22:16.313Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.055s coverage: 81.0% of statements [2021-01-15T21:22:31.414Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk [build failed] [2021-01-15T21:22:31.414Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-01-15T21:22:31.414Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-01-15T21:22:32.854Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.085s coverage: 61.5% of statements [2021-01-15T21:22:32.854Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-01-15T21:22:33.133Z] # github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http [github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http.test] [2021-01-15T21:22:33.133Z] internal/v2/controller/http/controller.go:121: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common".SecretsRequest [2021-01-15T21:22:33.133Z] internal/v2/controller/http/controller.go:182: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common".SecretsRequest [2021-01-15T21:22:33.133Z] internal/v2/controller/http/controller_test.go:189:18: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common".SecretsRequest [2021-01-15T21:22:33.133Z] internal/v2/controller/http/controller_test.go:207:24: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common".SecretsKeyValue [2021-01-15T21:22:33.133Z] internal/v2/controller/http/controller_test.go:209:31: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common".SecretsKeyValue [2021-01-15T21:22:33.133Z] internal/v2/controller/http/controller_test.go:213:33: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common".SecretsKeyValue [2021-01-15T21:22:33.133Z] internal/v2/controller/http/controller_test.go:221:22: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common".SecretsRequest [2021-01-15T21:22:34.118Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.057s coverage: 67.7% of statements [2021-01-15T21:22:34.118Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-01-15T21:22:34.118Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-01-15T21:22:34.118Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-01-15T21:22:34.118Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-01-15T21:22:34.118Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-01-15T21:22:34.118Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-01-15T21:22:34.118Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.031s coverage: 97.0% of statements [2021-01-15T21:22:34.118Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-01-15T21:22:34.118Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http [build failed] [2021-01-15T21:22:44.371Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 7.273s coverage: 75.4% of statements [2021-01-15T21:22:44.371Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-01-15T21:22:44.371Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http [build failed] [2021-01-15T21:22:44.371Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver [build failed] [2021-01-15T21:22:44.371Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.025s coverage: 71.7% of statements [2021-01-15T21:23:02.677Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.058s coverage: 81.4% of statements [2021-01-15T21:23:02.677Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.014s coverage: 94.4% of statements [2021-01-15T21:23:02.677Z] FAIL [2021-01-15T21:23:02.948Z] make: *** [Makefile:6: test] Error 2 [Pipeline] } [2021-01-15T21:23:02.974Z] $ docker stop --time=1 f80169024f65c4db5c4cf93461bbdc3f12636cfb07cca893b7318ef3e81a8512 [2021-01-15T21:23:05.093Z] $ docker rm -f f80169024f65c4db5c4cf93461bbdc3f12636cfb07cca893b7318ef3e81a8512 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-15T21:23:06.769Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:23:09.255Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:23:09.854Z] ---> package-listing.sh [2021-01-15T21:23:09.854Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-15T21:23:09.854Z] ++ facter osfamily [2021-01-15T21:23:09.854Z] + OS_FAMILY=redhat [2021-01-15T21:23:09.854Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-640 [2021-01-15T21:23:09.854Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-15T21:23:09.854Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-15T21:23:09.854Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-15T21:23:09.854Z] + PACKAGES=/tmp/packages_start.txt [2021-01-15T21:23:09.854Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-640 ']' [2021-01-15T21:23:09.854Z] + PACKAGES=/tmp/packages_end.txt [2021-01-15T21:23:09.854Z] + case "${OS_FAMILY}" in [2021-01-15T21:23:09.854Z] + rpm -qa [2021-01-15T21:23:09.854Z] + sort [2021-01-15T21:23:15.296Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-15T21:23:15.297Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-15T21:23:15.297Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-15T21:23:15.297Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-640 ']' [2021-01-15T21:23:15.297Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-640/archives/ [2021-01-15T21:23:15.297Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-640/archives/ [Pipeline] echo [2021-01-15T21:23:15.314Z] 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-640/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-15T21:23:15.630Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:23:15.974Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-15T21:23:16.241Z] [2021-01-15T21:23:16.241Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:23:16.615Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-15T21:23:16.615Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-15T21:23:16.615Z] df20fa9351a1: Pulling fs layer [2021-01-15T21:23:16.615Z] 36b3adc4ff6f: Pulling fs layer [2021-01-15T21:23:16.615Z] 8ad3a11d3b57: Pulling fs layer [2021-01-15T21:23:16.615Z] 46f8f816bc3b: Pulling fs layer [2021-01-15T21:23:16.615Z] 93b61091891f: Pulling fs layer [2021-01-15T21:23:16.615Z] 93b9cdb0e59b: Pulling fs layer [2021-01-15T21:23:16.615Z] 5e14af77c1be: Pulling fs layer [2021-01-15T21:23:16.615Z] 01666e4c0597: Pulling fs layer [2021-01-15T21:23:16.615Z] aa168da1d23b: Pulling fs layer [2021-01-15T21:23:16.615Z] 46f8f816bc3b: Waiting [2021-01-15T21:23:16.615Z] 93b9cdb0e59b: Waiting [2021-01-15T21:23:16.615Z] 5e14af77c1be: Waiting [2021-01-15T21:23:16.615Z] 01666e4c0597: Waiting [2021-01-15T21:23:16.615Z] aa168da1d23b: Waiting [2021-01-15T21:23:16.615Z] 93b61091891f: Waiting [2021-01-15T21:23:16.615Z] 36b3adc4ff6f: Verifying Checksum [2021-01-15T21:23:16.615Z] 36b3adc4ff6f: Download complete [2021-01-15T21:23:16.615Z] 46f8f816bc3b: Download complete [2021-01-15T21:23:16.922Z] df20fa9351a1: Verifying Checksum [2021-01-15T21:23:16.922Z] 93b9cdb0e59b: Verifying Checksum [2021-01-15T21:23:16.922Z] 93b9cdb0e59b: Download complete [2021-01-15T21:23:16.922Z] 5e14af77c1be: Verifying Checksum [2021-01-15T21:23:16.922Z] 5e14af77c1be: Download complete [2021-01-15T21:23:16.922Z] 01666e4c0597: Verifying Checksum [2021-01-15T21:23:16.922Z] 01666e4c0597: Download complete [2021-01-15T21:23:16.922Z] 93b61091891f: Verifying Checksum [2021-01-15T21:23:16.922Z] 93b61091891f: Download complete [2021-01-15T21:23:18.032Z] df20fa9351a1: Pull complete [2021-01-15T21:23:18.032Z] 8ad3a11d3b57: Verifying Checksum [2021-01-15T21:23:18.032Z] 8ad3a11d3b57: Download complete [2021-01-15T21:23:18.326Z] 36b3adc4ff6f: Pull complete [2021-01-15T21:23:19.391Z] 8ad3a11d3b57: Pull complete [2021-01-15T21:23:19.685Z] 46f8f816bc3b: Pull complete [2021-01-15T21:23:20.790Z] 93b61091891f: Pull complete [2021-01-15T21:23:20.790Z] 93b9cdb0e59b: Pull complete [2021-01-15T21:23:21.435Z] 5e14af77c1be: Pull complete [2021-01-15T21:23:21.713Z] 01666e4c0597: Pull complete [2021-01-15T21:23:23.189Z] aa168da1d23b: Verifying Checksum [2021-01-15T21:23:23.189Z] aa168da1d23b: Download complete [2021-01-15T21:23:36.571Z] aa168da1d23b: Pull complete [2021-01-15T21:23:36.571Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-15T21:23:36.571Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-15T21:23:36.571Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-15T21:23:37.005Z] prd-centos7-docker-4c-2g-20627 does not seem to be running inside a container [2021-01-15T21:23:37.113Z] $ 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-640/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-640 -v /w/workspace/ndry_app-functions-sdk-go_PR-640:/w/workspace/ndry_app-functions-sdk-go_PR-640:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-640@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-640@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 [2021-01-15T21:23:40.867Z] $ docker top eed3376fff7e5a8c961f13bfd1aad5dc1617b7262595400e807245c648c0327a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-15T21:23:41.944Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-15T21:23:42.295Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-15T21:23:43.023Z] + ls /var/log/sa-host [2021-01-15T21:23:43.023Z] + sadf -c /var/log/sa-host/sa15 [2021-01-15T21:23:43.023Z] file_magic: OK [2021-01-15T21:23:43.023Z] HZ: Using current value: 100 [2021-01-15T21:23:43.023Z] file_header: OK [2021-01-15T21:23:43.023Z] 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-01-15T21:23:43.023Z] Statistics: [2021-01-15T21:23:43.023Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-15T21:23:43.023Z] File successfully converted to sysstat format version 12.2.1 [2021-01-15T21:23:43.023Z] + sadf -c /var/log/sa-host/sa23 [2021-01-15T21:23:43.023Z] file_magic: OK [2021-01-15T21:23:43.023Z] HZ: Using current value: 100 [2021-01-15T21:23:43.023Z] file_header: OK [2021-01-15T21:23:43.023Z] 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-01-15T21:23:43.023Z] Statistics: [2021-01-15T21:23:43.023Z] Hnuu...uuuununununu... [2021-01-15T21:23:43.023Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-15T21:23:43.244Z] provisioning config files... [2021-01-15T21:23:43.309Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-640@tmp/config4753715235871118473tmp [Pipeline] { [Pipeline] echo [2021-01-15T21:23:43.391Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:23:44.077Z] ---> create-netrc.sh [Pipeline] } [2021-01-15T21:23:44.099Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-15T21:23:44.193Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:23:44.847Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-15T21:23:44.864Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:23:45.522Z] ---> sudo-logs.sh [2021-01-15T21:23:45.522Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-15T21:23:45.533Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:23:45.869Z] ---> job-cost.sh [2021-01-15T21:23:46.147Z] lf-activate-venv: SKIPPING [2021-01-15T21:23:46.148Z] INFO: No Stack... [2021-01-15T21:23:47.103Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-15T21:23:47.394Z] INFO: Archiving Costs [Pipeline] echo [2021-01-15T21:23:47.400Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:23:47.709Z] ---> logs-deploy.sh [2021-01-15T21:23:47.709Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-640/4 [2021-01-15T21:23:47.709Z] INFO: archiving workspace using pattern(s): [2021-01-15T21:23:50.282Z] Archives upload complete. [2021-01-15T21:23:50.282Z] INFO: archiving logs to Nexus