Pull request #5096 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/edgex-go Obtained Jenkinsfile from 5ce172c50b618b7893cd155b466028a464a759e8+6183d5c957a356b044ddcbaf5bec7c2a8a69eedb (5f4d8a78d83be66f2d83e99e02e9d7a886b6ca7b) 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-ssh5941407411178925602.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh7764767830731832180.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-5096/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-5096/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2526861960139740607.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17340886224234865582.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-5096/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-5096/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh969253341782457999.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi]] ========================================================= [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-40056 in /w/workspace/edgexfoundry_edgex-go_PR-5096 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/6 [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/6 # 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 6183d5c957a356b044ddcbaf5bec7c2a8a69eedb into PR head commit 5ce172c50b618b7893cd155b466028a464a759e8 Merge succeeded, producing cac9149a92f6a450a48d7fb4347c99d458fdc352 Checking out Revision cac9149a92f6a450a48d7fb4347c99d458fdc352 (PR-5096) > 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/5096/head:refs/remotes/origin/PR-5096 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5ce172c50b618b7893cd155b466028a464a759e8 # 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 6183d5c957a356b044ddcbaf5bec7c2a8a69eedb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cac9149a92f6a450a48d7fb4347c99d458fdc352 # timeout=10 Commit message: "Merge commit '6183d5c957a356b044ddcbaf5bec7c2a8a69eedb' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 02f6718b0daccc29bba9e40d4187969a5db37355 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:20:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:20:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:20:02 ========================================================= 12:20:02 EdgeX Global Pipelines Version Info 12:20:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:20:03 ------------------- 12:20:03 stable info: 12:20:03 ------------------- 12:20:03 Commited By: Cherry Wang cherry@iotechsys.com 12:20:03 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 12:20:03 Message: update stable to v1.0.269 12:20:04 ------------------- 12:20:04 experimental info: 12:20:04 ------------------- 12:20:04 Commited By: Ginny Guan ginny@iotechsys.com 12:20:04 Commit SHA: 7f93e8bad95e9991f74bdd88f4a3d704a5893b6d 12:20:04 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:20:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 12:20:04 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 12:20:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:20:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:20:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:20:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 12:20:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:20:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 12:20:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 12:20:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 12:20:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:20:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:20:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:20:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:20:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:20:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:20:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:20:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:20:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 12:20:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo 12:20:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:20:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:20:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:20:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-5096 [Pipeline] echo 12:20:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-5096 [Pipeline] echo 12:20:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-5096 [Pipeline] echo 12:20:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cac9149a92f6a450a48d7fb4347c99d458fdc352 [Pipeline] echo 12:20:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cac9149 [Pipeline] echo 12:20:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:20:04 provisioning config files... 12:20:04 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/6@tmp/config13074543783320168286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:20:05 ---> ****-login.sh 12:20:05 nexus3.edgexfoundry.org:10001 12:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:20:05 Configure a credential helper to remove this warning. See 12:20:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:20:05 12:20:05 Login Succeeded 12:20:05 nexus3.edgexfoundry.org:10002 12:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:20:05 Configure a credential helper to remove this warning. See 12:20:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:20:05 12:20:05 Login Succeeded 12:20:05 nexus3.edgexfoundry.org:10003 12:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:20:05 Configure a credential helper to remove this warning. See 12:20:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:20:05 12:20:05 Login Succeeded 12:20:05 nexus3.edgexfoundry.org:10004 12:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:20:06 Configure a credential helper to remove this warning. See 12:20:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:20:06 12:20:06 Login Succeeded 12:20:06 ****.io 12:20:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:20:06 Configure a credential helper to remove this warning. See 12:20:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:20:06 12:20:06 Login Succeeded 12:20:06 ---> ****-login.sh ends [Pipeline] } 12:20:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:20:06 + 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 12:20:06 + dirname cmd/core-command/Dockerfile 12:20:06 + cut -d/ -f2 12:20:06 + echo core-command,cmd/core-command/Dockerfile 12:20:06 + + cut -d/ -f2 12:20:06 dirname cmd/core-common-config-bootstrapper/Dockerfile 12:20:06 + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile 12:20:06 + dirname cmd/core-data/Dockerfile 12:20:06 + cut -d/ -f2 12:20:06 + echo core-data,cmd/core-data/Dockerfile 12:20:06 + dirname cmd/core-keeper/Dockerfile 12:20:06 + cut -d/ -f2 12:20:06 + echo core-keeper,cmd/core-keeper/Dockerfile 12:20:06 + dirname cmd/core-metadata/Dockerfile 12:20:06 + cut -d/ -f2 12:20:06 + echo core-metadata,cmd/core-metadata/Dockerfile 12:20:06 + dirname cmd/security-bootstrapper/Dockerfile 12:20:06 + cut -d/ -f2 12:20:06 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 12:20:06 + dirname cmd/security-proxy-auth/Dockerfile 12:20:06 + cut -d/ -f2 12:20:06 + echo security-proxy-auth,cmd/security-proxy-auth/Dockerfile 12:20:06 + dirname cmd/security-proxy-setup/Dockerfile 12:20:06 + cut -d/ -f2 12:20:06 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 12:20:06 + dirname cmd/security-secretstore-setup/Dockerfile 12:20:06 + cut -d/ -f2 12:20:06 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 12:20:06 + dirname cmd/security-spiffe-token-provider/Dockerfile 12:20:06 + cut -d/ -f2 12:20:06 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 12:20:06 + dirname cmd/security-spire-agent/Dockerfile 12:20:06 + cut -d/ -f2 12:20:06 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 12:20:06 + dirname cmd/security-spire-config/Dockerfile 12:20:06 + cut -d/ -f2 12:20:06 + echo security-spire-config,cmd/security-spire-config/Dockerfile 12:20:06 + dirname cmd/security-spire-server/Dockerfile 12:20:06 + cut -d/ -f2 12:20:06 + echo security-spire-server,cmd/security-spire-server/Dockerfile 12:20:06 + dirname cmd/support-notifications/Dockerfile 12:20:06 + cut -d/ -f2 12:20:06 + echo support-notifications,cmd/support-notifications/Dockerfile 12:20:06 + dirname cmd/support-scheduler/Dockerfile 12:20:06 + cut -d/ -f2 12:20:06 + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo 12:20:06 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 12:20:07 + git rev-list -1 --merges cac9149a92f6a450a48d7fb4347c99d458fdc352~1..cac9149a92f6a450a48d7fb4347c99d458fdc352 [Pipeline] echo 12:20:07 -----------> git rev-list -1 --merges cac9149a92f6a450a48d7fb4347c99d458fdc352~1..cac9149a92f6a450a48d7fb4347c99d458fdc352 cac9149a92f6a450a48d7fb4347c99d458fdc352 12:20:07 cac9149a92f6a450a48d7fb4347c99d458fdc352 [false] [Pipeline] sh 12:20:07 + git log --format=format:%s -1 cac9149a92f6a450a48d7fb4347c99d458fdc352 [Pipeline] echo 12:20:07 ========================================================= 12:20:07 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:20:07 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 12:20:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:20:07 + grep -v github /etc/ssh/ssh_known_hosts 12:20:07 + [ -e /tmp/ssh_known_hosts ] 12:20:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:20:07 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:20:07 + sudo tee -a /etc/ssh/ssh_known_hosts 12:20:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:20:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:20:08 12:20:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:20:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:20:08 0.1.4: Pulling from edgex-devops/py-git-semver 12:20:08 b85a868b505f: Pulling fs layer 12:20:08 e2be974225ed: Pulling fs layer 12:20:08 339a4e72a1f5: Pulling fs layer 12:20:08 988bab9f4d93: Pulling fs layer 12:20:08 1469e6f7b9e6: Pulling fs layer 12:20:08 eaf3925da568: Pulling fs layer 12:20:08 bab4dde63d76: Pulling fs layer 12:20:08 bde34c3a00c8: Pulling fs layer 12:20:08 b352a97aabf1: Pulling fs layer 12:20:08 4872d77fe225: Pulling fs layer 12:20:08 5851b861e8e6: Pulling fs layer 12:20:08 988bab9f4d93: Waiting 12:20:08 1469e6f7b9e6: Waiting 12:20:08 eaf3925da568: Waiting 12:20:08 bde34c3a00c8: Waiting 12:20:08 bab4dde63d76: Waiting 12:20:08 5851b861e8e6: Waiting 12:20:08 4872d77fe225: Waiting 12:20:08 e2be974225ed: Verifying Checksum 12:20:08 e2be974225ed: Download complete 12:20:08 988bab9f4d93: Download complete 12:20:08 1469e6f7b9e6: Verifying Checksum 12:20:08 1469e6f7b9e6: Download complete 12:20:08 339a4e72a1f5: Verifying Checksum 12:20:08 339a4e72a1f5: Download complete 12:20:08 eaf3925da568: Download complete 12:20:08 bde34c3a00c8: Download complete 12:20:08 b352a97aabf1: Download complete 12:20:08 4872d77fe225: Verifying Checksum 12:20:08 4872d77fe225: Download complete 12:20:08 5851b861e8e6: Download complete 12:20:08 b85a868b505f: Verifying Checksum 12:20:08 b85a868b505f: Download complete 12:20:09 bab4dde63d76: Verifying Checksum 12:20:09 bab4dde63d76: Download complete 12:20:10 b85a868b505f: Pull complete 12:20:10 e2be974225ed: Pull complete 12:20:10 339a4e72a1f5: Pull complete 12:20:10 988bab9f4d93: Pull complete 12:20:11 1469e6f7b9e6: Pull complete 12:20:11 eaf3925da568: Pull complete 12:20:13 bab4dde63d76: Pull complete 12:20:13 bde34c3a00c8: Pull complete 12:20:13 b352a97aabf1: Pull complete 12:20:13 4872d77fe225: Pull complete 12:20:13 5851b861e8e6: Pull complete 12:20:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:20:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:20:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:20:13 prd-ubuntu20.04-docker-8c-8g-40056 does not seem to be running inside a container 12:20:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@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-devops/py-git-semver:0.1.4 cat 12:20:15 $ docker top 5452776c5c14d597827f3b6c1beaa923767aa0bc82939ec942e264d25592e365 -eo pid,comm 12:20:15 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). 12:20:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:20:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:20:15 [ssh-agent] Looking for ssh-agent implementation... 12:20:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:20:15 $ docker exec 5452776c5c14d597827f3b6c1beaa923767aa0bc82939ec942e264d25592e365 ssh-agent 12:20:15 SSH_AUTH_SOCK=/tmp/ssh-oI8o59Isxf4v/agent.32 12:20:15 SSH_AGENT_PID=38 12:20:15 Running ssh-add (command line suppressed) 12:20:16 Identity added: /w/workspace/edgex-go/6@tmp/private_key_31829065831612909.key (/w/workspace/edgex-go/6@tmp/private_key_31829065831612909.key) 12:20:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:20:16 + git tag --points-at HEAD [Pipeline] } 12:20:16 $ docker exec --env ******** --env ******** 5452776c5c14d597827f3b6c1beaa923767aa0bc82939ec942e264d25592e365 ssh-agent -k 12:20:16 unset SSH_AUTH_SOCK; 12:20:16 unset SSH_AGENT_PID; 12:20:16 echo Agent pid 38 killed; 12:20:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:20:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:20:16 [ssh-agent] Looking for ssh-agent implementation... 12:20:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:20:16 $ docker exec 5452776c5c14d597827f3b6c1beaa923767aa0bc82939ec942e264d25592e365 ssh-agent 12:20:16 SSH_AUTH_SOCK=/tmp/ssh-O4LErJyFCinq/agent.71 12:20:16 SSH_AGENT_PID=77 12:20:16 Running ssh-add (command line suppressed) 12:20:16 Identity added: /w/workspace/edgex-go/6@tmp/private_key_5816714127593546655.key (/w/workspace/edgex-go/6@tmp/private_key_5816714127593546655.key) 12:20:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:20:17 + git semver init 12:20:17 2025-03-03 12:20:17,379 [run_init] DEBUG init version:0.0.0 force:False 12:20:17 2025-03-03 12:20:17,380 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/6/.semver 12:20:17 2025-03-03 12:20:17,381 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/6/.semver 12:20:17 2025-03-03 12:20:17,381 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/edgex-go.git', '/w/workspace/edgex-go/6/.semver'], cwd=/w/workspace/edgex-go/6, universal_newlines=False, shell=None, istream=None) 12:20:22 2025-03-03 12:20:22,090 [append_file] DEBUG append to file:/w/workspace/edgex-go/6/.git/info/exclude 12:20:22 2025-03-03 12:20:22,091 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/6/.semver/PR-5096 with force:False 12:20:22 2025-03-03 12:20:22,091 [write_file] DEBUG write to file:/w/workspace/edgex-go/6/.semver/PR-5096 12:20:22 2025-03-03 12:20:22,096 [execute] INFO git cat-file --batch-check 12:20:22 2025-03-03 12:20:22,096 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/6/.semver, universal_newlines=False, shell=None, istream=) 12:20:22 2025-03-03 12:20:22,102 [execute] INFO git cat-file --batch 12:20:22 2025-03-03 12:20:22,102 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/6/.semver, universal_newlines=False, shell=None, istream=) 12:20:22 2025-03-03 12:20:22,108 [read_version] DEBUG read version from /w/workspace/edgex-go/6/.semver/PR-5096 12:20:22 0.0.0 [Pipeline] } 12:20:22 $ docker exec --env ******** --env ******** 5452776c5c14d597827f3b6c1beaa923767aa0bc82939ec942e264d25592e365 ssh-agent -k 12:20:22 unset SSH_AUTH_SOCK; 12:20:22 unset SSH_AGENT_PID; 12:20:22 echo Agent pid 77 killed; 12:20:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:20:23 + git semver [Pipeline] } 12:20:23 $ docker stop --time=1 5452776c5c14d597827f3b6c1beaa923767aa0bc82939ec942e264d25592e365 12:20:24 $ docker rm -f --volumes 5452776c5c14d597827f3b6c1beaa923767aa0bc82939ec942e264d25592e365 [Pipeline] // withDockerContainer [Pipeline] sh 12:20:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:20:25 Stashed 1 file(s) [Pipeline] echo 12:20:25 [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] } 12:20:25 + git config --global --add safe.directory /w/workspace/edgex-go/6 [Pipeline] echo 12:20:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:20:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:20:25 ========================================================= 12:20:25 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 12:20:25 ========================================================= [Pipeline] fileExists [Pipeline] sh 12:20:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 12:20:26 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 12:20:26 da9db072f522: Pulling fs layer 12:20:26 6ef4a4ee8ca5: Pulling fs layer 12:20:26 06f05ace1117: Pulling fs layer 12:20:26 5fe327b54edc: Pulling fs layer 12:20:26 4f4fb700ef54: Pulling fs layer 12:20:26 92a5565b7b96: Pulling fs layer 12:20:26 ff9bb7016b71: Pulling fs layer 12:20:26 b67dba6c2c7d: Pulling fs layer 12:20:26 a813b0c90790: Pulling fs layer 12:20:26 4f4fb700ef54: Waiting 12:20:26 92a5565b7b96: Waiting 12:20:26 ff9bb7016b71: Waiting 12:20:26 b67dba6c2c7d: Waiting 12:20:26 a813b0c90790: Waiting 12:20:26 5fe327b54edc: Waiting 12:20:26 6ef4a4ee8ca5: Verifying Checksum 12:20:26 6ef4a4ee8ca5: Download complete 12:20:26 5fe327b54edc: Verifying Checksum 12:20:26 5fe327b54edc: Download complete 12:20:26 4f4fb700ef54: Verifying Checksum 12:20:26 4f4fb700ef54: Download complete 12:20:26 da9db072f522: Verifying Checksum 12:20:26 da9db072f522: Download complete 12:20:26 92a5565b7b96: Download complete 12:20:26 ff9bb7016b71: Verifying Checksum 12:20:26 ff9bb7016b71: Download complete 12:20:26 da9db072f522: Pull complete 12:20:26 a813b0c90790: Verifying Checksum 12:20:26 a813b0c90790: Download complete 12:20:26 6ef4a4ee8ca5: Pull complete 12:20:26 06f05ace1117: Verifying Checksum 12:20:26 06f05ace1117: Download complete 12:20:27 b67dba6c2c7d: Verifying Checksum 12:20:27 b67dba6c2c7d: Download complete 12:20:30 06f05ace1117: Pull complete 12:20:30 5fe327b54edc: Pull complete 12:20:30 4f4fb700ef54: Pull complete 12:20:30 92a5565b7b96: Pull complete 12:20:30 ff9bb7016b71: Pull complete 12:20:33 b67dba6c2c7d: Pull complete 12:20:33 a813b0c90790: Pull complete 12:20:33 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 12:20:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 12:20:33 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [Pipeline] fileExists [Pipeline] sh 12:20:33 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 12:20:33 WORKDIR /edgex 12:20:33 COPY go.mod . 12:20:33 RUN go mod download 12:20:33 + docker build -t ci-base-image-x86_64 -f - . 12:20:33 Sending build context to Docker daemon 180.3MB 12:20:33 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 12:20:33 ---> 3ba60ce46760 12:20:33 Step 2/4 : WORKDIR /edgex 12:20:37 ---> Running in 86a3d4338423 12:20:37 Removing intermediate container 86a3d4338423 12:20:37 ---> 550e5665a5a5 12:20:37 Step 3/4 : COPY go.mod . 12:20:37 ---> d57108bef879 12:20:37 Step 4/4 : RUN go mod download 12:20:37 ---> Running in 4847dfe3a25f 12:20:55 Removing intermediate container 4847dfe3a25f 12:20:55 ---> e4c19da50155 12:20:55 Successfully built e4c19da50155 12:20:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:20:55 + docker inspect -f . ci-base-image-x86_64 12:20:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:20:55 prd-ubuntu20.04-docker-8c-8g-40056 does not seem to be running inside a container 12:20:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:20:56 $ docker top 1571cb5c015025a105e25388469c9b9c109c71d40ed99f57f8c9a66964873ed9 -eo pid,comm [Pipeline] { [Pipeline] sh 12:20:56 + go version 12:20:56 go version go1.23.4 linux/amd64 [Pipeline] } 12:20:56 $ docker stop --time=1 1571cb5c015025a105e25388469c9b9c109c71d40ed99f57f8c9a66964873ed9 12:20:57 $ docker rm -f --volumes 1571cb5c015025a105e25388469c9b9c109c71d40ed99f57f8c9a66964873ed9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:20:58 + docker inspect -f . ci-base-image-x86_64 12:20:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:20:58 prd-ubuntu20.04-docker-8c-8g-40056 does not seem to be running inside a container 12:20:58 $ 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/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:20:58 $ docker top 9f713b2217b2e2477bdfb5fb6d60274c5e14b2c5577d3996b7387ec37388d515 -eo pid,comm [Pipeline] { [Pipeline] echo 12:20:58 ========================================================= 12:20:58 [edgeXBuildGoParallel] Running Tests and Build... 12:20:58 ========================================================= [Pipeline] sh 12:20:58 + git config --global --add safe.directory /w/workspace/edgex-go/6 [Pipeline] fileExists [Pipeline] sh 12:20:59 + make test 12:20:59 go test -race -coverprofile=coverage.out ./... 12:21:07 ? github.com/edgexfoundry/edgex-go [no test files] 12:21:29 github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper coverage: 0.0% of statements 12:21:29 github.com/edgexfoundry/edgex-go/cmd/core-command coverage: 0.0% of statements 12:21:29 github.com/edgexfoundry/edgex-go/cmd/core-keeper coverage: 0.0% of statements 12:21:29 github.com/edgexfoundry/edgex-go/cmd/core-data coverage: 0.0% of statements 12:21:29 github.com/edgexfoundry/edgex-go/cmd/core-metadata coverage: 0.0% of statements 12:21:29 github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper coverage: 0.0% of statements 12:21:29 github.com/edgexfoundry/edgex-go/cmd/secrets-config coverage: 0.0% of statements 12:21:29 github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider coverage: 0.0% of statements 12:21:29 github.com/edgexfoundry/edgex-go/cmd/security-proxy-auth coverage: 0.0% of statements 12:21:29 github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup coverage: 0.0% of statements 12:21:29 ? github.com/edgexfoundry/edgex-go/internal [no test files] 12:21:29 github.com/edgexfoundry/edgex-go/internal/core/command/config coverage: 0.0% of statements 12:21:29 github.com/edgexfoundry/edgex-go/cmd/support-notifications coverage: 0.0% of statements 12:21:29 github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider coverage: 0.0% of statements 12:21:29 github.com/edgexfoundry/edgex-go/internal/core/command/container coverage: 0.0% of statements 12:21:29 github.com/edgexfoundry/edgex-go/internal/core/command coverage: 0.0% of statements 12:21:29 github.com/edgexfoundry/edgex-go/cmd/support-scheduler coverage: 0.0% of statements 12:21:30 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 1.029s coverage: 28.7% of statements 12:21:31 github.com/edgexfoundry/edgex-go/internal/core/data/config coverage: 0.0% of statements 12:21:31 github.com/edgexfoundry/edgex-go/internal/core/data coverage: 0.0% of statements 12:21:31 github.com/edgexfoundry/edgex-go/internal/core/data/container coverage: 0.0% of statements 12:21:31 github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks coverage: 0.0% of statements 12:21:32 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 1.038s coverage: 97.0% of statements 12:21:32 ? github.com/edgexfoundry/edgex-go/internal/core/data/embed [no test files] 12:21:32 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 12:21:32 github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging coverage: 0.0% of statements 12:21:32 github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks coverage: 0.0% of statements 12:21:32 github.com/edgexfoundry/edgex-go/internal/core/keeper/config coverage: 0.0% of statements 12:21:32 github.com/edgexfoundry/edgex-go/internal/core/data/mocks coverage: 0.0% of statements 12:21:32 github.com/edgexfoundry/edgex-go/internal/core/keeper coverage: 0.0% of statements 12:21:32 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/constants [no test files] 12:21:32 github.com/edgexfoundry/edgex-go/internal/core/keeper/application coverage: 0.0% of statements 12:21:32 github.com/edgexfoundry/edgex-go/internal/core/keeper/container coverage: 0.0% of statements 12:21:34 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/embed [no test files] 12:21:34 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/infrastructure/interfaces [no test files] 12:21:34 github.com/edgexfoundry/edgex-go/internal/core/keeper/utils coverage: 0.0% of statements 12:21:34 github.com/edgexfoundry/edgex-go/internal/core/keeper/infrastructure/interfaces/mocks coverage: 0.0% of statements 12:21:34 github.com/edgexfoundry/edgex-go/internal/core/keeper/registry coverage: 0.0% of statements 12:21:34 github.com/edgexfoundry/edgex-go/internal/core/metadata coverage: 0.0% of statements 12:21:35 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 4.048s coverage: 69.2% of statements 12:21:35 ok github.com/edgexfoundry/edgex-go/internal/core/common_config 1.025s coverage: 3.5% of statements 12:21:35 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 1.048s coverage: 45.1% of statements 12:21:35 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 2.700s coverage: 93.4% of statements 12:21:35 ok github.com/edgexfoundry/edgex-go/internal/core/keeper/controller/http 1.055s coverage: 92.3% of statements 12:21:35 github.com/edgexfoundry/edgex-go/internal/core/metadata/config coverage: 0.0% of statements 12:21:35 github.com/edgexfoundry/edgex-go/internal/core/metadata/container coverage: 0.0% of statements 12:21:36 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 1.043s coverage: 8.4% of statements 12:21:37 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/embed [no test files] 12:21:37 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 12:21:37 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 12:21:37 github.com/edgexfoundry/edgex-go/internal/core/metadata/uom coverage: 0.0% of statements 12:21:37 github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks coverage: 0.0% of statements 12:21:37 github.com/edgexfoundry/edgex-go/internal/core/metadata/utils coverage: 0.0% of statements 12:21:37 github.com/edgexfoundry/edgex-go/internal/pkg coverage: 0.0% of statements 12:21:37 github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers coverage: 0.0% of statements 12:21:37 github.com/edgexfoundry/edgex-go/internal/pkg/cache coverage: 0.0% of statements 12:21:37 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 12:21:37 github.com/edgexfoundry/edgex-go/internal/pkg/db/redis coverage: 0.0% of statements 12:21:37 github.com/edgexfoundry/edgex-go/internal/pkg/db/postgres coverage: 0.0% of statements 12:21:37 github.com/edgexfoundry/edgex-go/internal/pkg/common coverage: 0.0% of statements 12:21:37 github.com/edgexfoundry/edgex-go/internal/pkg/correlation coverage: 0.0% of statements 12:21:39 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.338s coverage: 95.8% of statements 12:21:39 ok github.com/edgexfoundry/edgex-go/internal/io 1.020s coverage: 72.2% of statements 12:21:39 github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/postgres/models coverage: 0.0% of statements 12:21:39 github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/postgres/cache coverage: 0.0% of statements 12:21:39 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 12:21:39 ? github.com/edgexfoundry/edgex-go/internal/pkg/utils/crypto/interfaces [no test files] 12:21:39 github.com/edgexfoundry/edgex-go/internal/pkg/utils/crypto/interfaces/mocks coverage: 0.0% of statements 12:21:39 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper coverage: 0.0% of statements 12:21:40 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/postgres 1.034s coverage: 0.0% of statements [no tests to run] 12:21:40 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 1.040s coverage: 1.0% of statements 12:21:40 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 1.029s coverage: 43.1% of statements 12:21:40 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils/crypto 1.017s coverage: 81.1% of statements 12:21:41 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 1.020s coverage: 40.0% of statements 12:21:41 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.024s coverage: 87.1% of statements 12:21:41 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 1.022s coverage: 94.1% of statements 12:21:41 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config coverage: 0.0% of statements 12:21:41 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container coverage: 0.0% of statements 12:21:41 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers coverage: 0.0% of statements 12:21:41 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 1.036s coverage: 96.3% of statements 12:21:41 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 12:21:41 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config coverage: 0.0% of statements 12:21:41 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto coverage: 0.0% of statements 12:21:41 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container coverage: 0.0% of statements 12:21:41 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 1.017s coverage: 87.5% of statements 12:21:42 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/postgres coverage: 0.0% of statements 12:21:42 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/postgres/config coverage: 0.0% of statements 12:21:42 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/postgres/container coverage: 0.0% of statements 12:21:43 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers coverage: 0.0% of statements 12:21:43 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config coverage: 0.0% of statements 12:21:43 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis coverage: 0.0% of statements 12:21:43 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container coverage: 0.0% of statements 12:21:44 github.com/edgexfoundry/edgex-go/internal/security/config coverage: 0.0% of statements 12:21:44 github.com/edgexfoundry/edgex-go/internal/security/config/command coverage: 0.0% of statements 12:21:44 github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy coverage: 0.0% of statements 12:21:46 github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared coverage: 0.0% of statements 12:21:46 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 12:21:47 github.com/edgexfoundry/edgex-go/internal/security/fileprovider/command coverage: 0.0% of statements 12:21:49 github.com/edgexfoundry/edgex-go/internal/security/fileprovider/command/handlers coverage: 0.0% of statements 12:21:49 github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config coverage: 0.0% of statements 12:21:49 github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container coverage: 0.0% of statements 12:21:51 github.com/edgexfoundry/edgex-go/internal/security/proxyauth coverage: 0.0% of statements 12:21:52 github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container coverage: 0.0% of statements 12:21:52 github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config coverage: 0.0% of statements 12:21:53 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/embed [no test files] 12:21:53 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/infrastructure/interfaces [no test files] 12:21:53 github.com/edgexfoundry/edgex-go/internal/security/proxyauth/infrastructure/interfaces/mocks coverage: 0.0% of statements 12:21:53 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 13.027s coverage: 94.4% of statements 12:21:54 github.com/edgexfoundry/edgex-go/internal/security/secretstore/controller coverage: 0.0% of statements 12:21:54 github.com/edgexfoundry/edgex-go/internal/security/secretstore/config coverage: 0.0% of statements 12:21:54 github.com/edgexfoundry/edgex-go/internal/security/secretstore/container coverage: 0.0% of statements 12:21:54 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 12:21:54 github.com/edgexfoundry/edgex-go/internal/security/secretstore/server/handlers coverage: 0.0% of statements 12:21:54 github.com/edgexfoundry/edgex-go/internal/security/secretstore/server coverage: 0.0% of statements 12:21:55 github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokeninit coverage: 0.0% of statements 12:21:55 github.com/edgexfoundry/edgex-go/internal/security/secretstore/utils coverage: 0.0% of statements 12:21:55 github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider coverage: 0.0% of statements 12:21:55 github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config coverage: 0.0% of statements 12:21:55 github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container coverage: 0.0% of statements 12:21:55 github.com/edgexfoundry/edgex-go/internal/support/notifications coverage: 0.0% of statements 12:21:56 github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel coverage: 0.0% of statements 12:21:56 github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks coverage: 0.0% of statements 12:21:56 github.com/edgexfoundry/edgex-go/internal/support/notifications/container coverage: 0.0% of statements 12:21:56 github.com/edgexfoundry/edgex-go/internal/support/notifications/config coverage: 0.0% of statements 12:21:58 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/embed [no test files] 12:21:58 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 12:21:58 github.com/edgexfoundry/edgex-go/internal/support/scheduler coverage: 0.0% of statements 12:21:58 github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks coverage: 0.0% of statements 12:21:58 github.com/edgexfoundry/edgex-go/internal/support/scheduler/config coverage: 0.0% of statements 12:21:58 github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/action coverage: 0.0% of statements 12:21:58 github.com/edgexfoundry/edgex-go/internal/support/scheduler/container coverage: 0.0% of statements 12:21:59 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/embed [no test files] 12:21:59 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 12:21:59 github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks coverage: 0.0% of statements 12:22:02 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 21.043s coverage: 92.9% of statements 12:22:02 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 1.025s coverage: 68.8% of statements 12:22:02 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 7.029s coverage: 62.3% of statements 12:22:02 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/postgres/handlers 1.029s coverage: 47.4% of statements 12:22:02 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 13.027s coverage: 87.2% of statements 12:22:02 ok github.com/edgexfoundry/edgex-go/internal/security/common 1.017s coverage: 15.5% of statements 12:22:02 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 1.023s coverage: 100.0% of statements 12:22:02 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 1.109s coverage: 81.8% of statements 12:22:02 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 1.086s coverage: 82.1% of statements 12:22:02 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 1.026s coverage: 86.0% of statements 12:22:02 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.049s coverage: 6.8% of statements 12:22:02 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/command/createtoken 1.041s coverage: 33.3% of statements 12:22:02 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 1.044s coverage: 100.0% of statements 12:22:02 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/tokenprovider 1.178s coverage: 54.5% of statements 12:22:02 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 1.024s coverage: 89.4% of statements 12:22:02 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 1.012s coverage: 100.0% of statements 12:22:02 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 1.020s coverage: 73.7% of statements 12:22:02 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 1.014s coverage: 100.0% of statements 12:22:02 ok github.com/edgexfoundry/edgex-go/internal/security/proxyauth/application 1.026s coverage: 88.6% of statements 12:22:02 ok github.com/edgexfoundry/edgex-go/internal/security/proxyauth/controller 1.029s coverage: 96.8% of statements 12:22:02 ok github.com/edgexfoundry/edgex-go/internal/security/proxyauth/utils 1.015s coverage: 100.0% of statements 12:22:02 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 1.148s coverage: 29.2% of statements 12:22:02 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 1.021s coverage: 93.8% of statements 12:22:02 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 1.014s coverage: 3.1% of statements 12:22:02 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenmaintenance 1.021s coverage: 76.2% of statements 12:22:02 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenprovider 1.024s coverage: 54.0% of statements 12:22:04 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 7.058s coverage: 17.0% of statements 12:22:04 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 1.137s coverage: 94.9% of statements 12:22:04 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application 1.026s coverage: 9.0% of statements 12:22:04 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 1.074s coverage: 97.7% of statements 12:22:04 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure 1.026s coverage: 43.6% of statements 12:22:04 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 12:22:04 running golangci-lint 12:22:04 golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z 12:22:04 go version go1.23.4 linux/amd64 12:22:04 level=info msg="golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z" 12:22:04 level=info msg="[config_reader] Used config file .golangci.yml" 12:22:04 level=info msg="[lintersdb] Active 7 linters: [errcheck gosec gosimple govet ineffassign staticcheck unused]" 12:22:26 level=info msg="[loader] Go packages loading at mode 575 (name|compiled_files|deps|exports_file|files|imports|types_sizes) took 21.104260771s" 12:22:26 level=info msg="[runner/filename_unadjuster] Pre-built 0 adjustments in 43.312579ms" 12:22:38 level=info msg="[linters_context/goanalysis] analyzers took 1m34.46929344s with top 10 stages: buildir: 51.551437225s, gosec: 3.786627706s, inspect: 3.321023418s, fact_deprecated: 3.294300528s, printf: 2.470947087s, ctrlflow: 2.038319802s, fact_purity: 1.119567421s, directives: 1.090996098s, S1038: 1.084741333s, isgenerated: 1.006313608s" 12:22:38 level=info msg="[runner] Issues before processing: 208, after processing: 6" 12:22:38 level=info msg="[runner] Processors filtering stat (in/out): exclude-rules: 208/26, uniq_by_line: 6/6, path_prettifier: 208/208, skip_files: 208/208, skip_dirs: 208/208, identifier_marker: 208/208, exclude: 208/208, max_per_file_from_linter: 6/6, filename_unadjuster: 208/208, invalid_issue: 208/208, path_shortener: 6/6, fixer: 6/6, max_same_issues: 6/6, source_code: 6/6, nolint: 26/6, max_from_linter: 6/6, sort_results: 6/6, cgo: 208/208, autogenerated_exclude: 208/208, path_prefixer: 6/6, diff: 6/6, severity-rules: 6/6" 12:22:38 level=info msg="[runner] processing took 19.263966ms with stages: nolint: 8.510875ms, identifier_marker: 5.754688ms, exclude-rules: 1.94378ms, autogenerated_exclude: 1.141463ms, path_prettifier: 1.116754ms, skip_dirs: 669.933µs, source_code: 48.601µs, cgo: 36.08µs, invalid_issue: 18.981µs, filename_unadjuster: 9.07µs, max_same_issues: 4.56µs, uniq_by_line: 3.2µs, path_shortener: 1.83µs, max_from_linter: 1.361µs, max_per_file_from_linter: 730ns, exclude: 480ns, path_prefixer: 360ns, skip_files: 300ns, sort_results: 280ns, fixer: 270ns, diff: 270ns, severity-rules: 100ns" 12:22:38 level=info msg="[runner] linters took 11.060019593s with stages: goanalysis_metalinter: 11.040652945s" 12:22:38 internal/pkg/infrastructure/postgres/cache/deviceinfo.go:6:2: G501: Blocklisted import crypto/md5: weak cryptographic primitive (gosec) 12:22:38 "crypto/md5" 12:22:38 ^ 12:22:38 internal/pkg/infrastructure/postgres/sql.go:105:6: func `sqlQueryAllAndDescWithConds` is unused (unused) 12:22:38 func sqlQueryAllAndDescWithConds(table string, descCol string, columns ...string) string { 12:22:38 ^ 12:22:38 internal/pkg/infrastructure/postgres/sql.go:120:6: func `sqlQueryAllAndDescWithCondsAndPag` is unused (unused) 12:22:38 func sqlQueryAllAndDescWithCondsAndPag(table string, descCol string, columns ...string) string { 12:22:38 ^ 12:22:38 internal/pkg/infrastructure/postgres/sql.go:147:6: func `sqlQueryAllAndDescWithCondsAndPagAndUpperLimitTime` is unused (unused) 12:22:38 func sqlQueryAllAndDescWithCondsAndPagAndUpperLimitTime(table string, descCol string, upperLimitTimeRangeCol string, columns ...string) string { 12:22:38 ^ 12:22:38 internal/pkg/infrastructure/postgres/sql.go:170:6: func `sqlQueryAllWithPaginationAndTimeRangeDescByCol` is unused (unused) 12:22:38 func sqlQueryAllWithPaginationAndTimeRangeDescByCol(table string, timeRangeCol string, descCol string, arrayColNames []string, columns ...string) string { 12:22:38 ^ 12:22:38 internal/pkg/infrastructure/postgres/sql.go:284:6: func `sqlQueryCountByCol` is unused (unused) 12:22:38 func sqlQueryCountByCol(table string, columns ...string) string { 12:22:38 ^ 12:22:38 level=info msg="File cache stats: 2 entries of total size 31.9KiB" 12:22:38 level=info msg="Memory: 324 samples, avg is 286.2MB, max is 1322.4MB" 12:22:38 level=info msg="Execution took 32.216777685s" 12:22:38 make: *** [Makefile:178: lint] Error 1 [Pipeline] } 12:22:38 $ docker stop --time=1 9f713b2217b2e2477bdfb5fb6d60274c5e14b2c5577d3996b7387ec37388d515 12:22:41 $ docker rm -f --volumes 9f713b2217b2e2477bdfb5fb6d60274c5e14b2c5577d3996b7387ec37388d515 [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] } 12:22:42 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 12:22:43 + [ -d /w/workspace/edgex-go/6/archives ] [Pipeline] libraryResource [Pipeline] sh 12:22:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:22:44 ---> package-listing.sh 12:22:44 ++ facter osfamily 12:22:44 ++ tr '[:upper:]' '[:lower:]' 12:22:44 + OS_FAMILY=debian 12:22:44 + workspace=/w/workspace/edgex-go/6 12:22:44 + START_PACKAGES=/tmp/packages_start.txt 12:22:44 + END_PACKAGES=/tmp/packages_end.txt 12:22:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:22:44 + PACKAGES=/tmp/packages_start.txt 12:22:44 + '[' /w/workspace/edgex-go/6 ']' 12:22:44 + PACKAGES=/tmp/packages_end.txt 12:22:44 + case "${OS_FAMILY}" in 12:22:44 + dpkg -l 12:22:44 + grep '^ii' 12:22:44 + '[' -f /tmp/packages_start.txt ']' 12:22:44 + '[' -f /tmp/packages_end.txt ']' 12:22:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:22:44 + '[' /w/workspace/edgex-go/6 ']' 12:22:44 + mkdir -p /w/workspace/edgex-go/6/archives/ 12:22:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/6/archives/ [Pipeline] echo 12:22:44 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/6/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:22:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:22:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:22:45 12:22:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:22:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:22:45 latest: Pulling from edgex-lftools-log-publisher 12:22:45 5eb5b503b376: Pulling fs layer 12:22:45 5c69ac0246d0: Pulling fs layer 12:22:45 ec43610c2a17: Pulling fs layer 12:22:45 3a2ae6a8a46f: Pulling fs layer 12:22:45 33b1e0a273af: Pulling fs layer 12:22:45 5d3b04190fa2: Pulling fs layer 12:22:45 2f39f015ded8: Pulling fs layer 12:22:45 33b1e0a273af: Waiting 12:22:45 5d3b04190fa2: Waiting 12:22:45 2f39f015ded8: Waiting 12:22:45 3a2ae6a8a46f: Waiting 12:22:45 5c69ac0246d0: Verifying Checksum 12:22:45 5c69ac0246d0: Download complete 12:22:45 3a2ae6a8a46f: Verifying Checksum 12:22:45 3a2ae6a8a46f: Download complete 12:22:45 33b1e0a273af: Verifying Checksum 12:22:45 33b1e0a273af: Download complete 12:22:45 5d3b04190fa2: Verifying Checksum 12:22:45 5d3b04190fa2: Download complete 12:22:45 ec43610c2a17: Verifying Checksum 12:22:45 ec43610c2a17: Download complete 12:22:45 5eb5b503b376: Verifying Checksum 12:22:45 5eb5b503b376: Download complete 12:22:46 2f39f015ded8: Verifying Checksum 12:22:46 2f39f015ded8: Download complete 12:22:47 5eb5b503b376: Pull complete 12:22:47 5c69ac0246d0: Pull complete 12:22:47 ec43610c2a17: Pull complete 12:22:47 3a2ae6a8a46f: Pull complete 12:22:47 33b1e0a273af: Pull complete 12:22:48 5d3b04190fa2: Pull complete 12:22:52 2f39f015ded8: Pull complete 12:22:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:22:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:22:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:22:52 prd-ubuntu20.04-docker-8c-8g-40056 does not seem to be running inside a container 12:22:52 $ 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/6/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/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:22:54 $ docker top b23afd01724573146477a5f96fd5036730f230ae6ed669222cd247d3e1839e85 -eo pid,comm [Pipeline] { [Pipeline] sh 12:22:54 + touch /tmp/pre-build-complete [Pipeline] sh 12:22:54 + mkdir -p /var/log/sysstat [Pipeline] sh 12:22:54 + ls /var/log/sa-host 12:22:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:22:55 provisioning config files... 12:22:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/6@tmp/config12858024394010478620tmp [Pipeline] { [Pipeline] echo 12:22:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:22:55 ---> create-netrc.sh [Pipeline] } 12:22:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:22:55 ---> python-tools-install.sh [Pipeline] echo 12:22:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:22:56 ---> sudo-logs.sh 12:22:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:22:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:22:56 ---> job-cost.sh 12:22:56 lf-activate-venv: SKIPPING 12:22:56 INFO: No Stack... 12:22:56 INFO: Retrieving Pricing Info for: v3-standard-8 12:22:57 INFO: Archiving Costs [Pipeline] echo 12:22:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:22:57 ---> logs-deploy.sh 12:22:57 lf-activate-venv: SKIPPING 12:22:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-5096/6 12:22:57 INFO: archiving workspace using pattern(s): 12:22:58 Archives upload complete. 12:22:58 INFO: archiving logs to Nexus 12:22:59 ---> uname -a: 12:22:59 Linux prd-ubuntu20-04-docker-8c-8g-40056 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 12:22:59 12:22:59 12:22:59 ---> lscpu: 12:22:59 Architecture: x86_64 12:22:59 CPU op-mode(s): 32-bit, 64-bit 12:22:59 Byte Order: Little Endian 12:22:59 Address sizes: 40 bits physical, 48 bits virtual 12:22:59 CPU(s): 8 12:22:59 On-line CPU(s) list: 0-7 12:22:59 Thread(s) per core: 1 12:22:59 Core(s) per socket: 1 12:22:59 Socket(s): 8 12:22:59 NUMA node(s): 1 12:22:59 Vendor ID: AuthenticAMD 12:22:59 CPU family: 23 12:22:59 Model: 49 12:22:59 Model name: AMD EPYC-Rome Processor 12:22:59 Stepping: 0 12:22:59 CPU MHz: 2799.998 12:22:59 BogoMIPS: 5599.99 12:22:59 Virtualization: AMD-V 12:22:59 Hypervisor vendor: KVM 12:22:59 Virtualization type: full 12:22:59 L1d cache: 256 KiB 12:22:59 L1i cache: 256 KiB 12:22:59 L2 cache: 4 MiB 12:22:59 L3 cache: 128 MiB 12:22:59 NUMA node0 CPU(s): 0-7 12:22:59 Vulnerability Itlb multihit: Not affected 12:22:59 Vulnerability L1tf: Not affected 12:22:59 Vulnerability Mds: Not affected 12:22:59 Vulnerability Meltdown: Not affected 12:22:59 Vulnerability Mmio stale data: Not affected 12:22:59 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 12:22:59 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 12:22:59 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 12:22:59 Vulnerability Srbds: Not affected 12:22:59 Vulnerability Tsx async abort: Not affected 12:22:59 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 12:22:59 12:22:59 12:22:59 ---> nproc: 12:22:59 8 12:22:59 12:22:59 12:22:59 ---> df -h: 12:22:59 Filesystem Size Used Avail Use% Mounted on 12:22:59 overlay 155G 12G 144G 8% / 12:22:59 tmpfs 64M 0 64M 0% /dev 12:22:59 tmpfs 16G 0 16G 0% /sys/fs/cgroup 12:22:59 shm 64M 0 64M 0% /dev/shm 12:22:59 /dev/vda1 155G 12G 144G 8% /facter-os 12:22:59 12:22:59 12:22:59 ---> sar -b -r -n DEV: 12:22:59 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-40056) 03/03/25 _x86_64_ (8 CPU) 12:22:59 12:22:59 12:19:14 LINUX RESTART (8 CPU) 12:22:59 12:22:59 12:20:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 12:22:59 12:21:01 243.47 11.68 231.79 0.00 1799.29 113378.34 0.00 12:22:59 12:22:01 42.72 0.02 42.70 0.00 0.13 33396.93 0.00 12:22:59 Average: 142.26 5.80 136.46 0.00 892.23 73054.97 0.00 12:22:59 12:22:59 12:20:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 12:22:59 12:21:01 28168236 31379708 926188 2.82 126176 3266284 2031940 5.99 1334452 2886972 20264 12:22:59 12:22:01 27032976 31428172 873956 2.66 130104 4380360 1996540 5.88 1933448 3355308 170328 12:22:59 Average: 27600606 31403940 900072 2.74 128140 3823322 2014240 5.94 1633950 3121140 95296 12:22:59 12:22:59 12:20:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 12:22:59 12:21:01 docker0 758.63 831.05 55.68 4613.72 0.00 0.00 0.00 0.00 12:22:59 12:21:01 veth059e2eb 0.00 0.14 0.00 0.01 0.00 0.00 0.00 0.00 12:22:59 12:21:01 lo 4.54 4.54 0.44 0.44 0.00 0.00 0.00 0.00 12:22:59 12:21:01 ens3 1084.85 909.41 9635.85 104.66 0.00 0.00 0.00 0.00 12:22:59 12:22:01 docker0 1.23 1.23 0.09 0.11 0.00 0.00 0.00 0.00 12:22:59 12:22:01 veth059e2eb 1.23 1.30 0.11 0.12 0.00 0.00 0.00 0.00 12:22:59 12:22:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 12:22:59 12:22:01 ens3 34.92 26.50 27.27 15.98 0.00 0.00 0.00 0.00 12:22:59 Average: docker0 376.78 412.69 27.65 2287.72 0.00 0.00 0.00 0.00 12:22:59 Average: veth059e2eb 0.62 0.72 0.05 0.06 0.00 0.00 0.00 0.00 12:22:59 Average: lo 2.35 2.35 0.23 0.23 0.00 0.00 0.00 0.00 12:22:59 Average: ens3 555.52 464.28 4791.60 59.95 0.00 0.00 0.00 0.00 12:22:59 12:22:59 12:22:59 ---> sar -P ALL: 12:22:59 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-40056) 03/03/25 _x86_64_ (8 CPU) 12:22:59 12:22:59 12:19:14 LINUX RESTART (8 CPU) 12:22:59 12:22:59 12:20:02 CPU %user %nice %system %iowait %steal %idle 12:22:59 12:21:01 all 10.68 0.00 4.85 1.92 0.07 82.48 12:22:59 12:21:01 0 11.39 0.00 3.74 1.22 0.05 83.60 12:22:59 12:21:01 1 10.07 0.00 4.15 1.49 0.10 84.18 12:22:59 12:21:01 2 10.63 0.00 4.06 0.05 0.07 85.19 12:22:59 12:21:01 3 8.72 0.00 4.52 2.13 0.05 84.57 12:22:59 12:21:01 4 10.20 0.00 5.55 0.10 0.07 84.08 12:22:59 12:21:01 5 9.09 0.00 5.91 9.45 0.09 75.46 12:22:59 12:21:01 6 9.90 0.00 6.33 0.43 0.07 83.27 12:22:59 12:21:01 7 15.39 0.00 4.57 0.53 0.07 79.44 12:22:59 12:22:01 all 41.74 0.00 6.10 0.56 0.09 51.51 12:22:59 12:22:01 0 41.00 0.00 5.63 0.02 0.10 53.25 12:22:59 12:22:01 1 40.75 0.00 7.07 0.10 0.10 51.98 12:22:59 12:22:01 2 43.38 0.00 5.98 0.08 0.10 50.45 12:22:59 12:22:01 3 42.90 0.00 5.25 0.00 0.10 51.75 12:22:59 12:22:01 4 39.66 0.00 6.13 0.03 0.08 54.09 12:22:59 12:22:01 5 40.44 0.00 6.04 3.89 0.08 49.55 12:22:59 12:22:01 6 42.85 0.00 6.08 0.40 0.08 50.58 12:22:59 12:22:01 7 42.88 0.00 6.59 0.00 0.08 50.45 12:22:59 Average: all 26.40 0.00 5.48 1.24 0.08 66.80 12:22:59 Average: 0 26.35 0.00 4.69 0.61 0.08 68.27 12:22:59 Average: 1 25.58 0.00 5.63 0.79 0.10 67.90 12:22:59 Average: 2 27.21 0.00 5.03 0.07 0.08 67.61 12:22:59 Average: 3 26.03 0.00 4.89 1.05 0.08 67.95 12:22:59 Average: 4 25.11 0.00 5.84 0.07 0.08 68.90 12:22:59 Average: 5 24.98 0.00 5.98 6.63 0.09 62.33 12:22:59 Average: 6 26.62 0.00 6.21 0.42 0.08 66.68 12:22:59 Average: 7 29.29 0.00 5.59 0.26 0.08 64.78 12:22:59 12:22:59 12:22:59