Pull request #3440 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f25dfa89c3c5906cc09b1dc2f73255d65f9a3552+6b23ec567a86ee52455607061a4fabaca114589a (36e125a39e5e38face89f232d26d4197ae90c4c3) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 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 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 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 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 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4067’ Running on prd-centos7-docker-4c-2g-4070 in /w/workspace/edgexfoundry_edgex-go_PR-3440 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/5 [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/5 # 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 Merging remotes/origin/master commit 6b23ec567a86ee52455607061a4fabaca114589a into PR head commit f25dfa89c3c5906cc09b1dc2f73255d65f9a3552 Merge succeeded, producing f25dfa89c3c5906cc09b1dc2f73255d65f9a3552 Checking out Revision f25dfa89c3c5906cc09b1dc2f73255d65f9a3552 (PR-3440) 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/3440/head:refs/remotes/origin/PR-3440 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f25dfa89c3c5906cc09b1dc2f73255d65f9a3552 # 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 6b23ec567a86ee52455607061a4fabaca114589a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f25dfa89c3c5906cc09b1dc2f73255d65f9a3552 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-10T10:56:54.815Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-10T10:56:54.911Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-10T10:56:54.937Z] ========================================================= [2021-05-10T10:56:54.937Z] EdgeX Global Pipelines Version Info [2021-05-10T10:56:54.937Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 0e19b1d60ddd317c2f741079bf586fde4f7f4dff # timeout=10 [2021-05-10T10:56:58.500Z] ------------------- [2021-05-10T10:56:58.500Z] stable info: [2021-05-10T10:56:58.500Z] ------------------- [2021-05-10T10:56:58.500Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-10T10:56:58.500Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-10T10:56:58.500Z] Message: update stable to v1.0.191 [2021-05-10T10:56:59.162Z] ------------------- [2021-05-10T10:56:59.162Z] experimental info: [2021-05-10T10:56:59.162Z] ------------------- [2021-05-10T10:56:59.162Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-10T10:56:59.162Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-10T10:56:59.162Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-10T10:56:59.466Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-05-10T10:56:59.489Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-05-10T10:56:59.513Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-10T10:56:59.534Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-10T10:56:59.558Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-10T10:56:59.581Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-10T10:56:59.609Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-10T10:56:59.632Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-05-10T10:56:59.657Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo [2021-05-10T10:56:59.704Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo [2021-05-10T10:56:59.726Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-10T10:56:59.749Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-10T10:56:59.771Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-10T10:56:59.794Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-10T10:56:59.819Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-10T10:56:59.841Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-10T10:56:59.864Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-10T10:56:59.886Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-10T10:56:59.907Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-10T10:56:59.929Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-10T10:56:59.951Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-05-10T10:56:59.972Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-10T10:56:59.995Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3440 [Pipeline] echo [2021-05-10T10:57:00.016Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3440 [Pipeline] echo [2021-05-10T10:57:00.037Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3440 [Pipeline] echo [2021-05-10T10:57:00.059Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f25dfa89c3c5906cc09b1dc2f73255d65f9a3552 [Pipeline] echo [2021-05-10T10:57:00.080Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f25dfa8 [Pipeline] echo [2021-05-10T10:57:00.103Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T10:57:00.173Z] provisioning config files... [2021-05-10T10:57:00.267Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/5@tmp/config4932967970648245720tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T10:57:00.800Z] ---> docker-login.sh [2021-05-10T10:57:00.800Z] nexus3.edgexfoundry.org:10001 [2021-05-10T10:57:01.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T10:57:01.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T10:57:01.899Z] Configure a credential helper to remove this warning. See [2021-05-10T10:57:01.899Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T10:57:01.899Z] [2021-05-10T10:57:01.899Z] Login Succeeded [2021-05-10T10:57:01.899Z] nexus3.edgexfoundry.org:10002 [2021-05-10T10:57:02.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T10:57:02.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T10:57:02.971Z] Configure a credential helper to remove this warning. See [2021-05-10T10:57:02.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T10:57:02.971Z] [2021-05-10T10:57:02.971Z] Login Succeeded [2021-05-10T10:57:02.971Z] nexus3.edgexfoundry.org:10003 [2021-05-10T10:57:03.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T10:57:03.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T10:57:03.252Z] Configure a credential helper to remove this warning. See [2021-05-10T10:57:03.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T10:57:03.252Z] [2021-05-10T10:57:03.252Z] Login Succeeded [2021-05-10T10:57:03.252Z] nexus3.edgexfoundry.org:10004 [2021-05-10T10:57:03.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T10:57:03.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T10:57:03.604Z] Configure a credential helper to remove this warning. See [2021-05-10T10:57:03.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T10:57:03.604Z] [2021-05-10T10:57:03.604Z] Login Succeeded [2021-05-10T10:57:03.604Z] docker.io [2021-05-10T10:57:04.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T10:57:04.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T10:57:04.601Z] Configure a credential helper to remove this warning. See [2021-05-10T10:57:04.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T10:57:04.601Z] [2021-05-10T10:57:04.601Z] Login Succeeded [2021-05-10T10:57:04.601Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T10:57:04.627Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-10T10:57:05.203Z] ++ 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-10T10:57:05.203Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-10T10:57:05.203Z] ++ dirname cmd/core-command/Dockerfile [2021-05-10T10:57:05.203Z] ++ cut -d/ -f2 [2021-05-10T10:57:05.203Z] + echo core-command,cmd/core-command/Dockerfile [2021-05-10T10:57:05.203Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-10T10:57:05.203Z] ++ cut -d/ -f2 [2021-05-10T10:57:05.203Z] ++ dirname cmd/core-data/Dockerfile [2021-05-10T10:57:05.203Z] + echo core-data,cmd/core-data/Dockerfile [2021-05-10T10:57:05.203Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-10T10:57:05.203Z] ++ cut -d/ -f2 [2021-05-10T10:57:05.203Z] ++ dirname cmd/core-metadata/Dockerfile [2021-05-10T10:57:05.203Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-05-10T10:57:05.203Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-10T10:57:05.203Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-05-10T10:57:05.203Z] ++ cut -d/ -f2 [2021-05-10T10:57:05.203Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-05-10T10:57:05.203Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-10T10:57:05.203Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-05-10T10:57:05.203Z] ++ cut -d/ -f2 [2021-05-10T10:57:05.203Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-05-10T10:57:05.203Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-10T10:57:05.203Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-05-10T10:57:05.203Z] ++ cut -d/ -f2 [2021-05-10T10:57:05.203Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-05-10T10:57:05.203Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-10T10:57:05.203Z] ++ dirname cmd/support-notifications/Dockerfile [2021-05-10T10:57:05.203Z] ++ cut -d/ -f2 [2021-05-10T10:57:05.203Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-05-10T10:57:05.203Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-10T10:57:05.203Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-05-10T10:57:05.203Z] ++ cut -d/ -f2 [2021-05-10T10:57:05.203Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-05-10T10:57:05.203Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-10T10:57:05.204Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-05-10T10:57:05.204Z] ++ cut -d/ -f2 [2021-05-10T10:57:05.204Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-05-10T10:57:05.596Z] 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-10T10:57:06.397Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T10:57:06.397Z] [2021-05-10T10:57:06.397Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T10:57:06.881Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T10:57:07.177Z] latest: Pulling from edgex-devops/git-semver [2021-05-10T10:57:07.177Z] 31603596830f: Pulling fs layer [2021-05-10T10:57:07.177Z] 54011a49482f: Pulling fs layer [2021-05-10T10:57:07.177Z] a6820b24f6d8: Pulling fs layer [2021-05-10T10:57:07.177Z] f581987b2513: Pulling fs layer [2021-05-10T10:57:07.177Z] f581987b2513: Waiting [2021-05-10T10:57:07.519Z] 54011a49482f: Verifying Checksum [2021-05-10T10:57:07.519Z] 54011a49482f: Download complete [2021-05-10T10:57:07.856Z] 31603596830f: Verifying Checksum [2021-05-10T10:57:07.856Z] 31603596830f: Download complete [2021-05-10T10:57:08.578Z] f581987b2513: Verifying Checksum [2021-05-10T10:57:08.578Z] f581987b2513: Download complete [2021-05-10T10:57:08.578Z] 31603596830f: Pull complete [2021-05-10T10:57:08.912Z] a6820b24f6d8: Verifying Checksum [2021-05-10T10:57:08.912Z] a6820b24f6d8: Download complete [2021-05-10T10:57:09.199Z] 54011a49482f: Pull complete [2021-05-10T10:57:10.750Z] a6820b24f6d8: Pull complete [2021-05-10T10:57:11.082Z] f581987b2513: Pull complete [2021-05-10T10:57:11.082Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-10T10:57:11.082Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T10:57:11.082Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-10T10:57:11.491Z] prd-centos7-docker-4c-2g-4070 does not seem to be running inside a container [2021-05-10T10:57:11.751Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@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-10T10:57:15.030Z] $ docker top 89ce9856e415a238d97d7443cc537456ddbf8c62d503e63516a58d47ee5c7e11 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-10T10:57:15.288Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T10:57:15.288Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T10:57:15.757Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T10:57:15.765Z] $ docker exec 89ce9856e415a238d97d7443cc537456ddbf8c62d503e63516a58d47ee5c7e11 ssh-agent [2021-05-10T10:57:16.880Z] SSH_AUTH_SOCK=/tmp/ssh-IGHwLwBUQqgx/agent.12 [2021-05-10T10:57:16.880Z] SSH_AGENT_PID=17 [2021-05-10T10:57:16.946Z] Running ssh-add (command line suppressed) [2021-05-10T10:57:17.509Z] Identity added: /w/workspace/edgex-go/5@tmp/private_key_1932008063700192187.key (/w/workspace/edgex-go/5@tmp/private_key_1932008063700192187.key) [2021-05-10T10:57:17.843Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T10:57:18.303Z] + git tag --points-at HEAD [Pipeline] } [2021-05-10T10:57:18.458Z] $ docker exec --env ******** --env ******** 89ce9856e415a238d97d7443cc537456ddbf8c62d503e63516a58d47ee5c7e11 ssh-agent -k [2021-05-10T10:57:18.726Z] unset SSH_AUTH_SOCK; [2021-05-10T10:57:18.726Z] unset SSH_AGENT_PID; [2021-05-10T10:57:18.726Z] echo Agent pid 17 killed; [2021-05-10T10:57:18.829Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-10T10:57:18.866Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T10:57:18.866Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T10:57:19.248Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T10:57:19.255Z] $ docker exec 89ce9856e415a238d97d7443cc537456ddbf8c62d503e63516a58d47ee5c7e11 ssh-agent [2021-05-10T10:57:19.834Z] SSH_AUTH_SOCK=/tmp/ssh-ZcaLdSqywIue/agent.45 [2021-05-10T10:57:19.834Z] SSH_AGENT_PID=51 [2021-05-10T10:57:19.858Z] Running ssh-add (command line suppressed) [2021-05-10T10:57:20.492Z] Identity added: /w/workspace/edgex-go/5@tmp/private_key_2759705082937091996.key (/w/workspace/edgex-go/5@tmp/private_key_2759705082937091996.key) [2021-05-10T10:57:20.766Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T10:57:21.596Z] + git semver init [2021-05-10T10:57:21.596Z] # -> Open(): unable to determine branch for HEAD [2021-05-10T10:57:21.596Z] # $GIT_DIR = /w/workspace/edgex-go/5/.git [2021-05-10T10:57:21.596Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/5 [2021-05-10T10:57:21.596Z] # $SEMVER_REMOTE_NAME = origin [2021-05-10T10:57:21.596Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-10T10:57:21.596Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-10T10:57:21.596Z] # $SEMVER_BRANCH = PR-3440 [2021-05-10T10:57:21.596Z] # $SEMVER_TEMP = /tmp/semver-983534488 [2021-05-10T10:57:21.596Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-05-10T10:57:54.376Z] # '/tmp/semver-983534488' -> '/w/workspace/edgex-go/5/.semver' [2021-05-10T10:57:54.376Z] # -> Force: false [2021-05-10T10:57:54.376Z] # $SEMVER_DIR = /w/workspace/edgex-go/5/.semver [Pipeline] } [2021-05-10T10:57:54.423Z] $ docker exec --env ******** --env ******** 89ce9856e415a238d97d7443cc537456ddbf8c62d503e63516a58d47ee5c7e11 ssh-agent -k [2021-05-10T10:57:54.825Z] unset SSH_AUTH_SOCK; [2021-05-10T10:57:54.828Z] unset SSH_AGENT_PID; [2021-05-10T10:57:54.828Z] echo Agent pid 51 killed; [2021-05-10T10:57:54.979Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-10T10:57:55.330Z] + git semver [Pipeline] } [2021-05-10T10:57:55.358Z] $ docker stop --time=1 89ce9856e415a238d97d7443cc537456ddbf8c62d503e63516a58d47ee5c7e11 [2021-05-10T10:57:57.191Z] $ docker rm -f 89ce9856e415a238d97d7443cc537456ddbf8c62d503e63516a58d47ee5c7e11 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T10:57:57.788Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-10T10:57:58.428Z] Stashed 1 file(s) [Pipeline] echo [2021-05-10T10:57:58.432Z] [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-10T10:57:58.942Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-10T10:57:59.398Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T10:57:59.827Z] + sudo service docker restart [2021-05-10T10:57:59.827Z] + true [2021-05-10T10:57:59.827Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] echo [2021-05-10T10:58:00.803Z] ========================================================= [2021-05-10T10:58:00.803Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-10T10:58:00.803Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T10:58:01.127Z] + 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-10T10:58:06.532Z] Sending build context to Docker daemon 330MB [2021-05-10T10:58:06.532Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-05-10T10:58:06.532Z] Step 2/6 : FROM ${BASE} [2021-05-10T10:58:06.532Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-10T10:58:06.532Z] 540db60ca938: Pulling fs layer [2021-05-10T10:58:06.532Z] adcc1eea9eea: Pulling fs layer [2021-05-10T10:58:06.532Z] 4c4ab2625f07: Pulling fs layer [2021-05-10T10:58:06.532Z] 0510c868ecb4: Pulling fs layer [2021-05-10T10:58:06.532Z] afea3b2eda06: Pulling fs layer [2021-05-10T10:58:06.532Z] 7809a108b3ef: Pulling fs layer [2021-05-10T10:58:06.532Z] f706445af74f: Pulling fs layer [2021-05-10T10:58:06.532Z] 0510c868ecb4: Waiting [2021-05-10T10:58:06.532Z] f706445af74f: Waiting [2021-05-10T10:58:06.532Z] afea3b2eda06: Waiting [2021-05-10T10:58:06.532Z] 7809a108b3ef: Waiting [2021-05-10T10:58:06.532Z] 4c4ab2625f07: Verifying Checksum [2021-05-10T10:58:06.532Z] 4c4ab2625f07: Download complete [2021-05-10T10:58:06.532Z] adcc1eea9eea: Verifying Checksum [2021-05-10T10:58:06.532Z] adcc1eea9eea: Download complete [2021-05-10T10:58:06.532Z] afea3b2eda06: Verifying Checksum [2021-05-10T10:58:06.532Z] afea3b2eda06: Download complete [2021-05-10T10:58:06.532Z] 7809a108b3ef: Verifying Checksum [2021-05-10T10:58:06.532Z] 7809a108b3ef: Download complete [2021-05-10T10:58:06.532Z] 540db60ca938: Verifying Checksum [2021-05-10T10:58:06.532Z] 540db60ca938: Download complete [2021-05-10T10:58:07.137Z] 540db60ca938: Pull complete [2021-05-10T10:58:07.409Z] adcc1eea9eea: Pull complete [2021-05-10T10:58:07.409Z] 4c4ab2625f07: Pull complete [2021-05-10T10:58:10.943Z] f706445af74f: Download complete [2021-05-10T10:58:12.419Z] 0510c868ecb4: Download complete [2021-05-10T10:58:13.567Z] Still waiting to schedule task [2021-05-10T10:58:13.567Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-10T10:58:20.830Z] 0510c868ecb4: Pull complete [2021-05-10T10:58:20.830Z] afea3b2eda06: Pull complete [2021-05-10T10:58:20.830Z] 7809a108b3ef: Pull complete [2021-05-10T10:58:26.311Z] f706445af74f: Pull complete [2021-05-10T10:58:26.311Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-10T10:58:26.311Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-10T10:58:26.311Z] ---> b068be0155e3 [2021-05-10T10:58:26.311Z] 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-10T10:58:26.311Z] ---> Running in 6266b3e0978c [2021-05-10T10:58:26.924Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-10T10:58:28.899Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-10T10:58:29.498Z] (1/12) Installing libmagic (5.39-r0) [2021-05-10T10:58:29.498Z] (2/12) Installing file (5.39-r0) [2021-05-10T10:58:29.776Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-05-10T10:58:30.056Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-05-10T10:58:40.189Z] (5/12) Installing fortify-headers (1.1-r0) [2021-05-10T10:58:40.189Z] (6/12) Installing patch (2.7.6-r6) [2021-05-10T10:58:40.457Z] (7/12) Installing build-base (0.5-r2) [2021-05-10T10:58:40.457Z] (8/12) Installing libsodium (1.0.18-r0) [2021-05-10T10:58:40.726Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-05-10T10:58:40.994Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-05-10T10:58:41.267Z] (11/12) Installing libzmq (4.3.3-r1) [2021-05-10T10:58:41.267Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-05-10T10:58:41.563Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T10:58:41.563Z] OK: 219 MiB in 52 packages [2021-05-10T10:58:45.079Z] Removing intermediate container 6266b3e0978c [2021-05-10T10:58:45.079Z] ---> 4524ffce79cf [2021-05-10T10:58:45.079Z] Step 4/6 : WORKDIR /edgex-go [2021-05-10T10:58:45.079Z] ---> Running in 761a27004803 [2021-05-10T10:58:45.354Z] Removing intermediate container 761a27004803 [2021-05-10T10:58:45.354Z] ---> 792c29861b0c [2021-05-10T10:58:45.354Z] Step 5/6 : COPY go.mod . [2021-05-10T10:58:45.642Z] ---> cbc0589eec07 [2021-05-10T10:58:45.642Z] Step 6/6 : RUN go mod download [2021-05-10T10:58:45.928Z] ---> Running in c5d5a6813af0 [2021-05-10T10:59:12.920Z] Removing intermediate container c5d5a6813af0 [2021-05-10T10:59:12.920Z] ---> fb12f03cb661 [2021-05-10T10:59:12.920Z] Successfully built fb12f03cb661 [2021-05-10T10:59:12.920Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T10:59:13.253Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T10:59:13.517Z] . [Pipeline] withDockerContainer [2021-05-10T10:59:13.650Z] prd-centos7-docker-4c-2g-4070 does not seem to be running inside a container [2021-05-10T10:59:13.716Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@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-10T10:59:14.849Z] $ docker top 41ecdc4047ad605ef1eefcb7fd61d2b5fc5bb604744a26fd591d853e708ec460 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T10:59:15.361Z] + go version [2021-05-10T10:59:15.361Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-10T10:59:15.379Z] $ docker stop --time=1 41ecdc4047ad605ef1eefcb7fd61d2b5fc5bb604744a26fd591d853e708ec460 [2021-05-10T10:59:16.842Z] $ docker rm -f 41ecdc4047ad605ef1eefcb7fd61d2b5fc5bb604744a26fd591d853e708ec460 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T10:59:17.435Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T10:59:17.435Z] . [Pipeline] withDockerContainer [2021-05-10T10:59:17.562Z] prd-centos7-docker-4c-2g-4070 does not seem to be running inside a container [2021-05-10T10:59:17.659Z] $ 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/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@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-10T10:59:18.686Z] $ docker top 22e21c51038c9816ea1123a542bf4522db6bfb0ddcd1a7b4ba07d688a3677ec4 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-10T10:59:18.903Z] ========================================================= [2021-05-10T10:59:18.903Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-05-10T10:59:18.903Z] ========================================================= [Pipeline] sh [2021-05-10T10:59:19.220Z] + go mod tidy [Pipeline] sh [2021-05-10T10:59:22.459Z] + make test [2021-05-10T10:59:22.459Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-10T10:59:34.982Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-05-10T10:59:57.822Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [2021-05-10T10:59:57.822Z] internal/pkg/v2/utils/restaddress.go:64:37: address.RequestBody undefined (type models.RESTAddress has no field or method RequestBody) [2021-05-10T10:59:57.822Z] internal/pkg/v2/utils/restaddress.go:77:12: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-05-10T10:59:57.823Z] internal/pkg/v2/utils/restaddress.go:78:10: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-05-10T10:59:57.823Z] internal/pkg/v2/utils/restaddress.go:80:45: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-05-10T11:00:30.778Z] # github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [2021-05-10T11:00:30.778Z] internal/support/scheduler/v2/application/intervalaction.go:166:5: unknown field 'RequestBody' in struct literal of type "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".RESTAddress [2021-05-10T11:00:34.522Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command [build failed] [2021-05-10T11:00:35.201Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.090s coverage: 19.8% of statements [2021-05-10T11:00:35.201Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [build failed] [2021-05-10T11:00:35.201Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] [2021-05-10T11:00:36.765Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.125s coverage: 100.0% of statements [2021-05-10T11:00:36.765Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.150s coverage: 100.0% of statements [2021-05-10T11:00:36.765Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [build failed] [2021-05-10T11:00:36.765Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] [2021-05-10T11:00:37.938Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.131s coverage: 78.9% of statements [2021-05-10T11:00:37.939Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] [2021-05-10T11:00:40.109Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.183s coverage: 100.0% of statements [2021-05-10T11:00:40.109Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.113s coverage: 100.0% of statements [2021-05-10T11:00:42.272Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.356s coverage: 86.7% of statements [2021-05-10T11:00:42.272Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.433s coverage: 97.5% of statements [2021-05-10T11:00:42.272Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.141s coverage: 78.3% of statements [2021-05-10T11:00:42.272Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] [2021-05-10T11:00:42.272Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils.test] [2021-05-10T11:00:42.272Z] internal/pkg/v2/utils/restaddress.go:64: address.RequestBody undefined (type models.RESTAddress has no field or method RequestBody) [2021-05-10T11:00:42.272Z] internal/pkg/v2/utils/restaddress.go:77: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-05-10T11:00:42.272Z] internal/pkg/v2/utils/restaddress.go:78: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-05-10T11:00:42.272Z] internal/pkg/v2/utils/restaddress.go:80: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-05-10T11:00:42.905Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.078s coverage: 58.8% of statements [2021-05-10T11:00:42.906Z] FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [build failed] [2021-05-10T11:00:42.906Z] FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [build failed] [2021-05-10T11:00:43.993Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.227s coverage: 47.1% of statements [2021-05-10T11:00:43.993Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.098s coverage: 79.5% of statements [2021-05-10T11:00:43.993Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.060s coverage: 94.1% of statements [2021-05-10T11:00:45.229Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.111s coverage: 96.3% of statements [2021-05-10T11:00:45.229Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.127s coverage: 87.5% of statements [2021-05-10T11:00:58.021Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.207s coverage: 94.4% of statements [2021-05-10T11:00:58.021Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.115s coverage: 44.8% of statements [2021-05-10T11:01:03.760Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 15.191s coverage: 81.8% of statements [2021-05-10T11:01:10.553Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.341s coverage: 92.9% of statements [2021-05-10T11:01:10.553Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.034s coverage: 65.1% of statements [2021-05-10T11:01:10.553Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 12.220s coverage: 87.2% of statements [2021-05-10T11:01:10.553Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.068s coverage: 100.0% of statements [2021-05-10T11:01:10.553Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.080s coverage: 76.0% of statements [2021-05-10T11:01:10.553Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.151s coverage: 80.0% of statements [2021-05-10T11:01:10.553Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.160s coverage: 87.2% of statements [2021-05-10T11:01:10.553Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.106s coverage: 85.4% of statements [2021-05-10T11:01:10.553Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.179s coverage: 91.2% of statements [2021-05-10T11:01:10.553Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.752s coverage: 64.4% of statements [2021-05-10T11:01:10.553Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.074s coverage: 100.0% of statements [2021-05-10T11:01:10.553Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.150s coverage: 91.3% of statements [2021-05-10T11:01:10.553Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.050s coverage: 100.0% of statements [2021-05-10T11:01:10.553Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.098s coverage: 73.7% of statements [2021-05-10T11:01:10.553Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.070s coverage: 100.0% of statements [2021-05-10T11:01:12.911Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.954s coverage: 66.9% of statements [2021-05-10T11:01:13.574Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.398s coverage: 43.4% of statements [2021-05-10T11:01:13.574Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.070s coverage: 89.5% of statements [2021-05-10T11:01:13.574Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.119s coverage: 84.8% of statements [2021-05-10T11:01:13.574Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] [2021-05-10T11:01:14.248Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application.test] [2021-05-10T11:01:14.248Z] internal/support/notifications/v2/application/subscription_test.go:73:3: cannot use &testSubscriptionResendLimit (type *int64) as type *int in field value [2021-05-10T11:01:14.983Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.157s coverage: 100.0% of statements [2021-05-10T11:01:15.329Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.085s coverage: 100.0% of statements [2021-05-10T11:01:15.329Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [build failed] [2021-05-10T11:01:15.329Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [build failed] [2021-05-10T11:01:15.329Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] [2021-05-10T11:01:18.198Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.134s coverage: 99.0% of statements [2021-05-10T11:01:18.198Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.143s coverage: 100.0% of statements [2021-05-10T11:01:18.198Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler [build failed] [2021-05-10T11:01:18.198Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http [build failed] [2021-05-10T11:01:18.198Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.064s coverage: 0.0% of statements [2021-05-10T11:01:18.198Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.088s coverage: 100.0% of statements [2021-05-10T11:01:18.198Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.069s coverage: 87.9% of statements [2021-05-10T11:01:18.476Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.103s coverage: 100.0% of statements [2021-05-10T11:01:19.152Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.177s coverage: 28.1% of statements [2021-05-10T11:01:19.152Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application 0.047s coverage: 85.7% of statements [2021-05-10T11:01:19.772Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.065s coverage: 100.0% of statements [2021-05-10T11:01:20.423Z] make: *** [Makefile:94: test] Error 2 [Pipeline] } [2021-05-10T11:01:20.473Z] $ docker stop --time=1 22e21c51038c9816ea1123a542bf4522db6bfb0ddcd1a7b4ba07d688a3677ec4 [2021-05-10T11:01:23.968Z] $ docker rm -f 22e21c51038c9816ea1123a542bf4522db6bfb0ddcd1a7b4ba07d688a3677ec4 [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-10T11:01:25.065Z] Failed in branch amd64 [2021-05-10T11:01:46.724Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4071 in /w/workspace/edgexfoundry_edgex-go_PR-3440 [Pipeline] { [Pipeline] ws [2021-05-10T11:01:46.742Z] Running in /w/workspace/edgex-go/5 [Pipeline] { [Pipeline] checkout [2021-05-10T11:01:52.580Z] using credential edgex-jenkins-ssh [2021-05-10T11:01:52.601Z] Cloning the remote Git repository [2021-05-10T11:01:52.726Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-05-10T11:01:53.024Z] > git init /w/workspace/edgex-go/5 # timeout=10 [2021-05-10T11:01:53.109Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-05-10T11:01:53.109Z] > git --version # timeout=10 [2021-05-10T11:01:53.122Z] > git --version # 'git version 2.17.1' [2021-05-10T11:01:53.123Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T11:01:53.179Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T11:02:17.381Z] Merging remotes/origin/master commit 6b23ec567a86ee52455607061a4fabaca114589a into PR head commit f25dfa89c3c5906cc09b1dc2f73255d65f9a3552 [2021-05-10T11:02:17.858Z] Merge succeeded, producing f25dfa89c3c5906cc09b1dc2f73255d65f9a3552 [2021-05-10T11:02:17.859Z] Checking out Revision f25dfa89c3c5906cc09b1dc2f73255d65f9a3552 (PR-3440) [2021-05-10T11:02:16.585Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-05-10T11:02:16.603Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T11:02:16.626Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-05-10T11:02:16.666Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-05-10T11:02:16.666Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T11:02:16.682Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3440/head:refs/remotes/origin/PR-3440 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-10T11:02:17.421Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T11:02:17.433Z] > git checkout -f f25dfa89c3c5906cc09b1dc2f73255d65f9a3552 # timeout=10 [2021-05-10T11:02:17.784Z] > git remote # timeout=10 [2021-05-10T11:02:17.802Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T11:02:17.822Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T11:02:17.833Z] > git merge 6b23ec567a86ee52455607061a4fabaca114589a # timeout=10 [2021-05-10T11:02:17.856Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T11:02:17.882Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T11:02:17.904Z] > git checkout -f f25dfa89c3c5906cc09b1dc2f73255d65f9a3552 # timeout=10 [2021-05-10T11:02:22.288Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T11:02:23.675Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-10T11:02:24.081Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T11:02:24.431Z] + + sudo servicetrue docker [2021-05-10T11:02:24.431Z] restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T11:02:26.458Z] provisioning config files... [2021-05-10T11:02:26.499Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/5@tmp/config4685420039513286023tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T11:02:26.912Z] ---> docker-login.sh [2021-05-10T11:02:26.912Z] nexus3.edgexfoundry.org:10001 [2021-05-10T11:02:27.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T11:02:28.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T11:02:28.174Z] Configure a credential helper to remove this warning. See [2021-05-10T11:02:28.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T11:02:28.174Z] [2021-05-10T11:02:28.174Z] Login Succeeded [2021-05-10T11:02:28.174Z] nexus3.edgexfoundry.org:10002 [2021-05-10T11:02:28.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T11:02:28.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T11:02:28.725Z] Configure a credential helper to remove this warning. See [2021-05-10T11:02:28.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T11:02:28.725Z] [2021-05-10T11:02:28.725Z] Login Succeeded [2021-05-10T11:02:28.725Z] nexus3.edgexfoundry.org:10003 [2021-05-10T11:02:28.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T11:02:29.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T11:02:29.284Z] Configure a credential helper to remove this warning. See [2021-05-10T11:02:29.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T11:02:29.284Z] [2021-05-10T11:02:29.284Z] Login Succeeded [2021-05-10T11:02:29.284Z] nexus3.edgexfoundry.org:10004 [2021-05-10T11:02:29.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T11:02:29.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T11:02:29.833Z] Configure a credential helper to remove this warning. See [2021-05-10T11:02:29.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T11:02:29.833Z] [2021-05-10T11:02:29.833Z] Login Succeeded [2021-05-10T11:02:29.833Z] docker.io [2021-05-10T11:02:30.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T11:02:30.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T11:02:30.704Z] Configure a credential helper to remove this warning. See [2021-05-10T11:02:30.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T11:02:30.704Z] [2021-05-10T11:02:30.704Z] Login Succeeded [2021-05-10T11:02:30.704Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T11:02:30.721Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-10T11:02:31.020Z] ========================================================= [2021-05-10T11:02:31.020Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-10T11:02:31.020Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T11:02:31.359Z] + 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-10T11:02:34.010Z] Sending build context to Docker daemon 167.6MB [2021-05-10T11:02:34.010Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-05-10T11:02:34.010Z] Step 2/6 : FROM ${BASE} [2021-05-10T11:02:34.010Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-10T11:02:34.010Z] 595b0fe564bb: Pulling fs layer [2021-05-10T11:02:34.010Z] 7186ed65a4f7: Pulling fs layer [2021-05-10T11:02:34.010Z] 316046926c0a: Pulling fs layer [2021-05-10T11:02:34.010Z] 4ebd0625c992: Pulling fs layer [2021-05-10T11:02:34.010Z] 207e8628e3a3: Pulling fs layer [2021-05-10T11:02:34.010Z] c791037a9be2: Pulling fs layer [2021-05-10T11:02:34.010Z] ffd874e62e21: Pulling fs layer [2021-05-10T11:02:34.010Z] 4ebd0625c992: Waiting [2021-05-10T11:02:34.010Z] 207e8628e3a3: Waiting [2021-05-10T11:02:34.010Z] c791037a9be2: Waiting [2021-05-10T11:02:34.010Z] ffd874e62e21: Waiting [2021-05-10T11:02:34.010Z] 316046926c0a: Verifying Checksum [2021-05-10T11:02:34.010Z] 316046926c0a: Download complete [2021-05-10T11:02:34.010Z] 7186ed65a4f7: Verifying Checksum [2021-05-10T11:02:34.010Z] 7186ed65a4f7: Download complete [2021-05-10T11:02:34.010Z] 207e8628e3a3: Verifying Checksum [2021-05-10T11:02:34.010Z] 207e8628e3a3: Download complete [2021-05-10T11:02:34.010Z] 595b0fe564bb: Verifying Checksum [2021-05-10T11:02:34.010Z] c791037a9be2: Download complete [2021-05-10T11:02:34.617Z] 595b0fe564bb: Pull complete [2021-05-10T11:02:35.219Z] 7186ed65a4f7: Pull complete [2021-05-10T11:02:35.826Z] 316046926c0a: Pull complete [2021-05-10T11:02:36.419Z] ffd874e62e21: Verifying Checksum [2021-05-10T11:02:36.419Z] ffd874e62e21: Download complete [2021-05-10T11:02:37.866Z] 4ebd0625c992: Verifying Checksum [2021-05-10T11:02:37.866Z] 4ebd0625c992: Download complete [2021-05-10T11:02:48.042Z] 4ebd0625c992: Pull complete [2021-05-10T11:02:48.318Z] 207e8628e3a3: Pull complete [2021-05-10T11:02:48.917Z] c791037a9be2: Pull complete [2021-05-10T11:02:52.325Z] ffd874e62e21: Pull complete [2021-05-10T11:02:52.325Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-10T11:02:52.604Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-10T11:02:52.604Z] ---> cfc18b08335c [2021-05-10T11:02:52.604Z] 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-10T11:02:55.996Z] ---> Running in 8266ba126c40 [2021-05-10T11:02:57.437Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-10T11:02:59.402Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-10T11:03:01.366Z] (1/12) Installing libmagic (5.39-r0) [2021-05-10T11:03:01.960Z] (2/12) Installing file (5.39-r0) [2021-05-10T11:03:02.230Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-05-10T11:03:02.501Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-05-10T11:03:34.796Z] (5/12) Installing fortify-headers (1.1-r0) [2021-05-10T11:03:34.796Z] (6/12) Installing patch (2.7.6-r6) [2021-05-10T11:03:34.796Z] (7/12) Installing build-base (0.5-r2) [2021-05-10T11:03:34.796Z] (8/12) Installing libsodium (1.0.18-r0) [2021-05-10T11:03:34.796Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-05-10T11:03:34.796Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-05-10T11:03:34.796Z] (11/12) Installing libzmq (4.3.3-r1) [2021-05-10T11:03:35.066Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-05-10T11:03:35.346Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T11:03:35.346Z] OK: 218 MiB in 52 packages [2021-05-10T11:03:39.663Z] Removing intermediate container 8266ba126c40 [2021-05-10T11:03:39.663Z] ---> 645f143009e4 [2021-05-10T11:03:39.663Z] Step 4/6 : WORKDIR /edgex-go [2021-05-10T11:03:39.663Z] ---> Running in 1744eb0421a7 [2021-05-10T11:03:39.935Z] Removing intermediate container 1744eb0421a7 [2021-05-10T11:03:39.935Z] ---> f9c1d776956f [2021-05-10T11:03:39.935Z] Step 5/6 : COPY go.mod . [2021-05-10T11:03:40.534Z] ---> db71e23e9469 [2021-05-10T11:03:40.534Z] Step 6/6 : RUN go mod download [2021-05-10T11:03:40.817Z] ---> Running in 9e8d4baf0f49 [2021-05-10T11:04:07.617Z] Removing intermediate container 9e8d4baf0f49 [2021-05-10T11:04:07.617Z] ---> 11d0ba4bd88f [2021-05-10T11:04:07.617Z] Successfully built 11d0ba4bd88f [2021-05-10T11:04:07.617Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T11:04:07.958Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T11:04:07.958Z] . [Pipeline] withDockerContainer [2021-05-10T11:04:08.228Z] prd-ubuntu18.04-docker-arm64-4c-16g-4071 does not seem to be running inside a container [2021-05-10T11:04:08.347Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@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 ******** ci-base-image-arm64 cat [2021-05-10T11:04:09.844Z] $ docker top 3ef6d955a85855001b6227d40972ac3bb6e9eba641c3731c7382478d09467dc0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T11:04:10.760Z] + go version [2021-05-10T11:04:10.760Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-10T11:04:10.819Z] $ docker stop --time=1 3ef6d955a85855001b6227d40972ac3bb6e9eba641c3731c7382478d09467dc0 [2021-05-10T11:04:12.750Z] $ docker rm -f 3ef6d955a85855001b6227d40972ac3bb6e9eba641c3731c7382478d09467dc0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T11:04:13.484Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T11:04:13.485Z] . [Pipeline] withDockerContainer [2021-05-10T11:04:13.743Z] prd-ubuntu18.04-docker-arm64-4c-16g-4071 does not seem to be running inside a container [2021-05-10T11:04:13.856Z] $ 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/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@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 ******** ci-base-image-arm64 cat [2021-05-10T11:04:15.283Z] $ docker top eb43d21d1b3c5d3d66f09299cdcff4c7f15e5034b7424e4b06a8989bdde72c12 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-10T11:04:15.552Z] ========================================================= [2021-05-10T11:04:15.552Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-05-10T11:04:15.552Z] ========================================================= [Pipeline] sh [2021-05-10T11:04:16.190Z] + go mod tidy [Pipeline] sh [2021-05-10T11:04:17.999Z] + make test [2021-05-10T11:04:17.999Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-10T11:04:44.888Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-05-10T11:05:17.276Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [2021-05-10T11:05:17.277Z] internal/pkg/v2/utils/restaddress.go:64:37: address.RequestBody undefined (type models.RESTAddress has no field or method RequestBody) [2021-05-10T11:05:17.277Z] internal/pkg/v2/utils/restaddress.go:77:12: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-05-10T11:05:17.277Z] internal/pkg/v2/utils/restaddress.go:78:10: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-05-10T11:05:17.277Z] internal/pkg/v2/utils/restaddress.go:80:45: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-05-10T11:06:04.299Z] # github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [2021-05-10T11:06:04.299Z] internal/support/scheduler/v2/application/intervalaction.go:166:5: unknown field 'RequestBody' in struct literal of type "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".RESTAddress [2021-05-10T11:06:07.728Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command [build failed] [2021-05-10T11:06:08.719Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.169s coverage: 19.8% of statements [2021-05-10T11:06:08.997Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [build failed] [2021-05-10T11:06:08.997Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] [2021-05-10T11:06:10.001Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.161s coverage: 100.0% of statements [2021-05-10T11:06:10.991Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.162s coverage: 100.0% of statements [2021-05-10T11:06:10.991Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [build failed] [2021-05-10T11:06:10.991Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] [2021-05-10T11:06:11.978Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.157s coverage: 78.9% of statements [2021-05-10T11:06:11.978Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] [2021-05-10T11:06:13.972Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.206s coverage: 100.0% of statements [2021-05-10T11:06:13.972Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.184s coverage: 100.0% of statements [2021-05-10T11:06:16.613Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.446s coverage: 86.7% of statements [2021-05-10T11:06:18.059Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils.test] [2021-05-10T11:06:18.059Z] internal/pkg/v2/utils/restaddress.go:64: address.RequestBody undefined (type models.RESTAddress has no field or method RequestBody) [2021-05-10T11:06:18.060Z] internal/pkg/v2/utils/restaddress.go:77: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-05-10T11:06:18.060Z] internal/pkg/v2/utils/restaddress.go:78: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-05-10T11:06:18.060Z] internal/pkg/v2/utils/restaddress.go:80: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-05-10T11:06:18.669Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.467s coverage: 97.5% of statements [2021-05-10T11:06:18.669Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.278s coverage: 78.3% of statements [2021-05-10T11:06:18.669Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] [2021-05-10T11:06:18.669Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.134s coverage: 58.8% of statements [2021-05-10T11:06:18.669Z] FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [build failed] [2021-05-10T11:06:18.669Z] FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [build failed] [2021-05-10T11:06:20.650Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.156s coverage: 47.1% of statements [2021-05-10T11:06:20.650Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.145s coverage: 79.5% of statements [2021-05-10T11:06:20.650Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.143s coverage: 94.1% of statements [2021-05-10T11:06:21.640Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.144s coverage: 96.3% of statements [2021-05-10T11:06:22.635Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.151s coverage: 87.5% of statements [2021-05-10T11:06:35.045Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.170s coverage: 94.4% of statements [2021-05-10T11:06:35.045Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.136s coverage: 44.8% of statements [2021-05-10T11:06:39.350Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.476s coverage: 81.8% of statements [2021-05-10T11:06:47.657Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.226s coverage: 92.9% of statements [2021-05-10T11:06:47.657Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.054s coverage: 65.1% of statements [2021-05-10T11:06:47.657Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.092s coverage: 87.2% of statements [2021-05-10T11:06:47.657Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.108s coverage: 100.0% of statements [2021-05-10T11:06:47.658Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.145s coverage: 76.0% of statements [2021-05-10T11:06:47.658Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.145s coverage: 80.0% of statements [2021-05-10T11:06:47.658Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.199s coverage: 87.2% of statements [2021-05-10T11:06:47.658Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.233s coverage: 85.4% of statements [2021-05-10T11:06:47.658Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.273s coverage: 91.2% of statements [2021-05-10T11:06:47.658Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.694s coverage: 64.4% of statements [2021-05-10T11:06:47.658Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.129s coverage: 100.0% of statements [2021-05-10T11:06:47.658Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.078s coverage: 91.3% of statements [2021-05-10T11:06:47.658Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.049s coverage: 100.0% of statements [2021-05-10T11:06:48.262Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.086s coverage: 73.7% of statements [2021-05-10T11:06:48.539Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.069s coverage: 100.0% of statements [2021-05-10T11:06:52.867Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.994s coverage: 66.9% of statements [2021-05-10T11:06:54.309Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.632s coverage: 43.4% of statements [2021-05-10T11:06:54.309Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.099s coverage: 89.5% of statements [2021-05-10T11:06:54.309Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.076s coverage: 84.8% of statements [2021-05-10T11:06:54.309Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] [2021-05-10T11:06:54.586Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application.test] [2021-05-10T11:06:54.586Z] internal/support/notifications/v2/application/subscription_test.go:73:3: cannot use &testSubscriptionResendLimit (type *int64) as type *int in field value [2021-05-10T11:06:55.574Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.128s coverage: 100.0% of statements [2021-05-10T11:06:56.174Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.102s coverage: 100.0% of statements [2021-05-10T11:06:56.174Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [build failed] [2021-05-10T11:06:56.174Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [build failed] [2021-05-10T11:06:56.174Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] [2021-05-10T11:06:59.594Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.195s coverage: 99.0% of statements [2021-05-10T11:06:59.594Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.197s coverage: 100.0% of statements [2021-05-10T11:06:59.594Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler [build failed] [2021-05-10T11:06:59.594Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http [build failed] [2021-05-10T11:06:59.594Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.043s coverage: 0.0% of statements [2021-05-10T11:06:59.594Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.049s coverage: 100.0% of statements [2021-05-10T11:06:59.594Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.089s coverage: 87.9% of statements [2021-05-10T11:07:00.191Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.055s coverage: 100.0% of statements [2021-05-10T11:07:01.637Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.134s coverage: 28.1% of statements [2021-05-10T11:07:01.637Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application 0.057s coverage: 85.7% of statements [2021-05-10T11:07:02.235Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.076s coverage: 100.0% of statements [2021-05-10T11:07:03.212Z] make: *** [Makefile:94: test] Error 2 [Pipeline] } [2021-05-10T11:07:03.306Z] $ docker stop --time=1 eb43d21d1b3c5d3d66f09299cdcff4c7f15e5034b7424e4b06a8989bdde72c12 [2021-05-10T11:07:05.621Z] $ docker rm -f eb43d21d1b3c5d3d66f09299cdcff4c7f15e5034b7424e4b06a8989bdde72c12 [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-10T11:07:06.961Z] ---> job-cost.sh [2021-05-10T11:07:06.961Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-qnLX [2021-05-10T11:07:46.027Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T11:09:07.782Z] lf-activate-venv(): INFO: Adding /tmp/venv-qnLX/bin to PATH [2021-05-10T11:09:07.782Z] INFO: No Stack... [2021-05-10T11:09:07.782Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-10T11:09:07.782Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T11:09:08.133Z] + cat /w/workspace/edgex-go/5/archives/cost.csv [2021-05-10T11:09:08.133Z] + cut -d, -f6 [Pipeline] lock [2021-05-10T11:09:08.546Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3440-5-stack-cost] [2021-05-10T11:09:08.554Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3440-5-stack-cost] did not exist. Created. [2021-05-10T11:09:08.555Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3440-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T11:09:08.929Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-10T11:09:09.658Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T11:09:09.669Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3440-5-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-10T11:09:09.887Z] 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-10T11:09:10.882Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T11:09:12.407Z] ---> package-listing.sh [2021-05-10T11:09:12.407Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-10T11:09:12.407Z] ++ facter osfamily [2021-05-10T11:09:13.031Z] + OS_FAMILY=redhat [2021-05-10T11:09:13.031Z] + workspace=/w/workspace/edgex-go/5 [2021-05-10T11:09:13.031Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-10T11:09:13.031Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-10T11:09:13.031Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-10T11:09:13.031Z] + PACKAGES=/tmp/packages_start.txt [2021-05-10T11:09:13.031Z] + '[' /w/workspace/edgex-go/5 ']' [2021-05-10T11:09:13.031Z] + PACKAGES=/tmp/packages_end.txt [2021-05-10T11:09:13.031Z] + case "${OS_FAMILY}" in [2021-05-10T11:09:13.031Z] + rpm -qa [2021-05-10T11:09:13.031Z] + sort [2021-05-10T11:09:19.981Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-10T11:09:19.981Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-10T11:09:19.981Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-10T11:09:19.981Z] + '[' /w/workspace/edgex-go/5 ']' [2021-05-10T11:09:19.981Z] + mkdir -p /w/workspace/edgex-go/5/archives/ [2021-05-10T11:09:19.981Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/5/archives/ [Pipeline] echo [2021-05-10T11:09:20.003Z] 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/5/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-10T11:09:20.318Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-10T11:09:20.649Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T11:09:20.928Z] [2021-05-10T11:09:20.928Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-10T11:09:21.306Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T11:09:21.583Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-10T11:09:21.583Z] df20fa9351a1: Pulling fs layer [2021-05-10T11:09:21.583Z] 36b3adc4ff6f: Pulling fs layer [2021-05-10T11:09:21.583Z] 8ad3a11d3b57: Pulling fs layer [2021-05-10T11:09:21.583Z] 46f8f816bc3b: Pulling fs layer [2021-05-10T11:09:21.583Z] 93b61091891f: Pulling fs layer [2021-05-10T11:09:21.583Z] 93b9cdb0e59b: Pulling fs layer [2021-05-10T11:09:21.583Z] 5e14af77c1be: Pulling fs layer [2021-05-10T11:09:21.583Z] 01666e4c0597: Pulling fs layer [2021-05-10T11:09:21.583Z] aa168da1d23b: Pulling fs layer [2021-05-10T11:09:21.583Z] 46f8f816bc3b: Waiting [2021-05-10T11:09:21.583Z] 93b61091891f: Waiting [2021-05-10T11:09:21.583Z] 01666e4c0597: Waiting [2021-05-10T11:09:21.583Z] 93b9cdb0e59b: Waiting [2021-05-10T11:09:21.583Z] 5e14af77c1be: Waiting [2021-05-10T11:09:21.583Z] aa168da1d23b: Waiting [2021-05-10T11:09:21.862Z] 36b3adc4ff6f: Verifying Checksum [2021-05-10T11:09:21.863Z] 36b3adc4ff6f: Download complete [2021-05-10T11:09:21.863Z] 46f8f816bc3b: Verifying Checksum [2021-05-10T11:09:21.863Z] 46f8f816bc3b: Download complete [2021-05-10T11:09:22.163Z] df20fa9351a1: Verifying Checksum [2021-05-10T11:09:22.163Z] df20fa9351a1: Download complete [2021-05-10T11:09:22.163Z] 93b9cdb0e59b: Download complete [2021-05-10T11:09:22.163Z] 93b61091891f: Verifying Checksum [2021-05-10T11:09:22.163Z] 93b61091891f: Download complete [2021-05-10T11:09:22.163Z] 01666e4c0597: Verifying Checksum [2021-05-10T11:09:22.163Z] 01666e4c0597: Download complete [2021-05-10T11:09:22.163Z] 5e14af77c1be: Verifying Checksum [2021-05-10T11:09:22.163Z] 5e14af77c1be: Download complete [2021-05-10T11:09:22.789Z] df20fa9351a1: Pull complete [2021-05-10T11:09:23.223Z] 8ad3a11d3b57: Verifying Checksum [2021-05-10T11:09:23.223Z] 8ad3a11d3b57: Download complete [2021-05-10T11:09:23.542Z] 36b3adc4ff6f: Pull complete [2021-05-10T11:09:26.519Z] 8ad3a11d3b57: Pull complete [2021-05-10T11:09:26.519Z] 46f8f816bc3b: Pull complete [2021-05-10T11:09:27.133Z] 93b61091891f: Pull complete [2021-05-10T11:09:27.764Z] 93b9cdb0e59b: Pull complete [2021-05-10T11:09:28.074Z] 5e14af77c1be: Pull complete [2021-05-10T11:09:28.371Z] 01666e4c0597: Pull complete [2021-05-10T11:09:31.192Z] aa168da1d23b: Verifying Checksum [2021-05-10T11:09:31.192Z] aa168da1d23b: Download complete [2021-05-10T11:09:43.781Z] aa168da1d23b: Pull complete [2021-05-10T11:09:43.781Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-10T11:09:43.781Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T11:09:43.781Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-10T11:09:44.162Z] prd-centos7-docker-4c-2g-4070 does not seem to be running inside a container [2021-05-10T11:09:44.234Z] $ 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/5/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/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@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-10T11:09:47.475Z] $ docker top bfe2b52678a479a5f101562c77cb7b401ed0c5535c97130c4b0c0ffd8e95b890 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T11:09:48.433Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-10T11:09:48.766Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-10T11:09:49.449Z] + ls /var/log/sa-host [2021-05-10T11:09:49.449Z] + sadf -c /var/log/sa-host/sa10 [2021-05-10T11:09:49.449Z] file_magic: OK [2021-05-10T11:09:49.449Z] HZ: Using current value: 100 [2021-05-10T11:09:49.449Z] file_header: OK [2021-05-10T11:09:49.449Z] 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-10T11:09:49.449Z] Statistics: [2021-05-10T11:09:49.449Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-10T11:09:49.449Z] File successfully converted to sysstat format version 12.2.1 [2021-05-10T11:09:49.449Z] + sadf -c /var/log/sa-host/sa23 [2021-05-10T11:09:49.449Z] file_magic: OK [2021-05-10T11:09:49.449Z] HZ: Using current value: 100 [2021-05-10T11:09:49.449Z] file_header: OK [2021-05-10T11:09:49.449Z] 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-10T11:09:49.449Z] Statistics: [2021-05-10T11:09:49.449Z] Hnuu...uuuununununu... [2021-05-10T11:09:49.449Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-10T11:09:49.636Z] provisioning config files... [2021-05-10T11:09:49.664Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/5@tmp/config3633760073844553050tmp [Pipeline] { [Pipeline] echo [2021-05-10T11:09:49.716Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T11:09:50.379Z] ---> create-netrc.sh [Pipeline] } [2021-05-10T11:09:50.390Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-10T11:09:50.417Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T11:09:50.732Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-10T11:09:50.756Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T11:09:51.096Z] ---> sudo-logs.sh [2021-05-10T11:09:51.096Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-10T11:09:51.555Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T11:09:51.916Z] ---> job-cost.sh [2021-05-10T11:09:51.916Z] lf-activate-venv: SKIPPING [2021-05-10T11:09:51.916Z] DEBUG: total: 0.20999999344348907 [2021-05-10T11:09:51.916Z] INFO: Retrieving Stack Cost... [2021-05-10T11:09:53.350Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T11:09:54.393Z] INFO: Archiving Costs [Pipeline] echo [2021-05-10T11:09:54.412Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T11:09:54.837Z] ---> logs-deploy.sh [2021-05-10T11:09:54.837Z] lf-activate-venv: SKIPPING [2021-05-10T11:09:54.837Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3440/5 [2021-05-10T11:09:54.837Z] INFO: archiving workspace using pattern(s): [2021-05-10T11:09:57.454Z] Archives upload complete. [2021-05-10T11:09:57.455Z] INFO: archiving logs to Nexus [2021-05-10T11:09:58.901Z] ---> uname -a: [2021-05-10T11:09:58.901Z] Linux prd-centos7-docker-4c-2g-4070.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-05-10T11:09:58.901Z] [2021-05-10T11:09:58.901Z] [2021-05-10T11:09:58.901Z] ---> lscpu: [2021-05-10T11:09:58.901Z] Architecture: x86_64 [2021-05-10T11:09:58.901Z] CPU op-mode(s): 32-bit, 64-bit [2021-05-10T11:09:58.901Z] Byte Order: Little Endian [2021-05-10T11:09:58.901Z] Address sizes: 40 bits physical, 48 bits virtual [2021-05-10T11:09:58.901Z] CPU(s): 4 [2021-05-10T11:09:58.901Z] On-line CPU(s) list: 0-3 [2021-05-10T11:09:58.901Z] Thread(s) per core: 1 [2021-05-10T11:09:58.901Z] Core(s) per socket: 1 [2021-05-10T11:09:58.901Z] Socket(s): 4 [2021-05-10T11:09:58.901Z] NUMA node(s): 1 [2021-05-10T11:09:58.901Z] Vendor ID: GenuineIntel [2021-05-10T11:09:58.901Z] CPU family: 6 [2021-05-10T11:09:58.901Z] Model: 44 [2021-05-10T11:09:58.901Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-05-10T11:09:58.901Z] Stepping: 1 [2021-05-10T11:09:58.901Z] CPU MHz: 2933.436 [2021-05-10T11:09:58.901Z] BogoMIPS: 5866.87 [2021-05-10T11:09:58.901Z] Virtualization: VT-x [2021-05-10T11:09:58.901Z] Hypervisor vendor: KVM [2021-05-10T11:09:58.901Z] Virtualization type: full [2021-05-10T11:09:58.901Z] L1d cache: 128 KiB [2021-05-10T11:09:58.901Z] L1i cache: 128 KiB [2021-05-10T11:09:58.901Z] L2 cache: 16 MiB [2021-05-10T11:09:58.901Z] L3 cache: 64 MiB [2021-05-10T11:09:58.901Z] NUMA node0 CPU(s): 0-3 [2021-05-10T11:09:58.901Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-05-10T11:09:58.901Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-05-10T11:09:58.901Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-05-10T11:09:58.901Z] Vulnerability Meltdown: Mitigation; PTI [2021-05-10T11:09:58.901Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-05-10T11:09:58.901Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-05-10T11:09:58.901Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-05-10T11:09:58.901Z] Vulnerability Srbds: Not affected [2021-05-10T11:09:58.901Z] Vulnerability Tsx async abort: Not affected [2021-05-10T11:09:58.901Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-05-10T11:09:58.901Z] [2021-05-10T11:09:58.901Z] [2021-05-10T11:09:58.901Z] ---> nproc: [2021-05-10T11:09:58.901Z] 4 [2021-05-10T11:09:58.901Z] [2021-05-10T11:09:58.901Z]