Pull request #4343 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/edgex-go Loading trusted files from base branch main at 81c92a7234808790c4cb0e8fcc6e328e78abdf11 rather than de2c7739a97a3d8d6d7cfcfe36bb878179da86d7 Obtained Jenkinsfile from 81c92a7234808790c4cb0e8fcc6e328e78abdf11 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-ssh16779323712049470676.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh2036779940001088229.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-4343/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-4343/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12839300309678826304.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-4343/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6756402921857021278.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh3219317122523338414.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-4343/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-4343/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2185300679984724612.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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/v2], buildSnap:false] ========================================================= [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.18 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/v2 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 Running on prd-ubuntu20.04-docker-8c-8g-5322 in /w/workspace/edgexfoundry_edgex-go_PR-4343 [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/4343/head:refs/remotes/origin/PR-4343 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 81c92a7234808790c4cb0e8fcc6e328e78abdf11 into PR head commit de2c7739a97a3d8d6d7cfcfe36bb878179da86d7 Merge succeeded, producing de2c7739a97a3d8d6d7cfcfe36bb878179da86d7 Checking out Revision de2c7739a97a3d8d6d7cfcfe36bb878179da86d7 (PR-4343) > git config core.sparsecheckout # timeout=10 > git checkout -f de2c7739a97a3d8d6d7cfcfe36bb878179da86d7 # 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 81c92a7234808790c4cb0e8fcc6e328e78abdf11 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f de2c7739a97a3d8d6d7cfcfe36bb878179da86d7 # timeout=10 Commit message: "feat: Update Device Profile System Event Owner" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:37:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:37:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:37:43 ========================================================= 10:37:43 EdgeX Global Pipelines Version Info 10:37:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:37:44 ------------------- 10:37:44 stable info: 10:37:44 ------------------- 10:37:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:37:44 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 10:37:44 Message: update stable to v1.0.244 10:37:44 ------------------- 10:37:44 experimental info: 10:37:44 ------------------- 10:37:44 Commited By: **** collab-it+edgex@linuxfoundation.org 10:37:44 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 10:37:44 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:37:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 10:37:44 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 10:37:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:37:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:37:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:37:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 10:37:45 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:37:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 10:37:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 10:37:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 10:37:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:37:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:37:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:37:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:37:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:37:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:37:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:37:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:37:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 10:37:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 10:37:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:37:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:37:45 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:37:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4343 [Pipeline] echo 10:37:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4343 [Pipeline] echo 10:37:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4343 [Pipeline] echo 10:37:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = de2c7739a97a3d8d6d7cfcfe36bb878179da86d7 [Pipeline] echo 10:37:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = de2c773 [Pipeline] echo 10:37:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:37:46 provisioning config files... 10:37:46 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config11201447833846324777tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:37:46 ---> docker-login.sh 10:37:46 nexus3.edgexfoundry.org:10001 10:37:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:37:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:37:46 Configure a credential helper to remove this warning. See 10:37:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:37:46 10:37:46 Login Succeeded 10:37:46 nexus3.edgexfoundry.org:10002 10:37:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:37:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:37:46 Configure a credential helper to remove this warning. See 10:37:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:37:46 10:37:46 Login Succeeded 10:37:46 nexus3.edgexfoundry.org:10003 10:37:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:37:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:37:47 Configure a credential helper to remove this warning. See 10:37:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:37:47 10:37:47 Login Succeeded 10:37:47 nexus3.edgexfoundry.org:10004 10:37:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:37:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:37:47 Configure a credential helper to remove this warning. See 10:37:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:37:47 10:37:47 Login Succeeded 10:37:47 docker.io 10:37:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:37:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:37:47 Configure a credential helper to remove this warning. See 10:37:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:37:47 10:37:47 Login Succeeded 10:37:47 ---> docker-login.sh ends [Pipeline] } 10:37:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:37:47 + ls cmd/core-command/Dockerfile cmd/core-common-config-bootstrapper/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/security-spiffe-token-provider/Dockerfile cmd/security-spire-agent/Dockerfile cmd/security-spire-config/Dockerfile cmd/security-spire-server/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile 10:37:47 + dirname cmd/core-command/Dockerfile 10:37:47 + cut -d/ -f2 10:37:47 + echo core-command,cmd/core-command/Dockerfile 10:37:47 + dirname cmd/core-common-config-bootstrapper/Dockerfile 10:37:47 + cut -d/ -f2 10:37:47 + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile 10:37:47 + dirname cmd/core-data/Dockerfile 10:37:47 + cut -d/ -f2 10:37:47 + echo core-data,cmd/core-data/Dockerfile 10:37:47 + + cut -d/ -f2 10:37:47 dirname cmd/core-metadata/Dockerfile 10:37:47 + echo core-metadata,cmd/core-metadata/Dockerfile 10:37:47 + dirname cmd/security-bootstrapper/Dockerfile 10:37:47 + cut -d/ -f2 10:37:47 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 10:37:47 + dirname cmd/security-proxy-setup/Dockerfile 10:37:47 + cut -d/ -f2 10:37:47 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 10:37:47 + dirname cmd/security-secretstore-setup/Dockerfile 10:37:47 + cut -d/ -f2 10:37:47 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 10:37:47 + dirname cmd/security-spiffe-token-provider/Dockerfile 10:37:47 + cut -d/ -f2 10:37:47 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 10:37:47 + dirname cmd/security-spire-agent/Dockerfile 10:37:47 + cut -d/ -f2 10:37:47 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 10:37:47 + dirname cmd/security-spire-config/Dockerfile 10:37:47 + cut -d/ -f2 10:37:47 + echo security-spire-config,cmd/security-spire-config/Dockerfile 10:37:47 + dirname cmd/security-spire-server/Dockerfile 10:37:47 + cut -d/ -f2 10:37:47 + echo security-spire-server,cmd/security-spire-server/Dockerfile 10:37:47 + dirname cmd/support-notifications/Dockerfile 10:37:47 + cut -d/ -f2 10:37:47 + echo support-notifications,cmd/support-notifications/Dockerfile 10:37:47 + dirname cmd/support-scheduler/Dockerfile 10:37:47 + cut -d/ -f2 10:37:47 + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo 10:37:48 Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/Dockerfile], [image:core-common-config-bootstrapper, dockerfile:cmd/core-common-config-bootstrapper/Dockerfile], [image:core-data, dockerfile:cmd/core-data/Dockerfile], [image:core-metadata, dockerfile:cmd/core-metadata/Dockerfile], [image:security-bootstrapper, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:security-proxy-setup, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:security-secretstore-setup, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:security-spiffe-token-provider, dockerfile:cmd/security-spiffe-token-provider/Dockerfile], [image:security-spire-agent, dockerfile:cmd/security-spire-agent/Dockerfile], [image:security-spire-config, dockerfile:cmd/security-spire-config/Dockerfile], [image:security-spire-server, dockerfile:cmd/security-spire-server/Dockerfile], [image:support-notifications, dockerfile:cmd/support-notifications/Dockerfile], [image:support-scheduler, dockerfile:cmd/support-scheduler/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:37:48 + git rev-list -1 --merges de2c7739a97a3d8d6d7cfcfe36bb878179da86d7~1..de2c7739a97a3d8d6d7cfcfe36bb878179da86d7 [Pipeline] echo 10:37:48 -----------> git rev-list -1 --merges de2c7739a97a3d8d6d7cfcfe36bb878179da86d7~1..de2c7739a97a3d8d6d7cfcfe36bb878179da86d7 de2c7739a97a3d8d6d7cfcfe36bb878179da86d7 [false] [Pipeline] sh 10:37:48 + git log --format=format:%s -1 de2c7739a97a3d8d6d7cfcfe36bb878179da86d7 [Pipeline] echo 10:37:48 ========================================================= 10:37:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:37:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 10:37:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:37:49 + grep -v github /etc/ssh/ssh_known_hosts 10:37:49 + [ -e /tmp/ssh_known_hosts ] 10:37:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:37:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:37:49 + sudo tee -a /etc/ssh/ssh_known_hosts 10:37:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:37:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:37:49 10:37:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:37:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:37:50 0.1.4: Pulling from edgex-devops/py-git-semver 10:37:50 b85a868b505f: Pulling fs layer 10:37:50 e2be974225ed: Pulling fs layer 10:37:50 339a4e72a1f5: Pulling fs layer 10:37:50 988bab9f4d93: Pulling fs layer 10:37:50 1469e6f7b9e6: Pulling fs layer 10:37:50 eaf3925da568: Pulling fs layer 10:37:50 bab4dde63d76: Pulling fs layer 10:37:50 bde34c3a00c8: Pulling fs layer 10:37:50 988bab9f4d93: Waiting 10:37:50 eaf3925da568: Waiting 10:37:50 1469e6f7b9e6: Waiting 10:37:50 bab4dde63d76: Waiting 10:37:50 b352a97aabf1: Pulling fs layer 10:37:50 4872d77fe225: Pulling fs layer 10:37:50 5851b861e8e6: Pulling fs layer 10:37:50 bde34c3a00c8: Waiting 10:37:50 5851b861e8e6: Waiting 10:37:50 b352a97aabf1: Waiting 10:37:50 4872d77fe225: Waiting 10:37:50 988bab9f4d93: Verifying Checksum 10:37:50 339a4e72a1f5: Verifying Checksum 10:37:50 339a4e72a1f5: Download complete 10:37:50 1469e6f7b9e6: Verifying Checksum 10:37:50 1469e6f7b9e6: Download complete 10:37:50 bde34c3a00c8: Verifying Checksum 10:37:50 bde34c3a00c8: Download complete 10:37:50 b352a97aabf1: Download complete 10:37:50 4872d77fe225: Verifying Checksum 10:37:50 4872d77fe225: Download complete 10:37:50 5851b861e8e6: Download complete 10:37:50 b85a868b505f: Verifying Checksum 10:37:50 b85a868b505f: Download complete 10:37:51 bab4dde63d76: Verifying Checksum 10:37:51 bab4dde63d76: Download complete 10:37:52 b85a868b505f: Pull complete 10:37:52 e2be974225ed: Pull complete 10:37:52 339a4e72a1f5: Pull complete 10:37:52 988bab9f4d93: Pull complete 10:37:53 1469e6f7b9e6: Pull complete 10:37:53 eaf3925da568: Pull complete 10:37:55 bab4dde63d76: Pull complete 10:37:55 bde34c3a00c8: Pull complete 10:37:55 b352a97aabf1: Pull complete 10:37:55 4872d77fe225: Pull complete 10:37:55 5851b861e8e6: Pull complete 10:37:55 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:37:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:37:55 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:37:55 prd-ubuntu20.04-docker-8c-8g-5322 does not seem to be running inside a container 10:37:55 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:37:57 $ docker top 1e8fd371bef5b29d0667244d8e73aa95004d2fdafd029848a1c87e00ab6e1efd -eo pid,comm 10:37:57 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:37:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:37:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:37:58 [ssh-agent] Looking for ssh-agent implementation... 10:37:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:37:58 $ docker exec 1e8fd371bef5b29d0667244d8e73aa95004d2fdafd029848a1c87e00ab6e1efd ssh-agent 10:37:58 SSH_AUTH_SOCK=/tmp/ssh-xJRtXVdlgyFL/agent.31 10:37:58 SSH_AGENT_PID=37 10:37:58 Running ssh-add (command line suppressed) 10:37:58 Identity added: /w/workspace/edgex-go/1@tmp/private_key_11021653698588943116.key (/w/workspace/edgex-go/1@tmp/private_key_11021653698588943116.key) 10:37:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:37:58 + git tag --points-at HEAD [Pipeline] } 10:37:58 $ docker exec --env ******** --env ******** 1e8fd371bef5b29d0667244d8e73aa95004d2fdafd029848a1c87e00ab6e1efd ssh-agent -k 10:37:58 unset SSH_AUTH_SOCK; 10:37:58 unset SSH_AGENT_PID; 10:37:58 echo Agent pid 37 killed; 10:37:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:37:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:37:58 [ssh-agent] Looking for ssh-agent implementation... 10:37:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:37:59 $ docker exec 1e8fd371bef5b29d0667244d8e73aa95004d2fdafd029848a1c87e00ab6e1efd ssh-agent 10:37:59 SSH_AUTH_SOCK=/tmp/ssh-hzU0pYqUmaWi/agent.69 10:37:59 SSH_AGENT_PID=75 10:37:59 Running ssh-add (command line suppressed) 10:37:59 Identity added: /w/workspace/edgex-go/1@tmp/private_key_4973598130870651357.key (/w/workspace/edgex-go/1@tmp/private_key_4973598130870651357.key) 10:37:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:37:59 + git semver init 10:37:59 2023-02-10 10:37:59,870 [run_init] DEBUG init version:0.0.0 force:False 10:37:59 2023-02-10 10:37:59,871 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/1/.semver 10:37:59 2023-02-10 10:37:59,871 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/1/.semver 10:37:59 2023-02-10 10:37:59,871 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/edgex-go.git', '/w/workspace/edgex-go/1/.semver'], cwd=/w/workspace/edgex-go/1, universal_newlines=False, shell=None, istream=None) 10:38:06 2023-02-10 10:38:05,303 [append_file] DEBUG append to file:/w/workspace/edgex-go/1/.git/info/exclude 10:38:06 2023-02-10 10:38:05,304 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/1/.semver/PR-4343 with force:False 10:38:06 2023-02-10 10:38:05,304 [write_file] DEBUG write to file:/w/workspace/edgex-go/1/.semver/PR-4343 10:38:06 2023-02-10 10:38:05,308 [execute] INFO git cat-file --batch-check 10:38:06 2023-02-10 10:38:05,308 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 10:38:06 2023-02-10 10:38:05,315 [execute] INFO git cat-file --batch 10:38:06 2023-02-10 10:38:05,316 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 10:38:06 2023-02-10 10:38:05,322 [read_version] DEBUG read version from /w/workspace/edgex-go/1/.semver/PR-4343 10:38:06 0.0.0 [Pipeline] } 10:38:06 $ docker exec --env ******** --env ******** 1e8fd371bef5b29d0667244d8e73aa95004d2fdafd029848a1c87e00ab6e1efd ssh-agent -k 10:38:06 unset SSH_AUTH_SOCK; 10:38:06 unset SSH_AGENT_PID; 10:38:06 echo Agent pid 75 killed; 10:38:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:38:07 + git semver [Pipeline] } 10:38:07 $ docker stop --time=1 1e8fd371bef5b29d0667244d8e73aa95004d2fdafd029848a1c87e00ab6e1efd 10:38:08 $ docker rm -f --volumes 1e8fd371bef5b29d0667244d8e73aa95004d2fdafd029848a1c87e00ab6e1efd [Pipeline] // withDockerContainer [Pipeline] sh 10:38:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:38:09 Stashed 1 file(s) [Pipeline] echo 10:38:09 [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 10:38:10 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo 10:38:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:38:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:38:10 ========================================================= 10:38:10 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 10:38:10 ========================================================= [Pipeline] fileExists [Pipeline] sh 10:38:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 10:38:10 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 10:38:10 213ec9aee27d: Pulling fs layer 10:38:10 4583459ba037: Pulling fs layer 10:38:10 93c1e223e6f2: Pulling fs layer 10:38:10 53926ce57604: Pulling fs layer 10:38:10 21b2b0c7a3f4: Pulling fs layer 10:38:10 22ff95d597cd: Pulling fs layer 10:38:10 12d6caf4c0d1: Pulling fs layer 10:38:10 96b7cbca73a9: Pulling fs layer 10:38:10 a7acece74701: Pulling fs layer 10:38:10 53926ce57604: Waiting 10:38:10 21b2b0c7a3f4: Waiting 10:38:10 22ff95d597cd: Waiting 10:38:10 12d6caf4c0d1: Waiting 10:38:10 96b7cbca73a9: Waiting 10:38:10 a7acece74701: Waiting 10:38:10 93c1e223e6f2: Download complete 10:38:10 4583459ba037: Download complete 10:38:10 21b2b0c7a3f4: Verifying Checksum 10:38:10 21b2b0c7a3f4: Download complete 10:38:10 22ff95d597cd: Download complete 10:38:10 213ec9aee27d: Verifying Checksum 10:38:10 213ec9aee27d: Download complete 10:38:10 12d6caf4c0d1: Download complete 10:38:10 213ec9aee27d: Pull complete 10:38:11 4583459ba037: Pull complete 10:38:11 93c1e223e6f2: Pull complete 10:38:12 a7acece74701: Verifying Checksum 10:38:12 a7acece74701: Download complete 10:38:12 53926ce57604: Verifying Checksum 10:38:12 53926ce57604: Download complete 10:38:12 96b7cbca73a9: Verifying Checksum 10:38:12 96b7cbca73a9: Download complete 10:38:15 53926ce57604: Pull complete 10:38:15 21b2b0c7a3f4: Pull complete 10:38:15 22ff95d597cd: Pull complete 10:38:15 12d6caf4c0d1: Pull complete 10:38:17 96b7cbca73a9: Pull complete 10:38:18 a7acece74701: Pull complete 10:38:18 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 10:38:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 10:38:18 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] fileExists [Pipeline] sh 10:38:19 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 10:38:19 WORKDIR /edgex 10:38:19 COPY go.mod . 10:38:19 RUN go mod download 10:38:19 + docker build -t ci-base-image-x86_64 -f - . 10:38:19 Sending build context to Docker daemon 170.2MB 10:38:19 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 10:38:19 ---> db6d94c90886 10:38:19 Step 2/4 : WORKDIR /edgex 10:38:24 Still waiting to schedule task 10:38:24 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:38:25 ---> Running in f47183d8bb30 10:38:25 Removing intermediate container f47183d8bb30 10:38:25 ---> 37dec55b1f03 10:38:25 Step 3/4 : COPY go.mod . 10:38:25 ---> 34ad9537107c 10:38:25 Step 4/4 : RUN go mod download 10:38:25 ---> Running in 9b47328c555e 10:38:39 Removing intermediate container 9b47328c555e 10:38:39 ---> a14cce7390be 10:38:39 Successfully built a14cce7390be 10:38:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:38:40 + docker inspect -f . ci-base-image-x86_64 10:38:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:38:40 prd-ubuntu20.04-docker-8c-8g-5322 does not seem to be running inside a container 10:38:40 $ 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 ******** ci-base-image-x86_64 cat 10:38:40 $ docker top 07bb32fae01a53e38e73025c061c8e5c418d074a3a11c733858bb719eb157545 -eo pid,comm [Pipeline] { [Pipeline] sh 10:38:41 + go version 10:38:41 go version go1.18.7 linux/amd64 [Pipeline] } 10:38:41 $ docker stop --time=1 07bb32fae01a53e38e73025c061c8e5c418d074a3a11c733858bb719eb157545 10:38:42 $ docker rm -f --volumes 07bb32fae01a53e38e73025c061c8e5c418d074a3a11c733858bb719eb157545 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:38:43 + docker inspect -f . ci-base-image-x86_64 10:38:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:38:43 prd-ubuntu20.04-docker-8c-8g-5322 does not seem to be running inside a container 10:38:43 $ 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 ******** ci-base-image-x86_64 cat 10:38:43 $ docker top 4e12c1e90356d16b7d6161d6604fd1952fb73de27fbaee9d3ff2471026c53010 -eo pid,comm [Pipeline] { [Pipeline] echo 10:38:43 ========================================================= 10:38:43 [edgeXBuildGoParallel] Running Tests and Build... 10:38:43 ========================================================= [Pipeline] sh 10:38:44 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh 10:38:44 + make test 10:38:44 go test -race -coverprofile=coverage.out ./... 10:38:51 ? github.com/edgexfoundry/edgex-go [no test files] 10:39:03 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 10:39:03 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 10:39:03 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 10:39:03 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 10:39:03 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 10:39:03 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 10:39:03 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 10:39:03 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 10:39:03 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 10:39:03 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 10:39:03 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 10:39:03 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 10:39:03 ? github.com/edgexfoundry/edgex-go/internal [no test files] 10:39:03 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 10:39:03 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.062s coverage: 28.7% of statements 10:39:03 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 10:39:03 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 10:39:03 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.084s coverage: 98.5% of statements 10:39:06 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 3.118s coverage: 73.2% of statements 10:39:06 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 10:39:06 ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] 10:39:06 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 10:39:06 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.083s coverage: 54.0% of statements 10:39:06 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 10:39:06 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 10:39:07 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 3.265s coverage: 89.2% of statements 10:39:07 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 10:39:07 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 10:39:07 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 10:39:07 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 10:39:07 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 10:39:07 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.065s coverage: 3.7% of statements 10:39:07 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 10:39:07 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 10:39:07 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.465s coverage: 95.6% of statements 10:39:07 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 10:39:07 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 10:39:07 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 10:39:07 ok github.com/edgexfoundry/edgex-go/internal/io 0.075s coverage: 72.2% of statements 10:39:07 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 10:39:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 10:39:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 10:39:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 10:39:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 10:39:07 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.082s coverage: 65.9% of statements 10:39:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 10:39:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 10:39:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 10:39:07 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.051s coverage: 0.9% of statements 10:39:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 10:39:07 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.073s coverage: 29.6% of statements 10:39:07 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 10:39:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.060s coverage: 47.1% of statements 10:39:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.060s coverage: 82.9% of statements 10:39:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.070s coverage: 94.1% of statements 10:39:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.075s coverage: 96.3% of statements 10:39:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.052s coverage: 87.5% of statements 10:39:17 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.069s coverage: 94.4% of statements 10:39:17 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.076s coverage: 44.8% of statements 10:39:18 flag provided but not defined: -invalid 10:39:18 Usage of setupRegistryACL: 10:39:18 -configDir string 10:39:18 10:39:18 --- FAIL: TestExecute (0.00s) 10:39:18 --- FAIL: TestExecute/Good:setupRegistryACL_with_ok_response_from_server (1.01s) 10:39:18 command_test.go:181: 10:39:18 Error Trace: /w/workspace/edgex-go/1/internal/security/bootstrapper/command/setupacl/command_test.go:181 10:39:18 Error: Received unexpected error: 10:39:18 failed to configure Consul access: Post "http://127.0.0.1:37681/v1/consul/config/access": EOF 10:39:18 Test: TestExecute/Good:setupRegistryACL_with_ok_response_from_server 10:39:18 FAIL 10:39:18 coverage: 79.9% of statements 10:39:18 FAIL github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.245s 10:39:18 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 10:39:26 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.081s coverage: 92.9% of statements 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 10:39:26 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.030s coverage: 64.4% of statements 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 10:39:26 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.067s coverage: 86.9% of statements 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 10:39:26 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.065s coverage: 87.2% of statements 10:39:26 ok github.com/edgexfoundry/edgex-go/internal/security/common 0.040s coverage: 20.0% of statements 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 10:39:26 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.053s coverage: 100.0% of statements 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 10:39:26 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.072s coverage: 77.4% of statements 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 10:39:26 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.072s coverage: 80.0% of statements 10:39:26 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.078s coverage: 87.2% of statements 10:39:26 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.257s coverage: 91.2% of statements 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 10:39:26 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.201s coverage: 63.1% of statements 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 10:39:26 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.054s coverage: 100.0% of statements 10:39:26 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.032s coverage: 89.4% of statements 10:39:26 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.031s coverage: 100.0% of statements 10:39:26 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.032s coverage: 73.7% of statements 10:39:26 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.019s coverage: 100.0% of statements 10:39:26 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.285s coverage: 65.3% of statements 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 10:39:26 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.181s coverage: 41.0% of statements 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 10:39:26 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.115s coverage: 89.5% of statements 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 10:39:26 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.076s coverage: 84.8% of statements 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 10:39:26 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.078s coverage: 17.7% of statements 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 10:39:26 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.137s coverage: 92.3% of statements 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 10:39:26 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.054s coverage: 63.2% of statements 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 10:39:26 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.105s coverage: 97.7% of statements 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 10:39:26 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 10:39:26 FAIL 10:39:26 make: *** [Makefile:143: unittest] Error 1 [Pipeline] } 10:39:26 $ docker stop --time=1 4e12c1e90356d16b7d6161d6604fd1952fb73de27fbaee9d3ff2471026c53010 10:39:28 $ docker rm -f --volumes 4e12c1e90356d16b7d6161d6604fd1952fb73de27fbaee9d3ff2471026c53010 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:39:29 Failed in branch amd64 10:39:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5323 in /w/workspace/edgexfoundry_edgex-go_PR-4343 [Pipeline] { [Pipeline] ws 10:39:56 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout 10:39:56 The recommended git tool is: git 10:40:00 using credential edgex-jenkins-ssh 10:40:00 Cloning the remote Git repository 10:40:01 Cloning repository git@github.com:edgexfoundry/edgex-go.git 10:40:01 > git init /w/workspace/edgex-go/1 # timeout=10 10:40:01 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 10:40:01 > git --version # timeout=10 10:40:01 > git --version # 'git version 2.25.1' 10:40:01 using GIT_SSH to set credentials SSH Credentials for GitHub 10:40:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:40:17 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 10:40:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:40:19 Merging remotes/origin/main commit 81c92a7234808790c4cb0e8fcc6e328e78abdf11 into PR head commit de2c7739a97a3d8d6d7cfcfe36bb878179da86d7 10:40:20 Merge succeeded, producing de2c7739a97a3d8d6d7cfcfe36bb878179da86d7 10:40:20 Checking out Revision de2c7739a97a3d8d6d7cfcfe36bb878179da86d7 (PR-4343) 10:40:18 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 10:40:18 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 10:40:18 using GIT_SSH to set credentials SSH Credentials for GitHub 10:40:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4343/head:refs/remotes/origin/PR-4343 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:40:19 > git config core.sparsecheckout # timeout=10 10:40:19 > git checkout -f de2c7739a97a3d8d6d7cfcfe36bb878179da86d7 # timeout=10 10:40:20 > git remote # timeout=10 10:40:20 > git config --get remote.origin.url # timeout=10 10:40:20 using GIT_SSH to set credentials SSH Credentials for GitHub 10:40:20 > git merge 81c92a7234808790c4cb0e8fcc6e328e78abdf11 # timeout=10 10:40:20 > git rev-parse HEAD^{commit} # timeout=10 10:40:20 > git config core.sparsecheckout # timeout=10 10:40:20 > git checkout -f de2c7739a97a3d8d6d7cfcfe36bb878179da86d7 # timeout=10 10:40:23 Commit message: "feat: Update Device Profile System Event Owner" 10:40:23 > git --version # timeout=10 10:40:23 > git --version # 'git version 2.25.1' 10:40:23 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:40:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:40:25 % Total % Received % Xferd Average Speed Time Time Time Current 10:40:25 Dload Upload Total Spent Left Speed 10:40:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 239k 0 --:--:-- --:--:-- --:--:-- 239k [Pipeline] sh 10:40:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:40:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:40:26 + sudo tee /etc/docker/daemon.new 10:40:26 { 10:40:26 "registry-mirrors": [ 10:40:26 "https://nexus3.edgexfoundry.org:10001" 10:40:26 ], 10:40:26 "bip": "10.250.0.254/24", 10:40:26 "hosts": [ 10:40:26 "tcp://0.0.0.0:5555", 10:40:26 "unix:///var/run/docker.sock" 10:40:26 ], 10:40:26 "mtu": 1458, 10:40:26 "selinux-enabled": true, 10:40:26 "seccomp-profile": "/etc/docker/seccomp.json" 10:40:26 } [Pipeline] sh 10:40:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:40:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:40:45 provisioning config files... 10:40:45 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config513166907749557998tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:40:45 ---> docker-login.sh 10:40:45 nexus3.edgexfoundry.org:10001 10:40:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:40:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:40:46 Configure a credential helper to remove this warning. See 10:40:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:40:46 10:40:46 Login Succeeded 10:40:46 nexus3.edgexfoundry.org:10002 10:40:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:40:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:40:46 Configure a credential helper to remove this warning. See 10:40:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:40:46 10:40:46 Login Succeeded 10:40:47 nexus3.edgexfoundry.org:10003 10:40:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:40:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:40:47 Configure a credential helper to remove this warning. See 10:40:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:40:47 10:40:47 Login Succeeded 10:40:47 nexus3.edgexfoundry.org:10004 10:40:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:40:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:40:47 Configure a credential helper to remove this warning. See 10:40:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:40:47 10:40:47 Login Succeeded 10:40:47 docker.io 10:40:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:40:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:40:48 Configure a credential helper to remove this warning. See 10:40:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:40:48 10:40:48 Login Succeeded 10:40:48 ---> docker-login.sh ends [Pipeline] } 10:40:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh 10:40:48 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo 10:40:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:40:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:40:48 ========================================================= 10:40:48 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 10:40:48 ========================================================= [Pipeline] fileExists [Pipeline] sh 10:40:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 10:40:49 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:40:49 9b18e9b68314: Pulling fs layer 10:40:49 35d82f9e3411: Pulling fs layer 10:40:49 e16973657156: Pulling fs layer 10:40:49 fc693d55d65f: Pulling fs layer 10:40:49 7e9fc2657dce: Pulling fs layer 10:40:49 dda99020689f: Pulling fs layer 10:40:49 db1c61fa0a46: Pulling fs layer 10:40:49 891c053d2c06: Pulling fs layer 10:40:49 fc693d55d65f: Waiting 10:40:49 7e9fc2657dce: Waiting 10:40:49 dda99020689f: Waiting 10:40:49 db1c61fa0a46: Waiting 10:40:49 891c053d2c06: Waiting 10:40:49 e16973657156: Verifying Checksum 10:40:49 e16973657156: Download complete 10:40:49 35d82f9e3411: Verifying Checksum 10:40:49 35d82f9e3411: Download complete 10:40:49 7e9fc2657dce: Verifying Checksum 10:40:49 7e9fc2657dce: Download complete 10:40:49 dda99020689f: Verifying Checksum 10:40:49 dda99020689f: Download complete 10:40:49 9b18e9b68314: Verifying Checksum 10:40:50 9b18e9b68314: Pull complete 10:40:50 891c053d2c06: Verifying Checksum 10:40:50 891c053d2c06: Download complete 10:40:51 35d82f9e3411: Pull complete 10:40:51 e16973657156: Pull complete 10:40:51 db1c61fa0a46: Verifying Checksum 10:40:51 db1c61fa0a46: Download complete 10:40:52 fc693d55d65f: Download complete 10:41:04 fc693d55d65f: Pull complete 10:41:04 7e9fc2657dce: Pull complete 10:41:04 dda99020689f: Pull complete 10:41:11 db1c61fa0a46: Pull complete 10:41:12 891c053d2c06: Pull complete 10:41:12 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 10:41:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 10:41:12 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] fileExists [Pipeline] sh 10:41:13 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 10:41:13 WORKDIR /edgex 10:41:13 COPY go.mod . 10:41:13 RUN go mod download 10:41:13 + docker build -t ci-base-image-arm64 -f - . 10:41:13 Sending build context to Docker daemon 3.103MB 10:41:13 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 10:41:13 ---> f96f9c87975a 10:41:13 Step 2/4 : WORKDIR /edgex 10:41:15 ---> Running in 79561b57892f 10:41:15 Removing intermediate container 79561b57892f 10:41:15 ---> f68778a14072 10:41:15 Step 3/4 : COPY go.mod . 10:41:16 ---> 9d4ea25a73df 10:41:16 Step 4/4 : RUN go mod download 10:41:16 ---> Running in 4a931db5726a 10:41:48 Removing intermediate container 4a931db5726a 10:41:48 ---> 7c3297d975ce 10:41:48 Successfully built 7c3297d975ce 10:41:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:49 + docker inspect -f . ci-base-image-arm64 10:41:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:41:49 prd-ubuntu20.04-docker-arm64-4c-16g-5323 does not seem to be running inside a container 10:41:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:41:50 $ docker top aa935bd56097828cd8e919122894f8a7fa0d34e0d62c7ed2626355de5825b2b5 -eo pid,comm [Pipeline] { [Pipeline] sh 10:41:51 + go version 10:41:51 go version go1.18.7 linux/arm64 [Pipeline] } 10:41:51 $ docker stop --time=1 aa935bd56097828cd8e919122894f8a7fa0d34e0d62c7ed2626355de5825b2b5 10:41:53 $ docker rm -f --volumes aa935bd56097828cd8e919122894f8a7fa0d34e0d62c7ed2626355de5825b2b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:54 + docker inspect -f . ci-base-image-arm64 10:41:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:41:54 prd-ubuntu20.04-docker-arm64-4c-16g-5323 does not seem to be running inside a container 10:41:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:41:55 $ docker top 2c5a67c0b21bbb414770615d05b3b0821a241afe0d99b5dfe7e19c4cc292e484 -eo pid,comm [Pipeline] { [Pipeline] echo 10:41:55 ========================================================= 10:41:55 [edgeXBuildGoParallel] Running Tests and Build... 10:41:55 ========================================================= [Pipeline] sh 10:41:56 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh 10:41:56 + make test 10:41:57 go test -race -coverprofile=coverage.out ./... 10:42:29 ? github.com/edgexfoundry/edgex-go [no test files] 10:44:05 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 10:44:05 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 10:44:05 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 10:44:05 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 10:44:05 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 10:44:16 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 10:44:16 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 10:44:16 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 10:44:16 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 10:44:16 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 10:44:16 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 10:44:16 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 10:44:16 ? github.com/edgexfoundry/edgex-go/internal [no test files] 10:44:16 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 10:44:28 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.471s coverage: 28.7% of statements 10:44:28 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 10:44:28 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 10:44:36 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.887s coverage: 98.5% of statements 10:44:44 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 4.048s coverage: 73.2% of statements 10:44:44 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 10:44:44 ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] 10:44:44 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 10:44:44 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.892s coverage: 54.0% of statements 10:44:44 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 10:44:44 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 10:45:03 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 22.541s coverage: 89.2% of statements 10:45:03 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 10:45:03 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 10:45:03 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 10:45:03 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 10:45:03 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 10:45:03 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.823s coverage: 3.7% of statements 10:45:03 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 10:45:03 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 10:45:03 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 3.076s coverage: 95.6% of statements 10:45:03 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 10:45:03 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 10:45:03 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 10:45:03 ok github.com/edgexfoundry/edgex-go/internal/io 0.467s coverage: 72.2% of statements 10:45:03 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 10:45:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 10:45:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 10:45:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 10:45:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 10:45:03 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.563s coverage: 65.9% of statements 10:45:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 10:45:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 10:45:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 10:45:03 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.713s coverage: 0.9% of statements 10:45:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 10:45:03 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.467s coverage: 29.6% of statements 10:45:03 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 10:45:03 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.368s coverage: 47.1% of statements 10:45:05 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.312s coverage: 82.9% of statements 10:45:05 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.362s coverage: 94.1% of statements 10:45:06 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.327s coverage: 96.3% of statements 10:45:09 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.268s coverage: 87.5% of statements 10:45:21 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.366s coverage: 94.4% of statements 10:45:21 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.227s coverage: 44.8% of statements 10:45:28 flag provided but not defined: -invalid 10:45:28 Usage of setupRegistryACL: 10:45:28 -configDir string 10:45:28 10:45:28 --- FAIL: TestExecute (0.00s) 10:45:28 --- FAIL: TestExecute/Good:setupRegistryACL_with_ok_response_from_server (1.07s) 10:45:28 command_test.go:181: 10:45:28 Error Trace: /w/workspace/edgex-go/1/internal/security/bootstrapper/command/setupacl/command_test.go:181 10:45:28 Error: Received unexpected error: 10:45:28 failed to configure Consul access: request to Configure Consul Access failed with status: 403 Forbidden 10:45:28 Test: TestExecute/Good:setupRegistryACL_with_ok_response_from_server 10:45:28 FAIL 10:45:28 coverage: 79.9% of statements 10:45:28 FAIL github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.902s 10:45:28 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 10:45:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.409s coverage: 92.9% of statements 10:45:34 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 10:45:34 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 10:45:34 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 10:45:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.079s coverage: 64.4% of statements 10:45:34 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 10:45:34 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 10:45:34 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 10:45:34 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 10:45:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.357s coverage: 86.9% of statements 10:45:34 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 10:45:34 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 10:45:34 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 10:45:34 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 10:45:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.222s coverage: 87.2% of statements 10:45:34 ok github.com/edgexfoundry/edgex-go/internal/security/common 0.185s coverage: 20.0% of statements 10:45:34 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 10:45:34 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 10:45:34 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.175s coverage: 100.0% of statements 10:45:34 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 10:45:34 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.303s coverage: 77.4% of statements 10:45:34 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 10:45:34 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.268s coverage: 80.0% of statements 10:45:34 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.217s coverage: 87.2% of statements 10:45:34 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.933s coverage: 91.2% of statements 10:45:34 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 10:45:41 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.246s coverage: 63.1% of statements 10:45:41 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 10:45:41 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 10:45:41 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.274s coverage: 100.0% of statements 10:45:41 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.116s coverage: 89.4% of statements 10:45:41 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.058s coverage: 100.0% of statements 10:45:41 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.066s coverage: 73.7% of statements 10:45:41 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.080s coverage: 100.0% of statements 10:45:45 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.320s coverage: 65.3% of statements 10:45:45 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 10:45:45 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 10:45:45 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 10:45:48 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.839s coverage: 41.0% of statements 10:45:48 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 10:45:48 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 10:45:48 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.343s coverage: 89.5% of statements 10:45:48 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 10:45:48 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.271s coverage: 84.8% of statements 10:45:48 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 10:45:48 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 10:45:48 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 10:45:48 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 10:45:56 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.332s coverage: 17.7% of statements 10:45:56 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 10:45:56 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 10:45:56 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 10:45:56 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 10:45:56 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.757s coverage: 92.3% of statements 10:45:56 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 10:45:56 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 10:45:56 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 10:45:56 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 10:45:56 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.317s coverage: 63.2% of statements 10:45:56 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 10:45:56 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 10:45:56 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.459s coverage: 97.7% of statements 10:45:56 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 10:45:56 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 10:45:56 FAIL 10:45:56 make: *** [Makefile:143: unittest] Error 1 [Pipeline] } 10:45:56 $ docker stop --time=1 2c5a67c0b21bbb414770615d05b3b0821a241afe0d99b5dfe7e19c4cc292e484 10:45:58 $ docker rm -f --volumes 2c5a67c0b21bbb414770615d05b3b0821a241afe0d99b5dfe7e19c4cc292e484 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:46:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:46:00 10:46:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:46:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:46:01 arm64: Pulling from edgex-lftools-log-publisher 10:46:01 8998bd30e6a1: Pulling fs layer 10:46:01 04944245beec: Pulling fs layer 10:46:01 699f458cf7ca: Pulling fs layer 10:46:01 765212b225bb: Pulling fs layer 10:46:01 f23df028b6ca: Pulling fs layer 10:46:01 d65c8cfc05b1: Pulling fs layer 10:46:01 2437ff75d9bd: Pulling fs layer 10:46:01 765212b225bb: Waiting 10:46:01 f23df028b6ca: Waiting 10:46:01 d65c8cfc05b1: Waiting 10:46:01 2437ff75d9bd: Waiting 10:46:01 04944245beec: Verifying Checksum 10:46:01 04944245beec: Download complete 10:46:01 765212b225bb: Verifying Checksum 10:46:01 765212b225bb: Download complete 10:46:01 f23df028b6ca: Verifying Checksum 10:46:01 f23df028b6ca: Download complete 10:46:01 d65c8cfc05b1: Verifying Checksum 10:46:01 d65c8cfc05b1: Download complete 10:46:01 699f458cf7ca: Verifying Checksum 10:46:01 699f458cf7ca: Download complete 10:46:01 8998bd30e6a1: Verifying Checksum 10:46:01 8998bd30e6a1: Download complete 10:46:03 2437ff75d9bd: Verifying Checksum 10:46:03 2437ff75d9bd: Download complete 10:46:05 8998bd30e6a1: Pull complete 10:46:06 04944245beec: Pull complete 10:46:07 699f458cf7ca: Pull complete 10:46:07 765212b225bb: Pull complete 10:46:08 f23df028b6ca: Pull complete 10:46:08 d65c8cfc05b1: Pull complete 10:46:23 2437ff75d9bd: Pull complete 10:46:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:46:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:46:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:46:23 prd-ubuntu20.04-docker-arm64-4c-16g-5323 does not seem to be running inside a container 10:46:23 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:46:26 $ docker top 87153a6e426de2a641d00a77f4b90dee6924e15191bb095b5a0f1b1778d07f62 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:46:27 ---> job-cost.sh 10:46:27 lf-activate-venv: SKIPPING 10:46:27 INFO: No Stack... 10:46:28 INFO: Retrieving Pricing Info for: v3-standard-4 10:46:28 INFO: Archiving Costs [Pipeline] sh 10:46:29 + cat /w/workspace/edgex-go/1/archives/cost.csv 10:46:29 + cut -d, -f6 [Pipeline] lock 10:46:29 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4343-1-stack-cost] 10:46:29 Resource [jenkins-edgexfoundry-edgex-go-PR-4343-1-stack-cost] did not exist. Created. 10:46:29 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4343-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:46:29 + echo total: 0.10999999940395355 [Pipeline] stash 10:46:30 Stashed 1 file(s) [Pipeline] } 10:46:30 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4343-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:46:30 $ docker stop --time=1 87153a6e426de2a641d00a77f4b90dee6924e15191bb095b5a0f1b1778d07f62 10:46:32 $ docker rm -f --volumes 87153a6e426de2a641d00a77f4b90dee6924e15191bb095b5a0f1b1778d07f62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 10:46:32 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:46:34 + [ -d /w/workspace/edgex-go/1/archives ] [Pipeline] libraryResource [Pipeline] sh 10:46:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:46:35 ---> package-listing.sh 10:46:35 ++ facter osfamily 10:46:35 ++ tr '[:upper:]' '[:lower:]' 10:46:35 + OS_FAMILY=debian 10:46:35 + workspace=/w/workspace/edgex-go/1 10:46:35 + START_PACKAGES=/tmp/packages_start.txt 10:46:35 + END_PACKAGES=/tmp/packages_end.txt 10:46:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:46:35 + PACKAGES=/tmp/packages_start.txt 10:46:35 + '[' /w/workspace/edgex-go/1 ']' 10:46:35 + PACKAGES=/tmp/packages_end.txt 10:46:35 + case "${OS_FAMILY}" in 10:46:35 + dpkg -l 10:46:35 + grep '^ii' 10:46:35 + '[' -f /tmp/packages_start.txt ']' 10:46:35 + '[' -f /tmp/packages_end.txt ']' 10:46:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:46:35 + '[' /w/workspace/edgex-go/1 ']' 10:46:35 + mkdir -p /w/workspace/edgex-go/1/archives/ 10:46:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 10:46:35 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:46:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:46:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:46:36 10:46:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:46:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:46:37 latest: Pulling from edgex-lftools-log-publisher 10:46:37 5eb5b503b376: Pulling fs layer 10:46:37 5c69ac0246d0: Pulling fs layer 10:46:37 ec43610c2a17: Pulling fs layer 10:46:37 3a2ae6a8a46f: Pulling fs layer 10:46:37 33b1e0a273af: Pulling fs layer 10:46:37 5d3b04190fa2: Pulling fs layer 10:46:37 2f39f015ded8: Pulling fs layer 10:46:37 33b1e0a273af: Waiting 10:46:37 5d3b04190fa2: Waiting 10:46:37 2f39f015ded8: Waiting 10:46:37 3a2ae6a8a46f: Waiting 10:46:37 5c69ac0246d0: Verifying Checksum 10:46:37 5c69ac0246d0: Download complete 10:46:37 3a2ae6a8a46f: Verifying Checksum 10:46:37 3a2ae6a8a46f: Download complete 10:46:37 33b1e0a273af: Verifying Checksum 10:46:37 33b1e0a273af: Download complete 10:46:37 5d3b04190fa2: Verifying Checksum 10:46:37 5d3b04190fa2: Download complete 10:46:37 ec43610c2a17: Verifying Checksum 10:46:37 ec43610c2a17: Download complete 10:46:37 5eb5b503b376: Download complete 10:46:38 2f39f015ded8: Verifying Checksum 10:46:38 2f39f015ded8: Download complete 10:46:38 5eb5b503b376: Pull complete 10:46:38 5c69ac0246d0: Pull complete 10:46:39 ec43610c2a17: Pull complete 10:46:39 3a2ae6a8a46f: Pull complete 10:46:39 33b1e0a273af: Pull complete 10:46:39 5d3b04190fa2: Pull complete 10:46:43 2f39f015ded8: Pull complete 10:46:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:46:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:46:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:46:44 prd-ubuntu20.04-docker-8c-8g-5322 does not seem to be running inside a container 10:46:44 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:46:49 $ docker top ee288c865f798e2d765516c209c7670c2fc7bf0d4fb0175f6e0794a5b17e1091 -eo pid,comm [Pipeline] { [Pipeline] sh 10:46:49 + touch /tmp/pre-build-complete [Pipeline] sh 10:46:49 + mkdir -p /var/log/sysstat [Pipeline] sh 10:46:50 + ls /var/log/sa-host 10:46:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:46:50 provisioning config files... 10:46:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config9001876262711355301tmp [Pipeline] { [Pipeline] echo 10:46:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:46:50 ---> create-netrc.sh [Pipeline] } 10:46:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:46:51 ---> python-tools-install.sh [Pipeline] echo 10:46:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:46:51 ---> sudo-logs.sh 10:46:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:46:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:46:51 ---> job-cost.sh 10:46:51 lf-activate-venv: SKIPPING 10:46:51 DEBUG: total: 0.10999999940395355 10:46:51 INFO: Retrieving Stack Cost... 10:46:52 INFO: Retrieving Pricing Info for: v3-standard-8 10:46:52 INFO: Archiving Costs [Pipeline] echo 10:46:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:46:53 ---> logs-deploy.sh 10:46:53 lf-activate-venv: SKIPPING 10:46:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4343/1 10:46:53 INFO: archiving workspace using pattern(s): 10:46:54 Archives upload complete. 10:46:54 INFO: archiving logs to Nexus