Pull request #3146 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/edgex-go Loading trusted files from base branch master at 9ee6a915f0da87ac859f0375cd81210a85b62227 rather than 2d5c136544dae2ce7e60c39b0d649b367276d089 Obtained Jenkinsfile from 9ee6a915f0da87ac859f0375cd81210a85b62227 Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3146/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3146/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 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 ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2], buildSnap:true] ========================================================= [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 ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: docker- DOCKER_IMAGE_NAME_SUFFIX: -go DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 BUILD_SNAP: true 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-25555 in /w/workspace/edgexfoundry_edgex-go_PR-3146 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [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/edgex-go.git > git init /w/workspace/edgex-go/1 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3146/head:refs/remotes/origin/PR-3146 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 9ee6a915f0da87ac859f0375cd81210a85b62227 into PR head commit 2d5c136544dae2ce7e60c39b0d649b367276d089 Merge succeeded, producing e597581c9f1b1869ffe513fe5cf9a0528eba57f0 Checking out Revision e597581c9f1b1869ffe513fe5cf9a0528eba57f0 (PR-3146) > git config core.sparsecheckout # timeout=10 > git checkout -f 2d5c136544dae2ce7e60c39b0d649b367276d089 # 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 9ee6a915f0da87ac859f0375cd81210a85b62227 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e597581c9f1b1869ffe513fe5cf9a0528eba57f0 # timeout=10 Commit message: "Merge commit '9ee6a915f0da87ac859f0375cd81210a85b62227' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-08T10:39:39.476Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-08T10:39:39.939Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-08T10:39:40.251Z] ========================================================= [2021-02-08T10:39:40.251Z] EdgeX Global Pipelines Version Info [2021-02-08T10:39:40.251Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-08T10:39:42.490Z] ------------------- [2021-02-08T10:39:42.490Z] stable info: [2021-02-08T10:39:42.490Z] ------------------- [2021-02-08T10:39:42.490Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-08T10:39:42.490Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-08T10:39:42.490Z] Message: update stable to v1.0.179 [2021-02-08T10:39:43.517Z] ------------------- [2021-02-08T10:39:43.517Z] experimental info: [2021-02-08T10:39:43.517Z] ------------------- [2021-02-08T10:39:43.517Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-08T10:39:43.517Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-08T10:39:43.517Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-08T10:39:44.132Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-02-08T10:39:44.349Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-02-08T10:39:44.533Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-08T10:39:44.697Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-08T10:39:44.872Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-08T10:39:45.073Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-08T10:39:45.245Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-08T10:39:45.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-02-08T10:39:45.591Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo [2021-02-08T10:39:45.754Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo [2021-02-08T10:39:45.902Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-08T10:39:46.077Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-08T10:39:46.267Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-08T10:39:46.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-08T10:39:46.588Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-08T10:39:46.763Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-02-08T10:39:46.940Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-08T10:39:47.120Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-08T10:39:47.316Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-08T10:39:47.465Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-02-08T10:39:47.588Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-02-08T10:39:47.725Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-08T10:39:47.854Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-08T10:39:47.976Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3146 [Pipeline] echo [2021-02-08T10:39:48.108Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3146 [Pipeline] echo [2021-02-08T10:39:48.228Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3146 [Pipeline] echo [2021-02-08T10:39:48.400Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e597581c9f1b1869ffe513fe5cf9a0528eba57f0 [Pipeline] echo [2021-02-08T10:39:48.530Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e597581 [Pipeline] echo [2021-02-08T10:39:48.651Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-08T10:39:48.920Z] provisioning config files... [2021-02-08T10:39:48.952Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config1481545277869688704tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-08T10:39:49.415Z] ---> docker-login.sh [2021-02-08T10:39:49.415Z] nexus3.edgexfoundry.org:10001 [2021-02-08T10:39:50.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-08T10:39:50.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-08T10:39:50.627Z] Configure a credential helper to remove this warning. See [2021-02-08T10:39:50.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-08T10:39:50.627Z] [2021-02-08T10:39:50.627Z] Login Succeeded [2021-02-08T10:39:50.627Z] nexus3.edgexfoundry.org:10002 [2021-02-08T10:39:50.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-08T10:39:50.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-08T10:39:50.900Z] Configure a credential helper to remove this warning. See [2021-02-08T10:39:50.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-08T10:39:50.900Z] [2021-02-08T10:39:50.900Z] Login Succeeded [2021-02-08T10:39:50.900Z] nexus3.edgexfoundry.org:10003 [2021-02-08T10:39:51.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-08T10:39:51.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-08T10:39:51.186Z] Configure a credential helper to remove this warning. See [2021-02-08T10:39:51.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-08T10:39:51.186Z] [2021-02-08T10:39:51.186Z] Login Succeeded [2021-02-08T10:39:51.186Z] nexus3.edgexfoundry.org:10004 [2021-02-08T10:39:51.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-08T10:39:51.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-08T10:39:51.475Z] Configure a credential helper to remove this warning. See [2021-02-08T10:39:51.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-08T10:39:51.475Z] [2021-02-08T10:39:51.475Z] Login Succeeded [2021-02-08T10:39:51.475Z] docker.io [2021-02-08T10:39:51.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-08T10:39:52.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-08T10:39:52.021Z] Configure a credential helper to remove this warning. See [2021-02-08T10:39:52.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-08T10:39:52.021Z] [2021-02-08T10:39:52.021Z] Login Succeeded [2021-02-08T10:39:52.021Z] ---> docker-login.sh ends [Pipeline] } [2021-02-08T10:39:52.059Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-08T10:39:52.730Z] ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile [2021-02-08T10:39:52.730Z] + for file in '`ls cmd/**/Dockerfile`' [2021-02-08T10:39:52.730Z] ++ cut -d/ -f2 [2021-02-08T10:39:52.730Z] ++ dirname cmd/core-command/Dockerfile [2021-02-08T10:39:52.730Z] + echo core-command,cmd/core-command/Dockerfile [2021-02-08T10:39:52.730Z] + for file in '`ls cmd/**/Dockerfile`' [2021-02-08T10:39:52.730Z] ++ cut -d/ -f2 [2021-02-08T10:39:52.730Z] ++ dirname cmd/core-data/Dockerfile [2021-02-08T10:39:52.730Z] + echo core-data,cmd/core-data/Dockerfile [2021-02-08T10:39:52.730Z] + for file in '`ls cmd/**/Dockerfile`' [2021-02-08T10:39:52.730Z] ++ dirname cmd/core-metadata/Dockerfile [2021-02-08T10:39:52.730Z] ++ cut -d/ -f2 [2021-02-08T10:39:52.730Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-02-08T10:39:52.730Z] + for file in '`ls cmd/**/Dockerfile`' [2021-02-08T10:39:52.730Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-02-08T10:39:52.730Z] ++ cut -d/ -f2 [2021-02-08T10:39:52.730Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-02-08T10:39:52.730Z] + for file in '`ls cmd/**/Dockerfile`' [2021-02-08T10:39:52.730Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-02-08T10:39:52.730Z] ++ cut -d/ -f2 [2021-02-08T10:39:52.730Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-02-08T10:39:52.730Z] + for file in '`ls cmd/**/Dockerfile`' [2021-02-08T10:39:52.730Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-02-08T10:39:52.730Z] ++ cut -d/ -f2 [2021-02-08T10:39:52.730Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-02-08T10:39:52.730Z] + for file in '`ls cmd/**/Dockerfile`' [2021-02-08T10:39:52.730Z] ++ dirname cmd/support-notifications/Dockerfile [2021-02-08T10:39:52.730Z] ++ cut -d/ -f2 [2021-02-08T10:39:52.730Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-02-08T10:39:52.730Z] + for file in '`ls cmd/**/Dockerfile`' [2021-02-08T10:39:52.730Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-02-08T10:39:52.730Z] ++ cut -d/ -f2 [2021-02-08T10:39:52.730Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-02-08T10:39:52.730Z] + for file in '`ls cmd/**/Dockerfile`' [2021-02-08T10:39:52.730Z] ++ cut -d/ -f2 [2021-02-08T10:39:52.730Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-02-08T10:39:52.730Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-02-08T10:39:52.978Z] Generate Dockers from filesystem: [[image:docker-core-command-go, dockerfile:cmd/core-command/Dockerfile], [image:docker-core-data-go, dockerfile:cmd/core-data/Dockerfile], [image:docker-core-metadata-go, dockerfile:cmd/core-metadata/Dockerfile], [image:docker-security-bootstrapper-go, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:docker-security-proxy-setup-go, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:docker-security-secretstore-setup-go, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:docker-support-notifications-go, dockerfile:cmd/support-notifications/Dockerfile], [image:docker-support-scheduler-go, dockerfile:cmd/support-scheduler/Dockerfile], [image:docker-sys-mgmt-agent-go, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-02-08T10:39:54.053Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-08T10:39:54.053Z] [2021-02-08T10:39:54.053Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-08T10:39:54.633Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-08T10:39:54.633Z] latest: Pulling from edgex-devops/git-semver [2021-02-08T10:39:54.633Z] 31603596830f: Pulling fs layer [2021-02-08T10:39:54.633Z] 2a8b12db71e7: Pulling fs layer [2021-02-08T10:39:54.633Z] 6ca5941a6612: Pulling fs layer [2021-02-08T10:39:54.633Z] ecc8261a40a4: Pulling fs layer [2021-02-08T10:39:54.633Z] ecc8261a40a4: Waiting [2021-02-08T10:39:54.633Z] 2a8b12db71e7: Verifying Checksum [2021-02-08T10:39:54.633Z] 2a8b12db71e7: Download complete [2021-02-08T10:39:55.258Z] 31603596830f: Verifying Checksum [2021-02-08T10:39:55.258Z] 31603596830f: Download complete [2021-02-08T10:39:55.542Z] 6ca5941a6612: Verifying Checksum [2021-02-08T10:39:55.542Z] 6ca5941a6612: Download complete [2021-02-08T10:39:55.542Z] ecc8261a40a4: Verifying Checksum [2021-02-08T10:39:55.542Z] ecc8261a40a4: Download complete [2021-02-08T10:39:55.833Z] 31603596830f: Pull complete [2021-02-08T10:39:56.137Z] 2a8b12db71e7: Pull complete [2021-02-08T10:39:58.133Z] 6ca5941a6612: Pull complete [2021-02-08T10:39:58.133Z] ecc8261a40a4: Pull complete [2021-02-08T10:39:58.133Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-08T10:39:58.133Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-08T10:39:58.133Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-08T10:39:58.343Z] prd-centos7-docker-4c-2g-25555 does not seem to be running inside a container [2021-02-08T10:39:58.446Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-08T10:40:01.564Z] $ docker top 5ea6241688a9c60593b72935e2b0f741e44cc37dd6d5a47a5bf5ab6c23d85c74 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-08T10:40:02.329Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-08T10:40:02.330Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-08T10:40:02.934Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-08T10:40:02.945Z] $ docker exec 5ea6241688a9c60593b72935e2b0f741e44cc37dd6d5a47a5bf5ab6c23d85c74 ssh-agent [2021-02-08T10:40:03.347Z] SSH_AUTH_SOCK=/tmp/ssh-4zVh0beHsL7e/agent.11 [2021-02-08T10:40:03.347Z] SSH_AGENT_PID=16 [2021-02-08T10:40:03.381Z] Running ssh-add (command line suppressed) [2021-02-08T10:40:03.593Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_9097992753681782760.key (/w/workspace/edgex-go/1@tmp/private_key_9097992753681782760.key) [2021-02-08T10:40:03.681Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-08T10:40:04.153Z] + git tag --points-at HEAD [Pipeline] } [2021-02-08T10:40:04.493Z] $ docker exec --env ******** --env ******** 5ea6241688a9c60593b72935e2b0f741e44cc37dd6d5a47a5bf5ab6c23d85c74 ssh-agent -k [2021-02-08T10:40:04.889Z] unset SSH_AUTH_SOCK; [2021-02-08T10:40:04.889Z] unset SSH_AGENT_PID; [2021-02-08T10:40:04.889Z] echo Agent pid 16 killed; [2021-02-08T10:40:04.983Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-08T10:40:05.187Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-08T10:40:05.187Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-08T10:40:05.562Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-08T10:40:05.576Z] $ docker exec 5ea6241688a9c60593b72935e2b0f741e44cc37dd6d5a47a5bf5ab6c23d85c74 ssh-agent [2021-02-08T10:40:05.962Z] SSH_AUTH_SOCK=/tmp/ssh-ZsZ2LjeggHsR/agent.44 [2021-02-08T10:40:05.962Z] SSH_AGENT_PID=49 [2021-02-08T10:40:05.972Z] Running ssh-add (command line suppressed) [2021-02-08T10:40:06.212Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_7456724562999193511.key (/w/workspace/edgex-go/1@tmp/private_key_7456724562999193511.key) [2021-02-08T10:40:06.306Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-08T10:40:06.758Z] + git semver init [2021-02-08T10:40:07.034Z] # -> Open(): unable to determine branch for HEAD [2021-02-08T10:40:07.034Z] # $GIT_DIR = /w/workspace/edgex-go/1/.git [2021-02-08T10:40:07.034Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/1 [2021-02-08T10:40:07.034Z] # $SEMVER_REMOTE_NAME = origin [2021-02-08T10:40:07.034Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-08T10:40:07.034Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-08T10:40:07.034Z] # $SEMVER_BRANCH = PR-3146 [2021-02-08T10:40:07.034Z] # $SEMVER_TEMP = /tmp/semver-267271507 [2021-02-08T10:40:07.034Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-02-08T10:41:03.821Z] # '/tmp/semver-267271507' -> '/w/workspace/edgex-go/1/.semver' [2021-02-08T10:41:03.821Z] # -> Force: false [2021-02-08T10:41:03.821Z] # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } [2021-02-08T10:41:03.856Z] $ docker exec --env ******** --env ******** 5ea6241688a9c60593b72935e2b0f741e44cc37dd6d5a47a5bf5ab6c23d85c74 ssh-agent -k [2021-02-08T10:41:04.352Z] unset SSH_AUTH_SOCK; [2021-02-08T10:41:04.353Z] unset SSH_AGENT_PID; [2021-02-08T10:41:04.353Z] echo Agent pid 49 killed; [2021-02-08T10:41:04.512Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-08T10:41:05.639Z] + git semver [Pipeline] } [2021-02-08T10:41:05.705Z] $ docker stop --time=1 5ea6241688a9c60593b72935e2b0f741e44cc37dd6d5a47a5bf5ab6c23d85c74 [2021-02-08T10:41:07.650Z] $ docker rm -f 5ea6241688a9c60593b72935e2b0f741e44cc37dd6d5a47a5bf5ab6c23d85c74 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-08T10:41:08.424Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-08T10:41:09.253Z] Stashed 1 file(s) [Pipeline] echo [2021-02-08T10:41:09.275Z] [edgeXSemver]: initialized semver on version 0.0.0 [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] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-08T10:41:10.738Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-08T10:41:11.125Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-08T10:41:11.529Z] + true [2021-02-08T10:41:11.529Z] + sudo service docker restart [2021-02-08T10:41:11.529Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] echo [2021-02-08T10:41:12.566Z] ========================================================= [2021-02-08T10:41:12.566Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-08T10:41:12.566Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-08T10:41:13.010Z] + 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-02-08T10:41:19.884Z] Sending build context to Docker daemon 327.7MB [2021-02-08T10:41:19.884Z] Step 1/6 : ARG BASE=golang:1.15-alpine3.12 [2021-02-08T10:41:19.884Z] Step 2/6 : FROM ${BASE} [2021-02-08T10:41:19.884Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-08T10:41:19.884Z] 188c0c94c7c5: Pulling fs layer [2021-02-08T10:41:19.884Z] 0ef7d3d256c8: Pulling fs layer [2021-02-08T10:41:19.884Z] de9db76c5a1d: Pulling fs layer [2021-02-08T10:41:19.884Z] bca2f99d35d6: Pulling fs layer [2021-02-08T10:41:19.884Z] 93359f2a8cfa: Pulling fs layer [2021-02-08T10:41:19.884Z] 7c6f9722023f: Pulling fs layer [2021-02-08T10:41:19.884Z] a35cf1a2eb13: Pulling fs layer [2021-02-08T10:41:19.884Z] bca2f99d35d6: Waiting [2021-02-08T10:41:19.884Z] 93359f2a8cfa: Waiting [2021-02-08T10:41:19.884Z] 7c6f9722023f: Waiting [2021-02-08T10:41:19.884Z] a35cf1a2eb13: Waiting [2021-02-08T10:41:19.884Z] de9db76c5a1d: Verifying Checksum [2021-02-08T10:41:19.884Z] de9db76c5a1d: Download complete [2021-02-08T10:41:19.884Z] 0ef7d3d256c8: Verifying Checksum [2021-02-08T10:41:19.884Z] 0ef7d3d256c8: Download complete [2021-02-08T10:41:19.884Z] 93359f2a8cfa: Verifying Checksum [2021-02-08T10:41:19.884Z] 93359f2a8cfa: Download complete [2021-02-08T10:41:20.487Z] 7c6f9722023f: Verifying Checksum [2021-02-08T10:41:20.487Z] 7c6f9722023f: Download complete [2021-02-08T10:41:20.775Z] 188c0c94c7c5: Verifying Checksum [2021-02-08T10:41:20.775Z] 188c0c94c7c5: Download complete [2021-02-08T10:41:21.891Z] 188c0c94c7c5: Pull complete [2021-02-08T10:41:22.183Z] 0ef7d3d256c8: Pull complete [2021-02-08T10:41:22.469Z] de9db76c5a1d: Pull complete [2021-02-08T10:41:24.504Z] a35cf1a2eb13: Verifying Checksum [2021-02-08T10:41:24.504Z] a35cf1a2eb13: Download complete [2021-02-08T10:41:24.972Z] Still waiting to schedule task [2021-02-08T10:41:24.972Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-25553’ is offline [2021-02-08T10:41:26.622Z] bca2f99d35d6: Verifying Checksum [2021-02-08T10:41:26.622Z] bca2f99d35d6: Download complete [2021-02-08T10:41:39.666Z] bca2f99d35d6: Pull complete [2021-02-08T10:41:39.666Z] 93359f2a8cfa: Pull complete [2021-02-08T10:41:39.666Z] 7c6f9722023f: Pull complete [2021-02-08T10:41:45.254Z] a35cf1a2eb13: Pull complete [2021-02-08T10:41:45.254Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-08T10:41:45.254Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-08T10:41:45.254Z] ---> a62c8e92a672 [2021-02-08T10:41:45.254Z] Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch [2021-02-08T10:41:45.872Z] ---> Running in 9cb5d4b9ff5b [2021-02-08T10:41:46.855Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-08T10:41:47.448Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-08T10:41:48.431Z] (1/12) Installing libmagic (5.38-r0) [2021-02-08T10:41:49.041Z] (2/12) Installing file (5.38-r0) [2021-02-08T10:41:49.041Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-02-08T10:41:49.315Z] (4/12) Installing g++ (9.3.0-r2) [2021-02-08T10:42:07.676Z] (5/12) Installing fortify-headers (1.1-r0) [2021-02-08T10:42:07.676Z] (6/12) Installing patch (2.7.6-r6) [2021-02-08T10:42:07.676Z] (7/12) Installing build-base (0.5-r2) [2021-02-08T10:42:07.676Z] (8/12) Installing libsodium (1.0.18-r0) [2021-02-08T10:42:07.951Z] (9/12) Installing pkgconf (1.7.2-r0) [2021-02-08T10:42:07.951Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-02-08T10:42:07.951Z] (11/12) Installing libzmq (4.3.3-r0) [2021-02-08T10:42:08.571Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2021-02-08T10:42:08.571Z] Executing busybox-1.31.1-r19.trigger [2021-02-08T10:42:08.571Z] OK: 233 MiB in 51 packages [2021-02-08T10:42:13.035Z] Removing intermediate container 9cb5d4b9ff5b [2021-02-08T10:42:13.035Z] ---> 91cdc920c038 [2021-02-08T10:42:13.035Z] Step 4/6 : WORKDIR /edgex-go [2021-02-08T10:42:13.035Z] ---> Running in 4b745ae4082c [2021-02-08T10:42:13.304Z] Removing intermediate container 4b745ae4082c [2021-02-08T10:42:13.304Z] ---> e117f85fe245 [2021-02-08T10:42:13.304Z] Step 5/6 : COPY go.mod . [2021-02-08T10:42:13.946Z] ---> 466819f10d76 [2021-02-08T10:42:13.946Z] Step 6/6 : RUN go mod download [2021-02-08T10:42:13.946Z] ---> Running in 6f382e5c4314 [2021-02-08T10:42:46.636Z] Removing intermediate container 6f382e5c4314 [2021-02-08T10:42:46.636Z] ---> a6a4fb450560 [2021-02-08T10:42:46.636Z] Successfully built a6a4fb450560 [2021-02-08T10:42:46.636Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-08T10:42:47.048Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-08T10:42:47.325Z] . [Pipeline] withDockerContainer [2021-02-08T10:42:47.529Z] prd-centos7-docker-4c-2g-25555 does not seem to be running inside a container [2021-02-08T10:42:47.632Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-08T10:42:49.220Z] $ docker top be0a34fb242fdb3222a411ede08a90ce955aa8cef50e847654ce160bc3be0536 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-08T10:42:49.877Z] + go version [2021-02-08T10:42:49.877Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-08T10:42:49.920Z] $ docker stop --time=1 be0a34fb242fdb3222a411ede08a90ce955aa8cef50e847654ce160bc3be0536 [2021-02-08T10:42:51.648Z] $ docker rm -f be0a34fb242fdb3222a411ede08a90ce955aa8cef50e847654ce160bc3be0536 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-08T10:42:53.051Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-08T10:42:53.051Z] . [Pipeline] withDockerContainer [2021-02-08T10:42:53.371Z] prd-centos7-docker-4c-2g-25555 does not seem to be running inside a container [2021-02-08T10:42:53.438Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-08T10:42:55.370Z] $ docker top 80b0d88517bbb0c4cad5a54fa43d9d66f482d31f2a9fc198d08be64b19164625 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-02-08T10:42:56.071Z] ========================================================= [2021-02-08T10:42:56.071Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-02-08T10:42:56.071Z] ========================================================= [Pipeline] sh [2021-02-08T10:42:56.640Z] + make test [2021-02-08T10:42:56.640Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-08T10:43:15.414Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-02-08T10:43:21.256Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-25556 in /w/workspace/edgexfoundry_edgex-go_PR-3146 [Pipeline] { [Pipeline] ws [2021-02-08T10:43:21.398Z] Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout [2021-02-08T10:43:26.421Z] using credential edgex-jenkins-ssh [2021-02-08T10:43:26.483Z] Cloning the remote Git repository [2021-02-08T10:43:26.533Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-02-08T10:43:26.638Z] > git init /w/workspace/edgex-go/1 # timeout=10 [2021-02-08T10:43:26.720Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-02-08T10:43:26.721Z] > git --version # timeout=10 [2021-02-08T10:43:26.739Z] > git --version # 'git version 2.17.1' [2021-02-08T10:43:26.740Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-08T10:43:26.811Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-08T10:43:48.265Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-02-08T10:43:57.565Z] Merging remotes/origin/master commit 9ee6a915f0da87ac859f0375cd81210a85b62227 into PR head commit 2d5c136544dae2ce7e60c39b0d649b367276d089 [2021-02-08T10:43:56.654Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-02-08T10:43:56.682Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-08T10:43:56.706Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-02-08T10:43:56.740Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-02-08T10:43:56.740Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-08T10:43:56.752Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3146/head:refs/remotes/origin/PR-3146 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-08T10:43:57.583Z] > git config core.sparsecheckout # timeout=10 [2021-02-08T10:43:57.597Z] > git checkout -f 2d5c136544dae2ce7e60c39b0d649b367276d089 # timeout=10 [2021-02-08T10:43:58.233Z] Merge succeeded, producing de10a0ae88215755785938b95ba61dca1ab07872 [2021-02-08T10:43:58.233Z] Checking out Revision de10a0ae88215755785938b95ba61dca1ab07872 (PR-3146) [2021-02-08T10:43:58.801Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-02-08T10:43:58.802Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2021-02-08T10:43:58.802Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2021-02-08T10:43:58.802Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrap-redis [no test files] [2021-02-08T10:43:57.899Z] > git remote # timeout=10 [2021-02-08T10:43:57.917Z] > git config --get remote.origin.url # timeout=10 [2021-02-08T10:43:57.937Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-08T10:43:57.948Z] > git merge 9ee6a915f0da87ac859f0375cd81210a85b62227 # timeout=10 [2021-02-08T10:43:58.216Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-08T10:43:58.239Z] > git config core.sparsecheckout # timeout=10 [2021-02-08T10:43:58.249Z] > git checkout -f de10a0ae88215755785938b95ba61dca1ab07872 # timeout=10 [2021-02-08T10:44:02.603Z] Commit message: "Merge commit '9ee6a915f0da87ac859f0375cd81210a85b62227' into HEAD" [2021-02-08T10:44:02.604Z] First time build. Skipping changelog. [2021-02-08T10:44:02.656Z] > git --version # timeout=10 [2021-02-08T10:44:02.664Z] > git --version # 'git version 2.17.1' [2021-02-08T10:44:02.682Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2021-02-08T10:44:03.528Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2021-02-08T10:44:03.528Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2021-02-08T10:44:03.528Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2021-02-08T10:44:03.528Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2021-02-08T10:44:03.528Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-08T10:44:04.617Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2021-02-08T10:44:04.670Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-08T10:44:05.094Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-08T10:44:05.509Z] + + sudo servicetrue docker [2021-02-08T10:44:05.509Z] restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-08T10:44:07.621Z] provisioning config files... [2021-02-08T10:44:07.672Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config4191295827090528298tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-08T10:44:08.137Z] ---> docker-login.sh [2021-02-08T10:44:08.137Z] nexus3.edgexfoundry.org:10001 [2021-02-08T10:44:09.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-08T10:44:09.240Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2021-02-08T10:44:09.241Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2021-02-08T10:44:09.241Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2021-02-08T10:44:09.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-08T10:44:09.402Z] Configure a credential helper to remove this warning. See [2021-02-08T10:44:09.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-08T10:44:09.402Z] [2021-02-08T10:44:09.402Z] Login Succeeded [2021-02-08T10:44:09.402Z] nexus3.edgexfoundry.org:10002 [2021-02-08T10:44:09.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-08T10:44:09.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-08T10:44:09.953Z] Configure a credential helper to remove this warning. See [2021-02-08T10:44:09.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-08T10:44:09.953Z] [2021-02-08T10:44:09.953Z] Login Succeeded [2021-02-08T10:44:09.953Z] nexus3.edgexfoundry.org:10003 [2021-02-08T10:44:10.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-08T10:44:10.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-08T10:44:10.501Z] Configure a credential helper to remove this warning. See [2021-02-08T10:44:10.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-08T10:44:10.501Z] [2021-02-08T10:44:10.501Z] Login Succeeded [2021-02-08T10:44:10.501Z] nexus3.edgexfoundry.org:10004 [2021-02-08T10:44:10.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-08T10:44:11.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-08T10:44:11.049Z] Configure a credential helper to remove this warning. See [2021-02-08T10:44:11.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-08T10:44:11.049Z] [2021-02-08T10:44:11.049Z] Login Succeeded [2021-02-08T10:44:11.049Z] docker.io [2021-02-08T10:44:11.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-08T10:44:11.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-08T10:44:11.590Z] Configure a credential helper to remove this warning. See [2021-02-08T10:44:11.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-08T10:44:11.590Z] [2021-02-08T10:44:11.590Z] Login Succeeded [2021-02-08T10:44:11.590Z] ---> docker-login.sh ends [Pipeline] } [2021-02-08T10:44:11.621Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-08T10:44:12.177Z] ========================================================= [2021-02-08T10:44:12.177Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-08T10:44:12.177Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-08T10:44:12.597Z] + 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-02-08T10:44:13.091Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.172s coverage: 45.6% of statements [2021-02-08T10:44:13.091Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2021-02-08T10:44:13.091Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2021-02-08T10:44:13.091Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] [2021-02-08T10:44:13.091Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] [2021-02-08T10:44:13.091Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] [2021-02-08T10:44:13.091Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] [2021-02-08T10:44:13.091Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/v2/application [no test files] [2021-02-08T10:44:13.091Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.109s coverage: 100.0% of statements [2021-02-08T10:44:15.238Z] Sending build context to Docker daemon 166.3MB [2021-02-08T10:44:15.238Z] Step 1/6 : ARG BASE=golang:1.15-alpine3.12 [2021-02-08T10:44:15.238Z] Step 2/6 : FROM ${BASE} [2021-02-08T10:44:15.238Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-08T10:44:15.238Z] 5f621e34cdf4: Pulling fs layer [2021-02-08T10:44:15.238Z] a4357932f1b6: Pulling fs layer [2021-02-08T10:44:15.238Z] 18c013af1878: Pulling fs layer [2021-02-08T10:44:15.238Z] 00ac8860ef70: Pulling fs layer [2021-02-08T10:44:15.238Z] 63d7cb157983: Pulling fs layer [2021-02-08T10:44:15.238Z] b116817d02f9: Pulling fs layer [2021-02-08T10:44:15.238Z] 745a02a5169b: Pulling fs layer [2021-02-08T10:44:15.238Z] 00ac8860ef70: Waiting [2021-02-08T10:44:15.238Z] 63d7cb157983: Waiting [2021-02-08T10:44:15.238Z] b116817d02f9: Waiting [2021-02-08T10:44:15.238Z] 745a02a5169b: Waiting [2021-02-08T10:44:15.238Z] 18c013af1878: Verifying Checksum [2021-02-08T10:44:15.238Z] 18c013af1878: Download complete [2021-02-08T10:44:15.238Z] a4357932f1b6: Verifying Checksum [2021-02-08T10:44:15.238Z] a4357932f1b6: Download complete [2021-02-08T10:44:15.238Z] 63d7cb157983: Download complete [2021-02-08T10:44:15.833Z] b116817d02f9: Verifying Checksum [2021-02-08T10:44:15.833Z] b116817d02f9: Download complete [2021-02-08T10:44:15.833Z] 5f621e34cdf4: Verifying Checksum [2021-02-08T10:44:15.833Z] 5f621e34cdf4: Download complete [2021-02-08T10:44:16.437Z] 5f621e34cdf4: Pull complete [2021-02-08T10:44:17.045Z] a4357932f1b6: Pull complete [2021-02-08T10:44:17.644Z] 18c013af1878: Pull complete [2021-02-08T10:44:18.242Z] 745a02a5169b: Verifying Checksum [2021-02-08T10:44:18.714Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.497s coverage: 27.1% of statements [2021-02-08T10:44:18.714Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2021-02-08T10:44:18.714Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2021-02-08T10:44:18.714Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] [2021-02-08T10:44:18.714Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] [2021-02-08T10:44:18.714Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] [2021-02-08T10:44:18.714Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2021-02-08T10:44:18.714Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.068s coverage: 100.0% of statements [2021-02-08T10:44:18.714Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] [2021-02-08T10:44:18.714Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.131s coverage: 100.0% of statements [2021-02-08T10:44:18.714Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] [2021-02-08T10:44:18.714Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] [2021-02-08T10:44:18.714Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.199s coverage: 65.8% of statements [2021-02-08T10:44:18.714Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] [2021-02-08T10:44:18.714Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] [2021-02-08T10:44:19.241Z] 00ac8860ef70: Verifying Checksum [2021-02-08T10:44:19.241Z] 00ac8860ef70: Download complete [2021-02-08T10:44:19.406Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.647s coverage: 82.3% of statements [2021-02-08T10:44:19.406Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] [2021-02-08T10:44:19.406Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] [2021-02-08T10:44:19.406Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] [2021-02-08T10:44:19.406Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] [2021-02-08T10:44:24.042Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.770s coverage: 28.6% of statements [2021-02-08T10:44:24.042Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2021-02-08T10:44:24.042Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2021-02-08T10:44:24.042Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] [2021-02-08T10:44:24.042Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] [2021-02-08T10:44:24.042Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] [2021-02-08T10:44:24.042Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.236s coverage: 100.0% of statements [2021-02-08T10:44:24.042Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] [2021-02-08T10:44:24.042Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.076s coverage: 100.0% of statements [2021-02-08T10:44:24.042Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] [2021-02-08T10:44:24.042Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.171s coverage: 86.7% of statements [2021-02-08T10:44:24.042Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] [2021-02-08T10:44:24.345Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.199s coverage: 97.5% of statements [2021-02-08T10:44:24.345Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] [2021-02-08T10:44:25.655Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.121s coverage: 78.3% of statements [2021-02-08T10:44:25.655Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] [2021-02-08T10:44:25.655Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] [2021-02-08T10:44:25.655Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] [2021-02-08T10:44:25.655Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] [2021-02-08T10:44:30.343Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.148s coverage: 92.8% of statements [2021-02-08T10:44:30.343Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] [2021-02-08T10:44:30.343Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] [2021-02-08T10:44:30.343Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] [2021-02-08T10:44:30.343Z] ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] [2021-02-08T10:44:30.343Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2021-02-08T10:44:30.343Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] [2021-02-08T10:44:30.343Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] [2021-02-08T10:44:30.343Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2021-02-08T10:44:30.343Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2021-02-08T10:44:30.343Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] [2021-02-08T10:44:30.343Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2021-02-08T10:44:30.343Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] [2021-02-08T10:44:30.343Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2021-02-08T10:44:30.343Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] [2021-02-08T10:44:30.343Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2021-02-08T10:44:30.343Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] [2021-02-08T10:44:30.343Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] [2021-02-08T10:44:30.343Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] [2021-02-08T10:44:30.343Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.083s coverage: 58.8% of statements [2021-02-08T10:44:30.343Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] [2021-02-08T10:44:30.343Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] [2021-02-08T10:44:30.343Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.181s coverage: 0.1% of statements [2021-02-08T10:44:30.343Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] [2021-02-08T10:44:30.343Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] [2021-02-08T10:44:30.343Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2021-02-08T10:44:30.343Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.085s coverage: 45.5% of statements [2021-02-08T10:44:30.343Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.116s coverage: 79.5% of statements [2021-02-08T10:44:30.343Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.170s coverage: 94.1% of statements [2021-02-08T10:44:30.343Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.132s coverage: 96.3% of statements [2021-02-08T10:44:30.343Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.060s coverage: 87.5% of statements [2021-02-08T10:44:31.653Z] 00ac8860ef70: Pull complete [2021-02-08T10:44:31.653Z] 63d7cb157983: Pull complete [2021-02-08T10:44:31.653Z] b116817d02f9: Pull complete [2021-02-08T10:44:34.281Z] 745a02a5169b: Pull complete [2021-02-08T10:44:34.281Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-08T10:44:34.281Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-08T10:44:34.281Z] ---> b7e6874047d6 [2021-02-08T10:44:34.281Z] Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch [2021-02-08T10:44:37.682Z] ---> Running in 182e84ee9d6e [2021-02-08T10:44:38.661Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-08T10:44:39.635Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-08T10:44:41.068Z] (1/12) Installing libmagic (5.38-r0) [2021-02-08T10:44:41.337Z] (2/12) Installing file (5.38-r0) [2021-02-08T10:44:41.338Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-02-08T10:44:41.338Z] (4/12) Installing g++ (9.3.0-r2) [2021-02-08T10:44:42.917Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.110s coverage: 94.4% of statements [2021-02-08T10:44:42.917Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.043s coverage: 44.8% of statements [2021-02-08T10:44:53.626Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.352s coverage: 92.9% of statements [2021-02-08T10:44:53.626Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2021-02-08T10:44:53.626Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2021-02-08T10:44:53.626Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2021-02-08T10:44:53.626Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2021-02-08T10:44:53.626Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.094s coverage: 87.2% of statements [2021-02-08T10:44:53.626Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2021-02-08T10:44:53.626Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2021-02-08T10:44:53.626Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.054s coverage: 100.0% of statements [2021-02-08T10:44:53.626Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2021-02-08T10:44:53.626Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.233s coverage: 75.5% of statements [2021-02-08T10:44:53.626Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2021-02-08T10:44:53.626Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.042s coverage: 80.8% of statements [2021-02-08T10:44:53.626Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.118s coverage: 87.2% of statements [2021-02-08T10:44:53.626Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.085s coverage: 84.2% of statements [2021-02-08T10:44:53.626Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.230s coverage: 91.4% of statements [2021-02-08T10:44:53.626Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2021-02-08T10:44:53.626Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.517s coverage: 63.5% of statements [2021-02-08T10:44:53.626Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2021-02-08T10:44:53.626Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2021-02-08T10:44:53.626Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.131s coverage: 100.0% of statements [2021-02-08T10:44:53.626Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.214s coverage: 91.3% of statements [2021-02-08T10:44:53.626Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.057s coverage: 100.0% of statements [2021-02-08T10:44:53.626Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.173s coverage: 73.7% of statements [2021-02-08T10:44:53.626Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.052s coverage: 100.0% of statements [2021-02-08T10:44:53.626Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.085s coverage: 68.9% of statements [2021-02-08T10:44:53.626Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2021-02-08T10:44:53.626Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2021-02-08T10:44:53.626Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis [no test files] [2021-02-08T10:44:53.626Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis/config [no test files] [2021-02-08T10:44:53.626Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis/container [no test files] [2021-02-08T10:44:53.626Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.338s coverage: 37.0% of statements [2021-02-08T10:44:53.626Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2021-02-08T10:44:53.626Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2021-02-08T10:44:53.626Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.544s coverage: 84.0% of statements [2021-02-08T10:44:53.626Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.062s coverage: 100.0% of statements [2021-02-08T10:44:56.637Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.272s coverage: 47.0% of statements [2021-02-08T10:44:56.637Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2021-02-08T10:44:56.637Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2021-02-08T10:44:56.637Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] [2021-02-08T10:44:56.637Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] [2021-02-08T10:44:56.637Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] [2021-02-08T10:44:56.637Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.184s coverage: 100.0% of statements [2021-02-08T10:44:56.637Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] [2021-02-08T10:44:56.637Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.099s coverage: 100.0% of statements [2021-02-08T10:44:56.637Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] [2021-02-08T10:44:56.637Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] [2021-02-08T10:44:56.637Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [no test files] [2021-02-08T10:44:56.637Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] [2021-02-08T10:44:56.919Z] --- FAIL: TestPatchSubscription (0.03s) [2021-02-08T10:44:56.919Z] --- FAIL: TestPatchSubscription/Invalid_-_no_id_and_name (0.00s) [2021-02-08T10:44:56.919Z] panic: runtime error: invalid memory address or nil pointer dereference [recovered] [2021-02-08T10:44:56.919Z] panic: runtime error: invalid memory address or nil pointer dereference [2021-02-08T10:44:56.919Z] [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x76c054] [2021-02-08T10:44:56.919Z] [2021-02-08T10:44:56.919Z] goroutine 67 [running]: [2021-02-08T10:44:56.919Z] testing.tRunner.func1.1(0x7e52c0, 0xa44c50) [2021-02-08T10:44:56.919Z] /usr/local/go/src/testing/testing.go:1072 +0x46a [2021-02-08T10:44:56.919Z] testing.tRunner.func1(0xc000468780) [2021-02-08T10:44:56.919Z] /usr/local/go/src/testing/testing.go:1075 +0x636 [2021-02-08T10:44:56.919Z] panic(0x7e52c0, 0xa44c50) [2021-02-08T10:44:56.919Z] /usr/local/go/src/runtime/panic.go:975 +0x47a [2021-02-08T10:44:56.919Z] github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application.PatchSubscription(0x89f040, 0xc00001c138, 0xc000474842, 0x2, 0x0, 0x0, 0xc000385ce0, 0x1, 0x4, 0xc00049e2a0, ...) [2021-02-08T10:44:56.919Z] /w/workspace/edgex-go/1/internal/support/notifications/v2/application/subscription.go:147 +0xc74 [2021-02-08T10:44:56.919Z] github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http.(*SubscriptionController).PatchSubscription(0xc0003f6820, 0x89e880, 0xc0004907c0, 0xc00041c900) [2021-02-08T10:44:56.919Z] /w/workspace/edgex-go/1/internal/support/notifications/v2/controller/http/subscription.go:327 +0x525 [2021-02-08T10:44:56.919Z] net/http.HandlerFunc.ServeHTTP(...) [2021-02-08T10:44:56.919Z] /usr/local/go/src/net/http/server.go:2042 [2021-02-08T10:44:56.919Z] github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http.TestPatchSubscription.func2(0xc000468780) [2021-02-08T10:44:56.919Z] /w/workspace/edgex-go/1/internal/support/notifications/v2/controller/http/subscription_test.go:719 +0x40e [2021-02-08T10:44:56.919Z] testing.tRunner(0xc000468780, 0xc00044b470) [2021-02-08T10:44:56.919Z] /usr/local/go/src/testing/testing.go:1123 +0x203 [2021-02-08T10:44:56.919Z] created by testing.(*T).Run [2021-02-08T10:44:56.919Z] /usr/local/go/src/testing/testing.go:1168 +0x5bc [2021-02-08T10:44:56.919Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.116s [2021-02-08T10:44:56.919Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] [2021-02-08T10:44:56.919Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] [2021-02-08T10:44:56.919Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] [2021-02-08T10:45:00.533Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 1.026s coverage: 29.1% of statements [2021-02-08T10:45:00.533Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2021-02-08T10:45:00.533Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2021-02-08T10:45:00.533Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] [2021-02-08T10:45:00.533Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] [2021-02-08T10:45:00.533Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] [2021-02-08T10:45:00.533Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.090s coverage: 99.0% of statements [2021-02-08T10:45:00.533Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] [2021-02-08T10:45:00.533Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.091s coverage: 100.0% of statements [2021-02-08T10:45:00.533Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] [2021-02-08T10:45:00.533Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] [2021-02-08T10:45:00.533Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] [2021-02-08T10:45:00.533Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] [2021-02-08T10:45:00.533Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.163s coverage: 100.0% of statements [2021-02-08T10:45:00.533Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] [2021-02-08T10:45:00.533Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] [2021-02-08T10:45:00.533Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] [2021-02-08T10:45:00.533Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.111s coverage: 0.0% of statements [2021-02-08T10:45:00.533Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2021-02-08T10:45:00.533Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.041s coverage: 100.0% of statements [2021-02-08T10:45:00.533Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] [2021-02-08T10:45:00.533Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2021-02-08T10:45:00.533Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2021-02-08T10:45:00.533Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] [2021-02-08T10:45:00.817Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.135s coverage: 87.9% of statements [2021-02-08T10:45:00.817Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] [2021-02-08T10:45:00.817Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2021-02-08T10:45:01.090Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.052s coverage: 100.0% of statements [2021-02-08T10:45:01.748Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.131s coverage: 32.1% of statements [2021-02-08T10:45:02.057Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.056s coverage: 100.0% of statements [2021-02-08T10:45:02.057Z] FAIL [2021-02-08T10:45:02.667Z] make: *** [Makefile:98: test] Error 1 [Pipeline] } [2021-02-08T10:45:02.766Z] $ docker stop --time=1 80b0d88517bbb0c4cad5a54fa43d9d66f482d31f2a9fc198d08be64b19164625 [2021-02-08T10:45:06.677Z] $ docker rm -f 80b0d88517bbb0c4cad5a54fa43d9d66f482d31f2a9fc198d08be64b19164625 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2021-02-08T10:45:08.088Z] (5/12) Installing fortify-headers (1.1-r0) [2021-02-08T10:45:08.088Z] (6/12) Installing patch (2.7.6-r6) [2021-02-08T10:45:08.088Z] (7/12) Installing build-base (0.5-r2) [2021-02-08T10:45:08.088Z] (8/12) Installing libsodium (1.0.18-r0) [2021-02-08T10:45:08.088Z] (9/12) Installing pkgconf (1.7.2-r0) [2021-02-08T10:45:08.088Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-02-08T10:45:08.088Z] (11/12) Installing libzmq (4.3.3-r0) [2021-02-08T10:45:08.088Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2021-02-08T10:45:08.088Z] Executing busybox-1.31.1-r19.trigger [2021-02-08T10:45:08.088Z] OK: 217 MiB in 51 packages 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] // stage [Pipeline] } [2021-02-08T10:45:08.975Z] Failed in branch amd64 [2021-02-08T10:45:10.098Z] Removing intermediate container 182e84ee9d6e [2021-02-08T10:45:10.098Z] ---> e8d59b5150e6 [2021-02-08T10:45:10.098Z] Step 4/6 : WORKDIR /edgex-go [2021-02-08T10:45:10.098Z] ---> Running in ac584e855b61 [2021-02-08T10:45:10.696Z] Removing intermediate container ac584e855b61 [2021-02-08T10:45:10.696Z] ---> 53f7ca4a1198 [2021-02-08T10:45:10.696Z] Step 5/6 : COPY go.mod . [2021-02-08T10:45:11.297Z] ---> 5e3d9af665eb [2021-02-08T10:45:11.297Z] Step 6/6 : RUN go mod download [2021-02-08T10:45:11.573Z] ---> Running in 9adc5ece72cf [2021-02-08T10:45:38.356Z] Removing intermediate container 9adc5ece72cf [2021-02-08T10:45:38.356Z] ---> 86c60cca95d7 [2021-02-08T10:45:38.356Z] Successfully built 86c60cca95d7 [2021-02-08T10:45:38.356Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-08T10:45:38.734Z] + docker inspect -f . ci-base-image-arm64 [2021-02-08T10:45:38.734Z] . [Pipeline] withDockerContainer [2021-02-08T10:45:38.986Z] prd-ubuntu18.04-docker-arm64-4c-16g-25556 does not seem to be running inside a container [2021-02-08T10:45:39.071Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-08T10:45:40.517Z] $ docker top 4e5af12659c924a15295b037c80d4f835339cf9aa3d132da6f95d1b470e7b450 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-08T10:45:41.604Z] + go version [2021-02-08T10:45:41.604Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-08T10:45:41.634Z] $ docker stop --time=1 4e5af12659c924a15295b037c80d4f835339cf9aa3d132da6f95d1b470e7b450 [2021-02-08T10:45:43.554Z] $ docker rm -f 4e5af12659c924a15295b037c80d4f835339cf9aa3d132da6f95d1b470e7b450 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-08T10:45:44.798Z] + docker inspect -f . ci-base-image-arm64 [2021-02-08T10:45:44.798Z] . [Pipeline] withDockerContainer [2021-02-08T10:45:45.039Z] prd-ubuntu18.04-docker-arm64-4c-16g-25556 does not seem to be running inside a container [2021-02-08T10:45:45.156Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-08T10:45:46.456Z] $ docker top b406dfae9bb6562f025887dafd9731bd4f00cb889635b8f7f99f66ed025e34f3 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-02-08T10:45:46.863Z] ========================================================= [2021-02-08T10:45:46.863Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-02-08T10:45:46.863Z] ========================================================= [Pipeline] sh [2021-02-08T10:45:47.521Z] + make test [2021-02-08T10:45:47.522Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-08T10:46:09.683Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-02-08T10:46:56.697Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-02-08T10:47:00.102Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-02-08T10:47:08.409Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2021-02-08T10:47:08.409Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2021-02-08T10:47:08.409Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrap-redis [no test files] [2021-02-08T10:47:11.987Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2021-02-08T10:47:11.987Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2021-02-08T10:47:11.987Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2021-02-08T10:47:11.987Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2021-02-08T10:47:11.987Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2021-02-08T10:47:14.301Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2021-02-08T10:47:21.031Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2021-02-08T10:47:21.031Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2021-02-08T10:47:21.031Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2021-02-08T10:47:27.774Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.321s coverage: 45.6% of statements [2021-02-08T10:47:27.774Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2021-02-08T10:47:27.774Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2021-02-08T10:47:27.774Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] [2021-02-08T10:47:27.774Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] [2021-02-08T10:47:27.774Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] [2021-02-08T10:47:27.774Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] [2021-02-08T10:47:27.774Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/v2/application [no test files] [2021-02-08T10:47:27.774Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.256s coverage: 100.0% of statements [2021-02-08T10:47:34.536Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.578s coverage: 27.1% of statements [2021-02-08T10:47:34.536Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2021-02-08T10:47:34.536Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2021-02-08T10:47:34.536Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] [2021-02-08T10:47:34.536Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] [2021-02-08T10:47:34.536Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] [2021-02-08T10:47:34.536Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2021-02-08T10:47:34.536Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.067s coverage: 100.0% of statements [2021-02-08T10:47:34.536Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] [2021-02-08T10:47:34.536Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.087s coverage: 100.0% of statements [2021-02-08T10:47:34.536Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] [2021-02-08T10:47:34.536Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] [2021-02-08T10:47:34.810Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.243s coverage: 65.8% of statements [2021-02-08T10:47:34.810Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] [2021-02-08T10:47:34.810Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] [2021-02-08T10:47:36.802Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.728s coverage: 82.3% of statements [2021-02-08T10:47:36.802Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] [2021-02-08T10:47:36.802Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] [2021-02-08T10:47:36.803Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] [2021-02-08T10:47:36.803Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] [2021-02-08T10:47:43.540Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.142s coverage: 28.6% of statements [2021-02-08T10:47:43.540Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2021-02-08T10:47:43.540Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2021-02-08T10:47:43.540Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] [2021-02-08T10:47:43.540Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] [2021-02-08T10:47:43.540Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] [2021-02-08T10:47:43.540Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.191s coverage: 100.0% of statements [2021-02-08T10:47:43.540Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] [2021-02-08T10:47:43.540Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.111s coverage: 100.0% of statements [2021-02-08T10:47:43.540Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] [2021-02-08T10:47:43.540Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.382s coverage: 86.7% of statements [2021-02-08T10:47:43.540Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] [2021-02-08T10:47:44.985Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.376s coverage: 97.5% of statements [2021-02-08T10:47:44.985Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] [2021-02-08T10:47:44.985Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.144s coverage: 78.3% of statements [2021-02-08T10:47:44.985Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] [2021-02-08T10:47:44.985Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] [2021-02-08T10:47:44.985Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] [2021-02-08T10:47:44.985Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] [2021-02-08T10:47:55.243Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.279s coverage: 92.8% of statements [2021-02-08T10:47:55.243Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] [2021-02-08T10:47:55.243Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] [2021-02-08T10:47:55.243Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] [2021-02-08T10:47:55.243Z] ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] [2021-02-08T10:47:55.243Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2021-02-08T10:47:55.243Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] [2021-02-08T10:47:55.243Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] [2021-02-08T10:47:55.243Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2021-02-08T10:47:55.243Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2021-02-08T10:47:55.243Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] [2021-02-08T10:47:55.243Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2021-02-08T10:47:55.243Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] [2021-02-08T10:47:55.243Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2021-02-08T10:47:55.243Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] [2021-02-08T10:47:55.243Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2021-02-08T10:47:55.243Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] [2021-02-08T10:47:55.243Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] [2021-02-08T10:47:55.243Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] [2021-02-08T10:47:55.243Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.049s coverage: 58.8% of statements [2021-02-08T10:47:55.243Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] [2021-02-08T10:47:55.243Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] [2021-02-08T10:47:55.243Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.267s coverage: 0.1% of statements [2021-02-08T10:47:55.243Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] [2021-02-08T10:47:55.243Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] [2021-02-08T10:47:55.243Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2021-02-08T10:47:55.243Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.072s coverage: 45.5% of statements [2021-02-08T10:47:55.243Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.102s coverage: 79.5% of statements [2021-02-08T10:47:55.243Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.048s coverage: 94.1% of statements [2021-02-08T10:47:55.243Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.102s coverage: 96.3% of statements [2021-02-08T10:47:55.243Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.063s coverage: 87.5% of statements [2021-02-08T10:48:05.400Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 10.091s coverage: 94.4% of statements [2021-02-08T10:48:05.400Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.096s coverage: 44.8% of statements [2021-02-08T10:48:20.509Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.125s coverage: 92.9% of statements [2021-02-08T10:48:20.509Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2021-02-08T10:48:20.509Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2021-02-08T10:48:20.509Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2021-02-08T10:48:20.509Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2021-02-08T10:48:20.509Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.073s coverage: 87.2% of statements [2021-02-08T10:48:20.509Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2021-02-08T10:48:20.509Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2021-02-08T10:48:20.509Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.056s coverage: 100.0% of statements [2021-02-08T10:48:20.509Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2021-02-08T10:48:20.509Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.080s coverage: 75.5% of statements [2021-02-08T10:48:20.509Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2021-02-08T10:48:20.509Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.055s coverage: 80.8% of statements [2021-02-08T10:48:20.510Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.118s coverage: 87.2% of statements [2021-02-08T10:48:20.510Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.131s coverage: 84.2% of statements [2021-02-08T10:48:20.510Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.183s coverage: 91.4% of statements [2021-02-08T10:48:20.510Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2021-02-08T10:48:20.510Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.493s coverage: 63.5% of statements [2021-02-08T10:48:20.510Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2021-02-08T10:48:20.510Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2021-02-08T10:48:20.510Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.058s coverage: 100.0% of statements [2021-02-08T10:48:20.510Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.092s coverage: 91.3% of statements [2021-02-08T10:48:20.510Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.059s coverage: 100.0% of statements [2021-02-08T10:48:20.510Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.082s coverage: 73.7% of statements [2021-02-08T10:48:20.510Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.047s coverage: 100.0% of statements [2021-02-08T10:48:20.510Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.757s coverage: 68.9% of statements [2021-02-08T10:48:20.510Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2021-02-08T10:48:20.510Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2021-02-08T10:48:20.510Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis [no test files] [2021-02-08T10:48:20.510Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis/config [no test files] [2021-02-08T10:48:20.510Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis/container [no test files] [2021-02-08T10:48:20.510Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.368s coverage: 37.0% of statements [2021-02-08T10:48:20.510Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2021-02-08T10:48:20.510Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2021-02-08T10:48:20.510Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 1.447s coverage: 84.0% of statements [2021-02-08T10:48:20.510Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.078s coverage: 100.0% of statements [2021-02-08T10:48:28.799Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.473s coverage: 47.0% of statements [2021-02-08T10:48:28.799Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2021-02-08T10:48:28.799Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2021-02-08T10:48:28.799Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] [2021-02-08T10:48:28.799Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] [2021-02-08T10:48:28.799Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] [2021-02-08T10:48:28.799Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.162s coverage: 100.0% of statements [2021-02-08T10:48:28.799Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] [2021-02-08T10:48:28.799Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.100s coverage: 100.0% of statements [2021-02-08T10:48:28.799Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] [2021-02-08T10:48:28.799Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] [2021-02-08T10:48:28.799Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [no test files] [2021-02-08T10:48:28.799Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] [2021-02-08T10:48:28.799Z] --- FAIL: TestPatchSubscription (0.05s) [2021-02-08T10:48:28.799Z] --- FAIL: TestPatchSubscription/Invalid_-_no_id_and_name (0.00s) [2021-02-08T10:48:28.799Z] panic: runtime error: invalid memory address or nil pointer dereference [recovered] [2021-02-08T10:48:28.799Z] panic: runtime error: invalid memory address or nil pointer dereference [2021-02-08T10:48:28.799Z] [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x2da64c] [2021-02-08T10:48:28.799Z] [2021-02-08T10:48:28.799Z] goroutine 39 [running]: [2021-02-08T10:48:28.799Z] testing.tRunner.func1.1(0x345540, 0x5a5a90) [2021-02-08T10:48:28.799Z] /usr/local/go/src/testing/testing.go:1072 +0x320 [2021-02-08T10:48:28.799Z] testing.tRunner.func1(0x4000368180) [2021-02-08T10:48:28.799Z] /usr/local/go/src/testing/testing.go:1075 +0x460 [2021-02-08T10:48:28.799Z] panic(0x345540, 0x5a5a90) [2021-02-08T10:48:28.799Z] /usr/local/go/src/runtime/panic.go:975 +0x420 [2021-02-08T10:48:28.799Z] github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application.PatchSubscription(0x3ffec0, 0x40000b0010, 0x40003fa6d2, 0x2, 0x0, 0x0, 0x40003807e0, 0x1, 0x4, 0x40003e8c90, ...) [2021-02-08T10:48:28.799Z] /w/workspace/edgex-go/1/internal/support/notifications/v2/application/subscription.go:147 +0x8fc [2021-02-08T10:48:28.799Z] github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http.(*SubscriptionController).PatchSubscription(0x400000f5a0, 0x3ff6c0, 0x40003e5700, 0x4000502100) [2021-02-08T10:48:28.799Z] /w/workspace/edgex-go/1/internal/support/notifications/v2/controller/http/subscription.go:327 +0x3b4 [2021-02-08T10:48:28.799Z] net/http.HandlerFunc.ServeHTTP(...) [2021-02-08T10:48:28.799Z] /usr/local/go/src/net/http/server.go:2042 [2021-02-08T10:48:28.799Z] github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http.TestPatchSubscription.func2(0x4000368180) [2021-02-08T10:48:28.799Z] /w/workspace/edgex-go/1/internal/support/notifications/v2/controller/http/subscription_test.go:719 +0x334 [2021-02-08T10:48:28.799Z] testing.tRunner(0x4000368180, 0x4000360630) [2021-02-08T10:48:28.800Z] /usr/local/go/src/testing/testing.go:1123 +0x174 [2021-02-08T10:48:28.800Z] created by testing.(*T).Run [2021-02-08T10:48:28.800Z] /usr/local/go/src/testing/testing.go:1168 +0x43c [2021-02-08T10:48:28.800Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.353s [2021-02-08T10:48:28.800Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] [2021-02-08T10:48:28.800Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] [2021-02-08T10:48:28.800Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] [2021-02-08T10:48:35.511Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 2.990s coverage: 29.1% of statements [2021-02-08T10:48:35.511Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2021-02-08T10:48:35.511Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2021-02-08T10:48:35.511Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] [2021-02-08T10:48:35.511Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] [2021-02-08T10:48:35.511Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] [2021-02-08T10:48:35.511Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.182s coverage: 99.0% of statements [2021-02-08T10:48:35.511Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] [2021-02-08T10:48:35.511Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.157s coverage: 100.0% of statements [2021-02-08T10:48:35.511Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] [2021-02-08T10:48:35.511Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] [2021-02-08T10:48:35.511Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] [2021-02-08T10:48:35.511Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] [2021-02-08T10:48:35.511Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.174s coverage: 100.0% of statements [2021-02-08T10:48:35.511Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] [2021-02-08T10:48:35.511Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] [2021-02-08T10:48:35.511Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] [2021-02-08T10:48:35.511Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.045s coverage: 0.0% of statements [2021-02-08T10:48:35.511Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2021-02-08T10:48:35.511Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.047s coverage: 100.0% of statements [2021-02-08T10:48:35.511Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] [2021-02-08T10:48:35.511Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2021-02-08T10:48:35.511Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2021-02-08T10:48:35.511Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] [2021-02-08T10:48:35.511Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.100s coverage: 87.9% of statements [2021-02-08T10:48:35.511Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] [2021-02-08T10:48:35.511Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2021-02-08T10:48:35.511Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.060s coverage: 100.0% of statements [2021-02-08T10:48:35.784Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.058s coverage: 32.1% of statements [2021-02-08T10:48:36.056Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.077s coverage: 100.0% of statements [2021-02-08T10:48:36.056Z] FAIL [2021-02-08T10:48:37.029Z] make: *** [Makefile:98: test] Error 1 [Pipeline] } [2021-02-08T10:48:37.089Z] $ docker stop --time=1 b406dfae9bb6562f025887dafd9731bd4f00cb889635b8f7f99f66ed025e34f3 [2021-02-08T10:48:39.369Z] $ docker rm -f b406dfae9bb6562f025887dafd9731bd4f00cb889635b8f7f99f66ed025e34f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker 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-02-08T10:48:42.548Z] 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 Scan) Stage "Snyk 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] { (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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-02-08T10:48:46.248Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-08T10:48:47.623Z] ---> package-listing.sh [2021-02-08T10:48:47.623Z] ++ facter osfamily [2021-02-08T10:48:47.623Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-08T10:48:47.891Z] + OS_FAMILY=redhat [2021-02-08T10:48:47.891Z] + workspace=/w/workspace/edgex-go/1 [2021-02-08T10:48:47.891Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-08T10:48:47.891Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-08T10:48:47.891Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-08T10:48:47.891Z] + PACKAGES=/tmp/packages_start.txt [2021-02-08T10:48:47.891Z] + '[' /w/workspace/edgex-go/1 ']' [2021-02-08T10:48:47.891Z] + PACKAGES=/tmp/packages_end.txt [2021-02-08T10:48:47.891Z] + case "${OS_FAMILY}" in [2021-02-08T10:48:47.891Z] + rpm -qa [2021-02-08T10:48:47.891Z] + sort [2021-02-08T10:48:54.700Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-08T10:48:54.700Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-08T10:48:54.700Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-08T10:48:54.700Z] + '[' /w/workspace/edgex-go/1 ']' [2021-02-08T10:48:54.700Z] + mkdir -p /w/workspace/edgex-go/1/archives/ [2021-02-08T10:48:54.700Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo [2021-02-08T10:48:54.749Z] 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/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-08T10:48:55.103Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-08T10:48:55.820Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-08T10:48:56.192Z] [2021-02-08T10:48:56.192Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-08T10:48:56.752Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-08T10:48:57.035Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-08T10:48:57.035Z] df20fa9351a1: Pulling fs layer [2021-02-08T10:48:57.035Z] 36b3adc4ff6f: Pulling fs layer [2021-02-08T10:48:57.035Z] 8ad3a11d3b57: Pulling fs layer [2021-02-08T10:48:57.035Z] 46f8f816bc3b: Pulling fs layer [2021-02-08T10:48:57.035Z] 93b61091891f: Pulling fs layer [2021-02-08T10:48:57.035Z] 93b9cdb0e59b: Pulling fs layer [2021-02-08T10:48:57.035Z] 5e14af77c1be: Pulling fs layer [2021-02-08T10:48:57.035Z] 01666e4c0597: Pulling fs layer [2021-02-08T10:48:57.035Z] aa168da1d23b: Pulling fs layer [2021-02-08T10:48:57.035Z] 93b61091891f: Waiting [2021-02-08T10:48:57.035Z] 93b9cdb0e59b: Waiting [2021-02-08T10:48:57.035Z] 5e14af77c1be: Waiting [2021-02-08T10:48:57.035Z] 01666e4c0597: Waiting [2021-02-08T10:48:57.035Z] aa168da1d23b: Waiting [2021-02-08T10:48:57.035Z] 46f8f816bc3b: Waiting [2021-02-08T10:48:57.035Z] 36b3adc4ff6f: Verifying Checksum [2021-02-08T10:48:57.035Z] 36b3adc4ff6f: Download complete [2021-02-08T10:48:57.035Z] 46f8f816bc3b: Verifying Checksum [2021-02-08T10:48:57.035Z] 46f8f816bc3b: Download complete [2021-02-08T10:48:57.323Z] df20fa9351a1: Verifying Checksum [2021-02-08T10:48:57.323Z] df20fa9351a1: Download complete [2021-02-08T10:48:57.323Z] 93b9cdb0e59b: Verifying Checksum [2021-02-08T10:48:57.323Z] 93b9cdb0e59b: Download complete [2021-02-08T10:48:57.323Z] 93b61091891f: Verifying Checksum [2021-02-08T10:48:57.323Z] 93b61091891f: Download complete [2021-02-08T10:48:57.323Z] 01666e4c0597: Verifying Checksum [2021-02-08T10:48:57.323Z] 01666e4c0597: Download complete [2021-02-08T10:48:57.953Z] df20fa9351a1: Pull complete [2021-02-08T10:48:57.954Z] 5e14af77c1be: Verifying Checksum [2021-02-08T10:48:57.954Z] 5e14af77c1be: Download complete [2021-02-08T10:48:58.239Z] 8ad3a11d3b57: Verifying Checksum [2021-02-08T10:48:58.239Z] 8ad3a11d3b57: Download complete [2021-02-08T10:48:58.239Z] 36b3adc4ff6f: Pull complete [2021-02-08T10:49:00.542Z] 8ad3a11d3b57: Pull complete [2021-02-08T10:49:00.542Z] 46f8f816bc3b: Pull complete [2021-02-08T10:49:01.125Z] 93b61091891f: Pull complete [2021-02-08T10:49:01.686Z] 93b9cdb0e59b: Pull complete [2021-02-08T10:49:01.686Z] 5e14af77c1be: Pull complete [2021-02-08T10:49:02.144Z] 01666e4c0597: Pull complete [2021-02-08T10:49:05.200Z] aa168da1d23b: Verifying Checksum [2021-02-08T10:49:05.200Z] aa168da1d23b: Download complete [2021-02-08T10:49:25.060Z] aa168da1d23b: Pull complete [2021-02-08T10:49:25.060Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-08T10:49:25.060Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-08T10:49:25.060Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-08T10:49:25.534Z] prd-centos7-docker-4c-2g-25555 does not seem to be running inside a container [2021-02-08T10:49:25.803Z] $ 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/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-08T10:49:28.797Z] $ docker top 8398ebfd155cb650912cdc91791edaa9de6c3085211a6e2c87e379e9e6f89448 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-08T10:49:29.769Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-08T10:49:30.159Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-08T10:49:31.032Z] + ls /var/log/sa-host [2021-02-08T10:49:31.032Z] + sadf -c /var/log/sa-host/sa08 [2021-02-08T10:49:31.032Z] file_magic: OK [2021-02-08T10:49:31.032Z] HZ: Using current value: 100 [2021-02-08T10:49:31.032Z] file_header: OK [2021-02-08T10:49:31.032Z] 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-02-08T10:49:31.032Z] Statistics: [2021-02-08T10:49:31.032Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-08T10:49:31.032Z] File successfully converted to sysstat format version 12.2.1 [2021-02-08T10:49:31.032Z] + sadf -c /var/log/sa-host/sa23 [2021-02-08T10:49:31.032Z] file_magic: OK [2021-02-08T10:49:31.032Z] HZ: Using current value: 100 [2021-02-08T10:49:31.032Z] file_header: OK [2021-02-08T10:49:31.032Z] 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-02-08T10:49:31.032Z] Statistics: [2021-02-08T10:49:31.032Z] Hnuu...uuuununununu... [2021-02-08T10:49:31.032Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-08T10:49:31.380Z] provisioning config files... [2021-02-08T10:49:31.445Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config4513687425032477650tmp [Pipeline] { [Pipeline] echo [2021-02-08T10:49:31.601Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-08T10:49:32.065Z] ---> create-netrc.sh [Pipeline] } [2021-02-08T10:49:32.363Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-08T10:49:32.518Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-08T10:49:32.931Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-08T10:49:32.968Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-08T10:49:33.699Z] ---> sudo-logs.sh [2021-02-08T10:49:33.699Z] Archiving 'sudo' log.. [Pipeline] echo [2021-02-08T10:49:33.742Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-08T10:49:34.119Z] ---> job-cost.sh [2021-02-08T10:49:34.426Z] lf-activate-venv: SKIPPING [2021-02-08T10:49:34.426Z] INFO: No Stack... [2021-02-08T10:49:35.508Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-08T10:49:36.192Z] INFO: Archiving Costs [Pipeline] echo [2021-02-08T10:49:36.255Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-08T10:49:37.275Z] ---> logs-deploy.sh [2021-02-08T10:49:37.275Z] lf-activate-venv: SKIPPING [2021-02-08T10:49:37.275Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3146/1 [2021-02-08T10:49:37.275Z] INFO: archiving workspace using pattern(s): [2021-02-08T10:49:39.422Z] Archives upload complete. [2021-02-08T10:49:39.705Z] INFO: archiving logs to Nexus