Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 30c8b7c0234743e518a9129dd91663d26c55c212+17930b14352cbfb7930b1ac1271c629a4bf190e4 (30a68d8950eb187cd9e149f05e9aefafb542a402) 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-ssh8738530251913228637.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh16438753537849869733.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4795/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-4795/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17451286940513210723.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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 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-ssh4404363503630029736.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4795/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-4795/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16907238533778571051.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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]] ========================================================= [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.21 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-273 in /w/workspace/edgexfoundry_edgex-go_PR-4795 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/2 [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/2 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4795/head:refs/remotes/origin/PR-4795 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 17930b14352cbfb7930b1ac1271c629a4bf190e4 into PR head commit 30c8b7c0234743e518a9129dd91663d26c55c212 Merge succeeded, producing 4e8d5b089d35557f33dc6c75b03ddf6bca4c4e28 Checking out Revision 4e8d5b089d35557f33dc6c75b03ddf6bca4c4e28 (PR-4795) > git config core.sparsecheckout # timeout=10 > git checkout -f 30c8b7c0234743e518a9129dd91663d26c55c212 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 17930b14352cbfb7930b1ac1271c629a4bf190e4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4e8d5b089d35557f33dc6c75b03ddf6bca4c4e28 # timeout=10 Commit message: "Merge commit '17930b14352cbfb7930b1ac1271c629a4bf190e4' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:30:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:30:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:30:18 ========================================================= 08:30:18 EdgeX Global Pipelines Version Info 08:30:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:30:19 ------------------- 08:30:19 stable info: 08:30:19 ------------------- 08:30:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:30:19 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 08:30:19 Message: update stable to v1.0.258 08:30:19 ------------------- 08:30:19 experimental info: 08:30:19 ------------------- 08:30:19 Commited By: **** collab-it+edgex@linuxfoundation.org 08:30:19 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 08:30:19 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:30:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 08:30:19 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 08:30:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:30:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:30:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:30:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 08:30:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:30:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 08:30:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 08:30:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 08:30:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:30:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:30:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:30:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:30:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:30:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:30:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:30:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:30:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:30:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 08:30:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:30:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:30:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:30:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4795 [Pipeline] echo 08:30:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4795 [Pipeline] echo 08:30:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4795 [Pipeline] echo 08:30:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4e8d5b089d35557f33dc6c75b03ddf6bca4c4e28 [Pipeline] echo 08:30:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4e8d5b0 [Pipeline] echo 08:30:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:30:20 provisioning config files... 08:30:20 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config14482890892877731186tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:30:20 ---> ****-login.sh 08:30:20 nexus3.edgexfoundry.org:10001 08:30:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:30:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:30:20 Configure a credential helper to remove this warning. See 08:30:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:30:20 08:30:20 Login Succeeded 08:30:20 nexus3.edgexfoundry.org:10002 08:30:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:30:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:30:20 Configure a credential helper to remove this warning. See 08:30:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:30:20 08:30:20 Login Succeeded 08:30:21 nexus3.edgexfoundry.org:10003 08:30:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:30:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:30:21 Configure a credential helper to remove this warning. See 08:30:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:30:21 08:30:21 Login Succeeded 08:30:21 nexus3.edgexfoundry.org:10004 08:30:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:30:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:30:21 Configure a credential helper to remove this warning. See 08:30:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:30:21 08:30:21 Login Succeeded 08:30:21 ****.io 08:30:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:30:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:30:21 Configure a credential helper to remove this warning. See 08:30:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:30:21 08:30:21 Login Succeeded 08:30:21 ---> ****-login.sh ends [Pipeline] } 08:30:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:30:21 + 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 08:30:21 + cut -d/ -f2 08:30:21 + dirname cmd/core-command/Dockerfile 08:30:21 + echo core-command,cmd/core-command/Dockerfile 08:30:21 + dirname cmd/core-common-config-bootstrapper/Dockerfile 08:30:21 + cut -d/ -f2 08:30:21 + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile 08:30:21 + + dirname cmd/core-data/Dockerfile 08:30:21 cut -d/ -f2 08:30:21 + echo core-data,cmd/core-data/Dockerfile 08:30:21 + dirname cmd/core-metadata/Dockerfile 08:30:21 + cut -d/ -f2 08:30:21 + echo core-metadata,cmd/core-metadata/Dockerfile 08:30:21 + dirname cmd/security-bootstrapper/Dockerfile 08:30:21 + cut -d/ -f2 08:30:21 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 08:30:21 + dirname cmd/security-proxy-auth/Dockerfile 08:30:21 + cut -d/ -f2 08:30:21 + echo security-proxy-auth,cmd/security-proxy-auth/Dockerfile 08:30:21 + dirname cmd/security-proxy-setup/Dockerfile 08:30:21 + cut -d/ -f2 08:30:21 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 08:30:21 + dirname cmd/security-secretstore-setup/Dockerfile 08:30:21 + cut -d/ -f2 08:30:21 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 08:30:21 + + cut -d/ -f2 08:30:21 dirname cmd/security-spiffe-token-provider/Dockerfile 08:30:21 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 08:30:21 + dirname cmd/security-spire-agent/Dockerfile 08:30:21 + cut -d/ -f2 08:30:21 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 08:30:21 + dirname cmd/security-spire-config/Dockerfile 08:30:21 + cut -d/ -f2 08:30:21 + echo security-spire-config,cmd/security-spire-config/Dockerfile 08:30:21 + dirname cmd/security-spire-server/Dockerfile 08:30:21 + cut -d/ -f2 08:30:21 + echo security-spire-server,cmd/security-spire-server/Dockerfile 08:30:21 + dirname cmd/support-notifications/Dockerfile 08:30:21 + cut -d/ -f2 08:30:21 + echo support-notifications,cmd/support-notifications/Dockerfile 08:30:21 + + dirname cmd/support-scheduler/Dockerfile 08:30:21 cut -d/ -f2 08:30:21 + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo 08:30:21 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 08:30:22 + git rev-list -1 --merges 4e8d5b089d35557f33dc6c75b03ddf6bca4c4e28~1..4e8d5b089d35557f33dc6c75b03ddf6bca4c4e28 [Pipeline] echo 08:30:22 -----------> git rev-list -1 --merges 4e8d5b089d35557f33dc6c75b03ddf6bca4c4e28~1..4e8d5b089d35557f33dc6c75b03ddf6bca4c4e28 4e8d5b089d35557f33dc6c75b03ddf6bca4c4e28 08:30:22 4e8d5b089d35557f33dc6c75b03ddf6bca4c4e28 [false] [Pipeline] sh 08:30:22 + git log --format=format:%s -1 4e8d5b089d35557f33dc6c75b03ddf6bca4c4e28 [Pipeline] echo 08:30:22 ========================================================= 08:30:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:30:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 08:30:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:30:22 + grep -v github /etc/ssh/ssh_known_hosts 08:30:22 + [ -e /tmp/ssh_known_hosts ] 08:30:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:30:22 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:30:22 + sudo tee -a /etc/ssh/ssh_known_hosts 08:30:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:30:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:30:23 08:30:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:30:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:30:23 0.1.4: Pulling from edgex-devops/py-git-semver 08:30:23 b85a868b505f: Pulling fs layer 08:30:23 e2be974225ed: Pulling fs layer 08:30:23 339a4e72a1f5: Pulling fs layer 08:30:23 988bab9f4d93: Pulling fs layer 08:30:23 1469e6f7b9e6: Pulling fs layer 08:30:23 eaf3925da568: Pulling fs layer 08:30:23 bab4dde63d76: Pulling fs layer 08:30:23 bde34c3a00c8: Pulling fs layer 08:30:23 b352a97aabf1: Pulling fs layer 08:30:23 4872d77fe225: Pulling fs layer 08:30:23 5851b861e8e6: Pulling fs layer 08:30:23 bab4dde63d76: Waiting 08:30:23 bde34c3a00c8: Waiting 08:30:23 b352a97aabf1: Waiting 08:30:23 4872d77fe225: Waiting 08:30:23 5851b861e8e6: Waiting 08:30:23 988bab9f4d93: Waiting 08:30:23 eaf3925da568: Waiting 08:30:23 e2be974225ed: Download complete 08:30:23 988bab9f4d93: Download complete 08:30:23 1469e6f7b9e6: Verifying Checksum 08:30:23 1469e6f7b9e6: Download complete 08:30:23 339a4e72a1f5: Verifying Checksum 08:30:23 339a4e72a1f5: Download complete 08:30:23 bde34c3a00c8: Verifying Checksum 08:30:23 bde34c3a00c8: Download complete 08:30:23 b352a97aabf1: Download complete 08:30:23 4872d77fe225: Verifying Checksum 08:30:23 4872d77fe225: Download complete 08:30:23 5851b861e8e6: Download complete 08:30:23 b85a868b505f: Verifying Checksum 08:30:23 b85a868b505f: Download complete 08:30:24 bab4dde63d76: Verifying Checksum 08:30:24 bab4dde63d76: Download complete 08:30:24 b85a868b505f: Pull complete 08:30:24 e2be974225ed: Pull complete 08:30:25 339a4e72a1f5: Pull complete 08:30:25 988bab9f4d93: Pull complete 08:30:25 1469e6f7b9e6: Pull complete 08:30:25 eaf3925da568: Pull complete 08:30:27 bab4dde63d76: Pull complete 08:30:27 bde34c3a00c8: Pull complete 08:30:27 b352a97aabf1: Pull complete 08:30:27 4872d77fe225: Pull complete 08:30:27 5851b861e8e6: Pull complete 08:30:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:30:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:30:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:30:28 prd-ubuntu20.04-docker-8c-8g-273 does not seem to be running inside a container 08:30:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 08:30:31 $ docker top c82e6ccf1c2fb48de639c61b4213c11e173dd37a544ba4793f34f1552ba235cc -eo pid,comm 08:30:31 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). 08:30:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:30:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:30:31 [ssh-agent] Looking for ssh-agent implementation... 08:30:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:30:31 $ docker exec c82e6ccf1c2fb48de639c61b4213c11e173dd37a544ba4793f34f1552ba235cc ssh-agent 08:30:31 SSH_AUTH_SOCK=/tmp/ssh-z4NpUFgj7yyU/agent.33 08:30:31 SSH_AGENT_PID=39 08:30:31 Running ssh-add (command line suppressed) 08:30:31 Identity added: /w/workspace/edgex-go/2@tmp/private_key_10054773184002381876.key (/w/workspace/edgex-go/2@tmp/private_key_10054773184002381876.key) 08:30:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:30:31 + git tag --points-at HEAD [Pipeline] } 08:30:32 $ docker exec --env ******** --env ******** c82e6ccf1c2fb48de639c61b4213c11e173dd37a544ba4793f34f1552ba235cc ssh-agent -k 08:30:32 unset SSH_AUTH_SOCK; 08:30:32 unset SSH_AGENT_PID; 08:30:32 echo Agent pid 39 killed; 08:30:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:30:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:30:32 [ssh-agent] Looking for ssh-agent implementation... 08:30:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:30:32 $ docker exec c82e6ccf1c2fb48de639c61b4213c11e173dd37a544ba4793f34f1552ba235cc ssh-agent 08:30:32 SSH_AUTH_SOCK=/tmp/ssh-EIGfY99Ptn8O/agent.72 08:30:32 SSH_AGENT_PID=78 08:30:32 Running ssh-add (command line suppressed) 08:30:32 Identity added: /w/workspace/edgex-go/2@tmp/private_key_2046211133921914228.key (/w/workspace/edgex-go/2@tmp/private_key_2046211133921914228.key) 08:30:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:30:32 + git semver init 08:30:33 2024-05-08 08:30:32,965 [run_init] DEBUG init version:0.0.0 force:False 08:30:33 2024-05-08 08:30:32,966 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/2/.semver 08:30:33 2024-05-08 08:30:32,967 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/2/.semver 08:30:33 2024-05-08 08:30:32,967 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/edgex-go.git', '/w/workspace/edgex-go/2/.semver'], cwd=/w/workspace/edgex-go/2, universal_newlines=False, shell=None, istream=None) 08:30:39 2024-05-08 08:30:38,370 [append_file] DEBUG append to file:/w/workspace/edgex-go/2/.git/info/exclude 08:30:39 2024-05-08 08:30:38,371 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/2/.semver/PR-4795 with force:False 08:30:39 2024-05-08 08:30:38,371 [write_file] DEBUG write to file:/w/workspace/edgex-go/2/.semver/PR-4795 08:30:39 2024-05-08 08:30:38,375 [execute] INFO git cat-file --batch-check 08:30:39 2024-05-08 08:30:38,376 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/2/.semver, universal_newlines=False, shell=None, istream=) 08:30:39 2024-05-08 08:30:38,382 [execute] INFO git cat-file --batch 08:30:39 2024-05-08 08:30:38,383 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/2/.semver, universal_newlines=False, shell=None, istream=) 08:30:39 2024-05-08 08:30:38,388 [read_version] DEBUG read version from /w/workspace/edgex-go/2/.semver/PR-4795 08:30:39 0.0.0 [Pipeline] } 08:30:39 $ docker exec --env ******** --env ******** c82e6ccf1c2fb48de639c61b4213c11e173dd37a544ba4793f34f1552ba235cc ssh-agent -k 08:30:39 unset SSH_AUTH_SOCK; 08:30:39 unset SSH_AGENT_PID; 08:30:39 echo Agent pid 78 killed; 08:30:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:30:40 + git semver [Pipeline] } 08:30:40 $ docker stop --time=1 c82e6ccf1c2fb48de639c61b4213c11e173dd37a544ba4793f34f1552ba235cc 08:30:41 $ docker rm -f --volumes c82e6ccf1c2fb48de639c61b4213c11e173dd37a544ba4793f34f1552ba235cc [Pipeline] // withDockerContainer [Pipeline] sh 08:30:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:30:42 Stashed 1 file(s) [Pipeline] echo 08:30:42 [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 08:30:42 + git config --global --add safe.directory /w/workspace/edgex-go/2 [Pipeline] echo 08:30:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:30:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:30:42 ========================================================= 08:30:42 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 08:30:42 ========================================================= [Pipeline] fileExists [Pipeline] sh 08:30:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 08:30:43 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 08:30:43 619be1103602: Pulling fs layer 08:30:43 7862e08f4a3e: Pulling fs layer 08:30:43 5df492c9dc93: Pulling fs layer 08:30:43 7629e6793208: Pulling fs layer 08:30:43 4f4fb700ef54: Pulling fs layer 08:30:43 fb5054dd5b73: Pulling fs layer 08:30:43 eeca6798cff9: Pulling fs layer 08:30:43 aa269ceb94a6: Pulling fs layer 08:30:43 ada007ff1a6a: Pulling fs layer 08:30:43 7629e6793208: Waiting 08:30:43 4f4fb700ef54: Waiting 08:30:43 fb5054dd5b73: Waiting 08:30:43 eeca6798cff9: Waiting 08:30:43 ada007ff1a6a: Waiting 08:30:43 aa269ceb94a6: Waiting 08:30:43 7862e08f4a3e: Download complete 08:30:43 7629e6793208: Download complete 08:30:43 4f4fb700ef54: Verifying Checksum 08:30:43 4f4fb700ef54: Download complete 08:30:43 fb5054dd5b73: Download complete 08:30:43 619be1103602: Verifying Checksum 08:30:43 619be1103602: Download complete 08:30:43 eeca6798cff9: Verifying Checksum 08:30:43 eeca6798cff9: Download complete 08:30:43 619be1103602: Pull complete 08:30:43 7862e08f4a3e: Pull complete 08:30:43 ada007ff1a6a: Verifying Checksum 08:30:43 ada007ff1a6a: Download complete 08:30:43 5df492c9dc93: Verifying Checksum 08:30:43 5df492c9dc93: Download complete 08:30:44 aa269ceb94a6: Verifying Checksum 08:30:44 aa269ceb94a6: Download complete 08:30:46 5df492c9dc93: Pull complete 08:30:46 7629e6793208: Pull complete 08:30:46 4f4fb700ef54: Pull complete 08:30:46 fb5054dd5b73: Pull complete 08:30:46 eeca6798cff9: Pull complete 08:30:49 aa269ceb94a6: Pull complete 08:30:50 ada007ff1a6a: Pull complete 08:30:50 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 08:30:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 08:30:50 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [Pipeline] fileExists [Pipeline] sh 08:30:50 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 08:30:50 WORKDIR /edgex 08:30:50 COPY go.mod . 08:30:50 RUN go mod download 08:30:50 + docker build -t ci-base-image-x86_64 -f - . 08:30:50 Sending build context to Docker daemon 177.4MB 08:30:50 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 08:30:50 ---> f489d0715acc 08:30:50 Step 2/4 : WORKDIR /edgex 08:30:55 ---> Running in 63a8e8a5f878 08:30:55 Removing intermediate container 63a8e8a5f878 08:30:55 ---> c8ba3895c7f9 08:30:55 Step 3/4 : COPY go.mod . 08:30:55 ---> 657b52a44686 08:30:55 Step 4/4 : RUN go mod download 08:30:55 ---> Running in 10ffb3c8f5d2 08:30:57 Still waiting to schedule task 08:30:57 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:31:13 Removing intermediate container 10ffb3c8f5d2 08:31:13 ---> 7a9bbb29bfdd 08:31:13 Successfully built 7a9bbb29bfdd 08:31:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:31:13 + docker inspect -f . ci-base-image-x86_64 08:31:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:31:13 prd-ubuntu20.04-docker-8c-8g-273 does not seem to be running inside a container 08:31:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 08:31:14 $ docker top 4834c512e62c1ef66a80ba9fcd51cf9b9e159c247d9dd939c7005ebc30441978 -eo pid,comm [Pipeline] { [Pipeline] sh 08:31:14 + go version 08:31:14 go version go1.21.9 linux/amd64 [Pipeline] } 08:31:14 $ docker stop --time=1 4834c512e62c1ef66a80ba9fcd51cf9b9e159c247d9dd939c7005ebc30441978 08:31:15 $ docker rm -f --volumes 4834c512e62c1ef66a80ba9fcd51cf9b9e159c247d9dd939c7005ebc30441978 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:31:16 + docker inspect -f . ci-base-image-x86_64 08:31:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:31:16 prd-ubuntu20.04-docker-8c-8g-273 does not seem to be running inside a container 08:31:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 08:31:16 $ docker top 1855a441e0356b0ccccf6fd79cba5d85ef9c943e8e89d1db319686d1ee227f3c -eo pid,comm [Pipeline] { [Pipeline] echo 08:31:16 ========================================================= 08:31:16 [edgeXBuildGoParallel] Running Tests and Build... 08:31:16 ========================================================= [Pipeline] sh 08:31:17 + git config --global --add safe.directory /w/workspace/edgex-go/2 [Pipeline] fileExists [Pipeline] sh 08:31:17 + make test 08:31:17 go test -race -coverprofile=coverage.out ./... 08:31:23 ? github.com/edgexfoundry/edgex-go [no test files] 08:31:56 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 08:31:56 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 08:31:56 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 08:31:56 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 08:31:56 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 08:31:56 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 08:31:56 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 08:31:56 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-auth [no test files] 08:31:56 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 08:31:56 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 08:31:56 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 08:31:56 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 08:31:56 ? github.com/edgexfoundry/edgex-go/internal [no test files] 08:31:56 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 08:31:56 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 08:31:56 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 08:31:57 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 1.048s coverage: 28.7% of statements 08:31:58 --- FAIL: TestAllCommands (0.00s) 08:31:58 panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [recovered] 08:31:58 panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren 08:31:58 08:31:58 goroutine 5 [running]: 08:31:58 testing.tRunner.func1.2({0x10af880, 0xc0002ed560}) 08:31:58 /usr/local/go/src/testing/testing.go:1545 +0x3f7 08:31:58 testing.tRunner.func1() 08:31:58 /usr/local/go/src/testing/testing.go:1548 +0x716 08:31:58 panic({0x10af880?, 0xc0002ed560?}) 08:31:58 /usr/local/go/src/runtime/panic.go:920 +0x270 08:31:58 github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container.DeviceClientFrom(0xc0000cc1f8) 08:31:58 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.31/bootstrap/container/clients.go:118 +0x89 08:31:58 github.com/edgexfoundry/edgex-go/internal/core/command/application.CommandsByDeviceName({0x119ff64, 0xb}, 0xc000684420) 08:31:58 /w/workspace/edgex-go/2/internal/core/command/application/command.go:72 +0xc9 08:31:58 github.com/edgexfoundry/edgex-go/internal/core/command/controller/http.buildDeviceCoreCommands(_, {{0x0, 0x0}, {0x0, 0x0}, {0x119ff64, 0xb}, {0x0, 0x0}, {0x0, ...}, ...}, ...) 08:31:58 /w/workspace/edgex-go/2/internal/core/command/controller/http/command_test.go:97 +0x990 08:31:58 github.com/edgexfoundry/edgex-go/internal/core/command/controller/http.TestAllCommands(0xc000582b60?) 08:31:58 /w/workspace/edgex-go/2/internal/core/command/controller/http/command_test.go:177 +0x605 08:31:58 testing.tRunner(0xc000582b60, 0x11efea0) 08:31:58 /usr/local/go/src/testing/testing.go:1595 +0x262 08:31:58 created by testing.(*T).Run in goroutine 1 08:31:58 /usr/local/go/src/testing/testing.go:1648 +0x846 08:31:58 FAIL github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.047s 08:31:58 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 08:31:58 ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] 08:31:58 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 08:31:58 --- FAIL: Test_commandQueryHandler (0.00s) 08:31:58 --- FAIL: Test_commandQueryHandler/valid_-_query_all (0.00s) 08:31:58 panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [recovered] 08:31:58 panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren 08:31:58 08:31:58 goroutine 36 [running]: 08:31:58 testing.tRunner.func1.2({0xec0d20, 0xc000534e70}) 08:31:58 /usr/local/go/src/testing/testing.go:1545 +0x3f7 08:31:58 testing.tRunner.func1() 08:31:58 /usr/local/go/src/testing/testing.go:1548 +0x716 08:31:58 panic({0xec0d20?, 0xc000534e70?}) 08:31:58 /usr/local/go/src/runtime/panic.go:920 +0x270 08:31:58 github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container.DeviceClientFrom(0xc0000ace88) 08:31:58 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.31/bootstrap/container/clients.go:118 +0x89 08:31:58 github.com/edgexfoundry/edgex-go/internal/core/command/application.AllCommands(0xeaee20?, 0xc000534de0?, 0xc0005162c0) 08:31:58 /w/workspace/edgex-go/2/internal/core/command/application/command.go:27 +0x94 08:31:58 github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging.getCommandQueryResponseEnvelope({{{0xc000014dde, 0x2}}, {0x0, 0x0}, {0xc000192660, 0x24}, {0xc000192690, 0x24}, 0x0, {0x0, ...}, ...}, ...) 08:31:58 /w/workspace/edgex-go/2/internal/core/command/controller/messaging/utils.go:91 +0x2b2 08:31:58 github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging.Test_commandQueryHandler.func5.commandQueryHandler.func1({0x10e3dc8, 0xc0004fc280}, {0x10e2ae8, 0xc0004fc1e0}) 08:31:58 /w/workspace/edgex-go/2/internal/core/command/controller/messaging/external.go:83 +0x87c 08:31:58 github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging.Test_commandQueryHandler.func5(0x0?) 08:31:58 /w/workspace/edgex-go/2/internal/core/command/controller/messaging/external_test.go:225 +0x6c5 08:31:58 testing.tRunner(0xc00026c680, 0xc0005162e0) 08:31:58 /usr/local/go/src/testing/testing.go:1595 +0x262 08:31:58 created by testing.(*T).Run in goroutine 35 08:31:58 /usr/local/go/src/testing/testing.go:1648 +0x846 08:31:58 FAIL github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 0.056s 08:31:58 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 08:31:58 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 08:31:59 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 08:31:59 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 08:31:59 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 08:31:59 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 08:31:59 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 08:32:00 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 1.065s coverage: 53.2% of statements 08:32:00 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 08:32:00 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 08:32:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 08:32:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 08:32:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 08:32:02 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 08:32:02 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 08:32:02 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 08:32:02 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 08:32:02 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 08:32:02 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 08:32:02 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 08:32:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 08:32:03 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 08:32:03 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 3.965s coverage: 93.4% of statements 08:32:03 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 1.062s coverage: 6.1% of statements 08:32:03 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.371s coverage: 97.6% of statements 08:32:03 ok github.com/edgexfoundry/edgex-go/internal/io 1.036s coverage: 72.2% of statements 08:32:04 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 1.065s coverage: 0.9% of statements 08:32:04 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 1.046s coverage: 32.2% of statements 08:32:04 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 1.052s coverage: 41.7% of statements 08:32:04 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.037s coverage: 82.9% of statements 08:32:04 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 1.036s coverage: 94.1% of statements 08:32:04 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 1.051s coverage: 96.3% of statements 08:32:05 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 1.047s coverage: 87.5% of statements 08:32:05 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 08:32:05 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 08:32:05 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 08:32:05 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 08:32:05 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 08:32:05 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 08:32:05 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 08:32:05 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 08:32:07 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 08:32:07 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 08:32:07 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 08:32:07 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 08:32:07 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 08:32:07 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 08:32:07 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 08:32:09 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] 08:32:09 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 08:32:11 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 08:32:11 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 08:32:13 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth [no test files] 08:32:13 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] 08:32:13 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] 08:32:14 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 08:32:14 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 08:32:14 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 08:32:15 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 08:32:15 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 08:32:15 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 08:32:15 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 08:32:16 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 08:32:16 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 08:32:16 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 08:32:16 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 08:32:17 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 13.045s coverage: 94.4% of statements 08:32:17 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 08:32:17 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 08:32:17 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 08:32:17 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 08:32:18 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 08:32:18 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 08:32:20 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 08:32:20 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 08:32:30 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 24.294s coverage: 79.9% of statements 08:32:30 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 18.058s coverage: 92.9% of statements 08:32:30 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 1.019s coverage: 64.4% of statements 08:32:30 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 7.049s coverage: 62.3% of statements 08:32:30 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 13.048s coverage: 87.2% of statements 08:32:30 ok github.com/edgexfoundry/edgex-go/internal/security/common 1.034s coverage: 20.0% of statements 08:32:30 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 1.035s coverage: 100.0% of statements 08:32:30 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 1.087s coverage: 81.8% of statements 08:32:30 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 1.090s coverage: 82.1% of statements 08:32:30 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 1.048s coverage: 86.0% of statements 08:32:30 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.146s coverage: 63.1% of statements 08:32:30 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 1.042s coverage: 100.0% of statements 08:32:30 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 1.020s coverage: 89.4% of statements 08:32:30 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 1.018s coverage: 100.0% of statements 08:32:30 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 1.019s coverage: 73.7% of statements 08:32:30 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 1.015s coverage: 100.0% of statements 08:32:30 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 1.183s coverage: 38.4% of statements 08:32:30 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 1.045s coverage: 89.5% of statements 08:32:30 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 1.039s coverage: 84.8% of statements 08:32:30 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 7.062s coverage: 19.9% of statements 08:32:30 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 1.117s coverage: 95.7% of statements 08:32:30 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 1.048s coverage: 61.8% of statements 08:32:30 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 1.088s coverage: 98.9% of statements 08:32:30 FAIL 08:32:30 make: *** [Makefile:148: unittest] Error 1 [Pipeline] } 08:32:30 $ docker stop --time=1 1855a441e0356b0ccccf6fd79cba5d85ef9c943e8e89d1db319686d1ee227f3c 08:32:32 $ docker rm -f --volumes 1855a441e0356b0ccccf6fd79cba5d85ef9c943e8e89d1db319686d1ee227f3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:32:32 Failed in branch amd64 08:33:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-279 in /w/workspace/edgexfoundry_edgex-go_PR-4795 [Pipeline] { [Pipeline] ws 08:33:38 Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] checkout 08:33:41 The recommended git tool is: git 08:33:48 using credential edgex-jenkins-ssh 08:33:48 Cloning the remote Git repository 08:33:48 Cloning repository git@github.com:edgexfoundry/edgex-go.git 08:33:48 > git init /w/workspace/edgex-go/2 # timeout=10 08:33:48 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 08:33:48 > git --version # timeout=10 08:33:48 > git --version # 'git version 2.25.1' 08:33:48 using GIT_SSH to set credentials SSH Credentials for GitHub 08:33:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:34:10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 08:34:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:34:12 Merging remotes/origin/main commit 17930b14352cbfb7930b1ac1271c629a4bf190e4 into PR head commit 30c8b7c0234743e518a9129dd91663d26c55c212 08:34:12 Merge succeeded, producing ec403b16d73f7ae717dc375ffa4730043dc4b225 08:34:12 Checking out Revision ec403b16d73f7ae717dc375ffa4730043dc4b225 (PR-4795) 08:34:11 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 08:34:11 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 08:34:11 using GIT_SSH to set credentials SSH Credentials for GitHub 08:34:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4795/head:refs/remotes/origin/PR-4795 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:34:12 > git config core.sparsecheckout # timeout=10 08:34:12 > git checkout -f 30c8b7c0234743e518a9129dd91663d26c55c212 # timeout=10 08:34:12 > git remote # timeout=10 08:34:12 > git config --get remote.origin.url # timeout=10 08:34:12 using GIT_SSH to set credentials SSH Credentials for GitHub 08:34:12 > git merge 17930b14352cbfb7930b1ac1271c629a4bf190e4 # timeout=10 08:34:12 > git rev-parse HEAD^{commit} # timeout=10 08:34:12 > git config core.sparsecheckout # timeout=10 08:34:12 > git checkout -f ec403b16d73f7ae717dc375ffa4730043dc4b225 # timeout=10 08:34:16 Commit message: "Merge commit '17930b14352cbfb7930b1ac1271c629a4bf190e4' into HEAD" 08:34:16 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:34:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:34:18 % Total % Received % Xferd Average Speed Time Time Time Current 08:34:18 Dload Upload Total Spent Left Speed 08:34:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 205k 0 --:--:-- --:--:-- --:--:-- 205k [Pipeline] sh 08:34:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:34:19 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 08:34:19 /etc/docker/daemon.json 08:34:19 { 08:34:19 "registry-mirrors": [ 08:34:19 "https://nexus3.edgexfoundry.org:10001" 08:34:19 ], 08:34:19 "bip": "10.250.0.254/24", 08:34:19 "hosts": [ 08:34:19 "tcp://0.0.0.0:5555", 08:34:19 "unix:///var/run/docker.sock" 08:34:19 ], 08:34:19 "mtu": 1458, 08:34:19 "selinux-enabled": true, 08:34:19 "seccomp-profile": "/etc/docker/seccomp.json" 08:34:19 } [Pipeline] sh 08:34:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:34:20 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:34:38 provisioning config files... 08:34:38 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config3168229506593805335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:34:39 ---> ****-login.sh 08:34:39 nexus3.edgexfoundry.org:10001 08:34:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:34:40 Configure a credential helper to remove this warning. See 08:34:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:34:40 08:34:40 Login Succeeded 08:34:40 nexus3.edgexfoundry.org:10002 08:34:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:34:41 Configure a credential helper to remove this warning. See 08:34:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:34:41 08:34:41 Login Succeeded 08:34:41 nexus3.edgexfoundry.org:10003 08:34:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:34:41 Configure a credential helper to remove this warning. See 08:34:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:34:41 08:34:41 Login Succeeded 08:34:41 nexus3.edgexfoundry.org:10004 08:34:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:34:41 Configure a credential helper to remove this warning. See 08:34:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:34:41 08:34:41 Login Succeeded 08:34:41 ****.io 08:34:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:34:42 Configure a credential helper to remove this warning. See 08:34:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:34:42 08:34:42 Login Succeeded 08:34:42 ---> ****-login.sh ends [Pipeline] } 08:34:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh 08:34:43 + git config --global --add safe.directory /w/workspace/edgex-go/2 [Pipeline] echo 08:34:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:34:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:34:43 ========================================================= 08:34:43 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 08:34:43 ========================================================= [Pipeline] fileExists [Pipeline] sh 08:34:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 08:34:43 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:34:43 c6b39de5b339: Pulling fs layer 08:34:43 a69c41024577: Pulling fs layer 08:34:43 d6de4b400683: Pulling fs layer 08:34:43 35cb2a7552d0: Pulling fs layer 08:34:43 4f4fb700ef54: Pulling fs layer 08:34:43 464afbd9ba4c: Pulling fs layer 08:34:43 00f215d4a9da: Pulling fs layer 08:34:43 d496ad576159: Pulling fs layer 08:34:43 35cb2a7552d0: Waiting 08:34:43 4f4fb700ef54: Waiting 08:34:43 464afbd9ba4c: Waiting 08:34:43 00f215d4a9da: Waiting 08:34:43 d496ad576159: Waiting 08:34:43 a69c41024577: Verifying Checksum 08:34:43 a69c41024577: Download complete 08:34:43 35cb2a7552d0: Verifying Checksum 08:34:43 35cb2a7552d0: Download complete 08:34:43 4f4fb700ef54: Verifying Checksum 08:34:43 4f4fb700ef54: Download complete 08:34:43 464afbd9ba4c: Verifying Checksum 08:34:43 464afbd9ba4c: Download complete 08:34:43 c6b39de5b339: Verifying Checksum 08:34:43 c6b39de5b339: Download complete 08:34:44 d496ad576159: Verifying Checksum 08:34:44 d496ad576159: Download complete 08:34:44 c6b39de5b339: Pull complete 08:34:45 a69c41024577: Pull complete 08:34:45 d6de4b400683: Verifying Checksum 08:34:45 d6de4b400683: Download complete 08:34:46 00f215d4a9da: Verifying Checksum 08:34:46 00f215d4a9da: Download complete 08:34:58 d6de4b400683: Pull complete 08:34:58 35cb2a7552d0: Pull complete 08:34:58 4f4fb700ef54: Pull complete 08:34:58 464afbd9ba4c: Pull complete 08:35:07 00f215d4a9da: Pull complete 08:35:07 d496ad576159: Pull complete 08:35:07 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 08:35:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 08:35:07 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [Pipeline] fileExists [Pipeline] sh 08:35:08 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 08:35:08 WORKDIR /edgex 08:35:08 COPY go.mod . 08:35:08 RUN go mod download 08:35:08 + docker build -t ci-base-image-arm64 -f - . 08:35:08 Sending build context to Docker daemon 3.004MB 08:35:08 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 08:35:08 ---> f246e2811388 08:35:08 Step 2/4 : WORKDIR /edgex 08:35:10 ---> Running in 63ca9b5f7c40 08:35:11 Removing intermediate container 63ca9b5f7c40 08:35:11 ---> 939aba1070d6 08:35:11 Step 3/4 : COPY go.mod . 08:35:11 ---> 9ed87cb0b130 08:35:11 Step 4/4 : RUN go mod download 08:35:12 ---> Running in bbc3e6262647 08:36:19 Removing intermediate container bbc3e6262647 08:36:19 ---> f9e7223c31c1 08:36:19 Successfully built f9e7223c31c1 08:36:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:20 + docker inspect -f . ci-base-image-arm64 08:36:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:36:20 prd-ubuntu20.04-docker-arm64-4c-16g-279 does not seem to be running inside a container 08:36:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:36:22 $ docker top e806729abb68736233618263af259784c7d690bd7eb91df3b96e873ca6ae1f54 -eo pid,comm [Pipeline] { [Pipeline] sh 08:36:23 + go version 08:36:23 go version go1.21.9 linux/arm64 [Pipeline] } 08:36:23 $ docker stop --time=1 e806729abb68736233618263af259784c7d690bd7eb91df3b96e873ca6ae1f54 08:36:24 $ docker rm -f --volumes e806729abb68736233618263af259784c7d690bd7eb91df3b96e873ca6ae1f54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:25 + docker inspect -f . ci-base-image-arm64 08:36:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:36:25 prd-ubuntu20.04-docker-arm64-4c-16g-279 does not seem to be running inside a container 08:36:25 $ 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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:36:27 $ docker top 4385312cd0e73fe94934ff167c173689df60e20403363d096e4ed3dcb59f7016 -eo pid,comm [Pipeline] { [Pipeline] echo 08:36:27 ========================================================= 08:36:27 [edgeXBuildGoParallel] Running Tests and Build... 08:36:27 ========================================================= [Pipeline] sh 08:36:28 + git config --global --add safe.directory /w/workspace/edgex-go/2 [Pipeline] fileExists [Pipeline] sh 08:36:28 + make test 08:36:28 go test -race -coverprofile=coverage.out ./... 08:37:25 ? github.com/edgexfoundry/edgex-go [no test files] 08:41:47 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 08:41:47 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 08:41:47 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 08:41:47 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 08:41:47 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 08:41:47 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 08:41:47 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 08:41:47 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-auth [no test files] 08:41:47 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 08:41:47 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 08:41:49 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 08:41:49 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 08:41:49 ? github.com/edgexfoundry/edgex-go/internal [no test files] 08:41:49 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 08:42:04 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 08:42:04 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 08:42:04 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 1.324s coverage: 28.7% of statements 08:42:17 --- FAIL: TestAllCommands (0.00s) 08:42:17 panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [recovered] 08:42:17 panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren 08:42:17 08:42:17 goroutine 50 [running]: 08:42:17 testing.tRunner.func1.2({0xaad620, 0xc0005965a0}) 08:42:17 /usr/local/go/src/testing/testing.go:1545 +0x2c8 08:42:17 testing.tRunner.func1() 08:42:17 /usr/local/go/src/testing/testing.go:1548 +0x4c4 08:42:17 panic({0xaad620?, 0xc0005965a0?}) 08:42:17 /usr/local/go/src/runtime/panic.go:920 +0x26c 08:42:17 github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container.DeviceClientFrom(0xc00012c1e0) 08:42:17 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.31/bootstrap/container/clients.go:118 +0xa0 08:42:17 github.com/edgexfoundry/edgex-go/internal/core/command/application.CommandsByDeviceName({0xb9dbe8, 0xb}, 0xc0005063a0) 08:42:17 /w/workspace/edgex-go/2/internal/core/command/application/command.go:72 +0x7c 08:42:17 github.com/edgexfoundry/edgex-go/internal/core/command/controller/http.buildDeviceCoreCommands(_, {{0x0, 0x0}, {0x0, 0x0}, {0xb9dbe8, 0xb}, {0x0, 0x0}, {0x0, ...}, ...}, ...) 08:42:17 /w/workspace/edgex-go/2/internal/core/command/controller/http/command_test.go:97 +0x74c 08:42:17 github.com/edgexfoundry/edgex-go/internal/core/command/controller/http.TestAllCommands(0xc000182820?) 08:42:17 /w/workspace/edgex-go/2/internal/core/command/controller/http/command_test.go:177 +0x480 08:42:17 testing.tRunner(0xc000182820, 0xbed8d0) 08:42:17 /usr/local/go/src/testing/testing.go:1595 +0x1b4 08:42:17 created by testing.(*T).Run in goroutine 1 08:42:17 /usr/local/go/src/testing/testing.go:1648 +0x5ec 08:42:17 FAIL github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.226s 08:42:22 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 08:42:22 ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] 08:42:22 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 08:42:22 --- FAIL: Test_commandQueryHandler (0.01s) 08:42:22 --- FAIL: Test_commandQueryHandler/valid_-_query_all (0.01s) 08:42:22 panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [recovered] 08:42:22 panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren 08:42:22 08:42:22 goroutine 11 [running]: 08:42:22 testing.tRunner.func1.2({0x916ac0, 0xc00050fdd0}) 08:42:22 /usr/local/go/src/testing/testing.go:1545 +0x2c8 08:42:22 testing.tRunner.func1() 08:42:22 /usr/local/go/src/testing/testing.go:1548 +0x4c4 08:42:22 panic({0x916ac0?, 0xc00050fdd0?}) 08:42:22 /usr/local/go/src/runtime/panic.go:920 +0x26c 08:42:22 github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container.DeviceClientFrom(0xc000132d40) 08:42:22 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.31/bootstrap/container/clients.go:118 +0xa0 08:42:22 github.com/edgexfoundry/edgex-go/internal/core/command/application.AllCommands(0x904bc0?, 0xc00050fd40?, 0xc000522460) 08:42:22 /w/workspace/edgex-go/2/internal/core/command/application/command.go:27 +0x64 08:42:22 github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging.getCommandQueryResponseEnvelope({{{0xc0005952ae, 0x2}}, {0x0, 0x0}, {0xc00055e4b0, 0x24}, {0xc00055e4e0, 0x24}, 0x0, {0x0, ...}, ...}, ...) 08:42:22 /w/workspace/edgex-go/2/internal/core/command/controller/messaging/utils.go:91 +0x244 08:42:22 github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging.Test_commandQueryHandler.func5.commandQueryHandler.func1({0xb3d300, 0xc00059a2d0}, {0xb3bfc8, 0xc00059a230}) 08:42:22 /w/workspace/edgex-go/2/internal/core/command/controller/messaging/external.go:83 +0x674 08:42:22 github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging.Test_commandQueryHandler.func5(0x0?) 08:42:22 /w/workspace/edgex-go/2/internal/core/command/controller/messaging/external_test.go:225 +0x5cc 08:42:22 testing.tRunner(0xc0005009c0, 0xc000522480) 08:42:22 /usr/local/go/src/testing/testing.go:1595 +0x1b4 08:42:22 created by testing.(*T).Run in goroutine 10 08:42:22 /usr/local/go/src/testing/testing.go:1648 +0x5ec 08:42:22 FAIL github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 0.293s 08:42:30 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 08:42:30 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 08:42:32 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 1.392s coverage: 53.2% of statements 08:42:40 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 08:42:40 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 08:42:40 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 08:42:40 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 08:42:40 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 08:42:52 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 08:42:52 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 08:43:02 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 22.086s coverage: 93.4% of statements 08:43:02 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 1.501s coverage: 6.1% of statements 08:43:11 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 08:43:11 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 08:43:11 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 08:43:12 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 08:43:12 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 08:43:12 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 08:43:12 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 08:43:12 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 08:43:12 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 08:43:12 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 08:43:13 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 3.533s coverage: 97.6% of statements 08:43:13 ok github.com/edgexfoundry/edgex-go/internal/io 1.253s coverage: 72.2% of statements 08:43:26 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 08:43:26 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 08:43:27 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 1.508s coverage: 0.9% of statements 08:43:27 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 1.298s coverage: 32.2% of statements 08:43:32 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 1.324s coverage: 41.7% of statements 08:43:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 2.283s coverage: 82.9% of statements 08:43:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 1.235s coverage: 94.1% of statements 08:43:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 1.266s coverage: 96.3% of statements 08:43:38 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 1.248s coverage: 87.5% of statements 08:43:39 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 08:43:41 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 08:43:41 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 08:43:41 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 08:43:44 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 08:43:44 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 08:43:44 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 08:43:44 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 08:43:48 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.249s coverage: 94.4% of statements 08:43:50 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 08:43:50 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 08:43:50 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 08:43:50 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 08:44:03 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 08:44:03 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 08:44:03 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 08:44:04 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 25.218s coverage: 79.9% of statements 08:44:04 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 20.281s coverage: 92.9% of statements 08:44:04 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 1.079s coverage: 64.4% of statements 08:44:04 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 7.283s coverage: 62.3% of statements 08:44:05 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 12.226s coverage: 87.2% of statements 08:44:05 ok github.com/edgexfoundry/edgex-go/internal/security/common 1.222s coverage: 20.0% of statements 08:44:05 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 1.203s coverage: 100.0% of statements 08:44:09 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] 08:44:09 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 08:44:09 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 1.505s coverage: 81.8% of statements 08:44:10 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 1.505s coverage: 82.1% of statements 08:44:10 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 1.313s coverage: 86.0% of statements 08:44:17 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 08:44:17 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 08:44:20 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 2.159s coverage: 63.1% of statements 08:44:20 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 1.306s coverage: 100.0% of statements 08:44:21 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 1.116s coverage: 89.4% of statements 08:44:21 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 1.080s coverage: 100.0% of statements 08:44:21 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth [no test files] 08:44:21 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] 08:44:21 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] 08:44:21 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 1.076s coverage: 73.7% of statements 08:44:22 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 1.077s coverage: 100.0% of statements 08:44:31 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 08:44:31 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 08:44:31 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 08:44:31 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 1.903s coverage: 38.4% of statements 08:44:31 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 1.286s coverage: 89.5% of statements 08:44:32 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 08:44:32 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 08:44:32 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 08:44:32 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 08:44:33 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 1.234s coverage: 84.8% of statements 08:44:40 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 08:44:40 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 08:44:40 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 08:44:40 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 08:44:47 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 7.313s coverage: 19.9% of statements 08:44:48 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 08:44:48 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 08:44:48 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 08:44:48 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 08:44:50 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 1.701s coverage: 95.7% of statements 08:44:53 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 08:44:53 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 08:44:54 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 1.293s coverage: 61.8% of statements 08:44:58 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 08:44:58 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 08:44:59 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 1.445s coverage: 98.9% of statements 08:44:59 FAIL 08:45:01 make: *** [Makefile:148: unittest] Error 1 [Pipeline] } 08:45:01 $ docker stop --time=1 4385312cd0e73fe94934ff167c173689df60e20403363d096e4ed3dcb59f7016 08:45:03 $ docker rm -f --volumes 4385312cd0e73fe94934ff167c173689df60e20403363d096e4ed3dcb59f7016 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:45:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:45:05 08:45:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:45:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:45:06 arm64: Pulling from edgex-lftools-log-publisher 08:45:06 8998bd30e6a1: Pulling fs layer 08:45:06 04944245beec: Pulling fs layer 08:45:06 699f458cf7ca: Pulling fs layer 08:45:06 765212b225bb: Pulling fs layer 08:45:06 f23df028b6ca: Pulling fs layer 08:45:06 765212b225bb: Waiting 08:45:06 f23df028b6ca: Waiting 08:45:06 d65c8cfc05b1: Pulling fs layer 08:45:06 2437ff75d9bd: Pulling fs layer 08:45:06 2437ff75d9bd: Waiting 08:45:06 04944245beec: Verifying Checksum 08:45:06 04944245beec: Download complete 08:45:06 765212b225bb: Verifying Checksum 08:45:06 765212b225bb: Download complete 08:45:06 f23df028b6ca: Verifying Checksum 08:45:06 f23df028b6ca: Download complete 08:45:06 d65c8cfc05b1: Verifying Checksum 08:45:06 d65c8cfc05b1: Download complete 08:45:06 699f458cf7ca: Verifying Checksum 08:45:06 699f458cf7ca: Download complete 08:45:07 8998bd30e6a1: Download complete 08:45:09 2437ff75d9bd: Verifying Checksum 08:45:09 2437ff75d9bd: Download complete 08:45:11 8998bd30e6a1: Pull complete 08:45:12 04944245beec: Pull complete 08:45:13 699f458cf7ca: Pull complete 08:45:13 765212b225bb: Pull complete 08:45:14 f23df028b6ca: Pull complete 08:45:15 d65c8cfc05b1: Pull complete 08:45:33 2437ff75d9bd: Pull complete 08:45:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:45:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:45:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:45:33 prd-ubuntu20.04-docker-arm64-4c-16g-279 does not seem to be running inside a container 08:45:33 $ 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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:45:36 $ docker top a566c5ee35694465758d728d2b640912506a1a8425f063ef036009d5a0b9f400 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:45:37 ---> job-cost.sh 08:45:37 lf-activate-venv: SKIPPING 08:45:37 INFO: No Stack... 08:45:38 INFO: Retrieving Pricing Info for: v3-standard-4 08:45:39 INFO: Archiving Costs [Pipeline] sh 08:45:39 + cat /w/workspace/edgex-go/2/archives/cost.csv 08:45:39 + cut -d, -f6 [Pipeline] lock 08:45:39 Trying to acquire lock on [Resource: jenkins-edgexfoundry-edgex-go-PR-4795-2-stack-cost] 08:45:39 Resource [jenkins-edgexfoundry-edgex-go-PR-4795-2-stack-cost] did not exist. Created. 08:45:39 Lock acquired on [Resource: jenkins-edgexfoundry-edgex-go-PR-4795-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:45:40 + echo total: 0.10999999940395355 [Pipeline] stash 08:45:41 Stashed 1 file(s) [Pipeline] } 08:45:41 Lock released on resource [Resource: jenkins-edgexfoundry-edgex-go-PR-4795-2-stack-cost] [Pipeline] // lock [Pipeline] } 08:45:41 $ docker stop --time=1 a566c5ee35694465758d728d2b640912506a1a8425f063ef036009d5a0b9f400 08:45:42 $ docker rm -f --volumes a566c5ee35694465758d728d2b640912506a1a8425f063ef036009d5a0b9f400 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:45:42 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 08:45:43 + [ -d /w/workspace/edgex-go/2/archives ] [Pipeline] libraryResource [Pipeline] sh 08:45:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:45:44 ---> package-listing.sh 08:45:44 ++ facter osfamily 08:45:44 ++ tr '[:upper:]' '[:lower:]' 08:45:45 + OS_FAMILY=debian 08:45:45 + workspace=/w/workspace/edgex-go/2 08:45:45 + START_PACKAGES=/tmp/packages_start.txt 08:45:45 + END_PACKAGES=/tmp/packages_end.txt 08:45:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:45:45 + PACKAGES=/tmp/packages_start.txt 08:45:45 + '[' /w/workspace/edgex-go/2 ']' 08:45:45 + PACKAGES=/tmp/packages_end.txt 08:45:45 + case "${OS_FAMILY}" in 08:45:45 + dpkg -l 08:45:45 + grep '^ii' 08:45:45 + '[' -f /tmp/packages_start.txt ']' 08:45:45 + '[' -f /tmp/packages_end.txt ']' 08:45:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:45:45 + '[' /w/workspace/edgex-go/2 ']' 08:45:45 + mkdir -p /w/workspace/edgex-go/2/archives/ 08:45:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo 08:45:45 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/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:45:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:45:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:45:46 08:45:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:45:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:45:46 latest: Pulling from edgex-lftools-log-publisher 08:45:46 5eb5b503b376: Pulling fs layer 08:45:46 5c69ac0246d0: Pulling fs layer 08:45:46 ec43610c2a17: Pulling fs layer 08:45:46 3a2ae6a8a46f: Pulling fs layer 08:45:46 33b1e0a273af: Pulling fs layer 08:45:46 5d3b04190fa2: Pulling fs layer 08:45:46 2f39f015ded8: Pulling fs layer 08:45:46 3a2ae6a8a46f: Waiting 08:45:46 33b1e0a273af: Waiting 08:45:46 5d3b04190fa2: Waiting 08:45:46 2f39f015ded8: Waiting 08:45:46 5c69ac0246d0: Verifying Checksum 08:45:46 5c69ac0246d0: Download complete 08:45:46 3a2ae6a8a46f: Download complete 08:45:46 33b1e0a273af: Verifying Checksum 08:45:46 33b1e0a273af: Download complete 08:45:46 5d3b04190fa2: Download complete 08:45:46 ec43610c2a17: Verifying Checksum 08:45:46 ec43610c2a17: Download complete 08:45:46 5eb5b503b376: Verifying Checksum 08:45:46 5eb5b503b376: Download complete 08:45:47 2f39f015ded8: Verifying Checksum 08:45:47 2f39f015ded8: Download complete 08:45:47 5eb5b503b376: Pull complete 08:45:47 5c69ac0246d0: Pull complete 08:45:48 ec43610c2a17: Pull complete 08:45:48 3a2ae6a8a46f: Pull complete 08:45:48 33b1e0a273af: Pull complete 08:45:48 5d3b04190fa2: Pull complete 08:45:52 2f39f015ded8: Pull complete 08:45:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:45:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:45:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:45:52 prd-ubuntu20.04-docker-8c-8g-273 does not seem to be running inside a container 08:45:52 $ 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/2/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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 08:45:53 $ docker top 6d9b066f554da9e409d0d806520820f1e3b2d557bd827136333d932f21cebdbd -eo pid,comm [Pipeline] { [Pipeline] sh 08:45:54 + touch /tmp/pre-build-complete [Pipeline] sh 08:45:54 + mkdir -p /var/log/sysstat [Pipeline] sh 08:45:54 + ls /var/log/sa-host 08:45:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:45:54 provisioning config files... 08:45:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config2127264323071498990tmp [Pipeline] { [Pipeline] echo 08:45:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:45:55 ---> create-netrc.sh [Pipeline] } 08:45:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:45:55 ---> python-tools-install.sh [Pipeline] echo 08:45:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:45:55 ---> sudo-logs.sh 08:45:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:45:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:45:56 ---> job-cost.sh 08:45:56 lf-activate-venv: SKIPPING 08:45:56 DEBUG: total: 0.10999999940395355 08:45:56 INFO: Retrieving Stack Cost... 08:45:56 INFO: Retrieving Pricing Info for: v3-standard-8 08:45:56 INFO: Archiving Costs [Pipeline] echo 08:45:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:45:57 ---> logs-deploy.sh 08:45:57 lf-activate-venv: SKIPPING 08:45:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4795/2 08:45:57 INFO: archiving workspace using pattern(s): 08:45:58 Archives upload complete. 08:45:58 INFO: archiving logs to Nexus