Pull request #3928 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e846b23998a326d0e2577e99161a52b58c185373+8e1ceee72f1e8b529f59e19a94ec3dfd502baa97 (9dff8265f16ea17aa829f61327d49eb5965d17b6) 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-ssh10282514671920261455.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-ssh8545807046409187728.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3928/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3928/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4751705558081426093.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3928/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2669312890654386996.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh2256775769105013734.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3928/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3928/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh10161670988139698490.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 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:true] ========================================================= [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: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9271 in /w/workspace/edgexfoundry_edgex-go_PR-3928 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/1 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8e1ceee72f1e8b529f59e19a94ec3dfd502baa97 into PR head commit e846b23998a326d0e2577e99161a52b58c185373 Merge succeeded, producing e846b23998a326d0e2577e99161a52b58c185373 Checking out Revision e846b23998a326d0e2577e99161a52b58c185373 (PR-3928) > 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/3928/head:refs/remotes/origin/PR-3928 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e846b23998a326d0e2577e99161a52b58c185373 # 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 8e1ceee72f1e8b529f59e19a94ec3dfd502baa97 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e846b23998a326d0e2577e99161a52b58c185373 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-28T19:07:11.839Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-28T19:07:11.997Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-28T19:07:12.082Z] ========================================================= [2022-03-28T19:07:12.082Z] EdgeX Global Pipelines Version Info [2022-03-28T19:07:12.083Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-28T19:07:12.879Z] ------------------- [2022-03-28T19:07:12.879Z] stable info: [2022-03-28T19:07:12.879Z] ------------------- [2022-03-28T19:07:12.879Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-28T19:07:12.879Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-28T19:07:12.879Z] Message: update stable to v1.0.221 [2022-03-28T19:07:13.452Z] ------------------- [2022-03-28T19:07:13.452Z] experimental info: [2022-03-28T19:07:13.452Z] ------------------- [2022-03-28T19:07:13.452Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-28T19:07:13.452Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-28T19:07:13.452Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-28T19:07:13.681Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2022-03-28T19:07:13.720Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2022-03-28T19:07:13.763Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-28T19:07:13.800Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-28T19:07:13.837Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-28T19:07:13.874Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-28T19:07:13.911Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-28T19:07:13.948Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2022-03-28T19:07:13.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2022-03-28T19:07:14.025Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2022-03-28T19:07:14.059Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-28T19:07:14.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-28T19:07:14.134Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-28T19:07:14.172Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-28T19:07:14.210Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-28T19:07:14.244Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-28T19:07:14.276Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-03-28T19:07:14.323Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-28T19:07:14.359Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-03-28T19:07:14.397Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-03-28T19:07:14.430Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-03-28T19:07:14.466Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-28T19:07:14.501Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3928 [Pipeline] echo [2022-03-28T19:07:14.542Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3928 [Pipeline] echo [2022-03-28T19:07:14.580Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3928 [Pipeline] echo [2022-03-28T19:07:14.621Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e846b23998a326d0e2577e99161a52b58c185373 [Pipeline] echo [2022-03-28T19:07:14.659Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e846b23 [Pipeline] echo [2022-03-28T19:07:14.704Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-28T19:07:14.812Z] provisioning config files... [2022-03-28T19:07:14.826Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config64575406301826491tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T19:07:15.173Z] ---> docker-login.sh [2022-03-28T19:07:15.173Z] nexus3.edgexfoundry.org:10001 [2022-03-28T19:07:15.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T19:07:15.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T19:07:15.437Z] Configure a credential helper to remove this warning. See [2022-03-28T19:07:15.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T19:07:15.437Z] [2022-03-28T19:07:15.437Z] Login Succeeded [2022-03-28T19:07:15.437Z] nexus3.edgexfoundry.org:10002 [2022-03-28T19:07:15.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T19:07:15.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T19:07:15.701Z] Configure a credential helper to remove this warning. See [2022-03-28T19:07:15.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T19:07:15.701Z] [2022-03-28T19:07:15.701Z] Login Succeeded [2022-03-28T19:07:15.701Z] nexus3.edgexfoundry.org:10003 [2022-03-28T19:07:15.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T19:07:15.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T19:07:15.964Z] Configure a credential helper to remove this warning. See [2022-03-28T19:07:15.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T19:07:15.964Z] [2022-03-28T19:07:15.964Z] Login Succeeded [2022-03-28T19:07:15.964Z] nexus3.edgexfoundry.org:10004 [2022-03-28T19:07:15.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T19:07:15.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T19:07:15.964Z] Configure a credential helper to remove this warning. See [2022-03-28T19:07:15.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T19:07:15.964Z] [2022-03-28T19:07:15.964Z] Login Succeeded [2022-03-28T19:07:15.964Z] docker.io [2022-03-28T19:07:16.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T19:07:16.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T19:07:16.491Z] Configure a credential helper to remove this warning. See [2022-03-28T19:07:16.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T19:07:16.491Z] [2022-03-28T19:07:16.491Z] Login Succeeded [2022-03-28T19:07:16.491Z] ---> docker-login.sh ends [Pipeline] } [2022-03-28T19:07:16.517Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-28T19:07:16.941Z] + 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-03-28T19:07:16.941Z] + dirname cmd/core-command/Dockerfile [2022-03-28T19:07:16.941Z] + cut -d/ -f2 [2022-03-28T19:07:16.941Z] + echo core-command,cmd/core-command/Dockerfile [2022-03-28T19:07:16.941Z] + + cutdirname -d/ cmd/core-data/Dockerfile -f2 [2022-03-28T19:07:16.941Z] [2022-03-28T19:07:16.941Z] + echo core-data,cmd/core-data/Dockerfile [2022-03-28T19:07:16.941Z] + + cutdirname -d/ cmd/core-metadata/Dockerfile -f2 [2022-03-28T19:07:16.941Z] [2022-03-28T19:07:16.941Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2022-03-28T19:07:16.941Z] + dirname cmd/security-bootstrapper/Dockerfile [2022-03-28T19:07:16.941Z] + cut -d/ -f2 [2022-03-28T19:07:16.941Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2022-03-28T19:07:16.941Z] + dirname cmd/security-proxy-setup/Dockerfile [2022-03-28T19:07:16.941Z] + cut -d/ -f2 [2022-03-28T19:07:16.941Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2022-03-28T19:07:16.941Z] + dirname cmd/security-secretstore-setup/Dockerfile [2022-03-28T19:07:16.941Z] + cut -d/ -f2 [2022-03-28T19:07:16.941Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2022-03-28T19:07:16.941Z] + dirname cmd/security-spiffe-token-provider/Dockerfile [2022-03-28T19:07:16.941Z] + cut -d/ -f2 [2022-03-28T19:07:16.941Z] + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile [2022-03-28T19:07:16.941Z] + dirname cmd/security-spire-agent/Dockerfile [2022-03-28T19:07:16.941Z] + cut -d/ -f2 [2022-03-28T19:07:16.941Z] + echo security-spire-agent,cmd/security-spire-agent/Dockerfile [2022-03-28T19:07:16.941Z] + + cut -d/ -f2 [2022-03-28T19:07:16.941Z] dirname cmd/security-spire-config/Dockerfile [2022-03-28T19:07:16.941Z] + echo security-spire-config,cmd/security-spire-config/Dockerfile [2022-03-28T19:07:16.941Z] + dirname cmd/security-spire-server/Dockerfile [2022-03-28T19:07:16.941Z] + cut -d/ -f2 [2022-03-28T19:07:16.941Z] + echo security-spire-server,cmd/security-spire-server/Dockerfile [2022-03-28T19:07:16.941Z] + + dirname cmd/support-notifications/Dockerfile [2022-03-28T19:07:16.941Z] cut -d/ -f2 [2022-03-28T19:07:16.941Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2022-03-28T19:07:16.941Z] + dirname cmd/support-scheduler/Dockerfile [2022-03-28T19:07:16.941Z] + cut -d/ -f2 [2022-03-28T19:07:16.941Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2022-03-28T19:07:16.941Z] + cut -d/ -f2 [2022-03-28T19:07:16.941Z] + dirname cmd/sys-mgmt-agent/Dockerfile [2022-03-28T19:07:16.941Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2022-03-28T19:07:16.995Z] 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-03-28T19:07:17.480Z] + git rev-list -1 --merges e846b23998a326d0e2577e99161a52b58c185373~1..e846b23998a326d0e2577e99161a52b58c185373 [Pipeline] echo [2022-03-28T19:07:17.515Z] -----------> git rev-list -1 --merges e846b23998a326d0e2577e99161a52b58c185373~1..e846b23998a326d0e2577e99161a52b58c185373 e846b23998a326d0e2577e99161a52b58c185373 [false] [Pipeline] sh [2022-03-28T19:07:17.832Z] + git log --format=format:%s -1 e846b23998a326d0e2577e99161a52b58c185373 [Pipeline] echo [2022-03-28T19:07:17.871Z] ========================================================= [2022-03-28T19:07:17.871Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-28T19:07:17.871Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-03-28T19:07:18.473Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-28T19:07:18.473Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-28T19:07:18.473Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-28T19:07:18.473Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-28T19:07:18.473Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-28T19:07:18.473Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-28T19:07:18.473Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-28T19:07:18.933Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-28T19:07:18.933Z] [2022-03-28T19:07:18.933Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-28T19:07:19.303Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-28T19:07:19.303Z] latest: Pulling from edgex-devops/git-semver [2022-03-28T19:07:19.303Z] a0d0a0d46f8b: Pulling fs layer [2022-03-28T19:07:19.303Z] 3e5f54012d9b: Pulling fs layer [2022-03-28T19:07:19.303Z] 4c7163046ea9: Pulling fs layer [2022-03-28T19:07:19.303Z] 0c2d73faf560: Pulling fs layer [2022-03-28T19:07:19.303Z] 3e5f54012d9b: Verifying Checksum [2022-03-28T19:07:19.303Z] 3e5f54012d9b: Download complete [2022-03-28T19:07:19.303Z] a0d0a0d46f8b: Verifying Checksum [2022-03-28T19:07:19.303Z] a0d0a0d46f8b: Download complete [2022-03-28T19:07:19.568Z] 0c2d73faf560: Verifying Checksum [2022-03-28T19:07:19.568Z] 0c2d73faf560: Download complete [2022-03-28T19:07:19.568Z] 4c7163046ea9: Verifying Checksum [2022-03-28T19:07:19.568Z] 4c7163046ea9: Download complete [2022-03-28T19:07:19.568Z] a0d0a0d46f8b: Pull complete [2022-03-28T19:07:19.568Z] 3e5f54012d9b: Pull complete [2022-03-28T19:07:20.143Z] 4c7163046ea9: Pull complete [2022-03-28T19:07:20.143Z] 0c2d73faf560: Pull complete [2022-03-28T19:07:20.143Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-28T19:07:20.143Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-28T19:07:20.143Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-28T19:07:20.244Z] prd-ubuntu20.04-docker-8c-8g-9271 does not seem to be running inside a container [2022-03-28T19:07:20.290Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-28T19:07:21.053Z] $ docker top 09d4220b178d91aac53f7b1a71b10cba6f5ab556ad424e6ee680240dab83adfe -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-28T19:07:21.252Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-28T19:07:21.252Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-28T19:07:21.388Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-28T19:07:21.397Z] $ docker exec 09d4220b178d91aac53f7b1a71b10cba6f5ab556ad424e6ee680240dab83adfe ssh-agent [2022-03-28T19:07:21.504Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeHbDBL/agent.16 [2022-03-28T19:07:21.504Z] SSH_AGENT_PID=22 [2022-03-28T19:07:21.513Z] Running ssh-add (command line suppressed) [2022-03-28T19:07:21.652Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_5853205631633706923.key (/w/workspace/edgex-go/1@tmp/private_key_5853205631633706923.key) [2022-03-28T19:07:21.662Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-28T19:07:22.002Z] + git tag --points-at HEAD [Pipeline] } [2022-03-28T19:07:22.034Z] $ docker exec --env ******** --env ******** 09d4220b178d91aac53f7b1a71b10cba6f5ab556ad424e6ee680240dab83adfe ssh-agent -k [2022-03-28T19:07:22.144Z] unset SSH_AUTH_SOCK; [2022-03-28T19:07:22.145Z] unset SSH_AGENT_PID; [2022-03-28T19:07:22.145Z] echo Agent pid 22 killed; [2022-03-28T19:07:22.150Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-28T19:07:22.273Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-28T19:07:22.273Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-28T19:07:22.407Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-28T19:07:22.416Z] $ docker exec 09d4220b178d91aac53f7b1a71b10cba6f5ab556ad424e6ee680240dab83adfe ssh-agent [2022-03-28T19:07:22.541Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEPBOGG/agent.56 [2022-03-28T19:07:22.541Z] SSH_AGENT_PID=62 [2022-03-28T19:07:22.546Z] Running ssh-add (command line suppressed) [2022-03-28T19:07:22.669Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_4531812699957688322.key (/w/workspace/edgex-go/1@tmp/private_key_4531812699957688322.key) [2022-03-28T19:07:22.682Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-28T19:07:23.013Z] + git semver init [2022-03-28T19:07:23.013Z] # -> Open(): unable to determine branch for HEAD [2022-03-28T19:07:23.014Z] # $GIT_DIR = /w/workspace/edgex-go/1/.git [2022-03-28T19:07:23.014Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/1 [2022-03-28T19:07:23.014Z] # $SEMVER_REMOTE_NAME = origin [2022-03-28T19:07:23.014Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-28T19:07:23.014Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-28T19:07:23.014Z] # $SEMVER_BRANCH = PR-3928 [2022-03-28T19:07:23.014Z] # $SEMVER_TEMP = /tmp/semver-412007935 [2022-03-28T19:07:23.014Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2022-03-28T19:07:37.942Z] # '/tmp/semver-412007935' -> '/w/workspace/edgex-go/1/.semver' [2022-03-28T19:07:37.942Z] # -> Force: false [2022-03-28T19:07:37.942Z] # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } [2022-03-28T19:07:37.977Z] $ docker exec --env ******** --env ******** 09d4220b178d91aac53f7b1a71b10cba6f5ab556ad424e6ee680240dab83adfe ssh-agent -k [2022-03-28T19:07:38.110Z] unset SSH_AUTH_SOCK; [2022-03-28T19:07:38.111Z] unset SSH_AGENT_PID; [2022-03-28T19:07:38.111Z] echo Agent pid 62 killed; [2022-03-28T19:07:38.117Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-28T19:07:38.547Z] + git semver [Pipeline] } [2022-03-28T19:07:38.583Z] $ docker stop --time=1 09d4220b178d91aac53f7b1a71b10cba6f5ab556ad424e6ee680240dab83adfe [2022-03-28T19:07:40.402Z] $ docker rm -f 09d4220b178d91aac53f7b1a71b10cba6f5ab556ad424e6ee680240dab83adfe [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-28T19:07:40.849Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-28T19:07:41.170Z] Stashed 1 file(s) [Pipeline] echo [2022-03-28T19:07:41.189Z] [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-03-28T19:07:41.663Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-28T19:07:41.691Z] ========================================================= [2022-03-28T19:07:41.691Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-28T19:07:41.691Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-03-28T19:07:42.037Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-28T19:07:42.037Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-28T19:07:42.037Z] 59bf1c3509f3: Pulling fs layer [2022-03-28T19:07:42.037Z] 666ba61612fd: Pulling fs layer [2022-03-28T19:07:42.037Z] 8ed8ca486205: Pulling fs layer [2022-03-28T19:07:42.037Z] 4fe6c5a15a65: Pulling fs layer [2022-03-28T19:07:42.037Z] 22a0e8bec74d: Pulling fs layer [2022-03-28T19:07:42.037Z] 640e595b4fbd: Pulling fs layer [2022-03-28T19:07:42.037Z] 763cafe07f6e: Pulling fs layer [2022-03-28T19:07:42.037Z] 0c0b528cf693: Pulling fs layer [2022-03-28T19:07:42.037Z] 10935f4eaf8b: Pulling fs layer [2022-03-28T19:07:42.037Z] 4fe6c5a15a65: Waiting [2022-03-28T19:07:42.037Z] 10935f4eaf8b: Waiting [2022-03-28T19:07:42.037Z] 0c0b528cf693: Waiting [2022-03-28T19:07:42.037Z] 22a0e8bec74d: Waiting [2022-03-28T19:07:42.037Z] 8ed8ca486205: Verifying Checksum [2022-03-28T19:07:42.037Z] 8ed8ca486205: Download complete [2022-03-28T19:07:42.037Z] 666ba61612fd: Verifying Checksum [2022-03-28T19:07:42.037Z] 666ba61612fd: Download complete [2022-03-28T19:07:42.037Z] 22a0e8bec74d: Verifying Checksum [2022-03-28T19:07:42.037Z] 22a0e8bec74d: Download complete [2022-03-28T19:07:42.037Z] 640e595b4fbd: Verifying Checksum [2022-03-28T19:07:42.037Z] 640e595b4fbd: Download complete [2022-03-28T19:07:42.037Z] 59bf1c3509f3: Verifying Checksum [2022-03-28T19:07:42.037Z] 59bf1c3509f3: Download complete [2022-03-28T19:07:42.037Z] 763cafe07f6e: Download complete [2022-03-28T19:07:42.301Z] 0c0b528cf693: Verifying Checksum [2022-03-28T19:07:42.301Z] 0c0b528cf693: Download complete [2022-03-28T19:07:42.301Z] 59bf1c3509f3: Pull complete [2022-03-28T19:07:42.301Z] 666ba61612fd: Pull complete [2022-03-28T19:07:42.563Z] 8ed8ca486205: Pull complete [2022-03-28T19:07:42.823Z] 10935f4eaf8b: Verifying Checksum [2022-03-28T19:07:42.823Z] 10935f4eaf8b: Download complete [2022-03-28T19:07:42.823Z] 4fe6c5a15a65: Verifying Checksum [2022-03-28T19:07:42.823Z] 4fe6c5a15a65: Download complete [2022-03-28T19:07:47.026Z] 4fe6c5a15a65: Pull complete [2022-03-28T19:07:47.026Z] 22a0e8bec74d: Pull complete [2022-03-28T19:07:47.026Z] 640e595b4fbd: Pull complete [2022-03-28T19:07:47.026Z] 763cafe07f6e: Pull complete [2022-03-28T19:07:47.026Z] 0c0b528cf693: Pull complete [2022-03-28T19:07:49.578Z] 10935f4eaf8b: Pull complete [2022-03-28T19:07:49.578Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-28T19:07:49.578Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-28T19:07:49.578Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] fileExists [Pipeline] sh [2022-03-28T19:07:49.940Z] + docker build -t ci-base-image-x86_64 -f - . [2022-03-28T19:07:49.940Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-28T19:07:49.940Z] WORKDIR /edgex [2022-03-28T19:07:49.940Z] COPY go.mod . [2022-03-28T19:07:49.940Z] RUN go mod download [2022-03-28T19:07:51.321Z] Sending build context to Docker daemon 334.4MB [2022-03-28T19:07:51.321Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-28T19:07:51.321Z] ---> 99d49a6021b9 [2022-03-28T19:07:51.321Z] Step 2/4 : WORKDIR /edgex [2022-03-28T19:07:53.869Z] ---> Running in 1efd6e4d41da [2022-03-28T19:07:53.869Z] Removing intermediate container 1efd6e4d41da [2022-03-28T19:07:53.869Z] ---> 85f2fe9e1be0 [2022-03-28T19:07:53.869Z] Step 3/4 : COPY go.mod . [2022-03-28T19:07:53.869Z] ---> c8c4fdedd748 [2022-03-28T19:07:53.869Z] Step 4/4 : RUN go mod download [2022-03-28T19:07:53.869Z] ---> Running in 6fae8c8b2227 [2022-03-28T19:07:56.491Z] Still waiting to schedule task [2022-03-28T19:07:56.491Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-03-28T19:08:11.991Z] Removing intermediate container 6fae8c8b2227 [2022-03-28T19:08:11.992Z] ---> bfb9d9cf9f14 [2022-03-28T19:08:11.992Z] Successfully built bfb9d9cf9f14 [2022-03-28T19:08:11.992Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-28T19:08:12.326Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-28T19:08:12.326Z] . [Pipeline] withDockerContainer [2022-03-28T19:08:12.422Z] prd-ubuntu20.04-docker-8c-8g-9271 does not seem to be running inside a container [2022-03-28T19:08:12.463Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-03-28T19:08:12.914Z] $ docker top 9fde0913307bfbf7c48eaf357dd1b4bf3c8ade215049563e33a059732b75c86d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-28T19:08:13.318Z] + go version [2022-03-28T19:08:13.318Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-28T19:08:13.383Z] $ docker stop --time=1 9fde0913307bfbf7c48eaf357dd1b4bf3c8ade215049563e33a059732b75c86d [2022-03-28T19:08:14.688Z] $ docker rm -f 9fde0913307bfbf7c48eaf357dd1b4bf3c8ade215049563e33a059732b75c86d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-28T19:08:15.369Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-28T19:08:15.369Z] . [Pipeline] withDockerContainer [2022-03-28T19:08:15.506Z] prd-ubuntu20.04-docker-8c-8g-9271 does not seem to be running inside a container [2022-03-28T19:08:15.592Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-03-28T19:08:15.994Z] $ docker top 09493a42ff83035bda474cdb90228f659fa087390364fbd47256c018b2327fc2 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-03-28T19:08:16.118Z] ========================================================= [2022-03-28T19:08:16.118Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-03-28T19:08:16.118Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-03-28T19:08:16.457Z] + make test [2022-03-28T19:08:16.457Z] go mod tidy -compat=1.17 [2022-03-28T19:08:16.457Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-03-28T19:08:23.026Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-03-28T19:08:33.008Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-03-28T19:08:33.008Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-03-28T19:08:33.008Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-03-28T19:08:33.008Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-03-28T19:08:33.008Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-03-28T19:08:33.008Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-03-28T19:08:33.008Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-03-28T19:08:33.008Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-03-28T19:08:33.008Z] ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] [2022-03-28T19:08:33.008Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2022-03-28T19:08:33.008Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2022-03-28T19:08:33.008Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2022-03-28T19:08:33.008Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2022-03-28T19:08:33.008Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2022-03-28T19:08:33.008Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2022-03-28T19:08:33.008Z] # github.com/edgexfoundry/edgex-go/internal/core/command/application [github.com/edgexfoundry/edgex-go/internal/core/command/application.test] [2022-03-28T19:08:33.008Z] internal/core/command/application/command_test.go:33:3: cannot use promoted field DeviceProfileBasicInfo.Name in struct literal of type dtos.DeviceProfile [2022-03-28T19:08:33.008Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/application [build failed] [2022-03-28T19:08:33.008Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2022-03-28T19:08:33.008Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2022-03-28T19:08:33.008Z] # github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http [github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http.test] [2022-03-28T19:08:33.008Z] internal/core/metadata/controller/http/deviceprofile_test.go:73:4: cannot use promoted field DeviceProfileBasicInfo.Id in struct literal of type dtos.DeviceProfile [2022-03-28T19:08:33.008Z] internal/core/metadata/controller/http/deviceprofile_test.go:74:4: cannot use promoted field DeviceProfileBasicInfo.Name in struct literal of type dtos.DeviceProfile [2022-03-28T19:08:33.008Z] internal/core/metadata/controller/http/deviceprofile_test.go:75:4: cannot use promoted field DeviceProfileBasicInfo.Manufacturer in struct literal of type dtos.DeviceProfile [2022-03-28T19:08:33.008Z] internal/core/metadata/controller/http/deviceprofile_test.go:76:4: cannot use promoted field DeviceProfileBasicInfo.Description in struct literal of type dtos.DeviceProfile [2022-03-28T19:08:33.008Z] internal/core/metadata/controller/http/deviceprofile_test.go:77:4: cannot use promoted field DeviceProfileBasicInfo.Model in struct literal of type dtos.DeviceProfile [2022-03-28T19:08:33.008Z] internal/core/metadata/controller/http/deviceprofile_test.go:78:4: cannot use promoted field DeviceProfileBasicInfo.Labels in struct literal of type dtos.DeviceProfile [2022-03-28T19:08:33.579Z] # github.com/edgexfoundry/edgex-go/internal/core/command/controller/http [github.com/edgexfoundry/edgex-go/internal/core/command/controller/http.test] [2022-03-28T19:08:33.579Z] internal/core/command/controller/http/command_test.go:142:3: cannot use promoted field DeviceProfileBasicInfo.Name in struct literal of type dtos.DeviceProfile [2022-03-28T19:08:33.579Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/controller/http [build failed] [2022-03-28T19:08:33.579Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2022-03-28T19:08:34.147Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.093s coverage: 54.9% of statements [2022-03-28T19:08:34.147Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2022-03-28T19:08:34.147Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2022-03-28T19:08:38.338Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 3.592s coverage: 89.2% of statements [2022-03-28T19:08:38.339Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] [2022-03-28T19:08:38.339Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2022-03-28T19:08:38.339Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2022-03-28T19:08:38.339Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.068s coverage: 84.4% of statements [2022-03-28T19:08:38.339Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2022-03-28T19:08:38.339Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2022-03-28T19:08:38.339Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] [2022-03-28T19:08:38.339Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2022-03-28T19:08:38.339Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2022-03-28T19:08:38.339Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http [build failed] [2022-03-28T19:08:38.339Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2022-03-28T19:08:38.339Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2022-03-28T19:08:38.339Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.069s coverage: 72.2% of statements [2022-03-28T19:08:38.339Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2022-03-28T19:08:38.339Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2022-03-28T19:08:38.339Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2022-03-28T19:08:38.339Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2022-03-28T19:08:38.339Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2022-03-28T19:08:38.339Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.092s coverage: 60.0% of statements [2022-03-28T19:08:38.339Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2022-03-28T19:08:38.339Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2022-03-28T19:08:38.339Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2022-03-28T19:08:38.339Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.060s coverage: 0.9% of statements [2022-03-28T19:08:38.339Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2022-03-28T19:08:38.339Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.079s coverage: 58.8% of statements [2022-03-28T19:08:38.339Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.085s coverage: 24.0% of statements [2022-03-28T19:08:38.339Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2022-03-28T19:08:38.339Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.086s coverage: 47.1% of statements [2022-03-28T19:08:38.339Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.076s coverage: 79.5% of statements [2022-03-28T19:08:38.339Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.072s coverage: 94.1% of statements [2022-03-28T19:08:38.339Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.067s coverage: 96.3% of statements [2022-03-28T19:08:38.339Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.051s coverage: 87.5% of statements [2022-03-28T19:08:48.338Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.078s coverage: 94.4% of statements [2022-03-28T19:08:48.338Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.074s coverage: 44.8% of statements [2022-03-28T19:08:48.338Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.166s coverage: 82.5% of statements [2022-03-28T19:08:48.338Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2022-03-28T19:08:58.339Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.077s coverage: 92.9% of statements [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2022-03-28T19:08:58.339Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.024s coverage: 65.1% of statements [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2022-03-28T19:08:58.339Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.060s coverage: 87.2% of statements [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2022-03-28T19:08:58.339Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.044s coverage: 100.0% of statements [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2022-03-28T19:08:58.339Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.057s coverage: 58.8% of statements [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2022-03-28T19:08:58.339Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.072s coverage: 80.0% of statements [2022-03-28T19:08:58.339Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.055s coverage: 87.2% of statements [2022-03-28T19:08:58.339Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.056s coverage: 85.4% of statements [2022-03-28T19:08:58.339Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.167s coverage: 91.2% of statements [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2022-03-28T19:08:58.339Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.151s coverage: 64.4% of statements [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2022-03-28T19:08:58.339Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.073s coverage: 100.0% of statements [2022-03-28T19:08:58.339Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.033s coverage: 89.4% of statements [2022-03-28T19:08:58.339Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.019s coverage: 100.0% of statements [2022-03-28T19:08:58.339Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.052s coverage: 73.7% of statements [2022-03-28T19:08:58.339Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.020s coverage: 100.0% of statements [2022-03-28T19:08:58.339Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.336s coverage: 65.4% of statements [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2022-03-28T19:08:58.339Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.147s coverage: 43.8% of statements [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2022-03-28T19:08:58.339Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.094s coverage: 89.5% of statements [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2022-03-28T19:08:58.339Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.052s coverage: 84.8% of statements [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] [2022-03-28T19:08:58.339Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.085s coverage: 17.7% of statements [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2022-03-28T19:08:58.339Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.149s coverage: 92.3% of statements [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2022-03-28T19:08:58.339Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.076s coverage: 63.2% of statements [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2022-03-28T19:08:58.339Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.108s coverage: 97.7% of statements [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] [2022-03-28T19:08:58.339Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.054s coverage: 28.9% of statements [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] [2022-03-28T19:08:58.339Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2022-03-28T19:08:58.339Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.054s coverage: 100.0% of statements [2022-03-28T19:08:58.339Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.033s coverage: 96.9% of statements [2022-03-28T19:08:58.339Z] FAIL [2022-03-28T19:08:58.339Z] make: *** [Makefile:113: unittest] Error 2 [Pipeline] } [2022-03-28T19:08:58.386Z] $ docker stop --time=1 09493a42ff83035bda474cdb90228f659fa087390364fbd47256c018b2327fc2 [2022-03-28T19:09:00.319Z] $ docker rm -f 09493a42ff83035bda474cdb90228f659fa087390364fbd47256c018b2327fc2 [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-03-28T19:09:01.239Z] Failed in branch amd64 [2022-03-28T19:09:26.803Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9273 in /w/workspace/edgexfoundry_edgex-go_PR-3928 [Pipeline] { [Pipeline] ws [2022-03-28T19:09:26.840Z] Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout [2022-03-28T19:09:27.183Z] The recommended git tool is: git [2022-03-28T19:09:33.846Z] using credential edgex-jenkins-ssh [2022-03-28T19:09:33.866Z] Cloning the remote Git repository [2022-03-28T19:09:33.954Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2022-03-28T19:09:34.038Z] > git init /w/workspace/edgex-go/1 # timeout=10 [2022-03-28T19:09:34.151Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-03-28T19:09:34.152Z] > git --version # timeout=10 [2022-03-28T19:09:34.184Z] > git --version # 'git version 2.25.1' [2022-03-28T19:09:34.187Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-28T19:09:34.387Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-28T19:09:50.157Z] Merging remotes/origin/main commit 8e1ceee72f1e8b529f59e19a94ec3dfd502baa97 into PR head commit e846b23998a326d0e2577e99161a52b58c185373 [2022-03-28T19:09:49.429Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-03-28T19:09:49.449Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-28T19:09:49.473Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-03-28T19:09:49.502Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-03-28T19:09:49.503Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-28T19:09:49.515Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3928/head:refs/remotes/origin/PR-3928 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-03-28T19:09:50.499Z] Merge succeeded, producing e846b23998a326d0e2577e99161a52b58c185373 [2022-03-28T19:09:50.500Z] Checking out Revision e846b23998a326d0e2577e99161a52b58c185373 (PR-3928) [2022-03-28T19:09:50.181Z] > git config core.sparsecheckout # timeout=10 [2022-03-28T19:09:50.195Z] > git checkout -f e846b23998a326d0e2577e99161a52b58c185373 # timeout=10 [2022-03-28T19:09:50.421Z] > git remote # timeout=10 [2022-03-28T19:09:50.442Z] > git config --get remote.origin.url # timeout=10 [2022-03-28T19:09:50.457Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-28T19:09:50.468Z] > git merge 8e1ceee72f1e8b529f59e19a94ec3dfd502baa97 # timeout=10 [2022-03-28T19:09:50.490Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-03-28T19:09:50.511Z] > git config core.sparsecheckout # timeout=10 [2022-03-28T19:09:50.523Z] > git checkout -f e846b23998a326d0e2577e99161a52b58c185373 # timeout=10 [2022-03-28T19:09:54.794Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2022-03-28T19:09:54.854Z] > git --version # timeout=10 [2022-03-28T19:09:54.867Z] > git --version # 'git version 2.25.1' [2022-03-28T19:09:54.882Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-28T19:09:55.919Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-28T19:09:55.919Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-28T19:09:55.919Z] Dload Upload Total Spent Left Speed [2022-03-28T19:09:55.919Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 48338 0 --:--:-- --:--:-- --:--:-- 48536 [Pipeline] sh [2022-03-28T19:09:56.449Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-28T19:09:56.810Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-28T19:09:56.810Z] + sudo tee /etc/docker/daemon.new [2022-03-28T19:09:56.810Z] { [2022-03-28T19:09:56.810Z] "registry-mirrors": [ [2022-03-28T19:09:56.810Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-28T19:09:56.810Z] ], [2022-03-28T19:09:56.810Z] "bip": "10.250.0.254/24", [2022-03-28T19:09:56.810Z] "hosts": [ [2022-03-28T19:09:56.810Z] "tcp://0.0.0.0:5555", [2022-03-28T19:09:56.810Z] "unix:///var/run/docker.sock" [2022-03-28T19:09:56.810Z] ], [2022-03-28T19:09:56.810Z] "mtu": 1458, [2022-03-28T19:09:56.810Z] "selinux-enabled": true, [2022-03-28T19:09:56.810Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-28T19:09:56.810Z] } [Pipeline] sh [2022-03-28T19:09:57.272Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-28T19:09:57.651Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-28T19:10:16.067Z] provisioning config files... [2022-03-28T19:10:16.093Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config7473873191391212774tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T19:10:16.679Z] ---> docker-login.sh [2022-03-28T19:10:16.679Z] nexus3.edgexfoundry.org:10001 [2022-03-28T19:10:17.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T19:10:17.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T19:10:17.563Z] Configure a credential helper to remove this warning. See [2022-03-28T19:10:17.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T19:10:17.563Z] [2022-03-28T19:10:17.563Z] Login Succeeded [2022-03-28T19:10:17.563Z] nexus3.edgexfoundry.org:10002 [2022-03-28T19:10:17.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T19:10:18.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T19:10:18.112Z] Configure a credential helper to remove this warning. See [2022-03-28T19:10:18.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T19:10:18.112Z] [2022-03-28T19:10:18.112Z] Login Succeeded [2022-03-28T19:10:18.112Z] nexus3.edgexfoundry.org:10003 [2022-03-28T19:10:18.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T19:10:18.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T19:10:18.390Z] Configure a credential helper to remove this warning. See [2022-03-28T19:10:18.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T19:10:18.390Z] [2022-03-28T19:10:18.390Z] Login Succeeded [2022-03-28T19:10:18.390Z] nexus3.edgexfoundry.org:10004 [2022-03-28T19:10:18.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T19:10:18.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T19:10:18.945Z] Configure a credential helper to remove this warning. See [2022-03-28T19:10:18.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T19:10:18.945Z] [2022-03-28T19:10:18.946Z] Login Succeeded [2022-03-28T19:10:18.946Z] docker.io [2022-03-28T19:10:19.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T19:10:19.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T19:10:19.816Z] Configure a credential helper to remove this warning. See [2022-03-28T19:10:19.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T19:10:19.816Z] [2022-03-28T19:10:19.817Z] Login Succeeded [2022-03-28T19:10:19.817Z] ---> docker-login.sh ends [Pipeline] } [2022-03-28T19:10:19.848Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-28T19:10:20.237Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-28T19:10:20.270Z] ========================================================= [2022-03-28T19:10:20.270Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-28T19:10:20.270Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-03-28T19:10:20.655Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-28T19:10:20.930Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-28T19:10:20.930Z] 9b3977197b4f: Pulling fs layer [2022-03-28T19:10:20.930Z] 1a89e8eeedd5: Pulling fs layer [2022-03-28T19:10:20.930Z] 94645a83ff95: Pulling fs layer [2022-03-28T19:10:20.930Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-28T19:10:20.930Z] 0c92f367c5e7: Pulling fs layer [2022-03-28T19:10:20.930Z] f7c0051592d6: Pulling fs layer [2022-03-28T19:10:20.930Z] a227ed2f7395: Pulling fs layer [2022-03-28T19:10:20.930Z] 7b1c46037f91: Pulling fs layer [2022-03-28T19:10:20.930Z] 3f3a8bcf1eab: Waiting [2022-03-28T19:10:20.930Z] 0c92f367c5e7: Waiting [2022-03-28T19:10:20.930Z] f7c0051592d6: Waiting [2022-03-28T19:10:20.930Z] a227ed2f7395: Waiting [2022-03-28T19:10:20.930Z] 7b1c46037f91: Waiting [2022-03-28T19:10:20.930Z] 94645a83ff95: Verifying Checksum [2022-03-28T19:10:20.930Z] 94645a83ff95: Download complete [2022-03-28T19:10:20.930Z] 1a89e8eeedd5: Verifying Checksum [2022-03-28T19:10:20.930Z] 1a89e8eeedd5: Download complete [2022-03-28T19:10:20.930Z] 0c92f367c5e7: Verifying Checksum [2022-03-28T19:10:20.930Z] 0c92f367c5e7: Download complete [2022-03-28T19:10:20.930Z] f7c0051592d6: Verifying Checksum [2022-03-28T19:10:20.930Z] f7c0051592d6: Download complete [2022-03-28T19:10:20.930Z] 9b3977197b4f: Verifying Checksum [2022-03-28T19:10:20.930Z] 9b3977197b4f: Download complete [2022-03-28T19:10:20.930Z] a227ed2f7395: Verifying Checksum [2022-03-28T19:10:20.930Z] a227ed2f7395: Download complete [2022-03-28T19:10:21.529Z] 9b3977197b4f: Pull complete [2022-03-28T19:10:22.135Z] 1a89e8eeedd5: Pull complete [2022-03-28T19:10:22.754Z] 94645a83ff95: Pull complete [2022-03-28T19:10:23.030Z] 7b1c46037f91: Verifying Checksum [2022-03-28T19:10:23.030Z] 7b1c46037f91: Download complete [2022-03-28T19:10:23.628Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-28T19:10:23.628Z] 3f3a8bcf1eab: Download complete [2022-03-28T19:10:36.081Z] 3f3a8bcf1eab: Pull complete [2022-03-28T19:10:36.081Z] 0c92f367c5e7: Pull complete [2022-03-28T19:10:36.081Z] f7c0051592d6: Pull complete [2022-03-28T19:10:36.357Z] a227ed2f7395: Pull complete [2022-03-28T19:10:44.719Z] 7b1c46037f91: Pull complete [2022-03-28T19:10:44.719Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-28T19:10:44.719Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-28T19:10:44.719Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] fileExists [Pipeline] sh [2022-03-28T19:10:45.125Z] + docker build -t ci-base-image-arm64 -f - . [2022-03-28T19:10:45.125Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-28T19:10:45.125Z] WORKDIR /edgex [2022-03-28T19:10:45.125Z] COPY go.mod . [2022-03-28T19:10:45.125Z] RUN go mod download [2022-03-28T19:10:47.773Z] Sending build context to Docker daemon 168.9MB [2022-03-28T19:10:47.773Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-28T19:10:47.773Z] ---> f79e39bc4007 [2022-03-28T19:10:47.773Z] Step 2/4 : WORKDIR /edgex [2022-03-28T19:10:48.369Z] ---> Running in e0c08490157d [2022-03-28T19:10:48.643Z] Removing intermediate container e0c08490157d [2022-03-28T19:10:48.643Z] ---> 8d81972ccdd6 [2022-03-28T19:10:48.643Z] Step 3/4 : COPY go.mod . [2022-03-28T19:10:49.242Z] ---> dd1e1f12ca3f [2022-03-28T19:10:49.242Z] Step 4/4 : RUN go mod download [2022-03-28T19:10:49.242Z] ---> Running in 228e43fe1231 [2022-03-28T19:11:36.260Z] Removing intermediate container 228e43fe1231 [2022-03-28T19:11:36.260Z] ---> 4c655f2ba7e8 [2022-03-28T19:11:36.260Z] Successfully built 4c655f2ba7e8 [2022-03-28T19:11:36.260Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-28T19:11:36.636Z] + docker inspect -f . ci-base-image-arm64 [2022-03-28T19:11:36.636Z] . [Pipeline] withDockerContainer [2022-03-28T19:11:36.904Z] prd-ubuntu20.04-docker-arm64-4c-16g-9273 does not seem to be running inside a container [2022-03-28T19:11:36.995Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-28T19:11:38.390Z] $ docker top 74e511c253aa418c299b924995a6bc435f35a807cd2cc890ee1754744f8efb0f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-28T19:11:39.351Z] + go version [2022-03-28T19:11:39.351Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-28T19:11:39.390Z] $ docker stop --time=1 74e511c253aa418c299b924995a6bc435f35a807cd2cc890ee1754744f8efb0f [2022-03-28T19:11:41.005Z] $ docker rm -f 74e511c253aa418c299b924995a6bc435f35a807cd2cc890ee1754744f8efb0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-28T19:11:41.894Z] + docker inspect -f . ci-base-image-arm64 [2022-03-28T19:11:41.894Z] . [Pipeline] withDockerContainer [2022-03-28T19:11:42.129Z] prd-ubuntu20.04-docker-arm64-4c-16g-9273 does not seem to be running inside a container [2022-03-28T19:11:42.219Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-28T19:11:43.568Z] $ docker top c2ffa8e8fd9e2d5f802c67d353f293281d1ff4bf81e5b8cef9f34273d0d7043c -eo pid,comm [Pipeline] { [Pipeline] echo [2022-03-28T19:11:43.867Z] ========================================================= [2022-03-28T19:11:43.868Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-03-28T19:11:43.868Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-03-28T19:11:44.569Z] + make test [2022-03-28T19:11:44.569Z] go mod tidy -compat=1.17 [2022-03-28T19:11:45.556Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-03-28T19:12:17.915Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-03-28T19:13:54.816Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-03-28T19:13:54.816Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-03-28T19:13:54.816Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-03-28T19:13:54.816Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-03-28T19:14:00.255Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-03-28T19:14:00.255Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-03-28T19:14:00.255Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-03-28T19:14:00.255Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-03-28T19:14:00.255Z] ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] [2022-03-28T19:14:00.255Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2022-03-28T19:14:00.533Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2022-03-28T19:14:01.529Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2022-03-28T19:14:01.529Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2022-03-28T19:14:01.529Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2022-03-28T19:14:01.529Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2022-03-28T19:14:06.947Z] # github.com/edgexfoundry/edgex-go/internal/core/command/application [github.com/edgexfoundry/edgex-go/internal/core/command/application.test] [2022-03-28T19:14:06.947Z] internal/core/command/application/command_test.go:33:3: cannot use promoted field DeviceProfileBasicInfo.Name in struct literal of type dtos.DeviceProfile [2022-03-28T19:14:07.223Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/application [build failed] [2022-03-28T19:14:07.223Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2022-03-28T19:14:07.223Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2022-03-28T19:14:11.546Z] # github.com/edgexfoundry/edgex-go/internal/core/command/controller/http [github.com/edgexfoundry/edgex-go/internal/core/command/controller/http.test] [2022-03-28T19:14:11.546Z] internal/core/command/controller/http/command_test.go:142:3: cannot use promoted field DeviceProfileBasicInfo.Name in struct literal of type dtos.DeviceProfile [2022-03-28T19:14:11.546Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/controller/http [build failed] [2022-03-28T19:14:11.546Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2022-03-28T19:14:13.543Z] # github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http [github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http.test] [2022-03-28T19:14:13.543Z] internal/core/metadata/controller/http/deviceprofile_test.go:73:4: cannot use promoted field DeviceProfileBasicInfo.Id in struct literal of type dtos.DeviceProfile [2022-03-28T19:14:13.543Z] internal/core/metadata/controller/http/deviceprofile_test.go:74:4: cannot use promoted field DeviceProfileBasicInfo.Name in struct literal of type dtos.DeviceProfile [2022-03-28T19:14:13.543Z] internal/core/metadata/controller/http/deviceprofile_test.go:75:4: cannot use promoted field DeviceProfileBasicInfo.Manufacturer in struct literal of type dtos.DeviceProfile [2022-03-28T19:14:13.543Z] internal/core/metadata/controller/http/deviceprofile_test.go:76:4: cannot use promoted field DeviceProfileBasicInfo.Description in struct literal of type dtos.DeviceProfile [2022-03-28T19:14:13.543Z] internal/core/metadata/controller/http/deviceprofile_test.go:77:4: cannot use promoted field DeviceProfileBasicInfo.Model in struct literal of type dtos.DeviceProfile [2022-03-28T19:14:13.543Z] internal/core/metadata/controller/http/deviceprofile_test.go:78:4: cannot use promoted field DeviceProfileBasicInfo.Labels in struct literal of type dtos.DeviceProfile [2022-03-28T19:14:18.991Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.438s coverage: 54.9% of statements [2022-03-28T19:14:18.991Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2022-03-28T19:14:18.991Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2022-03-28T19:14:41.245Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 19.189s coverage: 89.2% of statements [2022-03-28T19:14:41.245Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] [2022-03-28T19:14:41.245Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2022-03-28T19:14:41.245Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2022-03-28T19:14:41.245Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.304s coverage: 84.4% of statements [2022-03-28T19:14:41.245Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2022-03-28T19:14:41.245Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2022-03-28T19:14:41.245Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] [2022-03-28T19:14:41.245Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2022-03-28T19:14:41.245Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2022-03-28T19:14:41.245Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http [build failed] [2022-03-28T19:14:41.245Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2022-03-28T19:14:41.245Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2022-03-28T19:14:41.245Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.247s coverage: 72.2% of statements [2022-03-28T19:14:41.245Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2022-03-28T19:14:41.245Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2022-03-28T19:14:41.245Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2022-03-28T19:14:41.245Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2022-03-28T19:14:41.245Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2022-03-28T19:14:41.245Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.426s coverage: 60.0% of statements [2022-03-28T19:14:41.245Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2022-03-28T19:14:41.245Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2022-03-28T19:14:41.245Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2022-03-28T19:14:41.245Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.494s coverage: 0.9% of statements [2022-03-28T19:14:41.245Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2022-03-28T19:14:41.245Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.286s coverage: 58.8% of statements [2022-03-28T19:14:41.245Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.531s coverage: 24.0% of statements [2022-03-28T19:14:41.245Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2022-03-28T19:14:41.245Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.359s coverage: 47.1% of statements [2022-03-28T19:14:41.245Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.237s coverage: 79.5% of statements [2022-03-28T19:14:41.245Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.243s coverage: 94.1% of statements [2022-03-28T19:14:41.245Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.545s coverage: 96.3% of statements [2022-03-28T19:14:41.245Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.452s coverage: 87.5% of statements [2022-03-28T19:14:43.872Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.442s coverage: 94.4% of statements [2022-03-28T19:14:43.872Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.331s coverage: 44.8% of statements [2022-03-28T19:14:54.029Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.694s coverage: 82.5% of statements [2022-03-28T19:14:54.029Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2022-03-28T19:15:02.356Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.291s coverage: 92.9% of statements [2022-03-28T19:15:02.356Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2022-03-28T19:15:02.356Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2022-03-28T19:15:02.356Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2022-03-28T19:15:02.356Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.070s coverage: 65.1% of statements [2022-03-28T19:15:02.356Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2022-03-28T19:15:02.356Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2022-03-28T19:15:02.356Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2022-03-28T19:15:02.356Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2022-03-28T19:15:02.356Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2022-03-28T19:15:02.356Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.213s coverage: 87.2% of statements [2022-03-28T19:15:02.356Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2022-03-28T19:15:02.356Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2022-03-28T19:15:02.356Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.175s coverage: 100.0% of statements [2022-03-28T19:15:02.356Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2022-03-28T19:15:02.356Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.258s coverage: 58.8% of statements [2022-03-28T19:15:02.356Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2022-03-28T19:15:02.356Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.259s coverage: 80.0% of statements [2022-03-28T19:15:02.356Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.218s coverage: 87.2% of statements [2022-03-28T19:15:02.356Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.282s coverage: 85.4% of statements [2022-03-28T19:15:02.356Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.832s coverage: 91.2% of statements [2022-03-28T19:15:02.356Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2022-03-28T19:15:02.356Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.868s coverage: 64.4% of statements [2022-03-28T19:15:02.356Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2022-03-28T19:15:02.356Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2022-03-28T19:15:02.356Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.202s coverage: 100.0% of statements [2022-03-28T19:15:02.356Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.092s coverage: 89.4% of statements [2022-03-28T19:15:02.356Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.062s coverage: 100.0% of statements [2022-03-28T19:15:02.356Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.068s coverage: 73.7% of statements [2022-03-28T19:15:02.964Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.061s coverage: 100.0% of statements [2022-03-28T19:15:09.740Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.580s coverage: 65.4% of statements [2022-03-28T19:15:09.740Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2022-03-28T19:15:09.740Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2022-03-28T19:15:09.740Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2022-03-28T19:15:10.350Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.815s coverage: 43.8% of statements [2022-03-28T19:15:10.351Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2022-03-28T19:15:10.351Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2022-03-28T19:15:10.351Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.290s coverage: 89.5% of statements [2022-03-28T19:15:10.351Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2022-03-28T19:15:10.351Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.400s coverage: 84.8% of statements [2022-03-28T19:15:10.351Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] [2022-03-28T19:15:10.351Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] [2022-03-28T19:15:10.351Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] [2022-03-28T19:15:10.351Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] [2022-03-28T19:15:18.686Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.358s coverage: 17.7% of statements [2022-03-28T19:15:18.686Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2022-03-28T19:15:18.686Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2022-03-28T19:15:18.686Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2022-03-28T19:15:18.686Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2022-03-28T19:15:18.686Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.753s coverage: 92.3% of statements [2022-03-28T19:15:18.686Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2022-03-28T19:15:18.686Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2022-03-28T19:15:18.686Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] [2022-03-28T19:15:18.686Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2022-03-28T19:15:18.686Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.256s coverage: 63.2% of statements [2022-03-28T19:15:18.686Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2022-03-28T19:15:18.686Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2022-03-28T19:15:18.686Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.470s coverage: 97.7% of statements [2022-03-28T19:15:18.686Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2022-03-28T19:15:18.686Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2022-03-28T19:15:18.686Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2022-03-28T19:15:18.686Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] [2022-03-28T19:15:18.686Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.209s coverage: 28.9% of statements [2022-03-28T19:15:18.686Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] [2022-03-28T19:15:18.686Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] [2022-03-28T19:15:18.686Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2022-03-28T19:15:18.686Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2022-03-28T19:15:18.686Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] [2022-03-28T19:15:18.686Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2022-03-28T19:15:18.686Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.199s coverage: 100.0% of statements [2022-03-28T19:15:18.686Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.081s coverage: 96.9% of statements [2022-03-28T19:15:18.686Z] FAIL [2022-03-28T19:15:19.288Z] make: *** [Makefile:113: unittest] Error 2 [Pipeline] } [2022-03-28T19:15:19.344Z] $ docker stop --time=1 c2ffa8e8fd9e2d5f802c67d353f293281d1ff4bf81e5b8cef9f34273d0d7043c [2022-03-28T19:15:21.265Z] $ docker rm -f c2ffa8e8fd9e2d5f802c67d353f293281d1ff4bf81e5b8cef9f34273d0d7043c [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-03-28T19:15:23.127Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-28T19:15:23.127Z] [2022-03-28T19:15:23.127Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-28T19:15:23.516Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-28T19:15:23.792Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-28T19:15:23.792Z] 8998bd30e6a1: Pulling fs layer [2022-03-28T19:15:23.792Z] 04944245beec: Pulling fs layer [2022-03-28T19:15:23.792Z] 699f458cf7ca: Pulling fs layer [2022-03-28T19:15:23.792Z] 765212b225bb: Pulling fs layer [2022-03-28T19:15:23.792Z] f23df028b6ca: Pulling fs layer [2022-03-28T19:15:23.792Z] d65c8cfc05b1: Pulling fs layer [2022-03-28T19:15:23.792Z] 765212b225bb: Waiting [2022-03-28T19:15:23.792Z] f23df028b6ca: Waiting [2022-03-28T19:15:23.792Z] 2437ff75d9bd: Pulling fs layer [2022-03-28T19:15:23.792Z] 2437ff75d9bd: Waiting [2022-03-28T19:15:23.792Z] d65c8cfc05b1: Waiting [2022-03-28T19:15:23.792Z] 04944245beec: Verifying Checksum [2022-03-28T19:15:23.792Z] 04944245beec: Download complete [2022-03-28T19:15:23.792Z] 765212b225bb: Verifying Checksum [2022-03-28T19:15:23.792Z] 765212b225bb: Download complete [2022-03-28T19:15:23.792Z] f23df028b6ca: Download complete [2022-03-28T19:15:24.080Z] d65c8cfc05b1: Verifying Checksum [2022-03-28T19:15:24.080Z] d65c8cfc05b1: Download complete [2022-03-28T19:15:24.080Z] 699f458cf7ca: Verifying Checksum [2022-03-28T19:15:24.080Z] 699f458cf7ca: Download complete [2022-03-28T19:15:24.356Z] 8998bd30e6a1: Verifying Checksum [2022-03-28T19:15:24.356Z] 8998bd30e6a1: Download complete [2022-03-28T19:15:26.986Z] 2437ff75d9bd: Verifying Checksum [2022-03-28T19:15:26.986Z] 2437ff75d9bd: Download complete [2022-03-28T19:15:28.977Z] 8998bd30e6a1: Pull complete [2022-03-28T19:15:29.577Z] 04944245beec: Pull complete [2022-03-28T19:15:31.028Z] 699f458cf7ca: Pull complete [2022-03-28T19:15:31.302Z] 765212b225bb: Pull complete [2022-03-28T19:15:32.290Z] f23df028b6ca: Pull complete [2022-03-28T19:15:32.290Z] d65c8cfc05b1: Pull complete [2022-03-28T19:15:47.398Z] 2437ff75d9bd: Pull complete [2022-03-28T19:15:47.398Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-28T19:15:47.398Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-28T19:15:47.398Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-28T19:15:47.679Z] prd-ubuntu20.04-docker-arm64-4c-16g-9273 does not seem to be running inside a container [2022-03-28T19:15:47.788Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-03-28T19:15:50.351Z] $ docker top dcee91b28310616f76d9115af531dc399f5971b634b261d34b9ecd1d43b0c043 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T19:15:51.403Z] ---> job-cost.sh [2022-03-28T19:15:51.403Z] lf-activate-venv: SKIPPING [2022-03-28T19:15:51.403Z] INFO: No Stack... [2022-03-28T19:15:52.003Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-28T19:15:52.603Z] INFO: Archiving Costs [Pipeline] sh [2022-03-28T19:15:53.291Z] + cut+ -d, -f6 [2022-03-28T19:15:53.291Z] cat /w/workspace/edgex-go/1/archives/cost.csv [Pipeline] lock [2022-03-28T19:15:53.391Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3928-1-stack-cost] [2022-03-28T19:15:53.397Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3928-1-stack-cost] did not exist. Created. [2022-03-28T19:15:53.397Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3928-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-28T19:15:54.172Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-28T19:15:54.858Z] Stashed 1 file(s) [Pipeline] } [2022-03-28T19:15:54.874Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3928-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-28T19:15:54.963Z] $ docker stop --time=1 dcee91b28310616f76d9115af531dc399f5971b634b261d34b9ecd1d43b0c043 [2022-03-28T19:15:56.486Z] $ docker rm -f dcee91b28310616f76d9115af531dc399f5971b634b261d34b9ecd1d43b0c043 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-28T19:15:57.261Z] 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-03-28T19:15:58.796Z] + [ -d /w/workspace/edgex-go/1/archives ] [Pipeline] libraryResource [Pipeline] sh [2022-03-28T19:15:59.122Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T19:16:00.017Z] ---> package-listing.sh [2022-03-28T19:16:00.017Z] ++ facter osfamily [2022-03-28T19:16:00.017Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-28T19:16:00.278Z] + OS_FAMILY=debian [2022-03-28T19:16:00.278Z] + workspace=/w/workspace/edgex-go/1 [2022-03-28T19:16:00.278Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-28T19:16:00.278Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-28T19:16:00.278Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-28T19:16:00.278Z] + PACKAGES=/tmp/packages_start.txt [2022-03-28T19:16:00.278Z] + '[' /w/workspace/edgex-go/1 ']' [2022-03-28T19:16:00.278Z] + PACKAGES=/tmp/packages_end.txt [2022-03-28T19:16:00.278Z] + case "${OS_FAMILY}" in [2022-03-28T19:16:00.278Z] + dpkg -l [2022-03-28T19:16:00.278Z] + grep '^ii' [2022-03-28T19:16:00.278Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-28T19:16:00.278Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-28T19:16:00.278Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-28T19:16:00.278Z] + '[' /w/workspace/edgex-go/1 ']' [2022-03-28T19:16:00.278Z] + mkdir -p /w/workspace/edgex-go/1/archives/ [2022-03-28T19:16:00.278Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo [2022-03-28T19:16:00.307Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-03-28T19:16:00.601Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-28T19:16:01.186Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-28T19:16:01.186Z] [2022-03-28T19:16:01.186Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-28T19:16:01.530Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-28T19:16:01.530Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-28T19:16:01.530Z] 5eb5b503b376: Pulling fs layer [2022-03-28T19:16:01.530Z] 5c69ac0246d0: Pulling fs layer [2022-03-28T19:16:01.530Z] ec43610c2a17: Pulling fs layer [2022-03-28T19:16:01.530Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-28T19:16:01.530Z] 33b1e0a273af: Pulling fs layer [2022-03-28T19:16:01.530Z] 5d3b04190fa2: Pulling fs layer [2022-03-28T19:16:01.530Z] 2f39f015ded8: Pulling fs layer [2022-03-28T19:16:01.530Z] 3a2ae6a8a46f: Waiting [2022-03-28T19:16:01.530Z] 33b1e0a273af: Waiting [2022-03-28T19:16:01.530Z] 2f39f015ded8: Waiting [2022-03-28T19:16:01.530Z] 5d3b04190fa2: Waiting [2022-03-28T19:16:01.530Z] 5c69ac0246d0: Download complete [2022-03-28T19:16:01.530Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-28T19:16:01.530Z] 3a2ae6a8a46f: Download complete [2022-03-28T19:16:01.530Z] 33b1e0a273af: Verifying Checksum [2022-03-28T19:16:01.530Z] 33b1e0a273af: Download complete [2022-03-28T19:16:01.530Z] 5d3b04190fa2: Verifying Checksum [2022-03-28T19:16:01.530Z] 5d3b04190fa2: Download complete [2022-03-28T19:16:01.530Z] ec43610c2a17: Verifying Checksum [2022-03-28T19:16:01.530Z] ec43610c2a17: Download complete [2022-03-28T19:16:01.791Z] 5eb5b503b376: Verifying Checksum [2022-03-28T19:16:01.791Z] 5eb5b503b376: Download complete [2022-03-28T19:16:02.361Z] 2f39f015ded8: Verifying Checksum [2022-03-28T19:16:02.361Z] 2f39f015ded8: Download complete [2022-03-28T19:16:03.303Z] 5eb5b503b376: Pull complete [2022-03-28T19:16:03.303Z] 5c69ac0246d0: Pull complete [2022-03-28T19:16:03.876Z] ec43610c2a17: Pull complete [2022-03-28T19:16:03.876Z] 3a2ae6a8a46f: Pull complete [2022-03-28T19:16:04.137Z] 33b1e0a273af: Pull complete [2022-03-28T19:16:04.137Z] 5d3b04190fa2: Pull complete [2022-03-28T19:16:09.424Z] 2f39f015ded8: Pull complete [2022-03-28T19:16:09.424Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-28T19:16:09.424Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-28T19:16:09.424Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-28T19:16:09.512Z] prd-ubuntu20.04-docker-8c-8g-9271 does not seem to be running inside a container [2022-03-28T19:16:09.551Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-28T19:16:11.343Z] $ docker top 1c48c61fdfee96ae34b4ff604ab885074703824fc17a5466935cf0d30ad0e473 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-28T19:16:11.758Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-28T19:16:12.076Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-28T19:16:12.395Z] + ls /var/log/sa-host [2022-03-28T19:16:12.395Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-28T19:16:12.692Z] provisioning config files... [2022-03-28T19:16:12.703Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config1695369552797143410tmp [Pipeline] { [Pipeline] echo [2022-03-28T19:16:12.753Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T19:16:13.072Z] ---> create-netrc.sh [Pipeline] } [2022-03-28T19:16:13.104Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-28T19:16:13.531Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-28T19:16:13.570Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T19:16:13.886Z] ---> sudo-logs.sh [2022-03-28T19:16:13.886Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-28T19:16:13.969Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T19:16:14.285Z] ---> job-cost.sh [2022-03-28T19:16:14.285Z] lf-activate-venv: SKIPPING [2022-03-28T19:16:14.285Z] DEBUG: total: 0.10999999940395355 [2022-03-28T19:16:14.285Z] INFO: Retrieving Stack Cost... [2022-03-28T19:16:14.857Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-28T19:16:15.118Z] INFO: Archiving Costs [Pipeline] echo [2022-03-28T19:16:15.161Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T19:16:15.475Z] ---> logs-deploy.sh [2022-03-28T19:16:15.475Z] lf-activate-venv: SKIPPING [2022-03-28T19:16:15.475Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3928/1 [2022-03-28T19:16:15.475Z] INFO: archiving workspace using pattern(s): [2022-03-28T19:16:16.418Z] Archives upload complete. [2022-03-28T19:16:16.418Z] INFO: archiving logs to Nexus