Pull request #4244 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of bnevis-i for edgexfoundry/edgex-go Obtained Jenkinsfile from 5441c8cb8acfb9946ef50651455ea0b5768d7b68+88ad77027d783d3ac8e9165f21296ab9ea2526ae (77ae2b81f058bdf3c6ea1f5caf5ef56ad8826be5) 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5773903039330394426.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4347287532334702061.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-4244/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4244/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10919309289684702845.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14751037881101392314.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-4244/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4244/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3090227173193053225.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 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:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.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.18 USE_ALPINE: true DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: DOCKER_IMAGE_NAME_SUFFIX: DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2952 in /w/workspace/edgexfoundry_edgex-go_PR-4244 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/6 [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/6 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4244/head:refs/remotes/origin/PR-4244 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 88ad77027d783d3ac8e9165f21296ab9ea2526ae into PR head commit 5441c8cb8acfb9946ef50651455ea0b5768d7b68 Merge succeeded, producing 5441c8cb8acfb9946ef50651455ea0b5768d7b68 Checking out Revision 5441c8cb8acfb9946ef50651455ea0b5768d7b68 (PR-4244) > git config core.sparsecheckout # timeout=10 > git checkout -f 5441c8cb8acfb9946ef50651455ea0b5768d7b68 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 88ad77027d783d3ac8e9165f21296ab9ea2526ae # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5441c8cb8acfb9946ef50651455ea0b5768d7b68 # timeout=10 Commit message: "feat(wip): Create secret store tokens via identity auth" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:38:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:38:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:38:14 ========================================================= 15:38:14 EdgeX Global Pipelines Version Info 15:38:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk ad88648267884d7e549cdf9bfe1ad0c99918a7ca # timeout=10 15:38:14 ------------------- 15:38:14 stable info: 15:38:14 ------------------- 15:38:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:38:14 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:38:14 Message: update stable to v1.0.244 15:38:15 ------------------- 15:38:15 experimental info: 15:38:15 ------------------- 15:38:15 Commited By: **** collab-it+edgex@linuxfoundation.org 15:38:15 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:38:15 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:38:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 15:38:15 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 15:38:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:38:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:38:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:38:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 15:38:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:38:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 15:38:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 15:38:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 15:38:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:38:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:38:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:38:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:38:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:38:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:38:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:38:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:38:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:38:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 15:38:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:38:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:38:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:38:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4244 [Pipeline] echo 15:38:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4244 [Pipeline] echo 15:38:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4244 [Pipeline] echo 15:38:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5441c8cb8acfb9946ef50651455ea0b5768d7b68 [Pipeline] echo 15:38:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5441c8c [Pipeline] echo 15:38:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:38:15 provisioning config files... 15:38:15 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/6@tmp/config1296698733639950070tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:38:16 ---> docker-login.sh 15:38:16 nexus3.edgexfoundry.org:10001 15:38:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:16 Configure a credential helper to remove this warning. See 15:38:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:16 15:38:16 Login Succeeded 15:38:16 nexus3.edgexfoundry.org:10002 15:38:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:16 Configure a credential helper to remove this warning. See 15:38:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:16 15:38:16 Login Succeeded 15:38:16 nexus3.edgexfoundry.org:10003 15:38:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:16 Configure a credential helper to remove this warning. See 15:38:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:16 15:38:16 Login Succeeded 15:38:16 nexus3.edgexfoundry.org:10004 15:38:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:16 Configure a credential helper to remove this warning. See 15:38:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:16 15:38:16 Login Succeeded 15:38:16 docker.io 15:38:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:17 Configure a credential helper to remove this warning. See 15:38:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:17 15:38:17 Login Succeeded 15:38:17 ---> docker-login.sh ends [Pipeline] } 15:38:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:38:17 + 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/security-spiffe-token-provider/Dockerfile cmd/security-spire-agent/Dockerfile cmd/security-spire-config/Dockerfile cmd/security-spire-server/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile 15:38:17 + + cut -d/ -f2 15:38:17 dirname cmd/core-command/Dockerfile 15:38:17 + echo core-command,cmd/core-command/Dockerfile 15:38:17 + dirname cmd/core-data/Dockerfile 15:38:17 + cut -d/ -f2 15:38:17 + echo core-data,cmd/core-data/Dockerfile 15:38:17 + dirname cmd/core-metadata/Dockerfile 15:38:17 + cut -d/ -f2 15:38:17 + echo core-metadata,cmd/core-metadata/Dockerfile 15:38:17 + dirname cmd/security-bootstrapper/Dockerfile 15:38:17 + cut -d/ -f2 15:38:17 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 15:38:17 + dirname cmd/security-proxy-setup/Dockerfile 15:38:17 + cut -d/ -f2 15:38:17 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 15:38:17 + dirname cmd/security-secretstore-setup/Dockerfile 15:38:17 + cut -d/ -f2 15:38:17 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 15:38:17 + dirname cmd/security-spiffe-token-provider/Dockerfile 15:38:17 + cut -d/ -f2 15:38:17 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 15:38:17 + dirname cmd/security-spire-agent/Dockerfile 15:38:17 + cut -d/ -f2 15:38:17 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 15:38:17 + dirname cmd/security-spire-config/Dockerfile 15:38:17 + cut -d/ -f2 15:38:17 + echo security-spire-config,cmd/security-spire-config/Dockerfile 15:38:17 + dirname cmd/security-spire-server/Dockerfile 15:38:17 + cut -d/ -f2 15:38:17 + echo security-spire-server,cmd/security-spire-server/Dockerfile 15:38:17 + dirname cmd/support-notifications/Dockerfile 15:38:17 + cut -d/ -f2 15:38:17 + echo support-notifications,cmd/support-notifications/Dockerfile 15:38:17 + dirname cmd/support-scheduler/Dockerfile 15:38:17 + cut -d/ -f2 15:38:17 + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo 15:38:17 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:security-spiffe-token-provider, dockerfile:cmd/security-spiffe-token-provider/Dockerfile], [image:security-spire-agent, dockerfile:cmd/security-spire-agent/Dockerfile], [image:security-spire-config, dockerfile:cmd/security-spire-config/Dockerfile], [image:security-spire-server, dockerfile:cmd/security-spire-server/Dockerfile], [image:support-notifications, dockerfile:cmd/support-notifications/Dockerfile], [image:support-scheduler, dockerfile:cmd/support-scheduler/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:38:17 + git rev-list -1 --merges 5441c8cb8acfb9946ef50651455ea0b5768d7b68~1..5441c8cb8acfb9946ef50651455ea0b5768d7b68 [Pipeline] echo 15:38:17 -----------> git rev-list -1 --merges 5441c8cb8acfb9946ef50651455ea0b5768d7b68~1..5441c8cb8acfb9946ef50651455ea0b5768d7b68 5441c8cb8acfb9946ef50651455ea0b5768d7b68 [false] [Pipeline] sh 15:38:18 + git log --format=format:%s -1 5441c8cb8acfb9946ef50651455ea0b5768d7b68 [Pipeline] echo 15:38:18 ========================================================= 15:38:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:38:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 15:38:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:38:18 + grep -v github /etc/ssh/ssh_known_hosts 15:38:18 + [ -e /tmp/ssh_known_hosts ] 15:38:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:38:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 15:38:18 sudo tee -a /etc/ssh/ssh_known_hosts 15:38:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:38:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:38:19 15:38:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:38:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:38:19 0.1.4: Pulling from edgex-devops/py-git-semver 15:38:19 b85a868b505f: Pulling fs layer 15:38:19 e2be974225ed: Pulling fs layer 15:38:19 339a4e72a1f5: Pulling fs layer 15:38:19 988bab9f4d93: Pulling fs layer 15:38:19 1469e6f7b9e6: Pulling fs layer 15:38:19 eaf3925da568: Pulling fs layer 15:38:19 bab4dde63d76: Pulling fs layer 15:38:19 bde34c3a00c8: Pulling fs layer 15:38:19 b352a97aabf1: Pulling fs layer 15:38:19 4872d77fe225: Pulling fs layer 15:38:19 5851b861e8e6: Pulling fs layer 15:38:19 1469e6f7b9e6: Waiting 15:38:19 988bab9f4d93: Waiting 15:38:19 bab4dde63d76: Waiting 15:38:19 eaf3925da568: Waiting 15:38:19 bde34c3a00c8: Waiting 15:38:19 b352a97aabf1: Waiting 15:38:19 5851b861e8e6: Waiting 15:38:19 4872d77fe225: Waiting 15:38:19 e2be974225ed: Verifying Checksum 15:38:19 e2be974225ed: Download complete 15:38:19 988bab9f4d93: Verifying Checksum 15:38:19 988bab9f4d93: Download complete 15:38:19 1469e6f7b9e6: Verifying Checksum 15:38:19 1469e6f7b9e6: Download complete 15:38:19 339a4e72a1f5: Verifying Checksum 15:38:19 339a4e72a1f5: Download complete 15:38:19 eaf3925da568: Verifying Checksum 15:38:19 eaf3925da568: Download complete 15:38:19 bde34c3a00c8: Verifying Checksum 15:38:19 bde34c3a00c8: Download complete 15:38:19 b352a97aabf1: Download complete 15:38:19 4872d77fe225: Verifying Checksum 15:38:19 4872d77fe225: Download complete 15:38:19 5851b861e8e6: Verifying Checksum 15:38:19 5851b861e8e6: Download complete 15:38:19 b85a868b505f: Verifying Checksum 15:38:19 b85a868b505f: Download complete 15:38:20 bab4dde63d76: Verifying Checksum 15:38:20 bab4dde63d76: Download complete 15:38:21 b85a868b505f: Pull complete 15:38:21 e2be974225ed: Pull complete 15:38:21 339a4e72a1f5: Pull complete 15:38:21 988bab9f4d93: Pull complete 15:38:21 1469e6f7b9e6: Pull complete 15:38:22 eaf3925da568: Pull complete 15:38:24 bab4dde63d76: Pull complete 15:38:24 bde34c3a00c8: Pull complete 15:38:24 b352a97aabf1: Pull complete 15:38:24 4872d77fe225: Pull complete 15:38:24 5851b861e8e6: Pull complete 15:38:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:38:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:38:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:38:24 prd-ubuntu20.04-docker-8c-8g-2952 does not seem to be running inside a container 15:38:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@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-devops/py-git-semver:0.1.4 cat 15:38:26 $ docker top 46f9010163deafb012c0c97f6206fd914546c5fbbe82039b76af330fcbf79ecb -eo pid,comm 15:38:26 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:38:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:38:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:38:26 [ssh-agent] Looking for ssh-agent implementation... 15:38:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:38:26 $ docker exec 46f9010163deafb012c0c97f6206fd914546c5fbbe82039b76af330fcbf79ecb ssh-agent 15:38:26 SSH_AUTH_SOCK=/tmp/ssh-gYF8esrKbM0j/agent.32 15:38:26 SSH_AGENT_PID=38 15:38:26 Running ssh-add (command line suppressed) 15:38:26 Identity added: /w/workspace/edgex-go/6@tmp/private_key_18246026318939854699.key (/w/workspace/edgex-go/6@tmp/private_key_18246026318939854699.key) 15:38:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:38:27 + git tag --points-at HEAD [Pipeline] } 15:38:27 $ docker exec --env ******** --env ******** 46f9010163deafb012c0c97f6206fd914546c5fbbe82039b76af330fcbf79ecb ssh-agent -k 15:38:27 unset SSH_AUTH_SOCK; 15:38:27 unset SSH_AGENT_PID; 15:38:27 echo Agent pid 38 killed; 15:38:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:38:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:38:27 [ssh-agent] Looking for ssh-agent implementation... 15:38:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:38:27 $ docker exec 46f9010163deafb012c0c97f6206fd914546c5fbbe82039b76af330fcbf79ecb ssh-agent 15:38:27 SSH_AUTH_SOCK=/tmp/ssh-W78Y0gQzb5GN/agent.70 15:38:27 SSH_AGENT_PID=76 15:38:27 Running ssh-add (command line suppressed) 15:38:27 Identity added: /w/workspace/edgex-go/6@tmp/private_key_8151811078452970918.key (/w/workspace/edgex-go/6@tmp/private_key_8151811078452970918.key) 15:38:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:38:27 + git semver init 15:38:28 2023-01-18 15:38:28,110 [run_init] DEBUG init version:0.0.0 force:False 15:38:28 2023-01-18 15:38:28,111 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/6/.semver 15:38:28 2023-01-18 15:38:28,111 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/6/.semver 15:38:28 2023-01-18 15:38:28,112 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/edgex-go.git', '/w/workspace/edgex-go/6/.semver'], cwd=/w/workspace/edgex-go/6, universal_newlines=False, shell=None, istream=None) 15:38:34 2023-01-18 15:38:33,746 [append_file] DEBUG append to file:/w/workspace/edgex-go/6/.git/info/exclude 15:38:34 2023-01-18 15:38:33,746 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/6/.semver/PR-4244 with force:False 15:38:34 2023-01-18 15:38:33,746 [write_file] DEBUG write to file:/w/workspace/edgex-go/6/.semver/PR-4244 15:38:34 2023-01-18 15:38:33,751 [execute] INFO git cat-file --batch-check 15:38:34 2023-01-18 15:38:33,751 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/6/.semver, universal_newlines=False, shell=None, istream=) 15:38:34 2023-01-18 15:38:33,758 [execute] INFO git cat-file --batch 15:38:34 2023-01-18 15:38:33,759 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/6/.semver, universal_newlines=False, shell=None, istream=) 15:38:34 2023-01-18 15:38:33,765 [read_version] DEBUG read version from /w/workspace/edgex-go/6/.semver/PR-4244 15:38:34 0.0.0 [Pipeline] } 15:38:34 $ docker exec --env ******** --env ******** 46f9010163deafb012c0c97f6206fd914546c5fbbe82039b76af330fcbf79ecb ssh-agent -k 15:38:35 unset SSH_AUTH_SOCK; 15:38:35 unset SSH_AGENT_PID; 15:38:35 echo Agent pid 76 killed; 15:38:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:38:35 + git semver [Pipeline] } 15:38:35 $ docker stop --time=1 46f9010163deafb012c0c97f6206fd914546c5fbbe82039b76af330fcbf79ecb 15:38:36 $ docker rm -f --volumes 46f9010163deafb012c0c97f6206fd914546c5fbbe82039b76af330fcbf79ecb [Pipeline] // withDockerContainer [Pipeline] sh 15:38:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:38:37 Stashed 1 file(s) [Pipeline] echo 15:38:37 [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 15:38:37 + git config --global --add safe.directory /w/workspace/edgex-go/6 [Pipeline] echo 15:38:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:38:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:38:37 ========================================================= 15:38:37 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 15:38:37 ========================================================= [Pipeline] fileExists [Pipeline] sh 15:38:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:38:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 15:38:38 213ec9aee27d: Pulling fs layer 15:38:38 4583459ba037: Pulling fs layer 15:38:38 93c1e223e6f2: Pulling fs layer 15:38:38 53926ce57604: Pulling fs layer 15:38:38 21b2b0c7a3f4: Pulling fs layer 15:38:38 22ff95d597cd: Pulling fs layer 15:38:38 12d6caf4c0d1: Pulling fs layer 15:38:38 96b7cbca73a9: Pulling fs layer 15:38:38 a7acece74701: Pulling fs layer 15:38:38 53926ce57604: Waiting 15:38:38 21b2b0c7a3f4: Waiting 15:38:38 96b7cbca73a9: Waiting 15:38:38 22ff95d597cd: Waiting 15:38:38 a7acece74701: Waiting 15:38:38 12d6caf4c0d1: Waiting 15:38:38 93c1e223e6f2: Download complete 15:38:38 4583459ba037: Download complete 15:38:38 21b2b0c7a3f4: Verifying Checksum 15:38:38 21b2b0c7a3f4: Download complete 15:38:38 22ff95d597cd: Verifying Checksum 15:38:38 22ff95d597cd: Download complete 15:38:38 213ec9aee27d: Verifying Checksum 15:38:38 213ec9aee27d: Download complete 15:38:38 12d6caf4c0d1: Download complete 15:38:38 213ec9aee27d: Pull complete 15:38:38 4583459ba037: Pull complete 15:38:38 93c1e223e6f2: Pull complete 15:38:39 a7acece74701: Verifying Checksum 15:38:39 a7acece74701: Download complete 15:38:40 53926ce57604: Verifying Checksum 15:38:40 53926ce57604: Download complete 15:38:40 96b7cbca73a9: Verifying Checksum 15:38:40 96b7cbca73a9: Download complete 15:38:44 53926ce57604: Pull complete 15:38:44 21b2b0c7a3f4: Pull complete 15:38:44 22ff95d597cd: Pull complete 15:38:44 12d6caf4c0d1: Pull complete 15:38:46 96b7cbca73a9: Pull complete 15:38:46 a7acece74701: Pull complete 15:38:46 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 15:38:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:38:46 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] fileExists [Pipeline] sh 15:38:47 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:38:47 WORKDIR /edgex 15:38:47 COPY go.mod . 15:38:47 RUN go mod download 15:38:47 + docker build -t ci-base-image-x86_64 -f - . 15:38:47 Sending build context to Docker daemon 170.1MB 15:38:47 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:38:47 ---> db6d94c90886 15:38:47 Step 2/4 : WORKDIR /edgex 15:38:52 Still waiting to schedule task 15:38:52 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:38:53 ---> Running in 589dda4c1a4b 15:38:53 Removing intermediate container 589dda4c1a4b 15:38:53 ---> bf647adeea6b 15:38:53 Step 3/4 : COPY go.mod . 15:38:53 ---> c09181485f57 15:38:53 Step 4/4 : RUN go mod download 15:38:53 ---> Running in 938d1f59ae59 15:39:07 Removing intermediate container 938d1f59ae59 15:39:07 ---> f0be4cd4d178 15:39:07 Successfully built f0be4cd4d178 15:39:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:39:08 + docker inspect -f . ci-base-image-x86_64 15:39:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:39:08 prd-ubuntu20.04-docker-8c-8g-2952 does not seem to be running inside a container 15:39:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:39:08 $ docker top 9e42f718c18db595a24a8c96b48a864015e517706d753ae5b5fc8f7f4928c99e -eo pid,comm [Pipeline] { [Pipeline] sh 15:39:09 + go version 15:39:09 go version go1.18.7 linux/amd64 [Pipeline] } 15:39:09 $ docker stop --time=1 9e42f718c18db595a24a8c96b48a864015e517706d753ae5b5fc8f7f4928c99e 15:39:10 $ docker rm -f --volumes 9e42f718c18db595a24a8c96b48a864015e517706d753ae5b5fc8f7f4928c99e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:39:10 + docker inspect -f . ci-base-image-x86_64 15:39:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:39:10 prd-ubuntu20.04-docker-8c-8g-2952 does not seem to be running inside a container 15:39:10 $ 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/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:39:11 $ docker top e9dcf54b571168b3e5811b441ce10e1dd6c0368d9ee97c1b50d8f1f6011dc9b4 -eo pid,comm [Pipeline] { [Pipeline] echo 15:39:11 ========================================================= 15:39:11 [edgeXBuildGoParallel] Running Tests and Build... 15:39:11 ========================================================= [Pipeline] sh 15:39:11 + git config --global --add safe.directory /w/workspace/edgex-go/6 [Pipeline] fileExists [Pipeline] sh 15:39:11 + make test 15:39:11 go test -race -coverprofile=coverage.out ./... 15:39:18 ? github.com/edgexfoundry/edgex-go [no test files] 15:39:33 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 15:39:33 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 15:39:33 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 15:39:33 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 15:39:33 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 15:39:33 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 15:39:33 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 15:39:33 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 15:39:33 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 15:39:33 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 15:39:33 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 15:39:33 ? github.com/edgexfoundry/edgex-go/internal [no test files] 15:39:33 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 15:39:33 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.064s coverage: 28.7% of statements 15:39:33 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 15:39:33 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 15:39:33 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.085s coverage: 98.5% of statements 15:39:34 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 0.114s coverage: 43.0% of statements 15:39:34 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 15:39:34 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 15:39:34 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.101s coverage: 54.0% of statements 15:39:34 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 15:39:34 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 15:39:37 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 2.964s coverage: 89.2% of statements 15:39:37 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 15:39:37 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 15:39:37 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 15:39:37 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 15:39:37 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 15:39:37 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.082s coverage: 2.4% of statements 15:39:37 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 15:39:37 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 15:39:37 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.494s coverage: 95.6% of statements 15:39:37 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 15:39:37 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 15:39:37 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 15:39:37 ok github.com/edgexfoundry/edgex-go/internal/io 0.069s coverage: 72.2% of statements 15:39:37 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 15:39:37 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 15:39:37 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 15:39:37 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 15:39:37 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 15:39:37 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.082s coverage: 60.0% of statements 15:39:37 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 15:39:37 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 15:39:37 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 15:39:37 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.081s coverage: 0.9% of statements 15:39:37 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 15:39:37 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.055s coverage: 58.8% of statements 15:39:37 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.097s coverage: 29.6% of statements 15:39:37 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 15:39:37 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.077s coverage: 47.1% of statements 15:39:37 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.063s coverage: 79.5% of statements 15:39:37 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.069s coverage: 94.1% of statements 15:39:37 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.059s coverage: 96.3% of statements 15:39:37 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.077s coverage: 87.5% of statements 15:39:43 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.089s coverage: 94.4% of statements 15:39:43 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.057s coverage: 44.8% of statements 15:39:49 flag provided but not defined: -invalid 15:39:49 Usage of setupRegistryACL: 15:39:49 -configDir string 15:39:49 15:39:49 --- FAIL: TestExecute (0.00s) 15:39:49 --- FAIL: TestExecute/Good:setupRegistryACL_with_ok_response_from_server (1.03s) 15:39:49 command_test.go:181: 15:39:49 Error Trace: /w/workspace/edgex-go/6/internal/security/bootstrapper/command/setupacl/command_test.go:181 15:39:49 Error: Received unexpected error: 15:39:49 failed to configure Consul access: Post "http://127.0.0.1:42353/v1/consul/config/access": dial tcp 127.0.0.1:42353: connect: connection refused 15:39:49 Test: TestExecute/Good:setupRegistryACL_with_ok_response_from_server 15:39:49 FAIL 15:39:49 coverage: 79.9% of statements 15:39:49 FAIL github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.254s 15:39:49 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 15:39:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.084s coverage: 92.9% of statements 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 15:39:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.034s coverage: 65.1% of statements 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 15:39:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.090s coverage: 86.9% of statements 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 15:39:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.080s coverage: 87.2% of statements 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 15:39:57 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.065s coverage: 100.0% of statements 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 15:39:57 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.081s coverage: 77.4% of statements 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 15:39:57 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.073s coverage: 80.0% of statements 15:39:57 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.057s coverage: 87.2% of statements 15:39:57 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.230s coverage: 91.2% of statements 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 15:39:57 --- FAIL: TestMultipleTokensWithNoDefaults (0.00s) 15:39:57 panic: 15:39:57 assert: mock: I don't know what to return because the method call was unexpected. 15:39:57 Either do Mock.On("LookupIdentity").Return(...) first, or remove the LookupIdentity() call. 15:39:57 This method was unexpected: 15:39:57 LookupIdentity(string,string) 15:39:57 0: "fake-priv-token" 15:39:57 1: "service1" 15:39:57 at: [/w/workspace/edgex-go/6/internal/security/fileprovider/SecretStoreClient.go:374 /w/workspace/edgex-go/6/internal/security/fileprovider/provider.go:158 /w/workspace/edgex-go/6/internal/security/fileprovider/provider_test.go:101] [recovered] 15:39:57 panic: 15:39:57 assert: mock: I don't know what to return because the method call was unexpected. 15:39:57 Either do Mock.On("LookupIdentity").Return(...) first, or remove the LookupIdentity() call. 15:39:57 This method was unexpected: 15:39:57 LookupIdentity(string,string) 15:39:57 0: "fake-priv-token" 15:39:57 1: "service1" 15:39:57 at: [/w/workspace/edgex-go/6/internal/security/fileprovider/SecretStoreClient.go:374 /w/workspace/edgex-go/6/internal/security/fileprovider/provider.go:158 /w/workspace/edgex-go/6/internal/security/fileprovider/provider_test.go:101] 15:39:57 15:39:57 goroutine 8 [running]: 15:39:57 testing.tRunner.func1.2({0xd21e60, 0xc0003eb490}) 15:39:57 /usr/local/go/src/testing/testing.go:1389 +0x366 15:39:57 testing.tRunner.func1() 15:39:57 /usr/local/go/src/testing/testing.go:1392 +0x5d2 15:39:57 panic({0xd21e60, 0xc0003eb490}) 15:39:57 /usr/local/go/src/runtime/panic.go:844 +0x258 15:39:57 github.com/stretchr/testify/mock.(*Mock).fail(0xc00038b090, {0xe415c0, 0xc1}, {0xc0003fcd40, 0x4, 0x4}) 15:39:57 /go/pkg/mod/github.com/stretchr/testify@v1.8.1/mock/mock.go:322 +0x1db 15:39:57 github.com/stretchr/testify/mock.(*Mock).MethodCalled(0xc00038b090, {0x103df08, 0xe}, {0xc0003f0560, 0x2, 0x2}) 15:39:57 /go/pkg/mod/github.com/stretchr/testify@v1.8.1/mock/mock.go:485 +0x8eb 15:39:57 github.com/stretchr/testify/mock.(*Mock).Called(0xc0004163e8?, {0xc0003f0560, 0x2, 0x2}) 15:39:57 /go/pkg/mod/github.com/stretchr/testify@v1.8.1/mock/mock.go:450 +0x1a5 15:39:57 github.com/edgexfoundry/go-mod-secrets/v3/secrets/mocks.(*SecretStoreClient).LookupIdentity(0xc00038b090, {0xe1fdc4, 0xf}, {0xc0004163e8, 0x8}) 15:39:57 /go/pkg/mod/github.com/bnevis-i/go-mod-secrets/v3@v3.0.0-20230117212116-6b762234e1f8/secrets/mocks/SecretStoreClient.go:374 +0x13c 15:39:57 github.com/edgexfoundry/edgex-go/internal/security/fileprovider.(*fileTokenProvider).Run(0xc0000cdca8) 15:39:57 /w/workspace/edgex-go/6/internal/security/fileprovider/provider.go:158 +0xfe2 15:39:57 github.com/edgexfoundry/edgex-go/internal/security/fileprovider.TestMultipleTokensWithNoDefaults(0x0?) 15:39:57 /w/workspace/edgex-go/6/internal/security/fileprovider/provider_test.go:101 +0x1b32 15:39:57 testing.tRunner(0xc0003e8d00, 0xe61810) 15:39:57 /usr/local/go/src/testing/testing.go:1439 +0x214 15:39:57 created by testing.(*T).Run 15:39:57 /usr/local/go/src/testing/testing.go:1486 +0x725 15:39:57 FAIL github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.051s 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 15:39:57 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.079s coverage: 100.0% of statements 15:39:57 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.032s coverage: 89.4% of statements 15:39:57 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.032s coverage: 100.0% of statements 15:39:57 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.024s coverage: 73.7% of statements 15:39:57 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.026s coverage: 100.0% of statements 15:39:57 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.322s coverage: 65.3% of statements 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 15:39:57 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.169s coverage: 41.0% of statements 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 15:39:57 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.066s coverage: 89.5% of statements 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 15:39:57 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.054s coverage: 84.8% of statements 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 15:39:57 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.075s coverage: 17.7% of statements 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 15:39:57 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.158s coverage: 92.3% of statements 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 15:39:57 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.059s coverage: 63.2% of statements 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 15:39:57 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.109s coverage: 97.7% of statements 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 15:39:57 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 15:39:57 FAIL 15:39:57 make: *** [Makefile:137: unittest] Error 1 [Pipeline] } 15:39:57 $ docker stop --time=1 e9dcf54b571168b3e5811b441ce10e1dd6c0368d9ee97c1b50d8f1f6011dc9b4 15:39:59 $ docker rm -f --volumes e9dcf54b571168b3e5811b441ce10e1dd6c0368d9ee97c1b50d8f1f6011dc9b4 [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] } 15:40:00 Failed in branch amd64 15:40:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2953 in /w/workspace/edgexfoundry_edgex-go_PR-4244 [Pipeline] { [Pipeline] ws 15:40:27 Running in /w/workspace/edgex-go/6 [Pipeline] { [Pipeline] checkout 15:40:27 The recommended git tool is: git 15:40:33 using credential edgex-jenkins-ssh 15:40:33 Cloning the remote Git repository 15:40:34 Cloning repository git@github.com:edgexfoundry/edgex-go.git 15:40:34 > git init /w/workspace/edgex-go/6 # timeout=10 15:40:34 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 15:40:34 > git --version # timeout=10 15:40:34 > git --version # 'git version 2.25.1' 15:40:34 using GIT_SSH to set credentials SSH Credentials for GitHub 15:40:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:40:54 Merging remotes/origin/main commit 88ad77027d783d3ac8e9165f21296ab9ea2526ae into PR head commit 5441c8cb8acfb9946ef50651455ea0b5768d7b68 15:40:52 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 15:40:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:40:53 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 15:40:53 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 15:40:53 using GIT_SSH to set credentials SSH Credentials for GitHub 15:40:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4244/head:refs/remotes/origin/PR-4244 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:40:54 > git config core.sparsecheckout # timeout=10 15:40:54 > git checkout -f 5441c8cb8acfb9946ef50651455ea0b5768d7b68 # timeout=10 15:40:54 Merge succeeded, producing 5441c8cb8acfb9946ef50651455ea0b5768d7b68 15:40:54 Checking out Revision 5441c8cb8acfb9946ef50651455ea0b5768d7b68 (PR-4244) 15:40:54 > git remote # timeout=10 15:40:54 > git config --get remote.origin.url # timeout=10 15:40:54 using GIT_SSH to set credentials SSH Credentials for GitHub 15:40:54 > git merge 88ad77027d783d3ac8e9165f21296ab9ea2526ae # timeout=10 15:40:54 > git rev-parse HEAD^{commit} # timeout=10 15:40:54 > git config core.sparsecheckout # timeout=10 15:40:54 > git checkout -f 5441c8cb8acfb9946ef50651455ea0b5768d7b68 # timeout=10 15:40:58 Commit message: "feat(wip): Create secret store tokens via identity auth" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:40:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:40:59 % Total % Received % Xferd Average Speed Time Time Time Current 15:40:59 Dload Upload Total Spent Left Speed 15:40:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82264 0 --:--:-- --:--:-- --:--:-- 82264 [Pipeline] sh 15:41:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:41:00 + sudo tee /etc/docker/daemon.new 15:41:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:41:00 { 15:41:00 "registry-mirrors": [ 15:41:00 "https://nexus3.edgexfoundry.org:10001" 15:41:00 ], 15:41:00 "bip": "10.250.0.254/24", 15:41:00 "hosts": [ 15:41:00 "tcp://0.0.0.0:5555", 15:41:00 "unix:///var/run/docker.sock" 15:41:00 ], 15:41:00 "mtu": 1458, 15:41:00 "selinux-enabled": true, 15:41:00 "seccomp-profile": "/etc/docker/seccomp.json" 15:41:00 } [Pipeline] sh 15:41:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:41:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:41:19 provisioning config files... 15:41:19 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/6@tmp/config4759746678362292579tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:41:19 ---> docker-login.sh 15:41:19 nexus3.edgexfoundry.org:10001 15:41:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:20 Configure a credential helper to remove this warning. See 15:41:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:20 15:41:20 Login Succeeded 15:41:20 nexus3.edgexfoundry.org:10002 15:41:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:20 Configure a credential helper to remove this warning. See 15:41:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:20 15:41:20 Login Succeeded 15:41:20 nexus3.edgexfoundry.org:10003 15:41:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:21 Configure a credential helper to remove this warning. See 15:41:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:21 15:41:21 Login Succeeded 15:41:21 nexus3.edgexfoundry.org:10004 15:41:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:21 Configure a credential helper to remove this warning. See 15:41:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:21 15:41:21 Login Succeeded 15:41:21 docker.io 15:41:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:22 Configure a credential helper to remove this warning. See 15:41:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:22 15:41:22 Login Succeeded 15:41:22 ---> docker-login.sh ends [Pipeline] } 15:41:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh 15:41:22 + git config --global --add safe.directory /w/workspace/edgex-go/6 [Pipeline] echo 15:41:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:41:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:41:22 ========================================================= 15:41:22 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 15:41:22 ========================================================= [Pipeline] fileExists [Pipeline] sh 15:41:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 15:41:23 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:41:23 9b18e9b68314: Pulling fs layer 15:41:23 35d82f9e3411: Pulling fs layer 15:41:23 e16973657156: Pulling fs layer 15:41:23 fc693d55d65f: Pulling fs layer 15:41:23 7e9fc2657dce: Pulling fs layer 15:41:23 dda99020689f: Pulling fs layer 15:41:23 db1c61fa0a46: Pulling fs layer 15:41:23 891c053d2c06: Pulling fs layer 15:41:23 fc693d55d65f: Waiting 15:41:23 7e9fc2657dce: Waiting 15:41:23 dda99020689f: Waiting 15:41:23 db1c61fa0a46: Waiting 15:41:23 891c053d2c06: Waiting 15:41:23 e16973657156: Verifying Checksum 15:41:23 e16973657156: Download complete 15:41:23 35d82f9e3411: Download complete 15:41:23 7e9fc2657dce: Download complete 15:41:23 dda99020689f: Verifying Checksum 15:41:23 dda99020689f: Download complete 15:41:23 9b18e9b68314: Verifying Checksum 15:41:23 9b18e9b68314: Download complete 15:41:24 9b18e9b68314: Pull complete 15:41:24 891c053d2c06: Verifying Checksum 15:41:24 891c053d2c06: Download complete 15:41:25 35d82f9e3411: Pull complete 15:41:25 e16973657156: Pull complete 15:41:26 db1c61fa0a46: Verifying Checksum 15:41:26 db1c61fa0a46: Download complete 15:41:26 fc693d55d65f: Verifying Checksum 15:41:26 fc693d55d65f: Download complete 15:41:38 fc693d55d65f: Pull complete 15:41:38 7e9fc2657dce: Pull complete 15:41:38 dda99020689f: Pull complete 15:41:45 db1c61fa0a46: Pull complete 15:41:47 891c053d2c06: Pull complete 15:41:47 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 15:41:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 15:41:47 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] fileExists [Pipeline] sh 15:41:47 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 15:41:47 WORKDIR /edgex 15:41:47 COPY go.mod . 15:41:47 RUN go mod download 15:41:47 + docker build -t ci-base-image-arm64 -f - . 15:41:47 Sending build context to Docker daemon 3.119MB 15:41:47 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 15:41:47 ---> f96f9c87975a 15:41:47 Step 2/4 : WORKDIR /edgex 15:41:49 ---> Running in 59838056b3fb 15:41:50 Removing intermediate container 59838056b3fb 15:41:50 ---> 55200cba8345 15:41:50 Step 3/4 : COPY go.mod . 15:41:50 ---> 3b111539c03c 15:41:50 Step 4/4 : RUN go mod download 15:41:50 ---> Running in a20e47ecba5c 15:42:23 Removing intermediate container a20e47ecba5c 15:42:23 ---> c40ef23e6bf8 15:42:23 Successfully built c40ef23e6bf8 15:42:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:23 + docker inspect -f . ci-base-image-arm64 15:42:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:42:23 prd-ubuntu20.04-docker-arm64-4c-16g-2953 does not seem to be running inside a container 15:42:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 15:42:25 $ docker top 04b5b273837e8270d429235398ebe86aa8b5861784d9266e720f944ea6168830 -eo pid,comm [Pipeline] { [Pipeline] sh 15:42:25 + go version 15:42:25 go version go1.18.7 linux/arm64 [Pipeline] } 15:42:25 $ docker stop --time=1 04b5b273837e8270d429235398ebe86aa8b5861784d9266e720f944ea6168830 15:42:27 $ docker rm -f --volumes 04b5b273837e8270d429235398ebe86aa8b5861784d9266e720f944ea6168830 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:28 + docker inspect -f . ci-base-image-arm64 15:42:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:42:28 prd-ubuntu20.04-docker-arm64-4c-16g-2953 does not seem to be running inside a container 15:42:28 $ 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/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 15:42:29 $ docker top c1e46e903aae533bb4a315cf35256001f522a874d334444929336c88f3102599 -eo pid,comm [Pipeline] { [Pipeline] echo 15:42:29 ========================================================= 15:42:29 [edgeXBuildGoParallel] Running Tests and Build... 15:42:29 ========================================================= [Pipeline] sh 15:42:30 + git config --global --add safe.directory /w/workspace/edgex-go/6 [Pipeline] fileExists [Pipeline] sh 15:42:31 + make test 15:42:31 go test -race -coverprofile=coverage.out ./... 15:43:10 ? github.com/edgexfoundry/edgex-go [no test files] 15:44:46 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 15:44:46 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 15:44:51 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 15:44:51 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 15:45:06 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 15:45:06 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 15:45:06 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 15:45:06 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 15:45:06 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 15:45:06 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 15:45:06 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 15:45:06 ? github.com/edgexfoundry/edgex-go/internal [no test files] 15:45:06 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 15:45:24 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.286s coverage: 28.7% of statements 15:45:24 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 15:45:24 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 15:45:29 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.638s coverage: 98.5% of statements 15:45:33 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 0.805s coverage: 43.0% of statements 15:45:33 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 15:45:33 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 15:45:33 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.781s coverage: 54.0% of statements 15:45:33 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 15:45:33 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 15:45:55 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 23.033s coverage: 89.2% of statements 15:45:55 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 15:45:55 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 15:45:55 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 15:45:55 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 15:45:55 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 15:45:55 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.769s coverage: 2.4% of statements 15:45:55 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 15:45:55 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 15:46:01 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 4.145s coverage: 95.6% of statements 15:46:01 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 15:46:01 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 15:46:01 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 15:46:01 ok github.com/edgexfoundry/edgex-go/internal/io 0.510s coverage: 72.2% of statements 15:46:01 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 15:46:01 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 15:46:01 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 15:46:01 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 15:46:01 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 15:46:01 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.578s coverage: 60.0% of statements 15:46:01 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 15:46:01 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 15:46:01 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 15:46:01 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.662s coverage: 0.9% of statements 15:46:01 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 15:46:01 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.713s coverage: 58.8% of statements 15:46:01 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.367s coverage: 29.6% of statements 15:46:01 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 15:46:04 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.561s coverage: 47.1% of statements 15:46:04 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.427s coverage: 79.5% of statements 15:46:04 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.815s coverage: 94.1% of statements 15:46:06 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.401s coverage: 96.3% of statements 15:46:08 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.302s coverage: 87.5% of statements 15:46:20 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.426s coverage: 94.4% of statements 15:46:20 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.359s coverage: 44.8% of statements 15:46:27 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.846s coverage: 79.9% of statements 15:46:27 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 15:46:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.311s coverage: 92.9% of statements 15:46:33 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 15:46:33 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 15:46:33 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 15:46:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.071s coverage: 65.1% of statements 15:46:33 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 15:46:33 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 15:46:33 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 15:46:33 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 15:46:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.294s coverage: 86.9% of statements 15:46:33 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 15:46:33 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 15:46:33 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 15:46:33 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 15:46:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.225s coverage: 87.2% of statements 15:46:33 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 15:46:33 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 15:46:33 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.239s coverage: 100.0% of statements 15:46:33 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 15:46:33 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.289s coverage: 77.4% of statements 15:46:33 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 15:46:33 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.259s coverage: 80.0% of statements 15:46:33 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.245s coverage: 87.2% of statements 15:46:33 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.752s coverage: 91.2% of statements 15:46:33 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 15:46:35 --- FAIL: TestMultipleTokensWithNoDefaults (0.02s) 15:46:35 panic: 15:46:35 assert: mock: I don't know what to return because the method call was unexpected. 15:46:35 Either do Mock.On("LookupIdentity").Return(...) first, or remove the LookupIdentity() call. 15:46:35 This method was unexpected: 15:46:35 LookupIdentity(string,string) 15:46:35 0: "fake-priv-token" 15:46:35 1: "service2" 15:46:35 at: [/w/workspace/edgex-go/6/internal/security/fileprovider/SecretStoreClient.go:374 /w/workspace/edgex-go/6/internal/security/fileprovider/provider.go:158 /w/workspace/edgex-go/6/internal/security/fileprovider/provider_test.go:101] [recovered] 15:46:35 panic: 15:46:35 assert: mock: I don't know what to return because the method call was unexpected. 15:46:35 Either do Mock.On("LookupIdentity").Return(...) first, or remove the LookupIdentity() call. 15:46:35 This method was unexpected: 15:46:35 LookupIdentity(string,string) 15:46:35 0: "fake-priv-token" 15:46:35 1: "service2" 15:46:35 at: [/w/workspace/edgex-go/6/internal/security/fileprovider/SecretStoreClient.go:374 /w/workspace/edgex-go/6/internal/security/fileprovider/provider.go:158 /w/workspace/edgex-go/6/internal/security/fileprovider/provider_test.go:101] 15:46:35 15:46:35 goroutine 6 [running]: 15:46:35 testing.tRunner.func1.2({0x7c9d80, 0xc000064960}) 15:46:35 /usr/local/go/src/testing/testing.go:1389 +0x278 15:46:35 testing.tRunner.func1() 15:46:35 /usr/local/go/src/testing/testing.go:1392 +0x430 15:46:35 panic({0x7c9d80, 0xc000064960}) 15:46:35 /usr/local/go/src/runtime/panic.go:844 +0x260 15:46:35 github.com/stretchr/testify/mock.(*Mock).fail(0xc00050a0a0, {0x8e921b, 0xc1}, {0xc000020980, 0x4, 0x4}) 15:46:35 /go/pkg/mod/github.com/stretchr/testify@v1.8.1/mock/mock.go:322 +0x140 15:46:35 github.com/stretchr/testify/mock.(*Mock).MethodCalled(0xc00050a0a0, {0xae5777, 0xe}, {0xc00003a360, 0x2, 0x2}) 15:46:35 /go/pkg/mod/github.com/stretchr/testify@v1.8.1/mock/mock.go:485 +0x6a4 15:46:35 github.com/stretchr/testify/mock.(*Mock).Called(0xc000032968?, {0xc00003a360, 0x2, 0x2}) 15:46:35 /go/pkg/mod/github.com/stretchr/testify@v1.8.1/mock/mock.go:450 +0x144 15:46:35 github.com/edgexfoundry/go-mod-secrets/v3/secrets/mocks.(*SecretStoreClient).LookupIdentity(0xc00050a0a0, {0x8c7a75, 0xf}, {0xc000032968, 0x8}) 15:46:35 /go/pkg/mod/github.com/bnevis-i/go-mod-secrets/v3@v3.0.0-20230117212116-6b762234e1f8/secrets/mocks/SecretStoreClient.go:374 +0x10c 15:46:35 github.com/edgexfoundry/edgex-go/internal/security/fileprovider.(*fileTokenProvider).Run(0xc00015bc98) 15:46:35 /w/workspace/edgex-go/6/internal/security/fileprovider/provider.go:158 +0xc3c 15:46:35 github.com/edgexfoundry/edgex-go/internal/security/fileprovider.TestMultipleTokensWithNoDefaults(0x0?) 15:46:35 /w/workspace/edgex-go/6/internal/security/fileprovider/provider_test.go:101 +0x18d0 15:46:35 testing.tRunner(0xc000003a00, 0x9092e8) 15:46:35 /usr/local/go/src/testing/testing.go:1439 +0x190 15:46:35 created by testing.(*T).Run 15:46:35 /usr/local/go/src/testing/testing.go:1486 +0x56c 15:46:35 FAIL github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.285s 15:46:35 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 15:46:35 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 15:46:35 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.293s coverage: 100.0% of statements 15:46:35 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.126s coverage: 89.4% of statements 15:46:35 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.054s coverage: 100.0% of statements 15:46:37 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.104s coverage: 73.7% of statements 15:46:37 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.083s coverage: 100.0% of statements 15:46:43 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.371s coverage: 65.3% of statements 15:46:43 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 15:46:43 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 15:46:43 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 15:46:45 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.868s coverage: 41.0% of statements 15:46:45 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 15:46:45 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 15:46:45 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.336s coverage: 89.5% of statements 15:46:45 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 15:46:45 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.270s coverage: 84.8% of statements 15:46:45 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 15:46:45 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 15:46:45 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 15:46:45 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 15:46:53 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.327s coverage: 17.7% of statements 15:46:53 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 15:46:53 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 15:46:53 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 15:46:53 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 15:46:53 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.810s coverage: 92.3% of statements 15:46:53 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 15:46:53 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 15:46:53 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 15:46:53 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 15:46:53 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.260s coverage: 63.2% of statements 15:46:53 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 15:46:53 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 15:46:53 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.456s coverage: 97.7% of statements 15:46:53 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 15:46:53 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 15:46:53 FAIL 15:46:54 make: *** [Makefile:137: unittest] Error 1 [Pipeline] } 15:46:54 $ docker stop --time=1 c1e46e903aae533bb4a315cf35256001f522a874d334444929336c88f3102599 15:46:56 $ docker rm -f --volumes c1e46e903aae533bb4a315cf35256001f522a874d334444929336c88f3102599 [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] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:46:57 15:46:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:46:58 arm64: Pulling from edgex-lftools-log-publisher 15:46:58 8998bd30e6a1: Pulling fs layer 15:46:58 04944245beec: Pulling fs layer 15:46:58 699f458cf7ca: Pulling fs layer 15:46:58 765212b225bb: Pulling fs layer 15:46:58 f23df028b6ca: Pulling fs layer 15:46:58 d65c8cfc05b1: Pulling fs layer 15:46:58 2437ff75d9bd: Pulling fs layer 15:46:58 765212b225bb: Waiting 15:46:58 f23df028b6ca: Waiting 15:46:58 d65c8cfc05b1: Waiting 15:46:58 2437ff75d9bd: Waiting 15:46:58 04944245beec: Verifying Checksum 15:46:58 04944245beec: Download complete 15:46:58 765212b225bb: Verifying Checksum 15:46:58 765212b225bb: Download complete 15:46:58 f23df028b6ca: Verifying Checksum 15:46:58 f23df028b6ca: Download complete 15:46:58 d65c8cfc05b1: Verifying Checksum 15:46:58 d65c8cfc05b1: Download complete 15:46:58 699f458cf7ca: Verifying Checksum 15:46:58 699f458cf7ca: Download complete 15:46:58 8998bd30e6a1: Verifying Checksum 15:46:58 8998bd30e6a1: Download complete 15:47:01 2437ff75d9bd: Verifying Checksum 15:47:01 2437ff75d9bd: Download complete 15:47:03 8998bd30e6a1: Pull complete 15:47:03 04944245beec: Pull complete 15:47:04 699f458cf7ca: Pull complete 15:47:04 765212b225bb: Pull complete 15:47:05 f23df028b6ca: Pull complete 15:47:06 d65c8cfc05b1: Pull complete 15:47:21 2437ff75d9bd: Pull complete 15:47:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:47:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:47:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:47:21 prd-ubuntu20.04-docker-arm64-4c-16g-2953 does not seem to be running inside a container 15:47:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:47:24 $ docker top 69ad440bfcf21452a734a9a1789648bf8e4b65e52c40c89551a9efef4981df18 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:47:25 ---> job-cost.sh 15:47:25 lf-activate-venv: SKIPPING 15:47:25 INFO: No Stack... 15:47:25 INFO: Retrieving Pricing Info for: v3-standard-4 15:47:26 INFO: Archiving Costs [Pipeline] sh 15:47:27 + + catcut /w/workspace/edgex-go/6/archives/cost.csv -d, 15:47:27 -f6 [Pipeline] lock 15:47:27 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4244-6-stack-cost] 15:47:27 Resource [jenkins-edgexfoundry-edgex-go-PR-4244-6-stack-cost] did not exist. Created. 15:47:27 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4244-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:47:28 + echo total: 0.10999999940395355 [Pipeline] stash 15:47:28 Stashed 1 file(s) [Pipeline] } 15:47:28 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4244-6-stack-cost] [Pipeline] // lock [Pipeline] } 15:47:28 $ docker stop --time=1 69ad440bfcf21452a734a9a1789648bf8e4b65e52c40c89551a9efef4981df18 15:47:30 $ docker rm -f --volumes 69ad440bfcf21452a734a9a1789648bf8e4b65e52c40c89551a9efef4981df18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:47:30 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:47:31 + [ -d /w/workspace/edgex-go/6/archives ] [Pipeline] libraryResource [Pipeline] sh 15:47:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:47:32 ---> package-listing.sh 15:47:32 ++ facter osfamily 15:47:32 ++ tr '[:upper:]' '[:lower:]' 15:47:32 + OS_FAMILY=debian 15:47:32 + workspace=/w/workspace/edgex-go/6 15:47:32 + START_PACKAGES=/tmp/packages_start.txt 15:47:32 + END_PACKAGES=/tmp/packages_end.txt 15:47:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:47:32 + PACKAGES=/tmp/packages_start.txt 15:47:32 + '[' /w/workspace/edgex-go/6 ']' 15:47:32 + PACKAGES=/tmp/packages_end.txt 15:47:32 + case "${OS_FAMILY}" in 15:47:32 + dpkg -l 15:47:32 + grep '^ii' 15:47:32 + '[' -f /tmp/packages_start.txt ']' 15:47:32 + '[' -f /tmp/packages_end.txt ']' 15:47:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:47:32 + '[' /w/workspace/edgex-go/6 ']' 15:47:32 + mkdir -p /w/workspace/edgex-go/6/archives/ 15:47:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/6/archives/ [Pipeline] echo 15:47:32 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/6/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:47:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:47:33 15:47:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:47:33 latest: Pulling from edgex-lftools-log-publisher 15:47:33 5eb5b503b376: Pulling fs layer 15:47:33 5c69ac0246d0: Pulling fs layer 15:47:33 ec43610c2a17: Pulling fs layer 15:47:33 3a2ae6a8a46f: Pulling fs layer 15:47:33 33b1e0a273af: Pulling fs layer 15:47:33 5d3b04190fa2: Pulling fs layer 15:47:33 2f39f015ded8: Pulling fs layer 15:47:33 3a2ae6a8a46f: Waiting 15:47:33 33b1e0a273af: Waiting 15:47:33 5d3b04190fa2: Waiting 15:47:33 5c69ac0246d0: Verifying Checksum 15:47:33 5c69ac0246d0: Download complete 15:47:33 3a2ae6a8a46f: Verifying Checksum 15:47:33 3a2ae6a8a46f: Download complete 15:47:33 33b1e0a273af: Verifying Checksum 15:47:33 33b1e0a273af: Download complete 15:47:33 5d3b04190fa2: Download complete 15:47:33 ec43610c2a17: Verifying Checksum 15:47:33 ec43610c2a17: Download complete 15:47:34 5eb5b503b376: Verifying Checksum 15:47:34 5eb5b503b376: Download complete 15:47:34 2f39f015ded8: Download complete 15:47:35 5eb5b503b376: Pull complete 15:47:35 5c69ac0246d0: Pull complete 15:47:35 ec43610c2a17: Pull complete 15:47:36 3a2ae6a8a46f: Pull complete 15:47:36 33b1e0a273af: Pull complete 15:47:36 5d3b04190fa2: Pull complete 15:47:41 2f39f015ded8: Pull complete 15:47:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:47:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:47:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:47:41 prd-ubuntu20.04-docker-8c-8g-2952 does not seem to be running inside a container 15:47:41 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/6/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/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:47:45 $ docker top 2425fb9ba251cf57be21a534c12ec1c88273a425f26dac3ae929e88c0d1ccdb9 -eo pid,comm [Pipeline] { [Pipeline] sh 15:47:45 + touch /tmp/pre-build-complete [Pipeline] sh 15:47:45 + mkdir -p /var/log/sysstat [Pipeline] sh 15:47:46 + ls /var/log/sa-host 15:47:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:47:46 provisioning config files... 15:47:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/6@tmp/config10148756734936069795tmp [Pipeline] { [Pipeline] echo 15:47:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:47:46 ---> create-netrc.sh [Pipeline] } 15:47:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:47:46 ---> python-tools-install.sh [Pipeline] echo 15:47:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:47:47 ---> sudo-logs.sh 15:47:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:47:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:47:47 ---> job-cost.sh 15:47:47 lf-activate-venv: SKIPPING 15:47:47 DEBUG: total: 0.10999999940395355 15:47:47 INFO: Retrieving Stack Cost... 15:47:48 INFO: Retrieving Pricing Info for: v3-standard-8 15:47:48 INFO: Archiving Costs [Pipeline] echo 15:47:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:47:49 ---> logs-deploy.sh 15:47:49 lf-activate-venv: SKIPPING 15:47:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4244/6 15:47:49 INFO: archiving workspace using pattern(s): 15:47:50 Archives upload complete. 15:47:50 INFO: archiving logs to Nexus