Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0f39a74a8551b446de9b0580c8fb813d11cc836e+788be756f331ff1c1ac8640fcafd3eeb74e9f5c6 (1ea16cbb1e5321f3be65db3efa96ea9d3bff0e7a) 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-ssh9261768244785014147.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-ssh360765137821406898.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-4357/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-4357/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13238978381925420432.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-ssh6965301744785832665.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-4357/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-4357/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14860707774712311093.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 Running on prd-ubuntu20.04-docker-8c-8g-6077 in /w/workspace/edgexfoundry_edgex-go_PR-4357 [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 788be756f331ff1c1ac8640fcafd3eeb74e9f5c6 into PR head commit 0f39a74a8551b446de9b0580c8fb813d11cc836e Merge succeeded, producing 5cc9435987894dce7137dfb7438925260b4774ab Checking out Revision 5cc9435987894dce7137dfb7438925260b4774ab (PR-4357) > 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/4357/head:refs/remotes/origin/PR-4357 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0f39a74a8551b446de9b0580c8fb813d11cc836e # 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 788be756f331ff1c1ac8640fcafd3eeb74e9f5c6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5cc9435987894dce7137dfb7438925260b4774ab # timeout=10 Commit message: "Merge commit '788be756f331ff1c1ac8640fcafd3eeb74e9f5c6' into HEAD" > git rev-list --no-walk 0f39a74a8551b446de9b0580c8fb813d11cc836e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:28:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:28:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:28:31 ========================================================= 08:28:31 EdgeX Global Pipelines Version Info 08:28:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:28:31 ------------------- 08:28:31 stable info: 08:28:31 ------------------- 08:28:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:28:31 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 08:28:31 Message: update stable to v1.0.244 08:28:32 ------------------- 08:28:32 experimental info: 08:28:32 ------------------- 08:28:32 Commited By: **** collab-it+edgex@linuxfoundation.org 08:28:32 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 08:28:32 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:28:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 08:28:32 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 08:28:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:28:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:28:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:28:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 08:28:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:28:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 08:28:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 08:28:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 08:28:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:28:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:28:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:28:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:28:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:28:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:28:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:28:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:28:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:28:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 08:28:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:28:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:28:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:28:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4357 [Pipeline] echo 08:28:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4357 [Pipeline] echo 08:28:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4357 [Pipeline] echo 08:28:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5cc9435987894dce7137dfb7438925260b4774ab [Pipeline] echo 08:28:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5cc9435 [Pipeline] echo 08:28:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:28:33 provisioning config files... 08:28:33 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config16335296396409410724tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:28:33 ---> docker-login.sh 08:28:33 nexus3.edgexfoundry.org:10001 08:28:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:28:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:28:33 Configure a credential helper to remove this warning. See 08:28:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:28:33 08:28:33 Login Succeeded 08:28:33 nexus3.edgexfoundry.org:10002 08:28:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:28:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:28:34 Configure a credential helper to remove this warning. See 08:28:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:28:34 08:28:34 Login Succeeded 08:28:34 nexus3.edgexfoundry.org:10003 08:28:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:28:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:28:34 Configure a credential helper to remove this warning. See 08:28:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:28:34 08:28:34 Login Succeeded 08:28:34 nexus3.edgexfoundry.org:10004 08:28:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:28:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:28:34 Configure a credential helper to remove this warning. See 08:28:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:28:34 08:28:34 Login Succeeded 08:28:34 docker.io 08:28:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:28:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:28:34 Configure a credential helper to remove this warning. See 08:28:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:28:34 08:28:34 Login Succeeded 08:28:34 ---> docker-login.sh ends [Pipeline] } 08:28:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:28:34 + ls cmd/core-command/Dockerfile cmd/core-common-config-bootstrapper/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 08:28:34 + dirname cmd/core-command/Dockerfile 08:28:34 + cut -d/ -f2 08:28:34 + echo core-command,cmd/core-command/Dockerfile 08:28:34 + dirname cmd/core-common-config-bootstrapper/Dockerfile 08:28:34 + cut -d/ -f2 08:28:34 + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile 08:28:34 + dirname cmd/core-data/Dockerfile 08:28:34 + cut -d/ -f2 08:28:34 + echo core-data,cmd/core-data/Dockerfile 08:28:34 + dirname cmd/core-metadata/Dockerfile 08:28:34 + cut -d/ -f2 08:28:34 + echo core-metadata,cmd/core-metadata/Dockerfile 08:28:34 + dirname cmd/security-bootstrapper/Dockerfile 08:28:34 + cut -d/ -f2 08:28:34 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 08:28:34 + dirname cmd/security-proxy-setup/Dockerfile 08:28:34 + cut -d/ -f2 08:28:34 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 08:28:34 + dirname cmd/security-secretstore-setup/Dockerfile 08:28:34 + cut -d/ -f2 08:28:34 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 08:28:34 + dirname cmd/security-spiffe-token-provider/Dockerfile 08:28:34 + cut -d/ -f2 08:28:34 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 08:28:34 + dirname cmd/security-spire-agent/Dockerfile 08:28:34 + cut -d/ -f2 08:28:34 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 08:28:34 + dirname cmd/security-spire-config/Dockerfile 08:28:34 + cut -d/ -f2 08:28:34 + echo security-spire-config,cmd/security-spire-config/Dockerfile 08:28:34 + dirname cmd/security-spire-server/Dockerfile 08:28:34 + cut -d/ -f2 08:28:34 + echo security-spire-server,cmd/security-spire-server/Dockerfile 08:28:34 + dirname cmd/support-notifications/Dockerfile 08:28:34 + cut -d/ -f2 08:28:34 + echo support-notifications,cmd/support-notifications/Dockerfile 08:28:34 + dirname cmd/support-scheduler/Dockerfile 08:28:34 + cut -d/ -f2 08:28:34 + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo 08:28:34 Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/Dockerfile], [image:core-common-config-bootstrapper, dockerfile:cmd/core-common-config-bootstrapper/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 08:28:35 + git rev-list -1 --merges 5cc9435987894dce7137dfb7438925260b4774ab~1..5cc9435987894dce7137dfb7438925260b4774ab [Pipeline] echo 08:28:35 -----------> git rev-list -1 --merges 5cc9435987894dce7137dfb7438925260b4774ab~1..5cc9435987894dce7137dfb7438925260b4774ab 5cc9435987894dce7137dfb7438925260b4774ab 08:28:35 5cc9435987894dce7137dfb7438925260b4774ab [false] [Pipeline] sh 08:28:35 + git log --format=format:%s -1 5cc9435987894dce7137dfb7438925260b4774ab [Pipeline] echo 08:28:35 ========================================================= 08:28:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:28:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 08:28:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:28:36 + grep -v github /etc/ssh/ssh_known_hosts 08:28:36 + [ -e /tmp/ssh_known_hosts ] 08:28:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:28:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:28:36 + sudo tee -a /etc/ssh/ssh_known_hosts 08:28:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:28:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:28:36 08:28:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:28:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:28:36 0.1.4: Pulling from edgex-devops/py-git-semver 08:28:36 b85a868b505f: Pulling fs layer 08:28:36 e2be974225ed: Pulling fs layer 08:28:36 339a4e72a1f5: Pulling fs layer 08:28:36 988bab9f4d93: Pulling fs layer 08:28:36 1469e6f7b9e6: Pulling fs layer 08:28:36 eaf3925da568: Pulling fs layer 08:28:36 bab4dde63d76: Pulling fs layer 08:28:36 bde34c3a00c8: Pulling fs layer 08:28:36 b352a97aabf1: Pulling fs layer 08:28:36 4872d77fe225: Pulling fs layer 08:28:36 5851b861e8e6: Pulling fs layer 08:28:36 988bab9f4d93: Waiting 08:28:36 1469e6f7b9e6: Waiting 08:28:36 eaf3925da568: Waiting 08:28:36 4872d77fe225: Waiting 08:28:36 bab4dde63d76: Waiting 08:28:36 5851b861e8e6: Waiting 08:28:36 bde34c3a00c8: Waiting 08:28:37 e2be974225ed: Download complete 08:28:37 988bab9f4d93: Verifying Checksum 08:28:37 988bab9f4d93: Download complete 08:28:37 1469e6f7b9e6: Verifying Checksum 08:28:37 1469e6f7b9e6: Download complete 08:28:37 eaf3925da568: Verifying Checksum 08:28:37 eaf3925da568: Download complete 08:28:37 339a4e72a1f5: Verifying Checksum 08:28:37 339a4e72a1f5: Download complete 08:28:37 bde34c3a00c8: Verifying Checksum 08:28:37 bde34c3a00c8: Download complete 08:28:37 b352a97aabf1: Download complete 08:28:37 4872d77fe225: Verifying Checksum 08:28:37 4872d77fe225: Download complete 08:28:37 5851b861e8e6: Download complete 08:28:37 b85a868b505f: Verifying Checksum 08:28:37 b85a868b505f: Download complete 08:28:37 bab4dde63d76: Verifying Checksum 08:28:37 bab4dde63d76: Download complete 08:28:38 b85a868b505f: Pull complete 08:28:38 e2be974225ed: Pull complete 08:28:39 339a4e72a1f5: Pull complete 08:28:39 988bab9f4d93: Pull complete 08:28:39 1469e6f7b9e6: Pull complete 08:28:39 eaf3925da568: Pull complete 08:28:41 bab4dde63d76: Pull complete 08:28:41 bde34c3a00c8: Pull complete 08:28:41 b352a97aabf1: Pull complete 08:28:41 4872d77fe225: Pull complete 08:28:41 5851b861e8e6: Pull complete 08:28:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:28:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:28:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:28:41 prd-ubuntu20.04-docker-8c-8g-6077 does not seem to be running inside a container 08:28:41 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:28:42 $ docker top b9fcd6bfc1bad01104762d9e9e5a63366dbd8db2d1e6710d3ae80fd6b9403c7a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:28:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:28:42 [ssh-agent] Looking for ssh-agent implementation... 08:28:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:28:42 $ docker exec b9fcd6bfc1bad01104762d9e9e5a63366dbd8db2d1e6710d3ae80fd6b9403c7a ssh-agent 08:28:43 SSH_AUTH_SOCK=/tmp/ssh-mYDL7ZNeUAoP/agent.32 08:28:43 SSH_AGENT_PID=38 08:28:43 Running ssh-add (command line suppressed) 08:28:43 Identity added: /w/workspace/edgex-go/2@tmp/private_key_7925865926950778818.key (/w/workspace/edgex-go/2@tmp/private_key_7925865926950778818.key) 08:28:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:28:43 + git tag --points-at HEAD [Pipeline] } 08:28:43 $ docker exec --env ******** --env ******** b9fcd6bfc1bad01104762d9e9e5a63366dbd8db2d1e6710d3ae80fd6b9403c7a ssh-agent -k 08:28:43 unset SSH_AUTH_SOCK; 08:28:43 unset SSH_AGENT_PID; 08:28:43 echo Agent pid 38 killed; 08:28:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:28:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:28:43 [ssh-agent] Looking for ssh-agent implementation... 08:28:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:28:43 $ docker exec b9fcd6bfc1bad01104762d9e9e5a63366dbd8db2d1e6710d3ae80fd6b9403c7a ssh-agent 08:28:43 SSH_AUTH_SOCK=/tmp/ssh-9zeFkUHvvAF0/agent.70 08:28:43 SSH_AGENT_PID=76 08:28:43 Running ssh-add (command line suppressed) 08:28:43 Identity added: /w/workspace/edgex-go/2@tmp/private_key_8437459330956635666.key (/w/workspace/edgex-go/2@tmp/private_key_8437459330956635666.key) 08:28:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:28:44 + git semver init 08:28:44 2023-02-15 08:28:44,445 [run_init] DEBUG init version:0.0.0 force:False 08:28:44 2023-02-15 08:28:44,446 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/2/.semver 08:28:44 2023-02-15 08:28:44,447 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/2/.semver 08:28:44 2023-02-15 08:28:44,447 [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) 08:28:49 2023-02-15 08:28:49,375 [append_file] DEBUG append to file:/w/workspace/edgex-go/2/.git/info/exclude 08:28:49 2023-02-15 08:28:49,375 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/2/.semver/PR-4357 with force:False 08:28:49 2023-02-15 08:28:49,376 [write_file] DEBUG write to file:/w/workspace/edgex-go/2/.semver/PR-4357 08:28:49 2023-02-15 08:28:49,380 [execute] INFO git cat-file --batch-check 08:28:49 2023-02-15 08:28:49,380 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/2/.semver, universal_newlines=False, shell=None, istream=) 08:28:49 2023-02-15 08:28:49,387 [execute] INFO git cat-file --batch 08:28:49 2023-02-15 08:28:49,387 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/2/.semver, universal_newlines=False, shell=None, istream=) 08:28:49 2023-02-15 08:28:49,392 [read_version] DEBUG read version from /w/workspace/edgex-go/2/.semver/PR-4357 08:28:49 0.0.0 [Pipeline] } 08:28:49 $ docker exec --env ******** --env ******** b9fcd6bfc1bad01104762d9e9e5a63366dbd8db2d1e6710d3ae80fd6b9403c7a ssh-agent -k 08:28:49 unset SSH_AUTH_SOCK; 08:28:49 unset SSH_AGENT_PID; 08:28:49 echo Agent pid 76 killed; 08:28:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:28:50 + git semver [Pipeline] } 08:28:50 $ docker stop --time=1 b9fcd6bfc1bad01104762d9e9e5a63366dbd8db2d1e6710d3ae80fd6b9403c7a 08:28:51 $ docker rm -f --volumes b9fcd6bfc1bad01104762d9e9e5a63366dbd8db2d1e6710d3ae80fd6b9403c7a [Pipeline] // withDockerContainer [Pipeline] sh 08:28:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:28:52 Stashed 1 file(s) [Pipeline] echo 08:28:52 [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 08:28:52 + git config --global --add safe.directory /w/workspace/edgex-go/2 [Pipeline] echo 08:28:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:28:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:28:52 ========================================================= 08:28:52 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 08:28:52 ========================================================= [Pipeline] fileExists [Pipeline] sh 08:28:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 08:28:53 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 08:28:53 213ec9aee27d: Pulling fs layer 08:28:53 4583459ba037: Pulling fs layer 08:28:53 93c1e223e6f2: Pulling fs layer 08:28:53 53926ce57604: Pulling fs layer 08:28:53 21b2b0c7a3f4: Pulling fs layer 08:28:53 22ff95d597cd: Pulling fs layer 08:28:53 12d6caf4c0d1: Pulling fs layer 08:28:53 96b7cbca73a9: Pulling fs layer 08:28:53 21b2b0c7a3f4: Waiting 08:28:53 53926ce57604: Waiting 08:28:53 12d6caf4c0d1: Waiting 08:28:53 a7acece74701: Pulling fs layer 08:28:53 96b7cbca73a9: Waiting 08:28:53 a7acece74701: Waiting 08:28:53 93c1e223e6f2: Verifying Checksum 08:28:53 93c1e223e6f2: Download complete 08:28:53 4583459ba037: Verifying Checksum 08:28:53 4583459ba037: Download complete 08:28:53 21b2b0c7a3f4: Download complete 08:28:53 22ff95d597cd: Verifying Checksum 08:28:53 22ff95d597cd: Download complete 08:28:53 213ec9aee27d: Verifying Checksum 08:28:53 213ec9aee27d: Download complete 08:28:53 12d6caf4c0d1: Download complete 08:28:53 213ec9aee27d: Pull complete 08:28:53 4583459ba037: Pull complete 08:28:53 93c1e223e6f2: Pull complete 08:28:54 a7acece74701: Verifying Checksum 08:28:54 a7acece74701: Download complete 08:28:55 53926ce57604: Download complete 08:28:55 96b7cbca73a9: Verifying Checksum 08:28:55 96b7cbca73a9: Download complete 08:28:58 53926ce57604: Pull complete 08:28:58 21b2b0c7a3f4: Pull complete 08:28:58 22ff95d597cd: Pull complete 08:28:58 12d6caf4c0d1: Pull complete 08:29:00 96b7cbca73a9: Pull complete 08:29:01 a7acece74701: Pull complete 08:29:01 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 08:29:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 08:29:01 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] fileExists [Pipeline] sh 08:29:01 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 08:29:01 WORKDIR /edgex 08:29:01 COPY go.mod . 08:29:01 RUN go mod download 08:29:01 + docker build -t ci-base-image-x86_64 -f - . 08:29:02 Sending build context to Docker daemon 170.3MB 08:29:02 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 08:29:02 ---> db6d94c90886 08:29:02 Step 2/4 : WORKDIR /edgex 08:29:04 ---> Running in dc706b7da9e8 08:29:04 Removing intermediate container dc706b7da9e8 08:29:04 ---> a856dfd095df 08:29:04 Step 3/4 : COPY go.mod . 08:29:04 ---> 5c36a7db5052 08:29:04 Step 4/4 : RUN go mod download 08:29:04 ---> Running in 6bc03fe41a36 08:29:07 Still waiting to schedule task 08:29:07 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:29:14 Removing intermediate container 6bc03fe41a36 08:29:14 ---> b76ed3d4e4b1 08:29:14 Successfully built b76ed3d4e4b1 08:29:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:29:14 + docker inspect -f . ci-base-image-x86_64 08:29:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:29:14 prd-ubuntu20.04-docker-8c-8g-6077 does not seem to be running inside a container 08:29:14 $ 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-x86_64 cat 08:29:15 $ docker top 1132204d50f24892a0df91eb445a112f987806f9ac2196766d6b6043260385be -eo pid,comm [Pipeline] { [Pipeline] sh 08:29:15 + go version 08:29:15 go version go1.18.7 linux/amd64 [Pipeline] } 08:29:15 $ docker stop --time=1 1132204d50f24892a0df91eb445a112f987806f9ac2196766d6b6043260385be 08:29:16 $ docker rm -f --volumes 1132204d50f24892a0df91eb445a112f987806f9ac2196766d6b6043260385be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:29:17 + docker inspect -f . ci-base-image-x86_64 08:29:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:29:17 prd-ubuntu20.04-docker-8c-8g-6077 does not seem to be running inside a container 08:29:17 $ 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-x86_64 cat 08:29:17 $ docker top df1082e4b358ef77d1e769b53bbb2ffaf6e443c048ca9d9de0d0f05e937db85b -eo pid,comm [Pipeline] { [Pipeline] echo 08:29:17 ========================================================= 08:29:17 [edgeXBuildGoParallel] Running Tests and Build... 08:29:17 ========================================================= [Pipeline] sh 08:29:18 + git config --global --add safe.directory /w/workspace/edgex-go/2 [Pipeline] fileExists [Pipeline] sh 08:29:18 + make test 08:29:18 go test -race -coverprofile=coverage.out ./... 08:29:24 ? github.com/edgexfoundry/edgex-go [no test files] 08:29:37 # github.com/edgexfoundry/edgex-go/internal/pkg/application 08:29:37 internal/pkg/application/secret.go:38:36: request.Path undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common".SecretRequest has no field or method Path) 08:29:38 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.055s coverage: 28.7% of statements 08:29:38 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.084s coverage: 98.5% of statements 08:29:41 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 3.111s coverage: 73.7% of statements 08:29:41 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.093s coverage: 54.0% of statements 08:29:42 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 3.667s coverage: 88.5% of statements 08:29:42 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.101s coverage: 3.6% of statements 08:29:42 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.500s coverage: 95.6% of statements 08:29:42 ok github.com/edgexfoundry/edgex-go/internal/io 0.114s coverage: 72.2% of statements 08:29:42 FAIL github.com/edgexfoundry/edgex-go/internal/pkg/controller/http [build failed] 08:29:42 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.060s coverage: 0.9% of statements 08:29:42 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.091s coverage: 29.6% of statements 08:29:42 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.064s coverage: 47.1% of statements 08:29:42 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.069s coverage: 82.9% of statements 08:29:42 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.048s coverage: 94.1% of statements 08:29:42 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.085s coverage: 96.3% of statements 08:29:42 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.072s coverage: 87.5% of statements 08:29:49 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.059s coverage: 94.4% of statements 08:29:49 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.070s coverage: 44.8% of statements 08:30:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 23.459s coverage: 79.9% of statements 08:30:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.081s coverage: 92.9% of statements 08:30:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.030s coverage: 64.4% of statements 08:30:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.065s coverage: 86.9% of statements 08:30:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.069s coverage: 87.2% of statements 08:30:07 ok github.com/edgexfoundry/edgex-go/internal/security/common 0.060s coverage: 20.0% of statements 08:30:07 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.051s coverage: 100.0% of statements 08:30:07 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.071s coverage: 77.4% of statements 08:30:07 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.069s coverage: 80.0% of statements 08:30:07 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.054s coverage: 87.2% of statements 08:30:07 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.231s coverage: 91.2% of statements 08:30:07 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.217s coverage: 63.1% of statements 08:30:07 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.051s coverage: 100.0% of statements 08:30:07 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.033s coverage: 89.4% of statements 08:30:07 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.032s coverage: 100.0% of statements 08:30:07 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.026s coverage: 73.7% of statements 08:30:07 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.035s coverage: 100.0% of statements 08:30:07 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.315s coverage: 65.3% of statements 08:30:07 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.159s coverage: 41.0% of statements 08:30:07 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.064s coverage: 89.5% of statements 08:30:07 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.058s coverage: 84.8% of statements 08:30:07 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.081s coverage: 17.7% of statements 08:30:07 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.160s coverage: 92.3% of statements 08:30:07 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.055s coverage: 63.2% of statements 08:30:07 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.111s coverage: 97.7% of statements 08:30:07 make: *** [Makefile:143: unittest] Error 2 [Pipeline] } 08:30:07 $ docker stop --time=1 df1082e4b358ef77d1e769b53bbb2ffaf6e443c048ca9d9de0d0f05e937db85b 08:30:08 $ docker rm -f --volumes df1082e4b358ef77d1e769b53bbb2ffaf6e443c048ca9d9de0d0f05e937db85b [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] } 08:30:09 Failed in branch amd64 08:30:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6081 in /w/workspace/edgexfoundry_edgex-go_PR-4357 [Pipeline] { [Pipeline] ws 08:30:43 Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] checkout 08:30:43 The recommended git tool is: git 08:30:48 using credential edgex-jenkins-ssh 08:30:48 Cloning the remote Git repository 08:30:48 Cloning repository git@github.com:edgexfoundry/edgex-go.git 08:30:48 > git init /w/workspace/edgex-go/2 # timeout=10 08:30:48 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 08:30:48 > git --version # timeout=10 08:30:48 > git --version # 'git version 2.25.1' 08:30:48 using GIT_SSH to set credentials SSH Credentials for GitHub 08:30:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:31:04 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 08:31:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:31:05 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 08:31:05 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 08:31:05 using GIT_SSH to set credentials SSH Credentials for GitHub 08:31:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4357/head:refs/remotes/origin/PR-4357 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:31:06 Merging remotes/origin/main commit 788be756f331ff1c1ac8640fcafd3eeb74e9f5c6 into PR head commit 0f39a74a8551b446de9b0580c8fb813d11cc836e 08:31:07 Merge succeeded, producing bb40777163b19b18c5581861a07d171fb3ed95b2 08:31:07 Checking out Revision bb40777163b19b18c5581861a07d171fb3ed95b2 (PR-4357) 08:31:06 > git config core.sparsecheckout # timeout=10 08:31:06 > git checkout -f 0f39a74a8551b446de9b0580c8fb813d11cc836e # timeout=10 08:31:06 > git remote # timeout=10 08:31:06 > git config --get remote.origin.url # timeout=10 08:31:06 using GIT_SSH to set credentials SSH Credentials for GitHub 08:31:06 > git merge 788be756f331ff1c1ac8640fcafd3eeb74e9f5c6 # timeout=10 08:31:07 > git rev-parse HEAD^{commit} # timeout=10 08:31:07 > git config core.sparsecheckout # timeout=10 08:31:07 > git checkout -f bb40777163b19b18c5581861a07d171fb3ed95b2 # timeout=10 08:31:11 Commit message: "Merge commit '788be756f331ff1c1ac8640fcafd3eeb74e9f5c6' into HEAD" 08:31:11 > git rev-list --no-walk 0f39a74a8551b446de9b0580c8fb813d11cc836e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:31:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:31:13 % Total % Received % Xferd Average Speed Time Time Time Current 08:31:13 Dload Upload Total Spent Left Speed 08:31:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91733 0 --:--:-- --:--:-- --:--:-- 91733 [Pipeline] sh 08:31:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:31:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:31:14 + sudo tee /etc/docker/daemon.new 08:31:14 { 08:31:14 "registry-mirrors": [ 08:31:14 "https://nexus3.edgexfoundry.org:10001" 08:31:14 ], 08:31:14 "bip": "10.250.0.254/24", 08:31:14 "hosts": [ 08:31:14 "tcp://0.0.0.0:5555", 08:31:14 "unix:///var/run/docker.sock" 08:31:14 ], 08:31:14 "mtu": 1458, 08:31:14 "selinux-enabled": true, 08:31:14 "seccomp-profile": "/etc/docker/seccomp.json" 08:31:14 } [Pipeline] sh 08:31:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:31:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:31:33 provisioning config files... 08:31:33 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config7455850184890748309tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:31:33 ---> docker-login.sh 08:31:33 nexus3.edgexfoundry.org:10001 08:31:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:34 Configure a credential helper to remove this warning. See 08:31:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:34 08:31:34 Login Succeeded 08:31:34 nexus3.edgexfoundry.org:10002 08:31:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:34 Configure a credential helper to remove this warning. See 08:31:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:34 08:31:34 Login Succeeded 08:31:34 nexus3.edgexfoundry.org:10003 08:31:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:34 Configure a credential helper to remove this warning. See 08:31:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:34 08:31:34 Login Succeeded 08:31:34 nexus3.edgexfoundry.org:10004 08:31:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:35 Configure a credential helper to remove this warning. See 08:31:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:35 08:31:35 Login Succeeded 08:31:35 docker.io 08:31:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:35 Configure a credential helper to remove this warning. See 08:31:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:35 08:31:35 Login Succeeded 08:31:35 ---> docker-login.sh ends [Pipeline] } 08:31:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh 08:31:36 + git config --global --add safe.directory /w/workspace/edgex-go/2 [Pipeline] echo 08:31:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:31:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:31:36 ========================================================= 08:31:36 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 08:31:36 ========================================================= [Pipeline] fileExists [Pipeline] sh 08:31:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 08:31:37 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:31:37 9b18e9b68314: Pulling fs layer 08:31:37 35d82f9e3411: Pulling fs layer 08:31:37 e16973657156: Pulling fs layer 08:31:37 fc693d55d65f: Pulling fs layer 08:31:37 7e9fc2657dce: Pulling fs layer 08:31:37 dda99020689f: Pulling fs layer 08:31:37 db1c61fa0a46: Pulling fs layer 08:31:37 891c053d2c06: Pulling fs layer 08:31:37 7e9fc2657dce: Waiting 08:31:37 dda99020689f: Waiting 08:31:37 db1c61fa0a46: Waiting 08:31:37 891c053d2c06: Waiting 08:31:37 fc693d55d65f: Waiting 08:31:37 e16973657156: Verifying Checksum 08:31:37 e16973657156: Download complete 08:31:37 35d82f9e3411: Download complete 08:31:37 7e9fc2657dce: Verifying Checksum 08:31:37 7e9fc2657dce: Download complete 08:31:37 dda99020689f: Verifying Checksum 08:31:37 dda99020689f: Download complete 08:31:37 9b18e9b68314: Verifying Checksum 08:31:37 9b18e9b68314: Download complete 08:31:38 9b18e9b68314: Pull complete 08:31:38 891c053d2c06: Verifying Checksum 08:31:38 891c053d2c06: Download complete 08:31:38 35d82f9e3411: Pull complete 08:31:38 e16973657156: Pull complete 08:31:39 db1c61fa0a46: Verifying Checksum 08:31:39 db1c61fa0a46: Download complete 08:31:40 fc693d55d65f: Verifying Checksum 08:31:40 fc693d55d65f: Download complete 08:31:52 fc693d55d65f: Pull complete 08:31:52 7e9fc2657dce: Pull complete 08:31:53 dda99020689f: Pull complete 08:31:59 db1c61fa0a46: Pull complete 08:32:04 891c053d2c06: Pull complete 08:32:04 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 08:32:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 08:32:04 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] fileExists [Pipeline] sh 08:32:04 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 08:32:04 WORKDIR /edgex 08:32:04 COPY go.mod . 08:32:04 RUN go mod download 08:32:04 + docker build -t ci-base-image-arm64 -f - . 08:32:04 Sending build context to Docker daemon 3.098MB 08:32:04 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 08:32:04 ---> f96f9c87975a 08:32:04 Step 2/4 : WORKDIR /edgex 08:32:06 ---> Running in 03510936e2e1 08:32:07 Removing intermediate container 03510936e2e1 08:32:07 ---> dbf0b093dede 08:32:07 Step 3/4 : COPY go.mod . 08:32:07 ---> b8210df5c8e4 08:32:07 Step 4/4 : RUN go mod download 08:32:07 ---> Running in 75e1cf1c42ab 08:32:39 Removing intermediate container 75e1cf1c42ab 08:32:39 ---> 94969087f944 08:32:39 Successfully built 94969087f944 08:32:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:40 + docker inspect -f . ci-base-image-arm64 08:32:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:32:40 prd-ubuntu20.04-docker-arm64-4c-16g-6081 does not seem to be running inside a container 08:32:40 $ 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 08:32:41 $ docker top 4e446e4bef229c96e0c53d65d06d578250918f45672ae8c31670549d4a642ba9 -eo pid,comm [Pipeline] { [Pipeline] sh 08:32:42 + go version 08:32:42 go version go1.18.7 linux/arm64 [Pipeline] } 08:32:42 $ docker stop --time=1 4e446e4bef229c96e0c53d65d06d578250918f45672ae8c31670549d4a642ba9 08:32:45 $ docker rm -f --volumes 4e446e4bef229c96e0c53d65d06d578250918f45672ae8c31670549d4a642ba9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:45 + docker inspect -f . ci-base-image-arm64 08:32:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:32:45 prd-ubuntu20.04-docker-arm64-4c-16g-6081 does not seem to be running inside a container 08:32:46 $ 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 08:32:47 $ docker top 5872c6db22ef53868a7fd2d8d55b8467907a0da3bfa54d7c74a2ec1d239c2e31 -eo pid,comm [Pipeline] { [Pipeline] echo 08:32:47 ========================================================= 08:32:47 [edgeXBuildGoParallel] Running Tests and Build... 08:32:47 ========================================================= [Pipeline] sh 08:32:48 + git config --global --add safe.directory /w/workspace/edgex-go/2 [Pipeline] fileExists [Pipeline] sh 08:32:48 + make test 08:32:48 go test -race -coverprofile=coverage.out ./... 08:33:21 ? github.com/edgexfoundry/edgex-go [no test files] 08:34:57 # github.com/edgexfoundry/edgex-go/internal/pkg/application 08:34:57 internal/pkg/application/secret.go:38:36: request.Path undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common".SecretRequest has no field or method Path) 08:35:29 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.255s coverage: 28.7% of statements 08:35:29 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.422s coverage: 98.5% of statements 08:35:38 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 4.341s coverage: 73.7% of statements 08:35:38 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.461s coverage: 54.0% of statements 08:35:53 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 21.575s coverage: 88.5% of statements 08:35:53 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.741s coverage: 3.6% of statements 08:35:55 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 2.912s coverage: 95.6% of statements 08:35:55 ok github.com/edgexfoundry/edgex-go/internal/io 0.275s coverage: 72.2% of statements 08:35:55 FAIL github.com/edgexfoundry/edgex-go/internal/pkg/controller/http [build failed] 08:35:55 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.469s coverage: 0.9% of statements 08:35:55 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.398s coverage: 29.6% of statements 08:35:55 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.371s coverage: 47.1% of statements 08:35:58 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.346s coverage: 82.9% of statements 08:35:58 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.244s coverage: 94.1% of statements 08:35:58 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.334s coverage: 96.3% of statements 08:36:01 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.285s coverage: 87.5% of statements 08:36:11 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.290s coverage: 94.4% of statements 08:36:11 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.240s coverage: 44.8% of statements 08:36:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 24.633s coverage: 79.9% of statements 08:36:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.356s coverage: 92.9% of statements 08:36:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.072s coverage: 64.4% of statements 08:36:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.292s coverage: 86.9% of statements 08:36:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.241s coverage: 87.2% of statements 08:36:34 ok github.com/edgexfoundry/edgex-go/internal/security/common 0.230s coverage: 20.0% of statements 08:36:34 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.219s coverage: 100.0% of statements 08:36:34 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.315s coverage: 77.4% of statements 08:36:34 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.343s coverage: 80.0% of statements 08:36:34 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.253s coverage: 87.2% of statements 08:36:34 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 1.052s coverage: 91.2% of statements 08:36:38 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.548s coverage: 63.1% of statements 08:36:38 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.339s coverage: 100.0% of statements 08:36:38 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.135s coverage: 89.4% of statements 08:36:38 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.053s coverage: 100.0% of statements 08:36:38 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.104s coverage: 73.7% of statements 08:36:38 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.071s coverage: 100.0% of statements 08:36:43 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.638s coverage: 65.3% of statements 08:36:47 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.911s coverage: 41.0% of statements 08:36:47 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.423s coverage: 89.5% of statements 08:36:47 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.454s coverage: 84.8% of statements 08:36:57 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.392s coverage: 17.7% of statements 08:36:57 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.846s coverage: 92.3% of statements 08:36:57 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.297s coverage: 63.2% of statements 08:36:57 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.561s coverage: 97.7% of statements 08:36:57 make: *** [Makefile:143: unittest] Error 2 [Pipeline] } 08:36:57 $ docker stop --time=1 5872c6db22ef53868a7fd2d8d55b8467907a0da3bfa54d7c74a2ec1d239c2e31 08:36:59 $ docker rm -f --volumes 5872c6db22ef53868a7fd2d8d55b8467907a0da3bfa54d7c74a2ec1d239c2e31 [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] withEnv [Pipeline] { [Pipeline] sh 08:37:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:37:00 08:37:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:37:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:37:01 arm64: Pulling from edgex-lftools-log-publisher 08:37:01 8998bd30e6a1: Pulling fs layer 08:37:01 04944245beec: Pulling fs layer 08:37:01 699f458cf7ca: Pulling fs layer 08:37:01 765212b225bb: Pulling fs layer 08:37:01 f23df028b6ca: Pulling fs layer 08:37:01 d65c8cfc05b1: Pulling fs layer 08:37:01 2437ff75d9bd: Pulling fs layer 08:37:01 765212b225bb: Waiting 08:37:01 f23df028b6ca: Waiting 08:37:01 d65c8cfc05b1: Waiting 08:37:01 2437ff75d9bd: Waiting 08:37:01 04944245beec: Verifying Checksum 08:37:01 04944245beec: Download complete 08:37:01 765212b225bb: Verifying Checksum 08:37:01 765212b225bb: Download complete 08:37:01 f23df028b6ca: Download complete 08:37:01 d65c8cfc05b1: Verifying Checksum 08:37:01 d65c8cfc05b1: Download complete 08:37:01 699f458cf7ca: Verifying Checksum 08:37:01 699f458cf7ca: Download complete 08:37:02 8998bd30e6a1: Verifying Checksum 08:37:02 8998bd30e6a1: Download complete 08:37:05 2437ff75d9bd: Verifying Checksum 08:37:05 2437ff75d9bd: Download complete 08:37:07 8998bd30e6a1: Pull complete 08:37:07 04944245beec: Pull complete 08:37:08 699f458cf7ca: Pull complete 08:37:09 765212b225bb: Pull complete 08:37:09 f23df028b6ca: Pull complete 08:37:09 d65c8cfc05b1: Pull complete 08:37:24 2437ff75d9bd: Pull complete 08:37:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:37:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:37:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:37:25 prd-ubuntu20.04-docker-arm64-4c-16g-6081 does not seem to be running inside a container 08:37:25 $ 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 08:37:28 $ docker top 3a95d2784670820d2313fdbc5922b9620ef61ea01ec0bf1073fa4ae4c4fd33de -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:37:28 ---> job-cost.sh 08:37:28 lf-activate-venv: SKIPPING 08:37:28 INFO: No Stack... 08:37:29 INFO: Retrieving Pricing Info for: v3-standard-4 08:37:30 INFO: Archiving Costs [Pipeline] sh 08:37:31 + cat /w/workspace/edgex-go/2/archives/cost.csv 08:37:31 + cut -d, -f6 [Pipeline] lock 08:37:31 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4357-2-stack-cost] 08:37:31 Resource [jenkins-edgexfoundry-edgex-go-PR-4357-2-stack-cost] did not exist. Created. 08:37:31 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4357-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:37:31 + echo total: 0.10999999940395355 [Pipeline] stash 08:37:32 Stashed 1 file(s) [Pipeline] } 08:37:32 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4357-2-stack-cost] [Pipeline] // lock [Pipeline] } 08:37:32 $ docker stop --time=1 3a95d2784670820d2313fdbc5922b9620ef61ea01ec0bf1073fa4ae4c4fd33de 08:37:34 $ docker rm -f --volumes 3a95d2784670820d2313fdbc5922b9620ef61ea01ec0bf1073fa4ae4c4fd33de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:37:34 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 08:37:34 + [ -d /w/workspace/edgex-go/2/archives ] [Pipeline] libraryResource [Pipeline] sh 08:37:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:37:36 ---> package-listing.sh 08:37:36 ++ facter osfamily 08:37:36 ++ tr '[:upper:]' '[:lower:]' 08:37:36 + OS_FAMILY=debian 08:37:36 + workspace=/w/workspace/edgex-go/2 08:37:36 + START_PACKAGES=/tmp/packages_start.txt 08:37:36 + END_PACKAGES=/tmp/packages_end.txt 08:37:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:37:36 + PACKAGES=/tmp/packages_start.txt 08:37:36 + '[' /w/workspace/edgex-go/2 ']' 08:37:36 + PACKAGES=/tmp/packages_end.txt 08:37:36 + case "${OS_FAMILY}" in 08:37:36 + dpkg -l 08:37:36 + grep '^ii' 08:37:36 + '[' -f /tmp/packages_start.txt ']' 08:37:36 + '[' -f /tmp/packages_end.txt ']' 08:37:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:37:36 + '[' /w/workspace/edgex-go/2 ']' 08:37:36 + mkdir -p /w/workspace/edgex-go/2/archives/ 08:37:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo 08:37:36 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 08:37:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:37:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:37:37 08:37:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:37:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:37:37 latest: Pulling from edgex-lftools-log-publisher 08:37:37 5eb5b503b376: Pulling fs layer 08:37:37 5c69ac0246d0: Pulling fs layer 08:37:37 ec43610c2a17: Pulling fs layer 08:37:37 3a2ae6a8a46f: Pulling fs layer 08:37:37 33b1e0a273af: Pulling fs layer 08:37:37 5d3b04190fa2: Pulling fs layer 08:37:37 2f39f015ded8: Pulling fs layer 08:37:37 2f39f015ded8: Waiting 08:37:37 5d3b04190fa2: Waiting 08:37:37 33b1e0a273af: Waiting 08:37:37 5c69ac0246d0: Verifying Checksum 08:37:37 5c69ac0246d0: Download complete 08:37:37 3a2ae6a8a46f: Verifying Checksum 08:37:37 3a2ae6a8a46f: Download complete 08:37:37 33b1e0a273af: Verifying Checksum 08:37:37 33b1e0a273af: Download complete 08:37:37 5d3b04190fa2: Verifying Checksum 08:37:37 5d3b04190fa2: Download complete 08:37:37 ec43610c2a17: Verifying Checksum 08:37:37 ec43610c2a17: Download complete 08:37:38 5eb5b503b376: Verifying Checksum 08:37:38 5eb5b503b376: Download complete 08:37:38 2f39f015ded8: Verifying Checksum 08:37:38 2f39f015ded8: Download complete 08:37:39 5eb5b503b376: Pull complete 08:37:39 5c69ac0246d0: Pull complete 08:37:39 ec43610c2a17: Pull complete 08:37:40 3a2ae6a8a46f: Pull complete 08:37:40 33b1e0a273af: Pull complete 08:37:40 5d3b04190fa2: Pull complete 08:37:44 2f39f015ded8: Pull complete 08:37:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:37:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:37:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:37:44 prd-ubuntu20.04-docker-8c-8g-6077 does not seem to be running inside a container 08:37:44 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:37:46 $ docker top ac129ecd0886d7d287c1e295c752cc41282c55425040b8494f4470239702b7d8 -eo pid,comm [Pipeline] { [Pipeline] sh 08:37:46 + touch /tmp/pre-build-complete [Pipeline] sh 08:37:46 + mkdir -p /var/log/sysstat [Pipeline] sh 08:37:47 + ls /var/log/sa-host 08:37:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:37:47 provisioning config files... 08:37:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config9962239935800647494tmp [Pipeline] { [Pipeline] echo 08:37:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:37:47 ---> create-netrc.sh [Pipeline] } 08:37:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:37:48 ---> python-tools-install.sh [Pipeline] echo 08:37:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:37:48 ---> sudo-logs.sh 08:37:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:37:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:37:48 ---> job-cost.sh 08:37:48 lf-activate-venv: SKIPPING 08:37:48 DEBUG: total: 0.10999999940395355 08:37:48 INFO: Retrieving Stack Cost... 08:37:48 INFO: Retrieving Pricing Info for: v3-standard-8 08:37:49 INFO: Archiving Costs [Pipeline] echo 08:37:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:37:49 ---> logs-deploy.sh 08:37:49 lf-activate-venv: SKIPPING 08:37:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4357/2 08:37:49 INFO: archiving workspace using pattern(s): 08:37:50 Archives upload complete. 08:37:50 INFO: archiving logs to Nexus