Pull request #4157 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 FelixTing for edgexfoundry/edgex-go Loading trusted files from base branch main at b7de7b775397295cb69718a186a97b7526882c59 rather than 9747a75a33ecb5f5efd60e178d2e65d0ffdf762d Obtained Jenkinsfile from b7de7b775397295cb69718a186a97b7526882c59 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-ssh12634779504376404053.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh9432601353524583953.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-4157/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-4157/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8038812411567524092.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-4157/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12989569841578860056.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh10117521734429011237.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-4157/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-4157/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5277936447791039280.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-29147 in /w/workspace/edgexfoundry_edgex-go_PR-4157 [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 Merging remotes/origin/main commit b7de7b775397295cb69718a186a97b7526882c59 into PR head commit 9747a75a33ecb5f5efd60e178d2e65d0ffdf762d Merge succeeded, producing 4a91339d35beee498af176bf637c18337c2cf184 Checking out Revision 4a91339d35beee498af176bf637c18337c2cf184 (PR-4157) > 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/4157/head:refs/remotes/origin/PR-4157 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9747a75a33ecb5f5efd60e178d2e65d0ffdf762d # 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 b7de7b775397295cb69718a186a97b7526882c59 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4a91339d35beee498af176bf637c18337c2cf184 # timeout=10 Commit message: "Merge commit 'b7de7b775397295cb69718a186a97b7526882c59' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-15T05:09:55.714Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-15T05:09:55.869Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-15T05:09:55.961Z] ========================================================= [2022-09-15T05:09:55.961Z] EdgeX Global Pipelines Version Info [2022-09-15T05:09:55.961Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-15T05:09:56.752Z] ------------------- [2022-09-15T05:09:56.752Z] stable info: [2022-09-15T05:09:56.752Z] ------------------- [2022-09-15T05:09:56.752Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-15T05:09:56.752Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-15T05:09:56.752Z] Message: update stable to v1.0.239 [2022-09-15T05:09:57.328Z] ------------------- [2022-09-15T05:09:57.328Z] experimental info: [2022-09-15T05:09:57.328Z] ------------------- [2022-09-15T05:09:57.328Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-15T05:09:57.328Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-15T05:09:57.328Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-15T05:09:57.700Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2022-09-15T05:09:57.739Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2022-09-15T05:09:57.778Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-15T05:09:57.819Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-15T05:09:57.857Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-15T05:09:57.897Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-15T05:09:57.939Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-15T05:09:57.983Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2022-09-15T05:09:58.022Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2022-09-15T05:09:58.058Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2022-09-15T05:09:58.098Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-15T05:09:58.136Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-15T05:09:58.175Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-15T05:09:58.213Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-15T05:09:58.249Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-15T05:09:58.294Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-15T05:09:58.335Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-15T05:09:58.376Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-15T05:09:58.416Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-15T05:09:58.459Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-09-15T05:09:58.497Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-15T05:09:58.539Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-15T05:09:58.579Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-15T05:09:58.617Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4157 [Pipeline] echo [2022-09-15T05:09:58.657Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4157 [Pipeline] echo [2022-09-15T05:09:58.697Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4157 [Pipeline] echo [2022-09-15T05:09:58.740Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4a91339d35beee498af176bf637c18337c2cf184 [Pipeline] echo [2022-09-15T05:09:58.777Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4a91339 [Pipeline] echo [2022-09-15T05:09:58.817Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-15T05:09:58.933Z] provisioning config files... [2022-09-15T05:09:58.949Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config6022537467584943569tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-15T05:09:59.290Z] ---> docker-login.sh [2022-09-15T05:09:59.290Z] nexus3.edgexfoundry.org:10001 [2022-09-15T05:09:59.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T05:09:59.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T05:09:59.814Z] Configure a credential helper to remove this warning. See [2022-09-15T05:09:59.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T05:09:59.814Z] [2022-09-15T05:09:59.814Z] Login Succeeded [2022-09-15T05:09:59.814Z] nexus3.edgexfoundry.org:10002 [2022-09-15T05:09:59.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T05:09:59.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T05:09:59.814Z] Configure a credential helper to remove this warning. See [2022-09-15T05:09:59.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T05:09:59.814Z] [2022-09-15T05:09:59.814Z] Login Succeeded [2022-09-15T05:09:59.814Z] nexus3.edgexfoundry.org:10003 [2022-09-15T05:10:00.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T05:10:00.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T05:10:00.075Z] Configure a credential helper to remove this warning. See [2022-09-15T05:10:00.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T05:10:00.075Z] [2022-09-15T05:10:00.075Z] Login Succeeded [2022-09-15T05:10:00.075Z] nexus3.edgexfoundry.org:10004 [2022-09-15T05:10:00.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T05:10:00.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T05:10:00.336Z] Configure a credential helper to remove this warning. See [2022-09-15T05:10:00.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T05:10:00.336Z] [2022-09-15T05:10:00.336Z] Login Succeeded [2022-09-15T05:10:00.336Z] docker.io [2022-09-15T05:10:00.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T05:10:00.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T05:10:00.597Z] Configure a credential helper to remove this warning. See [2022-09-15T05:10:00.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T05:10:00.597Z] [2022-09-15T05:10:00.597Z] Login Succeeded [2022-09-15T05:10:00.597Z] ---> docker-login.sh ends [Pipeline] } [2022-09-15T05:10:00.624Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-15T05:10:01.059Z] + ls cmd/core-command/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 cmd/sys-mgmt-agent/Dockerfile [2022-09-15T05:10:01.059Z] + dirname cmd/core-command/Dockerfile [2022-09-15T05:10:01.059Z] + cut -d/ -f2 [2022-09-15T05:10:01.059Z] + echo core-command,cmd/core-command/Dockerfile [2022-09-15T05:10:01.059Z] + cut -d/ -f2+ [2022-09-15T05:10:01.059Z] dirname cmd/core-data/Dockerfile [2022-09-15T05:10:01.059Z] + echo core-data,cmd/core-data/Dockerfile [2022-09-15T05:10:01.059Z] + dirname cmd/core-metadata/Dockerfile [2022-09-15T05:10:01.059Z] + cut -d/ -f2 [2022-09-15T05:10:01.059Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2022-09-15T05:10:01.059Z] + dirname cmd/security-bootstrapper/Dockerfile [2022-09-15T05:10:01.059Z] + cut -d/ -f2 [2022-09-15T05:10:01.059Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2022-09-15T05:10:01.059Z] + + cut -d/ -f2 [2022-09-15T05:10:01.059Z] dirname cmd/security-proxy-setup/Dockerfile [2022-09-15T05:10:01.059Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2022-09-15T05:10:01.059Z] + dirname cmd/security-secretstore-setup/Dockerfile [2022-09-15T05:10:01.059Z] + cut -d/ -f2 [2022-09-15T05:10:01.059Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2022-09-15T05:10:01.059Z] + dirname cmd/security-spiffe-token-provider/Dockerfile [2022-09-15T05:10:01.059Z] + cut -d/ -f2 [2022-09-15T05:10:01.059Z] + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile [2022-09-15T05:10:01.059Z] + dirname cmd/security-spire-agent/Dockerfile [2022-09-15T05:10:01.059Z] + cut -d/ -f2 [2022-09-15T05:10:01.059Z] + echo security-spire-agent,cmd/security-spire-agent/Dockerfile [2022-09-15T05:10:01.059Z] + dirname cmd/security-spire-config/Dockerfile [2022-09-15T05:10:01.059Z] + cut -d/ -f2 [2022-09-15T05:10:01.059Z] + echo security-spire-config,cmd/security-spire-config/Dockerfile [2022-09-15T05:10:01.059Z] + dirname cmd/security-spire-server/Dockerfile [2022-09-15T05:10:01.059Z] + cut -d/ -f2 [2022-09-15T05:10:01.059Z] + echo security-spire-server,cmd/security-spire-server/Dockerfile [2022-09-15T05:10:01.059Z] + dirname cmd/support-notifications/Dockerfile [2022-09-15T05:10:01.059Z] + cut -d/ -f2 [2022-09-15T05:10:01.059Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2022-09-15T05:10:01.059Z] + + dirname cmd/support-scheduler/Dockerfile [2022-09-15T05:10:01.059Z] cut -d/ -f2 [2022-09-15T05:10:01.059Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2022-09-15T05:10:01.059Z] + dirname cmd/sys-mgmt-agent/Dockerfile [2022-09-15T05:10:01.059Z] + cut -d/ -f2 [2022-09-15T05:10:01.059Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2022-09-15T05:10:01.112Z] Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/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], [image:sys-mgmt-agent, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-15T05:10:01.607Z] + git rev-list -1 --merges 4a91339d35beee498af176bf637c18337c2cf184~1..4a91339d35beee498af176bf637c18337c2cf184 [Pipeline] echo [2022-09-15T05:10:01.641Z] -----------> git rev-list -1 --merges 4a91339d35beee498af176bf637c18337c2cf184~1..4a91339d35beee498af176bf637c18337c2cf184 4a91339d35beee498af176bf637c18337c2cf184 [2022-09-15T05:10:01.641Z] 4a91339d35beee498af176bf637c18337c2cf184 [false] [Pipeline] sh [2022-09-15T05:10:01.967Z] + git log --format=format:%s -1 4a91339d35beee498af176bf637c18337c2cf184 [Pipeline] echo [2022-09-15T05:10:01.999Z] ========================================================= [2022-09-15T05:10:01.999Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-15T05:10:01.999Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-09-15T05:10:02.488Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-15T05:10:02.488Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-15T05:10:02.488Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-15T05:10:02.488Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-15T05:10:02.488Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-15T05:10:02.488Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-15T05:10:02.488Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T05:10:02.999Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-15T05:10:02.999Z] [2022-09-15T05:10:02.999Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T05:10:03.390Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-15T05:10:03.390Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-15T05:10:03.390Z] b85a868b505f: Pulling fs layer [2022-09-15T05:10:03.390Z] e2be974225ed: Pulling fs layer [2022-09-15T05:10:03.390Z] 339a4e72a1f5: Pulling fs layer [2022-09-15T05:10:03.390Z] 988bab9f4d93: Pulling fs layer [2022-09-15T05:10:03.390Z] 1469e6f7b9e6: Pulling fs layer [2022-09-15T05:10:03.390Z] eaf3925da568: Pulling fs layer [2022-09-15T05:10:03.390Z] bab4dde63d76: Pulling fs layer [2022-09-15T05:10:03.390Z] bde34c3a00c8: Pulling fs layer [2022-09-15T05:10:03.390Z] b352a97aabf1: Pulling fs layer [2022-09-15T05:10:03.390Z] 4872d77fe225: Pulling fs layer [2022-09-15T05:10:03.390Z] 5851b861e8e6: Pulling fs layer [2022-09-15T05:10:03.390Z] b352a97aabf1: Waiting [2022-09-15T05:10:03.390Z] bab4dde63d76: Waiting [2022-09-15T05:10:03.390Z] 4872d77fe225: Waiting [2022-09-15T05:10:03.390Z] bde34c3a00c8: Waiting [2022-09-15T05:10:03.390Z] 5851b861e8e6: Waiting [2022-09-15T05:10:03.390Z] 988bab9f4d93: Waiting [2022-09-15T05:10:03.390Z] 1469e6f7b9e6: Waiting [2022-09-15T05:10:03.390Z] eaf3925da568: Waiting [2022-09-15T05:10:03.390Z] e2be974225ed: Download complete [2022-09-15T05:10:03.390Z] 988bab9f4d93: Verifying Checksum [2022-09-15T05:10:03.390Z] 988bab9f4d93: Download complete [2022-09-15T05:10:03.654Z] 1469e6f7b9e6: Verifying Checksum [2022-09-15T05:10:03.654Z] 1469e6f7b9e6: Download complete [2022-09-15T05:10:03.654Z] eaf3925da568: Verifying Checksum [2022-09-15T05:10:03.654Z] eaf3925da568: Download complete [2022-09-15T05:10:03.654Z] 339a4e72a1f5: Verifying Checksum [2022-09-15T05:10:03.654Z] 339a4e72a1f5: Download complete [2022-09-15T05:10:03.654Z] bde34c3a00c8: Download complete [2022-09-15T05:10:03.654Z] b352a97aabf1: Verifying Checksum [2022-09-15T05:10:03.654Z] b352a97aabf1: Download complete [2022-09-15T05:10:03.654Z] 4872d77fe225: Verifying Checksum [2022-09-15T05:10:03.654Z] 4872d77fe225: Download complete [2022-09-15T05:10:03.654Z] 5851b861e8e6: Verifying Checksum [2022-09-15T05:10:03.654Z] 5851b861e8e6: Download complete [2022-09-15T05:10:03.915Z] b85a868b505f: Verifying Checksum [2022-09-15T05:10:03.915Z] b85a868b505f: Download complete [2022-09-15T05:10:04.176Z] bab4dde63d76: Verifying Checksum [2022-09-15T05:10:04.176Z] bab4dde63d76: Download complete [2022-09-15T05:10:05.117Z] b85a868b505f: Pull complete [2022-09-15T05:10:05.377Z] e2be974225ed: Pull complete [2022-09-15T05:10:05.640Z] 339a4e72a1f5: Pull complete [2022-09-15T05:10:05.904Z] 988bab9f4d93: Pull complete [2022-09-15T05:10:06.165Z] 1469e6f7b9e6: Pull complete [2022-09-15T05:10:06.165Z] eaf3925da568: Pull complete [2022-09-15T05:10:08.078Z] bab4dde63d76: Pull complete [2022-09-15T05:10:08.078Z] bde34c3a00c8: Pull complete [2022-09-15T05:10:08.339Z] b352a97aabf1: Pull complete [2022-09-15T05:10:08.339Z] 4872d77fe225: Pull complete [2022-09-15T05:10:08.339Z] 5851b861e8e6: Pull complete [2022-09-15T05:10:08.339Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-15T05:10:08.339Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-15T05:10:08.339Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T05:10:08.555Z] prd-ubuntu20.04-docker-8c-8g-29147 does not seem to be running inside a container [2022-09-15T05:10:08.592Z] $ 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 [2022-09-15T05:10:11.515Z] $ docker top bc64097ddf422da7430fe2572fc885bb6cd4ea2ebeea5b92c0e1a28e1de5e621 -eo pid,comm [2022-09-15T05:10:11.575Z] 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). [2022-09-15T05:10:11.575Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-15T05:10:11.713Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-15T05:10:11.714Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-15T05:10:11.844Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-15T05:10:11.851Z] $ docker exec bc64097ddf422da7430fe2572fc885bb6cd4ea2ebeea5b92c0e1a28e1de5e621 ssh-agent [2022-09-15T05:10:11.972Z] SSH_AUTH_SOCK=/tmp/ssh-QnUUwRyjD2fK/agent.33 [2022-09-15T05:10:11.972Z] SSH_AGENT_PID=40 [2022-09-15T05:10:11.978Z] Running ssh-add (command line suppressed) [2022-09-15T05:10:12.091Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_3511046182501491950.key (/w/workspace/edgex-go/1@tmp/private_key_3511046182501491950.key) [2022-09-15T05:10:12.106Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-15T05:10:12.454Z] + git tag --points-at HEAD [Pipeline] } [2022-09-15T05:10:12.483Z] $ docker exec --env ******** --env ******** bc64097ddf422da7430fe2572fc885bb6cd4ea2ebeea5b92c0e1a28e1de5e621 ssh-agent -k [2022-09-15T05:10:12.578Z] unset SSH_AUTH_SOCK; [2022-09-15T05:10:12.578Z] unset SSH_AGENT_PID; [2022-09-15T05:10:12.579Z] echo Agent pid 40 killed; [2022-09-15T05:10:12.588Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-15T05:10:12.679Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-15T05:10:12.679Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-15T05:10:12.801Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-15T05:10:12.807Z] $ docker exec bc64097ddf422da7430fe2572fc885bb6cd4ea2ebeea5b92c0e1a28e1de5e621 ssh-agent [2022-09-15T05:10:12.921Z] SSH_AUTH_SOCK=/tmp/ssh-FPSHQTkrzPFP/agent.74 [2022-09-15T05:10:12.921Z] SSH_AGENT_PID=81 [2022-09-15T05:10:12.926Z] Running ssh-add (command line suppressed) [2022-09-15T05:10:13.039Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_5080142069208354838.key (/w/workspace/edgex-go/1@tmp/private_key_5080142069208354838.key) [2022-09-15T05:10:13.054Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-15T05:10:13.391Z] + git semver init [2022-09-15T05:10:13.651Z] 2022-09-15 05:10:13,556 [run_init] DEBUG init version:0.0.0 force:False [2022-09-15T05:10:13.651Z] 2022-09-15 05:10:13,557 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/1/.semver [2022-09-15T05:10:13.651Z] 2022-09-15 05:10:13,558 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/1/.semver [2022-09-15T05:10:13.651Z] 2022-09-15 05:10:13,558 [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) [2022-09-15T05:10:18.999Z] 2022-09-15 05:10:18,594 [append_file] DEBUG append to file:/w/workspace/edgex-go/1/.git/info/exclude [2022-09-15T05:10:18.999Z] 2022-09-15 05:10:18,594 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/1/.semver/PR-4157 with force:False [2022-09-15T05:10:18.999Z] 2022-09-15 05:10:18,594 [write_file] DEBUG write to file:/w/workspace/edgex-go/1/.semver/PR-4157 [2022-09-15T05:10:18.999Z] 2022-09-15 05:10:18,599 [execute] INFO git cat-file --batch-check [2022-09-15T05:10:18.999Z] 2022-09-15 05:10:18,599 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) [2022-09-15T05:10:18.999Z] 2022-09-15 05:10:18,605 [execute] INFO git cat-file --batch [2022-09-15T05:10:18.999Z] 2022-09-15 05:10:18,605 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) [2022-09-15T05:10:18.999Z] 2022-09-15 05:10:18,610 [read_version] DEBUG read version from /w/workspace/edgex-go/1/.semver/PR-4157 [2022-09-15T05:10:18.999Z] 0.0.0 [Pipeline] } [2022-09-15T05:10:19.031Z] $ docker exec --env ******** --env ******** bc64097ddf422da7430fe2572fc885bb6cd4ea2ebeea5b92c0e1a28e1de5e621 ssh-agent -k [2022-09-15T05:10:19.160Z] unset SSH_AUTH_SOCK; [2022-09-15T05:10:19.160Z] unset SSH_AGENT_PID; [2022-09-15T05:10:19.160Z] echo Agent pid 81 killed; [2022-09-15T05:10:19.167Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-15T05:10:19.598Z] + git semver [Pipeline] } [2022-09-15T05:10:19.890Z] $ docker stop --time=1 bc64097ddf422da7430fe2572fc885bb6cd4ea2ebeea5b92c0e1a28e1de5e621 [2022-09-15T05:10:21.268Z] $ docker rm -f bc64097ddf422da7430fe2572fc885bb6cd4ea2ebeea5b92c0e1a28e1de5e621 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-15T05:10:21.677Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-15T05:10:21.981Z] Stashed 1 file(s) [Pipeline] echo [2022-09-15T05:10:21.999Z] [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 [2022-09-15T05:10:22.741Z] + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo [2022-09-15T05:10:22.775Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-15T05:10:22.811Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-15T05:10:22.839Z] ========================================================= [2022-09-15T05:10:22.839Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-15T05:10:22.839Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-09-15T05:10:23.182Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-15T05:10:23.182Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-15T05:10:23.182Z] 2408cc74d12b: Pulling fs layer [2022-09-15T05:10:23.182Z] ea60b727a1ce: Pulling fs layer [2022-09-15T05:10:23.182Z] 30c4a7721957: Pulling fs layer [2022-09-15T05:10:23.182Z] 370296b7ddb6: Pulling fs layer [2022-09-15T05:10:23.182Z] 7c6cee850709: Pulling fs layer [2022-09-15T05:10:23.182Z] 39a5fcdaea64: Pulling fs layer [2022-09-15T05:10:23.182Z] d94ebbe4e438: Pulling fs layer [2022-09-15T05:10:23.182Z] bcfd1f05c69d: Pulling fs layer [2022-09-15T05:10:23.182Z] 59ccb84bbe0f: Pulling fs layer [2022-09-15T05:10:23.182Z] 39a5fcdaea64: Waiting [2022-09-15T05:10:23.182Z] d94ebbe4e438: Waiting [2022-09-15T05:10:23.182Z] 59ccb84bbe0f: Waiting [2022-09-15T05:10:23.182Z] bcfd1f05c69d: Waiting [2022-09-15T05:10:23.182Z] 370296b7ddb6: Waiting [2022-09-15T05:10:23.182Z] 7c6cee850709: Waiting [2022-09-15T05:10:23.182Z] 30c4a7721957: Verifying Checksum [2022-09-15T05:10:23.182Z] 30c4a7721957: Download complete [2022-09-15T05:10:23.182Z] ea60b727a1ce: Verifying Checksum [2022-09-15T05:10:23.182Z] ea60b727a1ce: Download complete [2022-09-15T05:10:23.182Z] 7c6cee850709: Download complete [2022-09-15T05:10:23.182Z] 39a5fcdaea64: Verifying Checksum [2022-09-15T05:10:23.182Z] 39a5fcdaea64: Download complete [2022-09-15T05:10:23.182Z] 2408cc74d12b: Verifying Checksum [2022-09-15T05:10:23.182Z] 2408cc74d12b: Download complete [2022-09-15T05:10:23.182Z] d94ebbe4e438: Verifying Checksum [2022-09-15T05:10:23.182Z] d94ebbe4e438: Download complete [2022-09-15T05:10:23.446Z] 2408cc74d12b: Pull complete [2022-09-15T05:10:23.446Z] ea60b727a1ce: Pull complete [2022-09-15T05:10:23.719Z] 30c4a7721957: Pull complete [2022-09-15T05:10:23.981Z] bcfd1f05c69d: Verifying Checksum [2022-09-15T05:10:23.981Z] 59ccb84bbe0f: Verifying Checksum [2022-09-15T05:10:23.981Z] 59ccb84bbe0f: Download complete [2022-09-15T05:10:24.240Z] 370296b7ddb6: Verifying Checksum [2022-09-15T05:10:24.240Z] 370296b7ddb6: Download complete [2022-09-15T05:10:28.427Z] 370296b7ddb6: Pull complete [2022-09-15T05:10:28.427Z] 7c6cee850709: Pull complete [2022-09-15T05:10:28.427Z] 39a5fcdaea64: Pull complete [2022-09-15T05:10:28.427Z] d94ebbe4e438: Pull complete [2022-09-15T05:10:30.344Z] bcfd1f05c69d: Pull complete [2022-09-15T05:10:30.912Z] 59ccb84bbe0f: Pull complete [2022-09-15T05:10:30.912Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-15T05:10:30.912Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-15T05:10:30.912Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] fileExists [Pipeline] sh [2022-09-15T05:10:31.273Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-15T05:10:31.273Z] WORKDIR /edgex [2022-09-15T05:10:31.273Z] COPY go.mod . [2022-09-15T05:10:31.273Z] RUN go mod download [2022-09-15T05:10:31.273Z] + docker build -t ci-base-image-x86_64 -f - . [2022-09-15T05:10:31.841Z] Sending build context to Docker daemon 169.4MB [2022-09-15T05:10:31.841Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-15T05:10:31.841Z] ---> a4fb48ad2a94 [2022-09-15T05:10:31.841Z] Step 2/4 : WORKDIR /edgex [2022-09-15T05:10:37.288Z] Still waiting to schedule task [2022-09-15T05:10:37.288Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-15T05:10:39.976Z] ---> Running in 9e9ae1f3fd93 [2022-09-15T05:10:39.976Z] Removing intermediate container 9e9ae1f3fd93 [2022-09-15T05:10:39.976Z] ---> 10ab3a757608 [2022-09-15T05:10:39.976Z] Step 3/4 : COPY go.mod . [2022-09-15T05:10:39.976Z] ---> 165b98ba6d08 [2022-09-15T05:10:39.976Z] Step 4/4 : RUN go mod download [2022-09-15T05:10:39.976Z] ---> Running in b2030526900f [2022-09-15T05:10:58.085Z] Removing intermediate container b2030526900f [2022-09-15T05:10:58.085Z] ---> e950d43ff315 [2022-09-15T05:10:58.085Z] Successfully built e950d43ff315 [2022-09-15T05:10:58.085Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T05:10:58.472Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-15T05:10:58.472Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T05:10:58.629Z] prd-ubuntu20.04-docker-8c-8g-29147 does not seem to be running inside a container [2022-09-15T05:10:58.667Z] $ 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 [2022-09-15T05:10:59.056Z] $ docker top da5892e71c1c65044532288c9ed6f3e4199a1d7d7b1dbe612c16a08afcfa78d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-15T05:10:59.455Z] + go version [2022-09-15T05:10:59.455Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-15T05:10:59.489Z] $ docker stop --time=1 da5892e71c1c65044532288c9ed6f3e4199a1d7d7b1dbe612c16a08afcfa78d9 [2022-09-15T05:11:00.801Z] $ docker rm -f da5892e71c1c65044532288c9ed6f3e4199a1d7d7b1dbe612c16a08afcfa78d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T05:11:01.463Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-15T05:11:01.463Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T05:11:01.611Z] prd-ubuntu20.04-docker-8c-8g-29147 does not seem to be running inside a container [2022-09-15T05:11:01.670Z] $ 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 [2022-09-15T05:11:02.066Z] $ docker top 5a4550757926a06e1547980244c589a6ce1842ed0d93138c89d419392647b756 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-09-15T05:11:02.193Z] ========================================================= [2022-09-15T05:11:02.193Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-09-15T05:11:02.193Z] ========================================================= [Pipeline] sh [2022-09-15T05:11:02.521Z] + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh [2022-09-15T05:11:02.872Z] + make test [2022-09-15T05:11:02.872Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-15T05:11:09.443Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-09-15T05:11:21.646Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-09-15T05:11:21.646Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-09-15T05:11:21.646Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-09-15T05:11:21.646Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-09-15T05:11:21.646Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-09-15T05:11:21.646Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-09-15T05:11:21.646Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-09-15T05:11:21.646Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-09-15T05:11:21.646Z] ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] [2022-09-15T05:11:21.646Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2022-09-15T05:11:21.646Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2022-09-15T05:11:21.646Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2022-09-15T05:11:21.646Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2022-09-15T05:11:21.646Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2022-09-15T05:11:21.646Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2022-09-15T05:11:22.211Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.063s coverage: 28.7% of statements [2022-09-15T05:11:22.211Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2022-09-15T05:11:22.211Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2022-09-15T05:11:22.776Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.098s coverage: 98.5% of statements [2022-09-15T05:11:22.776Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/external 0.101s coverage: 72.5% of statements [2022-09-15T05:11:22.776Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] [2022-09-15T05:11:22.776Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2022-09-15T05:11:23.039Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.094s coverage: 54.2% of statements [2022-09-15T05:11:23.039Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2022-09-15T05:11:23.039Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2022-09-15T05:11:27.240Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 3.420s coverage: 89.2% of statements [2022-09-15T05:11:27.240Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] [2022-09-15T05:11:27.240Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2022-09-15T05:11:27.240Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2022-09-15T05:11:27.240Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2022-09-15T05:11:27.240Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2022-09-15T05:11:27.240Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.074s coverage: 2.3% of statements [2022-09-15T05:11:27.240Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2022-09-15T05:11:27.240Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2022-09-15T05:11:27.240Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.455s coverage: 95.6% of statements [2022-09-15T05:11:27.240Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2022-09-15T05:11:27.240Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2022-09-15T05:11:27.240Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] [2022-09-15T05:11:27.240Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.068s coverage: 72.2% of statements [2022-09-15T05:11:27.240Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2022-09-15T05:11:27.240Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2022-09-15T05:11:27.240Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2022-09-15T05:11:27.240Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2022-09-15T05:11:27.240Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2022-09-15T05:11:27.240Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.078s coverage: 60.0% of statements [2022-09-15T05:11:27.240Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2022-09-15T05:11:27.240Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2022-09-15T05:11:27.240Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2022-09-15T05:11:27.240Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.051s coverage: 0.9% of statements [2022-09-15T05:11:27.240Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2022-09-15T05:11:27.240Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.087s coverage: 58.8% of statements [2022-09-15T05:11:27.240Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.067s coverage: 29.6% of statements [2022-09-15T05:11:27.240Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2022-09-15T05:11:27.240Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.066s coverage: 47.1% of statements [2022-09-15T05:11:27.240Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.094s coverage: 79.5% of statements [2022-09-15T05:11:27.240Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.068s coverage: 94.1% of statements [2022-09-15T05:11:27.240Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.094s coverage: 96.3% of statements [2022-09-15T05:11:27.240Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.055s coverage: 87.5% of statements [2022-09-15T05:11:35.367Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.071s coverage: 94.4% of statements [2022-09-15T05:11:35.367Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.068s coverage: 44.8% of statements [2022-09-15T05:11:37.912Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.176s coverage: 80.8% of statements [2022-09-15T05:11:37.913Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2022-09-15T05:11:46.053Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.086s coverage: 92.9% of statements [2022-09-15T05:11:46.053Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2022-09-15T05:11:46.053Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2022-09-15T05:11:46.053Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2022-09-15T05:11:46.053Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.029s coverage: 65.1% of statements [2022-09-15T05:11:46.053Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2022-09-15T05:11:46.053Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] [2022-09-15T05:11:46.053Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] [2022-09-15T05:11:46.053Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] [2022-09-15T05:11:46.053Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.049s coverage: 86.9% of statements [2022-09-15T05:11:46.053Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2022-09-15T05:11:46.053Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2022-09-15T05:11:46.053Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2022-09-15T05:11:46.053Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2022-09-15T05:11:46.053Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.078s coverage: 87.2% of statements [2022-09-15T05:11:46.053Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2022-09-15T05:11:46.053Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2022-09-15T05:11:46.053Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.062s coverage: 100.0% of statements [2022-09-15T05:11:46.053Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2022-09-15T05:11:46.053Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.085s coverage: 58.8% of statements [2022-09-15T05:11:46.053Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2022-09-15T05:11:46.053Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.079s coverage: 80.0% of statements [2022-09-15T05:11:46.053Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.057s coverage: 87.2% of statements [2022-09-15T05:11:46.053Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.063s coverage: 85.4% of statements [2022-09-15T05:11:46.053Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.205s coverage: 91.2% of statements [2022-09-15T05:11:46.053Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2022-09-15T05:11:46.053Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.178s coverage: 64.7% of statements [2022-09-15T05:11:46.053Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2022-09-15T05:11:46.053Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2022-09-15T05:11:46.053Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.069s coverage: 100.0% of statements [2022-09-15T05:11:46.053Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.032s coverage: 89.4% of statements [2022-09-15T05:11:46.053Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.029s coverage: 100.0% of statements [2022-09-15T05:11:46.053Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.037s coverage: 73.7% of statements [2022-09-15T05:11:46.053Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.033s coverage: 100.0% of statements [2022-09-15T05:11:46.053Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.383s coverage: 65.8% of statements [2022-09-15T05:11:46.053Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2022-09-15T05:11:46.053Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2022-09-15T05:11:46.053Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2022-09-15T05:11:46.053Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.166s coverage: 41.8% of statements [2022-09-15T05:11:46.053Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2022-09-15T05:11:46.053Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2022-09-15T05:11:46.053Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.067s coverage: 89.5% of statements [2022-09-15T05:11:46.053Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2022-09-15T05:11:46.053Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.074s coverage: 84.8% of statements [2022-09-15T05:11:46.054Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] [2022-09-15T05:11:46.054Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] [2022-09-15T05:11:46.054Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] [2022-09-15T05:11:46.054Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] [2022-09-15T05:11:46.054Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.089s coverage: 17.7% of statements [2022-09-15T05:11:46.054Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2022-09-15T05:11:46.054Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2022-09-15T05:11:46.054Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2022-09-15T05:11:46.054Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2022-09-15T05:11:46.054Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.160s coverage: 92.3% of statements [2022-09-15T05:11:46.054Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2022-09-15T05:11:46.054Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2022-09-15T05:11:46.054Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] [2022-09-15T05:11:46.054Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2022-09-15T05:11:46.054Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.064s coverage: 63.2% of statements [2022-09-15T05:11:46.054Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2022-09-15T05:11:46.054Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2022-09-15T05:11:46.054Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.112s coverage: 97.7% of statements [2022-09-15T05:11:46.054Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2022-09-15T05:11:46.054Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2022-09-15T05:11:46.054Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2022-09-15T05:11:46.054Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] [2022-09-15T05:11:46.054Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.064s coverage: 28.9% of statements [2022-09-15T05:11:46.054Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] [2022-09-15T05:11:46.054Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] [2022-09-15T05:11:46.054Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2022-09-15T05:11:46.054Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2022-09-15T05:11:46.054Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] [2022-09-15T05:11:46.054Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2022-09-15T05:11:46.054Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.052s coverage: 100.0% of statements [2022-09-15T05:11:46.054Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.035s coverage: 96.9% of statements [2022-09-15T05:11:46.054Z] if which hadolint > /dev/null ; then hadolint --config .hadolint.yml `find * -type f -name 'Dockerfile*' -print` ; elif test "x86_64" = "x86_64" && which docker > /dev/null ; then docker run --rm -v `pwd`:/host:ro,z --entrypoint /bin/hadolint hadolint/hadolint:latest --config /host/.hadolint.yml `find * -type f -name 'Dockerfile*' | xargs -i echo '/host/{}'` ; fi [2022-09-15T05:12:04.154Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-09-15T05:12:04.154Z] GO111MODULE=on go vet ./... [2022-09-15T05:12:07.437Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-15T05:12:07.437Z] ./internal/pkg/infrastructure/redis/device_profile.go [2022-09-15T05:12:07.437Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-15T05:12:07.437Z] make: *** [Makefile:165: test] Error 1 [Pipeline] } [2022-09-15T05:12:07.488Z] $ docker stop --time=1 5a4550757926a06e1547980244c589a6ce1842ed0d93138c89d419392647b756 [2022-09-15T05:12:09.859Z] $ docker rm -f 5a4550757926a06e1547980244c589a6ce1842ed0d93138c89d419392647b756 [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] } [2022-09-15T05:12:10.896Z] Failed in branch amd64 [2022-09-15T05:12:20.171Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-29148 in /w/workspace/edgexfoundry_edgex-go_PR-4157 [Pipeline] { [Pipeline] ws [2022-09-15T05:12:20.214Z] Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout [2022-09-15T05:12:20.299Z] The recommended git tool is: git [2022-09-15T05:12:25.960Z] using credential edgex-jenkins-ssh [2022-09-15T05:12:25.978Z] Cloning the remote Git repository [2022-09-15T05:12:26.105Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2022-09-15T05:12:26.184Z] > git init /w/workspace/edgex-go/1 # timeout=10 [2022-09-15T05:12:26.268Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-09-15T05:12:26.269Z] > git --version # timeout=10 [2022-09-15T05:12:26.285Z] > git --version # 'git version 2.25.1' [2022-09-15T05:12:26.287Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-15T05:12:26.355Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-15T05:12:42.648Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-09-15T05:12:42.666Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-15T05:12:42.696Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-09-15T05:12:42.740Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-09-15T05:12:42.741Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-15T05:12:42.756Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4157/head:refs/remotes/origin/PR-4157 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-15T05:12:43.564Z] Merging remotes/origin/main commit b7de7b775397295cb69718a186a97b7526882c59 into PR head commit 9747a75a33ecb5f5efd60e178d2e65d0ffdf762d [2022-09-15T05:12:44.123Z] Merge succeeded, producing 0bc9b23df9dcd926d944644b8aef28c70d9a2fef [2022-09-15T05:12:44.124Z] Checking out Revision 0bc9b23df9dcd926d944644b8aef28c70d9a2fef (PR-4157) [2022-09-15T05:12:43.585Z] > git config core.sparsecheckout # timeout=10 [2022-09-15T05:12:43.608Z] > git checkout -f 9747a75a33ecb5f5efd60e178d2e65d0ffdf762d # timeout=10 [2022-09-15T05:12:43.865Z] > git remote # timeout=10 [2022-09-15T05:12:43.884Z] > git config --get remote.origin.url # timeout=10 [2022-09-15T05:12:43.899Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-15T05:12:43.909Z] > git merge b7de7b775397295cb69718a186a97b7526882c59 # timeout=10 [2022-09-15T05:12:44.106Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-15T05:12:44.132Z] > git config core.sparsecheckout # timeout=10 [2022-09-15T05:12:44.153Z] > git checkout -f 0bc9b23df9dcd926d944644b8aef28c70d9a2fef # timeout=10 [2022-09-15T05:12:48.277Z] Commit message: "Merge commit 'b7de7b775397295cb69718a186a97b7526882c59' into HEAD" [2022-09-15T05:12:48.278Z] First time build. Skipping changelog. [2022-09-15T05:12:48.332Z] > git --version # timeout=10 [2022-09-15T05:12:48.342Z] > git --version # 'git version 2.25.1' [2022-09-15T05:12:48.361Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-15T05:12:49.486Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-15T05:12:49.486Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-15T05:12:49.486Z] Dload Upload Total Spent Left Speed [2022-09-15T05:12:49.486Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 96198 0 --:--:-- --:--:-- --:--:-- 96198 [Pipeline] sh [2022-09-15T05:12:50.295Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-15T05:12:50.656Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-15T05:12:50.656Z] + sudo tee /etc/docker/daemon.new [2022-09-15T05:12:50.656Z] { [2022-09-15T05:12:50.656Z] "registry-mirrors": [ [2022-09-15T05:12:50.656Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-15T05:12:50.656Z] ], [2022-09-15T05:12:50.656Z] "bip": "10.250.0.254/24", [2022-09-15T05:12:50.656Z] "hosts": [ [2022-09-15T05:12:50.656Z] "tcp://0.0.0.0:5555", [2022-09-15T05:12:50.656Z] "unix:///var/run/docker.sock" [2022-09-15T05:12:50.656Z] ], [2022-09-15T05:12:50.656Z] "mtu": 1458, [2022-09-15T05:12:50.656Z] "selinux-enabled": true, [2022-09-15T05:12:50.656Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-15T05:12:50.656Z] } [Pipeline] sh [2022-09-15T05:12:51.015Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-15T05:12:51.366Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-15T05:13:09.960Z] provisioning config files... [2022-09-15T05:13:09.986Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config7355844432016741015tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-15T05:13:10.389Z] ---> docker-login.sh [2022-09-15T05:13:10.389Z] nexus3.edgexfoundry.org:10001 [2022-09-15T05:13:10.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T05:13:11.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T05:13:11.262Z] Configure a credential helper to remove this warning. See [2022-09-15T05:13:11.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T05:13:11.262Z] [2022-09-15T05:13:11.262Z] Login Succeeded [2022-09-15T05:13:11.262Z] nexus3.edgexfoundry.org:10002 [2022-09-15T05:13:11.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T05:13:11.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T05:13:11.812Z] Configure a credential helper to remove this warning. See [2022-09-15T05:13:11.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T05:13:11.812Z] [2022-09-15T05:13:11.812Z] Login Succeeded [2022-09-15T05:13:11.812Z] nexus3.edgexfoundry.org:10003 [2022-09-15T05:13:12.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T05:13:12.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T05:13:12.087Z] Configure a credential helper to remove this warning. See [2022-09-15T05:13:12.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T05:13:12.087Z] [2022-09-15T05:13:12.087Z] Login Succeeded [2022-09-15T05:13:12.362Z] nexus3.edgexfoundry.org:10004 [2022-09-15T05:13:12.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T05:13:12.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T05:13:12.636Z] Configure a credential helper to remove this warning. See [2022-09-15T05:13:12.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T05:13:12.636Z] [2022-09-15T05:13:12.636Z] Login Succeeded [2022-09-15T05:13:12.636Z] docker.io [2022-09-15T05:13:12.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T05:13:13.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T05:13:13.514Z] Configure a credential helper to remove this warning. See [2022-09-15T05:13:13.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T05:13:13.514Z] [2022-09-15T05:13:13.514Z] Login Succeeded [2022-09-15T05:13:13.514Z] ---> docker-login.sh ends [Pipeline] } [2022-09-15T05:13:13.542Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh [2022-09-15T05:13:14.215Z] + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo [2022-09-15T05:13:14.252Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-15T05:13:14.290Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-15T05:13:14.321Z] ========================================================= [2022-09-15T05:13:14.321Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-15T05:13:14.321Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-09-15T05:13:14.704Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-15T05:13:14.984Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-15T05:13:14.984Z] b3c136eddcbf: Pulling fs layer [2022-09-15T05:13:14.984Z] c0a3192eca97: Pulling fs layer [2022-09-15T05:13:14.984Z] a050256f5b6f: Pulling fs layer [2022-09-15T05:13:14.984Z] 656be50a0ddc: Pulling fs layer [2022-09-15T05:13:14.984Z] 2bbca73fdf42: Pulling fs layer [2022-09-15T05:13:14.984Z] 46d945488cbd: Pulling fs layer [2022-09-15T05:13:14.984Z] 8a5474983e97: Pulling fs layer [2022-09-15T05:13:14.984Z] 329c88fbcd65: Pulling fs layer [2022-09-15T05:13:14.984Z] 656be50a0ddc: Waiting [2022-09-15T05:13:14.984Z] 2bbca73fdf42: Waiting [2022-09-15T05:13:14.984Z] 46d945488cbd: Waiting [2022-09-15T05:13:14.984Z] 329c88fbcd65: Waiting [2022-09-15T05:13:14.984Z] 8a5474983e97: Waiting [2022-09-15T05:13:14.984Z] a050256f5b6f: Verifying Checksum [2022-09-15T05:13:14.984Z] a050256f5b6f: Download complete [2022-09-15T05:13:14.984Z] c0a3192eca97: Download complete [2022-09-15T05:13:14.984Z] 2bbca73fdf42: Verifying Checksum [2022-09-15T05:13:14.984Z] 2bbca73fdf42: Download complete [2022-09-15T05:13:14.984Z] 46d945488cbd: Download complete [2022-09-15T05:13:14.984Z] b3c136eddcbf: Verifying Checksum [2022-09-15T05:13:14.984Z] b3c136eddcbf: Download complete [2022-09-15T05:13:15.984Z] b3c136eddcbf: Pull complete [2022-09-15T05:13:15.984Z] 329c88fbcd65: Verifying Checksum [2022-09-15T05:13:15.984Z] 329c88fbcd65: Download complete [2022-09-15T05:13:16.590Z] c0a3192eca97: Pull complete [2022-09-15T05:13:16.868Z] a050256f5b6f: Pull complete [2022-09-15T05:13:17.143Z] 8a5474983e97: Verifying Checksum [2022-09-15T05:13:17.143Z] 8a5474983e97: Download complete [2022-09-15T05:13:17.752Z] 656be50a0ddc: Verifying Checksum [2022-09-15T05:13:17.752Z] 656be50a0ddc: Download complete [2022-09-15T05:13:32.881Z] 656be50a0ddc: Pull complete [2022-09-15T05:13:32.881Z] 2bbca73fdf42: Pull complete [2022-09-15T05:13:32.881Z] 46d945488cbd: Pull complete [2022-09-15T05:13:37.213Z] 8a5474983e97: Pull complete [2022-09-15T05:13:39.197Z] 329c88fbcd65: Pull complete [2022-09-15T05:13:39.197Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-15T05:13:39.197Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-15T05:13:39.197Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] fileExists [Pipeline] sh [2022-09-15T05:13:39.597Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-15T05:13:39.598Z] WORKDIR /edgex [2022-09-15T05:13:39.598Z] COPY go.mod . [2022-09-15T05:13:39.598Z] RUN go mod download [2022-09-15T05:13:39.598Z] + docker build -t ci-base-image-arm64 -f - . [2022-09-15T05:13:40.203Z] Sending build context to Docker daemon 3.229MB [2022-09-15T05:13:40.203Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-15T05:13:40.203Z] ---> ff4287adb874 [2022-09-15T05:13:40.203Z] Step 2/4 : WORKDIR /edgex [2022-09-15T05:13:42.198Z] ---> Running in c276f98d6833 [2022-09-15T05:13:42.198Z] Removing intermediate container c276f98d6833 [2022-09-15T05:13:42.198Z] ---> 628a2c1690c2 [2022-09-15T05:13:42.198Z] Step 3/4 : COPY go.mod . [2022-09-15T05:13:42.793Z] ---> c57510cc5001 [2022-09-15T05:13:42.793Z] Step 4/4 : RUN go mod download [2022-09-15T05:13:42.793Z] ---> Running in cd93b9c47cd3 [2022-09-15T05:14:15.167Z] Removing intermediate container cd93b9c47cd3 [2022-09-15T05:14:15.167Z] ---> 0282d3b7e295 [2022-09-15T05:14:15.167Z] Successfully built 0282d3b7e295 [2022-09-15T05:14:15.167Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T05:14:15.588Z] + docker inspect -f . ci-base-image-arm64 [2022-09-15T05:14:15.588Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T05:14:15.915Z] prd-ubuntu20.04-docker-arm64-4c-16g-29148 does not seem to be running inside a container [2022-09-15T05:14:15.995Z] $ 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 [2022-09-15T05:14:17.318Z] $ docker top 6df5a0abc3c6d955c040d6c393af1fc7ff08223f5fbd162e67603a71ada2eb2b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-15T05:14:18.273Z] + go version [2022-09-15T05:14:18.273Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-15T05:14:18.305Z] $ docker stop --time=1 6df5a0abc3c6d955c040d6c393af1fc7ff08223f5fbd162e67603a71ada2eb2b [2022-09-15T05:14:19.948Z] $ docker rm -f 6df5a0abc3c6d955c040d6c393af1fc7ff08223f5fbd162e67603a71ada2eb2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T05:14:20.858Z] + docker inspect -f . ci-base-image-arm64 [2022-09-15T05:14:20.858Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T05:14:21.169Z] prd-ubuntu20.04-docker-arm64-4c-16g-29148 does not seem to be running inside a container [2022-09-15T05:14:21.243Z] $ 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 [2022-09-15T05:14:22.513Z] $ docker top a3621fc2b5bc8b4dab85e95e90e225717b1798faf837964e3097d32f77b5476d -eo pid,comm [Pipeline] { [Pipeline] echo [2022-09-15T05:14:22.826Z] ========================================================= [2022-09-15T05:14:22.826Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-09-15T05:14:22.826Z] ========================================================= [Pipeline] sh [2022-09-15T05:14:23.485Z] + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh [2022-09-15T05:14:24.208Z] + make test [2022-09-15T05:14:24.208Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-15T05:14:56.571Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-09-15T05:16:33.426Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-09-15T05:16:33.426Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-09-15T05:16:34.413Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-09-15T05:16:34.413Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-09-15T05:16:38.746Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-09-15T05:16:38.746Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-09-15T05:16:38.746Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-09-15T05:16:38.746Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-09-15T05:16:38.746Z] ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] [2022-09-15T05:16:39.353Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2022-09-15T05:16:39.353Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2022-09-15T05:16:40.818Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2022-09-15T05:16:40.818Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2022-09-15T05:16:40.818Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2022-09-15T05:16:40.818Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2022-09-15T05:16:55.958Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.273s coverage: 28.7% of statements [2022-09-15T05:16:55.958Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2022-09-15T05:16:55.958Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2022-09-15T05:16:57.402Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.485s coverage: 98.5% of statements [2022-09-15T05:17:00.825Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/external 0.523s coverage: 72.5% of statements [2022-09-15T05:17:00.825Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] [2022-09-15T05:17:00.825Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2022-09-15T05:17:00.825Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.522s coverage: 54.2% of statements [2022-09-15T05:17:00.825Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2022-09-15T05:17:00.825Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2022-09-15T05:17:27.761Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 22.253s coverage: 89.2% of statements [2022-09-15T05:17:27.761Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] [2022-09-15T05:17:27.761Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2022-09-15T05:17:27.761Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2022-09-15T05:17:27.761Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2022-09-15T05:17:27.761Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2022-09-15T05:17:27.761Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.688s coverage: 2.3% of statements [2022-09-15T05:17:27.761Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2022-09-15T05:17:27.761Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2022-09-15T05:17:27.761Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 2.934s coverage: 95.6% of statements [2022-09-15T05:17:27.761Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2022-09-15T05:17:27.761Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2022-09-15T05:17:27.761Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] [2022-09-15T05:17:27.761Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.381s coverage: 72.2% of statements [2022-09-15T05:17:27.761Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2022-09-15T05:17:27.761Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2022-09-15T05:17:27.761Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2022-09-15T05:17:27.761Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2022-09-15T05:17:27.761Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2022-09-15T05:17:27.761Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.643s coverage: 60.0% of statements [2022-09-15T05:17:27.761Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2022-09-15T05:17:27.761Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2022-09-15T05:17:27.761Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2022-09-15T05:17:27.761Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.638s coverage: 0.9% of statements [2022-09-15T05:17:27.761Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2022-09-15T05:17:27.761Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.248s coverage: 58.8% of statements [2022-09-15T05:17:27.761Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.385s coverage: 29.6% of statements [2022-09-15T05:17:27.761Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2022-09-15T05:17:29.212Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.243s coverage: 47.1% of statements [2022-09-15T05:17:29.212Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.352s coverage: 79.5% of statements [2022-09-15T05:17:29.212Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.230s coverage: 94.1% of statements [2022-09-15T05:17:29.212Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.302s coverage: 96.3% of statements [2022-09-15T05:17:32.624Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.242s coverage: 87.5% of statements [2022-09-15T05:17:40.915Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.333s coverage: 94.4% of statements [2022-09-15T05:17:40.915Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.235s coverage: 44.8% of statements [2022-09-15T05:17:51.058Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.759s coverage: 80.8% of statements [2022-09-15T05:17:51.058Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2022-09-15T05:17:55.415Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.294s coverage: 92.9% of statements [2022-09-15T05:17:55.415Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2022-09-15T05:17:55.415Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2022-09-15T05:17:55.415Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2022-09-15T05:17:55.415Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.065s coverage: 65.1% of statements [2022-09-15T05:17:55.415Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2022-09-15T05:17:55.415Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] [2022-09-15T05:17:55.415Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] [2022-09-15T05:17:55.415Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] [2022-09-15T05:17:55.415Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.247s coverage: 86.9% of statements [2022-09-15T05:17:55.415Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2022-09-15T05:17:55.415Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2022-09-15T05:17:55.415Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2022-09-15T05:17:55.415Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2022-09-15T05:17:55.415Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.215s coverage: 87.2% of statements [2022-09-15T05:17:55.415Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2022-09-15T05:17:55.415Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2022-09-15T05:17:55.415Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.176s coverage: 100.0% of statements [2022-09-15T05:17:55.415Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2022-09-15T05:17:55.415Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.280s coverage: 58.8% of statements [2022-09-15T05:17:55.415Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2022-09-15T05:17:55.415Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.264s coverage: 80.0% of statements [2022-09-15T05:17:55.415Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.240s coverage: 87.2% of statements [2022-09-15T05:17:55.415Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.303s coverage: 85.4% of statements [2022-09-15T05:17:56.428Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.935s coverage: 91.2% of statements [2022-09-15T05:17:56.428Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2022-09-15T05:18:04.755Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.016s coverage: 64.7% of statements [2022-09-15T05:18:04.755Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2022-09-15T05:18:04.755Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2022-09-15T05:18:04.755Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.296s coverage: 100.0% of statements [2022-09-15T05:18:04.755Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.111s coverage: 89.4% of statements [2022-09-15T05:18:04.755Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.107s coverage: 100.0% of statements [2022-09-15T05:18:04.755Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.083s coverage: 73.7% of statements [2022-09-15T05:18:04.755Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.068s coverage: 100.0% of statements [2022-09-15T05:18:10.190Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.365s coverage: 65.8% of statements [2022-09-15T05:18:10.190Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2022-09-15T05:18:10.190Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2022-09-15T05:18:10.190Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2022-09-15T05:18:13.621Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.832s coverage: 41.8% of statements [2022-09-15T05:18:13.621Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2022-09-15T05:18:13.621Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2022-09-15T05:18:13.621Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.308s coverage: 89.5% of statements [2022-09-15T05:18:13.621Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2022-09-15T05:18:13.621Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.251s coverage: 84.8% of statements [2022-09-15T05:18:13.621Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] [2022-09-15T05:18:13.621Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] [2022-09-15T05:18:13.621Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] [2022-09-15T05:18:13.621Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] [2022-09-15T05:18:21.947Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.350s coverage: 17.7% of statements [2022-09-15T05:18:21.948Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2022-09-15T05:18:21.948Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2022-09-15T05:18:21.948Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2022-09-15T05:18:21.948Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2022-09-15T05:18:21.948Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.748s coverage: 92.3% of statements [2022-09-15T05:18:21.948Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2022-09-15T05:18:21.948Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2022-09-15T05:18:21.948Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] [2022-09-15T05:18:21.948Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2022-09-15T05:18:21.948Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.473s coverage: 63.2% of statements [2022-09-15T05:18:21.948Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2022-09-15T05:18:21.948Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2022-09-15T05:18:21.948Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.437s coverage: 97.7% of statements [2022-09-15T05:18:21.948Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2022-09-15T05:18:21.948Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2022-09-15T05:18:21.948Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2022-09-15T05:18:21.948Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] [2022-09-15T05:18:21.948Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.208s coverage: 28.9% of statements [2022-09-15T05:18:21.948Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] [2022-09-15T05:18:21.948Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] [2022-09-15T05:18:21.948Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2022-09-15T05:18:21.948Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2022-09-15T05:18:21.948Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] [2022-09-15T05:18:21.948Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2022-09-15T05:18:21.948Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.215s coverage: 100.0% of statements [2022-09-15T05:18:21.948Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.091s coverage: 96.9% of statements [2022-09-15T05:18:22.543Z] if which hadolint > /dev/null ; then hadolint --config .hadolint.yml `find * -type f -name 'Dockerfile*' -print` ; elif test "aarch64" = "x86_64" && which docker > /dev/null ; then docker run --rm -v `pwd`:/host:ro,z --entrypoint /bin/hadolint hadolint/hadolint:latest --config /host/.hadolint.yml `find * -type f -name 'Dockerfile*' | xargs -i echo '/host/{}'` ; fi [2022-09-15T05:18:22.543Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-15T05:18:22.543Z] GO111MODULE=on go vet ./... [2022-09-15T05:20:14.446Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-15T05:20:14.446Z] ./internal/pkg/infrastructure/redis/device_profile.go [2022-09-15T05:20:14.446Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-15T05:20:14.446Z] make: *** [Makefile:165: test] Error 1 [Pipeline] } [2022-09-15T05:20:14.489Z] $ docker stop --time=1 a3621fc2b5bc8b4dab85e95e90e225717b1798faf837964e3097d32f77b5476d [2022-09-15T05:20:16.327Z] $ docker rm -f a3621fc2b5bc8b4dab85e95e90e225717b1798faf837964e3097d32f77b5476d [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 [2022-09-15T05:20:18.598Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-15T05:20:18.598Z] [2022-09-15T05:20:18.598Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T05:20:19.009Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-15T05:20:19.282Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-15T05:20:19.283Z] 8998bd30e6a1: Pulling fs layer [2022-09-15T05:20:19.283Z] 04944245beec: Pulling fs layer [2022-09-15T05:20:19.283Z] 699f458cf7ca: Pulling fs layer [2022-09-15T05:20:19.283Z] 765212b225bb: Pulling fs layer [2022-09-15T05:20:19.283Z] f23df028b6ca: Pulling fs layer [2022-09-15T05:20:19.283Z] d65c8cfc05b1: Pulling fs layer [2022-09-15T05:20:19.283Z] 2437ff75d9bd: Pulling fs layer [2022-09-15T05:20:19.283Z] f23df028b6ca: Waiting [2022-09-15T05:20:19.283Z] 765212b225bb: Waiting [2022-09-15T05:20:19.283Z] 2437ff75d9bd: Waiting [2022-09-15T05:20:19.283Z] d65c8cfc05b1: Waiting [2022-09-15T05:20:19.561Z] 04944245beec: Verifying Checksum [2022-09-15T05:20:19.561Z] 04944245beec: Download complete [2022-09-15T05:20:19.561Z] 765212b225bb: Verifying Checksum [2022-09-15T05:20:19.561Z] 765212b225bb: Download complete [2022-09-15T05:20:19.561Z] f23df028b6ca: Verifying Checksum [2022-09-15T05:20:19.561Z] f23df028b6ca: Download complete [2022-09-15T05:20:19.561Z] d65c8cfc05b1: Verifying Checksum [2022-09-15T05:20:19.561Z] d65c8cfc05b1: Download complete [2022-09-15T05:20:19.840Z] 699f458cf7ca: Verifying Checksum [2022-09-15T05:20:19.840Z] 699f458cf7ca: Download complete [2022-09-15T05:20:20.116Z] 8998bd30e6a1: Verifying Checksum [2022-09-15T05:20:20.116Z] 8998bd30e6a1: Download complete [2022-09-15T05:20:22.768Z] 2437ff75d9bd: Verifying Checksum [2022-09-15T05:20:22.768Z] 2437ff75d9bd: Download complete [2022-09-15T05:20:24.775Z] 8998bd30e6a1: Pull complete [2022-09-15T05:20:24.775Z] 04944245beec: Pull complete [2022-09-15T05:20:26.217Z] 699f458cf7ca: Pull complete [2022-09-15T05:20:26.497Z] 765212b225bb: Pull complete [2022-09-15T05:20:27.481Z] f23df028b6ca: Pull complete [2022-09-15T05:20:27.756Z] d65c8cfc05b1: Pull complete [2022-09-15T05:20:42.865Z] 2437ff75d9bd: Pull complete [2022-09-15T05:20:42.865Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-15T05:20:42.865Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-15T05:20:42.865Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T05:20:43.253Z] prd-ubuntu20.04-docker-arm64-4c-16g-29148 does not seem to be running inside a container [2022-09-15T05:20:43.349Z] $ 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 [2022-09-15T05:20:45.798Z] $ docker top c130983e1e209557e5ca7c141aeadd72e0dde20063ea4dc96b08103a309deaf9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-15T05:20:46.859Z] ---> job-cost.sh [2022-09-15T05:20:46.860Z] lf-activate-venv: SKIPPING [2022-09-15T05:20:46.860Z] INFO: No Stack... [2022-09-15T05:20:48.295Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-15T05:20:48.888Z] INFO: Archiving Costs [Pipeline] sh [2022-09-15T05:20:49.576Z] + cat /w/workspace/edgex-go/1/archives/cost.csv [2022-09-15T05:20:49.576Z] + cut -d, -f6 [Pipeline] lock [2022-09-15T05:20:49.661Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4157-1-stack-cost] [2022-09-15T05:20:49.667Z] Resource [jenkins-edgexfoundry-edgex-go-PR-4157-1-stack-cost] did not exist. Created. [2022-09-15T05:20:49.668Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4157-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-15T05:20:50.431Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-15T05:20:51.069Z] Stashed 1 file(s) [Pipeline] } [2022-09-15T05:20:51.084Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4157-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-15T05:20:51.165Z] $ docker stop --time=1 c130983e1e209557e5ca7c141aeadd72e0dde20063ea4dc96b08103a309deaf9 [2022-09-15T05:20:52.629Z] $ docker rm -f c130983e1e209557e5ca7c141aeadd72e0dde20063ea4dc96b08103a309deaf9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-15T05:20:53.314Z] 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 [2022-09-15T05:20:54.755Z] + [ -d /w/workspace/edgex-go/1/archives ] [Pipeline] libraryResource [Pipeline] sh [2022-09-15T05:20:55.083Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-15T05:20:55.975Z] ---> package-listing.sh [2022-09-15T05:20:55.975Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-15T05:20:55.975Z] ++ facter osfamily [2022-09-15T05:20:56.239Z] + OS_FAMILY=debian [2022-09-15T05:20:56.239Z] + workspace=/w/workspace/edgex-go/1 [2022-09-15T05:20:56.239Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-15T05:20:56.239Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-15T05:20:56.239Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-15T05:20:56.239Z] + PACKAGES=/tmp/packages_start.txt [2022-09-15T05:20:56.239Z] + '[' /w/workspace/edgex-go/1 ']' [2022-09-15T05:20:56.239Z] + PACKAGES=/tmp/packages_end.txt [2022-09-15T05:20:56.239Z] + case "${OS_FAMILY}" in [2022-09-15T05:20:56.239Z] + dpkg -l [2022-09-15T05:20:56.239Z] + grep '^ii' [2022-09-15T05:20:56.239Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-15T05:20:56.239Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-15T05:20:56.239Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-15T05:20:56.239Z] + '[' /w/workspace/edgex-go/1 ']' [2022-09-15T05:20:56.239Z] + mkdir -p /w/workspace/edgex-go/1/archives/ [2022-09-15T05:20:56.239Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo [2022-09-15T05:20:56.270Z] 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 [2022-09-15T05:20:56.564Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T05:20:57.252Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-15T05:20:57.252Z] [2022-09-15T05:20:57.252Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T05:20:57.628Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-15T05:20:57.628Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-15T05:20:57.628Z] 5eb5b503b376: Pulling fs layer [2022-09-15T05:20:57.628Z] 5c69ac0246d0: Pulling fs layer [2022-09-15T05:20:57.628Z] ec43610c2a17: Pulling fs layer [2022-09-15T05:20:57.628Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-15T05:20:57.628Z] 33b1e0a273af: Pulling fs layer [2022-09-15T05:20:57.628Z] 5d3b04190fa2: Pulling fs layer [2022-09-15T05:20:57.628Z] 2f39f015ded8: Pulling fs layer [2022-09-15T05:20:57.628Z] 33b1e0a273af: Waiting [2022-09-15T05:20:57.628Z] 5d3b04190fa2: Waiting [2022-09-15T05:20:57.628Z] 2f39f015ded8: Waiting [2022-09-15T05:20:57.628Z] 3a2ae6a8a46f: Waiting [2022-09-15T05:20:57.628Z] 5c69ac0246d0: Download complete [2022-09-15T05:20:57.628Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-15T05:20:57.628Z] 3a2ae6a8a46f: Download complete [2022-09-15T05:20:57.890Z] 33b1e0a273af: Verifying Checksum [2022-09-15T05:20:57.890Z] 33b1e0a273af: Download complete [2022-09-15T05:20:57.890Z] 5d3b04190fa2: Verifying Checksum [2022-09-15T05:20:57.890Z] ec43610c2a17: Verifying Checksum [2022-09-15T05:20:57.890Z] ec43610c2a17: Download complete [2022-09-15T05:20:57.890Z] 5eb5b503b376: Verifying Checksum [2022-09-15T05:20:57.890Z] 5eb5b503b376: Download complete [2022-09-15T05:20:58.457Z] 2f39f015ded8: Download complete [2022-09-15T05:20:59.023Z] 5eb5b503b376: Pull complete [2022-09-15T05:20:59.283Z] 5c69ac0246d0: Pull complete [2022-09-15T05:20:59.850Z] ec43610c2a17: Pull complete [2022-09-15T05:20:59.850Z] 3a2ae6a8a46f: Pull complete [2022-09-15T05:21:00.108Z] 33b1e0a273af: Pull complete [2022-09-15T05:21:00.108Z] 5d3b04190fa2: Pull complete [2022-09-15T05:21:04.299Z] 2f39f015ded8: Pull complete [2022-09-15T05:21:04.299Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-15T05:21:04.299Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-15T05:21:04.299Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T05:21:04.498Z] prd-ubuntu20.04-docker-8c-8g-29147 does not seem to be running inside a container [2022-09-15T05:21:04.565Z] $ 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 [2022-09-15T05:21:07.398Z] $ docker top cd02a15756b08c30e278f9b248808c39b23224fc1e1377f2725476d4fa73f248 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-15T05:21:07.821Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-15T05:21:08.133Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-15T05:21:08.460Z] + ls /var/log/sa-host [2022-09-15T05:21:08.460Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-15T05:21:08.663Z] provisioning config files... [2022-09-15T05:21:08.673Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config1138232024925744090tmp [Pipeline] { [Pipeline] echo [2022-09-15T05:21:08.725Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-15T05:21:09.047Z] ---> create-netrc.sh [Pipeline] } [2022-09-15T05:21:09.075Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-15T05:21:09.482Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-15T05:21:09.511Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-15T05:21:09.824Z] ---> sudo-logs.sh [2022-09-15T05:21:09.824Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-15T05:21:09.923Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-15T05:21:10.248Z] ---> job-cost.sh [2022-09-15T05:21:10.248Z] lf-activate-venv: SKIPPING [2022-09-15T05:21:10.248Z] DEBUG: total: 0.10999999940395355 [2022-09-15T05:21:10.248Z] INFO: Retrieving Stack Cost... [2022-09-15T05:21:10.819Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-15T05:21:11.389Z] INFO: Archiving Costs [Pipeline] echo [2022-09-15T05:21:11.424Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-15T05:21:11.744Z] ---> logs-deploy.sh [2022-09-15T05:21:11.744Z] lf-activate-venv: SKIPPING [2022-09-15T05:21:11.744Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4157/1 [2022-09-15T05:21:11.744Z] INFO: archiving workspace using pattern(s): [2022-09-15T05:21:12.686Z] Archives upload complete. [2022-09-15T05:21:12.948Z] INFO: archiving logs to Nexus