Pull request #4268 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 7112bdba180cb7e2de18b11374b1430f1ba723b8+a23f936fb69ac20a7cf7db96067897b5bcb7663c (88650e64bc374936261101c0481690ccc80dc878) 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-ssh12258031846395718337.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-ssh736298960233221715.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-4268/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-4268/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14222168977051565489.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-ssh2436455730882210578.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-4268/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-4268/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7054846772387867921.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-1858’ Running on prd-ubuntu20.04-docker-8c-8g-1860 in /w/workspace/edgexfoundry_edgex-go_PR-4268 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/8 [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/8 # 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 a23f936fb69ac20a7cf7db96067897b5bcb7663c into PR head commit 7112bdba180cb7e2de18b11374b1430f1ba723b8 Merge succeeded, producing 4d0e7f21fe5c79ee2c1e1b18eae19d0c6371eae6 Checking out Revision 4d0e7f21fe5c79ee2c1e1b18eae19d0c6371eae6 (PR-4268) > 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/4268/head:refs/remotes/origin/PR-4268 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7112bdba180cb7e2de18b11374b1430f1ba723b8 # 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 a23f936fb69ac20a7cf7db96067897b5bcb7663c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4d0e7f21fe5c79ee2c1e1b18eae19d0c6371eae6 # timeout=10 Commit message: "Merge commit 'a23f936fb69ac20a7cf7db96067897b5bcb7663c' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk b3198781aa2739c4481fcec20a923ff90624498a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-11T15:34:40.655Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-11T15:34:40.689Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-11T15:34:40.702Z] ========================================================= [2023-01-11T15:34:40.702Z] EdgeX Global Pipelines Version Info [2023-01-11T15:34:40.702Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-11T15:34:41.406Z] ------------------- [2023-01-11T15:34:41.406Z] stable info: [2023-01-11T15:34:41.406Z] ------------------- [2023-01-11T15:34:41.406Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-11T15:34:41.406Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-11T15:34:41.406Z] Message: update stable to v1.0.244 [2023-01-11T15:34:41.976Z] ------------------- [2023-01-11T15:34:41.976Z] experimental info: [2023-01-11T15:34:41.976Z] ------------------- [2023-01-11T15:34:41.976Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-11T15:34:41.976Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-11T15:34:41.976Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-11T15:34:42.165Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2023-01-11T15:34:42.187Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2023-01-11T15:34:42.196Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-11T15:34:42.206Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-11T15:34:42.220Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-11T15:34:42.234Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-11T15:34:42.245Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-11T15:34:42.256Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2023-01-11T15:34:42.271Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2023-01-11T15:34:42.286Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2023-01-11T15:34:42.303Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-11T15:34:42.316Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-11T15:34:42.329Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-11T15:34:42.343Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-11T15:34:42.354Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-11T15:34:42.366Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-11T15:34:42.379Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-11T15:34:42.393Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-11T15:34:42.409Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-11T15:34:42.420Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-01-11T15:34:42.431Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-11T15:34:42.447Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-11T15:34:42.457Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-11T15:34:42.468Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4268 [Pipeline] echo [2023-01-11T15:34:42.479Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4268 [Pipeline] echo [2023-01-11T15:34:42.493Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4268 [Pipeline] echo [2023-01-11T15:34:42.504Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4d0e7f21fe5c79ee2c1e1b18eae19d0c6371eae6 [Pipeline] echo [2023-01-11T15:34:42.514Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4d0e7f2 [Pipeline] echo [2023-01-11T15:34:42.525Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T15:34:42.567Z] provisioning config files... [2023-01-11T15:34:42.579Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/8@tmp/config12844954651011767149tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T15:34:42.877Z] ---> docker-login.sh [2023-01-11T15:34:42.878Z] nexus3.edgexfoundry.org:10001 [2023-01-11T15:34:43.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T15:34:43.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T15:34:43.136Z] Configure a credential helper to remove this warning. See [2023-01-11T15:34:43.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T15:34:43.136Z] [2023-01-11T15:34:43.136Z] Login Succeeded [2023-01-11T15:34:43.136Z] nexus3.edgexfoundry.org:10002 [2023-01-11T15:34:43.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T15:34:43.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T15:34:43.136Z] Configure a credential helper to remove this warning. See [2023-01-11T15:34:43.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T15:34:43.136Z] [2023-01-11T15:34:43.136Z] Login Succeeded [2023-01-11T15:34:43.136Z] nexus3.edgexfoundry.org:10003 [2023-01-11T15:34:43.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T15:34:43.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T15:34:43.396Z] Configure a credential helper to remove this warning. See [2023-01-11T15:34:43.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T15:34:43.396Z] [2023-01-11T15:34:43.396Z] Login Succeeded [2023-01-11T15:34:43.396Z] nexus3.edgexfoundry.org:10004 [2023-01-11T15:34:43.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T15:34:43.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T15:34:43.396Z] Configure a credential helper to remove this warning. See [2023-01-11T15:34:43.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T15:34:43.396Z] [2023-01-11T15:34:43.396Z] Login Succeeded [2023-01-11T15:34:43.396Z] docker.io [2023-01-11T15:34:43.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T15:34:43.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T15:34:43.661Z] Configure a credential helper to remove this warning. See [2023-01-11T15:34:43.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T15:34:43.661Z] [2023-01-11T15:34:43.661Z] Login Succeeded [2023-01-11T15:34:43.661Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T15:34:43.669Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-11T15:34:43.978Z] + 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 [2023-01-11T15:34:43.978Z] + + dirnamecut cmd/core-command/Dockerfile -d/ [2023-01-11T15:34:43.978Z] -f2 [2023-01-11T15:34:43.978Z] + echo core-command,cmd/core-command/Dockerfile [2023-01-11T15:34:43.978Z] + + dirnamecut cmd/core-data/Dockerfile -d/ [2023-01-11T15:34:43.978Z] -f2 [2023-01-11T15:34:43.978Z] + echo core-data,cmd/core-data/Dockerfile [2023-01-11T15:34:43.978Z] + dirname cmd/core-metadata/Dockerfile [2023-01-11T15:34:43.978Z] + cut -d/ -f2 [2023-01-11T15:34:43.978Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2023-01-11T15:34:43.978Z] + cut -d/+ -f2 [2023-01-11T15:34:43.978Z] dirname cmd/security-bootstrapper/Dockerfile [2023-01-11T15:34:43.978Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2023-01-11T15:34:43.978Z] + cut -d/ -f2 [2023-01-11T15:34:43.978Z] + dirname cmd/security-proxy-setup/Dockerfile [2023-01-11T15:34:43.978Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2023-01-11T15:34:43.978Z] + dirname cmd/security-secretstore-setup/Dockerfile [2023-01-11T15:34:43.978Z] + cut -d/ -f2 [2023-01-11T15:34:43.978Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2023-01-11T15:34:43.978Z] + dirname cmd/security-spiffe-token-provider/Dockerfile [2023-01-11T15:34:43.978Z] + cut -d/ -f2 [2023-01-11T15:34:43.978Z] + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile [2023-01-11T15:34:43.978Z] + dirname cmd/security-spire-agent/Dockerfile [2023-01-11T15:34:43.978Z] + cut -d/ -f2 [2023-01-11T15:34:43.978Z] + echo security-spire-agent,cmd/security-spire-agent/Dockerfile [2023-01-11T15:34:43.978Z] + cut -d/ -f2 [2023-01-11T15:34:43.978Z] + dirname cmd/security-spire-config/Dockerfile [2023-01-11T15:34:43.978Z] + echo security-spire-config,cmd/security-spire-config/Dockerfile [2023-01-11T15:34:43.978Z] + dirname cmd/security-spire-server/Dockerfile [2023-01-11T15:34:43.978Z] + cut -d/ -f2 [2023-01-11T15:34:43.978Z] + echo security-spire-server,cmd/security-spire-server/Dockerfile [2023-01-11T15:34:43.978Z] + dirname cmd/support-notifications/Dockerfile [2023-01-11T15:34:43.978Z] + cut -d/ -f2 [2023-01-11T15:34:43.978Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2023-01-11T15:34:43.978Z] + dirname cmd/support-scheduler/Dockerfile [2023-01-11T15:34:43.978Z] + cut -d/ -f2 [2023-01-11T15:34:43.978Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo [2023-01-11T15:34:44.030Z] 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 [2023-01-11T15:34:44.373Z] + git rev-list -1 --merges 4d0e7f21fe5c79ee2c1e1b18eae19d0c6371eae6~1..4d0e7f21fe5c79ee2c1e1b18eae19d0c6371eae6 [Pipeline] echo [2023-01-11T15:34:44.383Z] -----------> git rev-list -1 --merges 4d0e7f21fe5c79ee2c1e1b18eae19d0c6371eae6~1..4d0e7f21fe5c79ee2c1e1b18eae19d0c6371eae6 4d0e7f21fe5c79ee2c1e1b18eae19d0c6371eae6 [2023-01-11T15:34:44.383Z] 4d0e7f21fe5c79ee2c1e1b18eae19d0c6371eae6 [false] [Pipeline] sh [2023-01-11T15:34:44.672Z] + git log --format=format:%s -1 4d0e7f21fe5c79ee2c1e1b18eae19d0c6371eae6 [Pipeline] echo [2023-01-11T15:34:44.687Z] ========================================================= [2023-01-11T15:34:44.687Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-11T15:34:44.687Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-01-11T15:34:45.054Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-11T15:34:45.054Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-11T15:34:45.054Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-11T15:34:45.054Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-11T15:34:45.055Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-11T15:34:45.055Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-11T15:34:45.055Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T15:34:45.402Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T15:34:45.402Z] [2023-01-11T15:34:45.402Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T15:34:45.719Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T15:34:45.719Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-11T15:34:45.719Z] b85a868b505f: Pulling fs layer [2023-01-11T15:34:45.719Z] e2be974225ed: Pulling fs layer [2023-01-11T15:34:45.719Z] 339a4e72a1f5: Pulling fs layer [2023-01-11T15:34:45.719Z] 988bab9f4d93: Pulling fs layer [2023-01-11T15:34:45.719Z] 1469e6f7b9e6: Pulling fs layer [2023-01-11T15:34:45.719Z] eaf3925da568: Pulling fs layer [2023-01-11T15:34:45.719Z] bab4dde63d76: Pulling fs layer [2023-01-11T15:34:45.719Z] bde34c3a00c8: Pulling fs layer [2023-01-11T15:34:45.719Z] 1469e6f7b9e6: Waiting [2023-01-11T15:34:45.719Z] b352a97aabf1: Pulling fs layer [2023-01-11T15:34:45.719Z] bab4dde63d76: Waiting [2023-01-11T15:34:45.719Z] 4872d77fe225: Pulling fs layer [2023-01-11T15:34:45.719Z] 5851b861e8e6: Pulling fs layer [2023-01-11T15:34:45.719Z] 4872d77fe225: Waiting [2023-01-11T15:34:45.719Z] bde34c3a00c8: Waiting [2023-01-11T15:34:45.719Z] e2be974225ed: Download complete [2023-01-11T15:34:45.719Z] 988bab9f4d93: Verifying Checksum [2023-01-11T15:34:45.719Z] 988bab9f4d93: Download complete [2023-01-11T15:34:45.980Z] 339a4e72a1f5: Verifying Checksum [2023-01-11T15:34:45.980Z] 339a4e72a1f5: Download complete [2023-01-11T15:34:45.980Z] 1469e6f7b9e6: Verifying Checksum [2023-01-11T15:34:45.980Z] 1469e6f7b9e6: Download complete [2023-01-11T15:34:45.980Z] eaf3925da568: Verifying Checksum [2023-01-11T15:34:45.980Z] eaf3925da568: Download complete [2023-01-11T15:34:45.980Z] bde34c3a00c8: Download complete [2023-01-11T15:34:45.980Z] b352a97aabf1: Download complete [2023-01-11T15:34:45.980Z] 4872d77fe225: Download complete [2023-01-11T15:34:45.980Z] 5851b861e8e6: Verifying Checksum [2023-01-11T15:34:45.980Z] 5851b861e8e6: Download complete [2023-01-11T15:34:45.980Z] b85a868b505f: Verifying Checksum [2023-01-11T15:34:45.980Z] b85a868b505f: Download complete [2023-01-11T15:34:46.252Z] bab4dde63d76: Verifying Checksum [2023-01-11T15:34:46.252Z] bab4dde63d76: Download complete [2023-01-11T15:34:47.188Z] b85a868b505f: Pull complete [2023-01-11T15:34:47.188Z] e2be974225ed: Pull complete [2023-01-11T15:34:47.756Z] 339a4e72a1f5: Pull complete [2023-01-11T15:34:47.756Z] 988bab9f4d93: Pull complete [2023-01-11T15:34:48.015Z] 1469e6f7b9e6: Pull complete [2023-01-11T15:34:48.015Z] eaf3925da568: Pull complete [2023-01-11T15:34:49.923Z] bab4dde63d76: Pull complete [2023-01-11T15:34:49.923Z] bde34c3a00c8: Pull complete [2023-01-11T15:34:49.923Z] b352a97aabf1: Pull complete [2023-01-11T15:34:49.923Z] 4872d77fe225: Pull complete [2023-01-11T15:34:49.923Z] 5851b861e8e6: Pull complete [2023-01-11T15:34:49.923Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-11T15:34:49.923Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T15:34:49.923Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T15:34:50.013Z] prd-ubuntu20.04-docker-8c-8g-1860 does not seem to be running inside a container [2023-01-11T15:34:50.052Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/8 -v /w/workspace/edgex-go/8:/w/workspace/edgex-go/8:rw,z -v /w/workspace/edgex-go/8@tmp:/w/workspace/edgex-go/8@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-11T15:34:51.391Z] $ docker top 6b06b7a7715730106d9818b32b1ecddf7e6f516438537d3fb2c5cad2b7b02ebc -eo pid,comm [2023-01-11T15:34:51.447Z] 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). [2023-01-11T15:34:51.447Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-11T15:34:51.489Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T15:34:51.489Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T15:34:51.595Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T15:34:51.600Z] $ docker exec 6b06b7a7715730106d9818b32b1ecddf7e6f516438537d3fb2c5cad2b7b02ebc ssh-agent [2023-01-11T15:34:51.704Z] SSH_AUTH_SOCK=/tmp/ssh-tTsJAC5Kh1UP/agent.31 [2023-01-11T15:34:51.704Z] SSH_AGENT_PID=37 [2023-01-11T15:34:51.710Z] Running ssh-add (command line suppressed) [2023-01-11T15:34:51.816Z] Identity added: /w/workspace/edgex-go/8@tmp/private_key_5193779510646623969.key (/w/workspace/edgex-go/8@tmp/private_key_5193779510646623969.key) [2023-01-11T15:34:51.831Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T15:34:52.118Z] + git tag --points-at HEAD [Pipeline] } [2023-01-11T15:34:52.135Z] $ docker exec --env ******** --env ******** 6b06b7a7715730106d9818b32b1ecddf7e6f516438537d3fb2c5cad2b7b02ebc ssh-agent -k [2023-01-11T15:34:52.233Z] unset SSH_AUTH_SOCK; [2023-01-11T15:34:52.234Z] unset SSH_AGENT_PID; [2023-01-11T15:34:52.234Z] echo Agent pid 37 killed; [2023-01-11T15:34:52.242Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-11T15:34:52.263Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T15:34:52.263Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T15:34:52.377Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T15:34:52.381Z] $ docker exec 6b06b7a7715730106d9818b32b1ecddf7e6f516438537d3fb2c5cad2b7b02ebc ssh-agent [2023-01-11T15:34:52.492Z] SSH_AUTH_SOCK=/tmp/ssh-lvTM9zEGVWBv/agent.70 [2023-01-11T15:34:52.492Z] SSH_AGENT_PID=76 [2023-01-11T15:34:52.496Z] Running ssh-add (command line suppressed) [2023-01-11T15:34:52.599Z] Identity added: /w/workspace/edgex-go/8@tmp/private_key_8553682058349394160.key (/w/workspace/edgex-go/8@tmp/private_key_8553682058349394160.key) [2023-01-11T15:34:52.614Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T15:34:52.903Z] + git semver init [2023-01-11T15:34:53.164Z] 2023-01-11 15:34:53,098 [run_init] DEBUG init version:0.0.0 force:False [2023-01-11T15:34:53.164Z] 2023-01-11 15:34:53,099 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/8/.semver [2023-01-11T15:34:53.164Z] 2023-01-11 15:34:53,100 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/8/.semver [2023-01-11T15:34:53.164Z] 2023-01-11 15:34:53,100 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/edgex-go.git', '/w/workspace/edgex-go/8/.semver'], cwd=/w/workspace/edgex-go/8, universal_newlines=False, shell=None, istream=None) [2023-01-11T15:34:57.382Z] 2023-01-11 15:34:57,292 [append_file] DEBUG append to file:/w/workspace/edgex-go/8/.git/info/exclude [2023-01-11T15:34:57.382Z] 2023-01-11 15:34:57,293 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/8/.semver/PR-4268 with force:False [2023-01-11T15:34:57.382Z] 2023-01-11 15:34:57,293 [write_file] DEBUG write to file:/w/workspace/edgex-go/8/.semver/PR-4268 [2023-01-11T15:34:57.382Z] 2023-01-11 15:34:57,297 [execute] INFO git cat-file --batch-check [2023-01-11T15:34:57.382Z] 2023-01-11 15:34:57,298 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/8/.semver, universal_newlines=False, shell=None, istream=) [2023-01-11T15:34:57.382Z] 2023-01-11 15:34:57,304 [execute] INFO git cat-file --batch [2023-01-11T15:34:57.382Z] 2023-01-11 15:34:57,304 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/8/.semver, universal_newlines=False, shell=None, istream=) [2023-01-11T15:34:57.382Z] 2023-01-11 15:34:57,309 [read_version] DEBUG read version from /w/workspace/edgex-go/8/.semver/PR-4268 [2023-01-11T15:34:57.382Z] 0.0.0 [Pipeline] } [2023-01-11T15:34:57.392Z] $ docker exec --env ******** --env ******** 6b06b7a7715730106d9818b32b1ecddf7e6f516438537d3fb2c5cad2b7b02ebc ssh-agent -k [2023-01-11T15:34:57.487Z] unset SSH_AUTH_SOCK; [2023-01-11T15:34:57.487Z] unset SSH_AGENT_PID; [2023-01-11T15:34:57.488Z] echo Agent pid 76 killed; [2023-01-11T15:34:57.495Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-11T15:34:57.792Z] + git semver [Pipeline] } [2023-01-11T15:34:58.063Z] $ docker stop --time=1 6b06b7a7715730106d9818b32b1ecddf7e6f516438537d3fb2c5cad2b7b02ebc [2023-01-11T15:34:59.370Z] $ docker rm -f --volumes 6b06b7a7715730106d9818b32b1ecddf7e6f516438537d3fb2c5cad2b7b02ebc [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T15:34:59.703Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-11T15:34:59.908Z] Stashed 1 file(s) [Pipeline] echo [2023-01-11T15:34:59.912Z] [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 [2023-01-11T15:35:00.281Z] + git config --global --add safe.directory /w/workspace/edgex-go/8 [Pipeline] echo [2023-01-11T15:35:00.295Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T15:35:00.306Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T15:35:00.311Z] ========================================================= [2023-01-11T15:35:00.311Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-11T15:35:00.311Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2023-01-11T15:35:00.600Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-11T15:35:00.600Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-11T15:35:00.600Z] 213ec9aee27d: Pulling fs layer [2023-01-11T15:35:00.600Z] 4583459ba037: Pulling fs layer [2023-01-11T15:35:00.600Z] 93c1e223e6f2: Pulling fs layer [2023-01-11T15:35:00.600Z] 53926ce57604: Pulling fs layer [2023-01-11T15:35:00.600Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-11T15:35:00.600Z] 22ff95d597cd: Pulling fs layer [2023-01-11T15:35:00.600Z] 12d6caf4c0d1: Pulling fs layer [2023-01-11T15:35:00.600Z] 96b7cbca73a9: Pulling fs layer [2023-01-11T15:35:00.600Z] a7acece74701: Pulling fs layer [2023-01-11T15:35:00.600Z] 22ff95d597cd: Waiting [2023-01-11T15:35:00.600Z] a7acece74701: Waiting [2023-01-11T15:35:00.600Z] 12d6caf4c0d1: Waiting [2023-01-11T15:35:00.600Z] 96b7cbca73a9: Waiting [2023-01-11T15:35:00.600Z] 53926ce57604: Waiting [2023-01-11T15:35:00.600Z] 21b2b0c7a3f4: Waiting [2023-01-11T15:35:00.600Z] 93c1e223e6f2: Verifying Checksum [2023-01-11T15:35:00.600Z] 93c1e223e6f2: Download complete [2023-01-11T15:35:00.600Z] 4583459ba037: Download complete [2023-01-11T15:35:00.600Z] 21b2b0c7a3f4: Download complete [2023-01-11T15:35:00.600Z] 22ff95d597cd: Download complete [2023-01-11T15:35:00.600Z] 213ec9aee27d: Verifying Checksum [2023-01-11T15:35:00.600Z] 213ec9aee27d: Download complete [2023-01-11T15:35:00.859Z] 12d6caf4c0d1: Verifying Checksum [2023-01-11T15:35:00.859Z] 12d6caf4c0d1: Download complete [2023-01-11T15:35:00.859Z] 213ec9aee27d: Pull complete [2023-01-11T15:35:00.859Z] 4583459ba037: Pull complete [2023-01-11T15:35:01.119Z] 93c1e223e6f2: Pull complete [2023-01-11T15:35:01.119Z] a7acece74701: Verifying Checksum [2023-01-11T15:35:01.119Z] a7acece74701: Download complete [2023-01-11T15:35:01.685Z] 53926ce57604: Verifying Checksum [2023-01-11T15:35:01.685Z] 53926ce57604: Download complete [2023-01-11T15:35:01.685Z] 96b7cbca73a9: Verifying Checksum [2023-01-11T15:35:01.685Z] 96b7cbca73a9: Download complete [2023-01-11T15:35:05.868Z] 53926ce57604: Pull complete [2023-01-11T15:35:05.868Z] 21b2b0c7a3f4: Pull complete [2023-01-11T15:35:05.868Z] 22ff95d597cd: Pull complete [2023-01-11T15:35:05.868Z] 12d6caf4c0d1: Pull complete [2023-01-11T15:35:07.243Z] 96b7cbca73a9: Pull complete [2023-01-11T15:35:08.177Z] a7acece74701: Pull complete [2023-01-11T15:35:08.177Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-11T15:35:08.177Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-11T15:35:08.177Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] fileExists [Pipeline] sh [2023-01-11T15:35:08.475Z] + + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-11T15:35:08.475Z] WORKDIR /edgex [2023-01-11T15:35:08.475Z] COPY go.mod . [2023-01-11T15:35:08.475Z] RUN go mod downloaddocker [2023-01-11T15:35:08.475Z] build -t ci-base-image-x86_64 -f - . [2023-01-11T15:35:09.041Z] Sending build context to Docker daemon 170.1MB [2023-01-11T15:35:09.041Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-11T15:35:09.041Z] ---> db6d94c90886 [2023-01-11T15:35:09.041Z] Step 2/4 : WORKDIR /edgex [2023-01-11T15:35:10.951Z] ---> Running in 19d484eabf85 [2023-01-11T15:35:10.951Z] Removing intermediate container 19d484eabf85 [2023-01-11T15:35:10.951Z] ---> 01a1d9f36932 [2023-01-11T15:35:10.951Z] Step 3/4 : COPY go.mod . [2023-01-11T15:35:11.209Z] ---> 1120e84593c0 [2023-01-11T15:35:11.209Z] Step 4/4 : RUN go mod download [2023-01-11T15:35:11.209Z] ---> Running in 9222e8d65e65 [2023-01-11T15:35:14.974Z] Still waiting to schedule task [2023-01-11T15:35:14.974Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-1859’ is offline [2023-01-11T15:35:21.269Z] Removing intermediate container 9222e8d65e65 [2023-01-11T15:35:21.269Z] ---> 1d3f1bb69632 [2023-01-11T15:35:21.269Z] Successfully built 1d3f1bb69632 [2023-01-11T15:35:21.269Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T15:35:21.572Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-11T15:35:21.572Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T15:35:21.644Z] prd-ubuntu20.04-docker-8c-8g-1860 does not seem to be running inside a container [2023-01-11T15:35:21.677Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/8 -v /w/workspace/edgex-go/8:/w/workspace/edgex-go/8:rw,z -v /w/workspace/edgex-go/8@tmp:/w/workspace/edgex-go/8@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 ******** -e ******** ci-base-image-x86_64 cat [2023-01-11T15:35:22.049Z] $ docker top 20e8a4fb7e63b75bb9cd8ed68583de65876b90a61cb52f16c561460b822e52b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T15:35:22.381Z] + go version [2023-01-11T15:35:22.381Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-11T15:35:22.395Z] $ docker stop --time=1 20e8a4fb7e63b75bb9cd8ed68583de65876b90a61cb52f16c561460b822e52b5 [2023-01-11T15:35:23.696Z] $ docker rm -f --volumes 20e8a4fb7e63b75bb9cd8ed68583de65876b90a61cb52f16c561460b822e52b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T15:35:24.104Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-11T15:35:24.104Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T15:35:24.170Z] prd-ubuntu20.04-docker-8c-8g-1860 does not seem to be running inside a container [2023-01-11T15:35:24.200Z] $ 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/8 -v /w/workspace/edgex-go/8:/w/workspace/edgex-go/8:rw,z -v /w/workspace/edgex-go/8@tmp:/w/workspace/edgex-go/8@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 ******** -e ******** ci-base-image-x86_64 cat [2023-01-11T15:35:24.533Z] $ docker top 7b4d00d59378fdf9b3bdb09ce3138bf5f52d2c433e517a217e6024c4cbed18fb -eo pid,comm [Pipeline] { [Pipeline] echo [2023-01-11T15:35:24.587Z] ========================================================= [2023-01-11T15:35:24.587Z] [edgeXBuildGoParallel] Running Tests and Build... [2023-01-11T15:35:24.587Z] ========================================================= [Pipeline] sh [2023-01-11T15:35:24.863Z] + git config --global --add safe.directory /w/workspace/edgex-go/8 [Pipeline] fileExists [Pipeline] sh [2023-01-11T15:35:25.157Z] + make test [2023-01-11T15:35:25.157Z] go test -race -coverprofile=coverage.out ./... [2023-01-11T15:35:31.716Z] ? github.com/edgexfoundry/edgex-go [no test files] [2023-01-11T15:35:43.905Z] # github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging [2023-01-11T15:35:43.905Z] internal/core/command/controller/messaging/external.go:36:28: config.MessageQueue undefined (type *"github.com/edgexfoundry/edgex-go/internal/core/command/config".ConfigurationStruct has no field or method MessageQueue) [2023-01-11T15:35:43.905Z] internal/core/command/controller/messaging/external.go:37:17: config.MessageQueue undefined (type *"github.com/edgexfoundry/edgex-go/internal/core/command/config".ConfigurationStruct has no field or method MessageQueue) [2023-01-11T15:35:43.905Z] internal/core/command/controller/messaging/external.go:67:58: container.ConfigurationFrom(dic.Get).MessageQueue undefined (type *"github.com/edgexfoundry/edgex-go/internal/core/command/config".ConfigurationStruct has no field or method MessageQueue) [2023-01-11T15:35:43.905Z] internal/core/command/controller/messaging/external.go:99:58: container.ConfigurationFrom(dic.Get).MessageQueue undefined (type *"github.com/edgexfoundry/edgex-go/internal/core/command/config".ConfigurationStruct has no field or method MessageQueue) [2023-01-11T15:35:43.905Z] internal/core/command/controller/messaging/internal.go:26:57: container.ConfigurationFrom(dic.Get).MessageQueue undefined (type *"github.com/edgexfoundry/edgex-go/internal/core/command/config".ConfigurationStruct has no field or method MessageQueue) [2023-01-11T15:35:43.905Z] internal/core/command/controller/messaging/internal.go:88:57: container.ConfigurationFrom(dic.Get).MessageQueue undefined (type *"github.com/edgexfoundry/edgex-go/internal/core/command/config".ConfigurationStruct has no field or method MessageQueue) [2023-01-11T15:35:43.905Z] internal/core/command/controller/messaging/internal.go:180:57: container.ConfigurationFrom(dic.Get).MessageQueue undefined (type *"github.com/edgexfoundry/edgex-go/internal/core/command/config".ConfigurationStruct has no field or method MessageQueue) [2023-01-11T15:35:44.469Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.056s coverage: 28.7% of statements [2023-01-11T15:35:44.727Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.121s coverage: 98.5% of statements [2023-01-11T15:35:44.727Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging [build failed] [2023-01-11T15:35:44.985Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.098s coverage: 54.0% of statements [2023-01-11T15:35:48.270Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 3.223s coverage: 89.2% of statements [2023-01-11T15:35:48.270Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.109s coverage: 2.4% of statements [2023-01-11T15:35:48.270Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.479s coverage: 95.6% of statements [2023-01-11T15:35:48.270Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.062s coverage: 72.2% of statements [2023-01-11T15:35:48.270Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.094s coverage: 60.0% of statements [2023-01-11T15:35:48.270Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.069s coverage: 0.9% of statements [2023-01-11T15:35:48.270Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.051s coverage: 58.8% of statements [2023-01-11T15:35:48.270Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.072s coverage: 29.6% of statements [2023-01-11T15:35:48.270Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.064s coverage: 47.1% of statements [2023-01-11T15:35:48.270Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.073s coverage: 79.5% of statements [2023-01-11T15:35:48.270Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.063s coverage: 94.1% of statements [2023-01-11T15:35:48.270Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.104s coverage: 96.3% of statements [2023-01-11T15:35:48.270Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.062s coverage: 87.5% of statements [2023-01-11T15:35:58.254Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.079s coverage: 94.4% of statements [2023-01-11T15:35:58.254Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.064s coverage: 44.8% of statements [2023-01-11T15:35:58.513Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.230s coverage: 79.9% of statements [2023-01-11T15:36:08.501Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.079s coverage: 92.9% of statements [2023-01-11T15:36:08.501Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.034s coverage: 65.1% of statements [2023-01-11T15:36:08.501Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.075s coverage: 86.9% of statements [2023-01-11T15:36:08.501Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.072s coverage: 87.2% of statements [2023-01-11T15:36:08.501Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.051s coverage: 100.0% of statements [2023-01-11T15:36:08.501Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.078s coverage: 58.8% of statements [2023-01-11T15:36:08.501Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.076s coverage: 80.0% of statements [2023-01-11T15:36:08.501Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.062s coverage: 87.2% of statements [2023-01-11T15:36:08.501Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.073s coverage: 85.4% of statements [2023-01-11T15:36:08.501Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.217s coverage: 91.2% of statements [2023-01-11T15:36:08.501Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.188s coverage: 64.7% of statements [2023-01-11T15:36:08.501Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.058s coverage: 100.0% of statements [2023-01-11T15:36:08.501Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.033s coverage: 89.4% of statements [2023-01-11T15:36:08.501Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.033s coverage: 100.0% of statements [2023-01-11T15:36:08.501Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.032s coverage: 73.7% of statements [2023-01-11T15:36:08.501Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.022s coverage: 100.0% of statements [2023-01-11T15:36:08.501Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.312s coverage: 65.8% of statements [2023-01-11T15:36:08.501Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.177s coverage: 41.8% of statements [2023-01-11T15:36:08.501Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.065s coverage: 89.5% of statements [2023-01-11T15:36:08.501Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.075s coverage: 84.8% of statements [2023-01-11T15:36:08.501Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.091s coverage: 17.7% of statements [2023-01-11T15:36:08.501Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.146s coverage: 92.3% of statements [2023-01-11T15:36:08.501Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.053s coverage: 63.2% of statements [2023-01-11T15:36:08.501Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.118s coverage: 97.7% of statements [2023-01-11T15:36:08.501Z] make: *** [Makefile:137: unittest] Error 2 [Pipeline] } [2023-01-11T15:36:08.514Z] $ docker stop --time=1 7b4d00d59378fdf9b3bdb09ce3138bf5f52d2c433e517a217e6024c4cbed18fb [2023-01-11T15:36:10.410Z] $ docker rm -f --volumes 7b4d00d59378fdf9b3bdb09ce3138bf5f52d2c433e517a217e6024c4cbed18fb [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] } [2023-01-11T15:36:10.694Z] Failed in branch amd64 [2023-01-11T15:36:41.729Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1862 in /w/workspace/edgexfoundry_edgex-go_PR-4268 [Pipeline] { [Pipeline] ws [2023-01-11T15:36:41.741Z] Running in /w/workspace/edgex-go/8 [Pipeline] { [Pipeline] checkout [2023-01-11T15:36:41.781Z] The recommended git tool is: git [2023-01-11T15:36:46.708Z] using credential edgex-jenkins-ssh [2023-01-11T15:36:46.727Z] Cloning the remote Git repository [2023-01-11T15:36:46.763Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2023-01-11T15:36:46.832Z] > git init /w/workspace/edgex-go/8 # timeout=10 [2023-01-11T15:36:46.961Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2023-01-11T15:36:46.962Z] > git --version # timeout=10 [2023-01-11T15:36:46.980Z] > git --version # 'git version 2.25.1' [2023-01-11T15:36:46.982Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T15:36:47.034Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-11T15:37:01.937Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2023-01-11T15:37:01.967Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-11T15:37:03.868Z] Merging remotes/origin/main commit a23f936fb69ac20a7cf7db96067897b5bcb7663c into PR head commit 7112bdba180cb7e2de18b11374b1430f1ba723b8 [2023-01-11T15:37:02.750Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2023-01-11T15:37:02.789Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2023-01-11T15:37:02.790Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T15:37:02.806Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4268/head:refs/remotes/origin/PR-4268 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-11T15:37:03.884Z] > git config core.sparsecheckout # timeout=10 [2023-01-11T15:37:03.901Z] > git checkout -f 7112bdba180cb7e2de18b11374b1430f1ba723b8 # timeout=10 [2023-01-11T15:37:04.393Z] Merge succeeded, producing d397d9a94f676369c8e5d585dad58d7f449341d3 [2023-01-11T15:37:04.394Z] Checking out Revision d397d9a94f676369c8e5d585dad58d7f449341d3 (PR-4268) [2023-01-11T15:37:04.126Z] > git remote # timeout=10 [2023-01-11T15:37:04.144Z] > git config --get remote.origin.url # timeout=10 [2023-01-11T15:37:04.155Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T15:37:04.166Z] > git merge a23f936fb69ac20a7cf7db96067897b5bcb7663c # timeout=10 [2023-01-11T15:37:04.342Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-11T15:37:04.399Z] > git config core.sparsecheckout # timeout=10 [2023-01-11T15:37:04.413Z] > git checkout -f d397d9a94f676369c8e5d585dad58d7f449341d3 # timeout=10 [2023-01-11T15:37:07.976Z] Commit message: "Merge commit 'a23f936fb69ac20a7cf7db96067897b5bcb7663c' into HEAD" [2023-01-11T15:37:08.000Z] First time build. Skipping changelog. [2023-01-11T15:37:07.984Z] > git rev-list --no-walk b3198781aa2739c4481fcec20a923ff90624498a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T15:37:09.076Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-11T15:37:09.076Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-11T15:37:09.076Z] Dload Upload Total Spent Left Speed [2023-01-11T15:37:09.076Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 93 12751 93 11879 0 0 77640 0 --:--:-- --:--:-- --:--:-- 77640 100 12751 100 12751 0 0 82798 0 --:--:-- --:--:-- --:--:-- 82264 [Pipeline] sh [2023-01-11T15:37:09.889Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-11T15:37:10.222Z] + sudo tee /etc/docker/daemon.new [2023-01-11T15:37:10.222Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-11T15:37:10.222Z] { [2023-01-11T15:37:10.222Z] "registry-mirrors": [ [2023-01-11T15:37:10.222Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-11T15:37:10.222Z] ], [2023-01-11T15:37:10.222Z] "bip": "10.250.0.254/24", [2023-01-11T15:37:10.222Z] "hosts": [ [2023-01-11T15:37:10.222Z] "tcp://0.0.0.0:5555", [2023-01-11T15:37:10.222Z] "unix:///var/run/docker.sock" [2023-01-11T15:37:10.222Z] ], [2023-01-11T15:37:10.222Z] "mtu": 1458, [2023-01-11T15:37:10.222Z] "selinux-enabled": true, [2023-01-11T15:37:10.222Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-11T15:37:10.222Z] } [Pipeline] sh [2023-01-11T15:37:10.551Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-11T15:37:10.891Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T15:37:29.165Z] provisioning config files... [2023-01-11T15:37:29.190Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/8@tmp/config16980462801096405928tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T15:37:29.537Z] ---> docker-login.sh [2023-01-11T15:37:29.537Z] nexus3.edgexfoundry.org:10001 [2023-01-11T15:37:29.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T15:37:30.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T15:37:30.076Z] Configure a credential helper to remove this warning. See [2023-01-11T15:37:30.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T15:37:30.076Z] [2023-01-11T15:37:30.076Z] Login Succeeded [2023-01-11T15:37:30.076Z] nexus3.edgexfoundry.org:10002 [2023-01-11T15:37:30.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T15:37:30.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T15:37:30.347Z] Configure a credential helper to remove this warning. See [2023-01-11T15:37:30.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T15:37:30.347Z] [2023-01-11T15:37:30.347Z] Login Succeeded [2023-01-11T15:37:30.347Z] nexus3.edgexfoundry.org:10003 [2023-01-11T15:37:30.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T15:37:30.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T15:37:30.887Z] Configure a credential helper to remove this warning. See [2023-01-11T15:37:30.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T15:37:30.887Z] [2023-01-11T15:37:30.887Z] Login Succeeded [2023-01-11T15:37:30.887Z] nexus3.edgexfoundry.org:10004 [2023-01-11T15:37:30.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T15:37:31.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T15:37:31.157Z] Configure a credential helper to remove this warning. See [2023-01-11T15:37:31.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T15:37:31.157Z] [2023-01-11T15:37:31.157Z] Login Succeeded [2023-01-11T15:37:31.157Z] docker.io [2023-01-11T15:37:31.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T15:37:31.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T15:37:31.695Z] Configure a credential helper to remove this warning. See [2023-01-11T15:37:31.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T15:37:31.695Z] [2023-01-11T15:37:31.695Z] Login Succeeded [2023-01-11T15:37:31.695Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T15:37:31.709Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh [2023-01-11T15:37:32.252Z] + git config --global --add safe.directory /w/workspace/edgex-go/8 [Pipeline] echo [2023-01-11T15:37:32.272Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T15:37:32.290Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T15:37:32.299Z] ========================================================= [2023-01-11T15:37:32.299Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-11T15:37:32.299Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2023-01-11T15:37:32.618Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-11T15:37:33.218Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-11T15:37:33.218Z] 9b18e9b68314: Pulling fs layer [2023-01-11T15:37:33.218Z] 35d82f9e3411: Pulling fs layer [2023-01-11T15:37:33.218Z] e16973657156: Pulling fs layer [2023-01-11T15:37:33.218Z] fc693d55d65f: Pulling fs layer [2023-01-11T15:37:33.218Z] 7e9fc2657dce: Pulling fs layer [2023-01-11T15:37:33.218Z] dda99020689f: Pulling fs layer [2023-01-11T15:37:33.218Z] db1c61fa0a46: Pulling fs layer [2023-01-11T15:37:33.218Z] 891c053d2c06: Pulling fs layer [2023-01-11T15:37:33.218Z] fc693d55d65f: Waiting [2023-01-11T15:37:33.218Z] 7e9fc2657dce: Waiting [2023-01-11T15:37:33.218Z] dda99020689f: Waiting [2023-01-11T15:37:33.218Z] db1c61fa0a46: Waiting [2023-01-11T15:37:33.218Z] 891c053d2c06: Waiting [2023-01-11T15:37:33.218Z] e16973657156: Download complete [2023-01-11T15:37:33.218Z] 35d82f9e3411: Download complete [2023-01-11T15:37:33.218Z] 7e9fc2657dce: Verifying Checksum [2023-01-11T15:37:33.218Z] 7e9fc2657dce: Download complete [2023-01-11T15:37:33.218Z] dda99020689f: Verifying Checksum [2023-01-11T15:37:33.218Z] dda99020689f: Download complete [2023-01-11T15:37:33.488Z] 9b18e9b68314: Verifying Checksum [2023-01-11T15:37:33.488Z] 9b18e9b68314: Download complete [2023-01-11T15:37:34.453Z] 9b18e9b68314: Pull complete [2023-01-11T15:37:34.453Z] 891c053d2c06: Verifying Checksum [2023-01-11T15:37:34.453Z] 891c053d2c06: Download complete [2023-01-11T15:37:34.725Z] 35d82f9e3411: Pull complete [2023-01-11T15:37:34.992Z] e16973657156: Pull complete [2023-01-11T15:37:35.578Z] db1c61fa0a46: Verifying Checksum [2023-01-11T15:37:35.578Z] db1c61fa0a46: Download complete [2023-01-11T15:37:35.847Z] fc693d55d65f: Download complete [2023-01-11T15:37:48.182Z] fc693d55d65f: Pull complete [2023-01-11T15:37:48.182Z] 7e9fc2657dce: Pull complete [2023-01-11T15:37:48.182Z] dda99020689f: Pull complete [2023-01-11T15:37:53.549Z] db1c61fa0a46: Pull complete [2023-01-11T15:37:54.970Z] 891c053d2c06: Pull complete [2023-01-11T15:37:54.970Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-11T15:37:54.970Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-11T15:37:54.970Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] fileExists [Pipeline] sh [2023-01-11T15:37:55.297Z] + docker build -t ci-base-image-arm64 -f - . [2023-01-11T15:37:55.297Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-11T15:37:55.297Z] WORKDIR /edgex [2023-01-11T15:37:55.297Z] COPY go.mod . [2023-01-11T15:37:55.297Z] RUN go mod download [2023-01-11T15:37:55.881Z] Sending build context to Docker daemon 3.134MB [2023-01-11T15:37:55.881Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-11T15:37:55.881Z] ---> f96f9c87975a [2023-01-11T15:37:55.881Z] Step 2/4 : WORKDIR /edgex [2023-01-11T15:37:57.827Z] ---> Running in 87682412048c [2023-01-11T15:37:58.095Z] Removing intermediate container 87682412048c [2023-01-11T15:37:58.095Z] ---> 7fb83aa158d4 [2023-01-11T15:37:58.095Z] Step 3/4 : COPY go.mod . [2023-01-11T15:37:58.363Z] ---> 0dc772dc9c2f [2023-01-11T15:37:58.363Z] Step 4/4 : RUN go mod download [2023-01-11T15:37:58.632Z] ---> Running in e2fc82edd3b6 [2023-01-11T15:38:30.856Z] Removing intermediate container e2fc82edd3b6 [2023-01-11T15:38:30.856Z] ---> 63cf79c8287c [2023-01-11T15:38:30.856Z] Successfully built 63cf79c8287c [2023-01-11T15:38:30.856Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T15:38:31.190Z] + docker inspect -f . ci-base-image-arm64 [2023-01-11T15:38:31.190Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T15:38:31.366Z] prd-ubuntu20.04-docker-arm64-4c-16g-1862 does not seem to be running inside a container [2023-01-11T15:38:31.424Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/8 -v /w/workspace/edgex-go/8:/w/workspace/edgex-go/8:rw,z -v /w/workspace/edgex-go/8@tmp:/w/workspace/edgex-go/8@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 ******** -e ******** ci-base-image-arm64 cat [2023-01-11T15:38:32.618Z] $ docker top 7ec8977bf518ea3e723303099d2676f713b8f07eef77ca5d727fa06a81b8f77e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T15:38:33.425Z] + go version [2023-01-11T15:38:33.425Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-11T15:38:33.445Z] $ docker stop --time=1 7ec8977bf518ea3e723303099d2676f713b8f07eef77ca5d727fa06a81b8f77e [2023-01-11T15:38:35.082Z] $ docker rm -f --volumes 7ec8977bf518ea3e723303099d2676f713b8f07eef77ca5d727fa06a81b8f77e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T15:38:35.633Z] + docker inspect -f . ci-base-image-arm64 [2023-01-11T15:38:35.633Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T15:38:35.811Z] prd-ubuntu20.04-docker-arm64-4c-16g-1862 does not seem to be running inside a container [2023-01-11T15:38:35.881Z] $ 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/8 -v /w/workspace/edgex-go/8:/w/workspace/edgex-go/8:rw,z -v /w/workspace/edgex-go/8@tmp:/w/workspace/edgex-go/8@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 ******** -e ******** ci-base-image-arm64 cat [2023-01-11T15:38:37.731Z] $ docker top d090ce0eff7b7572ab1d33cb656d2771031b59826212c9fdb24b6743df85bbbf -eo pid,comm [Pipeline] { [Pipeline] echo [2023-01-11T15:38:37.938Z] ========================================================= [2023-01-11T15:38:37.938Z] [edgeXBuildGoParallel] Running Tests and Build... [2023-01-11T15:38:37.938Z] ========================================================= [Pipeline] sh [2023-01-11T15:38:38.247Z] + git config --global --add safe.directory /w/workspace/edgex-go/8 [Pipeline] fileExists [Pipeline] sh [2023-01-11T15:38:38.838Z] + make test [2023-01-11T15:38:38.838Z] go test -race -coverprofile=coverage.out ./... [2023-01-11T15:39:11.078Z] ? github.com/edgexfoundry/edgex-go [no test files] [2023-01-11T15:40:47.735Z] # github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging [2023-01-11T15:40:47.735Z] internal/core/command/controller/messaging/external.go:36:28: config.MessageQueue undefined (type *"github.com/edgexfoundry/edgex-go/internal/core/command/config".ConfigurationStruct has no field or method MessageQueue) [2023-01-11T15:40:47.735Z] internal/core/command/controller/messaging/external.go:37:17: config.MessageQueue undefined (type *"github.com/edgexfoundry/edgex-go/internal/core/command/config".ConfigurationStruct has no field or method MessageQueue) [2023-01-11T15:40:47.735Z] internal/core/command/controller/messaging/external.go:67:58: container.ConfigurationFrom(dic.Get).MessageQueue undefined (type *"github.com/edgexfoundry/edgex-go/internal/core/command/config".ConfigurationStruct has no field or method MessageQueue) [2023-01-11T15:40:47.735Z] internal/core/command/controller/messaging/external.go:99:58: container.ConfigurationFrom(dic.Get).MessageQueue undefined (type *"github.com/edgexfoundry/edgex-go/internal/core/command/config".ConfigurationStruct has no field or method MessageQueue) [2023-01-11T15:40:47.735Z] internal/core/command/controller/messaging/internal.go:26:57: container.ConfigurationFrom(dic.Get).MessageQueue undefined (type *"github.com/edgexfoundry/edgex-go/internal/core/command/config".ConfigurationStruct has no field or method MessageQueue) [2023-01-11T15:40:47.735Z] internal/core/command/controller/messaging/internal.go:88:57: container.ConfigurationFrom(dic.Get).MessageQueue undefined (type *"github.com/edgexfoundry/edgex-go/internal/core/command/config".ConfigurationStruct has no field or method MessageQueue) [2023-01-11T15:40:47.735Z] internal/core/command/controller/messaging/internal.go:180:57: container.ConfigurationFrom(dic.Get).MessageQueue undefined (type *"github.com/edgexfoundry/edgex-go/internal/core/command/config".ConfigurationStruct has no field or method MessageQueue) [2023-01-11T15:41:14.418Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.416s coverage: 28.7% of statements [2023-01-11T15:41:22.634Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.886s coverage: 98.5% of statements [2023-01-11T15:41:22.634Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging [build failed] [2023-01-11T15:41:22.634Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.731s coverage: 54.0% of statements [2023-01-11T15:41:44.780Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 20.537s coverage: 89.2% of statements [2023-01-11T15:41:44.780Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.635s coverage: 2.4% of statements [2023-01-11T15:41:47.373Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 2.383s coverage: 95.6% of statements [2023-01-11T15:41:47.373Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.345s coverage: 72.2% of statements [2023-01-11T15:41:47.373Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.475s coverage: 60.0% of statements [2023-01-11T15:41:47.373Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.464s coverage: 0.9% of statements [2023-01-11T15:41:47.373Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.295s coverage: 58.8% of statements [2023-01-11T15:41:47.373Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.224s coverage: 29.6% of statements [2023-01-11T15:41:47.373Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.299s coverage: 47.1% of statements [2023-01-11T15:41:47.960Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.294s coverage: 79.5% of statements [2023-01-11T15:41:49.398Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.377s coverage: 94.1% of statements [2023-01-11T15:41:51.377Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.363s coverage: 96.3% of statements [2023-01-11T15:41:51.377Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.218s coverage: 87.5% of statements [2023-01-11T15:42:03.684Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.311s coverage: 94.4% of statements [2023-01-11T15:42:03.684Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.225s coverage: 44.8% of statements [2023-01-11T15:42:11.943Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.971s coverage: 79.9% of statements [2023-01-11T15:42:17.319Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.419s coverage: 92.9% of statements [2023-01-11T15:42:17.319Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.071s coverage: 65.1% of statements [2023-01-11T15:42:17.319Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.300s coverage: 86.9% of statements [2023-01-11T15:42:17.319Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.241s coverage: 87.2% of statements [2023-01-11T15:42:17.319Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.200s coverage: 100.0% of statements [2023-01-11T15:42:17.319Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.293s coverage: 58.8% of statements [2023-01-11T15:42:17.319Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.369s coverage: 80.0% of statements [2023-01-11T15:42:17.319Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.245s coverage: 87.2% of statements [2023-01-11T15:42:17.319Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.288s coverage: 85.4% of statements [2023-01-11T15:42:17.319Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.797s coverage: 91.2% of statements [2023-01-11T15:42:23.959Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.059s coverage: 64.7% of statements [2023-01-11T15:42:23.959Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.224s coverage: 100.0% of statements [2023-01-11T15:42:23.959Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.106s coverage: 89.4% of statements [2023-01-11T15:42:23.959Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.072s coverage: 100.0% of statements [2023-01-11T15:42:23.959Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.187s coverage: 73.7% of statements [2023-01-11T15:42:23.959Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.068s coverage: 100.0% of statements [2023-01-11T15:42:29.309Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.297s coverage: 65.8% of statements [2023-01-11T15:42:31.254Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.879s coverage: 41.8% of statements [2023-01-11T15:42:31.254Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.323s coverage: 89.5% of statements [2023-01-11T15:42:31.254Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.245s coverage: 84.8% of statements [2023-01-11T15:42:39.464Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.394s coverage: 17.7% of statements [2023-01-11T15:42:39.464Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.675s coverage: 92.3% of statements [2023-01-11T15:42:39.464Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.253s coverage: 63.2% of statements [2023-01-11T15:42:39.464Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.429s coverage: 97.7% of statements [2023-01-11T15:42:39.736Z] make: *** [Makefile:137: unittest] Error 2 [Pipeline] } [2023-01-11T15:42:39.756Z] $ docker stop --time=1 d090ce0eff7b7572ab1d33cb656d2771031b59826212c9fdb24b6743df85bbbf [2023-01-11T15:42:41.552Z] $ docker rm -f --volumes d090ce0eff7b7572ab1d33cb656d2771031b59826212c9fdb24b6743df85bbbf [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 [2023-01-11T15:42:42.833Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T15:42:42.833Z] [2023-01-11T15:42:42.833Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T15:42:43.169Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T15:42:43.441Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-11T15:42:43.441Z] 8998bd30e6a1: Pulling fs layer [2023-01-11T15:42:43.441Z] 04944245beec: Pulling fs layer [2023-01-11T15:42:43.441Z] 699f458cf7ca: Pulling fs layer [2023-01-11T15:42:43.441Z] 765212b225bb: Pulling fs layer [2023-01-11T15:42:43.441Z] f23df028b6ca: Pulling fs layer [2023-01-11T15:42:43.441Z] d65c8cfc05b1: Pulling fs layer [2023-01-11T15:42:43.441Z] 2437ff75d9bd: Pulling fs layer [2023-01-11T15:42:43.441Z] 765212b225bb: Waiting [2023-01-11T15:42:43.441Z] f23df028b6ca: Waiting [2023-01-11T15:42:43.441Z] d65c8cfc05b1: Waiting [2023-01-11T15:42:43.441Z] 2437ff75d9bd: Waiting [2023-01-11T15:42:43.441Z] 04944245beec: Verifying Checksum [2023-01-11T15:42:43.441Z] 04944245beec: Download complete [2023-01-11T15:42:43.441Z] 765212b225bb: Download complete [2023-01-11T15:42:43.710Z] f23df028b6ca: Verifying Checksum [2023-01-11T15:42:43.710Z] f23df028b6ca: Download complete [2023-01-11T15:42:43.710Z] d65c8cfc05b1: Verifying Checksum [2023-01-11T15:42:43.710Z] d65c8cfc05b1: Download complete [2023-01-11T15:42:43.710Z] 699f458cf7ca: Verifying Checksum [2023-01-11T15:42:43.710Z] 699f458cf7ca: Download complete [2023-01-11T15:42:43.979Z] 8998bd30e6a1: Verifying Checksum [2023-01-11T15:42:43.979Z] 8998bd30e6a1: Download complete [2023-01-11T15:42:46.568Z] 2437ff75d9bd: Verifying Checksum [2023-01-11T15:42:46.568Z] 2437ff75d9bd: Download complete [2023-01-11T15:42:47.982Z] 8998bd30e6a1: Pull complete [2023-01-11T15:42:48.568Z] 04944245beec: Pull complete [2023-01-11T15:42:49.984Z] 699f458cf7ca: Pull complete [2023-01-11T15:42:49.984Z] 765212b225bb: Pull complete [2023-01-11T15:42:50.969Z] f23df028b6ca: Pull complete [2023-01-11T15:42:50.969Z] d65c8cfc05b1: Pull complete [2023-01-11T15:43:05.970Z] 2437ff75d9bd: Pull complete [2023-01-11T15:43:05.971Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-11T15:43:05.971Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T15:43:05.971Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T15:43:06.172Z] prd-ubuntu20.04-docker-arm64-4c-16g-1862 does not seem to be running inside a container [2023-01-11T15:43:06.239Z] $ 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/8 -v /w/workspace/edgex-go/8:/w/workspace/edgex-go/8:rw,z -v /w/workspace/edgex-go/8@tmp:/w/workspace/edgex-go/8@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-11T15:43:08.809Z] $ docker top 3be21c6ccb59211201ec72327a3ea1f142a65ff3e387ef9174084990b8838d81 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T15:43:09.750Z] ---> job-cost.sh [2023-01-11T15:43:09.750Z] lf-activate-venv: SKIPPING [2023-01-11T15:43:09.750Z] INFO: No Stack... [2023-01-11T15:43:10.026Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-11T15:43:10.997Z] INFO: Archiving Costs [Pipeline] sh [2023-01-11T15:43:11.672Z] + cut -d, -f6 [2023-01-11T15:43:11.672Z] + cat /w/workspace/edgex-go/8/archives/cost.csv [Pipeline] lock [2023-01-11T15:43:11.742Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4268-8-stack-cost] [2023-01-11T15:43:11.754Z] Resource [jenkins-edgexfoundry-edgex-go-PR-4268-8-stack-cost] did not exist. Created. [2023-01-11T15:43:11.754Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4268-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-11T15:43:12.399Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-11T15:43:12.956Z] Stashed 1 file(s) [Pipeline] } [2023-01-11T15:43:12.968Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4268-8-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-11T15:43:12.990Z] $ docker stop --time=1 3be21c6ccb59211201ec72327a3ea1f142a65ff3e387ef9174084990b8838d81 [2023-01-11T15:43:14.552Z] $ docker rm -f --volumes 3be21c6ccb59211201ec72327a3ea1f142a65ff3e387ef9174084990b8838d81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-11T15:43:14.906Z] 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 [2023-01-11T15:43:15.506Z] + [ -d /w/workspace/edgex-go/8/archives ] [Pipeline] libraryResource [Pipeline] sh [2023-01-11T15:43:15.800Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T15:43:16.656Z] ---> package-listing.sh [2023-01-11T15:43:16.656Z] ++ facter osfamily [2023-01-11T15:43:16.656Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-11T15:43:16.916Z] + OS_FAMILY=debian [2023-01-11T15:43:16.916Z] + workspace=/w/workspace/edgex-go/8 [2023-01-11T15:43:16.916Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-11T15:43:16.916Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-11T15:43:16.916Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-11T15:43:16.916Z] + PACKAGES=/tmp/packages_start.txt [2023-01-11T15:43:16.916Z] + '[' /w/workspace/edgex-go/8 ']' [2023-01-11T15:43:16.916Z] + PACKAGES=/tmp/packages_end.txt [2023-01-11T15:43:16.916Z] + case "${OS_FAMILY}" in [2023-01-11T15:43:16.916Z] + dpkg -l [2023-01-11T15:43:16.916Z] + grep '^ii' [2023-01-11T15:43:16.916Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-11T15:43:16.916Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-11T15:43:16.916Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-11T15:43:16.916Z] + '[' /w/workspace/edgex-go/8 ']' [2023-01-11T15:43:16.916Z] + mkdir -p /w/workspace/edgex-go/8/archives/ [2023-01-11T15:43:16.916Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/8/archives/ [Pipeline] echo [2023-01-11T15:43:16.928Z] 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/8/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-11T15:43:17.208Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T15:43:17.768Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T15:43:17.768Z] [2023-01-11T15:43:17.768Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T15:43:18.065Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T15:43:18.065Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-11T15:43:18.065Z] 5eb5b503b376: Pulling fs layer [2023-01-11T15:43:18.065Z] 5c69ac0246d0: Pulling fs layer [2023-01-11T15:43:18.065Z] ec43610c2a17: Pulling fs layer [2023-01-11T15:43:18.065Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-11T15:43:18.065Z] 33b1e0a273af: Pulling fs layer [2023-01-11T15:43:18.065Z] 5d3b04190fa2: Pulling fs layer [2023-01-11T15:43:18.065Z] 2f39f015ded8: Pulling fs layer [2023-01-11T15:43:18.065Z] 5d3b04190fa2: Waiting [2023-01-11T15:43:18.065Z] 33b1e0a273af: Waiting [2023-01-11T15:43:18.066Z] 3a2ae6a8a46f: Waiting [2023-01-11T15:43:18.066Z] 2f39f015ded8: Waiting [2023-01-11T15:43:18.066Z] 5c69ac0246d0: Verifying Checksum [2023-01-11T15:43:18.066Z] 5c69ac0246d0: Download complete [2023-01-11T15:43:18.066Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-11T15:43:18.066Z] 3a2ae6a8a46f: Download complete [2023-01-11T15:43:18.066Z] 33b1e0a273af: Verifying Checksum [2023-01-11T15:43:18.066Z] 33b1e0a273af: Download complete [2023-01-11T15:43:18.325Z] 5d3b04190fa2: Verifying Checksum [2023-01-11T15:43:18.325Z] 5d3b04190fa2: Download complete [2023-01-11T15:43:18.325Z] ec43610c2a17: Verifying Checksum [2023-01-11T15:43:18.325Z] ec43610c2a17: Download complete [2023-01-11T15:43:18.325Z] 5eb5b503b376: Verifying Checksum [2023-01-11T15:43:18.325Z] 5eb5b503b376: Download complete [2023-01-11T15:43:18.892Z] 2f39f015ded8: Download complete [2023-01-11T15:43:19.456Z] 5eb5b503b376: Pull complete [2023-01-11T15:43:19.456Z] 5c69ac0246d0: Pull complete [2023-01-11T15:43:19.715Z] ec43610c2a17: Pull complete [2023-01-11T15:43:19.974Z] 3a2ae6a8a46f: Pull complete [2023-01-11T15:43:19.974Z] 33b1e0a273af: Pull complete [2023-01-11T15:43:20.232Z] 5d3b04190fa2: Pull complete [2023-01-11T15:43:24.415Z] 2f39f015ded8: Pull complete [2023-01-11T15:43:24.415Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-11T15:43:24.415Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T15:43:24.415Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T15:43:24.487Z] prd-ubuntu20.04-docker-8c-8g-1860 does not seem to be running inside a container [2023-01-11T15:43:24.520Z] $ 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/8/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/8 -v /w/workspace/edgex-go/8:/w/workspace/edgex-go/8:rw,z -v /w/workspace/edgex-go/8@tmp:/w/workspace/edgex-go/8@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-11T15:43:26.542Z] $ docker top 0e6deae5c9f7fb910d0cd937bd781168023a0c3292c3126bc29bc530316f46ee -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T15:43:26.880Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-11T15:43:27.171Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-11T15:43:27.459Z] + ls /var/log/sa-host [2023-01-11T15:43:27.459Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T15:43:27.523Z] provisioning config files... [2023-01-11T15:43:27.532Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/8@tmp/config347752898639875843tmp [Pipeline] { [Pipeline] echo [2023-01-11T15:43:27.541Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T15:43:27.824Z] ---> create-netrc.sh [Pipeline] } [2023-01-11T15:43:27.832Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-11T15:43:28.149Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-11T15:43:28.158Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T15:43:28.444Z] ---> sudo-logs.sh [2023-01-11T15:43:28.444Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-11T15:43:28.487Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T15:43:28.768Z] ---> job-cost.sh [2023-01-11T15:43:28.768Z] lf-activate-venv: SKIPPING [2023-01-11T15:43:28.768Z] DEBUG: total: 0.10999999940395355 [2023-01-11T15:43:28.768Z] INFO: Retrieving Stack Cost... [2023-01-11T15:43:29.337Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-11T15:43:29.598Z] INFO: Archiving Costs [Pipeline] echo [2023-01-11T15:43:29.610Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T15:43:29.893Z] ---> logs-deploy.sh [2023-01-11T15:43:29.893Z] lf-activate-venv: SKIPPING [2023-01-11T15:43:29.893Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4268/8 [2023-01-11T15:43:29.893Z] INFO: archiving workspace using pattern(s): [2023-01-11T15:43:30.832Z] Archives upload complete. [2023-01-11T15:43:30.832Z] INFO: archiving logs to Nexus