Pull request #4982 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 jinlinGuan for edgexfoundry/edgex-go Obtained Jenkinsfile from 440a9ad5963b7dca8941c7b7e89e04b0810a3bd2+ead55998a61037c88c593b6744c8da68f1c88ef7 (ed342e204dc90150e92bf05d566d63bd9b853403) 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-ssh4348390050063579579.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh9398750700821228875.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-4982/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-4982/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16311621209296156561.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-4982/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5116803563536129839.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh6573768864314846687.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-4982/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-4982/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4281376787040585778.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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]] ========================================================= [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.23 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 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-23755 in /w/workspace/edgexfoundry_edgex-go_PR-4982 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/1 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit ead55998a61037c88c593b6744c8da68f1c88ef7 into PR head commit 440a9ad5963b7dca8941c7b7e89e04b0810a3bd2 Merge succeeded, producing 440a9ad5963b7dca8941c7b7e89e04b0810a3bd2 Checking out Revision 440a9ad5963b7dca8941c7b7e89e04b0810a3bd2 (PR-4982) Commit message: "refactor!: replace vault with openbao" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > 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/4982/head:refs/remotes/origin/PR-4982 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 440a9ad5963b7dca8941c7b7e89e04b0810a3bd2 # 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 ead55998a61037c88c593b6744c8da68f1c88ef7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 440a9ad5963b7dca8941c7b7e89e04b0810a3bd2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:06:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:06:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:06:04 ========================================================= 10:06:04 EdgeX Global Pipelines Version Info 10:06:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:06:05 ------------------- 10:06:05 stable info: 10:06:05 ------------------- 10:06:05 Commited By: Ginny Guan ginny@iotechsys.com 10:06:05 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 10:06:05 Message: update stable to v1.0.265 10:06:05 ------------------- 10:06:05 experimental info: 10:06:05 ------------------- 10:06:05 Commited By: Cherry Wang cherry@iotechsys.com 10:06:05 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 10:06:05 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:06:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 10:06:06 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 10:06:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:06:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:06:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:06:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 10:06:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:06:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 10:06:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 10:06:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 10:06:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:06:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:06:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:06:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:06:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:06:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:06:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:06:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:06:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 10:06:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo 10:06:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:06:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:06:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:06:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4982 [Pipeline] echo 10:06:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4982 [Pipeline] echo 10:06:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4982 [Pipeline] echo 10:06:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 440a9ad5963b7dca8941c7b7e89e04b0810a3bd2 [Pipeline] echo 10:06:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 440a9ad [Pipeline] echo 10:06:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:06:07 provisioning config files... 10:06:07 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config13669408084365970285tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:06:08 ---> ****-login.sh 10:06:08 nexus3.edgexfoundry.org:10001 10:06:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:06:08 Configure a credential helper to remove this warning. See 10:06:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:06:08 10:06:08 Login Succeeded 10:06:08 nexus3.edgexfoundry.org:10002 10:06:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:06:08 Configure a credential helper to remove this warning. See 10:06:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:06:08 10:06:08 Login Succeeded 10:06:08 nexus3.edgexfoundry.org:10003 10:06:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:06:08 Configure a credential helper to remove this warning. See 10:06:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:06:08 10:06:08 Login Succeeded 10:06:08 nexus3.edgexfoundry.org:10004 10:06:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:06:09 Configure a credential helper to remove this warning. See 10:06:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:06:09 10:06:09 Login Succeeded 10:06:09 ****.io 10:06:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:06:09 Configure a credential helper to remove this warning. See 10:06:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:06:09 10:06:09 Login Succeeded 10:06:09 ---> ****-login.sh ends [Pipeline] } 10:06:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:06:09 + 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-cron-scheduler/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile 10:06:09 + dirname cmd/core-command/Dockerfile 10:06:09 + cut -d/ -f2 10:06:09 + echo core-command,cmd/core-command/Dockerfile 10:06:09 + + cut -d/ -f2 10:06:09 dirname cmd/core-common-config-bootstrapper/Dockerfile 10:06:09 + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile 10:06:09 + dirname cmd/core-data/Dockerfile 10:06:09 + cut -d/ -f2 10:06:09 + echo core-data,cmd/core-data/Dockerfile 10:06:09 + dirname cmd/core-keeper/Dockerfile 10:06:09 + cut -d/ -f2 10:06:09 + echo core-keeper,cmd/core-keeper/Dockerfile 10:06:09 + dirname cmd/core-metadata/Dockerfile 10:06:09 + cut -d/ -f2 10:06:09 + echo core-metadata,cmd/core-metadata/Dockerfile 10:06:09 + dirname cmd/security-bootstrapper/Dockerfile 10:06:09 + cut -d/ -f2 10:06:09 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 10:06:09 + + dirname cmd/security-proxy-auth/Dockerfile 10:06:09 cut -d/ -f2 10:06:09 + echo security-proxy-auth,cmd/security-proxy-auth/Dockerfile 10:06:09 + dirname cmd/security-proxy-setup/Dockerfile 10:06:09 + cut -d/ -f2 10:06:09 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 10:06:09 + dirname cmd/security-secretstore-setup/Dockerfile 10:06:09 + cut -d/ -f2 10:06:09 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 10:06:09 + dirname cmd/security-spiffe-token-provider/Dockerfile 10:06:09 + cut -d/ -f2 10:06:09 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 10:06:09 + dirname cmd/security-spire-agent/Dockerfile 10:06:09 + cut -d/ -f2 10:06:09 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 10:06:09 + dirname cmd/security-spire-config/Dockerfile 10:06:09 + cut -d/ -f2 10:06:09 + echo security-spire-config,cmd/security-spire-config/Dockerfile 10:06:09 + dirname cmd/security-spire-server/Dockerfile 10:06:09 + cut -d/ -f2 10:06:09 + echo security-spire-server,cmd/security-spire-server/Dockerfile 10:06:09 + + dirnamecut cmd/support-cron-scheduler/Dockerfile -d/ 10:06:09 -f2 10:06:09 + echo support-cron-scheduler,cmd/support-cron-scheduler/Dockerfile 10:06:09 + dirname cmd/support-notifications/Dockerfile 10:06:09 + cut -d/ -f2 10:06:09 + echo support-notifications,cmd/support-notifications/Dockerfile 10:06:09 + dirname cmd/support-scheduler/Dockerfile 10:06:09 + cut -d/ -f2 10:06:09 + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo 10:06:09 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-cron-scheduler, dockerfile:cmd/support-cron-scheduler/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 10:06:10 + git rev-list -1 --merges 440a9ad5963b7dca8941c7b7e89e04b0810a3bd2~1..440a9ad5963b7dca8941c7b7e89e04b0810a3bd2 [Pipeline] echo 10:06:10 -----------> git rev-list -1 --merges 440a9ad5963b7dca8941c7b7e89e04b0810a3bd2~1..440a9ad5963b7dca8941c7b7e89e04b0810a3bd2 440a9ad5963b7dca8941c7b7e89e04b0810a3bd2 [false] [Pipeline] sh 10:06:10 + git log --format=format:%s -1 440a9ad5963b7dca8941c7b7e89e04b0810a3bd2 [Pipeline] echo 10:06:10 ========================================================= 10:06:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:06:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 10:06:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:06:11 + grep -v github /etc/ssh/ssh_known_hosts 10:06:11 + [ -e /tmp/ssh_known_hosts ] 10:06:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:06:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:06:11 + sudo tee -a /etc/ssh/ssh_known_hosts 10:06:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:06:11 10:06:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:06:12 0.1.4: Pulling from edgex-devops/py-git-semver 10:06:12 b85a868b505f: Pulling fs layer 10:06:12 e2be974225ed: Pulling fs layer 10:06:12 339a4e72a1f5: Pulling fs layer 10:06:12 988bab9f4d93: Pulling fs layer 10:06:12 1469e6f7b9e6: Pulling fs layer 10:06:12 eaf3925da568: Pulling fs layer 10:06:12 bab4dde63d76: Pulling fs layer 10:06:12 bde34c3a00c8: Pulling fs layer 10:06:12 b352a97aabf1: Pulling fs layer 10:06:12 4872d77fe225: Pulling fs layer 10:06:12 5851b861e8e6: Pulling fs layer 10:06:12 eaf3925da568: Waiting 10:06:12 bab4dde63d76: Waiting 10:06:12 988bab9f4d93: Waiting 10:06:12 bde34c3a00c8: Waiting 10:06:12 b352a97aabf1: Waiting 10:06:12 4872d77fe225: Waiting 10:06:12 5851b861e8e6: Waiting 10:06:12 1469e6f7b9e6: Waiting 10:06:12 e2be974225ed: Download complete 10:06:12 988bab9f4d93: Verifying Checksum 10:06:12 988bab9f4d93: Download complete 10:06:12 1469e6f7b9e6: Verifying Checksum 10:06:12 1469e6f7b9e6: Download complete 10:06:12 eaf3925da568: Verifying Checksum 10:06:12 eaf3925da568: Download complete 10:06:12 339a4e72a1f5: Verifying Checksum 10:06:12 339a4e72a1f5: Download complete 10:06:12 bde34c3a00c8: Verifying Checksum 10:06:12 bde34c3a00c8: Download complete 10:06:12 b352a97aabf1: Download complete 10:06:12 4872d77fe225: Download complete 10:06:12 5851b861e8e6: Download complete 10:06:12 b85a868b505f: Verifying Checksum 10:06:12 b85a868b505f: Download complete 10:06:12 bab4dde63d76: Download complete 10:06:14 b85a868b505f: Pull complete 10:06:14 e2be974225ed: Pull complete 10:06:14 339a4e72a1f5: Pull complete 10:06:14 988bab9f4d93: Pull complete 10:06:15 1469e6f7b9e6: Pull complete 10:06:15 eaf3925da568: Pull complete 10:06:16 bab4dde63d76: Pull complete 10:06:16 bde34c3a00c8: Pull complete 10:06:17 b352a97aabf1: Pull complete 10:06:17 4872d77fe225: Pull complete 10:06:17 5851b861e8e6: Pull complete 10:06:17 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:06:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:06:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:06:17 prd-ubuntu20.04-docker-8c-8g-23755 does not seem to be running inside a container 10:06:17 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:06:20 $ docker top 72410ac195b50d52f53d0a7456a79519352937891be88cb5001e43fdd6f6fa00 -eo pid,comm 10:06:20 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). 10:06:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:06:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:06:20 [ssh-agent] Looking for ssh-agent implementation... 10:06:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:06:20 $ docker exec 72410ac195b50d52f53d0a7456a79519352937891be88cb5001e43fdd6f6fa00 ssh-agent 10:06:20 SSH_AUTH_SOCK=/tmp/ssh-yquphnQsBTzO/agent.33 10:06:20 SSH_AGENT_PID=39 10:06:20 Running ssh-add (command line suppressed) 10:06:20 Identity added: /w/workspace/edgex-go/1@tmp/private_key_636219275709858753.key (/w/workspace/edgex-go/1@tmp/private_key_636219275709858753.key) 10:06:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:06:21 + git tag --points-at HEAD [Pipeline] } 10:06:21 $ docker exec --env ******** --env ******** 72410ac195b50d52f53d0a7456a79519352937891be88cb5001e43fdd6f6fa00 ssh-agent -k 10:06:21 unset SSH_AUTH_SOCK; 10:06:21 unset SSH_AGENT_PID; 10:06:21 echo Agent pid 39 killed; 10:06:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:06:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:06:21 [ssh-agent] Looking for ssh-agent implementation... 10:06:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:06:21 $ docker exec 72410ac195b50d52f53d0a7456a79519352937891be88cb5001e43fdd6f6fa00 ssh-agent 10:06:21 SSH_AUTH_SOCK=/tmp/ssh-IiKWmWX0iwrt/agent.72 10:06:21 SSH_AGENT_PID=78 10:06:21 Running ssh-add (command line suppressed) 10:06:21 Identity added: /w/workspace/edgex-go/1@tmp/private_key_11896960342080271338.key (/w/workspace/edgex-go/1@tmp/private_key_11896960342080271338.key) 10:06:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:06:22 + git semver init 10:06:22 2024-10-25 10:06:22,425 [run_init] DEBUG init version:0.0.0 force:False 10:06:22 2024-10-25 10:06:22,426 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/1/.semver 10:06:22 2024-10-25 10:06:22,427 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/1/.semver 10:06:22 2024-10-25 10:06:22,427 [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) 10:06:27 2024-10-25 10:06:27,373 [append_file] DEBUG append to file:/w/workspace/edgex-go/1/.git/info/exclude 10:06:27 2024-10-25 10:06:27,374 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/1/.semver/PR-4982 with force:False 10:06:27 2024-10-25 10:06:27,374 [write_file] DEBUG write to file:/w/workspace/edgex-go/1/.semver/PR-4982 10:06:27 2024-10-25 10:06:27,380 [execute] INFO git cat-file --batch-check 10:06:27 2024-10-25 10:06:27,381 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 10:06:27 2024-10-25 10:06:27,387 [execute] INFO git cat-file --batch 10:06:27 2024-10-25 10:06:27,387 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 10:06:27 2024-10-25 10:06:27,393 [read_version] DEBUG read version from /w/workspace/edgex-go/1/.semver/PR-4982 10:06:27 0.0.0 [Pipeline] } 10:06:27 $ docker exec --env ******** --env ******** 72410ac195b50d52f53d0a7456a79519352937891be88cb5001e43fdd6f6fa00 ssh-agent -k 10:06:27 unset SSH_AUTH_SOCK; 10:06:27 unset SSH_AGENT_PID; 10:06:27 echo Agent pid 78 killed; 10:06:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:06:28 + git semver [Pipeline] } 10:06:28 $ docker stop --time=1 72410ac195b50d52f53d0a7456a79519352937891be88cb5001e43fdd6f6fa00 10:06:29 $ docker rm -f --volumes 72410ac195b50d52f53d0a7456a79519352937891be88cb5001e43fdd6f6fa00 [Pipeline] // withDockerContainer [Pipeline] sh 10:06:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:06:30 Stashed 1 file(s) [Pipeline] echo 10:06:30 [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) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] stage [Pipeline] { (Prep) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] // stage [Pipeline] } 10:06:32 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo 10:06:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:06:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:06:32 ========================================================= 10:06:32 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 10:06:32 ========================================================= [Pipeline] fileExists [Pipeline] sh 10:06:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 10:06:32 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 10:06:32 43c4264eed91: Pulling fs layer 10:06:32 4cc291be95ef: Pulling fs layer 10:06:32 2ac1f1163629: Pulling fs layer 10:06:32 5c3c966382ef: Pulling fs layer 10:06:32 4f4fb700ef54: Pulling fs layer 10:06:32 5d5c8e513c77: Pulling fs layer 10:06:32 9f66e0745190: Pulling fs layer 10:06:32 f49a43e4bbc0: Pulling fs layer 10:06:32 561ebcabdf7f: Pulling fs layer 10:06:32 9f66e0745190: Waiting 10:06:32 f49a43e4bbc0: Waiting 10:06:32 561ebcabdf7f: Waiting 10:06:32 5c3c966382ef: Waiting 10:06:32 4f4fb700ef54: Waiting 10:06:32 5d5c8e513c77: Waiting 10:06:32 4cc291be95ef: Verifying Checksum 10:06:32 4cc291be95ef: Download complete 10:06:32 5c3c966382ef: Download complete 10:06:32 4f4fb700ef54: Verifying Checksum 10:06:32 4f4fb700ef54: Download complete 10:06:32 5d5c8e513c77: Verifying Checksum 10:06:32 5d5c8e513c77: Download complete 10:06:32 43c4264eed91: Verifying Checksum 10:06:32 43c4264eed91: Download complete 10:06:32 9f66e0745190: Verifying Checksum 10:06:32 9f66e0745190: Download complete 10:06:32 43c4264eed91: Pull complete 10:06:32 561ebcabdf7f: Verifying Checksum 10:06:32 561ebcabdf7f: Download complete 10:06:32 4cc291be95ef: Pull complete 10:06:33 2ac1f1163629: Verifying Checksum 10:06:33 2ac1f1163629: Download complete 10:06:33 f49a43e4bbc0: Verifying Checksum 10:06:33 f49a43e4bbc0: Download complete 10:06:37 2ac1f1163629: Pull complete 10:06:37 5c3c966382ef: Pull complete 10:06:37 4f4fb700ef54: Pull complete 10:06:37 5d5c8e513c77: Pull complete 10:06:37 9f66e0745190: Pull complete 10:06:39 f49a43e4bbc0: Pull complete 10:06:40 561ebcabdf7f: Pull complete 10:06:40 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 10:06:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 10:06:40 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [Pipeline] fileExists [Pipeline] sh 10:06:40 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 10:06:40 WORKDIR /edgex 10:06:40 COPY go.mod . 10:06:40 RUN go mod download 10:06:40 + docker build -t ci-base-image-x86_64 -f - . 10:06:41 Sending build context to Docker daemon 177.9MB 10:06:41 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 10:06:41 ---> 3a752c3f9dda 10:06:41 Step 2/4 : WORKDIR /edgex 10:06:46 ---> Running in 7deb72dc9b2c 10:06:46 Removing intermediate container 7deb72dc9b2c 10:06:46 ---> e3d143ffdcb9 10:06:46 Step 3/4 : COPY go.mod . 10:06:46 ---> 2c207aa1f24a 10:06:46 Step 4/4 : RUN go mod download 10:06:46 ---> Running in 4348f9d3c070 10:07:08 Removing intermediate container 4348f9d3c070 10:07:08 ---> 4c31750fd1bf 10:07:08 Successfully built 4c31750fd1bf 10:07:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:07:08 + docker inspect -f . ci-base-image-x86_64 10:07:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:07:08 prd-ubuntu20.04-docker-8c-8g-23755 does not seem to be running inside a container 10:07:08 $ 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 ******** ci-base-image-x86_64 cat 10:07:09 $ docker top 25ad53120518bd20c6cbd7d7db4eebb30fa0ae82f8e4fa3ed0a5f701a34ca271 -eo pid,comm [Pipeline] { [Pipeline] sh 10:07:09 + go version 10:07:09 go version go1.23.2 linux/amd64 [Pipeline] } 10:07:09 $ docker stop --time=1 25ad53120518bd20c6cbd7d7db4eebb30fa0ae82f8e4fa3ed0a5f701a34ca271 10:07:11 $ docker rm -f --volumes 25ad53120518bd20c6cbd7d7db4eebb30fa0ae82f8e4fa3ed0a5f701a34ca271 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:07:12 + docker inspect -f . ci-base-image-x86_64 10:07:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:07:12 prd-ubuntu20.04-docker-8c-8g-23755 does not seem to be running inside a container 10:07:12 $ 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 ******** ci-base-image-x86_64 cat 10:07:12 $ docker top e7e556d14ef301790ba1d1c3dbb6379b27f2f587f0c054f62526f5332b658480 -eo pid,comm [Pipeline] { [Pipeline] echo 10:07:12 ========================================================= 10:07:12 [edgeXBuildGoParallel] Running Tests and Build... 10:07:12 ========================================================= [Pipeline] sh 10:07:13 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh 10:07:13 + make test 10:07:13 go test -race -coverprofile=coverage.out ./... 10:07:21 ? github.com/edgexfoundry/edgex-go [no test files] 10:07:53 github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper coverage: 0.0% of statements 10:07:53 github.com/edgexfoundry/edgex-go/cmd/core-command coverage: 0.0% of statements 10:07:53 github.com/edgexfoundry/edgex-go/cmd/core-data coverage: 0.0% of statements 10:07:53 github.com/edgexfoundry/edgex-go/cmd/core-keeper coverage: 0.0% of statements 10:07:53 github.com/edgexfoundry/edgex-go/cmd/core-metadata coverage: 0.0% of statements 10:07:53 github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper coverage: 0.0% of statements 10:07:53 github.com/edgexfoundry/edgex-go/cmd/secrets-config coverage: 0.0% of statements 10:07:53 github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider coverage: 0.0% of statements 10:07:53 github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup coverage: 0.0% of statements 10:07:53 github.com/edgexfoundry/edgex-go/cmd/security-proxy-auth coverage: 0.0% of statements 10:07:53 github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider coverage: 0.0% of statements 10:07:53 github.com/edgexfoundry/edgex-go/cmd/support-cron-scheduler coverage: 0.0% of statements 10:07:53 ? github.com/edgexfoundry/edgex-go/internal [no test files] 10:07:53 github.com/edgexfoundry/edgex-go/cmd/support-notifications coverage: 0.0% of statements 10:07:53 github.com/edgexfoundry/edgex-go/cmd/support-scheduler coverage: 0.0% of statements 10:07:53 github.com/edgexfoundry/edgex-go/internal/core/command coverage: 0.0% of statements 10:07:55 github.com/edgexfoundry/edgex-go/internal/core/command/container coverage: 0.0% of statements 10:07:55 github.com/edgexfoundry/edgex-go/internal/core/command/config coverage: 0.0% of statements 10:07:56 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 1.026s coverage: 28.7% of statements 10:07:56 github.com/edgexfoundry/edgex-go/internal/core/common_config coverage: 0.0% of statements 10:07:56 github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks coverage: 0.0% of statements 10:07:56 github.com/edgexfoundry/edgex-go/internal/core/data coverage: 0.0% of statements 10:07:57 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 1.042s coverage: 97.0% of statements 10:07:57 github.com/edgexfoundry/edgex-go/internal/core/data/container coverage: 0.0% of statements 10:07:57 github.com/edgexfoundry/edgex-go/internal/core/data/config coverage: 0.0% of statements 10:07:58 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 10:07:58 github.com/edgexfoundry/edgex-go/internal/core/keeper/config coverage: 0.0% of statements 10:07:58 github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging coverage: 0.0% of statements 10:07:58 github.com/edgexfoundry/edgex-go/internal/core/data/mocks coverage: 0.0% of statements 10:07:58 github.com/edgexfoundry/edgex-go/internal/core/keeper coverage: 0.0% of statements 10:07:58 github.com/edgexfoundry/edgex-go/internal/core/keeper/application coverage: 0.0% of statements 10:07:58 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/constants [no test files] 10:07:58 github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks coverage: 0.0% of statements 10:07:58 github.com/edgexfoundry/edgex-go/internal/core/keeper/container coverage: 0.0% of statements 10:08:00 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/infrastructure/interfaces [no test files] 10:08:00 github.com/edgexfoundry/edgex-go/internal/core/keeper/registry coverage: 0.0% of statements 10:08:00 github.com/edgexfoundry/edgex-go/internal/core/metadata coverage: 0.0% of statements 10:08:00 github.com/edgexfoundry/edgex-go/internal/core/keeper/infrastructure/interfaces/mocks coverage: 0.0% of statements 10:08:00 github.com/edgexfoundry/edgex-go/internal/core/keeper/utils coverage: 0.0% of statements 10:08:00 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 4.060s coverage: 69.2% of statements 10:08:00 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 1.050s coverage: 48.4% of statements 10:08:01 github.com/edgexfoundry/edgex-go/internal/core/metadata/config coverage: 0.0% of statements 10:08:01 github.com/edgexfoundry/edgex-go/internal/core/metadata/container coverage: 0.0% of statements 10:08:01 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 3.679s coverage: 93.4% of statements 10:08:01 ok github.com/edgexfoundry/edgex-go/internal/core/keeper/controller/http 1.048s coverage: 91.7% of statements 10:08:02 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 1.069s coverage: 9.4% of statements 10:08:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 10:08:02 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 10:08:02 github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks coverage: 0.0% of statements 10:08:02 github.com/edgexfoundry/edgex-go/internal/pkg/correlation coverage: 0.0% of statements 10:08:02 github.com/edgexfoundry/edgex-go/internal/pkg coverage: 0.0% of statements 10:08:02 github.com/edgexfoundry/edgex-go/internal/core/metadata/uom coverage: 0.0% of statements 10:08:02 github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers coverage: 0.0% of statements 10:08:02 github.com/edgexfoundry/edgex-go/internal/pkg/common coverage: 0.0% of statements 10:08:02 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 10:08:02 github.com/edgexfoundry/edgex-go/internal/pkg/db/postgres coverage: 0.0% of statements 10:08:02 github.com/edgexfoundry/edgex-go/internal/pkg/db/redis coverage: 0.0% of statements 10:08:03 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.402s coverage: 95.8% of statements 10:08:03 ok github.com/edgexfoundry/edgex-go/internal/io 1.033s coverage: 72.2% of statements 10:08:04 github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/postgres/models coverage: 0.0% of statements 10:08:04 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 10:08:04 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper coverage: 0.0% of statements 10:08:05 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/postgres 1.044s coverage: 0.0% of statements [no tests to run] 10:08:05 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 1.049s coverage: 1.0% of statements 10:08:05 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 1.041s coverage: 44.2% of statements 10:08:05 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 1.028s coverage: 41.7% of statements 10:08:06 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.034s coverage: 77.8% of statements 10:08:06 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 1.019s coverage: 94.1% of statements 10:08:06 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 1.029s coverage: 96.3% of statements 10:08:06 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 1.024s coverage: 87.5% of statements 10:08:06 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 10:08:06 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config coverage: 0.0% of statements 10:08:06 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers coverage: 0.0% of statements 10:08:06 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container coverage: 0.0% of statements 10:08:07 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 10:08:07 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container coverage: 0.0% of statements 10:08:07 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto coverage: 0.0% of statements 10:08:07 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config coverage: 0.0% of statements 10:08:08 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/postgres/config coverage: 0.0% of statements 10:08:08 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/postgres coverage: 0.0% of statements 10:08:08 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/postgres/container coverage: 0.0% of statements 10:08:09 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis coverage: 0.0% of statements 10:08:09 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container coverage: 0.0% of statements 10:08:09 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config coverage: 0.0% of statements 10:08:09 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers coverage: 0.0% of statements 10:08:10 github.com/edgexfoundry/edgex-go/internal/security/config coverage: 0.0% of statements 10:08:10 github.com/edgexfoundry/edgex-go/internal/security/config/command coverage: 0.0% of statements 10:08:10 github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy coverage: 0.0% of statements 10:08:12 github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared coverage: 0.0% of statements 10:08:13 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 10:08:14 github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config coverage: 0.0% of statements 10:08:14 github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container coverage: 0.0% of statements 10:08:17 github.com/edgexfoundry/edgex-go/internal/security/proxyauth coverage: 0.0% of statements 10:08:17 github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config coverage: 0.0% of statements 10:08:17 github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container coverage: 0.0% of statements 10:08:18 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.030s coverage: 94.4% of statements 10:08:18 github.com/edgexfoundry/edgex-go/internal/security/secretstore/config coverage: 0.0% of statements 10:08:18 github.com/edgexfoundry/edgex-go/internal/security/secretstore/container coverage: 0.0% of statements 10:08:18 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 10:08:19 github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider coverage: 0.0% of statements 10:08:19 github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config coverage: 0.0% of statements 10:08:19 github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container coverage: 0.0% of statements 10:08:19 github.com/edgexfoundry/edgex-go/internal/support/cronscheduler coverage: 0.0% of statements 10:08:20 github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/container coverage: 0.0% of statements 10:08:20 github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/application/action coverage: 0.0% of statements 10:08:20 github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/config coverage: 0.0% of statements 10:08:21 ? github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/infrastructure/interfaces [no test files] 10:08:21 github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/infrastructure/interfaces/mocks coverage: 0.0% of statements 10:08:21 github.com/edgexfoundry/edgex-go/internal/support/notifications coverage: 0.0% of statements 10:08:23 github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel coverage: 0.0% of statements 10:08:23 github.com/edgexfoundry/edgex-go/internal/support/notifications/config coverage: 0.0% of statements 10:08:23 github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks coverage: 0.0% of statements 10:08:23 github.com/edgexfoundry/edgex-go/internal/support/notifications/container coverage: 0.0% of statements 10:08:25 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 10:08:25 github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks coverage: 0.0% of statements 10:08:25 github.com/edgexfoundry/edgex-go/internal/support/scheduler coverage: 0.0% of statements 10:08:25 github.com/edgexfoundry/edgex-go/internal/support/scheduler/application coverage: 0.0% of statements 10:08:26 github.com/edgexfoundry/edgex-go/internal/support/scheduler/config coverage: 0.0% of statements 10:08:26 github.com/edgexfoundry/edgex-go/internal/support/scheduler/container coverage: 0.0% of statements 10:08:26 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 10:08:26 github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks coverage: 0.0% of statements 10:08:29 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 22.208s coverage: 75.9% of statements 10:08:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.055s coverage: 92.9% of statements 10:08:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 1.029s coverage: 66.7% of statements 10:08:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 7.029s coverage: 62.3% of statements 10:08:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/postgres/handlers 1.025s coverage: 75.0% of statements 10:08:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 12.033s coverage: 87.2% of statements 10:08:31 ok github.com/edgexfoundry/edgex-go/internal/security/common 1.017s coverage: 20.0% of statements 10:08:31 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 1.021s coverage: 100.0% of statements 10:08:31 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 1.058s coverage: 81.8% of statements 10:08:31 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 1.065s coverage: 82.1% of statements 10:08:31 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 1.026s coverage: 86.0% of statements 10:08:31 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.146s coverage: 63.1% of statements 10:08:31 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 1.022s coverage: 100.0% of statements 10:08:31 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 1.023s coverage: 89.4% of statements 10:08:31 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 1.019s coverage: 100.0% of statements 10:08:31 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 1.024s coverage: 73.7% of statements 10:08:31 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 1.018s coverage: 100.0% of statements 10:08:31 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 1.141s coverage: 36.8% of statements 10:08:31 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 1.024s coverage: 93.8% of statements 10:08:31 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 1.019s coverage: 3.1% of statements 10:08:31 ok github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/application 1.033s coverage: 9.0% of statements 10:08:31 ok github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/controller/http 1.066s coverage: 97.7% of statements 10:08:31 ok github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/infrastructure 1.029s coverage: 45.8% of statements 10:08:31 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 7.056s coverage: 17.4% of statements 10:08:31 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 1.115s coverage: 95.7% of statements 10:08:31 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 1.030s coverage: 61.8% of statements 10:08:31 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 1.076s coverage: 98.9% of statements 10:08:31 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 10:08:31 running golangci-lint 10:08:31 golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z 10:08:31 go version go1.23.2 linux/amd64 10:08:32 level=info msg="golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z" 10:08:32 level=info msg="[config_reader] Used config file .golangci.yml" 10:08:32 level=info msg="[lintersdb] Active 7 linters: [errcheck gosec gosimple govet ineffassign staticcheck unused]" 10:08:58 level=info msg="[loader] Go packages loading at mode 575 (files|imports|name|deps|exports_file|types_sizes|compiled_files) took 25.230811331s" 10:08:58 level=info msg="[runner/filename_unadjuster] Pre-built 0 adjustments in 57.543383ms" 10:09:13 level=info msg="[linters_context/goanalysis] analyzers took 1m54.868629025s with top 10 stages: buildir: 1m12.191022926s, gosec: 4.387635618s, fact_deprecated: 3.405385669s, inspect: 3.393270056s, printf: 2.264038171s, ctrlflow: 1.897386226s, nilness: 1.666986495s, fact_purity: 1.586635142s, S1038: 1.346968599s, unused: 843.042344ms" 10:09:13 level=info msg="[runner] Issues before processing: 228, after processing: 6" 10:09:13 level=info msg="[runner] Processors filtering stat (in/out): max_from_linter: 6/6, severity-rules: 6/6, filename_unadjuster: 228/228, invalid_issue: 228/228, path_prettifier: 228/228, exclude-rules: 228/28, uniq_by_line: 6/6, identifier_marker: 228/228, max_same_issues: 6/6, sort_results: 6/6, cgo: 228/228, skip_dirs: 228/228, source_code: 6/6, fixer: 6/6, max_per_file_from_linter: 6/6, path_shortener: 6/6, path_prefixer: 6/6, skip_files: 228/228, autogenerated_exclude: 228/228, exclude: 228/228, nolint: 28/6, diff: 6/6" 10:09:13 level=info msg="[runner] processing took 20.650684ms with stages: nolint: 9.008993ms, identifier_marker: 5.047922ms, path_prettifier: 2.127382ms, autogenerated_exclude: 1.733489ms, exclude-rules: 1.312933ms, skip_dirs: 1.161752ms, invalid_issue: 76.251µs, cgo: 66.231µs, source_code: 65.57µs, filename_unadjuster: 33.57µs, uniq_by_line: 4.371µs, max_same_issues: 4µs, path_shortener: 1.73µs, max_from_linter: 1.62µs, max_per_file_from_linter: 960ns, skip_files: 940ns, sort_results: 890ns, exclude: 730ns, fixer: 600ns, diff: 370ns, path_prefixer: 280ns, severity-rules: 100ns" 10:09:13 level=info msg="[runner] linters took 14.460056338s with stages: goanalysis_metalinter: 14.439306762s" 10:09:13 internal/security/secretstore/tokenfilewriter/tokenfilewriter.go:36:2: const `consulSecretsEngineOpsPolicyName` is unused (unused) 10:09:13 consulSecretsEngineOpsPolicyName = "consul_secrets_engine_management_policy" 10:09:13 ^ 10:09:13 internal/security/bootstrapper/command/setupacl/command.go:76:2: field `secretstoreTokenCache` is unused (unused) 10:09:13 secretstoreTokenCache string 10:09:13 ^ 10:09:13 internal/security/bootstrapper/command/setupacl/command.go:269:15: func `(*cmd).getKeyPrefix` is unused (unused) 10:09:13 func (c *cmd) getKeyPrefix(roleName string) string { 10:09:13 ^ 10:09:13 internal/security/bootstrapper/command/setupacl/command.go:530:15: func `(*cmd).getSecretStoreToken` is unused (unused) 10:09:13 func (c *cmd) getSecretStoreToken() (string, error) { 10:09:13 ^ 10:09:13 internal/security/bootstrapper/command/setupacl/command.go:543:15: func `(*cmd).retrieveSecretStoreTokenFromFile` is unused (unused) 10:09:13 func (c *cmd) retrieveSecretStoreTokenFromFile() (string, error) { 10:09:13 ^ 10:09:13 internal/security/bootstrapper/command/setupacl/command.go:597:15: func `(*cmd).createSecretStoreClient` is unused (unused) 10:09:13 func (c *cmd) createSecretStoreClient(secretConfig *config.ConfigurationStruct) (secrets.SecretStoreClient, error) { 10:09:13 ^ 10:09:13 level=info msg="File cache stats: 2 entries of total size 27.1KiB" 10:09:13 level=info msg="Memory: 389 samples, avg is 283.7MB, max is 1307.6MB" 10:09:13 level=info msg="Execution took 39.756618084s" 10:09:13 make: *** [Makefile:181: lint] Error 1 [Pipeline] } 10:09:13 $ docker stop --time=1 e7e556d14ef301790ba1d1c3dbb6379b27f2f587f0c054f62526f5332b658480 10:09:17 $ docker rm -f --volumes e7e556d14ef301790ba1d1c3dbb6379b27f2f587f0c054f62526f5332b658480 [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] } 10:09:19 Failed in branch amd64 [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 10:09:21 + [ -d /w/workspace/edgex-go/1/archives ] [Pipeline] libraryResource [Pipeline] sh 10:09:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:09:22 ---> package-listing.sh 10:09:22 ++ facter osfamily 10:09:22 ++ tr '[:upper:]' '[:lower:]' 10:09:22 + OS_FAMILY=debian 10:09:22 + workspace=/w/workspace/edgex-go/1 10:09:22 + START_PACKAGES=/tmp/packages_start.txt 10:09:22 + END_PACKAGES=/tmp/packages_end.txt 10:09:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:09:22 + PACKAGES=/tmp/packages_start.txt 10:09:22 + '[' /w/workspace/edgex-go/1 ']' 10:09:22 + PACKAGES=/tmp/packages_end.txt 10:09:22 + case "${OS_FAMILY}" in 10:09:22 + dpkg -l 10:09:22 + grep '^ii' 10:09:22 + '[' -f /tmp/packages_start.txt ']' 10:09:22 + '[' -f /tmp/packages_end.txt ']' 10:09:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:09:22 + '[' /w/workspace/edgex-go/1 ']' 10:09:22 + mkdir -p /w/workspace/edgex-go/1/archives/ 10:09:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 10:09:22 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 10:09:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:09:23 10:09:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:09:24 latest: Pulling from edgex-lftools-log-publisher 10:09:24 5eb5b503b376: Pulling fs layer 10:09:24 5c69ac0246d0: Pulling fs layer 10:09:24 ec43610c2a17: Pulling fs layer 10:09:24 3a2ae6a8a46f: Pulling fs layer 10:09:24 33b1e0a273af: Pulling fs layer 10:09:24 5d3b04190fa2: Pulling fs layer 10:09:24 2f39f015ded8: Pulling fs layer 10:09:24 5d3b04190fa2: Waiting 10:09:24 33b1e0a273af: Waiting 10:09:24 3a2ae6a8a46f: Waiting 10:09:24 5c69ac0246d0: Download complete 10:09:24 3a2ae6a8a46f: Download complete 10:09:24 33b1e0a273af: Verifying Checksum 10:09:24 33b1e0a273af: Download complete 10:09:24 5d3b04190fa2: Verifying Checksum 10:09:24 5d3b04190fa2: Download complete 10:09:24 ec43610c2a17: Verifying Checksum 10:09:24 ec43610c2a17: Download complete 10:09:24 5eb5b503b376: Verifying Checksum 10:09:24 5eb5b503b376: Download complete 10:09:25 2f39f015ded8: Verifying Checksum 10:09:25 2f39f015ded8: Download complete 10:09:25 5eb5b503b376: Pull complete 10:09:25 5c69ac0246d0: Pull complete 10:09:26 ec43610c2a17: Pull complete 10:09:26 3a2ae6a8a46f: Pull complete 10:09:26 33b1e0a273af: Pull complete 10:09:26 5d3b04190fa2: Pull complete 10:09:30 2f39f015ded8: Pull complete 10:09:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:09:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:09:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:09:31 prd-ubuntu20.04-docker-8c-8g-23755 does not seem to be running inside a container 10:09:31 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:09:33 $ docker top 9a348bda4363dd7ebe9a8f435102f028fd135cb414fa336bffc1e28943b0c57c -eo pid,comm [Pipeline] { [Pipeline] sh 10:09:34 + touch /tmp/pre-build-complete [Pipeline] sh 10:09:34 + mkdir -p /var/log/sysstat [Pipeline] sh 10:09:35 + ls /var/log/sa-host 10:09:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:09:35 provisioning config files... 10:09:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config14528403179122372925tmp [Pipeline] { [Pipeline] echo 10:09:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:09:35 ---> create-netrc.sh [Pipeline] } 10:09:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:09:36 ---> python-tools-install.sh [Pipeline] echo 10:09:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:09:36 ---> sudo-logs.sh 10:09:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:09:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:09:36 ---> job-cost.sh 10:09:36 lf-activate-venv: SKIPPING 10:09:36 INFO: No Stack... 10:09:37 INFO: Retrieving Pricing Info for: v3-standard-8 10:09:37 INFO: Archiving Costs [Pipeline] echo 10:09:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:09:38 ---> logs-deploy.sh 10:09:38 lf-activate-venv: SKIPPING 10:09:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4982/1 10:09:38 INFO: archiving workspace using pattern(s): 10:09:39 Archives upload complete. 10:09:39 INFO: archiving logs to Nexus