Pull request #4535 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e8fae66153be22fe43d4c8a2a545f26faffca888+577681181bc6884f0ff204c6dd697ba0a91a7618 (cba7cd4918a9233b26411cdb96ba629ac3857c01) 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-ssh5358058007853947579.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh7512372663648582146.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-4535/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-4535/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17512177716500846082.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-4535/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12417944703547768162.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh11571185887998269784.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-4535/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-4535/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9739690985643567984.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3], 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.20 USE_ALPINE: true DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: DOCKER_IMAGE_NAME_SUFFIX: DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-11058’ Running on prd-ubuntu20.04-docker-8c-8g-11061 in /w/workspace/edgexfoundry_edgex-go_PR-4535 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/1 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 577681181bc6884f0ff204c6dd697ba0a91a7618 into PR head commit e8fae66153be22fe43d4c8a2a545f26faffca888 Merge succeeded, producing e8fae66153be22fe43d4c8a2a545f26faffca888 Checking out Revision e8fae66153be22fe43d4c8a2a545f26faffca888 (PR-4535) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage > 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/4535/head:refs/remotes/origin/PR-4535 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e8fae66153be22fe43d4c8a2a545f26faffca888 # 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 577681181bc6884f0ff204c6dd697ba0a91a7618 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e8fae66153be22fe43d4c8a2a545f26faffca888 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:59:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:59:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:59:46 ========================================================= 19:59:46 EdgeX Global Pipelines Version Info 19:59:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:59:47 ------------------- 19:59:47 stable info: 19:59:47 ------------------- 19:59:47 Commited By: Bill Mahoney bill.mahoney@intel.com 19:59:47 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 19:59:47 Message: update stable to v1.0.248 19:59:47 ------------------- 19:59:47 experimental info: 19:59:47 ------------------- 19:59:47 Commited By: **** collab-it+edgex@linuxfoundation.org 19:59:47 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 19:59:47 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:59:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 19:59:47 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 19:59:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:59:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:59:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:59:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 19:59:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:59:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 19:59:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 19:59:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 19:59:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:59:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:59:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:59:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:59:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:59:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:59:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:59:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:59:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 19:59:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 19:59:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:59:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:59:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:59:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4535 [Pipeline] echo 19:59:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4535 [Pipeline] echo 19:59:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4535 [Pipeline] echo 19:59:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e8fae66153be22fe43d4c8a2a545f26faffca888 [Pipeline] echo 19:59:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e8fae66 [Pipeline] echo 19:59:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:59:49 provisioning config files... 19:59:49 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config8439035175286189647tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:59:49 ---> docker-login.sh 19:59:49 nexus3.edgexfoundry.org:10001 19:59:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:50 Configure a credential helper to remove this warning. See 19:59:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:50 19:59:50 Login Succeeded 19:59:50 nexus3.edgexfoundry.org:10002 19:59:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:50 Configure a credential helper to remove this warning. See 19:59:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:50 19:59:50 Login Succeeded 19:59:50 nexus3.edgexfoundry.org:10003 19:59:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:50 Configure a credential helper to remove this warning. See 19:59:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:50 19:59:50 Login Succeeded 19:59:50 nexus3.edgexfoundry.org:10004 19:59:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:50 Configure a credential helper to remove this warning. See 19:59:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:50 19:59:50 Login Succeeded 19:59:50 docker.io 19:59:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:50 Configure a credential helper to remove this warning. See 19:59:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:50 19:59:50 Login Succeeded 19:59:50 ---> docker-login.sh ends [Pipeline] } 19:59:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:59:51 + ls cmd/core-command/Dockerfile cmd/core-common-config-bootstrapper/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-auth/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/security-spiffe-token-provider/Dockerfile cmd/security-spire-agent/Dockerfile cmd/security-spire-config/Dockerfile cmd/security-spire-server/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile 19:59:51 + dirname cmd/core-command/Dockerfile 19:59:51 + cut -d/ -f2 19:59:51 + echo core-command,cmd/core-command/Dockerfile 19:59:51 + cut+ -d/ -f2 19:59:51 dirname cmd/core-common-config-bootstrapper/Dockerfile 19:59:51 + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile 19:59:51 + + dirname cmd/core-data/Dockerfilecut 19:59:51 -d/ -f2 19:59:51 + echo core-data,cmd/core-data/Dockerfile 19:59:51 + cut+ -d/ -f2 19:59:51 dirname cmd/core-metadata/Dockerfile 19:59:51 + echo core-metadata,cmd/core-metadata/Dockerfile 19:59:51 + dirname cmd/security-bootstrapper/Dockerfile 19:59:51 + cut -d/ -f2 19:59:51 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 19:59:51 + + dirname cmd/security-proxy-auth/Dockerfile 19:59:51 cut -d/ -f2 19:59:51 + echo security-proxy-auth,cmd/security-proxy-auth/Dockerfile 19:59:51 + dirname cmd/security-proxy-setup/Dockerfile 19:59:51 + cut -d/ -f2 19:59:51 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 19:59:51 + dirname cmd/security-secretstore-setup/Dockerfile 19:59:51 + cut -d/ -f2 19:59:51 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 19:59:51 + + dirname cmd/security-spiffe-token-provider/Dockerfilecut 19:59:51 -d/ -f2 19:59:51 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 19:59:51 + dirname cmd/security-spire-agent/Dockerfile 19:59:51 + cut -d/ -f2 19:59:51 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 19:59:51 + + dirname cmd/security-spire-config/Dockerfile 19:59:51 cut -d/ -f2 19:59:51 + echo security-spire-config,cmd/security-spire-config/Dockerfile 19:59:51 + dirname cmd/security-spire-server/Dockerfile 19:59:51 + cut -d/ -f2 19:59:51 + echo security-spire-server,cmd/security-spire-server/Dockerfile 19:59:51 + dirname cmd/support-notifications/Dockerfile 19:59:51 + cut -d/ -f2 19:59:51 + echo support-notifications,cmd/support-notifications/Dockerfile 19:59:51 + dirname cmd/support-scheduler/Dockerfile 19:59:51 + cut -d/ -f2 19:59:51 + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo 19:59:51 Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/Dockerfile], [image:core-common-config-bootstrapper, dockerfile:cmd/core-common-config-bootstrapper/Dockerfile], [image:core-data, dockerfile:cmd/core-data/Dockerfile], [image:core-metadata, dockerfile:cmd/core-metadata/Dockerfile], [image:security-bootstrapper, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:security-proxy-auth, dockerfile:cmd/security-proxy-auth/Dockerfile], [image:security-proxy-setup, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:security-secretstore-setup, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:security-spiffe-token-provider, dockerfile:cmd/security-spiffe-token-provider/Dockerfile], [image:security-spire-agent, dockerfile:cmd/security-spire-agent/Dockerfile], [image:security-spire-config, dockerfile:cmd/security-spire-config/Dockerfile], [image:security-spire-server, dockerfile:cmd/security-spire-server/Dockerfile], [image:support-notifications, dockerfile:cmd/support-notifications/Dockerfile], [image:support-scheduler, dockerfile:cmd/support-scheduler/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:59:51 + git rev-list -1 --merges e8fae66153be22fe43d4c8a2a545f26faffca888~1..e8fae66153be22fe43d4c8a2a545f26faffca888 [Pipeline] echo 19:59:51 -----------> git rev-list -1 --merges e8fae66153be22fe43d4c8a2a545f26faffca888~1..e8fae66153be22fe43d4c8a2a545f26faffca888 e8fae66153be22fe43d4c8a2a545f26faffca888 [false] [Pipeline] sh 19:59:52 + git log --format=format:%s -1 e8fae66153be22fe43d4c8a2a545f26faffca888 [Pipeline] echo 19:59:52 ========================================================= 19:59:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:59:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 19:59:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:59:52 + grep -v github /etc/ssh/ssh_known_hosts 19:59:52 + [ -e /tmp/ssh_known_hosts ] 19:59:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:59:52 + sudo tee -a /etc/ssh/ssh_known_hosts+ 19:59:52 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:59:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:59:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:59:52 19:59:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:59:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:59:53 0.1.4: Pulling from edgex-devops/py-git-semver 19:59:53 b85a868b505f: Pulling fs layer 19:59:53 e2be974225ed: Pulling fs layer 19:59:53 339a4e72a1f5: Pulling fs layer 19:59:53 988bab9f4d93: Pulling fs layer 19:59:53 1469e6f7b9e6: Pulling fs layer 19:59:53 eaf3925da568: Pulling fs layer 19:59:53 bab4dde63d76: Pulling fs layer 19:59:53 bde34c3a00c8: Pulling fs layer 19:59:53 b352a97aabf1: Pulling fs layer 19:59:53 4872d77fe225: Pulling fs layer 19:59:53 5851b861e8e6: Pulling fs layer 19:59:53 988bab9f4d93: Waiting 19:59:53 1469e6f7b9e6: Waiting 19:59:53 eaf3925da568: Waiting 19:59:53 bab4dde63d76: Waiting 19:59:53 bde34c3a00c8: Waiting 19:59:53 b352a97aabf1: Waiting 19:59:53 4872d77fe225: Waiting 19:59:53 5851b861e8e6: Waiting 19:59:53 e2be974225ed: Verifying Checksum 19:59:53 e2be974225ed: Download complete 19:59:53 988bab9f4d93: Verifying Checksum 19:59:53 988bab9f4d93: Download complete 19:59:53 1469e6f7b9e6: Verifying Checksum 19:59:53 1469e6f7b9e6: Download complete 19:59:53 eaf3925da568: Verifying Checksum 19:59:53 eaf3925da568: Download complete 19:59:53 339a4e72a1f5: Verifying Checksum 19:59:53 339a4e72a1f5: Download complete 19:59:53 bde34c3a00c8: Download complete 19:59:53 b352a97aabf1: Verifying Checksum 19:59:53 b352a97aabf1: Download complete 19:59:53 4872d77fe225: Verifying Checksum 19:59:53 4872d77fe225: Download complete 19:59:53 5851b861e8e6: Download complete 19:59:53 b85a868b505f: Verifying Checksum 19:59:53 b85a868b505f: Download complete 19:59:53 bab4dde63d76: Verifying Checksum 19:59:53 bab4dde63d76: Download complete 19:59:54 b85a868b505f: Pull complete 19:59:54 e2be974225ed: Pull complete 19:59:55 339a4e72a1f5: Pull complete 19:59:55 988bab9f4d93: Pull complete 19:59:55 1469e6f7b9e6: Pull complete 19:59:55 eaf3925da568: Pull complete 19:59:57 bab4dde63d76: Pull complete 19:59:57 bde34c3a00c8: Pull complete 19:59:57 b352a97aabf1: Pull complete 19:59:57 4872d77fe225: Pull complete 19:59:57 5851b861e8e6: Pull complete 19:59:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:59:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:59:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:59:57 prd-ubuntu20.04-docker-8c-8g-11061 does not seem to be running inside a container 19:59:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:59:59 $ docker top 7a094d0edf600a09338473c510566c76bdd17ddef57d8083e29b84a64c17e679 -eo pid,comm 19:59:59 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). 19:59:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:59:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:59:59 [ssh-agent] Looking for ssh-agent implementation... 19:59:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:59:59 $ docker exec 7a094d0edf600a09338473c510566c76bdd17ddef57d8083e29b84a64c17e679 ssh-agent 19:59:59 SSH_AUTH_SOCK=/tmp/ssh-aqDWqdEI3qfq/agent.31 19:59:59 SSH_AGENT_PID=37 19:59:59 Running ssh-add (command line suppressed) 19:59:59 Identity added: /w/workspace/edgex-go/1@tmp/private_key_10876710182217705734.key (/w/workspace/edgex-go/1@tmp/private_key_10876710182217705734.key) 19:59:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:00:00 + git tag --points-at HEAD [Pipeline] } 20:00:00 $ docker exec --env ******** --env ******** 7a094d0edf600a09338473c510566c76bdd17ddef57d8083e29b84a64c17e679 ssh-agent -k 20:00:00 unset SSH_AUTH_SOCK; 20:00:00 unset SSH_AGENT_PID; 20:00:00 echo Agent pid 37 killed; 20:00:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:00:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:00:00 [ssh-agent] Looking for ssh-agent implementation... 20:00:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:00:00 $ docker exec 7a094d0edf600a09338473c510566c76bdd17ddef57d8083e29b84a64c17e679 ssh-agent 20:00:00 SSH_AUTH_SOCK=/tmp/ssh-KZNWqHLWyX0x/agent.69 20:00:00 SSH_AGENT_PID=75 20:00:00 Running ssh-add (command line suppressed) 20:00:00 Identity added: /w/workspace/edgex-go/1@tmp/private_key_15181166017363398137.key (/w/workspace/edgex-go/1@tmp/private_key_15181166017363398137.key) 20:00:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:00:01 + git semver init 20:00:01 2023-04-26 20:00:01,381 [run_init] DEBUG init version:0.0.0 force:False 20:00:01 2023-04-26 20:00:01,382 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/1/.semver 20:00:01 2023-04-26 20:00:01,382 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/1/.semver 20:00:01 2023-04-26 20:00:01,383 [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) 20:00:06 2023-04-26 20:00:06,000 [append_file] DEBUG append to file:/w/workspace/edgex-go/1/.git/info/exclude 20:00:06 2023-04-26 20:00:06,000 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/1/.semver/PR-4535 with force:False 20:00:06 2023-04-26 20:00:06,000 [write_file] DEBUG write to file:/w/workspace/edgex-go/1/.semver/PR-4535 20:00:06 2023-04-26 20:00:06,003 [execute] INFO git cat-file --batch-check 20:00:06 2023-04-26 20:00:06,004 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 20:00:06 2023-04-26 20:00:06,011 [execute] INFO git cat-file --batch 20:00:06 2023-04-26 20:00:06,011 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 20:00:06 2023-04-26 20:00:06,016 [read_version] DEBUG read version from /w/workspace/edgex-go/1/.semver/PR-4535 20:00:06 0.0.0 [Pipeline] } 20:00:07 $ docker exec --env ******** --env ******** 7a094d0edf600a09338473c510566c76bdd17ddef57d8083e29b84a64c17e679 ssh-agent -k 20:00:07 unset SSH_AUTH_SOCK; 20:00:07 unset SSH_AGENT_PID; 20:00:07 echo Agent pid 75 killed; 20:00:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:00:07 + git semver [Pipeline] } 20:00:07 $ docker stop --time=1 7a094d0edf600a09338473c510566c76bdd17ddef57d8083e29b84a64c17e679 20:00:09 $ docker rm -f --volumes 7a094d0edf600a09338473c510566c76bdd17ddef57d8083e29b84a64c17e679 [Pipeline] // withDockerContainer [Pipeline] sh 20:00:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:00:10 Stashed 1 file(s) [Pipeline] echo 20:00:10 [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 20:00:11 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo 20:00:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:00:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:00:11 ========================================================= 20:00:11 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:00:11 ========================================================= [Pipeline] fileExists [Pipeline] sh 20:00:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:00:12 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:00:12 f56be85fc22e: Pulling fs layer 20:00:12 85791d961cd3: Pulling fs layer 20:00:12 d694b5ae8c79: Pulling fs layer 20:00:12 9f32a84ed3da: Pulling fs layer 20:00:12 4d19c01a9841: Pulling fs layer 20:00:12 9325e15d5711: Pulling fs layer 20:00:12 556b6ee489ea: Pulling fs layer 20:00:12 c5a4b2cf53e6: Pulling fs layer 20:00:12 9f32a84ed3da: Waiting 20:00:12 4d19c01a9841: Waiting 20:00:12 9325e15d5711: Waiting 20:00:12 556b6ee489ea: Waiting 20:00:12 c5a4b2cf53e6: Waiting 20:00:12 85791d961cd3: Download complete 20:00:12 9f32a84ed3da: Verifying Checksum 20:00:12 9f32a84ed3da: Download complete 20:00:12 4d19c01a9841: Verifying Checksum 20:00:12 4d19c01a9841: Download complete 20:00:12 f56be85fc22e: Verifying Checksum 20:00:12 f56be85fc22e: Download complete 20:00:12 9325e15d5711: Verifying Checksum 20:00:12 9325e15d5711: Download complete 20:00:12 f56be85fc22e: Pull complete 20:00:12 85791d961cd3: Pull complete 20:00:13 c5a4b2cf53e6: Verifying Checksum 20:00:13 c5a4b2cf53e6: Download complete 20:00:13 d694b5ae8c79: Verifying Checksum 20:00:13 d694b5ae8c79: Download complete 20:00:13 556b6ee489ea: Verifying Checksum 20:00:13 556b6ee489ea: Download complete 20:00:16 d694b5ae8c79: Pull complete 20:00:16 9f32a84ed3da: Pull complete 20:00:16 4d19c01a9841: Pull complete 20:00:16 9325e15d5711: Pull complete 20:00:19 556b6ee489ea: Pull complete 20:00:20 c5a4b2cf53e6: Pull complete 20:00:20 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 20:00:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:00:20 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] fileExists [Pipeline] sh 20:00:20 + + docker build -t ci-base-image-x86_64 -fecho - FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:00:20 WORKDIR /edgex 20:00:20 COPY go.mod . 20:00:20 RUN go mod download . 20:00:20 20:00:21 Sending build context to Docker daemon 170.7MB 20:00:21 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:00:21 ---> c4be618373d6 20:00:21 Step 2/4 : WORKDIR /edgex 20:00:23 ---> Running in c0eeda5cfca5 20:00:23 Removing intermediate container c0eeda5cfca5 20:00:23 ---> 033eaa2ff9fd 20:00:23 Step 3/4 : COPY go.mod . 20:00:23 ---> 73a6153cea89 20:00:23 Step 4/4 : RUN go mod download 20:00:23 ---> Running in f4cad4cd0633 20:00:25 Still waiting to schedule task 20:00:25 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-11059’ 20:00:31 Removing intermediate container f4cad4cd0633 20:00:31 ---> becf85f4ec73 20:00:31 Successfully built becf85f4ec73 20:00:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:00:31 + docker inspect -f . ci-base-image-x86_64 20:00:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:00:31 prd-ubuntu20.04-docker-8c-8g-11061 does not seem to be running inside a container 20:00:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:00:32 $ docker top 73e8de5eaf4ec281c55cd3d0d22603df618d288f18899dd1a4ec3ed40d1370ed -eo pid,comm [Pipeline] { [Pipeline] sh 20:00:32 + go version 20:00:32 go version go1.20.2 linux/amd64 [Pipeline] } 20:00:32 $ docker stop --time=1 73e8de5eaf4ec281c55cd3d0d22603df618d288f18899dd1a4ec3ed40d1370ed 20:00:34 $ docker rm -f --volumes 73e8de5eaf4ec281c55cd3d0d22603df618d288f18899dd1a4ec3ed40d1370ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:00:34 + docker inspect -f . ci-base-image-x86_64 20:00:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:00:34 prd-ubuntu20.04-docker-8c-8g-11061 does not seem to be running inside a container 20:00:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:00:35 $ docker top 2a46cbc7098c744be931876c35f5aff167a6866775e03d78ebe6b43a2e0d8521 -eo pid,comm [Pipeline] { [Pipeline] echo 20:00:35 ========================================================= 20:00:35 [edgeXBuildGoParallel] Running Tests and Build... 20:00:35 ========================================================= [Pipeline] sh 20:00:35 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh 20:00:36 + make test 20:00:36 go test -race -coverprofile=coverage.out ./... 20:00:42 ? github.com/edgexfoundry/edgex-go [no test files] 20:00:51 # github.com/edgexfoundry/edgex-go/internal/core/command/config 20:00:51 internal/core/command/config/config.go:78:17: cannot use c.Clients (variable of type map[string]"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ClientInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ClientsCollection value in struct literal 20:00:51 internal/core/command/config/config.go:79:17: cannot use c.Service (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo value in struct literal 20:00:51 internal/core/command/config/config.go:80:17: cannot use c.Registry (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".RegistryInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".RegistryInfo value in struct literal 20:00:51 internal/core/command/config/config.go:81:17: cannot use c.MessageBus (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".MessageBusInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".MessageBusInfo value in struct literal 20:00:51 internal/core/command/config/config.go:82:17: cannot use c.ExternalMQTT (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ExternalMQTTInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ExternalMQTTInfo value in struct literal 20:00:53 # github.com/edgexfoundry/edgex-go/internal/core/data/config 20:00:53 internal/core/data/config/config.go:77:15: cannot use c.Clients (variable of type map[string]"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ClientInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ClientsCollection value in struct literal 20:00:53 internal/core/data/config/config.go:78:15: cannot use c.Service (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo value in struct literal 20:00:53 internal/core/data/config/config.go:79:15: cannot use c.Registry (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".RegistryInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".RegistryInfo value in struct literal 20:00:53 internal/core/data/config/config.go:80:15: cannot use c.MessageBus (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".MessageBusInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".MessageBusInfo value in struct literal 20:00:53 # github.com/edgexfoundry/edgex-go/internal/core/metadata/config 20:00:53 internal/core/metadata/config/config.go:91:15: cannot use c.Service (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo value in struct literal 20:00:53 internal/core/metadata/config/config.go:92:15: cannot use c.Registry (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".RegistryInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".RegistryInfo value in struct literal 20:00:53 internal/core/metadata/config/config.go:93:15: cannot use c.MessageBus (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".MessageBusInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".MessageBusInfo value in struct literal 20:00:53 # github.com/edgexfoundry/edgex-go/internal/security/config/command 20:00:53 internal/security/config/command/flags_common.go:37:9: cannot use &commonFlags (value of type *commonFlags) as flags.Common value in return statement: *commonFlags does not implement flags.Common (missing method InDevMode) 20:00:54 # github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config 20:00:54 internal/security/proxyauth/config/config.go:72:13: cannot use c.Service (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo value in struct literal 20:00:54 internal/security/proxyauth/config/config.go:73:13: cannot use c.Registry (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".RegistryInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".RegistryInfo value in struct literal 20:00:54 # github.com/edgexfoundry/edgex-go/internal/support/notifications/config 20:00:54 internal/support/notifications/config/config.go:106:15: cannot use c.Clients (variable of type map[string]"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ClientInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ClientsCollection value in struct literal 20:00:54 internal/support/notifications/config/config.go:107:15: cannot use c.Service (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo value in struct literal 20:00:54 internal/support/notifications/config/config.go:108:15: cannot use c.Registry (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".RegistryInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".RegistryInfo value in struct literal 20:00:54 internal/support/notifications/config/config.go:109:15: cannot use c.MessageBus (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".MessageBusInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".MessageBusInfo value in struct literal 20:00:54 # github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config 20:00:54 internal/security/spiffetokenprovider/config/config.go:86:13: cannot use c.Clients (variable of type map[string]"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ClientInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ClientsCollection value in struct literal 20:00:54 internal/security/spiffetokenprovider/config/config.go:87:13: cannot use c.Service (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo value in struct literal 20:00:54 internal/security/spiffetokenprovider/config/config.go:88:13: cannot use c.Registry (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".RegistryInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".RegistryInfo value in struct literal 20:00:54 # github.com/edgexfoundry/edgex-go/internal/support/scheduler/config 20:00:54 internal/support/scheduler/config/config.go:137:15: cannot use c.Clients (variable of type map[string]"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ClientInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ClientsCollection value in struct literal 20:00:54 internal/support/scheduler/config/config.go:138:15: cannot use c.Service (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo value in struct literal 20:00:54 internal/support/scheduler/config/config.go:139:15: cannot use c.Registry (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".RegistryInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".RegistryInfo value in struct literal 20:00:54 internal/support/scheduler/config/config.go:140:15: cannot use c.MessageBus (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".MessageBusInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".MessageBusInfo value in struct literal 20:00:55 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 20:00:55 # github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 20:00:55 internal/security/bootstrapper/command/flags_common.go:36:9: cannot use &commonFlags (value of type *commonFlags) as "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/flags".Common value in return statement: *commonFlags does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/flags".Common (missing method InDevMode) 20:00:55 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 20:00:55 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 20:00:55 ? github.com/edgexfoundry/edgex-go/internal [no test files] 20:00:56 FAIL github.com/edgexfoundry/edgex-go/internal/core/command/application [build failed] 20:00:57 FAIL github.com/edgexfoundry/edgex-go/internal/core/command/controller/http [build failed] 20:00:57 FAIL github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging [build failed] 20:00:57 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 20:00:57 ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] 20:00:57 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/application [build failed] 20:00:57 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 20:00:57 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 20:00:57 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [build failed] 20:00:57 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/application [build failed] 20:00:58 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 20:00:58 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 20:00:58 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http [build failed] 20:00:58 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 20:00:58 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 20:00:58 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 20:00:58 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 20:00:58 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 20:00:58 ok github.com/edgexfoundry/edgex-go/internal/io 0.052s coverage: 72.2% of statements 20:00:59 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 20:00:59 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 20:00:59 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 20:00:59 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.063s coverage: 65.9% of statements 20:01:00 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 20:01:00 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.084s coverage: 0.9% of statements 20:01:00 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.053s coverage: 29.0% of statements 20:01:00 FAIL github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command [build failed] 20:01:01 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 20:01:01 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 20:01:01 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 20:01:01 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.055s coverage: 82.9% of statements 20:01:01 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.054s coverage: 94.1% of statements 20:01:01 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.061s coverage: 96.3% of statements 20:01:01 FAIL github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help [build failed] 20:01:01 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 20:01:01 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 20:01:01 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 20:01:01 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 20:01:02 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 20:01:02 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 20:01:02 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 20:01:02 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 20:01:03 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 20:01:03 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] 20:01:04 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 20:01:05 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 20:01:05 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 20:01:07 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 20:01:07 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 20:01:08 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 20:01:09 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 20:01:09 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 20:01:09 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 20:01:09 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 20:01:09 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 20:01:12 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.069s coverage: 94.4% of statements 20:01:25 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 23.259s coverage: 79.9% of statements 20:01:25 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.074s coverage: 92.9% of statements 20:01:25 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.024s coverage: 64.4% of statements 20:01:25 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.057s coverage: 62.3% of statements 20:01:25 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 12.070s coverage: 87.2% of statements 20:01:25 ok github.com/edgexfoundry/edgex-go/internal/security/common 0.048s coverage: 20.0% of statements 20:01:25 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/help [build failed] 20:01:25 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.085s coverage: 81.8% of statements 20:01:25 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.078s coverage: 82.1% of statements 20:01:25 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.047s coverage: 86.0% of statements 20:01:25 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.173s coverage: 63.1% of statements 20:01:25 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.052s coverage: 100.0% of statements 20:01:25 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.037s coverage: 89.4% of statements 20:01:25 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.027s coverage: 100.0% of statements 20:01:25 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.036s coverage: 73.7% of statements 20:01:25 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.029s coverage: 100.0% of statements 20:01:25 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.168s coverage: 38.4% of statements 20:01:25 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.059s coverage: 89.5% of statements 20:01:25 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.046s coverage: 84.8% of statements 20:01:25 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/application [build failed] 20:01:25 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http [build failed] 20:01:25 FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler [build failed] 20:01:25 FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http [build failed] 20:01:25 FAIL 20:01:25 make: *** [Makefile:148: unittest] Error 1 [Pipeline] } 20:01:25 $ docker stop --time=1 2a46cbc7098c744be931876c35f5aff167a6866775e03d78ebe6b43a2e0d8521 20:01:27 $ docker rm -f --volumes 2a46cbc7098c744be931876c35f5aff167a6866775e03d78ebe6b43a2e0d8521 [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] } 20:01:28 Failed in branch amd64 20:03:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11063 in /w/workspace/edgexfoundry_edgex-go_PR-4535 [Pipeline] { [Pipeline] ws 20:03:28 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout 20:03:28 The recommended git tool is: git 20:03:35 using credential edgex-jenkins-ssh 20:03:35 Cloning the remote Git repository 20:03:35 Cloning repository git@github.com:edgexfoundry/edgex-go.git 20:03:35 > git init /w/workspace/edgex-go/1 # timeout=10 20:03:35 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 20:03:35 > git --version # timeout=10 20:03:35 > git --version # 'git version 2.25.1' 20:03:35 using GIT_SSH to set credentials SSH Credentials for GitHub 20:03:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:03:55 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 20:03:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:03:56 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 20:03:56 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 20:03:56 using GIT_SSH to set credentials SSH Credentials for GitHub 20:03:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4535/head:refs/remotes/origin/PR-4535 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:03:57 Merging remotes/origin/main commit 577681181bc6884f0ff204c6dd697ba0a91a7618 into PR head commit e8fae66153be22fe43d4c8a2a545f26faffca888 20:03:57 Merge succeeded, producing e8fae66153be22fe43d4c8a2a545f26faffca888 20:03:57 Checking out Revision e8fae66153be22fe43d4c8a2a545f26faffca888 (PR-4535) 20:03:58 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" 20:03:58 > git --version # timeout=10 20:03:58 > git --version # 'git version 2.25.1' 20:03:58 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 20:03:57 > git config core.sparsecheckout # timeout=10 20:03:57 > git checkout -f e8fae66153be22fe43d4c8a2a545f26faffca888 # timeout=10 20:03:57 > git remote # timeout=10 20:03:57 > git config --get remote.origin.url # timeout=10 20:03:57 using GIT_SSH to set credentials SSH Credentials for GitHub 20:03:57 > git merge 577681181bc6884f0ff204c6dd697ba0a91a7618 # timeout=10 20:03:57 > git rev-parse HEAD^{commit} # timeout=10 20:03:57 > git config core.sparsecheckout # timeout=10 20:03:57 > git checkout -f e8fae66153be22fe43d4c8a2a545f26faffca888 # timeout=10 [Pipeline] sh 20:04:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:04:00 % Total % Received % Xferd Average Speed Time Time Time Current 20:04:00 Dload Upload Total Spent Left Speed 20:04:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh 20:04:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:04:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:04:01 + sudo tee /etc/docker/daemon.new 20:04:01 { 20:04:01 "registry-mirrors": [ 20:04:01 "https://nexus3.edgexfoundry.org:10001" 20:04:01 ], 20:04:01 "bip": "10.250.0.254/24", 20:04:01 "hosts": [ 20:04:01 "tcp://0.0.0.0:5555", 20:04:01 "unix:///var/run/docker.sock" 20:04:01 ], 20:04:01 "mtu": 1458, 20:04:01 "selinux-enabled": true, 20:04:01 "seccomp-profile": "/etc/docker/seccomp.json" 20:04:01 } [Pipeline] sh 20:04:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:04:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:04:20 provisioning config files... 20:04:20 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config9019805560001057663tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:04:20 ---> docker-login.sh 20:04:20 nexus3.edgexfoundry.org:10001 20:04:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:21 Configure a credential helper to remove this warning. See 20:04:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:21 20:04:21 Login Succeeded 20:04:21 nexus3.edgexfoundry.org:10002 20:04:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:21 Configure a credential helper to remove this warning. See 20:04:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:21 20:04:21 Login Succeeded 20:04:21 nexus3.edgexfoundry.org:10003 20:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:22 Configure a credential helper to remove this warning. See 20:04:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:22 20:04:22 Login Succeeded 20:04:22 nexus3.edgexfoundry.org:10004 20:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:22 Configure a credential helper to remove this warning. See 20:04:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:22 20:04:22 Login Succeeded 20:04:22 docker.io 20:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:22 Configure a credential helper to remove this warning. See 20:04:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:22 20:04:22 Login Succeeded 20:04:22 ---> docker-login.sh ends [Pipeline] } 20:04:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh 20:04:23 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo 20:04:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:04:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:04:23 ========================================================= 20:04:23 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:04:23 ========================================================= [Pipeline] fileExists [Pipeline] sh 20:04:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:04:24 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:04:24 c41833b44d91: Pulling fs layer 20:04:24 ed15518f5707: Pulling fs layer 20:04:24 feae8fd75edb: Pulling fs layer 20:04:24 242c74f7c9fa: Pulling fs layer 20:04:24 3cdef696dda3: Pulling fs layer 20:04:24 2ced38df9373: Pulling fs layer 20:04:24 58f1dce35555: Pulling fs layer 20:04:24 242c74f7c9fa: Waiting 20:04:24 58f1dce35555: Waiting 20:04:24 2ced38df9373: Waiting 20:04:24 ed15518f5707: Verifying Checksum 20:04:24 ed15518f5707: Download complete 20:04:24 242c74f7c9fa: Download complete 20:04:24 3cdef696dda3: Verifying Checksum 20:04:24 3cdef696dda3: Download complete 20:04:24 c41833b44d91: Verifying Checksum 20:04:24 c41833b44d91: Download complete 20:04:25 c41833b44d91: Pull complete 20:04:25 58f1dce35555: Verifying Checksum 20:04:25 58f1dce35555: Download complete 20:04:25 ed15518f5707: Pull complete 20:04:26 feae8fd75edb: Verifying Checksum 20:04:26 feae8fd75edb: Download complete 20:04:26 2ced38df9373: Verifying Checksum 20:04:26 2ced38df9373: Download complete 20:04:37 feae8fd75edb: Pull complete 20:04:37 242c74f7c9fa: Pull complete 20:04:37 3cdef696dda3: Pull complete 20:04:45 2ced38df9373: Pull complete 20:04:47 58f1dce35555: Pull complete 20:04:47 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 20:04:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:04:47 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] fileExists [Pipeline] sh 20:04:47 + docker build -t ci-base-image-arm64 -f - . 20:04:47 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:04:47 WORKDIR /edgex 20:04:47 COPY go.mod . 20:04:47 RUN go mod download 20:04:48 Sending build context to Docker daemon 2.932MB 20:04:48 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:04:48 ---> fadd8f120f05 20:04:48 Step 2/4 : WORKDIR /edgex 20:04:50 ---> Running in e6239caa5b31 20:04:50 Removing intermediate container e6239caa5b31 20:04:50 ---> 557ecdde8432 20:04:50 Step 3/4 : COPY go.mod . 20:04:51 ---> 1a9e036a91d9 20:04:51 Step 4/4 : RUN go mod download 20:04:51 ---> Running in f85a07ec7f00 20:05:23 Removing intermediate container f85a07ec7f00 20:05:23 ---> bc78f35d8846 20:05:23 Successfully built bc78f35d8846 20:05:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:24 + docker inspect -f . ci-base-image-arm64 20:05:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:05:24 prd-ubuntu20.04-docker-arm64-4c-16g-11063 does not seem to be running inside a container 20:05:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:05:25 $ docker top d3d8b08eb4d2686cabd8b28c23466b43adb7b845288cf1edd989671a2dd02394 -eo pid,comm [Pipeline] { [Pipeline] sh 20:05:26 + go version 20:05:26 go version go1.20.2 linux/arm64 [Pipeline] } 20:05:26 $ docker stop --time=1 d3d8b08eb4d2686cabd8b28c23466b43adb7b845288cf1edd989671a2dd02394 20:05:28 $ docker rm -f --volumes d3d8b08eb4d2686cabd8b28c23466b43adb7b845288cf1edd989671a2dd02394 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:29 + docker inspect -f . ci-base-image-arm64 20:05:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:05:29 prd-ubuntu20.04-docker-arm64-4c-16g-11063 does not seem to be running inside a container 20:05:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:05:30 $ docker top abfcfe923ee04976a18b5b2d072678aac45cdcaf6bd0c1b7e88aa67e4f4cd476 -eo pid,comm [Pipeline] { [Pipeline] echo 20:05:31 ========================================================= 20:05:31 [edgeXBuildGoParallel] Running Tests and Build... 20:05:31 ========================================================= [Pipeline] sh 20:05:31 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh 20:05:32 + make test 20:05:32 go test -race -coverprofile=coverage.out ./... 20:06:19 ? github.com/edgexfoundry/edgex-go [no test files] 20:07:16 # github.com/edgexfoundry/edgex-go/internal/core/command/config 20:07:16 internal/core/command/config/config.go:78:17: cannot use c.Clients (variable of type map[string]"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ClientInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ClientsCollection value in struct literal 20:07:16 internal/core/command/config/config.go:79:17: cannot use c.Service (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo value in struct literal 20:07:16 internal/core/command/config/config.go:80:17: cannot use c.Registry (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".RegistryInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".RegistryInfo value in struct literal 20:07:16 internal/core/command/config/config.go:81:17: cannot use c.MessageBus (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".MessageBusInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".MessageBusInfo value in struct literal 20:07:16 internal/core/command/config/config.go:82:17: cannot use c.ExternalMQTT (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ExternalMQTTInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ExternalMQTTInfo value in struct literal 20:07:38 # github.com/edgexfoundry/edgex-go/internal/core/data/config 20:07:38 internal/core/data/config/config.go:77:15: cannot use c.Clients (variable of type map[string]"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ClientInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ClientsCollection value in struct literal 20:07:38 internal/core/data/config/config.go:78:15: cannot use c.Service (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo value in struct literal 20:07:38 internal/core/data/config/config.go:79:15: cannot use c.Registry (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".RegistryInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".RegistryInfo value in struct literal 20:07:38 internal/core/data/config/config.go:80:15: cannot use c.MessageBus (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".MessageBusInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".MessageBusInfo value in struct literal 20:08:18 # github.com/edgexfoundry/edgex-go/internal/core/metadata/config 20:08:18 internal/core/metadata/config/config.go:91:15: cannot use c.Service (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo value in struct literal 20:08:18 internal/core/metadata/config/config.go:92:15: cannot use c.Registry (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".RegistryInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".RegistryInfo value in struct literal 20:08:18 internal/core/metadata/config/config.go:93:15: cannot use c.MessageBus (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".MessageBusInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".MessageBusInfo value in struct literal 20:08:18 # github.com/edgexfoundry/edgex-go/internal/security/config/command 20:08:18 internal/security/config/command/flags_common.go:37:9: cannot use &commonFlags (value of type *commonFlags) as flags.Common value in return statement: *commonFlags does not implement flags.Common (missing method InDevMode) 20:08:28 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 20:08:28 # github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 20:08:28 internal/security/bootstrapper/command/flags_common.go:36:9: cannot use &commonFlags (value of type *commonFlags) as "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/flags".Common value in return statement: *commonFlags does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/flags".Common (missing method InDevMode) 20:08:30 # github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config 20:08:30 internal/security/proxyauth/config/config.go:72:13: cannot use c.Service (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo value in struct literal 20:08:30 internal/security/proxyauth/config/config.go:73:13: cannot use c.Registry (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".RegistryInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".RegistryInfo value in struct literal 20:08:30 # github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config 20:08:30 internal/security/spiffetokenprovider/config/config.go:86:13: cannot use c.Clients (variable of type map[string]"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ClientInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ClientsCollection value in struct literal 20:08:30 internal/security/spiffetokenprovider/config/config.go:87:13: cannot use c.Service (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo value in struct literal 20:08:30 internal/security/spiffetokenprovider/config/config.go:88:13: cannot use c.Registry (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".RegistryInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".RegistryInfo value in struct literal 20:08:31 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 20:08:31 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 20:08:31 # github.com/edgexfoundry/edgex-go/internal/support/notifications/config 20:08:31 internal/support/notifications/config/config.go:106:15: cannot use c.Clients (variable of type map[string]"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ClientInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ClientsCollection value in struct literal 20:08:31 internal/support/notifications/config/config.go:107:15: cannot use c.Service (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo value in struct literal 20:08:31 internal/support/notifications/config/config.go:108:15: cannot use c.Registry (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".RegistryInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".RegistryInfo value in struct literal 20:08:31 internal/support/notifications/config/config.go:109:15: cannot use c.MessageBus (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".MessageBusInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".MessageBusInfo value in struct literal 20:08:31 # github.com/edgexfoundry/edgex-go/internal/support/scheduler/config 20:08:31 internal/support/scheduler/config/config.go:137:15: cannot use c.Clients (variable of type map[string]"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ClientInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ClientsCollection value in struct literal 20:08:31 internal/support/scheduler/config/config.go:138:15: cannot use c.Service (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo value in struct literal 20:08:31 internal/support/scheduler/config/config.go:139:15: cannot use c.Registry (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".RegistryInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".RegistryInfo value in struct literal 20:08:31 internal/support/scheduler/config/config.go:140:15: cannot use c.MessageBus (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".MessageBusInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".MessageBusInfo value in struct literal 20:08:32 ? github.com/edgexfoundry/edgex-go/internal [no test files] 20:08:42 FAIL github.com/edgexfoundry/edgex-go/internal/core/command/application [build failed] 20:08:50 FAIL github.com/edgexfoundry/edgex-go/internal/core/command/controller/http [build failed] 20:08:50 FAIL github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging [build failed] 20:08:50 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 20:08:50 ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] 20:08:52 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 20:08:52 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/application [build failed] 20:08:52 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 20:08:52 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [build failed] 20:08:52 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/application [build failed] 20:08:54 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 20:08:54 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 20:08:54 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http [build failed] 20:08:54 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 20:08:54 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 20:08:54 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 20:08:54 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 20:08:54 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 20:08:54 ok github.com/edgexfoundry/edgex-go/internal/io 0.220s coverage: 72.2% of statements 20:09:00 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 20:09:00 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 20:09:00 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 20:09:00 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.244s coverage: 65.9% of statements 20:09:11 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 20:09:11 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.428s coverage: 0.9% of statements 20:09:11 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.265s coverage: 29.0% of statements 20:09:11 FAIL github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command [build failed] 20:09:14 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.230s coverage: 82.9% of statements 20:09:14 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.214s coverage: 94.1% of statements 20:09:14 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.251s coverage: 96.3% of statements 20:09:14 FAIL github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help [build failed] 20:09:20 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 20:09:20 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 20:09:20 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 20:09:22 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 20:09:22 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 20:09:22 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 20:09:22 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 20:09:28 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.218s coverage: 94.4% of statements 20:09:28 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 20:09:28 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 20:09:28 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 20:09:28 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 20:09:35 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 20:09:45 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] 20:09:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 24.058s coverage: 79.9% of statements 20:09:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 23.316s coverage: 92.9% of statements 20:09:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.083s coverage: 64.4% of statements 20:09:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.241s coverage: 62.3% of statements 20:09:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.218s coverage: 87.2% of statements 20:09:45 ok github.com/edgexfoundry/edgex-go/internal/security/common 0.187s coverage: 20.0% of statements 20:09:45 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/help [build failed] 20:09:45 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.483s coverage: 81.8% of statements 20:09:45 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.493s coverage: 82.1% of statements 20:09:46 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 20:09:46 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.218s coverage: 86.0% of statements 20:09:51 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 20:09:51 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 20:09:52 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.090s coverage: 63.1% of statements 20:09:52 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.271s coverage: 100.0% of statements 20:09:54 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.121s coverage: 89.4% of statements 20:09:54 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.105s coverage: 100.0% of statements 20:09:54 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.092s coverage: 73.7% of statements 20:09:54 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.078s coverage: 100.0% of statements 20:10:02 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 20:10:02 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 20:10:02 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 20:10:03 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 1.027s coverage: 38.4% of statements 20:10:03 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.272s coverage: 89.5% of statements 20:10:08 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.268s coverage: 84.8% of statements 20:10:09 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 20:10:09 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 20:10:09 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 20:10:09 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/application [build failed] 20:10:09 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http [build failed] 20:10:09 FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler [build failed] 20:10:10 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 20:10:10 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 20:10:10 FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http [build failed] 20:10:10 FAIL 20:10:11 make: *** [Makefile:148: unittest] Error 1 [Pipeline] } 20:10:11 $ docker stop --time=1 abfcfe923ee04976a18b5b2d072678aac45cdcaf6bd0c1b7e88aa67e4f4cd476 20:10:13 $ docker rm -f --volumes abfcfe923ee04976a18b5b2d072678aac45cdcaf6bd0c1b7e88aa67e4f4cd476 [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 20:10:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:10:15 20:10:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:10:15 arm64: Pulling from edgex-lftools-log-publisher 20:10:15 8998bd30e6a1: Pulling fs layer 20:10:15 04944245beec: Pulling fs layer 20:10:15 699f458cf7ca: Pulling fs layer 20:10:15 765212b225bb: Pulling fs layer 20:10:15 f23df028b6ca: Pulling fs layer 20:10:15 d65c8cfc05b1: Pulling fs layer 20:10:15 2437ff75d9bd: Pulling fs layer 20:10:15 f23df028b6ca: Waiting 20:10:15 d65c8cfc05b1: Waiting 20:10:15 2437ff75d9bd: Waiting 20:10:15 765212b225bb: Waiting 20:10:16 04944245beec: Verifying Checksum 20:10:16 04944245beec: Download complete 20:10:16 765212b225bb: Verifying Checksum 20:10:16 765212b225bb: Download complete 20:10:16 699f458cf7ca: Verifying Checksum 20:10:16 699f458cf7ca: Download complete 20:10:16 d65c8cfc05b1: Verifying Checksum 20:10:16 d65c8cfc05b1: Download complete 20:10:16 f23df028b6ca: Download complete 20:10:16 8998bd30e6a1: Verifying Checksum 20:10:16 8998bd30e6a1: Download complete 20:10:19 2437ff75d9bd: Verifying Checksum 20:10:19 2437ff75d9bd: Download complete 20:10:20 8998bd30e6a1: Pull complete 20:10:21 04944245beec: Pull complete 20:10:22 699f458cf7ca: Pull complete 20:10:22 765212b225bb: Pull complete 20:10:22 f23df028b6ca: Pull complete 20:10:23 d65c8cfc05b1: Pull complete 20:10:35 2437ff75d9bd: Pull complete 20:10:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:10:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:10:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:10:35 prd-ubuntu20.04-docker-arm64-4c-16g-11063 does not seem to be running inside a container 20:10:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:10:38 $ docker top 34fbb8b30960a0632a0068d73285db169a0c9f47ab3b0621140ff788e78309aa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:10:39 ---> job-cost.sh 20:10:39 lf-activate-venv: SKIPPING 20:10:39 INFO: No Stack... 20:10:40 INFO: Retrieving Pricing Info for: v3-standard-4 20:10:41 INFO: Archiving Costs [Pipeline] sh 20:10:41 + cat /w/workspace/edgex-go/1/archives/cost.csv 20:10:41 + cut -d, -f6 [Pipeline] lock 20:10:41 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4535-1-stack-cost] 20:10:41 Resource [jenkins-edgexfoundry-edgex-go-PR-4535-1-stack-cost] did not exist. Created. 20:10:41 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4535-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:10:42 + echo total: 0.10999999940395355 [Pipeline] stash 20:10:43 Stashed 1 file(s) [Pipeline] } 20:10:43 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4535-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:10:43 $ docker stop --time=1 34fbb8b30960a0632a0068d73285db169a0c9f47ab3b0621140ff788e78309aa 20:10:44 $ docker rm -f --volumes 34fbb8b30960a0632a0068d73285db169a0c9f47ab3b0621140ff788e78309aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:10:45 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 20:10:47 + [ -d /w/workspace/edgex-go/1/archives ] [Pipeline] libraryResource [Pipeline] sh 20:10:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:10:48 ---> package-listing.sh 20:10:48 ++ facter osfamily 20:10:48 ++ tr '[:upper:]' '[:lower:]' 20:10:48 + OS_FAMILY=debian 20:10:48 + workspace=/w/workspace/edgex-go/1 20:10:48 + START_PACKAGES=/tmp/packages_start.txt 20:10:48 + END_PACKAGES=/tmp/packages_end.txt 20:10:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:10:48 + PACKAGES=/tmp/packages_start.txt 20:10:48 + '[' /w/workspace/edgex-go/1 ']' 20:10:48 + PACKAGES=/tmp/packages_end.txt 20:10:48 + case "${OS_FAMILY}" in 20:10:48 + dpkg -l 20:10:48 + grep '^ii' 20:10:48 + '[' -f /tmp/packages_start.txt ']' 20:10:48 + '[' -f /tmp/packages_end.txt ']' 20:10:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:10:48 + '[' /w/workspace/edgex-go/1 ']' 20:10:48 + mkdir -p /w/workspace/edgex-go/1/archives/ 20:10:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 20:10:48 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 20:10:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:10:49 20:10:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:10:50 latest: Pulling from edgex-lftools-log-publisher 20:10:50 5eb5b503b376: Pulling fs layer 20:10:50 5c69ac0246d0: Pulling fs layer 20:10:50 ec43610c2a17: Pulling fs layer 20:10:50 3a2ae6a8a46f: Pulling fs layer 20:10:50 33b1e0a273af: Pulling fs layer 20:10:50 5d3b04190fa2: Pulling fs layer 20:10:50 2f39f015ded8: Pulling fs layer 20:10:50 33b1e0a273af: Waiting 20:10:50 5d3b04190fa2: Waiting 20:10:50 2f39f015ded8: Waiting 20:10:50 3a2ae6a8a46f: Waiting 20:10:50 5c69ac0246d0: Download complete 20:10:50 3a2ae6a8a46f: Download complete 20:10:50 33b1e0a273af: Verifying Checksum 20:10:50 33b1e0a273af: Download complete 20:10:50 ec43610c2a17: Verifying Checksum 20:10:50 ec43610c2a17: Download complete 20:10:50 5d3b04190fa2: Verifying Checksum 20:10:50 5d3b04190fa2: Download complete 20:10:50 5eb5b503b376: Verifying Checksum 20:10:50 5eb5b503b376: Download complete 20:10:51 2f39f015ded8: Download complete 20:10:51 5eb5b503b376: Pull complete 20:10:51 5c69ac0246d0: Pull complete 20:10:52 ec43610c2a17: Pull complete 20:10:52 3a2ae6a8a46f: Pull complete 20:10:52 33b1e0a273af: Pull complete 20:10:52 5d3b04190fa2: Pull complete 20:10:56 2f39f015ded8: Pull complete 20:10:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:10:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:10:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:10:56 prd-ubuntu20.04-docker-8c-8g-11061 does not seem to be running inside a container 20:10:56 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:10:57 $ docker top a93f722fe6fd7bf8aa37116060517252e5b893cd1b897d1f8cbf20a80af893e5 -eo pid,comm [Pipeline] { [Pipeline] sh 20:10:58 + touch /tmp/pre-build-complete [Pipeline] sh 20:10:58 + mkdir -p /var/log/sysstat [Pipeline] sh 20:10:58 + ls /var/log/sa-host 20:10:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:10:59 provisioning config files... 20:10:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config15239475802697377069tmp [Pipeline] { [Pipeline] echo 20:10:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:10:59 ---> create-netrc.sh [Pipeline] } 20:10:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:10:59 ---> python-tools-install.sh [Pipeline] echo 20:10:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:11:00 ---> sudo-logs.sh 20:11:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:11:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:11:00 ---> job-cost.sh 20:11:00 lf-activate-venv: SKIPPING 20:11:00 DEBUG: total: 0.10999999940395355 20:11:00 INFO: Retrieving Stack Cost... 20:11:00 INFO: Retrieving Pricing Info for: v3-standard-8 20:11:01 INFO: Archiving Costs [Pipeline] echo 20:11:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:11:01 ---> logs-deploy.sh 20:11:01 lf-activate-venv: SKIPPING 20:11:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4535/1 20:11:01 INFO: archiving workspace using pattern(s): 20:11:02 Archives upload complete. 20:11:02 INFO: archiving logs to Nexus