Pull request #3440 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 00f0702d7a30b9e1750dc6fec628187e06232551+55d4d9f0fa93f39a6dc124c4bf1b3997c725453d (ce547f1ca27cd218273b29828f168ba688490819) 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 ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4153 in /w/workspace/edgexfoundry_edgex-go_PR-3440 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/7 [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/7 # 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 Merging remotes/origin/master commit 55d4d9f0fa93f39a6dc124c4bf1b3997c725453d into PR head commit 00f0702d7a30b9e1750dc6fec628187e06232551 Merge succeeded, producing 00f0702d7a30b9e1750dc6fec628187e06232551 Checking out Revision 00f0702d7a30b9e1750dc6fec628187e06232551 (PR-3440) > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/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 00f0702d7a30b9e1750dc6fec628187e06232551 # 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 55d4d9f0fa93f39a6dc124c4bf1b3997c725453d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 00f0702d7a30b9e1750dc6fec628187e06232551 # 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-10T18:07:15.611Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-10T18:07:15.752Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-10T18:07:15.778Z] ========================================================= [2021-05-10T18:07:15.778Z] EdgeX Global Pipelines Version Info [2021-05-10T18:07:15.778Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:07:17.308Z] ------------------- [2021-05-10T18:07:17.309Z] stable info: [2021-05-10T18:07:17.309Z] ------------------- [2021-05-10T18:07:17.309Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-10T18:07:17.309Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-10T18:07:17.309Z] Message: update stable to v1.0.191 > git rev-list --no-walk f25dfa89c3c5906cc09b1dc2f73255d65f9a3552 # timeout=10 [2021-05-10T18:07:18.260Z] ------------------- [2021-05-10T18:07:18.261Z] experimental info: [2021-05-10T18:07:18.261Z] ------------------- [2021-05-10T18:07:18.261Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-10T18:07:18.261Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-10T18:07:18.261Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-10T18:07:18.386Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-05-10T18:07:18.406Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-05-10T18:07:18.426Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-10T18:07:18.447Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-10T18:07:18.468Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-10T18:07:18.490Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-10T18:07:18.514Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-10T18:07:18.536Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-05-10T18:07:18.578Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo [2021-05-10T18:07:18.599Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo [2021-05-10T18:07:18.620Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-10T18:07:18.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-10T18:07:18.661Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-10T18:07:18.680Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-10T18:07:18.701Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-10T18:07:18.721Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-10T18:07:18.742Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-10T18:07:18.789Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-10T18:07:18.811Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-10T18:07:18.835Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-10T18:07:18.856Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-05-10T18:07:18.877Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-10T18:07:18.899Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3440 [Pipeline] echo [2021-05-10T18:07:18.923Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3440 [Pipeline] echo [2021-05-10T18:07:18.945Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3440 [Pipeline] echo [2021-05-10T18:07:18.966Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 00f0702d7a30b9e1750dc6fec628187e06232551 [Pipeline] echo [2021-05-10T18:07:18.993Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 00f0702 [Pipeline] echo [2021-05-10T18:07:19.035Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T18:07:19.102Z] provisioning config files... [2021-05-10T18:07:19.138Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/7@tmp/config149478794008057334tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:07:19.472Z] ---> docker-login.sh [2021-05-10T18:07:19.472Z] nexus3.edgexfoundry.org:10001 [2021-05-10T18:07:19.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:07:20.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:07:20.006Z] Configure a credential helper to remove this warning. See [2021-05-10T18:07:20.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:07:20.006Z] [2021-05-10T18:07:20.006Z] Login Succeeded [2021-05-10T18:07:20.006Z] nexus3.edgexfoundry.org:10002 [2021-05-10T18:07:20.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:07:20.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:07:20.273Z] Configure a credential helper to remove this warning. See [2021-05-10T18:07:20.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:07:20.273Z] [2021-05-10T18:07:20.273Z] Login Succeeded [2021-05-10T18:07:20.273Z] nexus3.edgexfoundry.org:10003 [2021-05-10T18:07:20.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:07:20.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:07:20.273Z] Configure a credential helper to remove this warning. See [2021-05-10T18:07:20.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:07:20.273Z] [2021-05-10T18:07:20.273Z] Login Succeeded [2021-05-10T18:07:20.273Z] nexus3.edgexfoundry.org:10004 [2021-05-10T18:07:20.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:07:20.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:07:20.540Z] Configure a credential helper to remove this warning. See [2021-05-10T18:07:20.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:07:20.540Z] [2021-05-10T18:07:20.540Z] Login Succeeded [2021-05-10T18:07:20.540Z] docker.io [2021-05-10T18:07:20.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:07:21.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:07:21.068Z] Configure a credential helper to remove this warning. See [2021-05-10T18:07:21.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:07:21.068Z] [2021-05-10T18:07:21.068Z] Login Succeeded [2021-05-10T18:07:21.068Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T18:07:21.079Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-10T18:07:21.415Z] ++ 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-10T18:07:21.415Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-10T18:07:21.415Z] ++ dirname cmd/core-command/Dockerfile [2021-05-10T18:07:21.415Z] ++ cut -d/ -f2 [2021-05-10T18:07:21.415Z] + echo core-command,cmd/core-command/Dockerfile [2021-05-10T18:07:21.415Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-10T18:07:21.415Z] ++ dirname cmd/core-data/Dockerfile [2021-05-10T18:07:21.415Z] ++ cut -d/ -f2 [2021-05-10T18:07:21.415Z] + echo core-data,cmd/core-data/Dockerfile [2021-05-10T18:07:21.415Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-10T18:07:21.415Z] ++ dirname cmd/core-metadata/Dockerfile [2021-05-10T18:07:21.415Z] ++ cut -d/ -f2 [2021-05-10T18:07:21.415Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-05-10T18:07:21.415Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-10T18:07:21.415Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-05-10T18:07:21.415Z] ++ cut -d/ -f2 [2021-05-10T18:07:21.415Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-05-10T18:07:21.415Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-10T18:07:21.415Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-05-10T18:07:21.415Z] ++ cut -d/ -f2 [2021-05-10T18:07:21.415Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-05-10T18:07:21.415Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-10T18:07:21.415Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-05-10T18:07:21.415Z] ++ cut -d/ -f2 [2021-05-10T18:07:21.415Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-05-10T18:07:21.415Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-10T18:07:21.415Z] ++ dirname cmd/support-notifications/Dockerfile [2021-05-10T18:07:21.415Z] ++ cut -d/ -f2 [2021-05-10T18:07:21.415Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-05-10T18:07:21.415Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-10T18:07:21.415Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-05-10T18:07:21.415Z] ++ cut -d/ -f2 [2021-05-10T18:07:21.415Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-05-10T18:07:21.415Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-10T18:07:21.415Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-05-10T18:07:21.415Z] ++ cut -d/ -f2 [2021-05-10T18:07:21.415Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-05-10T18:07:21.506Z] 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-10T18:07:22.156Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T18:07:22.156Z] [2021-05-10T18:07:22.156Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T18:07:22.477Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T18:07:22.477Z] latest: Pulling from edgex-devops/git-semver [2021-05-10T18:07:22.477Z] 31603596830f: Pulling fs layer [2021-05-10T18:07:22.477Z] 54011a49482f: Pulling fs layer [2021-05-10T18:07:22.477Z] a6820b24f6d8: Pulling fs layer [2021-05-10T18:07:22.477Z] f581987b2513: Pulling fs layer [2021-05-10T18:07:22.477Z] f581987b2513: Waiting [2021-05-10T18:07:22.477Z] 54011a49482f: Verifying Checksum [2021-05-10T18:07:22.477Z] 54011a49482f: Download complete [2021-05-10T18:07:22.744Z] 31603596830f: Verifying Checksum [2021-05-10T18:07:22.744Z] 31603596830f: Download complete [2021-05-10T18:07:22.744Z] f581987b2513: Verifying Checksum [2021-05-10T18:07:22.744Z] f581987b2513: Download complete [2021-05-10T18:07:22.744Z] a6820b24f6d8: Verifying Checksum [2021-05-10T18:07:22.744Z] a6820b24f6d8: Download complete [2021-05-10T18:07:23.017Z] 31603596830f: Pull complete [2021-05-10T18:07:23.282Z] 54011a49482f: Pull complete [2021-05-10T18:07:24.241Z] a6820b24f6d8: Pull complete [2021-05-10T18:07:24.241Z] f581987b2513: Pull complete [2021-05-10T18:07:24.241Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-10T18:07:24.241Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T18:07:24.241Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-10T18:07:24.363Z] prd-centos7-docker-4c-2g-4153 does not seem to be running inside a container [2021-05-10T18:07:24.424Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/7 -v /w/workspace/edgex-go/7:/w/workspace/edgex-go/7:rw,z -v /w/workspace/edgex-go/7@tmp:/w/workspace/edgex-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-10T18:07:27.120Z] $ docker top 1deac2c2516eb493739accdd3f7e2b7c60d5e5cf1e61da5897ac855c0dc782a5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-10T18:07:27.397Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T18:07:27.397Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T18:07:27.651Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T18:07:27.654Z] $ docker exec 1deac2c2516eb493739accdd3f7e2b7c60d5e5cf1e61da5897ac855c0dc782a5 ssh-agent [2021-05-10T18:07:27.854Z] SSH_AUTH_SOCK=/tmp/ssh-129XRwOCMWpw/agent.11 [2021-05-10T18:07:27.854Z] SSH_AGENT_PID=17 [2021-05-10T18:07:27.870Z] Running ssh-add (command line suppressed) [2021-05-10T18:07:27.998Z] Identity added: /w/workspace/edgex-go/7@tmp/private_key_470439792230055965.key (/w/workspace/edgex-go/7@tmp/private_key_470439792230055965.key) [2021-05-10T18:07:28.055Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T18:07:28.369Z] + git tag --points-at HEAD [Pipeline] } [2021-05-10T18:07:28.398Z] $ docker exec --env ******** --env ******** 1deac2c2516eb493739accdd3f7e2b7c60d5e5cf1e61da5897ac855c0dc782a5 ssh-agent -k [2021-05-10T18:07:28.523Z] unset SSH_AUTH_SOCK; [2021-05-10T18:07:28.524Z] unset SSH_AGENT_PID; [2021-05-10T18:07:28.524Z] echo Agent pid 17 killed; [2021-05-10T18:07:28.582Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-10T18:07:28.627Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T18:07:28.627Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T18:07:28.840Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T18:07:28.844Z] $ docker exec 1deac2c2516eb493739accdd3f7e2b7c60d5e5cf1e61da5897ac855c0dc782a5 ssh-agent [2021-05-10T18:07:29.055Z] SSH_AUTH_SOCK=/tmp/ssh-DvGrMJFiRl8E/agent.45 [2021-05-10T18:07:29.055Z] SSH_AGENT_PID=50 [2021-05-10T18:07:29.063Z] Running ssh-add (command line suppressed) [2021-05-10T18:07:29.205Z] Identity added: /w/workspace/edgex-go/7@tmp/private_key_2968407334290782181.key (/w/workspace/edgex-go/7@tmp/private_key_2968407334290782181.key) [2021-05-10T18:07:29.286Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T18:07:29.594Z] + git semver init [2021-05-10T18:07:29.594Z] # -> Open(): unable to determine branch for HEAD [2021-05-10T18:07:29.594Z] # $GIT_DIR = /w/workspace/edgex-go/7/.git [2021-05-10T18:07:29.594Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/7 [2021-05-10T18:07:29.594Z] # $SEMVER_REMOTE_NAME = origin [2021-05-10T18:07:29.594Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-10T18:07:29.594Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-10T18:07:29.594Z] # $SEMVER_BRANCH = PR-3440 [2021-05-10T18:07:29.594Z] # $SEMVER_TEMP = /tmp/semver-220559741 [2021-05-10T18:07:29.594Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-05-10T18:08:01.801Z] # '/tmp/semver-220559741' -> '/w/workspace/edgex-go/7/.semver' [2021-05-10T18:08:01.801Z] # -> Force: false [2021-05-10T18:08:01.801Z] # $SEMVER_DIR = /w/workspace/edgex-go/7/.semver [Pipeline] } [2021-05-10T18:08:01.820Z] $ docker exec --env ******** --env ******** 1deac2c2516eb493739accdd3f7e2b7c60d5e5cf1e61da5897ac855c0dc782a5 ssh-agent -k [2021-05-10T18:08:02.177Z] unset SSH_AUTH_SOCK; [2021-05-10T18:08:02.177Z] unset SSH_AGENT_PID; [2021-05-10T18:08:02.177Z] echo Agent pid 50 killed; [2021-05-10T18:08:02.291Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-10T18:08:02.628Z] + git semver [Pipeline] } [2021-05-10T18:08:02.646Z] $ docker stop --time=1 1deac2c2516eb493739accdd3f7e2b7c60d5e5cf1e61da5897ac855c0dc782a5 [2021-05-10T18:08:04.749Z] $ docker rm -f 1deac2c2516eb493739accdd3f7e2b7c60d5e5cf1e61da5897ac855c0dc782a5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T18:08:05.257Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-10T18:08:05.745Z] Stashed 1 file(s) [Pipeline] echo [2021-05-10T18:08:05.748Z] [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-10T18:08:06.263Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-10T18:08:06.569Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T18:08:06.874Z] + true [2021-05-10T18:08:06.875Z] + sudo service docker restart [2021-05-10T18:08:06.875Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] echo [2021-05-10T18:08:07.476Z] ========================================================= [2021-05-10T18:08:07.476Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-10T18:08:07.476Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T18:08:07.803Z] + 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-10T18:08:12.118Z] Sending build context to Docker daemon 330.1MB [2021-05-10T18:08:12.118Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-05-10T18:08:12.118Z] Step 2/6 : FROM ${BASE} [2021-05-10T18:08:12.118Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-10T18:08:12.118Z] 540db60ca938: Pulling fs layer [2021-05-10T18:08:12.118Z] adcc1eea9eea: Pulling fs layer [2021-05-10T18:08:12.118Z] 4c4ab2625f07: Pulling fs layer [2021-05-10T18:08:12.118Z] 0510c868ecb4: Pulling fs layer [2021-05-10T18:08:12.118Z] afea3b2eda06: Pulling fs layer [2021-05-10T18:08:12.118Z] 7809a108b3ef: Pulling fs layer [2021-05-10T18:08:12.118Z] f706445af74f: Pulling fs layer [2021-05-10T18:08:12.118Z] afea3b2eda06: Waiting [2021-05-10T18:08:12.118Z] 7809a108b3ef: Waiting [2021-05-10T18:08:12.118Z] f706445af74f: Waiting [2021-05-10T18:08:12.118Z] 0510c868ecb4: Waiting [2021-05-10T18:08:12.118Z] 4c4ab2625f07: Verifying Checksum [2021-05-10T18:08:12.118Z] 4c4ab2625f07: Download complete [2021-05-10T18:08:12.118Z] adcc1eea9eea: Verifying Checksum [2021-05-10T18:08:12.118Z] adcc1eea9eea: Download complete [2021-05-10T18:08:12.118Z] afea3b2eda06: Verifying Checksum [2021-05-10T18:08:12.118Z] afea3b2eda06: Download complete [2021-05-10T18:08:12.118Z] 7809a108b3ef: Verifying Checksum [2021-05-10T18:08:12.118Z] 7809a108b3ef: Download complete [2021-05-10T18:08:12.118Z] 540db60ca938: Verifying Checksum [2021-05-10T18:08:12.118Z] 540db60ca938: Download complete [2021-05-10T18:08:12.449Z] 540db60ca938: Pull complete [2021-05-10T18:08:13.052Z] adcc1eea9eea: Pull complete [2021-05-10T18:08:13.322Z] 4c4ab2625f07: Pull complete [2021-05-10T18:08:13.587Z] f706445af74f: Download complete [2021-05-10T18:08:14.992Z] 0510c868ecb4: Verifying Checksum [2021-05-10T18:08:14.992Z] 0510c868ecb4: Download complete [2021-05-10T18:08:20.885Z] Still waiting to schedule task [2021-05-10T18:08:20.886Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-10T18:08:21.707Z] 0510c868ecb4: Pull complete [2021-05-10T18:08:21.708Z] afea3b2eda06: Pull complete [2021-05-10T18:08:21.708Z] 7809a108b3ef: Pull complete [2021-05-10T18:08:25.963Z] f706445af74f: Pull complete [2021-05-10T18:08:25.964Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-10T18:08:25.964Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-10T18:08:25.964Z] ---> b068be0155e3 [2021-05-10T18:08:25.964Z] 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-10T18:08:27.365Z] ---> Running in 7e60a2b4bc5e [2021-05-10T18:08:27.946Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-10T18:08:29.874Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-10T18:08:31.280Z] (1/12) Installing libmagic (5.39-r0) [2021-05-10T18:08:31.545Z] (2/12) Installing file (5.39-r0) [2021-05-10T18:08:31.545Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-05-10T18:08:31.811Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-05-10T18:08:53.886Z] (5/12) Installing fortify-headers (1.1-r0) [2021-05-10T18:08:53.886Z] (6/12) Installing patch (2.7.6-r6) [2021-05-10T18:08:54.466Z] (7/12) Installing build-base (0.5-r2) [2021-05-10T18:08:54.466Z] (8/12) Installing libsodium (1.0.18-r0) [2021-05-10T18:08:55.052Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-05-10T18:08:55.052Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-05-10T18:08:55.321Z] (11/12) Installing libzmq (4.3.3-r1) [2021-05-10T18:08:55.594Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-05-10T18:08:55.864Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T18:08:55.864Z] OK: 219 MiB in 52 packages [2021-05-10T18:08:59.195Z] Removing intermediate container 7e60a2b4bc5e [2021-05-10T18:08:59.195Z] ---> c97be1e2c63f [2021-05-10T18:08:59.195Z] Step 4/6 : WORKDIR /edgex-go [2021-05-10T18:08:59.458Z] ---> Running in 19022ebed70d [2021-05-10T18:08:59.458Z] Removing intermediate container 19022ebed70d [2021-05-10T18:08:59.458Z] ---> bb7e12bcf309 [2021-05-10T18:08:59.458Z] Step 5/6 : COPY go.mod . [2021-05-10T18:08:59.723Z] ---> ceb0fb9276c6 [2021-05-10T18:08:59.723Z] Step 6/6 : RUN go mod download [2021-05-10T18:08:59.723Z] ---> Running in 398b99fb764f [2021-05-10T18:09:21.764Z] Removing intermediate container 398b99fb764f [2021-05-10T18:09:21.764Z] ---> b3e41b2f0c60 [2021-05-10T18:09:21.764Z] Successfully built b3e41b2f0c60 [2021-05-10T18:09:21.764Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T18:09:22.087Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T18:09:22.087Z] . [Pipeline] withDockerContainer [2021-05-10T18:09:22.497Z] prd-centos7-docker-4c-2g-4153 does not seem to be running inside a container [2021-05-10T18:09:22.545Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/7 -v /w/workspace/edgex-go/7:/w/workspace/edgex-go/7:rw,z -v /w/workspace/edgex-go/7@tmp:/w/workspace/edgex-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-10T18:09:23.606Z] $ docker top ab9d430f1f3b773c5df1cbab56494195de674c467a0b46d0c5c544141513ae8d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T18:09:24.082Z] + go version [2021-05-10T18:09:24.082Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-10T18:09:24.102Z] $ docker stop --time=1 ab9d430f1f3b773c5df1cbab56494195de674c467a0b46d0c5c544141513ae8d [2021-05-10T18:09:25.496Z] $ docker rm -f ab9d430f1f3b773c5df1cbab56494195de674c467a0b46d0c5c544141513ae8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T18:09:26.015Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T18:09:26.015Z] . [Pipeline] withDockerContainer [2021-05-10T18:09:26.128Z] prd-centos7-docker-4c-2g-4153 does not seem to be running inside a container [2021-05-10T18:09:26.180Z] $ 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/7 -v /w/workspace/edgex-go/7:/w/workspace/edgex-go/7:rw,z -v /w/workspace/edgex-go/7@tmp:/w/workspace/edgex-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-10T18:09:27.117Z] $ docker top 485d3ea379e057cc5359055dcd4511f306b9d4bba8a2d8198f5f45ee3a05a3e8 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-10T18:09:27.354Z] ========================================================= [2021-05-10T18:09:27.354Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-05-10T18:09:27.354Z] ========================================================= [Pipeline] sh [2021-05-10T18:09:27.695Z] + go mod tidy [Pipeline] sh [2021-05-10T18:09:29.944Z] + make test [2021-05-10T18:09:29.944Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-10T18:09:40.063Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-05-10T18:09:55.136Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [2021-05-10T18:09:55.136Z] internal/pkg/v2/utils/restaddress.go:64:37: address.RequestBody undefined (type models.RESTAddress has no field or method RequestBody) [2021-05-10T18:09:55.136Z] internal/pkg/v2/utils/restaddress.go:77:12: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-05-10T18:09:55.136Z] internal/pkg/v2/utils/restaddress.go:78:10: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-05-10T18:09:55.136Z] internal/pkg/v2/utils/restaddress.go:80:45: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-05-10T18:10:13.539Z] # github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [2021-05-10T18:10:13.539Z] 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-10T18:10:14.959Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command [build failed] [2021-05-10T18:10:15.231Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.083s coverage: 19.8% of statements [2021-05-10T18:10:15.508Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [build failed] [2021-05-10T18:10:15.508Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] [2021-05-10T18:10:16.105Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.069s coverage: 100.0% of statements [2021-05-10T18:10:16.105Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.058s coverage: 100.0% of statements [2021-05-10T18:10:16.105Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [build failed] [2021-05-10T18:10:16.105Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] [2021-05-10T18:10:16.722Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.078s coverage: 78.9% of statements [2021-05-10T18:10:16.722Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] [2021-05-10T18:10:17.724Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.117s coverage: 100.0% of statements [2021-05-10T18:10:17.724Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.060s coverage: 100.0% of statements [2021-05-10T18:10:18.324Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.170s coverage: 86.7% of statements [2021-05-10T18:10:18.324Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.142s coverage: 97.5% of statements [2021-05-10T18:10:18.593Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.100s coverage: 78.3% of statements [2021-05-10T18:10:18.593Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] [2021-05-10T18:10:18.593Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils.test] [2021-05-10T18:10:18.593Z] internal/pkg/v2/utils/restaddress.go:64: address.RequestBody undefined (type models.RESTAddress has no field or method RequestBody) [2021-05-10T18:10:18.593Z] internal/pkg/v2/utils/restaddress.go:77: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-05-10T18:10:18.593Z] internal/pkg/v2/utils/restaddress.go:78: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-05-10T18:10:18.593Z] internal/pkg/v2/utils/restaddress.go:80: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-05-10T18:10:19.181Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.093s coverage: 58.8% of statements [2021-05-10T18:10:19.181Z] FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [build failed] [2021-05-10T18:10:19.181Z] FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [build failed] [2021-05-10T18:10:19.446Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.058s coverage: 47.1% of statements [2021-05-10T18:10:19.446Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.075s coverage: 79.5% of statements [2021-05-10T18:10:19.719Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.069s coverage: 94.1% of statements [2021-05-10T18:10:20.302Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.074s coverage: 96.3% of statements [2021-05-10T18:10:20.302Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.056s coverage: 87.5% of statements [2021-05-10T18:10:32.586Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.709s coverage: 94.4% of statements [2021-05-10T18:10:32.586Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.058s coverage: 44.8% of statements [2021-05-10T18:10:35.912Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.384s coverage: 81.8% of statements [2021-05-10T18:10:41.283Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application.test] [2021-05-10T18:10:41.283Z] internal/support/notifications/v2/application/subscription_test.go:73:3: cannot use &testSubscriptionResendLimit (type *int64) as type *int in field value [2021-05-10T18:10:43.253Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.111s coverage: 92.9% of statements [2021-05-10T18:10:43.253Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.035s coverage: 65.1% of statements [2021-05-10T18:10:43.253Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.049s coverage: 87.2% of statements [2021-05-10T18:10:43.253Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.054s coverage: 100.0% of statements [2021-05-10T18:10:43.253Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.066s coverage: 76.0% of statements [2021-05-10T18:10:43.253Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.055s coverage: 80.0% of statements [2021-05-10T18:10:43.253Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.085s coverage: 87.2% of statements [2021-05-10T18:10:43.253Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.069s coverage: 85.4% of statements [2021-05-10T18:10:43.253Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.138s coverage: 91.2% of statements [2021-05-10T18:10:43.253Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.231s coverage: 64.4% of statements [2021-05-10T18:10:43.253Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.065s coverage: 100.0% of statements [2021-05-10T18:10:43.253Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.039s coverage: 91.3% of statements [2021-05-10T18:10:43.253Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.035s coverage: 100.0% of statements [2021-05-10T18:10:43.253Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.035s coverage: 73.7% of statements [2021-05-10T18:10:43.253Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.034s coverage: 100.0% of statements [2021-05-10T18:10:43.253Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.383s coverage: 66.9% of statements [2021-05-10T18:10:43.253Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.215s coverage: 43.4% of statements [2021-05-10T18:10:43.253Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.038s coverage: 89.5% of statements [2021-05-10T18:10:43.253Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.054s coverage: 84.8% of statements [2021-05-10T18:10:43.253Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] [2021-05-10T18:10:43.253Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.049s coverage: 100.0% of statements [2021-05-10T18:10:43.253Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.050s coverage: 100.0% of statements [2021-05-10T18:10:43.253Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [build failed] [2021-05-10T18:10:43.253Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [build failed] [2021-05-10T18:10:43.253Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] [2021-05-10T18:10:43.253Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.071s coverage: 99.0% of statements [2021-05-10T18:10:43.253Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.065s coverage: 100.0% of statements [2021-05-10T18:10:43.253Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler [build failed] [2021-05-10T18:10:43.253Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http [build failed] [2021-05-10T18:10:43.253Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.030s coverage: 0.0% of statements [2021-05-10T18:10:43.253Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.033s coverage: 100.0% of statements [2021-05-10T18:10:43.253Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.056s coverage: 87.9% of statements [2021-05-10T18:10:43.253Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.062s coverage: 100.0% of statements [2021-05-10T18:10:43.847Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.077s coverage: 28.1% of statements [2021-05-10T18:10:43.847Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application 0.034s coverage: 85.7% of statements [2021-05-10T18:10:44.113Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.045s coverage: 100.0% of statements [2021-05-10T18:10:44.376Z] make: *** [Makefile:94: test] Error 2 [Pipeline] } [2021-05-10T18:10:44.397Z] $ docker stop --time=1 485d3ea379e057cc5359055dcd4511f306b9d4bba8a2d8198f5f45ee3a05a3e8 [2021-05-10T18:10:44.769Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4161 in /w/workspace/edgexfoundry_edgex-go_PR-3440 [2021-05-10T18:10:46.617Z] $ docker rm -f 485d3ea379e057cc5359055dcd4511f306b9d4bba8a2d8198f5f45ee3a05a3e8 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] ws [2021-05-10T18:10:47.048Z] Running in /w/workspace/edgex-go/7 [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] checkout 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-10T18:10:47.309Z] Failed in branch amd64 [2021-05-10T18:10:52.495Z] using credential edgex-jenkins-ssh [2021-05-10T18:10:52.517Z] Cloning the remote Git repository [2021-05-10T18:10:52.578Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-05-10T18:10:52.755Z] > git init /w/workspace/edgex-go/7 # timeout=10 [2021-05-10T18:10:52.863Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-05-10T18:10:52.864Z] > git --version # timeout=10 [2021-05-10T18:10:52.885Z] > git --version # 'git version 2.17.1' [2021-05-10T18:10:52.887Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T18:10:52.951Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T18:12:23.379Z] Merging remotes/origin/master commit 55d4d9f0fa93f39a6dc124c4bf1b3997c725453d into PR head commit 00f0702d7a30b9e1750dc6fec628187e06232551 [2021-05-10T18:12:22.448Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-05-10T18:12:22.463Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T18:12:22.494Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-05-10T18:12:22.527Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-05-10T18:12:22.528Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T18:12:22.541Z] > 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-10T18:12:23.421Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T18:12:23.436Z] > git checkout -f 00f0702d7a30b9e1750dc6fec628187e06232551 # timeout=10 [2021-05-10T18:12:23.817Z] Merge succeeded, producing 00f0702d7a30b9e1750dc6fec628187e06232551 [2021-05-10T18:12:23.818Z] Checking out Revision 00f0702d7a30b9e1750dc6fec628187e06232551 (PR-3440) [2021-05-10T18:12:28.241Z] 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-10T18:12:23.761Z] > git remote # timeout=10 [2021-05-10T18:12:23.779Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T18:12:23.793Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T18:12:23.803Z] > git merge 55d4d9f0fa93f39a6dc124c4bf1b3997c725453d # timeout=10 [2021-05-10T18:12:23.826Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T18:12:23.845Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T18:12:23.864Z] > git checkout -f 00f0702d7a30b9e1750dc6fec628187e06232551 # timeout=10 [2021-05-10T18:12:29.651Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-10T18:12:30.076Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T18:12:30.416Z] + sudo service docker restart [2021-05-10T18:12:30.416Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T18:12:32.430Z] provisioning config files... [2021-05-10T18:12:32.477Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/7@tmp/config8123305876946590773tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:12:32.845Z] ---> docker-login.sh [2021-05-10T18:12:32.845Z] nexus3.edgexfoundry.org:10001 [2021-05-10T18:12:33.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:12:34.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:12:34.094Z] Configure a credential helper to remove this warning. See [2021-05-10T18:12:34.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:12:34.094Z] [2021-05-10T18:12:34.094Z] Login Succeeded [2021-05-10T18:12:34.094Z] nexus3.edgexfoundry.org:10002 [2021-05-10T18:12:34.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:12:34.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:12:34.641Z] Configure a credential helper to remove this warning. See [2021-05-10T18:12:34.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:12:34.641Z] [2021-05-10T18:12:34.641Z] Login Succeeded [2021-05-10T18:12:34.641Z] nexus3.edgexfoundry.org:10003 [2021-05-10T18:12:35.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:12:35.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:12:35.235Z] Configure a credential helper to remove this warning. See [2021-05-10T18:12:35.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:12:35.235Z] [2021-05-10T18:12:35.235Z] Login Succeeded [2021-05-10T18:12:35.235Z] nexus3.edgexfoundry.org:10004 [2021-05-10T18:12:35.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:12:35.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:12:35.781Z] Configure a credential helper to remove this warning. See [2021-05-10T18:12:35.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:12:35.781Z] [2021-05-10T18:12:35.781Z] Login Succeeded [2021-05-10T18:12:35.781Z] docker.io [2021-05-10T18:12:36.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:12:36.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:12:36.966Z] Configure a credential helper to remove this warning. See [2021-05-10T18:12:36.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:12:36.966Z] [2021-05-10T18:12:36.966Z] Login Succeeded [2021-05-10T18:12:36.966Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T18:12:36.983Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-10T18:12:37.340Z] ========================================================= [2021-05-10T18:12:37.340Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-10T18:12:37.340Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T18:12:37.677Z] + 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-10T18:12:40.315Z] Sending build context to Docker daemon 167.6MB [2021-05-10T18:12:40.315Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-05-10T18:12:40.315Z] Step 2/6 : FROM ${BASE} [2021-05-10T18:12:40.315Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-10T18:12:40.315Z] 595b0fe564bb: Pulling fs layer [2021-05-10T18:12:40.315Z] 7186ed65a4f7: Pulling fs layer [2021-05-10T18:12:40.315Z] 316046926c0a: Pulling fs layer [2021-05-10T18:12:40.315Z] 4ebd0625c992: Pulling fs layer [2021-05-10T18:12:40.315Z] 207e8628e3a3: Pulling fs layer [2021-05-10T18:12:40.315Z] c791037a9be2: Pulling fs layer [2021-05-10T18:12:40.315Z] ffd874e62e21: Pulling fs layer [2021-05-10T18:12:40.315Z] 4ebd0625c992: Waiting [2021-05-10T18:12:40.315Z] 207e8628e3a3: Waiting [2021-05-10T18:12:40.315Z] c791037a9be2: Waiting [2021-05-10T18:12:40.315Z] ffd874e62e21: Waiting [2021-05-10T18:12:40.315Z] 316046926c0a: Verifying Checksum [2021-05-10T18:12:40.315Z] 316046926c0a: Download complete [2021-05-10T18:12:40.315Z] 7186ed65a4f7: Download complete [2021-05-10T18:12:40.315Z] 207e8628e3a3: Verifying Checksum [2021-05-10T18:12:40.315Z] 207e8628e3a3: Download complete [2021-05-10T18:12:40.590Z] c791037a9be2: Verifying Checksum [2021-05-10T18:12:40.590Z] c791037a9be2: Download complete [2021-05-10T18:12:40.590Z] 595b0fe564bb: Verifying Checksum [2021-05-10T18:12:40.590Z] 595b0fe564bb: Download complete [2021-05-10T18:12:41.568Z] 595b0fe564bb: Pull complete [2021-05-10T18:12:41.846Z] 7186ed65a4f7: Pull complete [2021-05-10T18:12:42.450Z] 316046926c0a: Pull complete [2021-05-10T18:12:44.441Z] ffd874e62e21: Verifying Checksum [2021-05-10T18:12:44.442Z] ffd874e62e21: Download complete [2021-05-10T18:12:47.825Z] 4ebd0625c992: Verifying Checksum [2021-05-10T18:12:47.825Z] 4ebd0625c992: Download complete [2021-05-10T18:12:57.976Z] 4ebd0625c992: Pull complete [2021-05-10T18:12:57.976Z] 207e8628e3a3: Pull complete [2021-05-10T18:12:57.976Z] c791037a9be2: Pull complete [2021-05-10T18:13:02.275Z] ffd874e62e21: Pull complete [2021-05-10T18:13:02.275Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-10T18:13:02.275Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-10T18:13:02.275Z] ---> cfc18b08335c [2021-05-10T18:13:02.275Z] 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-10T18:13:05.675Z] ---> Running in 90c1e8c87283 [2021-05-10T18:13:06.267Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-10T18:13:08.226Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-10T18:13:09.193Z] (1/12) Installing libmagic (5.39-r0) [2021-05-10T18:13:11.156Z] (2/12) Installing file (5.39-r0) [2021-05-10T18:13:11.156Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-05-10T18:13:11.156Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-05-10T18:14:19.115Z] (5/12) Installing fortify-headers (1.1-r0) [2021-05-10T18:14:19.116Z] (6/12) Installing patch (2.7.6-r6) [2021-05-10T18:14:19.116Z] (7/12) Installing build-base (0.5-r2) [2021-05-10T18:14:19.116Z] (8/12) Installing libsodium (1.0.18-r0) [2021-05-10T18:14:19.116Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-05-10T18:14:19.116Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-05-10T18:14:19.116Z] (11/12) Installing libzmq (4.3.3-r1) [2021-05-10T18:14:19.116Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-05-10T18:14:19.116Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T18:14:19.116Z] OK: 218 MiB in 52 packages [2021-05-10T18:14:19.116Z] Removing intermediate container 90c1e8c87283 [2021-05-10T18:14:19.116Z] ---> e029bb474dbd [2021-05-10T18:14:19.116Z] Step 4/6 : WORKDIR /edgex-go [2021-05-10T18:14:19.116Z] ---> Running in 2558810c6a41 [2021-05-10T18:14:19.116Z] Removing intermediate container 2558810c6a41 [2021-05-10T18:14:19.116Z] ---> 39fb3c59a72f [2021-05-10T18:14:19.116Z] Step 5/6 : COPY go.mod . [2021-05-10T18:14:19.116Z] ---> f0b947bdb7e3 [2021-05-10T18:14:19.116Z] Step 6/6 : RUN go mod download [2021-05-10T18:14:19.116Z] ---> Running in 354c3260e891 [2021-05-10T18:14:45.905Z] Removing intermediate container 354c3260e891 [2021-05-10T18:14:45.905Z] ---> 9adb12b455b8 [2021-05-10T18:14:45.905Z] Successfully built 9adb12b455b8 [2021-05-10T18:14:46.178Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T18:14:46.523Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T18:14:46.523Z] . [Pipeline] withDockerContainer [2021-05-10T18:14:46.770Z] prd-ubuntu18.04-docker-arm64-4c-16g-4161 does not seem to be running inside a container [2021-05-10T18:14:46.892Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/7 -v /w/workspace/edgex-go/7:/w/workspace/edgex-go/7:rw,z -v /w/workspace/edgex-go/7@tmp:/w/workspace/edgex-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-10T18:14:48.332Z] $ docker top af4ea3dcae33da02e377e36d4196d1475bfcf7b9aed0d950071d59f9352cc43e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T18:14:49.200Z] + go version [2021-05-10T18:14:49.201Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-10T18:14:49.264Z] $ docker stop --time=1 af4ea3dcae33da02e377e36d4196d1475bfcf7b9aed0d950071d59f9352cc43e [2021-05-10T18:14:51.076Z] $ docker rm -f af4ea3dcae33da02e377e36d4196d1475bfcf7b9aed0d950071d59f9352cc43e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T18:14:51.676Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T18:14:51.677Z] . [Pipeline] withDockerContainer [2021-05-10T18:14:51.896Z] prd-ubuntu18.04-docker-arm64-4c-16g-4161 does not seem to be running inside a container [2021-05-10T18:14:52.013Z] $ 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/7 -v /w/workspace/edgex-go/7:/w/workspace/edgex-go/7:rw,z -v /w/workspace/edgex-go/7@tmp:/w/workspace/edgex-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-10T18:14:53.326Z] $ docker top 845a7886b9986e89d431642b7857e749d05f8ea849fd6d040fe56f6efbf044e2 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-10T18:14:53.577Z] ========================================================= [2021-05-10T18:14:53.577Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-05-10T18:14:53.577Z] ========================================================= [Pipeline] sh [2021-05-10T18:14:54.279Z] + go mod tidy [Pipeline] sh [2021-05-10T18:14:56.066Z] + make test [2021-05-10T18:14:56.066Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-10T18:15:22.938Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-05-10T18:15:55.337Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [2021-05-10T18:15:55.337Z] internal/pkg/v2/utils/restaddress.go:64:37: address.RequestBody undefined (type models.RESTAddress has no field or method RequestBody) [2021-05-10T18:15:55.337Z] internal/pkg/v2/utils/restaddress.go:77:12: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-05-10T18:15:55.337Z] internal/pkg/v2/utils/restaddress.go:78:10: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-05-10T18:15:55.337Z] internal/pkg/v2/utils/restaddress.go:80:45: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-05-10T18:16:42.383Z] # github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [2021-05-10T18:16:42.383Z] 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-10T18:16:49.128Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command [build failed] [2021-05-10T18:16:50.127Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.192s coverage: 19.8% of statements [2021-05-10T18:16:50.127Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [build failed] [2021-05-10T18:16:50.127Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] [2021-05-10T18:16:52.117Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.186s coverage: 100.0% of statements [2021-05-10T18:16:52.399Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.173s coverage: 100.0% of statements [2021-05-10T18:16:52.399Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [build failed] [2021-05-10T18:16:52.399Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] [2021-05-10T18:16:53.005Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.140s coverage: 78.9% of statements [2021-05-10T18:16:53.005Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] [2021-05-10T18:16:57.356Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.258s coverage: 100.0% of statements [2021-05-10T18:16:57.356Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.182s coverage: 100.0% of statements [2021-05-10T18:16:57.963Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.434s coverage: 86.7% of statements [2021-05-10T18:16:58.570Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils.test] [2021-05-10T18:16:58.570Z] internal/pkg/v2/utils/restaddress.go:64: address.RequestBody undefined (type models.RESTAddress has no field or method RequestBody) [2021-05-10T18:16:58.570Z] internal/pkg/v2/utils/restaddress.go:77: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-05-10T18:16:58.570Z] internal/pkg/v2/utils/restaddress.go:78: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-05-10T18:16:58.570Z] internal/pkg/v2/utils/restaddress.go:80: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-05-10T18:16:59.176Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.459s coverage: 97.5% of statements [2021-05-10T18:17:01.852Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.271s coverage: 78.3% of statements [2021-05-10T18:17:01.852Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] [2021-05-10T18:17:01.852Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.143s coverage: 58.8% of statements [2021-05-10T18:17:01.852Z] FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [build failed] [2021-05-10T18:17:01.852Z] FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [build failed] [2021-05-10T18:17:01.852Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.167s coverage: 47.1% of statements [2021-05-10T18:17:04.499Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.164s coverage: 79.5% of statements [2021-05-10T18:17:04.499Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.128s coverage: 94.1% of statements [2021-05-10T18:17:04.499Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.166s coverage: 96.3% of statements [2021-05-10T18:17:04.780Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.197s coverage: 87.5% of statements [2021-05-10T18:17:17.258Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.188s coverage: 94.4% of statements [2021-05-10T18:17:17.258Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.122s coverage: 44.8% of statements [2021-05-10T18:17:23.961Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.556s coverage: 81.8% of statements [2021-05-10T18:17:30.703Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.211s coverage: 92.9% of statements [2021-05-10T18:17:30.703Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.057s coverage: 65.1% of statements [2021-05-10T18:17:30.703Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.082s coverage: 87.2% of statements [2021-05-10T18:17:30.703Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.121s coverage: 100.0% of statements [2021-05-10T18:17:30.703Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.154s coverage: 76.0% of statements [2021-05-10T18:17:30.703Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.138s coverage: 80.0% of statements [2021-05-10T18:17:30.703Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.201s coverage: 87.2% of statements [2021-05-10T18:17:30.703Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.210s coverage: 85.4% of statements [2021-05-10T18:17:30.703Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.285s coverage: 91.2% of statements [2021-05-10T18:17:35.043Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.788s coverage: 64.4% of statements [2021-05-10T18:17:35.043Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.192s coverage: 100.0% of statements [2021-05-10T18:17:35.043Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.100s coverage: 91.3% of statements [2021-05-10T18:17:35.043Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.086s coverage: 100.0% of statements [2021-05-10T18:17:35.043Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.109s coverage: 73.7% of statements [2021-05-10T18:17:35.043Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.081s coverage: 100.0% of statements [2021-05-10T18:17:41.793Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.089s coverage: 66.9% of statements [2021-05-10T18:17:43.235Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application.test] [2021-05-10T18:17:43.235Z] internal/support/notifications/v2/application/subscription_test.go:73:3: cannot use &testSubscriptionResendLimit (type *int64) as type *int in field value [2021-05-10T18:17:43.235Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.818s coverage: 43.4% of statements [2021-05-10T18:17:43.235Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.129s coverage: 89.5% of statements [2021-05-10T18:17:43.235Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.137s coverage: 84.8% of statements [2021-05-10T18:17:43.235Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] [2021-05-10T18:17:43.235Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.144s coverage: 100.0% of statements [2021-05-10T18:17:44.224Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.148s coverage: 100.0% of statements [2021-05-10T18:17:44.224Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [build failed] [2021-05-10T18:17:44.224Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [build failed] [2021-05-10T18:17:44.828Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] [2021-05-10T18:17:49.192Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.210s coverage: 99.0% of statements [2021-05-10T18:17:49.193Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.247s coverage: 100.0% of statements [2021-05-10T18:17:49.193Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler [build failed] [2021-05-10T18:17:49.193Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http [build failed] [2021-05-10T18:17:49.193Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.057s coverage: 0.0% of statements [2021-05-10T18:17:49.193Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.053s coverage: 100.0% of statements [2021-05-10T18:17:49.193Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.085s coverage: 87.9% of statements [2021-05-10T18:17:49.193Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.059s coverage: 100.0% of statements [2021-05-10T18:17:51.175Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.131s coverage: 28.1% of statements [2021-05-10T18:17:51.175Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application 0.066s coverage: 85.7% of statements [2021-05-10T18:17:51.175Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.077s coverage: 100.0% of statements [2021-05-10T18:17:52.156Z] make: *** [Makefile:94: test] Error 2 [Pipeline] } [2021-05-10T18:17:52.257Z] $ docker stop --time=1 845a7886b9986e89d431642b7857e749d05f8ea849fd6d040fe56f6efbf044e2 [2021-05-10T18:17:54.702Z] $ docker rm -f 845a7886b9986e89d431642b7857e749d05f8ea849fd6d040fe56f6efbf044e2 [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-10T18:17:56.239Z] ---> job-cost.sh [2021-05-10T18:17:56.239Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-AQO4 [2021-05-10T18:18:43.268Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T18:20:20.032Z] lf-activate-venv(): INFO: Adding /tmp/venv-AQO4/bin to PATH [2021-05-10T18:20:20.032Z] INFO: No Stack... [2021-05-10T18:20:20.032Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-10T18:20:20.032Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T18:20:20.372Z] + cat /w/workspace/edgex-go/7/archives/cost.csv [2021-05-10T18:20:20.372Z] + cut -d, -f6 [Pipeline] lock [2021-05-10T18:20:20.757Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3440-7-stack-cost] [2021-05-10T18:20:20.767Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3440-7-stack-cost] did not exist. Created. [2021-05-10T18:20:20.767Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3440-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T18:20:21.141Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-10T18:20:21.864Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T18:20:21.882Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3440-7-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-10T18:20:22.024Z] 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-10T18:20:22.885Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:20:23.789Z] ---> package-listing.sh [2021-05-10T18:20:23.789Z] ++ facter osfamily [2021-05-10T18:20:23.789Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-10T18:20:23.789Z] + OS_FAMILY=redhat [2021-05-10T18:20:23.789Z] + workspace=/w/workspace/edgex-go/7 [2021-05-10T18:20:23.789Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-10T18:20:23.789Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-10T18:20:23.789Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-10T18:20:23.789Z] + PACKAGES=/tmp/packages_start.txt [2021-05-10T18:20:23.789Z] + '[' /w/workspace/edgex-go/7 ']' [2021-05-10T18:20:23.789Z] + PACKAGES=/tmp/packages_end.txt [2021-05-10T18:20:23.789Z] + case "${OS_FAMILY}" in [2021-05-10T18:20:23.789Z] + rpm -qa [2021-05-10T18:20:23.789Z] + sort [2021-05-10T18:20:29.094Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-10T18:20:29.094Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-10T18:20:29.094Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-10T18:20:29.094Z] + '[' /w/workspace/edgex-go/7 ']' [2021-05-10T18:20:29.094Z] + mkdir -p /w/workspace/edgex-go/7/archives/ [2021-05-10T18:20:29.094Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/7/archives/ [Pipeline] echo [2021-05-10T18:20:29.109Z] 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/7/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-10T18:20:29.402Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-10T18:20:29.712Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T18:20:29.712Z] [2021-05-10T18:20:29.712Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-10T18:20:30.035Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T18:20:30.036Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-10T18:20:30.036Z] df20fa9351a1: Pulling fs layer [2021-05-10T18:20:30.036Z] 36b3adc4ff6f: Pulling fs layer [2021-05-10T18:20:30.036Z] 8ad3a11d3b57: Pulling fs layer [2021-05-10T18:20:30.036Z] 46f8f816bc3b: Pulling fs layer [2021-05-10T18:20:30.036Z] 93b61091891f: Pulling fs layer [2021-05-10T18:20:30.036Z] 93b9cdb0e59b: Pulling fs layer [2021-05-10T18:20:30.036Z] 5e14af77c1be: Pulling fs layer [2021-05-10T18:20:30.036Z] 01666e4c0597: Pulling fs layer [2021-05-10T18:20:30.036Z] aa168da1d23b: Pulling fs layer [2021-05-10T18:20:30.036Z] 93b9cdb0e59b: Waiting [2021-05-10T18:20:30.036Z] 5e14af77c1be: Waiting [2021-05-10T18:20:30.036Z] 01666e4c0597: Waiting [2021-05-10T18:20:30.036Z] 46f8f816bc3b: Waiting [2021-05-10T18:20:30.036Z] 93b61091891f: Waiting [2021-05-10T18:20:30.036Z] aa168da1d23b: Waiting [2021-05-10T18:20:30.036Z] 36b3adc4ff6f: Verifying Checksum [2021-05-10T18:20:30.036Z] 36b3adc4ff6f: Download complete [2021-05-10T18:20:30.036Z] 46f8f816bc3b: Verifying Checksum [2021-05-10T18:20:30.036Z] 46f8f816bc3b: Download complete [2021-05-10T18:20:30.298Z] 93b61091891f: Download complete [2021-05-10T18:20:30.298Z] 93b9cdb0e59b: Verifying Checksum [2021-05-10T18:20:30.298Z] 93b9cdb0e59b: Download complete [2021-05-10T18:20:30.298Z] df20fa9351a1: Verifying Checksum [2021-05-10T18:20:30.298Z] 5e14af77c1be: Verifying Checksum [2021-05-10T18:20:30.298Z] 5e14af77c1be: Download complete [2021-05-10T18:20:30.298Z] 01666e4c0597: Verifying Checksum [2021-05-10T18:20:30.298Z] 01666e4c0597: Download complete [2021-05-10T18:20:30.875Z] 8ad3a11d3b57: Verifying Checksum [2021-05-10T18:20:30.875Z] 8ad3a11d3b57: Download complete [2021-05-10T18:20:30.875Z] df20fa9351a1: Pull complete [2021-05-10T18:20:30.875Z] 36b3adc4ff6f: Pull complete [2021-05-10T18:20:31.851Z] 8ad3a11d3b57: Pull complete [2021-05-10T18:20:31.851Z] 46f8f816bc3b: Pull complete [2021-05-10T18:20:32.431Z] 93b61091891f: Pull complete [2021-05-10T18:20:32.697Z] 93b9cdb0e59b: Pull complete [2021-05-10T18:20:32.960Z] aa168da1d23b: Verifying Checksum [2021-05-10T18:20:32.960Z] aa168da1d23b: Download complete [2021-05-10T18:20:33.539Z] 5e14af77c1be: Pull complete [2021-05-10T18:20:33.539Z] 01666e4c0597: Pull complete [2021-05-10T18:20:41.732Z] aa168da1d23b: Pull complete [2021-05-10T18:20:41.732Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-10T18:20:41.732Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T18:20:41.732Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-10T18:20:41.970Z] prd-centos7-docker-4c-2g-4153 does not seem to be running inside a container [2021-05-10T18:20:42.027Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/7/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/7 -v /w/workspace/edgex-go/7:/w/workspace/edgex-go/7:rw,z -v /w/workspace/edgex-go/7@tmp:/w/workspace/edgex-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-10T18:20:45.086Z] $ docker top 6e1e6377f21e5ba85d5cd34aea3065399fff0cf0c040f133b86f718c18bc9ffd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T18:20:45.524Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-10T18:20:45.826Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-10T18:20:46.128Z] + ls /var/log/sa-host [2021-05-10T18:20:46.128Z] + sadf -c /var/log/sa-host/sa10 [2021-05-10T18:20:46.128Z] file_magic: OK [2021-05-10T18:20:46.128Z] HZ: Using current value: 100 [2021-05-10T18:20:46.128Z] file_header: OK [2021-05-10T18:20:46.128Z] 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-10T18:20:46.128Z] Statistics: [2021-05-10T18:20:46.128Z] 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-10T18:20:46.128Z] File successfully converted to sysstat format version 12.2.1 [2021-05-10T18:20:46.128Z] + sadf -c /var/log/sa-host/sa23 [2021-05-10T18:20:46.128Z] file_magic: OK [2021-05-10T18:20:46.128Z] HZ: Using current value: 100 [2021-05-10T18:20:46.128Z] file_header: OK [2021-05-10T18:20:46.128Z] 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-10T18:20:46.128Z] Statistics: [2021-05-10T18:20:46.128Z] Hnuu...uuuununununu... [2021-05-10T18:20:46.128Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-10T18:20:46.305Z] provisioning config files... [2021-05-10T18:20:46.321Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/7@tmp/config6921741614983566089tmp [Pipeline] { [Pipeline] echo [2021-05-10T18:20:46.371Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:20:46.692Z] ---> create-netrc.sh [Pipeline] } [2021-05-10T18:20:46.702Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-10T18:20:46.724Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:20:47.029Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-10T18:20:47.040Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:20:47.340Z] ---> sudo-logs.sh [2021-05-10T18:20:47.340Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-10T18:20:47.419Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:20:47.721Z] ---> job-cost.sh [2021-05-10T18:20:47.721Z] lf-activate-venv: SKIPPING [2021-05-10T18:20:47.721Z] DEBUG: total: 0.20999999344348907 [2021-05-10T18:20:47.721Z] INFO: Retrieving Stack Cost... [2021-05-10T18:20:48.667Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T18:20:49.243Z] INFO: Archiving Costs [Pipeline] echo [2021-05-10T18:20:49.259Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:20:49.564Z] ---> logs-deploy.sh [2021-05-10T18:20:49.564Z] lf-activate-venv: SKIPPING [2021-05-10T18:20:49.564Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3440/7 [2021-05-10T18:20:49.564Z] INFO: archiving workspace using pattern(s): [2021-05-10T18:20:51.488Z] Archives upload complete. [2021-05-10T18:20:51.488Z] INFO: archiving logs to Nexus