Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9d9df07d49a3e39b4cabf841000690bf53ee4e45+ab0f97fec4d40b420f2060de726b99c5b26ce4cc (6019728c9cc3e7b783d6c6c526571190dbdb541f) 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-ssh14699330311907565495.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-ssh6493800672891114966.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-ssh6454136027679113755.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-ssh15558743357394740802.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-ssh8697360489797242096.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2], buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: DOCKER_IMAGE_NAME_SUFFIX: DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-43367 in /w/workspace/edgexfoundry_edgex-go_PR-4000 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/5 [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/5 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Merging remotes/origin/main commit ab0f97fec4d40b420f2060de726b99c5b26ce4cc into PR head commit 9d9df07d49a3e39b4cabf841000690bf53ee4e45 Merge succeeded, producing 5646598f80b8134c45f9c7fd956083eae86dc470 Checking out Revision 5646598f80b8134c45f9c7fd956083eae86dc470 (PR-4000) 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 ab0f97fec4d40b420f2060de726b99c5b26ce4cc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5646598f80b8134c45f9c7fd956083eae86dc470 # timeout=10 Commit message: "Merge commit 'ab0f97fec4d40b420f2060de726b99c5b26ce4cc' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-09T20:43:57.819Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-09T20:43:57.859Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-09T20:43:57.876Z] ========================================================= [2022-05-09T20:43:57.877Z] EdgeX Global Pipelines Version Info [2022-05-09T20:43:57.877Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 95301eac960c423ff67f3e4b4a8b02f6ccbd3fe1 # timeout=10 [2022-05-09T20:43:58.699Z] ------------------- [2022-05-09T20:43:58.699Z] stable info: [2022-05-09T20:43:58.699Z] ------------------- [2022-05-09T20:43:58.699Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-09T20:43:58.699Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-09T20:43:58.699Z] Message: update stable to v1.0.227 [2022-05-09T20:43:59.274Z] ------------------- [2022-05-09T20:43:59.274Z] experimental info: [2022-05-09T20:43:59.274Z] ------------------- [2022-05-09T20:43:59.274Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-09T20:43:59.274Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-09T20:43:59.274Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-09T20:43:59.402Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2022-05-09T20:43:59.417Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2022-05-09T20:43:59.428Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-09T20:43:59.445Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-09T20:43:59.460Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-09T20:43:59.472Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-09T20:43:59.483Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-09T20:43:59.496Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2022-05-09T20:43:59.510Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2022-05-09T20:43:59.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2022-05-09T20:43:59.533Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-09T20:43:59.544Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-09T20:43:59.557Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-09T20:43:59.569Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-09T20:43:59.582Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-09T20:43:59.593Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-09T20:43:59.605Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-09T20:43:59.617Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-09T20:43:59.629Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-05-09T20:43:59.640Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-05-09T20:43:59.653Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-09T20:43:59.664Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-09T20:43:59.676Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4000 [Pipeline] echo [2022-05-09T20:43:59.689Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4000 [Pipeline] echo [2022-05-09T20:43:59.700Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4000 [Pipeline] echo [2022-05-09T20:43:59.712Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5646598f80b8134c45f9c7fd956083eae86dc470 [Pipeline] echo [2022-05-09T20:43:59.727Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5646598 [Pipeline] echo [2022-05-09T20:43:59.742Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-09T20:43:59.787Z] provisioning config files... [2022-05-09T20:43:59.801Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/5@tmp/config8737170746842289417tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T20:44:00.112Z] ---> docker-login.sh [2022-05-09T20:44:00.112Z] nexus3.edgexfoundry.org:10001 [2022-05-09T20:44:00.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T20:44:00.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T20:44:00.635Z] Configure a credential helper to remove this warning. See [2022-05-09T20:44:00.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T20:44:00.635Z] [2022-05-09T20:44:00.635Z] Login Succeeded [2022-05-09T20:44:00.635Z] nexus3.edgexfoundry.org:10002 [2022-05-09T20:44:00.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T20:44:00.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T20:44:00.635Z] Configure a credential helper to remove this warning. See [2022-05-09T20:44:00.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T20:44:00.635Z] [2022-05-09T20:44:00.635Z] Login Succeeded [2022-05-09T20:44:00.635Z] nexus3.edgexfoundry.org:10003 [2022-05-09T20:44:00.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T20:44:00.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T20:44:00.895Z] Configure a credential helper to remove this warning. See [2022-05-09T20:44:00.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T20:44:00.895Z] [2022-05-09T20:44:00.895Z] Login Succeeded [2022-05-09T20:44:00.895Z] nexus3.edgexfoundry.org:10004 [2022-05-09T20:44:00.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T20:44:00.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T20:44:00.895Z] Configure a credential helper to remove this warning. See [2022-05-09T20:44:00.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T20:44:00.895Z] [2022-05-09T20:44:00.895Z] Login Succeeded [2022-05-09T20:44:00.895Z] docker.io [2022-05-09T20:44:01.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T20:44:01.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T20:44:01.436Z] Configure a credential helper to remove this warning. See [2022-05-09T20:44:01.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T20:44:01.436Z] [2022-05-09T20:44:01.436Z] Login Succeeded [2022-05-09T20:44:01.436Z] ---> docker-login.sh ends [Pipeline] } [2022-05-09T20:44:01.445Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-09T20:44:01.762Z] + 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-09T20:44:01.762Z] + + cut -d/ -f2 [2022-05-09T20:44:01.762Z] dirname cmd/core-command/Dockerfile [2022-05-09T20:44:01.762Z] + echo core-command,cmd/core-command/Dockerfile [2022-05-09T20:44:01.762Z] + dirname cmd/core-data/Dockerfile [2022-05-09T20:44:01.762Z] + cut -d/ -f2 [2022-05-09T20:44:01.762Z] + echo core-data,cmd/core-data/Dockerfile [2022-05-09T20:44:01.762Z] + dirname cmd/core-metadata/Dockerfile+ [2022-05-09T20:44:01.762Z] cut -d/ -f2 [2022-05-09T20:44:01.762Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2022-05-09T20:44:01.762Z] + dirname cmd/security-bootstrapper/Dockerfile [2022-05-09T20:44:01.762Z] + cut -d/ -f2 [2022-05-09T20:44:01.762Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2022-05-09T20:44:01.762Z] + dirname cmd/security-proxy-setup/Dockerfile+ [2022-05-09T20:44:01.762Z] cut -d/ -f2 [2022-05-09T20:44:01.762Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2022-05-09T20:44:01.762Z] + + dirname cmd/security-secretstore-setup/Dockerfile [2022-05-09T20:44:01.762Z] cut -d/ -f2 [2022-05-09T20:44:01.762Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2022-05-09T20:44:01.762Z] + dirname cmd/security-spiffe-token-provider/Dockerfile [2022-05-09T20:44:01.762Z] + cut -d/ -f2 [2022-05-09T20:44:01.763Z] + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile [2022-05-09T20:44:01.763Z] + dirname cmd/security-spire-agent/Dockerfile [2022-05-09T20:44:01.763Z] + cut -d/ -f2 [2022-05-09T20:44:01.763Z] + echo security-spire-agent,cmd/security-spire-agent/Dockerfile [2022-05-09T20:44:01.763Z] + dirname cmd/security-spire-config/Dockerfile [2022-05-09T20:44:01.763Z] + cut -d/ -f2 [2022-05-09T20:44:01.763Z] + echo security-spire-config,cmd/security-spire-config/Dockerfile [2022-05-09T20:44:01.763Z] + dirname cmd/security-spire-server/Dockerfile [2022-05-09T20:44:01.763Z] + cut -d/ -f2 [2022-05-09T20:44:01.763Z] + echo security-spire-server,cmd/security-spire-server/Dockerfile [2022-05-09T20:44:01.763Z] + dirname cmd/support-notifications/Dockerfile [2022-05-09T20:44:01.763Z] + cut -d/ -f2 [2022-05-09T20:44:01.763Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2022-05-09T20:44:01.763Z] + dirname cmd/support-scheduler/Dockerfile [2022-05-09T20:44:01.763Z] + cut -d/ -f2 [2022-05-09T20:44:01.763Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2022-05-09T20:44:01.763Z] + + dirname cmd/sys-mgmt-agent/Dockerfile [2022-05-09T20:44:01.763Z] cut -d/ -f2 [2022-05-09T20:44:01.763Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2022-05-09T20:44:01.803Z] 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-09T20:44:02.163Z] + git rev-list -1 --merges 5646598f80b8134c45f9c7fd956083eae86dc470~1..5646598f80b8134c45f9c7fd956083eae86dc470 [Pipeline] echo [2022-05-09T20:44:02.176Z] -----------> git rev-list -1 --merges 5646598f80b8134c45f9c7fd956083eae86dc470~1..5646598f80b8134c45f9c7fd956083eae86dc470 5646598f80b8134c45f9c7fd956083eae86dc470 [2022-05-09T20:44:02.176Z] 5646598f80b8134c45f9c7fd956083eae86dc470 [false] [Pipeline] sh [2022-05-09T20:44:02.470Z] + git log --format=format:%s -1 5646598f80b8134c45f9c7fd956083eae86dc470 [Pipeline] echo [2022-05-09T20:44:02.486Z] ========================================================= [2022-05-09T20:44:02.486Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-09T20:44:02.486Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-05-09T20:44:02.997Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-09T20:44:02.997Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-09T20:44:02.997Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-09T20:44:02.997Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-09T20:44:02.997Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-09T20:44:02.997Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-09T20:44:02.997Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:44:03.442Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-09T20:44:03.442Z] [2022-05-09T20:44:03.442Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:44:03.751Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-09T20:44:03.751Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-09T20:44:03.751Z] 1fe172e4850f: Pulling fs layer [2022-05-09T20:44:03.751Z] caf521ccaac6: Pulling fs layer [2022-05-09T20:44:03.751Z] 3ead6fa29328: Pulling fs layer [2022-05-09T20:44:03.751Z] 5c2a1cbceb83: Pulling fs layer [2022-05-09T20:44:03.751Z] a8d5f1318db7: Pulling fs layer [2022-05-09T20:44:03.751Z] a8d5f1318db7: Waiting [2022-05-09T20:44:03.751Z] c427282e49a2: Pulling fs layer [2022-05-09T20:44:03.751Z] 1827001aaf11: Pulling fs layer [2022-05-09T20:44:03.751Z] 0714d37db230: Pulling fs layer [2022-05-09T20:44:03.751Z] ac28cf19c067: Pulling fs layer [2022-05-09T20:44:03.751Z] 1827001aaf11: Waiting [2022-05-09T20:44:03.751Z] c427282e49a2: Waiting [2022-05-09T20:44:03.751Z] 0714d37db230: Waiting [2022-05-09T20:44:03.751Z] ca983d60f3e2: Pulling fs layer [2022-05-09T20:44:03.751Z] 9f894cec8388: Pulling fs layer [2022-05-09T20:44:03.751Z] ac28cf19c067: Waiting [2022-05-09T20:44:03.751Z] ca983d60f3e2: Waiting [2022-05-09T20:44:03.751Z] 9f894cec8388: Waiting [2022-05-09T20:44:03.751Z] caf521ccaac6: Verifying Checksum [2022-05-09T20:44:03.751Z] caf521ccaac6: Download complete [2022-05-09T20:44:03.751Z] 5c2a1cbceb83: Download complete [2022-05-09T20:44:04.040Z] a8d5f1318db7: Verifying Checksum [2022-05-09T20:44:04.040Z] a8d5f1318db7: Download complete [2022-05-09T20:44:04.040Z] 3ead6fa29328: Verifying Checksum [2022-05-09T20:44:04.040Z] 3ead6fa29328: Download complete [2022-05-09T20:44:04.040Z] c427282e49a2: Download complete [2022-05-09T20:44:04.040Z] 0714d37db230: Verifying Checksum [2022-05-09T20:44:04.040Z] 0714d37db230: Download complete [2022-05-09T20:44:04.040Z] ac28cf19c067: Download complete [2022-05-09T20:44:04.040Z] ca983d60f3e2: Verifying Checksum [2022-05-09T20:44:04.040Z] ca983d60f3e2: Download complete [2022-05-09T20:44:04.040Z] 9f894cec8388: Verifying Checksum [2022-05-09T20:44:04.040Z] 9f894cec8388: Download complete [2022-05-09T20:44:04.040Z] 1fe172e4850f: Download complete [2022-05-09T20:44:04.304Z] 1827001aaf11: Verifying Checksum [2022-05-09T20:44:04.305Z] 1827001aaf11: Download complete [2022-05-09T20:44:05.688Z] 1fe172e4850f: Pull complete [2022-05-09T20:44:05.688Z] caf521ccaac6: Pull complete [2022-05-09T20:44:06.258Z] 3ead6fa29328: Pull complete [2022-05-09T20:44:06.258Z] 5c2a1cbceb83: Pull complete [2022-05-09T20:44:06.518Z] a8d5f1318db7: Pull complete [2022-05-09T20:44:06.782Z] c427282e49a2: Pull complete [2022-05-09T20:44:08.691Z] 1827001aaf11: Pull complete [2022-05-09T20:44:08.691Z] 0714d37db230: Pull complete [2022-05-09T20:44:08.959Z] ac28cf19c067: Pull complete [2022-05-09T20:44:08.959Z] ca983d60f3e2: Pull complete [2022-05-09T20:44:08.959Z] 9f894cec8388: Pull complete [2022-05-09T20:44:08.959Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-09T20:44:08.959Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-09T20:44:08.959Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-09T20:44:09.045Z] prd-ubuntu20.04-docker-8c-8g-43367 does not seem to be running inside a container [2022-05-09T20:44:09.092Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@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-09T20:44:10.656Z] $ docker top 811d8f7875df6464926ed12749f6e82f469698a7c4f92218b544071fe7ede69c -eo pid,comm [2022-05-09T20:44:10.730Z] 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-09T20:44:10.730Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-09T20:44:10.767Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-09T20:44:10.767Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-09T20:44:10.906Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-09T20:44:10.911Z] $ docker exec 811d8f7875df6464926ed12749f6e82f469698a7c4f92218b544071fe7ede69c ssh-agent [2022-05-09T20:44:11.038Z] SSH_AUTH_SOCK=/tmp/ssh-cTwi41RtfGDs/agent.32 [2022-05-09T20:44:11.039Z] SSH_AGENT_PID=38 [2022-05-09T20:44:11.046Z] Running ssh-add (command line suppressed) [2022-05-09T20:44:11.173Z] Identity added: /w/workspace/edgex-go/5@tmp/private_key_2377605067370063597.key (/w/workspace/edgex-go/5@tmp/private_key_2377605067370063597.key) [2022-05-09T20:44:11.188Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-09T20:44:11.481Z] + git tag --points-at HEAD [Pipeline] } [2022-05-09T20:44:11.502Z] $ docker exec --env ******** --env ******** 811d8f7875df6464926ed12749f6e82f469698a7c4f92218b544071fe7ede69c ssh-agent -k [2022-05-09T20:44:11.621Z] unset SSH_AUTH_SOCK; [2022-05-09T20:44:11.621Z] unset SSH_AGENT_PID; [2022-05-09T20:44:11.621Z] echo Agent pid 38 killed; [2022-05-09T20:44:11.632Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-09T20:44:11.658Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-09T20:44:11.659Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-09T20:44:11.806Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-09T20:44:11.812Z] $ docker exec 811d8f7875df6464926ed12749f6e82f469698a7c4f92218b544071fe7ede69c ssh-agent [2022-05-09T20:44:11.961Z] SSH_AUTH_SOCK=/tmp/ssh-XHFc3mteAu44/agent.73 [2022-05-09T20:44:11.961Z] SSH_AGENT_PID=79 [2022-05-09T20:44:11.968Z] Running ssh-add (command line suppressed) [2022-05-09T20:44:12.096Z] Identity added: /w/workspace/edgex-go/5@tmp/private_key_8589420710179798925.key (/w/workspace/edgex-go/5@tmp/private_key_8589420710179798925.key) [2022-05-09T20:44:12.118Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-09T20:44:12.414Z] + git semver init [2022-05-09T20:44:12.675Z] 2022-05-09 20:44:12,627 [run_init] DEBUG init version:0.0.0 force:False [2022-05-09T20:44:12.675Z] 2022-05-09 20:44:12,628 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/5/.semver [2022-05-09T20:44:12.675Z] 2022-05-09 20:44:12,628 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/5/.semver [2022-05-09T20:44:12.675Z] 2022-05-09 20:44:12,629 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/edgex-go.git', '/w/workspace/edgex-go/5/.semver'], cwd=/w/workspace/edgex-go/5, universal_newlines=False, shell=None, istream=None) [2022-05-09T20:44:17.970Z] 2022-05-09 20:44:16,906 [append_file] DEBUG append to file:/w/workspace/edgex-go/5/.git/info/exclude [2022-05-09T20:44:17.970Z] 2022-05-09 20:44:16,906 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/5/.semver/PR-4000 with force:False [2022-05-09T20:44:17.970Z] 2022-05-09 20:44:16,907 [write_file] DEBUG write to file:/w/workspace/edgex-go/5/.semver/PR-4000 [2022-05-09T20:44:17.970Z] 2022-05-09 20:44:16,912 [execute] INFO git cat-file --batch-check [2022-05-09T20:44:17.970Z] 2022-05-09 20:44:16,912 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/5/.semver, universal_newlines=False, shell=None, istream=) [2022-05-09T20:44:17.970Z] 2022-05-09 20:44:16,918 [execute] INFO git cat-file --batch [2022-05-09T20:44:17.970Z] 2022-05-09 20:44:16,918 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/5/.semver, universal_newlines=False, shell=None, istream=) [2022-05-09T20:44:17.970Z] 2022-05-09 20:44:16,922 [read_version] DEBUG read version from /w/workspace/edgex-go/5/.semver/PR-4000 [2022-05-09T20:44:17.970Z] 0.0.0 [Pipeline] } [2022-05-09T20:44:17.984Z] $ docker exec --env ******** --env ******** 811d8f7875df6464926ed12749f6e82f469698a7c4f92218b544071fe7ede69c ssh-agent -k [2022-05-09T20:44:18.091Z] unset SSH_AUTH_SOCK; [2022-05-09T20:44:18.091Z] unset SSH_AGENT_PID; [2022-05-09T20:44:18.091Z] echo Agent pid 79 killed; [2022-05-09T20:44:18.104Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-09T20:44:18.407Z] + git semver [Pipeline] } [2022-05-09T20:44:18.688Z] $ docker stop --time=1 811d8f7875df6464926ed12749f6e82f469698a7c4f92218b544071fe7ede69c [2022-05-09T20:44:20.091Z] $ docker rm -f 811d8f7875df6464926ed12749f6e82f469698a7c4f92218b544071fe7ede69c [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-09T20:44:20.492Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-09T20:44:20.765Z] Stashed 1 file(s) [Pipeline] echo [2022-05-09T20:44:20.768Z] [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-09T20:44:20.894Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-09T20:44:20.900Z] ========================================================= [2022-05-09T20:44:20.900Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-09T20:44:20.900Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-05-09T20:44:21.224Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-09T20:44:21.224Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-09T20:44:21.224Z] 59bf1c3509f3: Pulling fs layer [2022-05-09T20:44:21.224Z] 666ba61612fd: Pulling fs layer [2022-05-09T20:44:21.224Z] 8ed8ca486205: Pulling fs layer [2022-05-09T20:44:21.224Z] 4fe6c5a15a65: Pulling fs layer [2022-05-09T20:44:21.224Z] 22a0e8bec74d: Pulling fs layer [2022-05-09T20:44:21.224Z] ca2b28591e48: Pulling fs layer [2022-05-09T20:44:21.224Z] a51346096db8: Pulling fs layer [2022-05-09T20:44:21.224Z] daebc70d1ce1: Pulling fs layer [2022-05-09T20:44:21.224Z] 0e18a0eac166: Pulling fs layer [2022-05-09T20:44:21.224Z] 4fe6c5a15a65: Waiting [2022-05-09T20:44:21.224Z] 22a0e8bec74d: Waiting [2022-05-09T20:44:21.224Z] ca2b28591e48: Waiting [2022-05-09T20:44:21.224Z] a51346096db8: Waiting [2022-05-09T20:44:21.224Z] daebc70d1ce1: Waiting [2022-05-09T20:44:21.224Z] 8ed8ca486205: Verifying Checksum [2022-05-09T20:44:21.224Z] 8ed8ca486205: Download complete [2022-05-09T20:44:21.224Z] 666ba61612fd: Verifying Checksum [2022-05-09T20:44:21.224Z] 666ba61612fd: Download complete [2022-05-09T20:44:21.224Z] 22a0e8bec74d: Verifying Checksum [2022-05-09T20:44:21.224Z] 22a0e8bec74d: Download complete [2022-05-09T20:44:21.224Z] ca2b28591e48: Download complete [2022-05-09T20:44:21.224Z] a51346096db8: Verifying Checksum [2022-05-09T20:44:21.224Z] a51346096db8: Download complete [2022-05-09T20:44:21.224Z] 59bf1c3509f3: Download complete [2022-05-09T20:44:21.483Z] daebc70d1ce1: Verifying Checksum [2022-05-09T20:44:21.484Z] daebc70d1ce1: Download complete [2022-05-09T20:44:21.484Z] 59bf1c3509f3: Pull complete [2022-05-09T20:44:21.753Z] 666ba61612fd: Pull complete [2022-05-09T20:44:21.753Z] 8ed8ca486205: Pull complete [2022-05-09T20:44:22.013Z] 0e18a0eac166: Verifying Checksum [2022-05-09T20:44:22.013Z] 4fe6c5a15a65: Verifying Checksum [2022-05-09T20:44:22.013Z] 4fe6c5a15a65: Download complete [2022-05-09T20:44:26.234Z] 4fe6c5a15a65: Pull complete [2022-05-09T20:44:26.234Z] 22a0e8bec74d: Pull complete [2022-05-09T20:44:26.495Z] ca2b28591e48: Pull complete [2022-05-09T20:44:26.495Z] a51346096db8: Pull complete [2022-05-09T20:44:26.495Z] daebc70d1ce1: Pull complete [2022-05-09T20:44:29.035Z] 0e18a0eac166: Pull complete [2022-05-09T20:44:29.035Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-09T20:44:29.035Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-09T20:44:29.035Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] fileExists [Pipeline] sh [2022-05-09T20:44:29.341Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-09T20:44:29.341Z] WORKDIR /edgex [2022-05-09T20:44:29.341Z] COPY go.mod . [2022-05-09T20:44:29.341Z] RUN go mod download [2022-05-09T20:44:29.341Z] + docker build -t ci-base-image-x86_64 -f - . [2022-05-09T20:44:30.721Z] Sending build context to Docker daemon 335.3MB [2022-05-09T20:44:30.721Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-09T20:44:30.721Z] ---> f018257e8ee9 [2022-05-09T20:44:30.721Z] Step 2/4 : WORKDIR /edgex [2022-05-09T20:44:33.334Z] ---> Running in b5d221407043 [2022-05-09T20:44:33.334Z] Removing intermediate container b5d221407043 [2022-05-09T20:44:33.334Z] ---> 6ee792cd7b96 [2022-05-09T20:44:33.334Z] Step 3/4 : COPY go.mod . [2022-05-09T20:44:33.334Z] ---> ec75676b2700 [2022-05-09T20:44:33.334Z] Step 4/4 : RUN go mod download [2022-05-09T20:44:33.334Z] ---> Running in 8572964fa9ef [2022-05-09T20:44:35.858Z] Still waiting to schedule task [2022-05-09T20:44:35.859Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-05-09T20:44:55.311Z] Removing intermediate container 8572964fa9ef [2022-05-09T20:44:55.311Z] ---> ee35f01632f2 [2022-05-09T20:44:55.311Z] Successfully built ee35f01632f2 [2022-05-09T20:44:55.311Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:44:55.613Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-09T20:44:55.613Z] . [Pipeline] withDockerContainer [2022-05-09T20:44:55.687Z] prd-ubuntu20.04-docker-8c-8g-43367 does not seem to be running inside a container [2022-05-09T20:44:55.724Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@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-09T20:44:56.225Z] $ docker top 2710135c035499b71c966cbfdd141624e062a58fb93a36d6aabf835aa1d92d49 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-09T20:44:56.586Z] + go version [2022-05-09T20:44:56.586Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-09T20:44:56.600Z] $ docker stop --time=1 2710135c035499b71c966cbfdd141624e062a58fb93a36d6aabf835aa1d92d49 [2022-05-09T20:44:57.912Z] $ docker rm -f 2710135c035499b71c966cbfdd141624e062a58fb93a36d6aabf835aa1d92d49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:44:58.337Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-09T20:44:58.337Z] . [Pipeline] withDockerContainer [2022-05-09T20:44:58.410Z] prd-ubuntu20.04-docker-8c-8g-43367 does not seem to be running inside a container [2022-05-09T20:44:58.452Z] $ 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/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@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-09T20:44:58.851Z] $ docker top 03c8d4438af3bc1c536bb8c6927f3f66539fae76197b5460a2d0d9199adb2b11 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-09T20:44:58.939Z] ========================================================= [2022-05-09T20:44:58.939Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-05-09T20:44:58.939Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-05-09T20:44:59.233Z] + make test [2022-05-09T20:44:59.233Z] go mod tidy -compat=1.17 [2022-05-09T20:44:59.492Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-09T20:45:06.084Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-05-09T20:45:18.371Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-05-09T20:45:18.371Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-05-09T20:45:18.371Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-05-09T20:45:18.371Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-05-09T20:45:18.371Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-05-09T20:45:18.371Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-05-09T20:45:18.371Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-05-09T20:45:18.371Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-05-09T20:45:18.371Z] ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] [2022-05-09T20:45:18.371Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2022-05-09T20:45:18.371Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2022-05-09T20:45:18.371Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2022-05-09T20:45:18.371Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2022-05-09T20:45:18.371Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2022-05-09T20:45:18.371Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2022-05-09T20:45:18.646Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.090s coverage: 28.7% of statements [2022-05-09T20:45:18.646Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2022-05-09T20:45:18.646Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2022-05-09T20:45:19.249Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.114s coverage: 98.5% of statements [2022-05-09T20:45:19.249Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2022-05-09T20:45:19.508Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.087s coverage: 53.4% of statements [2022-05-09T20:45:19.508Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2022-05-09T20:45:19.508Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2022-05-09T20:45:23.699Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 3.642s coverage: 89.2% of statements [2022-05-09T20:45:23.699Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] [2022-05-09T20:45:23.699Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2022-05-09T20:45:23.699Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2022-05-09T20:45:23.699Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.069s coverage: 84.4% of statements [2022-05-09T20:45:23.699Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2022-05-09T20:45:23.699Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2022-05-09T20:45:23.699Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] [2022-05-09T20:45:23.699Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2022-05-09T20:45:23.699Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2022-05-09T20:45:23.699Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.450s coverage: 95.6% of statements [2022-05-09T20:45:23.699Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2022-05-09T20:45:23.699Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2022-05-09T20:45:23.699Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.071s coverage: 72.2% of statements [2022-05-09T20:45:23.699Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2022-05-09T20:45:23.699Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2022-05-09T20:45:23.699Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2022-05-09T20:45:23.699Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2022-05-09T20:45:23.699Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2022-05-09T20:45:23.699Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.054s coverage: 60.0% of statements [2022-05-09T20:45:23.699Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2022-05-09T20:45:23.699Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2022-05-09T20:45:23.699Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2022-05-09T20:45:23.699Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.067s coverage: 0.9% of statements [2022-05-09T20:45:23.699Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2022-05-09T20:45:23.699Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.073s coverage: 58.8% of statements [2022-05-09T20:45:23.699Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.053s coverage: 29.6% of statements [2022-05-09T20:45:23.699Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2022-05-09T20:45:23.699Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.065s coverage: 47.1% of statements [2022-05-09T20:45:23.699Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.064s coverage: 79.5% of statements [2022-05-09T20:45:23.699Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.049s coverage: 94.1% of statements [2022-05-09T20:45:23.699Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.088s coverage: 96.3% of statements [2022-05-09T20:45:23.699Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.068s coverage: 87.5% of statements [2022-05-09T20:45:31.830Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.070s coverage: 94.4% of statements [2022-05-09T20:45:31.830Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.050s coverage: 44.8% of statements [2022-05-09T20:45:34.378Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.192s coverage: 82.5% of statements [2022-05-09T20:45:34.378Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2022-05-09T20:45:44.384Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.087s coverage: 92.9% of statements [2022-05-09T20:45:44.384Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2022-05-09T20:45:44.384Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2022-05-09T20:45:44.384Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2022-05-09T20:45:44.384Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.036s coverage: 65.1% of statements [2022-05-09T20:45:44.384Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2022-05-09T20:45:44.384Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2022-05-09T20:45:44.384Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2022-05-09T20:45:44.384Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2022-05-09T20:45:44.384Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2022-05-09T20:45:44.384Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.079s coverage: 87.2% of statements [2022-05-09T20:45:44.384Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2022-05-09T20:45:44.384Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2022-05-09T20:45:44.384Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.072s coverage: 100.0% of statements [2022-05-09T20:45:44.384Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2022-05-09T20:45:44.384Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.060s coverage: 58.8% of statements [2022-05-09T20:45:44.384Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2022-05-09T20:45:44.384Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.083s coverage: 80.0% of statements [2022-05-09T20:45:44.384Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.066s coverage: 87.2% of statements [2022-05-09T20:45:44.384Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.066s coverage: 85.4% of statements [2022-05-09T20:45:44.384Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.146s coverage: 91.2% of statements [2022-05-09T20:45:44.384Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2022-05-09T20:45:44.384Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.182s coverage: 64.4% of statements [2022-05-09T20:45:44.384Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2022-05-09T20:45:44.384Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2022-05-09T20:45:44.384Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.062s coverage: 100.0% of statements [2022-05-09T20:45:44.384Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.032s coverage: 89.4% of statements [2022-05-09T20:45:44.384Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.033s coverage: 100.0% of statements [2022-05-09T20:45:44.385Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.041s coverage: 73.7% of statements [2022-05-09T20:45:44.385Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.035s coverage: 100.0% of statements [2022-05-09T20:45:44.385Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.336s coverage: 65.4% of statements [2022-05-09T20:45:44.385Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2022-05-09T20:45:44.385Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2022-05-09T20:45:44.385Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2022-05-09T20:45:44.385Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.166s coverage: 43.8% of statements [2022-05-09T20:45:44.385Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2022-05-09T20:45:44.385Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2022-05-09T20:45:44.385Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.067s coverage: 89.5% of statements [2022-05-09T20:45:44.385Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2022-05-09T20:45:44.385Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.064s coverage: 84.8% of statements [2022-05-09T20:45:44.385Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] [2022-05-09T20:45:44.385Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] [2022-05-09T20:45:44.385Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] [2022-05-09T20:45:44.385Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] [2022-05-09T20:45:44.385Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.079s coverage: 17.7% of statements [2022-05-09T20:45:44.385Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2022-05-09T20:45:44.385Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2022-05-09T20:45:44.385Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2022-05-09T20:45:44.385Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2022-05-09T20:45:44.385Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.168s coverage: 92.3% of statements [2022-05-09T20:45:44.385Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2022-05-09T20:45:44.385Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2022-05-09T20:45:44.385Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] [2022-05-09T20:45:44.385Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2022-05-09T20:45:44.385Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.059s coverage: 63.2% of statements [2022-05-09T20:45:44.385Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2022-05-09T20:45:44.385Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2022-05-09T20:45:44.385Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.102s coverage: 97.7% of statements [2022-05-09T20:45:44.385Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2022-05-09T20:45:44.385Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2022-05-09T20:45:44.385Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2022-05-09T20:45:44.385Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] [2022-05-09T20:45:44.385Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.065s coverage: 28.9% of statements [2022-05-09T20:45:44.385Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] [2022-05-09T20:45:44.385Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] [2022-05-09T20:45:44.385Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2022-05-09T20:45:44.385Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2022-05-09T20:45:44.385Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] [2022-05-09T20:45:44.385Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2022-05-09T20:45:44.385Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.055s coverage: 100.0% of statements [2022-05-09T20:45:44.385Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.036s coverage: 96.9% of statements [2022-05-09T20:45:44.385Z] 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-09T20:46:02.488Z] GO111MODULE=on go vet ./... [2022-05-09T20:46:06.682Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-09T20:46:07.255Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-09T20:46:07.515Z] ./bin/test-attribution-txt.sh [2022-05-09T20:46:08.085Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-05-09T20:46:08.085Z] make: *** [Makefile:146: test] Error 1 [Pipeline] } [2022-05-09T20:46:08.105Z] $ docker stop --time=1 03c8d4438af3bc1c536bb8c6927f3f66539fae76197b5460a2d0d9199adb2b11 [2022-05-09T20:46:10.172Z] $ docker rm -f 03c8d4438af3bc1c536bb8c6927f3f66539fae76197b5460a2d0d9199adb2b11 [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-09T20:46:10.591Z] Failed in branch amd64 [2022-05-09T21:14:49.722Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-44241 in /w/workspace/edgexfoundry_edgex-go_PR-4000 [Pipeline] { [Pipeline] ws [2022-05-09T21:14:49.740Z] Running in /w/workspace/edgex-go/5 [Pipeline] { [Pipeline] checkout [2022-05-09T21:14:50.138Z] The recommended git tool is: git [2022-05-09T21:14:57.650Z] using credential edgex-jenkins-ssh [2022-05-09T21:14:57.675Z] Cloning the remote Git repository [2022-05-09T21:14:57.764Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2022-05-09T21:14:57.850Z] > git init /w/workspace/edgex-go/5 # timeout=10 [2022-05-09T21:14:57.929Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-05-09T21:14:57.930Z] > git --version # timeout=10 [2022-05-09T21:14:57.951Z] > git --version # 'git version 2.25.1' [2022-05-09T21:14:57.953Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-09T21:14:58.059Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-09T21:15:16.445Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-05-09T21:15:16.471Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-09T21:15:16.504Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-05-09T21:15:16.555Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-05-09T21:15:16.556Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-09T21:15:16.572Z] > 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-09T21:15:17.355Z] Merging remotes/origin/main commit ab0f97fec4d40b420f2060de726b99c5b26ce4cc into PR head commit 9d9df07d49a3e39b4cabf841000690bf53ee4e45 [2022-05-09T21:15:18.112Z] Merge succeeded, producing d11a83d73715f22585f512328550f7b8b897bc7f [2022-05-09T21:15:18.112Z] Checking out Revision d11a83d73715f22585f512328550f7b8b897bc7f (PR-4000) [2022-05-09T21:15:17.384Z] > git config core.sparsecheckout # timeout=10 [2022-05-09T21:15:17.407Z] > git checkout -f 9d9df07d49a3e39b4cabf841000690bf53ee4e45 # timeout=10 [2022-05-09T21:15:17.687Z] > git remote # timeout=10 [2022-05-09T21:15:17.715Z] > git config --get remote.origin.url # timeout=10 [2022-05-09T21:15:17.743Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-09T21:15:17.759Z] > git merge ab0f97fec4d40b420f2060de726b99c5b26ce4cc # timeout=10 [2022-05-09T21:15:18.096Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-09T21:15:18.126Z] > git config core.sparsecheckout # timeout=10 [2022-05-09T21:15:18.150Z] > git checkout -f d11a83d73715f22585f512328550f7b8b897bc7f # timeout=10 [2022-05-09T21:15:22.519Z] Commit message: "Merge commit 'ab0f97fec4d40b420f2060de726b99c5b26ce4cc' into HEAD" [2022-05-09T21:15:22.546Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-09T21:15:23.632Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-09T21:15:23.632Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-09T21:15:23.632Z] Dload Upload Total Spent Left Speed [2022-05-09T21:15:23.632Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 62005 0 --:--:-- --:--:-- --:--:-- 62005 [Pipeline] sh [2022-05-09T21:15:24.183Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-09T21:15:22.532Z] > git rev-list --no-walk 95301eac960c423ff67f3e4b4a8b02f6ccbd3fe1 # timeout=10 [2022-05-09T21:15:24.545Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-09T21:15:24.545Z] + sudo tee /etc/docker/daemon.new [2022-05-09T21:15:24.545Z] { [2022-05-09T21:15:24.545Z] "registry-mirrors": [ [2022-05-09T21:15:24.545Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-09T21:15:24.545Z] ], [2022-05-09T21:15:24.545Z] "bip": "10.250.0.254/24", [2022-05-09T21:15:24.545Z] "hosts": [ [2022-05-09T21:15:24.545Z] "tcp://0.0.0.0:5555", [2022-05-09T21:15:24.545Z] "unix:///var/run/docker.sock" [2022-05-09T21:15:24.545Z] ], [2022-05-09T21:15:24.545Z] "mtu": 1458, [2022-05-09T21:15:24.545Z] "selinux-enabled": true, [2022-05-09T21:15:24.545Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-09T21:15:24.545Z] } [Pipeline] sh [2022-05-09T21:15:24.907Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-09T21:15:25.265Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-09T21:15:43.655Z] provisioning config files... [2022-05-09T21:15:43.691Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/5@tmp/config7324630619481528122tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T21:15:44.169Z] ---> docker-login.sh [2022-05-09T21:15:44.169Z] nexus3.edgexfoundry.org:10001 [2022-05-09T21:15:44.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T21:15:45.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T21:15:45.364Z] Configure a credential helper to remove this warning. See [2022-05-09T21:15:45.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T21:15:45.364Z] [2022-05-09T21:15:45.364Z] Login Succeeded [2022-05-09T21:15:45.364Z] nexus3.edgexfoundry.org:10002 [2022-05-09T21:15:45.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T21:15:45.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T21:15:45.911Z] Configure a credential helper to remove this warning. See [2022-05-09T21:15:45.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T21:15:45.912Z] [2022-05-09T21:15:45.912Z] Login Succeeded [2022-05-09T21:15:45.912Z] nexus3.edgexfoundry.org:10003 [2022-05-09T21:15:46.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T21:15:46.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T21:15:46.190Z] Configure a credential helper to remove this warning. See [2022-05-09T21:15:46.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T21:15:46.190Z] [2022-05-09T21:15:46.190Z] Login Succeeded [2022-05-09T21:15:46.478Z] nexus3.edgexfoundry.org:10004 [2022-05-09T21:15:46.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T21:15:46.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T21:15:46.761Z] Configure a credential helper to remove this warning. See [2022-05-09T21:15:46.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T21:15:46.761Z] [2022-05-09T21:15:46.761Z] Login Succeeded [2022-05-09T21:15:46.761Z] docker.io [2022-05-09T21:15:47.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T21:15:47.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T21:15:47.638Z] Configure a credential helper to remove this warning. See [2022-05-09T21:15:47.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T21:15:47.638Z] [2022-05-09T21:15:47.638Z] Login Succeeded [2022-05-09T21:15:47.638Z] ---> docker-login.sh ends [Pipeline] } [2022-05-09T21:15:47.658Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-09T21:15:48.179Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-09T21:15:48.191Z] ========================================================= [2022-05-09T21:15:48.191Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-09T21:15:48.191Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-05-09T21:15:48.611Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-09T21:15:48.887Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-09T21:15:48.887Z] 9b3977197b4f: Pulling fs layer [2022-05-09T21:15:48.887Z] 1a89e8eeedd5: Pulling fs layer [2022-05-09T21:15:48.887Z] 94645a83ff95: Pulling fs layer [2022-05-09T21:15:48.887Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-09T21:15:48.887Z] 0c92f367c5e7: Pulling fs layer [2022-05-09T21:15:48.887Z] 3096ccb668a1: Pulling fs layer [2022-05-09T21:15:48.887Z] e8cf19c19ddd: Pulling fs layer [2022-05-09T21:15:48.887Z] a4caa8a26152: Pulling fs layer [2022-05-09T21:15:48.887Z] 3096ccb668a1: Waiting [2022-05-09T21:15:48.887Z] e8cf19c19ddd: Waiting [2022-05-09T21:15:48.887Z] a4caa8a26152: Waiting [2022-05-09T21:15:48.887Z] 3f3a8bcf1eab: Waiting [2022-05-09T21:15:48.887Z] 0c92f367c5e7: Waiting [2022-05-09T21:15:48.887Z] 94645a83ff95: Verifying Checksum [2022-05-09T21:15:48.887Z] 94645a83ff95: Download complete [2022-05-09T21:15:48.887Z] 1a89e8eeedd5: Verifying Checksum [2022-05-09T21:15:48.887Z] 1a89e8eeedd5: Download complete [2022-05-09T21:15:48.887Z] 0c92f367c5e7: Download complete [2022-05-09T21:15:48.887Z] 3096ccb668a1: Verifying Checksum [2022-05-09T21:15:48.887Z] 3096ccb668a1: Download complete [2022-05-09T21:15:48.887Z] 9b3977197b4f: Verifying Checksum [2022-05-09T21:15:48.887Z] e8cf19c19ddd: Verifying Checksum [2022-05-09T21:15:48.887Z] e8cf19c19ddd: Download complete [2022-05-09T21:15:49.878Z] 9b3977197b4f: Pull complete [2022-05-09T21:15:50.478Z] 1a89e8eeedd5: Pull complete [2022-05-09T21:15:50.766Z] 94645a83ff95: Pull complete [2022-05-09T21:15:51.046Z] a4caa8a26152: Verifying Checksum [2022-05-09T21:15:51.046Z] a4caa8a26152: Download complete [2022-05-09T21:15:51.644Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-09T21:15:51.644Z] 3f3a8bcf1eab: Download complete [2022-05-09T21:16:06.752Z] 3f3a8bcf1eab: Pull complete [2022-05-09T21:16:06.752Z] 0c92f367c5e7: Pull complete [2022-05-09T21:16:06.752Z] 3096ccb668a1: Pull complete [2022-05-09T21:16:06.752Z] e8cf19c19ddd: Pull complete [2022-05-09T21:16:12.175Z] a4caa8a26152: Pull complete [2022-05-09T21:16:12.175Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-09T21:16:12.175Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-09T21:16:12.175Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] fileExists [Pipeline] sh [2022-05-09T21:16:12.543Z] + docker build -t ci-base-image-arm64 -f - . [2022-05-09T21:16:12.543Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-09T21:16:12.543Z] WORKDIR /edgex [2022-05-09T21:16:12.543Z] COPY go.mod . [2022-05-09T21:16:12.543Z] RUN go mod download [2022-05-09T21:16:15.188Z] Sending build context to Docker daemon 169.4MB [2022-05-09T21:16:15.188Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-09T21:16:15.188Z] ---> 725f1c02e7f9 [2022-05-09T21:16:15.188Z] Step 2/4 : WORKDIR /edgex [2022-05-09T21:16:17.180Z] ---> Running in 5013da06ea59 [2022-05-09T21:16:17.778Z] Removing intermediate container 5013da06ea59 [2022-05-09T21:16:17.778Z] ---> 045423d42a4d [2022-05-09T21:16:17.778Z] Step 3/4 : COPY go.mod . [2022-05-09T21:16:18.378Z] ---> fd20af15e670 [2022-05-09T21:16:18.378Z] Step 4/4 : RUN go mod download [2022-05-09T21:16:18.378Z] ---> Running in a6aef36a48c7 [2022-05-09T21:17:14.949Z] Removing intermediate container a6aef36a48c7 [2022-05-09T21:17:14.949Z] ---> 6ba8284aaaa8 [2022-05-09T21:17:14.949Z] Successfully built 6ba8284aaaa8 [2022-05-09T21:17:14.949Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T21:17:15.302Z] + docker inspect -f . ci-base-image-arm64 [2022-05-09T21:17:15.302Z] . [Pipeline] withDockerContainer [2022-05-09T21:17:15.581Z] prd-ubuntu20.04-docker-arm64-4c-16g-44241 does not seem to be running inside a container [2022-05-09T21:17:15.683Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@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-09T21:17:17.149Z] $ docker top 42f31c3e80f92d21510d38e81a056a49793cacb3cd2896975fb6c96bb414af9d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-09T21:17:18.106Z] + go version [2022-05-09T21:17:18.106Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-09T21:17:18.137Z] $ docker stop --time=1 42f31c3e80f92d21510d38e81a056a49793cacb3cd2896975fb6c96bb414af9d [2022-05-09T21:17:19.859Z] $ docker rm -f 42f31c3e80f92d21510d38e81a056a49793cacb3cd2896975fb6c96bb414af9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-09T21:17:20.546Z] + docker inspect -f . ci-base-image-arm64 [2022-05-09T21:17:20.546Z] . [Pipeline] withDockerContainer [2022-05-09T21:17:20.821Z] prd-ubuntu20.04-docker-arm64-4c-16g-44241 does not seem to be running inside a container [2022-05-09T21:17:20.925Z] $ 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/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@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-09T21:17:22.362Z] $ docker top 922b060606fa04b133d1b63dbd35c1580f052c9a81363bf302cfb04675066ed0 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-09T21:17:22.657Z] ========================================================= [2022-05-09T21:17:22.657Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-05-09T21:17:22.657Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-05-09T21:17:23.317Z] + make test [2022-05-09T21:17:23.317Z] go mod tidy -compat=1.17 [2022-05-09T21:17:24.303Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-09T21:18:03.340Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-05-09T21:19:55.325Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-05-09T21:19:55.325Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-05-09T21:19:55.325Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-05-09T21:19:55.325Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-05-09T21:20:03.698Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-05-09T21:20:03.698Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-05-09T21:20:03.698Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-05-09T21:20:03.698Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-05-09T21:20:03.698Z] ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] [2022-05-09T21:20:03.698Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2022-05-09T21:20:03.698Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2022-05-09T21:20:04.308Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2022-05-09T21:20:04.308Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2022-05-09T21:20:04.308Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2022-05-09T21:20:04.308Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2022-05-09T21:20:19.450Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.251s coverage: 28.7% of statements [2022-05-09T21:20:19.450Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2022-05-09T21:20:19.450Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2022-05-09T21:20:26.237Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.444s coverage: 98.5% of statements [2022-05-09T21:20:26.237Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2022-05-09T21:20:26.237Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.469s coverage: 53.4% of statements [2022-05-09T21:20:26.237Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2022-05-09T21:20:26.237Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2022-05-09T21:20:53.155Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 21.433s coverage: 89.2% of statements [2022-05-09T21:20:53.155Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] [2022-05-09T21:20:53.155Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2022-05-09T21:20:53.155Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2022-05-09T21:20:53.155Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.395s coverage: 84.4% of statements [2022-05-09T21:20:53.155Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2022-05-09T21:20:53.155Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2022-05-09T21:20:53.155Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] [2022-05-09T21:20:53.155Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2022-05-09T21:20:53.155Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2022-05-09T21:20:53.155Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 2.640s coverage: 95.6% of statements [2022-05-09T21:20:53.155Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2022-05-09T21:20:53.155Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2022-05-09T21:20:53.155Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.465s coverage: 72.2% of statements [2022-05-09T21:20:53.155Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2022-05-09T21:20:53.155Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2022-05-09T21:20:53.155Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2022-05-09T21:20:53.155Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2022-05-09T21:20:53.155Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2022-05-09T21:20:53.155Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.664s coverage: 60.0% of statements [2022-05-09T21:20:53.155Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2022-05-09T21:20:53.155Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2022-05-09T21:20:53.155Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2022-05-09T21:20:53.156Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.662s coverage: 0.9% of statements [2022-05-09T21:20:53.156Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2022-05-09T21:20:53.156Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.353s coverage: 58.8% of statements [2022-05-09T21:20:53.156Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.615s coverage: 29.6% of statements [2022-05-09T21:20:53.156Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2022-05-09T21:20:53.156Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.240s coverage: 47.1% of statements [2022-05-09T21:20:53.156Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.348s coverage: 79.5% of statements [2022-05-09T21:20:53.156Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.243s coverage: 94.1% of statements [2022-05-09T21:20:53.156Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.271s coverage: 96.3% of statements [2022-05-09T21:20:53.763Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.250s coverage: 87.5% of statements [2022-05-09T21:21:06.192Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.273s coverage: 94.4% of statements [2022-05-09T21:21:06.192Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.211s coverage: 44.8% of statements [2022-05-09T21:21:11.618Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.705s coverage: 82.5% of statements [2022-05-09T21:21:11.618Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2022-05-09T21:21:19.966Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.349s coverage: 92.9% of statements [2022-05-09T21:21:19.966Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2022-05-09T21:21:19.966Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2022-05-09T21:21:19.966Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2022-05-09T21:21:19.966Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.072s coverage: 65.1% of statements [2022-05-09T21:21:19.966Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2022-05-09T21:21:19.966Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2022-05-09T21:21:19.966Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2022-05-09T21:21:19.966Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2022-05-09T21:21:19.966Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2022-05-09T21:21:19.966Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.223s coverage: 87.2% of statements [2022-05-09T21:21:19.966Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2022-05-09T21:21:19.966Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2022-05-09T21:21:19.967Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.189s coverage: 100.0% of statements [2022-05-09T21:21:19.967Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2022-05-09T21:21:19.967Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.304s coverage: 58.8% of statements [2022-05-09T21:21:19.967Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2022-05-09T21:21:19.967Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.296s coverage: 80.0% of statements [2022-05-09T21:21:19.967Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.253s coverage: 87.2% of statements [2022-05-09T21:21:19.967Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.315s coverage: 85.4% of statements [2022-05-09T21:21:19.967Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.853s coverage: 91.2% of statements [2022-05-09T21:21:19.967Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2022-05-09T21:21:25.420Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.012s coverage: 64.4% of statements [2022-05-09T21:21:25.420Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2022-05-09T21:21:25.420Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2022-05-09T21:21:25.420Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.278s coverage: 100.0% of statements [2022-05-09T21:21:25.420Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.113s coverage: 89.4% of statements [2022-05-09T21:21:25.420Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.071s coverage: 100.0% of statements [2022-05-09T21:21:25.420Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.089s coverage: 73.7% of statements [2022-05-09T21:21:25.420Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.066s coverage: 100.0% of statements [2022-05-09T21:21:35.618Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.492s coverage: 65.4% of statements [2022-05-09T21:21:35.618Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2022-05-09T21:21:35.618Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2022-05-09T21:21:35.618Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2022-05-09T21:21:38.263Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.923s coverage: 43.8% of statements [2022-05-09T21:21:38.263Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2022-05-09T21:21:38.263Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2022-05-09T21:21:38.263Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.282s coverage: 89.5% of statements [2022-05-09T21:21:38.263Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2022-05-09T21:21:38.263Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.308s coverage: 84.8% of statements [2022-05-09T21:21:38.263Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] [2022-05-09T21:21:38.263Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] [2022-05-09T21:21:38.263Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] [2022-05-09T21:21:38.263Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] [2022-05-09T21:21:46.604Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.353s coverage: 17.7% of statements [2022-05-09T21:21:46.605Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2022-05-09T21:21:46.605Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2022-05-09T21:21:46.605Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2022-05-09T21:21:46.605Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2022-05-09T21:21:46.605Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.711s coverage: 92.3% of statements [2022-05-09T21:21:46.605Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2022-05-09T21:21:46.605Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2022-05-09T21:21:46.605Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] [2022-05-09T21:21:46.605Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2022-05-09T21:21:46.605Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.279s coverage: 63.2% of statements [2022-05-09T21:21:46.605Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2022-05-09T21:21:46.605Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2022-05-09T21:21:48.045Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.473s coverage: 97.7% of statements [2022-05-09T21:21:48.045Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2022-05-09T21:21:48.045Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2022-05-09T21:21:48.045Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2022-05-09T21:21:48.045Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] [2022-05-09T21:21:48.045Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.213s coverage: 28.9% of statements [2022-05-09T21:21:48.045Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] [2022-05-09T21:21:48.045Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] [2022-05-09T21:21:48.045Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2022-05-09T21:21:48.045Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2022-05-09T21:21:48.045Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] [2022-05-09T21:21:48.045Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2022-05-09T21:21:48.045Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.197s coverage: 100.0% of statements [2022-05-09T21:21:48.045Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.092s coverage: 96.9% of statements [2022-05-09T21:21:48.643Z] 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-09T21:21:48.643Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-09T21:21:48.643Z] GO111MODULE=on go vet ./... [2022-05-09T21:23:40.578Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-09T21:23:40.578Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-09T21:23:41.560Z] ./bin/test-attribution-txt.sh [2022-05-09T21:23:44.206Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-05-09T21:23:44.805Z] make: *** [Makefile:146: test] Error 1 [Pipeline] } [2022-05-09T21:23:44.835Z] $ docker stop --time=1 922b060606fa04b133d1b63dbd35c1580f052c9a81363bf302cfb04675066ed0 [2022-05-09T21:23:46.754Z] $ docker rm -f 922b060606fa04b133d1b63dbd35c1580f052c9a81363bf302cfb04675066ed0 [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-09T21:23:48.558Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-09T21:23:48.558Z] [2022-05-09T21:23:48.558Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-09T21:23:48.916Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-09T21:23:49.201Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-09T21:23:49.201Z] 8998bd30e6a1: Pulling fs layer [2022-05-09T21:23:49.201Z] 04944245beec: Pulling fs layer [2022-05-09T21:23:49.201Z] 699f458cf7ca: Pulling fs layer [2022-05-09T21:23:49.201Z] 765212b225bb: Pulling fs layer [2022-05-09T21:23:49.201Z] f23df028b6ca: Pulling fs layer [2022-05-09T21:23:49.201Z] d65c8cfc05b1: Pulling fs layer [2022-05-09T21:23:49.201Z] 765212b225bb: Waiting [2022-05-09T21:23:49.201Z] 2437ff75d9bd: Pulling fs layer [2022-05-09T21:23:49.201Z] f23df028b6ca: Waiting [2022-05-09T21:23:49.201Z] d65c8cfc05b1: Waiting [2022-05-09T21:23:49.201Z] 2437ff75d9bd: Waiting [2022-05-09T21:23:49.201Z] 04944245beec: Verifying Checksum [2022-05-09T21:23:49.201Z] 04944245beec: Download complete [2022-05-09T21:23:49.201Z] 765212b225bb: Download complete [2022-05-09T21:23:49.201Z] f23df028b6ca: Download complete [2022-05-09T21:23:49.475Z] d65c8cfc05b1: Verifying Checksum [2022-05-09T21:23:49.475Z] d65c8cfc05b1: Download complete [2022-05-09T21:23:49.475Z] 699f458cf7ca: Verifying Checksum [2022-05-09T21:23:49.475Z] 699f458cf7ca: Download complete [2022-05-09T21:23:49.750Z] 8998bd30e6a1: Download complete [2022-05-09T21:23:52.383Z] 2437ff75d9bd: Verifying Checksum [2022-05-09T21:23:52.383Z] 2437ff75d9bd: Download complete [2022-05-09T21:23:53.824Z] 8998bd30e6a1: Pull complete [2022-05-09T21:23:54.424Z] 04944245beec: Pull complete [2022-05-09T21:23:55.861Z] 699f458cf7ca: Pull complete [2022-05-09T21:23:55.861Z] 765212b225bb: Pull complete [2022-05-09T21:23:56.843Z] f23df028b6ca: Pull complete [2022-05-09T21:23:56.843Z] d65c8cfc05b1: Pull complete [2022-05-09T21:24:11.937Z] 2437ff75d9bd: Pull complete [2022-05-09T21:24:11.937Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-09T21:24:11.937Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-09T21:24:11.937Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-09T21:24:12.166Z] prd-ubuntu20.04-docker-arm64-4c-16g-44241 does not seem to be running inside a container [2022-05-09T21:24:12.259Z] $ 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/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@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-09T21:24:15.029Z] $ docker top 7e550803244c845fc3bcb8b034dc6dcf944535a7fce8cd646da1961f38e8a3ea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T21:24:16.054Z] ---> job-cost.sh [2022-05-09T21:24:16.054Z] lf-activate-venv: SKIPPING [2022-05-09T21:24:16.054Z] INFO: No Stack... [2022-05-09T21:24:16.650Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-09T21:24:17.646Z] INFO: Archiving Costs [Pipeline] sh [2022-05-09T21:24:18.331Z] + cat /w/workspace/edgex-go/5/archives/cost.csv [2022-05-09T21:24:18.331Z] + cut -d, -f6 [Pipeline] lock [2022-05-09T21:24:18.413Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4000-5-stack-cost] [2022-05-09T21:24:18.420Z] Resource [jenkins-edgexfoundry-edgex-go-PR-4000-5-stack-cost] did not exist. Created. [2022-05-09T21:24:18.420Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4000-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-09T21:24:19.096Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-09T21:24:19.776Z] Stashed 1 file(s) [Pipeline] } [2022-05-09T21:24:19.783Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4000-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-09T21:24:19.807Z] $ docker stop --time=1 7e550803244c845fc3bcb8b034dc6dcf944535a7fce8cd646da1961f38e8a3ea [2022-05-09T21:24:21.327Z] $ docker rm -f 7e550803244c845fc3bcb8b034dc6dcf944535a7fce8cd646da1961f38e8a3ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-09T21:24:21.643Z] 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-09T21:24:22.348Z] + [ -d /w/workspace/edgex-go/5/archives ] [Pipeline] libraryResource [Pipeline] sh [2022-05-09T21:24:22.644Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T21:24:23.513Z] ---> package-listing.sh [2022-05-09T21:24:23.513Z] ++ facter osfamily [2022-05-09T21:24:23.513Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-09T21:24:23.773Z] + OS_FAMILY=debian [2022-05-09T21:24:23.773Z] + workspace=/w/workspace/edgex-go/5 [2022-05-09T21:24:23.773Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-09T21:24:23.773Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-09T21:24:23.773Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-09T21:24:23.773Z] + PACKAGES=/tmp/packages_start.txt [2022-05-09T21:24:23.773Z] + '[' /w/workspace/edgex-go/5 ']' [2022-05-09T21:24:23.773Z] + PACKAGES=/tmp/packages_end.txt [2022-05-09T21:24:23.773Z] + case "${OS_FAMILY}" in [2022-05-09T21:24:23.773Z] + dpkg -l [2022-05-09T21:24:23.773Z] + grep '^ii' [2022-05-09T21:24:23.773Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-09T21:24:23.773Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-09T21:24:23.773Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-09T21:24:23.773Z] + '[' /w/workspace/edgex-go/5 ']' [2022-05-09T21:24:23.773Z] + mkdir -p /w/workspace/edgex-go/5/archives/ [2022-05-09T21:24:23.773Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/5/archives/ [Pipeline] echo [2022-05-09T21:24:23.786Z] 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/5/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-09T21:24:24.064Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-09T21:24:24.621Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-09T21:24:24.621Z] [2022-05-09T21:24:24.621Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T21:24:24.925Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-09T21:24:24.925Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-09T21:24:24.925Z] 5eb5b503b376: Pulling fs layer [2022-05-09T21:24:24.925Z] 5c69ac0246d0: Pulling fs layer [2022-05-09T21:24:24.925Z] ec43610c2a17: Pulling fs layer [2022-05-09T21:24:24.925Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-09T21:24:24.925Z] 33b1e0a273af: Pulling fs layer [2022-05-09T21:24:24.925Z] 5d3b04190fa2: Pulling fs layer [2022-05-09T21:24:24.925Z] 2f39f015ded8: Pulling fs layer [2022-05-09T21:24:24.925Z] 3a2ae6a8a46f: Waiting [2022-05-09T21:24:24.925Z] 2f39f015ded8: Waiting [2022-05-09T21:24:24.925Z] 33b1e0a273af: Waiting [2022-05-09T21:24:24.925Z] 5d3b04190fa2: Waiting [2022-05-09T21:24:24.925Z] 5c69ac0246d0: Download complete [2022-05-09T21:24:24.925Z] 3a2ae6a8a46f: Download complete [2022-05-09T21:24:24.925Z] 33b1e0a273af: Verifying Checksum [2022-05-09T21:24:24.925Z] 33b1e0a273af: Download complete [2022-05-09T21:24:25.185Z] 5d3b04190fa2: Verifying Checksum [2022-05-09T21:24:25.185Z] 5d3b04190fa2: Download complete [2022-05-09T21:24:25.185Z] ec43610c2a17: Verifying Checksum [2022-05-09T21:24:25.185Z] ec43610c2a17: Download complete [2022-05-09T21:24:25.185Z] 5eb5b503b376: Verifying Checksum [2022-05-09T21:24:25.185Z] 5eb5b503b376: Download complete [2022-05-09T21:24:25.752Z] 2f39f015ded8: Download complete [2022-05-09T21:24:26.320Z] 5eb5b503b376: Pull complete [2022-05-09T21:24:26.580Z] 5c69ac0246d0: Pull complete [2022-05-09T21:24:27.147Z] ec43610c2a17: Pull complete [2022-05-09T21:24:27.147Z] 3a2ae6a8a46f: Pull complete [2022-05-09T21:24:27.408Z] 33b1e0a273af: Pull complete [2022-05-09T21:24:27.408Z] 5d3b04190fa2: Pull complete [2022-05-09T21:24:31.604Z] 2f39f015ded8: Pull complete [2022-05-09T21:24:31.604Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-09T21:24:31.604Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-09T21:24:31.604Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-09T21:24:31.671Z] prd-ubuntu20.04-docker-8c-8g-43367 does not seem to be running inside a container [2022-05-09T21:24:31.710Z] $ 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/5/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/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@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-09T21:24:33.734Z] $ docker top 5170ce2cdae01057a012d6f6e6c621330b0a1ce61d98ab3d52cc3dcb43434dbb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-09T21:24:34.099Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-09T21:24:34.386Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-09T21:24:34.676Z] + ls /var/log/sa-host [2022-05-09T21:24:34.676Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-09T21:24:34.885Z] provisioning config files... [2022-05-09T21:24:34.896Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/5@tmp/config2336037543181551822tmp [Pipeline] { [Pipeline] echo [2022-05-09T21:24:34.912Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T21:24:35.198Z] ---> create-netrc.sh [Pipeline] } [2022-05-09T21:24:35.205Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-09T21:24:35.549Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-09T21:24:35.561Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T21:24:35.959Z] ---> sudo-logs.sh [2022-05-09T21:24:35.959Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-09T21:24:36.022Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T21:24:36.309Z] ---> job-cost.sh [2022-05-09T21:24:36.309Z] lf-activate-venv: SKIPPING [2022-05-09T21:24:36.309Z] DEBUG: total: 0.10999999940395355 [2022-05-09T21:24:36.309Z] INFO: Retrieving Stack Cost... [2022-05-09T21:24:36.881Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-09T21:24:37.143Z] INFO: Archiving Costs [Pipeline] echo [2022-05-09T21:24:37.159Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T21:24:37.448Z] ---> logs-deploy.sh [2022-05-09T21:24:37.448Z] lf-activate-venv: SKIPPING [2022-05-09T21:24:37.448Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4000/5 [2022-05-09T21:24:37.448Z] INFO: archiving workspace using pattern(s): [2022-05-09T21:24:38.387Z] Archives upload complete. [2022-05-09T21:24:38.387Z] INFO: archiving logs to Nexus