Branch indexing 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 weichou1229 for edgexfoundry/edgex-go Loading trusted files from base branch main at 56c53f3e882f752e6ce34fe0da5648cfe47c3186 rather than 561ffe60b20582d0b8438f99567fb302129053fd Obtained Jenkinsfile from 56c53f3e882f752e6ce34fe0da5648cfe47c3186 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-ssh14456418041009354459.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh3593442170144731348.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-4471/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-4471/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15555684831991982245.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh8275364961106036001.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-4471/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-4471/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4395124823098812818.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/v3], 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.20 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/v3 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-5433’ Running on prd-ubuntu20.04-docker-8c-8g-5435 in /w/workspace/edgexfoundry_edgex-go_PR-4471 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/2 [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/2 # 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 Merging remotes/origin/main commit 56c53f3e882f752e6ce34fe0da5648cfe47c3186 into PR head commit 561ffe60b20582d0b8438f99567fb302129053fd Merge succeeded, producing 44bf4b8cb4561131d9630cbee98ebef3b45f773c Checking out Revision 44bf4b8cb4561131d9630cbee98ebef3b45f773c (PR-4471) > 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/4471/head:refs/remotes/origin/PR-4471 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 561ffe60b20582d0b8438f99567fb302129053fd # 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 56c53f3e882f752e6ce34fe0da5648cfe47c3186 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 44bf4b8cb4561131d9630cbee98ebef3b45f773c # timeout=10 Commit message: "Merge commit '56c53f3e882f752e6ce34fe0da5648cfe47c3186' into HEAD" > git rev-list --no-walk 561ffe60b20582d0b8438f99567fb302129053fd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:31:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:31:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:31:16 ========================================================= 08:31:16 EdgeX Global Pipelines Version Info 08:31:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:31:17 ------------------- 08:31:17 stable info: 08:31:17 ------------------- 08:31:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:31:17 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 08:31:17 Message: update stable to v1.0.245 08:31:17 ------------------- 08:31:17 experimental info: 08:31:17 ------------------- 08:31:17 Commited By: **** collab-it+edgex@linuxfoundation.org 08:31:17 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 08:31:17 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:31:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 08:31:18 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 08:31:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:31:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:31:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:31:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 08:31:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:31:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 08:31:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 08:31:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 08:31:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:31:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:31:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:31:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:31:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:31:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:31:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:31:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:31:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:31:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 08:31:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:31:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:31:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:31:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4471 [Pipeline] echo 08:31:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4471 [Pipeline] echo 08:31:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4471 [Pipeline] echo 08:31:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 44bf4b8cb4561131d9630cbee98ebef3b45f773c [Pipeline] echo 08:31:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 44bf4b8 [Pipeline] echo 08:31:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:31:18 provisioning config files... 08:31:18 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config1802006726475225322tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:31:18 ---> docker-login.sh 08:31:18 nexus3.edgexfoundry.org:10001 08:31:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:19 Configure a credential helper to remove this warning. See 08:31:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:19 08:31:19 Login Succeeded 08:31:19 nexus3.edgexfoundry.org:10002 08:31:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:19 Configure a credential helper to remove this warning. See 08:31:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:19 08:31:19 Login Succeeded 08:31:19 nexus3.edgexfoundry.org:10003 08:31:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:19 Configure a credential helper to remove this warning. See 08:31:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:19 08:31:19 Login Succeeded 08:31:19 nexus3.edgexfoundry.org:10004 08:31:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:19 Configure a credential helper to remove this warning. See 08:31:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:19 08:31:19 Login Succeeded 08:31:19 docker.io 08:31:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:19 Configure a credential helper to remove this warning. See 08:31:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:19 08:31:19 Login Succeeded 08:31:19 ---> docker-login.sh ends [Pipeline] } 08:31:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:31:20 + ls cmd/core-command/Dockerfile cmd/core-common-config-bootstrapper/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-auth/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 08:31:20 + dirname cmd/core-command/Dockerfile 08:31:20 + cut -d/ -f2 08:31:20 + echo core-command,cmd/core-command/Dockerfile 08:31:20 + dirname cmd/core-common-config-bootstrapper/Dockerfile 08:31:20 + cut -d/ -f2 08:31:20 + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile 08:31:20 + dirname cmd/core-data/Dockerfile 08:31:20 + cut -d/ -f2 08:31:20 + echo core-data,cmd/core-data/Dockerfile 08:31:20 + dirname cmd/core-metadata/Dockerfile 08:31:20 + cut -d/ -f2 08:31:20 + echo core-metadata,cmd/core-metadata/Dockerfile 08:31:20 + dirname cmd/security-bootstrapper/Dockerfile 08:31:20 + cut -d/ -f2 08:31:20 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 08:31:20 + dirname cmd/security-proxy-auth/Dockerfile 08:31:20 + cut -d/ -f2 08:31:20 + echo security-proxy-auth,cmd/security-proxy-auth/Dockerfile 08:31:20 + dirname cmd/security-proxy-setup/Dockerfile 08:31:20 + cut -d/ -f2 08:31:20 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 08:31:20 + dirname cmd/security-secretstore-setup/Dockerfile 08:31:20 + cut -d/ -f2 08:31:20 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 08:31:20 + dirname cmd/security-spiffe-token-provider/Dockerfile 08:31:20 + cut -d/ -f2 08:31:20 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 08:31:20 + + dirnamecut cmd/security-spire-agent/Dockerfile -d/ 08:31:20 -f2 08:31:20 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 08:31:20 + dirname cmd/security-spire-config/Dockerfile 08:31:20 + cut -d/ -f2 08:31:20 + echo security-spire-config,cmd/security-spire-config/Dockerfile 08:31:20 + dirname cmd/security-spire-server/Dockerfile 08:31:20 + cut -d/ -f2 08:31:20 + echo security-spire-server,cmd/security-spire-server/Dockerfile 08:31:20 + dirname cmd/support-notifications/Dockerfile 08:31:20 + cut -d/ -f2 08:31:20 + echo support-notifications,cmd/support-notifications/Dockerfile 08:31:20 + dirname cmd/support-scheduler/Dockerfile 08:31:20 + cut -d/ -f2 08:31:20 + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo 08:31:20 Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/Dockerfile], [image:core-common-config-bootstrapper, dockerfile:cmd/core-common-config-bootstrapper/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-auth, dockerfile:cmd/security-proxy-auth/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 08:31:20 + git rev-list -1 --merges 44bf4b8cb4561131d9630cbee98ebef3b45f773c~1..44bf4b8cb4561131d9630cbee98ebef3b45f773c [Pipeline] echo 08:31:20 -----------> git rev-list -1 --merges 44bf4b8cb4561131d9630cbee98ebef3b45f773c~1..44bf4b8cb4561131d9630cbee98ebef3b45f773c 44bf4b8cb4561131d9630cbee98ebef3b45f773c 08:31:20 44bf4b8cb4561131d9630cbee98ebef3b45f773c [false] [Pipeline] sh 08:31:20 + git log --format=format:%s -1 44bf4b8cb4561131d9630cbee98ebef3b45f773c [Pipeline] echo 08:31:20 ========================================================= 08:31:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:31:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 08:31:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:31:21 + grep -v github /etc/ssh/ssh_known_hosts 08:31:21 + [ -e /tmp/ssh_known_hosts ] 08:31:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:31:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:31:21 + sudo tee -a /etc/ssh/ssh_known_hosts 08:31:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:31:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:31:21 08:31:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:31:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:31:21 0.1.4: Pulling from edgex-devops/py-git-semver 08:31:21 b85a868b505f: Pulling fs layer 08:31:21 e2be974225ed: Pulling fs layer 08:31:21 339a4e72a1f5: Pulling fs layer 08:31:21 988bab9f4d93: Pulling fs layer 08:31:21 1469e6f7b9e6: Pulling fs layer 08:31:21 eaf3925da568: Pulling fs layer 08:31:21 bab4dde63d76: Pulling fs layer 08:31:21 bde34c3a00c8: Pulling fs layer 08:31:21 b352a97aabf1: Pulling fs layer 08:31:21 4872d77fe225: Pulling fs layer 08:31:21 5851b861e8e6: Pulling fs layer 08:31:21 eaf3925da568: Waiting 08:31:21 988bab9f4d93: Waiting 08:31:21 1469e6f7b9e6: Waiting 08:31:21 bab4dde63d76: Waiting 08:31:21 bde34c3a00c8: Waiting 08:31:21 4872d77fe225: Waiting 08:31:21 b352a97aabf1: Waiting 08:31:21 5851b861e8e6: Waiting 08:31:21 e2be974225ed: Verifying Checksum 08:31:21 e2be974225ed: Download complete 08:31:21 988bab9f4d93: Verifying Checksum 08:31:21 988bab9f4d93: Download complete 08:31:22 1469e6f7b9e6: Verifying Checksum 08:31:22 1469e6f7b9e6: Download complete 08:31:22 339a4e72a1f5: Verifying Checksum 08:31:22 339a4e72a1f5: Download complete 08:31:22 eaf3925da568: Download complete 08:31:22 bde34c3a00c8: Verifying Checksum 08:31:22 bde34c3a00c8: Download complete 08:31:22 b352a97aabf1: Download complete 08:31:22 4872d77fe225: Download complete 08:31:22 b85a868b505f: Verifying Checksum 08:31:22 b85a868b505f: Download complete 08:31:22 5851b861e8e6: Verifying Checksum 08:31:22 5851b861e8e6: Download complete 08:31:22 bab4dde63d76: Verifying Checksum 08:31:22 bab4dde63d76: Download complete 08:31:23 b85a868b505f: Pull complete 08:31:23 e2be974225ed: Pull complete 08:31:24 339a4e72a1f5: Pull complete 08:31:24 988bab9f4d93: Pull complete 08:31:24 1469e6f7b9e6: Pull complete 08:31:24 eaf3925da568: Pull complete 08:31:26 bab4dde63d76: Pull complete 08:31:26 bde34c3a00c8: Pull complete 08:31:26 b352a97aabf1: Pull complete 08:31:26 4872d77fe225: Pull complete 08:31:26 5851b861e8e6: Pull complete 08:31:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:31:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:31:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:31:26 prd-ubuntu20.04-docker-8c-8g-5435 does not seem to be running inside a container 08:31:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:31:28 $ docker top e461e5480d030695773f7ff5705f5430d51e2c4f77782a27c4d1832e32a93a01 -eo pid,comm 08:31:28 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). 08:31:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:31:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:31:28 [ssh-agent] Looking for ssh-agent implementation... 08:31:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:31:28 $ docker exec e461e5480d030695773f7ff5705f5430d51e2c4f77782a27c4d1832e32a93a01 ssh-agent 08:31:28 SSH_AUTH_SOCK=/tmp/ssh-WHaPgomB3yIm/agent.32 08:31:28 SSH_AGENT_PID=38 08:31:28 Running ssh-add (command line suppressed) 08:31:28 Identity added: /w/workspace/edgex-go/2@tmp/private_key_12337179928631249234.key (/w/workspace/edgex-go/2@tmp/private_key_12337179928631249234.key) 08:31:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:31:28 + git tag --points-at HEAD [Pipeline] } 08:31:28 $ docker exec --env ******** --env ******** e461e5480d030695773f7ff5705f5430d51e2c4f77782a27c4d1832e32a93a01 ssh-agent -k 08:31:29 unset SSH_AUTH_SOCK; 08:31:29 unset SSH_AGENT_PID; 08:31:29 echo Agent pid 38 killed; 08:31:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:31:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:31:29 [ssh-agent] Looking for ssh-agent implementation... 08:31:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:31:29 $ docker exec e461e5480d030695773f7ff5705f5430d51e2c4f77782a27c4d1832e32a93a01 ssh-agent 08:31:29 SSH_AUTH_SOCK=/tmp/ssh-tIAVFsvz3Syx/agent.70 08:31:29 SSH_AGENT_PID=76 08:31:29 Running ssh-add (command line suppressed) 08:31:29 Identity added: /w/workspace/edgex-go/2@tmp/private_key_16230089668042244096.key (/w/workspace/edgex-go/2@tmp/private_key_16230089668042244096.key) 08:31:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:31:29 + git semver init 08:31:29 2023-03-23 08:31:29,909 [run_init] DEBUG init version:0.0.0 force:False 08:31:29 2023-03-23 08:31:29,910 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/2/.semver 08:31:29 2023-03-23 08:31:29,910 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/2/.semver 08:31:29 2023-03-23 08:31:29,910 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/edgex-go.git', '/w/workspace/edgex-go/2/.semver'], cwd=/w/workspace/edgex-go/2, universal_newlines=False, shell=None, istream=None) 08:31:34 2023-03-23 08:31:33,780 [append_file] DEBUG append to file:/w/workspace/edgex-go/2/.git/info/exclude 08:31:34 2023-03-23 08:31:33,781 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/2/.semver/PR-4471 with force:False 08:31:34 2023-03-23 08:31:33,781 [write_file] DEBUG write to file:/w/workspace/edgex-go/2/.semver/PR-4471 08:31:34 2023-03-23 08:31:33,786 [execute] INFO git cat-file --batch-check 08:31:34 2023-03-23 08:31:33,786 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/2/.semver, universal_newlines=False, shell=None, istream=) 08:31:34 2023-03-23 08:31:33,793 [execute] INFO git cat-file --batch 08:31:34 2023-03-23 08:31:33,793 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/2/.semver, universal_newlines=False, shell=None, istream=) 08:31:34 2023-03-23 08:31:33,799 [read_version] DEBUG read version from /w/workspace/edgex-go/2/.semver/PR-4471 08:31:34 0.0.0 [Pipeline] } 08:31:34 $ docker exec --env ******** --env ******** e461e5480d030695773f7ff5705f5430d51e2c4f77782a27c4d1832e32a93a01 ssh-agent -k 08:31:34 unset SSH_AUTH_SOCK; 08:31:34 unset SSH_AGENT_PID; 08:31:34 echo Agent pid 76 killed; 08:31:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:31:34 + git semver [Pipeline] } 08:31:34 $ docker stop --time=1 e461e5480d030695773f7ff5705f5430d51e2c4f77782a27c4d1832e32a93a01 08:31:36 $ docker rm -f --volumes e461e5480d030695773f7ff5705f5430d51e2c4f77782a27c4d1832e32a93a01 [Pipeline] // withDockerContainer [Pipeline] sh 08:31:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:31:36 Stashed 1 file(s) [Pipeline] echo 08:31:36 [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 08:31:37 + git config --global --add safe.directory /w/workspace/edgex-go/2 [Pipeline] echo 08:31:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:31:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:31:37 ========================================================= 08:31:37 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 08:31:37 ========================================================= [Pipeline] fileExists [Pipeline] sh 08:31:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 08:31:37 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 08:31:37 63b65145d645: Pulling fs layer 08:31:37 a2d21d5440eb: Pulling fs layer 08:31:37 935e6c44a52c: Pulling fs layer 08:31:37 94cc34f8dd06: Pulling fs layer 08:31:37 30dea6a524f1: Pulling fs layer 08:31:37 a2aff8979fd8: Pulling fs layer 08:31:37 6808be2612f2: Pulling fs layer 08:31:37 f25807f1079a: Pulling fs layer 08:31:37 a2aff8979fd8: Waiting 08:31:37 30dea6a524f1: Waiting 08:31:37 6808be2612f2: Waiting 08:31:37 f25807f1079a: Waiting 08:31:37 94cc34f8dd06: Waiting 08:31:37 a2d21d5440eb: Verifying Checksum 08:31:37 a2d21d5440eb: Download complete 08:31:37 94cc34f8dd06: Verifying Checksum 08:31:37 94cc34f8dd06: Download complete 08:31:37 30dea6a524f1: Verifying Checksum 08:31:37 30dea6a524f1: Download complete 08:31:37 63b65145d645: Verifying Checksum 08:31:37 63b65145d645: Download complete 08:31:37 a2aff8979fd8: Verifying Checksum 08:31:37 a2aff8979fd8: Download complete 08:31:37 63b65145d645: Pull complete 08:31:37 a2d21d5440eb: Pull complete 08:31:38 f25807f1079a: Verifying Checksum 08:31:38 f25807f1079a: Download complete 08:31:38 935e6c44a52c: Download complete 08:31:38 6808be2612f2: Verifying Checksum 08:31:38 6808be2612f2: Download complete 08:31:41 935e6c44a52c: Pull complete 08:31:41 94cc34f8dd06: Pull complete 08:31:41 30dea6a524f1: Pull complete 08:31:41 a2aff8979fd8: Pull complete 08:31:43 6808be2612f2: Pull complete 08:31:44 f25807f1079a: Pull complete 08:31:44 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 08:31:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 08:31:44 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] fileExists [Pipeline] sh 08:31:44 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 08:31:44 WORKDIR /edgex 08:31:44 COPY go.mod . 08:31:44 RUN go mod download+ 08:31:44 docker build -t ci-base-image-x86_64 -f - . 08:31:45 Sending build context to Docker daemon 170.5MB 08:31:45 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 08:31:45 ---> 3b553350e43f 08:31:45 Step 2/4 : WORKDIR /edgex 08:31:47 ---> Running in 47eeb679c3d6 08:31:47 Removing intermediate container 47eeb679c3d6 08:31:47 ---> 98f4346fb373 08:31:47 Step 3/4 : COPY go.mod . 08:31:47 ---> 928b335f9dac 08:31:47 Step 4/4 : RUN go mod download 08:31:47 ---> Running in e88b21916ca2 08:31:51 Still waiting to schedule task 08:31:51 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5434’ 08:31:59 Removing intermediate container e88b21916ca2 08:31:59 ---> 26b41196f4d9 08:31:59 Successfully built 26b41196f4d9 08:31:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:31:59 + docker inspect -f . ci-base-image-x86_64 08:31:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:31:59 prd-ubuntu20.04-docker-8c-8g-5435 does not seem to be running inside a container 08:31:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 ******** ci-base-image-x86_64 cat 08:32:00 $ docker top c84ea93a02781d980d4706eaa9b6e51420e460526ce43aefac80da9ba7dd0809 -eo pid,comm [Pipeline] { [Pipeline] sh 08:32:00 + go version 08:32:00 go version go1.20.2 linux/amd64 [Pipeline] } 08:32:00 $ docker stop --time=1 c84ea93a02781d980d4706eaa9b6e51420e460526ce43aefac80da9ba7dd0809 08:32:02 $ docker rm -f --volumes c84ea93a02781d980d4706eaa9b6e51420e460526ce43aefac80da9ba7dd0809 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:02 + docker inspect -f . ci-base-image-x86_64 08:32:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:32:02 prd-ubuntu20.04-docker-8c-8g-5435 does not seem to be running inside a container 08:32:02 $ 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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 ******** ci-base-image-x86_64 cat 08:32:02 $ docker top f2f38464e9cf62570faa1bd457bd51864b9925a886587168072b5f23f8385abe -eo pid,comm [Pipeline] { [Pipeline] echo 08:32:02 ========================================================= 08:32:02 [edgeXBuildGoParallel] Running Tests and Build... 08:32:02 ========================================================= [Pipeline] sh 08:32:03 + git config --global --add safe.directory /w/workspace/edgex-go/2 [Pipeline] fileExists [Pipeline] sh 08:32:03 + make test 08:32:03 go test -race -coverprofile=coverage.out ./... 08:32:10 ? github.com/edgexfoundry/edgex-go [no test files] 08:32:20 # github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 08:32:20 internal/pkg/infrastructure/redis/provisionwatcher.go:42:74: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:32:20 internal/pkg/infrastructure/redis/provisionwatcher.go:43:74: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:32:20 internal/pkg/infrastructure/redis/provisionwatcher.go:69:53: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:32:20 internal/pkg/infrastructure/redis/provisionwatcher.go:73:140: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:32:20 internal/pkg/infrastructure/redis/provisionwatcher.go:75:54: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:32:20 internal/pkg/infrastructure/redis/provisionwatcher.go:79:140: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:32:20 internal/pkg/infrastructure/redis/provisionwatcher.go:198:74: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:32:20 internal/pkg/infrastructure/redis/provisionwatcher.go:199:74: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:32:20 internal/pkg/infrastructure/redis/provisionwatcher.go:219:54: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:32:20 internal/pkg/infrastructure/redis/provisionwatcher.go:221:116: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:32:20 internal/pkg/infrastructure/redis/provisionwatcher.go:221:116: too many errors 08:32:24 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 08:32:24 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 08:32:24 # github.com/edgexfoundry/edgex-go/internal/core/metadata/application 08:32:24 internal/core/metadata/application/notify.go:116:21: pw.DiscoveredDevice undefined (type dtos.ProvisionWatcher has no field or method DiscoveredDevice) 08:32:24 internal/core/metadata/application/provisionwatcher.go:41:96: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:32:24 internal/core/metadata/application/provisionwatcher.go:134:99: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:32:24 internal/core/metadata/application/provisionwatcher.go:150:9: dto.DiscoveredDevice undefined (type dtos.UpdateProvisionWatcher has no field or method DiscoveredDevice) 08:32:24 internal/core/metadata/application/provisionwatcher.go:150:88: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:32:24 internal/core/metadata/application/provisionwatcher.go:151:23: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:32:24 internal/core/metadata/application/provisionwatcher.go:166:99: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:32:25 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 08:32:25 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 08:32:25 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 08:32:26 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-auth [no test files] 08:32:26 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 08:32:26 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 08:32:27 ? github.com/edgexfoundry/edgex-go/internal [no test files] 08:32:27 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 08:32:28 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 08:32:28 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 08:32:28 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.068s coverage: 28.7% of statements 08:32:29 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.079s coverage: 98.5% of statements 08:32:30 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 08:32:30 ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] 08:32:31 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 08:32:31 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 08:32:33 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 08:32:33 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 08:32:33 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 08:32:33 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 08:32:33 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 08:32:33 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 08:32:33 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 08:32:33 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 08:32:33 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 08:32:33 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 3.088s coverage: 71.3% of statements 08:32:33 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.071s coverage: 54.0% of statements 08:32:33 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 08:32:33 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 08:32:33 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 08:32:33 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 08:32:34 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 08:32:34 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 08:32:34 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 08:32:34 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 08:32:35 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 08:32:35 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 2.704s coverage: 88.5% of statements 08:32:35 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/application [build failed] 08:32:35 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http [build failed] 08:32:35 ok github.com/edgexfoundry/edgex-go/internal/io 0.050s coverage: 72.2% of statements 08:32:35 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.045s coverage: 65.9% of statements 08:32:35 FAIL github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis [build failed] 08:32:35 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.049s coverage: 29.0% of statements 08:32:35 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.056s coverage: 44.1% of statements 08:32:35 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.058s coverage: 82.9% of statements 08:32:35 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.045s coverage: 94.1% of statements 08:32:35 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.076s coverage: 96.3% of statements 08:32:35 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.042s coverage: 87.5% of statements 08:32:36 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 08:32:36 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 08:32:36 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 08:32:36 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 08:32:36 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 08:32:36 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 08:32:36 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 08:32:36 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 08:32:37 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 08:32:37 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 08:32:37 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 08:32:37 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 08:32:37 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 08:32:37 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 08:32:38 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 08:32:39 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] 08:32:39 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 08:32:40 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 08:32:40 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 08:32:41 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth [no test files] 08:32:41 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] 08:32:41 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] 08:32:43 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 08:32:43 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 08:32:43 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 08:32:44 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 08:32:44 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 08:32:44 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 08:32:45 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 08:32:45 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 08:32:45 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 08:32:45 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 08:32:47 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 08:32:47 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 08:32:47 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 08:32:47 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 08:32:47 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 08:32:47 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.068s coverage: 94.4% of statements 08:32:48 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 08:32:48 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 08:33:01 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 23.261s coverage: 79.9% of statements 08:33:01 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.064s coverage: 92.9% of statements 08:33:01 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.027s coverage: 64.4% of statements 08:33:01 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.064s coverage: 86.9% of statements 08:33:01 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.061s coverage: 87.2% of statements 08:33:01 ok github.com/edgexfoundry/edgex-go/internal/security/common 0.045s coverage: 20.0% of statements 08:33:01 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.050s coverage: 100.0% of statements 08:33:01 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.101s coverage: 81.2% of statements 08:33:01 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.086s coverage: 82.1% of statements 08:33:01 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.048s coverage: 86.0% of statements 08:33:01 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.171s coverage: 63.1% of statements 08:33:01 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.049s coverage: 100.0% of statements 08:33:01 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.040s coverage: 89.4% of statements 08:33:01 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.028s coverage: 100.0% of statements 08:33:01 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.032s coverage: 73.7% of statements 08:33:01 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.029s coverage: 100.0% of statements 08:33:01 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.175s coverage: 38.4% of statements 08:33:01 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.067s coverage: 89.5% of statements 08:33:01 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.050s coverage: 84.8% of statements 08:33:01 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.068s coverage: 17.7% of statements 08:33:01 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.133s coverage: 92.3% of statements 08:33:01 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.067s coverage: 61.5% of statements 08:33:01 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.091s coverage: 97.7% of statements 08:33:01 FAIL 08:33:01 make: *** [Makefile:148: unittest] Error 1 [Pipeline] } 08:33:01 $ docker stop --time=1 f2f38464e9cf62570faa1bd457bd51864b9925a886587168072b5f23f8385abe 08:33:02 $ docker rm -f --volumes f2f38464e9cf62570faa1bd457bd51864b9925a886587168072b5f23f8385abe [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] } 08:33:02 Failed in branch amd64 08:35:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5436 in /w/workspace/edgexfoundry_edgex-go_PR-4471 [Pipeline] { [Pipeline] ws 08:35:21 Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] checkout 08:35:21 The recommended git tool is: git 08:35:27 using credential edgex-jenkins-ssh 08:35:27 Cloning the remote Git repository 08:35:27 Cloning repository git@github.com:edgexfoundry/edgex-go.git 08:35:27 > git init /w/workspace/edgex-go/2 # timeout=10 08:35:27 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 08:35:27 > git --version # timeout=10 08:35:27 > git --version # 'git version 2.25.1' 08:35:27 using GIT_SSH to set credentials SSH Credentials for GitHub 08:35:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:35:45 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 08:35:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:35:46 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 08:35:46 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 08:35:46 using GIT_SSH to set credentials SSH Credentials for GitHub 08:35:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4471/head:refs/remotes/origin/PR-4471 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:35:47 Merging remotes/origin/main commit 56c53f3e882f752e6ce34fe0da5648cfe47c3186 into PR head commit 561ffe60b20582d0b8438f99567fb302129053fd 08:35:48 Merge succeeded, producing 099addeb80e79943fb5e9b09c3c1f947d6d68062 08:35:48 Checking out Revision 099addeb80e79943fb5e9b09c3c1f947d6d68062 (PR-4471) 08:35:47 > git config core.sparsecheckout # timeout=10 08:35:47 > git checkout -f 561ffe60b20582d0b8438f99567fb302129053fd # timeout=10 08:35:48 > git remote # timeout=10 08:35:48 > git config --get remote.origin.url # timeout=10 08:35:48 using GIT_SSH to set credentials SSH Credentials for GitHub 08:35:48 > git merge 56c53f3e882f752e6ce34fe0da5648cfe47c3186 # timeout=10 08:35:48 > git rev-parse HEAD^{commit} # timeout=10 08:35:48 > git config core.sparsecheckout # timeout=10 08:35:48 > git checkout -f 099addeb80e79943fb5e9b09c3c1f947d6d68062 # timeout=10 08:35:52 Commit message: "Merge commit '56c53f3e882f752e6ce34fe0da5648cfe47c3186' into HEAD" 08:35:52 > git rev-list --no-walk 561ffe60b20582d0b8438f99567fb302129053fd # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:35:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:35:53 % Total % Received % Xferd Average Speed Time Time Time Current 08:35:53 Dload Upload Total Spent Left Speed 08:35:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 67824 0 --:--:-- --:--:-- --:--:-- 67824 [Pipeline] sh 08:35:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:35:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:35:54 + sudo tee /etc/docker/daemon.new 08:35:54 { 08:35:54 "registry-mirrors": [ 08:35:54 "https://nexus3.edgexfoundry.org:10001" 08:35:54 ], 08:35:54 "bip": "10.250.0.254/24", 08:35:54 "hosts": [ 08:35:54 "tcp://0.0.0.0:5555", 08:35:54 "unix:///var/run/docker.sock" 08:35:54 ], 08:35:54 "mtu": 1458, 08:35:54 "selinux-enabled": true, 08:35:54 "seccomp-profile": "/etc/docker/seccomp.json" 08:35:54 } [Pipeline] sh 08:35:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:35:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:36:13 provisioning config files... 08:36:13 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config11397191160288501922tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:36:13 ---> docker-login.sh 08:36:13 nexus3.edgexfoundry.org:10001 08:36:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:36:14 Configure a credential helper to remove this warning. See 08:36:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:36:14 08:36:14 Login Succeeded 08:36:14 nexus3.edgexfoundry.org:10002 08:36:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:36:14 Configure a credential helper to remove this warning. See 08:36:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:36:14 08:36:14 Login Succeeded 08:36:14 nexus3.edgexfoundry.org:10003 08:36:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:36:15 Configure a credential helper to remove this warning. See 08:36:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:36:15 08:36:15 Login Succeeded 08:36:15 nexus3.edgexfoundry.org:10004 08:36:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:36:15 Configure a credential helper to remove this warning. See 08:36:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:36:15 08:36:15 Login Succeeded 08:36:15 docker.io 08:36:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:36:15 Configure a credential helper to remove this warning. See 08:36:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:36:15 08:36:15 Login Succeeded 08:36:15 ---> docker-login.sh ends [Pipeline] } 08:36:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh 08:36:16 + git config --global --add safe.directory /w/workspace/edgex-go/2 [Pipeline] echo 08:36:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:36:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:36:16 ========================================================= 08:36:16 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 08:36:16 ========================================================= [Pipeline] fileExists [Pipeline] sh 08:36:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 08:36:16 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:36:16 af6eaf76a39c: Pulling fs layer 08:36:16 55522c791124: Pulling fs layer 08:36:16 ce5c4a1c91eb: Pulling fs layer 08:36:16 169dfbe0d373: Pulling fs layer 08:36:16 e1ff8fa3b103: Pulling fs layer 08:36:16 52ebb69f0ebf: Pulling fs layer 08:36:16 5abe8eddf0d5: Pulling fs layer 08:36:16 e1ff8fa3b103: Waiting 08:36:16 52ebb69f0ebf: Waiting 08:36:16 5abe8eddf0d5: Waiting 08:36:16 169dfbe0d373: Waiting 08:36:17 55522c791124: Verifying Checksum 08:36:17 55522c791124: Download complete 08:36:17 169dfbe0d373: Download complete 08:36:17 e1ff8fa3b103: Verifying Checksum 08:36:17 e1ff8fa3b103: Download complete 08:36:17 af6eaf76a39c: Download complete 08:36:18 af6eaf76a39c: Pull complete 08:36:18 5abe8eddf0d5: Verifying Checksum 08:36:18 5abe8eddf0d5: Download complete 08:36:18 55522c791124: Pull complete 08:36:19 52ebb69f0ebf: Verifying Checksum 08:36:19 52ebb69f0ebf: Download complete 08:36:19 ce5c4a1c91eb: Verifying Checksum 08:36:19 ce5c4a1c91eb: Download complete 08:36:29 ce5c4a1c91eb: Pull complete 08:36:30 169dfbe0d373: Pull complete 08:36:30 e1ff8fa3b103: Pull complete 08:36:38 52ebb69f0ebf: Pull complete 08:36:40 5abe8eddf0d5: Pull complete 08:36:40 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 08:36:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 08:36:40 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] fileExists [Pipeline] sh 08:36:40 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 08:36:40 WORKDIR /edgex 08:36:40 COPY go.mod . 08:36:40 RUN go mod download 08:36:40 + docker build -t ci-base-image-arm64 -f - . 08:36:41 Sending build context to Docker daemon 2.934MB 08:36:41 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 08:36:41 ---> 6cb57ee374ae 08:36:41 Step 2/4 : WORKDIR /edgex 08:36:43 ---> Running in 4f22c8a491df 08:36:43 Removing intermediate container 4f22c8a491df 08:36:43 ---> 0c03eb15d85e 08:36:43 Step 3/4 : COPY go.mod . 08:36:43 ---> 13f9a8300df5 08:36:43 Step 4/4 : RUN go mod download 08:36:43 ---> Running in 223e52c7278f 08:37:16 Removing intermediate container 223e52c7278f 08:37:16 ---> dfb7fde9b3e1 08:37:16 Successfully built dfb7fde9b3e1 08:37:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:37:16 + docker inspect -f . ci-base-image-arm64 08:37:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:37:16 prd-ubuntu20.04-docker-arm64-4c-16g-5436 does not seem to be running inside a container 08:37:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 08:37:18 $ docker top ed53ca38dfc8ea6758a31a4f32ac8fbbd2287220f441b6e21589b0578dc96237 -eo pid,comm [Pipeline] { [Pipeline] sh 08:37:18 + go version 08:37:18 go version go1.20.2 linux/arm64 [Pipeline] } 08:37:19 $ docker stop --time=1 ed53ca38dfc8ea6758a31a4f32ac8fbbd2287220f441b6e21589b0578dc96237 08:37:20 $ docker rm -f --volumes ed53ca38dfc8ea6758a31a4f32ac8fbbd2287220f441b6e21589b0578dc96237 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:37:21 + docker inspect -f . ci-base-image-arm64 08:37:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:37:21 prd-ubuntu20.04-docker-arm64-4c-16g-5436 does not seem to be running inside a container 08:37:21 $ 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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 08:37:22 $ docker top 02d72960c4235f27cb248888964b8c83621eb1cc2da1a826b5334b521164e69f -eo pid,comm [Pipeline] { [Pipeline] echo 08:37:22 ========================================================= 08:37:22 [edgeXBuildGoParallel] Running Tests and Build... 08:37:22 ========================================================= [Pipeline] sh 08:37:23 + git config --global --add safe.directory /w/workspace/edgex-go/2 [Pipeline] fileExists [Pipeline] sh 08:37:23 + make test 08:37:23 go test -race -coverprofile=coverage.out ./... 08:38:10 ? github.com/edgexfoundry/edgex-go [no test files] 08:40:02 # github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 08:40:02 internal/pkg/infrastructure/redis/provisionwatcher.go:42:74: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:40:02 internal/pkg/infrastructure/redis/provisionwatcher.go:43:74: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:40:02 internal/pkg/infrastructure/redis/provisionwatcher.go:69:53: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:40:02 internal/pkg/infrastructure/redis/provisionwatcher.go:73:140: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:40:02 internal/pkg/infrastructure/redis/provisionwatcher.go:75:54: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:40:02 internal/pkg/infrastructure/redis/provisionwatcher.go:79:140: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:40:02 internal/pkg/infrastructure/redis/provisionwatcher.go:198:74: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:40:02 internal/pkg/infrastructure/redis/provisionwatcher.go:199:74: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:40:02 internal/pkg/infrastructure/redis/provisionwatcher.go:219:54: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:40:02 internal/pkg/infrastructure/redis/provisionwatcher.go:221:116: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:40:02 internal/pkg/infrastructure/redis/provisionwatcher.go:221:116: too many errors 08:40:02 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 08:40:02 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 08:40:02 # github.com/edgexfoundry/edgex-go/internal/core/metadata/application 08:40:02 internal/core/metadata/application/notify.go:116:21: pw.DiscoveredDevice undefined (type dtos.ProvisionWatcher has no field or method DiscoveredDevice) 08:40:02 internal/core/metadata/application/provisionwatcher.go:41:96: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:40:02 internal/core/metadata/application/provisionwatcher.go:134:99: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:40:02 internal/core/metadata/application/provisionwatcher.go:150:9: dto.DiscoveredDevice undefined (type dtos.UpdateProvisionWatcher has no field or method DiscoveredDevice) 08:40:02 internal/core/metadata/application/provisionwatcher.go:150:88: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:40:02 internal/core/metadata/application/provisionwatcher.go:151:23: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:40:02 internal/core/metadata/application/provisionwatcher.go:166:99: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:40:02 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 08:40:02 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 08:40:02 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 08:40:02 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-auth [no test files] 08:40:02 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 08:40:02 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 08:40:04 ? github.com/edgexfoundry/edgex-go/internal [no test files] 08:40:04 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 08:40:19 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 08:40:19 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 08:40:19 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.269s coverage: 28.7% of statements 08:40:27 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.279s coverage: 98.5% of statements 08:40:31 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 08:40:31 ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] 08:40:35 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 3.407s coverage: 71.3% of statements 08:40:38 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 08:40:38 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 08:40:38 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.496s coverage: 54.0% of statements 08:40:43 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 08:40:43 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 08:40:43 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 08:40:43 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 08:40:43 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 08:40:43 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 08:40:45 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 08:40:45 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 08:40:45 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 08:40:48 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 08:40:48 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 08:40:48 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 08:40:48 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 08:40:56 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 08:40:56 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 08:40:56 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 08:40:56 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 08:40:59 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 15.993s coverage: 88.5% of statements 08:40:59 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/application [build failed] 08:40:59 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http [build failed] 08:40:59 ok github.com/edgexfoundry/edgex-go/internal/io 0.335s coverage: 72.2% of statements 08:40:59 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.578s coverage: 65.9% of statements 08:40:59 FAIL github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis [build failed] 08:40:59 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 08:41:00 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.305s coverage: 29.0% of statements 08:41:03 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.401s coverage: 44.1% of statements 08:41:03 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.416s coverage: 82.9% of statements 08:41:03 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.363s coverage: 94.1% of statements 08:41:03 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.276s coverage: 96.3% of statements 08:41:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.207s coverage: 87.5% of statements 08:41:09 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 08:41:10 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 08:41:10 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 08:41:10 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 08:41:12 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 08:41:12 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 08:41:12 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 08:41:12 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 08:41:19 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.201s coverage: 94.4% of statements 08:41:19 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 08:41:19 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 08:41:19 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 08:41:19 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 08:41:24 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 08:41:24 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 08:41:26 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 08:41:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 24.165s coverage: 79.9% of statements 08:41:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.277s coverage: 92.9% of statements 08:41:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.082s coverage: 64.4% of statements 08:41:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.206s coverage: 86.9% of statements 08:41:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.199s coverage: 87.2% of statements 08:41:34 ok github.com/edgexfoundry/edgex-go/internal/security/common 0.172s coverage: 20.0% of statements 08:41:34 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.170s coverage: 100.0% of statements 08:41:34 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.471s coverage: 81.2% of statements 08:41:34 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] 08:41:34 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.511s coverage: 82.1% of statements 08:41:35 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 08:41:35 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.234s coverage: 86.0% of statements 08:41:39 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 08:41:39 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 08:41:41 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.992s coverage: 63.1% of statements 08:41:41 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.236s coverage: 100.0% of statements 08:41:42 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.113s coverage: 89.4% of statements 08:41:42 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.081s coverage: 100.0% of statements 08:41:42 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.085s coverage: 73.7% of statements 08:41:43 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth [no test files] 08:41:43 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] 08:41:43 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] 08:41:43 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.074s coverage: 100.0% of statements 08:41:51 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 08:41:51 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 08:41:51 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 08:41:51 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 1.053s coverage: 38.4% of statements 08:41:51 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.263s coverage: 89.5% of statements 08:41:56 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 08:41:56 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 08:41:56 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 08:41:56 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.335s coverage: 84.8% of statements 08:42:01 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 08:42:01 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 08:42:01 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 08:42:01 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 08:42:08 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.311s coverage: 17.7% of statements 08:42:08 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 08:42:08 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 08:42:08 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 08:42:09 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.548s coverage: 92.3% of statements 08:42:12 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 08:42:12 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 08:42:12 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.297s coverage: 61.5% of statements 08:42:15 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 08:42:15 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 08:42:15 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.395s coverage: 97.7% of statements 08:42:15 FAIL 08:42:16 make: *** [Makefile:148: unittest] Error 1 [Pipeline] } 08:42:16 $ docker stop --time=1 02d72960c4235f27cb248888964b8c83621eb1cc2da1a826b5334b521164e69f 08:42:19 $ docker rm -f --volumes 02d72960c4235f27cb248888964b8c83621eb1cc2da1a826b5334b521164e69f [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 08:42:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:42:20 08:42:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:42:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:42:21 arm64: Pulling from edgex-lftools-log-publisher 08:42:21 8998bd30e6a1: Pulling fs layer 08:42:21 04944245beec: Pulling fs layer 08:42:21 699f458cf7ca: Pulling fs layer 08:42:21 765212b225bb: Pulling fs layer 08:42:21 f23df028b6ca: Pulling fs layer 08:42:21 d65c8cfc05b1: Pulling fs layer 08:42:21 2437ff75d9bd: Pulling fs layer 08:42:21 765212b225bb: Waiting 08:42:21 f23df028b6ca: Waiting 08:42:21 d65c8cfc05b1: Waiting 08:42:21 2437ff75d9bd: Waiting 08:42:21 04944245beec: Verifying Checksum 08:42:21 04944245beec: Download complete 08:42:21 765212b225bb: Verifying Checksum 08:42:21 765212b225bb: Download complete 08:42:21 f23df028b6ca: Download complete 08:42:21 d65c8cfc05b1: Verifying Checksum 08:42:21 d65c8cfc05b1: Download complete 08:42:21 699f458cf7ca: Verifying Checksum 08:42:21 699f458cf7ca: Download complete 08:42:21 8998bd30e6a1: Download complete 08:42:23 2437ff75d9bd: Verifying Checksum 08:42:23 2437ff75d9bd: Download complete 08:42:25 8998bd30e6a1: Pull complete 08:42:25 04944245beec: Pull complete 08:42:27 699f458cf7ca: Pull complete 08:42:27 765212b225bb: Pull complete 08:42:27 f23df028b6ca: Pull complete 08:42:27 d65c8cfc05b1: Pull complete 08:42:40 2437ff75d9bd: Pull complete 08:42:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:42:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:42:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:42:40 prd-ubuntu20.04-docker-arm64-4c-16g-5436 does not seem to be running inside a container 08:42:40 $ 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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 08:42:42 $ docker top 4561ad042e4420bf409a1265b8b0d87d3937d3b14bbfb641b337b5d11f3d2e5b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:42:43 ---> job-cost.sh 08:42:43 lf-activate-venv: SKIPPING 08:42:43 INFO: No Stack... 08:42:43 INFO: Retrieving Pricing Info for: v3-standard-4 08:42:44 INFO: Archiving Costs [Pipeline] sh 08:42:45 + + catcut /w/workspace/edgex-go/2/archives/cost.csv -d, 08:42:45 -f6 [Pipeline] lock 08:42:45 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4471-2-stack-cost] 08:42:45 Resource [jenkins-edgexfoundry-edgex-go-PR-4471-2-stack-cost] did not exist. Created. 08:42:45 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4471-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:42:45 + echo total: 0.10999999940395355 [Pipeline] stash 08:42:46 Stashed 1 file(s) [Pipeline] } 08:42:46 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4471-2-stack-cost] [Pipeline] // lock [Pipeline] } 08:42:46 $ docker stop --time=1 4561ad042e4420bf409a1265b8b0d87d3937d3b14bbfb641b337b5d11f3d2e5b 08:42:47 $ docker rm -f --volumes 4561ad042e4420bf409a1265b8b0d87d3937d3b14bbfb641b337b5d11f3d2e5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:42:47 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 08:42:48 + [ -d /w/workspace/edgex-go/2/archives ] [Pipeline] libraryResource [Pipeline] sh 08:42:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:42:49 ---> package-listing.sh 08:42:49 ++ facter osfamily 08:42:49 ++ tr '[:upper:]' '[:lower:]' 08:42:49 + OS_FAMILY=debian 08:42:49 + workspace=/w/workspace/edgex-go/2 08:42:49 + START_PACKAGES=/tmp/packages_start.txt 08:42:49 + END_PACKAGES=/tmp/packages_end.txt 08:42:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:42:49 + PACKAGES=/tmp/packages_start.txt 08:42:49 + '[' /w/workspace/edgex-go/2 ']' 08:42:49 + PACKAGES=/tmp/packages_end.txt 08:42:49 + case "${OS_FAMILY}" in 08:42:49 + grep '^ii' 08:42:49 + dpkg -l 08:42:49 + '[' -f /tmp/packages_start.txt ']' 08:42:49 + '[' -f /tmp/packages_end.txt ']' 08:42:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:42:49 + '[' /w/workspace/edgex-go/2 ']' 08:42:49 + mkdir -p /w/workspace/edgex-go/2/archives/ 08:42:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo 08:42:49 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/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:42:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:42:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:42:50 08:42:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:42:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:42:51 latest: Pulling from edgex-lftools-log-publisher 08:42:51 5eb5b503b376: Pulling fs layer 08:42:51 5c69ac0246d0: Pulling fs layer 08:42:51 ec43610c2a17: Pulling fs layer 08:42:51 3a2ae6a8a46f: Pulling fs layer 08:42:51 33b1e0a273af: Pulling fs layer 08:42:51 5d3b04190fa2: Pulling fs layer 08:42:51 2f39f015ded8: Pulling fs layer 08:42:51 3a2ae6a8a46f: Waiting 08:42:51 33b1e0a273af: Waiting 08:42:51 2f39f015ded8: Waiting 08:42:51 5d3b04190fa2: Waiting 08:42:51 5c69ac0246d0: Download complete 08:42:51 3a2ae6a8a46f: Download complete 08:42:51 33b1e0a273af: Verifying Checksum 08:42:51 33b1e0a273af: Download complete 08:42:51 5d3b04190fa2: Verifying Checksum 08:42:51 5d3b04190fa2: Download complete 08:42:51 ec43610c2a17: Verifying Checksum 08:42:51 ec43610c2a17: Download complete 08:42:51 5eb5b503b376: Verifying Checksum 08:42:51 5eb5b503b376: Download complete 08:42:51 2f39f015ded8: Verifying Checksum 08:42:51 2f39f015ded8: Download complete 08:42:52 5eb5b503b376: Pull complete 08:42:52 5c69ac0246d0: Pull complete 08:42:52 ec43610c2a17: Pull complete 08:42:52 3a2ae6a8a46f: Pull complete 08:42:52 33b1e0a273af: Pull complete 08:42:53 5d3b04190fa2: Pull complete 08:42:57 2f39f015ded8: Pull complete 08:42:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:42:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:42:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:42:57 prd-ubuntu20.04-docker-8c-8g-5435 does not seem to be running inside a container 08:42:57 $ 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/2/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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:42:59 $ docker top 7cca943dcaa95e937fb18338f92601f8c0dbbee9905195950c71282e2ada24f6 -eo pid,comm [Pipeline] { [Pipeline] sh 08:42:59 + touch /tmp/pre-build-complete [Pipeline] sh 08:42:59 + mkdir -p /var/log/sysstat [Pipeline] sh 08:43:00 + ls /var/log/sa-host 08:43:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:43:00 provisioning config files... 08:43:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config16877740377566459977tmp [Pipeline] { [Pipeline] echo 08:43:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:43:00 ---> create-netrc.sh [Pipeline] } 08:43:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:43:00 ---> python-tools-install.sh [Pipeline] echo 08:43:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:43:01 ---> sudo-logs.sh 08:43:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:43:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:43:01 ---> job-cost.sh 08:43:01 lf-activate-venv: SKIPPING 08:43:01 DEBUG: total: 0.10999999940395355 08:43:01 INFO: Retrieving Stack Cost... 08:43:01 INFO: Retrieving Pricing Info for: v3-standard-8 08:43:02 INFO: Archiving Costs [Pipeline] echo 08:43:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:43:02 ---> logs-deploy.sh 08:43:02 lf-activate-venv: SKIPPING 08:43:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4471/2 08:43:02 INFO: archiving workspace using pattern(s): 08:43:03 Archives upload complete. 08:43:03 INFO: archiving logs to Nexus