Pull request #4840 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 M0hanrajp for edgexfoundry/edgex-go Loading trusted files from base branch main at c6b1f3a8d30454f4f728b8997d05f0da671aa4be rather than ccd7518a2427159590f035b51a5428599464d08f Obtained Jenkinsfile from c6b1f3a8d30454f4f728b8997d05f0da671aa4be 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-ssh4822201902898244868.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh15129581601405142049.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 590556114a56c6d90cc8043840e039c2f74196dc 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-4840/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-4840/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11845011167627574794.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-4840/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13435404805977456992.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh4347219762729202604.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-4840/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-4840/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6922667695631029626.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 590556114a56c6d90cc8043840e039c2f74196dc 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]] ========================================================= [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.21 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-6610 in /w/workspace/edgexfoundry_edgex-go_PR-4840 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/1 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4840/head:refs/remotes/origin/PR-4840 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c6b1f3a8d30454f4f728b8997d05f0da671aa4be into PR head commit ccd7518a2427159590f035b51a5428599464d08f Merge succeeded, producing ccd7518a2427159590f035b51a5428599464d08f Checking out Revision ccd7518a2427159590f035b51a5428599464d08f (PR-4840) > git config core.sparsecheckout # timeout=10 > git checkout -f ccd7518a2427159590f035b51a5428599464d08f # 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 c6b1f3a8d30454f4f728b8997d05f0da671aa4be # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ccd7518a2427159590f035b51a5428599464d08f # timeout=10 Commit message: "refactor(core-data): improve event subscription logging" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:52:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:52:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:52:48 ========================================================= 06:52:48 EdgeX Global Pipelines Version Info 06:52:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:52:49 ------------------- 06:52:49 stable info: 06:52:49 ------------------- 06:52:49 Commited By: Ginny Guan ginny@iotechsys.com 06:52:49 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 06:52:49 Message: update stable to v1.0.260 06:52:49 ------------------- 06:52:49 experimental info: 06:52:49 ------------------- 06:52:49 Commited By: Ginny Guan ginny@iotechsys.com 06:52:49 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 06:52:49 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:52:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 06:52:49 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 06:52:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:52:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:52:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:52:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 06:52:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:52:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 06:52:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 06:52:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 06:52:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:52:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:52:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:52:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:52:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:52:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:52:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:52:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:52:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:52:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 06:52:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:52:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:52:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:52:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4840 [Pipeline] echo 06:52:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4840 [Pipeline] echo 06:52:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4840 [Pipeline] echo 06:52:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ccd7518a2427159590f035b51a5428599464d08f [Pipeline] echo 06:52:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ccd7518 [Pipeline] echo 06:52:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:52:51 provisioning config files... 06:52:51 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config4459224552767021061tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:52:52 ---> ****-login.sh 06:52:52 nexus3.edgexfoundry.org:10001 06:52:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:52:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:52:52 Configure a credential helper to remove this warning. See 06:52:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:52:52 06:52:52 Login Succeeded 06:52:52 nexus3.edgexfoundry.org:10002 06:52:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:52:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:52:52 Configure a credential helper to remove this warning. See 06:52:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:52:52 06:52:52 Login Succeeded 06:52:52 nexus3.edgexfoundry.org:10003 06:52:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:52:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:52:53 Configure a credential helper to remove this warning. See 06:52:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:52:53 06:52:53 Login Succeeded 06:52:53 nexus3.edgexfoundry.org:10004 06:52:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:52:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:52:53 Configure a credential helper to remove this warning. See 06:52:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:52:53 06:52:53 Login Succeeded 06:52:53 ****.io 06:52:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:52:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:52:53 Configure a credential helper to remove this warning. See 06:52:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:52:53 06:52:53 Login Succeeded 06:52:53 ---> ****-login.sh ends [Pipeline] } 06:52:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:52:54 + ls cmd/core-command/Dockerfile cmd/core-common-config-bootstrapper/Dockerfile cmd/core-data/Dockerfile cmd/core-keeper/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 06:52:54 + dirname cmd/core-command/Dockerfile 06:52:54 + cut -d/ -f2 06:52:54 + echo core-command,cmd/core-command/Dockerfile 06:52:54 + dirname cmd/core-common-config-bootstrapper/Dockerfile 06:52:54 + cut -d/ -f2 06:52:54 + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile 06:52:54 + dirname cmd/core-data/Dockerfile 06:52:54 + cut -d/ -f2 06:52:54 + echo core-data,cmd/core-data/Dockerfile 06:52:54 + dirname cmd/core-keeper/Dockerfile 06:52:54 + cut -d/ -f2 06:52:54 + echo core-keeper,cmd/core-keeper/Dockerfile 06:52:54 + dirname cmd/core-metadata/Dockerfile 06:52:54 + cut -d/ -f2 06:52:54 + echo core-metadata,cmd/core-metadata/Dockerfile 06:52:54 + + cut -d/dirname -f2 cmd/security-bootstrapper/Dockerfile 06:52:54 06:52:54 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 06:52:54 + cut -d/+ -f2 06:52:54 dirname cmd/security-proxy-auth/Dockerfile 06:52:54 + echo security-proxy-auth,cmd/security-proxy-auth/Dockerfile 06:52:54 + dirname cmd/security-proxy-setup/Dockerfile 06:52:54 + cut -d/ -f2 06:52:54 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 06:52:54 + dirname cmd/security-secretstore-setup/Dockerfile 06:52:54 + cut -d/ -f2 06:52:54 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 06:52:54 + dirname cmd/security-spiffe-token-provider/Dockerfile 06:52:54 + cut -d/ -f2 06:52:54 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 06:52:54 + dirname cmd/security-spire-agent/Dockerfile 06:52:54 + cut -d/ -f2 06:52:54 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 06:52:54 + dirname cmd/security-spire-config/Dockerfile 06:52:54 + cut -d/ -f2 06:52:54 + echo security-spire-config,cmd/security-spire-config/Dockerfile 06:52:54 + dirname cmd/security-spire-server/Dockerfile 06:52:54 + cut -d/ -f2 06:52:54 + echo security-spire-server,cmd/security-spire-server/Dockerfile 06:52:54 + dirname cmd/support-notifications/Dockerfile 06:52:54 + cut -d/ -f2 06:52:54 + echo support-notifications,cmd/support-notifications/Dockerfile 06:52:54 + dirname cmd/support-scheduler/Dockerfile 06:52:54 + cut -d/ -f2 06:52:54 + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo 06:52:54 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-keeper, dockerfile:cmd/core-keeper/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 06:52:54 + git rev-list -1 --merges ccd7518a2427159590f035b51a5428599464d08f~1..ccd7518a2427159590f035b51a5428599464d08f [Pipeline] echo 06:52:54 -----------> git rev-list -1 --merges ccd7518a2427159590f035b51a5428599464d08f~1..ccd7518a2427159590f035b51a5428599464d08f ccd7518a2427159590f035b51a5428599464d08f [false] [Pipeline] sh 06:52:55 + git log --format=format:%s -1 ccd7518a2427159590f035b51a5428599464d08f [Pipeline] echo 06:52:55 ========================================================= 06:52:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:52:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 06:52:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:52:55 + grep -v github /etc/ssh/ssh_known_hosts 06:52:55 + [ -e /tmp/ssh_known_hosts ] 06:52:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:52:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:52:55 + sudo tee -a /etc/ssh/ssh_known_hosts 06:52:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:52:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:52:56 06:52:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:52:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:52:56 0.1.4: Pulling from edgex-devops/py-git-semver 06:52:56 b85a868b505f: Pulling fs layer 06:52:56 e2be974225ed: Pulling fs layer 06:52:56 339a4e72a1f5: Pulling fs layer 06:52:56 988bab9f4d93: Pulling fs layer 06:52:56 1469e6f7b9e6: Pulling fs layer 06:52:56 eaf3925da568: Pulling fs layer 06:52:56 bab4dde63d76: Pulling fs layer 06:52:56 bde34c3a00c8: Pulling fs layer 06:52:56 b352a97aabf1: Pulling fs layer 06:52:56 4872d77fe225: Pulling fs layer 06:52:56 5851b861e8e6: Pulling fs layer 06:52:56 1469e6f7b9e6: Waiting 06:52:56 eaf3925da568: Waiting 06:52:56 bab4dde63d76: Waiting 06:52:56 b352a97aabf1: Waiting 06:52:56 bde34c3a00c8: Waiting 06:52:56 4872d77fe225: Waiting 06:52:56 988bab9f4d93: Waiting 06:52:56 5851b861e8e6: Waiting 06:52:56 e2be974225ed: Verifying Checksum 06:52:56 e2be974225ed: Download complete 06:52:56 339a4e72a1f5: Verifying Checksum 06:52:56 339a4e72a1f5: Download complete 06:52:57 1469e6f7b9e6: Verifying Checksum 06:52:57 1469e6f7b9e6: Download complete 06:52:57 eaf3925da568: Verifying Checksum 06:52:57 eaf3925da568: Download complete 06:52:57 bde34c3a00c8: Download complete 06:52:57 b352a97aabf1: Download complete 06:52:57 4872d77fe225: Download complete 06:52:57 5851b861e8e6: Verifying Checksum 06:52:57 5851b861e8e6: Download complete 06:52:57 b85a868b505f: Download complete 06:52:57 bab4dde63d76: Verifying Checksum 06:52:57 bab4dde63d76: Download complete 06:52:58 b85a868b505f: Pull complete 06:52:58 e2be974225ed: Pull complete 06:52:58 339a4e72a1f5: Pull complete 06:52:58 988bab9f4d93: Pull complete 06:52:59 1469e6f7b9e6: Pull complete 06:52:59 eaf3925da568: Pull complete 06:53:00 bab4dde63d76: Pull complete 06:53:00 bde34c3a00c8: Pull complete 06:53:00 b352a97aabf1: Pull complete 06:53:00 4872d77fe225: Pull complete 06:53:00 5851b861e8e6: Pull complete 06:53:00 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:53:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:53:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:53:01 prd-ubuntu20.04-docker-8c-8g-6610 does not seem to be running inside a container 06:53:01 $ 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 06:53:02 $ docker top 92292dca7175d30b37659c2c8fc8dbc9eb699be93e196633e890453bde0d15ad -eo pid,comm 06:53:02 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). 06:53:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:53:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:53:02 [ssh-agent] Looking for ssh-agent implementation... 06:53:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:53:02 $ docker exec 92292dca7175d30b37659c2c8fc8dbc9eb699be93e196633e890453bde0d15ad ssh-agent 06:53:02 SSH_AUTH_SOCK=/tmp/ssh-qoFtL3aPmKym/agent.33 06:53:02 SSH_AGENT_PID=40 06:53:02 Running ssh-add (command line suppressed) 06:53:03 Identity added: /w/workspace/edgex-go/1@tmp/private_key_9012160685523665772.key (/w/workspace/edgex-go/1@tmp/private_key_9012160685523665772.key) 06:53:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:53:03 + git tag --points-at HEAD [Pipeline] } 06:53:03 $ docker exec --env ******** --env ******** 92292dca7175d30b37659c2c8fc8dbc9eb699be93e196633e890453bde0d15ad ssh-agent -k 06:53:03 unset SSH_AUTH_SOCK; 06:53:03 unset SSH_AGENT_PID; 06:53:03 echo Agent pid 40 killed; 06:53:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:53:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:53:03 [ssh-agent] Looking for ssh-agent implementation... 06:53:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:53:03 $ docker exec 92292dca7175d30b37659c2c8fc8dbc9eb699be93e196633e890453bde0d15ad ssh-agent 06:53:03 SSH_AUTH_SOCK=/tmp/ssh-TkobsIwOKAkr/agent.73 06:53:03 SSH_AGENT_PID=79 06:53:03 Running ssh-add (command line suppressed) 06:53:03 Identity added: /w/workspace/edgex-go/1@tmp/private_key_7191390334709704171.key (/w/workspace/edgex-go/1@tmp/private_key_7191390334709704171.key) 06:53:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:53:04 + git semver init 06:53:04 2024-07-28 06:53:04,513 [run_init] DEBUG init version:0.0.0 force:False 06:53:04 2024-07-28 06:53:04,514 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/1/.semver 06:53:04 2024-07-28 06:53:04,515 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/1/.semver 06:53:04 2024-07-28 06:53:04,515 [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) 06:53:08 2024-07-28 06:53:08,750 [append_file] DEBUG append to file:/w/workspace/edgex-go/1/.git/info/exclude 06:53:08 2024-07-28 06:53:08,751 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/1/.semver/PR-4840 with force:False 06:53:08 2024-07-28 06:53:08,751 [write_file] DEBUG write to file:/w/workspace/edgex-go/1/.semver/PR-4840 06:53:08 2024-07-28 06:53:08,755 [execute] INFO git cat-file --batch-check 06:53:08 2024-07-28 06:53:08,756 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 06:53:08 2024-07-28 06:53:08,762 [execute] INFO git cat-file --batch 06:53:08 2024-07-28 06:53:08,762 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 06:53:08 2024-07-28 06:53:08,767 [read_version] DEBUG read version from /w/workspace/edgex-go/1/.semver/PR-4840 06:53:08 0.0.0 [Pipeline] } 06:53:08 $ docker exec --env ******** --env ******** 92292dca7175d30b37659c2c8fc8dbc9eb699be93e196633e890453bde0d15ad ssh-agent -k 06:53:08 unset SSH_AUTH_SOCK; 06:53:08 unset SSH_AGENT_PID; 06:53:08 echo Agent pid 79 killed; 06:53:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:53:09 + git semver [Pipeline] } 06:53:09 $ docker stop --time=1 92292dca7175d30b37659c2c8fc8dbc9eb699be93e196633e890453bde0d15ad 06:53:11 $ docker rm -f --volumes 92292dca7175d30b37659c2c8fc8dbc9eb699be93e196633e890453bde0d15ad [Pipeline] // withDockerContainer [Pipeline] sh 06:53:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:53:11 Stashed 1 file(s) [Pipeline] echo 06:53:11 [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 06:53:12 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo 06:53:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:53:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:53:12 ========================================================= 06:53:12 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 06:53:12 ========================================================= [Pipeline] fileExists [Pipeline] sh 06:53:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 06:53:13 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 06:53:13 619be1103602: Pulling fs layer 06:53:13 7862e08f4a3e: Pulling fs layer 06:53:13 5df492c9dc93: Pulling fs layer 06:53:13 7629e6793208: Pulling fs layer 06:53:13 4f4fb700ef54: Pulling fs layer 06:53:13 fb5054dd5b73: Pulling fs layer 06:53:13 eeca6798cff9: Pulling fs layer 06:53:13 aa269ceb94a6: Pulling fs layer 06:53:13 ada007ff1a6a: Pulling fs layer 06:53:13 7629e6793208: Waiting 06:53:13 4f4fb700ef54: Waiting 06:53:13 fb5054dd5b73: Waiting 06:53:13 eeca6798cff9: Waiting 06:53:13 aa269ceb94a6: Waiting 06:53:13 ada007ff1a6a: Waiting 06:53:13 7862e08f4a3e: Download complete 06:53:13 7629e6793208: Verifying Checksum 06:53:13 7629e6793208: Download complete 06:53:13 4f4fb700ef54: Download complete 06:53:13 fb5054dd5b73: Verifying Checksum 06:53:13 fb5054dd5b73: Download complete 06:53:13 619be1103602: Verifying Checksum 06:53:13 619be1103602: Download complete 06:53:13 eeca6798cff9: Verifying Checksum 06:53:13 eeca6798cff9: Download complete 06:53:13 619be1103602: Pull complete 06:53:13 ada007ff1a6a: Verifying Checksum 06:53:13 ada007ff1a6a: Download complete 06:53:13 7862e08f4a3e: Pull complete 06:53:13 5df492c9dc93: Verifying Checksum 06:53:13 5df492c9dc93: Download complete 06:53:13 aa269ceb94a6: Verifying Checksum 06:53:13 aa269ceb94a6: Download complete 06:53:17 5df492c9dc93: Pull complete 06:53:17 7629e6793208: Pull complete 06:53:17 4f4fb700ef54: Pull complete 06:53:17 fb5054dd5b73: Pull complete 06:53:17 eeca6798cff9: Pull complete 06:53:19 aa269ceb94a6: Pull complete 06:53:20 ada007ff1a6a: Pull complete 06:53:20 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 06:53:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 06:53:20 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [Pipeline] fileExists [Pipeline] sh 06:53:20 + + echodocker FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 06:53:20 WORKDIR /edgex 06:53:20 COPY go.mod . 06:53:20 RUN go mod download build 06:53:20 -t ci-base-image-x86_64 -f - . 06:53:21 Sending build context to Docker daemon 178.6MB 06:53:21 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 06:53:21 ---> f489d0715acc 06:53:21 Step 2/4 : WORKDIR /edgex 06:53:22 ---> Running in f831bae99409 06:53:22 Removing intermediate container f831bae99409 06:53:22 ---> 2f747dc3ddfa 06:53:22 Step 3/4 : COPY go.mod . 06:53:22 ---> 0c3d73bbae3b 06:53:22 Step 4/4 : RUN go mod download 06:53:22 ---> Running in a9e72ce053c3 06:53:27 Still waiting to schedule task 06:53:27 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:53:49 Removing intermediate container a9e72ce053c3 06:53:49 ---> 6f5dcf961efc 06:53:49 Successfully built 6f5dcf961efc 06:53:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:53:49 + docker inspect -f . ci-base-image-x86_64 06:53:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:53:49 prd-ubuntu20.04-docker-8c-8g-6610 does not seem to be running inside a container 06:53:49 $ 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 06:53:50 $ docker top 58e659251af09135fc923fa370e248d6522a1c3852a86da3d4d104acbf11c53c -eo pid,comm [Pipeline] { [Pipeline] sh 06:53:50 + go version 06:53:50 go version go1.21.9 linux/amd64 [Pipeline] } 06:53:50 $ docker stop --time=1 58e659251af09135fc923fa370e248d6522a1c3852a86da3d4d104acbf11c53c 06:53:51 $ docker rm -f --volumes 58e659251af09135fc923fa370e248d6522a1c3852a86da3d4d104acbf11c53c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:53:52 + docker inspect -f . ci-base-image-x86_64 06:53:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:53:52 prd-ubuntu20.04-docker-8c-8g-6610 does not seem to be running inside a container 06:53:52 $ 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 06:53:53 $ docker top 91de64dfa062af0f33f96f32af04fc6cb4c0fae9faa5cbb17f3f22a55e506ec1 -eo pid,comm [Pipeline] { [Pipeline] echo 06:53:53 ========================================================= 06:53:53 [edgeXBuildGoParallel] Running Tests and Build... 06:53:53 ========================================================= [Pipeline] sh 06:53:53 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh 06:53:54 + make test 06:53:54 go test -race -coverprofile=coverage.out ./... 06:54:02 ? github.com/edgexfoundry/edgex-go [no test files] 06:54:34 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 06:54:34 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 06:54:34 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 06:54:34 ? github.com/edgexfoundry/edgex-go/cmd/core-keeper [no test files] 06:54:34 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 06:54:34 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 06:54:34 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 06:54:34 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 06:54:34 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-auth [no test files] 06:54:34 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 06:54:34 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 06:54:34 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 06:54:34 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 06:54:34 ? github.com/edgexfoundry/edgex-go/internal [no test files] 06:54:34 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 06:54:36 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 06:54:36 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 06:54:37 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 1.019s coverage: 28.7% of statements 06:54:37 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 06:54:37 ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] 06:54:37 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 06:54:38 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 06:54:38 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 06:54:38 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 1.043s coverage: 97.0% of statements 06:54:39 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 06:54:39 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 06:54:39 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 06:54:39 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 06:54:39 ? github.com/edgexfoundry/edgex-go/internal/core/keeper [no test files] 06:54:39 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/application [no test files] 06:54:39 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/config [no test files] 06:54:39 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/constants [no test files] 06:54:39 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/container [no test files] 06:54:40 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/infrastructure/interfaces [no test files] 06:54:40 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/infrastructure/interfaces/mocks [no test files] 06:54:40 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/registry [no test files] 06:54:40 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/utils [no test files] 06:54:40 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 06:54:41 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 4.044s coverage: 69.2% of statements 06:54:41 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 1.046s coverage: 53.2% of statements 06:54:41 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 06:54:41 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 06:54:41 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 2.783s coverage: 93.4% of statements 06:54:41 ok github.com/edgexfoundry/edgex-go/internal/core/keeper/controller/http 1.050s coverage: 91.7% of statements 06:54:42 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 1.037s coverage: 6.5% of statements 06:54:43 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 06:54:43 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 06:54:43 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 06:54:43 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 06:54:43 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 06:54:43 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 06:54:43 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 06:54:43 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 06:54:43 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 06:54:43 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 06:54:45 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.333s coverage: 95.8% of statements 06:54:45 ok github.com/edgexfoundry/edgex-go/internal/io 1.022s coverage: 72.2% of statements 06:54:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 06:54:45 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 06:54:46 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 1.049s coverage: 0.8% of statements 06:54:46 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 1.036s coverage: 32.2% of statements 06:54:46 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 1.032s coverage: 41.7% of statements 06:54:46 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.027s coverage: 77.8% of statements 06:54:46 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 1.026s coverage: 94.1% of statements 06:54:47 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 1.036s coverage: 96.3% of statements 06:54:47 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 1.022s coverage: 87.5% of statements 06:54:47 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 06:54:47 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 06:54:47 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 06:54:47 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 06:54:47 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 06:54:47 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 06:54:47 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 06:54:47 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 06:54:49 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 06:54:49 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 06:54:49 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 06:54:49 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 06:54:49 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 06:54:49 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 06:54:49 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 06:54:51 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] 06:54:51 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 06:54:52 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 06:54:52 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 06:54:55 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth [no test files] 06:54:55 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] 06:54:55 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] 06:54:56 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 06:54:56 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 06:54:56 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 06:54:57 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 06:54:57 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 06:54:57 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 06:54:57 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 06:54:58 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 06:54:58 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 06:54:58 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 06:54:58 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 06:54:59 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 13.030s coverage: 94.4% of statements 06:55:00 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 06:55:00 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 06:55:00 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 06:55:00 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 06:55:01 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 06:55:01 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 06:55:02 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 06:55:02 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 06:55:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6611 in /w/workspace/edgexfoundry_edgex-go_PR-4840 [Pipeline] { [Pipeline] ws 06:55:03 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout 06:55:06 The recommended git tool is: git 06:55:12 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 24.254s coverage: 79.9% of statements 06:55:12 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 21.043s coverage: 92.9% of statements 06:55:12 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 1.021s coverage: 64.4% of statements 06:55:12 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 7.031s coverage: 62.3% of statements 06:55:12 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 12.032s coverage: 87.2% of statements 06:55:12 ok github.com/edgexfoundry/edgex-go/internal/security/common 1.016s coverage: 20.0% of statements 06:55:12 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 1.020s coverage: 100.0% of statements 06:55:12 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 1.066s coverage: 81.8% of statements 06:55:12 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 1.061s coverage: 82.1% of statements 06:55:12 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 1.023s coverage: 86.0% of statements 06:55:12 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.114s coverage: 63.1% of statements 06:55:12 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 1.024s coverage: 100.0% of statements 06:55:12 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 1.022s coverage: 89.4% of statements 06:55:12 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 1.014s coverage: 100.0% of statements 06:55:12 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 1.026s coverage: 73.7% of statements 06:55:12 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 1.018s coverage: 100.0% of statements 06:55:12 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 1.161s coverage: 38.4% of statements 06:55:12 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 1.023s coverage: 89.5% of statements 06:55:12 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 1.022s coverage: 84.8% of statements 06:55:12 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 7.042s coverage: 19.9% of statements 06:55:12 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 1.089s coverage: 95.7% of statements 06:55:12 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 1.028s coverage: 61.8% of statements 06:55:12 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 1.056s coverage: 98.9% of statements 06:55:12 if which hadolint > /dev/null ; then hadolint --config .hadolint.yml `find * -type f -name 'Dockerfile*' -print` ; elif test "x86_64" = "x86_64" && which docker > /dev/null ; then docker run --rm -v `pwd`:/host:ro,z --entrypoint /bin/hadolint hadolint/hadolint:latest --config /host/.hadolint.yml `find * -type f -name 'Dockerfile*' | xargs -i echo '/host/{}'` ; fi 06:55:12 running golangci-lint 06:55:12 golangci-lint has version 1.54.2 built with go1.21.0 from 411e0bbb on 2023-08-21T12:04:32Z 06:55:12 go version go1.21.9 linux/amd64 06:55:12 level=info msg="[config_reader] Used config file .golangci.yml" 06:55:12 level=info msg="[lintersdb] Active 7 linters: [errcheck gosec gosimple govet ineffassign staticcheck unused]" 06:55:14 using credential edgex-jenkins-ssh 06:55:14 Cloning the remote Git repository 06:55:14 Cloning repository git@github.com:edgexfoundry/edgex-go.git 06:55:15 > git init /w/workspace/edgex-go/1 # timeout=10 06:55:15 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 06:55:15 > git --version # timeout=10 06:55:15 > git --version # 'git version 2.25.1' 06:55:15 using GIT_SSH to set credentials SSH Credentials for GitHub 06:55:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:55:32 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 06:55:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:55:34 Merging remotes/origin/main commit c6b1f3a8d30454f4f728b8997d05f0da671aa4be into PR head commit ccd7518a2427159590f035b51a5428599464d08f 06:55:34 Merge succeeded, producing ccd7518a2427159590f035b51a5428599464d08f 06:55:34 Checking out Revision ccd7518a2427159590f035b51a5428599464d08f (PR-4840) 06:55:34 level=info msg="[loader] Go packages loading at mode 575 (types_sizes|compiled_files|files|name|deps|exports_file|imports) took 19.40573326s" 06:55:34 level=info msg="[runner/filename_unadjuster] Pre-built 0 adjustments in 55.777568ms" 06:55:33 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 06:55:33 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 06:55:33 using GIT_SSH to set credentials SSH Credentials for GitHub 06:55:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4840/head:refs/remotes/origin/PR-4840 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:55:34 > git config core.sparsecheckout # timeout=10 06:55:34 > git checkout -f ccd7518a2427159590f035b51a5428599464d08f # timeout=10 06:55:34 > git remote # timeout=10 06:55:34 > git config --get remote.origin.url # timeout=10 06:55:34 using GIT_SSH to set credentials SSH Credentials for GitHub 06:55:34 > git merge c6b1f3a8d30454f4f728b8997d05f0da671aa4be # timeout=10 06:55:34 > git rev-parse HEAD^{commit} # timeout=10 06:55:34 > git config core.sparsecheckout # timeout=10 06:55:34 > git checkout -f ccd7518a2427159590f035b51a5428599464d08f # timeout=10 06:55:38 Commit message: "refactor(core-data): improve event subscription logging" 06:55:38 > git --version # timeout=10 06:55:38 > git --version # 'git version 2.25.1' 06:55:38 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:55:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:55:41 % Total % Received % Xferd Average Speed Time Time Time Current 06:55:41 Dload Upload Total Spent Left Speed 06:55:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 34299 0 --:--:-- --:--:-- --:--:-- 34208 100 12828 100 12828 0 0 34117 0 --:--:-- --:--:-- --:--:-- 34117 [Pipeline] sh 06:55:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json 06:55:42 level=info msg="[linters_context/goanalysis] analyzers took 1m23.527244319s with top 10 stages: buildir: 44.171385962s, gosec: 7.32512608s, inspect: 2.122627679s, fact_deprecated: 2.064429651s, printf: 1.474805988s, ctrlflow: 1.259715169s, fact_purity: 1.023104976s, nilness: 886.566068ms, S1038: 778.692962ms, ineffassign: 689.471608ms" 06:55:42 level=info msg="[runner] Issues before processing: 209, after processing: 0" 06:55:42 level=info msg="[runner] Processors filtering stat (out/in): skip_files: 209/209, autogenerated_exclude: 209/209, cgo: 209/209, skip_dirs: 209/209, exclude: 209/209, nolint: 0/21, filename_unadjuster: 209/209, path_prettifier: 209/209, identifier_marker: 209/209, exclude-rules: 21/209" 06:55:42 level=info msg="[runner] processing took 14.611882ms with stages: nolint: 6.497199ms, identifier_marker: 3.520412ms, path_prettifier: 1.451214ms, autogenerated_exclude: 1.174671ms, exclude-rules: 1.058019ms, skip_dirs: 863.327µs, cgo: 28.81µs, filename_unadjuster: 14.76µs, max_same_issues: 520ns, fixer: 510ns, skip_files: 410ns, exclude: 400ns, diff: 250ns, uniq_by_line: 240ns, severity-rules: 240ns, sort_results: 230ns, max_from_linter: 180ns, source_code: 140ns, max_per_file_from_linter: 130ns, path_shortener: 110ns, path_prefixer: 110ns" 06:55:42 level=info msg="[runner] linters took 9.746390012s with stages: goanalysis_metalinter: 9.73169571s" 06:55:42 level=info msg="File cache stats: 0 entries of total size 0B" 06:55:42 level=info msg="Memory: 292 samples, avg is 272.6MB, max is 1333.5MB" 06:55:42 level=info msg="Execution took 29.216264254s" 06:55:42 go vet ./... [Pipeline] sh 06:55:44 + + sudo teesudo /etc/docker/daemon.new jq 06:55:44 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:55:44 { 06:55:44 "registry-mirrors": [ 06:55:44 "https://nexus3.edgexfoundry.org:10001" 06:55:44 ], 06:55:44 "bip": "10.250.0.254/24", 06:55:44 "hosts": [ 06:55:44 "tcp://0.0.0.0:5555", 06:55:44 "unix:///var/run/docker.sock" 06:55:44 ], 06:55:44 "mtu": 1458, 06:55:44 "selinux-enabled": true, 06:55:44 "seccomp-profile": "/etc/docker/seccomp.json" 06:55:44 } [Pipeline] sh 06:55:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:55:45 + sudo service docker restart 06:55:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:55:48 ./internal/core/data/controller/messaging/subscriber.go 06:55:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:55:48 make: *** [Makefile:170: test] Error 1 [Pipeline] } 06:55:48 $ docker stop --time=1 91de64dfa062af0f33f96f32af04fc6cb4c0fae9faa5cbb17f3f22a55e506ec1 06:55:50 $ docker rm -f --volumes 91de64dfa062af0f33f96f32af04fc6cb4c0fae9faa5cbb17f3f22a55e506ec1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:55:51 Failed in branch amd64 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:56:03 provisioning config files... 06:56:03 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config6412502927505479465tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:56:04 ---> ****-login.sh 06:56:04 nexus3.edgexfoundry.org:10001 06:56:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:56:04 Configure a credential helper to remove this warning. See 06:56:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:56:04 06:56:04 Login Succeeded 06:56:04 nexus3.edgexfoundry.org:10002 06:56:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:56:05 Configure a credential helper to remove this warning. See 06:56:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:56:05 06:56:05 Login Succeeded 06:56:05 nexus3.edgexfoundry.org:10003 06:56:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:56:05 Configure a credential helper to remove this warning. See 06:56:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:56:05 06:56:05 Login Succeeded 06:56:05 nexus3.edgexfoundry.org:10004 06:56:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:56:05 Configure a credential helper to remove this warning. See 06:56:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:56:05 06:56:05 Login Succeeded 06:56:05 ****.io 06:56:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:56:06 Configure a credential helper to remove this warning. See 06:56:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:56:06 06:56:06 Login Succeeded 06:56:06 ---> ****-login.sh ends [Pipeline] } 06:56:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh 06:56:07 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo 06:56:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:56:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:56:07 ========================================================= 06:56:07 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 06:56:07 ========================================================= [Pipeline] fileExists [Pipeline] sh 06:56:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 06:56:07 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:56:07 c6b39de5b339: Pulling fs layer 06:56:07 a69c41024577: Pulling fs layer 06:56:07 d6de4b400683: Pulling fs layer 06:56:07 35cb2a7552d0: Pulling fs layer 06:56:07 4f4fb700ef54: Pulling fs layer 06:56:07 464afbd9ba4c: Pulling fs layer 06:56:07 00f215d4a9da: Pulling fs layer 06:56:07 d496ad576159: Pulling fs layer 06:56:07 4f4fb700ef54: Waiting 06:56:07 464afbd9ba4c: Waiting 06:56:07 35cb2a7552d0: Waiting 06:56:07 d496ad576159: Waiting 06:56:07 00f215d4a9da: Waiting 06:56:07 a69c41024577: Verifying Checksum 06:56:07 a69c41024577: Download complete 06:56:07 35cb2a7552d0: Verifying Checksum 06:56:07 35cb2a7552d0: Download complete 06:56:07 4f4fb700ef54: Verifying Checksum 06:56:07 4f4fb700ef54: Download complete 06:56:07 464afbd9ba4c: Verifying Checksum 06:56:07 464afbd9ba4c: Download complete 06:56:07 c6b39de5b339: Download complete 06:56:08 d496ad576159: Download complete 06:56:08 c6b39de5b339: Pull complete 06:56:09 a69c41024577: Pull complete 06:56:09 d6de4b400683: Verifying Checksum 06:56:09 d6de4b400683: Download complete 06:56:10 00f215d4a9da: Verifying Checksum 06:56:10 00f215d4a9da: Download complete 06:56:22 d6de4b400683: Pull complete 06:56:22 35cb2a7552d0: Pull complete 06:56:23 4f4fb700ef54: Pull complete 06:56:23 464afbd9ba4c: Pull complete 06:56:31 00f215d4a9da: Pull complete 06:56:33 d496ad576159: Pull complete 06:56:33 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 06:56:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 06:56:33 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [Pipeline] fileExists [Pipeline] sh 06:56:34 + + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 06:56:34 WORKDIR /edgex 06:56:34 COPY go.mod . 06:56:34 RUN go mod download 06:56:34 docker build -t ci-base-image-arm64 -f - . 06:56:34 Sending build context to Docker daemon 3.184MB 06:56:34 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 06:56:34 ---> f246e2811388 06:56:34 Step 2/4 : WORKDIR /edgex 06:56:36 ---> Running in 67f8067fff11 06:56:36 Removing intermediate container 67f8067fff11 06:56:36 ---> 5440ca34d55c 06:56:36 Step 3/4 : COPY go.mod . 06:56:36 ---> 5de1b9644d53 06:56:36 Step 4/4 : RUN go mod download 06:56:37 ---> Running in dc2ad93974c7 06:57:33 Removing intermediate container dc2ad93974c7 06:57:33 ---> 0193a1efe363 06:57:33 Successfully built 0193a1efe363 06:57:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:57:34 + docker inspect -f . ci-base-image-arm64 06:57:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:57:34 prd-ubuntu20.04-docker-arm64-4c-16g-6611 does not seem to be running inside a container 06:57:34 $ 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 06:57:35 $ docker top a65389b84e52123f67a40c43dd5155f687492247d386c1301093d1ebf652bacb -eo pid,comm [Pipeline] { [Pipeline] sh 06:57:36 + go version 06:57:36 go version go1.21.9 linux/arm64 [Pipeline] } 06:57:36 $ docker stop --time=1 a65389b84e52123f67a40c43dd5155f687492247d386c1301093d1ebf652bacb 06:57:38 $ docker rm -f --volumes a65389b84e52123f67a40c43dd5155f687492247d386c1301093d1ebf652bacb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:57:39 + docker inspect -f . ci-base-image-arm64 06:57:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:57:39 prd-ubuntu20.04-docker-arm64-4c-16g-6611 does not seem to be running inside a container 06:57:39 $ 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 06:57:40 $ docker top 7e9e9e3eb3e0a86d5698ad22245e764907374b891e6c61ec109fc0ee0a760c5c -eo pid,comm [Pipeline] { [Pipeline] echo 06:57:41 ========================================================= 06:57:41 [edgeXBuildGoParallel] Running Tests and Build... 06:57:41 ========================================================= [Pipeline] sh 06:57:41 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh 06:57:42 + make test 06:57:42 go test -race -coverprofile=coverage.out ./... 06:58:29 ? github.com/edgexfoundry/edgex-go [no test files] 07:01:36 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 07:01:36 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 07:01:36 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 07:01:36 ? github.com/edgexfoundry/edgex-go/cmd/core-keeper [no test files] 07:01:36 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 07:01:36 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 07:01:36 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 07:01:36 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 07:01:37 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-auth [no test files] 07:01:37 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 07:01:37 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 07:01:41 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 07:01:41 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 07:01:41 ? github.com/edgexfoundry/edgex-go/internal [no test files] 07:01:41 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 07:01:53 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 07:01:53 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 07:01:53 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 1.124s coverage: 28.7% of statements 07:02:03 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 1.188s coverage: 97.0% of statements 07:02:08 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 07:02:08 ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] 07:02:08 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 07:02:12 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 4.252s coverage: 69.2% of statements 07:02:14 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 07:02:14 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 07:02:16 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 1.206s coverage: 53.2% of statements 07:02:20 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 07:02:20 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 07:02:20 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 07:02:20 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 07:02:20 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/config [no test files] 07:02:20 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/constants [no test files] 07:02:20 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/container [no test files] 07:02:20 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/application [no test files] 07:02:20 ? github.com/edgexfoundry/edgex-go/internal/core/keeper [no test files] 07:02:28 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/infrastructure/interfaces [no test files] 07:02:28 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/infrastructure/interfaces/mocks [no test files] 07:02:28 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/registry [no test files] 07:02:28 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/utils [no test files] 07:02:28 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 07:02:29 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 9.814s coverage: 93.4% of statements 07:02:29 ok github.com/edgexfoundry/edgex-go/internal/core/keeper/controller/http 1.319s coverage: 91.7% of statements 07:02:35 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 07:02:35 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 07:02:36 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 1.205s coverage: 6.5% of statements 07:02:43 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 07:02:43 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 07:02:43 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 07:02:44 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 07:02:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 07:02:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 07:02:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 07:02:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 07:02:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 07:02:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 07:02:44 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 2.594s coverage: 95.8% of statements 07:02:45 ok github.com/edgexfoundry/edgex-go/internal/io 1.094s coverage: 72.2% of statements 07:02:55 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 07:02:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 07:02:56 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 1.301s coverage: 0.8% of statements 07:02:56 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 1.139s coverage: 32.2% of statements 07:03:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 1.147s coverage: 41.7% of statements 07:03:01 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 2.100s coverage: 77.8% of statements 07:03:01 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 1.108s coverage: 94.1% of statements 07:03:01 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 1.101s coverage: 96.3% of statements 07:03:05 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 1.095s coverage: 87.5% of statements 07:03:06 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 07:03:07 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 07:03:07 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 07:03:07 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 07:03:11 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 07:03:11 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 07:03:11 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 07:03:11 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 07:03:17 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 13.099s coverage: 94.4% of statements 07:03:17 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 07:03:17 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 07:03:17 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 07:03:17 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 07:03:27 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 07:03:27 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 07:03:29 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 07:03:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 24.911s coverage: 79.9% of statements 07:03:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.152s coverage: 92.9% of statements 07:03:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 1.074s coverage: 64.4% of statements 07:03:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 7.118s coverage: 62.3% of statements 07:03:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 12.097s coverage: 87.2% of statements 07:03:31 ok github.com/edgexfoundry/edgex-go/internal/security/common 1.076s coverage: 20.0% of statements 07:03:31 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 1.075s coverage: 100.0% of statements 07:03:34 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] 07:03:34 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 07:03:35 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 1.292s coverage: 81.8% of statements 07:03:35 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 1.278s coverage: 82.1% of statements 07:03:35 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 1.109s coverage: 86.0% of statements 07:03:41 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 07:03:41 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 07:03:42 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.742s coverage: 63.1% of statements 07:03:42 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 1.121s coverage: 100.0% of statements 07:03:43 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 1.111s coverage: 89.4% of statements 07:03:43 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 1.086s coverage: 100.0% of statements 07:03:43 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth [no test files] 07:03:43 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] 07:03:43 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] 07:03:44 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 1.079s coverage: 73.7% of statements 07:03:44 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 1.073s coverage: 100.0% of statements 07:03:51 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 07:03:51 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 07:03:51 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 07:03:52 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 1.680s coverage: 38.4% of statements 07:03:52 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 1.112s coverage: 89.5% of statements 07:03:53 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 07:03:53 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 07:03:53 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 07:03:53 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 07:03:54 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 1.104s coverage: 84.8% of statements 07:04:01 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 07:04:01 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 07:04:01 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 07:04:01 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 07:04:07 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 7.190s coverage: 19.9% of statements 07:04:08 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 07:04:08 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 07:04:08 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 07:04:08 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 07:04:09 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 1.494s coverage: 95.7% of statements 07:04:12 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 07:04:12 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 07:04:13 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 1.153s coverage: 61.8% of statements 07:04:16 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 07:04:16 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 07:04:17 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 1.271s coverage: 98.9% of statements 07:04:18 if which hadolint > /dev/null ; then hadolint --config .hadolint.yml `find * -type f -name 'Dockerfile*' -print` ; elif test "aarch64" = "x86_64" && which docker > /dev/null ; then docker run --rm -v `pwd`:/host:ro,z --entrypoint /bin/hadolint hadolint/hadolint:latest --config /host/.hadolint.yml `find * -type f -name 'Dockerfile*' | xargs -i echo '/host/{}'` ; fi 07:04:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:04:18 go vet ./... 07:08:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:08:10 ./internal/core/data/controller/messaging/subscriber.go 07:08:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:08:10 make: *** [Makefile:170: test] Error 1 [Pipeline] } 07:08:10 $ docker stop --time=1 7e9e9e3eb3e0a86d5698ad22245e764907374b891e6c61ec109fc0ee0a760c5c 07:08:12 $ docker rm -f --volumes 7e9e9e3eb3e0a86d5698ad22245e764907374b891e6c61ec109fc0ee0a760c5c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:08:16 07:08:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:08:17 arm64: Pulling from edgex-lftools-log-publisher 07:08:17 8998bd30e6a1: Pulling fs layer 07:08:17 04944245beec: Pulling fs layer 07:08:17 699f458cf7ca: Pulling fs layer 07:08:17 765212b225bb: Pulling fs layer 07:08:17 f23df028b6ca: Pulling fs layer 07:08:17 d65c8cfc05b1: Pulling fs layer 07:08:17 2437ff75d9bd: Pulling fs layer 07:08:17 f23df028b6ca: Waiting 07:08:17 2437ff75d9bd: Waiting 07:08:17 d65c8cfc05b1: Waiting 07:08:17 765212b225bb: Waiting 07:08:17 04944245beec: Verifying Checksum 07:08:17 04944245beec: Download complete 07:08:17 765212b225bb: Verifying Checksum 07:08:17 765212b225bb: Download complete 07:08:17 f23df028b6ca: Verifying Checksum 07:08:17 f23df028b6ca: Download complete 07:08:17 d65c8cfc05b1: Download complete 07:08:17 699f458cf7ca: Verifying Checksum 07:08:17 699f458cf7ca: Download complete 07:08:17 8998bd30e6a1: Verifying Checksum 07:08:17 8998bd30e6a1: Download complete 07:08:20 2437ff75d9bd: Verifying Checksum 07:08:20 2437ff75d9bd: Download complete 07:08:22 8998bd30e6a1: Pull complete 07:08:22 04944245beec: Pull complete 07:08:24 699f458cf7ca: Pull complete 07:08:24 765212b225bb: Pull complete 07:08:25 f23df028b6ca: Pull complete 07:08:25 d65c8cfc05b1: Pull complete 07:08:43 2437ff75d9bd: Pull complete 07:08:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:08:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:08:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:08:44 prd-ubuntu20.04-docker-arm64-4c-16g-6611 does not seem to be running inside a container 07:08:44 $ 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:08:46 $ docker top b8e8cd6eaf5651be7ba1dee41378f172a02bcaebabf25128503f44eb0de7abff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:08:47 ---> job-cost.sh 07:08:47 lf-activate-venv: SKIPPING 07:08:47 INFO: No Stack... 07:08:48 INFO: Retrieving Pricing Info for: v3-standard-4 07:08:49 INFO: Archiving Costs [Pipeline] sh 07:08:49 + cat /w/workspace/edgex-go/1/archives/cost.csv 07:08:49 + cut -d, -f6 [Pipeline] lock 07:08:49 Trying to acquire lock on [Resource: jenkins-edgexfoundry-edgex-go-PR-4840-1-stack-cost] 07:08:49 Resource [jenkins-edgexfoundry-edgex-go-PR-4840-1-stack-cost] did not exist. Created. 07:08:49 Lock acquired on [Resource: jenkins-edgexfoundry-edgex-go-PR-4840-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:08:50 + echo total: 0.10999999940395355 [Pipeline] stash 07:08:51 Stashed 1 file(s) [Pipeline] } 07:08:51 Lock released on resource [Resource: jenkins-edgexfoundry-edgex-go-PR-4840-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:08:51 $ docker stop --time=1 b8e8cd6eaf5651be7ba1dee41378f172a02bcaebabf25128503f44eb0de7abff 07:08:52 $ docker rm -f --volumes b8e8cd6eaf5651be7ba1dee41378f172a02bcaebabf25128503f44eb0de7abff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:08:53 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [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:08:55 + [ -d /w/workspace/edgex-go/1/archives ] [Pipeline] libraryResource [Pipeline] sh 07:08:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:08:57 ---> package-listing.sh 07:08:57 ++ tr '[:upper:]' '[:lower:]' 07:08:57 ++ facter osfamily 07:08:57 + OS_FAMILY=debian 07:08:57 + workspace=/w/workspace/edgex-go/1 07:08:57 + START_PACKAGES=/tmp/packages_start.txt 07:08:57 + END_PACKAGES=/tmp/packages_end.txt 07:08:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:08:57 + PACKAGES=/tmp/packages_start.txt 07:08:57 + '[' /w/workspace/edgex-go/1 ']' 07:08:57 + PACKAGES=/tmp/packages_end.txt 07:08:57 + case "${OS_FAMILY}" in 07:08:57 + dpkg -l 07:08:57 + grep '^ii' 07:08:57 + '[' -f /tmp/packages_start.txt ']' 07:08:57 + '[' -f /tmp/packages_end.txt ']' 07:08:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:08:57 + '[' /w/workspace/edgex-go/1 ']' 07:08:57 + mkdir -p /w/workspace/edgex-go/1/archives/ 07:08:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 07:08:57 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:08:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:08:58 07:08:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:08:58 latest: Pulling from edgex-lftools-log-publisher 07:08:58 5eb5b503b376: Pulling fs layer 07:08:58 5c69ac0246d0: Pulling fs layer 07:08:58 ec43610c2a17: Pulling fs layer 07:08:58 3a2ae6a8a46f: Pulling fs layer 07:08:58 33b1e0a273af: Pulling fs layer 07:08:58 5d3b04190fa2: Pulling fs layer 07:08:58 2f39f015ded8: Pulling fs layer 07:08:58 3a2ae6a8a46f: Waiting 07:08:58 33b1e0a273af: Waiting 07:08:58 5d3b04190fa2: Waiting 07:08:58 5c69ac0246d0: Verifying Checksum 07:08:58 5c69ac0246d0: Download complete 07:08:58 3a2ae6a8a46f: Download complete 07:08:58 33b1e0a273af: Verifying Checksum 07:08:58 33b1e0a273af: Download complete 07:08:58 5d3b04190fa2: Verifying Checksum 07:08:58 5d3b04190fa2: Download complete 07:08:58 ec43610c2a17: Verifying Checksum 07:08:58 ec43610c2a17: Download complete 07:08:58 5eb5b503b376: Verifying Checksum 07:08:58 5eb5b503b376: Download complete 07:08:59 2f39f015ded8: Download complete 07:09:00 5eb5b503b376: Pull complete 07:09:00 5c69ac0246d0: Pull complete 07:09:00 ec43610c2a17: Pull complete 07:09:00 3a2ae6a8a46f: Pull complete 07:09:00 33b1e0a273af: Pull complete 07:09:00 5d3b04190fa2: Pull complete 07:09:05 2f39f015ded8: Pull complete 07:09:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:09:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:09:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:09:05 prd-ubuntu20.04-docker-8c-8g-6610 does not seem to be running inside a container 07:09:05 $ 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:09:09 $ docker top d80c00845919aa332cb5efd2dc59d16a05026907cb1f168f48c76ad28a3e232a -eo pid,comm [Pipeline] { [Pipeline] sh 07:09:09 + touch /tmp/pre-build-complete [Pipeline] sh 07:09:10 + mkdir -p /var/log/sysstat [Pipeline] sh 07:09:10 + ls /var/log/sa-host 07:09:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:09:10 provisioning config files... 07:09:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config7349109238400468261tmp [Pipeline] { [Pipeline] echo 07:09:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:09:11 ---> create-netrc.sh [Pipeline] } 07:09:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:09:11 ---> python-tools-install.sh [Pipeline] echo 07:09:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:09:11 ---> sudo-logs.sh 07:09:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:09:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:09:12 ---> job-cost.sh 07:09:12 lf-activate-venv: SKIPPING 07:09:12 DEBUG: total: 0.10999999940395355 07:09:12 INFO: Retrieving Stack Cost... 07:09:12 INFO: Retrieving Pricing Info for: v3-standard-8 07:09:12 INFO: Archiving Costs [Pipeline] echo 07:09:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:09:13 ---> logs-deploy.sh 07:09:13 lf-activate-venv: SKIPPING 07:09:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4840/1 07:09:13 INFO: archiving workspace using pattern(s): 07:09:14 Archives upload complete. 07:09:14 INFO: archiving logs to Nexus