Pull request #4477 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8bd105a74479323619d2ca64f33141a039e8ce73+56c53f3e882f752e6ce34fe0da5648cfe47c3186 (dd3dbf95d9a9301dff63916fc98d60f9782d0e22) 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-ssh10234669407030803301.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-ssh2886178295814228406.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4477/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-4477/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4901940956458317177.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-4477/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4754087674876108531.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh4064374728859197756.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4477/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-4477/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9845588694407756772.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5604 in /w/workspace/edgexfoundry_edgex-go_PR-4477 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [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/1 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4477/head:refs/remotes/origin/PR-4477 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 56c53f3e882f752e6ce34fe0da5648cfe47c3186 into PR head commit 8bd105a74479323619d2ca64f33141a039e8ce73 Merge succeeded, producing 8bd105a74479323619d2ca64f33141a039e8ce73 Checking out Revision 8bd105a74479323619d2ca64f33141a039e8ce73 (PR-4477) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:58:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:58:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:58:36 ========================================================= 19:58:36 EdgeX Global Pipelines Version Info 19:58:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 8bd105a74479323619d2ca64f33141a039e8ce73 # 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 8bd105a74479323619d2ca64f33141a039e8ce73 # timeout=10 19:58:37 ------------------- 19:58:37 stable info: 19:58:37 ------------------- 19:58:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:58:37 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 19:58:37 Message: update stable to v1.0.245 19:58:37 ------------------- 19:58:37 experimental info: 19:58:37 ------------------- 19:58:37 Commited By: **** collab-it+edgex@linuxfoundation.org 19:58:37 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 19:58:37 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:58:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 19:58:38 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 19:58:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:58:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:58:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:58:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 19:58:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:58:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 19:58:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 19:58:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 19:58:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:58:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:58:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:58:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:58:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:58:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:58:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:58:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:58:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 19:58:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 19:58:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:58:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:58:38 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:58:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4477 [Pipeline] echo 19:58:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4477 [Pipeline] echo 19:58:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4477 [Pipeline] echo 19:58:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8bd105a74479323619d2ca64f33141a039e8ce73 [Pipeline] echo 19:58:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8bd105a [Pipeline] echo 19:58:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:58:39 provisioning config files... 19:58:39 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config11083970443502724743tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:58:39 ---> docker-login.sh 19:58:39 nexus3.edgexfoundry.org:10001 19:58:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:58:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:58:40 Configure a credential helper to remove this warning. See 19:58:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:58:40 19:58:40 Login Succeeded 19:58:40 nexus3.edgexfoundry.org:10002 19:58:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:58:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:58:40 Configure a credential helper to remove this warning. See 19:58:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:58:40 19:58:40 Login Succeeded 19:58:40 nexus3.edgexfoundry.org:10003 19:58:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:58:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:58:40 Configure a credential helper to remove this warning. See 19:58:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:58:40 19:58:40 Login Succeeded 19:58:40 nexus3.edgexfoundry.org:10004 19:58:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:58:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:58:40 Configure a credential helper to remove this warning. See 19:58:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:58:40 19:58:40 Login Succeeded 19:58:40 docker.io 19:58:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:58:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:58:40 Configure a credential helper to remove this warning. See 19:58:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:58:40 19:58:40 Login Succeeded 19:58:40 ---> docker-login.sh ends [Pipeline] } 19:58:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:58:41 + 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 19:58:41 + dirname cmd/core-command/Dockerfile 19:58:41 + cut -d/ -f2 19:58:41 + echo core-command,cmd/core-command/Dockerfile 19:58:41 + + dirnamecut cmd/core-common-config-bootstrapper/Dockerfile -d/ 19:58:41 -f2 19:58:41 + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile 19:58:41 + cut -d/ -f2 19:58:41 + dirname cmd/core-data/Dockerfile 19:58:41 + echo core-data,cmd/core-data/Dockerfile 19:58:41 + + dirname cmd/core-metadata/Dockerfile 19:58:41 cut -d/ -f2 19:58:41 + echo core-metadata,cmd/core-metadata/Dockerfile 19:58:41 + dirname cmd/security-bootstrapper/Dockerfile+ 19:58:41 cut -d/ -f2 19:58:41 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 19:58:41 + cut -d/ -f2 19:58:41 + dirname cmd/security-proxy-auth/Dockerfile 19:58:41 + echo security-proxy-auth,cmd/security-proxy-auth/Dockerfile 19:58:41 + dirname cmd/security-proxy-setup/Dockerfile 19:58:41 + cut -d/ -f2 19:58:41 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 19:58:41 + dirname cmd/security-secretstore-setup/Dockerfile 19:58:41 + cut -d/ -f2 19:58:41 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 19:58:41 + dirname cmd/security-spiffe-token-provider/Dockerfile 19:58:41 + cut -d/ -f2 19:58:41 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 19:58:41 + dirname cmd/security-spire-agent/Dockerfile 19:58:41 + cut -d/ -f2 19:58:41 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 19:58:41 + dirname cmd/security-spire-config/Dockerfile 19:58:41 + cut -d/ -f2 19:58:41 + echo security-spire-config,cmd/security-spire-config/Dockerfile 19:58:41 + cut -d/ -f2 19:58:41 + dirname cmd/security-spire-server/Dockerfile 19:58:41 + echo security-spire-server,cmd/security-spire-server/Dockerfile 19:58:41 + dirname cmd/support-notifications/Dockerfile 19:58:41 + cut -d/ -f2 19:58:41 + echo support-notifications,cmd/support-notifications/Dockerfile 19:58:41 + dirname cmd/support-scheduler/Dockerfile 19:58:41 + cut -d/ -f2 19:58:41 + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo 19:58:41 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 19:58:41 + git rev-list -1 --merges 8bd105a74479323619d2ca64f33141a039e8ce73~1..8bd105a74479323619d2ca64f33141a039e8ce73 [Pipeline] echo 19:58:41 -----------> git rev-list -1 --merges 8bd105a74479323619d2ca64f33141a039e8ce73~1..8bd105a74479323619d2ca64f33141a039e8ce73 8bd105a74479323619d2ca64f33141a039e8ce73 [false] [Pipeline] sh 19:58:42 + git log --format=format:%s -1 8bd105a74479323619d2ca64f33141a039e8ce73 [Pipeline] echo 19:58:42 ========================================================= 19:58:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:58:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 19:58:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:58:42 + grep -v github /etc/ssh/ssh_known_hosts 19:58:42 + [ -e /tmp/ssh_known_hosts ] 19:58:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:58:42 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:58:42 + sudo tee -a /etc/ssh/ssh_known_hosts 19:58:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:58:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:58:43 19:58:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:58:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:58:43 0.1.4: Pulling from edgex-devops/py-git-semver 19:58:43 b85a868b505f: Pulling fs layer 19:58:43 e2be974225ed: Pulling fs layer 19:58:43 339a4e72a1f5: Pulling fs layer 19:58:43 988bab9f4d93: Pulling fs layer 19:58:43 1469e6f7b9e6: Pulling fs layer 19:58:43 eaf3925da568: Pulling fs layer 19:58:43 bab4dde63d76: Pulling fs layer 19:58:43 bde34c3a00c8: Pulling fs layer 19:58:43 b352a97aabf1: Pulling fs layer 19:58:43 4872d77fe225: Pulling fs layer 19:58:43 5851b861e8e6: Pulling fs layer 19:58:43 988bab9f4d93: Waiting 19:58:43 bde34c3a00c8: Waiting 19:58:43 1469e6f7b9e6: Waiting 19:58:43 eaf3925da568: Waiting 19:58:43 b352a97aabf1: Waiting 19:58:43 4872d77fe225: Waiting 19:58:43 5851b861e8e6: Waiting 19:58:43 bab4dde63d76: Waiting 19:58:43 e2be974225ed: Verifying Checksum 19:58:43 e2be974225ed: Download complete 19:58:43 988bab9f4d93: Download complete 19:58:43 1469e6f7b9e6: Verifying Checksum 19:58:43 1469e6f7b9e6: Download complete 19:58:43 eaf3925da568: Verifying Checksum 19:58:43 eaf3925da568: Download complete 19:58:43 339a4e72a1f5: Verifying Checksum 19:58:43 339a4e72a1f5: Download complete 19:58:43 bde34c3a00c8: Download complete 19:58:43 b352a97aabf1: Download complete 19:58:43 4872d77fe225: Download complete 19:58:43 5851b861e8e6: Download complete 19:58:43 b85a868b505f: Verifying Checksum 19:58:43 b85a868b505f: Download complete 19:58:43 bab4dde63d76: Verifying Checksum 19:58:43 bab4dde63d76: Download complete 19:58:44 b85a868b505f: Pull complete 19:58:45 e2be974225ed: Pull complete 19:58:45 339a4e72a1f5: Pull complete 19:58:45 988bab9f4d93: Pull complete 19:58:45 1469e6f7b9e6: Pull complete 19:58:45 eaf3925da568: Pull complete 19:58:47 bab4dde63d76: Pull complete 19:58:47 bde34c3a00c8: Pull complete 19:58:47 b352a97aabf1: Pull complete 19:58:47 4872d77fe225: Pull complete 19:58:47 5851b861e8e6: Pull complete 19:58:47 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:58:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:58:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:58:48 prd-ubuntu20.04-docker-8c-8g-5604 does not seem to be running inside a container 19:58:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:58:50 $ docker top c213f459c9eabf7b2ff3d4e3cc3bc0dc6a8dfb7a755202ddbc2739478983c6e6 -eo pid,comm 19:58:50 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). 19:58:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:58:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:58:50 [ssh-agent] Looking for ssh-agent implementation... 19:58:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:58:51 $ docker exec c213f459c9eabf7b2ff3d4e3cc3bc0dc6a8dfb7a755202ddbc2739478983c6e6 ssh-agent 19:58:51 SSH_AUTH_SOCK=/tmp/ssh-MM6iqo4LW5Kq/agent.32 19:58:51 SSH_AGENT_PID=38 19:58:51 Running ssh-add (command line suppressed) 19:58:51 Identity added: /w/workspace/edgex-go/1@tmp/private_key_15709458819503585289.key (/w/workspace/edgex-go/1@tmp/private_key_15709458819503585289.key) 19:58:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:58:51 + git tag --points-at HEAD [Pipeline] } 19:58:51 $ docker exec --env ******** --env ******** c213f459c9eabf7b2ff3d4e3cc3bc0dc6a8dfb7a755202ddbc2739478983c6e6 ssh-agent -k 19:58:51 unset SSH_AUTH_SOCK; 19:58:51 unset SSH_AGENT_PID; 19:58:51 echo Agent pid 38 killed; 19:58:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:58:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:58:51 [ssh-agent] Looking for ssh-agent implementation... 19:58:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:58:51 $ docker exec c213f459c9eabf7b2ff3d4e3cc3bc0dc6a8dfb7a755202ddbc2739478983c6e6 ssh-agent 19:58:52 SSH_AUTH_SOCK=/tmp/ssh-xirCDYIvvphu/agent.70 19:58:52 SSH_AGENT_PID=76 19:58:52 Running ssh-add (command line suppressed) 19:58:52 Identity added: /w/workspace/edgex-go/1@tmp/private_key_13646048627198603163.key (/w/workspace/edgex-go/1@tmp/private_key_13646048627198603163.key) 19:58:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:58:52 + git semver init 19:58:52 2023-03-23 19:58:52,618 [run_init] DEBUG init version:0.0.0 force:False 19:58:52 2023-03-23 19:58:52,619 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/1/.semver 19:58:52 2023-03-23 19:58:52,620 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/1/.semver 19:58:52 2023-03-23 19:58:52,620 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/edgex-go.git', '/w/workspace/edgex-go/1/.semver'], cwd=/w/workspace/edgex-go/1, universal_newlines=False, shell=None, istream=None) 19:58:57 2023-03-23 19:58:57,130 [append_file] DEBUG append to file:/w/workspace/edgex-go/1/.git/info/exclude 19:58:57 2023-03-23 19:58:57,131 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/1/.semver/PR-4477 with force:False 19:58:57 2023-03-23 19:58:57,131 [write_file] DEBUG write to file:/w/workspace/edgex-go/1/.semver/PR-4477 19:58:57 2023-03-23 19:58:57,136 [execute] INFO git cat-file --batch-check 19:58:57 2023-03-23 19:58:57,136 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 19:58:57 2023-03-23 19:58:57,143 [execute] INFO git cat-file --batch 19:58:57 2023-03-23 19:58:57,143 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 19:58:57 2023-03-23 19:58:57,148 [read_version] DEBUG read version from /w/workspace/edgex-go/1/.semver/PR-4477 19:58:57 0.0.0 [Pipeline] } 19:58:58 $ docker exec --env ******** --env ******** c213f459c9eabf7b2ff3d4e3cc3bc0dc6a8dfb7a755202ddbc2739478983c6e6 ssh-agent -k 19:58:58 unset SSH_AUTH_SOCK; 19:58:58 unset SSH_AGENT_PID; 19:58:58 echo Agent pid 76 killed; 19:58:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:58:58 + git semver [Pipeline] } 19:58:58 $ docker stop --time=1 c213f459c9eabf7b2ff3d4e3cc3bc0dc6a8dfb7a755202ddbc2739478983c6e6 19:59:00 $ docker rm -f --volumes c213f459c9eabf7b2ff3d4e3cc3bc0dc6a8dfb7a755202ddbc2739478983c6e6 [Pipeline] // withDockerContainer [Pipeline] sh 19:59:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:59:00 Stashed 1 file(s) [Pipeline] echo 19:59:00 [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 19:59:01 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo 19:59:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:59:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:59:01 ========================================================= 19:59:01 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 19:59:01 ========================================================= [Pipeline] fileExists [Pipeline] sh 19:59:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:59:01 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 19:59:01 63b65145d645: Pulling fs layer 19:59:01 a2d21d5440eb: Pulling fs layer 19:59:01 935e6c44a52c: Pulling fs layer 19:59:01 94cc34f8dd06: Pulling fs layer 19:59:01 30dea6a524f1: Pulling fs layer 19:59:01 a2aff8979fd8: Pulling fs layer 19:59:01 6808be2612f2: Pulling fs layer 19:59:01 f25807f1079a: Pulling fs layer 19:59:01 94cc34f8dd06: Waiting 19:59:01 30dea6a524f1: Waiting 19:59:01 a2aff8979fd8: Waiting 19:59:01 6808be2612f2: Waiting 19:59:01 f25807f1079a: Waiting 19:59:01 a2d21d5440eb: Download complete 19:59:01 94cc34f8dd06: Verifying Checksum 19:59:01 94cc34f8dd06: Download complete 19:59:01 30dea6a524f1: Verifying Checksum 19:59:01 30dea6a524f1: Download complete 19:59:01 63b65145d645: Download complete 19:59:02 a2aff8979fd8: Verifying Checksum 19:59:02 a2aff8979fd8: Download complete 19:59:02 63b65145d645: Pull complete 19:59:02 a2d21d5440eb: Pull complete 19:59:02 f25807f1079a: Verifying Checksum 19:59:02 f25807f1079a: Download complete 19:59:02 935e6c44a52c: Verifying Checksum 19:59:02 935e6c44a52c: Download complete 19:59:02 6808be2612f2: Verifying Checksum 19:59:02 6808be2612f2: Download complete 19:59:05 935e6c44a52c: Pull complete 19:59:05 94cc34f8dd06: Pull complete 19:59:05 30dea6a524f1: Pull complete 19:59:05 a2aff8979fd8: Pull complete 19:59:08 6808be2612f2: Pull complete 19:59:08 f25807f1079a: Pull complete 19:59:08 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 19:59:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:59:08 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] fileExists [Pipeline] sh 19:59:09 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:59:09 WORKDIR /edgex 19:59:09 COPY go.mod . 19:59:09 RUN go mod download 19:59:09 + docker build -t ci-base-image-x86_64 -f - . 19:59:09 Sending build context to Docker daemon 170.5MB 19:59:09 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:59:09 ---> 3b553350e43f 19:59:09 Step 2/4 : WORKDIR /edgex 19:59:14 ---> Running in 1aa31f814532 19:59:14 Removing intermediate container 1aa31f814532 19:59:14 ---> 7a33dcfc5fa8 19:59:14 Step 3/4 : COPY go.mod . 19:59:14 ---> 33a0e55266e6 19:59:14 Step 4/4 : RUN go mod download 19:59:14 ---> Running in 0421eafed4ed 19:59:16 Still waiting to schedule task 19:59:16 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 19:59:28 Removing intermediate container 0421eafed4ed 19:59:28 ---> 5a28eec41bae 19:59:28 Successfully built 5a28eec41bae 19:59:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:59:29 + docker inspect -f . ci-base-image-x86_64 19:59:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:59:29 prd-ubuntu20.04-docker-8c-8g-5604 does not seem to be running inside a container 19:59:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 ******** ci-base-image-x86_64 cat 19:59:29 $ docker top 1345d7563c2b6130f44c12c4e39fd53522efc03c3da5c80df1e2d96274622ce7 -eo pid,comm [Pipeline] { [Pipeline] sh 19:59:30 + go version 19:59:30 go version go1.20.2 linux/amd64 [Pipeline] } 19:59:30 $ docker stop --time=1 1345d7563c2b6130f44c12c4e39fd53522efc03c3da5c80df1e2d96274622ce7 19:59:31 $ docker rm -f --volumes 1345d7563c2b6130f44c12c4e39fd53522efc03c3da5c80df1e2d96274622ce7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:59:32 + docker inspect -f . ci-base-image-x86_64 19:59:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:59:32 prd-ubuntu20.04-docker-8c-8g-5604 does not seem to be running inside a container 19:59:32 $ 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/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 ******** ci-base-image-x86_64 cat 19:59:32 $ docker top c5f70cc5d81ea83ddc93d275440a0160448de679a4a787f47f7deffc2fa8f9ad -eo pid,comm [Pipeline] { [Pipeline] echo 19:59:32 ========================================================= 19:59:32 [edgeXBuildGoParallel] Running Tests and Build... 19:59:32 ========================================================= [Pipeline] sh 19:59:33 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh 19:59:33 + make test 19:59:33 go test -race -coverprofile=coverage.out ./... 19:59:40 ? github.com/edgexfoundry/edgex-go [no test files] 19:59:52 # github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 19:59:52 internal/pkg/infrastructure/redis/provisionwatcher.go:42:74: pw.ServiceName undefined (type models.ProvisionWatcher has no field or method ServiceName) 19:59:52 internal/pkg/infrastructure/redis/provisionwatcher.go:43:74: pw.ProfileName undefined (type models.ProvisionWatcher has no field or method ProfileName) 19:59:52 internal/pkg/infrastructure/redis/provisionwatcher.go:69:53: pw.ServiceName undefined (type models.ProvisionWatcher has no field or method ServiceName) 19:59:52 internal/pkg/infrastructure/redis/provisionwatcher.go:73:140: pw.ServiceName undefined (type models.ProvisionWatcher has no field or method ServiceName) 19:59:52 internal/pkg/infrastructure/redis/provisionwatcher.go:75:54: pw.ProfileName undefined (type models.ProvisionWatcher has no field or method ProfileName) 19:59:52 internal/pkg/infrastructure/redis/provisionwatcher.go:79:140: pw.ProfileName undefined (type models.ProvisionWatcher has no field or method ProfileName) 19:59:52 internal/pkg/infrastructure/redis/provisionwatcher.go:198:74: pw.ServiceName undefined (type models.ProvisionWatcher has no field or method ServiceName) 19:59:52 internal/pkg/infrastructure/redis/provisionwatcher.go:199:74: pw.ProfileName undefined (type models.ProvisionWatcher has no field or method ProfileName) 19:59:52 internal/pkg/infrastructure/redis/provisionwatcher.go:219:54: pw.ServiceName undefined (type models.ProvisionWatcher has no field or method ServiceName) 19:59:52 internal/pkg/infrastructure/redis/provisionwatcher.go:221:116: pw.ServiceName undefined (type models.ProvisionWatcher has no field or method ServiceName) 19:59:52 internal/pkg/infrastructure/redis/provisionwatcher.go:221:116: too many errors 19:59:52 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 19:59:52 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 19:59:52 # github.com/edgexfoundry/edgex-go/internal/core/metadata/application 19:59:52 internal/core/metadata/application/notify.go:116:21: pw.ProfileName undefined (type dtos.ProvisionWatcher has no field or method ProfileName) 19:59:52 internal/core/metadata/application/provisionwatcher.go:41:96: pw.ServiceName undefined (type models.ProvisionWatcher has no field or method ServiceName) 19:59:52 internal/core/metadata/application/provisionwatcher.go:134:99: pw.ServiceName undefined (type models.ProvisionWatcher has no field or method ServiceName) 19:59:52 internal/core/metadata/application/provisionwatcher.go:150:9: dto.ServiceName undefined (type dtos.UpdateProvisionWatcher has no field or method ServiceName) 19:59:52 internal/core/metadata/application/provisionwatcher.go:150:54: pw.ServiceName undefined (type models.ProvisionWatcher has no field or method ServiceName) 19:59:52 internal/core/metadata/application/provisionwatcher.go:151:23: pw.ServiceName undefined (type models.ProvisionWatcher has no field or method ServiceName) 19:59:52 internal/core/metadata/application/provisionwatcher.go:166:99: pw.ServiceName undefined (type models.ProvisionWatcher has no field or method ServiceName) 19:59:53 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 19:59:53 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 19:59:53 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 19:59:53 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-auth [no test files] 19:59:53 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 19:59:54 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 19:59:54 ? github.com/edgexfoundry/edgex-go/internal [no test files] 19:59:54 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 19:59:55 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 19:59:55 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 19:59:55 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.047s coverage: 28.7% of statements 19:59:57 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.069s coverage: 98.5% of statements 20:00:01 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 3.074s coverage: 71.3% of statements 20:00:01 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 20:00:01 ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] 20:00:03 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 20:00:03 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 20:00:03 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.065s coverage: 54.0% of statements 20:00:04 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 20:00:04 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 20:00:04 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 20:00:04 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 20:00:04 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 20:00:04 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 20:00:04 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 20:00:04 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 20:00:04 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 20:00:05 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 20:00:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 20:00:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 20:00:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 20:00:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 20:00:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 20:00:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 20:00:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 20:00:07 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 2.635s coverage: 88.5% of statements 20:00:07 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/application [build failed] 20:00:07 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http [build failed] 20:00:07 ok github.com/edgexfoundry/edgex-go/internal/io 0.049s coverage: 72.2% of statements 20:00:07 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.058s coverage: 65.9% of statements 20:00:07 FAIL github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis [build failed] 20:00:07 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 20:00:07 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.045s coverage: 29.0% of statements 20:00:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.059s coverage: 44.1% of statements 20:00:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.042s coverage: 82.9% of statements 20:00:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.054s coverage: 94.1% of statements 20:00:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.074s coverage: 96.3% of statements 20:00:08 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.050s coverage: 87.5% of statements 20:00:09 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 20:00:09 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 20:00:09 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 20:00:09 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 20:00:09 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 20:00:09 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 20:00:09 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 20:00:09 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 20:00:10 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 20:00:10 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 20:00:10 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 20:00:10 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 20:00:11 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 20:00:11 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 20:00:11 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 20:00:12 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] 20:00:12 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 20:00:14 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 20:00:14 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 20:00:15 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth [no test files] 20:00:15 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] 20:00:15 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] 20:00:16 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 20:00:16 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 20:00:17 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 20:00:17 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 20:00:17 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 20:00:17 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 20:00:18 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 20:00:18 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 20:00:18 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 20:00:18 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 20:00:19 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.059s coverage: 94.4% of statements 20:00:20 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 20:00:20 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 20:00:20 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 20:00:21 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 20:00:21 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 20:00:21 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 20:00:21 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 20:00:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 23.263s coverage: 79.9% of statements 20:00:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 20.069s coverage: 92.9% of statements 20:00:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.026s coverage: 64.4% of statements 20:00:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.061s coverage: 86.9% of statements 20:00:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.062s coverage: 87.2% of statements 20:00:33 ok github.com/edgexfoundry/edgex-go/internal/security/common 0.049s coverage: 20.0% of statements 20:00:33 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.050s coverage: 100.0% of statements 20:00:33 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.093s coverage: 81.2% of statements 20:00:33 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.082s coverage: 82.1% of statements 20:00:33 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.040s coverage: 86.0% of statements 20:00:33 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.170s coverage: 63.1% of statements 20:00:33 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.051s coverage: 100.0% of statements 20:00:33 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.038s coverage: 89.4% of statements 20:00:33 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.028s coverage: 100.0% of statements 20:00:33 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.039s coverage: 73.7% of statements 20:00:33 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.028s coverage: 100.0% of statements 20:00:33 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.172s coverage: 38.4% of statements 20:00:33 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.056s coverage: 89.5% of statements 20:00:33 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.049s coverage: 84.8% of statements 20:00:33 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.072s coverage: 17.7% of statements 20:00:33 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.096s coverage: 92.3% of statements 20:00:33 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.060s coverage: 61.5% of statements 20:00:33 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.080s coverage: 97.7% of statements 20:00:33 FAIL 20:00:33 make: *** [Makefile:148: unittest] Error 1 [Pipeline] } 20:00:33 $ docker stop --time=1 c5f70cc5d81ea83ddc93d275440a0160448de679a4a787f47f7deffc2fa8f9ad 20:00:35 $ docker rm -f --volumes c5f70cc5d81ea83ddc93d275440a0160448de679a4a787f47f7deffc2fa8f9ad [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] } 20:00:36 Failed in branch amd64 20:00:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5605 in /w/workspace/edgexfoundry_edgex-go_PR-4477 [Pipeline] { [Pipeline] ws 20:00:45 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout 20:00:45 The recommended git tool is: git 20:00:50 using credential edgex-jenkins-ssh 20:00:51 Cloning the remote Git repository 20:00:51 Cloning repository git@github.com:edgexfoundry/edgex-go.git 20:00:51 > git init /w/workspace/edgex-go/1 # timeout=10 20:00:51 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 20:00:51 > git --version # timeout=10 20:00:51 > git --version # 'git version 2.25.1' 20:00:51 using GIT_SSH to set credentials SSH Credentials for GitHub 20:00:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:01:06 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 20:01:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:01:07 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 20:01:07 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 20:01:07 using GIT_SSH to set credentials SSH Credentials for GitHub 20:01:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4477/head:refs/remotes/origin/PR-4477 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:01:08 Merging remotes/origin/main commit 56c53f3e882f752e6ce34fe0da5648cfe47c3186 into PR head commit 8bd105a74479323619d2ca64f33141a039e8ce73 20:01:08 Merge succeeded, producing 8bd105a74479323619d2ca64f33141a039e8ce73 20:01:08 Checking out Revision 8bd105a74479323619d2ca64f33141a039e8ce73 (PR-4477) 20:01:09 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" 20:01:09 > git --version # timeout=10 20:01:09 > git --version # 'git version 2.25.1' 20:01:09 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:01:08 > git config core.sparsecheckout # timeout=10 20:01:08 > git checkout -f 8bd105a74479323619d2ca64f33141a039e8ce73 # timeout=10 20:01:08 > git remote # timeout=10 20:01:08 > git config --get remote.origin.url # timeout=10 20:01:08 using GIT_SSH to set credentials SSH Credentials for GitHub 20:01:08 > git merge 56c53f3e882f752e6ce34fe0da5648cfe47c3186 # timeout=10 20:01:08 > git rev-parse HEAD^{commit} # timeout=10 20:01:08 > git config core.sparsecheckout # timeout=10 20:01:08 > git checkout -f 8bd105a74479323619d2ca64f33141a039e8ce73 # timeout=10 20:01:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:01:10 % Total % Received % Xferd Average Speed Time Time Time Current 20:01:10 Dload Upload Total Spent Left Speed 20:01:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 78709 0 --:--:-- --:--:-- --:--:-- 78709 [Pipeline] sh 20:01:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:01:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:01:11 + sudo tee /etc/docker/daemon.new 20:01:11 { 20:01:11 "registry-mirrors": [ 20:01:11 "https://nexus3.edgexfoundry.org:10001" 20:01:11 ], 20:01:11 "bip": "10.250.0.254/24", 20:01:11 "hosts": [ 20:01:11 "tcp://0.0.0.0:5555", 20:01:11 "unix:///var/run/docker.sock" 20:01:11 ], 20:01:11 "mtu": 1458, 20:01:11 "selinux-enabled": true, 20:01:11 "seccomp-profile": "/etc/docker/seccomp.json" 20:01:11 } [Pipeline] sh 20:01:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:01:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:01:30 provisioning config files... 20:01:30 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config11525040868560273589tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:01:30 ---> docker-login.sh 20:01:30 nexus3.edgexfoundry.org:10001 20:01:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:01:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:01:31 Configure a credential helper to remove this warning. See 20:01:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:01:31 20:01:31 Login Succeeded 20:01:31 nexus3.edgexfoundry.org:10002 20:01:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:01:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:01:31 Configure a credential helper to remove this warning. See 20:01:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:01:31 20:01:31 Login Succeeded 20:01:31 nexus3.edgexfoundry.org:10003 20:01:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:01:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:01:32 Configure a credential helper to remove this warning. See 20:01:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:01:32 20:01:32 Login Succeeded 20:01:32 nexus3.edgexfoundry.org:10004 20:01:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:01:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:01:32 Configure a credential helper to remove this warning. See 20:01:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:01:32 20:01:32 Login Succeeded 20:01:32 docker.io 20:01:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:01:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:01:32 Configure a credential helper to remove this warning. See 20:01:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:01:32 20:01:32 Login Succeeded 20:01:32 ---> docker-login.sh ends [Pipeline] } 20:01:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh 20:01:33 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo 20:01:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:01:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:01:33 ========================================================= 20:01:33 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:01:33 ========================================================= [Pipeline] fileExists [Pipeline] sh 20:01:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:01:34 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:01:34 af6eaf76a39c: Pulling fs layer 20:01:34 55522c791124: Pulling fs layer 20:01:34 ce5c4a1c91eb: Pulling fs layer 20:01:34 169dfbe0d373: Pulling fs layer 20:01:34 e1ff8fa3b103: Pulling fs layer 20:01:34 169dfbe0d373: Waiting 20:01:34 52ebb69f0ebf: Pulling fs layer 20:01:34 e1ff8fa3b103: Waiting 20:01:34 52ebb69f0ebf: Waiting 20:01:34 5abe8eddf0d5: Pulling fs layer 20:01:34 5abe8eddf0d5: Waiting 20:01:34 55522c791124: Download complete 20:01:34 169dfbe0d373: Verifying Checksum 20:01:34 169dfbe0d373: Download complete 20:01:34 e1ff8fa3b103: Download complete 20:01:34 af6eaf76a39c: Verifying Checksum 20:01:35 af6eaf76a39c: Pull complete 20:01:35 5abe8eddf0d5: Verifying Checksum 20:01:35 5abe8eddf0d5: Download complete 20:01:35 55522c791124: Pull complete 20:01:36 ce5c4a1c91eb: Verifying Checksum 20:01:36 ce5c4a1c91eb: Download complete 20:01:37 52ebb69f0ebf: Verifying Checksum 20:01:37 52ebb69f0ebf: Download complete 20:01:49 ce5c4a1c91eb: Pull complete 20:01:49 169dfbe0d373: Pull complete 20:01:49 e1ff8fa3b103: Pull complete 20:01:54 52ebb69f0ebf: Pull complete 20:01:56 5abe8eddf0d5: Pull complete 20:01:56 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 20:01:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:01:56 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] fileExists [Pipeline] sh 20:01:56 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:01:56 WORKDIR /edgex 20:01:56 COPY go.mod . 20:01:56 RUN go mod download 20:01:56 + docker build -t ci-base-image-arm64 -f - . 20:01:57 Sending build context to Docker daemon 2.932MB 20:01:57 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:01:57 ---> 6cb57ee374ae 20:01:57 Step 2/4 : WORKDIR /edgex 20:01:59 ---> Running in bd9b697405ee 20:01:59 Removing intermediate container bd9b697405ee 20:01:59 ---> 463cf66c0384 20:01:59 Step 3/4 : COPY go.mod . 20:01:59 ---> cd0b644defb3 20:01:59 Step 4/4 : RUN go mod download 20:01:59 ---> Running in d10424841dd3 20:02:26 Removing intermediate container d10424841dd3 20:02:26 ---> 68f8e627191d 20:02:26 Successfully built 68f8e627191d 20:02:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:02:26 + docker inspect -f . ci-base-image-arm64 20:02:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:02:26 prd-ubuntu20.04-docker-arm64-4c-16g-5605 does not seem to be running inside a container 20:02:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 ******** ci-base-image-arm64 cat 20:02:28 $ docker top 80aa8a3fe9f0e95a9a0ae7272d624b0b7ec0e1fbf9c5ce053262f2e2f5b92947 -eo pid,comm [Pipeline] { [Pipeline] sh 20:02:28 + go version 20:02:28 go version go1.20.2 linux/arm64 [Pipeline] } 20:02:28 $ docker stop --time=1 80aa8a3fe9f0e95a9a0ae7272d624b0b7ec0e1fbf9c5ce053262f2e2f5b92947 20:02:30 $ docker rm -f --volumes 80aa8a3fe9f0e95a9a0ae7272d624b0b7ec0e1fbf9c5ce053262f2e2f5b92947 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:02:31 + docker inspect -f . ci-base-image-arm64 20:02:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:02:31 prd-ubuntu20.04-docker-arm64-4c-16g-5605 does not seem to be running inside a container 20:02:31 $ 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/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 ******** ci-base-image-arm64 cat 20:02:35 $ docker top 5df1a6a1505d0711e0c7770fb3aad9d21f2a9dba963e8aea5a64b7044283b665 -eo pid,comm [Pipeline] { [Pipeline] echo 20:02:35 ========================================================= 20:02:35 [edgeXBuildGoParallel] Running Tests and Build... 20:02:35 ========================================================= [Pipeline] sh 20:02:36 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh 20:02:36 + make test 20:02:36 go test -race -coverprofile=coverage.out ./... 20:03:15 ? github.com/edgexfoundry/edgex-go [no test files] 20:05:07 # github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 20:05:07 internal/pkg/infrastructure/redis/provisionwatcher.go:42:74: pw.ServiceName undefined (type models.ProvisionWatcher has no field or method ServiceName) 20:05:07 internal/pkg/infrastructure/redis/provisionwatcher.go:43:74: pw.ProfileName undefined (type models.ProvisionWatcher has no field or method ProfileName) 20:05:07 internal/pkg/infrastructure/redis/provisionwatcher.go:69:53: pw.ServiceName undefined (type models.ProvisionWatcher has no field or method ServiceName) 20:05:07 internal/pkg/infrastructure/redis/provisionwatcher.go:73:140: pw.ServiceName undefined (type models.ProvisionWatcher has no field or method ServiceName) 20:05:07 internal/pkg/infrastructure/redis/provisionwatcher.go:75:54: pw.ProfileName undefined (type models.ProvisionWatcher has no field or method ProfileName) 20:05:07 internal/pkg/infrastructure/redis/provisionwatcher.go:79:140: pw.ProfileName undefined (type models.ProvisionWatcher has no field or method ProfileName) 20:05:07 internal/pkg/infrastructure/redis/provisionwatcher.go:198:74: pw.ServiceName undefined (type models.ProvisionWatcher has no field or method ServiceName) 20:05:07 internal/pkg/infrastructure/redis/provisionwatcher.go:199:74: pw.ProfileName undefined (type models.ProvisionWatcher has no field or method ProfileName) 20:05:07 internal/pkg/infrastructure/redis/provisionwatcher.go:219:54: pw.ServiceName undefined (type models.ProvisionWatcher has no field or method ServiceName) 20:05:07 internal/pkg/infrastructure/redis/provisionwatcher.go:221:116: pw.ServiceName undefined (type models.ProvisionWatcher has no field or method ServiceName) 20:05:07 internal/pkg/infrastructure/redis/provisionwatcher.go:221:116: too many errors 20:05:07 # github.com/edgexfoundry/edgex-go/internal/core/metadata/application 20:05:07 internal/core/metadata/application/notify.go:116:21: pw.ProfileName undefined (type dtos.ProvisionWatcher has no field or method ProfileName) 20:05:07 internal/core/metadata/application/provisionwatcher.go:41:96: pw.ServiceName undefined (type models.ProvisionWatcher has no field or method ServiceName) 20:05:07 internal/core/metadata/application/provisionwatcher.go:134:99: pw.ServiceName undefined (type models.ProvisionWatcher has no field or method ServiceName) 20:05:07 internal/core/metadata/application/provisionwatcher.go:150:9: dto.ServiceName undefined (type dtos.UpdateProvisionWatcher has no field or method ServiceName) 20:05:07 internal/core/metadata/application/provisionwatcher.go:150:54: pw.ServiceName undefined (type models.ProvisionWatcher has no field or method ServiceName) 20:05:07 internal/core/metadata/application/provisionwatcher.go:151:23: pw.ServiceName undefined (type models.ProvisionWatcher has no field or method ServiceName) 20:05:07 internal/core/metadata/application/provisionwatcher.go:166:99: pw.ServiceName undefined (type models.ProvisionWatcher has no field or method ServiceName) 20:05:07 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 20:05:07 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 20:05:07 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 20:05:07 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 20:05:07 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 20:05:07 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-auth [no test files] 20:05:07 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 20:05:07 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 20:05:07 ? github.com/edgexfoundry/edgex-go/internal [no test files] 20:05:07 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 20:05:19 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 20:05:19 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 20:05:19 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.457s coverage: 28.7% of statements 20:05:29 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.307s coverage: 98.5% of statements 20:05:34 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 20:05:34 ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] 20:05:37 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 3.439s coverage: 71.3% of statements 20:05:40 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 20:05:40 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 20:05:40 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.333s coverage: 54.0% of statements 20:05:45 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 20:05:45 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 20:05:45 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 20:05:45 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 20:05:45 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 20:05:45 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 20:05:47 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 20:05:47 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 20:05:47 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 20:05:50 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 20:05:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 20:05:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 20:05:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 20:05:57 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 11.232s coverage: 88.5% of statements 20:05:57 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/application [build failed] 20:05:57 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http [build failed] 20:05:57 ok github.com/edgexfoundry/edgex-go/internal/io 0.340s coverage: 72.2% of statements 20:05:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 20:05:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 20:05:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 20:05:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 20:05:57 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.374s coverage: 65.9% of statements 20:05:57 FAIL github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis [build failed] 20:06:01 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 20:06:01 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.584s coverage: 29.0% of statements 20:06:05 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.408s coverage: 44.1% of statements 20:06:05 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.616s coverage: 82.9% of statements 20:06:05 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.380s coverage: 94.1% of statements 20:06:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.396s coverage: 96.3% of statements 20:06:10 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.246s coverage: 87.5% of statements 20:06:14 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 20:06:14 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 20:06:14 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 20:06:14 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 20:06:16 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 20:06:16 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 20:06:16 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 20:06:16 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 20:06:23 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.311s coverage: 94.4% of statements 20:06:23 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 20:06:23 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 20:06:23 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 20:06:23 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 20:06:28 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 20:06:28 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 20:06:30 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 20:06:38 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 24.103s coverage: 79.9% of statements 20:06:38 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 23.305s coverage: 92.9% of statements 20:06:38 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.081s coverage: 64.4% of statements 20:06:38 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.240s coverage: 86.9% of statements 20:06:38 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.203s coverage: 87.2% of statements 20:06:38 ok github.com/edgexfoundry/edgex-go/internal/security/common 0.173s coverage: 20.0% of statements 20:06:38 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.174s coverage: 100.0% of statements 20:06:38 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.485s coverage: 81.2% of statements 20:06:39 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] 20:06:39 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.486s coverage: 82.1% of statements 20:06:40 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 20:06:40 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.218s coverage: 86.0% of statements 20:06:45 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 20:06:45 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 20:06:46 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.022s coverage: 63.1% of statements 20:06:46 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.256s coverage: 100.0% of statements 20:06:48 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.124s coverage: 89.4% of statements 20:06:48 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.088s coverage: 100.0% of statements 20:06:48 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.087s coverage: 73.7% of statements 20:06:48 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth [no test files] 20:06:48 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] 20:06:48 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] 20:06:48 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.076s coverage: 100.0% of statements 20:06:56 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 20:06:56 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 20:06:56 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 20:06:56 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.985s coverage: 38.4% of statements 20:06:56 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.256s coverage: 89.5% of statements 20:07:01 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 20:07:01 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 20:07:01 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 20:07:01 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.207s coverage: 84.8% of statements 20:07:08 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 20:07:08 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 20:07:08 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 20:07:08 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 20:07:13 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.275s coverage: 17.7% of statements 20:07:13 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 20:07:13 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 20:07:13 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 20:07:14 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.578s coverage: 92.3% of statements 20:07:18 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 20:07:18 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 20:07:18 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.307s coverage: 61.5% of statements 20:07:20 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 20:07:20 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 20:07:20 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.382s coverage: 97.7% of statements 20:07:20 FAIL 20:07:21 make: *** [Makefile:148: unittest] Error 1 [Pipeline] } 20:07:21 $ docker stop --time=1 5df1a6a1505d0711e0c7770fb3aad9d21f2a9dba963e8aea5a64b7044283b665 20:07:25 $ docker rm -f --volumes 5df1a6a1505d0711e0c7770fb3aad9d21f2a9dba963e8aea5a64b7044283b665 [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 20:07:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:07:27 20:07:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:07:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:07:28 arm64: Pulling from edgex-lftools-log-publisher 20:07:28 8998bd30e6a1: Pulling fs layer 20:07:28 04944245beec: Pulling fs layer 20:07:28 699f458cf7ca: Pulling fs layer 20:07:28 765212b225bb: Pulling fs layer 20:07:28 f23df028b6ca: Pulling fs layer 20:07:28 d65c8cfc05b1: Pulling fs layer 20:07:28 2437ff75d9bd: Pulling fs layer 20:07:28 765212b225bb: Waiting 20:07:28 f23df028b6ca: Waiting 20:07:28 d65c8cfc05b1: Waiting 20:07:28 2437ff75d9bd: Waiting 20:07:28 04944245beec: Verifying Checksum 20:07:28 04944245beec: Download complete 20:07:28 765212b225bb: Download complete 20:07:28 f23df028b6ca: Verifying Checksum 20:07:28 f23df028b6ca: Download complete 20:07:28 d65c8cfc05b1: Verifying Checksum 20:07:28 d65c8cfc05b1: Download complete 20:07:28 699f458cf7ca: Verifying Checksum 20:07:28 699f458cf7ca: Download complete 20:07:28 8998bd30e6a1: Verifying Checksum 20:07:28 8998bd30e6a1: Download complete 20:07:30 2437ff75d9bd: Verifying Checksum 20:07:30 2437ff75d9bd: Download complete 20:07:31 8998bd30e6a1: Pull complete 20:07:32 04944245beec: Pull complete 20:07:33 699f458cf7ca: Pull complete 20:07:33 765212b225bb: Pull complete 20:07:34 f23df028b6ca: Pull complete 20:07:34 d65c8cfc05b1: Pull complete 20:07:47 2437ff75d9bd: Pull complete 20:07:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:07:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:07:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:07:47 prd-ubuntu20.04-docker-arm64-4c-16g-5605 does not seem to be running inside a container 20:07:47 $ 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/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:07:49 $ docker top 887ef67681d18c430176f6e87e1791f09bcc8857650af25cb910b570525df240 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:07:50 ---> job-cost.sh 20:07:50 lf-activate-venv: SKIPPING 20:07:50 INFO: No Stack... 20:07:51 INFO: Retrieving Pricing Info for: v3-standard-4 20:07:52 INFO: Archiving Costs [Pipeline] sh 20:07:52 + cat /w/workspace/edgex-go/1/archives/cost.csv 20:07:52 + cut -d, -f6 [Pipeline] lock 20:07:52 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4477-1-stack-cost] 20:07:52 Resource [jenkins-edgexfoundry-edgex-go-PR-4477-1-stack-cost] did not exist. Created. 20:07:52 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4477-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:07:52 + echo total: 0.10999999940395355 [Pipeline] stash 20:07:53 Stashed 1 file(s) [Pipeline] } 20:07:53 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4477-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:07:53 $ docker stop --time=1 887ef67681d18c430176f6e87e1791f09bcc8857650af25cb910b570525df240 20:07:55 $ docker rm -f --volumes 887ef67681d18c430176f6e87e1791f09bcc8857650af25cb910b570525df240 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:07:55 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 20:07:57 + [ -d /w/workspace/edgex-go/1/archives ] [Pipeline] libraryResource [Pipeline] sh 20:07:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:07:58 ---> package-listing.sh 20:07:58 ++ facter osfamily 20:07:58 ++ tr '[:upper:]' '[:lower:]' 20:07:58 + OS_FAMILY=debian 20:07:58 + workspace=/w/workspace/edgex-go/1 20:07:58 + START_PACKAGES=/tmp/packages_start.txt 20:07:58 + END_PACKAGES=/tmp/packages_end.txt 20:07:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:07:58 + PACKAGES=/tmp/packages_start.txt 20:07:58 + '[' /w/workspace/edgex-go/1 ']' 20:07:58 + PACKAGES=/tmp/packages_end.txt 20:07:58 + case "${OS_FAMILY}" in 20:07:58 + dpkg -l 20:07:58 + grep '^ii' 20:07:58 + '[' -f /tmp/packages_start.txt ']' 20:07:58 + '[' -f /tmp/packages_end.txt ']' 20:07:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:07:58 + '[' /w/workspace/edgex-go/1 ']' 20:07:58 + mkdir -p /w/workspace/edgex-go/1/archives/ 20:07:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 20:07:58 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/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:07:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:07:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:07:59 20:07:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:08:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:08:00 latest: Pulling from edgex-lftools-log-publisher 20:08:00 5eb5b503b376: Pulling fs layer 20:08:00 5c69ac0246d0: Pulling fs layer 20:08:00 ec43610c2a17: Pulling fs layer 20:08:00 3a2ae6a8a46f: Pulling fs layer 20:08:00 33b1e0a273af: Pulling fs layer 20:08:00 5d3b04190fa2: Pulling fs layer 20:08:00 2f39f015ded8: Pulling fs layer 20:08:00 33b1e0a273af: Waiting 20:08:00 5d3b04190fa2: Waiting 20:08:00 2f39f015ded8: Waiting 20:08:00 3a2ae6a8a46f: Waiting 20:08:00 5c69ac0246d0: Verifying Checksum 20:08:00 5c69ac0246d0: Download complete 20:08:00 3a2ae6a8a46f: Download complete 20:08:00 33b1e0a273af: Verifying Checksum 20:08:00 33b1e0a273af: Download complete 20:08:00 5d3b04190fa2: Verifying Checksum 20:08:00 5d3b04190fa2: Download complete 20:08:00 ec43610c2a17: Verifying Checksum 20:08:00 ec43610c2a17: Download complete 20:08:00 5eb5b503b376: Verifying Checksum 20:08:00 5eb5b503b376: Download complete 20:08:00 2f39f015ded8: Download complete 20:08:01 5eb5b503b376: Pull complete 20:08:01 5c69ac0246d0: Pull complete 20:08:01 ec43610c2a17: Pull complete 20:08:01 3a2ae6a8a46f: Pull complete 20:08:02 33b1e0a273af: Pull complete 20:08:02 5d3b04190fa2: Pull complete 20:08:06 2f39f015ded8: Pull complete 20:08:06 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:08:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:08:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:08:06 prd-ubuntu20.04-docker-8c-8g-5604 does not seem to be running inside a container 20:08:06 $ 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/1/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/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:08:09 $ docker top ab02706047eda2b93f2623d8d2edbad99404564188f47d8685c0d36af1181c6c -eo pid,comm [Pipeline] { [Pipeline] sh 20:08:10 + touch /tmp/pre-build-complete [Pipeline] sh 20:08:10 + mkdir -p /var/log/sysstat [Pipeline] sh 20:08:10 + ls /var/log/sa-host 20:08:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:08:11 provisioning config files... 20:08:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config2699098624426087775tmp [Pipeline] { [Pipeline] echo 20:08:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:08:11 ---> create-netrc.sh [Pipeline] } 20:08:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:08:11 ---> python-tools-install.sh [Pipeline] echo 20:08:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:08:12 ---> sudo-logs.sh 20:08:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:08:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:08:12 ---> job-cost.sh 20:08:12 lf-activate-venv: SKIPPING 20:08:12 DEBUG: total: 0.10999999940395355 20:08:12 INFO: Retrieving Stack Cost... 20:08:13 INFO: Retrieving Pricing Info for: v3-standard-8 20:08:13 INFO: Archiving Costs [Pipeline] echo 20:08:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:08:13 ---> logs-deploy.sh 20:08:13 lf-activate-venv: SKIPPING 20:08:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4477/1 20:08:13 INFO: archiving workspace using pattern(s): 20:08:14 Archives upload complete. 20:08:14 INFO: archiving logs to Nexus 20:08:15 ---> uname -a: 20:08:15 Linux prd-ubuntu20-04-docker-8c-8g-5604 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 20:08:15 20:08:15 20:08:15 ---> lscpu: 20:08:15 Architecture: x86_64 20:08:15 CPU op-mode(s): 32-bit, 64-bit 20:08:15 Byte Order: Little Endian 20:08:15 Address sizes: 40 bits physical, 48 bits virtual 20:08:15 CPU(s): 8 20:08:15 On-line CPU(s) list: 0-7 20:08:15 Thread(s) per core: 1 20:08:15 Core(s) per socket: 1 20:08:15 Socket(s): 8 20:08:15 NUMA node(s): 1 20:08:15 Vendor ID: AuthenticAMD 20:08:15 CPU family: 23 20:08:15 Model: 49 20:08:15 Model name: AMD EPYC-Rome Processor 20:08:15 Stepping: 0 20:08:15 CPU MHz: 2799.996 20:08:15 BogoMIPS: 5599.99 20:08:15 Virtualization: AMD-V 20:08:15 Hypervisor vendor: KVM 20:08:15 Virtualization type: full 20:08:15 L1d cache: 256 KiB 20:08:15 L1i cache: 256 KiB 20:08:15 L2 cache: 4 MiB 20:08:15 L3 cache: 128 MiB 20:08:15 NUMA node0 CPU(s): 0-7 20:08:15 Vulnerability Itlb multihit: Not affected 20:08:15 Vulnerability L1tf: Not affected 20:08:15 Vulnerability Mds: Not affected 20:08:15 Vulnerability Meltdown: Not affected 20:08:15 Vulnerability Mmio stale data: Not affected 20:08:15 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:08:15 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 20:08:15 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 20:08:15 Vulnerability Srbds: Not affected 20:08:15 Vulnerability Tsx async abort: Not affected 20:08:15 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 20:08:15 20:08:15