Pull request #3435 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 weichou1229 for edgexfoundry/edgex-go Loading trusted files from base branch master at 3103214cdd745ba99e56243b14eeb2a0a0c23a57 rather than 1b1ba0db0b1d7e3e6ace3e52a5df6ac98400f8db Obtained Jenkinsfile from 3103214cdd745ba99e56243b14eeb2a0a0c23a57 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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-3435/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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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-3435/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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3512’ is offline Running on prd-centos7-docker-4c-2g-3516 in /w/workspace/edgexfoundry_edgex-go_PR-3435 [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/3435/head:refs/remotes/origin/PR-3435 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3103214cdd745ba99e56243b14eeb2a0a0c23a57 into PR head commit 1b1ba0db0b1d7e3e6ace3e52a5df6ac98400f8db Merge succeeded, producing 1b1ba0db0b1d7e3e6ace3e52a5df6ac98400f8db Checking out Revision 1b1ba0db0b1d7e3e6ace3e52a5df6ac98400f8db (PR-3435) > git config core.sparsecheckout # timeout=10 > git checkout -f 1b1ba0db0b1d7e3e6ace3e52a5df6ac98400f8db # 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 3103214cdd745ba99e56243b14eeb2a0a0c23a57 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1b1ba0db0b1d7e3e6ace3e52a5df6ac98400f8db # timeout=10 Commit message: "feat(command): Add parameters field to Core Command V2 API" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-07T10:07:58.761Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-07T10:07:58.992Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-07T10:07:59.106Z] ========================================================= [2021-05-07T10:07:59.106Z] EdgeX Global Pipelines Version Info [2021-05-07T10:07:59.106Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-07T10:08:03.231Z] ------------------- [2021-05-07T10:08:03.232Z] stable info: [2021-05-07T10:08:03.232Z] ------------------- [2021-05-07T10:08:03.232Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-07T10:08:03.232Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-07T10:08:03.232Z] Message: update stable to v1.0.191 [2021-05-07T10:08:04.266Z] ------------------- [2021-05-07T10:08:04.266Z] experimental info: [2021-05-07T10:08:04.266Z] ------------------- [2021-05-07T10:08:04.266Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-07T10:08:04.266Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-07T10:08:04.266Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-07T10:08:04.621Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-05-07T10:08:04.673Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-05-07T10:08:04.726Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-07T10:08:04.780Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-07T10:08:04.834Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-07T10:08:04.892Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-07T10:08:04.948Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-07T10:08:05.002Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-05-07T10:08:05.057Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo [2021-05-07T10:08:05.113Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo [2021-05-07T10:08:05.168Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-07T10:08:05.223Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-07T10:08:05.278Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-07T10:08:05.354Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-07T10:08:05.408Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-07T10:08:05.461Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-07T10:08:05.517Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-07T10:08:05.572Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-07T10:08:05.627Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-07T10:08:05.680Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-07T10:08:05.738Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-05-07T10:08:05.793Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-07T10:08:05.857Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3435 [Pipeline] echo [2021-05-07T10:08:05.912Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3435 [Pipeline] echo [2021-05-07T10:08:05.967Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3435 [Pipeline] echo [2021-05-07T10:08:06.024Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1b1ba0db0b1d7e3e6ace3e52a5df6ac98400f8db [Pipeline] echo [2021-05-07T10:08:06.081Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1b1ba0d [Pipeline] echo [2021-05-07T10:08:06.137Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-07T10:08:06.296Z] provisioning config files... [2021-05-07T10:08:06.408Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config6339371545917779555tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-07T10:08:06.912Z] ---> docker-login.sh [2021-05-07T10:08:06.912Z] nexus3.edgexfoundry.org:10001 [2021-05-07T10:08:07.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T10:08:07.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T10:08:07.800Z] Configure a credential helper to remove this warning. See [2021-05-07T10:08:07.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T10:08:07.800Z] [2021-05-07T10:08:07.800Z] Login Succeeded [2021-05-07T10:08:07.800Z] nexus3.edgexfoundry.org:10002 [2021-05-07T10:08:08.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T10:08:08.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T10:08:08.101Z] Configure a credential helper to remove this warning. See [2021-05-07T10:08:08.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T10:08:08.101Z] [2021-05-07T10:08:08.101Z] Login Succeeded [2021-05-07T10:08:08.102Z] nexus3.edgexfoundry.org:10003 [2021-05-07T10:08:08.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T10:08:08.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T10:08:08.374Z] Configure a credential helper to remove this warning. See [2021-05-07T10:08:08.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T10:08:08.374Z] [2021-05-07T10:08:08.374Z] Login Succeeded [2021-05-07T10:08:08.374Z] nexus3.edgexfoundry.org:10004 [2021-05-07T10:08:08.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T10:08:08.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T10:08:08.664Z] Configure a credential helper to remove this warning. See [2021-05-07T10:08:08.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T10:08:08.664Z] [2021-05-07T10:08:08.664Z] Login Succeeded [2021-05-07T10:08:08.664Z] docker.io [2021-05-07T10:08:08.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T10:08:09.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T10:08:09.228Z] Configure a credential helper to remove this warning. See [2021-05-07T10:08:09.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T10:08:09.228Z] [2021-05-07T10:08:09.228Z] Login Succeeded [2021-05-07T10:08:09.228Z] ---> docker-login.sh ends [Pipeline] } [2021-05-07T10:08:09.291Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-07T10:08:09.769Z] ++ 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-05-07T10:08:09.769Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-07T10:08:09.769Z] ++ dirname cmd/core-command/Dockerfile [2021-05-07T10:08:09.769Z] ++ cut -d/ -f2 [2021-05-07T10:08:09.769Z] + echo core-command,cmd/core-command/Dockerfile [2021-05-07T10:08:09.769Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-07T10:08:09.769Z] ++ cut -d/ -f2 [2021-05-07T10:08:09.769Z] ++ dirname cmd/core-data/Dockerfile [2021-05-07T10:08:09.769Z] + echo core-data,cmd/core-data/Dockerfile [2021-05-07T10:08:09.769Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-07T10:08:09.769Z] ++ dirname cmd/core-metadata/Dockerfile [2021-05-07T10:08:09.769Z] ++ cut -d/ -f2 [2021-05-07T10:08:09.769Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-05-07T10:08:09.769Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-07T10:08:09.769Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-05-07T10:08:09.769Z] ++ cut -d/ -f2 [2021-05-07T10:08:09.769Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-05-07T10:08:09.769Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-07T10:08:09.769Z] ++ cut -d/ -f2 [2021-05-07T10:08:09.769Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-05-07T10:08:09.769Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-05-07T10:08:09.769Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-07T10:08:09.769Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-05-07T10:08:09.769Z] ++ cut -d/ -f2 [2021-05-07T10:08:09.769Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-05-07T10:08:09.769Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-07T10:08:09.769Z] ++ dirname cmd/support-notifications/Dockerfile [2021-05-07T10:08:09.769Z] ++ cut -d/ -f2 [2021-05-07T10:08:09.769Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-05-07T10:08:09.769Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-07T10:08:09.769Z] ++ cut -d/ -f2 [2021-05-07T10:08:09.769Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-05-07T10:08:09.769Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-05-07T10:08:09.769Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-07T10:08:09.769Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-05-07T10:08:09.769Z] ++ cut -d/ -f2 [2021-05-07T10:08:09.770Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-05-07T10:08:09.982Z] 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-05-07T10:08:11.570Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T10:08:11.856Z] [2021-05-07T10:08:11.856Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-07T10:08:12.566Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T10:08:12.881Z] latest: Pulling from edgex-devops/git-semver [2021-05-07T10:08:12.881Z] 31603596830f: Pulling fs layer [2021-05-07T10:08:12.881Z] 54011a49482f: Pulling fs layer [2021-05-07T10:08:12.881Z] a6820b24f6d8: Pulling fs layer [2021-05-07T10:08:12.881Z] f581987b2513: Pulling fs layer [2021-05-07T10:08:12.881Z] f581987b2513: Waiting [2021-05-07T10:08:12.881Z] 54011a49482f: Verifying Checksum [2021-05-07T10:08:12.881Z] 54011a49482f: Download complete [2021-05-07T10:08:13.191Z] 31603596830f: Verifying Checksum [2021-05-07T10:08:13.191Z] 31603596830f: Download complete [2021-05-07T10:08:13.510Z] f581987b2513: Verifying Checksum [2021-05-07T10:08:13.510Z] f581987b2513: Download complete [2021-05-07T10:08:13.510Z] a6820b24f6d8: Verifying Checksum [2021-05-07T10:08:13.510Z] a6820b24f6d8: Download complete [2021-05-07T10:08:14.205Z] 31603596830f: Pull complete [2021-05-07T10:08:14.527Z] 54011a49482f: Pull complete [2021-05-07T10:08:17.332Z] a6820b24f6d8: Pull complete [2021-05-07T10:08:17.959Z] f581987b2513: Pull complete [2021-05-07T10:08:17.959Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-07T10:08:17.959Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T10:08:17.959Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-07T10:08:18.215Z] prd-centos7-docker-4c-2g-3516 does not seem to be running inside a container [2021-05-07T10:08:18.337Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-07T10:08:21.578Z] $ docker top 404f3079d26302ed22e9b74ab587b3d39958b8e622e134d74926fccaf3fd2e44 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-07T10:08:22.126Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-07T10:08:22.126Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-07T10:08:22.858Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-07T10:08:22.864Z] $ docker exec 404f3079d26302ed22e9b74ab587b3d39958b8e622e134d74926fccaf3fd2e44 ssh-agent [2021-05-07T10:08:23.468Z] SSH_AUTH_SOCK=/tmp/ssh-Xeu26Mt3ubaB/agent.12 [2021-05-07T10:08:23.469Z] SSH_AGENT_PID=17 [2021-05-07T10:08:23.512Z] Running ssh-add (command line suppressed) [2021-05-07T10:08:23.931Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_1700537418918615889.key (/w/workspace/edgex-go/1@tmp/private_key_1700537418918615889.key) [2021-05-07T10:08:24.083Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-07T10:08:24.887Z] + git tag --points-at HEAD [Pipeline] } [2021-05-07T10:08:24.937Z] $ docker exec --env ******** --env ******** 404f3079d26302ed22e9b74ab587b3d39958b8e622e134d74926fccaf3fd2e44 ssh-agent -k [2021-05-07T10:08:25.176Z] unset SSH_AUTH_SOCK; [2021-05-07T10:08:25.177Z] unset SSH_AGENT_PID; [2021-05-07T10:08:25.177Z] echo Agent pid 17 killed; [2021-05-07T10:08:25.313Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-07T10:08:25.417Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-07T10:08:25.417Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-07T10:08:25.835Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-07T10:08:25.840Z] $ docker exec 404f3079d26302ed22e9b74ab587b3d39958b8e622e134d74926fccaf3fd2e44 ssh-agent [2021-05-07T10:08:26.409Z] SSH_AUTH_SOCK=/tmp/ssh-s81kuGBlfFsU/agent.45 [2021-05-07T10:08:26.409Z] SSH_AGENT_PID=51 [2021-05-07T10:08:26.424Z] Running ssh-add (command line suppressed) [2021-05-07T10:08:26.853Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_6210513258978890117.key (/w/workspace/edgex-go/1@tmp/private_key_6210513258978890117.key) [2021-05-07T10:08:26.970Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-07T10:08:27.697Z] + git semver init [2021-05-07T10:08:27.697Z] # -> Open(): unable to determine branch for HEAD [2021-05-07T10:08:27.697Z] # $GIT_DIR = /w/workspace/edgex-go/1/.git [2021-05-07T10:08:27.697Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/1 [2021-05-07T10:08:27.697Z] # $SEMVER_REMOTE_NAME = origin [2021-05-07T10:08:27.697Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-07T10:08:27.697Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-07T10:08:27.697Z] # $SEMVER_BRANCH = PR-3435 [2021-05-07T10:08:27.697Z] # $SEMVER_TEMP = /tmp/semver-735973796 [2021-05-07T10:08:27.697Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-05-07T10:09:00.897Z] # '/tmp/semver-735973796' -> '/w/workspace/edgex-go/1/.semver' [2021-05-07T10:09:00.897Z] # -> Force: false [2021-05-07T10:09:00.897Z] # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } [2021-05-07T10:09:00.943Z] $ docker exec --env ******** --env ******** 404f3079d26302ed22e9b74ab587b3d39958b8e622e134d74926fccaf3fd2e44 ssh-agent -k [2021-05-07T10:09:01.472Z] unset SSH_AUTH_SOCK; [2021-05-07T10:09:01.475Z] unset SSH_AGENT_PID; [2021-05-07T10:09:01.475Z] echo Agent pid 51 killed; [2021-05-07T10:09:01.725Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-07T10:09:02.242Z] + git semver [Pipeline] } [2021-05-07T10:09:02.553Z] $ docker stop --time=1 404f3079d26302ed22e9b74ab587b3d39958b8e622e134d74926fccaf3fd2e44 [2021-05-07T10:09:04.730Z] $ docker rm -f 404f3079d26302ed22e9b74ab587b3d39958b8e622e134d74926fccaf3fd2e44 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-07T10:09:05.543Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-07T10:09:06.530Z] Stashed 1 file(s) [Pipeline] echo [2021-05-07T10:09:06.554Z] [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-05-07T10:09:07.588Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-07T10:09:07.991Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-07T10:09:08.805Z] + sudo service docker restart [2021-05-07T10:09:08.805Z] + true [2021-05-07T10:09:08.805Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] echo [2021-05-07T10:09:10.382Z] ========================================================= [2021-05-07T10:09:10.382Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-07T10:09:10.382Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-07T10:09:10.771Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-07T10:09:17.500Z] Sending build context to Docker daemon 330.1MB [2021-05-07T10:09:17.801Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-05-07T10:09:17.801Z] Step 2/6 : FROM ${BASE} [2021-05-07T10:09:17.801Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-07T10:09:17.801Z] 540db60ca938: Pulling fs layer [2021-05-07T10:09:17.801Z] adcc1eea9eea: Pulling fs layer [2021-05-07T10:09:17.801Z] 4c4ab2625f07: Pulling fs layer [2021-05-07T10:09:17.801Z] 0510c868ecb4: Pulling fs layer [2021-05-07T10:09:17.801Z] afea3b2eda06: Pulling fs layer [2021-05-07T10:09:17.801Z] 7809a108b3ef: Pulling fs layer [2021-05-07T10:09:17.801Z] f706445af74f: Pulling fs layer [2021-05-07T10:09:17.801Z] afea3b2eda06: Waiting [2021-05-07T10:09:17.801Z] 7809a108b3ef: Waiting [2021-05-07T10:09:17.801Z] f706445af74f: Waiting [2021-05-07T10:09:17.801Z] 0510c868ecb4: Waiting [2021-05-07T10:09:17.801Z] 4c4ab2625f07: Verifying Checksum [2021-05-07T10:09:17.801Z] 4c4ab2625f07: Download complete [2021-05-07T10:09:17.801Z] adcc1eea9eea: Verifying Checksum [2021-05-07T10:09:17.801Z] adcc1eea9eea: Download complete [2021-05-07T10:09:17.801Z] afea3b2eda06: Verifying Checksum [2021-05-07T10:09:17.801Z] afea3b2eda06: Download complete [2021-05-07T10:09:18.077Z] 7809a108b3ef: Download complete [2021-05-07T10:09:18.077Z] 540db60ca938: Verifying Checksum [2021-05-07T10:09:18.077Z] 540db60ca938: Download complete [2021-05-07T10:09:19.227Z] 540db60ca938: Pull complete [2021-05-07T10:09:19.888Z] adcc1eea9eea: Pull complete [2021-05-07T10:09:20.198Z] 4c4ab2625f07: Pull complete [2021-05-07T10:09:21.690Z] f706445af74f: Verifying Checksum [2021-05-07T10:09:21.690Z] f706445af74f: Download complete [2021-05-07T10:09:22.018Z] Still waiting to schedule task [2021-05-07T10:09:22.018Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-07T10:09:24.481Z] 0510c868ecb4: Verifying Checksum [2021-05-07T10:09:24.481Z] 0510c868ecb4: Download complete [2021-05-07T10:09:39.833Z] 0510c868ecb4: Pull complete [2021-05-07T10:09:39.833Z] afea3b2eda06: Pull complete [2021-05-07T10:09:39.833Z] 7809a108b3ef: Pull complete [2021-05-07T10:09:44.306Z] f706445af74f: Pull complete [2021-05-07T10:09:44.306Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-07T10:09:44.306Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-07T10:09:44.306Z] ---> b068be0155e3 [2021-05-07T10:09:44.306Z] 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-05-07T10:09:44.663Z] ---> Running in 848c28b09de1 [2021-05-07T10:09:46.192Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-07T10:09:47.234Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-07T10:09:47.883Z] (1/12) Installing libmagic (5.39-r0) [2021-05-07T10:09:48.163Z] (2/12) Installing file (5.39-r0) [2021-05-07T10:09:48.163Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-05-07T10:09:48.443Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-05-07T10:09:53.966Z] (5/12) Installing fortify-headers (1.1-r0) [2021-05-07T10:09:53.966Z] (6/12) Installing patch (2.7.6-r6) [2021-05-07T10:09:53.966Z] (7/12) Installing build-base (0.5-r2) [2021-05-07T10:09:53.966Z] (8/12) Installing libsodium (1.0.18-r0) [2021-05-07T10:09:54.245Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-05-07T10:09:54.245Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-05-07T10:09:54.245Z] (11/12) Installing libzmq (4.3.3-r1) [2021-05-07T10:09:54.580Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-05-07T10:09:54.580Z] Executing busybox-1.32.1-r6.trigger [2021-05-07T10:09:54.580Z] OK: 219 MiB in 52 packages [2021-05-07T10:10:00.375Z] Removing intermediate container 848c28b09de1 [2021-05-07T10:10:00.375Z] ---> 99fecb5332a8 [2021-05-07T10:10:00.375Z] Step 4/6 : WORKDIR /edgex-go [2021-05-07T10:10:00.375Z] ---> Running in 2de054da6ffe [2021-05-07T10:10:00.375Z] Removing intermediate container 2de054da6ffe [2021-05-07T10:10:00.375Z] ---> 34e6e3512697 [2021-05-07T10:10:00.375Z] Step 5/6 : COPY go.mod . [2021-05-07T10:10:00.734Z] ---> 3904cdcbf462 [2021-05-07T10:10:00.734Z] Step 6/6 : RUN go mod download [2021-05-07T10:10:01.133Z] ---> Running in eb481c5f4cf5 [2021-05-07T10:10:40.665Z] Removing intermediate container eb481c5f4cf5 [2021-05-07T10:10:40.665Z] ---> 33a04699abac [2021-05-07T10:10:40.665Z] Successfully built 33a04699abac [2021-05-07T10:10:40.665Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-07T10:10:41.069Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-07T10:10:41.380Z] . [Pipeline] withDockerContainer [2021-05-07T10:10:41.918Z] prd-centos7-docker-4c-2g-3516 does not seem to be running inside a container [2021-05-07T10:10:42.063Z] $ 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-x86_64 cat [2021-05-07T10:10:44.654Z] $ docker top 2fd72631b9bf310f74829b8f821f54b28aec54a5ab8b8273fef920d549f2a63f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T10:10:45.830Z] + go version [2021-05-07T10:10:45.830Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-07T10:10:45.876Z] $ docker stop --time=1 2fd72631b9bf310f74829b8f821f54b28aec54a5ab8b8273fef920d549f2a63f [2021-05-07T10:10:47.762Z] $ docker rm -f 2fd72631b9bf310f74829b8f821f54b28aec54a5ab8b8273fef920d549f2a63f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-07T10:10:48.830Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-07T10:10:48.830Z] . [Pipeline] withDockerContainer [2021-05-07T10:10:49.264Z] prd-centos7-docker-4c-2g-3516 does not seem to be running inside a container [2021-05-07T10:10:49.367Z] $ 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-x86_64 cat [2021-05-07T10:10:50.819Z] $ docker top 6e8b91dd12e31a0f717a4d35cc7734ba6e19c1e9df1c0408da683e02488dce61 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-07T10:10:51.178Z] ========================================================= [2021-05-07T10:10:51.178Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-05-07T10:10:51.178Z] ========================================================= [Pipeline] sh [2021-05-07T10:10:51.995Z] + go mod tidy [Pipeline] sh [2021-05-07T10:10:56.212Z] + make test [2021-05-07T10:10:56.212Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-07T10:11:08.108Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3517 in /w/workspace/edgexfoundry_edgex-go_PR-3435 [Pipeline] { [Pipeline] ws [2021-05-07T10:11:08.168Z] Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout [2021-05-07T10:11:13.578Z] using credential edgex-jenkins-ssh [2021-05-07T10:11:13.595Z] Cloning the remote Git repository [2021-05-07T10:11:13.645Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-05-07T10:11:13.823Z] > git init /w/workspace/edgex-go/1 # timeout=10 [2021-05-07T10:11:13.924Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-05-07T10:11:13.925Z] > git --version # timeout=10 [2021-05-07T10:11:13.964Z] > git --version # 'git version 2.17.1' [2021-05-07T10:11:13.966Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T10:11:14.018Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T10:11:14.883Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-05-07T10:11:30.202Z] Merging remotes/origin/master commit 3103214cdd745ba99e56243b14eeb2a0a0c23a57 into PR head commit 1b1ba0db0b1d7e3e6ace3e52a5df6ac98400f8db [2021-05-07T10:11:29.250Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-05-07T10:11:29.275Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T10:11:29.295Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-05-07T10:11:29.324Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-05-07T10:11:29.325Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T10:11:29.335Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3435/head:refs/remotes/origin/PR-3435 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-07T10:11:30.219Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T10:11:30.239Z] > git checkout -f 1b1ba0db0b1d7e3e6ace3e52a5df6ac98400f8db # timeout=10 [2021-05-07T10:11:30.631Z] Merge succeeded, producing 1b1ba0db0b1d7e3e6ace3e52a5df6ac98400f8db [2021-05-07T10:11:30.631Z] Checking out Revision 1b1ba0db0b1d7e3e6ace3e52a5df6ac98400f8db (PR-3435) [2021-05-07T10:11:30.541Z] > git remote # timeout=10 [2021-05-07T10:11:30.558Z] > git config --get remote.origin.url # timeout=10 [2021-05-07T10:11:30.575Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T10:11:30.586Z] > git merge 3103214cdd745ba99e56243b14eeb2a0a0c23a57 # timeout=10 [2021-05-07T10:11:30.615Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-07T10:11:30.637Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T10:11:30.659Z] > git checkout -f 1b1ba0db0b1d7e3e6ace3e52a5df6ac98400f8db # timeout=10 [2021-05-07T10:11:35.031Z] Commit message: "feat(command): Add parameters field to Core Command V2 API" [2021-05-07T10:11:35.161Z] > git --version # timeout=10 [2021-05-07T10:11:35.173Z] > git --version # 'git version 2.17.1' [2021-05-07T10:11:35.197Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-07T10:11:36.734Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-07T10:11:37.160Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-07T10:11:37.514Z] + true [2021-05-07T10:11:37.514Z] + sudo service docker restart [2021-05-07T10:11:37.713Z] # github.com/edgexfoundry/edgex-go/internal/core/command/v2/application [2021-05-07T10:11:37.713Z] internal/core/command/v2/application/command.go:111:87: undefined: dtos.CoreCommandParameter [2021-05-07T10:11:37.713Z] internal/core/command/v2/application/command.go:116:3: unknown field 'Parameters' in struct literal of type dtos.CoreCommand [2021-05-07T10:11:37.713Z] internal/core/command/v2/application/command.go:139:109: undefined: dtos.CoreCommandParameter [2021-05-07T10:11:37.713Z] internal/core/command/v2/application/command.go:140:23: undefined: dtos.CoreCommandParameter [2021-05-07T10:11:37.713Z] internal/core/command/v2/application/command.go:146:19: undefined: dtos.CoreCommandParameter [2021-05-07T10:11:37.713Z] internal/core/command/v2/application/command.go:172:19: undefined: dtos.CoreCommandParameter [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-07T10:11:39.592Z] provisioning config files... [2021-05-07T10:11:39.636Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config7815341492516687335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-07T10:11:40.053Z] ---> docker-login.sh [2021-05-07T10:11:40.053Z] nexus3.edgexfoundry.org:10001 [2021-05-07T10:11:41.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T10:11:41.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T10:11:41.307Z] Configure a credential helper to remove this warning. See [2021-05-07T10:11:41.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T10:11:41.307Z] [2021-05-07T10:11:41.307Z] Login Succeeded [2021-05-07T10:11:41.307Z] nexus3.edgexfoundry.org:10002 [2021-05-07T10:11:41.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T10:11:41.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T10:11:41.860Z] Configure a credential helper to remove this warning. See [2021-05-07T10:11:41.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T10:11:41.860Z] [2021-05-07T10:11:41.860Z] Login Succeeded [2021-05-07T10:11:41.860Z] nexus3.edgexfoundry.org:10003 [2021-05-07T10:11:42.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T10:11:42.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T10:11:42.409Z] Configure a credential helper to remove this warning. See [2021-05-07T10:11:42.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T10:11:42.409Z] [2021-05-07T10:11:42.409Z] Login Succeeded [2021-05-07T10:11:42.409Z] nexus3.edgexfoundry.org:10004 [2021-05-07T10:11:42.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T10:11:42.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T10:11:42.682Z] Configure a credential helper to remove this warning. See [2021-05-07T10:11:42.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T10:11:42.682Z] [2021-05-07T10:11:42.682Z] Login Succeeded [2021-05-07T10:11:42.955Z] docker.io [2021-05-07T10:11:43.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T10:11:43.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T10:11:43.496Z] Configure a credential helper to remove this warning. See [2021-05-07T10:11:43.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T10:11:43.496Z] [2021-05-07T10:11:43.496Z] Login Succeeded [2021-05-07T10:11:43.496Z] ---> docker-login.sh ends [Pipeline] } [2021-05-07T10:11:43.525Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-07T10:11:43.894Z] ========================================================= [2021-05-07T10:11:43.894Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-07T10:11:43.894Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-07T10:11:44.274Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-07T10:11:46.908Z] Sending build context to Docker daemon 167.6MB [2021-05-07T10:11:46.908Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-05-07T10:11:46.908Z] Step 2/6 : FROM ${BASE} [2021-05-07T10:11:46.908Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-07T10:11:46.908Z] 595b0fe564bb: Pulling fs layer [2021-05-07T10:11:46.908Z] 7186ed65a4f7: Pulling fs layer [2021-05-07T10:11:46.908Z] 316046926c0a: Pulling fs layer [2021-05-07T10:11:46.908Z] 4ebd0625c992: Pulling fs layer [2021-05-07T10:11:46.908Z] 207e8628e3a3: Pulling fs layer [2021-05-07T10:11:46.908Z] c791037a9be2: Pulling fs layer [2021-05-07T10:11:46.908Z] ffd874e62e21: Pulling fs layer [2021-05-07T10:11:46.908Z] 207e8628e3a3: Waiting [2021-05-07T10:11:46.908Z] c791037a9be2: Waiting [2021-05-07T10:11:46.908Z] 4ebd0625c992: Waiting [2021-05-07T10:11:46.908Z] ffd874e62e21: Waiting [2021-05-07T10:11:46.908Z] 316046926c0a: Verifying Checksum [2021-05-07T10:11:46.908Z] 316046926c0a: Download complete [2021-05-07T10:11:46.908Z] 7186ed65a4f7: Verifying Checksum [2021-05-07T10:11:46.908Z] 7186ed65a4f7: Download complete [2021-05-07T10:11:46.908Z] 207e8628e3a3: Verifying Checksum [2021-05-07T10:11:46.908Z] 207e8628e3a3: Download complete [2021-05-07T10:11:46.908Z] c791037a9be2: Verifying Checksum [2021-05-07T10:11:46.908Z] c791037a9be2: Download complete [2021-05-07T10:11:46.908Z] 595b0fe564bb: Verifying Checksum [2021-05-07T10:11:46.908Z] 595b0fe564bb: Download complete [2021-05-07T10:11:47.516Z] 595b0fe564bb: Pull complete [2021-05-07T10:11:48.124Z] 7186ed65a4f7: Pull complete [2021-05-07T10:11:48.403Z] 316046926c0a: Pull complete [2021-05-07T10:11:49.385Z] ffd874e62e21: Download complete [2021-05-07T10:11:50.365Z] 4ebd0625c992: Verifying Checksum [2021-05-07T10:11:50.365Z] 4ebd0625c992: Download complete [2021-05-07T10:12:00.522Z] 4ebd0625c992: Pull complete [2021-05-07T10:12:00.795Z] 207e8628e3a3: Pull complete [2021-05-07T10:12:01.068Z] c791037a9be2: Pull complete [2021-05-07T10:12:04.466Z] ffd874e62e21: Pull complete [2021-05-07T10:12:04.466Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-07T10:12:04.466Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-07T10:12:04.466Z] ---> cfc18b08335c [2021-05-07T10:12:04.466Z] 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-05-07T10:12:08.802Z] ---> Running in af40a950317a [2021-05-07T10:12:09.401Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-07T10:12:10.836Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-07T10:12:11.812Z] (1/12) Installing libmagic (5.39-r0) [2021-05-07T10:12:12.083Z] (2/12) Installing file (5.39-r0) [2021-05-07T10:12:12.353Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-05-07T10:12:12.353Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-05-07T10:12:17.361Z] # github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler [2021-05-07T10:12:17.361Z] internal/support/scheduler/v2/application/scheduler/manager.go:136:55: action.Content undefined (type models.IntervalAction has no field or method Content) [2021-05-07T10:12:17.361Z] internal/support/scheduler/v2/application/scheduler/manager.go:136:71: action.ContentType undefined (type models.IntervalAction has no field or method ContentType) [2021-05-07T10:12:17.742Z] (5/12) Installing fortify-headers (1.1-r0) [2021-05-07T10:12:17.742Z] (6/12) Installing patch (2.7.6-r6) [2021-05-07T10:12:17.742Z] (7/12) Installing build-base (0.5-r2) [2021-05-07T10:12:17.742Z] (8/12) Installing libsodium (1.0.18-r0) [2021-05-07T10:12:17.742Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-05-07T10:12:17.742Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-05-07T10:12:17.742Z] (11/12) Installing libzmq (4.3.3-r1) [2021-05-07T10:12:17.742Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-05-07T10:12:17.742Z] Executing busybox-1.32.1-r6.trigger [2021-05-07T10:12:17.742Z] OK: 218 MiB in 52 packages [2021-05-07T10:12:21.944Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command [build failed] [2021-05-07T10:12:21.944Z] # github.com/edgexfoundry/edgex-go/internal/core/command/v2/application [github.com/edgexfoundry/edgex-go/internal/core/command/v2/application.test] [2021-05-07T10:12:21.944Z] internal/core/command/v2/application/command.go:111: undefined: dtos.CoreCommandParameter [2021-05-07T10:12:21.944Z] internal/core/command/v2/application/command.go:116: unknown field 'Parameters' in struct literal of type dtos.CoreCommand [2021-05-07T10:12:21.944Z] internal/core/command/v2/application/command.go:139: undefined: dtos.CoreCommandParameter [2021-05-07T10:12:21.944Z] internal/core/command/v2/application/command.go:140: undefined: dtos.CoreCommandParameter [2021-05-07T10:12:21.944Z] internal/core/command/v2/application/command.go:146: undefined: dtos.CoreCommandParameter [2021-05-07T10:12:21.944Z] internal/core/command/v2/application/command.go:172: undefined: dtos.CoreCommandParameter [2021-05-07T10:12:21.944Z] internal/core/command/v2/application/command_test.go:66:4: unknown field 'Parameters' in struct literal of type dtos.CoreCommand [2021-05-07T10:12:21.944Z] internal/core/command/v2/application/command_test.go:74:4: unknown field 'Parameters' in struct literal of type dtos.CoreCommand [2021-05-07T10:12:21.944Z] internal/core/command/v2/application/command_test.go:78:4: unknown field 'Parameters' in struct literal of type dtos.CoreCommand [2021-05-07T10:12:21.944Z] internal/core/command/v2/application/command_test.go:82:4: unknown field 'Parameters' in struct literal of type dtos.CoreCommand [2021-05-07T10:12:21.944Z] internal/core/command/v2/application/command_test.go:82:4: too many errors [2021-05-07T10:12:21.944Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/v2/application [build failed] [2021-05-07T10:12:22.045Z] Removing intermediate container af40a950317a [2021-05-07T10:12:22.045Z] ---> 80cf31ddccd5 [2021-05-07T10:12:22.045Z] Step 4/6 : WORKDIR /edgex-go [2021-05-07T10:12:22.045Z] ---> Running in f5eaedee311f [2021-05-07T10:12:22.318Z] Removing intermediate container f5eaedee311f [2021-05-07T10:12:22.318Z] ---> 39b216c43c95 [2021-05-07T10:12:22.318Z] Step 5/6 : COPY go.mod . [2021-05-07T10:12:23.027Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [build failed] [2021-05-07T10:12:23.306Z] ---> f66469cb9120 [2021-05-07T10:12:23.306Z] Step 6/6 : RUN go mod download [2021-05-07T10:12:23.306Z] ---> Running in 5ec88bda75e5 [2021-05-07T10:12:30.182Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.368s coverage: 27.1% of statements [2021-05-07T10:12:30.183Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.108s coverage: 100.0% of statements [2021-05-07T10:12:30.183Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.101s coverage: 100.0% of statements [2021-05-07T10:12:30.183Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.273s coverage: 71.3% of statements [2021-05-07T10:12:30.183Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.353s coverage: 87.7% of statements [2021-05-07T10:12:30.183Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.146s coverage: 78.9% of statements [2021-05-07T10:12:36.125Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.817s coverage: 28.6% of statements [2021-05-07T10:12:36.125Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.188s coverage: 100.0% of statements [2021-05-07T10:12:36.125Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.100s coverage: 100.0% of statements [2021-05-07T10:12:36.125Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.292s coverage: 86.7% of statements [2021-05-07T10:12:36.125Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.307s coverage: 97.5% of statements [2021-05-07T10:12:36.125Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.148s coverage: 78.3% of statements [2021-05-07T10:12:43.876Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.970s coverage: 95.1% of statements [2021-05-07T10:12:43.876Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.107s coverage: 58.8% of statements [2021-05-07T10:12:43.876Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.177s coverage: 0.9% of statements [2021-05-07T10:12:43.876Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils 0.122s coverage: 22.6% of statements [2021-05-07T10:12:43.876Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.262s coverage: 47.1% of statements [2021-05-07T10:12:43.876Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.316s coverage: 79.5% of statements [2021-05-07T10:12:43.876Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.161s coverage: 94.1% of statements [2021-05-07T10:12:43.876Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.162s coverage: 96.3% of statements [2021-05-07T10:12:44.545Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.205s coverage: 87.5% of statements [2021-05-07T10:12:50.149Z] Removing intermediate container 5ec88bda75e5 [2021-05-07T10:12:50.149Z] ---> a20889705199 [2021-05-07T10:12:50.149Z] Successfully built a20889705199 [2021-05-07T10:12:50.149Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-07T10:12:50.532Z] + docker inspect -f . ci-base-image-arm64 [2021-05-07T10:12:50.532Z] . [Pipeline] withDockerContainer [2021-05-07T10:12:50.825Z] prd-ubuntu18.04-docker-arm64-4c-16g-3517 does not seem to be running inside a container [2021-05-07T10:12:50.908Z] $ 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-05-07T10:12:52.404Z] $ docker top 71c1e8fbe58d82097bb0d6db87cd502b9a367e3b9bbfdb37796f80fb7a999e49 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T10:12:53.414Z] + go version [2021-05-07T10:12:53.414Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-07T10:12:53.468Z] $ docker stop --time=1 71c1e8fbe58d82097bb0d6db87cd502b9a367e3b9bbfdb37796f80fb7a999e49 [2021-05-07T10:12:55.395Z] $ docker rm -f 71c1e8fbe58d82097bb0d6db87cd502b9a367e3b9bbfdb37796f80fb7a999e49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-07T10:12:56.385Z] + docker inspect -f . ci-base-image-arm64 [2021-05-07T10:12:56.386Z] . [Pipeline] withDockerContainer [2021-05-07T10:12:56.663Z] prd-ubuntu18.04-docker-arm64-4c-16g-3517 does not seem to be running inside a container [2021-05-07T10:12:56.740Z] $ 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-05-07T10:12:57.056Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.171s coverage: 94.4% of statements [2021-05-07T10:12:57.056Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.110s coverage: 44.8% of statements [2021-05-07T10:12:58.159Z] $ docker top 9c24e9e5989d4cd577a5081c02f91ccb231557244cd31d8179d677a9254f9f06 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-07T10:12:58.523Z] ========================================================= [2021-05-07T10:12:58.523Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-05-07T10:12:58.523Z] ========================================================= [Pipeline] sh [2021-05-07T10:12:59.184Z] + go mod tidy [Pipeline] sh [2021-05-07T10:13:01.073Z] + make test [2021-05-07T10:13:01.073Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-07T10:13:01.554Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.740s coverage: 81.8% of statements [2021-05-07T10:13:08.606Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.236s coverage: 92.9% of statements [2021-05-07T10:13:08.606Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.092s coverage: 65.1% of statements [2021-05-07T10:13:08.606Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.067s coverage: 87.2% of statements [2021-05-07T10:13:08.606Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.147s coverage: 100.0% of statements [2021-05-07T10:13:08.606Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.163s coverage: 76.0% of statements [2021-05-07T10:13:08.606Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.206s coverage: 80.0% of statements [2021-05-07T10:13:08.606Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.190s coverage: 87.2% of statements [2021-05-07T10:13:08.606Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.228s coverage: 85.4% of statements [2021-05-07T10:13:08.606Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.312s coverage: 91.2% of statements [2021-05-07T10:13:08.606Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.529s coverage: 64.4% of statements [2021-05-07T10:13:08.606Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.100s coverage: 100.0% of statements [2021-05-07T10:13:08.606Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.074s coverage: 91.3% of statements [2021-05-07T10:13:08.606Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.117s coverage: 100.0% of statements [2021-05-07T10:13:08.606Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.048s coverage: 73.7% of statements [2021-05-07T10:13:08.898Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.053s coverage: 100.0% of statements [2021-05-07T10:13:12.539Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.811s coverage: 66.9% of statements [2021-05-07T10:13:12.869Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.408s coverage: 43.4% of statements [2021-05-07T10:13:12.869Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.185s coverage: 89.5% of statements [2021-05-07T10:13:12.869Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.070s coverage: 84.8% of statements [2021-05-07T10:13:14.539Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application.test] [2021-05-07T10:13:14.539Z] internal/support/notifications/v2/application/subscription_test.go:73:3: cannot use &testSubscriptionResendLimit (type *int) as type *int64 in field value [2021-05-07T10:13:15.280Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http.test] [2021-05-07T10:13:15.280Z] internal/support/notifications/v2/controller/http/subscription_test.go:81:3: cannot use testSubscriptionResendLimit (type int) as type int64 in field value [2021-05-07T10:13:15.280Z] internal/support/notifications/v2/controller/http/subscription_test.go:83:3: unknown field 'AdminState' in struct literal of type dtos.Subscription [2021-05-07T10:13:15.280Z] internal/support/notifications/v2/controller/http/subscription_test.go:100:3: cannot use &testSubscriptionResendLimit (type *int) as type *int64 in field value [2021-05-07T10:13:15.928Z] # github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler [github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler.test] [2021-05-07T10:13:15.928Z] internal/support/scheduler/v2/application/scheduler/manager.go:136: action.Content undefined (type models.IntervalAction has no field or method Content) [2021-05-07T10:13:15.928Z] internal/support/scheduler/v2/application/scheduler/manager.go:136: action.ContentType undefined (type models.IntervalAction has no field or method ContentType) [2021-05-07T10:13:16.237Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.180s coverage: 47.0% of statements [2021-05-07T10:13:16.237Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.100s coverage: 100.0% of statements [2021-05-07T10:13:16.237Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.066s coverage: 100.0% of statements [2021-05-07T10:13:16.237Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [build failed] [2021-05-07T10:13:16.237Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [build failed] [2021-05-07T10:13:16.237Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] [2021-05-07T10:13:18.052Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.182s coverage: 99.0% of statements [2021-05-07T10:13:18.353Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.130s coverage: 100.0% of statements [2021-05-07T10:13:18.353Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler [build failed] [2021-05-07T10:13:19.550Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.307s coverage: 97.6% of statements [2021-05-07T10:13:19.550Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.084s coverage: 0.0% of statements [2021-05-07T10:13:19.550Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.042s coverage: 100.0% of statements [2021-05-07T10:13:20.266Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.056s coverage: 87.9% of statements [2021-05-07T10:13:20.266Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.127s coverage: 100.0% of statements [2021-05-07T10:13:20.567Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.098s coverage: 28.1% of statements [2021-05-07T10:13:21.666Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.089s coverage: 100.0% of statements [2021-05-07T10:13:22.270Z] make: *** [Makefile:94: test] Error 2 [Pipeline] } [2021-05-07T10:13:22.353Z] $ docker stop --time=1 6e8b91dd12e31a0f717a4d35cc7734ba6e19c1e9df1c0408da683e02488dce61 [2021-05-07T10:13:25.942Z] $ docker rm -f 6e8b91dd12e31a0f717a4d35cc7734ba6e19c1e9df1c0408da683e02488dce61 [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] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-07T10:13:27.665Z] Failed in branch amd64 [2021-05-07T10:13:27.935Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-05-07T10:14:00.290Z] # github.com/edgexfoundry/edgex-go/internal/core/command/v2/application [2021-05-07T10:14:00.290Z] internal/core/command/v2/application/command.go:111:87: undefined: dtos.CoreCommandParameter [2021-05-07T10:14:00.290Z] internal/core/command/v2/application/command.go:116:3: unknown field 'Parameters' in struct literal of type dtos.CoreCommand [2021-05-07T10:14:00.290Z] internal/core/command/v2/application/command.go:139:109: undefined: dtos.CoreCommandParameter [2021-05-07T10:14:00.290Z] internal/core/command/v2/application/command.go:140:23: undefined: dtos.CoreCommandParameter [2021-05-07T10:14:00.290Z] internal/core/command/v2/application/command.go:146:19: undefined: dtos.CoreCommandParameter [2021-05-07T10:14:00.290Z] internal/core/command/v2/application/command.go:172:19: undefined: dtos.CoreCommandParameter [2021-05-07T10:14:47.401Z] # github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler [2021-05-07T10:14:47.401Z] internal/support/scheduler/v2/application/scheduler/manager.go:136:55: action.Content undefined (type models.IntervalAction has no field or method Content) [2021-05-07T10:14:47.401Z] internal/support/scheduler/v2/application/scheduler/manager.go:136:71: action.ContentType undefined (type models.IntervalAction has no field or method ContentType) [2021-05-07T10:14:55.703Z] # github.com/edgexfoundry/edgex-go/internal/core/command/v2/application [github.com/edgexfoundry/edgex-go/internal/core/command/v2/application.test] [2021-05-07T10:14:55.703Z] internal/core/command/v2/application/command.go:111: undefined: dtos.CoreCommandParameter [2021-05-07T10:14:55.703Z] internal/core/command/v2/application/command.go:116: unknown field 'Parameters' in struct literal of type dtos.CoreCommand [2021-05-07T10:14:55.703Z] internal/core/command/v2/application/command.go:139: undefined: dtos.CoreCommandParameter [2021-05-07T10:14:55.703Z] internal/core/command/v2/application/command.go:140: undefined: dtos.CoreCommandParameter [2021-05-07T10:14:55.703Z] internal/core/command/v2/application/command.go:146: undefined: dtos.CoreCommandParameter [2021-05-07T10:14:55.703Z] internal/core/command/v2/application/command.go:172: undefined: dtos.CoreCommandParameter [2021-05-07T10:14:55.703Z] internal/core/command/v2/application/command_test.go:66:4: unknown field 'Parameters' in struct literal of type dtos.CoreCommand [2021-05-07T10:14:55.703Z] internal/core/command/v2/application/command_test.go:74:4: unknown field 'Parameters' in struct literal of type dtos.CoreCommand [2021-05-07T10:14:55.703Z] internal/core/command/v2/application/command_test.go:78:4: unknown field 'Parameters' in struct literal of type dtos.CoreCommand [2021-05-07T10:14:55.703Z] internal/core/command/v2/application/command_test.go:82:4: unknown field 'Parameters' in struct literal of type dtos.CoreCommand [2021-05-07T10:14:55.703Z] internal/core/command/v2/application/command_test.go:82:4: too many errors [2021-05-07T10:14:55.703Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command [build failed] [2021-05-07T10:14:55.703Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/v2/application [build failed] [2021-05-07T10:14:57.717Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [build failed] [2021-05-07T10:15:07.901Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.579s coverage: 27.1% of statements [2021-05-07T10:15:07.901Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.149s coverage: 100.0% of statements [2021-05-07T10:15:07.901Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.156s coverage: 100.0% of statements [2021-05-07T10:15:07.901Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.368s coverage: 71.3% of statements [2021-05-07T10:15:07.901Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.448s coverage: 87.7% of statements [2021-05-07T10:15:07.901Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.145s coverage: 78.9% of statements [2021-05-07T10:15:18.080Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.168s coverage: 28.6% of statements [2021-05-07T10:15:18.080Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.231s coverage: 100.0% of statements [2021-05-07T10:15:18.080Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.129s coverage: 100.0% of statements [2021-05-07T10:15:18.080Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.531s coverage: 86.7% of statements [2021-05-07T10:15:18.080Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.404s coverage: 97.5% of statements [2021-05-07T10:15:18.080Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.298s coverage: 78.3% of statements [2021-05-07T10:15:24.814Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.242s coverage: 95.1% of statements [2021-05-07T10:15:24.814Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.120s coverage: 58.8% of statements [2021-05-07T10:15:24.814Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.230s coverage: 0.9% of statements [2021-05-07T10:15:24.814Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils 0.128s coverage: 22.6% of statements [2021-05-07T10:15:24.814Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.162s coverage: 47.1% of statements [2021-05-07T10:15:24.814Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.196s coverage: 79.5% of statements [2021-05-07T10:15:24.814Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.143s coverage: 94.1% of statements [2021-05-07T10:15:24.814Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.171s coverage: 96.3% of statements [2021-05-07T10:15:25.092Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.116s coverage: 87.5% of statements [2021-05-07T10:15:40.172Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.156s coverage: 94.4% of statements [2021-05-07T10:15:40.172Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.153s coverage: 44.8% of statements [2021-05-07T10:15:41.604Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.573s coverage: 81.8% of statements [2021-05-07T10:15:51.793Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.227s coverage: 92.9% of statements [2021-05-07T10:15:51.793Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.053s coverage: 65.1% of statements [2021-05-07T10:15:51.793Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.075s coverage: 87.2% of statements [2021-05-07T10:15:51.793Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.109s coverage: 100.0% of statements [2021-05-07T10:15:51.793Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.153s coverage: 76.0% of statements [2021-05-07T10:15:51.793Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.139s coverage: 80.0% of statements [2021-05-07T10:15:51.793Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.211s coverage: 87.2% of statements [2021-05-07T10:15:51.793Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.220s coverage: 85.4% of statements [2021-05-07T10:15:51.793Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.230s coverage: 91.2% of statements [2021-05-07T10:15:51.793Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.662s coverage: 64.4% of statements [2021-05-07T10:15:51.793Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.112s coverage: 100.0% of statements [2021-05-07T10:15:51.793Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.106s coverage: 91.3% of statements [2021-05-07T10:15:51.793Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.047s coverage: 100.0% of statements [2021-05-07T10:15:51.793Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.056s coverage: 73.7% of statements [2021-05-07T10:15:51.793Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.066s coverage: 100.0% of statements [2021-05-07T10:15:55.191Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.934s coverage: 66.9% of statements [2021-05-07T10:15:57.851Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.688s coverage: 43.4% of statements [2021-05-07T10:15:57.851Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.148s coverage: 89.5% of statements [2021-05-07T10:15:57.851Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.090s coverage: 84.8% of statements [2021-05-07T10:15:58.458Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application.test] [2021-05-07T10:15:58.458Z] internal/support/notifications/v2/application/subscription_test.go:73:3: cannot use &testSubscriptionResendLimit (type *int) as type *int64 in field value [2021-05-07T10:15:58.736Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http.test] [2021-05-07T10:15:58.736Z] internal/support/notifications/v2/controller/http/subscription_test.go:81:3: cannot use testSubscriptionResendLimit (type int) as type int64 in field value [2021-05-07T10:15:58.736Z] internal/support/notifications/v2/controller/http/subscription_test.go:83:3: unknown field 'AdminState' in struct literal of type dtos.Subscription [2021-05-07T10:15:58.736Z] internal/support/notifications/v2/controller/http/subscription_test.go:100:3: cannot use &testSubscriptionResendLimit (type *int) as type *int64 in field value [2021-05-07T10:15:59.731Z] # github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler [github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler.test] [2021-05-07T10:15:59.731Z] internal/support/scheduler/v2/application/scheduler/manager.go:136: action.Content undefined (type models.IntervalAction has no field or method Content) [2021-05-07T10:15:59.731Z] internal/support/scheduler/v2/application/scheduler/manager.go:136: action.ContentType undefined (type models.IntervalAction has no field or method ContentType) [2021-05-07T10:16:03.210Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.464s coverage: 47.0% of statements [2021-05-07T10:16:03.210Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.123s coverage: 100.0% of statements [2021-05-07T10:16:03.210Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.142s coverage: 100.0% of statements [2021-05-07T10:16:03.210Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [build failed] [2021-05-07T10:16:03.210Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [build failed] [2021-05-07T10:16:03.210Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] [2021-05-07T10:16:03.485Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.166s coverage: 99.0% of statements [2021-05-07T10:16:03.485Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.158s coverage: 100.0% of statements [2021-05-07T10:16:03.485Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler [build failed] [2021-05-07T10:16:06.877Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.391s coverage: 97.6% of statements [2021-05-07T10:16:06.877Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.045s coverage: 0.0% of statements [2021-05-07T10:16:06.877Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.088s coverage: 100.0% of statements [2021-05-07T10:16:06.877Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.130s coverage: 87.9% of statements [2021-05-07T10:16:06.877Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.093s coverage: 100.0% of statements [2021-05-07T10:16:06.877Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.110s coverage: 28.1% of statements [2021-05-07T10:16:07.475Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.077s coverage: 100.0% of statements [2021-05-07T10:16:08.453Z] make: *** [Makefile:94: test] Error 2 [Pipeline] } [2021-05-07T10:16:08.502Z] $ docker stop --time=1 9c24e9e5989d4cd577a5081c02f91ccb231557244cd31d8179d677a9254f9f06 [2021-05-07T10:16:10.951Z] $ docker rm -f 9c24e9e5989d4cd577a5081c02f91ccb231557244cd31d8179d677a9254f9f06 [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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-07T10:16:13.014Z] ---> job-cost.sh [2021-05-07T10:16:13.014Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-nCFz [2021-05-07T10:16:51.972Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-07T10:18:13.797Z] lf-activate-venv(): INFO: Adding /tmp/venv-nCFz/bin to PATH [2021-05-07T10:18:13.797Z] INFO: No Stack... [2021-05-07T10:18:13.797Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-07T10:18:13.797Z] INFO: Archiving Costs [Pipeline] sh [2021-05-07T10:18:14.159Z] + cat /w/workspace/edgex-go/1/archives/cost.csv [2021-05-07T10:18:14.159Z] + cut -d, -f6 [Pipeline] lock [2021-05-07T10:18:14.527Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3435-1-stack-cost] [2021-05-07T10:18:14.535Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3435-1-stack-cost] did not exist. Created. [2021-05-07T10:18:14.535Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3435-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-07T10:18:15.011Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-07T10:18:15.788Z] Stashed 1 file(s) [Pipeline] } [2021-05-07T10:18:15.812Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3435-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-07T10:18:16.383Z] 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] { (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-05-07T10:18:18.380Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T10:18:19.748Z] ---> package-listing.sh [2021-05-07T10:18:19.749Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-07T10:18:19.749Z] ++ facter osfamily [2021-05-07T10:18:20.025Z] + OS_FAMILY=redhat [2021-05-07T10:18:20.025Z] + workspace=/w/workspace/edgex-go/1 [2021-05-07T10:18:20.025Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-07T10:18:20.025Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-07T10:18:20.025Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-07T10:18:20.025Z] + PACKAGES=/tmp/packages_start.txt [2021-05-07T10:18:20.025Z] + '[' /w/workspace/edgex-go/1 ']' [2021-05-07T10:18:20.025Z] + PACKAGES=/tmp/packages_end.txt [2021-05-07T10:18:20.025Z] + case "${OS_FAMILY}" in [2021-05-07T10:18:20.025Z] + rpm -qa [2021-05-07T10:18:20.025Z] + sort [2021-05-07T10:18:26.736Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-07T10:18:26.736Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-07T10:18:26.736Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-07T10:18:26.736Z] + '[' /w/workspace/edgex-go/1 ']' [2021-05-07T10:18:26.736Z] + mkdir -p /w/workspace/edgex-go/1/archives/ [2021-05-07T10:18:26.736Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo [2021-05-07T10:18:26.781Z] 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-05-07T10:18:27.142Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-07T10:18:27.849Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-07T10:18:27.850Z] [2021-05-07T10:18:27.850Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-07T10:18:28.547Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-07T10:18:28.856Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-07T10:18:28.856Z] df20fa9351a1: Pulling fs layer [2021-05-07T10:18:28.856Z] 36b3adc4ff6f: Pulling fs layer [2021-05-07T10:18:28.856Z] 8ad3a11d3b57: Pulling fs layer [2021-05-07T10:18:28.856Z] 46f8f816bc3b: Pulling fs layer [2021-05-07T10:18:28.856Z] 93b61091891f: Pulling fs layer [2021-05-07T10:18:28.856Z] 93b9cdb0e59b: Pulling fs layer [2021-05-07T10:18:28.856Z] 5e14af77c1be: Pulling fs layer [2021-05-07T10:18:28.856Z] 01666e4c0597: Pulling fs layer [2021-05-07T10:18:28.856Z] aa168da1d23b: Pulling fs layer [2021-05-07T10:18:28.856Z] 93b9cdb0e59b: Waiting [2021-05-07T10:18:28.856Z] 5e14af77c1be: Waiting [2021-05-07T10:18:28.856Z] 01666e4c0597: Waiting [2021-05-07T10:18:28.856Z] aa168da1d23b: Waiting [2021-05-07T10:18:28.856Z] 46f8f816bc3b: Waiting [2021-05-07T10:18:28.856Z] 93b61091891f: Waiting [2021-05-07T10:18:29.216Z] 36b3adc4ff6f: Verifying Checksum [2021-05-07T10:18:29.216Z] 36b3adc4ff6f: Download complete [2021-05-07T10:18:29.216Z] 46f8f816bc3b: Download complete [2021-05-07T10:18:29.524Z] df20fa9351a1: Verifying Checksum [2021-05-07T10:18:29.524Z] df20fa9351a1: Download complete [2021-05-07T10:18:29.524Z] 93b9cdb0e59b: Verifying Checksum [2021-05-07T10:18:29.524Z] 93b9cdb0e59b: Download complete [2021-05-07T10:18:29.524Z] 5e14af77c1be: Verifying Checksum [2021-05-07T10:18:29.524Z] 5e14af77c1be: Download complete [2021-05-07T10:18:29.524Z] 93b61091891f: Verifying Checksum [2021-05-07T10:18:29.524Z] 93b61091891f: Download complete [2021-05-07T10:18:29.524Z] 01666e4c0597: Verifying Checksum [2021-05-07T10:18:29.524Z] 01666e4c0597: Download complete [2021-05-07T10:18:30.130Z] df20fa9351a1: Pull complete [2021-05-07T10:18:30.408Z] 8ad3a11d3b57: Verifying Checksum [2021-05-07T10:18:30.408Z] 8ad3a11d3b57: Download complete [2021-05-07T10:18:30.408Z] 36b3adc4ff6f: Pull complete [2021-05-07T10:18:31.944Z] 8ad3a11d3b57: Pull complete [2021-05-07T10:18:32.560Z] 46f8f816bc3b: Pull complete [2021-05-07T10:18:33.581Z] 93b61091891f: Pull complete [2021-05-07T10:18:33.915Z] 93b9cdb0e59b: Pull complete [2021-05-07T10:18:33.915Z] 5e14af77c1be: Pull complete [2021-05-07T10:18:34.570Z] 01666e4c0597: Pull complete [2021-05-07T10:18:35.190Z] aa168da1d23b: Verifying Checksum [2021-05-07T10:18:35.190Z] aa168da1d23b: Download complete [2021-05-07T10:18:50.642Z] aa168da1d23b: Pull complete [2021-05-07T10:18:50.642Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-07T10:18:50.642Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-07T10:18:50.642Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-07T10:18:51.135Z] prd-centos7-docker-4c-2g-3516 does not seem to be running inside a container [2021-05-07T10:18:51.310Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-07T10:18:55.062Z] $ docker top 9e993d7211b377001d71458251ce7af548280c8995637b231fb3621796212304 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T10:18:56.023Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-07T10:18:56.438Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-07T10:18:57.123Z] + ls /var/log/sa-host [2021-05-07T10:18:57.123Z] + sadf -c /var/log/sa-host/sa07 [2021-05-07T10:18:57.123Z] file_magic: OK [2021-05-07T10:18:57.123Z] HZ: Using current value: 100 [2021-05-07T10:18:57.123Z] file_header: OK [2021-05-07T10:18:57.123Z] 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-05-07T10:18:57.123Z] Statistics: [2021-05-07T10:18:57.123Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-07T10:18:57.123Z] File successfully converted to sysstat format version 12.2.1 [2021-05-07T10:18:57.123Z] + sadf -c /var/log/sa-host/sa23 [2021-05-07T10:18:57.123Z] file_magic: OK [2021-05-07T10:18:57.123Z] HZ: Using current value: 100 [2021-05-07T10:18:57.123Z] file_header: OK [2021-05-07T10:18:57.123Z] 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-05-07T10:18:57.123Z] Statistics: [2021-05-07T10:18:57.123Z] Hnuu...uuuununununu... [2021-05-07T10:18:57.123Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-07T10:18:57.803Z] provisioning config files... [2021-05-07T10:18:57.832Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config1251252168768730008tmp [Pipeline] { [Pipeline] echo [2021-05-07T10:18:57.892Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T10:18:58.578Z] ---> create-netrc.sh [Pipeline] } [2021-05-07T10:18:58.606Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-07T10:18:58.680Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T10:18:59.427Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-07T10:18:59.465Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T10:18:59.851Z] ---> sudo-logs.sh [2021-05-07T10:18:59.851Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-07T10:19:00.301Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T10:19:01.321Z] ---> job-cost.sh [2021-05-07T10:19:01.321Z] lf-activate-venv: SKIPPING [2021-05-07T10:19:01.321Z] DEBUG: total: 0.20999999344348907 [2021-05-07T10:19:01.321Z] INFO: Retrieving Stack Cost... [2021-05-07T10:19:02.855Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-07T10:19:03.180Z] INFO: Archiving Costs [Pipeline] echo [2021-05-07T10:19:03.225Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T10:19:03.942Z] ---> logs-deploy.sh [2021-05-07T10:19:03.942Z] lf-activate-venv: SKIPPING [2021-05-07T10:19:03.943Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3435/1 [2021-05-07T10:19:03.943Z] INFO: archiving workspace using pattern(s): [2021-05-07T10:19:06.560Z] Archives upload complete. [2021-05-07T10:19:06.560Z] INFO: archiving logs to Nexus