Pull request #4285 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/edgex-go Obtained Jenkinsfile from 634a0a80b48c197527aebbc77a7670dbfa0cb16a+bf562dc766fd38f4e5702a64e70d5e04b319d653 (d09ee23c37e0c82bb8dad74e0e232e8bfdb2c60e) 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-ssh3426314540765041540.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh13795418394086281674.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-4285/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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-4285/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17024650557285899210.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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 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-ssh493952510725040374.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-4285/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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-4285/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15870369229619689524.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 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.18 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2592 in /w/workspace/edgexfoundry_edgex-go_PR-4285 [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 > 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 Merging remotes/origin/main commit bf562dc766fd38f4e5702a64e70d5e04b319d653 into PR head commit 634a0a80b48c197527aebbc77a7670dbfa0cb16a Merge succeeded, producing 634a0a80b48c197527aebbc77a7670dbfa0cb16a Checking out Revision 634a0a80b48c197527aebbc77a7670dbfa0cb16a (PR-4285) > 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/4285/head:refs/remotes/origin/PR-4285 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 634a0a80b48c197527aebbc77a7670dbfa0cb16a # 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 bf562dc766fd38f4e5702a64e70d5e04b319d653 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 634a0a80b48c197527aebbc77a7670dbfa0cb16a # timeout=10 Commit message: "refactor: Replace references to message queue in log messages" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:04:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:04:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:04:09 ========================================================= 17:04:09 EdgeX Global Pipelines Version Info 17:04:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:04:10 ------------------- 17:04:10 stable info: 17:04:10 ------------------- 17:04:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:04:10 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:04:10 Message: update stable to v1.0.244 > git rev-list --no-walk 39ef790b0fe884f03c2ee9fc2a023780c869a6e5 # timeout=10 17:04:10 ------------------- 17:04:10 experimental info: 17:04:10 ------------------- 17:04:10 Commited By: **** collab-it+edgex@linuxfoundation.org 17:04:10 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:04:10 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:04:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 17:04:11 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 17:04:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:04:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:04:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:04:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:04:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:04:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 17:04:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 17:04:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 17:04:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:04:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:04:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:04:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:04:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:04:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:04:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:04:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:04:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:04:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 17:04:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:04:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:04:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:04:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4285 [Pipeline] echo 17:04:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4285 [Pipeline] echo 17:04:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4285 [Pipeline] echo 17:04:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 634a0a80b48c197527aebbc77a7670dbfa0cb16a [Pipeline] echo 17:04:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 634a0a8 [Pipeline] echo 17:04:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:04:11 provisioning config files... 17:04:11 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config17773616453188748290tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:04:11 ---> docker-login.sh 17:04:11 nexus3.edgexfoundry.org:10001 17:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:04:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:04:12 Configure a credential helper to remove this warning. See 17:04:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:04:12 17:04:12 Login Succeeded 17:04:12 nexus3.edgexfoundry.org:10002 17:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:04:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:04:12 Configure a credential helper to remove this warning. See 17:04:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:04:12 17:04:12 Login Succeeded 17:04:12 nexus3.edgexfoundry.org:10003 17:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:04:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:04:12 Configure a credential helper to remove this warning. See 17:04:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:04:12 17:04:12 Login Succeeded 17:04:12 nexus3.edgexfoundry.org:10004 17:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:04:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:04:12 Configure a credential helper to remove this warning. See 17:04:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:04:12 17:04:12 Login Succeeded 17:04:12 docker.io 17:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:04:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:04:12 Configure a credential helper to remove this warning. See 17:04:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:04:12 17:04:12 Login Succeeded 17:04:12 ---> docker-login.sh ends [Pipeline] } 17:04:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:04:12 + 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 17:04:12 + cut -d/ -f2 17:04:12 + dirname cmd/core-command/Dockerfile 17:04:12 + echo core-command,cmd/core-command/Dockerfile 17:04:12 + dirname+ cmd/core-data/Dockerfile 17:04:12 cut -d/ -f2 17:04:12 + echo core-data,cmd/core-data/Dockerfile 17:04:12 + dirname cmd/core-metadata/Dockerfile 17:04:12 + cut -d/ -f2 17:04:12 + echo core-metadata,cmd/core-metadata/Dockerfile 17:04:12 + + dirname cmd/security-bootstrapper/Dockerfile 17:04:12 cut -d/ -f2 17:04:12 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 17:04:12 + dirname cmd/security-proxy-setup/Dockerfile 17:04:12 + cut -d/ -f2 17:04:12 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 17:04:12 + dirname cmd/security-secretstore-setup/Dockerfile 17:04:12 + cut -d/ -f2 17:04:12 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 17:04:12 + dirname cmd/security-spiffe-token-provider/Dockerfile 17:04:12 + cut -d/ -f2 17:04:12 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 17:04:12 + dirname cmd/security-spire-agent/Dockerfile 17:04:12 + cut -d/ -f2 17:04:12 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 17:04:12 + dirname cmd/security-spire-config/Dockerfile 17:04:12 + cut -d/ -f2 17:04:12 + echo security-spire-config,cmd/security-spire-config/Dockerfile 17:04:12 + dirname cmd/security-spire-server/Dockerfile 17:04:12 + cut -d/ -f2 17:04:12 + echo security-spire-server,cmd/security-spire-server/Dockerfile 17:04:12 + dirname cmd/support-notifications/Dockerfile 17:04:12 + cut -d/ -f2 17:04:12 + echo support-notifications,cmd/support-notifications/Dockerfile 17:04:12 + dirname cmd/support-scheduler/Dockerfile 17:04:12 + cut -d/ -f2 17:04:12 + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo 17:04:12 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]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:04:13 + git rev-list -1 --merges 634a0a80b48c197527aebbc77a7670dbfa0cb16a~1..634a0a80b48c197527aebbc77a7670dbfa0cb16a [Pipeline] echo 17:04:13 -----------> git rev-list -1 --merges 634a0a80b48c197527aebbc77a7670dbfa0cb16a~1..634a0a80b48c197527aebbc77a7670dbfa0cb16a 634a0a80b48c197527aebbc77a7670dbfa0cb16a [false] [Pipeline] sh 17:04:13 + git log --format=format:%s -1 634a0a80b48c197527aebbc77a7670dbfa0cb16a [Pipeline] echo 17:04:13 ========================================================= 17:04:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:04:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 17:04:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:04:14 + grep -v github /etc/ssh/ssh_known_hosts 17:04:14 + [ -e /tmp/ssh_known_hosts ] 17:04:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:04:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:04:14 + sudo tee -a /etc/ssh/ssh_known_hosts 17:04:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:04:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:04:14 17:04:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:04:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:04:14 0.1.4: Pulling from edgex-devops/py-git-semver 17:04:14 b85a868b505f: Pulling fs layer 17:04:14 e2be974225ed: Pulling fs layer 17:04:14 339a4e72a1f5: Pulling fs layer 17:04:14 988bab9f4d93: Pulling fs layer 17:04:14 1469e6f7b9e6: Pulling fs layer 17:04:14 eaf3925da568: Pulling fs layer 17:04:14 bab4dde63d76: Pulling fs layer 17:04:14 bde34c3a00c8: Pulling fs layer 17:04:14 b352a97aabf1: Pulling fs layer 17:04:14 4872d77fe225: Pulling fs layer 17:04:14 5851b861e8e6: Pulling fs layer 17:04:14 988bab9f4d93: Waiting 17:04:14 bde34c3a00c8: Waiting 17:04:14 b352a97aabf1: Waiting 17:04:14 4872d77fe225: Waiting 17:04:14 1469e6f7b9e6: Waiting 17:04:14 eaf3925da568: Waiting 17:04:15 e2be974225ed: Verifying Checksum 17:04:15 e2be974225ed: Download complete 17:04:15 988bab9f4d93: Verifying Checksum 17:04:15 1469e6f7b9e6: Verifying Checksum 17:04:15 1469e6f7b9e6: Download complete 17:04:15 eaf3925da568: Verifying Checksum 17:04:15 eaf3925da568: Download complete 17:04:15 339a4e72a1f5: Verifying Checksum 17:04:15 339a4e72a1f5: Download complete 17:04:15 bde34c3a00c8: Verifying Checksum 17:04:15 bde34c3a00c8: Download complete 17:04:15 b352a97aabf1: Verifying Checksum 17:04:15 b352a97aabf1: Download complete 17:04:15 4872d77fe225: Verifying Checksum 17:04:15 4872d77fe225: Download complete 17:04:15 5851b861e8e6: Verifying Checksum 17:04:15 5851b861e8e6: Download complete 17:04:15 b85a868b505f: Verifying Checksum 17:04:15 b85a868b505f: Download complete 17:04:16 bab4dde63d76: Verifying Checksum 17:04:16 bab4dde63d76: Download complete 17:04:17 b85a868b505f: Pull complete 17:04:17 e2be974225ed: Pull complete 17:04:17 339a4e72a1f5: Pull complete 17:04:17 988bab9f4d93: Pull complete 17:04:17 1469e6f7b9e6: Pull complete 17:04:17 eaf3925da568: Pull complete 17:04:19 bab4dde63d76: Pull complete 17:04:19 bde34c3a00c8: Pull complete 17:04:19 b352a97aabf1: Pull complete 17:04:19 4872d77fe225: Pull complete 17:04:19 5851b861e8e6: Pull complete 17:04:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:04:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:04:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:04:19 prd-ubuntu20.04-docker-8c-8g-2592 does not seem to be running inside a container 17:04:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:04:22 $ docker top 815cd7358ae8ade638a015703d80f0bf1791350388ca6ca6258495b6f2fad691 -eo pid,comm 17:04:22 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). 17:04:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:04:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:04:22 [ssh-agent] Looking for ssh-agent implementation... 17:04:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:04:22 $ docker exec 815cd7358ae8ade638a015703d80f0bf1791350388ca6ca6258495b6f2fad691 ssh-agent 17:04:22 SSH_AUTH_SOCK=/tmp/ssh-VWp8UmbsRs7u/agent.32 17:04:22 SSH_AGENT_PID=38 17:04:22 Running ssh-add (command line suppressed) 17:04:22 Identity added: /w/workspace/edgex-go/2@tmp/private_key_4275489059800743019.key (/w/workspace/edgex-go/2@tmp/private_key_4275489059800743019.key) 17:04:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:04:22 + git tag --points-at HEAD [Pipeline] } 17:04:22 $ docker exec --env ******** --env ******** 815cd7358ae8ade638a015703d80f0bf1791350388ca6ca6258495b6f2fad691 ssh-agent -k 17:04:22 unset SSH_AUTH_SOCK; 17:04:22 unset SSH_AGENT_PID; 17:04:22 echo Agent pid 38 killed; 17:04:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:04:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:04:22 [ssh-agent] Looking for ssh-agent implementation... 17:04:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:04:23 $ docker exec 815cd7358ae8ade638a015703d80f0bf1791350388ca6ca6258495b6f2fad691 ssh-agent 17:04:23 SSH_AUTH_SOCK=/tmp/ssh-27nMg98ZYf1U/agent.70 17:04:23 SSH_AGENT_PID=76 17:04:23 Running ssh-add (command line suppressed) 17:04:23 Identity added: /w/workspace/edgex-go/2@tmp/private_key_8039401389434351147.key (/w/workspace/edgex-go/2@tmp/private_key_8039401389434351147.key) 17:04:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:04:23 + git semver init 17:04:23 2023-01-16 17:04:23,672 [run_init] DEBUG init version:0.0.0 force:False 17:04:23 2023-01-16 17:04:23,673 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/2/.semver 17:04:23 2023-01-16 17:04:23,673 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/2/.semver 17:04:23 2023-01-16 17:04:23,674 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/edgex-go.git', '/w/workspace/edgex-go/2/.semver'], cwd=/w/workspace/edgex-go/2, universal_newlines=False, shell=None, istream=None) 17:04:30 2023-01-16 17:04:30,264 [append_file] DEBUG append to file:/w/workspace/edgex-go/2/.git/info/exclude 17:04:30 2023-01-16 17:04:30,264 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/2/.semver/PR-4285 with force:False 17:04:30 2023-01-16 17:04:30,265 [write_file] DEBUG write to file:/w/workspace/edgex-go/2/.semver/PR-4285 17:04:30 2023-01-16 17:04:30,268 [execute] INFO git cat-file --batch-check 17:04:30 2023-01-16 17:04:30,268 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/2/.semver, universal_newlines=False, shell=None, istream=) 17:04:30 2023-01-16 17:04:30,273 [execute] INFO git cat-file --batch 17:04:30 2023-01-16 17:04:30,274 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/2/.semver, universal_newlines=False, shell=None, istream=) 17:04:30 2023-01-16 17:04:30,278 [read_version] DEBUG read version from /w/workspace/edgex-go/2/.semver/PR-4285 17:04:30 0.0.0 [Pipeline] } 17:04:30 $ docker exec --env ******** --env ******** 815cd7358ae8ade638a015703d80f0bf1791350388ca6ca6258495b6f2fad691 ssh-agent -k 17:04:30 unset SSH_AUTH_SOCK; 17:04:30 unset SSH_AGENT_PID; 17:04:30 echo Agent pid 76 killed; 17:04:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:04:30 + git semver [Pipeline] } 17:04:31 $ docker stop --time=1 815cd7358ae8ade638a015703d80f0bf1791350388ca6ca6258495b6f2fad691 17:04:32 $ docker rm -f --volumes 815cd7358ae8ade638a015703d80f0bf1791350388ca6ca6258495b6f2fad691 [Pipeline] // withDockerContainer [Pipeline] sh 17:04:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:04:32 Stashed 1 file(s) [Pipeline] echo 17:04:32 [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] sh 17:04:33 + git config --global --add safe.directory /w/workspace/edgex-go/2 [Pipeline] echo 17:04:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:04:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:04:33 ========================================================= 17:04:33 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:04:33 ========================================================= [Pipeline] fileExists [Pipeline] sh 17:04:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:04:33 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:04:33 213ec9aee27d: Pulling fs layer 17:04:33 4583459ba037: Pulling fs layer 17:04:33 93c1e223e6f2: Pulling fs layer 17:04:33 53926ce57604: Pulling fs layer 17:04:33 21b2b0c7a3f4: Pulling fs layer 17:04:33 22ff95d597cd: Pulling fs layer 17:04:33 12d6caf4c0d1: Pulling fs layer 17:04:33 96b7cbca73a9: Pulling fs layer 17:04:33 a7acece74701: Pulling fs layer 17:04:33 22ff95d597cd: Waiting 17:04:33 12d6caf4c0d1: Waiting 17:04:33 96b7cbca73a9: Waiting 17:04:33 a7acece74701: Waiting 17:04:33 21b2b0c7a3f4: Waiting 17:04:33 53926ce57604: Waiting 17:04:33 93c1e223e6f2: Verifying Checksum 17:04:33 93c1e223e6f2: Download complete 17:04:33 4583459ba037: Download complete 17:04:33 21b2b0c7a3f4: Download complete 17:04:33 22ff95d597cd: Verifying Checksum 17:04:33 22ff95d597cd: Download complete 17:04:33 213ec9aee27d: Verifying Checksum 17:04:33 213ec9aee27d: Download complete 17:04:33 12d6caf4c0d1: Download complete 17:04:34 213ec9aee27d: Pull complete 17:04:34 4583459ba037: Pull complete 17:04:34 93c1e223e6f2: Pull complete 17:04:35 a7acece74701: Verifying Checksum 17:04:35 a7acece74701: Download complete 17:04:37 96b7cbca73a9: Verifying Checksum 17:04:37 96b7cbca73a9: Download complete 17:04:37 53926ce57604: Verifying Checksum 17:04:37 53926ce57604: Download complete 17:04:41 53926ce57604: Pull complete 17:04:41 21b2b0c7a3f4: Pull complete 17:04:41 22ff95d597cd: Pull complete 17:04:41 12d6caf4c0d1: Pull complete 17:04:43 96b7cbca73a9: Pull complete 17:04:44 a7acece74701: Pull complete 17:04:44 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:04:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:04:44 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] fileExists [Pipeline] sh 17:04:44 + + echodocker FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:04:44 WORKDIR /edgex 17:04:44 COPY go.mod . 17:04:44 RUN go mod download build 17:04:44 -t ci-base-image-x86_64 -f - . 17:04:45 Sending build context to Docker daemon 170MB 17:04:45 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:04:45 ---> db6d94c90886 17:04:45 Step 2/4 : WORKDIR /edgex 17:04:47 Still waiting to schedule task 17:04:47 ‘prd-ubuntu20.04-docker-arm64-4c-16g-2591’ is offline 17:04:49 ---> Running in 3bfaabe6c3b4 17:04:49 Removing intermediate container 3bfaabe6c3b4 17:04:49 ---> e8480e6d0f97 17:04:49 Step 3/4 : COPY go.mod . 17:04:49 ---> 46751d8496b8 17:04:49 Step 4/4 : RUN go mod download 17:04:49 ---> Running in 1f84164af42f 17:05:01 Removing intermediate container 1f84164af42f 17:05:01 ---> 103756931931 17:05:01 Successfully built 103756931931 17:05:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:05:01 + docker inspect -f . ci-base-image-x86_64 17:05:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:05:01 prd-ubuntu20.04-docker-8c-8g-2592 does not seem to be running inside a container 17:05:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:05:02 $ docker top 49b68674c811439473390210090355f02ceabb2d978c48b596a098c556768aa6 -eo pid,comm [Pipeline] { [Pipeline] sh 17:05:02 + go version 17:05:02 go version go1.18.7 linux/amd64 [Pipeline] } 17:05:02 $ docker stop --time=1 49b68674c811439473390210090355f02ceabb2d978c48b596a098c556768aa6 17:05:03 $ docker rm -f --volumes 49b68674c811439473390210090355f02ceabb2d978c48b596a098c556768aa6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:05:04 + docker inspect -f . ci-base-image-x86_64 17:05:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:05:04 prd-ubuntu20.04-docker-8c-8g-2592 does not seem to be running inside a container 17:05:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:05:04 $ docker top 9924801e327c403544e87e17ada39ab512b165af5abb25d87c121cc09c6628b6 -eo pid,comm [Pipeline] { [Pipeline] echo 17:05:04 ========================================================= 17:05:04 [edgeXBuildGoParallel] Running Tests and Build... 17:05:04 ========================================================= [Pipeline] sh 17:05:05 + git config --global --add safe.directory /w/workspace/edgex-go/2 [Pipeline] fileExists [Pipeline] sh 17:05:05 + make test 17:05:05 go test -race -coverprofile=coverage.out ./... 17:05:11 ? github.com/edgexfoundry/edgex-go [no test files] 17:05:24 # github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 17:05:24 internal/security/bootstrapper/command/setupacl/command.go:104:36: undefined: secret.BuildSecretStoreConfig 17:05:24 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 17:05:24 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 17:05:24 # github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider 17:05:24 internal/security/spiffetokenprovider/init.go:79:36: undefined: secret.BuildSecretStoreConfig 17:05:24 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 17:05:24 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 17:05:24 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.097s coverage: 28.7% of statements 17:05:24 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.099s coverage: 98.5% of statements 17:05:24 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 0.137s coverage: 43.0% of statements 17:05:25 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.094s coverage: 54.0% of statements 17:05:29 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 3.934s coverage: 89.2% of statements 17:05:29 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.090s coverage: 2.4% of statements 17:05:29 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.499s coverage: 95.6% of statements 17:05:29 ok github.com/edgexfoundry/edgex-go/internal/io 0.095s coverage: 72.2% of statements 17:05:29 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.071s coverage: 60.0% of statements 17:05:29 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.081s coverage: 0.9% of statements 17:05:29 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.049s coverage: 58.8% of statements 17:05:29 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.058s coverage: 29.6% of statements 17:05:29 FAIL github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command [build failed] 17:05:29 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.073s coverage: 79.5% of statements 17:05:29 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.054s coverage: 94.1% of statements 17:05:29 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.077s coverage: 96.3% of statements 17:05:29 FAIL github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help [build failed] 17:05:37 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.102s coverage: 94.4% of statements 17:05:37 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.058s coverage: 44.8% of statements 17:05:37 FAIL github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl [build failed] 17:05:47 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.083s coverage: 92.9% of statements 17:05:47 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.057s coverage: 65.1% of statements 17:05:47 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.067s coverage: 86.9% of statements 17:05:47 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.085s coverage: 87.2% of statements 17:05:47 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.081s coverage: 100.0% of statements 17:05:47 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.055s coverage: 77.4% of statements 17:05:47 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.055s coverage: 80.0% of statements 17:05:47 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.063s coverage: 87.2% of statements 17:05:47 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.250s coverage: 91.2% of statements 17:05:47 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.175s coverage: 64.7% of statements 17:05:47 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.054s coverage: 100.0% of statements 17:05:47 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.039s coverage: 89.4% of statements 17:05:47 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.030s coverage: 100.0% of statements 17:05:47 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.027s coverage: 73.7% of statements 17:05:47 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.018s coverage: 100.0% of statements 17:05:47 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.264s coverage: 65.8% of statements 17:05:47 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.185s coverage: 41.8% of statements 17:05:47 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.100s coverage: 89.5% of statements 17:05:47 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.074s coverage: 84.8% of statements 17:05:47 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.071s coverage: 17.7% of statements 17:05:47 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.165s coverage: 92.3% of statements 17:05:47 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.054s coverage: 63.2% of statements 17:05:47 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.096s coverage: 97.7% of statements 17:05:47 make: *** [Makefile:137: unittest] Error 2 [Pipeline] } 17:05:47 $ docker stop --time=1 9924801e327c403544e87e17ada39ab512b165af5abb25d87c121cc09c6628b6 17:05:50 $ docker rm -f --volumes 9924801e327c403544e87e17ada39ab512b165af5abb25d87c121cc09c6628b6 [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] } 17:05:50 Failed in branch amd64 17:06:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2594 in /w/workspace/edgexfoundry_edgex-go_PR-4285 [Pipeline] { [Pipeline] ws 17:06:22 Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] checkout 17:06:22 The recommended git tool is: git 17:06:27 using credential edgex-jenkins-ssh 17:06:27 Cloning the remote Git repository 17:06:27 Cloning repository git@github.com:edgexfoundry/edgex-go.git 17:06:27 > git init /w/workspace/edgex-go/2 # timeout=10 17:06:28 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 17:06:28 > git --version # timeout=10 17:06:28 > git --version # 'git version 2.25.1' 17:06:28 using GIT_SSH to set credentials SSH Credentials for GitHub 17:06:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:06:44 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 17:06:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:06:46 Merging remotes/origin/main commit bf562dc766fd38f4e5702a64e70d5e04b319d653 into PR head commit 634a0a80b48c197527aebbc77a7670dbfa0cb16a [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:06:46 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 17:06:47 + [ -d /w/workspace/edgex-go/2/archives ] [Pipeline] libraryResource [Pipeline] sh 17:06:45 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 17:06:45 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 17:06:45 using GIT_SSH to set credentials SSH Credentials for GitHub 17:06:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4285/head:refs/remotes/origin/PR-4285 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:06:46 > git config core.sparsecheckout # timeout=10 17:06:46 > git checkout -f 634a0a80b48c197527aebbc77a7670dbfa0cb16a # timeout=10 17:06:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:06:48 ---> package-listing.sh 17:06:48 ++ facter osfamily 17:06:48 ++ tr '[:upper:]' '[:lower:]' 17:06:48 + OS_FAMILY=debian 17:06:48 + workspace=/w/workspace/edgex-go/2 17:06:48 + START_PACKAGES=/tmp/packages_start.txt 17:06:48 + END_PACKAGES=/tmp/packages_end.txt 17:06:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:06:48 + PACKAGES=/tmp/packages_start.txt 17:06:48 + '[' /w/workspace/edgex-go/2 ']' 17:06:48 + PACKAGES=/tmp/packages_end.txt 17:06:48 + case "${OS_FAMILY}" in 17:06:48 + grep '^ii' 17:06:48 + dpkg -l 17:06:48 + '[' -f /tmp/packages_start.txt ']' 17:06:48 + '[' -f /tmp/packages_end.txt ']' 17:06:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:06:48 + '[' /w/workspace/edgex-go/2 ']' 17:06:48 + mkdir -p /w/workspace/edgex-go/2/archives/ 17:06:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo 17:06:48 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 17:06:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:06:49 17:06:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:06:49 latest: Pulling from edgex-lftools-log-publisher 17:06:49 5eb5b503b376: Pulling fs layer 17:06:49 5c69ac0246d0: Pulling fs layer 17:06:49 ec43610c2a17: Pulling fs layer 17:06:49 3a2ae6a8a46f: Pulling fs layer 17:06:49 3a2ae6a8a46f: Waiting 17:06:49 33b1e0a273af: Pulling fs layer 17:06:49 5d3b04190fa2: Pulling fs layer 17:06:49 2f39f015ded8: Pulling fs layer 17:06:49 5d3b04190fa2: Waiting 17:06:49 2f39f015ded8: Waiting 17:06:49 5c69ac0246d0: Download complete 17:06:49 3a2ae6a8a46f: Verifying Checksum 17:06:49 3a2ae6a8a46f: Download complete 17:06:49 33b1e0a273af: Verifying Checksum 17:06:49 33b1e0a273af: Download complete 17:06:49 5d3b04190fa2: Verifying Checksum 17:06:49 5d3b04190fa2: Download complete 17:06:49 ec43610c2a17: Verifying Checksum 17:06:49 ec43610c2a17: Download complete 17:06:50 5eb5b503b376: Verifying Checksum 17:06:50 5eb5b503b376: Download complete 17:06:51 5eb5b503b376: Pull complete 17:06:52 2f39f015ded8: Download complete 17:06:52 5c69ac0246d0: Pull complete 17:06:52 ec43610c2a17: Pull complete 17:06:52 3a2ae6a8a46f: Pull complete 17:06:53 33b1e0a273af: Pull complete 17:06:53 5d3b04190fa2: Pull complete 17:06:57 2f39f015ded8: Pull complete 17:06:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:06:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:06:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:06:57 prd-ubuntu20.04-docker-8c-8g-2592 does not seem to be running inside a container 17:06:57 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:07:00 $ docker top 33b0ecd92d895b52f11a312fa5c878a7df5c3de1a11084202612bf379965cf09 -eo pid,comm [Pipeline] { [Pipeline] sh 17:07:01 + touch /tmp/pre-build-complete [Pipeline] sh 17:07:01 + mkdir -p /var/log/sysstat [Pipeline] sh 17:07:01 + ls /var/log/sa-host 17:07:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:07:01 provisioning config files... 17:07:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config4035286143940188615tmp [Pipeline] { [Pipeline] echo 17:07:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:07:02 ---> create-netrc.sh [Pipeline] } 17:07:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:07:02 ---> python-tools-install.sh [Pipeline] echo 17:07:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:07:02 ---> sudo-logs.sh 17:07:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:07:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:07:03 ---> job-cost.sh 17:07:03 lf-activate-venv: SKIPPING 17:07:03 INFO: No Stack... 17:07:03 INFO: Retrieving Pricing Info for: v3-standard-8 17:07:03 INFO: Archiving Costs [Pipeline] echo 17:07:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:07:03 ---> logs-deploy.sh 17:07:03 lf-activate-venv: SKIPPING 17:07:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4285/2 17:07:03 INFO: archiving workspace using pattern(s): 17:07:04 Archives upload complete. 17:07:04 INFO: archiving logs to Nexus