Pull request #4796 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bfc4f2028e635c697ce4a563c0859a2c1d1105b8+971ded0da61705452274f4b577f848bc3eecf2cb (ba65d2d5e2b9b375cdde252fca1dbb743bf1cc23) 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-ssh12245314543816981102.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh1339199428487975640.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4796/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4796/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1503773773478004070.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4796/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15214537907119212122.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1565457400753222334.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4796/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4796/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17166205080325354521.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-3399 in /w/workspace/edgexfoundry_edgex-go_PR-4796 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/1 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4796/head:refs/remotes/origin/PR-4796 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 971ded0da61705452274f4b577f848bc3eecf2cb into PR head commit bfc4f2028e635c697ce4a563c0859a2c1d1105b8 Merge succeeded, producing bfc4f2028e635c697ce4a563c0859a2c1d1105b8 Checking out Revision bfc4f2028e635c697ce4a563c0859a2c1d1105b8 (PR-4796) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-configuration/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git config core.sparsecheckout # timeout=10 > git checkout -f bfc4f2028e635c697ce4a563c0859a2c1d1105b8 # 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 971ded0da61705452274f4b577f848bc3eecf2cb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bfc4f2028e635c697ce4a563c0859a2c1d1105b8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-04-22T19:20:59.498Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-04-22T19:20:59.681Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-04-22T19:20:59.781Z] ========================================================= [2024-04-22T19:20:59.781Z] EdgeX Global Pipelines Version Info [2024-04-22T19:20:59.781Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-04-22T19:21:00.560Z] ------------------- [2024-04-22T19:21:00.560Z] stable info: [2024-04-22T19:21:00.560Z] ------------------- [2024-04-22T19:21:00.560Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-04-22T19:21:00.560Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-22T19:21:00.560Z] Message: update stable to v1.0.258 [2024-04-22T19:21:01.518Z] ------------------- [2024-04-22T19:21:01.518Z] experimental info: [2024-04-22T19:21:01.518Z] ------------------- [2024-04-22T19:21:01.518Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-04-22T19:21:01.518Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-22T19:21:01.518Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-04-22T19:21:01.715Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2024-04-22T19:21:01.768Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2024-04-22T19:21:01.815Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-04-22T19:21:01.867Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-04-22T19:21:01.920Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-04-22T19:21:01.966Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-04-22T19:21:02.011Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-04-22T19:21:02.066Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2024-04-22T19:21:02.112Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2024-04-22T19:21:02.159Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2024-04-22T19:21:02.204Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-04-22T19:21:02.248Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-04-22T19:21:02.296Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-04-22T19:21:02.339Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-04-22T19:21:02.387Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-04-22T19:21:02.445Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-04-22T19:21:02.495Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-04-22T19:21:02.543Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-04-22T19:21:02.589Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-04-22T19:21:02.639Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-04-22T19:21:02.685Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-04-22T19:21:02.733Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-04-22T19:21:02.781Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-04-22T19:21:02.830Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4796 [Pipeline] echo [2024-04-22T19:21:02.883Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4796 [Pipeline] echo [2024-04-22T19:21:02.934Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4796 [Pipeline] echo [2024-04-22T19:21:02.986Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bfc4f2028e635c697ce4a563c0859a2c1d1105b8 [Pipeline] echo [2024-04-22T19:21:03.035Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bfc4f20 [Pipeline] echo [2024-04-22T19:21:03.084Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-22T19:21:03.209Z] provisioning config files... [2024-04-22T19:21:03.222Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config4750091412921101832tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-22T19:21:03.586Z] ---> ****-login.sh [2024-04-22T19:21:03.587Z] nexus3.edgexfoundry.org:10001 [2024-04-22T19:21:03.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-22T19:21:03.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-22T19:21:03.847Z] Configure a credential helper to remove this warning. See [2024-04-22T19:21:03.847Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-22T19:21:03.847Z] [2024-04-22T19:21:03.847Z] Login Succeeded [2024-04-22T19:21:03.847Z] nexus3.edgexfoundry.org:10002 [2024-04-22T19:21:03.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-22T19:21:03.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-22T19:21:03.847Z] Configure a credential helper to remove this warning. See [2024-04-22T19:21:03.847Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-22T19:21:03.847Z] [2024-04-22T19:21:03.847Z] Login Succeeded [2024-04-22T19:21:03.847Z] nexus3.edgexfoundry.org:10003 [2024-04-22T19:21:04.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-22T19:21:04.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-22T19:21:04.107Z] Configure a credential helper to remove this warning. See [2024-04-22T19:21:04.107Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-22T19:21:04.107Z] [2024-04-22T19:21:04.107Z] Login Succeeded [2024-04-22T19:21:04.107Z] nexus3.edgexfoundry.org:10004 [2024-04-22T19:21:04.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-22T19:21:04.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-22T19:21:04.107Z] Configure a credential helper to remove this warning. See [2024-04-22T19:21:04.107Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-22T19:21:04.107Z] [2024-04-22T19:21:04.107Z] Login Succeeded [2024-04-22T19:21:04.107Z] ****.io [2024-04-22T19:21:04.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-22T19:21:04.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-22T19:21:04.367Z] Configure a credential helper to remove this warning. See [2024-04-22T19:21:04.367Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-22T19:21:04.367Z] [2024-04-22T19:21:04.367Z] Login Succeeded [2024-04-22T19:21:04.367Z] ---> ****-login.sh ends [Pipeline] } [2024-04-22T19:21:04.393Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-04-22T19:21:04.827Z] + ls cmd/core-command/Dockerfile cmd/core-common-config-bootstrapper/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-auth/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/security-spiffe-token-provider/Dockerfile cmd/security-spire-agent/Dockerfile cmd/security-spire-config/Dockerfile cmd/security-spire-server/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile [2024-04-22T19:21:04.827Z] + dirname cmd/core-command/Dockerfile [2024-04-22T19:21:04.827Z] + cut -d/ -f2 [2024-04-22T19:21:04.827Z] + echo core-command,cmd/core-command/Dockerfile [2024-04-22T19:21:04.827Z] + dirname cmd/core-common-config-bootstrapper/Dockerfile [2024-04-22T19:21:04.827Z] + cut -d/ -f2 [2024-04-22T19:21:04.827Z] + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile [2024-04-22T19:21:04.827Z] + dirname cmd/core-data/Dockerfile [2024-04-22T19:21:04.827Z] + cut -d/ -f2 [2024-04-22T19:21:04.827Z] + echo core-data,cmd/core-data/Dockerfile [2024-04-22T19:21:04.827Z] + dirname cmd/core-metadata/Dockerfile [2024-04-22T19:21:04.827Z] + cut -d/ -f2 [2024-04-22T19:21:04.827Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2024-04-22T19:21:04.827Z] + dirname cmd/security-bootstrapper/Dockerfile [2024-04-22T19:21:04.827Z] + cut -d/ -f2 [2024-04-22T19:21:04.827Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2024-04-22T19:21:04.827Z] + dirname cmd/security-proxy-auth/Dockerfile [2024-04-22T19:21:04.827Z] + cut -d/ -f2 [2024-04-22T19:21:04.827Z] + echo security-proxy-auth,cmd/security-proxy-auth/Dockerfile [2024-04-22T19:21:04.827Z] + dirname cmd/security-proxy-setup/Dockerfile [2024-04-22T19:21:04.827Z] + cut -d/ -f2 [2024-04-22T19:21:04.827Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2024-04-22T19:21:04.827Z] + dirname cmd/security-secretstore-setup/Dockerfile [2024-04-22T19:21:04.827Z] + cut -d/ -f2 [2024-04-22T19:21:04.827Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2024-04-22T19:21:04.827Z] + cut -d/ -f2 [2024-04-22T19:21:04.827Z] + dirname cmd/security-spiffe-token-provider/Dockerfile [2024-04-22T19:21:04.827Z] + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile [2024-04-22T19:21:04.827Z] + dirname cmd/security-spire-agent/Dockerfile [2024-04-22T19:21:04.827Z] + cut -d/ -f2 [2024-04-22T19:21:04.827Z] + echo security-spire-agent,cmd/security-spire-agent/Dockerfile [2024-04-22T19:21:04.827Z] + dirname cmd/security-spire-config/Dockerfile [2024-04-22T19:21:04.827Z] + cut -d/ -f2 [2024-04-22T19:21:04.827Z] + echo security-spire-config,cmd/security-spire-config/Dockerfile [2024-04-22T19:21:04.827Z] + dirname cmd/security-spire-server/Dockerfile [2024-04-22T19:21:04.827Z] + cut -d/ -f2 [2024-04-22T19:21:04.827Z] + echo security-spire-server,cmd/security-spire-server/Dockerfile [2024-04-22T19:21:04.827Z] + + dirname cmd/support-notifications/Dockerfilecut [2024-04-22T19:21:04.827Z] -d/ -f2 [2024-04-22T19:21:04.827Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2024-04-22T19:21:04.827Z] + dirname cmd/support-scheduler/Dockerfile [2024-04-22T19:21:04.827Z] + cut -d/ -f2 [2024-04-22T19:21:04.827Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo [2024-04-22T19:21:04.875Z] Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/Dockerfile], [image:core-common-config-bootstrapper, dockerfile:cmd/core-common-config-bootstrapper/Dockerfile], [image:core-data, dockerfile:cmd/core-data/Dockerfile], [image:core-metadata, dockerfile:cmd/core-metadata/Dockerfile], [image:security-bootstrapper, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:security-proxy-auth, dockerfile:cmd/security-proxy-auth/Dockerfile], [image:security-proxy-setup, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:security-secretstore-setup, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:security-spiffe-token-provider, dockerfile:cmd/security-spiffe-token-provider/Dockerfile], [image:security-spire-agent, dockerfile:cmd/security-spire-agent/Dockerfile], [image:security-spire-config, dockerfile:cmd/security-spire-config/Dockerfile], [image:security-spire-server, dockerfile:cmd/security-spire-server/Dockerfile], [image:support-notifications, dockerfile:cmd/support-notifications/Dockerfile], [image:support-scheduler, dockerfile:cmd/support-scheduler/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-04-22T19:21:05.390Z] + git rev-list -1 --merges bfc4f2028e635c697ce4a563c0859a2c1d1105b8~1..bfc4f2028e635c697ce4a563c0859a2c1d1105b8 [Pipeline] echo [2024-04-22T19:21:05.420Z] -----------> git rev-list -1 --merges bfc4f2028e635c697ce4a563c0859a2c1d1105b8~1..bfc4f2028e635c697ce4a563c0859a2c1d1105b8 bfc4f2028e635c697ce4a563c0859a2c1d1105b8 [false] [Pipeline] sh [2024-04-22T19:21:05.733Z] + git log --format=format:%s -1 bfc4f2028e635c697ce4a563c0859a2c1d1105b8 [Pipeline] echo [2024-04-22T19:21:05.768Z] ========================================================= [2024-04-22T19:21:05.768Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-04-22T19:21:05.768Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-04-22T19:21:06.196Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-04-22T19:21:06.196Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-04-22T19:21:06.196Z] + [ -e /tmp/ssh_known_hosts ] [2024-04-22T19:21:06.196Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-04-22T19:21:06.196Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-04-22T19:21:06.196Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-04-22T19:21:06.196Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-22T19:21:06.629Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-22T19:21:06.629Z] [2024-04-22T19:21:06.629Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-22T19:21:06.993Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-22T19:21:06.993Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-04-22T19:21:06.993Z] b85a868b505f: Pulling fs layer [2024-04-22T19:21:06.993Z] e2be974225ed: Pulling fs layer [2024-04-22T19:21:06.993Z] 339a4e72a1f5: Pulling fs layer [2024-04-22T19:21:06.993Z] 988bab9f4d93: Pulling fs layer [2024-04-22T19:21:06.993Z] 1469e6f7b9e6: Pulling fs layer [2024-04-22T19:21:06.993Z] eaf3925da568: Pulling fs layer [2024-04-22T19:21:06.993Z] bab4dde63d76: Pulling fs layer [2024-04-22T19:21:06.993Z] 988bab9f4d93: Waiting [2024-04-22T19:21:06.993Z] 1469e6f7b9e6: Waiting [2024-04-22T19:21:06.993Z] bab4dde63d76: Waiting [2024-04-22T19:21:06.993Z] bde34c3a00c8: Pulling fs layer [2024-04-22T19:21:06.993Z] b352a97aabf1: Pulling fs layer [2024-04-22T19:21:06.993Z] bde34c3a00c8: Waiting [2024-04-22T19:21:06.993Z] 4872d77fe225: Pulling fs layer [2024-04-22T19:21:06.993Z] 5851b861e8e6: Pulling fs layer [2024-04-22T19:21:06.993Z] 4872d77fe225: Waiting [2024-04-22T19:21:06.993Z] 5851b861e8e6: Waiting [2024-04-22T19:21:06.993Z] e2be974225ed: Verifying Checksum [2024-04-22T19:21:06.993Z] e2be974225ed: Download complete [2024-04-22T19:21:06.993Z] 988bab9f4d93: Verifying Checksum [2024-04-22T19:21:06.993Z] 988bab9f4d93: Download complete [2024-04-22T19:21:07.253Z] 1469e6f7b9e6: Verifying Checksum [2024-04-22T19:21:07.253Z] 1469e6f7b9e6: Download complete [2024-04-22T19:21:07.253Z] 339a4e72a1f5: Verifying Checksum [2024-04-22T19:21:07.253Z] 339a4e72a1f5: Download complete [2024-04-22T19:21:07.253Z] eaf3925da568: Verifying Checksum [2024-04-22T19:21:07.253Z] eaf3925da568: Download complete [2024-04-22T19:21:07.253Z] bde34c3a00c8: Download complete [2024-04-22T19:21:07.253Z] b352a97aabf1: Download complete [2024-04-22T19:21:07.253Z] 4872d77fe225: Verifying Checksum [2024-04-22T19:21:07.253Z] 4872d77fe225: Download complete [2024-04-22T19:21:07.253Z] 5851b861e8e6: Verifying Checksum [2024-04-22T19:21:07.253Z] 5851b861e8e6: Download complete [2024-04-22T19:21:07.253Z] b85a868b505f: Download complete [2024-04-22T19:21:07.512Z] bab4dde63d76: Verifying Checksum [2024-04-22T19:21:07.512Z] bab4dde63d76: Download complete [2024-04-22T19:21:08.887Z] b85a868b505f: Pull complete [2024-04-22T19:21:08.887Z] e2be974225ed: Pull complete [2024-04-22T19:21:09.455Z] 339a4e72a1f5: Pull complete [2024-04-22T19:21:09.455Z] 988bab9f4d93: Pull complete [2024-04-22T19:21:09.716Z] 1469e6f7b9e6: Pull complete [2024-04-22T19:21:09.716Z] eaf3925da568: Pull complete [2024-04-22T19:21:11.624Z] bab4dde63d76: Pull complete [2024-04-22T19:21:11.883Z] bde34c3a00c8: Pull complete [2024-04-22T19:21:11.883Z] b352a97aabf1: Pull complete [2024-04-22T19:21:11.883Z] 4872d77fe225: Pull complete [2024-04-22T19:21:12.142Z] 5851b861e8e6: Pull complete [2024-04-22T19:21:12.142Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-04-22T19:21:12.142Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-22T19:21:12.142Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-22T19:21:12.402Z] prd-ubuntu20.04-docker-8c-8g-3399 does not seem to be running inside a container [2024-04-22T19:21:12.440Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-04-22T19:21:16.525Z] $ docker top f4339ace2420b13fb0e1b91634230337414890ce665ff61660f2cc11a34af104 -eo pid,comm [2024-04-22T19:21:16.670Z] 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-04-22T19:21:16.670Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-04-22T19:21:16.804Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-04-22T19:21:16.804Z] [ssh-agent] Looking for ssh-agent implementation... [2024-04-22T19:21:16.923Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-04-22T19:21:16.925Z] $ docker exec f4339ace2420b13fb0e1b91634230337414890ce665ff61660f2cc11a34af104 ssh-agent [2024-04-22T19:21:17.026Z] SSH_AUTH_SOCK=/tmp/ssh-MurFW4oXTfoi/agent.30 [2024-04-22T19:21:17.026Z] SSH_AGENT_PID=35 [2024-04-22T19:21:17.033Z] Running ssh-add (command line suppressed) [2024-04-22T19:21:17.134Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_4879127114121141596.key (/w/workspace/edgex-go/1@tmp/private_key_4879127114121141596.key) [2024-04-22T19:21:17.151Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-04-22T19:21:17.489Z] + git tag --points-at HEAD [Pipeline] } [2024-04-22T19:21:17.508Z] $ docker exec --env ******** --env ******** f4339ace2420b13fb0e1b91634230337414890ce665ff61660f2cc11a34af104 ssh-agent -k [2024-04-22T19:21:17.616Z] unset SSH_AUTH_SOCK; [2024-04-22T19:21:17.617Z] unset SSH_AGENT_PID; [2024-04-22T19:21:17.617Z] echo Agent pid 35 killed; [2024-04-22T19:21:17.630Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-04-22T19:21:17.729Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-04-22T19:21:17.729Z] [ssh-agent] Looking for ssh-agent implementation... [2024-04-22T19:21:17.829Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-04-22T19:21:17.831Z] $ docker exec f4339ace2420b13fb0e1b91634230337414890ce665ff61660f2cc11a34af104 ssh-agent [2024-04-22T19:21:17.950Z] SSH_AUTH_SOCK=/tmp/ssh-rhljurHeYLro/agent.68 [2024-04-22T19:21:17.950Z] SSH_AGENT_PID=74 [2024-04-22T19:21:17.954Z] Running ssh-add (command line suppressed) [2024-04-22T19:21:18.065Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_10595119598608638317.key (/w/workspace/edgex-go/1@tmp/private_key_10595119598608638317.key) [2024-04-22T19:21:18.079Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-04-22T19:21:18.412Z] + git semver init [2024-04-22T19:21:18.672Z] 2024-04-22 19:21:18,608 [run_init] DEBUG init version:0.0.0 force:False [2024-04-22T19:21:18.672Z] 2024-04-22 19:21:18,609 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/1/.semver [2024-04-22T19:21:18.672Z] 2024-04-22 19:21:18,609 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/1/.semver [2024-04-22T19:21:18.672Z] 2024-04-22 19:21:18,610 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/edgex-go.git', '/w/workspace/edgex-go/1/.semver'], cwd=/w/workspace/edgex-go/1, universal_newlines=False, shell=None, istream=None) [2024-04-22T19:21:25.274Z] 2024-04-22 19:21:25,233 [append_file] DEBUG append to file:/w/workspace/edgex-go/1/.git/info/exclude [2024-04-22T19:21:25.274Z] 2024-04-22 19:21:25,233 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/1/.semver/PR-4796 with force:False [2024-04-22T19:21:25.274Z] 2024-04-22 19:21:25,234 [write_file] DEBUG write to file:/w/workspace/edgex-go/1/.semver/PR-4796 [2024-04-22T19:21:25.274Z] 2024-04-22 19:21:25,238 [execute] INFO git cat-file --batch-check [2024-04-22T19:21:25.274Z] 2024-04-22 19:21:25,239 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) [2024-04-22T19:21:25.274Z] 2024-04-22 19:21:25,245 [execute] INFO git cat-file --batch [2024-04-22T19:21:25.274Z] 2024-04-22 19:21:25,245 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) [2024-04-22T19:21:25.274Z] 2024-04-22 19:21:25,251 [read_version] DEBUG read version from /w/workspace/edgex-go/1/.semver/PR-4796 [2024-04-22T19:21:25.274Z] 0.0.0 [Pipeline] } [2024-04-22T19:21:25.303Z] $ docker exec --env ******** --env ******** f4339ace2420b13fb0e1b91634230337414890ce665ff61660f2cc11a34af104 ssh-agent -k [2024-04-22T19:21:25.400Z] unset SSH_AUTH_SOCK; [2024-04-22T19:21:25.401Z] unset SSH_AGENT_PID; [2024-04-22T19:21:25.401Z] echo Agent pid 74 killed; [2024-04-22T19:21:25.412Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-04-22T19:21:25.847Z] + git semver [Pipeline] } [2024-04-22T19:21:26.128Z] $ docker stop --time=1 f4339ace2420b13fb0e1b91634230337414890ce665ff61660f2cc11a34af104 [2024-04-22T19:21:27.422Z] $ docker rm -f --volumes f4339ace2420b13fb0e1b91634230337414890ce665ff61660f2cc11a34af104 [Pipeline] // withDockerContainer [Pipeline] sh [2024-04-22T19:21:27.828Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-04-22T19:21:28.103Z] Stashed 1 file(s) [Pipeline] echo [2024-04-22T19:21:28.121Z] [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-04-22T19:21:29.013Z] + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo [2024-04-22T19:21:29.051Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-22T19:21:29.092Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-22T19:21:29.131Z] ========================================================= [2024-04-22T19:21:29.131Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-04-22T19:21:29.131Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2024-04-22T19:21:29.470Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-04-22T19:21:29.470Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-04-22T19:21:29.470Z] 619be1103602: Pulling fs layer [2024-04-22T19:21:29.470Z] 7862e08f4a3e: Pulling fs layer [2024-04-22T19:21:29.470Z] 5df492c9dc93: Pulling fs layer [2024-04-22T19:21:29.470Z] 7629e6793208: Pulling fs layer [2024-04-22T19:21:29.470Z] 4f4fb700ef54: Pulling fs layer [2024-04-22T19:21:29.470Z] fb5054dd5b73: Pulling fs layer [2024-04-22T19:21:29.470Z] eeca6798cff9: Pulling fs layer [2024-04-22T19:21:29.470Z] aa269ceb94a6: Pulling fs layer [2024-04-22T19:21:29.470Z] ada007ff1a6a: Pulling fs layer [2024-04-22T19:21:29.470Z] 7629e6793208: Waiting [2024-04-22T19:21:29.470Z] 4f4fb700ef54: Waiting [2024-04-22T19:21:29.470Z] fb5054dd5b73: Waiting [2024-04-22T19:21:29.470Z] eeca6798cff9: Waiting [2024-04-22T19:21:29.470Z] aa269ceb94a6: Waiting [2024-04-22T19:21:29.470Z] ada007ff1a6a: Waiting [2024-04-22T19:21:29.470Z] 7862e08f4a3e: Download complete [2024-04-22T19:21:29.470Z] 7629e6793208: Verifying Checksum [2024-04-22T19:21:29.470Z] 7629e6793208: Download complete [2024-04-22T19:21:29.470Z] 4f4fb700ef54: Download complete [2024-04-22T19:21:29.470Z] fb5054dd5b73: Verifying Checksum [2024-04-22T19:21:29.470Z] fb5054dd5b73: Download complete [2024-04-22T19:21:29.470Z] 619be1103602: Verifying Checksum [2024-04-22T19:21:29.470Z] 619be1103602: Download complete [2024-04-22T19:21:29.470Z] eeca6798cff9: Verifying Checksum [2024-04-22T19:21:29.470Z] eeca6798cff9: Download complete [2024-04-22T19:21:29.728Z] 619be1103602: Pull complete [2024-04-22T19:21:29.728Z] ada007ff1a6a: Verifying Checksum [2024-04-22T19:21:29.728Z] ada007ff1a6a: Download complete [2024-04-22T19:21:29.728Z] 7862e08f4a3e: Pull complete [2024-04-22T19:21:29.986Z] 5df492c9dc93: Verifying Checksum [2024-04-22T19:21:29.987Z] 5df492c9dc93: Download complete [2024-04-22T19:21:30.245Z] aa269ceb94a6: Verifying Checksum [2024-04-22T19:21:30.245Z] aa269ceb94a6: Download complete [2024-04-22T19:21:33.526Z] 5df492c9dc93: Pull complete [2024-04-22T19:21:33.526Z] 7629e6793208: Pull complete [2024-04-22T19:21:33.526Z] 4f4fb700ef54: Pull complete [2024-04-22T19:21:33.526Z] fb5054dd5b73: Pull complete [2024-04-22T19:21:33.526Z] eeca6798cff9: Pull complete [2024-04-22T19:21:36.054Z] aa269ceb94a6: Pull complete [2024-04-22T19:21:36.312Z] ada007ff1a6a: Pull complete [2024-04-22T19:21:36.312Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-04-22T19:21:36.312Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-04-22T19:21:36.312Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [Pipeline] fileExists [Pipeline] sh [2024-04-22T19:21:36.675Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-04-22T19:21:36.675Z] WORKDIR /edgex [2024-04-22T19:21:36.675Z] COPY go.mod . [2024-04-22T19:21:36.675Z] RUN go mod download [2024-04-22T19:21:36.675Z] + docker build -t ci-base-image-x86_64 -f - . [2024-04-22T19:21:37.242Z] Sending build context to Docker daemon 177.4MB [2024-04-22T19:21:37.242Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-04-22T19:21:37.242Z] ---> f489d0715acc [2024-04-22T19:21:37.242Z] Step 2/4 : WORKDIR /edgex [2024-04-22T19:21:43.472Z] Still waiting to schedule task [2024-04-22T19:21:43.472Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-3400’ [2024-04-22T19:21:47.437Z] ---> Running in 2730c7f6e479 [2024-04-22T19:21:47.437Z] Removing intermediate container 2730c7f6e479 [2024-04-22T19:21:47.437Z] ---> 270684758c55 [2024-04-22T19:21:47.437Z] Step 3/4 : COPY go.mod . [2024-04-22T19:21:47.437Z] ---> 0105a9ac0868 [2024-04-22T19:21:47.437Z] Step 4/4 : RUN go mod download [2024-04-22T19:21:47.437Z] ---> Running in 9afefc478f77 [2024-04-22T19:22:19.530Z] Removing intermediate container 9afefc478f77 [2024-04-22T19:22:19.530Z] ---> 399e1ae38c6c [2024-04-22T19:22:19.531Z] Successfully built 399e1ae38c6c [2024-04-22T19:22:19.531Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-22T19:22:19.907Z] + docker inspect -f . ci-base-image-x86_64 [2024-04-22T19:22:19.908Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-22T19:22:20.064Z] prd-ubuntu20.04-docker-8c-8g-3399 does not seem to be running inside a container [2024-04-22T19:22:20.097Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-04-22T19:22:20.690Z] $ docker top 1d4714d917eecd95214759f080c9e010cc5597273a876285ba620659c5255116 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-22T19:22:21.087Z] + go version [2024-04-22T19:22:21.087Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-04-22T19:22:21.117Z] $ docker stop --time=1 1d4714d917eecd95214759f080c9e010cc5597273a876285ba620659c5255116 [2024-04-22T19:22:22.416Z] $ docker rm -f --volumes 1d4714d917eecd95214759f080c9e010cc5597273a876285ba620659c5255116 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-22T19:22:23.164Z] + docker inspect -f . ci-base-image-x86_64 [2024-04-22T19:22:23.165Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-22T19:22:23.320Z] prd-ubuntu20.04-docker-8c-8g-3399 does not seem to be running inside a container [2024-04-22T19:22:23.348Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-04-22T19:22:23.669Z] $ docker top 2389124dd3f8b57873ed4f6c08d07260194b1670069816e12df604771b069df8 -eo pid,comm [Pipeline] { [Pipeline] echo [2024-04-22T19:22:23.801Z] ========================================================= [2024-04-22T19:22:23.801Z] [edgeXBuildGoParallel] Running Tests and Build... [2024-04-22T19:22:23.801Z] ========================================================= [Pipeline] sh [2024-04-22T19:22:24.093Z] + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh [2024-04-22T19:22:24.458Z] + make test [2024-04-22T19:22:24.458Z] go test -race -coverprofile=coverage.out ./... [2024-04-22T19:22:32.572Z] ? github.com/edgexfoundry/edgex-go [no test files] [2024-04-22T19:22:44.762Z] # github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/config [2024-04-22T19:22:44.762Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.27/bootstrap/config/config.go:663:74: not enough arguments in call to configClient.WatchForChanges [2024-04-22T19:22:44.762Z] have (chan any, chan error, any, string) [2024-04-22T19:22:44.762Z] want (chan<- interface{}, chan<- error, interface{}, string, messaging.MessageClient) [2024-04-22T19:22:44.762Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.27/bootstrap/config/config.go:786:96: not enough arguments in call to configClient.WatchForChanges [2024-04-22T19:22:44.762Z] have (chan any, chan error, interface{}, string) [2024-04-22T19:22:44.762Z] want (chan<- interface{}, chan<- error, interface{}, string, messaging.MessageClient) [2024-04-22T19:22:44.762Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.27/bootstrap/config/config.go:848:106: not enough arguments in call to commonConfigClient.WatchForChanges [2024-04-22T19:22:44.762Z] have (chan any, chan error, interface{}, string) [2024-04-22T19:22:44.762Z] want (chan<- interface{}, chan<- error, interface{}, string, messaging.MessageClient) [2024-04-22T19:23:06.693Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2024-04-22T19:23:06.693Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2024-04-22T19:23:06.693Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2024-04-22T19:23:06.952Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 1.055s coverage: 28.7% of statements [2024-04-22T19:23:06.952Z] --- FAIL: TestAllCommands (0.00s) [2024-04-22T19:23:06.952Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [recovered] [2024-04-22T19:23:06.952Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [2024-04-22T19:23:06.952Z] [2024-04-22T19:23:06.952Z] goroutine 5 [running]: [2024-04-22T19:23:06.952Z] testing.tRunner.func1.2({0x10af880, 0xc0001a9a40}) [2024-04-22T19:23:06.952Z] /usr/local/go/src/testing/testing.go:1545 +0x3f7 [2024-04-22T19:23:06.952Z] testing.tRunner.func1() [2024-04-22T19:23:06.952Z] /usr/local/go/src/testing/testing.go:1548 +0x716 [2024-04-22T19:23:06.952Z] panic({0x10af880?, 0xc0001a9a40?}) [2024-04-22T19:23:06.952Z] /usr/local/go/src/runtime/panic.go:920 +0x270 [2024-04-22T19:23:06.952Z] github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container.DeviceClientFrom(0xc00062c1f8) [2024-04-22T19:23:06.952Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.27/bootstrap/container/clients.go:118 +0x89 [2024-04-22T19:23:06.952Z] github.com/edgexfoundry/edgex-go/internal/core/command/application.CommandsByDeviceName({0x119ff64, 0xb}, 0xc0004f86e0) [2024-04-22T19:23:06.952Z] /w/workspace/edgex-go/1/internal/core/command/application/command.go:72 +0xc9 [2024-04-22T19:23:06.952Z] github.com/edgexfoundry/edgex-go/internal/core/command/controller/http.buildDeviceCoreCommands(_, {{0x0, 0x0}, {0x0, 0x0}, {0x119ff64, 0xb}, {0x0, 0x0}, {0x0, ...}, ...}, ...) [2024-04-22T19:23:06.952Z] /w/workspace/edgex-go/1/internal/core/command/controller/http/command_test.go:97 +0x990 [2024-04-22T19:23:06.952Z] github.com/edgexfoundry/edgex-go/internal/core/command/controller/http.TestAllCommands(0xc0000aad00?) [2024-04-22T19:23:06.952Z] /w/workspace/edgex-go/1/internal/core/command/controller/http/command_test.go:177 +0x605 [2024-04-22T19:23:06.952Z] testing.tRunner(0xc0000aad00, 0x11efea0) [2024-04-22T19:23:06.953Z] /usr/local/go/src/testing/testing.go:1595 +0x262 [2024-04-22T19:23:06.953Z] created by testing.(*T).Run in goroutine 1 [2024-04-22T19:23:06.953Z] /usr/local/go/src/testing/testing.go:1648 +0x846 [2024-04-22T19:23:06.953Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.050s [2024-04-22T19:23:07.211Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] [2024-04-22T19:23:07.211Z] --- FAIL: Test_commandQueryHandler (0.00s) [2024-04-22T19:23:07.211Z] --- FAIL: Test_commandQueryHandler/valid_-_query_all (0.00s) [2024-04-22T19:23:07.211Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [recovered] [2024-04-22T19:23:07.211Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [2024-04-22T19:23:07.211Z] [2024-04-22T19:23:07.211Z] goroutine 12 [running]: [2024-04-22T19:23:07.211Z] testing.tRunner.func1.2({0xec0d20, 0xc000536f60}) [2024-04-22T19:23:07.211Z] /usr/local/go/src/testing/testing.go:1545 +0x3f7 [2024-04-22T19:23:07.211Z] testing.tRunner.func1() [2024-04-22T19:23:07.211Z] /usr/local/go/src/testing/testing.go:1548 +0x716 [2024-04-22T19:23:07.211Z] panic({0xec0d20?, 0xc000536f60?}) [2024-04-22T19:23:07.211Z] /usr/local/go/src/runtime/panic.go:920 +0x270 [2024-04-22T19:23:07.211Z] github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container.DeviceClientFrom(0xc000568e88) [2024-04-22T19:23:07.211Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.27/bootstrap/container/clients.go:118 +0x89 [2024-04-22T19:23:07.211Z] github.com/edgexfoundry/edgex-go/internal/core/command/application.AllCommands(0xeaee20?, 0xc000536ed0?, 0xc000514640) [2024-04-22T19:23:07.211Z] /w/workspace/edgex-go/1/internal/core/command/application/command.go:27 +0x94 [2024-04-22T19:23:07.211Z] github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging.getCommandQueryResponseEnvelope({{{0xc000014d7e, 0x2}}, {0x0, 0x0}, {0xc00012c6f0, 0x24}, {0xc00012c720, 0x24}, 0x0, {0x0, ...}, ...}, ...) [2024-04-22T19:23:07.211Z] /w/workspace/edgex-go/1/internal/core/command/controller/messaging/utils.go:91 +0x2b2 [2024-04-22T19:23:07.211Z] github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging.Test_commandQueryHandler.func5.commandQueryHandler.func1({0x10e3dc8, 0xc00010e640}, {0x10e2ae8, 0xc00010e5a0}) [2024-04-22T19:23:07.211Z] /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external.go:83 +0x87c [2024-04-22T19:23:07.211Z] github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging.Test_commandQueryHandler.func5(0x0?) [2024-04-22T19:23:07.211Z] /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:225 +0x6c5 [2024-04-22T19:23:07.211Z] testing.tRunner(0xc000103860, 0xc000514680) [2024-04-22T19:23:07.211Z] /usr/local/go/src/testing/testing.go:1595 +0x262 [2024-04-22T19:23:07.211Z] created by testing.(*T).Run in goroutine 11 [2024-04-22T19:23:07.211Z] /usr/local/go/src/testing/testing.go:1648 +0x846 [2024-04-22T19:23:07.211Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 0.045s [2024-04-22T19:23:08.147Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2024-04-22T19:23:08.147Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2024-04-22T19:23:08.713Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] [2024-04-22T19:23:08.713Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2024-04-22T19:23:08.713Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2024-04-22T19:23:08.713Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2024-04-22T19:23:09.281Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 1.075s coverage: 53.2% of statements [2024-04-22T19:23:09.551Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2024-04-22T19:23:09.551Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2024-04-22T19:23:11.462Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2024-04-22T19:23:11.462Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2024-04-22T19:23:11.462Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] [2024-04-22T19:23:11.462Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2024-04-22T19:23:11.462Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2024-04-22T19:23:11.462Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2024-04-22T19:23:11.462Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2024-04-22T19:23:11.462Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2024-04-22T19:23:11.462Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2024-04-22T19:23:12.836Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 4.210s coverage: 93.4% of statements [2024-04-22T19:23:12.836Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 1.082s coverage: 6.1% of statements [2024-04-22T19:23:12.836Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.409s coverage: 97.6% of statements [2024-04-22T19:23:12.836Z] ok github.com/edgexfoundry/edgex-go/internal/io 1.037s coverage: 72.2% of statements [2024-04-22T19:23:12.836Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2024-04-22T19:23:13.402Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2024-04-22T19:23:13.971Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 1.061s coverage: 0.9% of statements [2024-04-22T19:23:13.971Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 1.051s coverage: 32.2% of statements [2024-04-22T19:23:13.971Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command [build failed] [2024-04-22T19:23:13.971Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.046s coverage: 82.9% of statements [2024-04-22T19:23:13.971Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2024-04-22T19:23:13.971Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2024-04-22T19:23:14.231Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 1.041s coverage: 94.1% of statements [2024-04-22T19:23:14.489Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 1.061s coverage: 96.3% of statements [2024-04-22T19:23:14.489Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help [build failed] [2024-04-22T19:23:14.489Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2024-04-22T19:23:14.489Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] [2024-04-22T19:23:14.489Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] [2024-04-22T19:23:14.748Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2024-04-22T19:23:14.748Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2024-04-22T19:23:15.316Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2024-04-22T19:23:15.882Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2024-04-22T19:23:15.882Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2024-04-22T19:23:15.882Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2024-04-22T19:23:16.817Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] [2024-04-22T19:23:16.818Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] [2024-04-22T19:23:16.818Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2024-04-22T19:23:16.818Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2024-04-22T19:23:17.386Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2024-04-22T19:23:17.953Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] [2024-04-22T19:23:17.953Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] [2024-04-22T19:23:18.226Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2024-04-22T19:23:18.226Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2024-04-22T19:23:18.226Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2024-04-22T19:23:18.226Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2024-04-22T19:23:18.226Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2024-04-22T19:23:18.226Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2024-04-22T19:23:18.226Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2024-04-22T19:23:18.226Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2024-04-22T19:23:19.605Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2024-04-22T19:23:19.605Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2024-04-22T19:23:26.190Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.089s coverage: 94.4% of statements [2024-04-22T19:23:26.190Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl [build failed] [2024-04-22T19:23:36.175Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.065s coverage: 92.9% of statements [2024-04-22T19:23:36.175Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 1.019s coverage: 64.4% of statements [2024-04-22T19:23:36.175Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers [build failed] [2024-04-22T19:23:36.175Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 12.057s coverage: 87.2% of statements [2024-04-22T19:23:36.175Z] ok github.com/edgexfoundry/edgex-go/internal/security/common 1.037s coverage: 20.0% of statements [2024-04-22T19:23:36.175Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 1.040s coverage: 100.0% of statements [2024-04-22T19:23:36.175Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser [build failed] [2024-04-22T19:23:36.175Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser [build failed] [2024-04-22T19:23:36.175Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 1.041s coverage: 86.0% of statements [2024-04-22T19:23:36.175Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/fileprovider [build failed] [2024-04-22T19:23:36.175Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks [build failed] [2024-04-22T19:23:36.175Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 1.021s coverage: 89.4% of statements [2024-04-22T19:23:36.175Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 1.015s coverage: 100.0% of statements [2024-04-22T19:23:36.175Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 1.022s coverage: 73.7% of statements [2024-04-22T19:23:36.175Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 1.015s coverage: 100.0% of statements [2024-04-22T19:23:36.175Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/secretstore [build failed] [2024-04-22T19:23:36.175Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 1.044s coverage: 89.5% of statements [2024-04-22T19:23:36.175Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 1.044s coverage: 84.8% of statements [2024-04-22T19:23:36.175Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/application [build failed] [2024-04-22T19:23:36.175Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http [build failed] [2024-04-22T19:23:36.175Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler [build failed] [2024-04-22T19:23:36.175Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 1.085s coverage: 98.9% of statements [2024-04-22T19:23:36.175Z] FAIL [2024-04-22T19:23:36.433Z] make: *** [Makefile:148: unittest] Error 1 [Pipeline] } [2024-04-22T19:23:36.475Z] $ docker stop --time=1 2389124dd3f8b57873ed4f6c08d07260194b1670069816e12df604771b069df8 [2024-04-22T19:23:38.122Z] $ docker rm -f --volumes 2389124dd3f8b57873ed4f6c08d07260194b1670069816e12df604771b069df8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-04-22T19:23:39.220Z] Failed in branch amd64 [2024-04-22T19:24:13.861Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3401 in /w/workspace/edgexfoundry_edgex-go_PR-4796 [Pipeline] { [Pipeline] ws [2024-04-22T19:24:13.932Z] Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout [2024-04-22T19:24:17.034Z] The recommended git tool is: git [2024-04-22T19:24:22.136Z] using credential edgex-jenkins-ssh [2024-04-22T19:24:22.157Z] Cloning the remote Git repository [2024-04-22T19:24:22.202Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2024-04-22T19:24:22.308Z] > git init /w/workspace/edgex-go/1 # timeout=10 [2024-04-22T19:24:22.467Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2024-04-22T19:24:22.468Z] > git --version # timeout=10 [2024-04-22T19:24:22.490Z] > git --version # 'git version 2.25.1' [2024-04-22T19:24:22.492Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-22T19:24:22.660Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-04-22T19:24:40.363Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2024-04-22T19:24:40.393Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-04-22T19:24:41.222Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2024-04-22T19:24:41.259Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2024-04-22T19:24:41.260Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-22T19:24:41.281Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4796/head:refs/remotes/origin/PR-4796 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-04-22T19:24:41.966Z] Merging remotes/origin/main commit 971ded0da61705452274f4b577f848bc3eecf2cb into PR head commit bfc4f2028e635c697ce4a563c0859a2c1d1105b8 [2024-04-22T19:24:42.399Z] Merge succeeded, producing bfc4f2028e635c697ce4a563c0859a2c1d1105b8 [2024-04-22T19:24:42.400Z] Checking out Revision bfc4f2028e635c697ce4a563c0859a2c1d1105b8 (PR-4796) [2024-04-22T19:24:43.177Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-configuration/v3" [2024-04-22T19:24:43.217Z] > git --version # timeout=10 [2024-04-22T19:24:43.228Z] > git --version # 'git version 2.25.1' [2024-04-22T19:24:43.240Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-22T19:24:41.978Z] > git config core.sparsecheckout # timeout=10 [2024-04-22T19:24:42.070Z] > git checkout -f bfc4f2028e635c697ce4a563c0859a2c1d1105b8 # timeout=10 [2024-04-22T19:24:42.294Z] > git remote # timeout=10 [2024-04-22T19:24:42.312Z] > git config --get remote.origin.url # timeout=10 [2024-04-22T19:24:42.334Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-22T19:24:42.353Z] > git merge 971ded0da61705452274f4b577f848bc3eecf2cb # timeout=10 [2024-04-22T19:24:42.378Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-04-22T19:24:42.401Z] > git config core.sparsecheckout # timeout=10 [2024-04-22T19:24:42.426Z] > git checkout -f bfc4f2028e635c697ce4a563c0859a2c1d1105b8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-22T19:24:48.291Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-04-22T19:24:48.291Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-04-22T19:24:48.291Z] Dload Upload Total Spent Left Speed [2024-04-22T19:24:48.291Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 255k 0 --:--:-- --:--:-- --:--:-- 255k [Pipeline] sh [2024-04-22T19:24:48.634Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-04-22T19:24:48.979Z] + sudo tee /etc/docker/daemon.new [2024-04-22T19:24:48.979Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-04-22T19:24:48.979Z] { [2024-04-22T19:24:48.979Z] "registry-mirrors": [ [2024-04-22T19:24:48.979Z] "https://nexus3.edgexfoundry.org:10001" [2024-04-22T19:24:48.979Z] ], [2024-04-22T19:24:48.979Z] "bip": "10.250.0.254/24", [2024-04-22T19:24:48.979Z] "hosts": [ [2024-04-22T19:24:48.979Z] "tcp://0.0.0.0:5555", [2024-04-22T19:24:48.979Z] "unix:///var/run/docker.sock" [2024-04-22T19:24:48.979Z] ], [2024-04-22T19:24:48.979Z] "mtu": 1458, [2024-04-22T19:24:48.979Z] "selinux-enabled": true, [2024-04-22T19:24:48.979Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-04-22T19:24:48.979Z] } [Pipeline] sh [2024-04-22T19:24:49.321Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-04-22T19:24:49.672Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-22T19:25:08.031Z] provisioning config files... [2024-04-22T19:25:08.057Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config7762056645600289029tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-22T19:25:08.543Z] ---> ****-login.sh [2024-04-22T19:25:08.543Z] nexus3.edgexfoundry.org:10001 [2024-04-22T19:25:09.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-22T19:25:09.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-22T19:25:09.402Z] Configure a credential helper to remove this warning. See [2024-04-22T19:25:09.402Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-22T19:25:09.402Z] [2024-04-22T19:25:09.402Z] Login Succeeded [2024-04-22T19:25:09.402Z] nexus3.edgexfoundry.org:10002 [2024-04-22T19:25:09.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-22T19:25:09.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-22T19:25:09.675Z] Configure a credential helper to remove this warning. See [2024-04-22T19:25:09.675Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-22T19:25:09.675Z] [2024-04-22T19:25:09.675Z] Login Succeeded [2024-04-22T19:25:09.675Z] nexus3.edgexfoundry.org:10003 [2024-04-22T19:25:09.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-22T19:25:09.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-22T19:25:09.945Z] Configure a credential helper to remove this warning. See [2024-04-22T19:25:09.945Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-22T19:25:09.945Z] [2024-04-22T19:25:09.945Z] Login Succeeded [2024-04-22T19:25:10.213Z] nexus3.edgexfoundry.org:10004 [2024-04-22T19:25:10.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-22T19:25:10.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-22T19:25:10.484Z] Configure a credential helper to remove this warning. See [2024-04-22T19:25:10.484Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-22T19:25:10.484Z] [2024-04-22T19:25:10.484Z] Login Succeeded [2024-04-22T19:25:10.484Z] ****.io [2024-04-22T19:25:10.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-22T19:25:11.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-22T19:25:11.021Z] Configure a credential helper to remove this warning. See [2024-04-22T19:25:11.021Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-22T19:25:11.021Z] [2024-04-22T19:25:11.021Z] Login Succeeded [2024-04-22T19:25:11.021Z] ---> ****-login.sh ends [Pipeline] } [2024-04-22T19:25:11.050Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh [2024-04-22T19:25:11.797Z] + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo [2024-04-22T19:25:11.841Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-22T19:25:11.884Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-22T19:25:11.924Z] ========================================================= [2024-04-22T19:25:11.924Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-04-22T19:25:11.924Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2024-04-22T19:25:12.309Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-04-22T19:25:12.579Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-04-22T19:25:12.579Z] c6b39de5b339: Pulling fs layer [2024-04-22T19:25:12.579Z] a69c41024577: Pulling fs layer [2024-04-22T19:25:12.579Z] d6de4b400683: Pulling fs layer [2024-04-22T19:25:12.579Z] 35cb2a7552d0: Pulling fs layer [2024-04-22T19:25:12.579Z] 4f4fb700ef54: Pulling fs layer [2024-04-22T19:25:12.579Z] 464afbd9ba4c: Pulling fs layer [2024-04-22T19:25:12.579Z] 00f215d4a9da: Pulling fs layer [2024-04-22T19:25:12.579Z] d496ad576159: Pulling fs layer [2024-04-22T19:25:12.579Z] 35cb2a7552d0: Waiting [2024-04-22T19:25:12.579Z] 464afbd9ba4c: Waiting [2024-04-22T19:25:12.579Z] 4f4fb700ef54: Waiting [2024-04-22T19:25:12.579Z] 00f215d4a9da: Waiting [2024-04-22T19:25:12.579Z] d496ad576159: Waiting [2024-04-22T19:25:12.579Z] a69c41024577: Verifying Checksum [2024-04-22T19:25:12.579Z] a69c41024577: Download complete [2024-04-22T19:25:12.579Z] 35cb2a7552d0: Verifying Checksum [2024-04-22T19:25:12.579Z] 35cb2a7552d0: Download complete [2024-04-22T19:25:12.579Z] 4f4fb700ef54: Verifying Checksum [2024-04-22T19:25:12.579Z] 4f4fb700ef54: Download complete [2024-04-22T19:25:12.579Z] c6b39de5b339: Download complete [2024-04-22T19:25:12.579Z] 464afbd9ba4c: Verifying Checksum [2024-04-22T19:25:12.579Z] 464afbd9ba4c: Download complete [2024-04-22T19:25:13.166Z] d496ad576159: Verifying Checksum [2024-04-22T19:25:13.166Z] d496ad576159: Download complete [2024-04-22T19:25:13.436Z] c6b39de5b339: Pull complete [2024-04-22T19:25:14.022Z] a69c41024577: Pull complete [2024-04-22T19:25:14.291Z] d6de4b400683: Verifying Checksum [2024-04-22T19:25:14.291Z] d6de4b400683: Download complete [2024-04-22T19:25:15.703Z] 00f215d4a9da: Verifying Checksum [2024-04-22T19:25:15.703Z] 00f215d4a9da: Download complete [2024-04-22T19:25:28.056Z] d6de4b400683: Pull complete [2024-04-22T19:25:28.056Z] 35cb2a7552d0: Pull complete [2024-04-22T19:25:28.056Z] 4f4fb700ef54: Pull complete [2024-04-22T19:25:28.056Z] 464afbd9ba4c: Pull complete [2024-04-22T19:25:36.253Z] 00f215d4a9da: Pull complete [2024-04-22T19:25:37.659Z] d496ad576159: Pull complete [2024-04-22T19:25:37.659Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-04-22T19:25:37.659Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-04-22T19:25:37.659Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [Pipeline] fileExists [Pipeline] sh [2024-04-22T19:25:38.046Z] + + dockerecho build FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-04-22T19:25:38.046Z] WORKDIR /edgex [2024-04-22T19:25:38.046Z] COPY go.mod . [2024-04-22T19:25:38.046Z] RUN go mod download -t [2024-04-22T19:25:38.046Z] ci-base-image-arm64 -f - . [2024-04-22T19:25:38.630Z] Sending build context to Docker daemon 3.002MB [2024-04-22T19:25:38.630Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-04-22T19:25:38.630Z] ---> f246e2811388 [2024-04-22T19:25:38.630Z] Step 2/4 : WORKDIR /edgex [2024-04-22T19:25:40.569Z] ---> Running in c0d6f8ac9ed2 [2024-04-22T19:25:40.836Z] Removing intermediate container c0d6f8ac9ed2 [2024-04-22T19:25:40.836Z] ---> 5971564aa7d2 [2024-04-22T19:25:40.836Z] Step 3/4 : COPY go.mod . [2024-04-22T19:25:41.419Z] ---> 52d53896af91 [2024-04-22T19:25:41.419Z] Step 4/4 : RUN go mod download [2024-04-22T19:25:41.419Z] ---> Running in fd1195359161 [2024-04-22T19:26:49.275Z] Removing intermediate container fd1195359161 [2024-04-22T19:26:49.275Z] ---> 0c0479acbc4b [2024-04-22T19:26:49.275Z] Successfully built 0c0479acbc4b [2024-04-22T19:26:49.275Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-22T19:26:49.686Z] + docker inspect -f . ci-base-image-arm64 [2024-04-22T19:26:49.686Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-22T19:26:49.967Z] prd-ubuntu20.04-docker-arm64-4c-16g-3401 does not seem to be running inside a container [2024-04-22T19:26:50.023Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-04-22T19:26:51.152Z] $ docker top a643ef0f0afdb0ff0d7aebc0524971de92c41dbe86f565cec8fe75f2219900cb -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-22T19:26:52.017Z] + go version [2024-04-22T19:26:52.017Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-04-22T19:26:52.045Z] $ docker stop --time=1 a643ef0f0afdb0ff0d7aebc0524971de92c41dbe86f565cec8fe75f2219900cb [2024-04-22T19:26:53.607Z] $ docker rm -f --volumes a643ef0f0afdb0ff0d7aebc0524971de92c41dbe86f565cec8fe75f2219900cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-22T19:26:54.485Z] + docker inspect -f . ci-base-image-arm64 [2024-04-22T19:26:54.485Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-22T19:26:54.750Z] prd-ubuntu20.04-docker-arm64-4c-16g-3401 does not seem to be running inside a container [2024-04-22T19:26:54.809Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-04-22T19:26:55.957Z] $ docker top 251726c75d77bc48420fe83fd21da269413215cad3e2452ea5935d177c4733c0 -eo pid,comm [Pipeline] { [Pipeline] echo [2024-04-22T19:26:56.236Z] ========================================================= [2024-04-22T19:26:56.236Z] [edgeXBuildGoParallel] Running Tests and Build... [2024-04-22T19:26:56.236Z] ========================================================= [Pipeline] sh [2024-04-22T19:26:56.962Z] + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh [2024-04-22T19:26:57.666Z] + make test [2024-04-22T19:26:57.666Z] go test -race -coverprofile=coverage.out ./... [2024-04-22T19:27:44.498Z] ? github.com/edgexfoundry/edgex-go [no test files] [2024-04-22T19:29:51.207Z] # github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/config [2024-04-22T19:29:51.207Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.27/bootstrap/config/config.go:663:74: not enough arguments in call to configClient.WatchForChanges [2024-04-22T19:29:51.207Z] have (chan any, chan error, any, string) [2024-04-22T19:29:51.207Z] want (chan<- interface{}, chan<- error, interface{}, string, messaging.MessageClient) [2024-04-22T19:29:51.207Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.27/bootstrap/config/config.go:786:96: not enough arguments in call to configClient.WatchForChanges [2024-04-22T19:29:51.207Z] have (chan any, chan error, interface{}, string) [2024-04-22T19:29:51.207Z] want (chan<- interface{}, chan<- error, interface{}, string, messaging.MessageClient) [2024-04-22T19:29:51.207Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.27/bootstrap/config/config.go:848:106: not enough arguments in call to commonConfigClient.WatchForChanges [2024-04-22T19:29:51.207Z] have (chan any, chan error, interface{}, string) [2024-04-22T19:29:51.207Z] want (chan<- interface{}, chan<- error, interface{}, string, messaging.MessageClient) [2024-04-22T19:31:12.873Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2024-04-22T19:31:17.123Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2024-04-22T19:31:17.123Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2024-04-22T19:31:18.085Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 1.285s coverage: 28.7% of statements [2024-04-22T19:31:28.162Z] --- FAIL: TestAllCommands (0.00s) [2024-04-22T19:31:28.162Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [recovered] [2024-04-22T19:31:28.162Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [2024-04-22T19:31:28.162Z] [2024-04-22T19:31:28.162Z] goroutine 9 [running]: [2024-04-22T19:31:28.162Z] testing.tRunner.func1.2({0xaad620, 0xc000193d70}) [2024-04-22T19:31:28.162Z] /usr/local/go/src/testing/testing.go:1545 +0x2c8 [2024-04-22T19:31:28.162Z] testing.tRunner.func1() [2024-04-22T19:31:28.162Z] /usr/local/go/src/testing/testing.go:1548 +0x4c4 [2024-04-22T19:31:28.162Z] panic({0xaad620?, 0xc000193d70?}) [2024-04-22T19:31:28.162Z] /usr/local/go/src/runtime/panic.go:920 +0x26c [2024-04-22T19:31:28.162Z] github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container.DeviceClientFrom(0xc00056c1e0) [2024-04-22T19:31:28.162Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.27/bootstrap/container/clients.go:118 +0xa0 [2024-04-22T19:31:28.162Z] github.com/edgexfoundry/edgex-go/internal/core/command/application.CommandsByDeviceName({0xb9dbe8, 0xb}, 0xc0001a2220) [2024-04-22T19:31:28.162Z] /w/workspace/edgex-go/1/internal/core/command/application/command.go:72 +0x7c [2024-04-22T19:31:28.162Z] github.com/edgexfoundry/edgex-go/internal/core/command/controller/http.buildDeviceCoreCommands(_, {{0x0, 0x0}, {0x0, 0x0}, {0xb9dbe8, 0xb}, {0x0, 0x0}, {0x0, ...}, ...}, ...) [2024-04-22T19:31:28.162Z] /w/workspace/edgex-go/1/internal/core/command/controller/http/command_test.go:97 +0x74c [2024-04-22T19:31:28.162Z] github.com/edgexfoundry/edgex-go/internal/core/command/controller/http.TestAllCommands(0xc000102b60?) [2024-04-22T19:31:28.162Z] /w/workspace/edgex-go/1/internal/core/command/controller/http/command_test.go:177 +0x480 [2024-04-22T19:31:28.162Z] testing.tRunner(0xc000102b60, 0xbed8d0) [2024-04-22T19:31:28.162Z] /usr/local/go/src/testing/testing.go:1595 +0x1b4 [2024-04-22T19:31:28.162Z] created by testing.(*T).Run in goroutine 1 [2024-04-22T19:31:28.162Z] /usr/local/go/src/testing/testing.go:1648 +0x5ec [2024-04-22T19:31:28.162Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.211s [2024-04-22T19:31:33.506Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] [2024-04-22T19:31:33.506Z] --- FAIL: Test_commandQueryHandler (0.01s) [2024-04-22T19:31:33.506Z] --- FAIL: Test_commandQueryHandler/valid_-_query_all (0.01s) [2024-04-22T19:31:33.506Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [recovered] [2024-04-22T19:31:33.506Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [2024-04-22T19:31:33.506Z] [2024-04-22T19:31:33.506Z] goroutine 10 [running]: [2024-04-22T19:31:33.506Z] testing.tRunner.func1.2({0x916ac0, 0xc0001faf90}) [2024-04-22T19:31:33.506Z] /usr/local/go/src/testing/testing.go:1545 +0x2c8 [2024-04-22T19:31:33.506Z] testing.tRunner.func1() [2024-04-22T19:31:33.506Z] /usr/local/go/src/testing/testing.go:1548 +0x4c4 [2024-04-22T19:31:33.506Z] panic({0x916ac0?, 0xc0001faf90?}) [2024-04-22T19:31:33.506Z] /usr/local/go/src/runtime/panic.go:920 +0x26c [2024-04-22T19:31:33.506Z] github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container.DeviceClientFrom(0xc000530d40) [2024-04-22T19:31:33.506Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.27/bootstrap/container/clients.go:118 +0xa0 [2024-04-22T19:31:33.506Z] github.com/edgexfoundry/edgex-go/internal/core/command/application.AllCommands(0x904bc0?, 0xc0001faed0?, 0xc0004cb3c0) [2024-04-22T19:31:33.506Z] /w/workspace/edgex-go/1/internal/core/command/application/command.go:27 +0x64 [2024-04-22T19:31:33.506Z] github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging.getCommandQueryResponseEnvelope({{{0xc0002f75be, 0x2}}, {0x0, 0x0}, {0xc0004929c0, 0x24}, {0xc0004929f0, 0x24}, 0x0, {0x0, ...}, ...}, ...) [2024-04-22T19:31:33.506Z] /w/workspace/edgex-go/1/internal/core/command/controller/messaging/utils.go:91 +0x244 [2024-04-22T19:31:33.506Z] github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging.Test_commandQueryHandler.func5.commandQueryHandler.func1({0xb3d300, 0xc000096c30}, {0xb3bfc8, 0xc000096b90}) [2024-04-22T19:31:33.506Z] /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external.go:83 +0x674 [2024-04-22T19:31:33.506Z] github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging.Test_commandQueryHandler.func5(0x0?) [2024-04-22T19:31:33.506Z] /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:225 +0x5cc [2024-04-22T19:31:33.506Z] testing.tRunner(0xc00008b6c0, 0xc0004cb400) [2024-04-22T19:31:33.506Z] /usr/local/go/src/testing/testing.go:1595 +0x1b4 [2024-04-22T19:31:33.506Z] created by testing.(*T).Run in goroutine 9 [2024-04-22T19:31:33.506Z] /usr/local/go/src/testing/testing.go:1648 +0x5ec [2024-04-22T19:31:33.506Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 0.258s [2024-04-22T19:31:40.150Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2024-04-22T19:31:40.150Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2024-04-22T19:31:41.109Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 1.377s coverage: 53.2% of statements [2024-04-22T19:31:47.784Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] [2024-04-22T19:31:47.784Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2024-04-22T19:31:47.784Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2024-04-22T19:31:47.784Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2024-04-22T19:31:57.888Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2024-04-22T19:31:57.888Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2024-04-22T19:32:08.029Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 20.818s coverage: 93.4% of statements [2024-04-22T19:32:08.029Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 1.430s coverage: 6.1% of statements [2024-04-22T19:32:12.291Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2024-04-22T19:32:12.291Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2024-04-22T19:32:12.291Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] [2024-04-22T19:32:14.864Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2024-04-22T19:32:14.864Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2024-04-22T19:32:14.864Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2024-04-22T19:32:14.864Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2024-04-22T19:32:14.864Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2024-04-22T19:32:14.864Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2024-04-22T19:32:14.864Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 2.617s coverage: 97.6% of statements [2024-04-22T19:32:15.831Z] ok github.com/edgexfoundry/edgex-go/internal/io 1.211s coverage: 72.2% of statements [2024-04-22T19:32:25.873Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2024-04-22T19:32:25.873Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 1.407s coverage: 0.9% of statements [2024-04-22T19:32:25.873Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 1.261s coverage: 32.2% of statements [2024-04-22T19:32:25.873Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command [build failed] [2024-04-22T19:32:27.279Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.250s coverage: 82.9% of statements [2024-04-22T19:32:27.857Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 1.182s coverage: 94.1% of statements [2024-04-22T19:32:29.256Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2024-04-22T19:32:29.522Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 1.275s coverage: 96.3% of statements [2024-04-22T19:32:29.522Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help [build failed] [2024-04-22T19:32:32.085Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2024-04-22T19:32:32.085Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2024-04-22T19:32:34.014Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2024-04-22T19:32:34.014Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] [2024-04-22T19:32:34.014Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] [2024-04-22T19:32:35.410Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2024-04-22T19:32:35.410Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2024-04-22T19:32:38.737Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2024-04-22T19:32:42.055Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.214s coverage: 94.4% of statements [2024-04-22T19:32:42.055Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl [build failed] [2024-04-22T19:32:44.617Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2024-04-22T19:32:45.196Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2024-04-22T19:32:45.196Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2024-04-22T19:32:50.513Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] [2024-04-22T19:32:50.513Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] [2024-04-22T19:32:50.513Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2024-04-22T19:32:50.513Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2024-04-22T19:32:52.442Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2024-04-22T19:32:53.394Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 21.264s coverage: 92.9% of statements [2024-04-22T19:32:53.394Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 1.074s coverage: 64.4% of statements [2024-04-22T19:32:53.394Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers [build failed] [2024-04-22T19:32:53.394Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 12.236s coverage: 87.2% of statements [2024-04-22T19:32:53.394Z] ok github.com/edgexfoundry/edgex-go/internal/security/common 1.184s coverage: 20.0% of statements [2024-04-22T19:32:53.394Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 1.176s coverage: 100.0% of statements [2024-04-22T19:32:53.394Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser [build failed] [2024-04-22T19:32:53.394Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser [build failed] [2024-04-22T19:32:53.394Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 1.221s coverage: 86.0% of statements [2024-04-22T19:32:53.394Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/fileprovider [build failed] [2024-04-22T19:32:53.394Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks [build failed] [2024-04-22T19:32:53.394Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 1.102s coverage: 89.4% of statements [2024-04-22T19:32:53.394Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 1.067s coverage: 100.0% of statements [2024-04-22T19:32:53.394Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 1.077s coverage: 73.7% of statements [2024-04-22T19:32:53.394Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 1.062s coverage: 100.0% of statements [2024-04-22T19:32:53.394Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/secretstore [build failed] [2024-04-22T19:32:53.394Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] [2024-04-22T19:32:53.394Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] [2024-04-22T19:32:53.659Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 1.227s coverage: 89.5% of statements [2024-04-22T19:32:54.612Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 1.216s coverage: 84.8% of statements [2024-04-22T19:32:54.877Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2024-04-22T19:32:54.877Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2024-04-22T19:32:54.877Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2024-04-22T19:32:54.877Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2024-04-22T19:32:54.877Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2024-04-22T19:32:54.877Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2024-04-22T19:32:54.877Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/application [build failed] [2024-04-22T19:32:54.877Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2024-04-22T19:32:54.877Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http [build failed] [2024-04-22T19:32:54.877Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2024-04-22T19:32:54.877Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler [build failed] [2024-04-22T19:33:01.506Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2024-04-22T19:33:01.506Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2024-04-22T19:33:02.088Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 1.376s coverage: 98.9% of statements [2024-04-22T19:33:02.088Z] FAIL [2024-04-22T19:33:03.502Z] make: *** [Makefile:148: unittest] Error 1 [Pipeline] } [2024-04-22T19:33:03.548Z] $ docker stop --time=1 251726c75d77bc48420fe83fd21da269413215cad3e2452ea5935d177c4733c0 [2024-04-22T19:33:05.473Z] $ docker rm -f --volumes 251726c75d77bc48420fe83fd21da269413215cad3e2452ea5935d177c4733c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-22T19:33:07.741Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-22T19:33:07.741Z] [2024-04-22T19:33:07.741Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-22T19:33:08.146Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-22T19:33:08.422Z] arm64: Pulling from edgex-lftools-log-publisher [2024-04-22T19:33:08.422Z] 8998bd30e6a1: Pulling fs layer [2024-04-22T19:33:08.422Z] 04944245beec: Pulling fs layer [2024-04-22T19:33:08.422Z] 699f458cf7ca: Pulling fs layer [2024-04-22T19:33:08.422Z] 765212b225bb: Pulling fs layer [2024-04-22T19:33:08.422Z] f23df028b6ca: Pulling fs layer [2024-04-22T19:33:08.422Z] 765212b225bb: Waiting [2024-04-22T19:33:08.422Z] f23df028b6ca: Waiting [2024-04-22T19:33:08.422Z] d65c8cfc05b1: Pulling fs layer [2024-04-22T19:33:08.422Z] 2437ff75d9bd: Pulling fs layer [2024-04-22T19:33:08.422Z] d65c8cfc05b1: Waiting [2024-04-22T19:33:08.422Z] 2437ff75d9bd: Waiting [2024-04-22T19:33:08.689Z] 04944245beec: Verifying Checksum [2024-04-22T19:33:08.689Z] 04944245beec: Download complete [2024-04-22T19:33:08.689Z] 765212b225bb: Verifying Checksum [2024-04-22T19:33:08.689Z] 765212b225bb: Download complete [2024-04-22T19:33:08.689Z] f23df028b6ca: Verifying Checksum [2024-04-22T19:33:08.689Z] f23df028b6ca: Download complete [2024-04-22T19:33:08.689Z] d65c8cfc05b1: Verifying Checksum [2024-04-22T19:33:08.689Z] d65c8cfc05b1: Download complete [2024-04-22T19:33:08.955Z] 699f458cf7ca: Verifying Checksum [2024-04-22T19:33:08.955Z] 699f458cf7ca: Download complete [2024-04-22T19:33:09.221Z] 8998bd30e6a1: Verifying Checksum [2024-04-22T19:33:09.221Z] 8998bd30e6a1: Download complete [2024-04-22T19:33:11.796Z] 2437ff75d9bd: Verifying Checksum [2024-04-22T19:33:11.796Z] 2437ff75d9bd: Download complete [2024-04-22T19:33:13.735Z] 8998bd30e6a1: Pull complete [2024-04-22T19:33:14.317Z] 04944245beec: Pull complete [2024-04-22T19:33:16.257Z] 699f458cf7ca: Pull complete [2024-04-22T19:33:16.258Z] 765212b225bb: Pull complete [2024-04-22T19:33:16.839Z] f23df028b6ca: Pull complete [2024-04-22T19:33:17.106Z] d65c8cfc05b1: Pull complete [2024-04-22T19:33:35.287Z] 2437ff75d9bd: Pull complete [2024-04-22T19:33:35.288Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-04-22T19:33:35.288Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-22T19:33:35.288Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-22T19:33:35.609Z] prd-ubuntu20.04-docker-arm64-4c-16g-3401 does not seem to be running inside a container [2024-04-22T19:33:35.662Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-04-22T19:33:38.071Z] $ docker top a331074cd20123e5ce75d87e474ff67b3503ec0e6a25aaed9d0aae3716a4deac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-22T19:33:39.033Z] ---> job-cost.sh [2024-04-22T19:33:39.033Z] lf-activate-venv: SKIPPING [2024-04-22T19:33:39.033Z] INFO: No Stack... [2024-04-22T19:33:39.308Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-04-22T19:33:40.284Z] INFO: Archiving Costs [Pipeline] sh [2024-04-22T19:33:40.970Z] + cat /w/workspace/edgex-go/1/archives/cost.csv [2024-04-22T19:33:40.970Z] + cut -d, -f6 [Pipeline] lock [2024-04-22T19:33:41.041Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4796-1-stack-cost] [2024-04-22T19:33:41.047Z] Resource [jenkins-edgexfoundry-edgex-go-PR-4796-1-stack-cost] did not exist. Created. [2024-04-22T19:33:41.052Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4796-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-04-22T19:33:41.481Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-04-22T19:33:42.056Z] Stashed 1 file(s) [Pipeline] } [2024-04-22T19:33:42.072Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4796-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-04-22T19:33:42.153Z] $ docker stop --time=1 a331074cd20123e5ce75d87e474ff67b3503ec0e6a25aaed9d0aae3716a4deac [2024-04-22T19:33:43.619Z] $ docker rm -f --volumes a331074cd20123e5ce75d87e474ff67b3503ec0e6a25aaed9d0aae3716a4deac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-04-22T19:33:44.363Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-04-22T19:33:46.036Z] + [ -d /w/workspace/edgex-go/1/archives ] [Pipeline] libraryResource [Pipeline] sh [2024-04-22T19:33:46.375Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-22T19:33:47.266Z] ---> package-listing.sh [2024-04-22T19:33:47.266Z] ++ facter osfamily [2024-04-22T19:33:47.266Z] ++ tr '[:upper:]' '[:lower:]' [2024-04-22T19:33:47.526Z] + OS_FAMILY=debian [2024-04-22T19:33:47.526Z] + workspace=/w/workspace/edgex-go/1 [2024-04-22T19:33:47.526Z] + START_PACKAGES=/tmp/packages_start.txt [2024-04-22T19:33:47.526Z] + END_PACKAGES=/tmp/packages_end.txt [2024-04-22T19:33:47.526Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-04-22T19:33:47.526Z] + PACKAGES=/tmp/packages_start.txt [2024-04-22T19:33:47.526Z] + '[' /w/workspace/edgex-go/1 ']' [2024-04-22T19:33:47.526Z] + PACKAGES=/tmp/packages_end.txt [2024-04-22T19:33:47.526Z] + case "${OS_FAMILY}" in [2024-04-22T19:33:47.526Z] + dpkg -l [2024-04-22T19:33:47.526Z] + grep '^ii' [2024-04-22T19:33:47.526Z] + '[' -f /tmp/packages_start.txt ']' [2024-04-22T19:33:47.526Z] + '[' -f /tmp/packages_end.txt ']' [2024-04-22T19:33:47.526Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-04-22T19:33:47.526Z] + '[' /w/workspace/edgex-go/1 ']' [2024-04-22T19:33:47.526Z] + mkdir -p /w/workspace/edgex-go/1/archives/ [2024-04-22T19:33:47.526Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo [2024-04-22T19:33:47.564Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-04-22T19:33:47.856Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-22T19:33:48.489Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-22T19:33:48.489Z] [2024-04-22T19:33:48.489Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-22T19:33:48.875Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-22T19:33:48.876Z] latest: Pulling from edgex-lftools-log-publisher [2024-04-22T19:33:48.876Z] 5eb5b503b376: Pulling fs layer [2024-04-22T19:33:48.876Z] 5c69ac0246d0: Pulling fs layer [2024-04-22T19:33:48.876Z] ec43610c2a17: Pulling fs layer [2024-04-22T19:33:48.876Z] 3a2ae6a8a46f: Pulling fs layer [2024-04-22T19:33:48.876Z] 33b1e0a273af: Pulling fs layer [2024-04-22T19:33:48.876Z] 5d3b04190fa2: Pulling fs layer [2024-04-22T19:33:48.876Z] 2f39f015ded8: Pulling fs layer [2024-04-22T19:33:48.876Z] 3a2ae6a8a46f: Waiting [2024-04-22T19:33:48.876Z] 33b1e0a273af: Waiting [2024-04-22T19:33:48.876Z] 5d3b04190fa2: Waiting [2024-04-22T19:33:48.876Z] 2f39f015ded8: Waiting [2024-04-22T19:33:48.876Z] 5c69ac0246d0: Verifying Checksum [2024-04-22T19:33:48.876Z] 3a2ae6a8a46f: Download complete [2024-04-22T19:33:48.876Z] 33b1e0a273af: Verifying Checksum [2024-04-22T19:33:48.876Z] 33b1e0a273af: Download complete [2024-04-22T19:33:48.876Z] 5d3b04190fa2: Verifying Checksum [2024-04-22T19:33:48.876Z] 5d3b04190fa2: Download complete [2024-04-22T19:33:48.876Z] ec43610c2a17: Verifying Checksum [2024-04-22T19:33:48.876Z] ec43610c2a17: Download complete [2024-04-22T19:33:49.135Z] 5eb5b503b376: Download complete [2024-04-22T19:33:49.702Z] 2f39f015ded8: Verifying Checksum [2024-04-22T19:33:49.702Z] 2f39f015ded8: Download complete [2024-04-22T19:33:50.269Z] 5eb5b503b376: Pull complete [2024-04-22T19:33:50.526Z] 5c69ac0246d0: Pull complete [2024-04-22T19:33:51.096Z] ec43610c2a17: Pull complete [2024-04-22T19:33:51.096Z] 3a2ae6a8a46f: Pull complete [2024-04-22T19:33:51.096Z] 33b1e0a273af: Pull complete [2024-04-22T19:33:51.354Z] 5d3b04190fa2: Pull complete [2024-04-22T19:33:55.535Z] 2f39f015ded8: Pull complete [2024-04-22T19:33:55.535Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-04-22T19:33:55.535Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-22T19:33:55.535Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-22T19:33:55.759Z] prd-ubuntu20.04-docker-8c-8g-3399 does not seem to be running inside a container [2024-04-22T19:33:55.787Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-04-22T19:34:00.629Z] $ docker top 985ebde652a10715dacb004da18a048713f9dc93a034bc34ffb12a2587a92fcd -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-22T19:34:01.033Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-04-22T19:34:01.344Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-04-22T19:34:01.659Z] + ls /var/log/sa-host [2024-04-22T19:34:01.659Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-22T19:34:01.812Z] provisioning config files... [2024-04-22T19:34:01.821Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config7607601544122347062tmp [Pipeline] { [Pipeline] echo [2024-04-22T19:34:01.891Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-22T19:34:02.208Z] ---> create-netrc.sh [Pipeline] } [2024-04-22T19:34:02.236Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-04-22T19:34:02.647Z] ---> python-tools-install.sh [Pipeline] echo [2024-04-22T19:34:02.683Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-22T19:34:02.995Z] ---> sudo-logs.sh [2024-04-22T19:34:02.995Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-04-22T19:34:03.079Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-22T19:34:03.395Z] ---> job-cost.sh [2024-04-22T19:34:03.395Z] lf-activate-venv: SKIPPING [2024-04-22T19:34:03.395Z] DEBUG: total: 0.10999999940395355 [2024-04-22T19:34:03.395Z] INFO: Retrieving Stack Cost... [2024-04-22T19:34:03.963Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-04-22T19:34:04.223Z] INFO: Archiving Costs [Pipeline] echo [2024-04-22T19:34:04.259Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-22T19:34:04.573Z] ---> logs-deploy.sh [2024-04-22T19:34:04.573Z] lf-activate-venv: SKIPPING [2024-04-22T19:34:04.573Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4796/1 [2024-04-22T19:34:04.573Z] INFO: archiving workspace using pattern(s): [2024-04-22T19:34:05.585Z] Archives upload complete. [2024-04-22T19:34:05.585Z] INFO: archiving logs to Nexus