Pull request #4518 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b222c61335983cecb104ba8fb5f5e778f8bca2b7+680d408d1fe061a8660851a15e6239967f05f6d8 (8c87678c682ef41eadac0a3a03650065d5bdbe8e) 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-ssh1955424797003534568.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-ssh5418397658186405065.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-4518/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-4518/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8999419334451288274.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-4518/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh74064283968078726.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-ssh10362549219712812354.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-4518/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-4518/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12385292292111047443.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9100 in /w/workspace/edgexfoundry_edgex-go_PR-4518 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/1 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 680d408d1fe061a8660851a15e6239967f05f6d8 into PR head commit b222c61335983cecb104ba8fb5f5e778f8bca2b7 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4518/head:refs/remotes/origin/PR-4518 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b222c61335983cecb104ba8fb5f5e778f8bca2b7 # timeout=10 Merge succeeded, producing b222c61335983cecb104ba8fb5f5e778f8bca2b7 Checking out Revision b222c61335983cecb104ba8fb5f5e778f8bca2b7 (PR-4518) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:59:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:59:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:59:09 ========================================================= 19:59:09 EdgeX Global Pipelines Version Info 19:59:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 680d408d1fe061a8660851a15e6239967f05f6d8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b222c61335983cecb104ba8fb5f5e778f8bca2b7 # timeout=10 19:59:09 ------------------- 19:59:09 stable info: 19:59:09 ------------------- 19:59:09 Commited By: Bill Mahoney bill.mahoney@intel.com 19:59:09 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 19:59:09 Message: update stable to v1.0.248 19:59:10 ------------------- 19:59:10 experimental info: 19:59:10 ------------------- 19:59:10 Commited By: **** collab-it+edgex@linuxfoundation.org 19:59:10 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 19:59:10 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:59:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 19:59:10 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 19:59:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:59:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:59:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:59:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 19:59:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:59:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 19:59:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 19:59:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 19:59:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:59:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:59:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:59:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:59:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:59:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:59:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:59:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:59:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 19:59:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 19:59:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:59:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:59:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:59:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4518 [Pipeline] echo 19:59:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4518 [Pipeline] echo 19:59:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4518 [Pipeline] echo 19:59:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b222c61335983cecb104ba8fb5f5e778f8bca2b7 [Pipeline] echo 19:59:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b222c61 [Pipeline] echo 19:59:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:59:11 provisioning config files... 19:59:11 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config2123479430090187662tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:59:12 ---> docker-login.sh 19:59:12 nexus3.edgexfoundry.org:10001 19:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:12 Configure a credential helper to remove this warning. See 19:59:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:12 19:59:12 Login Succeeded 19:59:12 nexus3.edgexfoundry.org:10002 19:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:12 Configure a credential helper to remove this warning. See 19:59:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:12 19:59:12 Login Succeeded 19:59:12 nexus3.edgexfoundry.org:10003 19:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:12 Configure a credential helper to remove this warning. See 19:59:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:12 19:59:12 Login Succeeded 19:59:12 nexus3.edgexfoundry.org:10004 19:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:12 Configure a credential helper to remove this warning. See 19:59:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:12 19:59:12 Login Succeeded 19:59:12 docker.io 19:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:13 Configure a credential helper to remove this warning. See 19:59:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:13 19:59:13 Login Succeeded 19:59:13 ---> docker-login.sh ends [Pipeline] } 19:59:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:59:13 + 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:13 + dirname cmd/core-command/Dockerfile 19:59:13 + cut -d/ -f2 19:59:13 + echo core-command,cmd/core-command/Dockerfile 19:59:13 + dirname cmd/core-common-config-bootstrapper/Dockerfile+ 19:59:13 cut -d/ -f2 19:59:13 + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile 19:59:13 + dirname cmd/core-data/Dockerfile 19:59:13 + cut -d/ -f2 19:59:13 + echo core-data,cmd/core-data/Dockerfile 19:59:13 + dirname cmd/core-metadata/Dockerfile 19:59:13 + cut -d/ -f2 19:59:13 + echo core-metadata,cmd/core-metadata/Dockerfile 19:59:13 + dirname cmd/security-bootstrapper/Dockerfile 19:59:13 + cut -d/ -f2 19:59:13 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 19:59:13 + dirname cmd/security-proxy-auth/Dockerfile 19:59:13 + cut -d/ -f2 19:59:13 + echo security-proxy-auth,cmd/security-proxy-auth/Dockerfile 19:59:13 + dirname cmd/security-proxy-setup/Dockerfile 19:59:13 + cut -d/ -f2 19:59:13 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 19:59:13 + dirname cmd/security-secretstore-setup/Dockerfile 19:59:13 + cut -d/ -f2 19:59:13 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 19:59:13 + dirname cmd/security-spiffe-token-provider/Dockerfile 19:59:13 + cut -d/ -f2 19:59:13 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 19:59:13 + + cutdirname -d/ cmd/security-spire-agent/Dockerfile -f2 19:59:13 19:59:13 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 19:59:13 + dirname cmd/security-spire-config/Dockerfile 19:59:13 + cut -d/ -f2 19:59:13 + echo security-spire-config,cmd/security-spire-config/Dockerfile 19:59:13 + + cut -d/ -f2dirname 19:59:13 cmd/security-spire-server/Dockerfile 19:59:13 + echo security-spire-server,cmd/security-spire-server/Dockerfile 19:59:13 + dirname cmd/support-notifications/Dockerfile 19:59:13 + cut -d/ -f2 19:59:13 + echo support-notifications,cmd/support-notifications/Dockerfile 19:59:13 + dirname cmd/support-scheduler/Dockerfile 19:59:13 + cut -d/ -f2 19:59:13 + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo 19:59:13 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:14 + git rev-list -1 --merges b222c61335983cecb104ba8fb5f5e778f8bca2b7~1..b222c61335983cecb104ba8fb5f5e778f8bca2b7 [Pipeline] echo 19:59:14 -----------> git rev-list -1 --merges b222c61335983cecb104ba8fb5f5e778f8bca2b7~1..b222c61335983cecb104ba8fb5f5e778f8bca2b7 b222c61335983cecb104ba8fb5f5e778f8bca2b7 [false] [Pipeline] sh 19:59:14 + git log --format=format:%s -1 b222c61335983cecb104ba8fb5f5e778f8bca2b7 [Pipeline] echo 19:59:14 ========================================================= 19:59:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:59:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 19:59:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:59:15 + grep -v github /etc/ssh/ssh_known_hosts 19:59:15 + [ -e /tmp/ssh_known_hosts ] 19:59:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:59:15 + sudo tee -a /etc/ssh/ssh_known_hosts 19:59:15 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:59:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:59:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:59:15 19:59:15 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:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:59:15 0.1.4: Pulling from edgex-devops/py-git-semver 19:59:15 b85a868b505f: Pulling fs layer 19:59:15 e2be974225ed: Pulling fs layer 19:59:15 339a4e72a1f5: Pulling fs layer 19:59:15 988bab9f4d93: Pulling fs layer 19:59:15 1469e6f7b9e6: Pulling fs layer 19:59:15 eaf3925da568: Pulling fs layer 19:59:15 bab4dde63d76: Pulling fs layer 19:59:15 eaf3925da568: Waiting 19:59:15 988bab9f4d93: Waiting 19:59:15 bab4dde63d76: Waiting 19:59:15 1469e6f7b9e6: Waiting 19:59:15 bde34c3a00c8: Pulling fs layer 19:59:15 b352a97aabf1: Pulling fs layer 19:59:15 bde34c3a00c8: Waiting 19:59:15 4872d77fe225: Pulling fs layer 19:59:15 5851b861e8e6: Pulling fs layer 19:59:15 4872d77fe225: Waiting 19:59:15 5851b861e8e6: Waiting 19:59:15 e2be974225ed: Verifying Checksum 19:59:15 e2be974225ed: Download complete 19:59:15 988bab9f4d93: Download complete 19:59:15 339a4e72a1f5: Verifying Checksum 19:59:15 339a4e72a1f5: Download complete 19:59:15 1469e6f7b9e6: Verifying Checksum 19:59:15 1469e6f7b9e6: Download complete 19:59:16 eaf3925da568: Verifying Checksum 19:59:16 eaf3925da568: Download complete 19:59:16 bde34c3a00c8: Download complete 19:59:16 b352a97aabf1: Verifying Checksum 19:59:16 b352a97aabf1: Download complete 19:59:16 4872d77fe225: Verifying Checksum 19:59:16 4872d77fe225: Download complete 19:59:16 5851b861e8e6: Verifying Checksum 19:59:16 5851b861e8e6: Download complete 19:59:16 b85a868b505f: Verifying Checksum 19:59:16 b85a868b505f: Download complete 19:59:16 bab4dde63d76: Verifying Checksum 19:59:16 bab4dde63d76: Download complete 19:59:17 b85a868b505f: Pull complete 19:59:17 e2be974225ed: Pull complete 19:59:17 339a4e72a1f5: Pull complete 19:59:17 988bab9f4d93: Pull complete 19:59:18 1469e6f7b9e6: Pull complete 19:59:18 eaf3925da568: Pull complete 19:59:20 bab4dde63d76: Pull complete 19:59:20 bde34c3a00c8: Pull complete 19:59:20 b352a97aabf1: Pull complete 19:59:20 4872d77fe225: Pull complete 19:59:20 5851b861e8e6: Pull complete 19:59:20 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:59:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:59:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:59:20 prd-ubuntu20.04-docker-8c-8g-9100 does not seem to be running inside a container 19:59:20 $ 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:21 $ docker top 157e672f0a2d1ffc6c3590b8c953671bfa81a2be2751fef5cc06ec93c7f094c2 -eo pid,comm 19:59:21 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:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:59:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:59:21 [ssh-agent] Looking for ssh-agent implementation... 19:59:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:59:21 $ docker exec 157e672f0a2d1ffc6c3590b8c953671bfa81a2be2751fef5cc06ec93c7f094c2 ssh-agent 19:59:22 SSH_AUTH_SOCK=/tmp/ssh-U6pV6KGmdSqS/agent.32 19:59:22 SSH_AGENT_PID=38 19:59:22 Running ssh-add (command line suppressed) 19:59:22 Identity added: /w/workspace/edgex-go/1@tmp/private_key_15016522213002100352.key (/w/workspace/edgex-go/1@tmp/private_key_15016522213002100352.key) 19:59:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:59:22 + git tag --points-at HEAD [Pipeline] } 19:59:22 $ docker exec --env ******** --env ******** 157e672f0a2d1ffc6c3590b8c953671bfa81a2be2751fef5cc06ec93c7f094c2 ssh-agent -k 19:59:22 unset SSH_AUTH_SOCK; 19:59:22 unset SSH_AGENT_PID; 19:59:22 echo Agent pid 38 killed; 19:59:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:59:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:59:22 [ssh-agent] Looking for ssh-agent implementation... 19:59:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:59:22 $ docker exec 157e672f0a2d1ffc6c3590b8c953671bfa81a2be2751fef5cc06ec93c7f094c2 ssh-agent 19:59:22 SSH_AUTH_SOCK=/tmp/ssh-5b6ZqHZfDUqQ/agent.70 19:59:22 SSH_AGENT_PID=76 19:59:22 Running ssh-add (command line suppressed) 19:59:23 Identity added: /w/workspace/edgex-go/1@tmp/private_key_10084238261264603408.key (/w/workspace/edgex-go/1@tmp/private_key_10084238261264603408.key) 19:59:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:59:23 + git semver init 19:59:23 2023-04-19 19:59:23,566 [run_init] DEBUG init version:0.0.0 force:False 19:59:23 2023-04-19 19:59:23,567 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/1/.semver 19:59:23 2023-04-19 19:59:23,567 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/1/.semver 19:59:23 2023-04-19 19:59:23,567 [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) 19:59:28 2023-04-19 19:59:28,148 [append_file] DEBUG append to file:/w/workspace/edgex-go/1/.git/info/exclude 19:59:28 2023-04-19 19:59:28,148 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/1/.semver/PR-4518 with force:False 19:59:28 2023-04-19 19:59:28,149 [write_file] DEBUG write to file:/w/workspace/edgex-go/1/.semver/PR-4518 19:59:28 2023-04-19 19:59:28,153 [execute] INFO git cat-file --batch-check 19:59:28 2023-04-19 19:59:28,154 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 19:59:28 2023-04-19 19:59:28,159 [execute] INFO git cat-file --batch 19:59:28 2023-04-19 19:59:28,160 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 19:59:28 2023-04-19 19:59:28,165 [read_version] DEBUG read version from /w/workspace/edgex-go/1/.semver/PR-4518 19:59:28 0.0.0 [Pipeline] } 19:59:28 $ docker exec --env ******** --env ******** 157e672f0a2d1ffc6c3590b8c953671bfa81a2be2751fef5cc06ec93c7f094c2 ssh-agent -k 19:59:29 unset SSH_AUTH_SOCK; 19:59:29 unset SSH_AGENT_PID; 19:59:29 echo Agent pid 76 killed; 19:59:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:59:29 + git semver [Pipeline] } 19:59:29 $ docker stop --time=1 157e672f0a2d1ffc6c3590b8c953671bfa81a2be2751fef5cc06ec93c7f094c2 19:59:31 $ docker rm -f --volumes 157e672f0a2d1ffc6c3590b8c953671bfa81a2be2751fef5cc06ec93c7f094c2 [Pipeline] // withDockerContainer [Pipeline] sh 19:59:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:59:31 Stashed 1 file(s) [Pipeline] echo 19:59:31 [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 19:59:32 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo 19:59:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:59:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:59:32 ========================================================= 19:59:32 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 19:59:32 ========================================================= [Pipeline] fileExists [Pipeline] sh 19:59:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:59:32 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 19:59:32 63b65145d645: Pulling fs layer 19:59:32 a2d21d5440eb: Pulling fs layer 19:59:32 935e6c44a52c: Pulling fs layer 19:59:32 94cc34f8dd06: Pulling fs layer 19:59:32 30dea6a524f1: Pulling fs layer 19:59:32 a2aff8979fd8: Pulling fs layer 19:59:32 6808be2612f2: Pulling fs layer 19:59:32 f25807f1079a: Pulling fs layer 19:59:32 30dea6a524f1: Waiting 19:59:32 a2aff8979fd8: Waiting 19:59:32 f25807f1079a: Waiting 19:59:32 94cc34f8dd06: Waiting 19:59:32 a2d21d5440eb: Verifying Checksum 19:59:32 a2d21d5440eb: Download complete 19:59:32 94cc34f8dd06: Verifying Checksum 19:59:32 94cc34f8dd06: Download complete 19:59:32 30dea6a524f1: Download complete 19:59:32 63b65145d645: Verifying Checksum 19:59:32 63b65145d645: Download complete 19:59:32 a2aff8979fd8: Verifying Checksum 19:59:32 a2aff8979fd8: Download complete 19:59:33 63b65145d645: Pull complete 19:59:33 a2d21d5440eb: Pull complete 19:59:33 f25807f1079a: Verifying Checksum 19:59:33 f25807f1079a: Download complete 19:59:33 935e6c44a52c: Verifying Checksum 19:59:33 935e6c44a52c: Download complete 19:59:33 6808be2612f2: Verifying Checksum 19:59:33 6808be2612f2: Download complete 19:59:37 935e6c44a52c: Pull complete 19:59:37 94cc34f8dd06: Pull complete 19:59:37 30dea6a524f1: Pull complete 19:59:37 a2aff8979fd8: Pull complete 19:59:38 6808be2612f2: Pull complete 19:59:39 f25807f1079a: Pull complete 19:59:39 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 19:59:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:59:39 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] fileExists [Pipeline] sh 19:59:39 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:59:39 WORKDIR /edgex 19:59:39 COPY go.mod . 19:59:39 RUN go mod download 19:59:39 + docker build -t ci-base-image-x86_64 -f - . 19:59:40 Sending build context to Docker daemon 170.7MB 19:59:40 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:59:40 ---> 3b553350e43f 19:59:40 Step 2/4 : WORKDIR /edgex 19:59:42 ---> Running in 4222fb8ab565 19:59:42 Removing intermediate container 4222fb8ab565 19:59:42 ---> f7d46a3173fb 19:59:42 Step 3/4 : COPY go.mod . 19:59:42 ---> 0cb6bad6e58b 19:59:42 Step 4/4 : RUN go mod download 19:59:42 ---> Running in 448f43af9b22 19:59:47 Still waiting to schedule task 19:59:47 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 19:59:54 Removing intermediate container 448f43af9b22 19:59:54 ---> 222dfbcd8ce5 19:59:54 Successfully built 222dfbcd8ce5 19:59:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:59:54 + docker inspect -f . ci-base-image-x86_64 19:59:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:59:55 prd-ubuntu20.04-docker-8c-8g-9100 does not seem to be running inside a container 19:59:55 $ 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 19:59:55 $ docker top f5cba1dd92c84f60aa0d3700d74c26382ec953e6ca5bad6ff7df3b67c25fc585 -eo pid,comm [Pipeline] { [Pipeline] sh 19:59:55 + go version 19:59:55 go version go1.20.2 linux/amd64 [Pipeline] } 19:59:55 $ docker stop --time=1 f5cba1dd92c84f60aa0d3700d74c26382ec953e6ca5bad6ff7df3b67c25fc585 19:59:57 $ docker rm -f --volumes f5cba1dd92c84f60aa0d3700d74c26382ec953e6ca5bad6ff7df3b67c25fc585 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:59:57 + docker inspect -f . ci-base-image-x86_64 19:59:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:59:58 prd-ubuntu20.04-docker-8c-8g-9100 does not seem to be running inside a container 19:59:58 $ 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 19:59:58 $ docker top ac8708c54af0301cbfa2b3f8dbb90c600eb832a4ee8f5a81eb5e370d8bf71d48 -eo pid,comm [Pipeline] { [Pipeline] echo 19:59:58 ========================================================= 19:59:58 [edgeXBuildGoParallel] Running Tests and Build... 19:59:58 ========================================================= [Pipeline] sh 19:59:58 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh 19:59:59 + make test 19:59:59 go test -race -coverprofile=coverage.out ./... 20:00:05 ? github.com/edgexfoundry/edgex-go [no test files] 20:00:20 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 20:00:20 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 20:00:20 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 20:00:20 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 20:00:20 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 20:00:20 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 20:00:20 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 20:00:20 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-auth [no test files] 20:00:20 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 20:00:20 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 20:00:21 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 20:00:21 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 20:00:21 ? github.com/edgexfoundry/edgex-go/internal [no test files] 20:00:21 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 20:00:22 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 20:00:22 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 20:00:22 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.062s coverage: 28.7% of statements 20:00:23 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.069s coverage: 98.5% of statements 20:00:24 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 20:00:24 ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] 20:00:24 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 20:00:26 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 20:00:26 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 20:00:27 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 20:00:27 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 20:00:27 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 20:00:27 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 20:00:27 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 20:00:27 --- FAIL: Test_commandQueryHandler (0.00s) 20:00:27 --- FAIL: Test_commandQueryHandler/valid_-_query_all (0.00s) 20:00:27 external_test.go:236: 20:00:27 Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:236 20:00:27 Error: Should have called with given arguments 20:00:27 Test: Test_commandQueryHandler/valid_-_query_all 20:00:27 Messages: Expected "Publish" to have been called with: 20:00:27 [unittest/response 0 true mock.Anything] 20:00:27 but no actual calls happened 20:00:27 --- FAIL: Test_commandQueryHandler/valid_-_query_by_device_name (0.00s) 20:00:27 external_test.go:236: 20:00:27 Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:236 20:00:27 Error: Should have called with given arguments 20:00:27 Test: Test_commandQueryHandler/valid_-_query_by_device_name 20:00:27 Messages: Expected "Publish" to have been called with: 20:00:27 [unittest/response 0 true mock.Anything] 20:00:27 but no actual calls happened 20:00:27 --- FAIL: Test_commandQueryHandler/invalid_-_invalid_query_parameters (0.00s) 20:00:27 external_test.go:228: 20:00:27 Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:228 20:00:27 Error: Should have called with given arguments 20:00:27 Test: Test_commandQueryHandler/invalid_-_invalid_query_parameters 20:00:27 Messages: Expected "Error" to have been called with: 20:00:27 [mock.Anything] 20:00:27 but actual calls were: 20:00:27 [Received command query request from external message broker on topic '%s' with %d bytes unittest/all 206] 20:00:27 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:00:27 [Not publishing error message back due to insufficient information on response topic] 20:00:27 [Received command query request from external message broker on topic '%s' with %d bytes unittest/testDevice 206] 20:00:27 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:00:27 [Not publishing error message back due to insufficient information on response topic] 20:00:27 [Received command query request from external message broker on topic '%s' with %d bytes unittest/testDevice 206] 20:00:27 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:00:27 [Not publishing error message back due to insufficient information on response topic] 20:00:27 [Received command query request from external message broker on topic '%s' with %d bytes unittest/all 241] 20:00:27 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:00:27 [Not publishing error message back due to insufficient information on response topic] 20:00:27 external_test.go:229: 20:00:27 Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:229 20:00:27 Error: Should have called with given arguments 20:00:27 Test: Test_commandQueryHandler/invalid_-_invalid_query_parameters 20:00:27 Messages: Expected "Publish" to have been called with: 20:00:27 [unittest/response 0 true mock.Anything] 20:00:27 but no actual calls happened 20:00:27 --- FAIL: Test_commandRequestHandler (0.01s) 20:00:27 --- FAIL: Test_commandRequestHandler/valid (0.00s) 20:00:27 external_test.go:372: 20:00:27 Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:372 20:00:27 Error: Should have called with given arguments 20:00:27 Test: Test_commandRequestHandler/valid 20:00:27 Messages: Expected "Request" to have been called with: 20:00:27 [{{v3} 7d120354-c956-486d-8074-a344bbac0201 befd2d5f-0a63-44b8-8aa1-bab630291f74 0 [] application/json map[ds-pushevent:true ds-returnevent:true]} edgex/device/command/request/testService/testDevice/testCommand/get edgex/response/testService mock.Anything] 20:00:27 but no actual calls happened 20:00:27 --- FAIL: Test_commandRequestHandler/invalid_-_device_not_found (0.00s) 20:00:27 external_test.go:362: 20:00:27 Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:362 20:00:27 Error: Should have called with given arguments 20:00:27 Test: Test_commandRequestHandler/invalid_-_device_not_found 20:00:27 Messages: Expected "Error" to have been called with: 20:00:27 [mock.Anything] 20:00:27 but actual calls were: 20:00:27 [Received command request from external message broker on topic '%s' with %d bytes unittest/external/request/testDevice/testCommand/get 268] 20:00:27 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:00:27 [Not publishing error message back due to insufficient information on response topic] 20:00:27 [Received command request from external message broker on topic '%s' with %d bytes unittest/external/request/testDevice/testCommand/get 268] 20:00:27 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:00:27 [Not publishing error message back due to insufficient information on response topic] 20:00:27 [Received command request from external message broker on topic '%s' with %d bytes unittest/invalid 268] 20:00:27 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:00:27 [Not publishing error message back due to insufficient information on response topic] 20:00:27 [Received command request from external message broker on topic '%s' with %d bytes unittest/request/testDevice/testCommand/invalid 268] 20:00:27 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:00:27 [Not publishing error message back due to insufficient information on response topic] 20:00:27 [Received command request from external message broker on topic '%s' with %d bytes unittest/request/unknown-device/testCommand/get 268] 20:00:27 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:00:27 [Not publishing error message back due to insufficient information on response topic] 20:00:27 external_test.go:363: 20:00:27 Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:363 20:00:27 Error: Should have called with given arguments 20:00:27 Test: Test_commandRequestHandler/invalid_-_device_not_found 20:00:27 Messages: Expected "Publish" to have been called with: 20:00:27 [mock.Anything 0 true mock.Anything] 20:00:27 but no actual calls happened 20:00:27 --- FAIL: Test_commandRequestHandler/invalid_-_device_service_not_found (0.00s) 20:00:27 external_test.go:362: 20:00:27 Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:362 20:00:27 Error: Should have called with given arguments 20:00:27 Test: Test_commandRequestHandler/invalid_-_device_service_not_found 20:00:27 Messages: Expected "Error" to have been called with: 20:00:27 [mock.Anything] 20:00:27 but actual calls were: 20:00:27 [Received command request from external message broker on topic '%s' with %d bytes unittest/external/request/testDevice/testCommand/get 268] 20:00:27 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:00:27 [Not publishing error message back due to insufficient information on response topic] 20:00:27 [Received command request from external message broker on topic '%s' with %d bytes unittest/external/request/testDevice/testCommand/get 268] 20:00:27 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:00:27 [Not publishing error message back due to insufficient information on response topic] 20:00:27 [Received command request from external message broker on topic '%s' with %d bytes unittest/invalid 268] 20:00:27 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:00:27 [Not publishing error message back due to insufficient information on response topic] 20:00:27 [Received command request from external message broker on topic '%s' with %d bytes unittest/request/testDevice/testCommand/invalid 268] 20:00:27 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:00:27 [Not publishing error message back due to insufficient information on response topic] 20:00:27 [Received command request from external message broker on topic '%s' with %d bytes unittest/request/unknown-device/testCommand/get 268] 20:00:27 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:00:27 [Not publishing error message back due to insufficient information on response topic] 20:00:27 [Received command request from external message broker on topic '%s' with %d bytes unittest/request/unknownService-device/testCommand/get 268] 20:00:27 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:00:27 [Not publishing error message back due to insufficient information on response topic] 20:00:27 external_test.go:363: 20:00:27 Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:363 20:00:27 Error: Should have called with given arguments 20:00:27 Test: Test_commandRequestHandler/invalid_-_device_service_not_found 20:00:27 Messages: Expected "Publish" to have been called with: 20:00:27 [mock.Anything 0 true mock.Anything] 20:00:27 but no actual calls happened 20:00:27 --- FAIL: Test_commandRequestHandler/invalid_-_invalid_device_service_reserved_query_parameters (0.00s) 20:00:27 external_test.go:362: 20:00:27 Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:362 20:00:27 Error: Should have called with given arguments 20:00:27 Test: Test_commandRequestHandler/invalid_-_invalid_device_service_reserved_query_parameters 20:00:27 Messages: Expected "Error" to have been called with: 20:00:27 [mock.Anything] 20:00:27 but actual calls were: 20:00:27 [Received command request from external message broker on topic '%s' with %d bytes unittest/external/request/testDevice/testCommand/get 268] 20:00:27 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:00:27 [Not publishing error message back due to insufficient information on response topic] 20:00:27 [Received command request from external message broker on topic '%s' with %d bytes unittest/external/request/testDevice/testCommand/get 268] 20:00:27 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:00:27 [Not publishing error message back due to insufficient information on response topic] 20:00:27 [Received command request from external message broker on topic '%s' with %d bytes unittest/invalid 268] 20:00:27 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:00:27 [Not publishing error message back due to insufficient information on response topic] 20:00:27 [Received command request from external message broker on topic '%s' with %d bytes unittest/request/testDevice/testCommand/invalid 268] 20:00:27 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:00:27 [Not publishing error message back due to insufficient information on response topic] 20:00:27 [Received command request from external message broker on topic '%s' with %d bytes unittest/request/unknown-device/testCommand/get 268] 20:00:27 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:00:27 [Not publishing error message back due to insufficient information on response topic] 20:00:27 [Received command request from external message broker on topic '%s' with %d bytes unittest/request/unknownService-device/testCommand/get 268] 20:00:27 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:00:27 [Not publishing error message back due to insufficient information on response topic] 20:00:27 [Received command request from external message broker on topic '%s' with %d bytes unittest/external/request/testDevice/testCommand/get 274] 20:00:27 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:00:27 [Not publishing error message back due to insufficient information on response topic] 20:00:27 external_test.go:363: 20:00:27 Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:363 20:00:27 Error: Should have called with given arguments 20:00:27 Test: Test_commandRequestHandler/invalid_-_invalid_device_service_reserved_query_parameters 20:00:27 Messages: Expected "Publish" to have been called with: 20:00:27 [mock.Anything 0 true mock.Anything] 20:00:27 but no actual calls happened 20:00:27 FAIL 20:00:27 github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging coverage: 47.0% of statements 20:00:27 FAIL github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 3.085s 20:00:27 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.073s coverage: 54.0% of statements 20:00:28 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 20:00:28 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 20:00:29 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 2.414s coverage: 88.5% of statements 20:00:29 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.068s coverage: 3.8% of statements 20:00:30 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 20:00:30 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 20:00:30 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 20:00:30 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.345s coverage: 95.6% of statements 20:00:30 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 20:00:30 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 20:00:30 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 20:00:30 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 20:00:30 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 20:00:30 ok github.com/edgexfoundry/edgex-go/internal/io 0.054s coverage: 72.2% of statements 20:00:31 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 20:00:31 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 20:00:31 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 20:00:31 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.061s coverage: 65.9% of statements 20:00:32 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 20:00:32 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 20:00:32 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.074s coverage: 0.9% of statements 20:00:32 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.062s coverage: 29.0% of statements 20:00:32 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.042s coverage: 44.1% of statements 20:00:32 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.051s coverage: 82.9% of statements 20:00:32 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.047s coverage: 94.1% of statements 20:00:32 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.085s coverage: 96.3% of statements 20:00:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.062s coverage: 87.5% of statements 20:00:33 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 20:00:33 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 20:00:33 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 20:00:33 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 20:00:33 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 20:00:33 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 20:00:33 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 20:00:33 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 20:00:34 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 20:00:34 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 20:00:34 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 20:00:34 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 20:00:34 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 20:00:34 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 20:00:35 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 20:00:36 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] 20:00:36 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 20:00:37 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 20:00:37 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 20:00:38 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth [no test files] 20:00:38 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] 20:00:38 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] 20:00:39 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 20:00:39 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 20:00:40 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 20:00:41 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 20:00:41 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 20:00:41 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 20:00:41 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 20:00:42 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 20:00:42 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 20:00:42 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 20:00:42 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 20:00:43 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 20:00:43 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 20:00:43 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 20:00:43 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 20:00:44 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 20:00:44 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 20:00:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.076s coverage: 94.4% of statements 20:00:45 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 20:00:45 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 20:00:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 23.257s coverage: 79.9% of statements 20:00:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 21.065s coverage: 92.9% of statements 20:00:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.031s coverage: 64.4% of statements 20:00:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.044s coverage: 62.3% of statements 20:00:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.057s coverage: 87.2% of statements 20:00:57 ok github.com/edgexfoundry/edgex-go/internal/security/common 0.047s coverage: 20.0% of statements 20:00:57 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.048s coverage: 100.0% of statements 20:00:57 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.089s coverage: 81.8% of statements 20:00:57 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.087s coverage: 82.1% of statements 20:00:57 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.067s coverage: 86.0% of statements 20:00:57 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.167s coverage: 63.1% of statements 20:00:57 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.044s coverage: 100.0% of statements 20:00:57 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.037s coverage: 89.4% of statements 20:00:57 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.029s coverage: 100.0% of statements 20:00:57 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.028s coverage: 73.7% of statements 20:00:57 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.028s coverage: 100.0% of statements 20:00:57 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.180s coverage: 38.4% of statements 20:00:57 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.057s coverage: 89.5% of statements 20:00:57 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.058s coverage: 84.8% of statements 20:00:57 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.069s coverage: 17.7% of statements 20:00:57 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.121s coverage: 92.3% of statements 20:00:57 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.057s coverage: 61.5% of statements 20:00:57 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.091s coverage: 97.7% of statements 20:00:57 FAIL 20:00:57 make: *** [Makefile:148: unittest] Error 1 [Pipeline] } 20:00:57 $ docker stop --time=1 ac8708c54af0301cbfa2b3f8dbb90c600eb832a4ee8f5a81eb5e370d8bf71d48 20:00:59 $ docker rm -f --volumes ac8708c54af0301cbfa2b3f8dbb90c600eb832a4ee8f5a81eb5e370d8bf71d48 [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:00 Failed in branch amd64 20:01:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9101 in /w/workspace/edgexfoundry_edgex-go_PR-4518 [Pipeline] { [Pipeline] ws 20:01:20 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout 20:01:21 The recommended git tool is: git 20:01:26 using credential edgex-jenkins-ssh 20:01:26 Cloning the remote Git repository 20:01:26 Cloning repository git@github.com:edgexfoundry/edgex-go.git 20:01:26 > git init /w/workspace/edgex-go/1 # timeout=10 20:01:27 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 20:01:27 > git --version # timeout=10 20:01:27 > git --version # 'git version 2.25.1' 20:01:27 using GIT_SSH to set credentials SSH Credentials for GitHub 20:01:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:01:44 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 20:01:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:01:45 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 20:01:45 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 20:01:45 using GIT_SSH to set credentials SSH Credentials for GitHub 20:01:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4518/head:refs/remotes/origin/PR-4518 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:01:45 Merging remotes/origin/main commit 680d408d1fe061a8660851a15e6239967f05f6d8 into PR head commit b222c61335983cecb104ba8fb5f5e778f8bca2b7 20:01:46 Merge succeeded, producing b222c61335983cecb104ba8fb5f5e778f8bca2b7 20:01:46 Checking out Revision b222c61335983cecb104ba8fb5f5e778f8bca2b7 (PR-4518) 20:01:46 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" 20:01:46 > git --version # timeout=10 20:01:46 > git --version # 'git version 2.25.1' 20:01:46 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 20:01:45 > git config core.sparsecheckout # timeout=10 20:01:45 > git checkout -f b222c61335983cecb104ba8fb5f5e778f8bca2b7 # timeout=10 20:01:46 > git remote # timeout=10 20:01:46 > git config --get remote.origin.url # timeout=10 20:01:46 using GIT_SSH to set credentials SSH Credentials for GitHub 20:01:46 > git merge 680d408d1fe061a8660851a15e6239967f05f6d8 # timeout=10 20:01:46 > git rev-parse HEAD^{commit} # timeout=10 20:01:46 > git config core.sparsecheckout # timeout=10 20:01:46 > git checkout -f b222c61335983cecb104ba8fb5f5e778f8bca2b7 # timeout=10 [Pipeline] sh 20:01:48 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:01:48 % Total % Received % Xferd Average Speed Time Time Time Current 20:01:48 Dload Upload Total Spent Left Speed 20:01:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 76353 0 --:--:-- --:--:-- --:--:-- 76353 [Pipeline] sh 20:01:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:01:49 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:01:49 + sudo tee /etc/docker/daemon.new 20:01:49 { 20:01:49 "registry-mirrors": [ 20:01:49 "https://nexus3.edgexfoundry.org:10001" 20:01:49 ], 20:01:49 "bip": "10.250.0.254/24", 20:01:49 "hosts": [ 20:01:49 "tcp://0.0.0.0:5555", 20:01:49 "unix:///var/run/docker.sock" 20:01:49 ], 20:01:49 "mtu": 1458, 20:01:49 "selinux-enabled": true, 20:01:49 "seccomp-profile": "/etc/docker/seccomp.json" 20:01:49 } [Pipeline] sh 20:01:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:01:49 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:02:08 provisioning config files... 20:02:08 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config12472539271044354702tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:02:08 ---> docker-login.sh 20:02:08 nexus3.edgexfoundry.org:10001 20:02:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:09 Configure a credential helper to remove this warning. See 20:02:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:09 20:02:09 Login Succeeded 20:02:09 nexus3.edgexfoundry.org:10002 20:02:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:09 Configure a credential helper to remove this warning. See 20:02:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:09 20:02:09 Login Succeeded 20:02:09 nexus3.edgexfoundry.org:10003 20:02:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:09 Configure a credential helper to remove this warning. See 20:02:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:09 20:02:09 Login Succeeded 20:02:09 nexus3.edgexfoundry.org:10004 20:02:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:10 Configure a credential helper to remove this warning. See 20:02:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:10 20:02:10 Login Succeeded 20:02:10 docker.io 20:02:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:11 Configure a credential helper to remove this warning. See 20:02:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:11 20:02:11 Login Succeeded 20:02:11 ---> docker-login.sh ends [Pipeline] } 20:02:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh 20:02:12 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo 20:02:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:02:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:02:12 ========================================================= 20:02:12 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:02:12 ========================================================= [Pipeline] fileExists [Pipeline] sh 20:02:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:02:13 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:02:13 af6eaf76a39c: Pulling fs layer 20:02:13 55522c791124: Pulling fs layer 20:02:13 ce5c4a1c91eb: Pulling fs layer 20:02:13 169dfbe0d373: Pulling fs layer 20:02:13 e1ff8fa3b103: Pulling fs layer 20:02:13 52ebb69f0ebf: Pulling fs layer 20:02:13 5abe8eddf0d5: Pulling fs layer 20:02:13 169dfbe0d373: Waiting 20:02:13 e1ff8fa3b103: Waiting 20:02:13 52ebb69f0ebf: Waiting 20:02:13 5abe8eddf0d5: Waiting 20:02:13 55522c791124: Verifying Checksum 20:02:13 55522c791124: Download complete 20:02:13 169dfbe0d373: Verifying Checksum 20:02:13 169dfbe0d373: Download complete 20:02:13 e1ff8fa3b103: Download complete 20:02:13 af6eaf76a39c: Verifying Checksum 20:02:13 af6eaf76a39c: Download complete 20:02:14 af6eaf76a39c: Pull complete 20:02:14 5abe8eddf0d5: Verifying Checksum 20:02:14 5abe8eddf0d5: Download complete 20:02:14 55522c791124: Pull complete 20:02:15 ce5c4a1c91eb: Verifying Checksum 20:02:15 ce5c4a1c91eb: Download complete 20:02:15 52ebb69f0ebf: Download complete 20:02:28 ce5c4a1c91eb: Pull complete 20:02:28 169dfbe0d373: Pull complete 20:02:28 e1ff8fa3b103: Pull complete 20:02:33 52ebb69f0ebf: Pull complete 20:02:35 5abe8eddf0d5: Pull complete 20:02:35 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 20:02:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:02:35 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] fileExists [Pipeline] sh 20:02:35 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:02:35 WORKDIR /edgex 20:02:35 COPY go.mod . 20:02:35 RUN go mod download 20:02:35 + docker build -t ci-base-image-arm64 -f - . 20:02:36 Sending build context to Docker daemon 2.932MB 20:02:36 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:02:36 ---> 6cb57ee374ae 20:02:36 Step 2/4 : WORKDIR /edgex 20:02:38 ---> Running in 378adef854e5 20:02:38 Removing intermediate container 378adef854e5 20:02:38 ---> ac8ccf926364 20:02:38 Step 3/4 : COPY go.mod . 20:02:38 ---> f61b99b8c9b8 20:02:38 Step 4/4 : RUN go mod download 20:02:38 ---> Running in 7c24987e637a 20:03:10 Removing intermediate container 7c24987e637a 20:03:10 ---> 4db7c8052411 20:03:10 Successfully built 4db7c8052411 20:03:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:03:11 + docker inspect -f . ci-base-image-arm64 20:03:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:03:11 prd-ubuntu20.04-docker-arm64-4c-16g-9101 does not seem to be running inside a container 20:03:11 $ 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 ******** ci-base-image-arm64 cat 20:03:12 $ docker top fd1beb5476c27a1b7df43ac306a75335fe5ca9bac2dedd4915c1acbf45dac09d -eo pid,comm [Pipeline] { [Pipeline] sh 20:03:13 + go version 20:03:13 go version go1.20.2 linux/arm64 [Pipeline] } 20:03:13 $ docker stop --time=1 fd1beb5476c27a1b7df43ac306a75335fe5ca9bac2dedd4915c1acbf45dac09d 20:03:15 $ docker rm -f --volumes fd1beb5476c27a1b7df43ac306a75335fe5ca9bac2dedd4915c1acbf45dac09d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:03:16 + docker inspect -f . ci-base-image-arm64 20:03:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:03:16 prd-ubuntu20.04-docker-arm64-4c-16g-9101 does not seem to be running inside a container 20:03:16 $ 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 ******** ci-base-image-arm64 cat 20:03:18 $ docker top 67fdbc9179e65d6b9e9f0890f7a26940472abc7be3d4eeb664f78550ef2dcfa8 -eo pid,comm [Pipeline] { [Pipeline] echo 20:03:19 ========================================================= 20:03:19 [edgeXBuildGoParallel] Running Tests and Build... 20:03:19 ========================================================= [Pipeline] sh 20:03:19 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh 20:03:20 + make test 20:03:20 go test -race -coverprofile=coverage.out ./... 20:03:59 ? github.com/edgexfoundry/edgex-go [no test files] 20:05:51 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 20:05:51 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 20:05:51 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 20:05:51 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 20:05:51 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 20:05:51 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 20:05:51 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 20:05:51 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-auth [no test files] 20:05:51 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 20:05:51 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 20:05:53 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 20:05:53 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 20:05:53 ? github.com/edgexfoundry/edgex-go/internal [no test files] 20:05:53 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 20:06:08 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 20:06:08 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 20:06:08 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.284s coverage: 28.7% of statements 20:06:16 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.321s coverage: 98.5% of statements 20:06:22 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 20:06:22 ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] 20:06:22 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 20:06:25 --- FAIL: Test_commandQueryHandler (0.03s) 20:06:25 --- FAIL: Test_commandQueryHandler/valid_-_query_all (0.01s) 20:06:25 external_test.go:236: 20:06:25 Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:236 20:06:25 Error: Should have called with given arguments 20:06:25 Test: Test_commandQueryHandler/valid_-_query_all 20:06:25 Messages: Expected "Publish" to have been called with: 20:06:25 [unittest/response 0 true mock.Anything] 20:06:25 but no actual calls happened 20:06:25 --- FAIL: Test_commandQueryHandler/valid_-_query_by_device_name (0.01s) 20:06:25 external_test.go:236: 20:06:25 Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:236 20:06:25 Error: Should have called with given arguments 20:06:25 Test: Test_commandQueryHandler/valid_-_query_by_device_name 20:06:25 Messages: Expected "Publish" to have been called with: 20:06:25 [unittest/response 0 true mock.Anything] 20:06:25 but no actual calls happened 20:06:25 --- FAIL: Test_commandQueryHandler/invalid_-_invalid_query_parameters (0.01s) 20:06:25 external_test.go:228: 20:06:25 Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:228 20:06:25 Error: Should have called with given arguments 20:06:25 Test: Test_commandQueryHandler/invalid_-_invalid_query_parameters 20:06:25 Messages: Expected "Error" to have been called with: 20:06:25 [mock.Anything] 20:06:25 but actual calls were: 20:06:25 [Received command query request from external message broker on topic '%s' with %d bytes unittest/all 206] 20:06:25 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:06:25 [Not publishing error message back due to insufficient information on response topic] 20:06:25 [Received command query request from external message broker on topic '%s' with %d bytes unittest/testDevice 206] 20:06:25 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:06:25 [Not publishing error message back due to insufficient information on response topic] 20:06:25 [Received command query request from external message broker on topic '%s' with %d bytes unittest/testDevice 206] 20:06:25 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:06:25 [Not publishing error message back due to insufficient information on response topic] 20:06:25 [Received command query request from external message broker on topic '%s' with %d bytes unittest/all 241] 20:06:25 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:06:25 [Not publishing error message back due to insufficient information on response topic] 20:06:25 external_test.go:229: 20:06:25 Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:229 20:06:25 Error: Should have called with given arguments 20:06:25 Test: Test_commandQueryHandler/invalid_-_invalid_query_parameters 20:06:25 Messages: Expected "Publish" to have been called with: 20:06:25 [unittest/response 0 true mock.Anything] 20:06:25 but no actual calls happened 20:06:25 --- FAIL: Test_commandRequestHandler (0.08s) 20:06:25 --- FAIL: Test_commandRequestHandler/valid (0.01s) 20:06:25 external_test.go:372: 20:06:25 Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:372 20:06:25 Error: Should have called with given arguments 20:06:25 Test: Test_commandRequestHandler/valid 20:06:25 Messages: Expected "Request" to have been called with: 20:06:25 [{{v3} f24a0669-f7b5-4536-befe-cd51ed86a161 f774946e-a9a8-49d2-8b22-d387f3dc5b6d 0 [] application/json map[ds-pushevent:true ds-returnevent:true]} edgex/device/command/request/testService/testDevice/testCommand/get edgex/response/testService mock.Anything] 20:06:25 but no actual calls happened 20:06:25 --- FAIL: Test_commandRequestHandler/invalid_-_device_not_found (0.01s) 20:06:25 external_test.go:362: 20:06:25 Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:362 20:06:25 Error: Should have called with given arguments 20:06:25 Test: Test_commandRequestHandler/invalid_-_device_not_found 20:06:25 Messages: Expected "Error" to have been called with: 20:06:25 [mock.Anything] 20:06:25 but actual calls were: 20:06:25 [Received command request from external message broker on topic '%s' with %d bytes unittest/external/request/testDevice/testCommand/get 268] 20:06:25 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:06:25 [Not publishing error message back due to insufficient information on response topic] 20:06:25 [Received command request from external message broker on topic '%s' with %d bytes unittest/external/request/testDevice/testCommand/get 268] 20:06:25 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:06:25 [Not publishing error message back due to insufficient information on response topic] 20:06:25 [Received command request from external message broker on topic '%s' with %d bytes unittest/invalid 268] 20:06:25 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:06:25 [Not publishing error message back due to insufficient information on response topic] 20:06:25 [Received command request from external message broker on topic '%s' with %d bytes unittest/request/testDevice/testCommand/invalid 268] 20:06:25 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:06:25 [Not publishing error message back due to insufficient information on response topic] 20:06:25 [Received command request from external message broker on topic '%s' with %d bytes unittest/request/unknown-device/testCommand/get 268] 20:06:25 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:06:25 [Not publishing error message back due to insufficient information on response topic] 20:06:25 external_test.go:363: 20:06:25 Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:363 20:06:25 Error: Should have called with given arguments 20:06:25 Test: Test_commandRequestHandler/invalid_-_device_not_found 20:06:25 Messages: Expected "Publish" to have been called with: 20:06:25 [mock.Anything 0 true mock.Anything] 20:06:25 but no actual calls happened 20:06:25 --- FAIL: Test_commandRequestHandler/invalid_-_device_service_not_found (0.01s) 20:06:25 external_test.go:362: 20:06:25 Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:362 20:06:25 Error: Should have called with given arguments 20:06:25 Test: Test_commandRequestHandler/invalid_-_device_service_not_found 20:06:25 Messages: Expected "Error" to have been called with: 20:06:25 [mock.Anything] 20:06:25 but actual calls were: 20:06:25 [Received command request from external message broker on topic '%s' with %d bytes unittest/external/request/testDevice/testCommand/get 268] 20:06:25 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:06:25 [Not publishing error message back due to insufficient information on response topic] 20:06:25 [Received command request from external message broker on topic '%s' with %d bytes unittest/external/request/testDevice/testCommand/get 268] 20:06:25 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:06:25 [Not publishing error message back due to insufficient information on response topic] 20:06:25 [Received command request from external message broker on topic '%s' with %d bytes unittest/invalid 268] 20:06:25 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:06:25 [Not publishing error message back due to insufficient information on response topic] 20:06:25 [Received command request from external message broker on topic '%s' with %d bytes unittest/request/testDevice/testCommand/invalid 268] 20:06:25 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:06:25 [Not publishing error message back due to insufficient information on response topic] 20:06:25 [Received command request from external message broker on topic '%s' with %d bytes unittest/request/unknown-device/testCommand/get 268] 20:06:25 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:06:25 [Not publishing error message back due to insufficient information on response topic] 20:06:25 [Received command request from external message broker on topic '%s' with %d bytes unittest/request/unknownService-device/testCommand/get 268] 20:06:25 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:06:25 [Not publishing error message back due to insufficient information on response topic] 20:06:25 external_test.go:363: 20:06:25 Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:363 20:06:25 Error: Should have called with given arguments 20:06:25 Test: Test_commandRequestHandler/invalid_-_device_service_not_found 20:06:25 Messages: Expected "Publish" to have been called with: 20:06:25 [mock.Anything 0 true mock.Anything] 20:06:25 but no actual calls happened 20:06:25 --- FAIL: Test_commandRequestHandler/invalid_-_invalid_device_service_reserved_query_parameters (0.01s) 20:06:25 external_test.go:362: 20:06:25 Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:362 20:06:25 Error: Should have called with given arguments 20:06:25 Test: Test_commandRequestHandler/invalid_-_invalid_device_service_reserved_query_parameters 20:06:25 Messages: Expected "Error" to have been called with: 20:06:25 [mock.Anything] 20:06:25 but actual calls were: 20:06:25 [Received command request from external message broker on topic '%s' with %d bytes unittest/external/request/testDevice/testCommand/get 268] 20:06:25 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:06:25 [Not publishing error message back due to insufficient information on response topic] 20:06:25 [Received command request from external message broker on topic '%s' with %d bytes unittest/external/request/testDevice/testCommand/get 268] 20:06:25 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:06:25 [Not publishing error message back due to insufficient information on response topic] 20:06:25 [Received command request from external message broker on topic '%s' with %d bytes unittest/invalid 268] 20:06:25 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:06:25 [Not publishing error message back due to insufficient information on response topic] 20:06:25 [Received command request from external message broker on topic '%s' with %d bytes unittest/request/testDevice/testCommand/invalid 268] 20:06:25 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:06:25 [Not publishing error message back due to insufficient information on response topic] 20:06:25 [Received command request from external message broker on topic '%s' with %d bytes unittest/request/unknown-device/testCommand/get 268] 20:06:25 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:06:25 [Not publishing error message back due to insufficient information on response topic] 20:06:25 [Received command request from external message broker on topic '%s' with %d bytes unittest/request/unknownService-device/testCommand/get 268] 20:06:25 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:06:25 [Not publishing error message back due to insufficient information on response topic] 20:06:25 [Received command request from external message broker on topic '%s' with %d bytes unittest/external/request/testDevice/testCommand/get 274] 20:06:25 [Failed to decode request MessageEnvelope: %s api version 'v2' is required] 20:06:25 [Not publishing error message back due to insufficient information on response topic] 20:06:25 external_test.go:363: 20:06:25 Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:363 20:06:25 Error: Should have called with given arguments 20:06:25 Test: Test_commandRequestHandler/invalid_-_invalid_device_service_reserved_query_parameters 20:06:25 Messages: Expected "Publish" to have been called with: 20:06:25 [mock.Anything 0 true mock.Anything] 20:06:25 but no actual calls happened 20:06:25 FAIL 20:06:25 github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging coverage: 47.0% of statements 20:06:25 FAIL github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 3.435s 20:06:28 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 20:06:28 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 20:06:28 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.303s coverage: 54.0% of statements 20:06:32 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 20:06:32 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 20:06:32 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 20:06:32 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 20:06:32 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 20:06:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 20:06:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 20:06:47 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 15.264s coverage: 88.5% of statements 20:06:47 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.629s coverage: 3.8% of statements 20:06:57 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 20:06:57 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 20:06:57 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 20:06:58 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.517s coverage: 95.6% of statements 20:06:58 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 20:06:58 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 20:06:58 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 20:06:58 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 20:06:58 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 20:06:58 ok github.com/edgexfoundry/edgex-go/internal/io 0.206s coverage: 72.2% of statements 20:07:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 20:07:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 20:07:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 20:07:03 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.241s coverage: 65.9% of statements 20:07:14 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 20:07:14 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 20:07:14 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.436s coverage: 0.9% of statements 20:07:14 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.242s coverage: 29.0% of statements 20:07:16 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.269s coverage: 44.1% of statements 20:07:16 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.275s coverage: 82.9% of statements 20:07:16 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.218s coverage: 94.1% of statements 20:07:16 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.270s coverage: 96.3% of statements 20:07:19 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.201s coverage: 87.5% of statements 20:07:22 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 20:07:22 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 20:07:22 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 20:07:22 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 20:07:24 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 20:07:24 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 20:07:24 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 20:07:24 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 20:07:32 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.213s coverage: 94.4% of statements 20:07:32 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 20:07:32 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 20:07:32 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 20:07:32 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 20:07:35 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 20:07:35 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 20:07:37 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 20:07:46 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] 20:07:46 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 24.118s coverage: 79.9% of statements 20:07:46 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 21.255s coverage: 92.9% of statements 20:07:46 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.090s coverage: 64.4% of statements 20:07:46 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.199s coverage: 62.3% of statements 20:07:46 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.242s coverage: 87.2% of statements 20:07:46 ok github.com/edgexfoundry/edgex-go/internal/security/common 0.171s coverage: 20.0% of statements 20:07:46 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.163s coverage: 100.0% of statements 20:07:46 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.452s coverage: 81.8% of statements 20:07:46 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.465s coverage: 82.1% of statements 20:07:47 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 20:07:47 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.220s coverage: 86.0% of statements 20:07:51 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 20:07:51 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 20:07:52 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.986s coverage: 63.1% of statements 20:07:52 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.270s coverage: 100.0% of statements 20:07:54 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.176s coverage: 89.4% of statements 20:07:54 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.136s coverage: 100.0% of statements 20:07:54 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.136s coverage: 73.7% of statements 20:07:54 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth [no test files] 20:07:54 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] 20:07:54 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] 20:07:54 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.074s coverage: 100.0% of statements 20:08:03 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 20:08:03 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 20:08:03 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 20:08:03 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.960s coverage: 38.4% of statements 20:08:03 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.235s coverage: 89.5% of statements 20:08:07 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 20:08:07 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 20:08:07 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 20:08:07 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 20:08:07 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.204s coverage: 84.8% of statements 20:08:14 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 20:08:14 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 20:08:14 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 20:08:14 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 20:08:19 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 20:08:19 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 20:08:19 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 20:08:19 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 20:08:19 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.275s coverage: 17.7% of statements 20:08:20 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.516s coverage: 92.3% of statements 20:08:23 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 20:08:23 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 20:08:23 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.279s coverage: 61.5% of statements 20:08:25 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 20:08:25 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 20:08:25 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.370s coverage: 97.7% of statements 20:08:25 FAIL 20:08:26 make: *** [Makefile:148: unittest] Error 1 [Pipeline] } 20:08:26 $ docker stop --time=1 67fdbc9179e65d6b9e9f0890f7a26940472abc7be3d4eeb664f78550ef2dcfa8 20:08:28 $ docker rm -f --volumes 67fdbc9179e65d6b9e9f0890f7a26940472abc7be3d4eeb664f78550ef2dcfa8 [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:08:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:08:30 20:08:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:08:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:08:30 arm64: Pulling from edgex-lftools-log-publisher 20:08:30 8998bd30e6a1: Pulling fs layer 20:08:30 04944245beec: Pulling fs layer 20:08:30 699f458cf7ca: Pulling fs layer 20:08:30 765212b225bb: Pulling fs layer 20:08:30 f23df028b6ca: Pulling fs layer 20:08:30 d65c8cfc05b1: Pulling fs layer 20:08:30 2437ff75d9bd: Pulling fs layer 20:08:30 765212b225bb: Waiting 20:08:30 f23df028b6ca: Waiting 20:08:30 d65c8cfc05b1: Waiting 20:08:30 2437ff75d9bd: Waiting 20:08:30 04944245beec: Verifying Checksum 20:08:30 04944245beec: Download complete 20:08:30 765212b225bb: Verifying Checksum 20:08:30 765212b225bb: Download complete 20:08:30 f23df028b6ca: Verifying Checksum 20:08:30 f23df028b6ca: Download complete 20:08:31 d65c8cfc05b1: Verifying Checksum 20:08:31 d65c8cfc05b1: Download complete 20:08:31 699f458cf7ca: Verifying Checksum 20:08:31 699f458cf7ca: Download complete 20:08:31 8998bd30e6a1: Verifying Checksum 20:08:31 8998bd30e6a1: Download complete 20:08:34 2437ff75d9bd: Verifying Checksum 20:08:34 2437ff75d9bd: Download complete 20:08:36 8998bd30e6a1: Pull complete 20:08:37 04944245beec: Pull complete 20:08:38 699f458cf7ca: Pull complete 20:08:38 765212b225bb: Pull complete 20:08:39 f23df028b6ca: Pull complete 20:08:39 d65c8cfc05b1: Pull complete 20:08:54 2437ff75d9bd: Pull complete 20:08:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:08:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:08:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:08:54 prd-ubuntu20.04-docker-arm64-4c-16g-9101 does not seem to be running inside a container 20:08:54 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:08:57 $ docker top e9fb63b503bc12f36639222897f53401d6b2d095ad840f7ab11c49d0fb65b773 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:08:58 ---> job-cost.sh 20:08:58 lf-activate-venv: SKIPPING 20:08:58 INFO: No Stack... 20:08:58 INFO: Retrieving Pricing Info for: v3-standard-4 20:08:59 INFO: Archiving Costs [Pipeline] sh 20:09:00 + cat /w/workspace/edgex-go/1/archives/cost.csv 20:09:00 + cut -d, -f6 [Pipeline] lock 20:09:00 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4518-1-stack-cost] 20:09:00 Resource [jenkins-edgexfoundry-edgex-go-PR-4518-1-stack-cost] did not exist. Created. 20:09:00 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4518-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:09:00 + echo total: 0.10999999940395355 [Pipeline] stash 20:09:01 Stashed 1 file(s) [Pipeline] } 20:09:01 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4518-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:09:01 $ docker stop --time=1 e9fb63b503bc12f36639222897f53401d6b2d095ad840f7ab11c49d0fb65b773 20:09:03 $ docker rm -f --volumes e9fb63b503bc12f36639222897f53401d6b2d095ad840f7ab11c49d0fb65b773 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:09:03 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:09:05 + [ -d /w/workspace/edgex-go/1/archives ] [Pipeline] libraryResource [Pipeline] sh 20:09:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:09:06 ---> package-listing.sh 20:09:06 ++ facter osfamily 20:09:06 ++ tr '[:upper:]' '[:lower:]' 20:09:06 + OS_FAMILY=debian 20:09:06 + workspace=/w/workspace/edgex-go/1 20:09:06 + START_PACKAGES=/tmp/packages_start.txt 20:09:06 + END_PACKAGES=/tmp/packages_end.txt 20:09:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:09:06 + PACKAGES=/tmp/packages_start.txt 20:09:06 + '[' /w/workspace/edgex-go/1 ']' 20:09:06 + PACKAGES=/tmp/packages_end.txt 20:09:06 + case "${OS_FAMILY}" in 20:09:06 + dpkg -l 20:09:06 + grep '^ii' 20:09:06 + '[' -f /tmp/packages_start.txt ']' 20:09:06 + '[' -f /tmp/packages_end.txt ']' 20:09:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:09:06 + '[' /w/workspace/edgex-go/1 ']' 20:09:06 + mkdir -p /w/workspace/edgex-go/1/archives/ 20:09:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 20:09:06 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:09:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:09:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:09:07 20:09:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:09:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:09:08 latest: Pulling from edgex-lftools-log-publisher 20:09:08 5eb5b503b376: Pulling fs layer 20:09:08 5c69ac0246d0: Pulling fs layer 20:09:08 ec43610c2a17: Pulling fs layer 20:09:08 3a2ae6a8a46f: Pulling fs layer 20:09:08 33b1e0a273af: Pulling fs layer 20:09:08 5d3b04190fa2: Pulling fs layer 20:09:08 2f39f015ded8: Pulling fs layer 20:09:08 3a2ae6a8a46f: Waiting 20:09:08 33b1e0a273af: Waiting 20:09:08 2f39f015ded8: Waiting 20:09:08 5d3b04190fa2: Waiting 20:09:08 5c69ac0246d0: Download complete 20:09:08 3a2ae6a8a46f: Download complete 20:09:08 33b1e0a273af: Download complete 20:09:08 ec43610c2a17: Verifying Checksum 20:09:08 ec43610c2a17: Download complete 20:09:08 5d3b04190fa2: Verifying Checksum 20:09:08 5d3b04190fa2: Download complete 20:09:08 5eb5b503b376: Verifying Checksum 20:09:08 5eb5b503b376: Download complete 20:09:08 2f39f015ded8: Download complete 20:09:09 5eb5b503b376: Pull complete 20:09:09 5c69ac0246d0: Pull complete 20:09:09 ec43610c2a17: Pull complete 20:09:09 3a2ae6a8a46f: Pull complete 20:09:09 33b1e0a273af: Pull complete 20:09:09 5d3b04190fa2: Pull complete 20:09:14 2f39f015ded8: Pull complete 20:09:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:09:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:09:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:09:14 prd-ubuntu20.04-docker-8c-8g-9100 does not seem to be running inside a container 20:09:14 $ 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:09:17 $ docker top 578f1ecef48c921d13298b5527b170eac8ae654d7e62c996008e6bd754a63679 -eo pid,comm [Pipeline] { [Pipeline] sh 20:09:17 + touch /tmp/pre-build-complete [Pipeline] sh 20:09:17 + mkdir -p /var/log/sysstat [Pipeline] sh 20:09:18 + ls /var/log/sa-host 20:09:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:09:18 provisioning config files... 20:09:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config16727291156166587979tmp [Pipeline] { [Pipeline] echo 20:09:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:09:18 ---> create-netrc.sh [Pipeline] } 20:09:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:09:19 ---> python-tools-install.sh [Pipeline] echo 20:09:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:09:19 ---> sudo-logs.sh 20:09:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:09:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:09:19 ---> job-cost.sh 20:09:19 lf-activate-venv: SKIPPING 20:09:19 DEBUG: total: 0.10999999940395355 20:09:19 INFO: Retrieving Stack Cost... 20:09:20 INFO: Retrieving Pricing Info for: v3-standard-8 20:09:20 INFO: Archiving Costs [Pipeline] echo 20:09:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:09:21 ---> logs-deploy.sh 20:09:21 lf-activate-venv: SKIPPING 20:09:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4518/1 20:09:21 INFO: archiving workspace using pattern(s): 20:09:22 Archives upload complete. 20:09:22 INFO: archiving logs to Nexus