jim-wang-intel commented: recheck 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 vli11 for edgexfoundry/edgex-go Obtained Jenkinsfile from 0be212d19053fe3f08685f5d366a2f4f0346f5b2+fb67e34980dfa056f4ddb70a50fca33d4f71295e (420341b50b3a71acab1ae79705dc5ec3215f2782) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15049929407149311323.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7e4371ac6d730b8e642184b898413c6ef59a5643 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3106674682010944262.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 7e4371ac6d730b8e642184b898413c6ef59a5643 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4085/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4085/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7801255852959416102.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7e4371ac6d730b8e642184b898413c6ef59a5643 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7e4371ac6d730b8e642184b898413c6ef59a5643 # timeout=10 Commit message: "Merge pull request #404 from bill-mahoney/go-1.18" > 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-ssh13669518841350598806.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4085/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4085/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1151632168135121542.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-19361 in /w/workspace/edgexfoundry_edgex-go_PR-4085 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/8 [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/8 # 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/4085/head:refs/remotes/origin/PR-4085 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit fb67e34980dfa056f4ddb70a50fca33d4f71295e into PR head commit 0be212d19053fe3f08685f5d366a2f4f0346f5b2 Merge succeeded, producing 1535b97e2af09275425bd8f5d20ed75e02a8d363 Checking out Revision 1535b97e2af09275425bd8f5d20ed75e02a8d363 (PR-4085) > git config core.sparsecheckout # timeout=10 > git checkout -f 0be212d19053fe3f08685f5d366a2f4f0346f5b2 # 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 1535b97e2af09275425bd8f5d20ed75e02a8d363 # timeout=10 Commit message: "Merge commit 'fb67e34980dfa056f4ddb70a50fca33d4f71295e' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:04:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:04:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:04:42 ========================================================= 21:04:42 EdgeX Global Pipelines Version Info 21:04:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 052ac56c964449f5d0da05d9c0c05c9db53069d9 # timeout=10 21:04:43 ------------------- 21:04:43 stable info: 21:04:43 ------------------- 21:04:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:04:43 Commit SHA: 7e4371ac6d730b8e642184b898413c6ef59a5643 21:04:43 Message: update stable to v1.0.236 21:04:43 ------------------- 21:04:43 experimental info: 21:04:43 ------------------- 21:04:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:04:43 Commit SHA: 7e4371ac6d730b8e642184b898413c6ef59a5643 21:04:43 Message: update experimental to v1.0.236 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:04:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 21:04:44 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 21:04:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:04:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:04:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:04:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:04:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:04:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 21:04:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 21:04:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 21:04:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:04:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:04:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:04:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:04:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:04:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:04:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:04:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:04:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:04:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 21:04:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:04:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:04:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:04:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4085 [Pipeline] echo 21:04:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4085 [Pipeline] echo 21:04:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4085 [Pipeline] echo 21:04:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1535b97e2af09275425bd8f5d20ed75e02a8d363 [Pipeline] echo 21:04:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1535b97 [Pipeline] echo 21:04:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:04:44 provisioning config files... 21:04:44 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/8@tmp/config6348386261706259343tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:04:44 ---> docker-login.sh 21:04:44 nexus3.edgexfoundry.org:10001 21:04:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:44 Configure a credential helper to remove this warning. See 21:04:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:44 21:04:44 Login Succeeded 21:04:44 nexus3.edgexfoundry.org:10002 21:04:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:45 Configure a credential helper to remove this warning. See 21:04:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:45 21:04:45 Login Succeeded 21:04:45 nexus3.edgexfoundry.org:10003 21:04:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:45 Configure a credential helper to remove this warning. See 21:04:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:45 21:04:45 Login Succeeded 21:04:45 nexus3.edgexfoundry.org:10004 21:04:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:45 Configure a credential helper to remove this warning. See 21:04:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:45 21:04:45 Login Succeeded 21:04:45 docker.io 21:04:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:46 Configure a credential helper to remove this warning. See 21:04:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:46 21:04:46 Login Succeeded 21:04:46 ---> docker-login.sh ends [Pipeline] } 21:04:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:04:46 + 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 21:04:46 + dirname cmd/core-command/Dockerfile 21:04:46 + cut -d/ -f2 21:04:46 + echo core-command,cmd/core-command/Dockerfile 21:04:46 + dirname cmd/core-data/Dockerfile 21:04:46 + cut -d/ -f2 21:04:46 + echo core-data,cmd/core-data/Dockerfile 21:04:46 + + dirname cmd/core-metadata/Dockerfile 21:04:46 cut -d/ -f2 21:04:46 + echo core-metadata,cmd/core-metadata/Dockerfile 21:04:46 + dirname cmd/security-bootstrapper/Dockerfile 21:04:46 + cut -d/ -f2 21:04:46 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 21:04:46 + dirname cmd/security-proxy-setup/Dockerfile 21:04:46 + cut -d/ -f2 21:04:46 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 21:04:46 + dirname cmd/security-secretstore-setup/Dockerfile 21:04:46 + cut -d/ -f2 21:04:46 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 21:04:46 + dirname cmd/security-spiffe-token-provider/Dockerfile 21:04:46 + cut -d/ -f2 21:04:46 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 21:04:46 + dirname cmd/security-spire-agent/Dockerfile 21:04:46 + cut -d/ -f2 21:04:46 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 21:04:46 + dirname cmd/security-spire-config/Dockerfile 21:04:46 + cut -d/ -f2 21:04:46 + echo security-spire-config,cmd/security-spire-config/Dockerfile 21:04:46 + dirname cmd/security-spire-server/Dockerfile 21:04:46 + cut -d/ -f2 21:04:46 + echo security-spire-server,cmd/security-spire-server/Dockerfile 21:04:46 + dirname cmd/support-notifications/Dockerfile 21:04:46 + cut -d/ -f2 21:04:46 + echo support-notifications,cmd/support-notifications/Dockerfile 21:04:46 + + dirname cmd/support-scheduler/Dockerfilecut 21:04:46 -d/ -f2 21:04:46 + echo support-scheduler,cmd/support-scheduler/Dockerfile 21:04:46 + dirname cmd/sys-mgmt-agent/Dockerfile 21:04:46 + cut -d/ -f2 21:04:46 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 21:04:46 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 21:04:46 + git rev-list -1 --merges 1535b97e2af09275425bd8f5d20ed75e02a8d363~1..1535b97e2af09275425bd8f5d20ed75e02a8d363 [Pipeline] echo 21:04:46 -----------> git rev-list -1 --merges 1535b97e2af09275425bd8f5d20ed75e02a8d363~1..1535b97e2af09275425bd8f5d20ed75e02a8d363 1535b97e2af09275425bd8f5d20ed75e02a8d363 21:04:46 1535b97e2af09275425bd8f5d20ed75e02a8d363 [false] [Pipeline] sh 21:04:47 + git log --format=format:%s -1 1535b97e2af09275425bd8f5d20ed75e02a8d363 [Pipeline] echo 21:04:47 ========================================================= 21:04:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:04:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 21:04:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:04:47 + grep -v github /etc/ssh/ssh_known_hosts 21:04:47 + [ -e /tmp/ssh_known_hosts ] 21:04:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:04:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:04:47 + sudo tee -a /etc/ssh/ssh_known_hosts 21:04:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:04:47 21:04:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:04:48 0.1.4: Pulling from edgex-devops/py-git-semver 21:04:48 b85a868b505f: Pulling fs layer 21:04:48 e2be974225ed: Pulling fs layer 21:04:48 339a4e72a1f5: Pulling fs layer 21:04:48 988bab9f4d93: Pulling fs layer 21:04:48 1469e6f7b9e6: Pulling fs layer 21:04:48 eaf3925da568: Pulling fs layer 21:04:48 bab4dde63d76: Pulling fs layer 21:04:48 bde34c3a00c8: Pulling fs layer 21:04:48 b352a97aabf1: Pulling fs layer 21:04:48 4872d77fe225: Pulling fs layer 21:04:48 5851b861e8e6: Pulling fs layer 21:04:48 eaf3925da568: Waiting 21:04:48 bab4dde63d76: Waiting 21:04:48 bde34c3a00c8: Waiting 21:04:48 b352a97aabf1: Waiting 21:04:48 4872d77fe225: Waiting 21:04:48 5851b861e8e6: Waiting 21:04:48 988bab9f4d93: Waiting 21:04:48 e2be974225ed: Download complete 21:04:48 988bab9f4d93: Verifying Checksum 21:04:48 988bab9f4d93: Download complete 21:04:48 339a4e72a1f5: Verifying Checksum 21:04:48 339a4e72a1f5: Download complete 21:04:48 1469e6f7b9e6: Verifying Checksum 21:04:48 1469e6f7b9e6: Download complete 21:04:48 eaf3925da568: Verifying Checksum 21:04:48 eaf3925da568: Download complete 21:04:48 bde34c3a00c8: Verifying Checksum 21:04:48 bde34c3a00c8: Download complete 21:04:48 b352a97aabf1: Verifying Checksum 21:04:48 b352a97aabf1: Download complete 21:04:48 4872d77fe225: Verifying Checksum 21:04:48 4872d77fe225: Download complete 21:04:48 5851b861e8e6: Verifying Checksum 21:04:48 5851b861e8e6: Download complete 21:04:48 b85a868b505f: Verifying Checksum 21:04:48 b85a868b505f: Download complete 21:04:48 bab4dde63d76: Verifying Checksum 21:04:48 bab4dde63d76: Download complete 21:04:50 b85a868b505f: Pull complete 21:04:50 e2be974225ed: Pull complete 21:04:50 339a4e72a1f5: Pull complete 21:04:50 988bab9f4d93: Pull complete 21:04:50 1469e6f7b9e6: Pull complete 21:04:51 eaf3925da568: Pull complete 21:04:53 bab4dde63d76: Pull complete 21:04:53 bde34c3a00c8: Pull complete 21:04:53 b352a97aabf1: Pull complete 21:04:53 4872d77fe225: Pull complete 21:04:53 5851b861e8e6: Pull complete 21:04:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:04:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:04:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:04:53 prd-ubuntu20.04-docker-8c-8g-19361 does not seem to be running inside a container 21:04:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/8 -v /w/workspace/edgex-go/8:/w/workspace/edgex-go/8:rw,z -v /w/workspace/edgex-go/8@tmp:/w/workspace/edgex-go/8@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-devops/py-git-semver:0.1.4 cat 21:04:55 $ docker top 79658fc54d55e76032b8ce7ab0593cf087340aebe344d7e0e7988c8c8596880e -eo pid,comm 21:04:55 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). 21:04:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:04:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:04:55 [ssh-agent] Looking for ssh-agent implementation... 21:04:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:04:55 $ docker exec 79658fc54d55e76032b8ce7ab0593cf087340aebe344d7e0e7988c8c8596880e ssh-agent 21:04:55 SSH_AUTH_SOCK=/tmp/ssh-ROvkJarsnIoO/agent.32 21:04:55 SSH_AGENT_PID=38 21:04:55 Running ssh-add (command line suppressed) 21:04:55 Identity added: /w/workspace/edgex-go/8@tmp/private_key_4761600270377487973.key (/w/workspace/edgex-go/8@tmp/private_key_4761600270377487973.key) 21:04:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:04:55 + git tag --points-at HEAD [Pipeline] } 21:04:55 $ docker exec --env ******** --env ******** 79658fc54d55e76032b8ce7ab0593cf087340aebe344d7e0e7988c8c8596880e ssh-agent -k 21:04:56 unset SSH_AUTH_SOCK; 21:04:56 unset SSH_AGENT_PID; 21:04:56 echo Agent pid 38 killed; 21:04:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:04:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:04:56 [ssh-agent] Looking for ssh-agent implementation... 21:04:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:04:56 $ docker exec 79658fc54d55e76032b8ce7ab0593cf087340aebe344d7e0e7988c8c8596880e ssh-agent 21:04:56 SSH_AUTH_SOCK=/tmp/ssh-eldtiPGfdq1I/agent.70 21:04:56 SSH_AGENT_PID=76 21:04:56 Running ssh-add (command line suppressed) 21:04:56 Identity added: /w/workspace/edgex-go/8@tmp/private_key_6760805561652519883.key (/w/workspace/edgex-go/8@tmp/private_key_6760805561652519883.key) 21:04:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:04:56 + git semver init 21:04:57 2022-07-11 21:04:57,113 [run_init] DEBUG init version:0.0.0 force:False 21:04:57 2022-07-11 21:04:57,114 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/8/.semver 21:04:57 2022-07-11 21:04:57,115 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/8/.semver 21:04:57 2022-07-11 21:04:57,115 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/edgex-go.git', '/w/workspace/edgex-go/8/.semver'], cwd=/w/workspace/edgex-go/8, universal_newlines=False, shell=None, istream=None) 21:05:02 2022-07-11 21:05:01,498 [append_file] DEBUG append to file:/w/workspace/edgex-go/8/.git/info/exclude 21:05:02 2022-07-11 21:05:01,498 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/8/.semver/PR-4085 with force:False 21:05:02 2022-07-11 21:05:01,499 [write_file] DEBUG write to file:/w/workspace/edgex-go/8/.semver/PR-4085 21:05:02 2022-07-11 21:05:01,503 [execute] INFO git cat-file --batch-check 21:05:02 2022-07-11 21:05:01,504 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/8/.semver, universal_newlines=False, shell=None, istream=) 21:05:02 2022-07-11 21:05:01,510 [execute] INFO git cat-file --batch 21:05:02 2022-07-11 21:05:01,511 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/8/.semver, universal_newlines=False, shell=None, istream=) 21:05:02 2022-07-11 21:05:01,517 [read_version] DEBUG read version from /w/workspace/edgex-go/8/.semver/PR-4085 21:05:02 0.0.0 [Pipeline] } 21:05:02 $ docker exec --env ******** --env ******** 79658fc54d55e76032b8ce7ab0593cf087340aebe344d7e0e7988c8c8596880e ssh-agent -k 21:05:02 unset SSH_AUTH_SOCK; 21:05:02 unset SSH_AGENT_PID; 21:05:02 echo Agent pid 76 killed; 21:05:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:05:02 + git semver [Pipeline] } 21:05:03 $ docker stop --time=1 79658fc54d55e76032b8ce7ab0593cf087340aebe344d7e0e7988c8c8596880e 21:05:04 $ docker rm -f 79658fc54d55e76032b8ce7ab0593cf087340aebe344d7e0e7988c8c8596880e [Pipeline] // withDockerContainer [Pipeline] sh 21:05:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:05:05 Stashed 1 file(s) [Pipeline] echo 21:05:05 [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 21:05:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:05:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:05:05 ========================================================= 21:05:05 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:05:05 ========================================================= [Pipeline] fileExists [Pipeline] sh 21:05:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:05:05 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:05:05 2408cc74d12b: Pulling fs layer 21:05:05 ea60b727a1ce: Pulling fs layer 21:05:05 30c4a7721957: Pulling fs layer 21:05:05 370296b7ddb6: Pulling fs layer 21:05:05 7c6cee850709: Pulling fs layer 21:05:05 39a5fcdaea64: Pulling fs layer 21:05:05 7c6cee850709: Waiting 21:05:05 d94ebbe4e438: Pulling fs layer 21:05:05 bcfd1f05c69d: Pulling fs layer 21:05:05 59ccb84bbe0f: Pulling fs layer 21:05:05 39a5fcdaea64: Waiting 21:05:05 d94ebbe4e438: Waiting 21:05:05 bcfd1f05c69d: Waiting 21:05:05 59ccb84bbe0f: Waiting 21:05:05 30c4a7721957: Verifying Checksum 21:05:05 30c4a7721957: Download complete 21:05:05 ea60b727a1ce: Download complete 21:05:05 7c6cee850709: Download complete 21:05:05 39a5fcdaea64: Verifying Checksum 21:05:05 39a5fcdaea64: Download complete 21:05:05 2408cc74d12b: Verifying Checksum 21:05:05 2408cc74d12b: Download complete 21:05:05 d94ebbe4e438: Verifying Checksum 21:05:05 d94ebbe4e438: Download complete 21:05:05 2408cc74d12b: Pull complete 21:05:06 ea60b727a1ce: Pull complete 21:05:06 30c4a7721957: Pull complete 21:05:06 59ccb84bbe0f: Verifying Checksum 21:05:06 59ccb84bbe0f: Download complete 21:05:06 bcfd1f05c69d: Verifying Checksum 21:05:06 bcfd1f05c69d: Download complete 21:05:06 370296b7ddb6: Verifying Checksum 21:05:06 370296b7ddb6: Download complete 21:05:10 370296b7ddb6: Pull complete 21:05:10 7c6cee850709: Pull complete 21:05:10 39a5fcdaea64: Pull complete 21:05:11 d94ebbe4e438: Pull complete 21:05:13 bcfd1f05c69d: Pull complete 21:05:14 59ccb84bbe0f: Pull complete 21:05:14 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 21:05:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:05:14 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] fileExists [Pipeline] sh 21:05:14 + + docker build -t ci-base-image-x86_64 -f - . 21:05:14 echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:05:14 WORKDIR /edgex 21:05:14 COPY go.mod . 21:05:14 RUN go mod download 21:05:15 Sending build context to Docker daemon 335.2MB 21:05:15 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:05:15 ---> a4fb48ad2a94 21:05:15 Step 2/4 : WORKDIR /edgex 21:05:18 ---> Running in 5a7f79561130 21:05:18 Removing intermediate container 5a7f79561130 21:05:18 ---> 8bd5c3e65040 21:05:18 Step 3/4 : COPY go.mod . 21:05:18 ---> 39d7c9181fd0 21:05:18 Step 4/4 : RUN go mod download 21:05:18 ---> Running in 615c6812eaa1 21:05:20 Still waiting to schedule task 21:05:20 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 21:05:30 Removing intermediate container 615c6812eaa1 21:05:30 ---> 13790a3c960c 21:05:30 Successfully built 13790a3c960c 21:05:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:31 + docker inspect -f . ci-base-image-x86_64 21:05:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:31 prd-ubuntu20.04-docker-8c-8g-19361 does not seem to be running inside a container 21:05:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/8 -v /w/workspace/edgex-go/8:/w/workspace/edgex-go/8:rw,z -v /w/workspace/edgex-go/8@tmp:/w/workspace/edgex-go/8@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:05:31 $ docker top f735bd85b25f9fc950101f2d3ab3fab77f72f8c2451a358095678540c335d89d -eo pid,comm [Pipeline] { [Pipeline] sh 21:05:32 + go version 21:05:32 go version go1.18.3 linux/amd64 [Pipeline] } 21:05:32 $ docker stop --time=1 f735bd85b25f9fc950101f2d3ab3fab77f72f8c2451a358095678540c335d89d 21:05:33 $ docker rm -f f735bd85b25f9fc950101f2d3ab3fab77f72f8c2451a358095678540c335d89d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:34 + docker inspect -f . ci-base-image-x86_64 21:05:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:34 prd-ubuntu20.04-docker-8c-8g-19361 does not seem to be running inside a container 21:05:34 $ 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/8 -v /w/workspace/edgex-go/8:/w/workspace/edgex-go/8:rw,z -v /w/workspace/edgex-go/8@tmp:/w/workspace/edgex-go/8@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:05:34 $ docker top 909e4529f9287a1e1d613e777e98a64a5fc8d81bbc310639498c22a63d54bc95 -eo pid,comm [Pipeline] { [Pipeline] echo 21:05:34 ========================================================= 21:05:34 [edgeXBuildGoParallel] Running Tests and Build... 21:05:34 ========================================================= [Pipeline] fileExists [Pipeline] sh 21:05:34 + make test 21:05:34 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:05:41 ? github.com/edgexfoundry/edgex-go [no test files] 21:05:56 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 21:05:56 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 21:05:56 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 21:05:56 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 21:05:56 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 21:05:56 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 21:05:56 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 21:05:56 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 21:05:56 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 21:05:56 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 21:05:56 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 21:05:56 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 21:05:56 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 21:05:56 ? github.com/edgexfoundry/edgex-go/internal [no test files] 21:05:56 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 21:05:57 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.042s coverage: 28.7% of statements 21:05:57 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 21:05:57 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 21:05:57 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.102s coverage: 98.5% of statements 21:05:57 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 21:05:57 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.115s coverage: 54.2% of statements 21:05:57 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 21:05:57 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 21:06:02 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 4.046s coverage: 89.2% of statements 21:06:02 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 21:06:02 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 21:06:02 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 21:06:02 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.082s coverage: 83.8% of statements 21:06:02 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 21:06:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 21:06:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] 21:06:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 21:06:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 21:06:02 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.464s coverage: 95.6% of statements 21:06:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 21:06:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 21:06:02 ok github.com/edgexfoundry/edgex-go/internal/io 0.071s coverage: 72.2% of statements 21:06:02 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 21:06:02 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 21:06:02 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 21:06:02 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 21:06:02 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 21:06:02 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.075s coverage: 60.0% of statements 21:06:02 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 21:06:02 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 21:06:02 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 21:06:02 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.081s coverage: 0.9% of statements 21:06:02 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 21:06:02 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.066s coverage: 58.8% of statements 21:06:02 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.098s coverage: 29.6% of statements 21:06:02 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 21:06:02 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.096s coverage: 47.1% of statements 21:06:02 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.074s coverage: 79.5% of statements 21:06:02 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.080s coverage: 94.1% of statements 21:06:02 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.068s coverage: 96.3% of statements 21:06:02 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.063s coverage: 87.5% of statements 21:06:06 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.061s coverage: 94.4% of statements 21:06:06 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.081s coverage: 44.8% of statements 21:06:11 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.195s coverage: 82.5% of statements 21:06:11 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 21:06:19 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.084s coverage: 92.9% of statements 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 21:06:19 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.032s coverage: 65.1% of statements 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 21:06:19 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.071s coverage: 87.2% of statements 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 21:06:19 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.052s coverage: 100.0% of statements 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 21:06:19 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.088s coverage: 58.8% of statements 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 21:06:19 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.066s coverage: 80.0% of statements 21:06:19 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.056s coverage: 87.2% of statements 21:06:19 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.078s coverage: 85.4% of statements 21:06:19 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.225s coverage: 91.2% of statements 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 21:06:19 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.155s coverage: 64.4% of statements 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 21:06:19 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.065s coverage: 100.0% of statements 21:06:19 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.031s coverage: 89.4% of statements 21:06:19 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.031s coverage: 100.0% of statements 21:06:19 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.033s coverage: 73.7% of statements 21:06:19 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.024s coverage: 100.0% of statements 21:06:19 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.356s coverage: 65.4% of statements 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 21:06:19 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.193s coverage: 43.8% of statements 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 21:06:19 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.076s coverage: 89.5% of statements 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 21:06:19 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.054s coverage: 84.8% of statements 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 21:06:19 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.085s coverage: 17.7% of statements 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 21:06:19 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.187s coverage: 92.3% of statements 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 21:06:19 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.054s coverage: 63.2% of statements 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 21:06:19 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.108s coverage: 97.7% of statements 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] 21:06:19 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.054s coverage: 28.9% of statements 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] 21:06:19 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 21:06:19 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.056s coverage: 100.0% of statements 21:06:19 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.037s coverage: 96.9% of statements 21:06:20 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 21:06:41 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." 21:06:41 cmd/core-command/main.go:1: : error obtaining VCS status: exit status 128 21:06:41 Use -buildvcs=false to disable VCS stamping. (typecheck) 21:06:41 /******************************************************************************* 21:06:41 cmd/core-data/main.go:1: : error obtaining VCS status: exit status 128 21:06:41 Use -buildvcs=false to disable VCS stamping. (typecheck) 21:06:41 /******************************************************************************* 21:06:41 cmd/core-metadata/main.go:1: : error obtaining VCS status: exit status 128 21:06:41 Use -buildvcs=false to disable VCS stamping. (typecheck) 21:06:41 /******************************************************************************* 21:06:41 make: *** [Makefile:138: lint] Error 1 [Pipeline] } 21:06:42 $ docker stop --time=1 909e4529f9287a1e1d613e777e98a64a5fc8d81bbc310639498c22a63d54bc95 21:06:44 $ docker rm -f 909e4529f9287a1e1d613e777e98a64a5fc8d81bbc310639498c22a63d54bc95 [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] } 21:06:44 Failed in branch amd64 21:09:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19362 in /w/workspace/edgexfoundry_edgex-go_PR-4085 [Pipeline] { [Pipeline] ws 21:09:37 Running in /w/workspace/edgex-go/8 [Pipeline] { [Pipeline] checkout 21:09:37 The recommended git tool is: git 21:09:44 using credential edgex-jenkins-ssh 21:09:44 Cloning the remote Git repository 21:09:44 Cloning repository git@github.com:edgexfoundry/edgex-go.git 21:09:45 > git init /w/workspace/edgex-go/8 # timeout=10 21:09:45 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 21:09:45 > git --version # timeout=10 21:09:45 > git --version # 'git version 2.25.1' 21:09:45 using GIT_SSH to set credentials SSH Credentials for GitHub 21:09:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:10:03 Merging remotes/origin/main commit fb67e34980dfa056f4ddb70a50fca33d4f71295e into PR head commit 0be212d19053fe3f08685f5d366a2f4f0346f5b2 21:10:04 Merge succeeded, producing 57a20ec581ff08d9ed41209fa58fe16148463c46 21:10:04 Checking out Revision 57a20ec581ff08d9ed41209fa58fe16148463c46 (PR-4085) 21:10:02 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 21:10:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:10:02 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 21:10:02 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 21:10:02 using GIT_SSH to set credentials SSH Credentials for GitHub 21:10:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4085/head:refs/remotes/origin/PR-4085 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:10:03 > git config core.sparsecheckout # timeout=10 21:10:03 > git checkout -f 0be212d19053fe3f08685f5d366a2f4f0346f5b2 # timeout=10 21:10:04 > git remote # timeout=10 21:10:04 > git config --get remote.origin.url # timeout=10 21:10:04 using GIT_SSH to set credentials SSH Credentials for GitHub 21:10:04 > git merge fb67e34980dfa056f4ddb70a50fca33d4f71295e # timeout=10 21:10:04 > git rev-parse HEAD^{commit} # timeout=10 21:10:04 > git config core.sparsecheckout # timeout=10 21:10:04 > git checkout -f 57a20ec581ff08d9ed41209fa58fe16148463c46 # timeout=10 21:10:08 Commit message: "Merge commit 'fb67e34980dfa056f4ddb70a50fca33d4f71295e' into HEAD" 21:10:08 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:10:08 > git rev-list --no-walk 052ac56c964449f5d0da05d9c0c05c9db53069d9 # timeout=10 21:10:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:10:09 % Total % Received % Xferd Average Speed Time Time Time Current 21:10:09 Dload Upload Total Spent Left Speed 21:10:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 63606 0 --:--:-- --:--:-- --:--:-- 63606 [Pipeline] sh 21:10:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:10:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:10:10 + sudo tee /etc/docker/daemon.new 21:10:10 { 21:10:10 "registry-mirrors": [ 21:10:10 "https://nexus3.edgexfoundry.org:10001" 21:10:10 ], 21:10:10 "bip": "10.250.0.254/24", 21:10:10 "hosts": [ 21:10:10 "tcp://0.0.0.0:5555", 21:10:10 "unix:///var/run/docker.sock" 21:10:10 ], 21:10:10 "mtu": 1458, 21:10:10 "selinux-enabled": true, 21:10:10 "seccomp-profile": "/etc/docker/seccomp.json" 21:10:10 } [Pipeline] sh 21:10:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:10:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:10:29 provisioning config files... 21:10:29 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/8@tmp/config8897071931827935705tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:10:30 ---> docker-login.sh 21:10:30 nexus3.edgexfoundry.org:10001 21:10:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:30 Configure a credential helper to remove this warning. See 21:10:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:30 21:10:30 Login Succeeded 21:10:31 nexus3.edgexfoundry.org:10002 21:10:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:31 Configure a credential helper to remove this warning. See 21:10:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:31 21:10:31 Login Succeeded 21:10:31 nexus3.edgexfoundry.org:10003 21:10:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:32 Configure a credential helper to remove this warning. See 21:10:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:32 21:10:32 Login Succeeded 21:10:32 nexus3.edgexfoundry.org:10004 21:10:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:32 Configure a credential helper to remove this warning. See 21:10:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:32 21:10:32 Login Succeeded 21:10:32 docker.io 21:10:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:33 Configure a credential helper to remove this warning. See 21:10:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:33 21:10:33 Login Succeeded 21:10:33 ---> docker-login.sh ends [Pipeline] } 21:10:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:10:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:10:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:10:33 ========================================================= 21:10:33 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:10:33 ========================================================= [Pipeline] fileExists [Pipeline] sh 21:10:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:10:34 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:10:34 b3c136eddcbf: Pulling fs layer 21:10:34 c0a3192eca97: Pulling fs layer 21:10:34 a050256f5b6f: Pulling fs layer 21:10:34 656be50a0ddc: Pulling fs layer 21:10:34 2bbca73fdf42: Pulling fs layer 21:10:34 46d945488cbd: Pulling fs layer 21:10:34 8a5474983e97: Pulling fs layer 21:10:34 329c88fbcd65: Pulling fs layer 21:10:34 656be50a0ddc: Waiting 21:10:34 2bbca73fdf42: Waiting 21:10:34 46d945488cbd: Waiting 21:10:34 8a5474983e97: Waiting 21:10:34 329c88fbcd65: Waiting 21:10:34 a050256f5b6f: Download complete 21:10:34 c0a3192eca97: Verifying Checksum 21:10:34 c0a3192eca97: Download complete 21:10:34 2bbca73fdf42: Verifying Checksum 21:10:34 2bbca73fdf42: Download complete 21:10:34 46d945488cbd: Verifying Checksum 21:10:34 46d945488cbd: Download complete 21:10:34 b3c136eddcbf: Verifying Checksum 21:10:34 b3c136eddcbf: Download complete 21:10:35 b3c136eddcbf: Pull complete 21:10:35 329c88fbcd65: Verifying Checksum 21:10:35 329c88fbcd65: Download complete 21:10:36 c0a3192eca97: Pull complete 21:10:36 a050256f5b6f: Pull complete 21:10:37 8a5474983e97: Verifying Checksum 21:10:37 8a5474983e97: Download complete 21:10:37 656be50a0ddc: Verifying Checksum 21:10:37 656be50a0ddc: Download complete 21:10:52 656be50a0ddc: Pull complete 21:10:52 2bbca73fdf42: Pull complete 21:10:52 46d945488cbd: Pull complete 21:10:58 8a5474983e97: Pull complete 21:11:01 329c88fbcd65: Pull complete 21:11:01 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 21:11:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:11:01 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] fileExists [Pipeline] sh 21:11:01 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:11:01 WORKDIR /edgex 21:11:01 COPY go.mod . 21:11:01 RUN go mod download 21:11:01 + docker build -t ci-base-image-arm64 -f - . 21:11:04 Sending build context to Docker daemon 169.2MB 21:11:04 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:11:04 ---> ff4287adb874 21:11:04 Step 2/4 : WORKDIR /edgex 21:11:06 ---> Running in d3286d06affa 21:11:06 Removing intermediate container d3286d06affa 21:11:06 ---> 1a12bb8dc3f5 21:11:06 Step 3/4 : COPY go.mod . 21:11:06 ---> d637e7e3af68 21:11:06 Step 4/4 : RUN go mod download 21:11:06 ---> Running in bee7d9a52858 21:11:39 Removing intermediate container bee7d9a52858 21:11:39 ---> 77bec8323c56 21:11:39 Successfully built 77bec8323c56 21:11:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:39 + docker inspect -f . ci-base-image-arm64 21:11:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:39 prd-ubuntu20.04-docker-arm64-4c-16g-19362 does not seem to be running inside a container 21:11:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/8 -v /w/workspace/edgex-go/8:/w/workspace/edgex-go/8:rw,z -v /w/workspace/edgex-go/8@tmp:/w/workspace/edgex-go/8@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:11:41 $ docker top 00c8d40c94d709105aa3c46a5454e699f299263af5c125a86b22ed715d2d87df -eo pid,comm [Pipeline] { [Pipeline] sh 21:11:42 + go version 21:11:42 go version go1.18.3 linux/arm64 [Pipeline] } 21:11:42 $ docker stop --time=1 00c8d40c94d709105aa3c46a5454e699f299263af5c125a86b22ed715d2d87df 21:11:43 $ docker rm -f 00c8d40c94d709105aa3c46a5454e699f299263af5c125a86b22ed715d2d87df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:44 + docker inspect -f . ci-base-image-arm64 21:11:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:44 prd-ubuntu20.04-docker-arm64-4c-16g-19362 does not seem to be running inside a container 21:11:44 $ 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/8 -v /w/workspace/edgex-go/8:/w/workspace/edgex-go/8:rw,z -v /w/workspace/edgex-go/8@tmp:/w/workspace/edgex-go/8@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:11:46 $ docker top 48193269fa50ea219169b5f28520b527117339e60fadb77bbf1bc58cdcdddff1 -eo pid,comm [Pipeline] { [Pipeline] echo 21:11:46 ========================================================= 21:11:46 [edgeXBuildGoParallel] Running Tests and Build... 21:11:46 ========================================================= [Pipeline] fileExists [Pipeline] sh 21:11:47 + make test 21:11:47 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:12:19 ? github.com/edgexfoundry/edgex-go [no test files] 21:14:11 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 21:14:11 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 21:14:11 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 21:14:11 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 21:14:11 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 21:14:11 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 21:14:11 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 21:14:11 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 21:14:11 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 21:14:11 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 21:14:11 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 21:14:11 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 21:14:11 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 21:14:11 ? github.com/edgexfoundry/edgex-go/internal [no test files] 21:14:11 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 21:14:29 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.374s coverage: 28.7% of statements 21:14:29 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 21:14:29 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 21:14:31 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.402s coverage: 98.5% of statements 21:14:31 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 21:14:31 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.514s coverage: 54.2% of statements 21:14:31 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 21:14:31 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 21:14:53 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 19.702s coverage: 89.2% of statements 21:14:53 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 21:14:53 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 21:14:53 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 21:14:53 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.403s coverage: 83.8% of statements 21:14:53 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 21:14:53 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 21:14:53 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] 21:14:53 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 21:14:53 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 21:14:54 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 2.472s coverage: 95.6% of statements 21:14:54 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 21:14:54 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 21:14:54 ok github.com/edgexfoundry/edgex-go/internal/io 0.368s coverage: 72.2% of statements 21:14:54 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 21:14:54 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 21:14:54 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 21:14:54 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 21:14:54 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 21:14:54 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.379s coverage: 60.0% of statements 21:14:54 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 21:14:54 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 21:14:54 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 21:14:54 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.437s coverage: 0.9% of statements 21:14:54 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 21:14:55 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.293s coverage: 58.8% of statements 21:14:55 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.268s coverage: 29.6% of statements 21:14:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 21:14:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.217s coverage: 47.1% of statements 21:14:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.266s coverage: 79.5% of statements 21:14:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.214s coverage: 94.1% of statements 21:14:58 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.315s coverage: 96.3% of statements 21:14:59 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.208s coverage: 87.5% of statements 21:15:12 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.282s coverage: 94.4% of statements 21:15:12 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.221s coverage: 44.8% of statements 21:15:17 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.684s coverage: 82.5% of statements 21:15:17 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 21:15:25 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.354s coverage: 92.9% of statements 21:15:25 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 21:15:25 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 21:15:25 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 21:15:25 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.080s coverage: 65.1% of statements 21:15:25 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 21:15:25 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 21:15:25 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 21:15:25 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 21:15:25 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 21:15:25 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.204s coverage: 87.2% of statements 21:15:25 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 21:15:25 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 21:15:25 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.187s coverage: 100.0% of statements 21:15:25 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 21:15:25 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.292s coverage: 58.8% of statements 21:15:25 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 21:15:25 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.307s coverage: 80.0% of statements 21:15:25 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.258s coverage: 87.2% of statements 21:15:25 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.330s coverage: 85.4% of statements 21:15:25 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.857s coverage: 91.2% of statements 21:15:25 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 21:15:29 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.044s coverage: 64.4% of statements 21:15:29 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 21:15:29 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 21:15:29 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.266s coverage: 100.0% of statements 21:15:29 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.128s coverage: 89.4% of statements 21:15:29 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.081s coverage: 100.0% of statements 21:15:29 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.081s coverage: 73.7% of statements 21:15:29 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.101s coverage: 100.0% of statements 21:15:39 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.340s coverage: 65.4% of statements 21:15:39 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 21:15:39 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 21:15:39 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 21:15:39 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 1.160s coverage: 43.8% of statements 21:15:39 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 21:15:39 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 21:15:39 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.271s coverage: 89.5% of statements 21:15:39 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 21:15:39 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.423s coverage: 84.8% of statements 21:15:39 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 21:15:39 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 21:15:39 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 21:15:39 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 21:15:49 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.349s coverage: 17.7% of statements 21:15:49 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 21:15:49 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 21:15:49 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 21:15:49 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 21:15:49 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.753s coverage: 92.3% of statements 21:15:49 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 21:15:49 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 21:15:49 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 21:15:49 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 21:15:49 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.283s coverage: 63.2% of statements 21:15:49 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 21:15:49 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 21:15:49 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.489s coverage: 97.7% of statements 21:15:49 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 21:15:49 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 21:15:49 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 21:15:49 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] 21:15:49 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.194s coverage: 28.9% of statements 21:15:49 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] 21:15:49 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] 21:15:49 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 21:15:49 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 21:15:49 ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] 21:15:49 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 21:15:49 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.211s coverage: 100.0% of statements 21:15:49 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.093s coverage: 96.9% of statements 21:15:50 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 21:15:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:15:50 GO111MODULE=on go vet ./... 21:17:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:17:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:17:41 ./bin/test-attribution-txt.sh [Pipeline] echo 21:17:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] sh 21:17:42 + ls -al . 21:17:42 total 680 21:17:42 drwxrwxr-x 9 1001 1001 4096 Jul 11 21:11 . 21:17:42 drwxr-xr-x 4 root root 4096 Jul 11 21:11 .. 21:17:42 -rw-rw-r-- 1 1001 1001 11 Jul 11 21:10 .dockerignore 21:17:42 drwxrwxr-x 8 1001 1001 4096 Jul 11 21:10 .git 21:17:42 drwxrwxr-x 3 1001 1001 4096 Jul 11 21:10 .github 21:17:42 -rw-rw-r-- 1 1001 1001 1030 Jul 11 21:10 .gitignore 21:17:42 -rw-rw-r-- 1 1001 1001 42 Jul 11 21:10 .golangci.yml 21:17:42 -rw-rw-r-- 1 1001 1001 87 Jul 11 21:10 .hadolint.yml 21:17:42 -rw-rw-r-- 1 1001 1001 166 Jul 11 21:10 .sonarcloud.properties 21:17:42 -rw-rw-r-- 1 1001 1001 1171 Jul 11 21:10 ADOPTERS.md 21:17:42 -rw-rw-r-- 1 1001 1001 10347 Jul 11 21:10 Attribution.txt 21:17:42 -rw-rw-r-- 1 1001 1001 63209 Jul 11 21:10 CHANGELOG.md 21:17:42 -rw-rw-r-- 1 1001 1001 3804 Jul 11 21:10 CONTRIBUTING.md 21:17:42 -rw-rw-r-- 1 1001 1001 677 Jul 11 21:10 GOVERNANCE.md 21:17:42 -rw-rw-r-- 1 1001 1001 850 Jul 11 21:10 Jenkinsfile 21:17:42 -rw-rw-r-- 1 1001 1001 10775 Jul 11 21:10 LICENSE 21:17:42 -rw-rw-r-- 1 1001 1001 10350 Jul 11 21:10 Makefile 21:17:42 -rw-rw-r-- 1 1001 1001 582 Jul 11 21:10 OWNERS.md 21:17:42 -rw-rw-r-- 1 1001 1001 9094 Jul 11 21:10 README.md 21:17:42 -rw-rw-r-- 1 1001 1001 6912 Jul 11 21:10 SECURITY.md 21:17:42 -rw-rw-r-- 1 1001 1001 5 Jul 11 21:05 VERSION 21:17:42 -rw-rw-r-- 1 1001 1001 4131 Jul 11 21:10 ZMQWindows.md 21:17:42 drwxrwxr-x 2 1001 1001 4096 Jul 11 21:10 bin 21:17:42 drwxrwxr-x 18 1001 1001 4096 Jul 11 21:10 cmd 21:17:42 -rw-r--r-- 1 root root 435593 Jul 11 21:15 coverage.out 21:17:42 -rw-rw-r-- 1 1001 1001 3311 Jul 11 21:10 go.mod 21:17:42 -rw-rw-r-- 1 1001 1001 36231 Jul 11 21:10 go.sum 21:17:42 drwxrwxr-x 8 1001 1001 4096 Jul 11 21:10 internal 21:17:42 drwxrwxr-x 3 1001 1001 4096 Jul 11 21:10 openapi 21:17:42 drwxrwxr-x 4 1001 1001 4096 Jul 11 21:10 snap 21:17:42 -rw-rw-r-- 1 1001 1001 204 Jul 11 21:10 version.go [Pipeline] sh 21:17:43 + '[' -e coverage.out ] 21:17:43 + chown 1001:1001 coverage.out [Pipeline] stash 21:17:44 Stashed 1 file(s) [Pipeline] sh 21:17:44 + make build 21:17:44 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 21:17:45 error obtaining VCS status: exit status 128 21:17:45 Use -buildvcs=false to disable VCS stamping. 21:17:45 make: *** [Makefile:92: cmd/core-data/core-data] Error 1 [Pipeline] } 21:17:45 $ docker stop --time=1 48193269fa50ea219169b5f28520b527117339e60fadb77bbf1bc58cdcdddff1 21:17:47 $ docker rm -f 48193269fa50ea219169b5f28520b527117339e60fadb77bbf1bc58cdcdddff1 [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 21:17:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:17:49 21:17:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:17:50 arm64: Pulling from edgex-lftools-log-publisher 21:17:50 8998bd30e6a1: Pulling fs layer 21:17:50 04944245beec: Pulling fs layer 21:17:50 699f458cf7ca: Pulling fs layer 21:17:50 765212b225bb: Pulling fs layer 21:17:50 f23df028b6ca: Pulling fs layer 21:17:50 d65c8cfc05b1: Pulling fs layer 21:17:50 2437ff75d9bd: Pulling fs layer 21:17:50 765212b225bb: Waiting 21:17:50 f23df028b6ca: Waiting 21:17:50 d65c8cfc05b1: Waiting 21:17:50 2437ff75d9bd: Waiting 21:17:50 04944245beec: Verifying Checksum 21:17:50 04944245beec: Download complete 21:17:50 765212b225bb: Verifying Checksum 21:17:50 f23df028b6ca: Verifying Checksum 21:17:50 f23df028b6ca: Download complete 21:17:50 d65c8cfc05b1: Verifying Checksum 21:17:50 d65c8cfc05b1: Download complete 21:17:50 699f458cf7ca: Verifying Checksum 21:17:50 699f458cf7ca: Download complete 21:17:50 8998bd30e6a1: Verifying Checksum 21:17:50 8998bd30e6a1: Download complete 21:17:53 2437ff75d9bd: Verifying Checksum 21:17:53 2437ff75d9bd: Download complete 21:17:55 8998bd30e6a1: Pull complete 21:17:56 04944245beec: Pull complete 21:17:57 699f458cf7ca: Pull complete 21:17:57 765212b225bb: Pull complete 21:17:58 f23df028b6ca: Pull complete 21:17:58 d65c8cfc05b1: Pull complete 21:18:13 2437ff75d9bd: Pull complete 21:18:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:18:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:18:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:18:14 prd-ubuntu20.04-docker-arm64-4c-16g-19362 does not seem to be running inside a container 21:18:14 $ 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/8 -v /w/workspace/edgex-go/8:/w/workspace/edgex-go/8:rw,z -v /w/workspace/edgex-go/8@tmp:/w/workspace/edgex-go/8@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:18:16 $ docker top 4cd8cbac93df8eb65433f80b0778f4d2aa9e72aeb48cf07659f9295fc973e1ea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:18:17 ---> job-cost.sh 21:18:17 lf-activate-venv: SKIPPING 21:18:17 INFO: No Stack... 21:18:18 INFO: Retrieving Pricing Info for: v3-standard-4 21:18:19 INFO: Archiving Costs [Pipeline] sh 21:18:20 + cat /w/workspace/edgex-go/8/archives/cost.csv 21:18:20 + cut -d, -f6 [Pipeline] lock 21:18:20 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4085-8-stack-cost] 21:18:20 Resource [jenkins-edgexfoundry-edgex-go-PR-4085-8-stack-cost] did not exist. Created. 21:18:20 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4085-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:18:20 + echo total: 0.10999999940395355 [Pipeline] stash 21:18:21 Stashed 1 file(s) [Pipeline] } 21:18:21 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4085-8-stack-cost] [Pipeline] // lock [Pipeline] } 21:18:21 $ docker stop --time=1 4cd8cbac93df8eb65433f80b0778f4d2aa9e72aeb48cf07659f9295fc973e1ea 21:18:22 $ docker rm -f 4cd8cbac93df8eb65433f80b0778f4d2aa9e72aeb48cf07659f9295fc973e1ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 21:18:22 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 21:18:23 + [ -d /w/workspace/edgex-go/8/archives ] [Pipeline] libraryResource [Pipeline] sh 21:18:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:18:24 ---> package-listing.sh 21:18:24 ++ facter osfamily 21:18:24 ++ tr '[:upper:]' '[:lower:]' 21:18:24 + OS_FAMILY=debian 21:18:24 + workspace=/w/workspace/edgex-go/8 21:18:24 + START_PACKAGES=/tmp/packages_start.txt 21:18:24 + END_PACKAGES=/tmp/packages_end.txt 21:18:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:18:24 + PACKAGES=/tmp/packages_start.txt 21:18:24 + '[' /w/workspace/edgex-go/8 ']' 21:18:24 + PACKAGES=/tmp/packages_end.txt 21:18:24 + case "${OS_FAMILY}" in 21:18:24 + dpkg -l 21:18:24 + grep '^ii' 21:18:24 + '[' -f /tmp/packages_start.txt ']' 21:18:24 + '[' -f /tmp/packages_end.txt ']' 21:18:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:18:24 + '[' /w/workspace/edgex-go/8 ']' 21:18:24 + mkdir -p /w/workspace/edgex-go/8/archives/ 21:18:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/8/archives/ [Pipeline] echo 21:18:24 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/8/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:18:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:18:25 21:18:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:18:26 latest: Pulling from edgex-lftools-log-publisher 21:18:26 5eb5b503b376: Pulling fs layer 21:18:26 5c69ac0246d0: Pulling fs layer 21:18:26 ec43610c2a17: Pulling fs layer 21:18:26 3a2ae6a8a46f: Pulling fs layer 21:18:26 33b1e0a273af: Pulling fs layer 21:18:26 5d3b04190fa2: Pulling fs layer 21:18:26 2f39f015ded8: Pulling fs layer 21:18:26 33b1e0a273af: Waiting 21:18:26 5d3b04190fa2: Waiting 21:18:26 2f39f015ded8: Waiting 21:18:26 3a2ae6a8a46f: Waiting 21:18:26 5c69ac0246d0: Verifying Checksum 21:18:26 5c69ac0246d0: Download complete 21:18:26 3a2ae6a8a46f: Verifying Checksum 21:18:26 3a2ae6a8a46f: Download complete 21:18:26 33b1e0a273af: Verifying Checksum 21:18:26 33b1e0a273af: Download complete 21:18:26 5d3b04190fa2: Download complete 21:18:26 ec43610c2a17: Verifying Checksum 21:18:26 ec43610c2a17: Download complete 21:18:26 5eb5b503b376: Download complete 21:18:26 2f39f015ded8: Download complete 21:18:27 5eb5b503b376: Pull complete 21:18:27 5c69ac0246d0: Pull complete 21:18:28 ec43610c2a17: Pull complete 21:18:28 3a2ae6a8a46f: Pull complete 21:18:28 33b1e0a273af: Pull complete 21:18:28 5d3b04190fa2: Pull complete 21:18:33 2f39f015ded8: Pull complete 21:18:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:18:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:18:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:18:33 prd-ubuntu20.04-docker-8c-8g-19361 does not seem to be running inside a container 21:18:33 $ 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/8/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/8 -v /w/workspace/edgex-go/8:/w/workspace/edgex-go/8:rw,z -v /w/workspace/edgex-go/8@tmp:/w/workspace/edgex-go/8@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:18:36 $ docker top ff34b12231dab8e71ca0eea8f705ac0ce4226756bd3a860e5ace5d913666b8b6 -eo pid,comm [Pipeline] { [Pipeline] sh 21:18:36 + touch /tmp/pre-build-complete [Pipeline] sh 21:18:36 + mkdir -p /var/log/sysstat [Pipeline] sh 21:18:37 + ls /var/log/sa-host 21:18:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:18:37 provisioning config files... 21:18:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/8@tmp/config6573304043329551499tmp [Pipeline] { [Pipeline] echo 21:18:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:18:37 ---> create-netrc.sh [Pipeline] } 21:18:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:18:37 ---> python-tools-install.sh [Pipeline] echo 21:18:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:18:38 ---> sudo-logs.sh 21:18:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:18:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:18:38 ---> job-cost.sh 21:18:38 lf-activate-venv: SKIPPING 21:18:38 DEBUG: total: 0.10999999940395355 21:18:38 INFO: Retrieving Stack Cost... 21:18:38 INFO: Retrieving Pricing Info for: v3-standard-8 21:18:39 INFO: Archiving Costs [Pipeline] echo 21:18:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:18:39 ---> logs-deploy.sh 21:18:39 lf-activate-venv: SKIPPING 21:18:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4085/8 21:18:39 INFO: archiving workspace using pattern(s): 21:18:40 Archives upload complete. 21:18:40 INFO: archiving logs to Nexus