Pull request #3510 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/edgex-go Loading trusted files from base branch master at e6c052569f26998dcb3a7df84d37141e1787d2eb rather than 78e7af7bf3d9427d0823a5bb1b82654472b63e48 Obtained Jenkinsfile from e6c052569f26998dcb3a7df84d37141e1787d2eb 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1828378834940479897.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5220345965713926584.key > 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 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3510/workspace@libs/edgex-global-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3510/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3037387110426652383.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6754639446496984949.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3510/workspace@libs/lf-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3510/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh195269340300515711.key > 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/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_IMAGE_NAME_SUFFIX: 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/v2 BUILD_SNAP: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-309’ is offline Running on prd-centos7-docker-4c-2g-1115 in /w/workspace/edgexfoundry_edgex-go_PR-3510 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/8 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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/8 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/8@tmp/jenkins-gitclient-ssh3081930946657552985.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit e6c052569f26998dcb3a7df84d37141e1787d2eb into PR head commit 78e7af7bf3d9427d0823a5bb1b82654472b63e48 > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/8@tmp/jenkins-gitclient-ssh2649361873502958181.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3510/head:refs/remotes/origin/PR-3510 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 78e7af7bf3d9427d0823a5bb1b82654472b63e48 # timeout=10 Merge succeeded, producing 78e7af7bf3d9427d0823a5bb1b82654472b63e48 Checking out Revision 78e7af7bf3d9427d0823a5bb1b82654472b63e48 (PR-3510) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/8@tmp/jenkins-gitclient-ssh6330282428737059691.key > git merge e6c052569f26998dcb3a7df84d37141e1787d2eb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 78e7af7bf3d9427d0823a5bb1b82654472b63e48 # timeout=10 Commit message: "refactor: Remove the obsolete code of checking secret path" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-31T02:41:24.787Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-31T02:41:24.882Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-31T02:41:24.908Z] ========================================================= [2021-05-31T02:41:24.908Z] EdgeX Global Pipelines Version Info [2021-05-31T02:41:24.908Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk c48c443b4825976656e822887cf31a71014c254c # timeout=10 [2021-05-31T02:41:26.387Z] ------------------- [2021-05-31T02:41:26.387Z] stable info: [2021-05-31T02:41:26.387Z] ------------------- [2021-05-31T02:41:26.387Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-31T02:41:26.387Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-31T02:41:26.387Z] Message: update stable to v1.0.192 [2021-05-31T02:41:28.677Z] ------------------- [2021-05-31T02:41:28.677Z] experimental info: [2021-05-31T02:41:28.677Z] ------------------- [2021-05-31T02:41:28.677Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-31T02:41:28.677Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-31T02:41:28.677Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-31T02:41:28.797Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-05-31T02:41:28.816Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-05-31T02:41:28.836Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-31T02:41:28.858Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-31T02:41:28.884Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-31T02:41:28.906Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-31T02:41:28.928Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-31T02:41:28.950Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-05-31T02:41:28.974Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2021-05-31T02:41:28.997Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2021-05-31T02:41:29.021Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-31T02:41:29.044Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-31T02:41:29.066Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-31T02:41:29.086Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-31T02:41:29.107Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-31T02:41:29.129Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-31T02:41:29.150Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-31T02:41:29.172Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-31T02:41:29.192Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-31T02:41:29.212Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-05-31T02:41:29.232Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-05-31T02:41:29.251Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-31T02:41:29.272Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3510 [Pipeline] echo [2021-05-31T02:41:29.293Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3510 [Pipeline] echo [2021-05-31T02:41:29.314Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3510 [Pipeline] echo [2021-05-31T02:41:29.336Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 78e7af7bf3d9427d0823a5bb1b82654472b63e48 [Pipeline] echo [2021-05-31T02:41:29.357Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 78e7af7 [Pipeline] echo [2021-05-31T02:41:29.378Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-31T02:41:29.452Z] provisioning config files... [2021-05-31T02:41:29.472Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/8@tmp/config6049078118522914313tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-31T02:41:29.799Z] ---> docker-login.sh [2021-05-31T02:41:29.799Z] nexus3.edgexfoundry.org:10001 [2021-05-31T02:41:30.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T02:41:30.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T02:41:30.069Z] Configure a credential helper to remove this warning. See [2021-05-31T02:41:30.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T02:41:30.069Z] [2021-05-31T02:41:30.069Z] Login Succeeded [2021-05-31T02:41:30.069Z] nexus3.edgexfoundry.org:10002 [2021-05-31T02:41:30.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T02:41:30.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T02:41:30.331Z] Configure a credential helper to remove this warning. See [2021-05-31T02:41:30.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T02:41:30.331Z] [2021-05-31T02:41:30.331Z] Login Succeeded [2021-05-31T02:41:30.331Z] nexus3.edgexfoundry.org:10003 [2021-05-31T02:41:30.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T02:41:30.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T02:41:30.601Z] Configure a credential helper to remove this warning. See [2021-05-31T02:41:30.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T02:41:30.601Z] [2021-05-31T02:41:30.601Z] Login Succeeded [2021-05-31T02:41:30.601Z] nexus3.edgexfoundry.org:10004 [2021-05-31T02:41:30.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T02:41:30.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T02:41:30.601Z] Configure a credential helper to remove this warning. See [2021-05-31T02:41:30.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T02:41:30.601Z] [2021-05-31T02:41:30.601Z] Login Succeeded [2021-05-31T02:41:30.601Z] docker.io [2021-05-31T02:41:30.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T02:41:31.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T02:41:31.177Z] Configure a credential helper to remove this warning. See [2021-05-31T02:41:31.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T02:41:31.177Z] [2021-05-31T02:41:31.177Z] Login Succeeded [2021-05-31T02:41:31.177Z] ---> docker-login.sh ends [Pipeline] } [2021-05-31T02:41:31.187Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-31T02:41:31.538Z] ++ 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-31T02:41:31.538Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-31T02:41:31.538Z] ++ dirname cmd/core-command/Dockerfile [2021-05-31T02:41:31.538Z] ++ cut -d/ -f2 [2021-05-31T02:41:31.538Z] + echo core-command,cmd/core-command/Dockerfile [2021-05-31T02:41:31.538Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-31T02:41:31.538Z] ++ dirname cmd/core-data/Dockerfile [2021-05-31T02:41:31.538Z] ++ cut -d/ -f2 [2021-05-31T02:41:31.538Z] + echo core-data,cmd/core-data/Dockerfile [2021-05-31T02:41:31.538Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-31T02:41:31.538Z] ++ dirname cmd/core-metadata/Dockerfile [2021-05-31T02:41:31.538Z] ++ cut -d/ -f2 [2021-05-31T02:41:31.538Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-05-31T02:41:31.538Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-31T02:41:31.538Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-05-31T02:41:31.538Z] ++ cut -d/ -f2 [2021-05-31T02:41:31.538Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-05-31T02:41:31.538Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-31T02:41:31.538Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-05-31T02:41:31.538Z] ++ cut -d/ -f2 [2021-05-31T02:41:31.538Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-05-31T02:41:31.538Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-31T02:41:31.538Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-05-31T02:41:31.538Z] ++ cut -d/ -f2 [2021-05-31T02:41:31.538Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-05-31T02:41:31.538Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-31T02:41:31.538Z] ++ dirname cmd/support-notifications/Dockerfile [2021-05-31T02:41:31.538Z] ++ cut -d/ -f2 [2021-05-31T02:41:31.538Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-05-31T02:41:31.538Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-31T02:41:31.538Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-05-31T02:41:31.538Z] ++ cut -d/ -f2 [2021-05-31T02:41:31.538Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-05-31T02:41:31.538Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-31T02:41:31.538Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-05-31T02:41:31.538Z] ++ cut -d/ -f2 [2021-05-31T02:41:31.538Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-05-31T02:41:31.598Z] Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/Dockerfile], [image:core-data, dockerfile:cmd/core-data/Dockerfile], [image:core-metadata, dockerfile:cmd/core-metadata/Dockerfile], [image:security-bootstrapper, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:security-proxy-setup, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:security-secretstore-setup, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:support-notifications, dockerfile:cmd/support-notifications/Dockerfile], [image:support-scheduler, dockerfile:cmd/support-scheduler/Dockerfile], [image:sys-mgmt-agent, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-05-31T02:41:34.628Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-31T02:41:34.628Z] [2021-05-31T02:41:34.628Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-31T02:41:34.939Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-31T02:41:34.939Z] latest: Pulling from edgex-devops/git-semver [2021-05-31T02:41:34.939Z] 31603596830f: Pulling fs layer [2021-05-31T02:41:34.939Z] 54011a49482f: Pulling fs layer [2021-05-31T02:41:34.939Z] a6820b24f6d8: Pulling fs layer [2021-05-31T02:41:34.939Z] f581987b2513: Pulling fs layer [2021-05-31T02:41:34.939Z] f581987b2513: Waiting [2021-05-31T02:41:34.939Z] 54011a49482f: Verifying Checksum [2021-05-31T02:41:34.939Z] 54011a49482f: Download complete [2021-05-31T02:41:35.200Z] 31603596830f: Verifying Checksum [2021-05-31T02:41:35.200Z] 31603596830f: Download complete [2021-05-31T02:41:35.200Z] f581987b2513: Verifying Checksum [2021-05-31T02:41:35.200Z] f581987b2513: Download complete [2021-05-31T02:41:35.200Z] a6820b24f6d8: Verifying Checksum [2021-05-31T02:41:35.200Z] a6820b24f6d8: Download complete [2021-05-31T02:41:35.467Z] 31603596830f: Pull complete [2021-05-31T02:41:35.467Z] 54011a49482f: Pull complete [2021-05-31T02:41:36.061Z] a6820b24f6d8: Pull complete [2021-05-31T02:41:36.329Z] f581987b2513: Pull complete [2021-05-31T02:41:36.329Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-31T02:41:36.329Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-31T02:41:36.329Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-31T02:41:36.418Z] prd-centos7-docker-4c-2g-1115 does not seem to be running inside a container [2021-05-31T02:41:36.467Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/8 -v /w/workspace/edgex-go/8:/w/workspace/edgex-go/8:rw,z -v /w/workspace/edgex-go/8@tmp:/w/workspace/edgex-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-31T02:41:37.610Z] $ docker top d55034c846dfb355718801d7fe893f619a63f9dec0eea5ba52b4dae5442e5b11 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-31T02:41:37.730Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-31T02:41:37.730Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-31T02:41:37.850Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-31T02:41:37.851Z] $ docker exec d55034c846dfb355718801d7fe893f619a63f9dec0eea5ba52b4dae5442e5b11 ssh-agent [2021-05-31T02:41:37.959Z] SSH_AUTH_SOCK=/tmp/ssh-FFUSxliFv7G2/agent.13 [2021-05-31T02:41:37.959Z] SSH_AGENT_PID=19 [2021-05-31T02:41:37.968Z] Running ssh-add (command line suppressed) [2021-05-31T02:41:38.073Z] Identity added: /w/workspace/edgex-go/8@tmp/private_key_1328034049452040399.key (/w/workspace/edgex-go/8@tmp/private_key_1328034049452040399.key) [2021-05-31T02:41:38.087Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-31T02:41:38.393Z] + git tag --points-at HEAD [Pipeline] } [2021-05-31T02:41:38.404Z] $ docker exec --env ******** --env ******** d55034c846dfb355718801d7fe893f619a63f9dec0eea5ba52b4dae5442e5b11 ssh-agent -k [2021-05-31T02:41:38.500Z] unset SSH_AUTH_SOCK; [2021-05-31T02:41:38.500Z] unset SSH_AGENT_PID; [2021-05-31T02:41:38.500Z] echo Agent pid 19 killed; [2021-05-31T02:41:38.511Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-31T02:41:38.553Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-31T02:41:38.553Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-31T02:41:38.668Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-31T02:41:38.669Z] $ docker exec d55034c846dfb355718801d7fe893f619a63f9dec0eea5ba52b4dae5442e5b11 ssh-agent [2021-05-31T02:41:38.779Z] SSH_AUTH_SOCK=/tmp/ssh-ScclbzrY905a/agent.52 [2021-05-31T02:41:38.779Z] SSH_AGENT_PID=59 [2021-05-31T02:41:38.784Z] Running ssh-add (command line suppressed) [2021-05-31T02:41:38.884Z] Identity added: /w/workspace/edgex-go/8@tmp/private_key_1909803943911500698.key (/w/workspace/edgex-go/8@tmp/private_key_1909803943911500698.key) [2021-05-31T02:41:38.904Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-31T02:41:39.214Z] + git semver init [2021-05-31T02:41:39.215Z] # -> Open(): unable to determine branch for HEAD [2021-05-31T02:41:39.215Z] # $GIT_DIR = /w/workspace/edgex-go/8/.git [2021-05-31T02:41:39.215Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/8 [2021-05-31T02:41:39.215Z] # $SEMVER_REMOTE_NAME = origin [2021-05-31T02:41:39.215Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-31T02:41:39.215Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-31T02:41:39.215Z] # $SEMVER_BRANCH = PR-3510 [2021-05-31T02:41:39.215Z] # $SEMVER_TEMP = /tmp/semver-080884792 [2021-05-31T02:41:39.215Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-05-31T02:41:57.381Z] # '/tmp/semver-080884792' -> '/w/workspace/edgex-go/8/.semver' [2021-05-31T02:41:57.381Z] # -> Force: false [2021-05-31T02:41:57.381Z] # $SEMVER_DIR = /w/workspace/edgex-go/8/.semver [Pipeline] } [2021-05-31T02:41:57.388Z] $ docker exec --env ******** --env ******** d55034c846dfb355718801d7fe893f619a63f9dec0eea5ba52b4dae5442e5b11 ssh-agent -k [2021-05-31T02:41:57.495Z] unset SSH_AUTH_SOCK; [2021-05-31T02:41:57.495Z] unset SSH_AGENT_PID; [2021-05-31T02:41:57.495Z] echo Agent pid 59 killed; [2021-05-31T02:41:57.509Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-31T02:41:57.846Z] + git semver [Pipeline] } [2021-05-31T02:41:57.858Z] $ docker stop --time=1 d55034c846dfb355718801d7fe893f619a63f9dec0eea5ba52b4dae5442e5b11 [2021-05-31T02:42:02.877Z] $ docker rm -f d55034c846dfb355718801d7fe893f619a63f9dec0eea5ba52b4dae5442e5b11 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-31T02:42:03.286Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-31T02:42:03.563Z] Stashed 1 file(s) [Pipeline] echo [2021-05-31T02:42:03.567Z] [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-31T02:42:04.184Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-31T02:42:04.484Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-31T02:42:04.792Z] + sudo service docker restart [2021-05-31T02:42:04.792Z] + true [2021-05-31T02:42:04.792Z] Redirecting to /bin/systemctl restart docker.service [2021-05-31T02:42:18.707Z] Still waiting to schedule task [2021-05-31T02:42:18.708Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [Pipeline] echo [2021-05-31T02:42:22.942Z] ========================================================= [2021-05-31T02:42:22.942Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-31T02:42:22.942Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-31T02:42:23.247Z] + 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-31T02:42:24.635Z] Sending build context to Docker daemon 331MB [2021-05-31T02:42:24.635Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-05-31T02:42:24.635Z] Step 2/6 : FROM ${BASE} [2021-05-31T02:42:24.635Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-31T02:42:24.635Z] 540db60ca938: Pulling fs layer [2021-05-31T02:42:24.635Z] adcc1eea9eea: Pulling fs layer [2021-05-31T02:42:24.635Z] 4c4ab2625f07: Pulling fs layer [2021-05-31T02:42:24.635Z] 0510c868ecb4: Pulling fs layer [2021-05-31T02:42:24.635Z] afea3b2eda06: Pulling fs layer [2021-05-31T02:42:24.635Z] 7809a108b3ef: Pulling fs layer [2021-05-31T02:42:24.635Z] f706445af74f: Pulling fs layer [2021-05-31T02:42:24.635Z] 0510c868ecb4: Waiting [2021-05-31T02:42:24.635Z] afea3b2eda06: Waiting [2021-05-31T02:42:24.635Z] 7809a108b3ef: Waiting [2021-05-31T02:42:24.635Z] f706445af74f: Waiting [2021-05-31T02:42:24.635Z] 4c4ab2625f07: Verifying Checksum [2021-05-31T02:42:24.635Z] 4c4ab2625f07: Download complete [2021-05-31T02:42:24.635Z] adcc1eea9eea: Verifying Checksum [2021-05-31T02:42:24.635Z] adcc1eea9eea: Download complete [2021-05-31T02:42:24.897Z] afea3b2eda06: Verifying Checksum [2021-05-31T02:42:24.897Z] afea3b2eda06: Download complete [2021-05-31T02:42:24.897Z] 540db60ca938: Verifying Checksum [2021-05-31T02:42:24.897Z] 540db60ca938: Download complete [2021-05-31T02:42:24.897Z] 7809a108b3ef: Verifying Checksum [2021-05-31T02:42:24.897Z] 7809a108b3ef: Download complete [2021-05-31T02:42:24.897Z] 540db60ca938: Pull complete [2021-05-31T02:42:25.158Z] adcc1eea9eea: Pull complete [2021-05-31T02:42:25.158Z] 4c4ab2625f07: Pull complete [2021-05-31T02:42:27.076Z] f706445af74f: Verifying Checksum [2021-05-31T02:42:27.077Z] f706445af74f: Download complete [2021-05-31T02:42:27.077Z] 0510c868ecb4: Verifying Checksum [2021-05-31T02:42:27.077Z] 0510c868ecb4: Download complete [2021-05-31T02:42:30.405Z] 0510c868ecb4: Pull complete [2021-05-31T02:42:30.405Z] afea3b2eda06: Pull complete [2021-05-31T02:42:30.667Z] 7809a108b3ef: Pull complete [2021-05-31T02:42:35.996Z] f706445af74f: Pull complete [2021-05-31T02:42:35.996Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-31T02:42:35.996Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-31T02:42:35.996Z] ---> b068be0155e3 [2021-05-31T02:42:35.996Z] 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-31T02:42:41.336Z] ---> Running in 39afc4a19493 [2021-05-31T02:42:41.337Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-31T02:42:41.337Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-31T02:42:41.337Z] (1/12) Installing libmagic (5.39-r0) [2021-05-31T02:42:41.597Z] (2/12) Installing file (5.39-r0) [2021-05-31T02:42:41.597Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-05-31T02:42:41.597Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-05-31T02:42:45.809Z] (5/12) Installing fortify-headers (1.1-r0) [2021-05-31T02:42:45.809Z] (6/12) Installing patch (2.7.6-r6) [2021-05-31T02:42:45.809Z] (7/12) Installing build-base (0.5-r2) [2021-05-31T02:42:45.809Z] (8/12) Installing libsodium (1.0.18-r0) [2021-05-31T02:42:45.809Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-05-31T02:42:45.809Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-05-31T02:42:45.809Z] (11/12) Installing libzmq (4.3.3-r1) [2021-05-31T02:42:46.075Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-05-31T02:42:46.075Z] Executing busybox-1.32.1-r6.trigger [2021-05-31T02:42:46.075Z] OK: 219 MiB in 52 packages [2021-05-31T02:42:47.472Z] Removing intermediate container 39afc4a19493 [2021-05-31T02:42:47.472Z] ---> 6578f80100be [2021-05-31T02:42:47.472Z] Step 4/6 : WORKDIR /edgex-go [2021-05-31T02:42:47.737Z] ---> Running in e7981dfc898e [2021-05-31T02:42:47.737Z] Removing intermediate container e7981dfc898e [2021-05-31T02:42:47.737Z] ---> 47a83348004c [2021-05-31T02:42:47.737Z] Step 5/6 : COPY go.mod . [2021-05-31T02:42:48.002Z] ---> f3ba2357b0a6 [2021-05-31T02:42:48.002Z] Step 6/6 : RUN go mod download [2021-05-31T02:42:48.002Z] ---> Running in 052a977c2a0f [2021-05-31T02:43:09.980Z] Removing intermediate container 052a977c2a0f [2021-05-31T02:43:09.980Z] ---> 21e9c85f1005 [2021-05-31T02:43:09.980Z] Successfully built 21e9c85f1005 [2021-05-31T02:43:09.980Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-31T02:43:10.288Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-31T02:43:10.288Z] . [Pipeline] withDockerContainer [2021-05-31T02:43:10.378Z] prd-centos7-docker-4c-2g-1115 does not seem to be running inside a container [2021-05-31T02:43:10.414Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/8 -v /w/workspace/edgex-go/8:/w/workspace/edgex-go/8:rw,z -v /w/workspace/edgex-go/8@tmp:/w/workspace/edgex-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-31T02:43:10.942Z] $ docker top e21fb72238a31b26a504b1de303745550b05e1a1094069128b6aff058fafcf2d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-31T02:43:11.325Z] + go version [2021-05-31T02:43:11.325Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-31T02:43:11.332Z] $ docker stop --time=1 e21fb72238a31b26a504b1de303745550b05e1a1094069128b6aff058fafcf2d [2021-05-31T02:43:12.579Z] $ docker rm -f e21fb72238a31b26a504b1de303745550b05e1a1094069128b6aff058fafcf2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-31T02:43:13.021Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-31T02:43:13.021Z] . [Pipeline] withDockerContainer [2021-05-31T02:43:13.092Z] prd-centos7-docker-4c-2g-1115 does not seem to be running inside a container [2021-05-31T02:43:13.127Z] $ 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/8 -v /w/workspace/edgex-go/8:/w/workspace/edgex-go/8:rw,z -v /w/workspace/edgex-go/8@tmp:/w/workspace/edgex-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-31T02:43:13.496Z] $ docker top 3de5a16f6892eed6376fa835dfc8a522683d8a296957ad6659aa9202daf85ea6 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-31T02:43:13.583Z] ========================================================= [2021-05-31T02:43:13.583Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-05-31T02:43:13.583Z] ========================================================= [Pipeline] sh [2021-05-31T02:43:13.878Z] + go mod tidy [Pipeline] sh [2021-05-31T02:43:14.456Z] + make test [2021-05-31T02:43:14.456Z] go mod tidy [2021-05-31T02:43:14.456Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-31T02:43:21.101Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-05-31T02:43:39.281Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-05-31T02:43:44.678Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-05-31T02:43:46.116Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2021-05-31T02:43:46.388Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2021-05-31T02:43:50.627Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2021-05-31T02:43:51.213Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2021-05-31T02:43:51.213Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2021-05-31T02:43:51.213Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2021-05-31T02:43:52.164Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2021-05-31T02:43:53.129Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2021-05-31T02:43:56.576Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2021-05-31T02:43:56.576Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2021-05-31T02:43:56.576Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2021-05-31T02:43:58.507Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.085s coverage: 46.1% of statements [2021-05-31T02:43:58.507Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2021-05-31T02:43:58.507Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2021-05-31T02:43:58.507Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] [2021-05-31T02:43:58.507Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] [2021-05-31T02:43:58.507Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] [2021-05-31T02:43:58.507Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] [2021-05-31T02:43:58.507Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.041s coverage: 28.7% of statements [2021-05-31T02:43:59.458Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.059s coverage: 100.0% of statements [2021-05-31T02:44:02.029Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.111s coverage: 27.7% of statements [2021-05-31T02:44:02.029Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2021-05-31T02:44:02.029Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2021-05-31T02:44:02.029Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] [2021-05-31T02:44:02.029Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] [2021-05-31T02:44:02.029Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] [2021-05-31T02:44:02.029Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.062s coverage: 81.2% of statements [2021-05-31T02:44:02.029Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2021-05-31T02:44:02.029Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.049s coverage: 100.0% of statements [2021-05-31T02:44:02.029Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] [2021-05-31T02:44:02.294Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.055s coverage: 100.0% of statements [2021-05-31T02:44:02.294Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] [2021-05-31T02:44:02.294Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] [2021-05-31T02:44:03.256Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.068s coverage: 53.4% of statements [2021-05-31T02:44:03.256Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] [2021-05-31T02:44:03.256Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] [2021-05-31T02:44:03.532Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.085s coverage: 87.7% of statements [2021-05-31T02:44:03.532Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] [2021-05-31T02:44:03.532Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] [2021-05-31T02:44:03.794Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.045s coverage: 78.9% of statements [2021-05-31T02:44:03.794Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] [2021-05-31T02:44:06.383Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.212s coverage: 28.6% of statements [2021-05-31T02:44:06.383Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2021-05-31T02:44:06.383Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2021-05-31T02:44:06.383Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] [2021-05-31T02:44:06.383Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] [2021-05-31T02:44:06.383Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] [2021-05-31T02:44:06.383Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.055s coverage: 100.0% of statements [2021-05-31T02:44:06.383Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] [2021-05-31T02:44:06.384Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.056s coverage: 100.0% of statements [2021-05-31T02:44:06.384Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] [2021-05-31T02:44:06.977Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.093s coverage: 86.7% of statements [2021-05-31T02:44:06.977Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] [2021-05-31T02:44:07.564Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.090s coverage: 97.5% of statements [2021-05-31T02:44:07.564Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] [2021-05-31T02:44:07.849Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.059s coverage: 78.3% of statements [2021-05-31T02:44:07.849Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] [2021-05-31T02:44:07.849Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] [2021-05-31T02:44:07.849Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] [2021-05-31T02:44:07.849Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] [2021-05-31T02:44:09.798Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.286s coverage: 95.1% of statements [2021-05-31T02:44:09.798Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] [2021-05-31T02:44:09.798Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] [2021-05-31T02:44:09.798Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] [2021-05-31T02:44:09.798Z] ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] [2021-05-31T02:44:09.798Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2021-05-31T02:44:09.798Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] [2021-05-31T02:44:09.798Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] [2021-05-31T02:44:09.798Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2021-05-31T02:44:09.798Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2021-05-31T02:44:09.798Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] [2021-05-31T02:44:09.798Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2021-05-31T02:44:09.798Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] [2021-05-31T02:44:09.798Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2021-05-31T02:44:09.798Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] [2021-05-31T02:44:09.798Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2021-05-31T02:44:09.798Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] [2021-05-31T02:44:09.798Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] [2021-05-31T02:44:09.798Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] [2021-05-31T02:44:09.798Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.047s coverage: 58.8% of statements [2021-05-31T02:44:09.798Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/application [no test files] [2021-05-31T02:44:09.798Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] [2021-05-31T02:44:09.798Z] --- FAIL: TestAddSecret (0.00s) [2021-05-31T02:44:09.798Z] --- FAIL: TestAddSecret/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash (0.00s) [2021-05-31T02:44:09.798Z] panic: [2021-05-31T02:44:09.798Z] [2021-05-31T02:44:09.798Z] mock: Unexpected Method Call [2021-05-31T02:44:09.798Z] ----------------------------- [2021-05-31T02:44:09.798Z] [2021-05-31T02:44:09.798Z] StoreSecret(string,map[string]string) [2021-05-31T02:44:09.798Z] 0: "mqtt" [2021-05-31T02:44:09.798Z] 1: map[string]string{"password":"password", "username":"username"} [2021-05-31T02:44:09.798Z] [2021-05-31T02:44:09.798Z] The closest call I have is: [2021-05-31T02:44:09.798Z] [2021-05-31T02:44:09.798Z] StoreSecret(string,map[string]string) [2021-05-31T02:44:09.798Z] 0: "/mqtt" [2021-05-31T02:44:09.798Z] 1: map[string]string{"password":"password", "username":"username"} [2021-05-31T02:44:09.798Z] [2021-05-31T02:44:09.798Z] [2021-05-31T02:44:09.798Z] Diff: 0: FAIL: (string=mqtt) != (string=/mqtt) [2021-05-31T02:44:09.798Z] 1: PASS: (map[string]string=map[password:password username:username]) == (map[string]string=map[password:password username:username]) [recovered] [2021-05-31T02:44:09.798Z] panic: [2021-05-31T02:44:09.798Z] [2021-05-31T02:44:09.798Z] mock: Unexpected Method Call [2021-05-31T02:44:09.798Z] ----------------------------- [2021-05-31T02:44:09.798Z] [2021-05-31T02:44:09.798Z] StoreSecret(string,map[string]string) [2021-05-31T02:44:09.798Z] 0: "mqtt" [2021-05-31T02:44:09.798Z] 1: map[string]string{"password":"password", "username":"username"} [2021-05-31T02:44:09.798Z] [2021-05-31T02:44:09.798Z] The closest call I have is: [2021-05-31T02:44:09.798Z] [2021-05-31T02:44:09.798Z] StoreSecret(string,map[string]string) [2021-05-31T02:44:09.798Z] 0: "/mqtt" [2021-05-31T02:44:09.798Z] 1: map[string]string{"password":"password", "username":"username"} [2021-05-31T02:44:09.798Z] [2021-05-31T02:44:09.798Z] [2021-05-31T02:44:09.798Z] Diff: 0: FAIL: (string=mqtt) != (string=/mqtt) [2021-05-31T02:44:09.798Z] 1: PASS: (map[string]string=map[password:password username:username]) == (map[string]string=map[password:password username:username]) [2021-05-31T02:44:09.798Z] [2021-05-31T02:44:09.798Z] goroutine 20 [running]: [2021-05-31T02:44:09.799Z] testing.tRunner.func1.2(0x7ab420, 0xc00034efe0) [2021-05-31T02:44:09.799Z] /usr/local/go/src/testing/testing.go:1143 +0x49f [2021-05-31T02:44:09.799Z] testing.tRunner.func1(0xc000087e00) [2021-05-31T02:44:09.799Z] /usr/local/go/src/testing/testing.go:1146 +0x695 [2021-05-31T02:44:09.799Z] panic(0x7ab420, 0xc00034efe0) [2021-05-31T02:44:09.799Z] /usr/local/go/src/runtime/panic.go:971 +0x499 [2021-05-31T02:44:09.799Z] github.com/stretchr/testify/mock.(*Mock).fail(0xc000348690, 0x81d979, 0x6f, 0xc000327600, 0x4, 0x4) [2021-05-31T02:44:09.799Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:254 +0x21f [2021-05-31T02:44:09.799Z] github.com/stretchr/testify/mock.(*Mock).MethodCalled(0xc000348690, 0x8be879, 0xb, 0xc000321880, 0x2, 0x2, 0xc000327540, 0x4, 0x4) [2021-05-31T02:44:09.799Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:411 +0x510 [2021-05-31T02:44:09.799Z] github.com/stretchr/testify/mock.(*Mock).Called(0xc000348690, 0xc000321880, 0x2, 0x2, 0xa46490, 0x0, 0x0) [2021-05-31T02:44:09.799Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:383 +0x1ee [2021-05-31T02:44:09.799Z] github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks.(*SecretProvider).StoreSecret(0xc000348690, 0xc00036c48c, 0x4, 0xc00033f800, 0xc000348690, 0x1) [2021-05-31T02:44:09.799Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v2@v2.0.0-dev.61/bootstrap/interfaces/mocks/SecretProvider.go:88 +0x11c [2021-05-31T02:44:09.799Z] github.com/edgexfoundry/edgex-go/internal/pkg/v2/application.AddSecret(0xc0003215e0, 0xc00036c488, 0x2, 0xc00033a4e0, 0x24, 0xc00036c48c, 0x4, 0xc000332380, 0x2, 0x4, ...) [2021-05-31T02:44:09.799Z] /w/workspace/edgex-go/8/internal/pkg/v2/application/secret.go:26 +0x182 [2021-05-31T02:44:09.799Z] github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http.(*V2CommonController).AddSecret(0xc0000a26e0, 0x875290, 0xc000327280, 0xc0000fef00) [2021-05-31T02:44:09.799Z] /w/workspace/edgex-go/8/internal/pkg/v2/controller/http/secret.go:33 +0x35a [2021-05-31T02:44:09.799Z] net/http.HandlerFunc.ServeHTTP(...) [2021-05-31T02:44:09.799Z] /usr/local/go/src/net/http/server.go:2069 [2021-05-31T02:44:09.799Z] github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http.TestAddSecret.func2(0xc000087e00) [2021-05-31T02:44:09.799Z] /w/workspace/edgex-go/8/internal/pkg/v2/controller/http/secret_test.go:98 +0x3d8 [2021-05-31T02:44:09.799Z] testing.tRunner(0xc000087e00, 0xc0000b6348) [2021-05-31T02:44:09.799Z] /usr/local/go/src/testing/testing.go:1193 +0x203 [2021-05-31T02:44:09.799Z] created by testing.(*T).Run [2021-05-31T02:44:09.799Z] /usr/local/go/src/testing/testing.go:1238 +0x5d8 [2021-05-31T02:44:09.799Z] FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http 0.033s [2021-05-31T02:44:11.213Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.046s coverage: 0.8% of statements [2021-05-31T02:44:11.213Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] [2021-05-31T02:44:11.213Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils 0.055s coverage: 21.7% of statements [2021-05-31T02:44:11.213Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2021-05-31T02:44:11.213Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.043s coverage: 47.1% of statements [2021-05-31T02:44:11.482Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.045s coverage: 79.5% of statements [2021-05-31T02:44:11.750Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.051s coverage: 94.1% of statements [2021-05-31T02:44:12.021Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.056s coverage: 96.3% of statements [2021-05-31T02:44:12.292Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.052s coverage: 87.5% of statements [2021-05-31T02:44:21.522Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1116 in /w/workspace/edgexfoundry_edgex-go_PR-3510 [Pipeline] { [Pipeline] ws [2021-05-31T02:44:21.541Z] Running in /w/workspace/edgex-go/8 [Pipeline] { [Pipeline] checkout [2021-05-31T02:44:21.750Z] The recommended git tool is: git [2021-05-31T02:44:25.892Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.056s coverage: 94.4% of statements [2021-05-31T02:44:25.892Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.052s coverage: 44.8% of statements [2021-05-31T02:44:26.795Z] using credential edgex-jenkins-ssh [2021-05-31T02:44:26.816Z] Cloning the remote Git repository [2021-05-31T02:44:26.863Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-05-31T02:44:26.971Z] > git init /w/workspace/edgex-go/8 # timeout=10 [2021-05-31T02:44:27.047Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-05-31T02:44:27.048Z] > git --version # timeout=10 [2021-05-31T02:44:27.067Z] > git --version # 'git version 2.17.1' [2021-05-31T02:44:27.069Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-31T02:44:27.206Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-31T02:44:31.189Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 16.283s coverage: 81.8% of statements [2021-05-31T02:44:31.189Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2021-05-31T02:44:43.325Z] Merging remotes/origin/master commit e6c052569f26998dcb3a7df84d37141e1787d2eb into PR head commit 78e7af7bf3d9427d0823a5bb1b82654472b63e48 [2021-05-31T02:44:42.370Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-05-31T02:44:42.400Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-31T02:44:42.424Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-05-31T02:44:42.451Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-05-31T02:44:42.452Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-31T02:44:42.465Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3510/head:refs/remotes/origin/PR-3510 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-31T02:44:43.339Z] > git config core.sparsecheckout # timeout=10 [2021-05-31T02:44:43.362Z] > git checkout -f 78e7af7bf3d9427d0823a5bb1b82654472b63e48 # timeout=10 [2021-05-31T02:44:43.682Z] > git remote # timeout=10 [2021-05-31T02:44:43.698Z] > git config --get remote.origin.url # timeout=10 [2021-05-31T02:44:43.710Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-31T02:44:43.721Z] > git merge e6c052569f26998dcb3a7df84d37141e1787d2eb # timeout=10 [2021-05-31T02:44:43.765Z] Merge succeeded, producing 78e7af7bf3d9427d0823a5bb1b82654472b63e48 [2021-05-31T02:44:43.766Z] Checking out Revision 78e7af7bf3d9427d0823a5bb1b82654472b63e48 (PR-3510) [2021-05-31T02:44:43.744Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-31T02:44:43.767Z] > git config core.sparsecheckout # timeout=10 [2021-05-31T02:44:43.783Z] > git checkout -f 78e7af7bf3d9427d0823a5bb1b82654472b63e48 # timeout=10 [2021-05-31T02:44:48.174Z] Commit message: "refactor: Remove the obsolete code of checking secret path" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-31T02:44:51.271Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.083s coverage: 92.9% of statements [2021-05-31T02:44:51.271Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2021-05-31T02:44:51.271Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2021-05-31T02:44:51.271Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2021-05-31T02:44:51.271Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.031s coverage: 65.1% of statements [2021-05-31T02:44:51.271Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2021-05-31T02:44:51.271Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2021-05-31T02:44:51.271Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2021-05-31T02:44:51.271Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2021-05-31T02:44:51.271Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2021-05-31T02:44:51.271Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.040s coverage: 87.2% of statements [2021-05-31T02:44:51.271Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2021-05-31T02:44:51.271Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2021-05-31T02:44:51.271Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.053s coverage: 100.0% of statements [2021-05-31T02:44:51.271Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2021-05-31T02:44:51.271Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.065s coverage: 76.0% of statements [2021-05-31T02:44:51.271Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2021-05-31T02:44:51.271Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.055s coverage: 80.0% of statements [2021-05-31T02:44:51.271Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.063s coverage: 87.2% of statements [2021-05-31T02:44:51.271Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.053s coverage: 85.4% of statements [2021-05-31T02:44:51.271Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.073s coverage: 91.2% of statements [2021-05-31T02:44:51.271Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2021-05-31T02:44:51.271Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.135s coverage: 64.4% of statements [2021-05-31T02:44:51.271Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2021-05-31T02:44:51.271Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2021-05-31T02:44:51.271Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.062s coverage: 100.0% of statements [2021-05-31T02:44:51.271Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.030s coverage: 91.3% of statements [2021-05-31T02:44:51.271Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.025s coverage: 100.0% of statements [2021-05-31T02:44:51.271Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.027s coverage: 73.7% of statements [2021-05-31T02:44:51.271Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.026s coverage: 100.0% of statements [2021-05-31T02:44:51.271Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.157s coverage: 66.9% of statements [2021-05-31T02:44:51.271Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2021-05-31T02:44:51.271Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2021-05-31T02:44:51.271Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2021-05-31T02:44:51.271Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.108s coverage: 43.5% of statements [2021-05-31T02:44:51.271Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2021-05-31T02:44:51.271Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2021-05-31T02:44:51.271Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.038s coverage: 89.5% of statements [2021-05-31T02:44:51.271Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2021-05-31T02:44:51.271Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.027s coverage: 84.8% of statements [2021-05-31T02:44:51.871Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.107s coverage: 46.8% of statements [2021-05-31T02:44:51.871Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2021-05-31T02:44:51.871Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2021-05-31T02:44:51.871Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] [2021-05-31T02:44:51.871Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] [2021-05-31T02:44:51.871Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] [2021-05-31T02:44:51.871Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.047s coverage: 100.0% of statements [2021-05-31T02:44:51.871Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] [2021-05-31T02:44:52.211Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-31T02:44:52.448Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.033s coverage: 100.0% of statements [2021-05-31T02:44:52.448Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] [2021-05-31T02:44:52.448Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] [2021-05-31T02:44:52.649Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-31T02:44:52.997Z] + true [2021-05-31T02:44:52.997Z] + sudo service docker restart [2021-05-31T02:44:55.794Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 3.051s coverage: 18.8% of statements [2021-05-31T02:44:55.794Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application/channel [no test files] [2021-05-31T02:44:55.794Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application/channel/mocks [no test files] [2021-05-31T02:44:55.794Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] [2021-05-31T02:44:55.794Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.138s coverage: 91.9% of statements [2021-05-31T02:44:55.794Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] [2021-05-31T02:44:55.794Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] [2021-05-31T02:44:55.794Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] [2021-05-31T02:44:55.794Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.622s coverage: 28.7% of statements [2021-05-31T02:44:55.794Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2021-05-31T02:44:55.794Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2021-05-31T02:44:55.794Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] [2021-05-31T02:44:55.794Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] [2021-05-31T02:44:55.794Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] [2021-05-31T02:44:56.371Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.053s coverage: 99.0% of statements [2021-05-31T02:44:56.371Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] [2021-05-31T02:44:56.644Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.059s coverage: 100.0% of statements [2021-05-31T02:44:56.644Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] [2021-05-31T02:44:56.644Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] [2021-05-31T02:44:56.644Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] [2021-05-31T02:44:57.227Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.056s coverage: 63.4% of statements [2021-05-31T02:44:57.227Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] [2021-05-31T02:44:57.505Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.094s coverage: 97.6% of statements [2021-05-31T02:44:57.505Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] [2021-05-31T02:44:57.505Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] [2021-05-31T02:44:57.505Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] [2021-05-31T02:44:57.505Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.026s coverage: 0.0% of statements [2021-05-31T02:44:57.505Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2021-05-31T02:44:57.769Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.026s coverage: 100.0% of statements [2021-05-31T02:44:57.769Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] [2021-05-31T02:44:57.769Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2021-05-31T02:44:57.769Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2021-05-31T02:44:57.769Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] [2021-05-31T02:44:58.034Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.033s coverage: 87.9% of statements [2021-05-31T02:44:58.034Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] [2021-05-31T02:44:58.034Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2021-05-31T02:44:58.297Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.026s coverage: 100.0% of statements [2021-05-31T02:44:58.563Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.043s coverage: 28.1% of statements [2021-05-31T02:44:58.563Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/v2 [no test files] [2021-05-31T02:44:58.563Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application [no test files] [2021-05-31T02:44:58.826Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct 0.040s coverage: 27.9% of statements [2021-05-31T02:44:58.826Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct/config [no test files] [2021-05-31T02:44:58.826Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/executor [no test files] [2021-05-31T02:44:58.826Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/v2/container [no test files] [2021-05-31T02:44:58.826Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/v2/controller/http [no test files] [2021-05-31T02:44:58.826Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/v2/interfaces [no test files] [2021-05-31T02:44:59.086Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.031s coverage: 100.0% of statements [2021-05-31T02:44:59.086Z] FAIL [2021-05-31T02:44:59.348Z] make: *** [Makefile:98: test] Error 1 [Pipeline] } [2021-05-31T02:44:59.360Z] $ docker stop --time=1 3de5a16f6892eed6376fa835dfc8a522683d8a296957ad6659aa9202daf85ea6 [2021-05-31T02:45:02.302Z] $ docker rm -f 3de5a16f6892eed6376fa835dfc8a522683d8a296957ad6659aa9202daf85ea6 [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-31T02:45:02.751Z] Failed in branch amd64 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-31T02:45:11.352Z] provisioning config files... [2021-05-31T02:45:11.382Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/8@tmp/config945174478119859708tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-31T02:45:11.762Z] ---> docker-login.sh [2021-05-31T02:45:11.762Z] nexus3.edgexfoundry.org:10001 [2021-05-31T02:45:12.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T02:45:13.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T02:45:13.026Z] Configure a credential helper to remove this warning. See [2021-05-31T02:45:13.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T02:45:13.026Z] [2021-05-31T02:45:13.026Z] Login Succeeded [2021-05-31T02:45:13.026Z] nexus3.edgexfoundry.org:10002 [2021-05-31T02:45:13.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T02:45:13.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T02:45:13.630Z] Configure a credential helper to remove this warning. See [2021-05-31T02:45:13.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T02:45:13.630Z] [2021-05-31T02:45:13.630Z] Login Succeeded [2021-05-31T02:45:13.630Z] nexus3.edgexfoundry.org:10003 [2021-05-31T02:45:14.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T02:45:14.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T02:45:14.228Z] Configure a credential helper to remove this warning. See [2021-05-31T02:45:14.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T02:45:14.228Z] [2021-05-31T02:45:14.228Z] Login Succeeded [2021-05-31T02:45:14.228Z] nexus3.edgexfoundry.org:10004 [2021-05-31T02:45:14.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T02:45:14.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T02:45:14.826Z] Configure a credential helper to remove this warning. See [2021-05-31T02:45:14.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T02:45:14.826Z] [2021-05-31T02:45:14.826Z] Login Succeeded [2021-05-31T02:45:14.826Z] docker.io [2021-05-31T02:45:15.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T02:45:15.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T02:45:15.696Z] Configure a credential helper to remove this warning. See [2021-05-31T02:45:15.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T02:45:15.696Z] [2021-05-31T02:45:15.696Z] Login Succeeded [2021-05-31T02:45:15.696Z] ---> docker-login.sh ends [Pipeline] } [2021-05-31T02:45:15.712Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-31T02:45:16.006Z] ========================================================= [2021-05-31T02:45:16.006Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-31T02:45:16.006Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-31T02:45:16.344Z] + 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-31T02:45:18.976Z] Sending build context to Docker daemon 168.2MB [2021-05-31T02:45:18.976Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-05-31T02:45:18.976Z] Step 2/6 : FROM ${BASE} [2021-05-31T02:45:18.976Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-31T02:45:18.976Z] 595b0fe564bb: Pulling fs layer [2021-05-31T02:45:18.976Z] 7186ed65a4f7: Pulling fs layer [2021-05-31T02:45:18.976Z] 316046926c0a: Pulling fs layer [2021-05-31T02:45:18.976Z] 4ebd0625c992: Pulling fs layer [2021-05-31T02:45:18.976Z] 207e8628e3a3: Pulling fs layer [2021-05-31T02:45:18.976Z] c791037a9be2: Pulling fs layer [2021-05-31T02:45:18.976Z] ffd874e62e21: Pulling fs layer [2021-05-31T02:45:18.976Z] 4ebd0625c992: Waiting [2021-05-31T02:45:18.976Z] 207e8628e3a3: Waiting [2021-05-31T02:45:18.976Z] c791037a9be2: Waiting [2021-05-31T02:45:18.976Z] ffd874e62e21: Waiting [2021-05-31T02:45:18.976Z] 316046926c0a: Verifying Checksum [2021-05-31T02:45:18.976Z] 316046926c0a: Download complete [2021-05-31T02:45:18.976Z] 7186ed65a4f7: Download complete [2021-05-31T02:45:18.976Z] 207e8628e3a3: Verifying Checksum [2021-05-31T02:45:18.976Z] 207e8628e3a3: Download complete [2021-05-31T02:45:18.976Z] c791037a9be2: Verifying Checksum [2021-05-31T02:45:18.976Z] c791037a9be2: Download complete [2021-05-31T02:45:19.255Z] 595b0fe564bb: Verifying Checksum [2021-05-31T02:45:19.255Z] 595b0fe564bb: Download complete [2021-05-31T02:45:19.857Z] 595b0fe564bb: Pull complete [2021-05-31T02:45:20.463Z] 7186ed65a4f7: Pull complete [2021-05-31T02:45:20.739Z] 316046926c0a: Pull complete [2021-05-31T02:45:21.016Z] ffd874e62e21: Verifying Checksum [2021-05-31T02:45:21.016Z] ffd874e62e21: Download complete [2021-05-31T02:45:22.986Z] 4ebd0625c992: Verifying Checksum [2021-05-31T02:45:22.986Z] 4ebd0625c992: Download complete [2021-05-31T02:45:33.159Z] 4ebd0625c992: Pull complete [2021-05-31T02:45:33.435Z] 207e8628e3a3: Pull complete [2021-05-31T02:45:33.710Z] c791037a9be2: Pull complete [2021-05-31T02:45:37.102Z] ffd874e62e21: Pull complete [2021-05-31T02:45:37.102Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-31T02:45:37.102Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-31T02:45:37.102Z] ---> cfc18b08335c [2021-05-31T02:45:37.102Z] 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-31T02:45:39.750Z] ---> Running in 7a6bdc2ba407 [2021-05-31T02:45:41.186Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-31T02:45:42.165Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-31T02:45:47.316Z] (1/12) Installing libmagic (5.39-r0) [2021-05-31T02:45:47.316Z] (2/12) Installing file (5.39-r0) [2021-05-31T02:45:47.316Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-05-31T02:45:47.316Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-05-31T02:45:47.916Z] (5/12) Installing fortify-headers (1.1-r0) [2021-05-31T02:45:48.187Z] (6/12) Installing patch (2.7.6-r6) [2021-05-31T02:45:48.187Z] (7/12) Installing build-base (0.5-r2) [2021-05-31T02:45:48.187Z] (8/12) Installing libsodium (1.0.18-r0) [2021-05-31T02:45:48.461Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-05-31T02:45:48.461Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-05-31T02:45:48.461Z] (11/12) Installing libzmq (4.3.3-r1) [2021-05-31T02:45:48.735Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-05-31T02:45:48.735Z] Executing busybox-1.32.1-r6.trigger [2021-05-31T02:45:48.735Z] OK: 218 MiB in 52 packages [2021-05-31T02:45:53.044Z] Removing intermediate container 7a6bdc2ba407 [2021-05-31T02:45:53.044Z] ---> 1a1ce76c0177 [2021-05-31T02:45:53.044Z] Step 4/6 : WORKDIR /edgex-go [2021-05-31T02:45:53.044Z] ---> Running in dba6efc89b83 [2021-05-31T02:45:53.317Z] Removing intermediate container dba6efc89b83 [2021-05-31T02:45:53.317Z] ---> 3d5bd2d57005 [2021-05-31T02:45:53.317Z] Step 5/6 : COPY go.mod . [2021-05-31T02:45:53.915Z] ---> e48b76a64796 [2021-05-31T02:45:53.915Z] Step 6/6 : RUN go mod download [2021-05-31T02:45:54.190Z] ---> Running in 39da96320601 [2021-05-31T02:46:21.006Z] Removing intermediate container 39da96320601 [2021-05-31T02:46:21.006Z] ---> 400a7b1d2a45 [2021-05-31T02:46:21.006Z] Successfully built 400a7b1d2a45 [2021-05-31T02:46:21.006Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-31T02:46:21.341Z] + docker inspect -f . ci-base-image-arm64 [2021-05-31T02:46:21.341Z] . [Pipeline] withDockerContainer [2021-05-31T02:46:21.598Z] prd-ubuntu18.04-docker-arm64-4c-16g-1116 does not seem to be running inside a container [2021-05-31T02:46:21.675Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/8 -v /w/workspace/edgex-go/8:/w/workspace/edgex-go/8:rw,z -v /w/workspace/edgex-go/8@tmp:/w/workspace/edgex-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-31T02:46:23.369Z] $ docker top 5c7f3123bc1e297b0b0c9822796811b5ba0d5ba7865050bad51d564b2c2139ca -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-31T02:46:24.338Z] + go version [2021-05-31T02:46:24.338Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-31T02:46:24.354Z] $ docker stop --time=1 5c7f3123bc1e297b0b0c9822796811b5ba0d5ba7865050bad51d564b2c2139ca [2021-05-31T02:46:26.205Z] $ docker rm -f 5c7f3123bc1e297b0b0c9822796811b5ba0d5ba7865050bad51d564b2c2139ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-31T02:46:26.868Z] + docker inspect -f . ci-base-image-arm64 [2021-05-31T02:46:26.868Z] . [Pipeline] withDockerContainer [2021-05-31T02:46:27.129Z] prd-ubuntu18.04-docker-arm64-4c-16g-1116 does not seem to be running inside a container [2021-05-31T02:46:27.201Z] $ 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/8 -v /w/workspace/edgex-go/8:/w/workspace/edgex-go/8:rw,z -v /w/workspace/edgex-go/8@tmp:/w/workspace/edgex-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-31T02:46:28.747Z] $ docker top 46d21d9f707a02fbf6745f0b7c2eee15beb3de6ec35745fa9994be6c73ddce32 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-31T02:46:29.044Z] ========================================================= [2021-05-31T02:46:29.044Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-05-31T02:46:29.044Z] ========================================================= [Pipeline] sh [2021-05-31T02:46:29.689Z] + go mod tidy [Pipeline] sh [2021-05-31T02:46:31.333Z] + make test [2021-05-31T02:46:31.333Z] go mod tidy [2021-05-31T02:46:31.924Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-31T02:46:58.747Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-05-31T02:47:55.348Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-05-31T02:48:02.097Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-05-31T02:48:12.289Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2021-05-31T02:48:12.289Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2021-05-31T02:48:14.928Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2021-05-31T02:48:15.533Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2021-05-31T02:48:15.533Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2021-05-31T02:48:15.533Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2021-05-31T02:48:20.964Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2021-05-31T02:48:20.964Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2021-05-31T02:48:31.152Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2021-05-31T02:48:31.152Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2021-05-31T02:48:31.152Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2021-05-31T02:48:35.480Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.420s coverage: 46.1% of statements [2021-05-31T02:48:35.480Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2021-05-31T02:48:35.480Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2021-05-31T02:48:35.480Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] [2021-05-31T02:48:35.480Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] [2021-05-31T02:48:35.480Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] [2021-05-31T02:48:35.480Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] [2021-05-31T02:48:35.480Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.253s coverage: 28.7% of statements [2021-05-31T02:48:35.480Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.329s coverage: 100.0% of statements [2021-05-31T02:48:43.801Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.593s coverage: 27.7% of statements [2021-05-31T02:48:43.801Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2021-05-31T02:48:43.801Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2021-05-31T02:48:43.801Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] [2021-05-31T02:48:43.801Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] [2021-05-31T02:48:43.801Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] [2021-05-31T02:48:43.801Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.340s coverage: 81.2% of statements [2021-05-31T02:48:43.801Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2021-05-31T02:48:43.801Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.209s coverage: 100.0% of statements [2021-05-31T02:48:43.801Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] [2021-05-31T02:48:43.801Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.304s coverage: 100.0% of statements [2021-05-31T02:48:43.801Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] [2021-05-31T02:48:43.801Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] [2021-05-31T02:48:45.275Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.334s coverage: 53.4% of statements [2021-05-31T02:48:45.275Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] [2021-05-31T02:48:45.275Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] [2021-05-31T02:48:46.805Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.856s coverage: 87.7% of statements [2021-05-31T02:48:46.805Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] [2021-05-31T02:48:46.805Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] [2021-05-31T02:48:46.805Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.196s coverage: 78.9% of statements [2021-05-31T02:48:46.805Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] [2021-05-31T02:48:57.160Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.212s coverage: 28.6% of statements [2021-05-31T02:48:57.160Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2021-05-31T02:48:57.160Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2021-05-31T02:48:57.160Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] [2021-05-31T02:48:57.160Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] [2021-05-31T02:48:57.160Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] [2021-05-31T02:48:57.160Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.278s coverage: 100.0% of statements [2021-05-31T02:48:57.160Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] [2021-05-31T02:48:57.160Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.198s coverage: 100.0% of statements [2021-05-31T02:48:57.160Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] [2021-05-31T02:48:57.160Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.449s coverage: 86.7% of statements [2021-05-31T02:48:57.160Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] [2021-05-31T02:48:57.160Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.502s coverage: 97.5% of statements [2021-05-31T02:48:57.160Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] [2021-05-31T02:48:57.160Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.326s coverage: 78.3% of statements [2021-05-31T02:48:57.160Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] [2021-05-31T02:48:57.160Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] [2021-05-31T02:48:57.160Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] [2021-05-31T02:48:57.160Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] [2021-05-31T02:49:05.670Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.213s coverage: 95.1% of statements [2021-05-31T02:49:05.670Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] [2021-05-31T02:49:05.670Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] [2021-05-31T02:49:05.670Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] [2021-05-31T02:49:05.670Z] ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] [2021-05-31T02:49:05.670Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2021-05-31T02:49:05.670Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] [2021-05-31T02:49:05.670Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] [2021-05-31T02:49:05.670Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2021-05-31T02:49:05.670Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2021-05-31T02:49:05.670Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] [2021-05-31T02:49:05.670Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2021-05-31T02:49:05.670Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] [2021-05-31T02:49:05.670Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2021-05-31T02:49:05.670Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] [2021-05-31T02:49:05.670Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2021-05-31T02:49:05.670Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] [2021-05-31T02:49:05.670Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] [2021-05-31T02:49:05.670Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] [2021-05-31T02:49:05.670Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.183s coverage: 58.8% of statements [2021-05-31T02:49:05.670Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/application [no test files] [2021-05-31T02:49:05.670Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] [2021-05-31T02:49:05.670Z] --- FAIL: TestAddSecret (0.01s) [2021-05-31T02:49:05.670Z] --- FAIL: TestAddSecret/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash (0.01s) [2021-05-31T02:49:05.670Z] panic: [2021-05-31T02:49:05.670Z] [2021-05-31T02:49:05.670Z] mock: Unexpected Method Call [2021-05-31T02:49:05.670Z] ----------------------------- [2021-05-31T02:49:05.670Z] [2021-05-31T02:49:05.670Z] StoreSecret(string,map[string]string) [2021-05-31T02:49:05.670Z] 0: "mqtt" [2021-05-31T02:49:05.670Z] 1: map[string]string{"password":"password", "username":"username"} [2021-05-31T02:49:05.670Z] [2021-05-31T02:49:05.670Z] The closest call I have is: [2021-05-31T02:49:05.670Z] [2021-05-31T02:49:05.670Z] StoreSecret(string,map[string]string) [2021-05-31T02:49:05.670Z] 0: "/mqtt" [2021-05-31T02:49:05.670Z] 1: map[string]string{"password":"password", "username":"username"} [2021-05-31T02:49:05.670Z] [2021-05-31T02:49:05.670Z] [2021-05-31T02:49:05.670Z] Diff: 0: FAIL: (string=mqtt) != (string=/mqtt) [2021-05-31T02:49:05.670Z] 1: PASS: (map[string]string=map[password:password username:username]) == (map[string]string=map[password:password username:username]) [recovered] [2021-05-31T02:49:05.670Z] panic: [2021-05-31T02:49:05.670Z] [2021-05-31T02:49:05.670Z] mock: Unexpected Method Call [2021-05-31T02:49:05.670Z] ----------------------------- [2021-05-31T02:49:05.670Z] [2021-05-31T02:49:05.670Z] StoreSecret(string,map[string]string) [2021-05-31T02:49:05.670Z] 0: "mqtt" [2021-05-31T02:49:05.670Z] 1: map[string]string{"password":"password", "username":"username"} [2021-05-31T02:49:05.670Z] [2021-05-31T02:49:05.670Z] The closest call I have is: [2021-05-31T02:49:05.670Z] [2021-05-31T02:49:05.670Z] StoreSecret(string,map[string]string) [2021-05-31T02:49:05.670Z] 0: "/mqtt" [2021-05-31T02:49:05.670Z] 1: map[string]string{"password":"password", "username":"username"} [2021-05-31T02:49:05.670Z] [2021-05-31T02:49:05.670Z] [2021-05-31T02:49:05.670Z] Diff: 0: FAIL: (string=mqtt) != (string=/mqtt) [2021-05-31T02:49:05.670Z] 1: PASS: (map[string]string=map[password:password username:username]) == (map[string]string=map[password:password username:username]) [2021-05-31T02:49:05.670Z] [2021-05-31T02:49:05.670Z] goroutine 20 [running]: [2021-05-31T02:49:05.670Z] testing.tRunner.func1.2(0x314a60, 0xc000374ff0) [2021-05-31T02:49:05.670Z] /usr/local/go/src/testing/testing.go:1143 +0x348 [2021-05-31T02:49:05.670Z] testing.tRunner.func1(0xc000396180) [2021-05-31T02:49:05.670Z] /usr/local/go/src/testing/testing.go:1146 +0x470 [2021-05-31T02:49:05.670Z] panic(0x314a60, 0xc000374ff0) [2021-05-31T02:49:05.670Z] /usr/local/go/src/runtime/panic.go:971 +0x424 [2021-05-31T02:49:05.670Z] github.com/stretchr/testify/mock.(*Mock).fail(0xc00036e640, 0x387a19, 0x6f, 0xc000353600, 0x4, 0x4) [2021-05-31T02:49:05.670Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:254 +0x180 [2021-05-31T02:49:05.670Z] github.com/stretchr/testify/mock.(*Mock).MethodCalled(0xc00036e640, 0x4288d8, 0xb, 0xc00034f880, 0x2, 0x2, 0xc000353540, 0x4, 0x4) [2021-05-31T02:49:05.670Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:411 +0x394 [2021-05-31T02:49:05.670Z] github.com/stretchr/testify/mock.(*Mock).Called(0xc00036e640, 0xc00034f880, 0x2, 0x2, 0x5b93c8, 0x0, 0x0) [2021-05-31T02:49:05.670Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:383 +0x15c [2021-05-31T02:49:05.670Z] github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks.(*SecretProvider).StoreSecret(0xc00036e640, 0xc00039248c, 0x4, 0xc000363800, 0xc00036e640, 0x1) [2021-05-31T02:49:05.670Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v2@v2.0.0-dev.61/bootstrap/interfaces/mocks/SecretProvider.go:88 +0xdc [2021-05-31T02:49:05.670Z] github.com/edgexfoundry/edgex-go/internal/pkg/v2/application.AddSecret(0xc00034f5e0, 0xc000392488, 0x2, 0xc00036a4b0, 0x24, 0xc00039248c, 0x4, 0xc0002d4380, 0x2, 0x4, ...) [2021-05-31T02:49:05.670Z] /w/workspace/edgex-go/8/internal/pkg/v2/application/secret.go:26 +0x114 [2021-05-31T02:49:05.670Z] github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http.(*V2CommonController).AddSecret(0xc0000a86e8, 0x3dfc00, 0xc000353280, 0xc00015cd00) [2021-05-31T02:49:05.670Z] /w/workspace/edgex-go/8/internal/pkg/v2/controller/http/secret.go:33 +0x268 [2021-05-31T02:49:05.670Z] net/http.HandlerFunc.ServeHTTP(...) [2021-05-31T02:49:05.670Z] /usr/local/go/src/net/http/server.go:2069 [2021-05-31T02:49:05.670Z] github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http.TestAddSecret.func2(0xc000396180) [2021-05-31T02:49:05.670Z] /w/workspace/edgex-go/8/internal/pkg/v2/controller/http/secret_test.go:98 +0x30c [2021-05-31T02:49:05.670Z] testing.tRunner(0xc000396180, 0xc0000bc360) [2021-05-31T02:49:05.670Z] /usr/local/go/src/testing/testing.go:1193 +0x174 [2021-05-31T02:49:05.670Z] created by testing.(*T).Run [2021-05-31T02:49:05.670Z] /usr/local/go/src/testing/testing.go:1238 +0x43c [2021-05-31T02:49:05.670Z] FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http 0.178s [2021-05-31T02:49:05.952Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.366s coverage: 0.8% of statements [2021-05-31T02:49:05.952Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] [2021-05-31T02:49:05.952Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils 0.193s coverage: 21.7% of statements [2021-05-31T02:49:05.952Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2021-05-31T02:49:05.952Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.167s coverage: 47.1% of statements [2021-05-31T02:49:05.952Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.260s coverage: 79.5% of statements [2021-05-31T02:49:05.952Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.205s coverage: 94.1% of statements [2021-05-31T02:49:06.234Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.213s coverage: 96.3% of statements [2021-05-31T02:49:06.835Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.159s coverage: 87.5% of statements [2021-05-31T02:49:20.900Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.234s coverage: 94.4% of statements [2021-05-31T02:49:20.901Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.177s coverage: 44.8% of statements [2021-05-31T02:49:24.299Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.520s coverage: 81.8% of statements [2021-05-31T02:49:24.299Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2021-05-31T02:49:32.593Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.349s coverage: 92.9% of statements [2021-05-31T02:49:32.593Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2021-05-31T02:49:32.593Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2021-05-31T02:49:32.593Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2021-05-31T02:49:32.593Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.055s coverage: 65.1% of statements [2021-05-31T02:49:32.593Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2021-05-31T02:49:32.593Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2021-05-31T02:49:32.593Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2021-05-31T02:49:32.593Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2021-05-31T02:49:32.593Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2021-05-31T02:49:32.593Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.077s coverage: 87.2% of statements [2021-05-31T02:49:32.593Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2021-05-31T02:49:32.593Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2021-05-31T02:49:32.593Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.148s coverage: 100.0% of statements [2021-05-31T02:49:32.593Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2021-05-31T02:49:32.593Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.170s coverage: 76.0% of statements [2021-05-31T02:49:32.593Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2021-05-31T02:49:32.593Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.157s coverage: 80.0% of statements [2021-05-31T02:49:32.593Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.216s coverage: 87.2% of statements [2021-05-31T02:49:32.593Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.227s coverage: 85.4% of statements [2021-05-31T02:49:32.593Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.300s coverage: 91.2% of statements [2021-05-31T02:49:32.593Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2021-05-31T02:49:32.593Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.653s coverage: 64.4% of statements [2021-05-31T02:49:32.593Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2021-05-31T02:49:32.593Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2021-05-31T02:49:32.593Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.161s coverage: 100.0% of statements [2021-05-31T02:49:32.593Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.125s coverage: 91.3% of statements [2021-05-31T02:49:32.593Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.086s coverage: 100.0% of statements [2021-05-31T02:49:33.194Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.085s coverage: 73.7% of statements [2021-05-31T02:49:33.800Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.068s coverage: 100.0% of statements [2021-05-31T02:49:37.213Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.992s coverage: 66.9% of statements [2021-05-31T02:49:37.213Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2021-05-31T02:49:37.213Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2021-05-31T02:49:37.213Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2021-05-31T02:49:39.211Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.749s coverage: 43.5% of statements [2021-05-31T02:49:39.211Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2021-05-31T02:49:39.211Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2021-05-31T02:49:39.211Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.147s coverage: 89.5% of statements [2021-05-31T02:49:39.211Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2021-05-31T02:49:39.211Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.078s coverage: 84.8% of statements [2021-05-31T02:49:44.633Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.537s coverage: 46.8% of statements [2021-05-31T02:49:44.633Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2021-05-31T02:49:44.633Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2021-05-31T02:49:44.633Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] [2021-05-31T02:49:44.633Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] [2021-05-31T02:49:44.633Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] [2021-05-31T02:49:44.633Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.127s coverage: 100.0% of statements [2021-05-31T02:49:44.633Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] [2021-05-31T02:49:44.633Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.163s coverage: 100.0% of statements [2021-05-31T02:49:44.633Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] [2021-05-31T02:49:44.633Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] [2021-05-31T02:49:48.047Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 3.253s coverage: 18.8% of statements [2021-05-31T02:49:48.047Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application/channel [no test files] [2021-05-31T02:49:48.047Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application/channel/mocks [no test files] [2021-05-31T02:49:48.047Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] [2021-05-31T02:49:48.047Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.492s coverage: 91.9% of statements [2021-05-31T02:49:48.047Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] [2021-05-31T02:49:48.047Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] [2021-05-31T02:49:48.047Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] [2021-05-31T02:49:53.483Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 3.655s coverage: 28.7% of statements [2021-05-31T02:49:53.483Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2021-05-31T02:49:53.483Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2021-05-31T02:49:53.483Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] [2021-05-31T02:49:53.483Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] [2021-05-31T02:49:53.483Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] [2021-05-31T02:49:53.483Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.158s coverage: 99.0% of statements [2021-05-31T02:49:53.483Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] [2021-05-31T02:49:53.483Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.212s coverage: 100.0% of statements [2021-05-31T02:49:53.483Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] [2021-05-31T02:49:53.483Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] [2021-05-31T02:49:53.483Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] [2021-05-31T02:49:53.483Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.339s coverage: 63.4% of statements [2021-05-31T02:49:53.483Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] [2021-05-31T02:49:54.079Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.518s coverage: 97.6% of statements [2021-05-31T02:49:54.079Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] [2021-05-31T02:49:54.079Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] [2021-05-31T02:49:54.079Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] [2021-05-31T02:49:54.079Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.043s coverage: 0.0% of statements [2021-05-31T02:49:54.079Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2021-05-31T02:49:54.079Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.055s coverage: 100.0% of statements [2021-05-31T02:49:54.079Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] [2021-05-31T02:49:54.079Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2021-05-31T02:49:54.079Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2021-05-31T02:49:54.079Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] [2021-05-31T02:49:55.062Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.110s coverage: 87.9% of statements [2021-05-31T02:49:55.062Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] [2021-05-31T02:49:55.062Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2021-05-31T02:49:55.062Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.053s coverage: 100.0% of statements [2021-05-31T02:49:56.049Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.173s coverage: 28.1% of statements [2021-05-31T02:49:56.049Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/v2 [no test files] [2021-05-31T02:49:56.049Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application [no test files] [2021-05-31T02:49:56.646Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct 0.152s coverage: 27.9% of statements [2021-05-31T02:49:56.646Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct/config [no test files] [2021-05-31T02:49:56.646Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/executor [no test files] [2021-05-31T02:49:56.646Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/v2/container [no test files] [2021-05-31T02:49:56.646Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/v2/controller/http [no test files] [2021-05-31T02:49:56.646Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/v2/interfaces [no test files] [2021-05-31T02:49:57.241Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.077s coverage: 100.0% of statements [2021-05-31T02:49:57.241Z] FAIL [2021-05-31T02:49:58.218Z] make: *** [Makefile:98: test] Error 1 [Pipeline] } [2021-05-31T02:49:58.230Z] $ docker stop --time=1 46d21d9f707a02fbf6745f0b7c2eee15beb3de6ec35745fa9994be6c73ddce32 [2021-05-31T02:50:00.302Z] $ docker rm -f 46d21d9f707a02fbf6745f0b7c2eee15beb3de6ec35745fa9994be6c73ddce32 [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-31T02:50:03.792Z] ---> job-cost.sh [2021-05-31T02:50:03.792Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Mxay [2021-05-31T02:50:42.746Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-31T02:52:04.483Z] lf-activate-venv(): INFO: Adding /tmp/venv-Mxay/bin to PATH [2021-05-31T02:52:04.483Z] INFO: No Stack... [2021-05-31T02:52:04.483Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-31T02:52:05.075Z] INFO: Archiving Costs [Pipeline] sh [2021-05-31T02:52:05.413Z] + cat /w/workspace/edgex-go/8/archives/cost.csv [2021-05-31T02:52:05.413Z] + cut -d, -f6 [Pipeline] lock [2021-05-31T02:52:05.476Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3510-8-stack-cost] [2021-05-31T02:52:05.485Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3510-8-stack-cost] did not exist. Created. [2021-05-31T02:52:05.485Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3510-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-31T02:52:05.834Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-31T02:52:06.735Z] Stashed 1 file(s) [Pipeline] } [2021-05-31T02:52:06.748Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3510-8-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-31T02:52:06.889Z] 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-31T02:52:07.586Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-31T02:52:08.152Z] ---> package-listing.sh [2021-05-31T02:52:08.152Z] ++ facter osfamily [2021-05-31T02:52:08.152Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-31T02:52:08.414Z] + OS_FAMILY=redhat [2021-05-31T02:52:08.414Z] + workspace=/w/workspace/edgex-go/8 [2021-05-31T02:52:08.414Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-31T02:52:08.414Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-31T02:52:08.414Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-31T02:52:08.414Z] + PACKAGES=/tmp/packages_start.txt [2021-05-31T02:52:08.414Z] + '[' /w/workspace/edgex-go/8 ']' [2021-05-31T02:52:08.414Z] + PACKAGES=/tmp/packages_end.txt [2021-05-31T02:52:08.414Z] + case "${OS_FAMILY}" in [2021-05-31T02:52:08.414Z] + sort [2021-05-31T02:52:08.414Z] + rpm -qa [2021-05-31T02:52:08.984Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-31T02:52:08.984Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-31T02:52:08.984Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-31T02:52:08.984Z] + '[' /w/workspace/edgex-go/8 ']' [2021-05-31T02:52:08.984Z] + mkdir -p /w/workspace/edgex-go/8/archives/ [2021-05-31T02:52:08.984Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/8/archives/ [Pipeline] echo [2021-05-31T02:52:08.996Z] 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/8/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-31T02:52:09.279Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-31T02:52:09.841Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-31T02:52:09.841Z] [2021-05-31T02:52:09.841Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-31T02:52:10.154Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-31T02:52:10.155Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-31T02:52:10.155Z] df20fa9351a1: Pulling fs layer [2021-05-31T02:52:10.155Z] 36b3adc4ff6f: Pulling fs layer [2021-05-31T02:52:10.155Z] 8ad3a11d3b57: Pulling fs layer [2021-05-31T02:52:10.155Z] 46f8f816bc3b: Pulling fs layer [2021-05-31T02:52:10.155Z] 93b61091891f: Pulling fs layer [2021-05-31T02:52:10.155Z] 93b9cdb0e59b: Pulling fs layer [2021-05-31T02:52:10.155Z] 5e14af77c1be: Pulling fs layer [2021-05-31T02:52:10.155Z] 01666e4c0597: Pulling fs layer [2021-05-31T02:52:10.155Z] aa168da1d23b: Pulling fs layer [2021-05-31T02:52:10.155Z] 93b9cdb0e59b: Waiting [2021-05-31T02:52:10.155Z] 5e14af77c1be: Waiting [2021-05-31T02:52:10.155Z] 01666e4c0597: Waiting [2021-05-31T02:52:10.155Z] aa168da1d23b: Waiting [2021-05-31T02:52:10.155Z] 46f8f816bc3b: Waiting [2021-05-31T02:52:10.155Z] 93b61091891f: Waiting [2021-05-31T02:52:10.155Z] 36b3adc4ff6f: Download complete [2021-05-31T02:52:10.155Z] 46f8f816bc3b: Verifying Checksum [2021-05-31T02:52:10.155Z] 46f8f816bc3b: Download complete [2021-05-31T02:52:10.418Z] df20fa9351a1: Verifying Checksum [2021-05-31T02:52:10.418Z] df20fa9351a1: Download complete [2021-05-31T02:52:10.418Z] 93b9cdb0e59b: Verifying Checksum [2021-05-31T02:52:10.418Z] 93b9cdb0e59b: Download complete [2021-05-31T02:52:10.418Z] 5e14af77c1be: Verifying Checksum [2021-05-31T02:52:10.418Z] 5e14af77c1be: Download complete [2021-05-31T02:52:10.418Z] 93b61091891f: Verifying Checksum [2021-05-31T02:52:10.418Z] 93b61091891f: Download complete [2021-05-31T02:52:10.418Z] 01666e4c0597: Verifying Checksum [2021-05-31T02:52:10.418Z] 01666e4c0597: Download complete [2021-05-31T02:52:10.418Z] df20fa9351a1: Pull complete [2021-05-31T02:52:10.679Z] 36b3adc4ff6f: Pull complete [2021-05-31T02:52:10.679Z] 8ad3a11d3b57: Verifying Checksum [2021-05-31T02:52:10.679Z] 8ad3a11d3b57: Download complete [2021-05-31T02:52:11.261Z] 8ad3a11d3b57: Pull complete [2021-05-31T02:52:11.261Z] 46f8f816bc3b: Pull complete [2021-05-31T02:52:11.525Z] 93b61091891f: Pull complete [2021-05-31T02:52:11.525Z] 93b9cdb0e59b: Pull complete [2021-05-31T02:52:11.786Z] 5e14af77c1be: Pull complete [2021-05-31T02:52:11.786Z] 01666e4c0597: Pull complete [2021-05-31T02:52:12.369Z] aa168da1d23b: Verifying Checksum [2021-05-31T02:52:12.369Z] aa168da1d23b: Download complete [2021-05-31T02:52:16.787Z] aa168da1d23b: Pull complete [2021-05-31T02:52:16.787Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-31T02:52:16.787Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-31T02:52:16.787Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-31T02:52:16.858Z] prd-centos7-docker-4c-2g-1115 does not seem to be running inside a container [2021-05-31T02:52:16.894Z] $ 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/8/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/8 -v /w/workspace/edgex-go/8:/w/workspace/edgex-go/8:rw,z -v /w/workspace/edgex-go/8@tmp:/w/workspace/edgex-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-31T02:52:19.058Z] $ docker top 7a427b7810367bac829a8843327edfa9d6479b8f76489f743f1a606fd4c3cab4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-31T02:52:19.439Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-31T02:52:19.735Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-31T02:52:20.042Z] + ls /var/log/sa-host [2021-05-31T02:52:20.042Z] + sadf -c /var/log/sa-host/sa05 [2021-05-31T02:52:20.042Z] file_magic: OK [2021-05-31T02:52:20.042Z] HZ: Using current value: 100 [2021-05-31T02:52:20.042Z] file_header: OK [2021-05-31T02:52:20.042Z] 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-31T02:52:20.042Z] Statistics: [2021-05-31T02:52:20.042Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-31T02:52:20.042Z] File successfully converted to sysstat format version 12.2.1 [2021-05-31T02:52:20.042Z] + sadf -c /var/log/sa-host/sa31 [2021-05-31T02:52:20.042Z] file_magic: OK [2021-05-31T02:52:20.042Z] HZ: Using current value: 100 [2021-05-31T02:52:20.042Z] file_header: OK [2021-05-31T02:52:20.042Z] 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-31T02:52:20.042Z] Statistics: [2021-05-31T02:52:20.042Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-31T02:52:20.042Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-31T02:52:20.594Z] provisioning config files... [2021-05-31T02:52:20.606Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/8@tmp/config5836615833652548752tmp [Pipeline] { [Pipeline] echo [2021-05-31T02:52:20.628Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-31T02:52:20.927Z] ---> create-netrc.sh [Pipeline] } [2021-05-31T02:52:21.198Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-31T02:52:21.222Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-31T02:52:21.516Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-31T02:52:21.526Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-31T02:52:21.835Z] ---> sudo-logs.sh [2021-05-31T02:52:21.835Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-31T02:52:21.871Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-31T02:52:22.170Z] ---> job-cost.sh [2021-05-31T02:52:22.170Z] lf-activate-venv: SKIPPING [2021-05-31T02:52:22.170Z] DEBUG: total: 0.18000000715255737 [2021-05-31T02:52:22.170Z] INFO: Retrieving Stack Cost... [2021-05-31T02:52:22.745Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-31T02:52:23.316Z] INFO: Archiving Costs [Pipeline] echo [2021-05-31T02:52:23.327Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-31T02:52:23.624Z] ---> logs-deploy.sh [2021-05-31T02:52:23.624Z] lf-activate-venv: SKIPPING [2021-05-31T02:52:23.624Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3510/8 [2021-05-31T02:52:23.624Z] INFO: archiving workspace using pattern(s): [2021-05-31T02:52:24.580Z] Archives upload complete. [2021-05-31T02:52:24.580Z] INFO: archiving logs to Nexus