Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of M0hanrajp for edgexfoundry/edgex-go Loading trusted files from base branch main at 6c682467242f5367a5e585f39d0ca5cfdf1e8ca8 rather than ccd7518a2427159590f035b51a5428599464d08f Obtained Jenkinsfile from 6c682467242f5367a5e585f39d0ca5cfdf1e8ca8 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-ssh7817953803236548333.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh14221516901329255023.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4840/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-4840/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5577882336077263318.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh8999109215010042561.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-4840/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-4840/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11360777276955937200.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/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: DOCKER_IMAGE_NAME_SUFFIX: DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6658 in /w/workspace/edgexfoundry_edgex-go_PR-4840 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/2 [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/2 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4840/head:refs/remotes/origin/PR-4840 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6c682467242f5367a5e585f39d0ca5cfdf1e8ca8 into PR head commit ccd7518a2427159590f035b51a5428599464d08f Merge succeeded, producing dc2122c34a7eb9405493f9b6ef54996907f70cd6 Checking out Revision dc2122c34a7eb9405493f9b6ef54996907f70cd6 (PR-4840) > git config core.sparsecheckout # timeout=10 > git checkout -f ccd7518a2427159590f035b51a5428599464d08f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6c682467242f5367a5e585f39d0ca5cfdf1e8ca8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dc2122c34a7eb9405493f9b6ef54996907f70cd6 # timeout=10 Commit message: "Merge commit '6c682467242f5367a5e585f39d0ca5cfdf1e8ca8' into HEAD" > git rev-list --no-walk ccd7518a2427159590f035b51a5428599464d08f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-29T08:30:36.695Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-29T08:30:36.774Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-29T08:30:36.810Z] ========================================================= [2024-07-29T08:30:36.810Z] EdgeX Global Pipelines Version Info [2024-07-29T08:30:36.810Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-29T08:30:37.975Z] ------------------- [2024-07-29T08:30:37.975Z] stable info: [2024-07-29T08:30:37.975Z] ------------------- [2024-07-29T08:30:37.975Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-29T08:30:37.975Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-29T08:30:37.975Z] Message: update stable to v1.0.260 [2024-07-29T08:30:38.234Z] ------------------- [2024-07-29T08:30:38.234Z] experimental info: [2024-07-29T08:30:38.234Z] ------------------- [2024-07-29T08:30:38.234Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-29T08:30:38.234Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-29T08:30:38.234Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-29T08:30:38.314Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2024-07-29T08:30:38.343Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2024-07-29T08:30:38.367Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-29T08:30:38.392Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-29T08:30:38.413Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-29T08:30:38.439Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-29T08:30:38.460Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-29T08:30:38.483Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2024-07-29T08:30:38.508Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2024-07-29T08:30:38.529Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2024-07-29T08:30:38.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-29T08:30:38.569Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-29T08:30:38.589Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-29T08:30:38.615Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-29T08:30:38.642Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-29T08:30:38.665Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-29T08:30:38.693Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-29T08:30:38.716Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-29T08:30:38.739Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-07-29T08:30:38.761Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-07-29T08:30:38.780Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-29T08:30:38.801Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-29T08:30:38.823Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-29T08:30:38.845Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4840 [Pipeline] echo [2024-07-29T08:30:38.869Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4840 [Pipeline] echo [2024-07-29T08:30:38.895Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4840 [Pipeline] echo [2024-07-29T08:30:38.921Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dc2122c34a7eb9405493f9b6ef54996907f70cd6 [Pipeline] echo [2024-07-29T08:30:38.944Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dc2122c [Pipeline] echo [2024-07-29T08:30:38.967Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-29T08:30:39.032Z] provisioning config files... [2024-07-29T08:30:39.044Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config14452151019672432136tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-29T08:30:39.374Z] ---> ****-login.sh [2024-07-29T08:30:39.374Z] nexus3.edgexfoundry.org:10001 [2024-07-29T08:30:39.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-29T08:30:39.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-29T08:30:39.653Z] Configure a credential helper to remove this warning. See [2024-07-29T08:30:39.653Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-29T08:30:39.653Z] [2024-07-29T08:30:39.653Z] Login Succeeded [2024-07-29T08:30:39.653Z] nexus3.edgexfoundry.org:10002 [2024-07-29T08:30:39.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-29T08:30:39.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-29T08:30:39.653Z] Configure a credential helper to remove this warning. See [2024-07-29T08:30:39.653Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-29T08:30:39.653Z] [2024-07-29T08:30:39.653Z] Login Succeeded [2024-07-29T08:30:39.653Z] nexus3.edgexfoundry.org:10003 [2024-07-29T08:30:39.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-29T08:30:39.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-29T08:30:39.921Z] Configure a credential helper to remove this warning. See [2024-07-29T08:30:39.921Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-29T08:30:39.921Z] [2024-07-29T08:30:39.921Z] Login Succeeded [2024-07-29T08:30:39.921Z] nexus3.edgexfoundry.org:10004 [2024-07-29T08:30:39.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-29T08:30:39.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-29T08:30:39.921Z] Configure a credential helper to remove this warning. See [2024-07-29T08:30:39.921Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-29T08:30:39.921Z] [2024-07-29T08:30:39.921Z] Login Succeeded [2024-07-29T08:30:39.921Z] ****.io [2024-07-29T08:30:39.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-29T08:30:40.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-29T08:30:40.192Z] Configure a credential helper to remove this warning. See [2024-07-29T08:30:40.192Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-29T08:30:40.192Z] [2024-07-29T08:30:40.192Z] Login Succeeded [2024-07-29T08:30:40.192Z] ---> ****-login.sh ends [Pipeline] } [2024-07-29T08:30:40.201Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-29T08:30:40.541Z] + 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 [2024-07-29T08:30:40.541Z] + dirname cmd/core-command/Dockerfile [2024-07-29T08:30:40.541Z] + cut -d/ -f2 [2024-07-29T08:30:40.541Z] + echo core-command,cmd/core-command/Dockerfile [2024-07-29T08:30:40.541Z] + dirname cmd/core-common-config-bootstrapper/Dockerfile [2024-07-29T08:30:40.541Z] + cut -d/ -f2 [2024-07-29T08:30:40.541Z] + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile [2024-07-29T08:30:40.541Z] + dirname cmd/core-data/Dockerfile [2024-07-29T08:30:40.541Z] + cut -d/ -f2 [2024-07-29T08:30:40.541Z] + echo core-data,cmd/core-data/Dockerfile [2024-07-29T08:30:40.541Z] + dirname cmd/core-keeper/Dockerfile [2024-07-29T08:30:40.541Z] + cut -d/ -f2 [2024-07-29T08:30:40.541Z] + echo core-keeper,cmd/core-keeper/Dockerfile [2024-07-29T08:30:40.541Z] + cut -d/ -f2 [2024-07-29T08:30:40.541Z] + dirname cmd/core-metadata/Dockerfile [2024-07-29T08:30:40.541Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2024-07-29T08:30:40.541Z] + dirname cmd/security-bootstrapper/Dockerfile [2024-07-29T08:30:40.541Z] + cut -d/ -f2 [2024-07-29T08:30:40.541Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2024-07-29T08:30:40.541Z] + dirname cmd/security-proxy-auth/Dockerfile [2024-07-29T08:30:40.541Z] + cut -d/ -f2 [2024-07-29T08:30:40.541Z] + echo security-proxy-auth,cmd/security-proxy-auth/Dockerfile [2024-07-29T08:30:40.541Z] + dirname cmd/security-proxy-setup/Dockerfile [2024-07-29T08:30:40.541Z] + cut -d/ -f2 [2024-07-29T08:30:40.541Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2024-07-29T08:30:40.541Z] + dirname cmd/security-secretstore-setup/Dockerfile [2024-07-29T08:30:40.541Z] + cut -d/ -f2 [2024-07-29T08:30:40.541Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2024-07-29T08:30:40.541Z] + dirname cmd/security-spiffe-token-provider/Dockerfile [2024-07-29T08:30:40.541Z] + cut -d/ -f2 [2024-07-29T08:30:40.541Z] + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile [2024-07-29T08:30:40.541Z] + dirname cmd/security-spire-agent/Dockerfile [2024-07-29T08:30:40.541Z] + cut -d/ -f2 [2024-07-29T08:30:40.541Z] + echo security-spire-agent,cmd/security-spire-agent/Dockerfile [2024-07-29T08:30:40.541Z] + dirname cmd/security-spire-config/Dockerfile [2024-07-29T08:30:40.541Z] + cut -d/ -f2 [2024-07-29T08:30:40.541Z] + echo security-spire-config,cmd/security-spire-config/Dockerfile [2024-07-29T08:30:40.541Z] + dirname cmd/security-spire-server/Dockerfile [2024-07-29T08:30:40.541Z] + cut -d/ -f2 [2024-07-29T08:30:40.541Z] + echo security-spire-server,cmd/security-spire-server/Dockerfile [2024-07-29T08:30:40.541Z] + dirname cmd/support-notifications/Dockerfile [2024-07-29T08:30:40.541Z] + cut -d/ -f2 [2024-07-29T08:30:40.541Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2024-07-29T08:30:40.541Z] + dirname cmd/support-scheduler/Dockerfile [2024-07-29T08:30:40.541Z] + cut -d/ -f2 [2024-07-29T08:30:40.541Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo [2024-07-29T08:30:40.572Z] 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 [2024-07-29T08:30:40.943Z] + git rev-list -1 --merges dc2122c34a7eb9405493f9b6ef54996907f70cd6~1..dc2122c34a7eb9405493f9b6ef54996907f70cd6 [Pipeline] echo [2024-07-29T08:30:40.958Z] -----------> git rev-list -1 --merges dc2122c34a7eb9405493f9b6ef54996907f70cd6~1..dc2122c34a7eb9405493f9b6ef54996907f70cd6 dc2122c34a7eb9405493f9b6ef54996907f70cd6 [2024-07-29T08:30:40.958Z] dc2122c34a7eb9405493f9b6ef54996907f70cd6 [false] [Pipeline] sh [2024-07-29T08:30:41.249Z] + git log --format=format:%s -1 dc2122c34a7eb9405493f9b6ef54996907f70cd6 [Pipeline] echo [2024-07-29T08:30:41.264Z] ========================================================= [2024-07-29T08:30:41.264Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-29T08:30:41.264Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-07-29T08:30:41.639Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-29T08:30:41.639Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-29T08:30:41.639Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-29T08:30:41.639Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-29T08:30:41.639Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-29T08:30:41.639Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-29T08:30:41.639Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-29T08:30:41.996Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-29T08:30:41.996Z] [2024-07-29T08:30:41.996Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-29T08:30:42.366Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-29T08:30:42.366Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-29T08:30:42.366Z] b85a868b505f: Pulling fs layer [2024-07-29T08:30:42.366Z] e2be974225ed: Pulling fs layer [2024-07-29T08:30:42.366Z] 339a4e72a1f5: Pulling fs layer [2024-07-29T08:30:42.366Z] 988bab9f4d93: Pulling fs layer [2024-07-29T08:30:42.366Z] 1469e6f7b9e6: Pulling fs layer [2024-07-29T08:30:42.366Z] eaf3925da568: Pulling fs layer [2024-07-29T08:30:42.366Z] bab4dde63d76: Pulling fs layer [2024-07-29T08:30:42.366Z] bde34c3a00c8: Pulling fs layer [2024-07-29T08:30:42.366Z] b352a97aabf1: Pulling fs layer [2024-07-29T08:30:42.366Z] 4872d77fe225: Pulling fs layer [2024-07-29T08:30:42.366Z] 5851b861e8e6: Pulling fs layer [2024-07-29T08:30:42.366Z] eaf3925da568: Waiting [2024-07-29T08:30:42.366Z] 4872d77fe225: Waiting [2024-07-29T08:30:42.366Z] 5851b861e8e6: Waiting [2024-07-29T08:30:42.366Z] bde34c3a00c8: Waiting [2024-07-29T08:30:42.366Z] bab4dde63d76: Waiting [2024-07-29T08:30:42.366Z] b352a97aabf1: Waiting [2024-07-29T08:30:42.366Z] 988bab9f4d93: Waiting [2024-07-29T08:30:42.366Z] 1469e6f7b9e6: Waiting [2024-07-29T08:30:42.625Z] e2be974225ed: Download complete [2024-07-29T08:30:42.625Z] 988bab9f4d93: Download complete [2024-07-29T08:30:42.625Z] 1469e6f7b9e6: Verifying Checksum [2024-07-29T08:30:42.625Z] 1469e6f7b9e6: Download complete [2024-07-29T08:30:42.625Z] eaf3925da568: Verifying Checksum [2024-07-29T08:30:42.625Z] eaf3925da568: Download complete [2024-07-29T08:30:42.625Z] 339a4e72a1f5: Verifying Checksum [2024-07-29T08:30:42.625Z] 339a4e72a1f5: Download complete [2024-07-29T08:30:42.625Z] bde34c3a00c8: Verifying Checksum [2024-07-29T08:30:42.625Z] bde34c3a00c8: Download complete [2024-07-29T08:30:42.625Z] b352a97aabf1: Download complete [2024-07-29T08:30:42.625Z] 4872d77fe225: Verifying Checksum [2024-07-29T08:30:42.625Z] 4872d77fe225: Download complete [2024-07-29T08:30:42.625Z] 5851b861e8e6: Verifying Checksum [2024-07-29T08:30:42.625Z] 5851b861e8e6: Download complete [2024-07-29T08:30:42.883Z] b85a868b505f: Verifying Checksum [2024-07-29T08:30:42.884Z] b85a868b505f: Download complete [2024-07-29T08:30:43.142Z] bab4dde63d76: Verifying Checksum [2024-07-29T08:30:43.142Z] bab4dde63d76: Download complete [2024-07-29T08:30:44.519Z] b85a868b505f: Pull complete [2024-07-29T08:30:44.519Z] e2be974225ed: Pull complete [2024-07-29T08:30:45.105Z] 339a4e72a1f5: Pull complete [2024-07-29T08:30:45.365Z] 988bab9f4d93: Pull complete [2024-07-29T08:30:45.624Z] 1469e6f7b9e6: Pull complete [2024-07-29T08:30:45.624Z] eaf3925da568: Pull complete [2024-07-29T08:30:47.526Z] bab4dde63d76: Pull complete [2024-07-29T08:30:47.526Z] bde34c3a00c8: Pull complete [2024-07-29T08:30:47.526Z] b352a97aabf1: Pull complete [2024-07-29T08:30:47.785Z] 4872d77fe225: Pull complete [2024-07-29T08:30:47.785Z] 5851b861e8e6: Pull complete [2024-07-29T08:30:47.785Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-29T08:30:47.785Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-29T08:30:47.785Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-29T08:30:47.916Z] prd-ubuntu20.04-docker-8c-8g-6658 does not seem to be running inside a container [2024-07-29T08:30:47.943Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 [2024-07-29T08:30:51.818Z] $ docker top 112fea4d392d96703b72a219ca217d08b78c376335aba12428b520eff7bbffdf -eo pid,comm [2024-07-29T08:30:51.894Z] 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). [2024-07-29T08:30:51.894Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-29T08:30:51.951Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-29T08:30:51.951Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-29T08:30:52.067Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-29T08:30:52.068Z] $ docker exec 112fea4d392d96703b72a219ca217d08b78c376335aba12428b520eff7bbffdf ssh-agent [2024-07-29T08:30:52.176Z] SSH_AUTH_SOCK=/tmp/ssh-ithwlGE00xaa/agent.32 [2024-07-29T08:30:52.176Z] SSH_AGENT_PID=38 [2024-07-29T08:30:52.183Z] Running ssh-add (command line suppressed) [2024-07-29T08:30:52.286Z] Identity added: /w/workspace/edgex-go/2@tmp/private_key_11836841868221694449.key (/w/workspace/edgex-go/2@tmp/private_key_11836841868221694449.key) [2024-07-29T08:30:52.303Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-29T08:30:52.596Z] + git tag --points-at HEAD [Pipeline] } [2024-07-29T08:30:52.606Z] $ docker exec --env ******** --env ******** 112fea4d392d96703b72a219ca217d08b78c376335aba12428b520eff7bbffdf ssh-agent -k [2024-07-29T08:30:52.704Z] unset SSH_AUTH_SOCK; [2024-07-29T08:30:52.704Z] unset SSH_AGENT_PID; [2024-07-29T08:30:52.704Z] echo Agent pid 38 killed; [2024-07-29T08:30:52.715Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-29T08:30:52.756Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-29T08:30:52.756Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-29T08:30:52.866Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-29T08:30:52.867Z] $ docker exec 112fea4d392d96703b72a219ca217d08b78c376335aba12428b520eff7bbffdf ssh-agent [2024-07-29T08:30:52.971Z] SSH_AUTH_SOCK=/tmp/ssh-h7xFAgKceKmJ/agent.72 [2024-07-29T08:30:52.971Z] SSH_AGENT_PID=78 [2024-07-29T08:30:52.976Z] Running ssh-add (command line suppressed) [2024-07-29T08:30:53.066Z] Identity added: /w/workspace/edgex-go/2@tmp/private_key_6831675214289565950.key (/w/workspace/edgex-go/2@tmp/private_key_6831675214289565950.key) [2024-07-29T08:30:53.081Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-29T08:30:53.372Z] + git semver init [2024-07-29T08:30:53.631Z] 2024-07-29 08:30:53,537 [run_init] DEBUG init version:0.0.0 force:False [2024-07-29T08:30:53.631Z] 2024-07-29 08:30:53,538 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/2/.semver [2024-07-29T08:30:53.631Z] 2024-07-29 08:30:53,539 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/2/.semver [2024-07-29T08:30:53.631Z] 2024-07-29 08:30:53,539 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/edgex-go.git', '/w/workspace/edgex-go/2/.semver'], cwd=/w/workspace/edgex-go/2, universal_newlines=False, shell=None, istream=None) [2024-07-29T08:31:00.205Z] 2024-07-29 08:30:59,128 [append_file] DEBUG append to file:/w/workspace/edgex-go/2/.git/info/exclude [2024-07-29T08:31:00.205Z] 2024-07-29 08:30:59,128 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/2/.semver/PR-4840 with force:False [2024-07-29T08:31:00.205Z] 2024-07-29 08:30:59,128 [write_file] DEBUG write to file:/w/workspace/edgex-go/2/.semver/PR-4840 [2024-07-29T08:31:00.205Z] 2024-07-29 08:30:59,132 [execute] INFO git cat-file --batch-check [2024-07-29T08:31:00.205Z] 2024-07-29 08:30:59,132 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/2/.semver, universal_newlines=False, shell=None, istream=) [2024-07-29T08:31:00.205Z] 2024-07-29 08:30:59,138 [execute] INFO git cat-file --batch [2024-07-29T08:31:00.205Z] 2024-07-29 08:30:59,138 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/2/.semver, universal_newlines=False, shell=None, istream=) [2024-07-29T08:31:00.205Z] 2024-07-29 08:30:59,143 [read_version] DEBUG read version from /w/workspace/edgex-go/2/.semver/PR-4840 [2024-07-29T08:31:00.205Z] 0.0.0 [Pipeline] } [2024-07-29T08:31:00.215Z] $ docker exec --env ******** --env ******** 112fea4d392d96703b72a219ca217d08b78c376335aba12428b520eff7bbffdf ssh-agent -k [2024-07-29T08:31:00.298Z] unset SSH_AUTH_SOCK; [2024-07-29T08:31:00.298Z] unset SSH_AGENT_PID; [2024-07-29T08:31:00.298Z] echo Agent pid 78 killed; [2024-07-29T08:31:00.310Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-29T08:31:00.637Z] + git semver [Pipeline] } [2024-07-29T08:31:00.907Z] $ docker stop --time=1 112fea4d392d96703b72a219ca217d08b78c376335aba12428b520eff7bbffdf [2024-07-29T08:31:02.218Z] $ docker rm -f --volumes 112fea4d392d96703b72a219ca217d08b78c376335aba12428b520eff7bbffdf [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-29T08:31:02.572Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-29T08:31:02.805Z] Stashed 1 file(s) [Pipeline] echo [2024-07-29T08:31:02.810Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-29T08:31:03.246Z] + git config --global --add safe.directory /w/workspace/edgex-go/2 [Pipeline] echo [2024-07-29T08:31:03.264Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-29T08:31:03.287Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-29T08:31:03.301Z] ========================================================= [2024-07-29T08:31:03.301Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-29T08:31:03.301Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2024-07-29T08:31:03.595Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-29T08:31:03.595Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-29T08:31:03.595Z] 619be1103602: Pulling fs layer [2024-07-29T08:31:03.595Z] 7862e08f4a3e: Pulling fs layer [2024-07-29T08:31:03.595Z] 5df492c9dc93: Pulling fs layer [2024-07-29T08:31:03.595Z] 7629e6793208: Pulling fs layer [2024-07-29T08:31:03.595Z] 4f4fb700ef54: Pulling fs layer [2024-07-29T08:31:03.595Z] fb5054dd5b73: Pulling fs layer [2024-07-29T08:31:03.595Z] eeca6798cff9: Pulling fs layer [2024-07-29T08:31:03.595Z] aa269ceb94a6: Pulling fs layer [2024-07-29T08:31:03.595Z] ada007ff1a6a: Pulling fs layer [2024-07-29T08:31:03.595Z] 7629e6793208: Waiting [2024-07-29T08:31:03.595Z] 4f4fb700ef54: Waiting [2024-07-29T08:31:03.595Z] fb5054dd5b73: Waiting [2024-07-29T08:31:03.595Z] eeca6798cff9: Waiting [2024-07-29T08:31:03.595Z] aa269ceb94a6: Waiting [2024-07-29T08:31:03.595Z] 7862e08f4a3e: Verifying Checksum [2024-07-29T08:31:03.595Z] 7862e08f4a3e: Download complete [2024-07-29T08:31:03.595Z] 7629e6793208: Verifying Checksum [2024-07-29T08:31:03.595Z] 7629e6793208: Download complete [2024-07-29T08:31:03.595Z] 4f4fb700ef54: Verifying Checksum [2024-07-29T08:31:03.595Z] 4f4fb700ef54: Download complete [2024-07-29T08:31:03.595Z] fb5054dd5b73: Verifying Checksum [2024-07-29T08:31:03.595Z] fb5054dd5b73: Download complete [2024-07-29T08:31:03.595Z] 619be1103602: Download complete [2024-07-29T08:31:03.595Z] eeca6798cff9: Verifying Checksum [2024-07-29T08:31:03.595Z] eeca6798cff9: Download complete [2024-07-29T08:31:03.855Z] 619be1103602: Pull complete [2024-07-29T08:31:03.855Z] ada007ff1a6a: Download complete [2024-07-29T08:31:03.855Z] 7862e08f4a3e: Pull complete [2024-07-29T08:31:04.114Z] 5df492c9dc93: Verifying Checksum [2024-07-29T08:31:04.114Z] 5df492c9dc93: Download complete [2024-07-29T08:31:04.372Z] aa269ceb94a6: Verifying Checksum [2024-07-29T08:31:04.372Z] aa269ceb94a6: Download complete [2024-07-29T08:31:06.927Z] 5df492c9dc93: Pull complete [2024-07-29T08:31:06.927Z] 7629e6793208: Pull complete [2024-07-29T08:31:06.927Z] 4f4fb700ef54: Pull complete [2024-07-29T08:31:07.185Z] fb5054dd5b73: Pull complete [2024-07-29T08:31:07.186Z] eeca6798cff9: Pull complete [2024-07-29T08:31:09.719Z] aa269ceb94a6: Pull complete [2024-07-29T08:31:09.720Z] ada007ff1a6a: Pull complete [2024-07-29T08:31:09.720Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-29T08:31:09.720Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-29T08:31:09.720Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [Pipeline] fileExists [Pipeline] sh [2024-07-29T08:31:10.031Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-29T08:31:10.031Z] WORKDIR /edgex [2024-07-29T08:31:10.031Z] COPY go.mod . [2024-07-29T08:31:10.031Z] RUN go mod download [2024-07-29T08:31:10.031Z] + docker build -t ci-base-image-x86_64 -f - . [2024-07-29T08:31:10.600Z] Sending build context to Docker daemon 178.6MB [2024-07-29T08:31:10.600Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-29T08:31:10.600Z] ---> f489d0715acc [2024-07-29T08:31:10.600Z] Step 2/4 : WORKDIR /edgex [2024-07-29T08:31:17.181Z] ---> Running in be8ec5dac309 [2024-07-29T08:31:17.181Z] Removing intermediate container be8ec5dac309 [2024-07-29T08:31:17.181Z] ---> 15b7cc96ed37 [2024-07-29T08:31:17.181Z] Step 3/4 : COPY go.mod . [2024-07-29T08:31:17.181Z] ---> e26a9e22cd4e [2024-07-29T08:31:17.181Z] Step 4/4 : RUN go mod download [2024-07-29T08:31:17.181Z] ---> Running in 2fde5db24ebe [2024-07-29T08:31:17.905Z] Still waiting to schedule task [2024-07-29T08:31:17.906Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-6659’ is offline [2024-07-29T08:31:39.857Z] Removing intermediate container 2fde5db24ebe [2024-07-29T08:31:39.857Z] ---> 85d08cb9aa71 [2024-07-29T08:31:39.857Z] Successfully built 85d08cb9aa71 [2024-07-29T08:31:39.857Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-29T08:31:40.164Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-29T08:31:40.164Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-29T08:31:40.256Z] prd-ubuntu20.04-docker-8c-8g-6658 does not seem to be running inside a container [2024-07-29T08:31:40.308Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 [2024-07-29T08:31:41.170Z] $ docker top 38ac8d9bc1fc859aad824ad0cadfa88efbb0b58f28d8a4572eca37e20c7c3bb7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-29T08:31:41.529Z] + go version [2024-07-29T08:31:41.529Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-29T08:31:41.538Z] $ docker stop --time=1 38ac8d9bc1fc859aad824ad0cadfa88efbb0b58f28d8a4572eca37e20c7c3bb7 [2024-07-29T08:31:42.846Z] $ docker rm -f --volumes 38ac8d9bc1fc859aad824ad0cadfa88efbb0b58f28d8a4572eca37e20c7c3bb7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-29T08:31:43.295Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-29T08:31:43.295Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-29T08:31:43.373Z] prd-ubuntu20.04-docker-8c-8g-6658 does not seem to be running inside a container [2024-07-29T08:31:43.403Z] $ 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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 [2024-07-29T08:31:43.725Z] $ docker top 08847ff3031b701738a8a0daf929067bf7421f370deca7adce72bff77dd21666 -eo pid,comm [Pipeline] { [Pipeline] echo [2024-07-29T08:31:43.801Z] ========================================================= [2024-07-29T08:31:43.801Z] [edgeXBuildGoParallel] Running Tests and Build... [2024-07-29T08:31:43.801Z] ========================================================= [Pipeline] sh [2024-07-29T08:31:44.084Z] + git config --global --add safe.directory /w/workspace/edgex-go/2 [Pipeline] fileExists [Pipeline] sh [2024-07-29T08:31:44.393Z] + make test [2024-07-29T08:31:44.393Z] go test -race -coverprofile=coverage.out ./... [2024-07-29T08:31:52.513Z] ? github.com/edgexfoundry/edgex-go [no test files] [2024-07-29T08:32:24.577Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2024-07-29T08:32:24.577Z] ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] [2024-07-29T08:32:24.577Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2024-07-29T08:32:24.577Z] ? github.com/edgexfoundry/edgex-go/cmd/core-keeper [no test files] [2024-07-29T08:32:24.577Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2024-07-29T08:32:24.577Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2024-07-29T08:32:24.577Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2024-07-29T08:32:24.577Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-auth [no test files] [2024-07-29T08:32:24.577Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2024-07-29T08:32:24.577Z] ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] [2024-07-29T08:32:24.577Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2024-07-29T08:32:24.577Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2024-07-29T08:32:24.577Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2024-07-29T08:32:24.577Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2024-07-29T08:32:24.577Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2024-07-29T08:32:24.577Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2024-07-29T08:32:24.577Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2024-07-29T08:32:25.512Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 1.023s coverage: 28.7% of statements [2024-07-29T08:32:25.777Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] [2024-07-29T08:32:25.777Z] ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] [2024-07-29T08:32:25.777Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2024-07-29T08:32:26.714Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 1.029s coverage: 97.0% of statements [2024-07-29T08:32:26.714Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2024-07-29T08:32:26.714Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2024-07-29T08:32:27.283Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] [2024-07-29T08:32:27.283Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2024-07-29T08:32:27.283Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2024-07-29T08:32:27.283Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2024-07-29T08:32:27.283Z] ? github.com/edgexfoundry/edgex-go/internal/core/keeper [no test files] [2024-07-29T08:32:27.283Z] ? github.com/edgexfoundry/edgex-go/internal/core/keeper/application [no test files] [2024-07-29T08:32:27.283Z] ? github.com/edgexfoundry/edgex-go/internal/core/keeper/config [no test files] [2024-07-29T08:32:27.283Z] ? github.com/edgexfoundry/edgex-go/internal/core/keeper/constants [no test files] [2024-07-29T08:32:27.283Z] ? github.com/edgexfoundry/edgex-go/internal/core/keeper/container [no test files] [2024-07-29T08:32:28.672Z] ? github.com/edgexfoundry/edgex-go/internal/core/keeper/infrastructure/interfaces [no test files] [2024-07-29T08:32:28.672Z] ? github.com/edgexfoundry/edgex-go/internal/core/keeper/infrastructure/interfaces/mocks [no test files] [2024-07-29T08:32:28.672Z] ? github.com/edgexfoundry/edgex-go/internal/core/keeper/registry [no test files] [2024-07-29T08:32:28.672Z] ? github.com/edgexfoundry/edgex-go/internal/core/keeper/utils [no test files] [2024-07-29T08:32:28.672Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2024-07-29T08:32:29.608Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 4.049s coverage: 69.2% of statements [2024-07-29T08:32:29.608Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 1.038s coverage: 53.2% of statements [2024-07-29T08:32:29.876Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2024-07-29T08:32:29.876Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2024-07-29T08:32:29.876Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 2.801s coverage: 93.4% of statements [2024-07-29T08:32:29.876Z] ok github.com/edgexfoundry/edgex-go/internal/core/keeper/controller/http 1.038s coverage: 91.7% of statements [2024-07-29T08:32:31.253Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 1.040s coverage: 6.5% of statements [2024-07-29T08:32:32.190Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2024-07-29T08:32:32.190Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2024-07-29T08:32:32.190Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] [2024-07-29T08:32:32.190Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2024-07-29T08:32:32.190Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2024-07-29T08:32:32.190Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2024-07-29T08:32:32.190Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2024-07-29T08:32:32.190Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2024-07-29T08:32:32.190Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2024-07-29T08:32:32.190Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2024-07-29T08:32:33.569Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.346s coverage: 95.8% of statements [2024-07-29T08:32:33.569Z] ok github.com/edgexfoundry/edgex-go/internal/io 1.022s coverage: 72.2% of statements [2024-07-29T08:32:33.828Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2024-07-29T08:32:33.828Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2024-07-29T08:32:35.203Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 1.040s coverage: 0.8% of statements [2024-07-29T08:32:35.203Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 1.028s coverage: 32.2% of statements [2024-07-29T08:32:35.203Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 1.022s coverage: 41.7% of statements [2024-07-29T08:32:36.163Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 2.022s coverage: 77.8% of statements [2024-07-29T08:32:36.163Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 1.021s coverage: 94.1% of statements [2024-07-29T08:32:36.163Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 1.023s coverage: 96.3% of statements [2024-07-29T08:32:36.163Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 1.021s coverage: 87.5% of statements [2024-07-29T08:32:36.163Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2024-07-29T08:32:36.163Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2024-07-29T08:32:36.163Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2024-07-29T08:32:36.163Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2024-07-29T08:32:36.423Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2024-07-29T08:32:36.423Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] [2024-07-29T08:32:36.423Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] [2024-07-29T08:32:36.423Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] [2024-07-29T08:32:37.806Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2024-07-29T08:32:37.806Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2024-07-29T08:32:37.806Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2024-07-29T08:32:37.806Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2024-07-29T08:32:38.066Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2024-07-29T08:32:38.066Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2024-07-29T08:32:38.634Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2024-07-29T08:32:40.010Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] [2024-07-29T08:32:40.577Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2024-07-29T08:32:41.513Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2024-07-29T08:32:41.513Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2024-07-29T08:32:44.798Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth [no test files] [2024-07-29T08:32:44.798Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] [2024-07-29T08:32:44.798Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] [2024-07-29T08:32:45.733Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2024-07-29T08:32:45.733Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2024-07-29T08:32:45.733Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2024-07-29T08:32:45.992Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] [2024-07-29T08:32:45.992Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] [2024-07-29T08:32:45.992Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] [2024-07-29T08:32:45.992Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] [2024-07-29T08:32:47.368Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2024-07-29T08:32:47.368Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2024-07-29T08:32:47.368Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2024-07-29T08:32:47.368Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2024-07-29T08:32:47.628Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 13.030s coverage: 94.4% of statements [2024-07-29T08:32:49.001Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2024-07-29T08:32:49.001Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2024-07-29T08:32:49.001Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] [2024-07-29T08:32:49.001Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2024-07-29T08:32:50.387Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2024-07-29T08:32:50.387Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2024-07-29T08:32:51.323Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2024-07-29T08:32:51.323Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2024-07-29T08:33:01.320Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 24.228s coverage: 79.9% of statements [2024-07-29T08:33:01.320Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.069s coverage: 92.9% of statements [2024-07-29T08:33:01.320Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 1.015s coverage: 64.4% of statements [2024-07-29T08:33:01.320Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 7.027s coverage: 62.3% of statements [2024-07-29T08:33:01.320Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 12.036s coverage: 87.2% of statements [2024-07-29T08:33:01.320Z] ok github.com/edgexfoundry/edgex-go/internal/security/common 1.017s coverage: 20.0% of statements [2024-07-29T08:33:01.320Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 1.017s coverage: 100.0% of statements [2024-07-29T08:33:01.320Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 1.072s coverage: 81.8% of statements [2024-07-29T08:33:01.320Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 1.067s coverage: 82.1% of statements [2024-07-29T08:33:01.320Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 1.022s coverage: 86.0% of statements [2024-07-29T08:33:01.320Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.122s coverage: 63.1% of statements [2024-07-29T08:33:01.321Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 1.021s coverage: 100.0% of statements [2024-07-29T08:33:01.321Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 1.019s coverage: 89.4% of statements [2024-07-29T08:33:01.321Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 1.017s coverage: 100.0% of statements [2024-07-29T08:33:01.321Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 1.017s coverage: 73.7% of statements [2024-07-29T08:33:01.321Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 1.016s coverage: 100.0% of statements [2024-07-29T08:33:01.321Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 1.149s coverage: 38.4% of statements [2024-07-29T08:33:01.321Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 1.024s coverage: 89.5% of statements [2024-07-29T08:33:01.321Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 1.023s coverage: 84.8% of statements [2024-07-29T08:33:01.321Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 7.039s coverage: 19.9% of statements [2024-07-29T08:33:01.321Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 1.089s coverage: 95.7% of statements [2024-07-29T08:33:01.321Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 1.031s coverage: 61.8% of statements [2024-07-29T08:33:01.321Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 1.053s coverage: 98.9% of statements [2024-07-29T08:33:01.321Z] 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 [2024-07-29T08:33:01.321Z] running golangci-lint [2024-07-29T08:33:01.321Z] golangci-lint has version 1.54.2 built with go1.21.0 from 411e0bbb on 2023-08-21T12:04:32Z [2024-07-29T08:33:01.321Z] go version go1.21.9 linux/amd64 [2024-07-29T08:33:01.321Z] level=info msg="[config_reader] Used config file .golangci.yml" [2024-07-29T08:33:01.321Z] level=info msg="[lintersdb] Active 7 linters: [errcheck gosec gosimple govet ineffassign staticcheck unused]" [2024-07-29T08:33:23.250Z] level=info msg="[loader] Go packages loading at mode 575 (files|imports|name|types_sizes|deps|exports_file|compiled_files) took 19.619116801s" [2024-07-29T08:33:23.250Z] level=info msg="[runner/filename_unadjuster] Pre-built 0 adjustments in 30.074028ms" [2024-07-29T08:33:31.357Z] level=info msg="[linters_context/goanalysis] analyzers took 1m24.251020115s with top 10 stages: buildir: 46.967124488s, gosec: 7.896177183s, fact_deprecated: 2.195700895s, inspect: 2.182899552s, ctrlflow: 1.559950257s, printf: 1.495094152s, fact_purity: 1.133072724s, nilness: 1.105281407s, S1038: 943.667813ms, directives: 644.754658ms" [2024-07-29T08:33:31.358Z] level=info msg="[runner] Issues before processing: 209, after processing: 0" [2024-07-29T08:33:31.358Z] level=info msg="[runner] Processors filtering stat (out/in): filename_unadjuster: 209/209, skip_dirs: 209/209, autogenerated_exclude: 209/209, exclude-rules: 21/209, nolint: 0/21, path_prettifier: 209/209, exclude: 209/209, skip_files: 209/209, identifier_marker: 209/209, cgo: 209/209" [2024-07-29T08:33:31.358Z] level=info msg="[runner] processing took 22.702561ms with stages: nolint: 9.76467ms, identifier_marker: 6.709797ms, exclude-rules: 2.425977ms, autogenerated_exclude: 1.587781ms, path_prettifier: 1.42982ms, skip_dirs: 736.375µs, cgo: 28.111µs, filename_unadjuster: 14.92µs, max_same_issues: 1.21µs, uniq_by_line: 580ns, exclude: 580ns, skip_files: 450ns, diff: 410ns, fixer: 390ns, sort_results: 270ns, severity-rules: 260ns, source_code: 240ns, path_prefixer: 220ns, path_shortener: 200ns, max_from_linter: 170ns, max_per_file_from_linter: 130ns" [2024-07-29T08:33:31.358Z] level=info msg="[runner] linters took 10.252609391s with stages: goanalysis_metalinter: 10.22978205s" [2024-07-29T08:33:31.358Z] level=info msg="File cache stats: 0 entries of total size 0B" [2024-07-29T08:33:31.358Z] level=info msg="Memory: 297 samples, avg is 287.6MB, max is 1370.4MB" [2024-07-29T08:33:31.358Z] level=info msg="Execution took 29.915804575s" [2024-07-29T08:33:31.358Z] go vet ./... [2024-07-29T08:33:37.917Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-29T08:33:37.917Z] ./internal/core/data/controller/messaging/subscriber.go [2024-07-29T08:33:37.917Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-29T08:33:37.917Z] make: *** [Makefile:170: test] Error 1 [Pipeline] } [2024-07-29T08:33:37.926Z] $ docker stop --time=1 08847ff3031b701738a8a0daf929067bf7421f370deca7adce72bff77dd21666 [2024-07-29T08:33:42.208Z] $ docker rm -f --volumes 08847ff3031b701738a8a0daf929067bf7421f370deca7adce72bff77dd21666 [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] } [2024-07-29T08:33:42.824Z] Failed in branch amd64 [2024-07-29T08:33:47.394Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6660 in /w/workspace/edgexfoundry_edgex-go_PR-4840 [Pipeline] { [Pipeline] ws [2024-07-29T08:33:47.412Z] Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] checkout [2024-07-29T08:33:50.481Z] The recommended git tool is: git [2024-07-29T08:33:58.158Z] using credential edgex-jenkins-ssh [2024-07-29T08:33:58.181Z] Cloning the remote Git repository [2024-07-29T08:33:58.238Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2024-07-29T08:33:58.343Z] > git init /w/workspace/edgex-go/2 # timeout=10 [2024-07-29T08:33:58.588Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2024-07-29T08:33:58.589Z] > git --version # timeout=10 [2024-07-29T08:33:58.628Z] > git --version # 'git version 2.25.1' [2024-07-29T08:33:58.630Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-29T08:33:58.914Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-29T08:34:17.276Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2024-07-29T08:34:17.306Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-29T08:34:19.058Z] Merging remotes/origin/main commit 6c682467242f5367a5e585f39d0ca5cfdf1e8ca8 into PR head commit ccd7518a2427159590f035b51a5428599464d08f [2024-07-29T08:34:19.711Z] Merge succeeded, producing f1270776472efc645b24eb7ac5946650a94abafd [2024-07-29T08:34:19.711Z] Checking out Revision f1270776472efc645b24eb7ac5946650a94abafd (PR-4840) [2024-07-29T08:34:18.177Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2024-07-29T08:34:18.218Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2024-07-29T08:34:18.219Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-29T08:34:18.243Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4840/head:refs/remotes/origin/PR-4840 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-29T08:34:19.077Z] > git config core.sparsecheckout # timeout=10 [2024-07-29T08:34:19.141Z] > git checkout -f ccd7518a2427159590f035b51a5428599464d08f # timeout=10 [2024-07-29T08:34:19.384Z] > git remote # timeout=10 [2024-07-29T08:34:19.407Z] > git config --get remote.origin.url # timeout=10 [2024-07-29T08:34:19.421Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-29T08:34:19.439Z] > git merge 6c682467242f5367a5e585f39d0ca5cfdf1e8ca8 # timeout=10 [2024-07-29T08:34:19.692Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-29T08:34:19.716Z] > git config core.sparsecheckout # timeout=10 [2024-07-29T08:34:19.728Z] > git checkout -f f1270776472efc645b24eb7ac5946650a94abafd # timeout=10 [2024-07-29T08:34:23.669Z] Commit message: "Merge commit '6c682467242f5367a5e585f39d0ca5cfdf1e8ca8' into HEAD" [2024-07-29T08:34:23.676Z] > git rev-list --no-walk ccd7518a2427159590f035b51a5428599464d08f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-29T08:34:25.457Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-29T08:34:25.457Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-29T08:34:25.457Z] Dload Upload Total Spent Left Speed [2024-07-29T08:34:25.457Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 219k 0 --:--:-- --:--:-- --:--:-- 219k [Pipeline] sh [2024-07-29T08:34:25.798Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-29T08:34:26.131Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-29T08:34:26.131Z] + sudo tee /etc/docker/daemon.new [2024-07-29T08:34:26.131Z] { [2024-07-29T08:34:26.131Z] "registry-mirrors": [ [2024-07-29T08:34:26.131Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-29T08:34:26.131Z] ], [2024-07-29T08:34:26.131Z] "bip": "10.250.0.254/24", [2024-07-29T08:34:26.131Z] "hosts": [ [2024-07-29T08:34:26.131Z] "tcp://0.0.0.0:5555", [2024-07-29T08:34:26.131Z] "unix:///var/run/docker.sock" [2024-07-29T08:34:26.131Z] ], [2024-07-29T08:34:26.131Z] "mtu": 1458, [2024-07-29T08:34:26.131Z] "selinux-enabled": true, [2024-07-29T08:34:26.131Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-29T08:34:26.131Z] } [Pipeline] sh [2024-07-29T08:34:26.461Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-29T08:34:26.790Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-29T08:34:45.069Z] provisioning config files... [2024-07-29T08:34:45.098Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config3735688154995981146tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-29T08:34:45.526Z] ---> ****-login.sh [2024-07-29T08:34:45.526Z] nexus3.edgexfoundry.org:10001 [2024-07-29T08:34:45.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-29T08:34:46.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-29T08:34:46.382Z] Configure a credential helper to remove this warning. See [2024-07-29T08:34:46.382Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-29T08:34:46.382Z] [2024-07-29T08:34:46.382Z] Login Succeeded [2024-07-29T08:34:46.382Z] nexus3.edgexfoundry.org:10002 [2024-07-29T08:34:46.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-29T08:34:46.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-29T08:34:46.652Z] Configure a credential helper to remove this warning. See [2024-07-29T08:34:46.652Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-29T08:34:46.652Z] [2024-07-29T08:34:46.652Z] Login Succeeded [2024-07-29T08:34:46.652Z] nexus3.edgexfoundry.org:10003 [2024-07-29T08:34:46.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-29T08:34:46.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-29T08:34:46.926Z] Configure a credential helper to remove this warning. See [2024-07-29T08:34:46.926Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-29T08:34:46.926Z] [2024-07-29T08:34:46.926Z] Login Succeeded [2024-07-29T08:34:46.926Z] nexus3.edgexfoundry.org:10004 [2024-07-29T08:34:47.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-29T08:34:47.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-29T08:34:47.471Z] Configure a credential helper to remove this warning. See [2024-07-29T08:34:47.471Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-29T08:34:47.471Z] [2024-07-29T08:34:47.472Z] Login Succeeded [2024-07-29T08:34:47.472Z] ****.io [2024-07-29T08:34:47.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-29T08:34:48.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-29T08:34:48.014Z] Configure a credential helper to remove this warning. See [2024-07-29T08:34:48.014Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-29T08:34:48.014Z] [2024-07-29T08:34:48.014Z] Login Succeeded [2024-07-29T08:34:48.014Z] ---> ****-login.sh ends [Pipeline] } [2024-07-29T08:34:48.028Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh [2024-07-29T08:34:48.634Z] + git config --global --add safe.directory /w/workspace/edgex-go/2 [Pipeline] echo [2024-07-29T08:34:48.657Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-29T08:34:48.683Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-29T08:34:48.700Z] ========================================================= [2024-07-29T08:34:48.700Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-29T08:34:48.700Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2024-07-29T08:34:49.026Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-29T08:34:49.026Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-29T08:34:49.026Z] c6b39de5b339: Pulling fs layer [2024-07-29T08:34:49.026Z] a69c41024577: Pulling fs layer [2024-07-29T08:34:49.026Z] d6de4b400683: Pulling fs layer [2024-07-29T08:34:49.026Z] 35cb2a7552d0: Pulling fs layer [2024-07-29T08:34:49.026Z] 4f4fb700ef54: Pulling fs layer [2024-07-29T08:34:49.026Z] 464afbd9ba4c: Pulling fs layer [2024-07-29T08:34:49.026Z] 00f215d4a9da: Pulling fs layer [2024-07-29T08:34:49.026Z] d496ad576159: Pulling fs layer [2024-07-29T08:34:49.026Z] 464afbd9ba4c: Waiting [2024-07-29T08:34:49.026Z] 00f215d4a9da: Waiting [2024-07-29T08:34:49.026Z] d496ad576159: Waiting [2024-07-29T08:34:49.026Z] 35cb2a7552d0: Waiting [2024-07-29T08:34:49.026Z] 4f4fb700ef54: Waiting [2024-07-29T08:34:49.296Z] a69c41024577: Download complete [2024-07-29T08:34:49.296Z] 35cb2a7552d0: Verifying Checksum [2024-07-29T08:34:49.296Z] 35cb2a7552d0: Download complete [2024-07-29T08:34:49.296Z] 4f4fb700ef54: Verifying Checksum [2024-07-29T08:34:49.296Z] 4f4fb700ef54: Download complete [2024-07-29T08:34:49.296Z] 464afbd9ba4c: Verifying Checksum [2024-07-29T08:34:49.296Z] c6b39de5b339: Verifying Checksum [2024-07-29T08:34:49.296Z] c6b39de5b339: Download complete [2024-07-29T08:34:49.296Z] 464afbd9ba4c: Download complete [2024-07-29T08:34:49.564Z] d496ad576159: Verifying Checksum [2024-07-29T08:34:49.564Z] d496ad576159: Download complete [2024-07-29T08:34:50.150Z] c6b39de5b339: Pull complete [2024-07-29T08:34:50.735Z] a69c41024577: Pull complete [2024-07-29T08:34:51.319Z] d6de4b400683: Download complete [2024-07-29T08:34:52.282Z] 00f215d4a9da: Verifying Checksum [2024-07-29T08:34:52.282Z] 00f215d4a9da: Download complete [2024-07-29T08:35:04.589Z] d6de4b400683: Pull complete [2024-07-29T08:35:04.859Z] 35cb2a7552d0: Pull complete [2024-07-29T08:35:05.126Z] 4f4fb700ef54: Pull complete [2024-07-29T08:35:05.395Z] 464afbd9ba4c: Pull complete [2024-07-29T08:35:13.601Z] 00f215d4a9da: Pull complete [2024-07-29T08:35:15.538Z] d496ad576159: Pull complete [2024-07-29T08:35:15.538Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-29T08:35:15.538Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-29T08:35:15.538Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [Pipeline] fileExists [Pipeline] sh [2024-07-29T08:35:15.881Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-29T08:35:15.882Z] WORKDIR /edgex [2024-07-29T08:35:15.882Z] COPY go.mod . [2024-07-29T08:35:15.882Z] RUN go mod download [2024-07-29T08:35:15.882Z] + docker build -t ci-base-image-arm64 -f - . [2024-07-29T08:35:16.468Z] Sending build context to Docker daemon 3.228MB [2024-07-29T08:35:16.468Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-29T08:35:16.468Z] ---> f246e2811388 [2024-07-29T08:35:16.468Z] Step 2/4 : WORKDIR /edgex [2024-07-29T08:35:18.402Z] ---> Running in 40f7da5cfbd6 [2024-07-29T08:35:18.668Z] Removing intermediate container 40f7da5cfbd6 [2024-07-29T08:35:18.669Z] ---> 7f320835675a [2024-07-29T08:35:18.669Z] Step 3/4 : COPY go.mod . [2024-07-29T08:35:19.253Z] ---> 2509b72e95d0 [2024-07-29T08:35:19.253Z] Step 4/4 : RUN go mod download [2024-07-29T08:35:19.253Z] ---> Running in d05083c66450 [2024-07-29T08:36:27.122Z] Removing intermediate container d05083c66450 [2024-07-29T08:36:27.122Z] ---> f34f7486347b [2024-07-29T08:36:27.122Z] Successfully built f34f7486347b [2024-07-29T08:36:27.122Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-29T08:36:27.474Z] + docker inspect -f . ci-base-image-arm64 [2024-07-29T08:36:27.474Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-29T08:36:27.693Z] prd-ubuntu20.04-docker-arm64-4c-16g-6660 does not seem to be running inside a container [2024-07-29T08:36:27.768Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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-arm64 cat [2024-07-29T08:36:29.076Z] $ docker top a7f6b353ee34e2cbfd0eed9bf00f8deff8a13289ec91c0f472ccc5cba5b81c9d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-29T08:36:29.923Z] + go version [2024-07-29T08:36:29.923Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-29T08:36:29.938Z] $ docker stop --time=1 a7f6b353ee34e2cbfd0eed9bf00f8deff8a13289ec91c0f472ccc5cba5b81c9d [2024-07-29T08:36:31.579Z] $ docker rm -f --volumes a7f6b353ee34e2cbfd0eed9bf00f8deff8a13289ec91c0f472ccc5cba5b81c9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-29T08:36:32.150Z] + docker inspect -f . ci-base-image-arm64 [2024-07-29T08:36:32.150Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-29T08:36:32.345Z] prd-ubuntu20.04-docker-arm64-4c-16g-6660 does not seem to be running inside a container [2024-07-29T08:36:32.406Z] $ 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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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-arm64 cat [2024-07-29T08:36:33.556Z] $ docker top 2eee6300a91d6ea6f48af7fb4c9f59bedd54c191f3fc8faf5b8dda9647c0c262 -eo pid,comm [Pipeline] { [Pipeline] echo [2024-07-29T08:36:33.748Z] ========================================================= [2024-07-29T08:36:33.748Z] [edgeXBuildGoParallel] Running Tests and Build... [2024-07-29T08:36:33.748Z] ========================================================= [Pipeline] sh [2024-07-29T08:36:34.050Z] + git config --global --add safe.directory /w/workspace/edgex-go/2 [Pipeline] fileExists [Pipeline] sh [2024-07-29T08:36:34.380Z] + make test [2024-07-29T08:36:34.381Z] go test -race -coverprofile=coverage.out ./... [2024-07-29T08:37:21.322Z] ? github.com/edgexfoundry/edgex-go [no test files] [2024-07-29T08:40:43.121Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2024-07-29T08:40:43.122Z] ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] [2024-07-29T08:40:46.476Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2024-07-29T08:40:46.477Z] ? github.com/edgexfoundry/edgex-go/cmd/core-keeper [no test files] [2024-07-29T08:40:47.062Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2024-07-29T08:40:47.647Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2024-07-29T08:40:49.606Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2024-07-29T08:40:49.606Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2024-07-29T08:40:49.874Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-auth [no test files] [2024-07-29T08:40:49.874Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2024-07-29T08:40:51.285Z] ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] [2024-07-29T08:40:54.657Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2024-07-29T08:40:54.657Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2024-07-29T08:40:54.657Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2024-07-29T08:40:54.657Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2024-07-29T08:41:06.987Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2024-07-29T08:41:06.987Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2024-07-29T08:41:06.987Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 1.123s coverage: 28.7% of statements [2024-07-29T08:41:19.297Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 1.187s coverage: 97.0% of statements [2024-07-29T08:41:24.639Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] [2024-07-29T08:41:24.640Z] ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] [2024-07-29T08:41:24.640Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2024-07-29T08:41:28.007Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 4.287s coverage: 69.2% of statements [2024-07-29T08:41:29.964Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2024-07-29T08:41:29.964Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2024-07-29T08:41:30.936Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 1.213s coverage: 53.2% of statements [2024-07-29T08:41:36.314Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] [2024-07-29T08:41:36.314Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2024-07-29T08:41:36.314Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2024-07-29T08:41:36.314Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2024-07-29T08:41:36.314Z] ? github.com/edgexfoundry/edgex-go/internal/core/keeper [no test files] [2024-07-29T08:41:36.314Z] ? github.com/edgexfoundry/edgex-go/internal/core/keeper/application [no test files] [2024-07-29T08:41:36.314Z] ? github.com/edgexfoundry/edgex-go/internal/core/keeper/config [no test files] [2024-07-29T08:41:36.314Z] ? github.com/edgexfoundry/edgex-go/internal/core/keeper/constants [no test files] [2024-07-29T08:41:36.314Z] ? github.com/edgexfoundry/edgex-go/internal/core/keeper/container [no test files] [2024-07-29T08:41:44.550Z] ? github.com/edgexfoundry/edgex-go/internal/core/keeper/infrastructure/interfaces [no test files] [2024-07-29T08:41:44.550Z] ? github.com/edgexfoundry/edgex-go/internal/core/keeper/infrastructure/interfaces/mocks [no test files] [2024-07-29T08:41:44.550Z] ? github.com/edgexfoundry/edgex-go/internal/core/keeper/registry [no test files] [2024-07-29T08:41:44.550Z] ? github.com/edgexfoundry/edgex-go/internal/core/keeper/utils [no test files] [2024-07-29T08:41:44.550Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2024-07-29T08:41:47.142Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 10.815s coverage: 93.4% of statements [2024-07-29T08:41:47.142Z] ok github.com/edgexfoundry/edgex-go/internal/core/keeper/controller/http 1.253s coverage: 91.7% of statements [2024-07-29T08:41:53.788Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2024-07-29T08:41:53.788Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2024-07-29T08:41:54.054Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 1.203s coverage: 6.5% of statements [2024-07-29T08:42:00.694Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2024-07-29T08:42:00.694Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2024-07-29T08:42:00.694Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] [2024-07-29T08:42:02.635Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2024-07-29T08:42:02.635Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2024-07-29T08:42:02.635Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2024-07-29T08:42:02.635Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2024-07-29T08:42:02.635Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2024-07-29T08:42:02.635Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2024-07-29T08:42:02.635Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2024-07-29T08:42:02.901Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 2.692s coverage: 95.8% of statements [2024-07-29T08:42:03.483Z] ok github.com/edgexfoundry/edgex-go/internal/io 1.092s coverage: 72.2% of statements [2024-07-29T08:42:15.780Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2024-07-29T08:42:15.780Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2024-07-29T08:42:15.780Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 1.312s coverage: 0.8% of statements [2024-07-29T08:42:15.780Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 1.136s coverage: 32.2% of statements [2024-07-29T08:42:19.117Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 1.123s coverage: 41.7% of statements [2024-07-29T08:42:19.117Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.103s coverage: 77.8% of statements [2024-07-29T08:42:19.117Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 1.094s coverage: 94.1% of statements [2024-07-29T08:42:19.698Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 1.100s coverage: 96.3% of statements [2024-07-29T08:42:23.945Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 1.099s coverage: 87.5% of statements [2024-07-29T08:42:25.349Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2024-07-29T08:42:27.280Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2024-07-29T08:42:27.280Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2024-07-29T08:42:27.280Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2024-07-29T08:42:30.608Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2024-07-29T08:42:30.608Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] [2024-07-29T08:42:30.608Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] [2024-07-29T08:42:30.608Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] [2024-07-29T08:42:35.937Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 13.096s coverage: 94.4% of statements [2024-07-29T08:42:35.937Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2024-07-29T08:42:35.937Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2024-07-29T08:42:35.937Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2024-07-29T08:42:35.937Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2024-07-29T08:42:45.991Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2024-07-29T08:42:45.991Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2024-07-29T08:42:47.934Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2024-07-29T08:42:50.517Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 24.947s coverage: 79.9% of statements [2024-07-29T08:42:50.517Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 20.145s coverage: 92.9% of statements [2024-07-29T08:42:50.517Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 1.072s coverage: 64.4% of statements [2024-07-29T08:42:50.517Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 7.106s coverage: 62.3% of statements [2024-07-29T08:42:50.517Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 12.099s coverage: 87.2% of statements [2024-07-29T08:42:50.517Z] ok github.com/edgexfoundry/edgex-go/internal/security/common 1.073s coverage: 20.0% of statements [2024-07-29T08:42:50.517Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 1.079s coverage: 100.0% of statements [2024-07-29T08:42:53.100Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] [2024-07-29T08:42:53.100Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 1.292s coverage: 81.8% of statements [2024-07-29T08:42:53.367Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2024-07-29T08:42:54.326Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 1.315s coverage: 82.1% of statements [2024-07-29T08:42:54.592Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 1.116s coverage: 86.0% of statements [2024-07-29T08:42:59.938Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2024-07-29T08:42:59.938Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2024-07-29T08:43:01.345Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.807s coverage: 63.1% of statements [2024-07-29T08:43:01.345Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 1.110s coverage: 100.0% of statements [2024-07-29T08:43:03.287Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 1.120s coverage: 89.4% of statements [2024-07-29T08:43:03.287Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 1.080s coverage: 100.0% of statements [2024-07-29T08:43:03.287Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth [no test files] [2024-07-29T08:43:03.287Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] [2024-07-29T08:43:03.287Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] [2024-07-29T08:43:03.554Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 1.072s coverage: 73.7% of statements [2024-07-29T08:43:04.510Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 1.074s coverage: 100.0% of statements [2024-07-29T08:43:11.144Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2024-07-29T08:43:11.144Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2024-07-29T08:43:11.144Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2024-07-29T08:43:12.553Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 1.715s coverage: 38.4% of statements [2024-07-29T08:43:12.553Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 1.127s coverage: 89.5% of statements [2024-07-29T08:43:13.136Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] [2024-07-29T08:43:13.136Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] [2024-07-29T08:43:13.136Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] [2024-07-29T08:43:13.136Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] [2024-07-29T08:43:14.097Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 1.102s coverage: 84.8% of statements [2024-07-29T08:43:20.733Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2024-07-29T08:43:20.733Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2024-07-29T08:43:20.733Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2024-07-29T08:43:20.733Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2024-07-29T08:43:27.366Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 7.186s coverage: 19.9% of statements [2024-07-29T08:43:27.633Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2024-07-29T08:43:27.633Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2024-07-29T08:43:27.633Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2024-07-29T08:43:27.633Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] [2024-07-29T08:43:29.042Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 1.526s coverage: 95.7% of statements [2024-07-29T08:43:32.397Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2024-07-29T08:43:32.397Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2024-07-29T08:43:33.807Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 1.185s coverage: 61.8% of statements [2024-07-29T08:43:36.390Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2024-07-29T08:43:36.390Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2024-07-29T08:43:37.794Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 1.297s coverage: 98.9% of statements [2024-07-29T08:43:39.202Z] if which hadolint > /dev/null ; then hadolint --config .hadolint.yml `find * -type f -name 'Dockerfile*' -print` ; elif test "aarch64" = "x86_64" && which docker > /dev/null ; then docker run --rm -v `pwd`:/host:ro,z --entrypoint /bin/hadolint hadolint/hadolint:latest --config /host/.hadolint.yml `find * -type f -name 'Dockerfile*' | xargs -i echo '/host/{}'` ; fi [2024-07-29T08:43:39.202Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-29T08:43:39.202Z] go vet ./... [2024-07-29T08:48:01.252Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-29T08:48:01.252Z] ./internal/core/data/controller/messaging/subscriber.go [2024-07-29T08:48:01.252Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-29T08:48:01.252Z] make: *** [Makefile:170: test] Error 1 [Pipeline] } [2024-07-29T08:48:01.273Z] $ docker stop --time=1 2eee6300a91d6ea6f48af7fb4c9f59bedd54c191f3fc8faf5b8dda9647c0c262 [2024-07-29T08:48:03.302Z] $ docker rm -f --volumes 2eee6300a91d6ea6f48af7fb4c9f59bedd54c191f3fc8faf5b8dda9647c0c262 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-29T08:48:06.179Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-29T08:48:06.180Z] [2024-07-29T08:48:06.180Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-29T08:48:06.511Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-29T08:48:06.780Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-29T08:48:06.780Z] 8998bd30e6a1: Pulling fs layer [2024-07-29T08:48:06.780Z] 04944245beec: Pulling fs layer [2024-07-29T08:48:06.780Z] 699f458cf7ca: Pulling fs layer [2024-07-29T08:48:06.780Z] 765212b225bb: Pulling fs layer [2024-07-29T08:48:06.780Z] f23df028b6ca: Pulling fs layer [2024-07-29T08:48:06.780Z] d65c8cfc05b1: Pulling fs layer [2024-07-29T08:48:06.780Z] 2437ff75d9bd: Pulling fs layer [2024-07-29T08:48:06.780Z] f23df028b6ca: Waiting [2024-07-29T08:48:06.780Z] d65c8cfc05b1: Waiting [2024-07-29T08:48:06.780Z] 2437ff75d9bd: Waiting [2024-07-29T08:48:06.780Z] 765212b225bb: Waiting [2024-07-29T08:48:06.780Z] 04944245beec: Verifying Checksum [2024-07-29T08:48:06.780Z] 04944245beec: Download complete [2024-07-29T08:48:06.780Z] 765212b225bb: Download complete [2024-07-29T08:48:07.048Z] f23df028b6ca: Verifying Checksum [2024-07-29T08:48:07.048Z] f23df028b6ca: Download complete [2024-07-29T08:48:07.048Z] d65c8cfc05b1: Verifying Checksum [2024-07-29T08:48:07.048Z] d65c8cfc05b1: Download complete [2024-07-29T08:48:07.048Z] 699f458cf7ca: Verifying Checksum [2024-07-29T08:48:07.048Z] 699f458cf7ca: Download complete [2024-07-29T08:48:07.634Z] 8998bd30e6a1: Verifying Checksum [2024-07-29T08:48:07.634Z] 8998bd30e6a1: Download complete [2024-07-29T08:48:10.212Z] 2437ff75d9bd: Verifying Checksum [2024-07-29T08:48:10.212Z] 2437ff75d9bd: Download complete [2024-07-29T08:48:12.156Z] 8998bd30e6a1: Pull complete [2024-07-29T08:48:12.738Z] 04944245beec: Pull complete [2024-07-29T08:48:14.142Z] 699f458cf7ca: Pull complete [2024-07-29T08:48:14.408Z] 765212b225bb: Pull complete [2024-07-29T08:48:15.365Z] f23df028b6ca: Pull complete [2024-07-29T08:48:15.365Z] d65c8cfc05b1: Pull complete [2024-07-29T08:48:33.562Z] 2437ff75d9bd: Pull complete [2024-07-29T08:48:33.562Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-29T08:48:33.562Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-29T08:48:33.562Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-29T08:48:33.778Z] prd-ubuntu20.04-docker-arm64-4c-16g-6660 does not seem to be running inside a container [2024-07-29T08:48:33.851Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-07-29T08:48:36.666Z] $ docker top 03a4faa4e325672381f96b560e32fc80fa1a1c5c55dffbcbf8b216945cd015e3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-29T08:48:37.624Z] ---> job-cost.sh [2024-07-29T08:48:37.624Z] lf-activate-venv: SKIPPING [2024-07-29T08:48:37.624Z] INFO: No Stack... [2024-07-29T08:48:37.891Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-29T08:48:38.851Z] INFO: Archiving Costs [Pipeline] sh [2024-07-29T08:48:39.179Z] + cat /w/workspace/edgex-go/2/archives/cost.csv [2024-07-29T08:48:39.448Z] + cut -d, -f6 [Pipeline] lock [2024-07-29T08:48:39.510Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-edgex-go-PR-4840-2-stack-cost] [2024-07-29T08:48:39.522Z] Resource [jenkins-edgexfoundry-edgex-go-PR-4840-2-stack-cost] did not exist. Created. [2024-07-29T08:48:39.529Z] Lock acquired on [Resource: jenkins-edgexfoundry-edgex-go-PR-4840-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-29T08:48:40.185Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-29T08:48:40.848Z] Stashed 1 file(s) [Pipeline] } [2024-07-29T08:48:40.860Z] Lock released on resource [Resource: jenkins-edgexfoundry-edgex-go-PR-4840-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-29T08:48:40.891Z] $ docker stop --time=1 03a4faa4e325672381f96b560e32fc80fa1a1c5c55dffbcbf8b216945cd015e3 [2024-07-29T08:48:42.438Z] $ docker rm -f --volumes 03a4faa4e325672381f96b560e32fc80fa1a1c5c55dffbcbf8b216945cd015e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-29T08:48:42.775Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-07-29T08:48:43.547Z] + [ -d /w/workspace/edgex-go/2/archives ] [Pipeline] libraryResource [Pipeline] sh [2024-07-29T08:48:43.844Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-29T08:48:44.710Z] ---> package-listing.sh [2024-07-29T08:48:44.710Z] ++ facter osfamily [2024-07-29T08:48:44.710Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-29T08:48:44.970Z] + OS_FAMILY=debian [2024-07-29T08:48:44.970Z] + workspace=/w/workspace/edgex-go/2 [2024-07-29T08:48:44.970Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-29T08:48:44.970Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-29T08:48:44.970Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-29T08:48:44.970Z] + PACKAGES=/tmp/packages_start.txt [2024-07-29T08:48:44.970Z] + '[' /w/workspace/edgex-go/2 ']' [2024-07-29T08:48:44.970Z] + PACKAGES=/tmp/packages_end.txt [2024-07-29T08:48:44.970Z] + case "${OS_FAMILY}" in [2024-07-29T08:48:44.970Z] + dpkg -l [2024-07-29T08:48:44.970Z] + grep '^ii' [2024-07-29T08:48:44.970Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-29T08:48:44.970Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-29T08:48:44.970Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-29T08:48:44.970Z] + '[' /w/workspace/edgex-go/2 ']' [2024-07-29T08:48:44.970Z] + mkdir -p /w/workspace/edgex-go/2/archives/ [2024-07-29T08:48:44.970Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo [2024-07-29T08:48:44.983Z] 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/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-29T08:48:45.262Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-29T08:48:45.835Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-29T08:48:45.836Z] [2024-07-29T08:48:45.836Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-29T08:48:46.137Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-29T08:48:46.137Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-29T08:48:46.137Z] 5eb5b503b376: Pulling fs layer [2024-07-29T08:48:46.137Z] 5c69ac0246d0: Pulling fs layer [2024-07-29T08:48:46.137Z] ec43610c2a17: Pulling fs layer [2024-07-29T08:48:46.137Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-29T08:48:46.137Z] 33b1e0a273af: Pulling fs layer [2024-07-29T08:48:46.137Z] 5d3b04190fa2: Pulling fs layer [2024-07-29T08:48:46.137Z] 2f39f015ded8: Pulling fs layer [2024-07-29T08:48:46.137Z] 3a2ae6a8a46f: Waiting [2024-07-29T08:48:46.137Z] 33b1e0a273af: Waiting [2024-07-29T08:48:46.137Z] 2f39f015ded8: Waiting [2024-07-29T08:48:46.137Z] 5d3b04190fa2: Waiting [2024-07-29T08:48:46.137Z] 5c69ac0246d0: Download complete [2024-07-29T08:48:46.137Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-29T08:48:46.137Z] 3a2ae6a8a46f: Download complete [2024-07-29T08:48:46.137Z] 33b1e0a273af: Verifying Checksum [2024-07-29T08:48:46.137Z] 33b1e0a273af: Download complete [2024-07-29T08:48:46.137Z] 5d3b04190fa2: Verifying Checksum [2024-07-29T08:48:46.137Z] 5d3b04190fa2: Download complete [2024-07-29T08:48:46.137Z] ec43610c2a17: Verifying Checksum [2024-07-29T08:48:46.137Z] ec43610c2a17: Download complete [2024-07-29T08:48:46.396Z] 5eb5b503b376: Verifying Checksum [2024-07-29T08:48:46.396Z] 5eb5b503b376: Download complete [2024-07-29T08:48:46.963Z] 2f39f015ded8: Download complete [2024-07-29T08:48:47.530Z] 5eb5b503b376: Pull complete [2024-07-29T08:48:47.530Z] 5c69ac0246d0: Pull complete [2024-07-29T08:48:48.097Z] ec43610c2a17: Pull complete [2024-07-29T08:48:48.097Z] 3a2ae6a8a46f: Pull complete [2024-07-29T08:48:48.356Z] 33b1e0a273af: Pull complete [2024-07-29T08:48:48.356Z] 5d3b04190fa2: Pull complete [2024-07-29T08:48:52.542Z] 2f39f015ded8: Pull complete [2024-07-29T08:48:52.542Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-29T08:48:52.542Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-29T08:48:52.542Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-29T08:48:52.649Z] prd-ubuntu20.04-docker-8c-8g-6658 does not seem to be running inside a container [2024-07-29T08:48:52.677Z] $ 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/2/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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 [2024-07-29T08:48:55.809Z] $ docker top 07627c2e26e6cffb4a0d574e5dfb92274538d5dd7827bd5e7bab879e057599b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-29T08:48:56.161Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-29T08:48:56.447Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-29T08:48:56.737Z] + ls /var/log/sa-host [2024-07-29T08:48:56.737Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-29T08:48:56.926Z] provisioning config files... [2024-07-29T08:48:56.935Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config11619893343449450375tmp [Pipeline] { [Pipeline] echo [2024-07-29T08:48:56.955Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-29T08:48:57.245Z] ---> create-netrc.sh [Pipeline] } [2024-07-29T08:48:57.254Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-29T08:48:57.596Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-29T08:48:57.612Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-29T08:48:57.897Z] ---> sudo-logs.sh [2024-07-29T08:48:57.898Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-29T08:48:57.949Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-29T08:48:58.233Z] ---> job-cost.sh [2024-07-29T08:48:58.233Z] lf-activate-venv: SKIPPING [2024-07-29T08:48:58.233Z] DEBUG: total: 0.10999999940395355 [2024-07-29T08:48:58.233Z] INFO: Retrieving Stack Cost... [2024-07-29T08:48:58.492Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-29T08:48:59.062Z] INFO: Archiving Costs [Pipeline] echo [2024-07-29T08:48:59.079Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-29T08:48:59.366Z] ---> logs-deploy.sh [2024-07-29T08:48:59.366Z] lf-activate-venv: SKIPPING [2024-07-29T08:48:59.366Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4840/2 [2024-07-29T08:48:59.366Z] INFO: archiving workspace using pattern(s): [2024-07-29T08:49:00.298Z] Archives upload complete. [2024-07-29T08:49:00.298Z] INFO: archiving logs to Nexus