Pull request #4906 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lindseysimple for edgexfoundry/edgex-go Obtained Jenkinsfile from 40b4e163d8a5c604fec7c138303a1ba7b7237711+32d446f668fb740eda029dbdcd51413a8d4322dd (f8e7263616665b80d31dfb0413b9a647f1d00818) 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-ssh280461615324976774.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh6645917176560569210.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 f3350a1713306dce7682ed7e37d5774890d03277 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-4906/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-4906/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh311039545660895514.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-4906/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12441261740276067834.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh13218543227073611060.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-4906/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-4906/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14541604260955334591.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 f3350a1713306dce7682ed7e37d5774890d03277 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9931 in /w/workspace/edgexfoundry_edgex-go_PR-4906 [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/4906/head:refs/remotes/origin/PR-4906 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 32d446f668fb740eda029dbdcd51413a8d4322dd into PR head commit 40b4e163d8a5c604fec7c138303a1ba7b7237711 Merge succeeded, producing af91089028d3e117818d80936a22f836da178d13 Checking out Revision af91089028d3e117818d80936a22f836da178d13 (PR-4906) > git config core.sparsecheckout # timeout=10 > git checkout -f 40b4e163d8a5c604fec7c138303a1ba7b7237711 # 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 32d446f668fb740eda029dbdcd51413a8d4322dd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f af91089028d3e117818d80936a22f836da178d13 # timeout=10 Commit message: "Merge commit '32d446f668fb740eda029dbdcd51413a8d4322dd' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:37:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:37:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:37:23 ========================================================= 02:37:23 EdgeX Global Pipelines Version Info 02:37:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:37:25 ------------------- 02:37:25 stable info: 02:37:25 ------------------- 02:37:25 Commited By: Cherry Wang cherry@iotechsys.com 02:37:25 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 02:37:25 Message: update stable to v1.0.263 02:37:25 ------------------- 02:37:25 experimental info: 02:37:25 ------------------- 02:37:25 Commited By: Cherry Wang cherry@iotechsys.com 02:37:25 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 02:37:25 Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:37:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 02:37:25 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 02:37:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:37:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:37:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:37:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 02:37:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:37:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 02:37:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 02:37:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 02:37:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:37:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:37:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:37:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:37:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:37:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:37:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:37:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:37:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:37:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 02:37:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:37:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:37:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:37:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4906 [Pipeline] echo 02:37:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4906 [Pipeline] echo 02:37:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4906 [Pipeline] echo 02:37:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = af91089028d3e117818d80936a22f836da178d13 [Pipeline] echo 02:37:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = af91089 [Pipeline] echo 02:37:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:37:27 provisioning config files... 02:37:27 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config7526322608116738234tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:37:28 ---> ****-login.sh 02:37:28 nexus3.edgexfoundry.org:10001 02:37:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:37:28 Configure a credential helper to remove this warning. See 02:37:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:37:28 02:37:28 Login Succeeded 02:37:28 nexus3.edgexfoundry.org:10002 02:37:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:37:28 Configure a credential helper to remove this warning. See 02:37:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:37:28 02:37:28 Login Succeeded 02:37:28 nexus3.edgexfoundry.org:10003 02:37:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:37:28 Configure a credential helper to remove this warning. See 02:37:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:37:28 02:37:28 Login Succeeded 02:37:28 nexus3.edgexfoundry.org:10004 02:37:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:37:28 Configure a credential helper to remove this warning. See 02:37:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:37:28 02:37:28 Login Succeeded 02:37:28 ****.io 02:37:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:37:28 Configure a credential helper to remove this warning. See 02:37:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:37:28 02:37:28 Login Succeeded 02:37:28 ---> ****-login.sh ends [Pipeline] } 02:37:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:37:29 + ls cmd/core-command/Dockerfile cmd/core-common-config-bootstrapper/Dockerfile cmd/core-data/Dockerfile cmd/core-keeper/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-auth/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/security-spiffe-token-provider/Dockerfile cmd/security-spire-agent/Dockerfile cmd/security-spire-config/Dockerfile cmd/security-spire-server/Dockerfile cmd/support-cron-scheduler/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile 02:37:29 + dirname cmd/core-command/Dockerfile 02:37:29 + cut -d/ -f2 02:37:29 + echo core-command,cmd/core-command/Dockerfile 02:37:29 + dirname cmd/core-common-config-bootstrapper/Dockerfile 02:37:29 + cut -d/ -f2 02:37:29 + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile 02:37:29 + dirname cmd/core-data/Dockerfile 02:37:29 + cut -d/ -f2 02:37:29 + echo core-data,cmd/core-data/Dockerfile 02:37:29 + + dirname cmd/core-keeper/Dockerfile 02:37:29 cut -d/ -f2 02:37:29 + echo core-keeper,cmd/core-keeper/Dockerfile 02:37:29 + dirname cmd/core-metadata/Dockerfile 02:37:29 + cut -d/ -f2 02:37:29 + echo core-metadata,cmd/core-metadata/Dockerfile 02:37:29 + dirname cmd/security-bootstrapper/Dockerfile 02:37:29 + cut -d/ -f2 02:37:29 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 02:37:29 + dirname cmd/security-proxy-auth/Dockerfile 02:37:29 + cut -d/ -f2 02:37:29 + echo security-proxy-auth,cmd/security-proxy-auth/Dockerfile 02:37:29 + dirname cmd/security-proxy-setup/Dockerfile 02:37:29 + cut -d/ -f2 02:37:29 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 02:37:29 + dirname cmd/security-secretstore-setup/Dockerfile 02:37:29 + cut -d/ -f2 02:37:29 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 02:37:29 + dirname cmd/security-spiffe-token-provider/Dockerfile 02:37:29 + cut -d/ -f2 02:37:29 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 02:37:29 + dirname cmd/security-spire-agent/Dockerfile 02:37:29 + cut -d/ -f2 02:37:29 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 02:37:29 + dirname cmd/security-spire-config/Dockerfile 02:37:29 + cut -d/ -f2 02:37:29 + echo security-spire-config,cmd/security-spire-config/Dockerfile 02:37:29 + dirname cmd/security-spire-server/Dockerfile 02:37:29 + cut -d/ -f2 02:37:29 + echo security-spire-server,cmd/security-spire-server/Dockerfile 02:37:29 + dirname cmd/support-cron-scheduler/Dockerfile 02:37:29 + cut -d/ -f2 02:37:29 + echo support-cron-scheduler,cmd/support-cron-scheduler/Dockerfile 02:37:29 + dirname cmd/support-notifications/Dockerfile 02:37:29 + cut -d/ -f2 02:37:29 + echo support-notifications,cmd/support-notifications/Dockerfile 02:37:29 + dirname cmd/support-scheduler/Dockerfile 02:37:29 + cut -d/ -f2 02:37:29 + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo 02:37:29 Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/Dockerfile], [image:core-common-config-bootstrapper, dockerfile:cmd/core-common-config-bootstrapper/Dockerfile], [image:core-data, dockerfile:cmd/core-data/Dockerfile], [image:core-keeper, dockerfile:cmd/core-keeper/Dockerfile], [image:core-metadata, dockerfile:cmd/core-metadata/Dockerfile], [image:security-bootstrapper, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:security-proxy-auth, dockerfile:cmd/security-proxy-auth/Dockerfile], [image:security-proxy-setup, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:security-secretstore-setup, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:security-spiffe-token-provider, dockerfile:cmd/security-spiffe-token-provider/Dockerfile], [image:security-spire-agent, dockerfile:cmd/security-spire-agent/Dockerfile], [image:security-spire-config, dockerfile:cmd/security-spire-config/Dockerfile], [image:security-spire-server, dockerfile:cmd/security-spire-server/Dockerfile], [image:support-cron-scheduler, dockerfile:cmd/support-cron-scheduler/Dockerfile], [image:support-notifications, dockerfile:cmd/support-notifications/Dockerfile], [image:support-scheduler, dockerfile:cmd/support-scheduler/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:37:29 + git rev-list -1 --merges af91089028d3e117818d80936a22f836da178d13~1..af91089028d3e117818d80936a22f836da178d13 [Pipeline] echo 02:37:30 -----------> git rev-list -1 --merges af91089028d3e117818d80936a22f836da178d13~1..af91089028d3e117818d80936a22f836da178d13 af91089028d3e117818d80936a22f836da178d13 02:37:30 af91089028d3e117818d80936a22f836da178d13 [false] [Pipeline] sh 02:37:30 + git log --format=format:%s -1 af91089028d3e117818d80936a22f836da178d13 [Pipeline] echo 02:37:30 ========================================================= 02:37:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:37:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 02:37:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:37:32 + grep -v github /etc/ssh/ssh_known_hosts 02:37:32 + [ -e /tmp/ssh_known_hosts ] 02:37:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:37:32 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:37:32 sudo tee -a /etc/ssh/ssh_known_hosts 02:37:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:37:32 02:37:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:37:33 0.1.4: Pulling from edgex-devops/py-git-semver 02:37:33 b85a868b505f: Pulling fs layer 02:37:33 e2be974225ed: Pulling fs layer 02:37:33 339a4e72a1f5: Pulling fs layer 02:37:33 988bab9f4d93: Pulling fs layer 02:37:33 1469e6f7b9e6: Pulling fs layer 02:37:33 eaf3925da568: Pulling fs layer 02:37:33 bab4dde63d76: Pulling fs layer 02:37:33 bde34c3a00c8: Pulling fs layer 02:37:33 b352a97aabf1: Pulling fs layer 02:37:33 4872d77fe225: Pulling fs layer 02:37:33 5851b861e8e6: Pulling fs layer 02:37:33 1469e6f7b9e6: Waiting 02:37:33 eaf3925da568: Waiting 02:37:33 bab4dde63d76: Waiting 02:37:33 bde34c3a00c8: Waiting 02:37:33 5851b861e8e6: Waiting 02:37:33 988bab9f4d93: Waiting 02:37:33 b352a97aabf1: Waiting 02:37:33 4872d77fe225: Waiting 02:37:33 e2be974225ed: Verifying Checksum 02:37:33 e2be974225ed: Download complete 02:37:33 988bab9f4d93: Verifying Checksum 02:37:33 988bab9f4d93: Download complete 02:37:34 1469e6f7b9e6: Verifying Checksum 02:37:34 1469e6f7b9e6: Download complete 02:37:34 eaf3925da568: Download complete 02:37:34 339a4e72a1f5: Verifying Checksum 02:37:34 339a4e72a1f5: Download complete 02:37:34 bde34c3a00c8: Download complete 02:37:34 b352a97aabf1: Verifying Checksum 02:37:34 b352a97aabf1: Download complete 02:37:34 4872d77fe225: Download complete 02:37:34 5851b861e8e6: Verifying Checksum 02:37:34 5851b861e8e6: Download complete 02:37:34 b85a868b505f: Download complete 02:37:34 bab4dde63d76: Verifying Checksum 02:37:34 bab4dde63d76: Download complete 02:37:35 b85a868b505f: Pull complete 02:37:35 e2be974225ed: Pull complete 02:37:35 339a4e72a1f5: Pull complete 02:37:36 988bab9f4d93: Pull complete 02:37:36 1469e6f7b9e6: Pull complete 02:37:36 eaf3925da568: Pull complete 02:37:38 bab4dde63d76: Pull complete 02:37:38 bde34c3a00c8: Pull complete 02:37:38 b352a97aabf1: Pull complete 02:37:38 4872d77fe225: Pull complete 02:37:38 5851b861e8e6: Pull complete 02:37:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:37:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:37:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:37:40 prd-ubuntu20.04-docker-8c-8g-9931 does not seem to be running inside a container 02:37:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:37:43 $ docker top 733f9af4906d8b6bc2c1950093ce146bfbc5f8f4f2400eb96a2490d75d523567 -eo pid,comm 02:37:43 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). 02:37:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:37:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:37:43 [ssh-agent] Looking for ssh-agent implementation... 02:37:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:37:43 $ docker exec 733f9af4906d8b6bc2c1950093ce146bfbc5f8f4f2400eb96a2490d75d523567 ssh-agent 02:37:43 SSH_AUTH_SOCK=/tmp/ssh-2bjzOASE3yhO/agent.31 02:37:43 SSH_AGENT_PID=37 02:37:43 Running ssh-add (command line suppressed) 02:37:43 Identity added: /w/workspace/edgex-go/1@tmp/private_key_6445505261972979347.key (/w/workspace/edgex-go/1@tmp/private_key_6445505261972979347.key) 02:37:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:37:44 + git tag --points-at HEAD [Pipeline] } 02:37:44 $ docker exec --env ******** --env ******** 733f9af4906d8b6bc2c1950093ce146bfbc5f8f4f2400eb96a2490d75d523567 ssh-agent -k 02:37:44 unset SSH_AUTH_SOCK; 02:37:44 unset SSH_AGENT_PID; 02:37:44 echo Agent pid 37 killed; 02:37:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:37:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:37:44 [ssh-agent] Looking for ssh-agent implementation... 02:37:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:37:44 $ docker exec 733f9af4906d8b6bc2c1950093ce146bfbc5f8f4f2400eb96a2490d75d523567 ssh-agent 02:37:44 SSH_AUTH_SOCK=/tmp/ssh-k1ZgKTmp5igP/agent.70 02:37:44 SSH_AGENT_PID=77 02:37:44 Running ssh-add (command line suppressed) 02:37:44 Identity added: /w/workspace/edgex-go/1@tmp/private_key_8415559892188941810.key (/w/workspace/edgex-go/1@tmp/private_key_8415559892188941810.key) 02:37:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:37:45 + git semver init 02:37:45 2024-09-10 02:37:45,511 [run_init] DEBUG init version:0.0.0 force:False 02:37:45 2024-09-10 02:37:45,511 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/1/.semver 02:37:45 2024-09-10 02:37:45,512 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/1/.semver 02:37:45 2024-09-10 02:37:45,512 [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) 02:37:52 2024-09-10 02:37:51,111 [append_file] DEBUG append to file:/w/workspace/edgex-go/1/.git/info/exclude 02:37:52 2024-09-10 02:37:51,111 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/1/.semver/PR-4906 with force:False 02:37:52 2024-09-10 02:37:51,112 [write_file] DEBUG write to file:/w/workspace/edgex-go/1/.semver/PR-4906 02:37:52 2024-09-10 02:37:51,116 [execute] INFO git cat-file --batch-check 02:37:52 2024-09-10 02:37:51,117 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 02:37:52 2024-09-10 02:37:51,124 [execute] INFO git cat-file --batch 02:37:52 2024-09-10 02:37:51,124 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 02:37:52 2024-09-10 02:37:51,129 [read_version] DEBUG read version from /w/workspace/edgex-go/1/.semver/PR-4906 02:37:52 0.0.0 [Pipeline] } 02:37:52 $ docker exec --env ******** --env ******** 733f9af4906d8b6bc2c1950093ce146bfbc5f8f4f2400eb96a2490d75d523567 ssh-agent -k 02:37:52 unset SSH_AUTH_SOCK; 02:37:52 unset SSH_AGENT_PID; 02:37:52 echo Agent pid 77 killed; 02:37:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:37:52 + git semver [Pipeline] } 02:37:53 $ docker stop --time=1 733f9af4906d8b6bc2c1950093ce146bfbc5f8f4f2400eb96a2490d75d523567 02:37:54 $ docker rm -f --volumes 733f9af4906d8b6bc2c1950093ce146bfbc5f8f4f2400eb96a2490d75d523567 [Pipeline] // withDockerContainer [Pipeline] sh 02:37:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:37:55 Stashed 1 file(s) [Pipeline] echo 02:37:55 [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 02:37:56 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo 02:37:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:37:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:37:56 ========================================================= 02:37:56 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 02:37:56 ========================================================= [Pipeline] fileExists [Pipeline] sh 02:37:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 02:37:56 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 02:37:56 619be1103602: Pulling fs layer 02:37:56 7862e08f4a3e: Pulling fs layer 02:37:56 5df492c9dc93: Pulling fs layer 02:37:56 7629e6793208: Pulling fs layer 02:37:56 4f4fb700ef54: Pulling fs layer 02:37:56 7629e6793208: Waiting 02:37:56 fb5054dd5b73: Pulling fs layer 02:37:56 eeca6798cff9: Pulling fs layer 02:37:56 aa269ceb94a6: Pulling fs layer 02:37:56 eeca6798cff9: Waiting 02:37:56 ada007ff1a6a: Pulling fs layer 02:37:56 aa269ceb94a6: Waiting 02:37:56 ada007ff1a6a: Waiting 02:37:56 7862e08f4a3e: Download complete 02:37:56 7629e6793208: Verifying Checksum 02:37:56 7629e6793208: Download complete 02:37:56 4f4fb700ef54: Verifying Checksum 02:37:56 4f4fb700ef54: Download complete 02:37:56 fb5054dd5b73: Verifying Checksum 02:37:56 fb5054dd5b73: Download complete 02:37:56 619be1103602: Verifying Checksum 02:37:56 619be1103602: Download complete 02:37:56 eeca6798cff9: Verifying Checksum 02:37:56 eeca6798cff9: Download complete 02:37:56 619be1103602: Pull complete 02:37:56 ada007ff1a6a: Verifying Checksum 02:37:56 ada007ff1a6a: Download complete 02:37:57 7862e08f4a3e: Pull complete 02:37:57 5df492c9dc93: Verifying Checksum 02:37:57 5df492c9dc93: Download complete 02:37:57 aa269ceb94a6: Verifying Checksum 02:37:57 aa269ceb94a6: Download complete 02:38:00 5df492c9dc93: Pull complete 02:38:00 7629e6793208: Pull complete 02:38:00 4f4fb700ef54: Pull complete 02:38:00 fb5054dd5b73: Pull complete 02:38:00 eeca6798cff9: Pull complete 02:38:03 aa269ceb94a6: Pull complete 02:38:03 ada007ff1a6a: Pull complete 02:38:03 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 02:38:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 02:38:03 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [Pipeline] fileExists [Pipeline] sh 02:38:04 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 02:38:04 WORKDIR /edgex 02:38:04 COPY go.mod . 02:38:04 RUN go mod download 02:38:04 + docker build -t ci-base-image-x86_64 -f - . 02:38:04 Sending build context to Docker daemon 179.3MB 02:38:04 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 02:38:04 ---> f489d0715acc 02:38:04 Step 2/4 : WORKDIR /edgex 02:38:10 Still waiting to schedule task 02:38:10 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:38:11 ---> Running in 79ee08310836 02:38:11 Removing intermediate container 79ee08310836 02:38:11 ---> bbc93ff9bb5f 02:38:11 Step 3/4 : COPY go.mod . 02:38:11 ---> 92b071f918ee 02:38:11 Step 4/4 : RUN go mod download 02:38:11 ---> Running in 0b9576b022cc 02:38:37 Removing intermediate container 0b9576b022cc 02:38:37 ---> c364b01a4082 02:38:37 Successfully built c364b01a4082 02:38:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:38 + docker inspect -f . ci-base-image-x86_64 02:38:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:38:38 prd-ubuntu20.04-docker-8c-8g-9931 does not seem to be running inside a container 02:38:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:38:39 $ docker top 4746385174e648e9b5bdbc38a046fb81f911c5e77cb4bc91978fb88bcaad4262 -eo pid,comm [Pipeline] { [Pipeline] sh 02:38:39 + go version 02:38:39 go version go1.21.9 linux/amd64 [Pipeline] } 02:38:46 $ docker stop --time=1 4746385174e648e9b5bdbc38a046fb81f911c5e77cb4bc91978fb88bcaad4262 02:38:47 $ docker rm -f --volumes 4746385174e648e9b5bdbc38a046fb81f911c5e77cb4bc91978fb88bcaad4262 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:48 + docker inspect -f . ci-base-image-x86_64 02:38:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:38:48 prd-ubuntu20.04-docker-8c-8g-9931 does not seem to be running inside a container 02:38:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:38:49 $ docker top e397e9c811d0aa806d1008c2922ff372a6511faf602a9887cac5d5b262e7b788 -eo pid,comm [Pipeline] { [Pipeline] echo 02:38:49 ========================================================= 02:38:49 [edgeXBuildGoParallel] Running Tests and Build... 02:38:49 ========================================================= [Pipeline] sh 02:38:49 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh 02:38:49 + make test 02:38:49 go test -race -coverprofile=coverage.out ./... 02:38:58 ? github.com/edgexfoundry/edgex-go [no test files] 02:39:30 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 02:39:30 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 02:39:30 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 02:39:30 ? github.com/edgexfoundry/edgex-go/cmd/core-keeper [no test files] 02:39:30 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 02:39:30 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 02:39:30 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 02:39:30 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 02:39:30 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-auth [no test files] 02:39:30 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 02:39:30 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 02:39:30 ? github.com/edgexfoundry/edgex-go/cmd/support-cron-scheduler [no test files] 02:39:30 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 02:39:30 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 02:39:30 ? github.com/edgexfoundry/edgex-go/internal [no test files] 02:39:30 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 02:39:30 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 02:39:30 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 02:39:30 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 1.027s coverage: 28.7% of statements 02:39:31 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 02:39:31 ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] 02:39:31 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 02:39:31 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 02:39:31 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 02:39:31 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 1.044s coverage: 97.0% of statements 02:39:32 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 02:39:32 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 02:39:32 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 02:39:32 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 02:39:32 ? github.com/edgexfoundry/edgex-go/internal/core/keeper [no test files] 02:39:32 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/application [no test files] 02:39:32 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/config [no test files] 02:39:32 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/constants [no test files] 02:39:32 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/container [no test files] 02:39:34 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/infrastructure/interfaces [no test files] 02:39:34 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/infrastructure/interfaces/mocks [no test files] 02:39:34 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/registry [no test files] 02:39:34 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/utils [no test files] 02:39:34 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 02:39:35 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 4.055s coverage: 69.2% of statements 02:39:35 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 1.044s coverage: 53.2% of statements 02:39:35 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 2.445s coverage: 93.4% of statements 02:39:35 ok github.com/edgexfoundry/edgex-go/internal/core/keeper/controller/http 1.047s coverage: 91.7% of statements 02:39:35 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 02:39:35 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 02:39:36 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 02:39:36 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 02:39:36 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 02:39:36 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 02:39:36 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 02:39:36 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 02:39:36 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 02:39:36 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/postgres [no test files] 02:39:36 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 02:39:36 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 02:39:36 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 02:39:36 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 1.041s coverage: 7.0% of statements 02:39:37 ? github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/postgres/models [no test files] 02:39:37 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.412s coverage: 95.8% of statements 02:39:37 ok github.com/edgexfoundry/edgex-go/internal/io 1.024s coverage: 72.2% of statements 02:39:38 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 02:39:38 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 02:39:38 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/postgres 1.023s coverage: 0.0% of statements [no tests to run] 02:39:39 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 1.043s coverage: 0.8% of statements 02:39:39 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 1.028s coverage: 30.7% of statements 02:39:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 1.025s coverage: 41.7% of statements 02:39:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.021s coverage: 77.8% of statements 02:39:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 1.022s coverage: 94.1% of statements 02:39:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 1.033s coverage: 96.3% of statements 02:39:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 1.026s coverage: 87.5% of statements 02:39:40 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 02:39:40 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 02:39:40 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 02:39:40 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 02:39:40 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 02:39:40 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 02:39:40 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 02:39:40 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 02:39:42 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/postgres [no test files] 02:39:42 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/postgres/config [no test files] 02:39:42 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/postgres/container [no test files] 02:39:42 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 02:39:42 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 02:39:42 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 02:39:42 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 02:39:43 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 02:39:43 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 02:39:44 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 02:39:45 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] 02:39:46 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 02:39:47 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 02:39:47 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 02:39:49 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth [no test files] 02:39:49 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] 02:39:49 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] 02:39:51 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 02:39:51 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 02:39:51 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 02:39:51 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 02:39:51 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 02:39:51 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 02:39:51 ? github.com/edgexfoundry/edgex-go/internal/support/cronscheduler [no test files] 02:39:52 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 13.031s coverage: 94.4% of statements 02:39:52 ? github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/application/action [no test files] 02:39:52 ? github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/config [no test files] 02:39:52 ? github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/container [no test files] 02:39:54 ? github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/infrastructure [no test files] 02:39:54 ? github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/infrastructure/interfaces [no test files] 02:39:54 ? github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/infrastructure/interfaces/mocks [no test files] 02:39:54 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 02:39:55 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 02:39:55 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 02:39:55 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 02:39:55 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 02:39:57 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 02:39:57 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 02:39:57 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 02:39:57 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 02:39:57 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 02:39:57 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 02:39:58 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 02:39:58 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 02:40:04 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 24.270s coverage: 79.9% of statements 02:40:04 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 23.043s coverage: 92.9% of statements 02:40:04 --- FAIL: TestGeneratePostgresScript (0.00s) 02:40:04 postgres_script_test.go:53: 02:40:04 Error Trace: /w/workspace/edgex-go/1/internal/security/bootstrapper/helper/postgres_script_test.go:53 02:40:04 Error: Not equal: 02:40:04 expected: 15 02:40:04 actual : 17 02:40:04 Test: TestGeneratePostgresScript 02:40:04 FAIL 02:40:04 coverage: 66.7% of statements 02:40:04 FAIL github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.024s 02:40:04 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 7.034s coverage: 62.3% of statements 02:40:04 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/postgres/handlers 1.029s coverage: 75.0% of statements 02:40:04 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 12.031s coverage: 87.2% of statements 02:40:04 ok github.com/edgexfoundry/edgex-go/internal/security/common 1.018s coverage: 20.0% of statements 02:40:04 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 1.018s coverage: 100.0% of statements 02:40:04 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 1.066s coverage: 81.8% of statements 02:40:04 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 1.073s coverage: 82.1% of statements 02:40:04 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 1.021s coverage: 86.0% of statements 02:40:04 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.137s coverage: 63.1% of statements 02:40:04 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 1.023s coverage: 100.0% of statements 02:40:04 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 1.039s coverage: 89.4% of statements 02:40:04 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 1.018s coverage: 100.0% of statements 02:40:04 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 1.021s coverage: 73.7% of statements 02:40:04 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 1.017s coverage: 100.0% of statements 02:40:04 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 1.156s coverage: 36.5% of statements 02:40:04 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 1.026s coverage: 89.5% of statements 02:40:04 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 1.026s coverage: 84.8% of statements 02:40:04 ok github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/application 1.029s coverage: 5.2% of statements 02:40:04 ok github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/controller/http 1.064s coverage: 97.1% of statements 02:40:04 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 7.046s coverage: 19.9% of statements 02:40:04 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 1.096s coverage: 95.7% of statements 02:40:04 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 1.028s coverage: 61.8% of statements 02:40:04 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 1.050s coverage: 98.9% of statements 02:40:04 FAIL 02:40:04 make: *** [Makefile:161: unittest] Error 1 [Pipeline] } 02:40:04 $ docker stop --time=1 e397e9c811d0aa806d1008c2922ff372a6511faf602a9887cac5d5b262e7b788 02:40:06 $ docker rm -f --volumes e397e9c811d0aa806d1008c2922ff372a6511faf602a9887cac5d5b262e7b788 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:40:08 Failed in branch amd64 02:41:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9934 in /w/workspace/edgexfoundry_edgex-go_PR-4906 [Pipeline] { [Pipeline] ws 02:41:52 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout 02:41:52 The recommended git tool is: git 02:42:03 using credential edgex-jenkins-ssh 02:42:03 Cloning the remote Git repository 02:42:03 Cloning repository git@github.com:edgexfoundry/edgex-go.git 02:42:03 > git init /w/workspace/edgex-go/1 # timeout=10 02:42:03 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 02:42:03 > git --version # timeout=10 02:42:03 > git --version # 'git version 2.25.1' 02:42:03 using GIT_SSH to set credentials SSH Credentials for GitHub 02:42:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:42:21 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 02:42:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:42:23 Merging remotes/origin/main commit 32d446f668fb740eda029dbdcd51413a8d4322dd into PR head commit 40b4e163d8a5c604fec7c138303a1ba7b7237711 02:42:22 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 02:42:23 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 02:42:23 using GIT_SSH to set credentials SSH Credentials for GitHub 02:42:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4906/head:refs/remotes/origin/PR-4906 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:42:23 > git config core.sparsecheckout # timeout=10 02:42:24 > git checkout -f 40b4e163d8a5c604fec7c138303a1ba7b7237711 # timeout=10 02:42:24 > git remote # timeout=10 02:42:24 > git config --get remote.origin.url # timeout=10 02:42:24 using GIT_SSH to set credentials SSH Credentials for GitHub 02:42:24 > git merge 32d446f668fb740eda029dbdcd51413a8d4322dd # timeout=10 02:42:24 Merge succeeded, producing 5e0a4b98f660e8857d3c02163ac7f9ab3930dc2e 02:42:24 Checking out Revision 5e0a4b98f660e8857d3c02163ac7f9ab3930dc2e (PR-4906) 02:42:24 > git rev-parse HEAD^{commit} # timeout=10 02:42:24 > git config core.sparsecheckout # timeout=10 02:42:24 > git checkout -f 5e0a4b98f660e8857d3c02163ac7f9ab3930dc2e # timeout=10 02:42:28 Commit message: "Merge commit '32d446f668fb740eda029dbdcd51413a8d4322dd' into HEAD" 02:42:28 First time build. Skipping changelog. 02:42:28 > git --version # timeout=10 02:42:28 > git --version # 'git version 2.25.1' 02:42:28 fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:42:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:42:31 % Total % Received % Xferd Average Speed Time Time Time Current 02:42:31 Dload Upload Total Spent Left Speed 02:42:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 97181 0 --:--:-- --:--:-- --:--:-- 97923 [Pipeline] sh 02:42:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:42:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:42:31 + sudo tee /etc/docker/daemon.new 02:42:31 { 02:42:31 "registry-mirrors": [ 02:42:31 "https://nexus3.edgexfoundry.org:10001" 02:42:31 ], 02:42:31 "bip": "10.250.0.254/24", 02:42:31 "hosts": [ 02:42:31 "tcp://0.0.0.0:5555", 02:42:31 "unix:///var/run/docker.sock" 02:42:31 ], 02:42:31 "mtu": 1458, 02:42:31 "selinux-enabled": true, 02:42:31 "seccomp-profile": "/etc/docker/seccomp.json" 02:42:31 } [Pipeline] sh 02:42:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:42:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:42:50 provisioning config files... 02:42:51 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config4383967028382811631tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:42:51 ---> ****-login.sh 02:42:51 nexus3.edgexfoundry.org:10001 02:42:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:42:52 Configure a credential helper to remove this warning. See 02:42:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:42:52 02:42:52 Login Succeeded 02:42:52 nexus3.edgexfoundry.org:10002 02:42:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:42:52 Configure a credential helper to remove this warning. See 02:42:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:42:52 02:42:52 Login Succeeded 02:42:52 nexus3.edgexfoundry.org:10003 02:42:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:42:52 Configure a credential helper to remove this warning. See 02:42:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:42:52 02:42:52 Login Succeeded 02:42:52 nexus3.edgexfoundry.org:10004 02:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:42:53 Configure a credential helper to remove this warning. See 02:42:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:42:53 02:42:53 Login Succeeded 02:42:53 ****.io 02:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:42:54 Configure a credential helper to remove this warning. See 02:42:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:42:54 02:42:54 Login Succeeded 02:42:54 ---> ****-login.sh ends [Pipeline] } 02:42:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh 02:42:54 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo 02:42:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:42:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:42:55 ========================================================= 02:42:55 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 02:42:55 ========================================================= [Pipeline] fileExists [Pipeline] sh 02:42:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 02:42:55 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:42:55 c6b39de5b339: Pulling fs layer 02:42:55 a69c41024577: Pulling fs layer 02:42:55 d6de4b400683: Pulling fs layer 02:42:55 35cb2a7552d0: Pulling fs layer 02:42:55 4f4fb700ef54: Pulling fs layer 02:42:55 464afbd9ba4c: Pulling fs layer 02:42:55 00f215d4a9da: Pulling fs layer 02:42:55 d496ad576159: Pulling fs layer 02:42:55 464afbd9ba4c: Waiting 02:42:55 00f215d4a9da: Waiting 02:42:55 35cb2a7552d0: Waiting 02:42:55 4f4fb700ef54: Waiting 02:42:55 d496ad576159: Waiting 02:42:55 a69c41024577: Download complete 02:42:55 35cb2a7552d0: Verifying Checksum 02:42:55 35cb2a7552d0: Download complete 02:42:55 4f4fb700ef54: Verifying Checksum 02:42:55 4f4fb700ef54: Download complete 02:42:55 464afbd9ba4c: Verifying Checksum 02:42:55 464afbd9ba4c: Download complete 02:42:55 c6b39de5b339: Download complete 02:42:56 d496ad576159: Verifying Checksum 02:42:56 d496ad576159: Download complete 02:42:56 c6b39de5b339: Pull complete 02:42:57 a69c41024577: Pull complete 02:42:57 d6de4b400683: Verifying Checksum 02:42:57 d6de4b400683: Download complete 02:42:59 00f215d4a9da: Verifying Checksum 02:42:59 00f215d4a9da: Download complete 02:43:14 d6de4b400683: Pull complete 02:43:14 35cb2a7552d0: Pull complete 02:43:14 4f4fb700ef54: Pull complete 02:43:14 464afbd9ba4c: Pull complete 02:43:22 00f215d4a9da: Pull complete 02:43:23 d496ad576159: Pull complete 02:43:23 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 02:43:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 02:43:23 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [Pipeline] fileExists [Pipeline] sh 02:43:24 + + docker build -techo ci-base-image-arm64 FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 02:43:24 WORKDIR /edgex 02:43:24 COPY go.mod . 02:43:24 RUN go mod download -f 02:43:24 - . 02:43:25 Sending build context to Docker daemon 3.54MB 02:43:25 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 02:43:25 ---> f246e2811388 02:43:25 Step 2/4 : WORKDIR /edgex 02:43:27 ---> Running in 0726b457eb04 02:43:27 Removing intermediate container 0726b457eb04 02:43:27 ---> 84a3e0b18fdf 02:43:27 Step 3/4 : COPY go.mod . 02:43:28 ---> 5d1a4e69b9cc 02:43:28 Step 4/4 : RUN go mod download 02:43:28 ---> Running in ccab9eb36c48 02:44:36 Removing intermediate container ccab9eb36c48 02:44:36 ---> 3b2538011274 02:44:36 Successfully built 3b2538011274 02:44:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:36 + docker inspect -f . ci-base-image-arm64 02:44:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:44:36 prd-ubuntu20.04-docker-arm64-4c-16g-9934 does not seem to be running inside a container 02:44:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:44:38 $ docker top d1ad0f88a79beea83e8927a23b3cc20ce926198f59ef00f777e773739fd8dd91 -eo pid,comm [Pipeline] { [Pipeline] sh 02:44:39 + go version 02:44:39 go version go1.21.9 linux/arm64 [Pipeline] } 02:44:39 $ docker stop --time=1 d1ad0f88a79beea83e8927a23b3cc20ce926198f59ef00f777e773739fd8dd91 02:44:41 $ docker rm -f --volumes d1ad0f88a79beea83e8927a23b3cc20ce926198f59ef00f777e773739fd8dd91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:42 + docker inspect -f . ci-base-image-arm64 02:44:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:44:42 prd-ubuntu20.04-docker-arm64-4c-16g-9934 does not seem to be running inside a container 02:44:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:44:43 $ docker top cdbf37c9c6f19feadbb163f16741dc98e4e9cf4aeafe7b1518dd5b1899c11744 -eo pid,comm [Pipeline] { [Pipeline] echo 02:44:44 ========================================================= 02:44:44 [edgeXBuildGoParallel] Running Tests and Build... 02:44:44 ========================================================= [Pipeline] sh 02:44:44 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh 02:44:45 + make test 02:44:45 go test -race -coverprofile=coverage.out ./... 02:45:42 ? github.com/edgexfoundry/edgex-go [no test files] 02:49:19 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 02:49:19 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 02:50:16 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 02:50:16 ? github.com/edgexfoundry/edgex-go/cmd/core-keeper [no test files] 02:50:16 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 02:50:16 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 02:50:16 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 02:50:16 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 02:50:17 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-auth [no test files] 02:50:17 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 02:50:17 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 02:50:24 ? github.com/edgexfoundry/edgex-go/cmd/support-cron-scheduler [no test files] 02:50:24 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 02:50:24 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 02:50:24 ? github.com/edgexfoundry/edgex-go/internal [no test files] 02:50:24 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 02:50:34 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 02:50:34 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 02:50:35 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 1.122s coverage: 28.7% of statements 02:50:48 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 1.191s coverage: 97.0% of statements 02:50:53 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 02:50:53 ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] 02:50:53 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 02:50:57 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 4.281s coverage: 69.2% of statements 02:50:59 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 02:50:59 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 02:51:00 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 1.215s coverage: 53.2% of statements 02:51:05 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 02:51:05 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 02:51:05 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 02:51:05 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 02:51:05 ? github.com/edgexfoundry/edgex-go/internal/core/keeper [no test files] 02:51:05 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/application [no test files] 02:51:05 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/constants [no test files] 02:51:05 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/container [no test files] 02:51:05 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/config [no test files] 02:51:15 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/infrastructure/interfaces [no test files] 02:51:15 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/infrastructure/interfaces/mocks [no test files] 02:51:15 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/registry [no test files] 02:51:15 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/utils [no test files] 02:51:15 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 02:51:22 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 17.224s coverage: 93.4% of statements 02:51:22 ok github.com/edgexfoundry/edgex-go/internal/core/keeper/controller/http 1.389s coverage: 91.7% of statements 02:51:23 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 02:51:23 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 02:51:24 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 1.246s coverage: 7.0% of statements 02:51:37 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 02:51:37 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 02:51:37 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 02:51:39 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 02:51:39 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 02:51:39 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 02:51:39 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 02:51:39 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 02:51:39 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 02:51:39 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/postgres [no test files] 02:51:39 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 02:51:39 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 2.949s coverage: 95.8% of statements 02:51:40 ok github.com/edgexfoundry/edgex-go/internal/io 1.095s coverage: 72.2% of statements 02:51:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/postgres/models [no test files] 02:51:46 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/postgres 1.141s coverage: 0.0% of statements [no tests to run] 02:51:52 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 02:51:52 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 02:51:54 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 1.329s coverage: 0.8% of statements 02:51:54 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 1.156s coverage: 30.7% of statements 02:51:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 1.159s coverage: 41.7% of statements 02:51:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.106s coverage: 77.8% of statements 02:51:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 1.092s coverage: 94.1% of statements 02:51:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 1.100s coverage: 96.3% of statements 02:52:02 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 1.109s coverage: 87.5% of statements 02:52:03 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 02:52:05 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 02:52:05 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 02:52:05 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 02:52:08 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 02:52:08 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 02:52:08 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 02:52:08 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 02:52:15 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 13.107s coverage: 94.4% of statements 02:52:15 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/postgres [no test files] 02:52:15 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/postgres/config [no test files] 02:52:15 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/postgres/container [no test files] 02:52:20 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 02:52:20 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 02:52:20 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 02:52:20 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 02:52:24 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 02:52:24 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 02:52:26 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 02:52:28 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 24.980s coverage: 79.9% of statements 02:52:28 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 20.167s coverage: 92.9% of statements 02:52:28 --- FAIL: TestGeneratePostgresScript (0.00s) 02:52:28 postgres_script_test.go:53: 02:52:28 Error Trace: /w/workspace/edgex-go/1/internal/security/bootstrapper/helper/postgres_script_test.go:53 02:52:28 Error: Not equal: 02:52:28 expected: 15 02:52:28 actual : 17 02:52:28 Test: TestGeneratePostgresScript 02:52:28 FAIL 02:52:28 coverage: 66.7% of statements 02:52:28 FAIL github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.087s 02:52:28 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 7.111s coverage: 62.3% of statements 02:52:28 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/postgres/handlers 1.107s coverage: 75.0% of statements 02:52:31 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] 02:52:33 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 02:52:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 12.101s coverage: 87.2% of statements 02:52:34 ok github.com/edgexfoundry/edgex-go/internal/security/common 1.080s coverage: 20.0% of statements 02:52:34 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 1.084s coverage: 100.0% of statements 02:52:34 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 1.317s coverage: 81.8% of statements 02:52:34 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 1.283s coverage: 82.1% of statements 02:52:35 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 1.112s coverage: 86.0% of statements 02:52:39 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 02:52:39 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 02:52:40 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.750s coverage: 63.1% of statements 02:52:40 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 1.103s coverage: 100.0% of statements 02:52:42 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 1.109s coverage: 89.4% of statements 02:52:42 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 1.079s coverage: 100.0% of statements 02:52:42 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth [no test files] 02:52:42 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] 02:52:42 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] 02:52:43 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 1.077s coverage: 73.7% of statements 02:52:43 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 1.066s coverage: 100.0% of statements 02:52:49 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 02:52:49 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 02:52:49 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 02:52:51 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 1.676s coverage: 36.5% of statements 02:52:51 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 1.111s coverage: 89.5% of statements 02:52:51 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 02:52:51 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 02:52:51 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 02:52:51 ? github.com/edgexfoundry/edgex-go/internal/support/cronscheduler [no test files] 02:52:52 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 1.101s coverage: 84.8% of statements 02:52:56 ? github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/application/action [no test files] 02:52:56 ? github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/config [no test files] 02:52:56 ? github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/container [no test files] 02:52:57 ok github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/application 1.128s coverage: 5.2% of statements 02:53:04 ? github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/infrastructure [no test files] 02:53:04 ? github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/infrastructure/interfaces [no test files] 02:53:04 ? github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/infrastructure/interfaces/mocks [no test files] 02:53:04 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 02:53:04 ok github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/controller/http 1.347s coverage: 97.1% of statements 02:53:09 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 02:53:09 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 02:53:09 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 02:53:09 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 02:53:18 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 7.184s coverage: 19.9% of statements 02:53:18 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 02:53:18 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 02:53:18 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 02:53:18 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 02:53:19 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 1.580s coverage: 95.7% of statements 02:53:23 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 02:53:23 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 02:53:24 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 1.183s coverage: 61.8% of statements 02:53:27 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 02:53:27 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 02:53:28 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 1.306s coverage: 98.9% of statements 02:53:28 FAIL 02:53:30 make: *** [Makefile:161: unittest] Error 1 [Pipeline] } 02:53:30 $ docker stop --time=1 cdbf37c9c6f19feadbb163f16741dc98e4e9cf4aeafe7b1518dd5b1899c11744 02:53:32 $ docker rm -f --volumes cdbf37c9c6f19feadbb163f16741dc98e4e9cf4aeafe7b1518dd5b1899c11744 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:53:35 02:53:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:53:36 arm64: Pulling from edgex-lftools-log-publisher 02:53:36 8998bd30e6a1: Pulling fs layer 02:53:36 04944245beec: Pulling fs layer 02:53:36 699f458cf7ca: Pulling fs layer 02:53:36 765212b225bb: Pulling fs layer 02:53:36 f23df028b6ca: Pulling fs layer 02:53:36 d65c8cfc05b1: Pulling fs layer 02:53:36 2437ff75d9bd: Pulling fs layer 02:53:36 765212b225bb: Waiting 02:53:36 f23df028b6ca: Waiting 02:53:36 2437ff75d9bd: Waiting 02:53:36 d65c8cfc05b1: Waiting 02:53:36 04944245beec: Verifying Checksum 02:53:36 04944245beec: Download complete 02:53:36 765212b225bb: Verifying Checksum 02:53:36 765212b225bb: Download complete 02:53:36 f23df028b6ca: Verifying Checksum 02:53:36 f23df028b6ca: Download complete 02:53:36 d65c8cfc05b1: Verifying Checksum 02:53:36 d65c8cfc05b1: Download complete 02:53:36 699f458cf7ca: Verifying Checksum 02:53:36 699f458cf7ca: Download complete 02:53:37 8998bd30e6a1: Verifying Checksum 02:53:37 8998bd30e6a1: Download complete 02:53:39 2437ff75d9bd: Verifying Checksum 02:53:39 2437ff75d9bd: Download complete 02:53:41 8998bd30e6a1: Pull complete 02:53:43 04944245beec: Pull complete 02:53:44 699f458cf7ca: Pull complete 02:53:44 765212b225bb: Pull complete 02:53:45 f23df028b6ca: Pull complete 02:53:46 d65c8cfc05b1: Pull complete 02:54:04 2437ff75d9bd: Pull complete 02:54:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:54:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:54:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:54:04 prd-ubuntu20.04-docker-arm64-4c-16g-9934 does not seem to be running inside a container 02:54:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:54:06 $ docker top 99b2b380336ed055affa8543bf1526c47023be836509cbe1d6f1352924530a40 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:54:07 ---> job-cost.sh 02:54:07 lf-activate-venv: SKIPPING 02:54:07 INFO: No Stack... 02:54:08 INFO: Retrieving Pricing Info for: v3-standard-4 02:54:09 INFO: Archiving Costs [Pipeline] sh 02:54:09 + cat /w/workspace/edgex-go/1/archives/cost.csv 02:54:09 + cut -d, -f6 [Pipeline] lock 02:54:09 Trying to acquire lock on [Resource: jenkins-edgexfoundry-edgex-go-PR-4906-1-stack-cost] 02:54:09 Resource [jenkins-edgexfoundry-edgex-go-PR-4906-1-stack-cost] did not exist. Created. 02:54:09 Lock acquired on [Resource: jenkins-edgexfoundry-edgex-go-PR-4906-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:54:10 + echo total: 0.10999999940395355 [Pipeline] stash 02:54:11 Stashed 1 file(s) [Pipeline] } 02:54:11 Lock released on resource [Resource: jenkins-edgexfoundry-edgex-go-PR-4906-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:54:11 $ docker stop --time=1 99b2b380336ed055affa8543bf1526c47023be836509cbe1d6f1352924530a40 02:54:12 $ docker rm -f --volumes 99b2b380336ed055affa8543bf1526c47023be836509cbe1d6f1352924530a40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:54:13 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:54:15 + [ -d /w/workspace/edgex-go/1/archives ] [Pipeline] libraryResource [Pipeline] sh 02:54:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:54:16 ---> package-listing.sh 02:54:16 ++ facter osfamily 02:54:16 ++ tr '[:upper:]' '[:lower:]' 02:54:17 + OS_FAMILY=debian 02:54:17 + workspace=/w/workspace/edgex-go/1 02:54:17 + START_PACKAGES=/tmp/packages_start.txt 02:54:17 + END_PACKAGES=/tmp/packages_end.txt 02:54:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:54:17 + PACKAGES=/tmp/packages_start.txt 02:54:17 + '[' /w/workspace/edgex-go/1 ']' 02:54:17 + PACKAGES=/tmp/packages_end.txt 02:54:17 + case "${OS_FAMILY}" in 02:54:17 + dpkg -l 02:54:17 + grep '^ii' 02:54:17 + '[' -f /tmp/packages_start.txt ']' 02:54:17 + '[' -f /tmp/packages_end.txt ']' 02:54:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:54:17 + '[' /w/workspace/edgex-go/1 ']' 02:54:17 + mkdir -p /w/workspace/edgex-go/1/archives/ 02:54:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 02:54:17 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 02:54:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:54:18 02:54:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:54:18 latest: Pulling from edgex-lftools-log-publisher 02:54:18 5eb5b503b376: Pulling fs layer 02:54:18 5c69ac0246d0: Pulling fs layer 02:54:18 ec43610c2a17: Pulling fs layer 02:54:18 3a2ae6a8a46f: Pulling fs layer 02:54:18 33b1e0a273af: Pulling fs layer 02:54:18 5d3b04190fa2: Pulling fs layer 02:54:18 2f39f015ded8: Pulling fs layer 02:54:18 5d3b04190fa2: Waiting 02:54:18 3a2ae6a8a46f: Waiting 02:54:18 33b1e0a273af: Waiting 02:54:18 5c69ac0246d0: Verifying Checksum 02:54:18 5c69ac0246d0: Download complete 02:54:18 3a2ae6a8a46f: Verifying Checksum 02:54:18 3a2ae6a8a46f: Download complete 02:54:18 33b1e0a273af: Verifying Checksum 02:54:18 33b1e0a273af: Download complete 02:54:18 5d3b04190fa2: Verifying Checksum 02:54:18 5d3b04190fa2: Download complete 02:54:18 ec43610c2a17: Verifying Checksum 02:54:18 ec43610c2a17: Download complete 02:54:18 5eb5b503b376: Verifying Checksum 02:54:18 5eb5b503b376: Download complete 02:54:19 2f39f015ded8: Download complete 02:54:20 5eb5b503b376: Pull complete 02:54:20 5c69ac0246d0: Pull complete 02:54:20 ec43610c2a17: Pull complete 02:54:20 3a2ae6a8a46f: Pull complete 02:54:20 33b1e0a273af: Pull complete 02:54:20 5d3b04190fa2: Pull complete 02:54:25 2f39f015ded8: Pull complete 02:54:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:54:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:54:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:54:25 prd-ubuntu20.04-docker-8c-8g-9931 does not seem to be running inside a container 02:54:25 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:54:31 $ docker top c0554868eebe766593930f0548d1abf50ac862e87c7f6da51ed602a41863b057 -eo pid,comm [Pipeline] { [Pipeline] sh 02:54:31 + touch /tmp/pre-build-complete [Pipeline] sh 02:54:31 + mkdir -p /var/log/sysstat [Pipeline] sh 02:54:32 + ls /var/log/sa-host 02:54:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:54:32 provisioning config files... 02:54:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config2662818697081375483tmp [Pipeline] { [Pipeline] echo 02:54:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:54:32 ---> create-netrc.sh [Pipeline] } 02:54:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:54:33 ---> python-tools-install.sh [Pipeline] echo 02:54:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:54:33 ---> sudo-logs.sh 02:54:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:54:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:54:34 ---> job-cost.sh 02:54:34 lf-activate-venv: SKIPPING 02:54:34 DEBUG: total: 0.10999999940395355 02:54:34 INFO: Retrieving Stack Cost... 02:54:34 INFO: Retrieving Pricing Info for: v3-standard-8 02:54:35 INFO: Archiving Costs [Pipeline] echo 02:54:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:54:35 ---> logs-deploy.sh 02:54:35 lf-activate-venv: SKIPPING 02:54:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4906/1 02:54:35 INFO: archiving workspace using pattern(s): 02:54:36 Archives upload complete. 02:54:36 INFO: archiving logs to Nexus