Pull request #4089 updated 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 ernestojeda for edgexfoundry/edgex-go Obtained Jenkinsfile from adc5924d56c22eebf78196a917bdc4377936cc53+fb67e34980dfa056f4ddb70a50fca33d4f71295e (ac564c71d95b09fd2180f25113cf227d3f91f55d) Loading library edgex-global-pipelines@677fadcc9a37328466da988fea5f2bc088427165 Attempting to resolve 677fadcc9a37328466da988fea5f2bc088427165 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-ssh17977679799142861628.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Could not find 677fadcc9a37328466da988fea5f2bc088427165 in remote references. Pulling heads to local for deep search... > 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-ssh4703704836422622095.key > git fetch --tags --progress -- origin +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git rev-parse 677fadcc9a37328466da988fea5f2bc088427165^{commit} # timeout=10 > git branch -a -v --no-abbrev --contains 677fadcc9a37328466da988fea5f2bc088427165 # timeout=10 Selected match: pr/405/merge revision 677fadcc9a37328466da988fea5f2bc088427165 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4089/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-4089/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16153807199848716176.key > git fetch --no-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 without 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-4089/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1839871976808174744.key > git fetch --no-tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 677fadcc9a37328466da988fea5f2bc088427165 (pr/405/merge) > git config core.sparsecheckout # timeout=10 > git checkout -f 677fadcc9a37328466da988fea5f2bc088427165 # timeout=10 Commit message: "ci: add privileged to fix issues with Go 1.18 and AppArmor" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13913719600562258732.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-4089/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-4089/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8822456576206826362.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/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 ‘prd-ubuntu20.04-docker-8c-8g-19341’ is offline Running on prd-ubuntu20.04-docker-8c-8g-19345 in /w/workspace/edgexfoundry_edgex-go_PR-4089 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/2 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4089/head:refs/remotes/origin/PR-4089 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit fb67e34980dfa056f4ddb70a50fca33d4f71295e into PR head commit adc5924d56c22eebf78196a917bdc4377936cc53 Merge succeeded, producing adc5924d56c22eebf78196a917bdc4377936cc53 Checking out Revision adc5924d56c22eebf78196a917bdc4377936cc53 (PR-4089) > git config core.sparsecheckout # timeout=10 > git checkout -f adc5924d56c22eebf78196a917bdc4377936cc53 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge fb67e34980dfa056f4ddb70a50fca33d4f71295e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f adc5924d56c22eebf78196a917bdc4377936cc53 # timeout=10 Commit message: "ci: pin to epg AppArmor fix" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:14:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:14:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:14:32 ========================================================= 20:14:32 EdgeX Global Pipelines Version Info 20:14:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:14:33 ------------------- 20:14:33 stable info: 20:14:33 ------------------- 20:14:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:14:33 Commit SHA: 7e4371ac6d730b8e642184b898413c6ef59a5643 20:14:33 Message: update stable to v1.0.236 20:14:33 ------------------- 20:14:33 experimental info: 20:14:33 ------------------- 20:14:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:14:33 Commit SHA: 7e4371ac6d730b8e642184b898413c6ef59a5643 20:14:33 Message: update experimental to v1.0.236 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:14:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 20:14:33 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 20:14:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:14:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:14:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:14:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:14:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:14:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 20:14:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 20:14:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 20:14:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:14:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:14:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:14:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:14:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:14:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:14:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:14:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:14:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:14:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 20:14:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:14:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:14:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:14:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4089 [Pipeline] echo 20:14:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4089 [Pipeline] echo 20:14:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4089 [Pipeline] echo 20:14:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = adc5924d56c22eebf78196a917bdc4377936cc53 [Pipeline] echo 20:14:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = adc5924 [Pipeline] echo 20:14:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:14:35 provisioning config files... 20:14:35 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config3734729176231481163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:14:35 ---> docker-login.sh 20:14:35 nexus3.edgexfoundry.org:10001 20:14:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:35 Configure a credential helper to remove this warning. See 20:14:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:35 20:14:35 Login Succeeded 20:14:35 nexus3.edgexfoundry.org:10002 20:14:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:36 Configure a credential helper to remove this warning. See 20:14:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:36 20:14:36 Login Succeeded 20:14:36 nexus3.edgexfoundry.org:10003 20:14:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:36 Configure a credential helper to remove this warning. See 20:14:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:36 20:14:36 Login Succeeded 20:14:36 nexus3.edgexfoundry.org:10004 20:14:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:36 Configure a credential helper to remove this warning. See 20:14:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:36 20:14:36 Login Succeeded 20:14:36 docker.io 20:14:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:36 Configure a credential helper to remove this warning. See 20:14:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:36 20:14:36 Login Succeeded 20:14:36 ---> docker-login.sh ends [Pipeline] } 20:14:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:14:37 + 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 20:14:37 + dirname cmd/core-command/Dockerfile 20:14:37 + cut -d/ -f2 20:14:37 + echo core-command,cmd/core-command/Dockerfile 20:14:37 + cut -d/ -f2 20:14:37 + dirname cmd/core-data/Dockerfile 20:14:37 + echo core-data,cmd/core-data/Dockerfile 20:14:37 + cut -d/ -f2 20:14:37 + dirname cmd/core-metadata/Dockerfile 20:14:37 + echo core-metadata,cmd/core-metadata/Dockerfile 20:14:37 + dirname cmd/security-bootstrapper/Dockerfile 20:14:37 + cut -d/ -f2 20:14:37 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 20:14:37 + dirname cmd/security-proxy-setup/Dockerfile 20:14:37 + cut -d/ -f2 20:14:37 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 20:14:37 + dirname cmd/security-secretstore-setup/Dockerfile 20:14:37 + cut -d/ -f2 20:14:37 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 20:14:37 + dirname cmd/security-spiffe-token-provider/Dockerfile 20:14:37 + cut -d/ -f2 20:14:37 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 20:14:37 + dirname cmd/security-spire-agent/Dockerfile 20:14:37 + cut -d/ -f2 20:14:37 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 20:14:37 + dirname cmd/security-spire-config/Dockerfile 20:14:37 + cut -d/ -f2 20:14:37 + echo security-spire-config,cmd/security-spire-config/Dockerfile 20:14:37 + dirname cmd/security-spire-server/Dockerfile 20:14:37 + cut -d/ -f2 20:14:37 + echo security-spire-server,cmd/security-spire-server/Dockerfile 20:14:37 + dirname cmd/support-notifications/Dockerfile 20:14:37 + cut -d/ -f2 20:14:37 + echo support-notifications,cmd/support-notifications/Dockerfile 20:14:37 + dirname cmd/support-scheduler/Dockerfile 20:14:37 + cut -d/ -f2 20:14:37 + echo support-scheduler,cmd/support-scheduler/Dockerfile 20:14:37 + dirname cmd/sys-mgmt-agent/Dockerfile 20:14:37 + cut -d/ -f2 20:14:37 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 20:14:37 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 20:14:37 + git rev-list -1 --merges adc5924d56c22eebf78196a917bdc4377936cc53~1..adc5924d56c22eebf78196a917bdc4377936cc53 [Pipeline] echo 20:14:37 -----------> git rev-list -1 --merges adc5924d56c22eebf78196a917bdc4377936cc53~1..adc5924d56c22eebf78196a917bdc4377936cc53 adc5924d56c22eebf78196a917bdc4377936cc53 [false] [Pipeline] sh 20:14:38 + git log --format=format:%s -1 adc5924d56c22eebf78196a917bdc4377936cc53 [Pipeline] echo 20:14:38 ========================================================= 20:14:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:14:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 20:14:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:14:38 + grep -v github /etc/ssh/ssh_known_hosts 20:14:38 + [ -e /tmp/ssh_known_hosts ] 20:14:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:14:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:14:38 + sudo tee -a /etc/ssh/ssh_known_hosts 20:14:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:14:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:14:39 20:14:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:14:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:14:39 0.1.4: Pulling from edgex-devops/py-git-semver 20:14:39 b85a868b505f: Pulling fs layer 20:14:39 e2be974225ed: Pulling fs layer 20:14:39 339a4e72a1f5: Pulling fs layer 20:14:39 988bab9f4d93: Pulling fs layer 20:14:39 1469e6f7b9e6: Pulling fs layer 20:14:39 eaf3925da568: Pulling fs layer 20:14:39 bab4dde63d76: Pulling fs layer 20:14:39 bde34c3a00c8: Pulling fs layer 20:14:39 b352a97aabf1: Pulling fs layer 20:14:39 4872d77fe225: Pulling fs layer 20:14:39 5851b861e8e6: Pulling fs layer 20:14:39 eaf3925da568: Waiting 20:14:39 bab4dde63d76: Waiting 20:14:39 988bab9f4d93: Waiting 20:14:39 1469e6f7b9e6: Waiting 20:14:39 4872d77fe225: Waiting 20:14:39 bde34c3a00c8: Waiting 20:14:39 b352a97aabf1: Waiting 20:14:39 5851b861e8e6: Waiting 20:14:39 e2be974225ed: Verifying Checksum 20:14:39 e2be974225ed: Download complete 20:14:39 988bab9f4d93: Verifying Checksum 20:14:39 988bab9f4d93: Download complete 20:14:39 1469e6f7b9e6: Verifying Checksum 20:14:39 1469e6f7b9e6: Download complete 20:14:39 339a4e72a1f5: Verifying Checksum 20:14:39 339a4e72a1f5: Download complete 20:14:39 eaf3925da568: Verifying Checksum 20:14:39 bde34c3a00c8: Verifying Checksum 20:14:39 bde34c3a00c8: Download complete 20:14:39 b352a97aabf1: Verifying Checksum 20:14:39 b352a97aabf1: Download complete 20:14:39 4872d77fe225: Verifying Checksum 20:14:39 4872d77fe225: Download complete 20:14:39 5851b861e8e6: Verifying Checksum 20:14:39 5851b861e8e6: Download complete 20:14:39 b85a868b505f: Verifying Checksum 20:14:39 b85a868b505f: Download complete 20:14:40 bab4dde63d76: Verifying Checksum 20:14:40 bab4dde63d76: Download complete 20:14:41 b85a868b505f: Pull complete 20:14:41 e2be974225ed: Pull complete 20:14:42 339a4e72a1f5: Pull complete 20:14:42 988bab9f4d93: Pull complete 20:14:42 1469e6f7b9e6: Pull complete 20:14:42 eaf3925da568: Pull complete 20:14:44 bab4dde63d76: Pull complete 20:14:44 bde34c3a00c8: Pull complete 20:14:44 b352a97aabf1: Pull complete 20:14:44 4872d77fe225: Pull complete 20:14:44 5851b861e8e6: Pull complete 20:14:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:14:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:14:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:14:44 prd-ubuntu20.04-docker-8c-8g-19345 does not seem to be running inside a container 20:14:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:14:45 $ docker top 40778b005bdaf850e8daf62ac405085fc68b131335eb2fe2265c2ac4f222651c -eo pid,comm 20:14:46 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). 20:14:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:14:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:14:46 [ssh-agent] Looking for ssh-agent implementation... 20:14:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:14:46 $ docker exec 40778b005bdaf850e8daf62ac405085fc68b131335eb2fe2265c2ac4f222651c ssh-agent 20:14:46 SSH_AUTH_SOCK=/tmp/ssh-2caLW27bCp57/agent.33 20:14:46 SSH_AGENT_PID=39 20:14:46 Running ssh-add (command line suppressed) 20:14:46 Identity added: /w/workspace/edgex-go/2@tmp/private_key_4698717228295504792.key (/w/workspace/edgex-go/2@tmp/private_key_4698717228295504792.key) 20:14:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:14:46 + git tag --points-at HEAD [Pipeline] } 20:14:46 $ docker exec --env ******** --env ******** 40778b005bdaf850e8daf62ac405085fc68b131335eb2fe2265c2ac4f222651c ssh-agent -k 20:14:47 unset SSH_AUTH_SOCK; 20:14:47 unset SSH_AGENT_PID; 20:14:47 echo Agent pid 39 killed; 20:14:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:14:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:14:47 [ssh-agent] Looking for ssh-agent implementation... 20:14:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:14:47 $ docker exec 40778b005bdaf850e8daf62ac405085fc68b131335eb2fe2265c2ac4f222651c ssh-agent 20:14:47 SSH_AUTH_SOCK=/tmp/ssh-rkxRppEkrAUE/agent.71 20:14:47 SSH_AGENT_PID=77 20:14:47 Running ssh-add (command line suppressed) 20:14:47 Identity added: /w/workspace/edgex-go/2@tmp/private_key_4585086238839275182.key (/w/workspace/edgex-go/2@tmp/private_key_4585086238839275182.key) 20:14:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:14:47 + git semver init 20:14:48 2022-07-11 20:14:48,128 [run_init] DEBUG init version:0.0.0 force:False 20:14:48 2022-07-11 20:14:48,129 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/2/.semver 20:14:48 2022-07-11 20:14:48,129 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/2/.semver 20:14:48 2022-07-11 20:14:48,129 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/edgex-go.git', '/w/workspace/edgex-go/2/.semver'], cwd=/w/workspace/edgex-go/2, universal_newlines=False, shell=None, istream=None) 20:14:52 2022-07-11 20:14:52,213 [append_file] DEBUG append to file:/w/workspace/edgex-go/2/.git/info/exclude 20:14:52 2022-07-11 20:14:52,214 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/2/.semver/PR-4089 with force:False 20:14:52 2022-07-11 20:14:52,214 [write_file] DEBUG write to file:/w/workspace/edgex-go/2/.semver/PR-4089 20:14:52 2022-07-11 20:14:52,218 [execute] INFO git cat-file --batch-check 20:14:52 2022-07-11 20:14:52,219 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/2/.semver, universal_newlines=False, shell=None, istream=) 20:14:52 2022-07-11 20:14:52,224 [execute] INFO git cat-file --batch 20:14:52 2022-07-11 20:14:52,225 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/2/.semver, universal_newlines=False, shell=None, istream=) 20:14:52 2022-07-11 20:14:52,231 [read_version] DEBUG read version from /w/workspace/edgex-go/2/.semver/PR-4089 20:14:52 0.0.0 [Pipeline] } 20:14:52 $ docker exec --env ******** --env ******** 40778b005bdaf850e8daf62ac405085fc68b131335eb2fe2265c2ac4f222651c ssh-agent -k 20:14:52 unset SSH_AUTH_SOCK; 20:14:52 unset SSH_AGENT_PID; 20:14:52 echo Agent pid 77 killed; 20:14:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:14:53 + git semver [Pipeline] } 20:14:53 $ docker stop --time=1 40778b005bdaf850e8daf62ac405085fc68b131335eb2fe2265c2ac4f222651c 20:14:54 $ docker rm -f 40778b005bdaf850e8daf62ac405085fc68b131335eb2fe2265c2ac4f222651c [Pipeline] // withDockerContainer [Pipeline] sh 20:14:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:14:55 Stashed 1 file(s) [Pipeline] echo 20:14:55 [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] echo 20:14:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:14:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:14:55 ========================================================= 20:14:55 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:14:55 ========================================================= [Pipeline] fileExists [Pipeline] sh 20:14:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:14:56 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:14:56 2408cc74d12b: Pulling fs layer 20:14:56 ea60b727a1ce: Pulling fs layer 20:14:56 30c4a7721957: Pulling fs layer 20:14:56 370296b7ddb6: Pulling fs layer 20:14:56 7c6cee850709: Pulling fs layer 20:14:56 39a5fcdaea64: Pulling fs layer 20:14:56 d94ebbe4e438: Pulling fs layer 20:14:56 bcfd1f05c69d: Pulling fs layer 20:14:56 59ccb84bbe0f: Pulling fs layer 20:14:56 59ccb84bbe0f: Waiting 20:14:56 d94ebbe4e438: Waiting 20:14:56 370296b7ddb6: Waiting 20:14:56 bcfd1f05c69d: Waiting 20:14:56 39a5fcdaea64: Waiting 20:14:56 7c6cee850709: Waiting 20:14:56 30c4a7721957: Verifying Checksum 20:14:56 30c4a7721957: Download complete 20:14:56 ea60b727a1ce: Verifying Checksum 20:14:56 ea60b727a1ce: Download complete 20:14:56 7c6cee850709: Download complete 20:14:56 39a5fcdaea64: Verifying Checksum 20:14:56 39a5fcdaea64: Download complete 20:14:56 2408cc74d12b: Verifying Checksum 20:14:56 2408cc74d12b: Download complete 20:14:56 d94ebbe4e438: Verifying Checksum 20:14:56 d94ebbe4e438: Download complete 20:14:56 2408cc74d12b: Pull complete 20:14:56 ea60b727a1ce: Pull complete 20:14:56 59ccb84bbe0f: Verifying Checksum 20:14:56 59ccb84bbe0f: Download complete 20:14:56 30c4a7721957: Pull complete 20:14:57 370296b7ddb6: Verifying Checksum 20:14:57 370296b7ddb6: Download complete 20:14:57 bcfd1f05c69d: Verifying Checksum 20:14:57 bcfd1f05c69d: Download complete 20:15:02 370296b7ddb6: Pull complete 20:15:02 7c6cee850709: Pull complete 20:15:02 39a5fcdaea64: Pull complete 20:15:02 d94ebbe4e438: Pull complete 20:15:03 bcfd1f05c69d: Pull complete 20:15:04 59ccb84bbe0f: Pull complete 20:15:04 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 20:15:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:15:04 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] fileExists [Pipeline] sh 20:15:05 + + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:15:05 WORKDIR /edgex 20:15:05 COPY go.mod . 20:15:05 RUN go mod download 20:15:05 docker build -t ci-base-image-x86_64 -f - . 20:15:06 Sending build context to Docker daemon 335.2MB 20:15:06 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:15:06 ---> a4fb48ad2a94 20:15:06 Step 2/4 : WORKDIR /edgex 20:15:08 ---> Running in 3b36d70116d0 20:15:08 Removing intermediate container 3b36d70116d0 20:15:08 ---> 46caa16d16b9 20:15:08 Step 3/4 : COPY go.mod . 20:15:08 ---> b98457d78949 20:15:08 Step 4/4 : RUN go mod download 20:15:08 ---> Running in 92757f7dac84 20:15:10 Still waiting to schedule task 20:15:10 ‘prd-ubuntu20.04-docker-arm64-4c-16g-19343’ is offline 20:15:18 Removing intermediate container 92757f7dac84 20:15:18 ---> 8ddf1973a082 20:15:18 Successfully built 8ddf1973a082 20:15:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:15:18 + docker inspect -f . ci-base-image-x86_64 20:15:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:15:18 prd-ubuntu20.04-docker-8c-8g-19345 does not seem to be running inside a container 20:15:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:15:19 $ docker top 56cdc7c3faef3eb3500b109f4acdd0990f02d60469396a20918694bc54cbc392 -eo pid,comm [Pipeline] { [Pipeline] sh 20:15:19 + go version 20:15:19 go version go1.18.3 linux/amd64 [Pipeline] } 20:15:19 $ docker stop --time=1 56cdc7c3faef3eb3500b109f4acdd0990f02d60469396a20918694bc54cbc392 20:15:21 $ docker rm -f 56cdc7c3faef3eb3500b109f4acdd0990f02d60469396a20918694bc54cbc392 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:15:21 + docker inspect -f . ci-base-image-x86_64 20:15:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:15:22 prd-ubuntu20.04-docker-8c-8g-19345 does not seem to be running inside a container 20:15:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:15:22 $ docker top 9d6f54fb631da3aec3c51520580a32dbf9b09eb0a7a54d4adcc4e5bc79dc2b9e -eo pid,comm [Pipeline] { [Pipeline] echo 20:15:22 ========================================================= 20:15:22 [edgeXBuildGoParallel] Running Tests and Build... 20:15:22 ========================================================= [Pipeline] fileExists [Pipeline] sh 20:15:22 + make test 20:15:22 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 20:15:29 ? github.com/edgexfoundry/edgex-go [no test files] 20:15:44 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 20:15:44 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 20:15:44 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 20:15:44 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 20:15:44 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 20:15:44 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 20:15:44 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 20:15:44 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 20:15:44 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 20:15:44 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 20:15:44 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 20:15:44 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 20:15:44 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 20:15:44 ? github.com/edgexfoundry/edgex-go/internal [no test files] 20:15:44 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 20:15:44 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.075s coverage: 28.7% of statements 20:15:44 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 20:15:44 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 20:15:44 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.081s coverage: 98.5% of statements 20:15:44 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 20:15:44 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.104s coverage: 54.2% of statements 20:15:44 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 20:15:44 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 20:15:48 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 3.779s coverage: 89.2% of statements 20:15:48 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 20:15:48 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 20:15:48 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 20:15:48 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.074s coverage: 83.8% of statements 20:15:48 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 20:15:48 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 20:15:48 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] 20:15:48 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 20:15:48 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 20:15:48 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.486s coverage: 95.6% of statements 20:15:48 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 20:15:48 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 20:15:48 ok github.com/edgexfoundry/edgex-go/internal/io 0.058s coverage: 72.2% of statements 20:15:48 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 20:15:48 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 20:15:48 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 20:15:48 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 20:15:48 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 20:15:48 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.061s coverage: 60.0% of statements 20:15:48 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 20:15:48 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 20:15:48 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 20:15:48 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.077s coverage: 0.9% of statements 20:15:48 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 20:15:48 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.059s coverage: 58.8% of statements 20:15:48 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.056s coverage: 29.6% of statements 20:15:48 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 20:15:48 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.073s coverage: 47.1% of statements 20:15:48 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.069s coverage: 79.5% of statements 20:15:48 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.078s coverage: 94.1% of statements 20:15:48 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.078s coverage: 96.3% of statements 20:15:48 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.072s coverage: 87.5% of statements 20:15:56 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.070s coverage: 94.4% of statements 20:15:56 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.053s coverage: 44.8% of statements 20:15:58 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.210s coverage: 82.5% of statements 20:15:58 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 20:16:08 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.088s coverage: 92.9% of statements 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 20:16:08 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.030s coverage: 65.1% of statements 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 20:16:08 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.060s coverage: 87.2% of statements 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 20:16:08 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.058s coverage: 100.0% of statements 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 20:16:08 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.076s coverage: 58.8% of statements 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 20:16:08 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.072s coverage: 80.0% of statements 20:16:08 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.065s coverage: 87.2% of statements 20:16:08 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.076s coverage: 85.4% of statements 20:16:08 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.257s coverage: 91.2% of statements 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 20:16:08 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.148s coverage: 64.4% of statements 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 20:16:08 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.057s coverage: 100.0% of statements 20:16:08 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.032s coverage: 89.4% of statements 20:16:08 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.021s coverage: 100.0% of statements 20:16:08 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.031s coverage: 73.7% of statements 20:16:08 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.027s coverage: 100.0% of statements 20:16:08 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.331s coverage: 65.4% of statements 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 20:16:08 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.193s coverage: 43.8% of statements 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 20:16:08 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.084s coverage: 89.5% of statements 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 20:16:08 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.053s coverage: 84.8% of statements 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 20:16:08 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.104s coverage: 17.7% of statements 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 20:16:08 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.166s coverage: 92.3% of statements 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 20:16:08 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.056s coverage: 63.2% of statements 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 20:16:08 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.114s coverage: 97.7% of statements 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] 20:16:08 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.053s coverage: 28.9% of statements 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] 20:16:08 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 20:16:08 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.055s coverage: 100.0% of statements 20:16:08 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.033s coverage: 96.9% of statements 20:16:08 if which hadolint > /dev/null ; then hadolint --config .hadolint.yml `find * -type f -name 'Dockerfile*' -print` ; elif test "x86_64" = "x86_64" && which docker > /dev/null ; then docker run --rm -v `pwd`:/host:ro,z --entrypoint /bin/hadolint hadolint/hadolint:latest --config /host/.hadolint.yml `find * -type f -name 'Dockerfile*' | xargs -i echo '/host/{}'` ; fi 20:16:26 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 20:16:26 cmd/core-command/main.go:1: : error obtaining VCS status: exit status 128 20:16:26 Use -buildvcs=false to disable VCS stamping. (typecheck) 20:16:26 /******************************************************************************* 20:16:26 cmd/core-data/main.go:1: : error obtaining VCS status: exit status 128 20:16:26 Use -buildvcs=false to disable VCS stamping. (typecheck) 20:16:26 /******************************************************************************* 20:16:26 cmd/core-metadata/main.go:1: : error obtaining VCS status: exit status 128 20:16:26 Use -buildvcs=false to disable VCS stamping. (typecheck) 20:16:26 /******************************************************************************* 20:16:26 make: *** [Makefile:138: lint] Error 1 [Pipeline] } 20:16:26 $ docker stop --time=1 9d6f54fb631da3aec3c51520580a32dbf9b09eb0a7a54d4adcc4e5bc79dc2b9e 20:16:28 $ docker rm -f 9d6f54fb631da3aec3c51520580a32dbf9b09eb0a7a54d4adcc4e5bc79dc2b9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:16:29 Failed in branch amd64 20:16:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19346 in /w/workspace/edgexfoundry_edgex-go_PR-4089 [Pipeline] { [Pipeline] ws 20:16:46 Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] checkout 20:16:46 The recommended git tool is: git 20:16:51 using credential edgex-jenkins-ssh 20:16:51 Cloning the remote Git repository 20:16:51 Cloning repository git@github.com:edgexfoundry/edgex-go.git 20:16:51 > git init /w/workspace/edgex-go/2 # timeout=10 20:16:51 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 20:16:51 > git --version # timeout=10 20:16:51 > git --version # 'git version 2.25.1' 20:16:51 using GIT_SSH to set credentials SSH Credentials for GitHub 20:16:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:17:08 Merging remotes/origin/main commit fb67e34980dfa056f4ddb70a50fca33d4f71295e into PR head commit adc5924d56c22eebf78196a917bdc4377936cc53 20:17:08 Merge succeeded, producing adc5924d56c22eebf78196a917bdc4377936cc53 20:17:08 Checking out Revision adc5924d56c22eebf78196a917bdc4377936cc53 (PR-4089) 20:17:07 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 20:17:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:17:07 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 20:17:07 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 20:17:07 using GIT_SSH to set credentials SSH Credentials for GitHub 20:17:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4089/head:refs/remotes/origin/PR-4089 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:17:08 > git config core.sparsecheckout # timeout=10 20:17:08 > git checkout -f adc5924d56c22eebf78196a917bdc4377936cc53 # timeout=10 20:17:08 > git remote # timeout=10 20:17:08 > git config --get remote.origin.url # timeout=10 20:17:08 using GIT_SSH to set credentials SSH Credentials for GitHub 20:17:08 > git merge fb67e34980dfa056f4ddb70a50fca33d4f71295e # timeout=10 20:17:08 > git rev-parse HEAD^{commit} # timeout=10 20:17:08 > git config core.sparsecheckout # timeout=10 20:17:08 > git checkout -f adc5924d56c22eebf78196a917bdc4377936cc53 # timeout=10 20:17:12 Commit message: "ci: pin to epg AppArmor fix" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:17:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:17:13 % Total % Received % Xferd Average Speed Time Time Time Current 20:17:13 Dload Upload Total Spent Left Speed 20:17:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 20:17:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:17:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:17:14 + sudo tee /etc/docker/daemon.new 20:17:14 { 20:17:14 "registry-mirrors": [ 20:17:14 "https://nexus3.edgexfoundry.org:10001" 20:17:14 ], 20:17:14 "bip": "10.250.0.254/24", 20:17:14 "hosts": [ 20:17:14 "tcp://0.0.0.0:5555", 20:17:14 "unix:///var/run/docker.sock" 20:17:14 ], 20:17:14 "mtu": 1458, 20:17:14 "selinux-enabled": true, 20:17:14 "seccomp-profile": "/etc/docker/seccomp.json" 20:17:14 } [Pipeline] sh 20:17:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:17:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:17:33 provisioning config files... 20:17:33 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config613755441575815838tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:17:34 ---> docker-login.sh 20:17:34 nexus3.edgexfoundry.org:10001 20:17:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:35 Configure a credential helper to remove this warning. See 20:17:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:35 20:17:35 Login Succeeded 20:17:35 nexus3.edgexfoundry.org:10002 20:17:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:35 Configure a credential helper to remove this warning. See 20:17:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:35 20:17:35 Login Succeeded 20:17:35 nexus3.edgexfoundry.org:10003 20:17:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:36 Configure a credential helper to remove this warning. See 20:17:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:36 20:17:36 Login Succeeded 20:17:36 nexus3.edgexfoundry.org:10004 20:17:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:36 Configure a credential helper to remove this warning. See 20:17:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:36 20:17:36 Login Succeeded 20:17:36 docker.io 20:17:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:37 Configure a credential helper to remove this warning. See 20:17:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:37 20:17:37 Login Succeeded 20:17:37 ---> docker-login.sh ends [Pipeline] } 20:17:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:17:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:17:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:17:38 ========================================================= 20:17:38 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:17:38 ========================================================= [Pipeline] fileExists [Pipeline] sh 20:17:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:17:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:17:38 b3c136eddcbf: Pulling fs layer 20:17:38 c0a3192eca97: Pulling fs layer 20:17:38 a050256f5b6f: Pulling fs layer 20:17:38 656be50a0ddc: Pulling fs layer 20:17:38 2bbca73fdf42: Pulling fs layer 20:17:38 46d945488cbd: Pulling fs layer 20:17:38 8a5474983e97: Pulling fs layer 20:17:38 329c88fbcd65: Pulling fs layer 20:17:38 46d945488cbd: Waiting 20:17:38 656be50a0ddc: Waiting 20:17:38 2bbca73fdf42: Waiting 20:17:38 329c88fbcd65: Waiting 20:17:38 8a5474983e97: Waiting 20:17:38 a050256f5b6f: Verifying Checksum 20:17:38 a050256f5b6f: Download complete 20:17:38 c0a3192eca97: Verifying Checksum 20:17:38 c0a3192eca97: Download complete 20:17:38 2bbca73fdf42: Verifying Checksum 20:17:38 2bbca73fdf42: Download complete 20:17:38 46d945488cbd: Verifying Checksum 20:17:38 46d945488cbd: Download complete 20:17:38 b3c136eddcbf: Verifying Checksum 20:17:38 b3c136eddcbf: Download complete 20:17:39 329c88fbcd65: Verifying Checksum 20:17:39 b3c136eddcbf: Pull complete 20:17:39 329c88fbcd65: Download complete 20:17:40 c0a3192eca97: Pull complete 20:17:40 a050256f5b6f: Pull complete 20:17:41 8a5474983e97: Verifying Checksum 20:17:41 8a5474983e97: Download complete 20:17:41 656be50a0ddc: Verifying Checksum 20:17:41 656be50a0ddc: Download complete 20:17:56 656be50a0ddc: Pull complete 20:17:56 2bbca73fdf42: Pull complete 20:17:56 46d945488cbd: Pull complete 20:18:01 8a5474983e97: Pull complete 20:18:03 329c88fbcd65: Pull complete 20:18:03 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 20:18:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:18:03 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] fileExists [Pipeline] sh 20:18:04 + + echodocker FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:18:04 WORKDIR /edgex 20:18:04 COPY go.mod . 20:18:04 RUN go mod download build 20:18:04 -t ci-base-image-arm64 -f - . 20:18:06 Sending build context to Docker daemon 169.2MB 20:18:06 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:18:06 ---> ff4287adb874 20:18:06 Step 2/4 : WORKDIR /edgex 20:18:07 ---> Running in a7b0a5d44ef4 20:18:07 Removing intermediate container a7b0a5d44ef4 20:18:07 ---> 15cb7d66df14 20:18:07 Step 3/4 : COPY go.mod . 20:18:08 ---> 3fee8f66ee5a 20:18:08 Step 4/4 : RUN go mod download 20:18:08 ---> Running in efc1c05e02b4 20:18:47 Removing intermediate container efc1c05e02b4 20:18:47 ---> daf18eaa093d 20:18:47 Successfully built daf18eaa093d 20:18:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:47 + docker inspect -f . ci-base-image-arm64 20:18:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:18:48 prd-ubuntu20.04-docker-arm64-4c-16g-19346 does not seem to be running inside a container 20:18:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:18:49 $ docker top 75941deff61f2d9110fdcfa8e00d02313b8f3a02abec5787833d8b2e05debc7e -eo pid,comm [Pipeline] { [Pipeline] sh 20:18:50 + go version 20:18:50 go version go1.18.3 linux/arm64 [Pipeline] } 20:18:50 $ docker stop --time=1 75941deff61f2d9110fdcfa8e00d02313b8f3a02abec5787833d8b2e05debc7e 20:18:52 $ docker rm -f 75941deff61f2d9110fdcfa8e00d02313b8f3a02abec5787833d8b2e05debc7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:53 + docker inspect -f . ci-base-image-arm64 20:18:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:18:53 prd-ubuntu20.04-docker-arm64-4c-16g-19346 does not seem to be running inside a container 20:18:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:18:54 $ docker top 301cacd460fd6af820f101aa550a771eca70233e5cc4533f55ce4c4fd22bc0be -eo pid,comm [Pipeline] { [Pipeline] echo 20:18:55 ========================================================= 20:18:55 [edgeXBuildGoParallel] Running Tests and Build... 20:18:55 ========================================================= [Pipeline] fileExists [Pipeline] sh 20:18:55 + make test 20:18:55 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 20:19:28 ? github.com/edgexfoundry/edgex-go [no test files] 20:21:20 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 20:21:20 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 20:21:20 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 20:21:20 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 20:21:20 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 20:21:20 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 20:21:20 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 20:21:20 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 20:21:20 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 20:21:20 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 20:21:20 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 20:21:20 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 20:21:20 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 20:21:20 ? github.com/edgexfoundry/edgex-go/internal [no test files] 20:21:20 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 20:21:30 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.336s coverage: 28.7% of statements 20:21:30 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 20:21:30 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 20:21:34 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.848s coverage: 98.5% of statements 20:21:34 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 20:21:34 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.538s coverage: 54.2% of statements 20:21:34 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 20:21:34 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 20:21:53 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 20.732s coverage: 89.2% of statements 20:21:53 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 20:21:53 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 20:21:53 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 20:21:53 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.501s coverage: 83.8% of statements 20:21:53 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 20:21:53 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 20:21:53 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] 20:21:53 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 20:21:53 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 20:21:57 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 2.439s coverage: 95.6% of statements 20:21:57 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 20:21:57 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 20:21:57 ok github.com/edgexfoundry/edgex-go/internal/io 0.470s coverage: 72.2% of statements 20:21:57 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 20:21:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 20:21:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 20:21:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 20:21:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 20:21:57 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.528s coverage: 60.0% of statements 20:21:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 20:21:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 20:21:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 20:21:57 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.367s coverage: 0.9% of statements 20:21:57 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 20:21:57 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.281s coverage: 58.8% of statements 20:21:57 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.308s coverage: 29.6% of statements 20:21:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 20:21:59 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.412s coverage: 47.1% of statements 20:21:59 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.443s coverage: 79.5% of statements 20:22:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.313s coverage: 94.1% of statements 20:22:01 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.249s coverage: 96.3% of statements 20:22:02 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.254s coverage: 87.5% of statements 20:22:15 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.321s coverage: 94.4% of statements 20:22:15 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.230s coverage: 44.8% of statements 20:22:20 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.700s coverage: 82.5% of statements 20:22:20 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 20:22:28 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.300s coverage: 92.9% of statements 20:22:28 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 20:22:28 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 20:22:28 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 20:22:28 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.073s coverage: 65.1% of statements 20:22:28 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 20:22:28 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 20:22:28 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 20:22:28 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 20:22:28 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 20:22:28 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.210s coverage: 87.2% of statements 20:22:28 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 20:22:28 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 20:22:28 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.175s coverage: 100.0% of statements 20:22:28 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 20:22:28 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.299s coverage: 58.8% of statements 20:22:28 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 20:22:28 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.325s coverage: 80.0% of statements 20:22:28 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.247s coverage: 87.2% of statements 20:22:28 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.274s coverage: 85.4% of statements 20:22:28 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.804s coverage: 91.2% of statements 20:22:28 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 20:22:30 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.968s coverage: 64.4% of statements 20:22:30 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 20:22:30 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 20:22:30 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.242s coverage: 100.0% of statements 20:22:30 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.136s coverage: 89.4% of statements 20:22:30 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.078s coverage: 100.0% of statements 20:22:30 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.098s coverage: 73.7% of statements 20:22:31 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.093s coverage: 100.0% of statements 20:22:41 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.380s coverage: 65.4% of statements 20:22:41 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 20:22:41 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 20:22:41 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 20:22:42 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.997s coverage: 43.8% of statements 20:22:42 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 20:22:42 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 20:22:42 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.429s coverage: 89.5% of statements 20:22:42 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 20:22:42 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.231s coverage: 84.8% of statements 20:22:42 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 20:22:42 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 20:22:42 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 20:22:42 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 20:22:50 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.428s coverage: 17.7% of statements 20:22:50 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 20:22:50 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 20:22:50 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 20:22:50 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 20:22:50 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.785s coverage: 92.3% of statements 20:22:50 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 20:22:50 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 20:22:50 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 20:22:50 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 20:22:50 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.274s coverage: 63.2% of statements 20:22:50 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 20:22:50 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 20:22:51 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.481s coverage: 97.7% of statements 20:22:51 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 20:22:51 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 20:22:51 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 20:22:51 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] 20:22:51 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.221s coverage: 28.9% of statements 20:22:51 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] 20:22:51 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] 20:22:51 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 20:22:51 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 20:22:51 ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] 20:22:51 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 20:22:51 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.258s coverage: 100.0% of statements 20:22:51 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.093s coverage: 96.9% of statements 20:22:52 if which hadolint > /dev/null ; then hadolint --config .hadolint.yml `find * -type f -name 'Dockerfile*' -print` ; elif test "aarch64" = "x86_64" && which docker > /dev/null ; then docker run --rm -v `pwd`:/host:ro,z --entrypoint /bin/hadolint hadolint/hadolint:latest --config /host/.hadolint.yml `find * -type f -name 'Dockerfile*' | xargs -i echo '/host/{}'` ; fi 20:22:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:22:52 GO111MODULE=on go vet ./... 20:24:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:24:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:24:44 ./bin/test-attribution-txt.sh [Pipeline] echo 20:24:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] sh 20:24:45 + ls -al . 20:24:45 total 680 20:24:45 drwxrwxr-x 9 1001 1001 4096 Jul 11 20:18 . 20:24:45 drwxr-xr-x 4 root root 4096 Jul 11 20:18 .. 20:24:45 -rw-rw-r-- 1 1001 1001 11 Jul 11 20:17 .dockerignore 20:24:45 drwxrwxr-x 8 1001 1001 4096 Jul 11 20:17 .git 20:24:45 drwxrwxr-x 3 1001 1001 4096 Jul 11 20:17 .github 20:24:45 -rw-rw-r-- 1 1001 1001 1030 Jul 11 20:17 .gitignore 20:24:45 -rw-rw-r-- 1 1001 1001 42 Jul 11 20:17 .golangci.yml 20:24:45 -rw-rw-r-- 1 1001 1001 87 Jul 11 20:17 .hadolint.yml 20:24:45 -rw-rw-r-- 1 1001 1001 166 Jul 11 20:17 .sonarcloud.properties 20:24:45 -rw-rw-r-- 1 1001 1001 1171 Jul 11 20:17 ADOPTERS.md 20:24:45 -rw-rw-r-- 1 1001 1001 10347 Jul 11 20:17 Attribution.txt 20:24:45 -rw-rw-r-- 1 1001 1001 63209 Jul 11 20:17 CHANGELOG.md 20:24:45 -rw-rw-r-- 1 1001 1001 3804 Jul 11 20:17 CONTRIBUTING.md 20:24:45 -rw-rw-r-- 1 1001 1001 677 Jul 11 20:17 GOVERNANCE.md 20:24:45 -rw-rw-r-- 1 1001 1001 929 Jul 11 20:17 Jenkinsfile 20:24:45 -rw-rw-r-- 1 1001 1001 10775 Jul 11 20:17 LICENSE 20:24:45 -rw-rw-r-- 1 1001 1001 10350 Jul 11 20:17 Makefile 20:24:45 -rw-rw-r-- 1 1001 1001 582 Jul 11 20:17 OWNERS.md 20:24:45 -rw-rw-r-- 1 1001 1001 9094 Jul 11 20:17 README.md 20:24:45 -rw-rw-r-- 1 1001 1001 6912 Jul 11 20:17 SECURITY.md 20:24:45 -rw-rw-r-- 1 1001 1001 5 Jul 11 20:14 VERSION 20:24:45 -rw-rw-r-- 1 1001 1001 4131 Jul 11 20:17 ZMQWindows.md 20:24:45 drwxrwxr-x 2 1001 1001 4096 Jul 11 20:17 bin 20:24:45 drwxrwxr-x 18 1001 1001 4096 Jul 11 20:17 cmd 20:24:45 -rw-r--r-- 1 root root 435593 Jul 11 20:22 coverage.out 20:24:45 -rw-rw-r-- 1 1001 1001 3311 Jul 11 20:17 go.mod 20:24:45 -rw-rw-r-- 1 1001 1001 36231 Jul 11 20:17 go.sum 20:24:45 drwxrwxr-x 8 1001 1001 4096 Jul 11 20:17 internal 20:24:45 drwxrwxr-x 3 1001 1001 4096 Jul 11 20:17 openapi 20:24:45 drwxrwxr-x 4 1001 1001 4096 Jul 11 20:17 snap 20:24:45 -rw-rw-r-- 1 1001 1001 204 Jul 11 20:17 version.go [Pipeline] sh 20:24:45 + '[' -e coverage.out ] 20:24:45 + chown 1001:1001 coverage.out [Pipeline] stash 20:24:46 Stashed 1 file(s) [Pipeline] sh 20:24:47 + make build 20:24:47 CGO_ENABLED=1 GO111MODULE=on go build -tags "non_delayedstart" -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/core-data/core-data ./cmd/core-data 20:24:47 error obtaining VCS status: exit status 128 20:24:47 Use -buildvcs=false to disable VCS stamping. 20:24:47 make: *** [Makefile:92: cmd/core-data/core-data] Error 1 [Pipeline] } 20:24:47 $ docker stop --time=1 301cacd460fd6af820f101aa550a771eca70233e5cc4533f55ce4c4fd22bc0be 20:24:49 $ docker rm -f 301cacd460fd6af820f101aa550a771eca70233e5cc4533f55ce4c4fd22bc0be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:24:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:24:51 20:24:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:24:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:24:52 arm64: Pulling from edgex-lftools-log-publisher 20:24:52 8998bd30e6a1: Pulling fs layer 20:24:52 04944245beec: Pulling fs layer 20:24:52 699f458cf7ca: Pulling fs layer 20:24:52 765212b225bb: Pulling fs layer 20:24:52 f23df028b6ca: Pulling fs layer 20:24:52 d65c8cfc05b1: Pulling fs layer 20:24:52 2437ff75d9bd: Pulling fs layer 20:24:52 765212b225bb: Waiting 20:24:52 f23df028b6ca: Waiting 20:24:52 d65c8cfc05b1: Waiting 20:24:52 2437ff75d9bd: Waiting 20:24:52 04944245beec: Verifying Checksum 20:24:52 04944245beec: Download complete 20:24:52 765212b225bb: Verifying Checksum 20:24:52 765212b225bb: Download complete 20:24:52 f23df028b6ca: Download complete 20:24:52 d65c8cfc05b1: Verifying Checksum 20:24:52 d65c8cfc05b1: Download complete 20:24:52 699f458cf7ca: Verifying Checksum 20:24:52 699f458cf7ca: Download complete 20:24:53 8998bd30e6a1: Verifying Checksum 20:24:53 8998bd30e6a1: Download complete 20:24:55 2437ff75d9bd: Verifying Checksum 20:24:55 2437ff75d9bd: Download complete 20:24:57 8998bd30e6a1: Pull complete 20:24:58 04944245beec: Pull complete 20:24:59 699f458cf7ca: Pull complete 20:24:59 765212b225bb: Pull complete 20:25:00 f23df028b6ca: Pull complete 20:25:00 d65c8cfc05b1: Pull complete 20:25:15 2437ff75d9bd: Pull complete 20:25:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:25:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:25:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:25:16 prd-ubuntu20.04-docker-arm64-4c-16g-19346 does not seem to be running inside a container 20:25:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:25:18 $ docker top 5a1aea6f314abfb2ea2d582741997adc35bc3cd5495415fe6622f058b8ee74b0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:25:19 ---> job-cost.sh 20:25:19 lf-activate-venv: SKIPPING 20:25:19 INFO: No Stack... 20:25:19 INFO: Retrieving Pricing Info for: v3-standard-4 20:25:20 INFO: Archiving Costs [Pipeline] sh 20:25:21 + cat /w/workspace/edgex-go/2/archives/cost.csv 20:25:21 + cut -d, -f6 [Pipeline] lock 20:25:21 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4089-2-stack-cost] 20:25:21 Resource [jenkins-edgexfoundry-edgex-go-PR-4089-2-stack-cost] did not exist. Created. 20:25:21 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4089-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:25:22 + echo total: 0.10999999940395355 [Pipeline] stash 20:25:22 Stashed 1 file(s) [Pipeline] } 20:25:22 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4089-2-stack-cost] [Pipeline] // lock [Pipeline] } 20:25:22 $ docker stop --time=1 5a1aea6f314abfb2ea2d582741997adc35bc3cd5495415fe6622f058b8ee74b0 20:25:24 $ docker rm -f 5a1aea6f314abfb2ea2d582741997adc35bc3cd5495415fe6622f058b8ee74b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:25:24 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:25:26 + [ -d /w/workspace/edgex-go/2/archives ] [Pipeline] libraryResource [Pipeline] sh 20:25:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:25:27 ---> package-listing.sh 20:25:27 ++ tr '[:upper:]' '[:lower:]' 20:25:27 ++ facter osfamily 20:25:28 + OS_FAMILY=debian 20:25:28 + workspace=/w/workspace/edgex-go/2 20:25:28 + START_PACKAGES=/tmp/packages_start.txt 20:25:28 + END_PACKAGES=/tmp/packages_end.txt 20:25:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:25:28 + PACKAGES=/tmp/packages_start.txt 20:25:28 + '[' /w/workspace/edgex-go/2 ']' 20:25:28 + PACKAGES=/tmp/packages_end.txt 20:25:28 + case "${OS_FAMILY}" in 20:25:28 + dpkg -l 20:25:28 + grep '^ii' 20:25:28 + '[' -f /tmp/packages_start.txt ']' 20:25:28 + '[' -f /tmp/packages_end.txt ']' 20:25:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:25:28 + '[' /w/workspace/edgex-go/2 ']' 20:25:28 + mkdir -p /w/workspace/edgex-go/2/archives/ 20:25:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo 20:25:28 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:25:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:25:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:25:28 20:25:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:25:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:25:29 latest: Pulling from edgex-lftools-log-publisher 20:25:29 5eb5b503b376: Pulling fs layer 20:25:29 5c69ac0246d0: Pulling fs layer 20:25:29 ec43610c2a17: Pulling fs layer 20:25:29 3a2ae6a8a46f: Pulling fs layer 20:25:29 33b1e0a273af: Pulling fs layer 20:25:29 5d3b04190fa2: Pulling fs layer 20:25:29 2f39f015ded8: Pulling fs layer 20:25:29 2f39f015ded8: Waiting 20:25:29 33b1e0a273af: Waiting 20:25:29 5d3b04190fa2: Waiting 20:25:29 3a2ae6a8a46f: Waiting 20:25:29 5c69ac0246d0: Download complete 20:25:29 3a2ae6a8a46f: Verifying Checksum 20:25:29 3a2ae6a8a46f: Download complete 20:25:29 33b1e0a273af: Verifying Checksum 20:25:29 33b1e0a273af: Download complete 20:25:29 5d3b04190fa2: Verifying Checksum 20:25:29 5d3b04190fa2: Download complete 20:25:29 ec43610c2a17: Verifying Checksum 20:25:29 ec43610c2a17: Download complete 20:25:29 5eb5b503b376: Download complete 20:25:30 2f39f015ded8: Verifying Checksum 20:25:30 2f39f015ded8: Download complete 20:25:31 5eb5b503b376: Pull complete 20:25:31 5c69ac0246d0: Pull complete 20:25:31 ec43610c2a17: Pull complete 20:25:31 3a2ae6a8a46f: Pull complete 20:25:32 33b1e0a273af: Pull complete 20:25:32 5d3b04190fa2: Pull complete 20:25:37 2f39f015ded8: Pull complete 20:25:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:25:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:25:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:25:37 prd-ubuntu20.04-docker-8c-8g-19345 does not seem to be running inside a container 20:25:37 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:25:39 $ docker top 977cc2acb7855bc41725a9944f751d8b0400b622322cb1236545669a911c62bd -eo pid,comm [Pipeline] { [Pipeline] sh 20:25:39 + touch /tmp/pre-build-complete [Pipeline] sh 20:25:39 + mkdir -p /var/log/sysstat [Pipeline] sh 20:25:40 + ls /var/log/sa-host 20:25:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:25:40 provisioning config files... 20:25:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config2426656006097163313tmp [Pipeline] { [Pipeline] echo 20:25:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:25:40 ---> create-netrc.sh [Pipeline] } 20:25:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:25:41 ---> python-tools-install.sh [Pipeline] echo 20:25:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:25:41 ---> sudo-logs.sh 20:25:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:25:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:25:41 ---> job-cost.sh 20:25:41 lf-activate-venv: SKIPPING 20:25:41 DEBUG: total: 0.10999999940395355 20:25:41 INFO: Retrieving Stack Cost... 20:25:42 INFO: Retrieving Pricing Info for: v3-standard-8 20:25:42 INFO: Archiving Costs [Pipeline] echo 20:25:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:25:43 ---> logs-deploy.sh 20:25:43 lf-activate-venv: SKIPPING 20:25:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4089/2 20:25:43 INFO: archiving workspace using pattern(s): 20:25:44 Archives upload complete. 20:25:44 INFO: archiving logs to Nexus