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 [2022-04-15T02:05:44.542Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-15T02:05:44.603Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-15T02:05:44.625Z] ========================================================= [2022-04-15T02:05:44.625Z] EdgeX Global Pipelines Version Info [2022-04-15T02:05:44.625Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-15T02:05:45.382Z] ------------------- [2022-04-15T02:05:45.382Z] stable info: [2022-04-15T02:05:45.382Z] ------------------- [2022-04-15T02:05:45.382Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-15T02:05:45.382Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-15T02:05:45.382Z] Message: update stable to v1.0.221 [2022-04-15T02:05:45.952Z] ------------------- [2022-04-15T02:05:45.952Z] experimental info: [2022-04-15T02:05:45.952Z] ------------------- [2022-04-15T02:05:45.952Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-15T02:05:45.952Z] Commit SHA: 2d41b7a85c8a62c0c33f5e39ad1462a101ac531d [2022-04-15T02:05:45.952Z] Message: update experimental to v1.0.222 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-15T02:05:46.079Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2022-04-15T02:05:46.094Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2022-04-15T02:05:46.106Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-15T02:05:46.121Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-15T02:05:46.131Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-15T02:05:46.198Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-15T02:05:46.215Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-15T02:05:46.231Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2022-04-15T02:05:46.247Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2022-04-15T02:05:46.259Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2022-04-15T02:05:46.274Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-15T02:05:46.286Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-15T02:05:46.300Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-15T02:05:46.314Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-15T02:05:46.329Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-15T02:05:46.342Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-15T02:05:46.355Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-15T02:05:46.367Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-15T02:05:46.383Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-04-15T02:05:46.400Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-04-15T02:05:46.412Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-15T02:05:46.428Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-15T02:05:46.447Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3971 [Pipeline] echo [2022-04-15T02:05:46.464Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3971 [Pipeline] echo [2022-04-15T02:05:46.480Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3971 [Pipeline] echo [2022-04-15T02:05:46.491Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 304650cbfeab1a935cc9ea3db2ccdea7c2178a27 [Pipeline] echo [2022-04-15T02:05:46.502Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 304650c [Pipeline] echo [2022-04-15T02:05:46.515Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-15T02:05:46.564Z] provisioning config files... [2022-04-15T02:05:46.579Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config8724877433372045076tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-15T02:05:46.890Z] ---> docker-login.sh [2022-04-15T02:05:46.890Z] nexus3.edgexfoundry.org:10001 [2022-04-15T02:05:47.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T02:05:47.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T02:05:47.151Z] Configure a credential helper to remove this warning. See [2022-04-15T02:05:47.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T02:05:47.151Z] [2022-04-15T02:05:47.151Z] Login Succeeded [2022-04-15T02:05:47.151Z] nexus3.edgexfoundry.org:10002 [2022-04-15T02:05:47.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T02:05:47.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T02:05:47.417Z] Configure a credential helper to remove this warning. See [2022-04-15T02:05:47.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T02:05:47.417Z] [2022-04-15T02:05:47.417Z] Login Succeeded [2022-04-15T02:05:47.417Z] nexus3.edgexfoundry.org:10003 [2022-04-15T02:05:47.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T02:05:47.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T02:05:47.417Z] Configure a credential helper to remove this warning. See [2022-04-15T02:05:47.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T02:05:47.417Z] [2022-04-15T02:05:47.417Z] Login Succeeded [2022-04-15T02:05:47.417Z] nexus3.edgexfoundry.org:10004 [2022-04-15T02:05:47.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T02:05:47.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T02:05:47.678Z] Configure a credential helper to remove this warning. See [2022-04-15T02:05:47.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T02:05:47.678Z] [2022-04-15T02:05:47.678Z] Login Succeeded [2022-04-15T02:05:47.678Z] docker.io [2022-04-15T02:05:47.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T02:05:47.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T02:05:47.959Z] Configure a credential helper to remove this warning. See [2022-04-15T02:05:47.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T02:05:47.959Z] [2022-04-15T02:05:47.959Z] Login Succeeded [2022-04-15T02:05:47.959Z] ---> docker-login.sh ends [Pipeline] } [2022-04-15T02:05:47.971Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-15T02:05:48.280Z] + 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 [2022-04-15T02:05:48.280Z] + dirname cmd/core-command/Dockerfile [2022-04-15T02:05:48.280Z] + cut -d/ -f2 [2022-04-15T02:05:48.280Z] + echo core-command,cmd/core-command/Dockerfile [2022-04-15T02:05:48.280Z] + dirname cmd/core-data/Dockerfile [2022-04-15T02:05:48.280Z] + cut -d/ -f2 [2022-04-15T02:05:48.280Z] + echo core-data,cmd/core-data/Dockerfile [2022-04-15T02:05:48.280Z] + dirname cmd/core-metadata/Dockerfile [2022-04-15T02:05:48.280Z] + cut -d/ -f2 [2022-04-15T02:05:48.281Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2022-04-15T02:05:48.281Z] + dirname+ cmd/security-bootstrapper/Dockerfile [2022-04-15T02:05:48.281Z] cut -d/ -f2 [2022-04-15T02:05:48.281Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2022-04-15T02:05:48.281Z] + + dirname cmd/security-proxy-setup/Dockerfile [2022-04-15T02:05:48.281Z] cut -d/ -f2 [2022-04-15T02:05:48.281Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2022-04-15T02:05:48.281Z] + dirname cmd/security-secretstore-setup/Dockerfile [2022-04-15T02:05:48.281Z] + cut -d/ -f2 [2022-04-15T02:05:48.281Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2022-04-15T02:05:48.281Z] + dirname cmd/security-spiffe-token-provider/Dockerfile [2022-04-15T02:05:48.281Z] + cut -d/ -f2 [2022-04-15T02:05:48.281Z] + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile [2022-04-15T02:05:48.281Z] + dirname cmd/security-spire-agent/Dockerfile [2022-04-15T02:05:48.281Z] + cut -d/ -f2 [2022-04-15T02:05:48.281Z] + echo security-spire-agent,cmd/security-spire-agent/Dockerfile [2022-04-15T02:05:48.281Z] + dirname cmd/security-spire-config/Dockerfile [2022-04-15T02:05:48.281Z] + cut -d/ -f2 [2022-04-15T02:05:48.281Z] + echo security-spire-config,cmd/security-spire-config/Dockerfile [2022-04-15T02:05:48.281Z] + dirname cmd/security-spire-server/Dockerfile [2022-04-15T02:05:48.281Z] + cut -d/ -f2 [2022-04-15T02:05:48.281Z] + echo security-spire-server,cmd/security-spire-server/Dockerfile [2022-04-15T02:05:48.281Z] + dirname cmd/support-notifications/Dockerfile [2022-04-15T02:05:48.281Z] + cut -d/ -f2 [2022-04-15T02:05:48.281Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2022-04-15T02:05:48.281Z] + dirname cmd/support-scheduler/Dockerfile [2022-04-15T02:05:48.281Z] + cut -d/ -f2 [2022-04-15T02:05:48.281Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2022-04-15T02:05:48.281Z] + dirname cmd/sys-mgmt-agent/Dockerfile [2022-04-15T02:05:48.281Z] + cut -d/ -f2 [2022-04-15T02:05:48.281Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2022-04-15T02:05:48.317Z] 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 [2022-04-15T02:05:48.665Z] + git rev-list -1 --merges 304650cbfeab1a935cc9ea3db2ccdea7c2178a27~1..304650cbfeab1a935cc9ea3db2ccdea7c2178a27 [Pipeline] echo [2022-04-15T02:05:48.685Z] -----------> git rev-list -1 --merges 304650cbfeab1a935cc9ea3db2ccdea7c2178a27~1..304650cbfeab1a935cc9ea3db2ccdea7c2178a27 304650cbfeab1a935cc9ea3db2ccdea7c2178a27 [false] [Pipeline] sh [2022-04-15T02:05:48.979Z] + git log --format=format:%s -1 304650cbfeab1a935cc9ea3db2ccdea7c2178a27 [Pipeline] echo [2022-04-15T02:05:48.997Z] ========================================================= [2022-04-15T02:05:48.997Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-15T02:05:48.997Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-04-15T02:05:49.567Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-15T02:05:49.567Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-15T02:05:49.567Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-15T02:05:49.567Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-15T02:05:49.567Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-15T02:05:49.567Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-15T02:05:49.567Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-15T02:05:49.994Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-15T02:05:49.994Z] [2022-04-15T02:05:49.994Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-15T02:05:50.301Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-15T02:05:50.301Z] latest: Pulling from edgex-devops/git-semver [2022-04-15T02:05:50.301Z] a0d0a0d46f8b: Pulling fs layer [2022-04-15T02:05:50.301Z] 3e5f54012d9b: Pulling fs layer [2022-04-15T02:05:50.301Z] 4c7163046ea9: Pulling fs layer [2022-04-15T02:05:50.301Z] 0c2d73faf560: Pulling fs layer [2022-04-15T02:05:50.301Z] 0c2d73faf560: Waiting [2022-04-15T02:05:50.301Z] 3e5f54012d9b: Verifying Checksum [2022-04-15T02:05:50.301Z] 3e5f54012d9b: Download complete [2022-04-15T02:05:50.301Z] a0d0a0d46f8b: Verifying Checksum [2022-04-15T02:05:50.301Z] a0d0a0d46f8b: Download complete [2022-04-15T02:05:50.301Z] 4c7163046ea9: Verifying Checksum [2022-04-15T02:05:50.301Z] 4c7163046ea9: Download complete [2022-04-15T02:05:50.562Z] 0c2d73faf560: Verifying Checksum [2022-04-15T02:05:50.562Z] 0c2d73faf560: Download complete [2022-04-15T02:05:50.562Z] a0d0a0d46f8b: Pull complete [2022-04-15T02:05:50.562Z] 3e5f54012d9b: Pull complete [2022-04-15T02:05:50.820Z] 4c7163046ea9: Pull complete [2022-04-15T02:05:51.080Z] 0c2d73faf560: Pull complete [2022-04-15T02:05:51.080Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-15T02:05:51.080Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-15T02:05:51.080Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-15T02:05:51.153Z] prd-ubuntu20.04-docker-8c-8g-21015 does not seem to be running inside a container [2022-04-15T02:05:51.205Z] $ 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 [2022-04-15T02:05:51.855Z] $ docker top 2aa125c4006a0e4df7aab2c104b62fe4cd99dba26caead3af29093cf5b66c1b0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-15T02:05:51.953Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-15T02:05:51.953Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-15T02:05:52.073Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-15T02:05:52.082Z] $ docker exec 2aa125c4006a0e4df7aab2c104b62fe4cd99dba26caead3af29093cf5b66c1b0 ssh-agent [2022-04-15T02:05:52.191Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOKGEHe/agent.13 [2022-04-15T02:05:52.191Z] SSH_AGENT_PID=19 [2022-04-15T02:05:52.199Z] Running ssh-add (command line suppressed) [2022-04-15T02:05:52.306Z] Identity added: /w/workspace/edgex-go/2@tmp/private_key_2119033045366474224.key (/w/workspace/edgex-go/2@tmp/private_key_2119033045366474224.key) [2022-04-15T02:05:52.314Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-15T02:05:52.604Z] + git tag --points-at HEAD [Pipeline] } [2022-04-15T02:05:52.627Z] $ docker exec --env ******** --env ******** 2aa125c4006a0e4df7aab2c104b62fe4cd99dba26caead3af29093cf5b66c1b0 ssh-agent -k [2022-04-15T02:05:52.730Z] unset SSH_AUTH_SOCK; [2022-04-15T02:05:52.731Z] unset SSH_AGENT_PID; [2022-04-15T02:05:52.731Z] echo Agent pid 19 killed; [2022-04-15T02:05:52.733Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-15T02:05:52.769Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-15T02:05:52.769Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-15T02:05:52.892Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-15T02:05:52.901Z] $ docker exec 2aa125c4006a0e4df7aab2c104b62fe4cd99dba26caead3af29093cf5b66c1b0 ssh-agent [2022-04-15T02:05:53.012Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXohkjoC/agent.52 [2022-04-15T02:05:53.012Z] SSH_AGENT_PID=58 [2022-04-15T02:05:53.017Z] Running ssh-add (command line suppressed) [2022-04-15T02:05:53.150Z] Identity added: /w/workspace/edgex-go/2@tmp/private_key_4867806394476735760.key (/w/workspace/edgex-go/2@tmp/private_key_4867806394476735760.key) [2022-04-15T02:05:53.158Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-15T02:05:53.447Z] + git semver init [2022-04-15T02:05:53.447Z] # -> Open(): unable to determine branch for HEAD [2022-04-15T02:05:53.447Z] # $GIT_DIR = /w/workspace/edgex-go/2/.git [2022-04-15T02:05:53.447Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/2 [2022-04-15T02:05:53.447Z] # $SEMVER_REMOTE_NAME = origin [2022-04-15T02:05:53.447Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-15T02:05:53.447Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-15T02:05:53.447Z] # $SEMVER_BRANCH = PR-3971 [2022-04-15T02:05:53.447Z] # $SEMVER_TEMP = /tmp/semver-475137551 [2022-04-15T02:05:53.447Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2022-04-15T02:06:08.371Z] # '/tmp/semver-475137551' -> '/w/workspace/edgex-go/2/.semver' [2022-04-15T02:06:08.371Z] # -> Force: false [2022-04-15T02:06:08.371Z] # $SEMVER_DIR = /w/workspace/edgex-go/2/.semver [Pipeline] } [2022-04-15T02:06:08.398Z] $ docker exec --env ******** --env ******** 2aa125c4006a0e4df7aab2c104b62fe4cd99dba26caead3af29093cf5b66c1b0 ssh-agent -k [2022-04-15T02:06:08.495Z] unset SSH_AUTH_SOCK; [2022-04-15T02:06:08.495Z] unset SSH_AGENT_PID; [2022-04-15T02:06:08.495Z] echo Agent pid 58 killed; [2022-04-15T02:06:08.500Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-15T02:06:08.811Z] + git semver [Pipeline] } [2022-04-15T02:06:08.832Z] $ docker stop --time=1 2aa125c4006a0e4df7aab2c104b62fe4cd99dba26caead3af29093cf5b66c1b0 [2022-04-15T02:06:10.602Z] $ docker rm -f 2aa125c4006a0e4df7aab2c104b62fe4cd99dba26caead3af29093cf5b66c1b0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-15T02:06:10.982Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-15T02:06:11.237Z] Stashed 1 file(s) [Pipeline] echo [2022-04-15T02:06:11.239Z] [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 [2022-04-15T02:06:11.381Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-15T02:06:11.392Z] ========================================================= [2022-04-15T02:06:11.392Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-15T02:06:11.392Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-04-15T02:06:11.684Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-15T02:06:11.684Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-15T02:06:11.684Z] 59bf1c3509f3: Pulling fs layer [2022-04-15T02:06:11.684Z] 666ba61612fd: Pulling fs layer [2022-04-15T02:06:11.684Z] 8ed8ca486205: Pulling fs layer [2022-04-15T02:06:11.684Z] 4fe6c5a15a65: Pulling fs layer [2022-04-15T02:06:11.684Z] 22a0e8bec74d: Pulling fs layer [2022-04-15T02:06:11.684Z] 640e595b4fbd: Pulling fs layer [2022-04-15T02:06:11.684Z] 763cafe07f6e: Pulling fs layer [2022-04-15T02:06:11.684Z] 0c0b528cf693: Pulling fs layer [2022-04-15T02:06:11.684Z] 10935f4eaf8b: Pulling fs layer [2022-04-15T02:06:11.684Z] 4fe6c5a15a65: Waiting [2022-04-15T02:06:11.684Z] 0c0b528cf693: Waiting [2022-04-15T02:06:11.684Z] 10935f4eaf8b: Waiting [2022-04-15T02:06:11.684Z] 22a0e8bec74d: Waiting [2022-04-15T02:06:11.684Z] 763cafe07f6e: Waiting [2022-04-15T02:06:11.684Z] 640e595b4fbd: Waiting [2022-04-15T02:06:11.684Z] 8ed8ca486205: Verifying Checksum [2022-04-15T02:06:11.684Z] 8ed8ca486205: Download complete [2022-04-15T02:06:11.684Z] 666ba61612fd: Download complete [2022-04-15T02:06:11.684Z] 22a0e8bec74d: Verifying Checksum [2022-04-15T02:06:11.684Z] 22a0e8bec74d: Download complete [2022-04-15T02:06:11.684Z] 640e595b4fbd: Verifying Checksum [2022-04-15T02:06:11.684Z] 640e595b4fbd: Download complete [2022-04-15T02:06:11.684Z] 59bf1c3509f3: Verifying Checksum [2022-04-15T02:06:11.684Z] 59bf1c3509f3: Download complete [2022-04-15T02:06:11.684Z] 763cafe07f6e: Download complete [2022-04-15T02:06:11.945Z] 0c0b528cf693: Verifying Checksum [2022-04-15T02:06:11.945Z] 0c0b528cf693: Download complete [2022-04-15T02:06:11.945Z] 59bf1c3509f3: Pull complete [2022-04-15T02:06:11.945Z] 666ba61612fd: Pull complete [2022-04-15T02:06:12.205Z] 8ed8ca486205: Pull complete [2022-04-15T02:06:12.464Z] 10935f4eaf8b: Verifying Checksum [2022-04-15T02:06:12.464Z] 10935f4eaf8b: Download complete [2022-04-15T02:06:12.464Z] 4fe6c5a15a65: Verifying Checksum [2022-04-15T02:06:12.464Z] 4fe6c5a15a65: Download complete [2022-04-15T02:06:16.659Z] 4fe6c5a15a65: Pull complete [2022-04-15T02:06:16.659Z] 22a0e8bec74d: Pull complete [2022-04-15T02:06:16.659Z] 640e595b4fbd: Pull complete [2022-04-15T02:06:16.659Z] 763cafe07f6e: Pull complete [2022-04-15T02:06:16.659Z] 0c0b528cf693: Pull complete [2022-04-15T02:06:18.566Z] 10935f4eaf8b: Pull complete [2022-04-15T02:06:18.566Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-15T02:06:18.566Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-15T02:06:18.566Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] fileExists [Pipeline] sh [2022-04-15T02:06:18.867Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-15T02:06:18.867Z] WORKDIR /edgex [2022-04-15T02:06:18.867Z] COPY go.mod . [2022-04-15T02:06:18.867Z] RUN go mod download [2022-04-15T02:06:18.867Z] + docker build -t ci-base-image-x86_64 -f - . [2022-04-15T02:06:20.249Z] Sending build context to Docker daemon 334.9MB [2022-04-15T02:06:20.249Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-15T02:06:20.249Z] ---> 99d49a6021b9 [2022-04-15T02:06:20.249Z] Step 2/4 : WORKDIR /edgex [2022-04-15T02:06:22.163Z] ---> Running in 29e39627301b [2022-04-15T02:06:22.163Z] Removing intermediate container 29e39627301b [2022-04-15T02:06:22.163Z] ---> fdc13ee7c978 [2022-04-15T02:06:22.163Z] Step 3/4 : COPY go.mod . [2022-04-15T02:06:22.163Z] ---> 78b18b33a447 [2022-04-15T02:06:22.163Z] Step 4/4 : RUN go mod download [2022-04-15T02:06:22.163Z] ---> Running in 64ff61e5b104 [2022-04-15T02:06:26.313Z] Still waiting to schedule task [2022-04-15T02:06:26.313Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-21012’ [2022-04-15T02:06:37.061Z] Removing intermediate container 64ff61e5b104 [2022-04-15T02:06:37.061Z] ---> 90dad36e04d6 [2022-04-15T02:06:37.061Z] Successfully built 90dad36e04d6 [2022-04-15T02:06:37.061Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-15T02:06:37.354Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-15T02:06:37.354Z] . [Pipeline] withDockerContainer [2022-04-15T02:06:37.420Z] prd-ubuntu20.04-docker-8c-8g-21015 does not seem to be running inside a container [2022-04-15T02:06:37.457Z] $ 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 [2022-04-15T02:06:37.857Z] $ docker top 965da7a989a0c1886cc207e21a5c8f3a5e3a4374d2c50a7ae27627d50d74d2a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-15T02:06:38.200Z] + go version [2022-04-15T02:06:38.200Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-15T02:06:38.218Z] $ docker stop --time=1 965da7a989a0c1886cc207e21a5c8f3a5e3a4374d2c50a7ae27627d50d74d2a4 [2022-04-15T02:06:39.493Z] $ docker rm -f 965da7a989a0c1886cc207e21a5c8f3a5e3a4374d2c50a7ae27627d50d74d2a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-15T02:06:39.906Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-15T02:06:39.906Z] . [Pipeline] withDockerContainer [2022-04-15T02:06:39.973Z] prd-ubuntu20.04-docker-8c-8g-21015 does not seem to be running inside a container [2022-04-15T02:06:40.012Z] $ 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 [2022-04-15T02:06:40.355Z] $ docker top fadcaeea2ef0eb290b652e20f3c4a2eb025c09252399b79a29c2700b23d26b93 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-15T02:06:40.428Z] ========================================================= [2022-04-15T02:06:40.428Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-04-15T02:06:40.428Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-04-15T02:06:40.726Z] + make test [2022-04-15T02:06:40.726Z] go mod tidy -compat=1.17 [2022-04-15T02:06:40.726Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-15T02:06:46.007Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-04-15T02:06:55.987Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-04-15T02:06:56.247Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-04-15T02:06:56.505Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-04-15T02:06:56.505Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-04-15T02:06:56.505Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-04-15T02:06:56.505Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-04-15T02:06:56.505Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-04-15T02:06:56.505Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-04-15T02:06:56.505Z] ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] [2022-04-15T02:06:56.505Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2022-04-15T02:06:56.505Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2022-04-15T02:06:56.505Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2022-04-15T02:06:56.505Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2022-04-15T02:06:56.505Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2022-04-15T02:06:56.505Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2022-04-15T02:06:57.879Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.074s coverage: 28.7% of statements [2022-04-15T02:06:57.879Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2022-04-15T02:06:57.879Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2022-04-15T02:06:58.446Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.089s coverage: 98.5% of statements [2022-04-15T02:06:58.446Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2022-04-15T02:06:58.446Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.072s coverage: 53.4% of statements [2022-04-15T02:06:58.446Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2022-04-15T02:06:58.446Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2022-04-15T02:07:01.731Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 3.196s coverage: 89.2% of statements [2022-04-15T02:07:01.731Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] [2022-04-15T02:07:01.731Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2022-04-15T02:07:01.731Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2022-04-15T02:07:01.731Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.084s coverage: 84.4% of statements [2022-04-15T02:07:01.731Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2022-04-15T02:07:01.731Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2022-04-15T02:07:01.731Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] [2022-04-15T02:07:01.731Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2022-04-15T02:07:01.731Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2022-04-15T02:07:01.731Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.413s coverage: 95.6% of statements [2022-04-15T02:07:01.731Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2022-04-15T02:07:01.731Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2022-04-15T02:07:01.731Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.087s coverage: 72.2% of statements [2022-04-15T02:07:01.731Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2022-04-15T02:07:01.731Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2022-04-15T02:07:01.731Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2022-04-15T02:07:01.731Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2022-04-15T02:07:01.731Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2022-04-15T02:07:01.731Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.074s coverage: 60.0% of statements [2022-04-15T02:07:01.731Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2022-04-15T02:07:01.731Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2022-04-15T02:07:01.731Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2022-04-15T02:07:01.731Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.082s coverage: 0.9% of statements [2022-04-15T02:07:01.731Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2022-04-15T02:07:01.731Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.053s coverage: 58.8% of statements [2022-04-15T02:07:01.731Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.043s coverage: 24.0% of statements [2022-04-15T02:07:01.731Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2022-04-15T02:07:01.731Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.064s coverage: 47.1% of statements [2022-04-15T02:07:01.731Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.055s coverage: 79.5% of statements [2022-04-15T02:07:01.731Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.067s coverage: 94.1% of statements [2022-04-15T02:07:01.731Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.062s coverage: 96.3% of statements [2022-04-15T02:07:01.731Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.063s coverage: 87.5% of statements [2022-04-15T02:07:11.739Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.071s coverage: 94.4% of statements [2022-04-15T02:07:11.739Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.064s coverage: 44.8% of statements [2022-04-15T02:07:13.203Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.168s coverage: 82.5% of statements [2022-04-15T02:07:13.203Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2022-04-15T02:07:23.251Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.106s coverage: 92.9% of statements [2022-04-15T02:07:23.251Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2022-04-15T02:07:23.251Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2022-04-15T02:07:23.251Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2022-04-15T02:07:23.251Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.047s coverage: 65.1% of statements [2022-04-15T02:07:23.251Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2022-04-15T02:07:23.251Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2022-04-15T02:07:23.251Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2022-04-15T02:07:23.251Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2022-04-15T02:07:23.251Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2022-04-15T02:07:23.251Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.064s coverage: 87.2% of statements [2022-04-15T02:07:23.251Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2022-04-15T02:07:23.251Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2022-04-15T02:07:23.251Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.061s coverage: 100.0% of statements [2022-04-15T02:07:23.251Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2022-04-15T02:07:23.251Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.077s coverage: 58.8% of statements [2022-04-15T02:07:23.251Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2022-04-15T02:07:23.251Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.054s coverage: 80.0% of statements [2022-04-15T02:07:23.251Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.062s coverage: 87.2% of statements [2022-04-15T02:07:23.251Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.061s coverage: 85.4% of statements [2022-04-15T02:07:23.251Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.152s coverage: 91.2% of statements [2022-04-15T02:07:23.251Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2022-04-15T02:07:23.251Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.181s coverage: 64.4% of statements [2022-04-15T02:07:23.251Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2022-04-15T02:07:23.251Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2022-04-15T02:07:23.251Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.061s coverage: 100.0% of statements [2022-04-15T02:07:23.251Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.031s coverage: 89.4% of statements [2022-04-15T02:07:23.251Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.019s coverage: 100.0% of statements [2022-04-15T02:07:23.251Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.046s coverage: 73.7% of statements [2022-04-15T02:07:23.251Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.034s coverage: 100.0% of statements [2022-04-15T02:07:23.251Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.308s coverage: 65.4% of statements [2022-04-15T02:07:23.251Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2022-04-15T02:07:23.251Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2022-04-15T02:07:23.251Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2022-04-15T02:07:23.251Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.149s coverage: 43.8% of statements [2022-04-15T02:07:23.251Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2022-04-15T02:07:23.251Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2022-04-15T02:07:23.251Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.051s coverage: 89.5% of statements [2022-04-15T02:07:23.251Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2022-04-15T02:07:23.251Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.052s coverage: 84.8% of statements [2022-04-15T02:07:23.251Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] [2022-04-15T02:07:23.251Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] [2022-04-15T02:07:23.251Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] [2022-04-15T02:07:23.251Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] [2022-04-15T02:07:23.251Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.073s coverage: 17.7% of statements [2022-04-15T02:07:23.251Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2022-04-15T02:07:23.251Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2022-04-15T02:07:23.251Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2022-04-15T02:07:23.251Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2022-04-15T02:07:23.251Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.163s coverage: 92.3% of statements [2022-04-15T02:07:23.251Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2022-04-15T02:07:23.252Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2022-04-15T02:07:23.252Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] [2022-04-15T02:07:23.252Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2022-04-15T02:07:23.252Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.062s coverage: 63.2% of statements [2022-04-15T02:07:23.252Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2022-04-15T02:07:23.252Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2022-04-15T02:07:23.252Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.112s coverage: 97.7% of statements [2022-04-15T02:07:23.252Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2022-04-15T02:07:23.252Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2022-04-15T02:07:23.252Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2022-04-15T02:07:23.252Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] [2022-04-15T02:07:23.252Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.052s coverage: 28.9% of statements [2022-04-15T02:07:23.252Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] [2022-04-15T02:07:23.252Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] [2022-04-15T02:07:23.252Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2022-04-15T02:07:23.252Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2022-04-15T02:07:23.252Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] [2022-04-15T02:07:23.252Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2022-04-15T02:07:23.252Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.043s coverage: 100.0% of statements [2022-04-15T02:07:23.252Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.033s coverage: 96.9% of statements [2022-04-15T02:07:23.252Z] 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 [2022-04-15T02:07:41.341Z] GO111MODULE=on go vet ./... [2022-04-15T02:07:43.247Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-15T02:07:43.247Z] ./internal/core/metadata/controller/http/deviceprofile.go [2022-04-15T02:07:43.247Z] ./internal/core/metadata/controller/http/deviceprofile_test.go [2022-04-15T02:07:43.247Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-15T02:07:43.818Z] make: *** [Makefile:145: test] Error 1 [Pipeline] } [2022-04-15T02:07:43.837Z] $ docker stop --time=1 fadcaeea2ef0eb290b652e20f3c4a2eb025c09252399b79a29c2700b23d26b93 [2022-04-15T02:07:45.798Z] $ 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] } [2022-04-15T02:07:46.238Z] Failed in branch amd64 [2022-04-15T02:10:05.242Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21016 in /w/workspace/edgexfoundry_edgex-go_PR-3971 [Pipeline] { [Pipeline] ws [2022-04-15T02:10:05.258Z] Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] checkout [2022-04-15T02:10:05.550Z] The recommended git tool is: git [2022-04-15T02:10:10.633Z] using credential edgex-jenkins-ssh [2022-04-15T02:10:10.652Z] Cloning the remote Git repository [2022-04-15T02:10:10.709Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2022-04-15T02:10:10.779Z] > git init /w/workspace/edgex-go/2 # timeout=10 [2022-04-15T02:10:10.875Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-04-15T02:10:10.876Z] > git --version # timeout=10 [2022-04-15T02:10:10.899Z] > git --version # 'git version 2.25.1' [2022-04-15T02:10:10.901Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-15T02:10:11.009Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-15T02:10:28.106Z] Merging remotes/origin/main commit efde56b581935682910d5fadc902c79a5d46562f into PR head commit 304650cbfeab1a935cc9ea3db2ccdea7c2178a27 [2022-04-15T02:10:27.182Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-04-15T02:10:27.211Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-15T02:10:27.241Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-04-15T02:10:27.277Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-04-15T02:10:27.278Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-15T02:10:27.291Z] > 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 [2022-04-15T02:10:28.482Z] Merge succeeded, producing 304650cbfeab1a935cc9ea3db2ccdea7c2178a27 [2022-04-15T02:10:28.483Z] Checking out Revision 304650cbfeab1a935cc9ea3db2ccdea7c2178a27 (PR-3971) [2022-04-15T02:10:28.133Z] > git config core.sparsecheckout # timeout=10 [2022-04-15T02:10:28.149Z] > git checkout -f 304650cbfeab1a935cc9ea3db2ccdea7c2178a27 # timeout=10 [2022-04-15T02:10:28.384Z] > git remote # timeout=10 [2022-04-15T02:10:28.403Z] > git config --get remote.origin.url # timeout=10 [2022-04-15T02:10:28.420Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-15T02:10:28.432Z] > git merge efde56b581935682910d5fadc902c79a5d46562f # timeout=10 [2022-04-15T02:10:28.463Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-15T02:10:28.496Z] > git config core.sparsecheckout # timeout=10 [2022-04-15T02:10:28.516Z] > git checkout -f 304650cbfeab1a935cc9ea3db2ccdea7c2178a27 # timeout=10 [2022-04-15T02:10:32.821Z] 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 [2022-04-15T02:10:33.876Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-15T02:10:33.876Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-15T02:10:33.876Z] Dload Upload Total Spent Left Speed [2022-04-15T02:10:33.876Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 93992 0 --:--:-- --:--:-- --:--:-- 94744 [Pipeline] sh [2022-04-15T02:10:34.492Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-15T02:10:34.845Z] + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json [2022-04-15T02:10:34.845Z] [2022-04-15T02:10:34.845Z] { [2022-04-15T02:10:34.845Z] "registry-mirrors": [ [2022-04-15T02:10:34.845Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-15T02:10:34.845Z] ], [2022-04-15T02:10:34.845Z] "bip": "10.250.0.254/24", [2022-04-15T02:10:34.845Z] "hosts": [ [2022-04-15T02:10:34.845Z] "tcp://0.0.0.0:5555", [2022-04-15T02:10:34.845Z] "unix:///var/run/docker.sock" [2022-04-15T02:10:34.845Z] ], [2022-04-15T02:10:34.845Z] "mtu": 1458, [2022-04-15T02:10:34.845Z] "selinux-enabled": true, [2022-04-15T02:10:34.845Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-15T02:10:34.845Z] } [Pipeline] sh [2022-04-15T02:10:35.195Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-15T02:10:35.546Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-15T02:10:53.900Z] provisioning config files... [2022-04-15T02:10:53.928Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config7602285381820890524tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-15T02:10:54.293Z] ---> docker-login.sh [2022-04-15T02:10:54.293Z] nexus3.edgexfoundry.org:10001 [2022-04-15T02:10:54.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T02:10:55.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T02:10:55.169Z] Configure a credential helper to remove this warning. See [2022-04-15T02:10:55.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T02:10:55.169Z] [2022-04-15T02:10:55.169Z] Login Succeeded [2022-04-15T02:10:55.169Z] nexus3.edgexfoundry.org:10002 [2022-04-15T02:10:55.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T02:10:55.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T02:10:55.726Z] Configure a credential helper to remove this warning. See [2022-04-15T02:10:55.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T02:10:55.726Z] [2022-04-15T02:10:55.726Z] Login Succeeded [2022-04-15T02:10:55.726Z] nexus3.edgexfoundry.org:10003 [2022-04-15T02:10:56.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T02:10:56.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T02:10:56.286Z] Configure a credential helper to remove this warning. See [2022-04-15T02:10:56.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T02:10:56.286Z] [2022-04-15T02:10:56.286Z] Login Succeeded [2022-04-15T02:10:56.286Z] nexus3.edgexfoundry.org:10004 [2022-04-15T02:10:56.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T02:10:56.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T02:10:56.563Z] Configure a credential helper to remove this warning. See [2022-04-15T02:10:56.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T02:10:56.563Z] [2022-04-15T02:10:56.563Z] Login Succeeded [2022-04-15T02:10:56.563Z] docker.io [2022-04-15T02:10:57.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T02:10:57.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T02:10:57.437Z] Configure a credential helper to remove this warning. See [2022-04-15T02:10:57.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T02:10:57.437Z] [2022-04-15T02:10:57.437Z] Login Succeeded [2022-04-15T02:10:57.437Z] ---> docker-login.sh ends [Pipeline] } [2022-04-15T02:10:57.456Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-15T02:10:57.996Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-15T02:10:58.006Z] ========================================================= [2022-04-15T02:10:58.006Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-15T02:10:58.006Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-04-15T02:10:58.343Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-15T02:10:58.622Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-15T02:10:58.622Z] 9b3977197b4f: Pulling fs layer [2022-04-15T02:10:58.622Z] 1a89e8eeedd5: Pulling fs layer [2022-04-15T02:10:58.623Z] 94645a83ff95: Pulling fs layer [2022-04-15T02:10:58.623Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-15T02:10:58.623Z] 0c92f367c5e7: Pulling fs layer [2022-04-15T02:10:58.623Z] f7c0051592d6: Pulling fs layer [2022-04-15T02:10:58.623Z] a227ed2f7395: Pulling fs layer [2022-04-15T02:10:58.623Z] 7b1c46037f91: Pulling fs layer [2022-04-15T02:10:58.623Z] f7c0051592d6: Waiting [2022-04-15T02:10:58.623Z] a227ed2f7395: Waiting [2022-04-15T02:10:58.623Z] 7b1c46037f91: Waiting [2022-04-15T02:10:58.623Z] 3f3a8bcf1eab: Waiting [2022-04-15T02:10:58.623Z] 0c92f367c5e7: Waiting [2022-04-15T02:10:58.623Z] 94645a83ff95: Verifying Checksum [2022-04-15T02:10:58.623Z] 94645a83ff95: Download complete [2022-04-15T02:10:58.623Z] 1a89e8eeedd5: Verifying Checksum [2022-04-15T02:10:58.623Z] 1a89e8eeedd5: Download complete [2022-04-15T02:10:58.623Z] 0c92f367c5e7: Verifying Checksum [2022-04-15T02:10:58.623Z] 0c92f367c5e7: Download complete [2022-04-15T02:10:58.623Z] f7c0051592d6: Verifying Checksum [2022-04-15T02:10:58.623Z] f7c0051592d6: Download complete [2022-04-15T02:10:58.623Z] 9b3977197b4f: Verifying Checksum [2022-04-15T02:10:58.623Z] a227ed2f7395: Verifying Checksum [2022-04-15T02:10:58.623Z] a227ed2f7395: Download complete [2022-04-15T02:10:59.609Z] 9b3977197b4f: Pull complete [2022-04-15T02:10:59.885Z] 1a89e8eeedd5: Pull complete [2022-04-15T02:11:00.164Z] 94645a83ff95: Pull complete [2022-04-15T02:11:00.442Z] 7b1c46037f91: Verifying Checksum [2022-04-15T02:11:00.442Z] 7b1c46037f91: Download complete [2022-04-15T02:11:01.039Z] 3f3a8bcf1eab: Download complete [2022-04-15T02:11:13.454Z] 3f3a8bcf1eab: Pull complete [2022-04-15T02:11:13.454Z] 0c92f367c5e7: Pull complete [2022-04-15T02:11:13.454Z] f7c0051592d6: Pull complete [2022-04-15T02:11:13.454Z] a227ed2f7395: Pull complete [2022-04-15T02:11:20.181Z] 7b1c46037f91: Pull complete [2022-04-15T02:11:20.181Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-15T02:11:20.181Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-15T02:11:20.181Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] fileExists [Pipeline] sh [2022-04-15T02:11:20.551Z] + docker build -t ci-base-image-arm64 -f - . [2022-04-15T02:11:20.551Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-15T02:11:20.551Z] WORKDIR /edgex [2022-04-15T02:11:20.551Z] COPY go.mod . [2022-04-15T02:11:20.551Z] RUN go mod download [2022-04-15T02:11:23.203Z] Sending build context to Docker daemon 169.2MB [2022-04-15T02:11:23.203Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-15T02:11:23.203Z] ---> f79e39bc4007 [2022-04-15T02:11:23.203Z] Step 2/4 : WORKDIR /edgex [2022-04-15T02:11:25.191Z] ---> Running in aed79fd4423a [2022-04-15T02:11:25.191Z] Removing intermediate container aed79fd4423a [2022-04-15T02:11:25.191Z] ---> ccadfc781e2e [2022-04-15T02:11:25.191Z] Step 3/4 : COPY go.mod . [2022-04-15T02:11:25.468Z] ---> 2ff72bff7d86 [2022-04-15T02:11:25.468Z] Step 4/4 : RUN go mod download [2022-04-15T02:11:25.743Z] ---> Running in 811b3e5bef5e [2022-04-15T02:12:12.739Z] Removing intermediate container 811b3e5bef5e [2022-04-15T02:12:12.739Z] ---> dabd0d75bf46 [2022-04-15T02:12:12.739Z] Successfully built dabd0d75bf46 [2022-04-15T02:12:12.739Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-15T02:12:13.081Z] + docker inspect -f . ci-base-image-arm64 [2022-04-15T02:12:13.082Z] . [Pipeline] withDockerContainer [2022-04-15T02:12:13.293Z] prd-ubuntu20.04-docker-arm64-4c-16g-21016 does not seem to be running inside a container [2022-04-15T02:12:13.375Z] $ 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 [2022-04-15T02:12:14.574Z] $ docker top 34f6ac21542d2d535824acd9ab6da35cd738db020e5be25c729f3fefba678fac -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-15T02:12:15.443Z] + go version [2022-04-15T02:12:15.443Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-15T02:12:15.470Z] $ docker stop --time=1 34f6ac21542d2d535824acd9ab6da35cd738db020e5be25c729f3fefba678fac [2022-04-15T02:12:17.133Z] $ docker rm -f 34f6ac21542d2d535824acd9ab6da35cd738db020e5be25c729f3fefba678fac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-15T02:12:17.746Z] + docker inspect -f . ci-base-image-arm64 [2022-04-15T02:12:17.747Z] . [Pipeline] withDockerContainer [2022-04-15T02:12:17.966Z] prd-ubuntu20.04-docker-arm64-4c-16g-21016 does not seem to be running inside a container [2022-04-15T02:12:18.052Z] $ 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 [2022-04-15T02:12:19.354Z] $ docker top ce0a3ad51f2da2f41d3362338b07395b422763474388d681fb8cc1a127f9cbc2 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-15T02:12:19.603Z] ========================================================= [2022-04-15T02:12:19.603Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-04-15T02:12:19.603Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-04-15T02:12:20.249Z] + make test [2022-04-15T02:12:20.249Z] go mod tidy -compat=1.17 [2022-04-15T02:12:21.227Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-15T02:12:53.559Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-04-15T02:14:30.422Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-04-15T02:14:30.423Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-04-15T02:14:30.423Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-04-15T02:14:30.423Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-04-15T02:14:33.831Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-04-15T02:14:33.831Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-04-15T02:14:33.831Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-04-15T02:14:33.831Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-04-15T02:14:33.831Z] ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] [2022-04-15T02:14:33.831Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2022-04-15T02:14:33.831Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2022-04-15T02:14:34.106Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2022-04-15T02:14:34.106Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2022-04-15T02:14:34.106Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2022-04-15T02:14:34.106Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2022-04-15T02:14:46.545Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.237s coverage: 28.7% of statements [2022-04-15T02:14:46.545Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2022-04-15T02:14:46.545Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2022-04-15T02:14:52.016Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.504s coverage: 98.5% of statements [2022-04-15T02:14:52.016Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2022-04-15T02:14:52.016Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.390s coverage: 53.4% of statements [2022-04-15T02:14:52.016Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2022-04-15T02:14:52.016Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2022-04-15T02:15:14.321Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 17.865s coverage: 89.2% of statements [2022-04-15T02:15:14.321Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] [2022-04-15T02:15:14.321Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2022-04-15T02:15:14.321Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2022-04-15T02:15:14.321Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.344s coverage: 84.4% of statements [2022-04-15T02:15:14.321Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2022-04-15T02:15:14.321Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2022-04-15T02:15:14.321Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] [2022-04-15T02:15:14.321Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2022-04-15T02:15:14.321Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2022-04-15T02:15:15.116Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 2.878s coverage: 95.6% of statements [2022-04-15T02:15:15.116Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2022-04-15T02:15:15.116Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2022-04-15T02:15:15.116Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.574s coverage: 72.2% of statements [2022-04-15T02:15:15.116Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2022-04-15T02:15:15.116Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2022-04-15T02:15:15.116Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2022-04-15T02:15:15.116Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2022-04-15T02:15:15.116Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2022-04-15T02:15:15.116Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.573s coverage: 60.0% of statements [2022-04-15T02:15:15.116Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2022-04-15T02:15:15.116Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2022-04-15T02:15:15.116Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2022-04-15T02:15:15.116Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.397s coverage: 0.9% of statements [2022-04-15T02:15:15.116Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2022-04-15T02:15:15.116Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.406s coverage: 58.8% of statements [2022-04-15T02:15:15.116Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.250s coverage: 24.0% of statements [2022-04-15T02:15:15.116Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2022-04-15T02:15:15.116Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.287s coverage: 47.1% of statements [2022-04-15T02:15:15.866Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.474s coverage: 79.5% of statements [2022-04-15T02:15:16.717Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.365s coverage: 94.1% of statements [2022-04-15T02:15:18.722Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.365s coverage: 96.3% of statements [2022-04-15T02:15:18.722Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.266s coverage: 87.5% of statements [2022-04-15T02:15:31.358Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.279s coverage: 94.4% of statements [2022-04-15T02:15:31.358Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.179s coverage: 44.8% of statements [2022-04-15T02:15:36.771Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.601s coverage: 82.5% of statements [2022-04-15T02:15:36.771Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2022-04-15T02:15:45.099Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.281s coverage: 92.9% of statements [2022-04-15T02:15:45.099Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2022-04-15T02:15:45.099Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2022-04-15T02:15:45.099Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2022-04-15T02:15:45.099Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.066s coverage: 65.1% of statements [2022-04-15T02:15:45.099Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2022-04-15T02:15:45.099Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2022-04-15T02:15:45.099Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2022-04-15T02:15:45.099Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2022-04-15T02:15:45.099Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2022-04-15T02:15:45.099Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.198s coverage: 87.2% of statements [2022-04-15T02:15:45.099Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2022-04-15T02:15:45.099Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2022-04-15T02:15:45.099Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.178s coverage: 100.0% of statements [2022-04-15T02:15:45.099Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2022-04-15T02:15:45.099Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.280s coverage: 58.8% of statements [2022-04-15T02:15:45.099Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2022-04-15T02:15:45.099Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.342s coverage: 80.0% of statements [2022-04-15T02:15:45.099Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.235s coverage: 87.2% of statements [2022-04-15T02:15:45.099Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.278s coverage: 85.4% of statements [2022-04-15T02:15:45.099Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.751s coverage: 91.2% of statements [2022-04-15T02:15:45.099Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2022-04-15T02:15:47.738Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.888s coverage: 64.4% of statements [2022-04-15T02:15:47.738Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2022-04-15T02:15:47.738Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2022-04-15T02:15:47.738Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.284s coverage: 100.0% of statements [2022-04-15T02:15:47.738Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.099s coverage: 89.4% of statements [2022-04-15T02:15:47.738Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.065s coverage: 100.0% of statements [2022-04-15T02:15:47.738Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.077s coverage: 73.7% of statements [2022-04-15T02:15:47.738Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.061s coverage: 100.0% of statements [2022-04-15T02:15:56.081Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.411s coverage: 65.4% of statements [2022-04-15T02:15:56.081Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2022-04-15T02:15:56.081Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2022-04-15T02:15:56.081Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2022-04-15T02:15:57.527Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.805s coverage: 43.8% of statements [2022-04-15T02:15:57.527Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2022-04-15T02:15:57.527Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2022-04-15T02:15:57.527Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.245s coverage: 89.5% of statements [2022-04-15T02:15:57.527Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2022-04-15T02:15:57.527Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.465s coverage: 84.8% of statements [2022-04-15T02:15:57.527Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] [2022-04-15T02:15:57.527Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] [2022-04-15T02:15:57.527Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] [2022-04-15T02:15:57.527Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] [2022-04-15T02:16:09.936Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.318s coverage: 17.7% of statements [2022-04-15T02:16:09.936Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2022-04-15T02:16:09.936Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2022-04-15T02:16:09.936Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2022-04-15T02:16:09.936Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2022-04-15T02:16:09.936Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.654s coverage: 92.3% of statements [2022-04-15T02:16:09.936Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2022-04-15T02:16:09.936Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2022-04-15T02:16:09.936Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] [2022-04-15T02:16:09.936Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2022-04-15T02:16:09.936Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.268s coverage: 63.2% of statements [2022-04-15T02:16:09.936Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2022-04-15T02:16:09.936Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2022-04-15T02:16:09.936Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.472s coverage: 97.7% of statements [2022-04-15T02:16:09.936Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2022-04-15T02:16:09.937Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2022-04-15T02:16:09.937Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2022-04-15T02:16:09.937Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] [2022-04-15T02:16:09.937Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.304s coverage: 28.9% of statements [2022-04-15T02:16:09.937Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] [2022-04-15T02:16:09.937Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] [2022-04-15T02:16:09.937Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2022-04-15T02:16:09.937Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2022-04-15T02:16:09.937Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] [2022-04-15T02:16:09.937Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2022-04-15T02:16:09.937Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.221s coverage: 100.0% of statements [2022-04-15T02:16:09.937Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.080s coverage: 96.9% of statements [2022-04-15T02:16:09.937Z] 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 [2022-04-15T02:16:09.937Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-15T02:16:09.937Z] GO111MODULE=on go vet ./... [2022-04-15T02:17:46.766Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-15T02:17:46.766Z] ./internal/core/metadata/controller/http/deviceprofile_test.go [2022-04-15T02:17:46.766Z] ./internal/core/metadata/controller/http/deviceprofile.go [2022-04-15T02:17:47.046Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-15T02:17:48.731Z] make: *** [Makefile:145: test] Error 1 [Pipeline] } [2022-04-15T02:17:48.761Z] $ docker stop --time=1 ce0a3ad51f2da2f41d3362338b07395b422763474388d681fb8cc1a127f9cbc2 [2022-04-15T02:17:50.658Z] $ 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 [2022-04-15T02:17:52.313Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-15T02:17:52.313Z] [2022-04-15T02:17:52.313Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-15T02:17:52.678Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-15T02:17:53.167Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-15T02:17:53.167Z] 8998bd30e6a1: Pulling fs layer [2022-04-15T02:17:53.167Z] 04944245beec: Pulling fs layer [2022-04-15T02:17:53.167Z] 699f458cf7ca: Pulling fs layer [2022-04-15T02:17:53.167Z] 765212b225bb: Pulling fs layer [2022-04-15T02:17:53.167Z] f23df028b6ca: Pulling fs layer [2022-04-15T02:17:53.167Z] d65c8cfc05b1: Pulling fs layer [2022-04-15T02:17:53.167Z] 2437ff75d9bd: Pulling fs layer [2022-04-15T02:17:53.167Z] f23df028b6ca: Waiting [2022-04-15T02:17:53.167Z] d65c8cfc05b1: Waiting [2022-04-15T02:17:53.167Z] 2437ff75d9bd: Waiting [2022-04-15T02:17:53.167Z] 765212b225bb: Waiting [2022-04-15T02:17:53.167Z] 04944245beec: Verifying Checksum [2022-04-15T02:17:53.167Z] 04944245beec: Download complete [2022-04-15T02:17:53.167Z] 765212b225bb: Verifying Checksum [2022-04-15T02:17:53.167Z] 765212b225bb: Download complete [2022-04-15T02:17:53.167Z] f23df028b6ca: Download complete [2022-04-15T02:17:53.167Z] d65c8cfc05b1: Verifying Checksum [2022-04-15T02:17:53.167Z] d65c8cfc05b1: Download complete [2022-04-15T02:17:53.167Z] 699f458cf7ca: Verifying Checksum [2022-04-15T02:17:53.167Z] 699f458cf7ca: Download complete [2022-04-15T02:17:53.983Z] 8998bd30e6a1: Verifying Checksum [2022-04-15T02:17:53.983Z] 8998bd30e6a1: Download complete [2022-04-15T02:17:58.540Z] 8998bd30e6a1: Pull complete [2022-04-15T02:17:58.540Z] 2437ff75d9bd: Verifying Checksum [2022-04-15T02:17:58.540Z] 2437ff75d9bd: Download complete [2022-04-15T02:17:58.540Z] 04944245beec: Pull complete [2022-04-15T02:18:00.004Z] 699f458cf7ca: Pull complete [2022-04-15T02:18:00.288Z] 765212b225bb: Pull complete [2022-04-15T02:18:01.112Z] f23df028b6ca: Pull complete [2022-04-15T02:18:01.405Z] d65c8cfc05b1: Pull complete [2022-04-15T02:18:16.610Z] 2437ff75d9bd: Pull complete [2022-04-15T02:18:16.610Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-15T02:18:16.610Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-15T02:18:16.610Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-15T02:18:17.332Z] prd-ubuntu20.04-docker-arm64-4c-16g-21016 does not seem to be running inside a container [2022-04-15T02:18:17.464Z] $ 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 [2022-04-15T02:18:19.931Z] $ docker top dba60e5a88765d912fc2ce5f692293bb16d90f80dafd51454719d8042aea6fbe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-15T02:18:21.160Z] ---> job-cost.sh [2022-04-15T02:18:21.160Z] lf-activate-venv: SKIPPING [2022-04-15T02:18:21.160Z] INFO: No Stack... [2022-04-15T02:18:21.649Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-15T02:18:23.649Z] INFO: Archiving Costs [Pipeline] sh [2022-04-15T02:18:24.553Z] + cut -d, -f6 [2022-04-15T02:18:24.553Z] + cat /w/workspace/edgex-go/2/archives/cost.csv [Pipeline] lock [2022-04-15T02:18:24.587Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3971-2-stack-cost] [2022-04-15T02:18:24.596Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3971-2-stack-cost] did not exist. Created. [2022-04-15T02:18:24.596Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3971-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-15T02:18:25.272Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-15T02:18:26.061Z] Stashed 1 file(s) [Pipeline] } [2022-04-15T02:18:26.070Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3971-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-15T02:18:26.092Z] $ docker stop --time=1 dba60e5a88765d912fc2ce5f692293bb16d90f80dafd51454719d8042aea6fbe [2022-04-15T02:18:27.628Z] $ 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] } [2022-04-15T02:18:27.947Z] 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 [2022-04-15T02:18:28.621Z] + [ -d /w/workspace/edgex-go/2/archives ] [Pipeline] libraryResource [Pipeline] sh [2022-04-15T02:18:28.946Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-15T02:18:29.824Z] ---> package-listing.sh [2022-04-15T02:18:29.824Z] ++ facter osfamily [2022-04-15T02:18:29.824Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-15T02:18:29.824Z] + OS_FAMILY=debian [2022-04-15T02:18:29.824Z] + workspace=/w/workspace/edgex-go/2 [2022-04-15T02:18:29.824Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-15T02:18:29.824Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-15T02:18:29.824Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-15T02:18:29.824Z] + PACKAGES=/tmp/packages_start.txt [2022-04-15T02:18:29.824Z] + '[' /w/workspace/edgex-go/2 ']' [2022-04-15T02:18:29.824Z] + PACKAGES=/tmp/packages_end.txt [2022-04-15T02:18:29.824Z] + case "${OS_FAMILY}" in [2022-04-15T02:18:29.824Z] + dpkg -l [2022-04-15T02:18:29.824Z] + grep '^ii' [2022-04-15T02:18:30.086Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-15T02:18:30.086Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-15T02:18:30.086Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-15T02:18:30.086Z] + '[' /w/workspace/edgex-go/2 ']' [2022-04-15T02:18:30.086Z] + mkdir -p /w/workspace/edgex-go/2/archives/ [2022-04-15T02:18:30.086Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo [2022-04-15T02:18:30.102Z] 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 [2022-04-15T02:18:30.385Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-15T02:18:30.986Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-15T02:18:30.986Z] [2022-04-15T02:18:30.986Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-15T02:18:31.293Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-15T02:18:31.293Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-15T02:18:31.293Z] 5eb5b503b376: Pulling fs layer [2022-04-15T02:18:31.293Z] 5c69ac0246d0: Pulling fs layer [2022-04-15T02:18:31.293Z] ec43610c2a17: Pulling fs layer [2022-04-15T02:18:31.294Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-15T02:18:31.294Z] 33b1e0a273af: Pulling fs layer [2022-04-15T02:18:31.294Z] 5d3b04190fa2: Pulling fs layer [2022-04-15T02:18:31.294Z] 2f39f015ded8: Pulling fs layer [2022-04-15T02:18:31.294Z] 33b1e0a273af: Waiting [2022-04-15T02:18:31.294Z] 5d3b04190fa2: Waiting [2022-04-15T02:18:31.294Z] 2f39f015ded8: Waiting [2022-04-15T02:18:31.294Z] 3a2ae6a8a46f: Waiting [2022-04-15T02:18:31.294Z] 5c69ac0246d0: Download complete [2022-04-15T02:18:31.294Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-15T02:18:31.294Z] 3a2ae6a8a46f: Download complete [2022-04-15T02:18:31.294Z] 33b1e0a273af: Verifying Checksum [2022-04-15T02:18:31.294Z] 33b1e0a273af: Download complete [2022-04-15T02:18:31.294Z] 5d3b04190fa2: Verifying Checksum [2022-04-15T02:18:31.294Z] 5d3b04190fa2: Download complete [2022-04-15T02:18:31.554Z] ec43610c2a17: Verifying Checksum [2022-04-15T02:18:31.554Z] ec43610c2a17: Download complete [2022-04-15T02:18:31.554Z] 5eb5b503b376: Verifying Checksum [2022-04-15T02:18:31.554Z] 5eb5b503b376: Download complete [2022-04-15T02:18:32.124Z] 2f39f015ded8: Download complete [2022-04-15T02:18:32.699Z] 5eb5b503b376: Pull complete [2022-04-15T02:18:32.961Z] 5c69ac0246d0: Pull complete [2022-04-15T02:18:33.531Z] ec43610c2a17: Pull complete [2022-04-15T02:18:33.531Z] 3a2ae6a8a46f: Pull complete [2022-04-15T02:18:33.790Z] 33b1e0a273af: Pull complete [2022-04-15T02:18:33.791Z] 5d3b04190fa2: Pull complete [2022-04-15T02:18:39.077Z] 2f39f015ded8: Pull complete [2022-04-15T02:18:39.077Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-15T02:18:39.077Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-15T02:18:39.077Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-15T02:18:39.158Z] prd-ubuntu20.04-docker-8c-8g-21015 does not seem to be running inside a container [2022-04-15T02:18:39.277Z] $ 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 [2022-04-15T02:18:41.220Z] $ docker top 5b204f377ccb0cb3d7c6d0e058679018a2042a9f90ac7eff594fee8b856e085a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-15T02:18:41.585Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-15T02:18:41.878Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-15T02:18:42.171Z] + ls /var/log/sa-host [2022-04-15T02:18:42.171Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-15T02:18:42.415Z] provisioning config files... [2022-04-15T02:18:42.427Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config4765858925915219263tmp [Pipeline] { [Pipeline] echo [2022-04-15T02:18:42.445Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-15T02:18:42.743Z] ---> create-netrc.sh [Pipeline] } [2022-04-15T02:18:42.751Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-15T02:18:43.107Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-15T02:18:43.118Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-15T02:18:43.413Z] ---> sudo-logs.sh [2022-04-15T02:18:43.413Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-15T02:18:43.453Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-15T02:18:43.745Z] ---> job-cost.sh [2022-04-15T02:18:43.745Z] lf-activate-venv: SKIPPING [2022-04-15T02:18:43.745Z] DEBUG: total: 0.10999999940395355 [2022-04-15T02:18:43.745Z] INFO: Retrieving Stack Cost... [2022-04-15T02:18:44.006Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-15T02:18:44.586Z] INFO: Archiving Costs [Pipeline] echo [2022-04-15T02:18:44.602Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-15T02:18:45.114Z] ---> logs-deploy.sh [2022-04-15T02:18:45.114Z] lf-activate-venv: SKIPPING [2022-04-15T02:18:45.114Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3971/2 [2022-04-15T02:18:45.114Z] INFO: archiving workspace using pattern(s): [2022-04-15T02:18:45.683Z] Archives upload complete. [2022-04-15T02:18:45.944Z] INFO: archiving logs to Nexus [2022-04-15T02:18:46.520Z] ---> uname -a: [2022-04-15T02:18:46.520Z] 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 [2022-04-15T02:18:46.520Z] [2022-04-15T02:18:46.520Z] [2022-04-15T02:18:46.520Z] ---> lscpu: [2022-04-15T02:18:46.520Z] Architecture: x86_64 [2022-04-15T02:18:46.520Z] CPU op-mode(s): 32-bit, 64-bit [2022-04-15T02:18:46.520Z] Byte Order: Little Endian [2022-04-15T02:18:46.520Z] Address sizes: 40 bits physical, 48 bits virtual [2022-04-15T02:18:46.520Z] CPU(s): 8 [2022-04-15T02:18:46.520Z] On-line CPU(s) list: 0-7 [2022-04-15T02:18:46.520Z] Thread(s) per core: 1 [2022-04-15T02:18:46.520Z] Core(s) per socket: 1 [2022-04-15T02:18:46.520Z] Socket(s): 8 [2022-04-15T02:18:46.520Z] NUMA node(s): 1 [2022-04-15T02:18:46.520Z] Vendor ID: AuthenticAMD [2022-04-15T02:18:46.520Z] CPU family: 23 [2022-04-15T02:18:46.520Z] Model: 49 [2022-04-15T02:18:46.520Z] Model name: AMD EPYC-Rome Processor [2022-04-15T02:18:46.520Z] Stepping: 0 [2022-04-15T02:18:46.520Z] CPU MHz: 2799.998 [2022-04-15T02:18:46.520Z] BogoMIPS: 5599.99 [2022-04-15T02:18:46.520Z] Virtualization: AMD-V [2022-04-15T02:18:46.520Z] Hypervisor vendor: KVM [2022-04-15T02:18:46.520Z] Virtualization type: full [2022-04-15T02:18:46.520Z] L1d cache: 256 KiB [2022-04-15T02:18:46.520Z] L1i cache: 256 KiB [2022-04-15T02:18:46.520Z] L2 cache: 4 MiB [2022-04-15T02:18:46.520Z] L3 cache: 128 MiB [2022-04-15T02:18:46.520Z] NUMA node0 CPU(s): 0-7 [2022-04-15T02:18:46.520Z] Vulnerability Itlb multihit: Not affected [2022-04-15T02:18:46.520Z] Vulnerability L1tf: Not affected [2022-04-15T02:18:46.520Z] Vulnerability Mds: Not affected [2022-04-15T02:18:46.520Z] Vulnerability Meltdown: Not affected [2022-04-15T02:18:46.520Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-04-15T02:18:46.520Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-04-15T02:18:46.520Z] Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-04-15T02:18:46.520Z] Vulnerability Srbds: Not affected [2022-04-15T02:18:46.520Z] Vulnerability Tsx async abort: Not affected [2022-04-15T02:18:46.520Z] 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 [2022-04-15T02:18:46.520Z] [2022-04-15T02:18:46.520Z] [2022-04-15T02:18:46.520Z] ---> nproc: [2022-04-15T02:18:46.520Z] 8 [2022-04-15T02:18:46.520Z] [2022-04-15T02:18:46.520Z] [2022-04-15T02:18:46.520Z] ---> df -h: [2022-04-15T02:18:46.520Z] Filesystem Size Used Avail Use% Mounted on [2022-04-15T02:18:46.520Z] overlay 155G 11G 145G 7% / [2022-04-15T02:18:46.520Z] tmpfs 64M 0 64M 0% /dev [2022-04-15T02:18:46.520Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-04-15T02:18:46.520Z] shm 64M 0 64M 0% /dev/shm [2022-04-15T02:18:46.521Z] /dev/vda1 155G 11G 145G 7% /facter-os [2022-04-15T02:18:46.521Z] [2022-04-15T02:18:46.521Z]