Pull request #4674 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/edgex-go Loading trusted files from base branch main at 2bac5d16a43a6729031be1bb569bb56c5aedbab0 rather than 45fb286d584edd759d66b4935ed1bf7011e6f15e Obtained Jenkinsfile from 2bac5d16a43a6729031be1bb569bb56c5aedbab0 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-ssh14528150445012914650.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh9819888464309603135.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-4674/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-4674/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17177926282235032072.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-4674/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4035027483212096926.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh4075288187882041606.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-4674/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-4674/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh835027324506610582.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-5535 in /w/workspace/edgexfoundry_edgex-go_PR-4674 [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 Merging remotes/origin/main commit 2bac5d16a43a6729031be1bb569bb56c5aedbab0 into PR head commit 45fb286d584edd759d66b4935ed1bf7011e6f15e Merge succeeded, producing 45fb286d584edd759d66b4935ed1bf7011e6f15e Checking out Revision 45fb286d584edd759d66b4935ed1bf7011e6f15e (PR-4674) > 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/4674/head:refs/remotes/origin/PR-4674 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 45fb286d584edd759d66b4935ed1bf7011e6f15e # 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 2bac5d16a43a6729031be1bb569bb56c5aedbab0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 45fb286d584edd759d66b4935ed1bf7011e6f15e # timeout=10 Commit message: "feat!: Allow name field escape configurable" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:48:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:48:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:48:24 ========================================================= 07:48:24 EdgeX Global Pipelines Version Info 07:48:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:48:25 ------------------- 07:48:25 stable info: 07:48:25 ------------------- 07:48:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:48:25 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 07:48:25 Message: update stable to v1.0.253 07:48:25 ------------------- 07:48:25 experimental info: 07:48:25 ------------------- 07:48:25 Commited By: **** collab-it+edgex@linuxfoundation.org 07:48:25 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 07:48:25 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:48:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 07:48:26 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 07:48:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:48:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:48:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:48:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 07:48:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:48:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 07:48:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 07:48:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 07:48:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:48:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:48:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:48:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:48:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:48:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:48:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:48:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:48:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:48:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 07:48:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:48:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:48:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:48:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4674 [Pipeline] echo 07:48:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4674 [Pipeline] echo 07:48:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4674 [Pipeline] echo 07:48:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 45fb286d584edd759d66b4935ed1bf7011e6f15e [Pipeline] echo 07:48:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 45fb286 [Pipeline] echo 07:48:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:48:27 provisioning config files... 07:48:27 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config13742473257006677843tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:48:27 ---> docker-login.sh 07:48:27 nexus3.edgexfoundry.org:10001 07:48:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:48:27 Configure a credential helper to remove this warning. See 07:48:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:48:27 07:48:27 Login Succeeded 07:48:27 nexus3.edgexfoundry.org:10002 07:48:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:48:28 Configure a credential helper to remove this warning. See 07:48:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:48:28 07:48:28 Login Succeeded 07:48:28 nexus3.edgexfoundry.org:10003 07:48:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:48:28 Configure a credential helper to remove this warning. See 07:48:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:48:28 07:48:28 Login Succeeded 07:48:28 nexus3.edgexfoundry.org:10004 07:48:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:48:28 Configure a credential helper to remove this warning. See 07:48:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:48:28 07:48:28 Login Succeeded 07:48:28 docker.io 07:48:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:48:28 Configure a credential helper to remove this warning. See 07:48:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:48:28 07:48:28 Login Succeeded 07:48:28 ---> docker-login.sh ends [Pipeline] } 07:48:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:48:29 + 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 07:48:29 + cut -d/ -f2 07:48:29 + dirname cmd/core-command/Dockerfile 07:48:29 + echo core-command,cmd/core-command/Dockerfile 07:48:29 + dirname cmd/core-common-config-bootstrapper/Dockerfile 07:48:29 + cut -d/ -f2 07:48:29 + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile 07:48:29 + + dirname cmd/core-data/Dockerfile 07:48:29 cut -d/ -f2 07:48:29 + echo core-data,cmd/core-data/Dockerfile 07:48:29 + dirname cmd/core-metadata/Dockerfile 07:48:29 + cut -d/ -f2 07:48:29 + echo core-metadata,cmd/core-metadata/Dockerfile 07:48:29 + dirname cmd/security-bootstrapper/Dockerfile 07:48:29 + cut -d/ -f2 07:48:29 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 07:48:29 + dirname cmd/security-proxy-auth/Dockerfile 07:48:29 + cut -d/ -f2 07:48:29 + echo security-proxy-auth,cmd/security-proxy-auth/Dockerfile 07:48:29 + dirname cmd/security-proxy-setup/Dockerfile 07:48:29 + cut -d/ -f2 07:48:29 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 07:48:29 + dirname cmd/security-secretstore-setup/Dockerfile 07:48:29 + cut -d/ -f2 07:48:29 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 07:48:29 + dirname cmd/security-spiffe-token-provider/Dockerfile 07:48:29 + cut -d/ -f2 07:48:29 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 07:48:29 + dirname cmd/security-spire-agent/Dockerfile 07:48:29 + cut -d/ -f2 07:48:29 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 07:48:29 + dirname cmd/security-spire-config/Dockerfile 07:48:29 + cut -d/ -f2 07:48:29 + echo security-spire-config,cmd/security-spire-config/Dockerfile 07:48:29 + dirname cmd/security-spire-server/Dockerfile 07:48:29 + cut -d/ -f2 07:48:29 + echo security-spire-server,cmd/security-spire-server/Dockerfile 07:48:29 + dirname cmd/support-notifications/Dockerfile 07:48:29 + cut -d/ -f2 07:48:29 + echo support-notifications,cmd/support-notifications/Dockerfile 07:48:29 + dirname cmd/support-scheduler/Dockerfile 07:48:29 + cut -d/ -f2 07:48:29 + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo 07:48:29 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 07:48:29 + git rev-list -1 --merges 45fb286d584edd759d66b4935ed1bf7011e6f15e~1..45fb286d584edd759d66b4935ed1bf7011e6f15e [Pipeline] echo 07:48:29 -----------> git rev-list -1 --merges 45fb286d584edd759d66b4935ed1bf7011e6f15e~1..45fb286d584edd759d66b4935ed1bf7011e6f15e 45fb286d584edd759d66b4935ed1bf7011e6f15e [false] [Pipeline] sh 07:48:30 + git log --format=format:%s -1 45fb286d584edd759d66b4935ed1bf7011e6f15e [Pipeline] echo 07:48:30 ========================================================= 07:48:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:48:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 07:48:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:48:30 + grep -v github /etc/ssh/ssh_known_hosts 07:48:30 + [ -e /tmp/ssh_known_hosts ] 07:48:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:48:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:48:30 + sudo tee -a /etc/ssh/ssh_known_hosts 07:48:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:48:31 07:48:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:48:31 0.1.4: Pulling from edgex-devops/py-git-semver 07:48:31 b85a868b505f: Pulling fs layer 07:48:31 e2be974225ed: Pulling fs layer 07:48:31 339a4e72a1f5: Pulling fs layer 07:48:31 988bab9f4d93: Pulling fs layer 07:48:31 1469e6f7b9e6: Pulling fs layer 07:48:31 eaf3925da568: Pulling fs layer 07:48:31 bab4dde63d76: Pulling fs layer 07:48:31 bde34c3a00c8: Pulling fs layer 07:48:31 b352a97aabf1: Pulling fs layer 07:48:31 4872d77fe225: Pulling fs layer 07:48:31 5851b861e8e6: Pulling fs layer 07:48:31 1469e6f7b9e6: Waiting 07:48:31 bde34c3a00c8: Waiting 07:48:31 b352a97aabf1: Waiting 07:48:31 4872d77fe225: Waiting 07:48:31 bab4dde63d76: Waiting 07:48:31 e2be974225ed: Verifying Checksum 07:48:31 e2be974225ed: Download complete 07:48:31 988bab9f4d93: Download complete 07:48:31 1469e6f7b9e6: Verifying Checksum 07:48:31 1469e6f7b9e6: Download complete 07:48:31 339a4e72a1f5: Verifying Checksum 07:48:31 339a4e72a1f5: Download complete 07:48:31 eaf3925da568: Download complete 07:48:31 bde34c3a00c8: Verifying Checksum 07:48:31 bde34c3a00c8: Download complete 07:48:31 b352a97aabf1: Verifying Checksum 07:48:31 b352a97aabf1: Download complete 07:48:31 4872d77fe225: Verifying Checksum 07:48:31 4872d77fe225: Download complete 07:48:31 5851b861e8e6: Download complete 07:48:31 b85a868b505f: Download complete 07:48:32 bab4dde63d76: Verifying Checksum 07:48:32 bab4dde63d76: Download complete 07:48:32 b85a868b505f: Pull complete 07:48:33 e2be974225ed: Pull complete 07:48:33 339a4e72a1f5: Pull complete 07:48:33 988bab9f4d93: Pull complete 07:48:34 1469e6f7b9e6: Pull complete 07:48:34 eaf3925da568: Pull complete 07:48:35 bab4dde63d76: Pull complete 07:48:35 bde34c3a00c8: Pull complete 07:48:36 b352a97aabf1: Pull complete 07:48:36 4872d77fe225: Pull complete 07:48:36 5851b861e8e6: Pull complete 07:48:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:48:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:48:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:48:36 prd-ubuntu20.04-docker-8c-8g-5535 does not seem to be running inside a container 07:48:36 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:48:38 $ docker top 002e415a6c3b42c983ff46a547b4a93aa65838d61e004a2d4ff534e9b573563d -eo pid,comm 07:48:38 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). 07:48:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:48:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:48:39 [ssh-agent] Looking for ssh-agent implementation... 07:48:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:48:39 $ docker exec 002e415a6c3b42c983ff46a547b4a93aa65838d61e004a2d4ff534e9b573563d ssh-agent 07:48:39 SSH_AUTH_SOCK=/tmp/ssh-gRkbJewunqlD/agent.33 07:48:39 SSH_AGENT_PID=39 07:48:39 Running ssh-add (command line suppressed) 07:48:39 Identity added: /w/workspace/edgex-go/1@tmp/private_key_7075189901881529401.key (/w/workspace/edgex-go/1@tmp/private_key_7075189901881529401.key) 07:48:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:48:39 + git tag --points-at HEAD [Pipeline] } 07:48:39 $ docker exec --env ******** --env ******** 002e415a6c3b42c983ff46a547b4a93aa65838d61e004a2d4ff534e9b573563d ssh-agent -k 07:48:39 unset SSH_AUTH_SOCK; 07:48:39 unset SSH_AGENT_PID; 07:48:39 echo Agent pid 39 killed; 07:48:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:48:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:48:39 [ssh-agent] Looking for ssh-agent implementation... 07:48:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:48:40 $ docker exec 002e415a6c3b42c983ff46a547b4a93aa65838d61e004a2d4ff534e9b573563d ssh-agent 07:48:40 SSH_AUTH_SOCK=/tmp/ssh-eulrwmOeko6n/agent.71 07:48:40 SSH_AGENT_PID=77 07:48:40 Running ssh-add (command line suppressed) 07:48:40 Identity added: /w/workspace/edgex-go/1@tmp/private_key_3463745161409870544.key (/w/workspace/edgex-go/1@tmp/private_key_3463745161409870544.key) 07:48:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:48:40 + git semver init 07:48:40 2023-09-07 07:48:40,705 [run_init] DEBUG init version:0.0.0 force:False 07:48:40 2023-09-07 07:48:40,706 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/1/.semver 07:48:40 2023-09-07 07:48:40,707 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/1/.semver 07:48:40 2023-09-07 07:48:40,707 [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) 07:48:46 2023-09-07 07:48:45,396 [append_file] DEBUG append to file:/w/workspace/edgex-go/1/.git/info/exclude 07:48:46 2023-09-07 07:48:45,397 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/1/.semver/PR-4674 with force:False 07:48:46 2023-09-07 07:48:45,397 [write_file] DEBUG write to file:/w/workspace/edgex-go/1/.semver/PR-4674 07:48:46 2023-09-07 07:48:45,400 [execute] INFO git cat-file --batch-check 07:48:46 2023-09-07 07:48:45,400 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 07:48:46 2023-09-07 07:48:45,406 [execute] INFO git cat-file --batch 07:48:46 2023-09-07 07:48:45,407 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 07:48:46 2023-09-07 07:48:45,413 [read_version] DEBUG read version from /w/workspace/edgex-go/1/.semver/PR-4674 07:48:46 0.0.0 [Pipeline] } 07:48:46 $ docker exec --env ******** --env ******** 002e415a6c3b42c983ff46a547b4a93aa65838d61e004a2d4ff534e9b573563d ssh-agent -k 07:48:46 unset SSH_AUTH_SOCK; 07:48:46 unset SSH_AGENT_PID; 07:48:46 echo Agent pid 77 killed; 07:48:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:48:46 + git semver [Pipeline] } 07:48:46 $ docker stop --time=1 002e415a6c3b42c983ff46a547b4a93aa65838d61e004a2d4ff534e9b573563d 07:48:48 $ docker rm -f --volumes 002e415a6c3b42c983ff46a547b4a93aa65838d61e004a2d4ff534e9b573563d [Pipeline] // withDockerContainer [Pipeline] sh 07:48:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:48:48 Stashed 1 file(s) [Pipeline] echo 07:48:48 [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 07:48:49 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo 07:48:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:48:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:48:49 ========================================================= 07:48:49 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 07:48:49 ========================================================= [Pipeline] fileExists [Pipeline] sh 07:48:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:48:50 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 07:48:50 4db1b89c0bd1: Pulling fs layer 07:48:50 6911f1a30b25: Pulling fs layer 07:48:50 e194b8c5c2a9: Pulling fs layer 07:48:50 6863d3e3a2b1: Pulling fs layer 07:48:50 ec0bb842ea78: Pulling fs layer 07:48:50 40a00589a448: Pulling fs layer 07:48:50 6c08303d61cc: Pulling fs layer 07:48:50 798269fcf238: Pulling fs layer 07:48:50 40a00589a448: Waiting 07:48:50 6c08303d61cc: Waiting 07:48:50 ec0bb842ea78: Waiting 07:48:50 6863d3e3a2b1: Waiting 07:48:50 6911f1a30b25: Verifying Checksum 07:48:50 6911f1a30b25: Download complete 07:48:50 6863d3e3a2b1: Download complete 07:48:50 ec0bb842ea78: Verifying Checksum 07:48:50 ec0bb842ea78: Download complete 07:48:50 4db1b89c0bd1: Verifying Checksum 07:48:50 4db1b89c0bd1: Download complete 07:48:50 40a00589a448: Verifying Checksum 07:48:50 40a00589a448: Download complete 07:48:50 4db1b89c0bd1: Pull complete 07:48:50 6911f1a30b25: Pull complete 07:48:50 798269fcf238: Verifying Checksum 07:48:50 798269fcf238: Download complete 07:48:50 e194b8c5c2a9: Verifying Checksum 07:48:50 e194b8c5c2a9: Download complete 07:48:50 6c08303d61cc: Verifying Checksum 07:48:50 6c08303d61cc: Download complete 07:48:55 e194b8c5c2a9: Pull complete 07:48:55 6863d3e3a2b1: Pull complete 07:48:55 ec0bb842ea78: Pull complete 07:48:55 40a00589a448: Pull complete 07:48:57 6c08303d61cc: Pull complete 07:48:57 798269fcf238: Pull complete 07:48:58 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 07:48:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:48:58 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] fileExists [Pipeline] sh 07:48:58 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:48:58 WORKDIR /edgex 07:48:58 COPY go.mod . 07:48:58 RUN go mod download 07:48:58 + docker build -t ci-base-image-x86_64 -f - . 07:48:59 Sending build context to Docker daemon 170.9MB 07:48:59 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:48:59 ---> ec979cd7f677 07:48:59 Step 2/4 : WORKDIR /edgex 07:49:03 ---> Running in 979300c0af5d 07:49:03 Removing intermediate container 979300c0af5d 07:49:03 ---> 0d6f3c141abf 07:49:03 Step 3/4 : COPY go.mod . 07:49:03 ---> 245d27d0cd55 07:49:03 Step 4/4 : RUN go mod download 07:49:03 ---> Running in 38e0e9ac4735 07:49:04 Still waiting to schedule task 07:49:04 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:49:21 Removing intermediate container 38e0e9ac4735 07:49:21 ---> aa5da9a3ced0 07:49:21 Successfully built aa5da9a3ced0 07:49:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:21 + docker inspect -f . ci-base-image-x86_64 07:49:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:49:21 prd-ubuntu20.04-docker-8c-8g-5535 does not seem to be running inside a container 07:49:22 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:49:22 $ docker top 43ecff026c757cdd805e002f8059e25b936e7bf0424751cc486375595adc146a -eo pid,comm [Pipeline] { [Pipeline] sh 07:49:22 + go version 07:49:22 go version go1.20.6 linux/amd64 [Pipeline] } 07:49:22 $ docker stop --time=1 43ecff026c757cdd805e002f8059e25b936e7bf0424751cc486375595adc146a 07:49:24 $ docker rm -f --volumes 43ecff026c757cdd805e002f8059e25b936e7bf0424751cc486375595adc146a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:24 + docker inspect -f . ci-base-image-x86_64 07:49:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:49:24 prd-ubuntu20.04-docker-8c-8g-5535 does not seem to be running inside a container 07:49:25 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:49:25 $ docker top ff367bdea7e685cb260ba7e155a55cecda161ff3ae1eaad26ec7d52c2a41abf1 -eo pid,comm [Pipeline] { [Pipeline] echo 07:49:25 ========================================================= 07:49:25 [edgeXBuildGoParallel] Running Tests and Build... 07:49:25 ========================================================= [Pipeline] sh 07:49:25 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh 07:49:26 + make test 07:49:26 go test -race -coverprofile=coverage.out ./... 07:49:34 ? github.com/edgexfoundry/edgex-go [no test files] 07:49:46 # github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 07:49:46 internal/core/command/controller/messaging/external.go:159:32: undefined: common.NewPathBuilder 07:49:46 internal/core/command/controller/messaging/external.go:159:86: config.Service.EnableNameFieldEscape undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo has no field or method EnableNameFieldEscape) 07:49:46 internal/core/command/controller/messaging/external.go:161:39: undefined: common.NewPathBuilder 07:49:46 internal/core/command/controller/messaging/external.go:161:93: config.Service.EnableNameFieldEscape undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo has no field or method EnableNameFieldEscape) 07:49:46 internal/core/command/controller/messaging/internal.go:156:31: undefined: common.NewPathBuilder 07:49:46 internal/core/command/controller/messaging/internal.go:156:85: config.Service.EnableNameFieldEscape undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo has no field or method EnableNameFieldEscape) 07:49:46 internal/core/command/controller/messaging/internal.go:158:38: undefined: common.NewPathBuilder 07:49:46 internal/core/command/controller/messaging/internal.go:158:92: config.Service.EnableNameFieldEscape undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo has no field or method EnableNameFieldEscape) 07:49:46 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 07:49:46 # github.com/edgexfoundry/edgex-go/internal/core/data/application 07:49:46 internal/core/data/application/event.go:85:25: undefined: common.NewPathBuilder 07:49:46 internal/core/data/application/event.go:85:86: configuration.Service.EnableNameFieldEscape undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo has no field or method EnableNameFieldEscape) 07:49:46 # github.com/edgexfoundry/edgex-go/internal/core/metadata/application 07:49:46 internal/core/metadata/application/notify.go:45:25: undefined: common.NewPathBuilder 07:49:46 internal/core/metadata/application/notify.go:45:86: configuration.Service.EnableNameFieldEscape undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo has no field or method EnableNameFieldEscape) 07:49:46 internal/core/metadata/application/notify.go:47:32: undefined: common.NewPathBuilder 07:49:46 internal/core/metadata/application/notify.go:47:93: configuration.Service.EnableNameFieldEscape undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo has no field or method EnableNameFieldEscape) 07:49:46 internal/core/metadata/application/notify.go:136:29: undefined: common.NewPathBuilder 07:49:46 internal/core/metadata/application/notify.go:136:83: config.Service.EnableNameFieldEscape undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo has no field or method EnableNameFieldEscape) 07:49:46 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 07:49:47 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 07:49:47 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 07:49:47 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-auth [no test files] 07:49:47 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 07:49:47 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 07:49:47 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 07:49:48 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 07:49:48 ? github.com/edgexfoundry/edgex-go/internal [no test files] 07:49:49 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 07:49:49 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 07:49:49 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.062s coverage: 28.7% of statements 07:49:50 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 07:49:50 ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] 07:49:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 07:49:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 07:49:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 07:49:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 07:49:50 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 07:49:50 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 07:49:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 07:49:50 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.074s coverage: 97.0% of statements 07:49:50 FAIL github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging [build failed] 07:49:50 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/application [build failed] 07:49:50 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [build failed] 07:49:50 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/application [build failed] 07:49:50 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 07:49:50 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 07:49:50 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http [build failed] 07:49:50 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 07:49:50 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 07:49:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 07:49:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 07:49:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 07:49:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 07:49:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 07:49:50 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 07:49:50 ok github.com/edgexfoundry/edgex-go/internal/io 0.053s coverage: 72.2% of statements 07:49:52 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 07:49:52 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 07:49:52 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.075s coverage: 0.9% of statements 07:49:52 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.076s coverage: 32.2% of statements 07:49:52 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.089s coverage: 42.9% of statements 07:49:52 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.046s coverage: 82.9% of statements 07:49:52 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.046s coverage: 94.1% of statements 07:49:52 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.070s coverage: 96.3% of statements 07:49:53 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.063s coverage: 87.5% of statements 07:49:54 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 07:49:54 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 07:49:54 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 07:49:54 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 07:49:54 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 07:49:54 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 07:49:54 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 07:49:54 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 07:49:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 07:49:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 07:49:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 07:49:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 07:49:56 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 07:49:56 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 07:49:56 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 07:49:57 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] 07:49:57 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 07:49:59 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 07:49:59 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 07:50:00 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth [no test files] 07:50:00 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] 07:50:00 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] 07:50:02 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 07:50:02 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 07:50:02 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 07:50:02 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 07:50:02 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 07:50:02 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 07:50:02 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 07:50:04 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 07:50:04 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 07:50:04 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 07:50:04 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 07:50:04 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.070s coverage: 94.4% of statements 07:50:05 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 07:50:05 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 07:50:05 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 07:50:05 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 07:50:06 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 07:50:06 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 07:50:07 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 07:50:07 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 07:50:19 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 23.296s coverage: 79.9% of statements 07:50:19 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 20.068s coverage: 92.9% of statements 07:50:19 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.029s coverage: 64.4% of statements 07:50:19 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.065s coverage: 62.3% of statements 07:50:19 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.067s coverage: 87.2% of statements 07:50:19 ok github.com/edgexfoundry/edgex-go/internal/security/common 0.059s coverage: 20.0% of statements 07:50:19 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.059s coverage: 100.0% of statements 07:50:19 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.092s coverage: 81.8% of statements 07:50:19 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.100s coverage: 82.1% of statements 07:50:19 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.060s coverage: 86.0% of statements 07:50:19 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.173s coverage: 63.1% of statements 07:50:19 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.060s coverage: 100.0% of statements 07:50:19 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.039s coverage: 89.4% of statements 07:50:19 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.028s coverage: 100.0% of statements 07:50:19 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.039s coverage: 73.7% of statements 07:50:19 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.025s coverage: 100.0% of statements 07:50:19 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.184s coverage: 38.4% of statements 07:50:19 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.061s coverage: 89.5% of statements 07:50:19 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.060s coverage: 84.8% of statements 07:50:19 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.074s coverage: 17.7% of statements 07:50:19 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.116s coverage: 95.7% of statements 07:50:19 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.058s coverage: 61.8% of statements 07:50:19 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.095s coverage: 98.9% of statements 07:50:19 FAIL 07:50:19 make: *** [Makefile:148: unittest] Error 1 [Pipeline] } 07:50:19 $ docker stop --time=1 ff367bdea7e685cb260ba7e155a55cecda161ff3ae1eaad26ec7d52c2a41abf1 07:50:21 $ docker rm -f --volumes ff367bdea7e685cb260ba7e155a55cecda161ff3ae1eaad26ec7d52c2a41abf1 [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] } 07:50:22 Failed in branch amd64 07:50:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5536 in /w/workspace/edgexfoundry_edgex-go_PR-4674 [Pipeline] { [Pipeline] ws 07:50:37 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout 07:50:37 The recommended git tool is: git 07:50:43 using credential edgex-jenkins-ssh 07:50:43 Cloning the remote Git repository 07:50:43 Cloning repository git@github.com:edgexfoundry/edgex-go.git 07:50:43 > git init /w/workspace/edgex-go/1 # timeout=10 07:50:43 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 07:50:43 > git --version # timeout=10 07:50:44 > git --version # 'git version 2.25.1' 07:50:44 using GIT_SSH to set credentials SSH Credentials for GitHub 07:50:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:51:04 Merging remotes/origin/main commit 2bac5d16a43a6729031be1bb569bb56c5aedbab0 into PR head commit 45fb286d584edd759d66b4935ed1bf7011e6f15e 07:51:02 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 07:51:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:51:03 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 07:51:03 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 07:51:03 using GIT_SSH to set credentials SSH Credentials for GitHub 07:51:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4674/head:refs/remotes/origin/PR-4674 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:51:04 > git config core.sparsecheckout # timeout=10 07:51:04 Merge succeeded, producing 45fb286d584edd759d66b4935ed1bf7011e6f15e 07:51:04 Checking out Revision 45fb286d584edd759d66b4935ed1bf7011e6f15e (PR-4674) 07:51:04 > git checkout -f 45fb286d584edd759d66b4935ed1bf7011e6f15e # timeout=10 07:51:04 > git remote # timeout=10 07:51:04 > git config --get remote.origin.url # timeout=10 07:51:04 using GIT_SSH to set credentials SSH Credentials for GitHub 07:51:04 > git merge 2bac5d16a43a6729031be1bb569bb56c5aedbab0 # timeout=10 07:51:04 > git rev-parse HEAD^{commit} # timeout=10 07:51:04 > git config core.sparsecheckout # timeout=10 07:51:04 > git checkout -f 45fb286d584edd759d66b4935ed1bf7011e6f15e # timeout=10 07:51:08 Commit message: "feat!: Allow name field escape configurable" 07:51:08 > git --version # timeout=10 07:51:08 > git --version # 'git version 2.25.1' 07:51:08 fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:51:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:51:09 % Total % Received % Xferd Average Speed Time Time Time Current 07:51:09 Dload Upload Total Spent Left Speed 07:51:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 98084 [Pipeline] sh 07:51:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:51:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:51:10 + sudo tee /etc/docker/daemon.new 07:51:10 { 07:51:10 "registry-mirrors": [ 07:51:10 "https://nexus3.edgexfoundry.org:10001" 07:51:10 ], 07:51:10 "bip": "10.250.0.254/24", 07:51:10 "hosts": [ 07:51:10 "tcp://0.0.0.0:5555", 07:51:10 "unix:///var/run/docker.sock" 07:51:10 ], 07:51:10 "mtu": 1458, 07:51:10 "selinux-enabled": true, 07:51:10 "seccomp-profile": "/etc/docker/seccomp.json" 07:51:10 } [Pipeline] sh 07:51:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:51:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:51:29 provisioning config files... 07:51:29 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config11800976281314377200tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:51:30 ---> docker-login.sh 07:51:30 nexus3.edgexfoundry.org:10001 07:51:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:51:30 Configure a credential helper to remove this warning. See 07:51:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:51:30 07:51:30 Login Succeeded 07:51:30 nexus3.edgexfoundry.org:10002 07:51:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:51:31 Configure a credential helper to remove this warning. See 07:51:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:51:31 07:51:31 Login Succeeded 07:51:31 nexus3.edgexfoundry.org:10003 07:51:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:51:31 Configure a credential helper to remove this warning. See 07:51:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:51:31 07:51:31 Login Succeeded 07:51:31 nexus3.edgexfoundry.org:10004 07:51:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:51:31 Configure a credential helper to remove this warning. See 07:51:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:51:31 07:51:31 Login Succeeded 07:51:31 docker.io 07:51:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:51:32 Configure a credential helper to remove this warning. See 07:51:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:51:32 07:51:32 Login Succeeded 07:51:32 ---> docker-login.sh ends [Pipeline] } 07:51:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh 07:51:32 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo 07:51:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:51:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:51:33 ========================================================= 07:51:33 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 07:51:33 ========================================================= [Pipeline] fileExists [Pipeline] sh 07:51:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:51:33 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:51:33 edb6bdbacee9: Pulling fs layer 07:51:33 5f9638ab2659: Pulling fs layer 07:51:33 8d51d6327a98: Pulling fs layer 07:51:33 8b374f2dd631: Pulling fs layer 07:51:33 ec14aa9079de: Pulling fs layer 07:51:33 2f466654f4bb: Pulling fs layer 07:51:33 554e91adad29: Pulling fs layer 07:51:33 ec14aa9079de: Waiting 07:51:33 554e91adad29: Waiting 07:51:33 2f466654f4bb: Waiting 07:51:33 8b374f2dd631: Waiting 07:51:33 5f9638ab2659: Verifying Checksum 07:51:33 5f9638ab2659: Download complete 07:51:33 8b374f2dd631: Verifying Checksum 07:51:33 8b374f2dd631: Download complete 07:51:33 ec14aa9079de: Verifying Checksum 07:51:33 ec14aa9079de: Download complete 07:51:33 edb6bdbacee9: Verifying Checksum 07:51:34 edb6bdbacee9: Pull complete 07:51:34 554e91adad29: Verifying Checksum 07:51:34 554e91adad29: Download complete 07:51:35 5f9638ab2659: Pull complete 07:51:36 8d51d6327a98: Verifying Checksum 07:51:36 8d51d6327a98: Download complete 07:51:36 2f466654f4bb: Verifying Checksum 07:51:46 8d51d6327a98: Pull complete 07:51:46 8b374f2dd631: Pull complete 07:51:47 ec14aa9079de: Pull complete 07:51:55 2f466654f4bb: Pull complete 07:51:57 554e91adad29: Pull complete 07:51:57 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 07:51:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:51:57 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] fileExists [Pipeline] sh 07:51:57 + docker build -t ci-base-image-arm64 -f - . 07:51:57 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:51:57 WORKDIR /edgex 07:51:57 COPY go.mod . 07:51:57 RUN go mod download 07:51:58 Sending build context to Docker daemon 2.967MB 07:51:58 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:51:58 ---> 1e15ea492957 07:51:58 Step 2/4 : WORKDIR /edgex 07:52:00 ---> Running in ba4a3fbd6873 07:52:00 Removing intermediate container ba4a3fbd6873 07:52:00 ---> 3f8e503ea6a6 07:52:00 Step 3/4 : COPY go.mod . 07:52:01 ---> 3ee2e8977582 07:52:01 Step 4/4 : RUN go mod download 07:52:01 ---> Running in 72304e2300ba 07:52:47 Removing intermediate container 72304e2300ba 07:52:47 ---> a755879ba0ed 07:52:47 Successfully built a755879ba0ed 07:52:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:48 + docker inspect -f . ci-base-image-arm64 07:52:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:52:48 prd-ubuntu20.04-docker-arm64-4c-16g-5536 does not seem to be running inside a container 07:52:48 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:52:49 $ docker top cfb6dbd343ff8735a87d141bb5ae1987bcdfbd3d83f707e28114bb6da7bb3a37 -eo pid,comm [Pipeline] { [Pipeline] sh 07:52:50 + go version 07:52:50 go version go1.20.6 linux/arm64 [Pipeline] } 07:52:50 $ docker stop --time=1 cfb6dbd343ff8735a87d141bb5ae1987bcdfbd3d83f707e28114bb6da7bb3a37 07:52:54 $ docker rm -f --volumes cfb6dbd343ff8735a87d141bb5ae1987bcdfbd3d83f707e28114bb6da7bb3a37 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:55 + docker inspect -f . ci-base-image-arm64 07:52:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:52:55 prd-ubuntu20.04-docker-arm64-4c-16g-5536 does not seem to be running inside a container 07:52:55 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:52:56 $ docker top 46f70400bc5c4937871c020dab481447ed87ccd43d240b8712ea146a93a8924d -eo pid,comm [Pipeline] { [Pipeline] echo 07:52:57 ========================================================= 07:52:57 [edgeXBuildGoParallel] Running Tests and Build... 07:52:57 ========================================================= [Pipeline] sh 07:52:57 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh 07:52:58 + make test 07:52:58 go test -race -coverprofile=coverage.out ./... 07:53:45 ? github.com/edgexfoundry/edgex-go [no test files] 07:56:07 # github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 07:56:07 internal/core/command/controller/messaging/external.go:159:32: undefined: common.NewPathBuilder 07:56:07 internal/core/command/controller/messaging/external.go:159:86: config.Service.EnableNameFieldEscape undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo has no field or method EnableNameFieldEscape) 07:56:07 internal/core/command/controller/messaging/external.go:161:39: undefined: common.NewPathBuilder 07:56:07 internal/core/command/controller/messaging/external.go:161:93: config.Service.EnableNameFieldEscape undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo has no field or method EnableNameFieldEscape) 07:56:07 internal/core/command/controller/messaging/internal.go:156:31: undefined: common.NewPathBuilder 07:56:07 internal/core/command/controller/messaging/internal.go:156:85: config.Service.EnableNameFieldEscape undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo has no field or method EnableNameFieldEscape) 07:56:07 internal/core/command/controller/messaging/internal.go:158:38: undefined: common.NewPathBuilder 07:56:07 internal/core/command/controller/messaging/internal.go:158:92: config.Service.EnableNameFieldEscape undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo has no field or method EnableNameFieldEscape) 07:56:07 # github.com/edgexfoundry/edgex-go/internal/core/data/application 07:56:07 internal/core/data/application/event.go:85:25: undefined: common.NewPathBuilder 07:56:07 internal/core/data/application/event.go:85:86: configuration.Service.EnableNameFieldEscape undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo has no field or method EnableNameFieldEscape) 07:56:07 # github.com/edgexfoundry/edgex-go/internal/core/metadata/application 07:56:07 internal/core/metadata/application/notify.go:45:25: undefined: common.NewPathBuilder 07:56:07 internal/core/metadata/application/notify.go:45:86: configuration.Service.EnableNameFieldEscape undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo has no field or method EnableNameFieldEscape) 07:56:07 internal/core/metadata/application/notify.go:47:32: undefined: common.NewPathBuilder 07:56:07 internal/core/metadata/application/notify.go:47:93: configuration.Service.EnableNameFieldEscape undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo has no field or method EnableNameFieldEscape) 07:56:07 internal/core/metadata/application/notify.go:136:29: undefined: common.NewPathBuilder 07:56:07 internal/core/metadata/application/notify.go:136:83: config.Service.EnableNameFieldEscape undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo has no field or method EnableNameFieldEscape) 07:56:07 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 07:56:07 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 07:56:07 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 07:56:07 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 07:56:07 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-auth [no test files] 07:56:07 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 07:56:07 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 07:56:07 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 07:56:07 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 07:56:07 ? github.com/edgexfoundry/edgex-go/internal [no test files] 07:56:13 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 07:56:13 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 07:56:13 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.263s coverage: 28.7% of statements 07:56:26 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.302s coverage: 97.0% of statements 07:56:26 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 07:56:26 ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] 07:56:26 FAIL github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging [build failed] 07:56:26 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 07:56:26 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 07:56:26 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 07:56:26 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 07:56:26 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 07:56:26 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/application [build failed] 07:56:26 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 07:56:26 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [build failed] 07:56:26 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 07:56:26 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/application [build failed] 07:56:28 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 07:56:28 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 07:56:28 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http [build failed] 07:56:28 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 07:56:28 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 07:56:28 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 07:56:28 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 07:56:28 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 07:56:28 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 07:56:28 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 07:56:28 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 07:56:29 ok github.com/edgexfoundry/edgex-go/internal/io 0.260s coverage: 72.2% of statements 07:56:41 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 07:56:41 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 07:56:41 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.451s coverage: 0.9% of statements 07:56:41 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.310s coverage: 32.2% of statements 07:56:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.286s coverage: 42.9% of statements 07:56:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.277s coverage: 82.9% of statements 07:56:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.246s coverage: 94.1% of statements 07:56:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.325s coverage: 96.3% of statements 07:56:49 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.232s coverage: 87.5% of statements 07:56:51 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 07:56:52 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 07:56:52 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 07:56:52 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 07:56:54 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 07:56:54 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 07:56:54 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 07:56:54 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 07:57:01 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.229s coverage: 94.4% of statements 07:57:01 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 07:57:01 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 07:57:01 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 07:57:01 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 07:57:09 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 07:57:09 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 07:57:10 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 07:57:15 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 24.027s coverage: 79.9% of statements 07:57:15 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 20.254s coverage: 92.9% of statements 07:57:15 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.096s coverage: 64.4% of statements 07:57:15 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.209s coverage: 62.3% of statements 07:57:15 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.202s coverage: 87.2% of statements 07:57:15 ok github.com/edgexfoundry/edgex-go/internal/security/common 0.175s coverage: 20.0% of statements 07:57:15 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.171s coverage: 100.0% of statements 07:57:15 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.474s coverage: 81.8% of statements 07:57:16 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] 07:57:16 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.492s coverage: 82.1% of statements 07:57:17 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 07:57:17 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.223s coverage: 86.0% of statements 07:57:23 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 07:57:23 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 07:57:23 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.032s coverage: 63.1% of statements 07:57:23 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.258s coverage: 100.0% of statements 07:57:24 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.129s coverage: 89.4% of statements 07:57:24 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.081s coverage: 100.0% of statements 07:57:24 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.097s coverage: 73.7% of statements 07:57:25 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth [no test files] 07:57:25 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] 07:57:25 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] 07:57:25 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.074s coverage: 100.0% of statements 07:57:33 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 07:57:33 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 07:57:33 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 07:57:33 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 1.054s coverage: 38.4% of statements 07:57:33 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.268s coverage: 89.5% of statements 07:57:38 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 07:57:38 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 07:57:38 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 07:57:38 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 07:57:38 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.256s coverage: 84.8% of statements 07:57:44 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 07:57:44 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 07:57:44 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 07:57:44 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 07:57:50 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.283s coverage: 17.7% of statements 07:57:50 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 07:57:50 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 07:57:50 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 07:57:50 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 07:57:51 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.574s coverage: 95.7% of statements 07:57:54 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 07:57:54 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 07:57:55 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.279s coverage: 61.8% of statements 07:57:57 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 07:57:57 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 07:57:57 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.380s coverage: 98.9% of statements 07:57:57 FAIL 07:57:58 make: *** [Makefile:148: unittest] Error 1 [Pipeline] } 07:57:58 $ docker stop --time=1 46f70400bc5c4937871c020dab481447ed87ccd43d240b8712ea146a93a8924d 07:58:00 $ docker rm -f --volumes 46f70400bc5c4937871c020dab481447ed87ccd43d240b8712ea146a93a8924d [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 07:58:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:58:02 07:58:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:58:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:58:03 arm64: Pulling from edgex-lftools-log-publisher 07:58:03 8998bd30e6a1: Pulling fs layer 07:58:03 04944245beec: Pulling fs layer 07:58:03 699f458cf7ca: Pulling fs layer 07:58:03 765212b225bb: Pulling fs layer 07:58:03 f23df028b6ca: Pulling fs layer 07:58:03 d65c8cfc05b1: Pulling fs layer 07:58:03 2437ff75d9bd: Pulling fs layer 07:58:03 765212b225bb: Waiting 07:58:03 d65c8cfc05b1: Waiting 07:58:03 f23df028b6ca: Waiting 07:58:03 2437ff75d9bd: Waiting 07:58:03 04944245beec: Verifying Checksum 07:58:03 04944245beec: Download complete 07:58:03 765212b225bb: Verifying Checksum 07:58:03 765212b225bb: Download complete 07:58:03 f23df028b6ca: Download complete 07:58:03 d65c8cfc05b1: Verifying Checksum 07:58:03 d65c8cfc05b1: Download complete 07:58:03 699f458cf7ca: Verifying Checksum 07:58:03 699f458cf7ca: Download complete 07:58:03 8998bd30e6a1: Verifying Checksum 07:58:03 8998bd30e6a1: Download complete 07:58:06 2437ff75d9bd: Verifying Checksum 07:58:06 2437ff75d9bd: Download complete 07:58:08 8998bd30e6a1: Pull complete 07:58:11 04944245beec: Pull complete 07:58:12 699f458cf7ca: Pull complete 07:58:12 765212b225bb: Pull complete 07:58:13 f23df028b6ca: Pull complete 07:58:13 d65c8cfc05b1: Pull complete 07:58:28 2437ff75d9bd: Pull complete 07:58:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:58:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:58:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:58:28 prd-ubuntu20.04-docker-arm64-4c-16g-5536 does not seem to be running inside a container 07:58:28 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:58:31 $ docker top b8f76bd230804cd382b57de24e97f43f91541a01fd92ab03d0da1cdbf8fcec2f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:58:32 ---> job-cost.sh 07:58:32 lf-activate-venv: SKIPPING 07:58:32 INFO: No Stack... 07:58:32 INFO: Retrieving Pricing Info for: v3-standard-4 07:58:33 INFO: Archiving Costs [Pipeline] sh 07:58:34 + cat /w/workspace/edgex-go/1/archives/cost.csv 07:58:34 + cut -d, -f6 [Pipeline] lock 07:58:34 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4674-1-stack-cost] 07:58:34 Resource [jenkins-edgexfoundry-edgex-go-PR-4674-1-stack-cost] did not exist. Created. 07:58:34 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4674-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:58:35 + echo total: 0.10999999940395355 [Pipeline] stash 07:58:36 Stashed 1 file(s) [Pipeline] } 07:58:36 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4674-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:58:36 $ docker stop --time=1 b8f76bd230804cd382b57de24e97f43f91541a01fd92ab03d0da1cdbf8fcec2f 07:58:37 $ docker rm -f --volumes b8f76bd230804cd382b57de24e97f43f91541a01fd92ab03d0da1cdbf8fcec2f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:58:38 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 07:58:40 + [ -d /w/workspace/edgex-go/1/archives ] [Pipeline] libraryResource [Pipeline] sh 07:58:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:58:41 ---> package-listing.sh 07:58:41 ++ facter osfamily 07:58:41 ++ tr '[:upper:]' '[:lower:]' 07:58:41 + OS_FAMILY=debian 07:58:41 + workspace=/w/workspace/edgex-go/1 07:58:41 + START_PACKAGES=/tmp/packages_start.txt 07:58:41 + END_PACKAGES=/tmp/packages_end.txt 07:58:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:58:41 + PACKAGES=/tmp/packages_start.txt 07:58:41 + '[' /w/workspace/edgex-go/1 ']' 07:58:41 + PACKAGES=/tmp/packages_end.txt 07:58:41 + case "${OS_FAMILY}" in 07:58:41 + dpkg -l 07:58:41 + grep '^ii' 07:58:41 + '[' -f /tmp/packages_start.txt ']' 07:58:41 + '[' -f /tmp/packages_end.txt ']' 07:58:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:58:41 + '[' /w/workspace/edgex-go/1 ']' 07:58:41 + mkdir -p /w/workspace/edgex-go/1/archives/ 07:58:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 07:58:41 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 07:58:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:58:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:58:42 07:58:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:58:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:58:42 latest: Pulling from edgex-lftools-log-publisher 07:58:42 5eb5b503b376: Pulling fs layer 07:58:42 5c69ac0246d0: Pulling fs layer 07:58:42 ec43610c2a17: Pulling fs layer 07:58:42 3a2ae6a8a46f: Pulling fs layer 07:58:42 33b1e0a273af: Pulling fs layer 07:58:42 5d3b04190fa2: Pulling fs layer 07:58:42 2f39f015ded8: Pulling fs layer 07:58:42 3a2ae6a8a46f: Waiting 07:58:42 33b1e0a273af: Waiting 07:58:42 2f39f015ded8: Waiting 07:58:42 5d3b04190fa2: Waiting 07:58:42 5c69ac0246d0: Download complete 07:58:42 3a2ae6a8a46f: Verifying Checksum 07:58:42 3a2ae6a8a46f: Download complete 07:58:42 33b1e0a273af: Verifying Checksum 07:58:42 33b1e0a273af: Download complete 07:58:42 5d3b04190fa2: Verifying Checksum 07:58:42 5d3b04190fa2: Download complete 07:58:42 ec43610c2a17: Verifying Checksum 07:58:42 ec43610c2a17: Download complete 07:58:43 5eb5b503b376: Verifying Checksum 07:58:43 5eb5b503b376: Download complete 07:58:43 2f39f015ded8: Download complete 07:58:44 5eb5b503b376: Pull complete 07:58:44 5c69ac0246d0: Pull complete 07:58:44 ec43610c2a17: Pull complete 07:58:45 3a2ae6a8a46f: Pull complete 07:58:45 33b1e0a273af: Pull complete 07:58:45 5d3b04190fa2: Pull complete 07:58:49 2f39f015ded8: Pull complete 07:58:49 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:58:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:58:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:58:49 prd-ubuntu20.04-docker-8c-8g-5535 does not seem to be running inside a container 07:58:49 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:58:53 $ docker top a550c3705479c6fc34b07e23f6c64c99c8d1f64403bfb48f8681704cf04b8f6a -eo pid,comm [Pipeline] { [Pipeline] sh 07:58:54 + touch /tmp/pre-build-complete [Pipeline] sh 07:58:54 + mkdir -p /var/log/sysstat [Pipeline] sh 07:58:54 + ls /var/log/sa-host 07:58:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:58:55 provisioning config files... 07:58:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config16518058101304324890tmp [Pipeline] { [Pipeline] echo 07:58:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:58:55 ---> create-netrc.sh [Pipeline] } 07:58:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:58:55 ---> python-tools-install.sh [Pipeline] echo 07:58:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:58:56 ---> sudo-logs.sh 07:58:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:58:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:58:56 ---> job-cost.sh 07:58:56 lf-activate-venv: SKIPPING 07:58:56 DEBUG: total: 0.10999999940395355 07:58:56 INFO: Retrieving Stack Cost... 07:58:57 INFO: Retrieving Pricing Info for: v3-standard-8 07:58:57 INFO: Archiving Costs [Pipeline] echo 07:58:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:58:57 ---> logs-deploy.sh 07:58:57 lf-activate-venv: SKIPPING 07:58:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4674/1 07:58:57 INFO: archiving workspace using pattern(s): 07:58:58 Archives upload complete. 07:58:58 INFO: archiving logs to Nexus