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 [2023-04-19T19:59:08.789Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-19T19:59:08.955Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-19T19:59:09.050Z] ========================================================= [2023-04-19T19:59:09.050Z] EdgeX Global Pipelines Version Info [2023-04-19T19:59:09.050Z] ========================================================= [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 [2023-04-19T19:59:09.801Z] ------------------- [2023-04-19T19:59:09.801Z] stable info: [2023-04-19T19:59:09.801Z] ------------------- [2023-04-19T19:59:09.801Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-19T19:59:09.801Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-19T19:59:09.802Z] Message: update stable to v1.0.248 [2023-04-19T19:59:10.371Z] ------------------- [2023-04-19T19:59:10.372Z] experimental info: [2023-04-19T19:59:10.372Z] ------------------- [2023-04-19T19:59:10.372Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-19T19:59:10.372Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-19T19:59:10.372Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-19T19:59:10.647Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2023-04-19T19:59:10.690Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2023-04-19T19:59:10.727Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-19T19:59:10.766Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-19T19:59:10.809Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-19T19:59:10.847Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-19T19:59:10.884Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-19T19:59:10.927Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2023-04-19T19:59:10.965Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2023-04-19T19:59:11.006Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2023-04-19T19:59:11.043Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-19T19:59:11.081Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-19T19:59:11.121Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-19T19:59:11.158Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-19T19:59:11.194Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-19T19:59:11.230Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-19T19:59:11.265Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-19T19:59:11.301Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-19T19:59:11.333Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-19T19:59:11.370Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-04-19T19:59:11.407Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-19T19:59:11.444Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-19T19:59:11.488Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-19T19:59:11.528Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4518 [Pipeline] echo [2023-04-19T19:59:11.565Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4518 [Pipeline] echo [2023-04-19T19:59:11.602Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4518 [Pipeline] echo [2023-04-19T19:59:11.639Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b222c61335983cecb104ba8fb5f5e778f8bca2b7 [Pipeline] echo [2023-04-19T19:59:11.672Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b222c61 [Pipeline] echo [2023-04-19T19:59:11.710Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-19T19:59:11.818Z] provisioning config files... [2023-04-19T19:59:11.832Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config2123479430090187662tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-19T19:59:12.174Z] ---> docker-login.sh [2023-04-19T19:59:12.174Z] nexus3.edgexfoundry.org:10001 [2023-04-19T19:59:12.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T19:59:12.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T19:59:12.434Z] Configure a credential helper to remove this warning. See [2023-04-19T19:59:12.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T19:59:12.434Z] [2023-04-19T19:59:12.434Z] Login Succeeded [2023-04-19T19:59:12.434Z] nexus3.edgexfoundry.org:10002 [2023-04-19T19:59:12.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T19:59:12.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T19:59:12.696Z] Configure a credential helper to remove this warning. See [2023-04-19T19:59:12.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T19:59:12.696Z] [2023-04-19T19:59:12.696Z] Login Succeeded [2023-04-19T19:59:12.696Z] nexus3.edgexfoundry.org:10003 [2023-04-19T19:59:12.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T19:59:12.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T19:59:12.696Z] Configure a credential helper to remove this warning. See [2023-04-19T19:59:12.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T19:59:12.696Z] [2023-04-19T19:59:12.696Z] Login Succeeded [2023-04-19T19:59:12.696Z] nexus3.edgexfoundry.org:10004 [2023-04-19T19:59:12.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T19:59:12.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T19:59:12.955Z] Configure a credential helper to remove this warning. See [2023-04-19T19:59:12.955Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T19:59:12.955Z] [2023-04-19T19:59:12.955Z] Login Succeeded [2023-04-19T19:59:12.955Z] docker.io [2023-04-19T19:59:12.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T19:59:13.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T19:59:13.215Z] Configure a credential helper to remove this warning. See [2023-04-19T19:59:13.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T19:59:13.215Z] [2023-04-19T19:59:13.215Z] Login Succeeded [2023-04-19T19:59:13.215Z] ---> docker-login.sh ends [Pipeline] } [2023-04-19T19:59:13.243Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-19T19:59:13.650Z] + 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 [2023-04-19T19:59:13.651Z] + dirname cmd/core-command/Dockerfile [2023-04-19T19:59:13.651Z] + cut -d/ -f2 [2023-04-19T19:59:13.651Z] + echo core-command,cmd/core-command/Dockerfile [2023-04-19T19:59:13.651Z] + dirname cmd/core-common-config-bootstrapper/Dockerfile+ [2023-04-19T19:59:13.651Z] cut -d/ -f2 [2023-04-19T19:59:13.651Z] + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile [2023-04-19T19:59:13.651Z] + dirname cmd/core-data/Dockerfile [2023-04-19T19:59:13.651Z] + cut -d/ -f2 [2023-04-19T19:59:13.651Z] + echo core-data,cmd/core-data/Dockerfile [2023-04-19T19:59:13.651Z] + dirname cmd/core-metadata/Dockerfile [2023-04-19T19:59:13.651Z] + cut -d/ -f2 [2023-04-19T19:59:13.651Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2023-04-19T19:59:13.651Z] + dirname cmd/security-bootstrapper/Dockerfile [2023-04-19T19:59:13.651Z] + cut -d/ -f2 [2023-04-19T19:59:13.651Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2023-04-19T19:59:13.651Z] + dirname cmd/security-proxy-auth/Dockerfile [2023-04-19T19:59:13.651Z] + cut -d/ -f2 [2023-04-19T19:59:13.651Z] + echo security-proxy-auth,cmd/security-proxy-auth/Dockerfile [2023-04-19T19:59:13.651Z] + dirname cmd/security-proxy-setup/Dockerfile [2023-04-19T19:59:13.651Z] + cut -d/ -f2 [2023-04-19T19:59:13.651Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2023-04-19T19:59:13.651Z] + dirname cmd/security-secretstore-setup/Dockerfile [2023-04-19T19:59:13.651Z] + cut -d/ -f2 [2023-04-19T19:59:13.651Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2023-04-19T19:59:13.651Z] + dirname cmd/security-spiffe-token-provider/Dockerfile [2023-04-19T19:59:13.651Z] + cut -d/ -f2 [2023-04-19T19:59:13.651Z] + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile [2023-04-19T19:59:13.651Z] + + cutdirname -d/ cmd/security-spire-agent/Dockerfile -f2 [2023-04-19T19:59:13.651Z] [2023-04-19T19:59:13.651Z] + echo security-spire-agent,cmd/security-spire-agent/Dockerfile [2023-04-19T19:59:13.651Z] + dirname cmd/security-spire-config/Dockerfile [2023-04-19T19:59:13.651Z] + cut -d/ -f2 [2023-04-19T19:59:13.651Z] + echo security-spire-config,cmd/security-spire-config/Dockerfile [2023-04-19T19:59:13.651Z] + + cut -d/ -f2dirname [2023-04-19T19:59:13.651Z] cmd/security-spire-server/Dockerfile [2023-04-19T19:59:13.651Z] + echo security-spire-server,cmd/security-spire-server/Dockerfile [2023-04-19T19:59:13.651Z] + dirname cmd/support-notifications/Dockerfile [2023-04-19T19:59:13.651Z] + cut -d/ -f2 [2023-04-19T19:59:13.651Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2023-04-19T19:59:13.651Z] + dirname cmd/support-scheduler/Dockerfile [2023-04-19T19:59:13.651Z] + cut -d/ -f2 [2023-04-19T19:59:13.651Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo [2023-04-19T19:59:13.718Z] 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 [2023-04-19T19:59:14.252Z] + git rev-list -1 --merges b222c61335983cecb104ba8fb5f5e778f8bca2b7~1..b222c61335983cecb104ba8fb5f5e778f8bca2b7 [Pipeline] echo [2023-04-19T19:59:14.282Z] -----------> git rev-list -1 --merges b222c61335983cecb104ba8fb5f5e778f8bca2b7~1..b222c61335983cecb104ba8fb5f5e778f8bca2b7 b222c61335983cecb104ba8fb5f5e778f8bca2b7 [false] [Pipeline] sh [2023-04-19T19:59:14.587Z] + git log --format=format:%s -1 b222c61335983cecb104ba8fb5f5e778f8bca2b7 [Pipeline] echo [2023-04-19T19:59:14.625Z] ========================================================= [2023-04-19T19:59:14.625Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-19T19:59:14.625Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-04-19T19:59:15.104Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-19T19:59:15.104Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-19T19:59:15.104Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-19T19:59:15.104Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-19T19:59:15.104Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-19T19:59:15.104Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-19T19:59:15.104Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T19:59:15.579Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-19T19:59:15.579Z] [2023-04-19T19:59:15.579Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T19:59:15.950Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-19T19:59:15.950Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-19T19:59:15.950Z] b85a868b505f: Pulling fs layer [2023-04-19T19:59:15.950Z] e2be974225ed: Pulling fs layer [2023-04-19T19:59:15.950Z] 339a4e72a1f5: Pulling fs layer [2023-04-19T19:59:15.950Z] 988bab9f4d93: Pulling fs layer [2023-04-19T19:59:15.950Z] 1469e6f7b9e6: Pulling fs layer [2023-04-19T19:59:15.950Z] eaf3925da568: Pulling fs layer [2023-04-19T19:59:15.950Z] bab4dde63d76: Pulling fs layer [2023-04-19T19:59:15.950Z] eaf3925da568: Waiting [2023-04-19T19:59:15.950Z] 988bab9f4d93: Waiting [2023-04-19T19:59:15.950Z] bab4dde63d76: Waiting [2023-04-19T19:59:15.950Z] 1469e6f7b9e6: Waiting [2023-04-19T19:59:15.950Z] bde34c3a00c8: Pulling fs layer [2023-04-19T19:59:15.950Z] b352a97aabf1: Pulling fs layer [2023-04-19T19:59:15.950Z] bde34c3a00c8: Waiting [2023-04-19T19:59:15.950Z] 4872d77fe225: Pulling fs layer [2023-04-19T19:59:15.950Z] 5851b861e8e6: Pulling fs layer [2023-04-19T19:59:15.950Z] 4872d77fe225: Waiting [2023-04-19T19:59:15.950Z] 5851b861e8e6: Waiting [2023-04-19T19:59:15.950Z] e2be974225ed: Verifying Checksum [2023-04-19T19:59:15.950Z] e2be974225ed: Download complete [2023-04-19T19:59:15.950Z] 988bab9f4d93: Download complete [2023-04-19T19:59:15.950Z] 339a4e72a1f5: Verifying Checksum [2023-04-19T19:59:15.950Z] 339a4e72a1f5: Download complete [2023-04-19T19:59:15.950Z] 1469e6f7b9e6: Verifying Checksum [2023-04-19T19:59:15.950Z] 1469e6f7b9e6: Download complete [2023-04-19T19:59:16.211Z] eaf3925da568: Verifying Checksum [2023-04-19T19:59:16.211Z] eaf3925da568: Download complete [2023-04-19T19:59:16.211Z] bde34c3a00c8: Download complete [2023-04-19T19:59:16.211Z] b352a97aabf1: Verifying Checksum [2023-04-19T19:59:16.211Z] b352a97aabf1: Download complete [2023-04-19T19:59:16.211Z] 4872d77fe225: Verifying Checksum [2023-04-19T19:59:16.211Z] 4872d77fe225: Download complete [2023-04-19T19:59:16.211Z] 5851b861e8e6: Verifying Checksum [2023-04-19T19:59:16.211Z] 5851b861e8e6: Download complete [2023-04-19T19:59:16.211Z] b85a868b505f: Verifying Checksum [2023-04-19T19:59:16.211Z] b85a868b505f: Download complete [2023-04-19T19:59:16.471Z] bab4dde63d76: Verifying Checksum [2023-04-19T19:59:16.471Z] bab4dde63d76: Download complete [2023-04-19T19:59:17.430Z] b85a868b505f: Pull complete [2023-04-19T19:59:17.430Z] e2be974225ed: Pull complete [2023-04-19T19:59:17.999Z] 339a4e72a1f5: Pull complete [2023-04-19T19:59:17.999Z] 988bab9f4d93: Pull complete [2023-04-19T19:59:18.261Z] 1469e6f7b9e6: Pull complete [2023-04-19T19:59:18.261Z] eaf3925da568: Pull complete [2023-04-19T19:59:20.166Z] bab4dde63d76: Pull complete [2023-04-19T19:59:20.166Z] bde34c3a00c8: Pull complete [2023-04-19T19:59:20.166Z] b352a97aabf1: Pull complete [2023-04-19T19:59:20.166Z] 4872d77fe225: Pull complete [2023-04-19T19:59:20.166Z] 5851b861e8e6: Pull complete [2023-04-19T19:59:20.166Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-19T19:59:20.166Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-19T19:59:20.166Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T19:59:20.390Z] prd-ubuntu20.04-docker-8c-8g-9100 does not seem to be running inside a container [2023-04-19T19:59:20.421Z] $ 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 [2023-04-19T19:59:21.601Z] $ docker top 157e672f0a2d1ffc6c3590b8c953671bfa81a2be2751fef5cc06ec93c7f094c2 -eo pid,comm [2023-04-19T19:59:21.652Z] 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). [2023-04-19T19:59:21.652Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-19T19:59:21.816Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-19T19:59:21.816Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-19T19:59:21.928Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-19T19:59:21.930Z] $ docker exec 157e672f0a2d1ffc6c3590b8c953671bfa81a2be2751fef5cc06ec93c7f094c2 ssh-agent [2023-04-19T19:59:22.044Z] SSH_AUTH_SOCK=/tmp/ssh-U6pV6KGmdSqS/agent.32 [2023-04-19T19:59:22.044Z] SSH_AGENT_PID=38 [2023-04-19T19:59:22.050Z] Running ssh-add (command line suppressed) [2023-04-19T19:59:22.158Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_15016522213002100352.key (/w/workspace/edgex-go/1@tmp/private_key_15016522213002100352.key) [2023-04-19T19:59:22.175Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-19T19:59:22.505Z] + git tag --points-at HEAD [Pipeline] } [2023-04-19T19:59:22.529Z] $ docker exec --env ******** --env ******** 157e672f0a2d1ffc6c3590b8c953671bfa81a2be2751fef5cc06ec93c7f094c2 ssh-agent -k [2023-04-19T19:59:22.623Z] unset SSH_AUTH_SOCK; [2023-04-19T19:59:22.624Z] unset SSH_AGENT_PID; [2023-04-19T19:59:22.624Z] echo Agent pid 38 killed; [2023-04-19T19:59:22.635Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-19T19:59:22.721Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-19T19:59:22.721Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-19T19:59:22.826Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-19T19:59:22.828Z] $ docker exec 157e672f0a2d1ffc6c3590b8c953671bfa81a2be2751fef5cc06ec93c7f094c2 ssh-agent [2023-04-19T19:59:22.940Z] SSH_AUTH_SOCK=/tmp/ssh-5b6ZqHZfDUqQ/agent.70 [2023-04-19T19:59:22.940Z] SSH_AGENT_PID=76 [2023-04-19T19:59:22.945Z] Running ssh-add (command line suppressed) [2023-04-19T19:59:23.049Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_10084238261264603408.key (/w/workspace/edgex-go/1@tmp/private_key_10084238261264603408.key) [2023-04-19T19:59:23.062Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-19T19:59:23.391Z] + git semver init [2023-04-19T19:59:23.651Z] 2023-04-19 19:59:23,566 [run_init] DEBUG init version:0.0.0 force:False [2023-04-19T19:59:23.651Z] 2023-04-19 19:59:23,567 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/1/.semver [2023-04-19T19:59:23.651Z] 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 [2023-04-19T19:59:23.651Z] 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) [2023-04-19T19:59:28.928Z] 2023-04-19 19:59:28,148 [append_file] DEBUG append to file:/w/workspace/edgex-go/1/.git/info/exclude [2023-04-19T19:59:28.928Z] 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 [2023-04-19T19:59:28.928Z] 2023-04-19 19:59:28,149 [write_file] DEBUG write to file:/w/workspace/edgex-go/1/.semver/PR-4518 [2023-04-19T19:59:28.928Z] 2023-04-19 19:59:28,153 [execute] INFO git cat-file --batch-check [2023-04-19T19:59:28.928Z] 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=) [2023-04-19T19:59:28.928Z] 2023-04-19 19:59:28,159 [execute] INFO git cat-file --batch [2023-04-19T19:59:28.928Z] 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=) [2023-04-19T19:59:28.929Z] 2023-04-19 19:59:28,165 [read_version] DEBUG read version from /w/workspace/edgex-go/1/.semver/PR-4518 [2023-04-19T19:59:28.929Z] 0.0.0 [Pipeline] } [2023-04-19T19:59:28.960Z] $ docker exec --env ******** --env ******** 157e672f0a2d1ffc6c3590b8c953671bfa81a2be2751fef5cc06ec93c7f094c2 ssh-agent -k [2023-04-19T19:59:29.048Z] unset SSH_AUTH_SOCK; [2023-04-19T19:59:29.049Z] unset SSH_AGENT_PID; [2023-04-19T19:59:29.049Z] echo Agent pid 76 killed; [2023-04-19T19:59:29.059Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-19T19:59:29.475Z] + git semver [Pipeline] } [2023-04-19T19:59:29.761Z] $ docker stop --time=1 157e672f0a2d1ffc6c3590b8c953671bfa81a2be2751fef5cc06ec93c7f094c2 [2023-04-19T19:59:31.062Z] $ docker rm -f --volumes 157e672f0a2d1ffc6c3590b8c953671bfa81a2be2751fef5cc06ec93c7f094c2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-19T19:59:31.457Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-19T19:59:31.718Z] Stashed 1 file(s) [Pipeline] echo [2023-04-19T19:59:31.735Z] [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 [2023-04-19T19:59:32.513Z] + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo [2023-04-19T19:59:32.555Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-19T19:59:32.588Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-19T19:59:32.616Z] ========================================================= [2023-04-19T19:59:32.616Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-19T19:59:32.616Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2023-04-19T19:59:32.957Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-19T19:59:32.957Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-19T19:59:32.957Z] 63b65145d645: Pulling fs layer [2023-04-19T19:59:32.957Z] a2d21d5440eb: Pulling fs layer [2023-04-19T19:59:32.957Z] 935e6c44a52c: Pulling fs layer [2023-04-19T19:59:32.957Z] 94cc34f8dd06: Pulling fs layer [2023-04-19T19:59:32.957Z] 30dea6a524f1: Pulling fs layer [2023-04-19T19:59:32.957Z] a2aff8979fd8: Pulling fs layer [2023-04-19T19:59:32.957Z] 6808be2612f2: Pulling fs layer [2023-04-19T19:59:32.957Z] f25807f1079a: Pulling fs layer [2023-04-19T19:59:32.957Z] 30dea6a524f1: Waiting [2023-04-19T19:59:32.957Z] a2aff8979fd8: Waiting [2023-04-19T19:59:32.957Z] f25807f1079a: Waiting [2023-04-19T19:59:32.957Z] 94cc34f8dd06: Waiting [2023-04-19T19:59:32.957Z] a2d21d5440eb: Verifying Checksum [2023-04-19T19:59:32.957Z] a2d21d5440eb: Download complete [2023-04-19T19:59:32.957Z] 94cc34f8dd06: Verifying Checksum [2023-04-19T19:59:32.957Z] 94cc34f8dd06: Download complete [2023-04-19T19:59:32.957Z] 30dea6a524f1: Download complete [2023-04-19T19:59:32.957Z] 63b65145d645: Verifying Checksum [2023-04-19T19:59:32.957Z] 63b65145d645: Download complete [2023-04-19T19:59:32.957Z] a2aff8979fd8: Verifying Checksum [2023-04-19T19:59:32.957Z] a2aff8979fd8: Download complete [2023-04-19T19:59:33.217Z] 63b65145d645: Pull complete [2023-04-19T19:59:33.217Z] a2d21d5440eb: Pull complete [2023-04-19T19:59:33.476Z] f25807f1079a: Verifying Checksum [2023-04-19T19:59:33.476Z] f25807f1079a: Download complete [2023-04-19T19:59:33.733Z] 935e6c44a52c: Verifying Checksum [2023-04-19T19:59:33.733Z] 935e6c44a52c: Download complete [2023-04-19T19:59:33.733Z] 6808be2612f2: Verifying Checksum [2023-04-19T19:59:33.733Z] 6808be2612f2: Download complete [2023-04-19T19:59:37.037Z] 935e6c44a52c: Pull complete [2023-04-19T19:59:37.037Z] 94cc34f8dd06: Pull complete [2023-04-19T19:59:37.037Z] 30dea6a524f1: Pull complete [2023-04-19T19:59:37.037Z] a2aff8979fd8: Pull complete [2023-04-19T19:59:38.937Z] 6808be2612f2: Pull complete [2023-04-19T19:59:39.503Z] f25807f1079a: Pull complete [2023-04-19T19:59:39.504Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-19T19:59:39.504Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-19T19:59:39.504Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] fileExists [Pipeline] sh [2023-04-19T19:59:39.873Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-19T19:59:39.873Z] WORKDIR /edgex [2023-04-19T19:59:39.873Z] COPY go.mod . [2023-04-19T19:59:39.873Z] RUN go mod download [2023-04-19T19:59:39.873Z] + docker build -t ci-base-image-x86_64 -f - . [2023-04-19T19:59:40.440Z] Sending build context to Docker daemon 170.7MB [2023-04-19T19:59:40.440Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-19T19:59:40.440Z] ---> 3b553350e43f [2023-04-19T19:59:40.440Z] Step 2/4 : WORKDIR /edgex [2023-04-19T19:59:42.342Z] ---> Running in 4222fb8ab565 [2023-04-19T19:59:42.342Z] Removing intermediate container 4222fb8ab565 [2023-04-19T19:59:42.342Z] ---> f7d46a3173fb [2023-04-19T19:59:42.342Z] Step 3/4 : COPY go.mod . [2023-04-19T19:59:42.342Z] ---> 0cb6bad6e58b [2023-04-19T19:59:42.342Z] Step 4/4 : RUN go mod download [2023-04-19T19:59:42.342Z] ---> Running in 448f43af9b22 [2023-04-19T19:59:47.047Z] Still waiting to schedule task [2023-04-19T19:59:47.048Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-19T19:59:54.561Z] Removing intermediate container 448f43af9b22 [2023-04-19T19:59:54.561Z] ---> 222dfbcd8ce5 [2023-04-19T19:59:54.561Z] Successfully built 222dfbcd8ce5 [2023-04-19T19:59:54.561Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T19:59:54.957Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-19T19:59:54.957Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T19:59:55.106Z] prd-ubuntu20.04-docker-8c-8g-9100 does not seem to be running inside a container [2023-04-19T19:59:55.137Z] $ 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 [2023-04-19T19:59:55.482Z] $ docker top f5cba1dd92c84f60aa0d3700d74c26382ec953e6ca5bad6ff7df3b67c25fc585 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-19T19:59:55.882Z] + go version [2023-04-19T19:59:55.882Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-19T19:59:55.915Z] $ docker stop --time=1 f5cba1dd92c84f60aa0d3700d74c26382ec953e6ca5bad6ff7df3b67c25fc585 [2023-04-19T19:59:57.190Z] $ 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 [2023-04-19T19:59:57.887Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-19T19:59:57.887Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T19:59:58.024Z] prd-ubuntu20.04-docker-8c-8g-9100 does not seem to be running inside a container [2023-04-19T19:59:58.052Z] $ 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 [2023-04-19T19:59:58.370Z] $ docker top ac8708c54af0301cbfa2b3f8dbb90c600eb832a4ee8f5a81eb5e370d8bf71d48 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-04-19T19:59:58.484Z] ========================================================= [2023-04-19T19:59:58.484Z] [edgeXBuildGoParallel] Running Tests and Build... [2023-04-19T19:59:58.484Z] ========================================================= [Pipeline] sh [2023-04-19T19:59:58.774Z] + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-19T19:59:59.136Z] + make test [2023-04-19T19:59:59.136Z] go test -race -coverprofile=coverage.out ./... [2023-04-19T20:00:05.704Z] ? github.com/edgexfoundry/edgex-go [no test files] [2023-04-19T20:00:20.587Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2023-04-19T20:00:20.587Z] ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] [2023-04-19T20:00:20.587Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2023-04-19T20:00:20.587Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2023-04-19T20:00:20.587Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2023-04-19T20:00:20.587Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2023-04-19T20:00:20.587Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2023-04-19T20:00:20.587Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-auth [no test files] [2023-04-19T20:00:20.587Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2023-04-19T20:00:20.846Z] ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] [2023-04-19T20:00:21.105Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2023-04-19T20:00:21.401Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2023-04-19T20:00:21.401Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2023-04-19T20:00:21.401Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2023-04-19T20:00:22.392Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2023-04-19T20:00:22.392Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2023-04-19T20:00:22.392Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.062s coverage: 28.7% of statements [2023-04-19T20:00:23.787Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.069s coverage: 98.5% of statements [2023-04-19T20:00:24.732Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] [2023-04-19T20:00:24.732Z] ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] [2023-04-19T20:00:24.732Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2023-04-19T20:00:26.129Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2023-04-19T20:00:26.129Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2023-04-19T20:00:27.074Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] [2023-04-19T20:00:27.074Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2023-04-19T20:00:27.074Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2023-04-19T20:00:27.074Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2023-04-19T20:00:27.074Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2023-04-19T20:00:27.645Z] --- FAIL: Test_commandQueryHandler (0.00s) [2023-04-19T20:00:27.645Z] --- FAIL: Test_commandQueryHandler/valid_-_query_all (0.00s) [2023-04-19T20:00:27.645Z] external_test.go:236: [2023-04-19T20:00:27.645Z] Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:236 [2023-04-19T20:00:27.645Z] Error: Should have called with given arguments [2023-04-19T20:00:27.645Z] Test: Test_commandQueryHandler/valid_-_query_all [2023-04-19T20:00:27.645Z] Messages: Expected "Publish" to have been called with: [2023-04-19T20:00:27.645Z] [unittest/response 0 true mock.Anything] [2023-04-19T20:00:27.645Z] but no actual calls happened [2023-04-19T20:00:27.645Z] --- FAIL: Test_commandQueryHandler/valid_-_query_by_device_name (0.00s) [2023-04-19T20:00:27.645Z] external_test.go:236: [2023-04-19T20:00:27.645Z] Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:236 [2023-04-19T20:00:27.645Z] Error: Should have called with given arguments [2023-04-19T20:00:27.645Z] Test: Test_commandQueryHandler/valid_-_query_by_device_name [2023-04-19T20:00:27.645Z] Messages: Expected "Publish" to have been called with: [2023-04-19T20:00:27.645Z] [unittest/response 0 true mock.Anything] [2023-04-19T20:00:27.645Z] but no actual calls happened [2023-04-19T20:00:27.645Z] --- FAIL: Test_commandQueryHandler/invalid_-_invalid_query_parameters (0.00s) [2023-04-19T20:00:27.645Z] external_test.go:228: [2023-04-19T20:00:27.645Z] Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:228 [2023-04-19T20:00:27.645Z] Error: Should have called with given arguments [2023-04-19T20:00:27.645Z] Test: Test_commandQueryHandler/invalid_-_invalid_query_parameters [2023-04-19T20:00:27.645Z] Messages: Expected "Error" to have been called with: [2023-04-19T20:00:27.645Z] [mock.Anything] [2023-04-19T20:00:27.645Z] but actual calls were: [2023-04-19T20:00:27.645Z] [Received command query request from external message broker on topic '%s' with %d bytes unittest/all 206] [2023-04-19T20:00:27.645Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:00:27.645Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:00:27.645Z] [Received command query request from external message broker on topic '%s' with %d bytes unittest/testDevice 206] [2023-04-19T20:00:27.645Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:00:27.645Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:00:27.645Z] [Received command query request from external message broker on topic '%s' with %d bytes unittest/testDevice 206] [2023-04-19T20:00:27.645Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:00:27.645Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:00:27.645Z] [Received command query request from external message broker on topic '%s' with %d bytes unittest/all 241] [2023-04-19T20:00:27.645Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:00:27.645Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:00:27.645Z] external_test.go:229: [2023-04-19T20:00:27.645Z] Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:229 [2023-04-19T20:00:27.645Z] Error: Should have called with given arguments [2023-04-19T20:00:27.645Z] Test: Test_commandQueryHandler/invalid_-_invalid_query_parameters [2023-04-19T20:00:27.645Z] Messages: Expected "Publish" to have been called with: [2023-04-19T20:00:27.646Z] [unittest/response 0 true mock.Anything] [2023-04-19T20:00:27.646Z] but no actual calls happened [2023-04-19T20:00:27.646Z] --- FAIL: Test_commandRequestHandler (0.01s) [2023-04-19T20:00:27.646Z] --- FAIL: Test_commandRequestHandler/valid (0.00s) [2023-04-19T20:00:27.646Z] external_test.go:372: [2023-04-19T20:00:27.646Z] Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:372 [2023-04-19T20:00:27.646Z] Error: Should have called with given arguments [2023-04-19T20:00:27.646Z] Test: Test_commandRequestHandler/valid [2023-04-19T20:00:27.646Z] Messages: Expected "Request" to have been called with: [2023-04-19T20:00:27.646Z] [{{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] [2023-04-19T20:00:27.646Z] but no actual calls happened [2023-04-19T20:00:27.646Z] --- FAIL: Test_commandRequestHandler/invalid_-_device_not_found (0.00s) [2023-04-19T20:00:27.646Z] external_test.go:362: [2023-04-19T20:00:27.646Z] Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:362 [2023-04-19T20:00:27.646Z] Error: Should have called with given arguments [2023-04-19T20:00:27.646Z] Test: Test_commandRequestHandler/invalid_-_device_not_found [2023-04-19T20:00:27.646Z] Messages: Expected "Error" to have been called with: [2023-04-19T20:00:27.646Z] [mock.Anything] [2023-04-19T20:00:27.646Z] but actual calls were: [2023-04-19T20:00:27.646Z] [Received command request from external message broker on topic '%s' with %d bytes unittest/external/request/testDevice/testCommand/get 268] [2023-04-19T20:00:27.646Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:00:27.646Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:00:27.646Z] [Received command request from external message broker on topic '%s' with %d bytes unittest/external/request/testDevice/testCommand/get 268] [2023-04-19T20:00:27.646Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:00:27.646Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:00:27.646Z] [Received command request from external message broker on topic '%s' with %d bytes unittest/invalid 268] [2023-04-19T20:00:27.646Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:00:27.646Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:00:27.646Z] [Received command request from external message broker on topic '%s' with %d bytes unittest/request/testDevice/testCommand/invalid 268] [2023-04-19T20:00:27.646Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:00:27.646Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:00:27.646Z] [Received command request from external message broker on topic '%s' with %d bytes unittest/request/unknown-device/testCommand/get 268] [2023-04-19T20:00:27.646Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:00:27.646Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:00:27.646Z] external_test.go:363: [2023-04-19T20:00:27.646Z] Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:363 [2023-04-19T20:00:27.646Z] Error: Should have called with given arguments [2023-04-19T20:00:27.646Z] Test: Test_commandRequestHandler/invalid_-_device_not_found [2023-04-19T20:00:27.646Z] Messages: Expected "Publish" to have been called with: [2023-04-19T20:00:27.646Z] [mock.Anything 0 true mock.Anything] [2023-04-19T20:00:27.646Z] but no actual calls happened [2023-04-19T20:00:27.646Z] --- FAIL: Test_commandRequestHandler/invalid_-_device_service_not_found (0.00s) [2023-04-19T20:00:27.646Z] external_test.go:362: [2023-04-19T20:00:27.646Z] Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:362 [2023-04-19T20:00:27.646Z] Error: Should have called with given arguments [2023-04-19T20:00:27.646Z] Test: Test_commandRequestHandler/invalid_-_device_service_not_found [2023-04-19T20:00:27.646Z] Messages: Expected "Error" to have been called with: [2023-04-19T20:00:27.646Z] [mock.Anything] [2023-04-19T20:00:27.646Z] but actual calls were: [2023-04-19T20:00:27.646Z] [Received command request from external message broker on topic '%s' with %d bytes unittest/external/request/testDevice/testCommand/get 268] [2023-04-19T20:00:27.646Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:00:27.646Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:00:27.646Z] [Received command request from external message broker on topic '%s' with %d bytes unittest/external/request/testDevice/testCommand/get 268] [2023-04-19T20:00:27.646Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:00:27.646Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:00:27.646Z] [Received command request from external message broker on topic '%s' with %d bytes unittest/invalid 268] [2023-04-19T20:00:27.646Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:00:27.646Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:00:27.646Z] [Received command request from external message broker on topic '%s' with %d bytes unittest/request/testDevice/testCommand/invalid 268] [2023-04-19T20:00:27.646Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:00:27.646Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:00:27.646Z] [Received command request from external message broker on topic '%s' with %d bytes unittest/request/unknown-device/testCommand/get 268] [2023-04-19T20:00:27.646Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:00:27.646Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:00:27.646Z] [Received command request from external message broker on topic '%s' with %d bytes unittest/request/unknownService-device/testCommand/get 268] [2023-04-19T20:00:27.646Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:00:27.646Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:00:27.646Z] external_test.go:363: [2023-04-19T20:00:27.646Z] Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:363 [2023-04-19T20:00:27.646Z] Error: Should have called with given arguments [2023-04-19T20:00:27.646Z] Test: Test_commandRequestHandler/invalid_-_device_service_not_found [2023-04-19T20:00:27.646Z] Messages: Expected "Publish" to have been called with: [2023-04-19T20:00:27.646Z] [mock.Anything 0 true mock.Anything] [2023-04-19T20:00:27.646Z] but no actual calls happened [2023-04-19T20:00:27.646Z] --- FAIL: Test_commandRequestHandler/invalid_-_invalid_device_service_reserved_query_parameters (0.00s) [2023-04-19T20:00:27.646Z] external_test.go:362: [2023-04-19T20:00:27.646Z] Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:362 [2023-04-19T20:00:27.646Z] Error: Should have called with given arguments [2023-04-19T20:00:27.646Z] Test: Test_commandRequestHandler/invalid_-_invalid_device_service_reserved_query_parameters [2023-04-19T20:00:27.646Z] Messages: Expected "Error" to have been called with: [2023-04-19T20:00:27.646Z] [mock.Anything] [2023-04-19T20:00:27.646Z] but actual calls were: [2023-04-19T20:00:27.646Z] [Received command request from external message broker on topic '%s' with %d bytes unittest/external/request/testDevice/testCommand/get 268] [2023-04-19T20:00:27.646Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:00:27.646Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:00:27.646Z] [Received command request from external message broker on topic '%s' with %d bytes unittest/external/request/testDevice/testCommand/get 268] [2023-04-19T20:00:27.646Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:00:27.646Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:00:27.646Z] [Received command request from external message broker on topic '%s' with %d bytes unittest/invalid 268] [2023-04-19T20:00:27.646Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:00:27.646Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:00:27.646Z] [Received command request from external message broker on topic '%s' with %d bytes unittest/request/testDevice/testCommand/invalid 268] [2023-04-19T20:00:27.646Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:00:27.646Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:00:27.646Z] [Received command request from external message broker on topic '%s' with %d bytes unittest/request/unknown-device/testCommand/get 268] [2023-04-19T20:00:27.646Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:00:27.646Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:00:27.646Z] [Received command request from external message broker on topic '%s' with %d bytes unittest/request/unknownService-device/testCommand/get 268] [2023-04-19T20:00:27.646Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:00:27.646Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:00:27.646Z] [Received command request from external message broker on topic '%s' with %d bytes unittest/external/request/testDevice/testCommand/get 274] [2023-04-19T20:00:27.646Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:00:27.646Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:00:27.646Z] external_test.go:363: [2023-04-19T20:00:27.646Z] Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:363 [2023-04-19T20:00:27.646Z] Error: Should have called with given arguments [2023-04-19T20:00:27.646Z] Test: Test_commandRequestHandler/invalid_-_invalid_device_service_reserved_query_parameters [2023-04-19T20:00:27.646Z] Messages: Expected "Publish" to have been called with: [2023-04-19T20:00:27.646Z] [mock.Anything 0 true mock.Anything] [2023-04-19T20:00:27.646Z] but no actual calls happened [2023-04-19T20:00:27.646Z] FAIL [2023-04-19T20:00:27.646Z] github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging coverage: 47.0% of statements [2023-04-19T20:00:27.646Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 3.085s [2023-04-19T20:00:27.646Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.073s coverage: 54.0% of statements [2023-04-19T20:00:28.212Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2023-04-19T20:00:28.212Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2023-04-19T20:00:29.587Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 2.414s coverage: 88.5% of statements [2023-04-19T20:00:29.587Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.068s coverage: 3.8% of statements [2023-04-19T20:00:30.155Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2023-04-19T20:00:30.155Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2023-04-19T20:00:30.156Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] [2023-04-19T20:00:30.724Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.345s coverage: 95.6% of statements [2023-04-19T20:00:30.724Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2023-04-19T20:00:30.724Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2023-04-19T20:00:30.724Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2023-04-19T20:00:30.724Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2023-04-19T20:00:30.724Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2023-04-19T20:00:30.724Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.054s coverage: 72.2% of statements [2023-04-19T20:00:31.658Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2023-04-19T20:00:31.658Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2023-04-19T20:00:31.658Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2023-04-19T20:00:31.658Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.061s coverage: 65.9% of statements [2023-04-19T20:00:32.228Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2023-04-19T20:00:32.228Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2023-04-19T20:00:32.228Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.074s coverage: 0.9% of statements [2023-04-19T20:00:32.228Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.062s coverage: 29.0% of statements [2023-04-19T20:00:32.488Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.042s coverage: 44.1% of statements [2023-04-19T20:00:32.488Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.051s coverage: 82.9% of statements [2023-04-19T20:00:32.488Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.047s coverage: 94.1% of statements [2023-04-19T20:00:32.748Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.085s coverage: 96.3% of statements [2023-04-19T20:00:33.007Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.062s coverage: 87.5% of statements [2023-04-19T20:00:33.576Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2023-04-19T20:00:33.576Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2023-04-19T20:00:33.576Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2023-04-19T20:00:33.576Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2023-04-19T20:00:33.576Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2023-04-19T20:00:33.576Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] [2023-04-19T20:00:33.576Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] [2023-04-19T20:00:33.576Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] [2023-04-19T20:00:34.516Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2023-04-19T20:00:34.516Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2023-04-19T20:00:34.516Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2023-04-19T20:00:34.516Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2023-04-19T20:00:34.774Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2023-04-19T20:00:34.774Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2023-04-19T20:00:35.346Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2023-04-19T20:00:36.287Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] [2023-04-19T20:00:36.287Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2023-04-19T20:00:37.667Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2023-04-19T20:00:37.667Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2023-04-19T20:00:38.603Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth [no test files] [2023-04-19T20:00:38.603Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] [2023-04-19T20:00:38.603Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] [2023-04-19T20:00:39.980Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2023-04-19T20:00:39.980Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2023-04-19T20:00:40.547Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2023-04-19T20:00:41.115Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] [2023-04-19T20:00:41.116Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] [2023-04-19T20:00:41.116Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] [2023-04-19T20:00:41.116Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] [2023-04-19T20:00:42.496Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2023-04-19T20:00:42.496Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2023-04-19T20:00:42.496Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2023-04-19T20:00:42.496Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2023-04-19T20:00:43.876Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2023-04-19T20:00:43.876Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2023-04-19T20:00:43.876Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] [2023-04-19T20:00:43.876Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2023-04-19T20:00:44.813Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2023-04-19T20:00:44.813Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2023-04-19T20:00:45.072Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.076s coverage: 94.4% of statements [2023-04-19T20:00:45.641Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2023-04-19T20:00:45.641Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2023-04-19T20:00:57.858Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 23.257s coverage: 79.9% of statements [2023-04-19T20:00:57.858Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 21.065s coverage: 92.9% of statements [2023-04-19T20:00:57.858Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.031s coverage: 64.4% of statements [2023-04-19T20:00:57.858Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.044s coverage: 62.3% of statements [2023-04-19T20:00:57.858Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.057s coverage: 87.2% of statements [2023-04-19T20:00:57.858Z] ok github.com/edgexfoundry/edgex-go/internal/security/common 0.047s coverage: 20.0% of statements [2023-04-19T20:00:57.858Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.048s coverage: 100.0% of statements [2023-04-19T20:00:57.858Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.089s coverage: 81.8% of statements [2023-04-19T20:00:57.858Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.087s coverage: 82.1% of statements [2023-04-19T20:00:57.858Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.067s coverage: 86.0% of statements [2023-04-19T20:00:57.858Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.167s coverage: 63.1% of statements [2023-04-19T20:00:57.858Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.044s coverage: 100.0% of statements [2023-04-19T20:00:57.858Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.037s coverage: 89.4% of statements [2023-04-19T20:00:57.858Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.029s coverage: 100.0% of statements [2023-04-19T20:00:57.858Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.028s coverage: 73.7% of statements [2023-04-19T20:00:57.858Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.028s coverage: 100.0% of statements [2023-04-19T20:00:57.858Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.180s coverage: 38.4% of statements [2023-04-19T20:00:57.858Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.057s coverage: 89.5% of statements [2023-04-19T20:00:57.858Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.058s coverage: 84.8% of statements [2023-04-19T20:00:57.858Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.069s coverage: 17.7% of statements [2023-04-19T20:00:57.858Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.121s coverage: 92.3% of statements [2023-04-19T20:00:57.858Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.057s coverage: 61.5% of statements [2023-04-19T20:00:57.858Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.091s coverage: 97.7% of statements [2023-04-19T20:00:57.858Z] FAIL [2023-04-19T20:00:57.858Z] make: *** [Makefile:148: unittest] Error 1 [Pipeline] } [2023-04-19T20:00:57.907Z] $ docker stop --time=1 ac8708c54af0301cbfa2b3f8dbb90c600eb832a4ee8f5a81eb5e370d8bf71d48 [2023-04-19T20:00:59.339Z] $ 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] } [2023-04-19T20:01:00.348Z] Failed in branch amd64 [2023-04-19T20:01:20.928Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9101 in /w/workspace/edgexfoundry_edgex-go_PR-4518 [Pipeline] { [Pipeline] ws [2023-04-19T20:01:20.985Z] Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout [2023-04-19T20:01:21.068Z] The recommended git tool is: git [2023-04-19T20:01:26.693Z] using credential edgex-jenkins-ssh [2023-04-19T20:01:26.717Z] Cloning the remote Git repository [2023-04-19T20:01:26.766Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2023-04-19T20:01:26.866Z] > git init /w/workspace/edgex-go/1 # timeout=10 [2023-04-19T20:01:27.019Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2023-04-19T20:01:27.020Z] > git --version # timeout=10 [2023-04-19T20:01:27.040Z] > git --version # 'git version 2.25.1' [2023-04-19T20:01:27.043Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-19T20:01:27.203Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-19T20:01:44.200Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2023-04-19T20:01:44.220Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-19T20:01:45.062Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2023-04-19T20:01:45.107Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2023-04-19T20:01:45.108Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-19T20:01:45.129Z] > 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 [2023-04-19T20:01:45.842Z] Merging remotes/origin/main commit 680d408d1fe061a8660851a15e6239967f05f6d8 into PR head commit b222c61335983cecb104ba8fb5f5e778f8bca2b7 [2023-04-19T20:01:46.265Z] Merge succeeded, producing b222c61335983cecb104ba8fb5f5e778f8bca2b7 [2023-04-19T20:01:46.266Z] Checking out Revision b222c61335983cecb104ba8fb5f5e778f8bca2b7 (PR-4518) [2023-04-19T20:01:46.850Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-04-19T20:01:46.905Z] > git --version # timeout=10 [2023-04-19T20:01:46.918Z] > git --version # 'git version 2.25.1' [2023-04-19T20:01:46.938Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2023-04-19T20:01:45.867Z] > git config core.sparsecheckout # timeout=10 [2023-04-19T20:01:45.937Z] > git checkout -f b222c61335983cecb104ba8fb5f5e778f8bca2b7 # timeout=10 [2023-04-19T20:01:46.168Z] > git remote # timeout=10 [2023-04-19T20:01:46.188Z] > git config --get remote.origin.url # timeout=10 [2023-04-19T20:01:46.203Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-19T20:01:46.218Z] > git merge 680d408d1fe061a8660851a15e6239967f05f6d8 # timeout=10 [2023-04-19T20:01:46.250Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-19T20:01:46.277Z] > git config core.sparsecheckout # timeout=10 [2023-04-19T20:01:46.304Z] > git checkout -f b222c61335983cecb104ba8fb5f5e778f8bca2b7 # timeout=10 [Pipeline] sh [2023-04-19T20:01:48.041Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-19T20:01:48.042Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-19T20:01:48.042Z] Dload Upload Total Spent Left Speed [2023-04-19T20:01:48.042Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 76353 0 --:--:-- --:--:-- --:--:-- 76353 [Pipeline] sh [2023-04-19T20:01:48.720Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-19T20:01:49.071Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-19T20:01:49.071Z] + sudo tee /etc/docker/daemon.new [2023-04-19T20:01:49.071Z] { [2023-04-19T20:01:49.071Z] "registry-mirrors": [ [2023-04-19T20:01:49.071Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-19T20:01:49.071Z] ], [2023-04-19T20:01:49.071Z] "bip": "10.250.0.254/24", [2023-04-19T20:01:49.071Z] "hosts": [ [2023-04-19T20:01:49.071Z] "tcp://0.0.0.0:5555", [2023-04-19T20:01:49.071Z] "unix:///var/run/docker.sock" [2023-04-19T20:01:49.071Z] ], [2023-04-19T20:01:49.071Z] "mtu": 1458, [2023-04-19T20:01:49.071Z] "selinux-enabled": true, [2023-04-19T20:01:49.071Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-19T20:01:49.071Z] } [Pipeline] sh [2023-04-19T20:01:49.422Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-19T20:01:49.775Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-19T20:02:08.086Z] provisioning config files... [2023-04-19T20:02:08.118Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config12472539271044354702tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-19T20:02:08.514Z] ---> docker-login.sh [2023-04-19T20:02:08.515Z] nexus3.edgexfoundry.org:10001 [2023-04-19T20:02:08.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T20:02:09.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T20:02:09.056Z] Configure a credential helper to remove this warning. See [2023-04-19T20:02:09.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T20:02:09.056Z] [2023-04-19T20:02:09.056Z] Login Succeeded [2023-04-19T20:02:09.056Z] nexus3.edgexfoundry.org:10002 [2023-04-19T20:02:09.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T20:02:09.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T20:02:09.594Z] Configure a credential helper to remove this warning. See [2023-04-19T20:02:09.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T20:02:09.594Z] [2023-04-19T20:02:09.594Z] Login Succeeded [2023-04-19T20:02:09.594Z] nexus3.edgexfoundry.org:10003 [2023-04-19T20:02:09.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T20:02:09.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T20:02:09.865Z] Configure a credential helper to remove this warning. See [2023-04-19T20:02:09.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T20:02:09.865Z] [2023-04-19T20:02:09.865Z] Login Succeeded [2023-04-19T20:02:09.865Z] nexus3.edgexfoundry.org:10004 [2023-04-19T20:02:10.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T20:02:10.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T20:02:10.141Z] Configure a credential helper to remove this warning. See [2023-04-19T20:02:10.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T20:02:10.141Z] [2023-04-19T20:02:10.141Z] Login Succeeded [2023-04-19T20:02:10.141Z] docker.io [2023-04-19T20:02:10.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T20:02:11.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T20:02:11.831Z] Configure a credential helper to remove this warning. See [2023-04-19T20:02:11.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T20:02:11.831Z] [2023-04-19T20:02:11.831Z] Login Succeeded [2023-04-19T20:02:11.831Z] ---> docker-login.sh ends [Pipeline] } [2023-04-19T20:02:11.863Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh [2023-04-19T20:02:12.552Z] + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo [2023-04-19T20:02:12.590Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-19T20:02:12.625Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-19T20:02:12.659Z] ========================================================= [2023-04-19T20:02:12.659Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-19T20:02:12.659Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2023-04-19T20:02:13.033Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-19T20:02:13.033Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-19T20:02:13.034Z] af6eaf76a39c: Pulling fs layer [2023-04-19T20:02:13.034Z] 55522c791124: Pulling fs layer [2023-04-19T20:02:13.034Z] ce5c4a1c91eb: Pulling fs layer [2023-04-19T20:02:13.034Z] 169dfbe0d373: Pulling fs layer [2023-04-19T20:02:13.308Z] e1ff8fa3b103: Pulling fs layer [2023-04-19T20:02:13.308Z] 52ebb69f0ebf: Pulling fs layer [2023-04-19T20:02:13.308Z] 5abe8eddf0d5: Pulling fs layer [2023-04-19T20:02:13.308Z] 169dfbe0d373: Waiting [2023-04-19T20:02:13.308Z] e1ff8fa3b103: Waiting [2023-04-19T20:02:13.308Z] 52ebb69f0ebf: Waiting [2023-04-19T20:02:13.308Z] 5abe8eddf0d5: Waiting [2023-04-19T20:02:13.308Z] 55522c791124: Verifying Checksum [2023-04-19T20:02:13.308Z] 55522c791124: Download complete [2023-04-19T20:02:13.308Z] 169dfbe0d373: Verifying Checksum [2023-04-19T20:02:13.308Z] 169dfbe0d373: Download complete [2023-04-19T20:02:13.308Z] e1ff8fa3b103: Download complete [2023-04-19T20:02:13.308Z] af6eaf76a39c: Verifying Checksum [2023-04-19T20:02:13.308Z] af6eaf76a39c: Download complete [2023-04-19T20:02:14.298Z] af6eaf76a39c: Pull complete [2023-04-19T20:02:14.298Z] 5abe8eddf0d5: Verifying Checksum [2023-04-19T20:02:14.298Z] 5abe8eddf0d5: Download complete [2023-04-19T20:02:14.890Z] 55522c791124: Pull complete [2023-04-19T20:02:15.861Z] ce5c4a1c91eb: Verifying Checksum [2023-04-19T20:02:15.861Z] ce5c4a1c91eb: Download complete [2023-04-19T20:02:15.861Z] 52ebb69f0ebf: Download complete [2023-04-19T20:02:28.417Z] ce5c4a1c91eb: Pull complete [2023-04-19T20:02:28.417Z] 169dfbe0d373: Pull complete [2023-04-19T20:02:28.417Z] e1ff8fa3b103: Pull complete [2023-04-19T20:02:33.786Z] 52ebb69f0ebf: Pull complete [2023-04-19T20:02:35.202Z] 5abe8eddf0d5: Pull complete [2023-04-19T20:02:35.202Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-19T20:02:35.202Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-19T20:02:35.202Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] fileExists [Pipeline] sh [2023-04-19T20:02:35.571Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-19T20:02:35.571Z] WORKDIR /edgex [2023-04-19T20:02:35.571Z] COPY go.mod . [2023-04-19T20:02:35.571Z] RUN go mod download [2023-04-19T20:02:35.571Z] + docker build -t ci-base-image-arm64 -f - . [2023-04-19T20:02:36.159Z] Sending build context to Docker daemon 2.932MB [2023-04-19T20:02:36.159Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-19T20:02:36.159Z] ---> 6cb57ee374ae [2023-04-19T20:02:36.159Z] Step 2/4 : WORKDIR /edgex [2023-04-19T20:02:38.107Z] ---> Running in 378adef854e5 [2023-04-19T20:02:38.107Z] Removing intermediate container 378adef854e5 [2023-04-19T20:02:38.107Z] ---> ac8ccf926364 [2023-04-19T20:02:38.107Z] Step 3/4 : COPY go.mod . [2023-04-19T20:02:38.699Z] ---> f61b99b8c9b8 [2023-04-19T20:02:38.699Z] Step 4/4 : RUN go mod download [2023-04-19T20:02:38.699Z] ---> Running in 7c24987e637a [2023-04-19T20:03:10.953Z] Removing intermediate container 7c24987e637a [2023-04-19T20:03:10.953Z] ---> 4db7c8052411 [2023-04-19T20:03:10.953Z] Successfully built 4db7c8052411 [2023-04-19T20:03:10.953Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T20:03:11.359Z] + docker inspect -f . ci-base-image-arm64 [2023-04-19T20:03:11.359Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T20:03:11.657Z] prd-ubuntu20.04-docker-arm64-4c-16g-9101 does not seem to be running inside a container [2023-04-19T20:03:11.736Z] $ 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 [2023-04-19T20:03:12.891Z] $ docker top fd1beb5476c27a1b7df43ac306a75335fe5ca9bac2dedd4915c1acbf45dac09d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-19T20:03:13.752Z] + go version [2023-04-19T20:03:13.752Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-19T20:03:13.790Z] $ docker stop --time=1 fd1beb5476c27a1b7df43ac306a75335fe5ca9bac2dedd4915c1acbf45dac09d [2023-04-19T20:03:15.437Z] $ 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 [2023-04-19T20:03:16.260Z] + docker inspect -f . ci-base-image-arm64 [2023-04-19T20:03:16.260Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T20:03:16.508Z] prd-ubuntu20.04-docker-arm64-4c-16g-9101 does not seem to be running inside a container [2023-04-19T20:03:16.576Z] $ 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 [2023-04-19T20:03:18.785Z] $ docker top 67fdbc9179e65d6b9e9f0890f7a26940472abc7be3d4eeb664f78550ef2dcfa8 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-04-19T20:03:19.030Z] ========================================================= [2023-04-19T20:03:19.030Z] [edgeXBuildGoParallel] Running Tests and Build... [2023-04-19T20:03:19.030Z] ========================================================= [Pipeline] sh [2023-04-19T20:03:19.348Z] + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-19T20:03:20.060Z] + make test [2023-04-19T20:03:20.060Z] go test -race -coverprofile=coverage.out ./... [2023-04-19T20:03:59.451Z] ? github.com/edgexfoundry/edgex-go [no test files] [2023-04-19T20:05:51.108Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2023-04-19T20:05:51.108Z] ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] [2023-04-19T20:05:51.108Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2023-04-19T20:05:51.108Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2023-04-19T20:05:51.108Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2023-04-19T20:05:51.108Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2023-04-19T20:05:51.108Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2023-04-19T20:05:51.108Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-auth [no test files] [2023-04-19T20:05:51.108Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2023-04-19T20:05:51.108Z] ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] [2023-04-19T20:05:53.689Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2023-04-19T20:05:53.689Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2023-04-19T20:05:53.689Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2023-04-19T20:05:53.689Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2023-04-19T20:06:08.675Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2023-04-19T20:06:08.675Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2023-04-19T20:06:08.676Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.284s coverage: 28.7% of statements [2023-04-19T20:06:16.878Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.321s coverage: 98.5% of statements [2023-04-19T20:06:22.225Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] [2023-04-19T20:06:22.225Z] ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] [2023-04-19T20:06:22.225Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2023-04-19T20:06:25.593Z] --- FAIL: Test_commandQueryHandler (0.03s) [2023-04-19T20:06:25.593Z] --- FAIL: Test_commandQueryHandler/valid_-_query_all (0.01s) [2023-04-19T20:06:25.593Z] external_test.go:236: [2023-04-19T20:06:25.593Z] Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:236 [2023-04-19T20:06:25.593Z] Error: Should have called with given arguments [2023-04-19T20:06:25.593Z] Test: Test_commandQueryHandler/valid_-_query_all [2023-04-19T20:06:25.593Z] Messages: Expected "Publish" to have been called with: [2023-04-19T20:06:25.593Z] [unittest/response 0 true mock.Anything] [2023-04-19T20:06:25.593Z] but no actual calls happened [2023-04-19T20:06:25.593Z] --- FAIL: Test_commandQueryHandler/valid_-_query_by_device_name (0.01s) [2023-04-19T20:06:25.593Z] external_test.go:236: [2023-04-19T20:06:25.593Z] Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:236 [2023-04-19T20:06:25.593Z] Error: Should have called with given arguments [2023-04-19T20:06:25.593Z] Test: Test_commandQueryHandler/valid_-_query_by_device_name [2023-04-19T20:06:25.593Z] Messages: Expected "Publish" to have been called with: [2023-04-19T20:06:25.593Z] [unittest/response 0 true mock.Anything] [2023-04-19T20:06:25.593Z] but no actual calls happened [2023-04-19T20:06:25.593Z] --- FAIL: Test_commandQueryHandler/invalid_-_invalid_query_parameters (0.01s) [2023-04-19T20:06:25.593Z] external_test.go:228: [2023-04-19T20:06:25.593Z] Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:228 [2023-04-19T20:06:25.593Z] Error: Should have called with given arguments [2023-04-19T20:06:25.593Z] Test: Test_commandQueryHandler/invalid_-_invalid_query_parameters [2023-04-19T20:06:25.593Z] Messages: Expected "Error" to have been called with: [2023-04-19T20:06:25.593Z] [mock.Anything] [2023-04-19T20:06:25.593Z] but actual calls were: [2023-04-19T20:06:25.593Z] [Received command query request from external message broker on topic '%s' with %d bytes unittest/all 206] [2023-04-19T20:06:25.593Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:06:25.593Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:06:25.593Z] [Received command query request from external message broker on topic '%s' with %d bytes unittest/testDevice 206] [2023-04-19T20:06:25.593Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:06:25.593Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:06:25.593Z] [Received command query request from external message broker on topic '%s' with %d bytes unittest/testDevice 206] [2023-04-19T20:06:25.593Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:06:25.593Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:06:25.593Z] [Received command query request from external message broker on topic '%s' with %d bytes unittest/all 241] [2023-04-19T20:06:25.593Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:06:25.593Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:06:25.593Z] external_test.go:229: [2023-04-19T20:06:25.593Z] Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:229 [2023-04-19T20:06:25.594Z] Error: Should have called with given arguments [2023-04-19T20:06:25.594Z] Test: Test_commandQueryHandler/invalid_-_invalid_query_parameters [2023-04-19T20:06:25.594Z] Messages: Expected "Publish" to have been called with: [2023-04-19T20:06:25.594Z] [unittest/response 0 true mock.Anything] [2023-04-19T20:06:25.594Z] but no actual calls happened [2023-04-19T20:06:25.594Z] --- FAIL: Test_commandRequestHandler (0.08s) [2023-04-19T20:06:25.594Z] --- FAIL: Test_commandRequestHandler/valid (0.01s) [2023-04-19T20:06:25.594Z] external_test.go:372: [2023-04-19T20:06:25.594Z] Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:372 [2023-04-19T20:06:25.594Z] Error: Should have called with given arguments [2023-04-19T20:06:25.594Z] Test: Test_commandRequestHandler/valid [2023-04-19T20:06:25.594Z] Messages: Expected "Request" to have been called with: [2023-04-19T20:06:25.594Z] [{{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] [2023-04-19T20:06:25.594Z] but no actual calls happened [2023-04-19T20:06:25.594Z] --- FAIL: Test_commandRequestHandler/invalid_-_device_not_found (0.01s) [2023-04-19T20:06:25.594Z] external_test.go:362: [2023-04-19T20:06:25.594Z] Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:362 [2023-04-19T20:06:25.594Z] Error: Should have called with given arguments [2023-04-19T20:06:25.594Z] Test: Test_commandRequestHandler/invalid_-_device_not_found [2023-04-19T20:06:25.594Z] Messages: Expected "Error" to have been called with: [2023-04-19T20:06:25.594Z] [mock.Anything] [2023-04-19T20:06:25.594Z] but actual calls were: [2023-04-19T20:06:25.594Z] [Received command request from external message broker on topic '%s' with %d bytes unittest/external/request/testDevice/testCommand/get 268] [2023-04-19T20:06:25.594Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:06:25.594Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:06:25.594Z] [Received command request from external message broker on topic '%s' with %d bytes unittest/external/request/testDevice/testCommand/get 268] [2023-04-19T20:06:25.594Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:06:25.594Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:06:25.594Z] [Received command request from external message broker on topic '%s' with %d bytes unittest/invalid 268] [2023-04-19T20:06:25.594Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:06:25.594Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:06:25.594Z] [Received command request from external message broker on topic '%s' with %d bytes unittest/request/testDevice/testCommand/invalid 268] [2023-04-19T20:06:25.594Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:06:25.594Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:06:25.594Z] [Received command request from external message broker on topic '%s' with %d bytes unittest/request/unknown-device/testCommand/get 268] [2023-04-19T20:06:25.594Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:06:25.594Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:06:25.594Z] external_test.go:363: [2023-04-19T20:06:25.594Z] Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:363 [2023-04-19T20:06:25.594Z] Error: Should have called with given arguments [2023-04-19T20:06:25.594Z] Test: Test_commandRequestHandler/invalid_-_device_not_found [2023-04-19T20:06:25.594Z] Messages: Expected "Publish" to have been called with: [2023-04-19T20:06:25.594Z] [mock.Anything 0 true mock.Anything] [2023-04-19T20:06:25.594Z] but no actual calls happened [2023-04-19T20:06:25.594Z] --- FAIL: Test_commandRequestHandler/invalid_-_device_service_not_found (0.01s) [2023-04-19T20:06:25.594Z] external_test.go:362: [2023-04-19T20:06:25.594Z] Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:362 [2023-04-19T20:06:25.594Z] Error: Should have called with given arguments [2023-04-19T20:06:25.594Z] Test: Test_commandRequestHandler/invalid_-_device_service_not_found [2023-04-19T20:06:25.594Z] Messages: Expected "Error" to have been called with: [2023-04-19T20:06:25.594Z] [mock.Anything] [2023-04-19T20:06:25.594Z] but actual calls were: [2023-04-19T20:06:25.594Z] [Received command request from external message broker on topic '%s' with %d bytes unittest/external/request/testDevice/testCommand/get 268] [2023-04-19T20:06:25.594Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:06:25.594Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:06:25.594Z] [Received command request from external message broker on topic '%s' with %d bytes unittest/external/request/testDevice/testCommand/get 268] [2023-04-19T20:06:25.594Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:06:25.594Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:06:25.594Z] [Received command request from external message broker on topic '%s' with %d bytes unittest/invalid 268] [2023-04-19T20:06:25.594Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:06:25.594Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:06:25.594Z] [Received command request from external message broker on topic '%s' with %d bytes unittest/request/testDevice/testCommand/invalid 268] [2023-04-19T20:06:25.594Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:06:25.594Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:06:25.594Z] [Received command request from external message broker on topic '%s' with %d bytes unittest/request/unknown-device/testCommand/get 268] [2023-04-19T20:06:25.594Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:06:25.594Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:06:25.594Z] [Received command request from external message broker on topic '%s' with %d bytes unittest/request/unknownService-device/testCommand/get 268] [2023-04-19T20:06:25.594Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:06:25.594Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:06:25.594Z] external_test.go:363: [2023-04-19T20:06:25.594Z] Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:363 [2023-04-19T20:06:25.594Z] Error: Should have called with given arguments [2023-04-19T20:06:25.594Z] Test: Test_commandRequestHandler/invalid_-_device_service_not_found [2023-04-19T20:06:25.594Z] Messages: Expected "Publish" to have been called with: [2023-04-19T20:06:25.594Z] [mock.Anything 0 true mock.Anything] [2023-04-19T20:06:25.594Z] but no actual calls happened [2023-04-19T20:06:25.594Z] --- FAIL: Test_commandRequestHandler/invalid_-_invalid_device_service_reserved_query_parameters (0.01s) [2023-04-19T20:06:25.594Z] external_test.go:362: [2023-04-19T20:06:25.594Z] Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:362 [2023-04-19T20:06:25.594Z] Error: Should have called with given arguments [2023-04-19T20:06:25.594Z] Test: Test_commandRequestHandler/invalid_-_invalid_device_service_reserved_query_parameters [2023-04-19T20:06:25.594Z] Messages: Expected "Error" to have been called with: [2023-04-19T20:06:25.594Z] [mock.Anything] [2023-04-19T20:06:25.594Z] but actual calls were: [2023-04-19T20:06:25.594Z] [Received command request from external message broker on topic '%s' with %d bytes unittest/external/request/testDevice/testCommand/get 268] [2023-04-19T20:06:25.594Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:06:25.594Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:06:25.594Z] [Received command request from external message broker on topic '%s' with %d bytes unittest/external/request/testDevice/testCommand/get 268] [2023-04-19T20:06:25.594Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:06:25.594Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:06:25.594Z] [Received command request from external message broker on topic '%s' with %d bytes unittest/invalid 268] [2023-04-19T20:06:25.594Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:06:25.594Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:06:25.594Z] [Received command request from external message broker on topic '%s' with %d bytes unittest/request/testDevice/testCommand/invalid 268] [2023-04-19T20:06:25.594Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:06:25.594Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:06:25.594Z] [Received command request from external message broker on topic '%s' with %d bytes unittest/request/unknown-device/testCommand/get 268] [2023-04-19T20:06:25.594Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:06:25.594Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:06:25.594Z] [Received command request from external message broker on topic '%s' with %d bytes unittest/request/unknownService-device/testCommand/get 268] [2023-04-19T20:06:25.594Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:06:25.594Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:06:25.594Z] [Received command request from external message broker on topic '%s' with %d bytes unittest/external/request/testDevice/testCommand/get 274] [2023-04-19T20:06:25.594Z] [Failed to decode request MessageEnvelope: %s api version 'v2' is required] [2023-04-19T20:06:25.594Z] [Not publishing error message back due to insufficient information on response topic] [2023-04-19T20:06:25.594Z] external_test.go:363: [2023-04-19T20:06:25.594Z] Error Trace: /w/workspace/edgex-go/1/internal/core/command/controller/messaging/external_test.go:363 [2023-04-19T20:06:25.594Z] Error: Should have called with given arguments [2023-04-19T20:06:25.594Z] Test: Test_commandRequestHandler/invalid_-_invalid_device_service_reserved_query_parameters [2023-04-19T20:06:25.594Z] Messages: Expected "Publish" to have been called with: [2023-04-19T20:06:25.594Z] [mock.Anything 0 true mock.Anything] [2023-04-19T20:06:25.594Z] but no actual calls happened [2023-04-19T20:06:25.594Z] FAIL [2023-04-19T20:06:25.594Z] github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging coverage: 47.0% of statements [2023-04-19T20:06:25.594Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 3.435s [2023-04-19T20:06:28.940Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2023-04-19T20:06:28.940Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2023-04-19T20:06:28.940Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.303s coverage: 54.0% of statements [2023-04-19T20:06:32.293Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] [2023-04-19T20:06:32.293Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2023-04-19T20:06:32.293Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2023-04-19T20:06:32.293Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2023-04-19T20:06:32.293Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2023-04-19T20:06:42.419Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2023-04-19T20:06:42.419Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2023-04-19T20:06:47.783Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 15.264s coverage: 88.5% of statements [2023-04-19T20:06:47.783Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.629s coverage: 3.8% of statements [2023-04-19T20:06:57.861Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2023-04-19T20:06:57.861Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2023-04-19T20:06:57.861Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] [2023-04-19T20:06:58.132Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.517s coverage: 95.6% of statements [2023-04-19T20:06:58.398Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2023-04-19T20:06:58.398Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2023-04-19T20:06:58.398Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2023-04-19T20:06:58.398Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2023-04-19T20:06:58.398Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2023-04-19T20:06:58.666Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.206s coverage: 72.2% of statements [2023-04-19T20:07:03.996Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2023-04-19T20:07:03.996Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2023-04-19T20:07:03.996Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2023-04-19T20:07:03.996Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.241s coverage: 65.9% of statements [2023-04-19T20:07:14.050Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2023-04-19T20:07:14.050Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2023-04-19T20:07:14.050Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.436s coverage: 0.9% of statements [2023-04-19T20:07:14.050Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.242s coverage: 29.0% of statements [2023-04-19T20:07:16.622Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.269s coverage: 44.1% of statements [2023-04-19T20:07:16.622Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.275s coverage: 82.9% of statements [2023-04-19T20:07:16.623Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.218s coverage: 94.1% of statements [2023-04-19T20:07:16.623Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.270s coverage: 96.3% of statements [2023-04-19T20:07:19.954Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.201s coverage: 87.5% of statements [2023-04-19T20:07:22.525Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2023-04-19T20:07:22.525Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2023-04-19T20:07:22.525Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2023-04-19T20:07:22.525Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2023-04-19T20:07:24.459Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2023-04-19T20:07:24.459Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] [2023-04-19T20:07:24.459Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] [2023-04-19T20:07:24.459Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] [2023-04-19T20:07:32.654Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.213s coverage: 94.4% of statements [2023-04-19T20:07:32.654Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2023-04-19T20:07:32.654Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2023-04-19T20:07:32.654Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2023-04-19T20:07:32.654Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2023-04-19T20:07:35.993Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2023-04-19T20:07:35.993Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2023-04-19T20:07:37.937Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2023-04-19T20:07:46.150Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] [2023-04-19T20:07:46.150Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 24.118s coverage: 79.9% of statements [2023-04-19T20:07:46.150Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 21.255s coverage: 92.9% of statements [2023-04-19T20:07:46.150Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.090s coverage: 64.4% of statements [2023-04-19T20:07:46.150Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.199s coverage: 62.3% of statements [2023-04-19T20:07:46.150Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.242s coverage: 87.2% of statements [2023-04-19T20:07:46.150Z] ok github.com/edgexfoundry/edgex-go/internal/security/common 0.171s coverage: 20.0% of statements [2023-04-19T20:07:46.150Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.163s coverage: 100.0% of statements [2023-04-19T20:07:46.150Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.452s coverage: 81.8% of statements [2023-04-19T20:07:46.150Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.465s coverage: 82.1% of statements [2023-04-19T20:07:47.557Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2023-04-19T20:07:47.557Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.220s coverage: 86.0% of statements [2023-04-19T20:07:51.803Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2023-04-19T20:07:51.803Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2023-04-19T20:07:52.385Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.986s coverage: 63.1% of statements [2023-04-19T20:07:52.385Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.270s coverage: 100.0% of statements [2023-04-19T20:07:54.966Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.176s coverage: 89.4% of statements [2023-04-19T20:07:54.966Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.136s coverage: 100.0% of statements [2023-04-19T20:07:54.966Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.136s coverage: 73.7% of statements [2023-04-19T20:07:54.966Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth [no test files] [2023-04-19T20:07:54.966Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] [2023-04-19T20:07:54.966Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] [2023-04-19T20:07:54.966Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.074s coverage: 100.0% of statements [2023-04-19T20:08:03.282Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2023-04-19T20:08:03.282Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2023-04-19T20:08:03.282Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2023-04-19T20:08:03.282Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.960s coverage: 38.4% of statements [2023-04-19T20:08:03.282Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.235s coverage: 89.5% of statements [2023-04-19T20:08:07.545Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] [2023-04-19T20:08:07.545Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] [2023-04-19T20:08:07.545Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] [2023-04-19T20:08:07.545Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] [2023-04-19T20:08:07.545Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.204s coverage: 84.8% of statements [2023-04-19T20:08:14.175Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2023-04-19T20:08:14.175Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2023-04-19T20:08:14.175Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2023-04-19T20:08:14.175Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2023-04-19T20:08:19.499Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2023-04-19T20:08:19.499Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2023-04-19T20:08:19.499Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] [2023-04-19T20:08:19.499Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2023-04-19T20:08:19.499Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.275s coverage: 17.7% of statements [2023-04-19T20:08:20.084Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.516s coverage: 92.3% of statements [2023-04-19T20:08:23.474Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2023-04-19T20:08:23.474Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2023-04-19T20:08:23.474Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.279s coverage: 61.5% of statements [2023-04-19T20:08:25.410Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2023-04-19T20:08:25.410Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2023-04-19T20:08:25.990Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.370s coverage: 97.7% of statements [2023-04-19T20:08:25.990Z] FAIL [2023-04-19T20:08:26.570Z] make: *** [Makefile:148: unittest] Error 1 [Pipeline] } [2023-04-19T20:08:26.622Z] $ docker stop --time=1 67fdbc9179e65d6b9e9f0890f7a26940472abc7be3d4eeb664f78550ef2dcfa8 [2023-04-19T20:08:28.410Z] $ 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 [2023-04-19T20:08:30.271Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-19T20:08:30.271Z] [2023-04-19T20:08:30.271Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T20:08:30.670Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-19T20:08:30.936Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-19T20:08:30.937Z] 8998bd30e6a1: Pulling fs layer [2023-04-19T20:08:30.937Z] 04944245beec: Pulling fs layer [2023-04-19T20:08:30.937Z] 699f458cf7ca: Pulling fs layer [2023-04-19T20:08:30.937Z] 765212b225bb: Pulling fs layer [2023-04-19T20:08:30.937Z] f23df028b6ca: Pulling fs layer [2023-04-19T20:08:30.937Z] d65c8cfc05b1: Pulling fs layer [2023-04-19T20:08:30.937Z] 2437ff75d9bd: Pulling fs layer [2023-04-19T20:08:30.937Z] 765212b225bb: Waiting [2023-04-19T20:08:30.937Z] f23df028b6ca: Waiting [2023-04-19T20:08:30.937Z] d65c8cfc05b1: Waiting [2023-04-19T20:08:30.937Z] 2437ff75d9bd: Waiting [2023-04-19T20:08:30.937Z] 04944245beec: Verifying Checksum [2023-04-19T20:08:30.937Z] 04944245beec: Download complete [2023-04-19T20:08:30.937Z] 765212b225bb: Verifying Checksum [2023-04-19T20:08:30.937Z] 765212b225bb: Download complete [2023-04-19T20:08:30.937Z] f23df028b6ca: Verifying Checksum [2023-04-19T20:08:30.937Z] f23df028b6ca: Download complete [2023-04-19T20:08:31.205Z] d65c8cfc05b1: Verifying Checksum [2023-04-19T20:08:31.205Z] d65c8cfc05b1: Download complete [2023-04-19T20:08:31.205Z] 699f458cf7ca: Verifying Checksum [2023-04-19T20:08:31.205Z] 699f458cf7ca: Download complete [2023-04-19T20:08:31.475Z] 8998bd30e6a1: Verifying Checksum [2023-04-19T20:08:31.475Z] 8998bd30e6a1: Download complete [2023-04-19T20:08:34.056Z] 2437ff75d9bd: Verifying Checksum [2023-04-19T20:08:34.056Z] 2437ff75d9bd: Download complete [2023-04-19T20:08:36.635Z] 8998bd30e6a1: Pull complete [2023-04-19T20:08:37.222Z] 04944245beec: Pull complete [2023-04-19T20:08:38.633Z] 699f458cf7ca: Pull complete [2023-04-19T20:08:38.633Z] 765212b225bb: Pull complete [2023-04-19T20:08:39.591Z] f23df028b6ca: Pull complete [2023-04-19T20:08:39.591Z] d65c8cfc05b1: Pull complete [2023-04-19T20:08:54.583Z] 2437ff75d9bd: Pull complete [2023-04-19T20:08:54.583Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-19T20:08:54.583Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-19T20:08:54.583Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T20:08:54.894Z] prd-ubuntu20.04-docker-arm64-4c-16g-9101 does not seem to be running inside a container [2023-04-19T20:08:54.967Z] $ 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 [2023-04-19T20:08:57.625Z] $ docker top e9fb63b503bc12f36639222897f53401d6b2d095ad840f7ab11c49d0fb65b773 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-19T20:08:58.551Z] ---> job-cost.sh [2023-04-19T20:08:58.551Z] lf-activate-venv: SKIPPING [2023-04-19T20:08:58.551Z] INFO: No Stack... [2023-04-19T20:08:58.816Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-19T20:08:59.772Z] INFO: Archiving Costs [Pipeline] sh [2023-04-19T20:09:00.113Z] + cat /w/workspace/edgex-go/1/archives/cost.csv [2023-04-19T20:09:00.113Z] + cut -d, -f6 [Pipeline] lock [2023-04-19T20:09:00.191Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4518-1-stack-cost] [2023-04-19T20:09:00.197Z] Resource [jenkins-edgexfoundry-edgex-go-PR-4518-1-stack-cost] did not exist. Created. [2023-04-19T20:09:00.197Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4518-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-19T20:09:00.927Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-19T20:09:01.493Z] Stashed 1 file(s) [Pipeline] } [2023-04-19T20:09:01.515Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4518-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-19T20:09:01.591Z] $ docker stop --time=1 e9fb63b503bc12f36639222897f53401d6b2d095ad840f7ab11c49d0fb65b773 [2023-04-19T20:09:03.114Z] $ 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] } [2023-04-19T20:09:03.751Z] 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 [2023-04-19T20:09:05.178Z] + [ -d /w/workspace/edgex-go/1/archives ] [Pipeline] libraryResource [Pipeline] sh [2023-04-19T20:09:05.502Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T20:09:06.398Z] ---> package-listing.sh [2023-04-19T20:09:06.398Z] ++ facter osfamily [2023-04-19T20:09:06.398Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-19T20:09:06.657Z] + OS_FAMILY=debian [2023-04-19T20:09:06.657Z] + workspace=/w/workspace/edgex-go/1 [2023-04-19T20:09:06.657Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-19T20:09:06.657Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-19T20:09:06.657Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-19T20:09:06.657Z] + PACKAGES=/tmp/packages_start.txt [2023-04-19T20:09:06.657Z] + '[' /w/workspace/edgex-go/1 ']' [2023-04-19T20:09:06.657Z] + PACKAGES=/tmp/packages_end.txt [2023-04-19T20:09:06.657Z] + case "${OS_FAMILY}" in [2023-04-19T20:09:06.657Z] + dpkg -l [2023-04-19T20:09:06.657Z] + grep '^ii' [2023-04-19T20:09:06.657Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-19T20:09:06.657Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-19T20:09:06.657Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-19T20:09:06.657Z] + '[' /w/workspace/edgex-go/1 ']' [2023-04-19T20:09:06.657Z] + mkdir -p /w/workspace/edgex-go/1/archives/ [2023-04-19T20:09:06.657Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo [2023-04-19T20:09:06.782Z] 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 [2023-04-19T20:09:07.074Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T20:09:07.702Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-19T20:09:07.702Z] [2023-04-19T20:09:07.702Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T20:09:08.066Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-19T20:09:08.066Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-19T20:09:08.066Z] 5eb5b503b376: Pulling fs layer [2023-04-19T20:09:08.066Z] 5c69ac0246d0: Pulling fs layer [2023-04-19T20:09:08.066Z] ec43610c2a17: Pulling fs layer [2023-04-19T20:09:08.066Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-19T20:09:08.066Z] 33b1e0a273af: Pulling fs layer [2023-04-19T20:09:08.066Z] 5d3b04190fa2: Pulling fs layer [2023-04-19T20:09:08.066Z] 2f39f015ded8: Pulling fs layer [2023-04-19T20:09:08.066Z] 3a2ae6a8a46f: Waiting [2023-04-19T20:09:08.066Z] 33b1e0a273af: Waiting [2023-04-19T20:09:08.066Z] 2f39f015ded8: Waiting [2023-04-19T20:09:08.066Z] 5d3b04190fa2: Waiting [2023-04-19T20:09:08.066Z] 5c69ac0246d0: Download complete [2023-04-19T20:09:08.066Z] 3a2ae6a8a46f: Download complete [2023-04-19T20:09:08.066Z] 33b1e0a273af: Download complete [2023-04-19T20:09:08.066Z] ec43610c2a17: Verifying Checksum [2023-04-19T20:09:08.066Z] ec43610c2a17: Download complete [2023-04-19T20:09:08.066Z] 5d3b04190fa2: Verifying Checksum [2023-04-19T20:09:08.066Z] 5d3b04190fa2: Download complete [2023-04-19T20:09:08.324Z] 5eb5b503b376: Verifying Checksum [2023-04-19T20:09:08.324Z] 5eb5b503b376: Download complete [2023-04-19T20:09:08.890Z] 2f39f015ded8: Download complete [2023-04-19T20:09:09.456Z] 5eb5b503b376: Pull complete [2023-04-19T20:09:09.456Z] 5c69ac0246d0: Pull complete [2023-04-19T20:09:09.714Z] ec43610c2a17: Pull complete [2023-04-19T20:09:09.714Z] 3a2ae6a8a46f: Pull complete [2023-04-19T20:09:09.972Z] 33b1e0a273af: Pull complete [2023-04-19T20:09:09.972Z] 5d3b04190fa2: Pull complete [2023-04-19T20:09:14.154Z] 2f39f015ded8: Pull complete [2023-04-19T20:09:14.154Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-19T20:09:14.154Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-19T20:09:14.154Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T20:09:14.400Z] prd-ubuntu20.04-docker-8c-8g-9100 does not seem to be running inside a container [2023-04-19T20:09:14.421Z] $ 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 [2023-04-19T20:09:17.153Z] $ docker top 578f1ecef48c921d13298b5527b170eac8ae654d7e62c996008e6bd754a63679 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-19T20:09:17.624Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-19T20:09:17.928Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-19T20:09:18.234Z] + ls /var/log/sa-host [2023-04-19T20:09:18.234Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-19T20:09:18.440Z] provisioning config files... [2023-04-19T20:09:18.449Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config16727291156166587979tmp [Pipeline] { [Pipeline] echo [2023-04-19T20:09:18.500Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T20:09:18.816Z] ---> create-netrc.sh [Pipeline] } [2023-04-19T20:09:18.847Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-19T20:09:19.244Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-19T20:09:19.276Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T20:09:19.591Z] ---> sudo-logs.sh [2023-04-19T20:09:19.591Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-19T20:09:19.669Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T20:09:19.997Z] ---> job-cost.sh [2023-04-19T20:09:19.997Z] lf-activate-venv: SKIPPING [2023-04-19T20:09:19.997Z] DEBUG: total: 0.10999999940395355 [2023-04-19T20:09:19.997Z] INFO: Retrieving Stack Cost... [2023-04-19T20:09:20.564Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-19T20:09:20.825Z] INFO: Archiving Costs [Pipeline] echo [2023-04-19T20:09:20.864Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T20:09:21.176Z] ---> logs-deploy.sh [2023-04-19T20:09:21.176Z] lf-activate-venv: SKIPPING [2023-04-19T20:09:21.176Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4518/1 [2023-04-19T20:09:21.176Z] INFO: archiving workspace using pattern(s): [2023-04-19T20:09:22.114Z] Archives upload complete. [2023-04-19T20:09:22.114Z] INFO: archiving logs to Nexus