Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9d9df07d49a3e39b4cabf841000690bf53ee4e45+7403972676612df12563dc943565a4020914d98d (5d2ff8b22b663743bfe76125b9508cc4f6c70a2b) 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-ssh14978322077478396268.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh10290739159072232198.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4000/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4000/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12476567089208254776.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16038584000808773634.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4000/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4000/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh14863379137431561333.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2], buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: DOCKER_IMAGE_NAME_SUFFIX: DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-40395 in /w/workspace/edgexfoundry_edgex-go_PR-4000 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/3 [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/3 # 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 7403972676612df12563dc943565a4020914d98d into PR head commit 9d9df07d49a3e39b4cabf841000690bf53ee4e45 Merge succeeded, producing d4905433a907af42cfd4eb658de4016458251102 Checking out Revision d4905433a907af42cfd4eb658de4016458251102 (PR-4000) > 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/4000/head:refs/remotes/origin/PR-4000 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9d9df07d49a3e39b4cabf841000690bf53ee4e45 # 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 7403972676612df12563dc943565a4020914d98d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d4905433a907af42cfd4eb658de4016458251102 # timeout=10 Commit message: "Merge commit '7403972676612df12563dc943565a4020914d98d' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-03T20:29:23.820Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-03T20:29:23.881Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-03T20:29:23.894Z] ========================================================= [2022-05-03T20:29:23.894Z] EdgeX Global Pipelines Version Info [2022-05-03T20:29:23.894Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-03T20:29:24.673Z] ------------------- [2022-05-03T20:29:24.673Z] stable info: [2022-05-03T20:29:24.673Z] ------------------- [2022-05-03T20:29:24.673Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-03T20:29:24.673Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-03T20:29:24.673Z] Message: update stable to v1.0.227 > git rev-list --no-walk 14a4ae253e1b2f32d49ded619beb1e23b014cec1 # timeout=10 [2022-05-03T20:29:25.246Z] ------------------- [2022-05-03T20:29:25.246Z] experimental info: [2022-05-03T20:29:25.246Z] ------------------- [2022-05-03T20:29:25.246Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-05-03T20:29:25.246Z] Commit SHA: 602d0728ebfd21a5b975e02ac0465e47e5fef8c7 [2022-05-03T20:29:25.246Z] Message: update experimental to v1.0.228 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-03T20:29:25.414Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2022-05-03T20:29:25.427Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2022-05-03T20:29:25.443Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-03T20:29:25.457Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-03T20:29:25.467Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-03T20:29:25.475Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-03T20:29:25.483Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-03T20:29:25.491Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2022-05-03T20:29:25.499Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2022-05-03T20:29:25.507Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2022-05-03T20:29:25.515Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-03T20:29:25.523Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-03T20:29:25.533Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-03T20:29:25.547Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-03T20:29:25.559Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-03T20:29:25.575Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-03T20:29:25.591Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-03T20:29:25.606Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-03T20:29:25.618Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-05-03T20:29:25.631Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-05-03T20:29:25.645Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-03T20:29:25.660Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-03T20:29:25.669Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4000 [Pipeline] echo [2022-05-03T20:29:25.682Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4000 [Pipeline] echo [2022-05-03T20:29:25.692Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4000 [Pipeline] echo [2022-05-03T20:29:25.703Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d4905433a907af42cfd4eb658de4016458251102 [Pipeline] echo [2022-05-03T20:29:25.714Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d490543 [Pipeline] echo [2022-05-03T20:29:25.728Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-03T20:29:25.769Z] provisioning config files... [2022-05-03T20:29:25.781Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/3@tmp/config1006771192827729469tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T20:29:26.092Z] ---> docker-login.sh [2022-05-03T20:29:26.092Z] nexus3.edgexfoundry.org:10001 [2022-05-03T20:29:26.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T20:29:26.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T20:29:26.353Z] Configure a credential helper to remove this warning. See [2022-05-03T20:29:26.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T20:29:26.353Z] [2022-05-03T20:29:26.353Z] Login Succeeded [2022-05-03T20:29:26.353Z] nexus3.edgexfoundry.org:10002 [2022-05-03T20:29:26.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T20:29:26.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T20:29:26.613Z] Configure a credential helper to remove this warning. See [2022-05-03T20:29:26.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T20:29:26.613Z] [2022-05-03T20:29:26.613Z] Login Succeeded [2022-05-03T20:29:26.613Z] nexus3.edgexfoundry.org:10003 [2022-05-03T20:29:26.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T20:29:26.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T20:29:26.613Z] Configure a credential helper to remove this warning. See [2022-05-03T20:29:26.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T20:29:26.613Z] [2022-05-03T20:29:26.613Z] Login Succeeded [2022-05-03T20:29:26.613Z] nexus3.edgexfoundry.org:10004 [2022-05-03T20:29:26.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T20:29:26.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T20:29:26.874Z] Configure a credential helper to remove this warning. See [2022-05-03T20:29:26.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T20:29:26.874Z] [2022-05-03T20:29:26.874Z] Login Succeeded [2022-05-03T20:29:26.874Z] docker.io [2022-05-03T20:29:26.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T20:29:27.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T20:29:27.135Z] Configure a credential helper to remove this warning. See [2022-05-03T20:29:27.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T20:29:27.135Z] [2022-05-03T20:29:27.135Z] Login Succeeded [2022-05-03T20:29:27.397Z] ---> docker-login.sh ends [Pipeline] } [2022-05-03T20:29:27.406Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-03T20:29:27.725Z] + 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-05-03T20:29:27.725Z] + dirname cmd/core-command/Dockerfile [2022-05-03T20:29:27.725Z] + cut -d/ -f2 [2022-05-03T20:29:27.725Z] + echo core-command,cmd/core-command/Dockerfile [2022-05-03T20:29:27.725Z] + dirname cmd/core-data/Dockerfile [2022-05-03T20:29:27.725Z] + cut -d/ -f2 [2022-05-03T20:29:27.725Z] + echo core-data,cmd/core-data/Dockerfile [2022-05-03T20:29:27.725Z] + dirname cmd/core-metadata/Dockerfile [2022-05-03T20:29:27.725Z] + cut -d/ -f2 [2022-05-03T20:29:27.725Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2022-05-03T20:29:27.725Z] + dirname cmd/security-bootstrapper/Dockerfile [2022-05-03T20:29:27.725Z] + cut -d/ -f2 [2022-05-03T20:29:27.725Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2022-05-03T20:29:27.725Z] + dirname cmd/security-proxy-setup/Dockerfile [2022-05-03T20:29:27.725Z] + cut -d/ -f2 [2022-05-03T20:29:27.725Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2022-05-03T20:29:27.725Z] + dirname cmd/security-secretstore-setup/Dockerfile [2022-05-03T20:29:27.725Z] + cut -d/ -f2 [2022-05-03T20:29:27.725Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2022-05-03T20:29:27.725Z] + dirname cmd/security-spiffe-token-provider/Dockerfile [2022-05-03T20:29:27.725Z] + cut -d/ -f2 [2022-05-03T20:29:27.725Z] + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile [2022-05-03T20:29:27.725Z] + dirname cmd/security-spire-agent/Dockerfile [2022-05-03T20:29:27.725Z] + cut -d/ -f2 [2022-05-03T20:29:27.725Z] + echo security-spire-agent,cmd/security-spire-agent/Dockerfile [2022-05-03T20:29:27.725Z] + dirname cmd/security-spire-config/Dockerfile [2022-05-03T20:29:27.725Z] + cut -d/ -f2 [2022-05-03T20:29:27.725Z] + echo security-spire-config,cmd/security-spire-config/Dockerfile [2022-05-03T20:29:27.725Z] + dirname cmd/security-spire-server/Dockerfile [2022-05-03T20:29:27.725Z] + cut -d/ -f2 [2022-05-03T20:29:27.725Z] + echo security-spire-server,cmd/security-spire-server/Dockerfile [2022-05-03T20:29:27.725Z] + dirname cmd/support-notifications/Dockerfile [2022-05-03T20:29:27.725Z] + cut -d/ -f2 [2022-05-03T20:29:27.725Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2022-05-03T20:29:27.725Z] + dirname cmd/support-scheduler/Dockerfile [2022-05-03T20:29:27.725Z] + cut -d/ -f2 [2022-05-03T20:29:27.725Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2022-05-03T20:29:27.725Z] + dirname cmd/sys-mgmt-agent/Dockerfile [2022-05-03T20:29:27.725Z] + cut -d/ -f2 [2022-05-03T20:29:27.725Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2022-05-03T20:29:27.763Z] 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-05-03T20:29:28.119Z] + git rev-list -1 --merges d4905433a907af42cfd4eb658de4016458251102~1..d4905433a907af42cfd4eb658de4016458251102 [Pipeline] echo [2022-05-03T20:29:28.134Z] -----------> git rev-list -1 --merges d4905433a907af42cfd4eb658de4016458251102~1..d4905433a907af42cfd4eb658de4016458251102 d4905433a907af42cfd4eb658de4016458251102 [2022-05-03T20:29:28.134Z] d4905433a907af42cfd4eb658de4016458251102 [false] [Pipeline] sh [2022-05-03T20:29:28.431Z] + git log --format=format:%s -1 d4905433a907af42cfd4eb658de4016458251102 [Pipeline] echo [2022-05-03T20:29:28.449Z] ========================================================= [2022-05-03T20:29:28.449Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-03T20:29:28.449Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-05-03T20:29:29.005Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-03T20:29:29.005Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-03T20:29:29.005Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-03T20:29:29.005Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-03T20:29:29.005Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-03T20:29:29.005Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-03T20:29:29.005Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-03T20:29:29.452Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-03T20:29:29.452Z] [2022-05-03T20:29:29.452Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T20:29:29.758Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-03T20:29:29.758Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-03T20:29:29.758Z] 1fe172e4850f: Pulling fs layer [2022-05-03T20:29:29.758Z] caf521ccaac6: Pulling fs layer [2022-05-03T20:29:29.758Z] 3ead6fa29328: Pulling fs layer [2022-05-03T20:29:29.758Z] 5c2a1cbceb83: Pulling fs layer [2022-05-03T20:29:29.758Z] a8d5f1318db7: Pulling fs layer [2022-05-03T20:29:29.758Z] c427282e49a2: Pulling fs layer [2022-05-03T20:29:29.758Z] 1827001aaf11: Pulling fs layer [2022-05-03T20:29:29.758Z] 0714d37db230: Pulling fs layer [2022-05-03T20:29:29.758Z] ac28cf19c067: Pulling fs layer [2022-05-03T20:29:29.758Z] ca983d60f3e2: Pulling fs layer [2022-05-03T20:29:29.758Z] 9f894cec8388: Pulling fs layer [2022-05-03T20:29:29.758Z] 0714d37db230: Waiting [2022-05-03T20:29:29.758Z] ac28cf19c067: Waiting [2022-05-03T20:29:29.758Z] ca983d60f3e2: Waiting [2022-05-03T20:29:29.758Z] 5c2a1cbceb83: Waiting [2022-05-03T20:29:29.758Z] 9f894cec8388: Waiting [2022-05-03T20:29:29.758Z] c427282e49a2: Waiting [2022-05-03T20:29:29.758Z] 1827001aaf11: Waiting [2022-05-03T20:29:29.758Z] a8d5f1318db7: Waiting [2022-05-03T20:29:29.758Z] caf521ccaac6: Verifying Checksum [2022-05-03T20:29:29.758Z] caf521ccaac6: Download complete [2022-05-03T20:29:29.758Z] 5c2a1cbceb83: Verifying Checksum [2022-05-03T20:29:29.758Z] 5c2a1cbceb83: Download complete [2022-05-03T20:29:29.758Z] a8d5f1318db7: Verifying Checksum [2022-05-03T20:29:29.758Z] c427282e49a2: Verifying Checksum [2022-05-03T20:29:29.758Z] c427282e49a2: Download complete [2022-05-03T20:29:30.018Z] 3ead6fa29328: Verifying Checksum [2022-05-03T20:29:30.018Z] 3ead6fa29328: Download complete [2022-05-03T20:29:30.018Z] 0714d37db230: Verifying Checksum [2022-05-03T20:29:30.018Z] 0714d37db230: Download complete [2022-05-03T20:29:30.018Z] ac28cf19c067: Verifying Checksum [2022-05-03T20:29:30.018Z] ac28cf19c067: Download complete [2022-05-03T20:29:30.018Z] ca983d60f3e2: Verifying Checksum [2022-05-03T20:29:30.018Z] ca983d60f3e2: Download complete [2022-05-03T20:29:30.018Z] 9f894cec8388: Download complete [2022-05-03T20:29:30.018Z] 1fe172e4850f: Verifying Checksum [2022-05-03T20:29:30.018Z] 1fe172e4850f: Download complete [2022-05-03T20:29:30.279Z] 1827001aaf11: Verifying Checksum [2022-05-03T20:29:30.279Z] 1827001aaf11: Download complete [2022-05-03T20:29:31.217Z] 1fe172e4850f: Pull complete [2022-05-03T20:29:31.478Z] caf521ccaac6: Pull complete [2022-05-03T20:29:32.049Z] 3ead6fa29328: Pull complete [2022-05-03T20:29:32.049Z] 5c2a1cbceb83: Pull complete [2022-05-03T20:29:32.310Z] a8d5f1318db7: Pull complete [2022-05-03T20:29:32.573Z] c427282e49a2: Pull complete [2022-05-03T20:29:34.510Z] 1827001aaf11: Pull complete [2022-05-03T20:29:34.774Z] 0714d37db230: Pull complete [2022-05-03T20:29:35.037Z] ac28cf19c067: Pull complete [2022-05-03T20:29:35.299Z] ca983d60f3e2: Pull complete [2022-05-03T20:29:35.561Z] 9f894cec8388: Pull complete [2022-05-03T20:29:35.561Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-03T20:29:35.561Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-03T20:29:35.561Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-03T20:29:35.639Z] prd-ubuntu20.04-docker-8c-8g-40395 does not seem to be running inside a container [2022-05-03T20:29:35.680Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/3 -v /w/workspace/edgex-go/3:/w/workspace/edgex-go/3:rw,z -v /w/workspace/edgex-go/3@tmp:/w/workspace/edgex-go/3@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-devops/py-git-semver:latest cat [2022-05-03T20:29:37.423Z] $ docker top aa12c5cd4d6bc502239a67024dacbe8d08a9da68d036b32257358b5700c227be -eo pid,comm [2022-05-03T20:29:37.498Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-05-03T20:29:37.498Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-03T20:29:37.528Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-03T20:29:37.528Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-03T20:29:37.649Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-03T20:29:37.658Z] $ docker exec aa12c5cd4d6bc502239a67024dacbe8d08a9da68d036b32257358b5700c227be ssh-agent [2022-05-03T20:29:37.778Z] SSH_AUTH_SOCK=/tmp/ssh-wg0599ZozmkO/agent.32 [2022-05-03T20:29:37.778Z] SSH_AGENT_PID=39 [2022-05-03T20:29:37.786Z] Running ssh-add (command line suppressed) [2022-05-03T20:29:37.919Z] Identity added: /w/workspace/edgex-go/3@tmp/private_key_4486340097519175066.key (/w/workspace/edgex-go/3@tmp/private_key_4486340097519175066.key) [2022-05-03T20:29:37.931Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-03T20:29:38.220Z] + git tag --points-at HEAD [Pipeline] } [2022-05-03T20:29:38.244Z] $ docker exec --env ******** --env ******** aa12c5cd4d6bc502239a67024dacbe8d08a9da68d036b32257358b5700c227be ssh-agent -k [2022-05-03T20:29:38.354Z] unset SSH_AUTH_SOCK; [2022-05-03T20:29:38.354Z] unset SSH_AGENT_PID; [2022-05-03T20:29:38.355Z] echo Agent pid 39 killed; [2022-05-03T20:29:38.359Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-03T20:29:38.381Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-03T20:29:38.381Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-03T20:29:38.512Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-03T20:29:38.521Z] $ docker exec aa12c5cd4d6bc502239a67024dacbe8d08a9da68d036b32257358b5700c227be ssh-agent [2022-05-03T20:29:38.632Z] SSH_AUTH_SOCK=/tmp/ssh-hgMrk9JRbWdC/agent.72 [2022-05-03T20:29:38.632Z] SSH_AGENT_PID=78 [2022-05-03T20:29:38.637Z] Running ssh-add (command line suppressed) [2022-05-03T20:29:38.761Z] Identity added: /w/workspace/edgex-go/3@tmp/private_key_8206509830111718265.key (/w/workspace/edgex-go/3@tmp/private_key_8206509830111718265.key) [2022-05-03T20:29:38.771Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-03T20:29:39.062Z] + git semver init [2022-05-03T20:29:39.322Z] 2022-05-03 20:29:39,300 [run_init] DEBUG init version:0.0.0 force:False [2022-05-03T20:29:39.322Z] 2022-05-03 20:29:39,301 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/3/.semver [2022-05-03T20:29:39.322Z] 2022-05-03 20:29:39,301 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/3/.semver [2022-05-03T20:29:39.322Z] 2022-05-03 20:29:39,301 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/edgex-go.git', '/w/workspace/edgex-go/3/.semver'], cwd=/w/workspace/edgex-go/3, universal_newlines=False, shell=None, istream=None) [2022-05-03T20:29:44.598Z] 2022-05-03 20:29:44,240 [append_file] DEBUG append to file:/w/workspace/edgex-go/3/.git/info/exclude [2022-05-03T20:29:44.598Z] 2022-05-03 20:29:44,241 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/3/.semver/PR-4000 with force:False [2022-05-03T20:29:44.598Z] 2022-05-03 20:29:44,241 [write_file] DEBUG write to file:/w/workspace/edgex-go/3/.semver/PR-4000 [2022-05-03T20:29:44.598Z] 2022-05-03 20:29:44,243 [execute] INFO git cat-file --batch-check [2022-05-03T20:29:44.598Z] 2022-05-03 20:29:44,244 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/3/.semver, universal_newlines=False, shell=None, istream=) [2022-05-03T20:29:44.598Z] 2022-05-03 20:29:44,249 [execute] INFO git cat-file --batch [2022-05-03T20:29:44.598Z] 2022-05-03 20:29:44,249 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/3/.semver, universal_newlines=False, shell=None, istream=) [2022-05-03T20:29:44.598Z] 2022-05-03 20:29:44,252 [read_version] DEBUG read version from /w/workspace/edgex-go/3/.semver/PR-4000 [2022-05-03T20:29:44.598Z] 0.0.0 [Pipeline] } [2022-05-03T20:29:44.616Z] $ docker exec --env ******** --env ******** aa12c5cd4d6bc502239a67024dacbe8d08a9da68d036b32257358b5700c227be ssh-agent -k [2022-05-03T20:29:44.735Z] unset SSH_AUTH_SOCK; [2022-05-03T20:29:44.735Z] unset SSH_AGENT_PID; [2022-05-03T20:29:44.735Z] echo Agent pid 78 killed; [2022-05-03T20:29:44.739Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-03T20:29:45.042Z] + git semver [Pipeline] } [2022-05-03T20:29:45.323Z] $ docker stop --time=1 aa12c5cd4d6bc502239a67024dacbe8d08a9da68d036b32257358b5700c227be [2022-05-03T20:29:46.666Z] $ docker rm -f aa12c5cd4d6bc502239a67024dacbe8d08a9da68d036b32257358b5700c227be [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-03T20:29:47.020Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-03T20:29:47.318Z] Stashed 1 file(s) [Pipeline] echo [2022-05-03T20:29:47.322Z] [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-05-03T20:29:47.424Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-03T20:29:47.430Z] ========================================================= [2022-05-03T20:29:47.430Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-03T20:29:47.430Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-05-03T20:29:47.726Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-03T20:29:47.726Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-03T20:29:47.726Z] 59bf1c3509f3: Pulling fs layer [2022-05-03T20:29:47.726Z] 666ba61612fd: Pulling fs layer [2022-05-03T20:29:47.726Z] 8ed8ca486205: Pulling fs layer [2022-05-03T20:29:47.726Z] 4fe6c5a15a65: Pulling fs layer [2022-05-03T20:29:47.726Z] 22a0e8bec74d: Pulling fs layer [2022-05-03T20:29:47.726Z] ca2b28591e48: Pulling fs layer [2022-05-03T20:29:47.726Z] a51346096db8: Pulling fs layer [2022-05-03T20:29:47.726Z] daebc70d1ce1: Pulling fs layer [2022-05-03T20:29:47.727Z] 0e18a0eac166: Pulling fs layer [2022-05-03T20:29:47.727Z] 4fe6c5a15a65: Waiting [2022-05-03T20:29:47.727Z] a51346096db8: Waiting [2022-05-03T20:29:47.727Z] daebc70d1ce1: Waiting [2022-05-03T20:29:47.727Z] 0e18a0eac166: Waiting [2022-05-03T20:29:47.727Z] ca2b28591e48: Waiting [2022-05-03T20:29:47.727Z] 22a0e8bec74d: Waiting [2022-05-03T20:29:47.727Z] 8ed8ca486205: Verifying Checksum [2022-05-03T20:29:47.727Z] 8ed8ca486205: Download complete [2022-05-03T20:29:47.727Z] 666ba61612fd: Verifying Checksum [2022-05-03T20:29:47.727Z] 666ba61612fd: Download complete [2022-05-03T20:29:47.727Z] 22a0e8bec74d: Verifying Checksum [2022-05-03T20:29:47.727Z] 22a0e8bec74d: Download complete [2022-05-03T20:29:47.727Z] ca2b28591e48: Verifying Checksum [2022-05-03T20:29:47.727Z] ca2b28591e48: Download complete [2022-05-03T20:29:47.727Z] a51346096db8: Verifying Checksum [2022-05-03T20:29:47.727Z] a51346096db8: Download complete [2022-05-03T20:29:47.727Z] 59bf1c3509f3: Download complete [2022-05-03T20:29:47.727Z] daebc70d1ce1: Verifying Checksum [2022-05-03T20:29:47.727Z] daebc70d1ce1: Download complete [2022-05-03T20:29:47.989Z] 59bf1c3509f3: Pull complete [2022-05-03T20:29:47.989Z] 666ba61612fd: Pull complete [2022-05-03T20:29:47.989Z] 8ed8ca486205: Pull complete [2022-05-03T20:29:48.560Z] 0e18a0eac166: Download complete [2022-05-03T20:29:48.560Z] 4fe6c5a15a65: Verifying Checksum [2022-05-03T20:29:48.560Z] 4fe6c5a15a65: Download complete [2022-05-03T20:29:51.852Z] 4fe6c5a15a65: Pull complete [2022-05-03T20:29:52.112Z] 22a0e8bec74d: Pull complete [2022-05-03T20:29:52.112Z] ca2b28591e48: Pull complete [2022-05-03T20:29:52.112Z] a51346096db8: Pull complete [2022-05-03T20:29:52.371Z] daebc70d1ce1: Pull complete [2022-05-03T20:29:54.278Z] 0e18a0eac166: Pull complete [2022-05-03T20:29:54.278Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-03T20:29:54.278Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-03T20:29:54.278Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] fileExists [Pipeline] sh [2022-05-03T20:29:54.570Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-03T20:29:54.570Z] WORKDIR /edgex [2022-05-03T20:29:54.570Z] COPY go.mod . [2022-05-03T20:29:54.570Z] RUN go mod download [2022-05-03T20:29:54.570Z] + docker build -t ci-base-image-x86_64 -f - . [2022-05-03T20:29:55.947Z] Sending build context to Docker daemon 335.2MB [2022-05-03T20:29:55.947Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-03T20:29:55.947Z] ---> f018257e8ee9 [2022-05-03T20:29:55.947Z] Step 2/4 : WORKDIR /edgex [2022-05-03T20:29:57.341Z] ---> Running in b45978af6fc6 [2022-05-03T20:29:57.601Z] Removing intermediate container b45978af6fc6 [2022-05-03T20:29:57.601Z] ---> b49cab33f47c [2022-05-03T20:29:57.601Z] Step 3/4 : COPY go.mod . [2022-05-03T20:29:57.601Z] ---> 86d6de568c7f [2022-05-03T20:29:57.601Z] Step 4/4 : RUN go mod download [2022-05-03T20:29:57.601Z] ---> Running in d9453596d075 [2022-05-03T20:30:02.388Z] Still waiting to schedule task [2022-05-03T20:30:02.388Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-05-03T20:30:15.712Z] Removing intermediate container d9453596d075 [2022-05-03T20:30:15.712Z] ---> ef9703b00703 [2022-05-03T20:30:15.712Z] Successfully built ef9703b00703 [2022-05-03T20:30:15.712Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T20:30:16.012Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-03T20:30:16.012Z] . [Pipeline] withDockerContainer [2022-05-03T20:30:16.075Z] prd-ubuntu20.04-docker-8c-8g-40395 does not seem to be running inside a container [2022-05-03T20:30:16.116Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/3 -v /w/workspace/edgex-go/3:/w/workspace/edgex-go/3:rw,z -v /w/workspace/edgex-go/3@tmp:/w/workspace/edgex-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-03T20:30:16.539Z] $ docker top d587b778c55ee21760c8e86c7198446106828e1dd1bafa195055a55dd4b66fe4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-03T20:30:16.886Z] + go version [2022-05-03T20:30:16.886Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-03T20:30:16.906Z] $ docker stop --time=1 d587b778c55ee21760c8e86c7198446106828e1dd1bafa195055a55dd4b66fe4 [2022-05-03T20:30:18.185Z] $ docker rm -f d587b778c55ee21760c8e86c7198446106828e1dd1bafa195055a55dd4b66fe4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-03T20:30:18.578Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-03T20:30:18.579Z] . [Pipeline] withDockerContainer [2022-05-03T20:30:18.645Z] prd-ubuntu20.04-docker-8c-8g-40395 does not seem to be running inside a container [2022-05-03T20:30:18.689Z] $ 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/3 -v /w/workspace/edgex-go/3:/w/workspace/edgex-go/3:rw,z -v /w/workspace/edgex-go/3@tmp:/w/workspace/edgex-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-03T20:30:19.042Z] $ docker top 83b69f20ff7b86792d77af214b6ee46c2a1fc9cbcd4b8112497074a3159285ff -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-03T20:30:19.109Z] ========================================================= [2022-05-03T20:30:19.109Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-05-03T20:30:19.109Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-05-03T20:30:19.401Z] + make test [2022-05-03T20:30:19.401Z] go mod tidy -compat=1.17 [2022-05-03T20:30:19.401Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-03T20:30:24.679Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-05-03T20:30:36.883Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-05-03T20:30:36.883Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-05-03T20:30:36.883Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-05-03T20:30:36.883Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-05-03T20:30:36.883Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-05-03T20:30:36.883Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-05-03T20:30:36.883Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-05-03T20:30:36.883Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-05-03T20:30:36.883Z] ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] [2022-05-03T20:30:36.883Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2022-05-03T20:30:36.884Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2022-05-03T20:30:36.884Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2022-05-03T20:30:36.884Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2022-05-03T20:30:36.884Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2022-05-03T20:30:36.884Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2022-05-03T20:30:37.451Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.071s coverage: 28.7% of statements [2022-05-03T20:30:37.451Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2022-05-03T20:30:37.451Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2022-05-03T20:30:37.451Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.081s coverage: 98.5% of statements [2022-05-03T20:30:37.451Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2022-05-03T20:30:37.712Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.114s coverage: 53.4% of statements [2022-05-03T20:30:37.712Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2022-05-03T20:30:37.712Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2022-05-03T20:30:41.928Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 3.415s coverage: 89.2% of statements [2022-05-03T20:30:41.928Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] [2022-05-03T20:30:41.928Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2022-05-03T20:30:41.928Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2022-05-03T20:30:41.928Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.100s coverage: 84.4% of statements [2022-05-03T20:30:41.928Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2022-05-03T20:30:41.928Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2022-05-03T20:30:41.928Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] [2022-05-03T20:30:41.928Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2022-05-03T20:30:41.928Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2022-05-03T20:30:41.928Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.458s coverage: 95.6% of statements [2022-05-03T20:30:41.928Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2022-05-03T20:30:41.928Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2022-05-03T20:30:41.928Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.054s coverage: 72.2% of statements [2022-05-03T20:30:41.928Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2022-05-03T20:30:41.929Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2022-05-03T20:30:41.929Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2022-05-03T20:30:41.929Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2022-05-03T20:30:41.929Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2022-05-03T20:30:41.929Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.051s coverage: 60.0% of statements [2022-05-03T20:30:41.929Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2022-05-03T20:30:41.929Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2022-05-03T20:30:41.929Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2022-05-03T20:30:41.929Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.076s coverage: 0.9% of statements [2022-05-03T20:30:41.929Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2022-05-03T20:30:41.929Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.060s coverage: 58.8% of statements [2022-05-03T20:30:41.929Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.057s coverage: 29.6% of statements [2022-05-03T20:30:41.929Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2022-05-03T20:30:41.929Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.047s coverage: 47.1% of statements [2022-05-03T20:30:41.929Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.088s coverage: 79.5% of statements [2022-05-03T20:30:41.929Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.096s coverage: 94.1% of statements [2022-05-03T20:30:41.929Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.069s coverage: 96.3% of statements [2022-05-03T20:30:41.929Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.045s coverage: 87.5% of statements [2022-05-03T20:30:51.998Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.079s coverage: 94.4% of statements [2022-05-03T20:30:51.998Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.058s coverage: 44.8% of statements [2022-05-03T20:30:52.259Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.188s coverage: 82.5% of statements [2022-05-03T20:30:52.259Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2022-05-03T20:31:02.266Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.089s coverage: 92.9% of statements [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2022-05-03T20:31:02.266Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.027s coverage: 65.1% of statements [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2022-05-03T20:31:02.266Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 12.085s coverage: 87.2% of statements [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2022-05-03T20:31:02.266Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.065s coverage: 100.0% of statements [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2022-05-03T20:31:02.266Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.064s coverage: 58.8% of statements [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2022-05-03T20:31:02.266Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.072s coverage: 80.0% of statements [2022-05-03T20:31:02.266Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.063s coverage: 87.2% of statements [2022-05-03T20:31:02.266Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.062s coverage: 85.4% of statements [2022-05-03T20:31:02.266Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.126s coverage: 91.2% of statements [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2022-05-03T20:31:02.266Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.144s coverage: 64.4% of statements [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2022-05-03T20:31:02.266Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.046s coverage: 100.0% of statements [2022-05-03T20:31:02.266Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.030s coverage: 89.4% of statements [2022-05-03T20:31:02.266Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.033s coverage: 100.0% of statements [2022-05-03T20:31:02.266Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.028s coverage: 73.7% of statements [2022-05-03T20:31:02.266Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.025s coverage: 100.0% of statements [2022-05-03T20:31:02.266Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.351s coverage: 65.4% of statements [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2022-05-03T20:31:02.266Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.195s coverage: 43.8% of statements [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2022-05-03T20:31:02.266Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.046s coverage: 89.5% of statements [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2022-05-03T20:31:02.266Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.052s coverage: 84.8% of statements [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] [2022-05-03T20:31:02.266Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.073s coverage: 17.7% of statements [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2022-05-03T20:31:02.266Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.159s coverage: 92.3% of statements [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2022-05-03T20:31:02.266Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.057s coverage: 63.2% of statements [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2022-05-03T20:31:02.266Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.100s coverage: 97.7% of statements [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] [2022-05-03T20:31:02.266Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.053s coverage: 28.9% of statements [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] [2022-05-03T20:31:02.266Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2022-05-03T20:31:02.266Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.046s coverage: 100.0% of statements [2022-05-03T20:31:02.266Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.033s coverage: 96.9% of statements [2022-05-03T20:31:02.266Z] if which hadolint > /dev/null ; then hadolint --config .hadolint.yml `find * -type f -name 'Dockerfile*' -print` ; elif test "x86_64" = "x86_64" && which docker > /dev/null ; then docker run --rm -v `pwd`:/host:ro,z --entrypoint /bin/hadolint hadolint/hadolint:latest --config /host/.hadolint.yml `find * -type f -name 'Dockerfile*' | xargs -i echo '/host/{}'` ; fi [2022-05-03T20:31:20.384Z] GO111MODULE=on go vet ./... [2022-05-03T20:31:22.918Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-03T20:31:22.918Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-03T20:31:23.176Z] ./bin/test-attribution-txt.sh [2022-05-03T20:31:23.437Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-05-03T20:31:23.696Z] make: *** [Makefile:146: test] Error 1 [Pipeline] } [2022-05-03T20:31:23.718Z] $ docker stop --time=1 83b69f20ff7b86792d77af214b6ee46c2a1fc9cbcd4b8112497074a3159285ff [2022-05-03T20:31:25.857Z] $ docker rm -f 83b69f20ff7b86792d77af214b6ee46c2a1fc9cbcd4b8112497074a3159285ff [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-05-03T20:31:26.221Z] Failed in branch amd64 [2022-05-03T20:31:41.285Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-40399 in /w/workspace/edgexfoundry_edgex-go_PR-4000 [Pipeline] { [Pipeline] ws [2022-05-03T20:31:41.298Z] Running in /w/workspace/edgex-go/3 [Pipeline] { [Pipeline] checkout [2022-05-03T20:31:41.655Z] The recommended git tool is: git [2022-05-03T20:31:48.002Z] using credential edgex-jenkins-ssh [2022-05-03T20:31:48.035Z] Cloning the remote Git repository [2022-05-03T20:31:48.104Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2022-05-03T20:31:48.243Z] > git init /w/workspace/edgex-go/3 # timeout=10 [2022-05-03T20:31:48.369Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-05-03T20:31:48.370Z] > git --version # timeout=10 [2022-05-03T20:31:48.411Z] > git --version # 'git version 2.25.1' [2022-05-03T20:31:48.413Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-03T20:31:48.517Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-03T20:32:05.781Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-05-03T20:32:05.802Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-03T20:32:05.830Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-05-03T20:32:05.865Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-05-03T20:32:05.865Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-03T20:32:05.878Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4000/head:refs/remotes/origin/PR-4000 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-03T20:32:06.605Z] Merging remotes/origin/main commit 7403972676612df12563dc943565a4020914d98d into PR head commit 9d9df07d49a3e39b4cabf841000690bf53ee4e45 [2022-05-03T20:32:07.140Z] Merge succeeded, producing 8e8e45290397482459de9de622728ba0aae76996 [2022-05-03T20:32:07.141Z] Checking out Revision 8e8e45290397482459de9de622728ba0aae76996 (PR-4000) [2022-05-03T20:32:06.633Z] > git config core.sparsecheckout # timeout=10 [2022-05-03T20:32:06.658Z] > git checkout -f 9d9df07d49a3e39b4cabf841000690bf53ee4e45 # timeout=10 [2022-05-03T20:32:06.890Z] > git remote # timeout=10 [2022-05-03T20:32:06.907Z] > git config --get remote.origin.url # timeout=10 [2022-05-03T20:32:06.921Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-03T20:32:06.933Z] > git merge 7403972676612df12563dc943565a4020914d98d # timeout=10 [2022-05-03T20:32:07.131Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-03T20:32:07.155Z] > git config core.sparsecheckout # timeout=10 [2022-05-03T20:32:07.181Z] > git checkout -f 8e8e45290397482459de9de622728ba0aae76996 # timeout=10 [2022-05-03T20:32:11.404Z] Commit message: "Merge commit '7403972676612df12563dc943565a4020914d98d' into HEAD" [2022-05-03T20:32:11.434Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-03T20:32:12.343Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-03T20:32:12.343Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-03T20:32:12.343Z] Dload Upload Total Spent Left Speed [2022-05-03T20:32:12.343Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 49345 0 --:--:-- --:--:-- --:--:-- 49345 [Pipeline] sh [2022-05-03T20:32:11.420Z] > git rev-list --no-walk 14a4ae253e1b2f32d49ded619beb1e23b014cec1 # timeout=10 [2022-05-03T20:32:12.908Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-03T20:32:13.266Z] + sudo tee /etc/docker/daemon.new [2022-05-03T20:32:13.266Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-03T20:32:13.266Z] { [2022-05-03T20:32:13.266Z] "registry-mirrors": [ [2022-05-03T20:32:13.266Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-03T20:32:13.266Z] ], [2022-05-03T20:32:13.266Z] "bip": "10.250.0.254/24", [2022-05-03T20:32:13.266Z] "hosts": [ [2022-05-03T20:32:13.266Z] "tcp://0.0.0.0:5555", [2022-05-03T20:32:13.266Z] "unix:///var/run/docker.sock" [2022-05-03T20:32:13.266Z] ], [2022-05-03T20:32:13.266Z] "mtu": 1458, [2022-05-03T20:32:13.266Z] "selinux-enabled": true, [2022-05-03T20:32:13.266Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-03T20:32:13.266Z] } [Pipeline] sh [2022-05-03T20:32:13.624Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-03T20:32:14.110Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-03T20:32:32.479Z] provisioning config files... [2022-05-03T20:32:32.506Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/3@tmp/config45772562731070960tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T20:32:32.884Z] ---> docker-login.sh [2022-05-03T20:32:32.884Z] nexus3.edgexfoundry.org:10001 [2022-05-03T20:32:33.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T20:32:33.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T20:32:33.759Z] Configure a credential helper to remove this warning. See [2022-05-03T20:32:33.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T20:32:33.759Z] [2022-05-03T20:32:33.759Z] Login Succeeded [2022-05-03T20:32:33.759Z] nexus3.edgexfoundry.org:10002 [2022-05-03T20:32:34.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T20:32:34.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T20:32:34.308Z] Configure a credential helper to remove this warning. See [2022-05-03T20:32:34.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T20:32:34.308Z] [2022-05-03T20:32:34.308Z] Login Succeeded [2022-05-03T20:32:34.308Z] nexus3.edgexfoundry.org:10003 [2022-05-03T20:32:34.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T20:32:34.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T20:32:34.865Z] Configure a credential helper to remove this warning. See [2022-05-03T20:32:34.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T20:32:34.865Z] [2022-05-03T20:32:34.865Z] Login Succeeded [2022-05-03T20:32:34.865Z] nexus3.edgexfoundry.org:10004 [2022-05-03T20:32:35.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T20:32:35.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T20:32:35.421Z] Configure a credential helper to remove this warning. See [2022-05-03T20:32:35.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T20:32:35.421Z] [2022-05-03T20:32:35.421Z] Login Succeeded [2022-05-03T20:32:35.422Z] docker.io [2022-05-03T20:32:35.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T20:32:36.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T20:32:36.295Z] Configure a credential helper to remove this warning. See [2022-05-03T20:32:36.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T20:32:36.295Z] [2022-05-03T20:32:36.295Z] Login Succeeded [2022-05-03T20:32:36.295Z] ---> docker-login.sh ends [Pipeline] } [2022-05-03T20:32:36.315Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-03T20:32:37.018Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-03T20:32:37.028Z] ========================================================= [2022-05-03T20:32:37.028Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-03T20:32:37.028Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-05-03T20:32:37.386Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-03T20:32:37.677Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-03T20:32:37.677Z] 9b3977197b4f: Pulling fs layer [2022-05-03T20:32:37.677Z] 1a89e8eeedd5: Pulling fs layer [2022-05-03T20:32:37.677Z] 94645a83ff95: Pulling fs layer [2022-05-03T20:32:37.677Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-03T20:32:37.677Z] 0c92f367c5e7: Pulling fs layer [2022-05-03T20:32:37.677Z] 3096ccb668a1: Pulling fs layer [2022-05-03T20:32:37.677Z] e8cf19c19ddd: Pulling fs layer [2022-05-03T20:32:37.677Z] a4caa8a26152: Pulling fs layer [2022-05-03T20:32:37.677Z] 3f3a8bcf1eab: Waiting [2022-05-03T20:32:37.677Z] 0c92f367c5e7: Waiting [2022-05-03T20:32:37.677Z] e8cf19c19ddd: Waiting [2022-05-03T20:32:37.677Z] a4caa8a26152: Waiting [2022-05-03T20:32:37.677Z] 3096ccb668a1: Waiting [2022-05-03T20:32:37.677Z] 94645a83ff95: Verifying Checksum [2022-05-03T20:32:37.677Z] 94645a83ff95: Download complete [2022-05-03T20:32:37.677Z] 1a89e8eeedd5: Download complete [2022-05-03T20:32:37.677Z] 0c92f367c5e7: Verifying Checksum [2022-05-03T20:32:37.677Z] 0c92f367c5e7: Download complete [2022-05-03T20:32:37.677Z] 3096ccb668a1: Verifying Checksum [2022-05-03T20:32:37.677Z] 3096ccb668a1: Download complete [2022-05-03T20:32:37.677Z] 9b3977197b4f: Download complete [2022-05-03T20:32:37.962Z] e8cf19c19ddd: Verifying Checksum [2022-05-03T20:32:37.962Z] e8cf19c19ddd: Download complete [2022-05-03T20:32:38.985Z] 9b3977197b4f: Pull complete [2022-05-03T20:32:39.587Z] 1a89e8eeedd5: Pull complete [2022-05-03T20:32:39.870Z] 94645a83ff95: Pull complete [2022-05-03T20:32:40.144Z] a4caa8a26152: Verifying Checksum [2022-05-03T20:32:40.144Z] a4caa8a26152: Download complete [2022-05-03T20:32:41.126Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-03T20:32:41.126Z] 3f3a8bcf1eab: Download complete [2022-05-03T20:32:53.562Z] 3f3a8bcf1eab: Pull complete [2022-05-03T20:32:53.837Z] 0c92f367c5e7: Pull complete [2022-05-03T20:32:54.113Z] 3096ccb668a1: Pull complete [2022-05-03T20:32:54.388Z] e8cf19c19ddd: Pull complete [2022-05-03T20:33:01.139Z] a4caa8a26152: Pull complete [2022-05-03T20:33:01.139Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-03T20:33:01.139Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-03T20:33:01.139Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] fileExists [Pipeline] sh [2022-05-03T20:33:01.507Z] + + dockerecho build FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-03T20:33:01.507Z] WORKDIR /edgex [2022-05-03T20:33:01.507Z] COPY go.mod . [2022-05-03T20:33:01.507Z] RUN go mod download -t [2022-05-03T20:33:01.507Z] ci-base-image-arm64 -f - . [2022-05-03T20:33:04.155Z] Sending build context to Docker daemon 169.3MB [2022-05-03T20:33:04.155Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-03T20:33:04.155Z] ---> 725f1c02e7f9 [2022-05-03T20:33:04.155Z] Step 2/4 : WORKDIR /edgex [2022-05-03T20:33:06.151Z] ---> Running in 1fe5f1275999 [2022-05-03T20:33:06.425Z] Removing intermediate container 1fe5f1275999 [2022-05-03T20:33:06.425Z] ---> 3a30ed2058a7 [2022-05-03T20:33:06.425Z] Step 3/4 : COPY go.mod . [2022-05-03T20:33:07.027Z] ---> 2d5754e37443 [2022-05-03T20:33:07.027Z] Step 4/4 : RUN go mod download [2022-05-03T20:33:07.027Z] ---> Running in c5733cdff852 [2022-05-03T20:34:03.655Z] Removing intermediate container c5733cdff852 [2022-05-03T20:34:03.655Z] ---> 8da394ab486e [2022-05-03T20:34:03.655Z] Successfully built 8da394ab486e [2022-05-03T20:34:03.655Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T20:34:04.011Z] + docker inspect -f . ci-base-image-arm64 [2022-05-03T20:34:04.011Z] . [Pipeline] withDockerContainer [2022-05-03T20:34:04.267Z] prd-ubuntu20.04-docker-arm64-4c-16g-40399 does not seem to be running inside a container [2022-05-03T20:34:04.360Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/3 -v /w/workspace/edgex-go/3:/w/workspace/edgex-go/3:rw,z -v /w/workspace/edgex-go/3@tmp:/w/workspace/edgex-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-03T20:34:05.790Z] $ docker top 724873d4d4af2f0e2eb6e7cfc4019dfba748dae9b9c3733ce3c28f3683b71c6f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-03T20:34:06.706Z] + go version [2022-05-03T20:34:06.706Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-03T20:34:06.739Z] $ docker stop --time=1 724873d4d4af2f0e2eb6e7cfc4019dfba748dae9b9c3733ce3c28f3683b71c6f [2022-05-03T20:34:08.421Z] $ docker rm -f 724873d4d4af2f0e2eb6e7cfc4019dfba748dae9b9c3733ce3c28f3683b71c6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-03T20:34:09.151Z] + docker inspect -f . ci-base-image-arm64 [2022-05-03T20:34:09.151Z] . [Pipeline] withDockerContainer [2022-05-03T20:34:09.394Z] prd-ubuntu20.04-docker-arm64-4c-16g-40399 does not seem to be running inside a container [2022-05-03T20:34:09.500Z] $ 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/3 -v /w/workspace/edgex-go/3:/w/workspace/edgex-go/3:rw,z -v /w/workspace/edgex-go/3@tmp:/w/workspace/edgex-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-03T20:34:10.886Z] $ docker top c8d67d1a295dae86f89186c7b43808adc7da9484727131b759d38d93e97f56a4 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-03T20:34:11.162Z] ========================================================= [2022-05-03T20:34:11.162Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-05-03T20:34:11.162Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-05-03T20:34:11.833Z] + make test [2022-05-03T20:34:11.833Z] go mod tidy -compat=1.17 [2022-05-03T20:34:12.816Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-03T20:34:51.887Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-05-03T20:36:43.847Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-05-03T20:36:43.847Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-05-03T20:36:43.847Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-05-03T20:36:43.847Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-05-03T20:36:43.847Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-05-03T20:36:43.847Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-05-03T20:36:43.847Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-05-03T20:36:43.847Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-05-03T20:36:43.847Z] ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] [2022-05-03T20:36:47.263Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2022-05-03T20:36:47.263Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2022-05-03T20:36:47.263Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2022-05-03T20:36:47.263Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2022-05-03T20:36:47.263Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2022-05-03T20:36:47.263Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2022-05-03T20:37:02.391Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.297s coverage: 28.7% of statements [2022-05-03T20:37:02.391Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2022-05-03T20:37:02.391Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2022-05-03T20:37:06.729Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.380s coverage: 98.5% of statements [2022-05-03T20:37:06.729Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2022-05-03T20:37:06.729Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.482s coverage: 53.4% of statements [2022-05-03T20:37:06.729Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2022-05-03T20:37:06.729Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2022-05-03T20:37:29.687Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 19.199s coverage: 89.2% of statements [2022-05-03T20:37:29.687Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] [2022-05-03T20:37:29.687Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2022-05-03T20:37:29.687Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2022-05-03T20:37:29.687Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.392s coverage: 84.4% of statements [2022-05-03T20:37:29.687Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2022-05-03T20:37:29.687Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2022-05-03T20:37:29.687Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] [2022-05-03T20:37:29.687Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2022-05-03T20:37:29.687Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2022-05-03T20:37:32.341Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 2.468s coverage: 95.6% of statements [2022-05-03T20:37:32.341Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2022-05-03T20:37:32.341Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2022-05-03T20:37:32.341Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.315s coverage: 72.2% of statements [2022-05-03T20:37:32.341Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2022-05-03T20:37:32.341Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2022-05-03T20:37:32.341Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2022-05-03T20:37:32.341Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2022-05-03T20:37:32.341Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2022-05-03T20:37:32.341Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.653s coverage: 60.0% of statements [2022-05-03T20:37:32.341Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2022-05-03T20:37:32.341Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2022-05-03T20:37:32.341Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2022-05-03T20:37:32.341Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.707s coverage: 0.9% of statements [2022-05-03T20:37:32.341Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2022-05-03T20:37:32.341Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.576s coverage: 58.8% of statements [2022-05-03T20:37:32.341Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.311s coverage: 29.6% of statements [2022-05-03T20:37:32.341Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2022-05-03T20:37:32.341Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.328s coverage: 47.1% of statements [2022-05-03T20:37:32.341Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.243s coverage: 79.5% of statements [2022-05-03T20:37:32.341Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.221s coverage: 94.1% of statements [2022-05-03T20:37:33.796Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.273s coverage: 96.3% of statements [2022-05-03T20:37:34.787Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.361s coverage: 87.5% of statements [2022-05-03T20:37:47.211Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.268s coverage: 94.4% of statements [2022-05-03T20:37:47.211Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.209s coverage: 44.8% of statements [2022-05-03T20:37:53.925Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.733s coverage: 82.5% of statements [2022-05-03T20:37:53.925Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2022-05-03T20:38:00.687Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.306s coverage: 92.9% of statements [2022-05-03T20:38:00.687Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2022-05-03T20:38:00.687Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2022-05-03T20:38:00.687Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2022-05-03T20:38:00.687Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.072s coverage: 65.1% of statements [2022-05-03T20:38:00.687Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2022-05-03T20:38:00.687Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2022-05-03T20:38:00.687Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2022-05-03T20:38:00.687Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2022-05-03T20:38:00.687Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2022-05-03T20:38:00.687Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.216s coverage: 87.2% of statements [2022-05-03T20:38:00.687Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2022-05-03T20:38:00.687Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2022-05-03T20:38:00.687Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.196s coverage: 100.0% of statements [2022-05-03T20:38:00.687Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2022-05-03T20:38:00.687Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.284s coverage: 58.8% of statements [2022-05-03T20:38:00.687Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2022-05-03T20:38:00.687Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.373s coverage: 80.0% of statements [2022-05-03T20:38:00.687Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.291s coverage: 87.2% of statements [2022-05-03T20:38:00.687Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.328s coverage: 85.4% of statements [2022-05-03T20:38:00.687Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.854s coverage: 91.2% of statements [2022-05-03T20:38:00.687Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2022-05-03T20:38:06.133Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.089s coverage: 64.4% of statements [2022-05-03T20:38:06.133Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2022-05-03T20:38:06.133Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2022-05-03T20:38:06.133Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.250s coverage: 100.0% of statements [2022-05-03T20:38:06.133Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.106s coverage: 89.4% of statements [2022-05-03T20:38:06.133Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.092s coverage: 100.0% of statements [2022-05-03T20:38:06.133Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.062s coverage: 73.7% of statements [2022-05-03T20:38:06.133Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.074s coverage: 100.0% of statements [2022-05-03T20:38:16.338Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.573s coverage: 65.4% of statements [2022-05-03T20:38:16.338Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2022-05-03T20:38:16.338Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2022-05-03T20:38:16.338Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2022-05-03T20:38:17.344Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.820s coverage: 43.8% of statements [2022-05-03T20:38:17.344Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2022-05-03T20:38:17.344Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2022-05-03T20:38:17.344Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.272s coverage: 89.5% of statements [2022-05-03T20:38:17.344Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2022-05-03T20:38:17.344Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.281s coverage: 84.8% of statements [2022-05-03T20:38:17.344Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] [2022-05-03T20:38:17.344Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] [2022-05-03T20:38:17.344Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] [2022-05-03T20:38:17.344Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] [2022-05-03T20:38:27.543Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.459s coverage: 17.7% of statements [2022-05-03T20:38:27.543Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2022-05-03T20:38:27.543Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2022-05-03T20:38:27.543Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2022-05-03T20:38:27.543Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2022-05-03T20:38:27.543Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.802s coverage: 92.3% of statements [2022-05-03T20:38:27.543Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2022-05-03T20:38:27.543Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2022-05-03T20:38:27.543Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] [2022-05-03T20:38:27.543Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2022-05-03T20:38:27.543Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.320s coverage: 63.2% of statements [2022-05-03T20:38:27.543Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2022-05-03T20:38:27.543Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2022-05-03T20:38:27.816Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.504s coverage: 97.7% of statements [2022-05-03T20:38:27.816Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2022-05-03T20:38:27.816Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2022-05-03T20:38:27.816Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2022-05-03T20:38:27.816Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] [2022-05-03T20:38:27.816Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.268s coverage: 28.9% of statements [2022-05-03T20:38:27.816Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] [2022-05-03T20:38:27.816Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] [2022-05-03T20:38:27.816Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2022-05-03T20:38:27.816Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2022-05-03T20:38:27.816Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] [2022-05-03T20:38:27.816Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2022-05-03T20:38:27.816Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.241s coverage: 100.0% of statements [2022-05-03T20:38:27.816Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.093s coverage: 96.9% of statements [2022-05-03T20:38:28.803Z] if which hadolint > /dev/null ; then hadolint --config .hadolint.yml `find * -type f -name 'Dockerfile*' -print` ; elif test "aarch64" = "x86_64" && which docker > /dev/null ; then docker run --rm -v `pwd`:/host:ro,z --entrypoint /bin/hadolint hadolint/hadolint:latest --config /host/.hadolint.yml `find * -type f -name 'Dockerfile*' | xargs -i echo '/host/{}'` ; fi [2022-05-03T20:38:28.803Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-03T20:38:28.803Z] GO111MODULE=on go vet ./... [2022-05-03T20:40:35.801Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-03T20:40:35.801Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-03T20:40:36.408Z] ./bin/test-attribution-txt.sh [2022-05-03T20:40:39.037Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-05-03T20:40:40.022Z] make: *** [Makefile:146: test] Error 1 [Pipeline] } [2022-05-03T20:40:40.059Z] $ docker stop --time=1 c8d67d1a295dae86f89186c7b43808adc7da9484727131b759d38d93e97f56a4 [2022-05-03T20:40:42.028Z] $ docker rm -f c8d67d1a295dae86f89186c7b43808adc7da9484727131b759d38d93e97f56a4 [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-05-03T20:40:43.941Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-03T20:40:43.941Z] [2022-05-03T20:40:43.941Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-03T20:40:44.291Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-03T20:40:44.567Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-03T20:40:44.567Z] 8998bd30e6a1: Pulling fs layer [2022-05-03T20:40:44.567Z] 04944245beec: Pulling fs layer [2022-05-03T20:40:44.567Z] 699f458cf7ca: Pulling fs layer [2022-05-03T20:40:44.567Z] 765212b225bb: Pulling fs layer [2022-05-03T20:40:44.567Z] f23df028b6ca: Pulling fs layer [2022-05-03T20:40:44.567Z] d65c8cfc05b1: Pulling fs layer [2022-05-03T20:40:44.567Z] 2437ff75d9bd: Pulling fs layer [2022-05-03T20:40:44.567Z] 765212b225bb: Waiting [2022-05-03T20:40:44.567Z] f23df028b6ca: Waiting [2022-05-03T20:40:44.567Z] d65c8cfc05b1: Waiting [2022-05-03T20:40:44.567Z] 2437ff75d9bd: Waiting [2022-05-03T20:40:44.567Z] 04944245beec: Verifying Checksum [2022-05-03T20:40:44.567Z] 04944245beec: Download complete [2022-05-03T20:40:44.567Z] 765212b225bb: Verifying Checksum [2022-05-03T20:40:44.567Z] 765212b225bb: Download complete [2022-05-03T20:40:44.845Z] f23df028b6ca: Verifying Checksum [2022-05-03T20:40:44.845Z] f23df028b6ca: Download complete [2022-05-03T20:40:44.845Z] d65c8cfc05b1: Verifying Checksum [2022-05-03T20:40:44.845Z] d65c8cfc05b1: Download complete [2022-05-03T20:40:44.845Z] 699f458cf7ca: Download complete [2022-05-03T20:40:45.457Z] 8998bd30e6a1: Download complete [2022-05-03T20:40:48.087Z] 2437ff75d9bd: Verifying Checksum [2022-05-03T20:40:48.087Z] 2437ff75d9bd: Download complete [2022-05-03T20:40:50.058Z] 8998bd30e6a1: Pull complete [2022-05-03T20:40:50.334Z] 04944245beec: Pull complete [2022-05-03T20:40:51.773Z] 699f458cf7ca: Pull complete [2022-05-03T20:40:52.048Z] 765212b225bb: Pull complete [2022-05-03T20:40:53.032Z] f23df028b6ca: Pull complete [2022-05-03T20:40:53.309Z] d65c8cfc05b1: Pull complete [2022-05-03T20:41:08.409Z] 2437ff75d9bd: Pull complete [2022-05-03T20:41:08.409Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-03T20:41:08.409Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-03T20:41:08.409Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-03T20:41:08.669Z] prd-ubuntu20.04-docker-arm64-4c-16g-40399 does not seem to be running inside a container [2022-05-03T20:41:08.776Z] $ 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/3 -v /w/workspace/edgex-go/3:/w/workspace/edgex-go/3:rw,z -v /w/workspace/edgex-go/3@tmp:/w/workspace/edgex-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-03T20:41:11.771Z] $ docker top de6a167009bd709a4f276150275ff63221a17159596424cf3d9024fcc49ed7da -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T20:41:12.878Z] ---> job-cost.sh [2022-05-03T20:41:13.167Z] lf-activate-venv: SKIPPING [2022-05-03T20:41:13.167Z] INFO: No Stack... [2022-05-03T20:41:13.461Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-03T20:41:14.449Z] INFO: Archiving Costs [Pipeline] sh [2022-05-03T20:41:15.110Z] + cat /w/workspace/edgex-go/3/archives/cost.csv [2022-05-03T20:41:15.110Z] + cut -d, -f6 [Pipeline] lock [2022-05-03T20:41:15.187Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4000-3-stack-cost] [2022-05-03T20:41:15.193Z] Resource [jenkins-edgexfoundry-edgex-go-PR-4000-3-stack-cost] did not exist. Created. [2022-05-03T20:41:15.193Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4000-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-03T20:41:15.865Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-03T20:41:16.641Z] Stashed 1 file(s) [Pipeline] } [2022-05-03T20:41:16.648Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4000-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-03T20:41:16.674Z] $ docker stop --time=1 de6a167009bd709a4f276150275ff63221a17159596424cf3d9024fcc49ed7da [2022-05-03T20:41:18.295Z] $ docker rm -f de6a167009bd709a4f276150275ff63221a17159596424cf3d9024fcc49ed7da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-03T20:41:18.614Z] 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-05-03T20:41:19.244Z] + [ -d /w/workspace/edgex-go/3/archives ] [Pipeline] libraryResource [Pipeline] sh [2022-05-03T20:41:19.540Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T20:41:20.406Z] ---> package-listing.sh [2022-05-03T20:41:20.406Z] ++ facter osfamily [2022-05-03T20:41:20.406Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-03T20:41:20.665Z] + OS_FAMILY=debian [2022-05-03T20:41:20.665Z] + workspace=/w/workspace/edgex-go/3 [2022-05-03T20:41:20.665Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-03T20:41:20.666Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-03T20:41:20.666Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-03T20:41:20.666Z] + PACKAGES=/tmp/packages_start.txt [2022-05-03T20:41:20.666Z] + '[' /w/workspace/edgex-go/3 ']' [2022-05-03T20:41:20.666Z] + PACKAGES=/tmp/packages_end.txt [2022-05-03T20:41:20.666Z] + case "${OS_FAMILY}" in [2022-05-03T20:41:20.666Z] + dpkg -l [2022-05-03T20:41:20.666Z] + grep '^ii' [2022-05-03T20:41:20.666Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-03T20:41:20.666Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-03T20:41:20.666Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-03T20:41:20.666Z] + '[' /w/workspace/edgex-go/3 ']' [2022-05-03T20:41:20.666Z] + mkdir -p /w/workspace/edgex-go/3/archives/ [2022-05-03T20:41:20.666Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/3/archives/ [Pipeline] echo [2022-05-03T20:41:20.678Z] 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/3/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-03T20:41:20.958Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-03T20:41:21.515Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-03T20:41:21.515Z] [2022-05-03T20:41:21.515Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T20:41:21.818Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-03T20:41:21.819Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-03T20:41:21.819Z] 5eb5b503b376: Pulling fs layer [2022-05-03T20:41:21.819Z] 5c69ac0246d0: Pulling fs layer [2022-05-03T20:41:21.819Z] ec43610c2a17: Pulling fs layer [2022-05-03T20:41:21.819Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-03T20:41:21.819Z] 33b1e0a273af: Pulling fs layer [2022-05-03T20:41:21.819Z] 5d3b04190fa2: Pulling fs layer [2022-05-03T20:41:21.819Z] 2f39f015ded8: Pulling fs layer [2022-05-03T20:41:21.819Z] 33b1e0a273af: Waiting [2022-05-03T20:41:21.819Z] 5d3b04190fa2: Waiting [2022-05-03T20:41:21.819Z] 2f39f015ded8: Waiting [2022-05-03T20:41:21.819Z] 3a2ae6a8a46f: Waiting [2022-05-03T20:41:21.819Z] 5c69ac0246d0: Download complete [2022-05-03T20:41:21.819Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-03T20:41:21.819Z] 3a2ae6a8a46f: Download complete [2022-05-03T20:41:21.819Z] 33b1e0a273af: Verifying Checksum [2022-05-03T20:41:21.819Z] 33b1e0a273af: Download complete [2022-05-03T20:41:21.819Z] ec43610c2a17: Verifying Checksum [2022-05-03T20:41:21.819Z] ec43610c2a17: Download complete [2022-05-03T20:41:21.819Z] 5d3b04190fa2: Download complete [2022-05-03T20:41:22.082Z] 5eb5b503b376: Verifying Checksum [2022-05-03T20:41:22.082Z] 5eb5b503b376: Download complete [2022-05-03T20:41:22.653Z] 2f39f015ded8: Download complete [2022-05-03T20:41:23.224Z] 5eb5b503b376: Pull complete [2022-05-03T20:41:23.224Z] 5c69ac0246d0: Pull complete [2022-05-03T20:41:23.793Z] ec43610c2a17: Pull complete [2022-05-03T20:41:23.793Z] 3a2ae6a8a46f: Pull complete [2022-05-03T20:41:24.053Z] 33b1e0a273af: Pull complete [2022-05-03T20:41:24.053Z] 5d3b04190fa2: Pull complete [2022-05-03T20:41:28.252Z] 2f39f015ded8: Pull complete [2022-05-03T20:41:28.252Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-03T20:41:28.252Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-03T20:41:28.252Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-03T20:41:28.315Z] prd-ubuntu20.04-docker-8c-8g-40395 does not seem to be running inside a container [2022-05-03T20:41:28.358Z] $ 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/3/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/3 -v /w/workspace/edgex-go/3:/w/workspace/edgex-go/3:rw,z -v /w/workspace/edgex-go/3@tmp:/w/workspace/edgex-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-03T20:41:30.334Z] $ docker top 6a068c108a260a7ee52c913dac573889cb9dda7d24dd1fcacc0aca9ef7432179 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-03T20:41:30.687Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-03T20:41:30.980Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-03T20:41:31.273Z] + ls /var/log/sa-host [2022-05-03T20:41:31.273Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-03T20:41:31.490Z] provisioning config files... [2022-05-03T20:41:31.501Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/3@tmp/config3034242205752389313tmp [Pipeline] { [Pipeline] echo [2022-05-03T20:41:31.518Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T20:41:31.811Z] ---> create-netrc.sh [Pipeline] } [2022-05-03T20:41:31.820Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-03T20:41:32.157Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-03T20:41:32.168Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T20:41:32.456Z] ---> sudo-logs.sh [2022-05-03T20:41:32.456Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-03T20:41:32.497Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T20:41:32.788Z] ---> job-cost.sh [2022-05-03T20:41:32.788Z] lf-activate-venv: SKIPPING [2022-05-03T20:41:32.788Z] DEBUG: total: 0.10999999940395355 [2022-05-03T20:41:32.788Z] INFO: Retrieving Stack Cost... [2022-05-03T20:41:33.361Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-03T20:41:33.939Z] INFO: Archiving Costs [Pipeline] echo [2022-05-03T20:41:33.998Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T20:41:34.329Z] ---> logs-deploy.sh [2022-05-03T20:41:34.329Z] lf-activate-venv: SKIPPING [2022-05-03T20:41:34.329Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4000/3 [2022-05-03T20:41:34.329Z] INFO: archiving workspace using pattern(s): [2022-05-03T20:41:35.271Z] Archives upload complete. [2022-05-03T20:41:35.271Z] INFO: archiving logs to Nexus