Pull request #439 updated 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 FelixTing for edgexfoundry/go-mod-core-contracts Loading trusted files from base branch master at 747e68f9da97596da4a07287b22afd0d9f009cce rather than 19e94d0ca04aed94a43601ca7b2dbad2e6b91bcd 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 Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-23940 in /w/workspace/dry_go-mod-core-contracts_PR-439 [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-439 # 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 19e94d0ca04aed94a43601ca7b2dbad2e6b91bcd Merge succeeded, producing 40269f60b24749d8021cf4e86d148b2be79fbea2 Checking out Revision 40269f60b24749d8021cf4e86d148b2be79fbea2 (PR-439) > 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/439/head:refs/remotes/origin/PR-439 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 19e94d0ca04aed94a43601ca7b2dbad2e6b91bcd # 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 747e68f9da97596da4a07287b22afd0d9f009cce # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 40269f60b24749d8021cf4e86d148b2be79fbea2 # timeout=10 Commit message: "Merge commit '747e68f9da97596da4a07287b22afd0d9f009cce' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk a3acc39c8f2f17fd44d0d21f0ca5dcce02b4df10 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-29T08:57:36.637Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-29T08:57:36.900Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-29T08:57:37.002Z] ========================================================= [2021-01-29T08:57:37.002Z] EdgeX Global Pipelines Version Info [2021-01-29T08:57:37.002Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-29T08:57:38.436Z] ------------------- [2021-01-29T08:57:38.437Z] stable info: [2021-01-29T08:57:38.437Z] ------------------- [2021-01-29T08:57:38.437Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-29T08:57:38.437Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-29T08:57:38.437Z] Message: update stable to v1.0.179 [2021-01-29T08:57:39.384Z] ------------------- [2021-01-29T08:57:39.384Z] experimental info: [2021-01-29T08:57:39.384Z] ------------------- [2021-01-29T08:57:39.384Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-29T08:57:39.384Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-29T08:57:39.384Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-29T08:57:39.685Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2021-01-29T08:57:39.791Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2021-01-29T08:57:39.887Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-29T08:57:39.985Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-29T08:57:40.099Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-29T08:57:40.303Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-29T08:57:40.410Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-29T08:57:40.502Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-29T08:57:40.613Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-29T08:57:40.705Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-29T08:57:40.797Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-29T08:57:40.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2021-01-29T08:57:40.992Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-29T08:57:41.088Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-29T08:57:41.244Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-01-29T08:57:41.359Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-29T08:57:41.450Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-29T08:57:41.564Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-29T08:57:41.651Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-29T08:57:41.767Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-29T08:57:41.884Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-29T08:57:41.992Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-29T08:57:42.108Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-29T08:57:42.195Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-29T08:57:42.290Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-01-29T08:57:42.375Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-29T08:57:42.463Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-29T08:57:42.559Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-439 [Pipeline] echo [2021-01-29T08:57:42.654Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-439 [Pipeline] echo [2021-01-29T08:57:42.742Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-439 [Pipeline] echo [2021-01-29T08:57:42.829Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 40269f60b24749d8021cf4e86d148b2be79fbea2 [Pipeline] echo [2021-01-29T08:57:42.917Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 40269f6 [Pipeline] echo [2021-01-29T08:57:43.016Z] [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-29T08:57:43.796Z] + git log --format=format:%s -1 40269f60b24749d8021cf4e86d148b2be79fbea2 [Pipeline] echo [2021-01-29T08:57:43.889Z] GIT_COMMIT: 40269f60b24749d8021cf4e86d148b2be79fbea2, Commit Message: Merge commit '747e68f9da97596da4a07287b22afd0d9f009cce' into HEAD [Pipeline] echo [2021-01-29T08:57:43.939Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-29T08:57:44.522Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-29T08:57:44.785Z] [2021-01-29T08:57:44.785Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-29T08:57:45.136Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-29T08:57:45.136Z] latest: Pulling from edgex-devops/git-semver [2021-01-29T08:57:45.136Z] 31603596830f: Pulling fs layer [2021-01-29T08:57:45.136Z] 2a8b12db71e7: Pulling fs layer [2021-01-29T08:57:45.136Z] 6ca5941a6612: Pulling fs layer [2021-01-29T08:57:45.136Z] ecc8261a40a4: Pulling fs layer [2021-01-29T08:57:45.136Z] ecc8261a40a4: Waiting [2021-01-29T08:57:45.136Z] 2a8b12db71e7: Verifying Checksum [2021-01-29T08:57:45.136Z] 2a8b12db71e7: Download complete [2021-01-29T08:57:45.398Z] 31603596830f: Download complete [2021-01-29T08:57:45.661Z] ecc8261a40a4: Verifying Checksum [2021-01-29T08:57:45.661Z] ecc8261a40a4: Download complete [2021-01-29T08:57:45.661Z] 6ca5941a6612: Verifying Checksum [2021-01-29T08:57:45.661Z] 6ca5941a6612: Download complete [2021-01-29T08:57:45.924Z] 31603596830f: Pull complete [2021-01-29T08:57:45.924Z] 2a8b12db71e7: Pull complete [2021-01-29T08:57:46.876Z] 6ca5941a6612: Pull complete [2021-01-29T08:57:47.138Z] ecc8261a40a4: Pull complete [2021-01-29T08:57:47.138Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-29T08:57:47.138Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-29T08:57:47.138Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-29T08:57:47.253Z] prd-centos7-docker-4c-2g-23940 does not seem to be running inside a container [2021-01-29T08:57:47.305Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-439 -v /w/workspace/dry_go-mod-core-contracts_PR-439:/w/workspace/dry_go-mod-core-contracts_PR-439:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-439@tmp:/w/workspace/dry_go-mod-core-contracts_PR-439@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-29T08:57:49.826Z] $ docker top 779ecebc6a63ea81343c54b80f1692a37d5fe7af2aefbf1dbf21fb9b7ae15bd4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-29T08:57:50.271Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-29T08:57:50.271Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-29T08:57:50.537Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-29T08:57:50.544Z] $ docker exec 779ecebc6a63ea81343c54b80f1692a37d5fe7af2aefbf1dbf21fb9b7ae15bd4 ssh-agent [2021-01-29T08:57:50.906Z] SSH_AUTH_SOCK=/tmp/ssh-egNaasnKSZu6/agent.11 [2021-01-29T08:57:50.906Z] SSH_AGENT_PID=16 [2021-01-29T08:57:50.983Z] Running ssh-add (command line suppressed) [2021-01-29T08:57:51.117Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-439@tmp/private_key_5830671483450067552.key (/w/workspace/dry_go-mod-core-contracts_PR-439@tmp/private_key_5830671483450067552.key) [2021-01-29T08:57:51.178Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-29T08:57:51.530Z] + git tag --points-at HEAD [Pipeline] } [2021-01-29T08:57:51.561Z] $ docker exec --env ******** --env ******** 779ecebc6a63ea81343c54b80f1692a37d5fe7af2aefbf1dbf21fb9b7ae15bd4 ssh-agent -k [2021-01-29T08:57:51.687Z] unset SSH_AUTH_SOCK; [2021-01-29T08:57:51.688Z] unset SSH_AGENT_PID; [2021-01-29T08:57:51.688Z] echo Agent pid 16 killed; [2021-01-29T08:57:51.740Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-29T08:57:51.903Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-29T08:57:51.903Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-29T08:57:52.081Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-29T08:57:52.087Z] $ docker exec 779ecebc6a63ea81343c54b80f1692a37d5fe7af2aefbf1dbf21fb9b7ae15bd4 ssh-agent [2021-01-29T08:57:52.264Z] SSH_AUTH_SOCK=/tmp/ssh-0L7WXr8lzbPU/agent.44 [2021-01-29T08:57:52.264Z] SSH_AGENT_PID=50 [2021-01-29T08:57:52.272Z] Running ssh-add (command line suppressed) [2021-01-29T08:57:52.399Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-439@tmp/private_key_5738374587411205129.key (/w/workspace/dry_go-mod-core-contracts_PR-439@tmp/private_key_5738374587411205129.key) [2021-01-29T08:57:52.455Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-29T08:57:52.796Z] + git semver init [2021-01-29T08:57:52.796Z] # -> Open(): unable to determine branch for HEAD [2021-01-29T08:57:52.796Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-439/.git [2021-01-29T08:57:52.796Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-439 [2021-01-29T08:57:52.796Z] # $SEMVER_REMOTE_NAME = origin [2021-01-29T08:57:52.796Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-29T08:57:52.796Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-29T08:57:52.796Z] # $SEMVER_BRANCH = PR-439 [2021-01-29T08:57:52.796Z] # $SEMVER_TEMP = /tmp/semver-067358628 [2021-01-29T08:57:52.796Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2021-01-29T08:57:53.745Z] # '/tmp/semver-067358628' -> '/w/workspace/dry_go-mod-core-contracts_PR-439/.semver' [2021-01-29T08:57:53.746Z] # -> Force: false [2021-01-29T08:57:53.746Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-439/.semver [Pipeline] } [2021-01-29T08:57:53.761Z] $ docker exec --env ******** --env ******** 779ecebc6a63ea81343c54b80f1692a37d5fe7af2aefbf1dbf21fb9b7ae15bd4 ssh-agent -k [2021-01-29T08:57:53.891Z] unset SSH_AUTH_SOCK; [2021-01-29T08:57:53.892Z] unset SSH_AGENT_PID; [2021-01-29T08:57:53.892Z] echo Agent pid 50 killed; [2021-01-29T08:57:53.937Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-29T08:57:54.449Z] + git semver [Pipeline] } [2021-01-29T08:57:54.470Z] $ docker stop --time=1 779ecebc6a63ea81343c54b80f1692a37d5fe7af2aefbf1dbf21fb9b7ae15bd4 [2021-01-29T08:57:56.299Z] $ docker rm -f 779ecebc6a63ea81343c54b80f1692a37d5fe7af2aefbf1dbf21fb9b7ae15bd4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-29T08:57:56.771Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-29T08:57:57.382Z] Stashed 1 file(s) [Pipeline] echo [2021-01-29T08:57:57.385Z] [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-29T08:58:12.903Z] Still waiting to schedule task [2021-01-29T08:58:12.903Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-29T08:58:12.905Z] Still waiting to schedule task [2021-01-29T08:58:12.905Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-01-29T09:00:01.679Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-23941 in /w/workspace/dry_go-mod-core-contracts_PR-439 [Pipeline] { [Pipeline] ws [2021-01-29T09:00:01.772Z] Running in /w/workspace/go-mod-core-contracts/10 [Pipeline] { [Pipeline] checkout [2021-01-29T09:00:07.224Z] using credential edgex-jenkins-ssh [2021-01-29T09:00:07.289Z] Cloning the remote Git repository [2021-01-29T09:00:07.357Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-29T09:00:07.473Z] > git init /w/workspace/go-mod-core-contracts/10 # timeout=10 [2021-01-29T09:00:07.575Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-29T09:00:07.576Z] > git --version # timeout=10 [2021-01-29T09:00:07.594Z] > git --version # 'git version 2.17.1' [2021-01-29T09:00:07.596Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-29T09:00:07.662Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-29T09:00:10.546Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-29T09:00:10.565Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-29T09:00:10.602Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-29T09:00:10.643Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-29T09:00:10.644Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-29T09:00:10.655Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/439/head:refs/remotes/origin/PR-439 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-29T09:00:11.364Z] Merging remotes/origin/master commit 747e68f9da97596da4a07287b22afd0d9f009cce into PR head commit 19e94d0ca04aed94a43601ca7b2dbad2e6b91bcd [2021-01-29T09:00:11.775Z] Merge succeeded, producing 93397af7d6d7305205c1788b74ce251da3e81a01 [2021-01-29T09:00:11.775Z] Checking out Revision 93397af7d6d7305205c1788b74ce251da3e81a01 (PR-439) [2021-01-29T09:00:11.383Z] > git config core.sparsecheckout # timeout=10 [2021-01-29T09:00:11.403Z] > git checkout -f 19e94d0ca04aed94a43601ca7b2dbad2e6b91bcd # timeout=10 [2021-01-29T09:00:11.536Z] > git remote # timeout=10 [2021-01-29T09:00:11.551Z] > git config --get remote.origin.url # timeout=10 [2021-01-29T09:00:11.571Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-29T09:00:11.582Z] > git merge 747e68f9da97596da4a07287b22afd0d9f009cce # timeout=10 [2021-01-29T09:00:11.712Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-29T09:00:11.784Z] > git config core.sparsecheckout # timeout=10 [2021-01-29T09:00:11.843Z] > git checkout -f 93397af7d6d7305205c1788b74ce251da3e81a01 # timeout=10 [2021-01-29T09:00:16.207Z] Commit message: "Merge commit '747e68f9da97596da4a07287b22afd0d9f009cce' into HEAD" [2021-01-29T09:00:16.232Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2021-01-29T09:00:16.215Z] > git rev-list --no-walk a3acc39c8f2f17fd44d0d21f0ca5dcce02b4df10 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-29T09:00:17.871Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-29T09:00:18.286Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-29T09:00:18.683Z] + + sudo service docker restarttrue [2021-01-29T09:00:18.683Z] [Pipeline] unstash [Pipeline] echo [2021-01-29T09:00:21.625Z] ========================================================= [2021-01-29T09:00:21.626Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-29T09:00:21.626Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-29T09:00:22.029Z] + 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-29T09:00:23.020Z] Sending build context to Docker daemon 2.493MB [2021-01-29T09:00:23.020Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-01-29T09:00:23.020Z] Step 2/7 : FROM ${BASE} [2021-01-29T09:00:23.295Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-29T09:00:23.295Z] 5f621e34cdf4: Pulling fs layer [2021-01-29T09:00:23.295Z] a4357932f1b6: Pulling fs layer [2021-01-29T09:00:23.295Z] 18c013af1878: Pulling fs layer [2021-01-29T09:00:23.295Z] 00ac8860ef70: Pulling fs layer [2021-01-29T09:00:23.296Z] 63d7cb157983: Pulling fs layer [2021-01-29T09:00:23.296Z] b116817d02f9: Pulling fs layer [2021-01-29T09:00:23.296Z] 745a02a5169b: Pulling fs layer [2021-01-29T09:00:23.296Z] 00ac8860ef70: Waiting [2021-01-29T09:00:23.296Z] 63d7cb157983: Waiting [2021-01-29T09:00:23.296Z] b116817d02f9: Waiting [2021-01-29T09:00:23.296Z] 745a02a5169b: Waiting [2021-01-29T09:00:23.584Z] 18c013af1878: Verifying Checksum [2021-01-29T09:00:23.584Z] 18c013af1878: Download complete [2021-01-29T09:00:23.584Z] a4357932f1b6: Verifying Checksum [2021-01-29T09:00:23.584Z] a4357932f1b6: Download complete [2021-01-29T09:00:23.584Z] 63d7cb157983: Verifying Checksum [2021-01-29T09:00:23.584Z] 63d7cb157983: Download complete [2021-01-29T09:00:23.584Z] b116817d02f9: Download complete [2021-01-29T09:00:23.584Z] 5f621e34cdf4: Verifying Checksum [2021-01-29T09:00:23.584Z] 5f621e34cdf4: Download complete [2021-01-29T09:00:24.189Z] 5f621e34cdf4: Pull complete [2021-01-29T09:00:24.795Z] a4357932f1b6: Pull complete [2021-01-29T09:00:25.414Z] 18c013af1878: Pull complete [2021-01-29T09:00:26.018Z] 745a02a5169b: Verifying Checksum [2021-01-29T09:00:26.018Z] 745a02a5169b: Download complete [2021-01-29T09:00:27.083Z] Running on prd-centos7-docker-4c-2g-23942 in /w/workspace/dry_go-mod-core-contracts_PR-439 [Pipeline] { [Pipeline] ws [2021-01-29T09:00:27.136Z] Running in /w/workspace/go-mod-core-contracts/10 [Pipeline] { [Pipeline] checkout [2021-01-29T09:00:27.477Z] 00ac8860ef70: Verifying Checksum [2021-01-29T09:00:27.477Z] 00ac8860ef70: Download complete [2021-01-29T09:00:29.495Z] using credential edgex-jenkins-ssh [2021-01-29T09:00:29.553Z] Cloning the remote Git repository [2021-01-29T09:00:29.585Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-29T09:00:29.655Z] > git init /w/workspace/go-mod-core-contracts/10 # timeout=10 [2021-01-29T09:00:29.719Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-29T09:00:29.720Z] > git --version # timeout=10 [2021-01-29T09:00:29.726Z] > git --version # 'git version 2.24.3' [2021-01-29T09:00:29.727Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-29T09:00:29.757Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-29T09:00:30.485Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-29T09:00:30.491Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-29T09:00:30.506Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-29T09:00:30.519Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-29T09:00:30.519Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-29T09:00:30.524Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/439/head:refs/remotes/origin/PR-439 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-29T09:00:31.036Z] Merging remotes/origin/master commit 747e68f9da97596da4a07287b22afd0d9f009cce into PR head commit 19e94d0ca04aed94a43601ca7b2dbad2e6b91bcd [2021-01-29T09:00:31.184Z] Merge succeeded, producing df521c6ffdd39b90274261692268aa7a1607a171 [2021-01-29T09:00:31.185Z] Checking out Revision df521c6ffdd39b90274261692268aa7a1607a171 (PR-439) [2021-01-29T09:00:31.048Z] > git config core.sparsecheckout # timeout=10 [2021-01-29T09:00:31.055Z] > git checkout -f 19e94d0ca04aed94a43601ca7b2dbad2e6b91bcd # timeout=10 [2021-01-29T09:00:31.121Z] > git remote # timeout=10 [2021-01-29T09:00:31.128Z] > git config --get remote.origin.url # timeout=10 [2021-01-29T09:00:31.133Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-29T09:00:31.137Z] > git merge 747e68f9da97596da4a07287b22afd0d9f009cce # timeout=10 [2021-01-29T09:00:31.181Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-29T09:00:31.191Z] > git config core.sparsecheckout # timeout=10 [2021-01-29T09:00:31.195Z] > git checkout -f df521c6ffdd39b90274261692268aa7a1607a171 # timeout=10 [2021-01-29T09:00:34.893Z] Commit message: "Merge commit '747e68f9da97596da4a07287b22afd0d9f009cce' into HEAD" [2021-01-29T09:00:34.905Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2021-01-29T09:00:34.901Z] > git rev-list --no-walk a3acc39c8f2f17fd44d0d21f0ca5dcce02b4df10 # timeout=10 [Pipeline] sh [2021-01-29T09:00:36.258Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-29T09:00:36.582Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-29T09:00:36.882Z] + sudo service docker restart [2021-01-29T09:00:36.882Z] + true [2021-01-29T09:00:36.882Z] Redirecting to /bin/systemctl restart docker.service [2021-01-29T09:00:37.656Z] 00ac8860ef70: Pull complete [2021-01-29T09:00:37.656Z] 63d7cb157983: Pull complete [2021-01-29T09:00:37.959Z] b116817d02f9: Pull complete [Pipeline] unstash [Pipeline] echo [2021-01-29T09:00:38.452Z] ========================================================= [2021-01-29T09:00:38.452Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-29T09:00:38.452Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-29T09:00:38.804Z] + 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-29T09:00:39.379Z] Sending build context to Docker daemon 2.493MB [2021-01-29T09:00:39.379Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-01-29T09:00:39.379Z] Step 2/7 : FROM ${BASE} [2021-01-29T09:00:39.379Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-29T09:00:39.379Z] 188c0c94c7c5: Pulling fs layer [2021-01-29T09:00:39.379Z] 0ef7d3d256c8: Pulling fs layer [2021-01-29T09:00:39.379Z] de9db76c5a1d: Pulling fs layer [2021-01-29T09:00:39.379Z] bca2f99d35d6: Pulling fs layer [2021-01-29T09:00:39.379Z] 93359f2a8cfa: Pulling fs layer [2021-01-29T09:00:39.379Z] 7c6f9722023f: Pulling fs layer [2021-01-29T09:00:39.379Z] a35cf1a2eb13: Pulling fs layer [2021-01-29T09:00:39.379Z] 93359f2a8cfa: Waiting [2021-01-29T09:00:39.379Z] 7c6f9722023f: Waiting [2021-01-29T09:00:39.379Z] a35cf1a2eb13: Waiting [2021-01-29T09:00:39.379Z] bca2f99d35d6: Waiting [2021-01-29T09:00:39.379Z] de9db76c5a1d: Verifying Checksum [2021-01-29T09:00:39.379Z] de9db76c5a1d: Download complete [2021-01-29T09:00:39.379Z] 0ef7d3d256c8: Verifying Checksum [2021-01-29T09:00:39.379Z] 0ef7d3d256c8: Download complete [2021-01-29T09:00:39.379Z] 93359f2a8cfa: Download complete [2021-01-29T09:00:39.379Z] 7c6f9722023f: Verifying Checksum [2021-01-29T09:00:39.379Z] 7c6f9722023f: Download complete [2021-01-29T09:00:39.379Z] 188c0c94c7c5: Verifying Checksum [2021-01-29T09:00:39.379Z] 188c0c94c7c5: Download complete [2021-01-29T09:00:39.648Z] 188c0c94c7c5: Pull complete [2021-01-29T09:00:39.917Z] 0ef7d3d256c8: Pull complete [2021-01-29T09:00:40.181Z] de9db76c5a1d: Pull complete [2021-01-29T09:00:41.139Z] a35cf1a2eb13: Verifying Checksum [2021-01-29T09:00:41.139Z] a35cf1a2eb13: Download complete [2021-01-29T09:00:41.375Z] 745a02a5169b: Pull complete [2021-01-29T09:00:41.375Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-29T09:00:41.375Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-29T09:00:41.375Z] ---> b7e6874047d6 [2021-01-29T09:00:41.375Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-29T09:00:41.719Z] bca2f99d35d6: Verifying Checksum [2021-01-29T09:00:41.719Z] bca2f99d35d6: Download complete [2021-01-29T09:00:44.780Z] ---> Running in fb3b2a4ff9c3 [2021-01-29T09:00:44.780Z] Removing intermediate container fb3b2a4ff9c3 [2021-01-29T09:00:44.780Z] ---> b46333f81020 [2021-01-29T09:00:44.780Z] Step 4/7 : RUN apk add bash [2021-01-29T09:00:44.780Z] ---> Running in 4c24fb746f65 [2021-01-29T09:00:46.248Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-29T09:00:46.851Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-29T09:00:47.108Z] bca2f99d35d6: Pull complete [2021-01-29T09:00:47.108Z] 93359f2a8cfa: Pull complete [2021-01-29T09:00:47.108Z] 7c6f9722023f: Pull complete [2021-01-29T09:00:47.850Z] OK: 142 MiB in 39 packages [2021-01-29T09:00:48.850Z] Removing intermediate container 4c24fb746f65 [2021-01-29T09:00:48.850Z] ---> 39d3ea967c73 [2021-01-29T09:00:48.850Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-01-29T09:00:48.850Z] ---> Running in b6b9ede91b24 [2021-01-29T09:00:49.452Z] Removing intermediate container b6b9ede91b24 [2021-01-29T09:00:49.452Z] ---> b4cba12692d4 [2021-01-29T09:00:49.452Z] Step 6/7 : COPY go.mod . [2021-01-29T09:00:50.050Z] ---> bffab67e754f [2021-01-29T09:00:50.050Z] Step 7/7 : RUN go mod download [2021-01-29T09:00:50.324Z] ---> Running in 257039ecfae5 [2021-01-29T09:00:57.153Z] a35cf1a2eb13: Pull complete [2021-01-29T09:00:57.153Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-29T09:00:57.153Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-29T09:00:57.153Z] ---> a62c8e92a672 [2021-01-29T09:00:57.153Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-29T09:00:57.153Z] ---> Running in ec5db7e356a0 [2021-01-29T09:00:57.153Z] Removing intermediate container ec5db7e356a0 [2021-01-29T09:00:57.153Z] ---> 772f3e93ae1b [2021-01-29T09:00:57.153Z] Step 4/7 : RUN apk add bash [2021-01-29T09:00:57.153Z] ---> Running in 1d08ed1dc9ba [2021-01-29T09:00:57.153Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-29T09:00:57.419Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-29T09:00:57.998Z] OK: 166 MiB in 39 packages [2021-01-29T09:00:58.590Z] Removing intermediate container 1d08ed1dc9ba [2021-01-29T09:00:58.590Z] ---> ed58ab9ccfea [2021-01-29T09:00:58.590Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-01-29T09:00:58.590Z] ---> Running in 89077586dd82 [2021-01-29T09:00:58.857Z] Removing intermediate container 89077586dd82 [2021-01-29T09:00:58.857Z] ---> 2cc14b34fac9 [2021-01-29T09:00:58.857Z] Step 6/7 : COPY go.mod . [2021-01-29T09:00:59.122Z] ---> bd9a98a6d372 [2021-01-29T09:00:59.122Z] Step 7/7 : RUN go mod download [2021-01-29T09:00:59.122Z] ---> Running in 89cd9e005882 [2021-01-29T09:01:05.429Z] Removing intermediate container 257039ecfae5 [2021-01-29T09:01:05.429Z] ---> 27d72f4da8e3 [2021-01-29T09:01:05.429Z] Successfully built 27d72f4da8e3 [2021-01-29T09:01:05.429Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-29T09:01:05.773Z] + docker inspect -f . ci-base-image-arm64 [2021-01-29T09:01:05.773Z] . [Pipeline] withDockerContainer [2021-01-29T09:01:06.049Z] prd-ubuntu18.04-docker-arm64-4c-16g-23941 does not seem to be running inside a container [2021-01-29T09:01:06.134Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/10 -v /w/workspace/go-mod-core-contracts/10:/w/workspace/go-mod-core-contracts/10:rw,z -v /w/workspace/go-mod-core-contracts/10@tmp:/w/workspace/go-mod-core-contracts/10@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 ******** ci-base-image-arm64 cat [2021-01-29T09:01:07.590Z] $ docker top 26887bc38b9452bcc177f5b420a6bcab38d4f0dfa7e5d9a65eeb5a5acb8d30a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-29T09:01:08.637Z] + go version [2021-01-29T09:01:08.637Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-29T09:01:08.662Z] $ docker stop --time=1 26887bc38b9452bcc177f5b420a6bcab38d4f0dfa7e5d9a65eeb5a5acb8d30a2 [2021-01-29T09:01:10.561Z] $ docker rm -f 26887bc38b9452bcc177f5b420a6bcab38d4f0dfa7e5d9a65eeb5a5acb8d30a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-29T09:01:11.427Z] Removing intermediate container 89cd9e005882 [2021-01-29T09:01:11.427Z] ---> 8c1c956b621a [2021-01-29T09:01:11.427Z] Successfully built 8c1c956b621a [2021-01-29T09:01:11.427Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-29T09:01:11.657Z] + docker inspect -f . ci-base-image-arm64 [2021-01-29T09:01:11.657Z] . [Pipeline] withDockerContainer [2021-01-29T09:01:11.754Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-29T09:01:11.754Z] . [2021-01-29T09:01:11.895Z] prd-ubuntu18.04-docker-arm64-4c-16g-23941 does not seem to be running inside a container [2021-01-29T09:01:11.982Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/10 -v /w/workspace/go-mod-core-contracts/10:/w/workspace/go-mod-core-contracts/10:rw,z -v /w/workspace/go-mod-core-contracts/10@tmp:/w/workspace/go-mod-core-contracts/10@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 ******** ci-base-image-arm64 cat [2021-01-29T09:01:13.388Z] $ docker top cffdc1398ade717bd4bd6c133edcf8b0da6775c5d23830a88f109d57f5d88c88 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-01-29T09:01:13.867Z] prd-centos7-docker-4c-2g-23942 does not seem to be running inside a container [2021-01-29T09:01:13.960Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/10 -v /w/workspace/go-mod-core-contracts/10:/w/workspace/go-mod-core-contracts/10:rw,z -v /w/workspace/go-mod-core-contracts/10@tmp:/w/workspace/go-mod-core-contracts/10@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 ******** ci-base-image-x86_64 cat [2021-01-29T09:01:14.683Z] $ docker top df8b239f093126bbd2400cfd3640b5fa378a59d4d7990dc10a70f0145cecaa24 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-01-29T09:01:15.339Z] + go version [2021-01-29T09:01:15.339Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-29T09:01:15.357Z] $ docker stop --time=1 df8b239f093126bbd2400cfd3640b5fa378a59d4d7990dc10a70f0145cecaa24 [2021-01-29T09:01:15.609Z] + make test [2021-01-29T09:01:15.609Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-29T09:01:16.706Z] $ docker rm -f df8b239f093126bbd2400cfd3640b5fa378a59d4d7990dc10a70f0145cecaa24 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-29T09:01:17.748Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-29T09:01:17.749Z] . [Pipeline] withDockerContainer [2021-01-29T09:01:17.856Z] prd-centos7-docker-4c-2g-23942 does not seem to be running inside a container [2021-01-29T09:01:17.914Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/10 -v /w/workspace/go-mod-core-contracts/10:/w/workspace/go-mod-core-contracts/10:rw,z -v /w/workspace/go-mod-core-contracts/10@tmp:/w/workspace/go-mod-core-contracts/10@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 ******** ci-base-image-x86_64 cat [2021-01-29T09:01:18.576Z] $ docker top dc6f9cf2e61d6db6f84125efd857f404430f312eb31a503e8072e37cdd63feec -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-29T09:01:19.089Z] + make test [2021-01-29T09:01:19.090Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-29T09:01:27.372Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-01-29T09:01:27.372Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.018s coverage: 85.7% of statements [2021-01-29T09:01:27.372Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.021s coverage: 100.0% of statements [2021-01-29T09:01:27.372Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.069s coverage: 45.4% of statements [2021-01-29T09:01:27.372Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.008s coverage: 77.8% of statements [2021-01-29T09:01:27.372Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-01-29T09:01:27.642Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.021s coverage: 26.3% of statements [2021-01-29T09:01:28.622Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.043s coverage: 14.7% of statements [2021-01-29T09:01:28.622Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.022s coverage: 100.0% of statements [2021-01-29T09:01:28.622Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.024s coverage: 91.8% of statements [2021-01-29T09:01:28.622Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] [2021-01-29T09:01:28.622Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] [2021-01-29T09:01:28.622Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.010s coverage: 100.0% of statements [2021-01-29T09:01:28.896Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.008s coverage: 36.7% of statements [2021-01-29T09:01:30.881Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.031s coverage: 63.0% of statements [2021-01-29T09:01:30.881Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.024s coverage: 26.3% of statements [2021-01-29T09:01:30.881Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.009s coverage: 15.4% of statements [2021-01-29T09:01:30.881Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.022s coverage: 15.4% of statements [2021-01-29T09:01:30.881Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.005s coverage: 14.3% of statements [2021-01-29T09:01:30.881Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] [2021-01-29T09:01:32.872Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http 0.095s coverage: 84.8% of statements [2021-01-29T09:01:32.873Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils [no test files] [2021-01-29T09:01:32.873Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [no test files] [2021-01-29T09:01:32.873Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [no test files] [2021-01-29T09:01:32.873Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos 0.012s coverage: 33.2% of statements [2021-01-29T09:01:32.873Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.027s coverage: 94.4% of statements [2021-01-29T09:01:33.138Z] {"requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","device":{"name":"TestDevice","adminState":"LOCKED","operatingState":"UP","labels":["MODBUS","TEMP"],"location":"{40lat;45long}","serviceName":"TestDeviceServiceName","profileName":"TestDeviceProfileName","autoEvents":[{"frequency":"300ms","onChange":true,"resource":"TestDevice"}],"protocols":{"modbus-ip":{"Address":"localhost","Port":"1502","UnitID":"1"}}}} [2021-01-29T09:01:33.138Z] {"requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","device":{"id":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","name":"TestDevice","description":"TestDescription","adminState":"LOCKED","operatingState":"UP","lastConnected":1611910893,"lastReported":1611910893,"serviceName":"TestDeviceServiceName","profileName":"TestDeviceProfileName","labels":["MODBUS","TEMP"],"location":"{40lat;45long}","autoEvents":[{"frequency":"300ms","onChange":true,"resource":"TestDevice"}],"protocols":{"modbus-ip":{"Address":"localhost","Port":"1502","UnitID":"1"}},"notify":null}} [2021-01-29T09:01:33.138Z] baserequest: [2021-01-29T09:01:33.138Z] requestid: 82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-01-29T09:01:33.138Z] profile: [2021-01-29T09:01:33.138Z] versionable: [2021-01-29T09:01:33.138Z] apiversion: "" [2021-01-29T09:01:33.138Z] id: "" [2021-01-29T09:01:33.138Z] name: TestDeviceProfileName [2021-01-29T09:01:33.138Z] manufacturer: TestManufacturer [2021-01-29T09:01:33.138Z] description: TestDescription [2021-01-29T09:01:33.138Z] model: TestModel [2021-01-29T09:01:33.138Z] labels: [MODBUS, TEMP] [2021-01-29T09:01:33.138Z] deviceResources: [2021-01-29T09:01:33.138Z] - description: TestDescription [2021-01-29T09:01:33.138Z] name: TestDeviceResourceName [2021-01-29T09:01:33.138Z] tag: TestTag [2021-01-29T09:01:33.138Z] properties: [2021-01-29T09:01:33.138Z] type: Int16 [2021-01-29T09:01:33.138Z] readWrite: RW [2021-01-29T09:01:33.138Z] attributes: [2021-01-29T09:01:33.138Z] TestAttribute: TestAttributeValue [2021-01-29T09:01:33.138Z] deviceCommands: [2021-01-29T09:01:33.138Z] - name: TestProfileResource [2021-01-29T09:01:33.138Z] get: [2021-01-29T09:01:33.138Z] - deviceResource: TestDeviceResourceName [2021-01-29T09:01:33.138Z] set: [2021-01-29T09:01:33.138Z] - deviceResource: TestDeviceResourceName [2021-01-29T09:01:33.138Z] coreCommands: [2021-01-29T09:01:33.138Z] - name: TestProfileResource [2021-01-29T09:01:33.138Z] get: true [2021-01-29T09:01:33.138Z] put: true [2021-01-29T09:01:33.138Z] [2021-01-29T09:01:33.138Z] {"requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","service":{"name":"TestDeviceServiceName","labels":["MODBUS","TEMP"],"baseAddress":"http://0.0.0.0:49991/api/v1/callback","adminState":"LOCKED"}} [2021-01-29T09:01:33.138Z] {"requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","service":{"id":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","name":"TestDeviceServiceName","baseAddress":"http://0.0.0.0:49991/api/v1/callback","labels":["MODBUS","TEMP"],"adminState":"LOCKED"}} [2021-01-29T09:01:33.138Z] {"requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","provisionWatcher":{"name":"TestWatcher","labels":["TEST","TEMP"],"identifiers":{"address":"localhost","port":"3[0-9]{2}"},"blockingIdentifiers":{"port":["397","398","399"]},"profile":"TestDeviceProfileName","service":"TestDeviceServiceName","adminState":"LOCKED","autoEvents":[{"frequency":"300ms","onChange":true,"resource":"TestDevice"}]}} [2021-01-29T09:01:33.138Z] --- FAIL: TestAddSubscriptionRequest_Validate (0.00s) [2021-01-29T09:01:33.138Z] --- FAIL: TestAddSubscriptionRequest_Validate/valid (0.00s) [2021-01-29T09:01:33.138Z] panic: Undefined validation function 'edgex-dto-autoevent-frequency' on field 'ResendInterval' [recovered] [2021-01-29T09:01:33.138Z] panic: Undefined validation function 'edgex-dto-autoevent-frequency' on field 'ResendInterval' [2021-01-29T09:01:33.138Z] [2021-01-29T09:01:33.138Z] goroutine 384 [running]: [2021-01-29T09:01:33.138Z] testing.tRunner.func1.1(0x67eb60, 0xc0004dbba0) [2021-01-29T09:01:33.138Z] /usr/local/go/src/testing/testing.go:1072 +0x30d [2021-01-29T09:01:33.138Z] testing.tRunner.func1(0xc0004aa900) [2021-01-29T09:01:33.138Z] /usr/local/go/src/testing/testing.go:1075 +0x41a [2021-01-29T09:01:33.138Z] panic(0x67eb60, 0xc0004dbba0) [2021-01-29T09:01:33.138Z] /usr/local/go/src/runtime/panic.go:969 +0x1b9 [2021-01-29T09:01:33.138Z] github.com/go-playground/validator/v10.(*Validate).parseFieldTagsRecursive(0xc0001054a0, 0x68ede6, 0x27, 0x68edb6, 0xe, 0x68edf0, 0x0, 0x67eb00, 0x68edc6, 0x48) [2021-01-29T09:01:33.138Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/cache.go:289 +0xf25 [2021-01-29T09:01:33.138Z] github.com/go-playground/validator/v10.(*Validate).extractStructCache(0xc0001054a0, 0x6c7a00, 0xc000117e20, 0x99, 0x667b25, 0xc, 0x0) [2021-01-29T09:01:33.138Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/cache.go:150 +0x439 [2021-01-29T09:01:33.138Z] github.com/go-playground/validator/v10.(*validate).validateStruct(0xc0000b2120, 0x737f80, 0xc000126000, 0x6c7a00, 0xc000117e20, 0x99, 0x6c7a00, 0xc000117e20, 0x99, 0x73d420, ...) [2021-01-29T09:01:33.138Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator.go:37 +0x9e5 [2021-01-29T09:01:33.138Z] github.com/go-playground/validator/v10.(*validate).traverseField(0xc0000b2120, 0x737f80, 0xc000126000, 0x6a8960, 0xc000117e10, 0x99, 0x6c7a00, 0xc000117e20, 0x99, 0xc000404340, ...) [2021-01-29T09:01:33.138Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator.go:225 +0x3d0c [2021-01-29T09:01:33.138Z] github.com/go-playground/validator/v10.(*validate).validateStruct(0xc0000b2120, 0x737f80, 0xc000126000, 0x6a8960, 0xc000117e10, 0x99, 0x6a8960, 0xc000117e10, 0x99, 0x73d420, ...) [2021-01-29T09:01:33.138Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator.go:77 +0x4e9 [2021-01-29T09:01:33.138Z] github.com/go-playground/validator/v10.(*Validate).StructCtx(0xc0001054a0, 0x737f80, 0xc000126000, 0x6a8960, 0xc000117e10, 0xc000034d10, 0x40d670) [2021-01-29T09:01:33.138Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator_instance.go:304 +0x38a [2021-01-29T09:01:33.138Z] github.com/go-playground/validator/v10.(*Validate).Struct(...) [2021-01-29T09:01:33.138Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator_instance.go:277 [2021-01-29T09:01:33.138Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2.Validate(0x6a8960, 0xc000117e10, 0x6a8960, 0xc000117e10) [2021-01-29T09:01:33.138Z] /w/workspace/go-mod-core-contracts/10/v2/validator.go:54 +0x74 [2021-01-29T09:01:33.138Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests.AddSubscriptionRequest.Validate(...) [2021-01-29T09:01:33.138Z] /w/workspace/go-mod-core-contracts/10/v2/dtos/requests/subscription.go:28 [2021-01-29T09:01:33.138Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests.TestAddSubscriptionRequest_Validate.func1(0xc0004aa900) [2021-01-29T09:01:33.138Z] /w/workspace/go-mod-core-contracts/10/v2/dtos/requests/subscription_test.go:149 +0xc8 [2021-01-29T09:01:33.138Z] testing.tRunner(0xc0004aa900, 0xc0004dba20) [2021-01-29T09:01:33.138Z] /usr/local/go/src/testing/testing.go:1123 +0xef [2021-01-29T09:01:33.138Z] created by testing.(*T).Run [2021-01-29T09:01:33.138Z] /usr/local/go/src/testing/testing.go:1168 +0x2b3 [2021-01-29T09:01:33.138Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests 0.037s [2021-01-29T09:01:33.138Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses 0.008s coverage: 100.0% of statements [2021-01-29T09:01:33.138Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [no test files] [2021-01-29T09:01:33.138Z] FAIL [2021-01-29T09:01:33.403Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2021-01-29T09:01:33.428Z] $ docker stop --time=1 dc6f9cf2e61d6db6f84125efd857f404430f312eb31a503e8072e37cdd63feec [2021-01-29T09:01:35.830Z] $ docker rm -f dc6f9cf2e61d6db6f84125efd857f404430f312eb31a503e8072e37cdd63feec [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-29T09:01:37.678Z] Failed in branch amd64 [2021-01-29T09:01:37.872Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-01-29T09:01:39.336Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.049s coverage: 85.7% of statements [2021-01-29T09:01:39.336Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.037s coverage: 100.0% of statements [2021-01-29T09:01:41.330Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.048s coverage: 45.4% of statements [2021-01-29T09:01:41.330Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.030s coverage: 77.8% of statements [2021-01-29T09:01:41.330Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-01-29T09:01:42.785Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.078s coverage: 26.3% of statements [2021-01-29T09:01:43.395Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.046s coverage: 14.7% of statements [2021-01-29T09:01:44.002Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.027s coverage: 100.0% of statements [2021-01-29T09:01:44.993Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.087s coverage: 91.8% of statements [2021-01-29T09:01:44.993Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] [2021-01-29T09:01:44.993Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] [2021-01-29T09:01:44.993Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.040s coverage: 100.0% of statements [2021-01-29T09:01:44.993Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.018s coverage: 36.7% of statements [2021-01-29T09:01:50.421Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.114s coverage: 63.0% of statements [2021-01-29T09:01:50.421Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.009s coverage: 26.3% of statements [2021-01-29T09:01:50.421Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.042s coverage: 15.4% of statements [2021-01-29T09:01:50.421Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.033s coverage: 15.4% of statements [2021-01-29T09:01:50.421Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.030s coverage: 14.3% of statements [2021-01-29T09:01:50.421Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] [2021-01-29T09:01:54.754Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http 0.252s coverage: 84.8% of statements [2021-01-29T09:01:54.754Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils [no test files] [2021-01-29T09:01:54.754Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [no test files] [2021-01-29T09:01:54.754Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [no test files] [2021-01-29T09:01:54.754Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos 0.068s coverage: 33.2% of statements [2021-01-29T09:01:54.754Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.036s coverage: 94.4% of statements [2021-01-29T09:01:55.761Z] {"requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","device":{"name":"TestDevice","adminState":"LOCKED","operatingState":"UP","labels":["MODBUS","TEMP"],"location":"{40lat;45long}","serviceName":"TestDeviceServiceName","profileName":"TestDeviceProfileName","autoEvents":[{"frequency":"300ms","onChange":true,"resource":"TestDevice"}],"protocols":{"modbus-ip":{"Address":"localhost","Port":"1502","UnitID":"1"}}}} [2021-01-29T09:01:55.761Z] {"requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","device":{"id":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","name":"TestDevice","description":"TestDescription","adminState":"LOCKED","operatingState":"UP","lastConnected":1611910915,"lastReported":1611910915,"serviceName":"TestDeviceServiceName","profileName":"TestDeviceProfileName","labels":["MODBUS","TEMP"],"location":"{40lat;45long}","autoEvents":[{"frequency":"300ms","onChange":true,"resource":"TestDevice"}],"protocols":{"modbus-ip":{"Address":"localhost","Port":"1502","UnitID":"1"}},"notify":null}} [2021-01-29T09:01:55.761Z] baserequest: [2021-01-29T09:01:55.761Z] requestid: 82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-01-29T09:01:55.761Z] profile: [2021-01-29T09:01:55.761Z] versionable: [2021-01-29T09:01:55.761Z] apiversion: "" [2021-01-29T09:01:55.761Z] id: "" [2021-01-29T09:01:55.761Z] name: TestDeviceProfileName [2021-01-29T09:01:55.761Z] manufacturer: TestManufacturer [2021-01-29T09:01:55.761Z] description: TestDescription [2021-01-29T09:01:55.761Z] model: TestModel [2021-01-29T09:01:55.761Z] labels: [MODBUS, TEMP] [2021-01-29T09:01:55.761Z] deviceResources: [2021-01-29T09:01:55.761Z] - description: TestDescription [2021-01-29T09:01:55.761Z] name: TestDeviceResourceName [2021-01-29T09:01:55.761Z] tag: TestTag [2021-01-29T09:01:55.761Z] properties: [2021-01-29T09:01:55.761Z] type: Int16 [2021-01-29T09:01:55.761Z] readWrite: RW [2021-01-29T09:01:55.761Z] attributes: [2021-01-29T09:01:55.761Z] TestAttribute: TestAttributeValue [2021-01-29T09:01:55.761Z] deviceCommands: [2021-01-29T09:01:55.761Z] - name: TestProfileResource [2021-01-29T09:01:55.761Z] get: [2021-01-29T09:01:55.761Z] - deviceResource: TestDeviceResourceName [2021-01-29T09:01:55.761Z] set: [2021-01-29T09:01:55.761Z] - deviceResource: TestDeviceResourceName [2021-01-29T09:01:55.761Z] coreCommands: [2021-01-29T09:01:55.761Z] - name: TestProfileResource [2021-01-29T09:01:55.761Z] get: true [2021-01-29T09:01:55.761Z] put: true [2021-01-29T09:01:55.761Z] [2021-01-29T09:01:55.761Z] {"requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","service":{"name":"TestDeviceServiceName","labels":["MODBUS","TEMP"],"baseAddress":"http://0.0.0.0:49991/api/v1/callback","adminState":"LOCKED"}} [2021-01-29T09:01:55.761Z] {"requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","service":{"id":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","name":"TestDeviceServiceName","baseAddress":"http://0.0.0.0:49991/api/v1/callback","labels":["MODBUS","TEMP"],"adminState":"LOCKED"}} [2021-01-29T09:01:55.761Z] {"requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","provisionWatcher":{"name":"TestWatcher","labels":["TEST","TEMP"],"identifiers":{"address":"localhost","port":"3[0-9]{2}"},"blockingIdentifiers":{"port":["397","398","399"]},"profile":"TestDeviceProfileName","service":"TestDeviceServiceName","adminState":"LOCKED","autoEvents":[{"frequency":"300ms","onChange":true,"resource":"TestDevice"}]}} [2021-01-29T09:01:55.761Z] --- FAIL: TestAddSubscriptionRequest_Validate (0.00s) [2021-01-29T09:01:55.761Z] --- FAIL: TestAddSubscriptionRequest_Validate/valid (0.00s) [2021-01-29T09:01:55.761Z] panic: Undefined validation function 'edgex-dto-autoevent-frequency' on field 'ResendInterval' [recovered] [2021-01-29T09:01:55.761Z] panic: Undefined validation function 'edgex-dto-autoevent-frequency' on field 'ResendInterval' [2021-01-29T09:01:55.761Z] [2021-01-29T09:01:55.761Z] goroutine 397 [running]: [2021-01-29T09:01:55.761Z] testing.tRunner.func1.1(0x242c00, 0x400010b3b0) [2021-01-29T09:01:55.761Z] /usr/local/go/src/testing/testing.go:1072 +0x240 [2021-01-29T09:01:55.761Z] testing.tRunner.func1(0x4000083c80) [2021-01-29T09:01:55.761Z] /usr/local/go/src/testing/testing.go:1075 +0x34c [2021-01-29T09:01:55.761Z] panic(0x242c00, 0x400010b3b0) [2021-01-29T09:01:55.761Z] /usr/local/go/src/runtime/panic.go:969 +0x15c [2021-01-29T09:01:55.761Z] github.com/go-playground/validator/v10.(*Validate).parseFieldTagsRecursive(0x40001054a0, 0x252ee6, 0x27, 0x252eb6, 0xe, 0x252ef0, 0x0, 0x242c00, 0x252ec6, 0x48) [2021-01-29T09:01:55.761Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/cache.go:289 +0xcf0 [2021-01-29T09:01:55.761Z] github.com/go-playground/validator/v10.(*Validate).extractStructCache(0x40001054a0, 0x28b880, 0x40000a7ef0, 0x99, 0x22bb29, 0xc, 0x0) [2021-01-29T09:01:55.761Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/cache.go:150 +0x328 [2021-01-29T09:01:55.761Z] github.com/go-playground/validator/v10.(*validate).validateStruct(0x400013e5a0, 0x2fc000, 0x400011e000, 0x28b880, 0x40000a7ef0, 0x99, 0x28b880, 0x40000a7ef0, 0x99, 0x301300, ...) [2021-01-29T09:01:55.761Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator.go:37 +0x6f4 [2021-01-29T09:01:55.761Z] github.com/go-playground/validator/v10.(*validate).traverseField(0x400013e5a0, 0x2fc000, 0x400011e000, 0x26c8c0, 0x40000a7ee0, 0x99, 0x28b880, 0x40000a7ef0, 0x99, 0x400048e000, ...) [2021-01-29T09:01:55.761Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator.go:225 +0x2fbc [2021-01-29T09:01:55.761Z] github.com/go-playground/validator/v10.(*validate).validateStruct(0x400013e5a0, 0x2fc000, 0x400011e000, 0x26c8c0, 0x40000a7ee0, 0x99, 0x26c8c0, 0x40000a7ee0, 0x99, 0x301300, ...) [2021-01-29T09:01:55.761Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator.go:77 +0x320 [2021-01-29T09:01:55.761Z] github.com/go-playground/validator/v10.(*Validate).StructCtx(0x40001054a0, 0x2fc000, 0x400011e000, 0x26c8c0, 0x40000a7ee0, 0x26c8c0, 0x3a1c26) [2021-01-29T09:01:55.761Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator_instance.go:304 +0x294 [2021-01-29T09:01:55.761Z] github.com/go-playground/validator/v10.(*Validate).Struct(...) [2021-01-29T09:01:55.761Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator_instance.go:277 [2021-01-29T09:01:55.761Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2.Validate(0x26c8c0, 0x40000a7ee0, 0x26c8c0, 0x40000a7ee0) [2021-01-29T09:01:55.761Z] /w/workspace/go-mod-core-contracts/10/v2/validator.go:54 +0x64 [2021-01-29T09:01:55.761Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests.AddSubscriptionRequest.Validate(...) [2021-01-29T09:01:55.761Z] /w/workspace/go-mod-core-contracts/10/v2/dtos/requests/subscription.go:28 [2021-01-29T09:01:55.761Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests.TestAddSubscriptionRequest_Validate.func1(0x4000083c80) [2021-01-29T09:01:55.761Z] /w/workspace/go-mod-core-contracts/10/v2/dtos/requests/subscription_test.go:149 +0xa0 [2021-01-29T09:01:55.761Z] testing.tRunner(0x4000083c80, 0x400010b210) [2021-01-29T09:01:55.761Z] /usr/local/go/src/testing/testing.go:1123 +0xdc [2021-01-29T09:01:55.761Z] created by testing.(*T).Run [2021-01-29T09:01:55.761Z] /usr/local/go/src/testing/testing.go:1168 +0x244 [2021-01-29T09:01:55.761Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests 0.150s [2021-01-29T09:01:55.761Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses 0.025s coverage: 100.0% of statements [2021-01-29T09:01:55.761Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [no test files] [2021-01-29T09:01:55.761Z] FAIL [2021-01-29T09:01:56.032Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2021-01-29T09:01:56.056Z] $ docker stop --time=1 cffdc1398ade717bd4bd6c133edcf8b0da6775c5d23830a88f109d57f5d88c88 [2021-01-29T09:01:58.329Z] $ docker rm -f cffdc1398ade717bd4bd6c133edcf8b0da6775c5d23830a88f109d57f5d88c88 [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-29T09:01:59.995Z] 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-29T09:02:03.361Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-29T09:02:03.940Z] ---> package-listing.sh [2021-01-29T09:02:03.940Z] ++ facter osfamily [2021-01-29T09:02:03.940Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-29T09:02:03.940Z] + OS_FAMILY=redhat [2021-01-29T09:02:03.940Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-439 [2021-01-29T09:02:03.940Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-29T09:02:03.940Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-29T09:02:03.940Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-29T09:02:03.940Z] + PACKAGES=/tmp/packages_start.txt [2021-01-29T09:02:03.940Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-439 ']' [2021-01-29T09:02:03.940Z] + PACKAGES=/tmp/packages_end.txt [2021-01-29T09:02:03.940Z] + case "${OS_FAMILY}" in [2021-01-29T09:02:03.940Z] + rpm -qa [2021-01-29T09:02:03.940Z] + sort [2021-01-29T09:02:09.276Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-29T09:02:09.276Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-29T09:02:09.276Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-29T09:02:09.276Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-439 ']' [2021-01-29T09:02:09.276Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-439/archives/ [2021-01-29T09:02:09.276Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-439/archives/ [Pipeline] echo [2021-01-29T09:02:09.297Z] 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-439/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-29T09:02:09.599Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-29T09:02:09.921Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-29T09:02:09.921Z] [2021-01-29T09:02:09.921Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-29T09:02:10.281Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-29T09:02:10.281Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-29T09:02:10.281Z] df20fa9351a1: Pulling fs layer [2021-01-29T09:02:10.281Z] 36b3adc4ff6f: Pulling fs layer [2021-01-29T09:02:10.281Z] 8ad3a11d3b57: Pulling fs layer [2021-01-29T09:02:10.281Z] 46f8f816bc3b: Pulling fs layer [2021-01-29T09:02:10.281Z] 93b61091891f: Pulling fs layer [2021-01-29T09:02:10.281Z] 93b9cdb0e59b: Pulling fs layer [2021-01-29T09:02:10.281Z] 5e14af77c1be: Pulling fs layer [2021-01-29T09:02:10.281Z] 01666e4c0597: Pulling fs layer [2021-01-29T09:02:10.281Z] aa168da1d23b: Pulling fs layer [2021-01-29T09:02:10.281Z] 93b9cdb0e59b: Waiting [2021-01-29T09:02:10.281Z] 5e14af77c1be: Waiting [2021-01-29T09:02:10.281Z] 01666e4c0597: Waiting [2021-01-29T09:02:10.281Z] aa168da1d23b: Waiting [2021-01-29T09:02:10.281Z] 46f8f816bc3b: Waiting [2021-01-29T09:02:10.281Z] 93b61091891f: Waiting [2021-01-29T09:02:10.281Z] 36b3adc4ff6f: Verifying Checksum [2021-01-29T09:02:10.281Z] 36b3adc4ff6f: Download complete [2021-01-29T09:02:10.281Z] 46f8f816bc3b: Verifying Checksum [2021-01-29T09:02:10.281Z] 46f8f816bc3b: Download complete [2021-01-29T09:02:10.556Z] df20fa9351a1: Verifying Checksum [2021-01-29T09:02:10.556Z] df20fa9351a1: Download complete [2021-01-29T09:02:10.556Z] 93b61091891f: Verifying Checksum [2021-01-29T09:02:10.556Z] 93b61091891f: Download complete [2021-01-29T09:02:10.556Z] 93b9cdb0e59b: Verifying Checksum [2021-01-29T09:02:10.556Z] 93b9cdb0e59b: Download complete [2021-01-29T09:02:10.556Z] 5e14af77c1be: Download complete [2021-01-29T09:02:10.556Z] 01666e4c0597: Verifying Checksum [2021-01-29T09:02:10.556Z] 01666e4c0597: Download complete [2021-01-29T09:02:10.820Z] 8ad3a11d3b57: Verifying Checksum [2021-01-29T09:02:10.820Z] 8ad3a11d3b57: Download complete [2021-01-29T09:02:10.820Z] df20fa9351a1: Pull complete [2021-01-29T09:02:11.085Z] 36b3adc4ff6f: Pull complete [2021-01-29T09:02:12.068Z] 8ad3a11d3b57: Pull complete [2021-01-29T09:02:12.068Z] 46f8f816bc3b: Pull complete [2021-01-29T09:02:12.653Z] 93b61091891f: Pull complete [2021-01-29T09:02:12.917Z] 93b9cdb0e59b: Pull complete [2021-01-29T09:02:12.917Z] aa168da1d23b: Verifying Checksum [2021-01-29T09:02:12.917Z] aa168da1d23b: Download complete [2021-01-29T09:02:12.917Z] 5e14af77c1be: Pull complete [2021-01-29T09:02:13.180Z] 01666e4c0597: Pull complete [2021-01-29T09:02:19.827Z] aa168da1d23b: Pull complete [2021-01-29T09:02:19.827Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-29T09:02:19.827Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-29T09:02:19.827Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-29T09:02:20.030Z] prd-centos7-docker-4c-2g-23940 does not seem to be running inside a container [2021-01-29T09:02:20.086Z] $ 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-439/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-439 -v /w/workspace/dry_go-mod-core-contracts_PR-439:/w/workspace/dry_go-mod-core-contracts_PR-439:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-439@tmp:/w/workspace/dry_go-mod-core-contracts_PR-439@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-29T09:02:23.610Z] $ docker top 410d8bb8d27ee5b0298b5345bc89fb7b45f35046525c83d47b69917c360b4e86 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-29T09:02:24.270Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-29T09:02:24.578Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-29T09:02:24.892Z] + ls /var/log/sa-host [2021-01-29T09:02:24.892Z] + sadf -c /var/log/sa-host/sa23 [2021-01-29T09:02:24.892Z] file_magic: OK [2021-01-29T09:02:24.892Z] HZ: Using current value: 100 [2021-01-29T09:02:24.892Z] file_header: OK [2021-01-29T09:02:24.892Z] 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-29T09:02:24.892Z] Statistics: [2021-01-29T09:02:24.892Z] Hnuu...uuuununununu... [2021-01-29T09:02:24.892Z] File successfully converted to sysstat format version 12.2.1 [2021-01-29T09:02:24.892Z] + sadf -c /var/log/sa-host/sa29 [2021-01-29T09:02:24.892Z] file_magic: OK [2021-01-29T09:02:24.892Z] HZ: Using current value: 100 [2021-01-29T09:02:24.892Z] file_header: OK [2021-01-29T09:02:24.892Z] 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-29T09:02:24.892Z] Statistics: [2021-01-29T09:02:24.892Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-29T09:02:24.892Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-29T09:02:25.133Z] provisioning config files... [2021-01-29T09:02:25.158Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-439@tmp/config4493393831606675004tmp [Pipeline] { [Pipeline] echo [2021-01-29T09:02:25.264Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-29T09:02:25.576Z] ---> create-netrc.sh [Pipeline] } [2021-01-29T09:02:25.586Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-29T09:02:25.696Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-29T09:02:25.997Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-29T09:02:26.010Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-29T09:02:26.315Z] ---> sudo-logs.sh [2021-01-29T09:02:26.315Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-29T09:02:26.338Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-29T09:02:26.657Z] ---> job-cost.sh [2021-01-29T09:02:26.657Z] lf-activate-venv: SKIPPING [2021-01-29T09:02:26.657Z] INFO: No Stack... [2021-01-29T09:02:27.605Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-29T09:02:28.182Z] INFO: Archiving Costs [Pipeline] echo [2021-01-29T09:02:28.199Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-29T09:02:28.510Z] ---> logs-deploy.sh [2021-01-29T09:02:28.510Z] lf-activate-venv: SKIPPING [2021-01-29T09:02:28.510Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-439/10 [2021-01-29T09:02:28.510Z] INFO: archiving workspace using pattern(s): [2021-01-29T09:02:30.442Z] Archives upload complete. [2021-01-29T09:02:30.442Z] INFO: archiving logs to Nexus