Branch indexing 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 weichou1229 for edgexfoundry/go-mod-core-contracts Loading trusted files from base branch master at 747e68f9da97596da4a07287b22afd0d9f009cce rather than 25a4917d5544e6bcde1447309bf18add20eb9278 Obtained Jenkinsfile from 747e68f9da97596da4a07287b22afd0d9f009cce 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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:go-mod-core-contracts, buildImage:false, pushImage:false, semverBump:pre] ========================================================= [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: go-mod-core-contracts-settings PROJECT: go-mod-core-contracts 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-go-mod-core-contracts 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: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Running on prd-centos7-docker-4c-2g-24044 in /w/workspace/dry_go-mod-core-contracts_PR-462 [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/go-mod-core-contracts.git > git init /w/workspace/dry_go-mod-core-contracts_PR-462 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.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/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 747e68f9da97596da4a07287b22afd0d9f009cce into PR head commit 25a4917d5544e6bcde1447309bf18add20eb9278 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.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/go-mod-core-contracts.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/462/head:refs/remotes/origin/PR-462 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 25a4917d5544e6bcde1447309bf18add20eb9278 # timeout=10 Merge succeeded, producing 75b461223593a09b4b09dfd87bd90e2588cc9df7 Checking out Revision 75b461223593a09b4b09dfd87bd90e2588cc9df7 (PR-462) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 747e68f9da97596da4a07287b22afd0d9f009cce # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 75b461223593a09b4b09dfd87bd90e2588cc9df7 # timeout=10 Commit message: "Merge commit '747e68f9da97596da4a07287b22afd0d9f009cce' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-30T00:38:24.289Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-30T00:38:24.569Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-30T00:38:24.658Z] ========================================================= [2021-01-30T00:38:24.659Z] EdgeX Global Pipelines Version Info [2021-01-30T00:38:24.659Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 4275e977b78e137e86a141a5aeb87ab706a65d2a # timeout=10 [2021-01-30T00:38:26.687Z] ------------------- [2021-01-30T00:38:26.687Z] stable info: [2021-01-30T00:38:26.687Z] ------------------- [2021-01-30T00:38:26.687Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-30T00:38:26.687Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-30T00:38:26.687Z] Message: update stable to v1.0.179 [2021-01-30T00:38:27.279Z] ------------------- [2021-01-30T00:38:27.279Z] experimental info: [2021-01-30T00:38:27.279Z] ------------------- [2021-01-30T00:38:27.279Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-30T00:38:27.279Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-30T00:38:27.279Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-30T00:38:27.531Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2021-01-30T00:38:27.616Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2021-01-30T00:38:27.717Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-30T00:38:27.805Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-30T00:38:27.897Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-30T00:38:27.982Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-30T00:38:28.081Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-30T00:38:28.169Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-30T00:38:28.258Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-30T00:38:28.347Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-30T00:38:28.438Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-30T00:38:28.527Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2021-01-30T00:38:28.626Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-30T00:38:28.715Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-30T00:38:28.796Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-01-30T00:38:28.882Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-30T00:38:28.966Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-30T00:38:29.050Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-30T00:38:29.134Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-30T00:38:29.248Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-30T00:38:29.335Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-30T00:38:29.421Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-30T00:38:29.508Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-30T00:38:29.592Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-30T00:38:29.683Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-01-30T00:38:29.779Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-30T00:38:29.860Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-30T00:38:29.950Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-462 [Pipeline] echo [2021-01-30T00:38:30.088Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-462 [Pipeline] echo [2021-01-30T00:38:30.224Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-462 [Pipeline] echo [2021-01-30T00:38:30.434Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 75b461223593a09b4b09dfd87bd90e2588cc9df7 [Pipeline] echo [2021-01-30T00:38:30.544Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 75b4612 [Pipeline] echo [2021-01-30T00:38:30.633Z] [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-30T00:38:31.342Z] + git log --format=format:%s -1 75b461223593a09b4b09dfd87bd90e2588cc9df7 [Pipeline] echo [2021-01-30T00:38:31.458Z] GIT_COMMIT: 75b461223593a09b4b09dfd87bd90e2588cc9df7, Commit Message: Merge commit '747e68f9da97596da4a07287b22afd0d9f009cce' into HEAD [Pipeline] echo [2021-01-30T00:38:31.511Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-30T00:38:32.208Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-30T00:38:32.471Z] [2021-01-30T00:38:32.471Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-30T00:38:32.836Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-30T00:38:32.836Z] latest: Pulling from edgex-devops/git-semver [2021-01-30T00:38:32.836Z] 31603596830f: Pulling fs layer [2021-01-30T00:38:32.836Z] 2a8b12db71e7: Pulling fs layer [2021-01-30T00:38:32.836Z] 6ca5941a6612: Pulling fs layer [2021-01-30T00:38:32.836Z] ecc8261a40a4: Pulling fs layer [2021-01-30T00:38:32.836Z] ecc8261a40a4: Waiting [2021-01-30T00:38:32.836Z] 2a8b12db71e7: Verifying Checksum [2021-01-30T00:38:32.836Z] 2a8b12db71e7: Download complete [2021-01-30T00:38:33.109Z] 31603596830f: Download complete [2021-01-30T00:38:33.109Z] ecc8261a40a4: Verifying Checksum [2021-01-30T00:38:33.109Z] ecc8261a40a4: Download complete [2021-01-30T00:38:33.384Z] 6ca5941a6612: Verifying Checksum [2021-01-30T00:38:33.384Z] 6ca5941a6612: Download complete [2021-01-30T00:38:33.649Z] 31603596830f: Pull complete [2021-01-30T00:38:33.649Z] 2a8b12db71e7: Pull complete [2021-01-30T00:38:34.622Z] 6ca5941a6612: Pull complete [2021-01-30T00:38:35.201Z] ecc8261a40a4: Pull complete [2021-01-30T00:38:35.201Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-30T00:38:35.201Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-30T00:38:35.201Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-30T00:38:35.342Z] prd-centos7-docker-4c-2g-24044 does not seem to be running inside a container [2021-01-30T00:38:35.411Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-462 -v /w/workspace/dry_go-mod-core-contracts_PR-462:/w/workspace/dry_go-mod-core-contracts_PR-462:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-462@tmp:/w/workspace/dry_go-mod-core-contracts_PR-462@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-30T00:38:37.854Z] $ docker top a99be2d21936c0c7f75e3356e6288f3cafdea6d0c02162bc5ce72cc712340cf6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-30T00:38:38.138Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-30T00:38:38.138Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-30T00:38:38.414Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-30T00:38:38.421Z] $ docker exec a99be2d21936c0c7f75e3356e6288f3cafdea6d0c02162bc5ce72cc712340cf6 ssh-agent [2021-01-30T00:38:38.631Z] SSH_AUTH_SOCK=/tmp/ssh-J2sEkhvLU6kY/agent.11 [2021-01-30T00:38:38.631Z] SSH_AGENT_PID=16 [2021-01-30T00:38:38.646Z] Running ssh-add (command line suppressed) [2021-01-30T00:38:38.808Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-462@tmp/private_key_8808260427971549356.key (/w/workspace/dry_go-mod-core-contracts_PR-462@tmp/private_key_8808260427971549356.key) [2021-01-30T00:38:38.879Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-30T00:38:39.242Z] + git tag --points-at HEAD [Pipeline] } [2021-01-30T00:38:39.306Z] $ docker exec --env ******** --env ******** a99be2d21936c0c7f75e3356e6288f3cafdea6d0c02162bc5ce72cc712340cf6 ssh-agent -k [2021-01-30T00:38:39.437Z] unset SSH_AUTH_SOCK; [2021-01-30T00:38:39.437Z] unset SSH_AGENT_PID; [2021-01-30T00:38:39.437Z] echo Agent pid 16 killed; [2021-01-30T00:38:39.518Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-30T00:38:39.656Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-30T00:38:39.656Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-30T00:38:39.873Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-30T00:38:39.880Z] $ docker exec a99be2d21936c0c7f75e3356e6288f3cafdea6d0c02162bc5ce72cc712340cf6 ssh-agent [2021-01-30T00:38:40.071Z] SSH_AUTH_SOCK=/tmp/ssh-kkhpcZgyXpmt/agent.44 [2021-01-30T00:38:40.071Z] SSH_AGENT_PID=50 [2021-01-30T00:38:40.084Z] Running ssh-add (command line suppressed) [2021-01-30T00:38:40.228Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-462@tmp/private_key_877096654235799082.key (/w/workspace/dry_go-mod-core-contracts_PR-462@tmp/private_key_877096654235799082.key) [2021-01-30T00:38:40.284Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-30T00:38:40.625Z] + git semver init [2021-01-30T00:38:40.625Z] # -> Open(): unable to determine branch for HEAD [2021-01-30T00:38:40.625Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-462/.git [2021-01-30T00:38:40.625Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-462 [2021-01-30T00:38:40.625Z] # $SEMVER_REMOTE_NAME = origin [2021-01-30T00:38:40.625Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-30T00:38:40.625Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-30T00:38:40.625Z] # $SEMVER_BRANCH = PR-462 [2021-01-30T00:38:40.625Z] # $SEMVER_TEMP = /tmp/semver-350762894 [2021-01-30T00:38:40.625Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2021-01-30T00:38:41.207Z] # '/tmp/semver-350762894' -> '/w/workspace/dry_go-mod-core-contracts_PR-462/.semver' [2021-01-30T00:38:41.473Z] # -> Force: false [2021-01-30T00:38:41.473Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-462/.semver [Pipeline] } [2021-01-30T00:38:41.502Z] $ docker exec --env ******** --env ******** a99be2d21936c0c7f75e3356e6288f3cafdea6d0c02162bc5ce72cc712340cf6 ssh-agent -k [2021-01-30T00:38:41.709Z] unset SSH_AUTH_SOCK; [2021-01-30T00:38:41.710Z] unset SSH_AGENT_PID; [2021-01-30T00:38:41.710Z] echo Agent pid 50 killed; [2021-01-30T00:38:41.777Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-30T00:38:42.305Z] + git semver [Pipeline] } [2021-01-30T00:38:42.327Z] $ docker stop --time=1 a99be2d21936c0c7f75e3356e6288f3cafdea6d0c02162bc5ce72cc712340cf6 [2021-01-30T00:38:44.177Z] $ docker rm -f a99be2d21936c0c7f75e3356e6288f3cafdea6d0c02162bc5ce72cc712340cf6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-30T00:38:44.700Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-30T00:38:45.563Z] Stashed 1 file(s) [Pipeline] echo [2021-01-30T00:38:45.566Z] [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-30T00:39:01.107Z] Still waiting to schedule task [2021-01-30T00:39:01.107Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-30T00:39:01.111Z] Still waiting to schedule task [2021-01-30T00:39:01.111Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-30T00:43:33.638Z] Running on prd-centos7-docker-4c-2g-24054 in /w/workspace/dry_go-mod-core-contracts_PR-462 [Pipeline] { [Pipeline] ws [2021-01-30T00:43:33.698Z] Running in /w/workspace/go-mod-core-contracts/7 [Pipeline] { [Pipeline] checkout [2021-01-30T00:43:36.201Z] using credential edgex-jenkins-ssh [2021-01-30T00:43:36.276Z] Cloning the remote Git repository [2021-01-30T00:43:36.765Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-24052 in /w/workspace/dry_go-mod-core-contracts_PR-462 [Pipeline] { [Pipeline] ws [2021-01-30T00:43:36.829Z] Running in /w/workspace/go-mod-core-contracts/7 [Pipeline] { [Pipeline] checkout [2021-01-30T00:43:35.829Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-30T00:43:35.900Z] > git init /w/workspace/go-mod-core-contracts/7 # timeout=10 [2021-01-30T00:43:35.979Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-30T00:43:35.980Z] > git --version # timeout=10 [2021-01-30T00:43:35.988Z] > git --version # 'git version 2.24.3' [2021-01-30T00:43:35.989Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-30T00:43:36.019Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-30T00:43:37.720Z] Merging remotes/origin/master commit 747e68f9da97596da4a07287b22afd0d9f009cce into PR head commit 25a4917d5544e6bcde1447309bf18add20eb9278 [2021-01-30T00:43:37.875Z] Merge succeeded, producing 5d89122950167f44ec66a6f182331af31855d55d [2021-01-30T00:43:37.875Z] Checking out Revision 5d89122950167f44ec66a6f182331af31855d55d (PR-462) [2021-01-30T00:43:36.768Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-30T00:43:36.776Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-30T00:43:36.794Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-30T00:43:36.807Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-30T00:43:36.807Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-30T00:43:36.812Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/462/head:refs/remotes/origin/PR-462 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-30T00:43:37.378Z] > git config core.sparsecheckout # timeout=10 [2021-01-30T00:43:37.383Z] > git checkout -f 25a4917d5544e6bcde1447309bf18add20eb9278 # timeout=10 [2021-01-30T00:43:37.461Z] > git remote # timeout=10 [2021-01-30T00:43:37.469Z] > git config --get remote.origin.url # timeout=10 [2021-01-30T00:43:37.474Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-30T00:43:37.478Z] > git merge 747e68f9da97596da4a07287b22afd0d9f009cce # timeout=10 [2021-01-30T00:43:37.526Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-30T00:43:37.540Z] > git config core.sparsecheckout # timeout=10 [2021-01-30T00:43:37.546Z] > git checkout -f 5d89122950167f44ec66a6f182331af31855d55d # timeout=10 [2021-01-30T00:43:41.386Z] Commit message: "Merge commit '747e68f9da97596da4a07287b22afd0d9f009cce' into HEAD" [2021-01-30T00:43:41.398Z] First time build. Skipping changelog. [2021-01-30T00:43:41.343Z] > git rev-list --no-walk 4275e977b78e137e86a141a5aeb87ab706a65d2a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-30T00:43:42.378Z] using credential edgex-jenkins-ssh [2021-01-30T00:43:42.446Z] Cloning the remote Git repository [2021-01-30T00:43:42.617Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-30T00:43:42.950Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-30T00:43:42.496Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-30T00:43:42.621Z] > git init /w/workspace/go-mod-core-contracts/7 # timeout=10 [2021-01-30T00:43:42.694Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-30T00:43:42.694Z] > git --version # timeout=10 [2021-01-30T00:43:42.716Z] > git --version # 'git version 2.17.1' [2021-01-30T00:43:42.718Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-30T00:43:42.819Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-30T00:43:43.247Z] + sudo service docker restart [2021-01-30T00:43:43.247Z] + true [2021-01-30T00:43:43.247Z] Redirecting to /bin/systemctl restart docker.service [2021-01-30T00:43:43.974Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-30T00:43:43.998Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-30T00:43:44.033Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-30T00:43:44.077Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-30T00:43:44.078Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-30T00:43:44.090Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/462/head:refs/remotes/origin/PR-462 +refs/heads/master:refs/remotes/origin/master # timeout=10 [Pipeline] unstash [2021-01-30T00:43:44.811Z] Merging remotes/origin/master commit 747e68f9da97596da4a07287b22afd0d9f009cce into PR head commit 25a4917d5544e6bcde1447309bf18add20eb9278 [Pipeline] echo [2021-01-30T00:43:44.825Z] ========================================================= [2021-01-30T00:43:44.825Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-30T00:43:44.825Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-30T00:43:45.187Z] + 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-30T00:43:45.222Z] Merge succeeded, producing 43738a350405ab8befb94fa5d0ec18385941a573 [2021-01-30T00:43:45.222Z] Checking out Revision 43738a350405ab8befb94fa5d0ec18385941a573 (PR-462) [2021-01-30T00:43:45.448Z] Sending build context to Docker daemon 2.492MB [2021-01-30T00:43:45.448Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-01-30T00:43:45.448Z] Step 2/7 : FROM ${BASE} [2021-01-30T00:43:45.715Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-30T00:43:45.715Z] 188c0c94c7c5: Pulling fs layer [2021-01-30T00:43:45.715Z] 0ef7d3d256c8: Pulling fs layer [2021-01-30T00:43:45.715Z] de9db76c5a1d: Pulling fs layer [2021-01-30T00:43:45.715Z] bca2f99d35d6: Pulling fs layer [2021-01-30T00:43:45.715Z] 93359f2a8cfa: Pulling fs layer [2021-01-30T00:43:45.715Z] 7c6f9722023f: Pulling fs layer [2021-01-30T00:43:45.715Z] a35cf1a2eb13: Pulling fs layer [2021-01-30T00:43:45.715Z] 93359f2a8cfa: Waiting [2021-01-30T00:43:45.715Z] bca2f99d35d6: Waiting [2021-01-30T00:43:45.715Z] 7c6f9722023f: Waiting [2021-01-30T00:43:45.715Z] a35cf1a2eb13: Waiting [2021-01-30T00:43:45.715Z] de9db76c5a1d: Verifying Checksum [2021-01-30T00:43:45.715Z] de9db76c5a1d: Download complete [2021-01-30T00:43:45.715Z] 0ef7d3d256c8: Verifying Checksum [2021-01-30T00:43:45.715Z] 0ef7d3d256c8: Download complete [2021-01-30T00:43:45.715Z] 93359f2a8cfa: Download complete [2021-01-30T00:43:45.715Z] 7c6f9722023f: Verifying Checksum [2021-01-30T00:43:45.715Z] 7c6f9722023f: Download complete [2021-01-30T00:43:45.715Z] 188c0c94c7c5: Verifying Checksum [2021-01-30T00:43:45.715Z] 188c0c94c7c5: Download complete [2021-01-30T00:43:44.831Z] > git config core.sparsecheckout # timeout=10 [2021-01-30T00:43:44.853Z] > git checkout -f 25a4917d5544e6bcde1447309bf18add20eb9278 # timeout=10 [2021-01-30T00:43:45.001Z] > git remote # timeout=10 [2021-01-30T00:43:45.026Z] > git config --get remote.origin.url # timeout=10 [2021-01-30T00:43:45.041Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-30T00:43:45.052Z] > git merge 747e68f9da97596da4a07287b22afd0d9f009cce # timeout=10 [2021-01-30T00:43:45.164Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-30T00:43:45.229Z] > git config core.sparsecheckout # timeout=10 [2021-01-30T00:43:45.276Z] > git checkout -f 43738a350405ab8befb94fa5d0ec18385941a573 # timeout=10 [2021-01-30T00:43:45.983Z] 188c0c94c7c5: Pull complete [2021-01-30T00:43:46.244Z] 0ef7d3d256c8: Pull complete [2021-01-30T00:43:46.244Z] de9db76c5a1d: Pull complete [2021-01-30T00:43:47.639Z] a35cf1a2eb13: Verifying Checksum [2021-01-30T00:43:47.640Z] a35cf1a2eb13: Download complete [2021-01-30T00:43:49.566Z] bca2f99d35d6: Verifying Checksum [2021-01-30T00:43:49.566Z] bca2f99d35d6: Download complete [2021-01-30T00:43:49.604Z] Commit message: "Merge commit '747e68f9da97596da4a07287b22afd0d9f009cce' into HEAD" [2021-01-30T00:43:49.631Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2021-01-30T00:43:49.612Z] > git rev-list --no-walk 4275e977b78e137e86a141a5aeb87ab706a65d2a # timeout=10 [Pipeline] sh [2021-01-30T00:43:51.142Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-30T00:43:51.562Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-30T00:43:51.953Z] + sudo service docker restart [2021-01-30T00:43:51.953Z] + true [Pipeline] unstash [2021-01-30T00:43:54.883Z] bca2f99d35d6: Pull complete [2021-01-30T00:43:54.883Z] 93359f2a8cfa: Pull complete [2021-01-30T00:43:54.883Z] 7c6f9722023f: Pull complete [Pipeline] echo [2021-01-30T00:43:54.936Z] ========================================================= [2021-01-30T00:43:54.936Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-30T00:43:54.936Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-30T00:43:55.335Z] + 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-30T00:43:56.325Z] Sending build context to Docker daemon 2.491MB [2021-01-30T00:43:56.325Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-01-30T00:43:56.325Z] Step 2/7 : FROM ${BASE} [2021-01-30T00:43:56.923Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-30T00:43:56.923Z] 5f621e34cdf4: Pulling fs layer [2021-01-30T00:43:56.923Z] a4357932f1b6: Pulling fs layer [2021-01-30T00:43:56.923Z] 18c013af1878: Pulling fs layer [2021-01-30T00:43:56.923Z] 00ac8860ef70: Pulling fs layer [2021-01-30T00:43:56.923Z] 63d7cb157983: Pulling fs layer [2021-01-30T00:43:56.923Z] b116817d02f9: Pulling fs layer [2021-01-30T00:43:56.923Z] 745a02a5169b: Pulling fs layer [2021-01-30T00:43:56.923Z] 00ac8860ef70: Waiting [2021-01-30T00:43:56.923Z] 63d7cb157983: Waiting [2021-01-30T00:43:56.923Z] b116817d02f9: Waiting [2021-01-30T00:43:56.923Z] 745a02a5169b: Waiting [2021-01-30T00:43:56.923Z] 18c013af1878: Verifying Checksum [2021-01-30T00:43:56.923Z] 18c013af1878: Download complete [2021-01-30T00:43:56.923Z] a4357932f1b6: Verifying Checksum [2021-01-30T00:43:56.923Z] a4357932f1b6: Download complete [2021-01-30T00:43:56.923Z] 63d7cb157983: Verifying Checksum [2021-01-30T00:43:56.923Z] 63d7cb157983: Download complete [2021-01-30T00:43:56.923Z] b116817d02f9: Verifying Checksum [2021-01-30T00:43:56.923Z] b116817d02f9: Download complete [2021-01-30T00:43:56.923Z] 5f621e34cdf4: Verifying Checksum [2021-01-30T00:43:56.923Z] 5f621e34cdf4: Download complete [2021-01-30T00:43:57.920Z] 5f621e34cdf4: Pull complete [2021-01-30T00:43:58.526Z] a4357932f1b6: Pull complete [2021-01-30T00:43:58.798Z] 18c013af1878: Pull complete [2021-01-30T00:43:59.786Z] 745a02a5169b: Verifying Checksum [2021-01-30T00:43:59.786Z] 745a02a5169b: Download complete [2021-01-30T00:44:01.228Z] 00ac8860ef70: Verifying Checksum [2021-01-30T00:44:01.228Z] 00ac8860ef70: Download complete [2021-01-30T00:44:03.066Z] a35cf1a2eb13: Pull complete [2021-01-30T00:44:03.066Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-30T00:44:03.066Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-30T00:44:03.066Z] ---> a62c8e92a672 [2021-01-30T00:44:03.066Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-30T00:44:03.066Z] ---> Running in b38f467d087f [2021-01-30T00:44:03.066Z] Removing intermediate container b38f467d087f [2021-01-30T00:44:03.066Z] ---> 2aba0d276d61 [2021-01-30T00:44:03.066Z] Step 4/7 : RUN apk add bash [2021-01-30T00:44:03.066Z] ---> Running in e15b15e0177b [2021-01-30T00:44:03.650Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-30T00:44:05.052Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-30T00:44:06.445Z] OK: 166 MiB in 39 packages [2021-01-30T00:44:06.707Z] Removing intermediate container e15b15e0177b [2021-01-30T00:44:06.707Z] ---> 1dba09d6cd58 [2021-01-30T00:44:06.707Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-01-30T00:44:06.707Z] ---> Running in 2ae01395c07c [2021-01-30T00:44:06.969Z] Removing intermediate container 2ae01395c07c [2021-01-30T00:44:06.969Z] ---> bf2d450d7cb1 [2021-01-30T00:44:06.969Z] Step 6/7 : COPY go.mod . [2021-01-30T00:44:06.969Z] ---> e5186d000d92 [2021-01-30T00:44:06.969Z] Step 7/7 : RUN go mod download [2021-01-30T00:44:07.232Z] ---> Running in 7533a6be8f12 [2021-01-30T00:44:11.395Z] 00ac8860ef70: Pull complete [2021-01-30T00:44:11.395Z] 63d7cb157983: Pull complete [2021-01-30T00:44:11.395Z] b116817d02f9: Pull complete [2021-01-30T00:44:14.778Z] 745a02a5169b: Pull complete [2021-01-30T00:44:14.778Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-30T00:44:14.778Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-30T00:44:14.778Z] ---> b7e6874047d6 [2021-01-30T00:44:14.778Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-30T00:44:17.408Z] ---> Running in 6f3bfabaeb6a [2021-01-30T00:44:18.001Z] Removing intermediate container 6f3bfabaeb6a [2021-01-30T00:44:18.001Z] ---> df0c89e59fb4 [2021-01-30T00:44:18.001Z] Step 4/7 : RUN apk add bash [2021-01-30T00:44:18.001Z] ---> Running in 3ee076fefa68 [2021-01-30T00:44:19.463Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-30T00:44:19.509Z] Removing intermediate container 7533a6be8f12 [2021-01-30T00:44:19.509Z] ---> 1935c8076298 [2021-01-30T00:44:19.509Z] Successfully built 1935c8076298 [2021-01-30T00:44:19.509Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-30T00:44:19.823Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-30T00:44:19.823Z] . [Pipeline] withDockerContainer [2021-01-30T00:44:19.933Z] prd-centos7-docker-4c-2g-24054 does not seem to be running inside a container [2021-01-30T00:44:19.984Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/7 -v /w/workspace/go-mod-core-contracts/7:/w/workspace/go-mod-core-contracts/7:rw,z -v /w/workspace/go-mod-core-contracts/7@tmp:/w/workspace/go-mod-core-contracts/7@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-30T00:44:20.438Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-30T00:44:20.644Z] $ docker top afdd4750f28664d45eca53411f5338b727bb4329e8e0a8eed5ef2822b62da016 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-30T00:44:21.383Z] + go version [2021-01-30T00:44:21.383Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-30T00:44:21.409Z] $ docker stop --time=1 afdd4750f28664d45eca53411f5338b727bb4329e8e0a8eed5ef2822b62da016 [2021-01-30T00:44:21.879Z] OK: 142 MiB in 39 packages [2021-01-30T00:44:22.777Z] $ docker rm -f afdd4750f28664d45eca53411f5338b727bb4329e8e0a8eed5ef2822b62da016 [2021-01-30T00:44:22.860Z] Removing intermediate container 3ee076fefa68 [2021-01-30T00:44:22.860Z] ---> f97368e728d9 [2021-01-30T00:44:22.860Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-01-30T00:44:22.860Z] ---> Running in 2842cc84e261 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [2021-01-30T00:44:23.134Z] Removing intermediate container 2842cc84e261 [2021-01-30T00:44:23.134Z] ---> de8514e094c5 [2021-01-30T00:44:23.134Z] Step 6/7 : COPY go.mod . [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-30T00:44:23.876Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-30T00:44:23.876Z] . [Pipeline] withDockerContainer [2021-01-30T00:44:23.971Z] prd-centos7-docker-4c-2g-24054 does not seem to be running inside a container [2021-01-30T00:44:24.026Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/7 -v /w/workspace/go-mod-core-contracts/7:/w/workspace/go-mod-core-contracts/7:rw,z -v /w/workspace/go-mod-core-contracts/7@tmp:/w/workspace/go-mod-core-contracts/7@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-30T00:44:24.116Z] ---> 268ee6336a45 [2021-01-30T00:44:24.116Z] Step 7/7 : RUN go mod download [2021-01-30T00:44:24.116Z] ---> Running in 701aa4ac0c7a [2021-01-30T00:44:24.666Z] $ docker top 51fcd85ded6d809f80ec9d16538c67b78b9875323df6135604e14d8fc4e2a19d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-30T00:44:25.238Z] + make test [2021-01-30T00:44:25.238Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-30T00:44:31.911Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-01-30T00:44:32.185Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.014s coverage: 85.7% of statements [2021-01-30T00:44:32.185Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.009s coverage: 100.0% of statements [2021-01-30T00:44:32.452Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.019s coverage: 45.4% of statements [2021-01-30T00:44:32.717Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.012s coverage: 77.8% of statements [2021-01-30T00:44:32.717Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-01-30T00:44:33.306Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.005s coverage: 26.3% of statements [2021-01-30T00:44:33.578Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.035s coverage: 14.7% of statements [2021-01-30T00:44:33.846Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.025s coverage: 100.0% of statements [2021-01-30T00:44:33.846Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.031s coverage: 91.8% of statements [2021-01-30T00:44:33.846Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] [2021-01-30T00:44:33.847Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] [2021-01-30T00:44:33.847Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.005s coverage: 100.0% of statements [2021-01-30T00:44:34.117Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.017s coverage: 36.7% of statements [2021-01-30T00:44:36.711Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.028s coverage: 63.0% of statements [2021-01-30T00:44:36.711Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.007s coverage: 26.3% of statements [2021-01-30T00:44:36.711Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.007s coverage: 15.4% of statements [2021-01-30T00:44:36.711Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.033s coverage: 15.4% of statements [2021-01-30T00:44:36.711Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.006s coverage: 14.3% of statements [2021-01-30T00:44:36.711Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] [2021-01-30T00:44:37.687Z] --- FAIL: TestWriteCommand (0.00s) [2021-01-30T00:44:37.687Z] panic: reflect: call of reflect.Value.Elem on map Value [recovered] [2021-01-30T00:44:37.687Z] panic: reflect: call of reflect.Value.Elem on map Value [2021-01-30T00:44:37.687Z] [2021-01-30T00:44:37.687Z] goroutine 317 [running]: [2021-01-30T00:44:37.687Z] testing.tRunner.func1.1(0x78e020, 0xc00038dfe0) [2021-01-30T00:44:37.687Z] /usr/local/go/src/testing/testing.go:1072 +0x30d [2021-01-30T00:44:37.687Z] testing.tRunner.func1(0xc0003f5e00) [2021-01-30T00:44:37.687Z] /usr/local/go/src/testing/testing.go:1075 +0x41a [2021-01-30T00:44:37.687Z] panic(0x78e020, 0xc00038dfe0) [2021-01-30T00:44:37.687Z] /usr/local/go/src/runtime/panic.go:969 +0x1b9 [2021-01-30T00:44:37.687Z] reflect.Value.Elem(0x792a40, 0x0, 0x15, 0x10, 0x0, 0x0) [2021-01-30T00:44:37.687Z] /usr/local/go/src/reflect/value.go:843 +0x1a5 [2021-01-30T00:44:37.687Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils.setApiVersion(0x792a40, 0x0) [2021-01-30T00:44:37.687Z] /w/workspace/go-mod-core-contracts/7/v2/clients/http/utils/request.go:37 +0xc8 [2021-01-30T00:44:37.687Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils.PutRequest(0x874f40, 0xc00001a150, 0x76ff00, 0xc000496a00, 0xc0003b2680, 0x40, 0x792a40, 0x0, 0x10, 0x10) [2021-01-30T00:44:37.687Z] /w/workspace/go-mod-core-contracts/7/v2/clients/http/utils/request.go:84 +0x4d [2021-01-30T00:44:37.687Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http.(*deviceServiceCommandClient).WriteCommand(0xc0004a42f0, 0x874f40, 0xc00001a150, 0x7fc28e, 0xa, 0x7fc8be, 0xb, 0x0, 0x0, 0x0, ...) [2021-01-30T00:44:37.687Z] /w/workspace/go-mod-core-contracts/7/v2/clients/http/deviceservicecommand.go:48 +0x226 [2021-01-30T00:44:37.687Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http.TestWriteCommand(0xc0003f5e00) [2021-01-30T00:44:37.687Z] /w/workspace/go-mod-core-contracts/7/v2/clients/http/deviceservicecommand_test.go:65 +0x309 [2021-01-30T00:44:37.687Z] testing.tRunner(0xc0003f5e00, 0x818168) [2021-01-30T00:44:37.687Z] /usr/local/go/src/testing/testing.go:1123 +0xef [2021-01-30T00:44:37.687Z] created by testing.(*T).Run [2021-01-30T00:44:37.687Z] /usr/local/go/src/testing/testing.go:1168 +0x2b3 [2021-01-30T00:44:37.687Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http 0.042s [2021-01-30T00:44:37.687Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils 0.011s coverage: 6.6% of statements [2021-01-30T00:44:37.687Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [no test files] [2021-01-30T00:44:37.687Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [no test files] [2021-01-30T00:44:37.687Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos 0.016s coverage: 39.1% of statements [2021-01-30T00:44:37.957Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.020s coverage: 89.5% of statements [2021-01-30T00:44:38.531Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests 0.035s coverage: 91.1% of statements [2021-01-30T00:44:38.531Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses 0.009s coverage: 100.0% of statements [2021-01-30T00:44:38.531Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [no test files] [2021-01-30T00:44:38.531Z] FAIL [2021-01-30T00:44:38.531Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2021-01-30T00:44:38.552Z] $ docker stop --time=1 51fcd85ded6d809f80ec9d16538c67b78b9875323df6135604e14d8fc4e2a19d [2021-01-30T00:44:39.216Z] Removing intermediate container 701aa4ac0c7a [2021-01-30T00:44:39.216Z] ---> 2f6a63932266 [2021-01-30T00:44:39.216Z] Successfully built 2f6a63932266 [2021-01-30T00:44:39.216Z] Successfully tagged ci-base-image-arm64:latest [2021-01-30T00:44:40.868Z] $ docker rm -f 51fcd85ded6d809f80ec9d16538c67b78b9875323df6135604e14d8fc4e2a19d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] isUnix [Pipeline] sh Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [2021-01-30T00:44:41.709Z] + docker inspect -f . ci-base-image-arm64 [2021-01-30T00:44:41.709Z] . [Pipeline] // stage [Pipeline] withDockerContainer [2021-01-30T00:44:42.110Z] prd-ubuntu18.04-docker-arm64-4c-16g-24052 does not seem to be running inside a container [2021-01-30T00:44:42.191Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/7 -v /w/workspace/go-mod-core-contracts/7:/w/workspace/go-mod-core-contracts/7:rw,z -v /w/workspace/go-mod-core-contracts/7@tmp:/w/workspace/go-mod-core-contracts/7@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-30T00:44:43.747Z] $ docker top f5188946e32d5e63090a946c15932de0165d6a4a13b1a1da856942e74e33e048 -eo pid,comm [Pipeline] { [Pipeline] stage [Pipeline] { (Snap) [Pipeline] sh Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [2021-01-30T00:44:44.826Z] + go version [2021-01-30T00:44:44.826Z] go version go1.15.5 linux/arm64 [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-30T00:44:44.989Z] Failed in branch amd64 [Pipeline] } [2021-01-30T00:44:44.996Z] $ docker stop --time=1 f5188946e32d5e63090a946c15932de0165d6a4a13b1a1da856942e74e33e048 [2021-01-30T00:44:46.951Z] $ docker rm -f f5188946e32d5e63090a946c15932de0165d6a4a13b1a1da856942e74e33e048 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-30T00:44:47.942Z] + docker inspect -f . ci-base-image-arm64 [2021-01-30T00:44:47.942Z] . [Pipeline] withDockerContainer [2021-01-30T00:44:48.209Z] prd-ubuntu18.04-docker-arm64-4c-16g-24052 does not seem to be running inside a container [2021-01-30T00:44:48.301Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/7 -v /w/workspace/go-mod-core-contracts/7:/w/workspace/go-mod-core-contracts/7:rw,z -v /w/workspace/go-mod-core-contracts/7@tmp:/w/workspace/go-mod-core-contracts/7@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-30T00:44:49.877Z] $ docker top 5bc5744498176aa6e9a9d834103b5fe42ceb3572cc3bbe9a35a6e74794c311b9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-30T00:44:50.923Z] + make test [2021-01-30T00:44:50.923Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-30T00:45:17.788Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-01-30T00:45:17.788Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.022s coverage: 85.7% of statements [2021-01-30T00:45:17.788Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.025s coverage: 100.0% of statements [2021-01-30T00:45:20.444Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.035s coverage: 45.4% of statements [2021-01-30T00:45:20.444Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.031s coverage: 77.8% of statements [2021-01-30T00:45:20.444Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-01-30T00:45:21.057Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.034s coverage: 26.3% of statements [2021-01-30T00:45:21.342Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.047s coverage: 14.7% of statements [2021-01-30T00:45:22.337Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.019s coverage: 100.0% of statements [2021-01-30T00:45:23.332Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.096s coverage: 91.8% of statements [2021-01-30T00:45:23.333Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] [2021-01-30T00:45:23.333Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] [2021-01-30T00:45:23.333Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.029s coverage: 100.0% of statements [2021-01-30T00:45:23.333Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.013s coverage: 36.7% of statements [2021-01-30T00:45:30.077Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.152s coverage: 63.0% of statements [2021-01-30T00:45:30.077Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.048s coverage: 26.3% of statements [2021-01-30T00:45:30.077Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.018s coverage: 15.4% of statements [2021-01-30T00:45:30.077Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.020s coverage: 15.4% of statements [2021-01-30T00:45:30.077Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.057s coverage: 14.3% of statements [2021-01-30T00:45:30.077Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] [2021-01-30T00:45:32.094Z] --- FAIL: TestWriteCommand (0.00s) [2021-01-30T00:45:32.094Z] panic: reflect: call of reflect.Value.Elem on map Value [recovered] [2021-01-30T00:45:32.094Z] panic: reflect: call of reflect.Value.Elem on map Value [2021-01-30T00:45:32.094Z] [2021-01-30T00:45:32.094Z] goroutine 322 [running]: [2021-01-30T00:45:32.094Z] testing.tRunner.func1.1(0x31f120, 0x40002f40a0) [2021-01-30T00:45:32.094Z] /usr/local/go/src/testing/testing.go:1072 +0x240 [2021-01-30T00:45:32.094Z] testing.tRunner.func1(0x40004c6a80) [2021-01-30T00:45:32.094Z] /usr/local/go/src/testing/testing.go:1075 +0x34c [2021-01-30T00:45:32.094Z] panic(0x31f120, 0x40002f40a0) [2021-01-30T00:45:32.094Z] /usr/local/go/src/runtime/panic.go:969 +0x15c [2021-01-30T00:45:32.094Z] reflect.Value.Elem(0x323ba0, 0x0, 0x15, 0x4000500300, 0x400005db01, 0xffff5e4aa601) [2021-01-30T00:45:32.094Z] /usr/local/go/src/reflect/value.go:843 +0x198 [2021-01-30T00:45:32.094Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils.setApiVersion(0x323ba0, 0x0) [2021-01-30T00:45:32.094Z] /w/workspace/go-mod-core-contracts/7/v2/clients/http/utils/request.go:37 +0xb0 [2021-01-30T00:45:32.094Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils.PutRequest(0x406100, 0x4000112010, 0x300f40, 0x4000098080, 0x40000c6000, 0x40, 0x323ba0, 0x0, 0xf, 0x400031c220) [2021-01-30T00:45:32.094Z] /w/workspace/go-mod-core-contracts/7/v2/clients/http/utils/request.go:84 +0x30 [2021-01-30T00:45:32.094Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http.(*deviceServiceCommandClient).WriteCommand(0x40002dc030, 0x406100, 0x4000112010, 0x38d355, 0xa, 0x38d99b, 0xb, 0x0, 0x0, 0x0, ...) [2021-01-30T00:45:32.094Z] /w/workspace/go-mod-core-contracts/7/v2/clients/http/deviceservicecommand.go:48 +0x188 [2021-01-30T00:45:32.094Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http.TestWriteCommand(0x40004c6a80) [2021-01-30T00:45:32.094Z] /w/workspace/go-mod-core-contracts/7/v2/clients/http/deviceservicecommand_test.go:65 +0x244 [2021-01-30T00:45:32.094Z] testing.tRunner(0x40004c6a80, 0x3a91a8) [2021-01-30T00:45:32.094Z] /usr/local/go/src/testing/testing.go:1123 +0xdc [2021-01-30T00:45:32.094Z] created by testing.(*T).Run [2021-01-30T00:45:32.094Z] /usr/local/go/src/testing/testing.go:1168 +0x244 [2021-01-30T00:45:32.094Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http 0.187s [2021-01-30T00:45:32.094Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils 0.049s coverage: 6.6% of statements [2021-01-30T00:45:32.094Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [no test files] [2021-01-30T00:45:32.094Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [no test files] [2021-01-30T00:45:34.087Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos 0.053s coverage: 39.1% of statements [2021-01-30T00:45:34.087Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.062s coverage: 89.5% of statements [2021-01-30T00:45:35.531Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests 0.150s coverage: 91.1% of statements [2021-01-30T00:45:35.531Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses 0.028s coverage: 100.0% of statements [2021-01-30T00:45:35.531Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [no test files] [2021-01-30T00:45:35.531Z] FAIL [2021-01-30T00:45:35.811Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2021-01-30T00:45:35.844Z] $ docker stop --time=1 5bc5744498176aa6e9a9d834103b5fe42ceb3572cc3bbe9a35a6e74794c311b9 [2021-01-30T00:45:38.134Z] $ docker rm -f 5bc5744498176aa6e9a9d834103b5fe42ceb3572cc3bbe9a35a6e74794c311b9 [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-30T00:45:39.979Z] 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-30T00:45:42.964Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-30T00:45:43.538Z] ---> package-listing.sh [2021-01-30T00:45:43.538Z] ++ facter osfamily [2021-01-30T00:45:43.538Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-30T00:45:43.538Z] + OS_FAMILY=redhat [2021-01-30T00:45:43.538Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-462 [2021-01-30T00:45:43.538Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-30T00:45:43.538Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-30T00:45:43.538Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-30T00:45:43.538Z] + PACKAGES=/tmp/packages_start.txt [2021-01-30T00:45:43.538Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-462 ']' [2021-01-30T00:45:43.538Z] + PACKAGES=/tmp/packages_end.txt [2021-01-30T00:45:43.538Z] + case "${OS_FAMILY}" in [2021-01-30T00:45:43.538Z] + rpm -qa [2021-01-30T00:45:43.538Z] + sort [2021-01-30T00:45:48.856Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-30T00:45:48.857Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-30T00:45:48.857Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-30T00:45:48.857Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-462 ']' [2021-01-30T00:45:48.857Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-462/archives/ [2021-01-30T00:45:48.857Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-462/archives/ [Pipeline] echo [2021-01-30T00:45:48.870Z] 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/dry_go-mod-core-contracts_PR-462/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-30T00:45:49.166Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-30T00:45:49.475Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-30T00:45:49.475Z] [2021-01-30T00:45:49.475Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-30T00:45:49.837Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-30T00:45:49.837Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-30T00:45:49.837Z] df20fa9351a1: Pulling fs layer [2021-01-30T00:45:49.837Z] 36b3adc4ff6f: Pulling fs layer [2021-01-30T00:45:49.837Z] 8ad3a11d3b57: Pulling fs layer [2021-01-30T00:45:49.837Z] 46f8f816bc3b: Pulling fs layer [2021-01-30T00:45:49.837Z] 93b61091891f: Pulling fs layer [2021-01-30T00:45:49.837Z] 93b9cdb0e59b: Pulling fs layer [2021-01-30T00:45:49.837Z] 5e14af77c1be: Pulling fs layer [2021-01-30T00:45:49.837Z] 01666e4c0597: Pulling fs layer [2021-01-30T00:45:49.837Z] aa168da1d23b: Pulling fs layer [2021-01-30T00:45:49.837Z] 01666e4c0597: Waiting [2021-01-30T00:45:49.837Z] 93b9cdb0e59b: Waiting [2021-01-30T00:45:49.837Z] aa168da1d23b: Waiting [2021-01-30T00:45:49.837Z] 5e14af77c1be: Waiting [2021-01-30T00:45:49.837Z] 93b61091891f: Waiting [2021-01-30T00:45:49.837Z] 46f8f816bc3b: Waiting [2021-01-30T00:45:49.837Z] 36b3adc4ff6f: Download complete [2021-01-30T00:45:49.837Z] 46f8f816bc3b: Verifying Checksum [2021-01-30T00:45:49.837Z] 46f8f816bc3b: Download complete [2021-01-30T00:45:49.837Z] df20fa9351a1: Verifying Checksum [2021-01-30T00:45:49.837Z] 93b9cdb0e59b: Verifying Checksum [2021-01-30T00:45:49.837Z] 93b9cdb0e59b: Download complete [2021-01-30T00:45:50.111Z] 5e14af77c1be: Verifying Checksum [2021-01-30T00:45:50.111Z] 5e14af77c1be: Download complete [2021-01-30T00:45:50.111Z] 93b61091891f: Verifying Checksum [2021-01-30T00:45:50.111Z] 93b61091891f: Download complete [2021-01-30T00:45:50.111Z] 01666e4c0597: Verifying Checksum [2021-01-30T00:45:50.111Z] 01666e4c0597: Download complete [2021-01-30T00:45:50.111Z] 8ad3a11d3b57: Verifying Checksum [2021-01-30T00:45:50.111Z] 8ad3a11d3b57: Download complete [2021-01-30T00:45:50.379Z] df20fa9351a1: Pull complete [2021-01-30T00:45:50.645Z] 36b3adc4ff6f: Pull complete [2021-01-30T00:45:51.234Z] 8ad3a11d3b57: Pull complete [2021-01-30T00:45:51.497Z] 46f8f816bc3b: Pull complete [2021-01-30T00:45:52.075Z] 93b61091891f: Pull complete [2021-01-30T00:45:52.075Z] aa168da1d23b: Verifying Checksum [2021-01-30T00:45:52.075Z] aa168da1d23b: Download complete [2021-01-30T00:45:52.337Z] 93b9cdb0e59b: Pull complete [2021-01-30T00:45:52.337Z] 5e14af77c1be: Pull complete [2021-01-30T00:45:52.599Z] 01666e4c0597: Pull complete [2021-01-30T00:46:00.792Z] aa168da1d23b: Pull complete [2021-01-30T00:46:00.792Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-30T00:46:00.792Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-30T00:46:00.792Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-30T00:46:00.979Z] prd-centos7-docker-4c-2g-24044 does not seem to be running inside a container [2021-01-30T00:46:01.027Z] $ 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/dry_go-mod-core-contracts_PR-462/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_go-mod-core-contracts_PR-462 -v /w/workspace/dry_go-mod-core-contracts_PR-462:/w/workspace/dry_go-mod-core-contracts_PR-462:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-462@tmp:/w/workspace/dry_go-mod-core-contracts_PR-462@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-30T00:46:04.826Z] $ docker top 90b2c6ed6952e14fcb8c8a6c70ca9ad9adde9fad472ae316af4d82ea8290c8c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-30T00:46:05.388Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-30T00:46:05.689Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-30T00:46:05.988Z] + ls /var/log/sa-host [2021-01-30T00:46:05.988Z] + sadf -c /var/log/sa-host/sa23 [2021-01-30T00:46:05.988Z] file_magic: OK [2021-01-30T00:46:05.988Z] HZ: Using current value: 100 [2021-01-30T00:46:05.988Z] file_header: OK [2021-01-30T00:46:05.988Z] 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-30T00:46:05.988Z] Statistics: [2021-01-30T00:46:05.988Z] Hnuu...uuuununununu... [2021-01-30T00:46:05.988Z] File successfully converted to sysstat format version 12.2.1 [2021-01-30T00:46:05.988Z] + sadf -c /var/log/sa-host/sa30 [2021-01-30T00:46:05.988Z] file_magic: OK [2021-01-30T00:46:05.988Z] HZ: Using current value: 100 [2021-01-30T00:46:05.988Z] file_header: OK [2021-01-30T00:46:05.988Z] 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-30T00:46:05.988Z] Statistics: [2021-01-30T00:46:05.988Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-30T00:46:05.988Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-30T00:46:06.605Z] provisioning config files... [2021-01-30T00:46:06.633Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-462@tmp/config2971034243181117497tmp [Pipeline] { [Pipeline] echo [2021-01-30T00:46:06.734Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-30T00:46:07.034Z] ---> create-netrc.sh [Pipeline] } [2021-01-30T00:46:07.044Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-30T00:46:07.160Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-30T00:46:07.459Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-30T00:46:07.471Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-30T00:46:07.770Z] ---> sudo-logs.sh [2021-01-30T00:46:07.770Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-30T00:46:07.781Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-30T00:46:08.086Z] ---> job-cost.sh [2021-01-30T00:46:08.086Z] lf-activate-venv: SKIPPING [2021-01-30T00:46:08.086Z] INFO: No Stack... [2021-01-30T00:46:09.034Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-30T00:46:09.297Z] INFO: Archiving Costs [Pipeline] echo [2021-01-30T00:46:09.311Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-30T00:46:09.609Z] ---> logs-deploy.sh [2021-01-30T00:46:09.609Z] lf-activate-venv: SKIPPING [2021-01-30T00:46:09.609Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-462/7 [2021-01-30T00:46:09.609Z] INFO: archiving workspace using pattern(s): [2021-01-30T00:46:11.528Z] Archives upload complete. [2021-01-30T00:46:11.528Z] INFO: archiving logs to Nexus