Pull request #3960 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e4a792ce21d60f714d656978fdfa1e9f8cd3caa7+0fc989aaf219ca3a907d08e005ff868a4a2a9b56 (368842486ff624f1ff486e6ad34154fc9c34fc13) 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-ssh4588882701070506575.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3985401987909130978.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3960/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-3960/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5858526746882626993.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4755572687501929872.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-3960/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-3960/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4767682380107362348.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-20739 in /w/workspace/edgexfoundry_edgex-go_PR-3960 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/2 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 0fc989aaf219ca3a907d08e005ff868a4a2a9b56 into PR head commit e4a792ce21d60f714d656978fdfa1e9f8cd3caa7 Merge succeeded, producing e4a792ce21d60f714d656978fdfa1e9f8cd3caa7 Checking out Revision e4a792ce21d60f714d656978fdfa1e9f8cd3caa7 (PR-3960) > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3960/head:refs/remotes/origin/PR-3960 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e4a792ce21d60f714d656978fdfa1e9f8cd3caa7 # 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 0fc989aaf219ca3a907d08e005ff868a4a2a9b56 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e4a792ce21d60f714d656978fdfa1e9f8cd3caa7 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:29:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:29:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:29:54 ========================================================= 00:29:54 EdgeX Global Pipelines Version Info 00:29:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 357bd05ae03a27724a2a418ffccffb91b8a131ed # timeout=10 00:29:55 ------------------- 00:29:55 stable info: 00:29:55 ------------------- 00:29:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:29:55 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 00:29:55 Message: update stable to v1.0.221 00:29:55 ------------------- 00:29:55 experimental info: 00:29:55 ------------------- 00:29:55 Commited By: **** collab-it+edgex@linuxfoundation.org 00:29:55 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 00:29:55 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:29:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 00:29:55 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 00:29:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:29:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:29:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:29:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 00:29:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:29:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 00:29:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 00:29:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 00:29:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:29:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:29:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:29:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:29:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:29:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:29:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:29:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:29:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:29:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 00:29:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:29:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:29:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3960 [Pipeline] echo 00:29:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3960 [Pipeline] echo 00:29:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3960 [Pipeline] echo 00:29:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e4a792ce21d60f714d656978fdfa1e9f8cd3caa7 [Pipeline] echo 00:29:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e4a792c [Pipeline] echo 00:29:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:29:56 provisioning config files... 00:29:56 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config6471616095333327038tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:29:56 ---> docker-login.sh 00:29:56 nexus3.edgexfoundry.org:10001 00:29:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:29:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:29:56 Configure a credential helper to remove this warning. See 00:29:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:29:56 00:29:56 Login Succeeded 00:29:56 nexus3.edgexfoundry.org:10002 00:29:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:29:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:29:57 Configure a credential helper to remove this warning. See 00:29:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:29:57 00:29:57 Login Succeeded 00:29:57 nexus3.edgexfoundry.org:10003 00:29:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:29:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:29:57 Configure a credential helper to remove this warning. See 00:29:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:29:57 00:29:57 Login Succeeded 00:29:57 nexus3.edgexfoundry.org:10004 00:29:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:29:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:29:57 Configure a credential helper to remove this warning. See 00:29:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:29:57 00:29:57 Login Succeeded 00:29:57 docker.io 00:29:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:29:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:29:57 Configure a credential helper to remove this warning. See 00:29:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:29:57 00:29:57 Login Succeeded 00:29:57 ---> docker-login.sh ends [Pipeline] } 00:29:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:29:58 + 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 00:29:58 + dirname cmd/core-command/Dockerfile 00:29:58 + cut -d/ -f2 00:29:58 + echo core-command,cmd/core-command/Dockerfile 00:29:58 + dirname cmd/core-data/Dockerfile 00:29:58 + cut -d/ -f2 00:29:58 + echo core-data,cmd/core-data/Dockerfile 00:29:58 + dirname cmd/core-metadata/Dockerfile 00:29:58 + cut -d/ -f2 00:29:58 + echo core-metadata,cmd/core-metadata/Dockerfile 00:29:58 + dirname cmd/security-bootstrapper/Dockerfile 00:29:58 + cut -d/ -f2 00:29:58 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 00:29:58 + + dirname cmd/security-proxy-setup/Dockerfile 00:29:58 cut -d/ -f2 00:29:58 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 00:29:58 + dirname cmd/security-secretstore-setup/Dockerfile 00:29:58 + cut -d/ -f2 00:29:58 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 00:29:58 + dirname cmd/security-spiffe-token-provider/Dockerfile 00:29:58 + cut -d/ -f2 00:29:58 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 00:29:58 + dirname cmd/security-spire-agent/Dockerfile 00:29:58 + cut -d/ -f2 00:29:58 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 00:29:58 + dirname cmd/security-spire-config/Dockerfile 00:29:58 + cut -d/ -f2 00:29:58 + echo security-spire-config,cmd/security-spire-config/Dockerfile 00:29:58 + dirname cmd/security-spire-server/Dockerfile 00:29:58 + cut -d/ -f2 00:29:58 + echo security-spire-server,cmd/security-spire-server/Dockerfile 00:29:58 + dirname cmd/support-notifications/Dockerfile 00:29:58 + cut -d/ -f2 00:29:58 + echo support-notifications,cmd/support-notifications/Dockerfile 00:29:58 + dirname cmd/support-scheduler/Dockerfile 00:29:58 + cut -d/ -f2 00:29:58 + echo support-scheduler,cmd/support-scheduler/Dockerfile 00:29:58 + dirname cmd/sys-mgmt-agent/Dockerfile 00:29:58 + cut -d/ -f2 00:29:58 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 00:29:58 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 00:29:58 + git rev-list -1 --merges e4a792ce21d60f714d656978fdfa1e9f8cd3caa7~1..e4a792ce21d60f714d656978fdfa1e9f8cd3caa7 [Pipeline] echo 00:29:58 -----------> git rev-list -1 --merges e4a792ce21d60f714d656978fdfa1e9f8cd3caa7~1..e4a792ce21d60f714d656978fdfa1e9f8cd3caa7 e4a792ce21d60f714d656978fdfa1e9f8cd3caa7 [false] [Pipeline] sh 00:29:59 + git log --format=format:%s -1 e4a792ce21d60f714d656978fdfa1e9f8cd3caa7 [Pipeline] echo 00:29:59 ========================================================= 00:29:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:29:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 00:29:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:29:59 + grep -v github /etc/ssh/ssh_known_hosts 00:29:59 + [ -e /tmp/ssh_known_hosts ] 00:29:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:29:59 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:29:59 + sudo tee -a /etc/ssh/ssh_known_hosts 00:29:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 00:29:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:29:59 00:29:59 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:30:00 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:30:00 latest: Pulling from edgex-devops/git-semver 00:30:00 a0d0a0d46f8b: Pulling fs layer 00:30:00 3e5f54012d9b: Pulling fs layer 00:30:00 4c7163046ea9: Pulling fs layer 00:30:00 0c2d73faf560: Pulling fs layer 00:30:00 0c2d73faf560: Waiting 00:30:00 3e5f54012d9b: Verifying Checksum 00:30:00 3e5f54012d9b: Download complete 00:30:00 a0d0a0d46f8b: Download complete 00:30:00 0c2d73faf560: Verifying Checksum 00:30:00 0c2d73faf560: Download complete 00:30:00 4c7163046ea9: Verifying Checksum 00:30:00 4c7163046ea9: Download complete 00:30:00 a0d0a0d46f8b: Pull complete 00:30:00 3e5f54012d9b: Pull complete 00:30:01 4c7163046ea9: Pull complete 00:30:01 0c2d73faf560: Pull complete 00:30:01 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 00:30:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:30:01 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:30:01 prd-ubuntu20.04-docker-8c-8g-20739 does not seem to be running inside a container 00:30:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:30:02 $ docker top 6fd71d47eb473e8971d5fb57cdcf65203e587eca68413cf1c74f5c95165ec11e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:30:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:30:02 [ssh-agent] Looking for ssh-agent implementation... 00:30:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:30:02 $ docker exec 6fd71d47eb473e8971d5fb57cdcf65203e587eca68413cf1c74f5c95165ec11e ssh-agent 00:30:02 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgjiGdp/agent.14 00:30:02 SSH_AGENT_PID=20 00:30:02 Running ssh-add (command line suppressed) 00:30:02 Identity added: /w/workspace/edgex-go/2@tmp/private_key_9000729209274930829.key (/w/workspace/edgex-go/2@tmp/private_key_9000729209274930829.key) 00:30:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:30:02 + git tag --points-at HEAD [Pipeline] } 00:30:02 $ docker exec --env ******** --env ******** 6fd71d47eb473e8971d5fb57cdcf65203e587eca68413cf1c74f5c95165ec11e ssh-agent -k 00:30:02 unset SSH_AUTH_SOCK; 00:30:02 unset SSH_AGENT_PID; 00:30:02 echo Agent pid 20 killed; 00:30:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:30:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:30:02 [ssh-agent] Looking for ssh-agent implementation... 00:30:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:30:03 $ docker exec 6fd71d47eb473e8971d5fb57cdcf65203e587eca68413cf1c74f5c95165ec11e ssh-agent 00:30:03 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXddELlK/agent.54 00:30:03 SSH_AGENT_PID=61 00:30:03 Running ssh-add (command line suppressed) 00:30:03 Identity added: /w/workspace/edgex-go/2@tmp/private_key_3300828035401594803.key (/w/workspace/edgex-go/2@tmp/private_key_3300828035401594803.key) 00:30:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:30:03 + git semver init 00:30:03 # -> Open(): unable to determine branch for HEAD 00:30:03 # $GIT_DIR = /w/workspace/edgex-go/2/.git 00:30:03 # $GIT_WORK_TREE = /w/workspace/edgex-go/2 00:30:03 # $SEMVER_REMOTE_NAME = origin 00:30:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:30:03 # $SEMVER_USER_NAME = edgex-jenkins 00:30:03 # $SEMVER_BRANCH = PR-3960 00:30:03 # $SEMVER_TEMP = /tmp/semver-158729220 00:30:03 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 00:30:18 # '/tmp/semver-158729220' -> '/w/workspace/edgex-go/2/.semver' 00:30:18 # -> Force: false 00:30:18 # $SEMVER_DIR = /w/workspace/edgex-go/2/.semver [Pipeline] } 00:30:18 $ docker exec --env ******** --env ******** 6fd71d47eb473e8971d5fb57cdcf65203e587eca68413cf1c74f5c95165ec11e ssh-agent -k 00:30:18 unset SSH_AUTH_SOCK; 00:30:18 unset SSH_AGENT_PID; 00:30:18 echo Agent pid 61 killed; 00:30:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:30:19 + git semver [Pipeline] } 00:30:19 $ docker stop --time=1 6fd71d47eb473e8971d5fb57cdcf65203e587eca68413cf1c74f5c95165ec11e 00:30:21 $ docker rm -f 6fd71d47eb473e8971d5fb57cdcf65203e587eca68413cf1c74f5c95165ec11e [Pipeline] // withDockerContainer [Pipeline] sh 00:30:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:30:21 Stashed 1 file(s) [Pipeline] echo 00:30:21 [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 00:30:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:30:21 ========================================================= 00:30:21 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 00:30:21 ========================================================= [Pipeline] fileExists [Pipeline] sh 00:30:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 00:30:22 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 00:30:22 59bf1c3509f3: Pulling fs layer 00:30:22 666ba61612fd: Pulling fs layer 00:30:22 8ed8ca486205: Pulling fs layer 00:30:22 4fe6c5a15a65: Pulling fs layer 00:30:22 22a0e8bec74d: Pulling fs layer 00:30:22 640e595b4fbd: Pulling fs layer 00:30:22 763cafe07f6e: Pulling fs layer 00:30:22 0c0b528cf693: Pulling fs layer 00:30:22 10935f4eaf8b: Pulling fs layer 00:30:22 0c0b528cf693: Waiting 00:30:22 640e595b4fbd: Waiting 00:30:22 763cafe07f6e: Waiting 00:30:22 10935f4eaf8b: Waiting 00:30:22 4fe6c5a15a65: Waiting 00:30:22 22a0e8bec74d: Waiting 00:30:22 8ed8ca486205: Verifying Checksum 00:30:22 8ed8ca486205: Download complete 00:30:22 666ba61612fd: Download complete 00:30:22 22a0e8bec74d: Verifying Checksum 00:30:22 22a0e8bec74d: Download complete 00:30:22 640e595b4fbd: Verifying Checksum 00:30:22 640e595b4fbd: Download complete 00:30:22 763cafe07f6e: Download complete 00:30:22 59bf1c3509f3: Verifying Checksum 00:30:22 59bf1c3509f3: Download complete 00:30:22 0c0b528cf693: Verifying Checksum 00:30:22 0c0b528cf693: Download complete 00:30:22 59bf1c3509f3: Pull complete 00:30:22 666ba61612fd: Pull complete 00:30:22 8ed8ca486205: Pull complete 00:30:22 10935f4eaf8b: Verifying Checksum 00:30:22 10935f4eaf8b: Download complete 00:30:22 4fe6c5a15a65: Verifying Checksum 00:30:22 4fe6c5a15a65: Download complete 00:30:27 4fe6c5a15a65: Pull complete 00:30:27 22a0e8bec74d: Pull complete 00:30:27 640e595b4fbd: Pull complete 00:30:27 763cafe07f6e: Pull complete 00:30:27 0c0b528cf693: Pull complete 00:30:29 10935f4eaf8b: Pull complete 00:30:29 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 00:30:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 00:30:29 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] fileExists [Pipeline] sh 00:30:30 + docker build -t ci-base-image-x86_64 -f - . 00:30:30 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 00:30:30 WORKDIR /edgex 00:30:30 COPY go.mod . 00:30:30 RUN go mod download 00:30:31 Sending build context to Docker daemon 334.8MB 00:30:31 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 00:30:31 ---> 99d49a6021b9 00:30:31 Step 2/4 : WORKDIR /edgex 00:30:33 ---> Running in 9f5f599cbd1e 00:30:33 Removing intermediate container 9f5f599cbd1e 00:30:33 ---> e135c499195c 00:30:33 Step 3/4 : COPY go.mod . 00:30:33 ---> 792d9ef9f49e 00:30:33 Step 4/4 : RUN go mod download 00:30:33 ---> Running in 73b998e81cea 00:30:36 Still waiting to schedule task 00:30:36 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-20736’ 00:30:48 Removing intermediate container 73b998e81cea 00:30:48 ---> 8e791f988666 00:30:48 Successfully built 8e791f988666 00:30:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:30:49 + docker inspect -f . ci-base-image-x86_64 00:30:49 . [Pipeline] withDockerContainer 00:30:49 prd-ubuntu20.04-docker-8c-8g-20739 does not seem to be running inside a container 00:30:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:30:49 $ docker top 6b9378900dc80b92564f0bd1cf7e26a0a41bd0832e59f8480600418eca8ef2c0 -eo pid,comm [Pipeline] { [Pipeline] sh 00:30:50 + go version 00:30:50 go version go1.17.6 linux/amd64 [Pipeline] } 00:30:50 $ docker stop --time=1 6b9378900dc80b92564f0bd1cf7e26a0a41bd0832e59f8480600418eca8ef2c0 00:30:51 $ docker rm -f 6b9378900dc80b92564f0bd1cf7e26a0a41bd0832e59f8480600418eca8ef2c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:30:51 + docker inspect -f . ci-base-image-x86_64 00:30:51 . [Pipeline] withDockerContainer 00:30:52 prd-ubuntu20.04-docker-8c-8g-20739 does not seem to be running inside a container 00:30:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:30:52 $ docker top 814289c84b1a80c984849d4e637d0fa6e49ea008db596d3bce30b042f0f74212 -eo pid,comm [Pipeline] { [Pipeline] echo 00:30:52 ========================================================= 00:30:52 [edgeXBuildGoParallel] Running Tests and Build... 00:30:52 ========================================================= [Pipeline] fileExists [Pipeline] sh 00:30:52 + make test 00:30:52 go mod tidy -compat=1.17 00:30:52 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:30:59 ? github.com/edgexfoundry/edgex-go [no test files] 00:31:11 # github.com/edgexfoundry/edgex-go/internal/core/command 00:31:11 internal/core/command/main.go:61:15: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/core/command/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: 00:31:11 *"github.com/edgexfoundry/edgex-go/internal/core/command/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetTelemetryInfo method) 00:31:11 # github.com/edgexfoundry/edgex-go/internal/security/config 00:31:11 internal/security/config/main.go:54:15: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/security/proxy/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: 00:31:11 *"github.com/edgexfoundry/edgex-go/internal/security/proxy/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetTelemetryInfo method) 00:31:11 # github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis 00:31:11 internal/security/bootstrapper/redis/configure.go:55:45: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config".ConfigurationStruct) as type interfaces.Configuration in argument to bootstrap.RunAndReturnWaitGroup: 00:31:11 *"github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config".ConfigurationStruct does not implement interfaces.Configuration (missing GetTelemetryInfo method) 00:31:11 # github.com/edgexfoundry/edgex-go/internal/security/secretstore 00:31:11 internal/security/secretstore/main.go:69:15: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/security/secretstore/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: 00:31:11 *"github.com/edgexfoundry/edgex-go/internal/security/secretstore/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetTelemetryInfo method) 00:31:11 # github.com/edgexfoundry/edgex-go/internal/core/data 00:31:11 internal/core/data/main.go:62:15: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/core/data/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: 00:31:11 *"github.com/edgexfoundry/edgex-go/internal/core/data/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetTelemetryInfo method) 00:31:11 # github.com/edgexfoundry/edgex-go/internal/security/proxy 00:31:11 internal/security/proxy/main.go:65:15: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/security/proxy/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: 00:31:11 *"github.com/edgexfoundry/edgex-go/internal/security/proxy/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetTelemetryInfo method) 00:31:11 # github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider 00:31:11 internal/security/spiffetokenprovider/main.go:47:15: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: 00:31:11 *"github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetTelemetryInfo method) 00:31:11 # github.com/edgexfoundry/edgex-go/internal/system/agent 00:31:11 internal/system/agent/main.go:60:15: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/system/agent/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: 00:31:11 *"github.com/edgexfoundry/edgex-go/internal/system/agent/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetTelemetryInfo method) 00:31:11 # github.com/edgexfoundry/edgex-go/internal/core/metadata 00:31:11 internal/core/metadata/main.go:60:58: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/core/metadata/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.RunAndReturnWaitGroup: 00:31:11 *"github.com/edgexfoundry/edgex-go/internal/core/metadata/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetTelemetryInfo method) 00:31:11 # github.com/edgexfoundry/edgex-go/internal/support/scheduler 00:31:11 internal/support/scheduler/main.go:61:15: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/support/scheduler/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: 00:31:11 *"github.com/edgexfoundry/edgex-go/internal/support/scheduler/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetTelemetryInfo method) 00:31:11 # github.com/edgexfoundry/edgex-go/internal/support/notifications 00:31:11 internal/support/notifications/main.go:67:15: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/support/notifications/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: 00:31:11 *"github.com/edgexfoundry/edgex-go/internal/support/notifications/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetTelemetryInfo method) 00:31:11 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.073s coverage: 28.7% of statements 00:31:12 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.085s coverage: 98.5% of statements 00:31:12 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.074s coverage: 54.9% of statements 00:31:16 # github.com/edgexfoundry/edgex-go/internal/security/proxy [github.com/edgexfoundry/edgex-go/internal/security/proxy.test] 00:31:16 internal/security/proxy/main.go:65: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/security/proxy/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: 00:31:16 *"github.com/edgexfoundry/edgex-go/internal/security/proxy/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetTelemetryInfo method) 00:31:16 # github.com/edgexfoundry/edgex-go/internal/security/secretstore [github.com/edgexfoundry/edgex-go/internal/security/secretstore.test] 00:31:16 internal/security/secretstore/main.go:69: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/security/secretstore/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: 00:31:16 *"github.com/edgexfoundry/edgex-go/internal/security/secretstore/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetTelemetryInfo method) 00:31:16 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 3.801s coverage: 89.2% of statements 00:31:16 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.112s coverage: 84.4% of statements 00:31:16 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.493s coverage: 95.4% of statements 00:31:16 ok github.com/edgexfoundry/edgex-go/internal/io 0.073s coverage: 72.2% of statements 00:31:16 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.094s coverage: 60.0% of statements 00:31:16 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.100s coverage: 0.9% of statements 00:31:16 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.066s coverage: 58.8% of statements 00:31:16 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.067s coverage: 24.0% of statements 00:31:16 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.077s coverage: 47.1% of statements 00:31:16 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.087s coverage: 79.5% of statements 00:31:16 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.065s coverage: 94.1% of statements 00:31:16 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.096s coverage: 96.3% of statements 00:31:16 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.076s coverage: 87.5% of statements 00:31:26 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.079s coverage: 94.4% of statements 00:31:26 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.068s coverage: 44.8% of statements 00:31:27 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.210s coverage: 82.5% of statements 00:31:37 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.105s coverage: 92.9% of statements 00:31:37 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.045s coverage: 65.1% of statements 00:31:37 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.069s coverage: 87.2% of statements 00:31:37 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.048s coverage: 100.0% of statements 00:31:37 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.079s coverage: 58.8% of statements 00:31:37 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.061s coverage: 80.0% of statements 00:31:37 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.054s coverage: 87.2% of statements 00:31:37 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.060s coverage: 85.4% of statements 00:31:37 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.177s coverage: 91.2% of statements 00:31:37 FAIL github.com/edgexfoundry/edgex-go/internal/security/fileprovider [build failed] 00:31:37 FAIL github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks [build failed] 00:31:37 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.038s coverage: 89.4% of statements 00:31:37 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.033s coverage: 100.0% of statements 00:31:37 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.030s coverage: 73.7% of statements 00:31:37 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.022s coverage: 100.0% of statements 00:31:37 FAIL github.com/edgexfoundry/edgex-go/internal/security/proxy [build failed] 00:31:37 FAIL github.com/edgexfoundry/edgex-go/internal/security/secretstore [build failed] 00:31:37 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.067s coverage: 89.5% of statements 00:31:37 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.054s coverage: 84.8% of statements 00:31:37 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.074s coverage: 17.7% of statements 00:31:37 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.184s coverage: 92.3% of statements 00:31:37 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.061s coverage: 63.2% of statements 00:31:37 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.124s coverage: 97.7% of statements 00:31:37 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.060s coverage: 28.9% of statements 00:31:37 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.052s coverage: 100.0% of statements 00:31:37 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.034s coverage: 96.9% of statements 00:31:37 make: *** [Makefile:113: unittest] Error 2 [Pipeline] } 00:31:37 $ docker stop --time=1 814289c84b1a80c984849d4e637d0fa6e49ea008db596d3bce30b042f0f74212 00:31:39 $ docker rm -f 814289c84b1a80c984849d4e637d0fa6e49ea008db596d3bce30b042f0f74212 [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] } 00:31:39 Failed in branch amd64 00:33:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20743 in /w/workspace/edgexfoundry_edgex-go_PR-3960 [Pipeline] { [Pipeline] ws 00:33:47 Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] checkout 00:33:47 The recommended git tool is: git 00:33:56 using credential edgex-jenkins-ssh 00:33:56 Cloning the remote Git repository 00:33:56 Cloning repository git@github.com:edgexfoundry/edgex-go.git 00:33:57 > git init /w/workspace/edgex-go/2 # timeout=10 00:33:57 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 00:33:57 > git --version # timeout=10 00:33:57 > git --version # 'git version 2.25.1' 00:33:57 using GIT_SSH to set credentials SSH Credentials for GitHub 00:33:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:34:18 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 00:34:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:34:18 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 00:34:18 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 00:34:18 using GIT_SSH to set credentials SSH Credentials for GitHub 00:34:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3960/head:refs/remotes/origin/PR-3960 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:34:18 Merging remotes/origin/main commit 0fc989aaf219ca3a907d08e005ff868a4a2a9b56 into PR head commit e4a792ce21d60f714d656978fdfa1e9f8cd3caa7 00:34:19 Merge succeeded, producing e4a792ce21d60f714d656978fdfa1e9f8cd3caa7 00:34:19 Checking out Revision e4a792ce21d60f714d656978fdfa1e9f8cd3caa7 (PR-3960) 00:34:18 > git config core.sparsecheckout # timeout=10 00:34:18 > git checkout -f e4a792ce21d60f714d656978fdfa1e9f8cd3caa7 # timeout=10 00:34:19 > git remote # timeout=10 00:34:19 > git config --get remote.origin.url # timeout=10 00:34:19 using GIT_SSH to set credentials SSH Credentials for GitHub 00:34:19 > git merge 0fc989aaf219ca3a907d08e005ff868a4a2a9b56 # timeout=10 00:34:19 > git rev-parse HEAD^{commit} # timeout=10 00:34:19 > git config core.sparsecheckout # timeout=10 00:34:19 > git checkout -f e4a792ce21d60f714d656978fdfa1e9f8cd3caa7 # timeout=10 00:34:24 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:34:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:34:24 % Total % Received % Xferd Average Speed Time Time Time Current 00:34:24 Dload Upload Total Spent Left Speed 00:34:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 189k 0 --:--:-- --:--:-- --:--:-- 189k [Pipeline] sh 00:34:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:34:25 + sudo tee /etc/docker/daemon.new 00:34:25 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:34:25 { 00:34:25 "registry-mirrors": [ 00:34:25 "https://nexus3.edgexfoundry.org:10001" 00:34:25 ], 00:34:25 "bip": "10.250.0.254/24", 00:34:25 "hosts": [ 00:34:25 "tcp://0.0.0.0:5555", 00:34:25 "unix:///var/run/docker.sock" 00:34:25 ], 00:34:25 "mtu": 1458, 00:34:25 "selinux-enabled": true, 00:34:25 "seccomp-profile": "/etc/docker/seccomp.json" 00:34:25 } [Pipeline] sh 00:34:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:34:26 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:34:45 provisioning config files... 00:34:45 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config752186883419822740tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:34:45 ---> docker-login.sh 00:34:45 nexus3.edgexfoundry.org:10001 00:34:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:46 Configure a credential helper to remove this warning. See 00:34:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:46 00:34:46 Login Succeeded 00:34:46 nexus3.edgexfoundry.org:10002 00:34:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:47 Configure a credential helper to remove this warning. See 00:34:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:47 00:34:47 Login Succeeded 00:34:47 nexus3.edgexfoundry.org:10003 00:34:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:47 Configure a credential helper to remove this warning. See 00:34:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:47 00:34:47 Login Succeeded 00:34:47 nexus3.edgexfoundry.org:10004 00:34:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:48 Configure a credential helper to remove this warning. See 00:34:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:48 00:34:48 Login Succeeded 00:34:48 docker.io 00:34:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:49 Configure a credential helper to remove this warning. See 00:34:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:49 00:34:49 Login Succeeded 00:34:49 ---> docker-login.sh ends [Pipeline] } 00:34:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:34:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:34:49 ========================================================= 00:34:49 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 00:34:49 ========================================================= [Pipeline] fileExists [Pipeline] sh 00:34:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 00:34:50 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:34:50 9b3977197b4f: Pulling fs layer 00:34:50 1a89e8eeedd5: Pulling fs layer 00:34:50 94645a83ff95: Pulling fs layer 00:34:50 3f3a8bcf1eab: Pulling fs layer 00:34:50 0c92f367c5e7: Pulling fs layer 00:34:50 f7c0051592d6: Pulling fs layer 00:34:50 a227ed2f7395: Pulling fs layer 00:34:50 7b1c46037f91: Pulling fs layer 00:34:50 a227ed2f7395: Waiting 00:34:50 3f3a8bcf1eab: Waiting 00:34:50 0c92f367c5e7: Waiting 00:34:50 7b1c46037f91: Waiting 00:34:50 f7c0051592d6: Waiting 00:34:50 94645a83ff95: Verifying Checksum 00:34:50 94645a83ff95: Download complete 00:34:50 1a89e8eeedd5: Download complete 00:34:50 0c92f367c5e7: Download complete 00:34:50 f7c0051592d6: Download complete 00:34:50 9b3977197b4f: Download complete 00:34:50 a227ed2f7395: Verifying Checksum 00:34:50 a227ed2f7395: Download complete 00:34:51 9b3977197b4f: Pull complete 00:34:52 1a89e8eeedd5: Pull complete 00:34:52 94645a83ff95: Pull complete 00:34:52 7b1c46037f91: Verifying Checksum 00:34:52 7b1c46037f91: Download complete 00:34:53 3f3a8bcf1eab: Verifying Checksum 00:34:53 3f3a8bcf1eab: Download complete 00:35:05 3f3a8bcf1eab: Pull complete 00:35:05 0c92f367c5e7: Pull complete 00:35:06 f7c0051592d6: Pull complete 00:35:06 a227ed2f7395: Pull complete 00:35:14 7b1c46037f91: Pull complete 00:35:14 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 00:35:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 00:35:14 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] fileExists [Pipeline] sh 00:35:15 + + dockerecho build FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 00:35:15 WORKDIR /edgex 00:35:15 COPY go.mod . 00:35:15 RUN go mod download -t 00:35:15 ci-base-image-arm64 -f - . 00:35:17 Sending build context to Docker daemon 169.1MB 00:35:17 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 00:35:17 ---> f79e39bc4007 00:35:17 Step 2/4 : WORKDIR /edgex 00:35:20 ---> Running in 4020c786314e 00:35:20 Removing intermediate container 4020c786314e 00:35:20 ---> 653ebec973d1 00:35:20 Step 3/4 : COPY go.mod . 00:35:20 ---> b06ecf41f928 00:35:20 Step 4/4 : RUN go mod download 00:35:20 ---> Running in fcc11197064a 00:36:07 Removing intermediate container fcc11197064a 00:36:07 ---> a25bd29c5f0b 00:36:07 Successfully built a25bd29c5f0b 00:36:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:36:08 + docker inspect -f . ci-base-image-arm64 00:36:08 . [Pipeline] withDockerContainer 00:36:08 prd-ubuntu20.04-docker-arm64-4c-16g-20743 does not seem to be running inside a container 00:36:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:36:09 $ docker top 21cfb7b44b68233f8bfe1f346ab07cd2e51c036f497f4bbb0b7f5ada32fb65ad -eo pid,comm [Pipeline] { [Pipeline] sh 00:36:10 + go version 00:36:10 go version go1.17.6 linux/arm64 [Pipeline] } 00:36:10 $ docker stop --time=1 21cfb7b44b68233f8bfe1f346ab07cd2e51c036f497f4bbb0b7f5ada32fb65ad 00:36:12 $ docker rm -f 21cfb7b44b68233f8bfe1f346ab07cd2e51c036f497f4bbb0b7f5ada32fb65ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:36:13 + docker inspect -f . ci-base-image-arm64 00:36:13 . [Pipeline] withDockerContainer 00:36:13 prd-ubuntu20.04-docker-arm64-4c-16g-20743 does not seem to be running inside a container 00:36:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:36:14 $ docker top 1dc99501ff59debd10123fe7b71a340c3854223f40d848ea63b190bccee9e640 -eo pid,comm [Pipeline] { [Pipeline] echo 00:36:15 ========================================================= 00:36:15 [edgeXBuildGoParallel] Running Tests and Build... 00:36:15 ========================================================= [Pipeline] fileExists [Pipeline] sh 00:36:15 + make test 00:36:15 go mod tidy -compat=1.17 00:36:16 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:36:55 ? github.com/edgexfoundry/edgex-go [no test files] 00:38:47 # github.com/edgexfoundry/edgex-go/internal/core/command 00:38:47 internal/core/command/main.go:61:15: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/core/command/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: 00:38:47 *"github.com/edgexfoundry/edgex-go/internal/core/command/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetTelemetryInfo method) 00:38:47 # github.com/edgexfoundry/edgex-go/internal/security/config 00:38:47 internal/security/config/main.go:54:15: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/security/proxy/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: 00:38:47 *"github.com/edgexfoundry/edgex-go/internal/security/proxy/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetTelemetryInfo method) 00:38:47 # github.com/edgexfoundry/edgex-go/internal/core/data 00:38:47 internal/core/data/main.go:62:15: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/core/data/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: 00:38:47 *"github.com/edgexfoundry/edgex-go/internal/core/data/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetTelemetryInfo method) 00:38:48 # github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis 00:38:48 internal/security/bootstrapper/redis/configure.go:55:45: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config".ConfigurationStruct) as type interfaces.Configuration in argument to bootstrap.RunAndReturnWaitGroup: 00:38:48 *"github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config".ConfigurationStruct does not implement interfaces.Configuration (missing GetTelemetryInfo method) 00:38:49 # github.com/edgexfoundry/edgex-go/internal/core/metadata 00:38:49 internal/core/metadata/main.go:60:58: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/core/metadata/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.RunAndReturnWaitGroup: 00:38:49 *"github.com/edgexfoundry/edgex-go/internal/core/metadata/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetTelemetryInfo method) 00:38:50 # github.com/edgexfoundry/edgex-go/internal/security/proxy 00:38:50 internal/security/proxy/main.go:65:15: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/security/proxy/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: 00:38:50 *"github.com/edgexfoundry/edgex-go/internal/security/proxy/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetTelemetryInfo method) 00:38:50 # github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider 00:38:50 internal/security/spiffetokenprovider/main.go:47:15: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: 00:38:50 *"github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetTelemetryInfo method) 00:38:51 # github.com/edgexfoundry/edgex-go/internal/security/secretstore 00:38:51 internal/security/secretstore/main.go:69:15: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/security/secretstore/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: 00:38:51 *"github.com/edgexfoundry/edgex-go/internal/security/secretstore/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetTelemetryInfo method) 00:38:53 # github.com/edgexfoundry/edgex-go/internal/support/scheduler 00:38:53 internal/support/scheduler/main.go:61:15: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/support/scheduler/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: 00:38:53 *"github.com/edgexfoundry/edgex-go/internal/support/scheduler/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetTelemetryInfo method) 00:38:54 # github.com/edgexfoundry/edgex-go/internal/support/notifications 00:38:54 internal/support/notifications/main.go:67:15: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/support/notifications/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: 00:38:54 *"github.com/edgexfoundry/edgex-go/internal/support/notifications/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetTelemetryInfo method) 00:38:54 # github.com/edgexfoundry/edgex-go/internal/system/agent 00:38:54 internal/system/agent/main.go:60:15: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/system/agent/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: 00:38:54 *"github.com/edgexfoundry/edgex-go/internal/system/agent/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetTelemetryInfo method) 00:39:13 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.405s coverage: 28.7% of statements 00:39:19 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.709s coverage: 98.5% of statements 00:39:19 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.488s coverage: 54.9% of statements 00:39:42 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 21.584s coverage: 89.2% of statements 00:39:42 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.429s coverage: 84.4% of statements 00:39:45 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 2.708s coverage: 95.4% of statements 00:39:45 ok github.com/edgexfoundry/edgex-go/internal/io 0.363s coverage: 72.2% of statements 00:39:45 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.500s coverage: 60.0% of statements 00:39:45 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.841s coverage: 0.9% of statements 00:39:45 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.603s coverage: 58.8% of statements 00:39:45 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.322s coverage: 24.0% of statements 00:39:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.300s coverage: 47.1% of statements 00:39:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.296s coverage: 79.5% of statements 00:39:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.241s coverage: 94.1% of statements 00:39:47 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.495s coverage: 96.3% of statements 00:39:49 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.574s coverage: 87.5% of statements 00:40:01 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.381s coverage: 94.4% of statements 00:40:01 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.246s coverage: 44.8% of statements 00:40:08 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.787s coverage: 82.5% of statements 00:40:15 # github.com/edgexfoundry/edgex-go/internal/security/proxy [github.com/edgexfoundry/edgex-go/internal/security/proxy.test] 00:40:15 internal/security/proxy/main.go:65: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/security/proxy/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: 00:40:15 *"github.com/edgexfoundry/edgex-go/internal/security/proxy/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetTelemetryInfo method) 00:40:15 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.380s coverage: 92.9% of statements 00:40:15 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.071s coverage: 65.1% of statements 00:40:15 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.248s coverage: 87.2% of statements 00:40:15 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.221s coverage: 100.0% of statements 00:40:15 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.324s coverage: 58.8% of statements 00:40:15 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.322s coverage: 80.0% of statements 00:40:15 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.309s coverage: 87.2% of statements 00:40:15 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.372s coverage: 85.4% of statements 00:40:15 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 1.138s coverage: 91.2% of statements 00:40:15 FAIL github.com/edgexfoundry/edgex-go/internal/security/fileprovider [build failed] 00:40:15 FAIL github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks [build failed] 00:40:15 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.118s coverage: 89.4% of statements 00:40:15 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.063s coverage: 100.0% of statements 00:40:16 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.149s coverage: 73.7% of statements 00:40:16 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.090s coverage: 100.0% of statements 00:40:16 FAIL github.com/edgexfoundry/edgex-go/internal/security/proxy [build failed] 00:40:16 # github.com/edgexfoundry/edgex-go/internal/security/secretstore [github.com/edgexfoundry/edgex-go/internal/security/secretstore.test] 00:40:16 internal/security/secretstore/main.go:69: cannot use configuration (type *"github.com/edgexfoundry/edgex-go/internal/security/secretstore/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: 00:40:16 *"github.com/edgexfoundry/edgex-go/internal/security/secretstore/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetTelemetryInfo method) 00:40:16 FAIL github.com/edgexfoundry/edgex-go/internal/security/secretstore [build failed] 00:40:18 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.295s coverage: 89.5% of statements 00:40:20 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.287s coverage: 84.8% of statements 00:40:38 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.373s coverage: 17.7% of statements 00:40:38 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.657s coverage: 92.3% of statements 00:40:38 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.276s coverage: 63.2% of statements 00:40:38 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.568s coverage: 97.7% of statements 00:40:38 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.227s coverage: 28.9% of statements 00:40:38 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.239s coverage: 100.0% of statements 00:40:38 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.089s coverage: 96.9% of statements 00:40:38 make: *** [Makefile:113: unittest] Error 2 [Pipeline] } 00:40:38 $ docker stop --time=1 1dc99501ff59debd10123fe7b71a340c3854223f40d848ea63b190bccee9e640 00:40:40 $ docker rm -f 1dc99501ff59debd10123fe7b71a340c3854223f40d848ea63b190bccee9e640 [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 00:40:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:40:42 00:40:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 00:40:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:40:42 arm64: Pulling from edgex-lftools-log-publisher 00:40:42 8998bd30e6a1: Pulling fs layer 00:40:42 04944245beec: Pulling fs layer 00:40:42 699f458cf7ca: Pulling fs layer 00:40:42 765212b225bb: Pulling fs layer 00:40:42 f23df028b6ca: Pulling fs layer 00:40:42 d65c8cfc05b1: Pulling fs layer 00:40:42 2437ff75d9bd: Pulling fs layer 00:40:42 765212b225bb: Waiting 00:40:42 f23df028b6ca: Waiting 00:40:42 d65c8cfc05b1: Waiting 00:40:42 04944245beec: Verifying Checksum 00:40:42 04944245beec: Download complete 00:40:42 765212b225bb: Verifying Checksum 00:40:42 765212b225bb: Download complete 00:40:43 f23df028b6ca: Verifying Checksum 00:40:43 f23df028b6ca: Download complete 00:40:43 d65c8cfc05b1: Verifying Checksum 00:40:43 d65c8cfc05b1: Download complete 00:40:43 699f458cf7ca: Verifying Checksum 00:40:43 699f458cf7ca: Download complete 00:40:43 8998bd30e6a1: Verifying Checksum 00:40:43 8998bd30e6a1: Download complete 00:40:46 2437ff75d9bd: Verifying Checksum 00:40:46 2437ff75d9bd: Download complete 00:40:47 8998bd30e6a1: Pull complete 00:40:48 04944245beec: Pull complete 00:40:49 699f458cf7ca: Pull complete 00:40:50 765212b225bb: Pull complete 00:40:51 f23df028b6ca: Pull complete 00:40:51 d65c8cfc05b1: Pull complete 00:41:09 2437ff75d9bd: Pull complete 00:41:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:41:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:41:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 00:41:10 prd-ubuntu20.04-docker-arm64-4c-16g-20743 does not seem to be running inside a container 00:41:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:41:13 $ docker top b43ede14581460f68e9e31e97f18efa2dc5b0dc32ccf8e56a40ef73f2fcf6d70 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:41:14 ---> job-cost.sh 00:41:14 lf-activate-venv: SKIPPING 00:41:14 INFO: No Stack... 00:41:14 INFO: Retrieving Pricing Info for: v3-standard-4 00:41:15 INFO: Archiving Costs [Pipeline] sh 00:41:16 + cat /w/workspace/edgex-go/2/archives/cost.csv 00:41:16 + cut -d, -f6 [Pipeline] lock 00:41:16 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3960-2-stack-cost] 00:41:16 Resource [jenkins-edgexfoundry-edgex-go-PR-3960-2-stack-cost] did not exist. Created. 00:41:16 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3960-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:41:17 + echo total: 0.10999999940395355 [Pipeline] stash 00:41:18 Stashed 1 file(s) [Pipeline] } 00:41:18 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3960-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:41:18 $ docker stop --time=1 b43ede14581460f68e9e31e97f18efa2dc5b0dc32ccf8e56a40ef73f2fcf6d70 00:41:19 $ docker rm -f b43ede14581460f68e9e31e97f18efa2dc5b0dc32ccf8e56a40ef73f2fcf6d70 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:41:20 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 00:41:20 + [ -d /w/workspace/edgex-go/2/archives ] [Pipeline] libraryResource [Pipeline] sh 00:41:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:41:21 ---> package-listing.sh 00:41:21 ++ facter osfamily 00:41:21 ++ tr '[:upper:]' '[:lower:]' 00:41:22 + OS_FAMILY=debian 00:41:22 + workspace=/w/workspace/edgex-go/2 00:41:22 + START_PACKAGES=/tmp/packages_start.txt 00:41:22 + END_PACKAGES=/tmp/packages_end.txt 00:41:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:41:22 + PACKAGES=/tmp/packages_start.txt 00:41:22 + '[' /w/workspace/edgex-go/2 ']' 00:41:22 + PACKAGES=/tmp/packages_end.txt 00:41:22 + case "${OS_FAMILY}" in 00:41:22 + dpkg -l 00:41:22 + grep '^ii' 00:41:22 + '[' -f /tmp/packages_start.txt ']' 00:41:22 + '[' -f /tmp/packages_end.txt ']' 00:41:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:41:22 + '[' /w/workspace/edgex-go/2 ']' 00:41:22 + mkdir -p /w/workspace/edgex-go/2/archives/ 00:41:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo 00:41:22 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:41:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:41:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:41:23 00:41:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:41:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:41:23 latest: Pulling from edgex-lftools-log-publisher 00:41:23 5eb5b503b376: Pulling fs layer 00:41:23 5c69ac0246d0: Pulling fs layer 00:41:23 ec43610c2a17: Pulling fs layer 00:41:23 3a2ae6a8a46f: Pulling fs layer 00:41:23 33b1e0a273af: Pulling fs layer 00:41:23 5d3b04190fa2: Pulling fs layer 00:41:23 2f39f015ded8: Pulling fs layer 00:41:23 3a2ae6a8a46f: Waiting 00:41:23 33b1e0a273af: Waiting 00:41:23 5d3b04190fa2: Waiting 00:41:23 2f39f015ded8: Waiting 00:41:23 5c69ac0246d0: Verifying Checksum 00:41:23 5c69ac0246d0: Download complete 00:41:23 33b1e0a273af: Verifying Checksum 00:41:23 33b1e0a273af: Download complete 00:41:23 5d3b04190fa2: Verifying Checksum 00:41:23 5d3b04190fa2: Download complete 00:41:23 ec43610c2a17: Verifying Checksum 00:41:23 ec43610c2a17: Download complete 00:41:23 5eb5b503b376: Verifying Checksum 00:41:23 5eb5b503b376: Download complete 00:41:24 2f39f015ded8: Download complete 00:41:25 5eb5b503b376: Pull complete 00:41:25 5c69ac0246d0: Pull complete 00:41:25 ec43610c2a17: Pull complete 00:41:25 3a2ae6a8a46f: Pull complete 00:41:25 33b1e0a273af: Pull complete 00:41:25 5d3b04190fa2: Pull complete 00:41:31 2f39f015ded8: Pull complete 00:41:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:41:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:41:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:41:31 prd-ubuntu20.04-docker-8c-8g-20739 does not seem to be running inside a container 00:41:31 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:41:33 $ docker top 83c10ba4322820c610a5e7baa2a5ed444b7278ed38174c7b2a662737b7bd37ba -eo pid,comm [Pipeline] { [Pipeline] sh 00:41:33 + touch /tmp/pre-build-complete [Pipeline] sh 00:41:33 + mkdir -p /var/log/sysstat [Pipeline] sh 00:41:34 + ls /var/log/sa-host 00:41:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:41:34 provisioning config files... 00:41:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config2269697009530497079tmp [Pipeline] { [Pipeline] echo 00:41:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:41:34 ---> create-netrc.sh [Pipeline] } 00:41:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:41:34 ---> python-tools-install.sh [Pipeline] echo 00:41:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:41:35 ---> sudo-logs.sh 00:41:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:41:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:41:35 ---> job-cost.sh 00:41:35 lf-activate-venv: SKIPPING 00:41:35 DEBUG: total: 0.10999999940395355 00:41:35 INFO: Retrieving Stack Cost... 00:41:36 INFO: Retrieving Pricing Info for: v3-standard-8 00:41:36 INFO: Archiving Costs [Pipeline] echo 00:41:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:41:36 ---> logs-deploy.sh 00:41:36 lf-activate-venv: SKIPPING 00:41:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3960/2 00:41:36 INFO: archiving workspace using pattern(s): 00:41:37 Archives upload complete. 00:41:37 INFO: archiving logs to Nexus