Pull request #3971 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/edgex-go Loading trusted files from base branch main at efde56b581935682910d5fadc902c79a5d46562f rather than 304650cbfeab1a935cc9ea3db2ccdea7c2178a27 Obtained Jenkinsfile from efde56b581935682910d5fadc902c79a5d46562f 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-ssh14639962675157039777.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh14485639291306407096.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-3971/workspace@libs/edgex-global-pipelines/.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-3971/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6272153625851175419.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 shared 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-ssh9196209539114858873.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-3971/workspace@libs/lf-pipelines/.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-3971/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2227609528457118307.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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.17 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-21006’ Running on prd-ubuntu20.04-docker-8c-8g-21015 in /w/workspace/edgexfoundry_edgex-go_PR-3971 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/2 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit efde56b581935682910d5fadc902c79a5d46562f into PR head commit 304650cbfeab1a935cc9ea3db2ccdea7c2178a27 Merge succeeded, producing 304650cbfeab1a935cc9ea3db2ccdea7c2178a27 Checking out Revision 304650cbfeab1a935cc9ea3db2ccdea7c2178a27 (PR-3971) > 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/3971/head:refs/remotes/origin/PR-3971 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 304650cbfeab1a935cc9ea3db2ccdea7c2178a27 # 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 efde56b581935682910d5fadc902c79a5d46562f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 304650cbfeab1a935cc9ea3db2ccdea7c2178a27 # timeout=10 Commit message: "refactor(metadata): Move DeleteDeviceResourceByName and DeleteDeviceCommandByName to correct files" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:05:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:05:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:05:44 ========================================================= 02:05:44 EdgeX Global Pipelines Version Info 02:05:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:05:45 ------------------- 02:05:45 stable info: 02:05:45 ------------------- 02:05:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:05:45 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 02:05:45 Message: update stable to v1.0.221 02:05:45 ------------------- 02:05:45 experimental info: 02:05:45 ------------------- 02:05:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:05:45 Commit SHA: 2d41b7a85c8a62c0c33f5e39ad1462a101ac531d 02:05:45 Message: update experimental to v1.0.222 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:05:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 02:05:46 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 02:05:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:05:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:05:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:05:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 02:05:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:05:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 02:05:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 02:05:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 02:05:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:05:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:05:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:05:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:05:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:05:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:05:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:05:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:05:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:05:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 02:05:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:05:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:05:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3971 [Pipeline] echo 02:05:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3971 [Pipeline] echo 02:05:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3971 [Pipeline] echo 02:05:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 304650cbfeab1a935cc9ea3db2ccdea7c2178a27 [Pipeline] echo 02:05:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 304650c [Pipeline] echo 02:05:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:05:46 provisioning config files... 02:05:46 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config8724877433372045076tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:05:46 ---> docker-login.sh 02:05:46 nexus3.edgexfoundry.org:10001 02:05:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:47 Configure a credential helper to remove this warning. See 02:05:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:47 02:05:47 Login Succeeded 02:05:47 nexus3.edgexfoundry.org:10002 02:05:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:47 Configure a credential helper to remove this warning. See 02:05:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:47 02:05:47 Login Succeeded 02:05:47 nexus3.edgexfoundry.org:10003 02:05:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:47 Configure a credential helper to remove this warning. See 02:05:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:47 02:05:47 Login Succeeded 02:05:47 nexus3.edgexfoundry.org:10004 02:05:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:47 Configure a credential helper to remove this warning. See 02:05:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:47 02:05:47 Login Succeeded 02:05:47 docker.io 02:05:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:47 Configure a credential helper to remove this warning. See 02:05:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:47 02:05:47 Login Succeeded 02:05:47 ---> docker-login.sh ends [Pipeline] } 02:05:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:05:48 + 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 02:05:48 + dirname cmd/core-command/Dockerfile 02:05:48 + cut -d/ -f2 02:05:48 + echo core-command,cmd/core-command/Dockerfile 02:05:48 + dirname cmd/core-data/Dockerfile 02:05:48 + cut -d/ -f2 02:05:48 + echo core-data,cmd/core-data/Dockerfile 02:05:48 + dirname cmd/core-metadata/Dockerfile 02:05:48 + cut -d/ -f2 02:05:48 + echo core-metadata,cmd/core-metadata/Dockerfile 02:05:48 + dirname+ cmd/security-bootstrapper/Dockerfile 02:05:48 cut -d/ -f2 02:05:48 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 02:05:48 + + dirname cmd/security-proxy-setup/Dockerfile 02:05:48 cut -d/ -f2 02:05:48 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 02:05:48 + dirname cmd/security-secretstore-setup/Dockerfile 02:05:48 + cut -d/ -f2 02:05:48 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 02:05:48 + dirname cmd/security-spiffe-token-provider/Dockerfile 02:05:48 + cut -d/ -f2 02:05:48 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 02:05:48 + dirname cmd/security-spire-agent/Dockerfile 02:05:48 + cut -d/ -f2 02:05:48 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 02:05:48 + dirname cmd/security-spire-config/Dockerfile 02:05:48 + cut -d/ -f2 02:05:48 + echo security-spire-config,cmd/security-spire-config/Dockerfile 02:05:48 + dirname cmd/security-spire-server/Dockerfile 02:05:48 + cut -d/ -f2 02:05:48 + echo security-spire-server,cmd/security-spire-server/Dockerfile 02:05:48 + dirname cmd/support-notifications/Dockerfile 02:05:48 + cut -d/ -f2 02:05:48 + echo support-notifications,cmd/support-notifications/Dockerfile 02:05:48 + dirname cmd/support-scheduler/Dockerfile 02:05:48 + cut -d/ -f2 02:05:48 + echo support-scheduler,cmd/support-scheduler/Dockerfile 02:05:48 + dirname cmd/sys-mgmt-agent/Dockerfile 02:05:48 + cut -d/ -f2 02:05:48 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 02:05:48 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 02:05:48 + git rev-list -1 --merges 304650cbfeab1a935cc9ea3db2ccdea7c2178a27~1..304650cbfeab1a935cc9ea3db2ccdea7c2178a27 [Pipeline] echo 02:05:48 -----------> git rev-list -1 --merges 304650cbfeab1a935cc9ea3db2ccdea7c2178a27~1..304650cbfeab1a935cc9ea3db2ccdea7c2178a27 304650cbfeab1a935cc9ea3db2ccdea7c2178a27 [false] [Pipeline] sh 02:05:48 + git log --format=format:%s -1 304650cbfeab1a935cc9ea3db2ccdea7c2178a27 [Pipeline] echo 02:05:48 ========================================================= 02:05:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:05:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 02:05:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:05:49 + grep -v github /etc/ssh/ssh_known_hosts 02:05:49 + [ -e /tmp/ssh_known_hosts ] 02:05:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:05:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:05:49 + sudo tee -a /etc/ssh/ssh_known_hosts 02:05:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 02:05:49 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:05:49 02:05:49 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:05:50 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:05:50 latest: Pulling from edgex-devops/git-semver 02:05:50 a0d0a0d46f8b: Pulling fs layer 02:05:50 3e5f54012d9b: Pulling fs layer 02:05:50 4c7163046ea9: Pulling fs layer 02:05:50 0c2d73faf560: Pulling fs layer 02:05:50 0c2d73faf560: Waiting 02:05:50 3e5f54012d9b: Verifying Checksum 02:05:50 3e5f54012d9b: Download complete 02:05:50 a0d0a0d46f8b: Verifying Checksum 02:05:50 a0d0a0d46f8b: Download complete 02:05:50 4c7163046ea9: Verifying Checksum 02:05:50 4c7163046ea9: Download complete 02:05:50 0c2d73faf560: Verifying Checksum 02:05:50 0c2d73faf560: Download complete 02:05:50 a0d0a0d46f8b: Pull complete 02:05:50 3e5f54012d9b: Pull complete 02:05:50 4c7163046ea9: Pull complete 02:05:51 0c2d73faf560: Pull complete 02:05:51 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 02:05:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:05:51 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:05:51 prd-ubuntu20.04-docker-8c-8g-21015 does not seem to be running inside a container 02:05:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:05:51 $ docker top 2aa125c4006a0e4df7aab2c104b62fe4cd99dba26caead3af29093cf5b66c1b0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:05:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:05:51 [ssh-agent] Looking for ssh-agent implementation... 02:05:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:05:52 $ docker exec 2aa125c4006a0e4df7aab2c104b62fe4cd99dba26caead3af29093cf5b66c1b0 ssh-agent 02:05:52 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOKGEHe/agent.13 02:05:52 SSH_AGENT_PID=19 02:05:52 Running ssh-add (command line suppressed) 02:05:52 Identity added: /w/workspace/edgex-go/2@tmp/private_key_2119033045366474224.key (/w/workspace/edgex-go/2@tmp/private_key_2119033045366474224.key) 02:05:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:05:52 + git tag --points-at HEAD [Pipeline] } 02:05:52 $ docker exec --env ******** --env ******** 2aa125c4006a0e4df7aab2c104b62fe4cd99dba26caead3af29093cf5b66c1b0 ssh-agent -k 02:05:52 unset SSH_AUTH_SOCK; 02:05:52 unset SSH_AGENT_PID; 02:05:52 echo Agent pid 19 killed; 02:05:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:05:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:05:52 [ssh-agent] Looking for ssh-agent implementation... 02:05:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:05:52 $ docker exec 2aa125c4006a0e4df7aab2c104b62fe4cd99dba26caead3af29093cf5b66c1b0 ssh-agent 02:05:53 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXohkjoC/agent.52 02:05:53 SSH_AGENT_PID=58 02:05:53 Running ssh-add (command line suppressed) 02:05:53 Identity added: /w/workspace/edgex-go/2@tmp/private_key_4867806394476735760.key (/w/workspace/edgex-go/2@tmp/private_key_4867806394476735760.key) 02:05:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:05:53 + git semver init 02:05:53 # -> Open(): unable to determine branch for HEAD 02:05:53 # $GIT_DIR = /w/workspace/edgex-go/2/.git 02:05:53 # $GIT_WORK_TREE = /w/workspace/edgex-go/2 02:05:53 # $SEMVER_REMOTE_NAME = origin 02:05:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:05:53 # $SEMVER_USER_NAME = edgex-jenkins 02:05:53 # $SEMVER_BRANCH = PR-3971 02:05:53 # $SEMVER_TEMP = /tmp/semver-475137551 02:05:53 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 02:06:08 # '/tmp/semver-475137551' -> '/w/workspace/edgex-go/2/.semver' 02:06:08 # -> Force: false 02:06:08 # $SEMVER_DIR = /w/workspace/edgex-go/2/.semver [Pipeline] } 02:06:08 $ docker exec --env ******** --env ******** 2aa125c4006a0e4df7aab2c104b62fe4cd99dba26caead3af29093cf5b66c1b0 ssh-agent -k 02:06:08 unset SSH_AUTH_SOCK; 02:06:08 unset SSH_AGENT_PID; 02:06:08 echo Agent pid 58 killed; 02:06:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:06:08 + git semver [Pipeline] } 02:06:08 $ docker stop --time=1 2aa125c4006a0e4df7aab2c104b62fe4cd99dba26caead3af29093cf5b66c1b0 02:06:10 $ docker rm -f 2aa125c4006a0e4df7aab2c104b62fe4cd99dba26caead3af29093cf5b66c1b0 [Pipeline] // withDockerContainer [Pipeline] sh 02:06:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:06:11 Stashed 1 file(s) [Pipeline] echo 02:06:11 [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 02:06:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:06:11 ========================================================= 02:06:11 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 02:06:11 ========================================================= [Pipeline] fileExists [Pipeline] sh 02:06:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 02:06:11 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 02:06:11 59bf1c3509f3: Pulling fs layer 02:06:11 666ba61612fd: Pulling fs layer 02:06:11 8ed8ca486205: Pulling fs layer 02:06:11 4fe6c5a15a65: Pulling fs layer 02:06:11 22a0e8bec74d: Pulling fs layer 02:06:11 640e595b4fbd: Pulling fs layer 02:06:11 763cafe07f6e: Pulling fs layer 02:06:11 0c0b528cf693: Pulling fs layer 02:06:11 10935f4eaf8b: Pulling fs layer 02:06:11 4fe6c5a15a65: Waiting 02:06:11 0c0b528cf693: Waiting 02:06:11 10935f4eaf8b: Waiting 02:06:11 22a0e8bec74d: Waiting 02:06:11 763cafe07f6e: Waiting 02:06:11 640e595b4fbd: Waiting 02:06:11 8ed8ca486205: Verifying Checksum 02:06:11 8ed8ca486205: Download complete 02:06:11 666ba61612fd: Download complete 02:06:11 22a0e8bec74d: Verifying Checksum 02:06:11 22a0e8bec74d: Download complete 02:06:11 640e595b4fbd: Verifying Checksum 02:06:11 640e595b4fbd: Download complete 02:06:11 59bf1c3509f3: Verifying Checksum 02:06:11 59bf1c3509f3: Download complete 02:06:11 763cafe07f6e: Download complete 02:06:11 0c0b528cf693: Verifying Checksum 02:06:11 0c0b528cf693: Download complete 02:06:11 59bf1c3509f3: Pull complete 02:06:11 666ba61612fd: Pull complete 02:06:12 8ed8ca486205: Pull complete 02:06:12 10935f4eaf8b: Verifying Checksum 02:06:12 10935f4eaf8b: Download complete 02:06:12 4fe6c5a15a65: Verifying Checksum 02:06:12 4fe6c5a15a65: Download complete 02:06:16 4fe6c5a15a65: Pull complete 02:06:16 22a0e8bec74d: Pull complete 02:06:16 640e595b4fbd: Pull complete 02:06:16 763cafe07f6e: Pull complete 02:06:16 0c0b528cf693: Pull complete 02:06:18 10935f4eaf8b: Pull complete 02:06:18 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 02:06:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 02:06:18 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] fileExists [Pipeline] sh 02:06:18 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 02:06:18 WORKDIR /edgex 02:06:18 COPY go.mod . 02:06:18 RUN go mod download 02:06:18 + docker build -t ci-base-image-x86_64 -f - . 02:06:20 Sending build context to Docker daemon 334.9MB 02:06:20 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 02:06:20 ---> 99d49a6021b9 02:06:20 Step 2/4 : WORKDIR /edgex 02:06:22 ---> Running in 29e39627301b 02:06:22 Removing intermediate container 29e39627301b 02:06:22 ---> fdc13ee7c978 02:06:22 Step 3/4 : COPY go.mod . 02:06:22 ---> 78b18b33a447 02:06:22 Step 4/4 : RUN go mod download 02:06:22 ---> Running in 64ff61e5b104 02:06:26 Still waiting to schedule task 02:06:26 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-21012’ 02:06:37 Removing intermediate container 64ff61e5b104 02:06:37 ---> 90dad36e04d6 02:06:37 Successfully built 90dad36e04d6 02:06:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:06:37 + docker inspect -f . ci-base-image-x86_64 02:06:37 . [Pipeline] withDockerContainer 02:06:37 prd-ubuntu20.04-docker-8c-8g-21015 does not seem to be running inside a container 02:06:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:06:37 $ docker top 965da7a989a0c1886cc207e21a5c8f3a5e3a4374d2c50a7ae27627d50d74d2a4 -eo pid,comm [Pipeline] { [Pipeline] sh 02:06:38 + go version 02:06:38 go version go1.17.6 linux/amd64 [Pipeline] } 02:06:38 $ docker stop --time=1 965da7a989a0c1886cc207e21a5c8f3a5e3a4374d2c50a7ae27627d50d74d2a4 02:06:39 $ docker rm -f 965da7a989a0c1886cc207e21a5c8f3a5e3a4374d2c50a7ae27627d50d74d2a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:06:39 + docker inspect -f . ci-base-image-x86_64 02:06:39 . [Pipeline] withDockerContainer 02:06:39 prd-ubuntu20.04-docker-8c-8g-21015 does not seem to be running inside a container 02:06:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:06:40 $ docker top fadcaeea2ef0eb290b652e20f3c4a2eb025c09252399b79a29c2700b23d26b93 -eo pid,comm [Pipeline] { [Pipeline] echo 02:06:40 ========================================================= 02:06:40 [edgeXBuildGoParallel] Running Tests and Build... 02:06:40 ========================================================= [Pipeline] fileExists [Pipeline] sh 02:06:40 + make test 02:06:40 go mod tidy -compat=1.17 02:06:40 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:06:46 ? github.com/edgexfoundry/edgex-go [no test files] 02:06:55 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 02:06:56 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 02:06:56 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 02:06:56 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 02:06:56 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 02:06:56 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 02:06:56 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 02:06:56 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 02:06:56 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 02:06:56 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 02:06:56 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 02:06:56 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 02:06:56 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 02:06:56 ? github.com/edgexfoundry/edgex-go/internal [no test files] 02:06:56 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 02:06:57 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.074s coverage: 28.7% of statements 02:06:57 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 02:06:57 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 02:06:58 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.089s coverage: 98.5% of statements 02:06:58 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 02:06:58 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.072s coverage: 53.4% of statements 02:06:58 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 02:06:58 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 02:07:01 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 3.196s coverage: 89.2% of statements 02:07:01 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 02:07:01 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 02:07:01 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 02:07:01 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.084s coverage: 84.4% of statements 02:07:01 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 02:07:01 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 02:07:01 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] 02:07:01 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 02:07:01 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 02:07:01 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.413s coverage: 95.6% of statements 02:07:01 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 02:07:01 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 02:07:01 ok github.com/edgexfoundry/edgex-go/internal/io 0.087s coverage: 72.2% of statements 02:07:01 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 02:07:01 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 02:07:01 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 02:07:01 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 02:07:01 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 02:07:01 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.074s coverage: 60.0% of statements 02:07:01 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 02:07:01 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 02:07:01 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 02:07:01 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.082s coverage: 0.9% of statements 02:07:01 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 02:07:01 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.053s coverage: 58.8% of statements 02:07:01 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.043s coverage: 24.0% of statements 02:07:01 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 02:07:01 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.064s coverage: 47.1% of statements 02:07:01 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.055s coverage: 79.5% of statements 02:07:01 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.067s coverage: 94.1% of statements 02:07:01 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.062s coverage: 96.3% of statements 02:07:01 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.063s coverage: 87.5% of statements 02:07:11 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.071s coverage: 94.4% of statements 02:07:11 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.064s coverage: 44.8% of statements 02:07:13 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.168s coverage: 82.5% of statements 02:07:13 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 02:07:23 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.106s coverage: 92.9% of statements 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 02:07:23 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.047s coverage: 65.1% of statements 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 02:07:23 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.064s coverage: 87.2% of statements 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 02:07:23 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.061s coverage: 100.0% of statements 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 02:07:23 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.077s coverage: 58.8% of statements 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 02:07:23 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.054s coverage: 80.0% of statements 02:07:23 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.062s coverage: 87.2% of statements 02:07:23 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.061s coverage: 85.4% of statements 02:07:23 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.152s coverage: 91.2% of statements 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 02:07:23 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.181s coverage: 64.4% of statements 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 02:07:23 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.061s coverage: 100.0% of statements 02:07:23 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.031s coverage: 89.4% of statements 02:07:23 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.019s coverage: 100.0% of statements 02:07:23 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.046s coverage: 73.7% of statements 02:07:23 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.034s coverage: 100.0% of statements 02:07:23 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.308s coverage: 65.4% of statements 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 02:07:23 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.149s coverage: 43.8% of statements 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 02:07:23 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.051s coverage: 89.5% of statements 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 02:07:23 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.052s coverage: 84.8% of statements 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 02:07:23 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.073s coverage: 17.7% of statements 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 02:07:23 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.163s coverage: 92.3% of statements 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 02:07:23 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.062s coverage: 63.2% of statements 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 02:07:23 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.112s coverage: 97.7% of statements 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] 02:07:23 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.052s coverage: 28.9% of statements 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] 02:07:23 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 02:07:23 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.043s coverage: 100.0% of statements 02:07:23 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.033s coverage: 96.9% of statements 02:07:23 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 02:07:41 GO111MODULE=on go vet ./... 02:07:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:07:43 ./internal/core/metadata/controller/http/deviceprofile.go 02:07:43 ./internal/core/metadata/controller/http/deviceprofile_test.go 02:07:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:07:43 make: *** [Makefile:145: test] Error 1 [Pipeline] } 02:07:43 $ docker stop --time=1 fadcaeea2ef0eb290b652e20f3c4a2eb025c09252399b79a29c2700b23d26b93 02:07:45 $ docker rm -f fadcaeea2ef0eb290b652e20f3c4a2eb025c09252399b79a29c2700b23d26b93 [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] } 02:07:46 Failed in branch amd64 02:10:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21016 in /w/workspace/edgexfoundry_edgex-go_PR-3971 [Pipeline] { [Pipeline] ws 02:10:05 Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] checkout 02:10:05 The recommended git tool is: git 02:10:10 using credential edgex-jenkins-ssh 02:10:10 Cloning the remote Git repository 02:10:10 Cloning repository git@github.com:edgexfoundry/edgex-go.git 02:10:10 > git init /w/workspace/edgex-go/2 # timeout=10 02:10:10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 02:10:10 > git --version # timeout=10 02:10:10 > git --version # 'git version 2.25.1' 02:10:10 using GIT_SSH to set credentials SSH Credentials for GitHub 02:10:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:10:28 Merging remotes/origin/main commit efde56b581935682910d5fadc902c79a5d46562f into PR head commit 304650cbfeab1a935cc9ea3db2ccdea7c2178a27 02:10:27 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 02:10:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:10:27 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 02:10:27 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 02:10:27 using GIT_SSH to set credentials SSH Credentials for GitHub 02:10:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3971/head:refs/remotes/origin/PR-3971 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:10:28 Merge succeeded, producing 304650cbfeab1a935cc9ea3db2ccdea7c2178a27 02:10:28 Checking out Revision 304650cbfeab1a935cc9ea3db2ccdea7c2178a27 (PR-3971) 02:10:28 > git config core.sparsecheckout # timeout=10 02:10:28 > git checkout -f 304650cbfeab1a935cc9ea3db2ccdea7c2178a27 # timeout=10 02:10:28 > git remote # timeout=10 02:10:28 > git config --get remote.origin.url # timeout=10 02:10:28 using GIT_SSH to set credentials SSH Credentials for GitHub 02:10:28 > git merge efde56b581935682910d5fadc902c79a5d46562f # timeout=10 02:10:28 > git rev-parse HEAD^{commit} # timeout=10 02:10:28 > git config core.sparsecheckout # timeout=10 02:10:28 > git checkout -f 304650cbfeab1a935cc9ea3db2ccdea7c2178a27 # timeout=10 02:10:32 Commit message: "refactor(metadata): Move DeleteDeviceResourceByName and DeleteDeviceCommandByName to correct files" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:10:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:10:33 % Total % Received % Xferd Average Speed Time Time Time Current 02:10:33 Dload Upload Total Spent Left Speed 02:10:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 93992 0 --:--:-- --:--:-- --:--:-- 94744 [Pipeline] sh 02:10:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:10:34 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 02:10:34 02:10:34 { 02:10:34 "registry-mirrors": [ 02:10:34 "https://nexus3.edgexfoundry.org:10001" 02:10:34 ], 02:10:34 "bip": "10.250.0.254/24", 02:10:34 "hosts": [ 02:10:34 "tcp://0.0.0.0:5555", 02:10:34 "unix:///var/run/docker.sock" 02:10:34 ], 02:10:34 "mtu": 1458, 02:10:34 "selinux-enabled": true, 02:10:34 "seccomp-profile": "/etc/docker/seccomp.json" 02:10:34 } [Pipeline] sh 02:10:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:10:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:10:53 provisioning config files... 02:10:53 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config7602285381820890524tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:10:54 ---> docker-login.sh 02:10:54 nexus3.edgexfoundry.org:10001 02:10:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:10:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:10:55 Configure a credential helper to remove this warning. See 02:10:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:10:55 02:10:55 Login Succeeded 02:10:55 nexus3.edgexfoundry.org:10002 02:10:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:10:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:10:55 Configure a credential helper to remove this warning. See 02:10:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:10:55 02:10:55 Login Succeeded 02:10:55 nexus3.edgexfoundry.org:10003 02:10:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:10:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:10:56 Configure a credential helper to remove this warning. See 02:10:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:10:56 02:10:56 Login Succeeded 02:10:56 nexus3.edgexfoundry.org:10004 02:10:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:10:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:10:56 Configure a credential helper to remove this warning. See 02:10:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:10:56 02:10:56 Login Succeeded 02:10:56 docker.io 02:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:10:57 Configure a credential helper to remove this warning. See 02:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:10:57 02:10:57 Login Succeeded 02:10:57 ---> docker-login.sh ends [Pipeline] } 02:10:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:10:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:10:58 ========================================================= 02:10:58 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 02:10:58 ========================================================= [Pipeline] fileExists [Pipeline] sh 02:10:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 02:10:58 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:10:58 9b3977197b4f: Pulling fs layer 02:10:58 1a89e8eeedd5: Pulling fs layer 02:10:58 94645a83ff95: Pulling fs layer 02:10:58 3f3a8bcf1eab: Pulling fs layer 02:10:58 0c92f367c5e7: Pulling fs layer 02:10:58 f7c0051592d6: Pulling fs layer 02:10:58 a227ed2f7395: Pulling fs layer 02:10:58 7b1c46037f91: Pulling fs layer 02:10:58 f7c0051592d6: Waiting 02:10:58 a227ed2f7395: Waiting 02:10:58 7b1c46037f91: Waiting 02:10:58 3f3a8bcf1eab: Waiting 02:10:58 0c92f367c5e7: Waiting 02:10:58 94645a83ff95: Verifying Checksum 02:10:58 94645a83ff95: Download complete 02:10:58 1a89e8eeedd5: Verifying Checksum 02:10:58 1a89e8eeedd5: Download complete 02:10:58 0c92f367c5e7: Verifying Checksum 02:10:58 0c92f367c5e7: Download complete 02:10:58 f7c0051592d6: Verifying Checksum 02:10:58 f7c0051592d6: Download complete 02:10:58 9b3977197b4f: Verifying Checksum 02:10:58 a227ed2f7395: Verifying Checksum 02:10:58 a227ed2f7395: Download complete 02:10:59 9b3977197b4f: Pull complete 02:10:59 1a89e8eeedd5: Pull complete 02:11:00 94645a83ff95: Pull complete 02:11:00 7b1c46037f91: Verifying Checksum 02:11:00 7b1c46037f91: Download complete 02:11:01 3f3a8bcf1eab: Download complete 02:11:13 3f3a8bcf1eab: Pull complete 02:11:13 0c92f367c5e7: Pull complete 02:11:13 f7c0051592d6: Pull complete 02:11:13 a227ed2f7395: Pull complete 02:11:20 7b1c46037f91: Pull complete 02:11:20 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 02:11:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 02:11:20 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] fileExists [Pipeline] sh 02:11:20 + docker build -t ci-base-image-arm64 -f - . 02:11:20 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 02:11:20 WORKDIR /edgex 02:11:20 COPY go.mod . 02:11:20 RUN go mod download 02:11:23 Sending build context to Docker daemon 169.2MB 02:11:23 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 02:11:23 ---> f79e39bc4007 02:11:23 Step 2/4 : WORKDIR /edgex 02:11:25 ---> Running in aed79fd4423a 02:11:25 Removing intermediate container aed79fd4423a 02:11:25 ---> ccadfc781e2e 02:11:25 Step 3/4 : COPY go.mod . 02:11:25 ---> 2ff72bff7d86 02:11:25 Step 4/4 : RUN go mod download 02:11:25 ---> Running in 811b3e5bef5e 02:12:12 Removing intermediate container 811b3e5bef5e 02:12:12 ---> dabd0d75bf46 02:12:12 Successfully built dabd0d75bf46 02:12:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:12:13 + docker inspect -f . ci-base-image-arm64 02:12:13 . [Pipeline] withDockerContainer 02:12:13 prd-ubuntu20.04-docker-arm64-4c-16g-21016 does not seem to be running inside a container 02:12:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:12:14 $ docker top 34f6ac21542d2d535824acd9ab6da35cd738db020e5be25c729f3fefba678fac -eo pid,comm [Pipeline] { [Pipeline] sh 02:12:15 + go version 02:12:15 go version go1.17.6 linux/arm64 [Pipeline] } 02:12:15 $ docker stop --time=1 34f6ac21542d2d535824acd9ab6da35cd738db020e5be25c729f3fefba678fac 02:12:17 $ docker rm -f 34f6ac21542d2d535824acd9ab6da35cd738db020e5be25c729f3fefba678fac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:12:17 + docker inspect -f . ci-base-image-arm64 02:12:17 . [Pipeline] withDockerContainer 02:12:17 prd-ubuntu20.04-docker-arm64-4c-16g-21016 does not seem to be running inside a container 02:12:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:12:19 $ docker top ce0a3ad51f2da2f41d3362338b07395b422763474388d681fb8cc1a127f9cbc2 -eo pid,comm [Pipeline] { [Pipeline] echo 02:12:19 ========================================================= 02:12:19 [edgeXBuildGoParallel] Running Tests and Build... 02:12:19 ========================================================= [Pipeline] fileExists [Pipeline] sh 02:12:20 + make test 02:12:20 go mod tidy -compat=1.17 02:12:21 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:12:53 ? github.com/edgexfoundry/edgex-go [no test files] 02:14:30 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 02:14:30 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 02:14:30 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 02:14:30 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 02:14:33 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 02:14:33 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 02:14:33 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 02:14:33 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 02:14:33 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 02:14:33 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 02:14:33 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 02:14:34 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 02:14:34 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 02:14:34 ? github.com/edgexfoundry/edgex-go/internal [no test files] 02:14:34 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 02:14:46 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.237s coverage: 28.7% of statements 02:14:46 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 02:14:46 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 02:14:52 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.504s coverage: 98.5% of statements 02:14:52 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 02:14:52 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.390s coverage: 53.4% of statements 02:14:52 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 02:14:52 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 02:15:14 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 17.865s coverage: 89.2% of statements 02:15:14 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 02:15:14 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 02:15:14 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 02:15:14 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.344s coverage: 84.4% of statements 02:15:14 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 02:15:14 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 02:15:14 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] 02:15:14 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 02:15:14 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 02:15:15 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 2.878s coverage: 95.6% of statements 02:15:15 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 02:15:15 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 02:15:15 ok github.com/edgexfoundry/edgex-go/internal/io 0.574s coverage: 72.2% of statements 02:15:15 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 02:15:15 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 02:15:15 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 02:15:15 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 02:15:15 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 02:15:15 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.573s coverage: 60.0% of statements 02:15:15 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 02:15:15 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 02:15:15 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 02:15:15 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.397s coverage: 0.9% of statements 02:15:15 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 02:15:15 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.406s coverage: 58.8% of statements 02:15:15 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.250s coverage: 24.0% of statements 02:15:15 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 02:15:15 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.287s coverage: 47.1% of statements 02:15:15 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.474s coverage: 79.5% of statements 02:15:16 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.365s coverage: 94.1% of statements 02:15:18 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.365s coverage: 96.3% of statements 02:15:18 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.266s coverage: 87.5% of statements 02:15:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.279s coverage: 94.4% of statements 02:15:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.179s coverage: 44.8% of statements 02:15:36 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.601s coverage: 82.5% of statements 02:15:36 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 02:15:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.281s coverage: 92.9% of statements 02:15:45 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 02:15:45 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 02:15:45 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 02:15:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.066s coverage: 65.1% of statements 02:15:45 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 02:15:45 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 02:15:45 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 02:15:45 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 02:15:45 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 02:15:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.198s coverage: 87.2% of statements 02:15:45 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 02:15:45 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 02:15:45 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.178s coverage: 100.0% of statements 02:15:45 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 02:15:45 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.280s coverage: 58.8% of statements 02:15:45 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 02:15:45 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.342s coverage: 80.0% of statements 02:15:45 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.235s coverage: 87.2% of statements 02:15:45 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.278s coverage: 85.4% of statements 02:15:45 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.751s coverage: 91.2% of statements 02:15:45 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 02:15:47 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.888s coverage: 64.4% of statements 02:15:47 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 02:15:47 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 02:15:47 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.284s coverage: 100.0% of statements 02:15:47 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.099s coverage: 89.4% of statements 02:15:47 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.065s coverage: 100.0% of statements 02:15:47 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.077s coverage: 73.7% of statements 02:15:47 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.061s coverage: 100.0% of statements 02:15:56 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.411s coverage: 65.4% of statements 02:15:56 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 02:15:56 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 02:15:56 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 02:15:57 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.805s coverage: 43.8% of statements 02:15:57 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 02:15:57 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 02:15:57 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.245s coverage: 89.5% of statements 02:15:57 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 02:15:57 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.465s coverage: 84.8% of statements 02:15:57 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 02:15:57 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 02:15:57 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 02:15:57 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 02:16:09 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.318s coverage: 17.7% of statements 02:16:09 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 02:16:09 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 02:16:09 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 02:16:09 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 02:16:09 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.654s coverage: 92.3% of statements 02:16:09 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 02:16:09 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 02:16:09 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 02:16:09 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 02:16:09 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.268s coverage: 63.2% of statements 02:16:09 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 02:16:09 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 02:16:09 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.472s coverage: 97.7% of statements 02:16:09 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 02:16:09 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 02:16:09 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 02:16:09 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] 02:16:09 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.304s coverage: 28.9% of statements 02:16:09 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] 02:16:09 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] 02:16:09 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 02:16:09 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 02:16:09 ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] 02:16:09 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 02:16:09 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.221s coverage: 100.0% of statements 02:16:09 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.080s coverage: 96.9% of statements 02:16:09 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 02:16:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:16:09 GO111MODULE=on go vet ./... 02:17:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:17:46 ./internal/core/metadata/controller/http/deviceprofile_test.go 02:17:46 ./internal/core/metadata/controller/http/deviceprofile.go 02:17:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:17:48 make: *** [Makefile:145: test] Error 1 [Pipeline] } 02:17:48 $ docker stop --time=1 ce0a3ad51f2da2f41d3362338b07395b422763474388d681fb8cc1a127f9cbc2 02:17:50 $ docker rm -f ce0a3ad51f2da2f41d3362338b07395b422763474388d681fb8cc1a127f9cbc2 [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] sh 02:17:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:17:52 02:17:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 02:17:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:17:53 arm64: Pulling from edgex-lftools-log-publisher 02:17:53 8998bd30e6a1: Pulling fs layer 02:17:53 04944245beec: Pulling fs layer 02:17:53 699f458cf7ca: Pulling fs layer 02:17:53 765212b225bb: Pulling fs layer 02:17:53 f23df028b6ca: Pulling fs layer 02:17:53 d65c8cfc05b1: Pulling fs layer 02:17:53 2437ff75d9bd: Pulling fs layer 02:17:53 f23df028b6ca: Waiting 02:17:53 d65c8cfc05b1: Waiting 02:17:53 2437ff75d9bd: Waiting 02:17:53 765212b225bb: Waiting 02:17:53 04944245beec: Verifying Checksum 02:17:53 04944245beec: Download complete 02:17:53 765212b225bb: Verifying Checksum 02:17:53 765212b225bb: Download complete 02:17:53 f23df028b6ca: Download complete 02:17:53 d65c8cfc05b1: Verifying Checksum 02:17:53 d65c8cfc05b1: Download complete 02:17:53 699f458cf7ca: Verifying Checksum 02:17:53 699f458cf7ca: Download complete 02:17:53 8998bd30e6a1: Verifying Checksum 02:17:53 8998bd30e6a1: Download complete 02:17:58 8998bd30e6a1: Pull complete 02:17:58 2437ff75d9bd: Verifying Checksum 02:17:58 2437ff75d9bd: Download complete 02:17:58 04944245beec: Pull complete 02:18:00 699f458cf7ca: Pull complete 02:18:00 765212b225bb: Pull complete 02:18:01 f23df028b6ca: Pull complete 02:18:01 d65c8cfc05b1: Pull complete 02:18:16 2437ff75d9bd: Pull complete 02:18:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:18:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:18:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 02:18:17 prd-ubuntu20.04-docker-arm64-4c-16g-21016 does not seem to be running inside a container 02:18:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:18:19 $ docker top dba60e5a88765d912fc2ce5f692293bb16d90f80dafd51454719d8042aea6fbe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:18:21 ---> job-cost.sh 02:18:21 lf-activate-venv: SKIPPING 02:18:21 INFO: No Stack... 02:18:21 INFO: Retrieving Pricing Info for: v3-standard-4 02:18:23 INFO: Archiving Costs [Pipeline] sh 02:18:24 + cut -d, -f6 02:18:24 + cat /w/workspace/edgex-go/2/archives/cost.csv [Pipeline] lock 02:18:24 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3971-2-stack-cost] 02:18:24 Resource [jenkins-edgexfoundry-edgex-go-PR-3971-2-stack-cost] did not exist. Created. 02:18:24 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3971-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:18:25 + echo total: 0.10999999940395355 [Pipeline] stash 02:18:26 Stashed 1 file(s) [Pipeline] } 02:18:26 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3971-2-stack-cost] [Pipeline] // lock [Pipeline] } 02:18:26 $ docker stop --time=1 dba60e5a88765d912fc2ce5f692293bb16d90f80dafd51454719d8042aea6fbe 02:18:27 $ docker rm -f dba60e5a88765d912fc2ce5f692293bb16d90f80dafd51454719d8042aea6fbe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:18:27 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 02:18:28 + [ -d /w/workspace/edgex-go/2/archives ] [Pipeline] libraryResource [Pipeline] sh 02:18:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:18:29 ---> package-listing.sh 02:18:29 ++ facter osfamily 02:18:29 ++ tr '[:upper:]' '[:lower:]' 02:18:29 + OS_FAMILY=debian 02:18:29 + workspace=/w/workspace/edgex-go/2 02:18:29 + START_PACKAGES=/tmp/packages_start.txt 02:18:29 + END_PACKAGES=/tmp/packages_end.txt 02:18:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:18:29 + PACKAGES=/tmp/packages_start.txt 02:18:29 + '[' /w/workspace/edgex-go/2 ']' 02:18:29 + PACKAGES=/tmp/packages_end.txt 02:18:29 + case "${OS_FAMILY}" in 02:18:29 + dpkg -l 02:18:29 + grep '^ii' 02:18:30 + '[' -f /tmp/packages_start.txt ']' 02:18:30 + '[' -f /tmp/packages_end.txt ']' 02:18:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:18:30 + '[' /w/workspace/edgex-go/2 ']' 02:18:30 + mkdir -p /w/workspace/edgex-go/2/archives/ 02:18:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo 02:18:30 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:18:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:18:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:18:30 02:18:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 02:18:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:18:31 latest: Pulling from edgex-lftools-log-publisher 02:18:31 5eb5b503b376: Pulling fs layer 02:18:31 5c69ac0246d0: Pulling fs layer 02:18:31 ec43610c2a17: Pulling fs layer 02:18:31 3a2ae6a8a46f: Pulling fs layer 02:18:31 33b1e0a273af: Pulling fs layer 02:18:31 5d3b04190fa2: Pulling fs layer 02:18:31 2f39f015ded8: Pulling fs layer 02:18:31 33b1e0a273af: Waiting 02:18:31 5d3b04190fa2: Waiting 02:18:31 2f39f015ded8: Waiting 02:18:31 3a2ae6a8a46f: Waiting 02:18:31 5c69ac0246d0: Download complete 02:18:31 3a2ae6a8a46f: Verifying Checksum 02:18:31 3a2ae6a8a46f: Download complete 02:18:31 33b1e0a273af: Verifying Checksum 02:18:31 33b1e0a273af: Download complete 02:18:31 5d3b04190fa2: Verifying Checksum 02:18:31 5d3b04190fa2: Download complete 02:18:31 ec43610c2a17: Verifying Checksum 02:18:31 ec43610c2a17: Download complete 02:18:31 5eb5b503b376: Verifying Checksum 02:18:31 5eb5b503b376: Download complete 02:18:32 2f39f015ded8: Download complete 02:18:32 5eb5b503b376: Pull complete 02:18:32 5c69ac0246d0: Pull complete 02:18:33 ec43610c2a17: Pull complete 02:18:33 3a2ae6a8a46f: Pull complete 02:18:33 33b1e0a273af: Pull complete 02:18:33 5d3b04190fa2: Pull complete 02:18:39 2f39f015ded8: Pull complete 02:18:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:18:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:18:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 02:18:39 prd-ubuntu20.04-docker-8c-8g-21015 does not seem to be running inside a container 02:18:39 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:18:41 $ docker top 5b204f377ccb0cb3d7c6d0e058679018a2042a9f90ac7eff594fee8b856e085a -eo pid,comm [Pipeline] { [Pipeline] sh 02:18:41 + touch /tmp/pre-build-complete [Pipeline] sh 02:18:41 + mkdir -p /var/log/sysstat [Pipeline] sh 02:18:42 + ls /var/log/sa-host 02:18:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:18:42 provisioning config files... 02:18:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config4765858925915219263tmp [Pipeline] { [Pipeline] echo 02:18:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:18:42 ---> create-netrc.sh [Pipeline] } 02:18:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:18:43 ---> python-tools-install.sh [Pipeline] echo 02:18:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:18:43 ---> sudo-logs.sh 02:18:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:18:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:18:43 ---> job-cost.sh 02:18:43 lf-activate-venv: SKIPPING 02:18:43 DEBUG: total: 0.10999999940395355 02:18:43 INFO: Retrieving Stack Cost... 02:18:44 INFO: Retrieving Pricing Info for: v3-standard-8 02:18:44 INFO: Archiving Costs [Pipeline] echo 02:18:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:18:45 ---> logs-deploy.sh 02:18:45 lf-activate-venv: SKIPPING 02:18:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3971/2 02:18:45 INFO: archiving workspace using pattern(s): 02:18:45 Archives upload complete. 02:18:45 INFO: archiving logs to Nexus 02:18:46 ---> uname -a: 02:18:46 Linux prd-ubuntu20-04-docker-8c-8g-21015 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 02:18:46 02:18:46 02:18:46 ---> lscpu: 02:18:46 Architecture: x86_64 02:18:46 CPU op-mode(s): 32-bit, 64-bit 02:18:46 Byte Order: Little Endian 02:18:46 Address sizes: 40 bits physical, 48 bits virtual 02:18:46 CPU(s): 8 02:18:46 On-line CPU(s) list: 0-7 02:18:46 Thread(s) per core: 1 02:18:46 Core(s) per socket: 1 02:18:46 Socket(s): 8 02:18:46 NUMA node(s): 1 02:18:46 Vendor ID: AuthenticAMD 02:18:46 CPU family: 23 02:18:46 Model: 49 02:18:46 Model name: AMD EPYC-Rome Processor 02:18:46 Stepping: 0 02:18:46 CPU MHz: 2799.998 02:18:46 BogoMIPS: 5599.99 02:18:46 Virtualization: AMD-V 02:18:46 Hypervisor vendor: KVM 02:18:46 Virtualization type: full 02:18:46 L1d cache: 256 KiB 02:18:46 L1i cache: 256 KiB 02:18:46 L2 cache: 4 MiB 02:18:46 L3 cache: 128 MiB 02:18:46 NUMA node0 CPU(s): 0-7 02:18:46 Vulnerability Itlb multihit: Not affected 02:18:46 Vulnerability L1tf: Not affected 02:18:46 Vulnerability Mds: Not affected 02:18:46 Vulnerability Meltdown: Not affected 02:18:46 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:18:46 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 02:18:46 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 02:18:46 Vulnerability Srbds: Not affected 02:18:46 Vulnerability Tsx async abort: Not affected 02:18:46 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 02:18:46 02:18:46 02:18:46 ---> nproc: 02:18:46 8 02:18:46 02:18:46 02:18:46 ---> df -h: 02:18:46 Filesystem Size Used Avail Use% Mounted on 02:18:46 overlay 155G 11G 145G 7% / 02:18:46 tmpfs 64M 0 64M 0% /dev 02:18:46 tmpfs 16G 0 16G 0% /sys/fs/cgroup 02:18:46 shm 64M 0 64M 0% /dev/shm 02:18:46 /dev/vda1 155G 11G 145G 7% /facter-os 02:18:46 02:18:46