Pull request #4234 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/edgex-go Obtained Jenkinsfile from 821e5311ec82ee2e1f34b59836c757058f298013+a73500d17d161fb3a8a62f1ec070ca3e773c52e6 (54abb668642662b0980ec3c6c378ea0b004bc5a2) 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-ssh13070873689406613483.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh7132987021264941241.key Verifying host key using known hosts file > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4234/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4234/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16294050042896767405.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4234/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4963931469690263534.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9459470045913742982.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4234/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4234/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16537700811772925611.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2], buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: DOCKER_IMAGE_NAME_SUFFIX: DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-119258 in /w/workspace/edgexfoundry_edgex-go_PR-4234 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/1 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4234/head:refs/remotes/origin/PR-4234 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a73500d17d161fb3a8a62f1ec070ca3e773c52e6 into PR head commit 821e5311ec82ee2e1f34b59836c757058f298013 Merge succeeded, producing 821e5311ec82ee2e1f34b59836c757058f298013 Checking out Revision 821e5311ec82ee2e1f34b59836c757058f298013 (PR-4234) > git config core.sparsecheckout # timeout=10 > git checkout -f 821e5311ec82ee2e1f34b59836c757058f298013 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge a73500d17d161fb3a8a62f1ec070ca3e773c52e6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 821e5311ec82ee2e1f34b59836c757058f298013 # timeout=10 Commit message: "feat: Remove ZeroMQ MessaegBus capability" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:29:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:29:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:29:52 ========================================================= 00:29:52 EdgeX Global Pipelines Version Info 00:29:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:29:53 ------------------- 00:29:53 stable info: 00:29:53 ------------------- 00:29:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:29:53 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 00:29:53 Message: update stable to v1.0.244 00:29:54 ------------------- 00:29:54 experimental info: 00:29:54 ------------------- 00:29:54 Commited By: **** collab-it+edgex@linuxfoundation.org 00:29:54 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 00:29:54 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:29:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 00:29:54 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 00:29:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:29:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:29:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:29:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 00:29:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:29:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 00:29:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 00:29:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 00:29:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:29:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:29:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:29:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:29:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:29:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:29:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:29:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:29:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:29:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 00:29:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:29:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:29:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:29:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4234 [Pipeline] echo 00:29:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4234 [Pipeline] echo 00:29:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4234 [Pipeline] echo 00:29:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 821e5311ec82ee2e1f34b59836c757058f298013 [Pipeline] echo 00:29:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 821e531 [Pipeline] echo 00:29:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:29:55 provisioning config files... 00:29:55 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config10786507110174291692tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:29:55 ---> docker-login.sh 00:29:55 nexus3.edgexfoundry.org:10001 00:29:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:29:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:29:56 Configure a credential helper to remove this warning. See 00:29:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:29:56 00:29:56 Login Succeeded 00:29:56 nexus3.edgexfoundry.org:10002 00:29:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:29:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:29:56 Configure a credential helper to remove this warning. See 00:29:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:29:56 00:29:56 Login Succeeded 00:29:56 nexus3.edgexfoundry.org:10003 00:29:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:29:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:29:56 Configure a credential helper to remove this warning. See 00:29:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:29:56 00:29:56 Login Succeeded 00:29:56 nexus3.edgexfoundry.org:10004 00:29:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:29:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:29:56 Configure a credential helper to remove this warning. See 00:29:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:29:56 00:29:56 Login Succeeded 00:29:56 docker.io 00:29:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:29:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:29:57 Configure a credential helper to remove this warning. See 00:29:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:29:57 00:29:57 Login Succeeded 00:29:57 ---> docker-login.sh ends [Pipeline] } 00:29:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:29:57 + ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/security-spiffe-token-provider/Dockerfile cmd/security-spire-agent/Dockerfile cmd/security-spire-config/Dockerfile cmd/security-spire-server/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile 00:29:57 + dirname cmd/core-command/Dockerfile 00:29:57 + cut -d/ -f2 00:29:57 + echo core-command,cmd/core-command/Dockerfile 00:29:57 + dirname cmd/core-data/Dockerfile 00:29:57 + cut -d/ -f2 00:29:57 + echo core-data,cmd/core-data/Dockerfile 00:29:57 + + dirname cmd/core-metadata/Dockerfile 00:29:57 cut -d/ -f2 00:29:57 + echo core-metadata,cmd/core-metadata/Dockerfile 00:29:57 + dirname cmd/security-bootstrapper/Dockerfile 00:29:57 + cut -d/ -f2 00:29:57 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 00:29:57 + + cut -d/ -f2dirname 00:29:57 cmd/security-proxy-setup/Dockerfile 00:29:57 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 00:29:57 + dirname cmd/security-secretstore-setup/Dockerfile 00:29:57 + cut -d/ -f2 00:29:57 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 00:29:57 + dirname cmd/security-spiffe-token-provider/Dockerfile 00:29:57 + cut -d/ -f2 00:29:57 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 00:29:57 + dirname cmd/security-spire-agent/Dockerfile 00:29:57 + cut -d/ -f2 00:29:57 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 00:29:57 + dirname cmd/security-spire-config/Dockerfile 00:29:57 + cut -d/ -f2 00:29:57 + echo security-spire-config,cmd/security-spire-config/Dockerfile 00:29:57 + dirname cmd/security-spire-server/Dockerfile 00:29:57 + cut -d/ -f2 00:29:57 + echo security-spire-server,cmd/security-spire-server/Dockerfile 00:29:57 + dirname cmd/support-notifications/Dockerfile 00:29:57 + cut -d/ -f2 00:29:57 + echo support-notifications,cmd/support-notifications/Dockerfile 00:29:57 + dirname cmd/support-scheduler/Dockerfile 00:29:57 + cut -d/ -f2 00:29:57 + echo support-scheduler,cmd/support-scheduler/Dockerfile 00:29:57 + dirname cmd/sys-mgmt-agent/Dockerfile 00:29:57 + cut -d/ -f2 00:29:57 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 00:29:57 Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/Dockerfile], [image:core-data, dockerfile:cmd/core-data/Dockerfile], [image:core-metadata, dockerfile:cmd/core-metadata/Dockerfile], [image:security-bootstrapper, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:security-proxy-setup, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:security-secretstore-setup, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:security-spiffe-token-provider, dockerfile:cmd/security-spiffe-token-provider/Dockerfile], [image:security-spire-agent, dockerfile:cmd/security-spire-agent/Dockerfile], [image:security-spire-config, dockerfile:cmd/security-spire-config/Dockerfile], [image:security-spire-server, dockerfile:cmd/security-spire-server/Dockerfile], [image:support-notifications, dockerfile:cmd/support-notifications/Dockerfile], [image:support-scheduler, dockerfile:cmd/support-scheduler/Dockerfile], [image:sys-mgmt-agent, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:29:58 + git rev-list -1 --merges 821e5311ec82ee2e1f34b59836c757058f298013~1..821e5311ec82ee2e1f34b59836c757058f298013 [Pipeline] echo 00:29:58 -----------> git rev-list -1 --merges 821e5311ec82ee2e1f34b59836c757058f298013~1..821e5311ec82ee2e1f34b59836c757058f298013 821e5311ec82ee2e1f34b59836c757058f298013 [false] [Pipeline] sh 00:29:58 + git log --format=format:%s -1 821e5311ec82ee2e1f34b59836c757058f298013 [Pipeline] echo 00:29:58 ========================================================= 00:29:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:29:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 00:29:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:29:59 + grep -v github /etc/ssh/ssh_known_hosts 00:29:59 + [ -e /tmp/ssh_known_hosts ] 00:29:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:29:59 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:29:59 + sudo tee -a /etc/ssh/ssh_known_hosts 00:29:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:29:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:29:59 00:29:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:30:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:30:00 0.1.4: Pulling from edgex-devops/py-git-semver 00:30:00 b85a868b505f: Pulling fs layer 00:30:00 e2be974225ed: Pulling fs layer 00:30:00 339a4e72a1f5: Pulling fs layer 00:30:00 988bab9f4d93: Pulling fs layer 00:30:00 1469e6f7b9e6: Pulling fs layer 00:30:00 eaf3925da568: Pulling fs layer 00:30:00 bab4dde63d76: Pulling fs layer 00:30:00 bde34c3a00c8: Pulling fs layer 00:30:00 b352a97aabf1: Pulling fs layer 00:30:00 4872d77fe225: Pulling fs layer 00:30:00 5851b861e8e6: Pulling fs layer 00:30:00 bab4dde63d76: Waiting 00:30:00 bde34c3a00c8: Waiting 00:30:00 b352a97aabf1: Waiting 00:30:00 988bab9f4d93: Waiting 00:30:00 4872d77fe225: Waiting 00:30:00 5851b861e8e6: Waiting 00:30:00 1469e6f7b9e6: Waiting 00:30:00 eaf3925da568: Waiting 00:30:00 e2be974225ed: Download complete 00:30:00 988bab9f4d93: Download complete 00:30:00 1469e6f7b9e6: Verifying Checksum 00:30:00 1469e6f7b9e6: Download complete 00:30:00 eaf3925da568: Verifying Checksum 00:30:00 eaf3925da568: Download complete 00:30:00 339a4e72a1f5: Verifying Checksum 00:30:00 339a4e72a1f5: Download complete 00:30:00 bde34c3a00c8: Download complete 00:30:00 b352a97aabf1: Download complete 00:30:00 4872d77fe225: Verifying Checksum 00:30:00 4872d77fe225: Download complete 00:30:00 5851b861e8e6: Verifying Checksum 00:30:00 5851b861e8e6: Download complete 00:30:00 b85a868b505f: Verifying Checksum 00:30:00 b85a868b505f: Download complete 00:30:00 bab4dde63d76: Verifying Checksum 00:30:00 bab4dde63d76: Download complete 00:30:01 b85a868b505f: Pull complete 00:30:01 e2be974225ed: Pull complete 00:30:02 339a4e72a1f5: Pull complete 00:30:02 988bab9f4d93: Pull complete 00:30:02 1469e6f7b9e6: Pull complete 00:30:02 eaf3925da568: Pull complete 00:30:04 bab4dde63d76: Pull complete 00:30:04 bde34c3a00c8: Pull complete 00:30:04 b352a97aabf1: Pull complete 00:30:04 4872d77fe225: Pull complete 00:30:04 5851b861e8e6: Pull complete 00:30:04 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:30:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:30:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:30:05 prd-ubuntu20.04-docker-8c-8g-119258 does not seem to be running inside a container 00:30:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:30:06 $ docker top f976accbce58535374c23345ad6dca5ee4965062e0765587713fef188c085757 -eo pid,comm 00:30:07 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). 00:30:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:30:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:30:07 [ssh-agent] Looking for ssh-agent implementation... 00:30:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:30:07 $ docker exec f976accbce58535374c23345ad6dca5ee4965062e0765587713fef188c085757 ssh-agent 00:30:07 SSH_AUTH_SOCK=/tmp/ssh-YeWfKCEI2Ped/agent.32 00:30:07 SSH_AGENT_PID=38 00:30:07 Running ssh-add (command line suppressed) 00:30:07 Identity added: /w/workspace/edgex-go/1@tmp/private_key_18169534560896068784.key (/w/workspace/edgex-go/1@tmp/private_key_18169534560896068784.key) 00:30:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:30:07 + git tag --points-at HEAD [Pipeline] } 00:30:07 $ docker exec --env ******** --env ******** f976accbce58535374c23345ad6dca5ee4965062e0765587713fef188c085757 ssh-agent -k 00:30:08 unset SSH_AUTH_SOCK; 00:30:08 unset SSH_AGENT_PID; 00:30:08 echo Agent pid 38 killed; 00:30:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:30:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:30:08 [ssh-agent] Looking for ssh-agent implementation... 00:30:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:30:08 $ docker exec f976accbce58535374c23345ad6dca5ee4965062e0765587713fef188c085757 ssh-agent 00:30:08 SSH_AUTH_SOCK=/tmp/ssh-k7OZYzvpffMx/agent.70 00:30:08 SSH_AGENT_PID=76 00:30:08 Running ssh-add (command line suppressed) 00:30:08 Identity added: /w/workspace/edgex-go/1@tmp/private_key_1910971573599877437.key (/w/workspace/edgex-go/1@tmp/private_key_1910971573599877437.key) 00:30:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:30:08 + git semver init 00:30:09 2022-11-15 00:30:09,074 [run_init] DEBUG init version:0.0.0 force:False 00:30:09 2022-11-15 00:30:09,076 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/1/.semver 00:30:09 2022-11-15 00:30:09,076 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/1/.semver 00:30:09 2022-11-15 00:30:09,077 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/edgex-go.git', '/w/workspace/edgex-go/1/.semver'], cwd=/w/workspace/edgex-go/1, universal_newlines=False, shell=None, istream=None) 00:30:14 2022-11-15 00:30:14,099 [append_file] DEBUG append to file:/w/workspace/edgex-go/1/.git/info/exclude 00:30:14 2022-11-15 00:30:14,099 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/1/.semver/PR-4234 with force:False 00:30:14 2022-11-15 00:30:14,099 [write_file] DEBUG write to file:/w/workspace/edgex-go/1/.semver/PR-4234 00:30:14 2022-11-15 00:30:14,104 [execute] INFO git cat-file --batch-check 00:30:14 2022-11-15 00:30:14,104 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 00:30:14 2022-11-15 00:30:14,111 [execute] INFO git cat-file --batch 00:30:14 2022-11-15 00:30:14,111 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 00:30:14 2022-11-15 00:30:14,117 [read_version] DEBUG read version from /w/workspace/edgex-go/1/.semver/PR-4234 00:30:14 0.0.0 [Pipeline] } 00:30:14 $ docker exec --env ******** --env ******** f976accbce58535374c23345ad6dca5ee4965062e0765587713fef188c085757 ssh-agent -k 00:30:14 unset SSH_AUTH_SOCK; 00:30:14 unset SSH_AGENT_PID; 00:30:14 echo Agent pid 76 killed; 00:30:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:30:15 + git semver [Pipeline] } 00:30:15 $ docker stop --time=1 f976accbce58535374c23345ad6dca5ee4965062e0765587713fef188c085757 00:30:16 $ docker rm -f f976accbce58535374c23345ad6dca5ee4965062e0765587713fef188c085757 [Pipeline] // withDockerContainer [Pipeline] sh 00:30:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:30:17 Stashed 1 file(s) [Pipeline] echo 00:30:17 [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 00:30:18 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo 00:30:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:30:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:30:18 ========================================================= 00:30:18 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 00:30:18 ========================================================= [Pipeline] fileExists [Pipeline] sh 00:30:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:30:18 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 00:30:18 213ec9aee27d: Pulling fs layer 00:30:18 4583459ba037: Pulling fs layer 00:30:18 93c1e223e6f2: Pulling fs layer 00:30:18 53926ce57604: Pulling fs layer 00:30:18 21b2b0c7a3f4: Pulling fs layer 00:30:18 22ff95d597cd: Pulling fs layer 00:30:18 12d6caf4c0d1: Pulling fs layer 00:30:18 96b7cbca73a9: Pulling fs layer 00:30:18 53926ce57604: Waiting 00:30:18 a7acece74701: Pulling fs layer 00:30:18 21b2b0c7a3f4: Waiting 00:30:18 22ff95d597cd: Waiting 00:30:18 12d6caf4c0d1: Waiting 00:30:18 96b7cbca73a9: Waiting 00:30:18 a7acece74701: Waiting 00:30:18 93c1e223e6f2: Verifying Checksum 00:30:18 93c1e223e6f2: Download complete 00:30:18 4583459ba037: Download complete 00:30:18 21b2b0c7a3f4: Download complete 00:30:18 22ff95d597cd: Verifying Checksum 00:30:18 22ff95d597cd: Download complete 00:30:18 213ec9aee27d: Verifying Checksum 00:30:18 213ec9aee27d: Download complete 00:30:18 12d6caf4c0d1: Download complete 00:30:18 213ec9aee27d: Pull complete 00:30:18 4583459ba037: Pull complete 00:30:19 93c1e223e6f2: Pull complete 00:30:19 a7acece74701: Verifying Checksum 00:30:19 a7acece74701: Download complete 00:30:19 96b7cbca73a9: Verifying Checksum 00:30:19 96b7cbca73a9: Download complete 00:30:19 53926ce57604: Verifying Checksum 00:30:19 53926ce57604: Download complete 00:30:23 53926ce57604: Pull complete 00:30:23 21b2b0c7a3f4: Pull complete 00:30:23 22ff95d597cd: Pull complete 00:30:23 12d6caf4c0d1: Pull complete 00:30:26 96b7cbca73a9: Pull complete 00:30:26 a7acece74701: Pull complete 00:30:26 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 00:30:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:30:26 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] fileExists [Pipeline] sh 00:30:27 + + docker buildecho -t FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:30:27 WORKDIR /edgex 00:30:27 COPY go.mod . 00:30:27 RUN go mod download ci-base-image-x86_64 00:30:27 -f - . 00:30:27 Sending build context to Docker daemon 169.8MB 00:30:27 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:30:27 ---> db6d94c90886 00:30:27 Step 2/4 : WORKDIR /edgex 00:30:30 ---> Running in e2f15f3a5269 00:30:30 Removing intermediate container e2f15f3a5269 00:30:30 ---> 6aeba2c5307a 00:30:30 Step 3/4 : COPY go.mod . 00:30:30 ---> 0bff4fb22396 00:30:30 Step 4/4 : RUN go mod download 00:30:30 ---> Running in 9a56a033444d 00:30:32 Still waiting to schedule task 00:30:32 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-119256’ 00:30:45 Removing intermediate container 9a56a033444d 00:30:45 ---> 47868c3e5d2b 00:30:45 Successfully built 47868c3e5d2b 00:30:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:30:45 + docker inspect -f . ci-base-image-x86_64 00:30:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:30:45 prd-ubuntu20.04-docker-8c-8g-119258 does not seem to be running inside a container 00:30:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:30:46 $ docker top 767f3de204388751ceaaeec23c4b4ced1a4eefbe5f6344ff0b54cce6b065ff6b -eo pid,comm [Pipeline] { [Pipeline] sh 00:30:46 + go version 00:30:46 go version go1.18.7 linux/amd64 [Pipeline] } 00:30:46 $ docker stop --time=1 767f3de204388751ceaaeec23c4b4ced1a4eefbe5f6344ff0b54cce6b065ff6b 00:30:48 $ docker rm -f 767f3de204388751ceaaeec23c4b4ced1a4eefbe5f6344ff0b54cce6b065ff6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:30:48 + docker inspect -f . ci-base-image-x86_64 00:30:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:30:48 prd-ubuntu20.04-docker-8c-8g-119258 does not seem to be running inside a container 00:30:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:30:49 $ docker top 7d1121fff2e6e31fc9e274c226399760bdf556b4822e031e92f6ef9a578f698c -eo pid,comm [Pipeline] { [Pipeline] echo 00:30:49 ========================================================= 00:30:49 [edgeXBuildGoParallel] Running Tests and Build... 00:30:49 ========================================================= [Pipeline] sh 00:30:49 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh 00:30:50 + make test 00:30:50 go test -race -coverprofile=coverage.out ./... 00:30:56 ? github.com/edgexfoundry/edgex-go [no test files] 00:31:11 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 00:31:11 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 00:31:11 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 00:31:11 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 00:31:11 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 00:31:11 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 00:31:11 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 00:31:11 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 00:31:11 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 00:31:11 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 00:31:11 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 00:31:11 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 00:31:11 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 00:31:11 ? github.com/edgexfoundry/edgex-go/internal [no test files] 00:31:11 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 00:31:12 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.048s coverage: 28.7% of statements 00:31:12 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 00:31:12 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 00:31:12 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.103s coverage: 98.5% of statements 00:31:12 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 0.086s coverage: 43.0% of statements 00:31:12 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 00:31:12 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 00:31:13 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.122s coverage: 54.2% of statements 00:31:13 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 00:31:13 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 00:31:13 panic: runtime error: invalid memory address or nil pointer dereference 00:31:13 [signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0xdd9443] 00:31:13 00:31:13 goroutine 18 [running]: 00:31:13 github.com/edgexfoundry/edgex-go/internal/core/data/application.(*CoreDataApp).PublishEvent(0x0?, {0xc000146000, 0x1be, 0x200}, {0x1046f88, 0x15}, {0x103ec38, 0xa}, {0x1041afd, 0xe}, ...) 00:31:13 /w/workspace/edgex-go/1/internal/core/data/application/event.go:86 +0x583 00:31:13 created by github.com/edgexfoundry/edgex-go/internal/core/data/controller/http.(*EventController).AddEvent 00:31:13 /w/workspace/edgex-go/1/internal/core/data/controller/http/event.go:98 +0x97f 00:31:13 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.073s 00:31:13 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 00:31:13 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 00:31:13 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 00:31:13 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 00:31:13 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 00:31:13 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.094s coverage: 2.2% of statements 00:31:13 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 00:31:13 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 00:31:14 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.542s coverage: 95.6% of statements 00:31:14 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 00:31:14 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 00:31:14 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 00:31:14 ok github.com/edgexfoundry/edgex-go/internal/io 0.092s coverage: 72.2% of statements 00:31:14 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 00:31:14 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 00:31:14 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 00:31:14 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 00:31:14 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 00:31:14 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.063s coverage: 60.0% of statements 00:31:14 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 00:31:14 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 00:31:14 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 00:31:14 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.080s coverage: 0.9% of statements 00:31:14 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 00:31:14 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.060s coverage: 58.8% of statements 00:31:14 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.093s coverage: 29.6% of statements 00:31:14 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 00:31:14 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.066s coverage: 47.1% of statements 00:31:14 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.078s coverage: 79.5% of statements 00:31:14 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.067s coverage: 94.1% of statements 00:31:14 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.076s coverage: 96.3% of statements 00:31:14 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.045s coverage: 87.5% of statements 00:31:22 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.075s coverage: 94.4% of statements 00:31:22 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.054s coverage: 44.8% of statements 00:31:28 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.246s coverage: 79.9% of statements 00:31:28 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 00:31:36 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.095s coverage: 92.9% of statements 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 00:31:36 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.027s coverage: 65.1% of statements 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 00:31:36 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.091s coverage: 86.9% of statements 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 00:31:36 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.074s coverage: 87.2% of statements 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 00:31:36 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.065s coverage: 100.0% of statements 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 00:31:36 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.087s coverage: 58.8% of statements 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 00:31:36 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.098s coverage: 80.0% of statements 00:31:36 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.066s coverage: 87.2% of statements 00:31:36 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.091s coverage: 85.4% of statements 00:31:36 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.239s coverage: 91.2% of statements 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 00:31:36 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.194s coverage: 64.7% of statements 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 00:31:36 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.065s coverage: 100.0% of statements 00:31:36 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.033s coverage: 89.4% of statements 00:31:36 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.021s coverage: 100.0% of statements 00:31:36 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.037s coverage: 73.7% of statements 00:31:36 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.033s coverage: 100.0% of statements 00:31:36 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.351s coverage: 65.8% of statements 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 00:31:36 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.179s coverage: 41.8% of statements 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 00:31:36 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.078s coverage: 89.5% of statements 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 00:31:36 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.057s coverage: 84.8% of statements 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 00:31:36 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.079s coverage: 17.7% of statements 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 00:31:36 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.160s coverage: 92.3% of statements 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 00:31:36 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.054s coverage: 63.2% of statements 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 00:31:36 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.109s coverage: 97.7% of statements 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] 00:31:36 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.067s coverage: 28.9% of statements 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] 00:31:36 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 00:31:36 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.052s coverage: 100.0% of statements 00:31:36 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.034s coverage: 96.9% of statements 00:31:36 FAIL 00:31:36 make: *** [Makefile:146: unittest] Error 1 [Pipeline] } 00:31:36 $ docker stop --time=1 7d1121fff2e6e31fc9e274c226399760bdf556b4822e031e92f6ef9a578f698c 00:31:38 $ docker rm -f 7d1121fff2e6e31fc9e274c226399760bdf556b4822e031e92f6ef9a578f698c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:31:39 Failed in branch amd64 00:33:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-119260 in /w/workspace/edgexfoundry_edgex-go_PR-4234 [Pipeline] { [Pipeline] ws 00:33:56 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout 00:33:56 The recommended git tool is: git 00:34:02 using credential edgex-jenkins-ssh 00:34:02 Cloning the remote Git repository 00:34:02 Cloning repository git@github.com:edgexfoundry/edgex-go.git 00:34:02 > git init /w/workspace/edgex-go/1 # timeout=10 00:34:02 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 00:34:02 > git --version # timeout=10 00:34:02 > git --version # 'git version 2.25.1' 00:34:02 using GIT_SSH to set credentials SSH Credentials for GitHub 00:34:02 Verifying host key using known hosts file 00:34:02 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 00:34:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:34:19 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 00:34:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:34:20 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 00:34:20 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 00:34:20 using GIT_SSH to set credentials SSH Credentials for GitHub 00:34:20 Verifying host key using known hosts file 00:34:20 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 00:34:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4234/head:refs/remotes/origin/PR-4234 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:34:21 Merging remotes/origin/main commit a73500d17d161fb3a8a62f1ec070ca3e773c52e6 into PR head commit 821e5311ec82ee2e1f34b59836c757058f298013 00:34:21 Merge succeeded, producing 821e5311ec82ee2e1f34b59836c757058f298013 00:34:21 Checking out Revision 821e5311ec82ee2e1f34b59836c757058f298013 (PR-4234) 00:34:21 > git config core.sparsecheckout # timeout=10 00:34:21 > git checkout -f 821e5311ec82ee2e1f34b59836c757058f298013 # timeout=10 00:34:21 > git remote # timeout=10 00:34:21 > git config --get remote.origin.url # timeout=10 00:34:21 using GIT_SSH to set credentials SSH Credentials for GitHub 00:34:21 Verifying host key using known hosts file 00:34:21 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 00:34:21 > git merge a73500d17d161fb3a8a62f1ec070ca3e773c52e6 # timeout=10 00:34:21 > git rev-parse HEAD^{commit} # timeout=10 00:34:21 > git config core.sparsecheckout # timeout=10 00:34:21 > git checkout -f 821e5311ec82ee2e1f34b59836c757058f298013 # timeout=10 00:34:25 Commit message: "feat: Remove ZeroMQ MessaegBus capability" 00:34:25 > git --version # timeout=10 00:34:25 > git --version # 'git version 2.25.1' 00:34:25 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:34:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:34:26 % Total % Received % Xferd Average Speed Time Time Time Current 00:34:26 Dload Upload Total Spent Left Speed 00:34:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 72011 0 --:--:-- --:--:-- --:--:-- 72011 [Pipeline] sh 00:34:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:34:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:34:27 + sudo tee /etc/docker/daemon.new 00:34:27 { 00:34:27 "registry-mirrors": [ 00:34:27 "https://nexus3.edgexfoundry.org:10001" 00:34:27 ], 00:34:27 "bip": "10.250.0.254/24", 00:34:27 "hosts": [ 00:34:27 "tcp://0.0.0.0:5555", 00:34:27 "unix:///var/run/docker.sock" 00:34:27 ], 00:34:27 "mtu": 1458, 00:34:27 "selinux-enabled": true, 00:34:27 "seccomp-profile": "/etc/docker/seccomp.json" 00:34:27 } [Pipeline] sh 00:34:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:34:28 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:34:46 provisioning config files... 00:34:46 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config9890173158562341396tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:34:47 ---> docker-login.sh 00:34:47 nexus3.edgexfoundry.org:10001 00:34:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:47 Configure a credential helper to remove this warning. See 00:34:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:47 00:34:47 Login Succeeded 00:34:47 nexus3.edgexfoundry.org:10002 00:34:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:48 Configure a credential helper to remove this warning. See 00:34:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:48 00:34:48 Login Succeeded 00:34:48 nexus3.edgexfoundry.org:10003 00:34:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:48 Configure a credential helper to remove this warning. See 00:34:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:48 00:34:48 Login Succeeded 00:34:48 nexus3.edgexfoundry.org:10004 00:34:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:48 Configure a credential helper to remove this warning. See 00:34:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:48 00:34:48 Login Succeeded 00:34:48 docker.io 00:34:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:49 Configure a credential helper to remove this warning. See 00:34:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:49 00:34:49 Login Succeeded 00:34:49 ---> docker-login.sh ends [Pipeline] } 00:34:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh 00:34:50 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo 00:34:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:34:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:34:50 ========================================================= 00:34:50 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 00:34:50 ========================================================= [Pipeline] fileExists [Pipeline] sh 00:34:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:34:51 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:34:51 9b18e9b68314: Pulling fs layer 00:34:51 35d82f9e3411: Pulling fs layer 00:34:51 e16973657156: Pulling fs layer 00:34:51 fc693d55d65f: Pulling fs layer 00:34:51 7e9fc2657dce: Pulling fs layer 00:34:51 dda99020689f: Pulling fs layer 00:34:51 db1c61fa0a46: Pulling fs layer 00:34:51 891c053d2c06: Pulling fs layer 00:34:51 fc693d55d65f: Waiting 00:34:51 7e9fc2657dce: Waiting 00:34:51 891c053d2c06: Waiting 00:34:51 dda99020689f: Waiting 00:34:51 db1c61fa0a46: Waiting 00:34:51 e16973657156: Verifying Checksum 00:34:51 e16973657156: Download complete 00:34:51 35d82f9e3411: Verifying Checksum 00:34:51 35d82f9e3411: Download complete 00:34:51 7e9fc2657dce: Verifying Checksum 00:34:51 7e9fc2657dce: Download complete 00:34:51 dda99020689f: Verifying Checksum 00:34:51 dda99020689f: Download complete 00:34:51 9b18e9b68314: Download complete 00:34:51 9b18e9b68314: Pull complete 00:34:52 891c053d2c06: Verifying Checksum 00:34:52 891c053d2c06: Download complete 00:34:52 35d82f9e3411: Pull complete 00:34:52 e16973657156: Pull complete 00:34:53 db1c61fa0a46: Verifying Checksum 00:34:53 db1c61fa0a46: Download complete 00:34:53 fc693d55d65f: Download complete 00:35:06 fc693d55d65f: Pull complete 00:35:06 7e9fc2657dce: Pull complete 00:35:06 dda99020689f: Pull complete 00:35:11 db1c61fa0a46: Pull complete 00:35:15 891c053d2c06: Pull complete 00:35:15 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 00:35:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:35:15 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] fileExists [Pipeline] sh 00:35:15 + + echodocker FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:35:15 WORKDIR /edgex 00:35:15 COPY go.mod . 00:35:15 RUN go mod download build 00:35:15 -t ci-base-image-arm64 -f - . 00:35:15 Sending build context to Docker daemon 3.27MB 00:35:15 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:35:15 ---> f96f9c87975a 00:35:15 Step 2/4 : WORKDIR /edgex 00:35:17 ---> Running in f560627e337e 00:35:18 Removing intermediate container f560627e337e 00:35:18 ---> f05968b7929a 00:35:18 Step 3/4 : COPY go.mod . 00:35:18 ---> 12aec300a98d 00:35:18 Step 4/4 : RUN go mod download 00:35:18 ---> Running in 995b062ef91f 00:35:50 Removing intermediate container 995b062ef91f 00:35:50 ---> 8a19a498b537 00:35:50 Successfully built 8a19a498b537 00:35:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:35:51 + docker inspect -f . ci-base-image-arm64 00:35:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:35:51 prd-ubuntu20.04-docker-arm64-4c-16g-119260 does not seem to be running inside a container 00:35:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:35:52 $ docker top 9eabd9c188c5d4edb0575c052a7e833f13330b7dd5434f0787c81f0dd8ca6ea3 -eo pid,comm [Pipeline] { [Pipeline] sh 00:35:53 + go version 00:35:53 go version go1.18.7 linux/arm64 [Pipeline] } 00:35:53 $ docker stop --time=1 9eabd9c188c5d4edb0575c052a7e833f13330b7dd5434f0787c81f0dd8ca6ea3 00:35:55 $ docker rm -f 9eabd9c188c5d4edb0575c052a7e833f13330b7dd5434f0787c81f0dd8ca6ea3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:35:55 + docker inspect -f . ci-base-image-arm64 00:35:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:35:56 prd-ubuntu20.04-docker-arm64-4c-16g-119260 does not seem to be running inside a container 00:35:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:35:57 $ docker top 51e5a2f9d4abcaddf493b7c8dfbbb484ed4df4bc999b37e920e746995ec71f84 -eo pid,comm [Pipeline] { [Pipeline] echo 00:35:57 ========================================================= 00:35:57 [edgeXBuildGoParallel] Running Tests and Build... 00:35:57 ========================================================= [Pipeline] sh 00:35:57 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh 00:35:58 + make test 00:35:58 go test -race -coverprofile=coverage.out ./... 00:36:30 ? github.com/edgexfoundry/edgex-go [no test files] 00:38:07 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 00:38:09 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 00:38:09 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 00:38:09 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 00:38:28 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 00:38:28 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 00:38:28 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 00:38:28 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 00:38:28 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 00:38:28 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 00:38:28 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 00:38:28 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 00:38:28 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 00:38:28 ? github.com/edgexfoundry/edgex-go/internal [no test files] 00:38:28 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 00:38:40 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.514s coverage: 28.7% of statements 00:38:40 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 00:38:40 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 00:38:45 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.535s coverage: 98.5% of statements 00:38:48 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 0.861s coverage: 43.0% of statements 00:38:48 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 00:38:48 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 00:38:48 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.641s coverage: 54.2% of statements 00:38:48 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 00:38:48 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 00:38:48 panic: runtime error: invalid memory address or nil pointer dereference 00:38:48 [signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x863f0c] 00:38:48 00:38:48 goroutine 6 [running]: 00:38:48 github.com/edgexfoundry/edgex-go/internal/core/data/application.(*CoreDataApp).PublishEvent(0x0?, {0xc0000c4000, 0x1be, 0x200}, {0xaafc13, 0x15}, {0xaa7957, 0xa}, {0xaaa7bd, 0xe}, ...) 00:38:48 /w/workspace/edgex-go/1/internal/core/data/application/event.go:86 +0x4bc 00:38:48 created by github.com/edgexfoundry/edgex-go/internal/core/data/controller/http.(*EventController).AddEvent 00:38:48 /w/workspace/edgex-go/1/internal/core/data/controller/http/event.go:98 +0x774 00:38:48 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.296s 00:38:48 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 00:38:48 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 00:38:48 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 00:38:48 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 00:38:48 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 00:38:51 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.544s coverage: 2.2% of statements 00:38:51 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 00:38:51 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 00:39:09 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 2.825s coverage: 95.6% of statements 00:39:09 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 00:39:09 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 00:39:09 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 00:39:09 ok github.com/edgexfoundry/edgex-go/internal/io 0.303s coverage: 72.2% of statements 00:39:09 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 00:39:09 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 00:39:09 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 00:39:09 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 00:39:09 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 00:39:09 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.261s coverage: 60.0% of statements 00:39:09 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 00:39:09 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 00:39:09 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 00:39:09 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.402s coverage: 0.9% of statements 00:39:09 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 00:39:09 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.499s coverage: 58.8% of statements 00:39:09 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.314s coverage: 29.6% of statements 00:39:09 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 00:39:09 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.292s coverage: 47.1% of statements 00:39:09 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.366s coverage: 79.5% of statements 00:39:09 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.241s coverage: 94.1% of statements 00:39:09 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.517s coverage: 96.3% of statements 00:39:12 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.612s coverage: 87.5% of statements 00:39:22 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.350s coverage: 94.4% of statements 00:39:22 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.444s coverage: 44.8% of statements 00:39:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.726s coverage: 79.9% of statements 00:39:34 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 00:39:40 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.327s coverage: 92.9% of statements 00:39:40 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 00:39:40 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 00:39:40 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 00:39:40 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.063s coverage: 65.1% of statements 00:39:40 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 00:39:40 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 00:39:40 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 00:39:40 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 00:39:40 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.248s coverage: 86.9% of statements 00:39:40 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 00:39:40 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 00:39:40 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 00:39:40 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 00:39:40 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.213s coverage: 87.2% of statements 00:39:40 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 00:39:40 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 00:39:40 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.177s coverage: 100.0% of statements 00:39:40 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 00:39:40 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.269s coverage: 58.8% of statements 00:39:40 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 00:39:40 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.268s coverage: 80.0% of statements 00:39:40 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.241s coverage: 87.2% of statements 00:39:40 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.295s coverage: 85.4% of statements 00:39:40 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.863s coverage: 91.2% of statements 00:39:40 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 00:39:43 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.991s coverage: 64.7% of statements 00:39:43 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 00:39:43 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 00:39:43 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.253s coverage: 100.0% of statements 00:39:43 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.124s coverage: 89.4% of statements 00:39:43 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.067s coverage: 100.0% of statements 00:39:43 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.094s coverage: 73.7% of statements 00:39:43 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.083s coverage: 100.0% of statements 00:39:50 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.350s coverage: 65.8% of statements 00:39:50 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 00:39:50 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 00:39:50 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 00:39:52 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.838s coverage: 41.8% of statements 00:39:52 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 00:39:52 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 00:39:52 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.289s coverage: 89.5% of statements 00:39:52 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 00:39:52 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.263s coverage: 84.8% of statements 00:39:52 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 00:39:52 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 00:39:52 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 00:39:52 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 00:40:00 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.332s coverage: 17.7% of statements 00:40:00 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 00:40:00 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 00:40:00 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 00:40:00 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 00:40:00 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.765s coverage: 92.3% of statements 00:40:00 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 00:40:00 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 00:40:00 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 00:40:00 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 00:40:00 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.270s coverage: 63.2% of statements 00:40:00 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 00:40:00 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 00:40:00 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.481s coverage: 97.7% of statements 00:40:00 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 00:40:00 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 00:40:00 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 00:40:00 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] 00:40:00 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.232s coverage: 28.9% of statements 00:40:00 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] 00:40:00 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] 00:40:00 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 00:40:00 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 00:40:00 ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] 00:40:00 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 00:40:00 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.225s coverage: 100.0% of statements 00:40:00 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.082s coverage: 96.9% of statements 00:40:00 FAIL 00:40:00 make: *** [Makefile:146: unittest] Error 1 [Pipeline] } 00:40:00 $ docker stop --time=1 51e5a2f9d4abcaddf493b7c8dfbbb484ed4df4bc999b37e920e746995ec71f84 00:40:02 $ docker rm -f 51e5a2f9d4abcaddf493b7c8dfbbb484ed4df4bc999b37e920e746995ec71f84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:40:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:40:04 00:40:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:40:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:40:04 arm64: Pulling from edgex-lftools-log-publisher 00:40:04 8998bd30e6a1: Pulling fs layer 00:40:04 04944245beec: Pulling fs layer 00:40:04 699f458cf7ca: Pulling fs layer 00:40:04 765212b225bb: Pulling fs layer 00:40:04 f23df028b6ca: Pulling fs layer 00:40:04 d65c8cfc05b1: Pulling fs layer 00:40:04 2437ff75d9bd: Pulling fs layer 00:40:04 f23df028b6ca: Waiting 00:40:04 d65c8cfc05b1: Waiting 00:40:04 2437ff75d9bd: Waiting 00:40:04 765212b225bb: Waiting 00:40:04 04944245beec: Verifying Checksum 00:40:04 04944245beec: Download complete 00:40:04 765212b225bb: Verifying Checksum 00:40:04 765212b225bb: Download complete 00:40:05 f23df028b6ca: Download complete 00:40:05 d65c8cfc05b1: Verifying Checksum 00:40:05 d65c8cfc05b1: Download complete 00:40:05 699f458cf7ca: Verifying Checksum 00:40:05 699f458cf7ca: Download complete 00:40:05 8998bd30e6a1: Verifying Checksum 00:40:05 8998bd30e6a1: Download complete 00:40:07 2437ff75d9bd: Verifying Checksum 00:40:07 2437ff75d9bd: Download complete 00:40:09 8998bd30e6a1: Pull complete 00:40:09 04944245beec: Pull complete 00:40:11 699f458cf7ca: Pull complete 00:40:11 765212b225bb: Pull complete 00:40:11 f23df028b6ca: Pull complete 00:40:12 d65c8cfc05b1: Pull complete 00:40:27 2437ff75d9bd: Pull complete 00:40:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:40:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:40:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:40:27 prd-ubuntu20.04-docker-arm64-4c-16g-119260 does not seem to be running inside a container 00:40:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:40:29 $ docker top e67b7530c0aa91e9180725caf7f7cccb41f541909ac29f2e7eab7982e038e49a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:40:30 ---> job-cost.sh 00:40:30 lf-activate-venv: SKIPPING 00:40:30 INFO: No Stack... 00:40:31 INFO: Retrieving Pricing Info for: v3-standard-4 00:40:32 INFO: Archiving Costs [Pipeline] sh 00:40:32 + cut -d, -f6 00:40:32 + cat /w/workspace/edgex-go/1/archives/cost.csv [Pipeline] lock 00:40:32 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4234-1-stack-cost] 00:40:32 Resource [jenkins-edgexfoundry-edgex-go-PR-4234-1-stack-cost] did not exist. Created. 00:40:32 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4234-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:40:33 + echo total: 0.10999999940395355 [Pipeline] stash 00:40:33 Stashed 1 file(s) [Pipeline] } 00:40:33 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4234-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:40:33 $ docker stop --time=1 e67b7530c0aa91e9180725caf7f7cccb41f541909ac29f2e7eab7982e038e49a 00:40:35 $ docker rm -f e67b7530c0aa91e9180725caf7f7cccb41f541909ac29f2e7eab7982e038e49a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:40:35 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:40:37 + [ -d /w/workspace/edgex-go/1/archives ] [Pipeline] libraryResource [Pipeline] sh 00:40:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:40:38 ---> package-listing.sh 00:40:38 ++ facter osfamily 00:40:38 ++ tr '[:upper:]' '[:lower:]' 00:40:39 + OS_FAMILY=debian 00:40:39 + workspace=/w/workspace/edgex-go/1 00:40:39 + START_PACKAGES=/tmp/packages_start.txt 00:40:39 + END_PACKAGES=/tmp/packages_end.txt 00:40:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:40:39 + PACKAGES=/tmp/packages_start.txt 00:40:39 + '[' /w/workspace/edgex-go/1 ']' 00:40:39 + PACKAGES=/tmp/packages_end.txt 00:40:39 + case "${OS_FAMILY}" in 00:40:39 + dpkg -l 00:40:39 + grep '^ii' 00:40:39 + '[' -f /tmp/packages_start.txt ']' 00:40:39 + '[' -f /tmp/packages_end.txt ']' 00:40:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:40:39 + '[' /w/workspace/edgex-go/1 ']' 00:40:39 + mkdir -p /w/workspace/edgex-go/1/archives/ 00:40:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 00:40:39 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:40:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:40:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:40:39 00:40:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:40:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:40:40 latest: Pulling from edgex-lftools-log-publisher 00:40:40 5eb5b503b376: Pulling fs layer 00:40:40 5c69ac0246d0: Pulling fs layer 00:40:40 ec43610c2a17: Pulling fs layer 00:40:40 3a2ae6a8a46f: Pulling fs layer 00:40:40 33b1e0a273af: Pulling fs layer 00:40:40 5d3b04190fa2: Pulling fs layer 00:40:40 2f39f015ded8: Pulling fs layer 00:40:40 33b1e0a273af: Waiting 00:40:40 5d3b04190fa2: Waiting 00:40:40 2f39f015ded8: Waiting 00:40:40 3a2ae6a8a46f: Waiting 00:40:40 5c69ac0246d0: Download complete 00:40:40 3a2ae6a8a46f: Verifying Checksum 00:40:40 3a2ae6a8a46f: Download complete 00:40:40 33b1e0a273af: Verifying Checksum 00:40:40 33b1e0a273af: Download complete 00:40:40 5d3b04190fa2: Verifying Checksum 00:40:40 5d3b04190fa2: Download complete 00:40:40 ec43610c2a17: Verifying Checksum 00:40:40 ec43610c2a17: Download complete 00:40:40 5eb5b503b376: Verifying Checksum 00:40:40 5eb5b503b376: Download complete 00:40:41 2f39f015ded8: Download complete 00:40:41 5eb5b503b376: Pull complete 00:40:41 5c69ac0246d0: Pull complete 00:40:42 ec43610c2a17: Pull complete 00:40:42 3a2ae6a8a46f: Pull complete 00:40:42 33b1e0a273af: Pull complete 00:40:42 5d3b04190fa2: Pull complete 00:40:46 2f39f015ded8: Pull complete 00:40:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:40:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:40:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:40:47 prd-ubuntu20.04-docker-8c-8g-119258 does not seem to be running inside a container 00:40:47 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:40:49 $ docker top ba876ec47a58ce36a5421a78a4d74c689e7677c28f7714be30ad315904e6bb22 -eo pid,comm [Pipeline] { [Pipeline] sh 00:40:49 + touch /tmp/pre-build-complete [Pipeline] sh 00:40:49 + mkdir -p /var/log/sysstat [Pipeline] sh 00:40:50 + ls /var/log/sa-host 00:40:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:40:50 provisioning config files... 00:40:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config350877697842991400tmp [Pipeline] { [Pipeline] echo 00:40:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:40:50 ---> create-netrc.sh [Pipeline] } 00:40:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:40:51 ---> python-tools-install.sh [Pipeline] echo 00:40:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:40:51 ---> sudo-logs.sh 00:40:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:40:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:40:51 ---> job-cost.sh 00:40:51 lf-activate-venv: SKIPPING 00:40:51 DEBUG: total: 0.10999999940395355 00:40:51 INFO: Retrieving Stack Cost... 00:40:52 INFO: Retrieving Pricing Info for: v3-standard-8 00:40:52 INFO: Archiving Costs [Pipeline] echo 00:40:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:40:52 ---> logs-deploy.sh 00:40:52 lf-activate-venv: SKIPPING 00:40:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4234/1 00:40:52 INFO: archiving workspace using pattern(s): 00:40:53 Archives upload complete. 00:40:54 INFO: archiving logs to Nexus