Pull request #4471 opened 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 weichou1229 for edgexfoundry/edgex-go Loading trusted files from base branch main at b2859d90283392a0de244e81d63275e3b01924cf rather than 561ffe60b20582d0b8438f99567fb302129053fd Obtained Jenkinsfile from b2859d90283392a0de244e81d63275e3b01924cf 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-ssh15173219558138640374.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh18163252854597504545.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4471/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-4471/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11306453328080501159.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-4471/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5704761830051064916.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh11923888457179995803.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4471/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-4471/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13228430258067451415.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 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/v3], 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.20 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/v3 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 ‘prd-ubuntu20.04-docker-8c-8g-5151’ is offline Running on prd-ubuntu20.04-docker-8c-8g-5155 in /w/workspace/edgexfoundry_edgex-go_PR-4471 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [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/1 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b2859d90283392a0de244e81d63275e3b01924cf into PR head commit 561ffe60b20582d0b8438f99567fb302129053fd Merge succeeded, producing 561ffe60b20582d0b8438f99567fb302129053fd Checking out Revision 561ffe60b20582d0b8438f99567fb302129053fd (PR-4471) > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4471/head:refs/remotes/origin/PR-4471 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 561ffe60b20582d0b8438f99567fb302129053fd # 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 b2859d90283392a0de244e81d63275e3b01924cf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 561ffe60b20582d0b8438f99567fb302129053fd # timeout=10 Commit message: "feat!: Apply provision watcher model changes" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-22T08:30:57.013Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-22T08:30:57.176Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-22T08:30:57.268Z] ========================================================= [2023-03-22T08:30:57.268Z] EdgeX Global Pipelines Version Info [2023-03-22T08:30:57.268Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-22T08:30:58.137Z] ------------------- [2023-03-22T08:30:58.137Z] stable info: [2023-03-22T08:30:58.137Z] ------------------- [2023-03-22T08:30:58.137Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-22T08:30:58.137Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-22T08:30:58.137Z] Message: update stable to v1.0.245 [2023-03-22T08:30:58.707Z] ------------------- [2023-03-22T08:30:58.707Z] experimental info: [2023-03-22T08:30:58.707Z] ------------------- [2023-03-22T08:30:58.707Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-22T08:30:58.707Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-22T08:30:58.708Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-22T08:30:58.960Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2023-03-22T08:30:58.996Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2023-03-22T08:30:59.030Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-22T08:30:59.066Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-22T08:30:59.108Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-22T08:30:59.140Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-22T08:30:59.175Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-22T08:30:59.209Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2023-03-22T08:30:59.241Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2023-03-22T08:30:59.277Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2023-03-22T08:30:59.313Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-22T08:30:59.349Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-22T08:30:59.385Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-22T08:30:59.422Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-22T08:30:59.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-22T08:30:59.502Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-22T08:30:59.539Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-22T08:30:59.574Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-22T08:30:59.610Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-22T08:30:59.645Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-22T08:30:59.688Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-22T08:30:59.726Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-22T08:30:59.761Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-22T08:30:59.797Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4471 [Pipeline] echo [2023-03-22T08:30:59.831Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4471 [Pipeline] echo [2023-03-22T08:30:59.862Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4471 [Pipeline] echo [2023-03-22T08:30:59.895Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 561ffe60b20582d0b8438f99567fb302129053fd [Pipeline] echo [2023-03-22T08:30:59.927Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 561ffe6 [Pipeline] echo [2023-03-22T08:30:59.960Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T08:31:00.071Z] provisioning config files... [2023-03-22T08:31:00.086Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config3224557991892911188tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T08:31:00.425Z] ---> docker-login.sh [2023-03-22T08:31:00.425Z] nexus3.edgexfoundry.org:10001 [2023-03-22T08:31:00.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T08:31:00.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T08:31:00.994Z] Configure a credential helper to remove this warning. See [2023-03-22T08:31:00.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T08:31:00.994Z] [2023-03-22T08:31:00.994Z] Login Succeeded [2023-03-22T08:31:00.994Z] nexus3.edgexfoundry.org:10002 [2023-03-22T08:31:01.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T08:31:01.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T08:31:01.254Z] Configure a credential helper to remove this warning. See [2023-03-22T08:31:01.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T08:31:01.254Z] [2023-03-22T08:31:01.254Z] Login Succeeded [2023-03-22T08:31:01.254Z] nexus3.edgexfoundry.org:10003 [2023-03-22T08:31:01.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T08:31:01.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T08:31:01.254Z] Configure a credential helper to remove this warning. See [2023-03-22T08:31:01.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T08:31:01.254Z] [2023-03-22T08:31:01.254Z] Login Succeeded [2023-03-22T08:31:01.254Z] nexus3.edgexfoundry.org:10004 [2023-03-22T08:31:01.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T08:31:01.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T08:31:01.514Z] Configure a credential helper to remove this warning. See [2023-03-22T08:31:01.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T08:31:01.515Z] [2023-03-22T08:31:01.515Z] Login Succeeded [2023-03-22T08:31:01.515Z] docker.io [2023-03-22T08:31:01.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T08:31:01.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T08:31:01.774Z] Configure a credential helper to remove this warning. See [2023-03-22T08:31:01.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T08:31:01.774Z] [2023-03-22T08:31:01.774Z] Login Succeeded [2023-03-22T08:31:01.774Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T08:31:01.803Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-22T08:31:02.198Z] + ls cmd/core-command/Dockerfile cmd/core-common-config-bootstrapper/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-auth/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-03-22T08:31:02.198Z] + cut -d/ -f2 [2023-03-22T08:31:02.198Z] + dirname cmd/core-command/Dockerfile [2023-03-22T08:31:02.198Z] + echo core-command,cmd/core-command/Dockerfile [2023-03-22T08:31:02.198Z] + + cut -d/dirname -f2 cmd/core-common-config-bootstrapper/Dockerfile [2023-03-22T08:31:02.198Z] [2023-03-22T08:31:02.198Z] + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile [2023-03-22T08:31:02.198Z] + + cutdirname -d/ cmd/core-data/Dockerfile -f2 [2023-03-22T08:31:02.198Z] [2023-03-22T08:31:02.198Z] + echo core-data,cmd/core-data/Dockerfile [2023-03-22T08:31:02.198Z] + dirname cmd/core-metadata/Dockerfile [2023-03-22T08:31:02.198Z] + cut -d/ -f2 [2023-03-22T08:31:02.198Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2023-03-22T08:31:02.198Z] + dirname cmd/security-bootstrapper/Dockerfile [2023-03-22T08:31:02.198Z] + cut -d/ -f2 [2023-03-22T08:31:02.198Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2023-03-22T08:31:02.198Z] + + dirname cmd/security-proxy-auth/Dockerfilecut [2023-03-22T08:31:02.198Z] -d/ -f2 [2023-03-22T08:31:02.198Z] + echo security-proxy-auth,cmd/security-proxy-auth/Dockerfile [2023-03-22T08:31:02.198Z] + dirname cmd/security-proxy-setup/Dockerfile+ [2023-03-22T08:31:02.198Z] cut -d/ -f2 [2023-03-22T08:31:02.198Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2023-03-22T08:31:02.198Z] + dirname cmd/security-secretstore-setup/Dockerfile [2023-03-22T08:31:02.198Z] + cut -d/ -f2 [2023-03-22T08:31:02.198Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2023-03-22T08:31:02.198Z] + dirname+ cmd/security-spiffe-token-provider/Dockerfile [2023-03-22T08:31:02.198Z] cut -d/ -f2 [2023-03-22T08:31:02.198Z] + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile [2023-03-22T08:31:02.198Z] + + cut -d/dirname -f2 cmd/security-spire-agent/Dockerfile [2023-03-22T08:31:02.198Z] [2023-03-22T08:31:02.198Z] + echo security-spire-agent,cmd/security-spire-agent/Dockerfile [2023-03-22T08:31:02.198Z] + + dirname cmd/security-spire-config/Dockerfile [2023-03-22T08:31:02.198Z] cut -d/ -f2 [2023-03-22T08:31:02.198Z] + echo security-spire-config,cmd/security-spire-config/Dockerfile [2023-03-22T08:31:02.198Z] + dirname cmd/security-spire-server/Dockerfile [2023-03-22T08:31:02.198Z] + cut -d/ -f2 [2023-03-22T08:31:02.198Z] + echo security-spire-server,cmd/security-spire-server/Dockerfile [2023-03-22T08:31:02.198Z] + dirname cmd/support-notifications/Dockerfile [2023-03-22T08:31:02.198Z] + cut -d/ -f2 [2023-03-22T08:31:02.198Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2023-03-22T08:31:02.198Z] + dirname cmd/support-scheduler/Dockerfile [2023-03-22T08:31:02.198Z] + cut -d/ -f2 [2023-03-22T08:31:02.198Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo [2023-03-22T08:31:02.264Z] Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/Dockerfile], [image:core-common-config-bootstrapper, dockerfile:cmd/core-common-config-bootstrapper/Dockerfile], [image:core-data, dockerfile:cmd/core-data/Dockerfile], [image:core-metadata, dockerfile:cmd/core-metadata/Dockerfile], [image:security-bootstrapper, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:security-proxy-auth, dockerfile:cmd/security-proxy-auth/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-03-22T08:31:02.773Z] + git rev-list -1 --merges 561ffe60b20582d0b8438f99567fb302129053fd~1..561ffe60b20582d0b8438f99567fb302129053fd [Pipeline] echo [2023-03-22T08:31:02.812Z] -----------> git rev-list -1 --merges 561ffe60b20582d0b8438f99567fb302129053fd~1..561ffe60b20582d0b8438f99567fb302129053fd 561ffe60b20582d0b8438f99567fb302129053fd [false] [Pipeline] sh [2023-03-22T08:31:03.113Z] + git log --format=format:%s -1 561ffe60b20582d0b8438f99567fb302129053fd [Pipeline] echo [2023-03-22T08:31:03.149Z] ========================================================= [2023-03-22T08:31:03.149Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-22T08:31:03.149Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-03-22T08:31:03.555Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-22T08:31:03.555Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-22T08:31:03.555Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-22T08:31:03.555Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-22T08:31:03.555Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-22T08:31:03.555Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-22T08:31:03.555Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T08:31:03.968Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T08:31:03.968Z] [2023-03-22T08:31:03.968Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T08:31:04.356Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T08:31:04.356Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-22T08:31:04.356Z] b85a868b505f: Pulling fs layer [2023-03-22T08:31:04.356Z] e2be974225ed: Pulling fs layer [2023-03-22T08:31:04.356Z] 339a4e72a1f5: Pulling fs layer [2023-03-22T08:31:04.356Z] 988bab9f4d93: Pulling fs layer [2023-03-22T08:31:04.356Z] 1469e6f7b9e6: Pulling fs layer [2023-03-22T08:31:04.356Z] eaf3925da568: Pulling fs layer [2023-03-22T08:31:04.356Z] bab4dde63d76: Pulling fs layer [2023-03-22T08:31:04.356Z] bde34c3a00c8: Pulling fs layer [2023-03-22T08:31:04.356Z] b352a97aabf1: Pulling fs layer [2023-03-22T08:31:04.356Z] 4872d77fe225: Pulling fs layer [2023-03-22T08:31:04.356Z] 5851b861e8e6: Pulling fs layer [2023-03-22T08:31:04.356Z] bab4dde63d76: Waiting [2023-03-22T08:31:04.356Z] bde34c3a00c8: Waiting [2023-03-22T08:31:04.356Z] b352a97aabf1: Waiting [2023-03-22T08:31:04.356Z] 4872d77fe225: Waiting [2023-03-22T08:31:04.356Z] 5851b861e8e6: Waiting [2023-03-22T08:31:04.356Z] 1469e6f7b9e6: Waiting [2023-03-22T08:31:04.356Z] eaf3925da568: Waiting [2023-03-22T08:31:04.356Z] 988bab9f4d93: Waiting [2023-03-22T08:31:04.356Z] e2be974225ed: Verifying Checksum [2023-03-22T08:31:04.356Z] e2be974225ed: Download complete [2023-03-22T08:31:04.356Z] 988bab9f4d93: Download complete [2023-03-22T08:31:04.615Z] 339a4e72a1f5: Verifying Checksum [2023-03-22T08:31:04.615Z] 339a4e72a1f5: Download complete [2023-03-22T08:31:04.615Z] 1469e6f7b9e6: Verifying Checksum [2023-03-22T08:31:04.615Z] 1469e6f7b9e6: Download complete [2023-03-22T08:31:04.615Z] eaf3925da568: Verifying Checksum [2023-03-22T08:31:04.615Z] eaf3925da568: Download complete [2023-03-22T08:31:04.615Z] bde34c3a00c8: Verifying Checksum [2023-03-22T08:31:04.615Z] bde34c3a00c8: Download complete [2023-03-22T08:31:04.615Z] b352a97aabf1: Verifying Checksum [2023-03-22T08:31:04.615Z] b352a97aabf1: Download complete [2023-03-22T08:31:04.615Z] 4872d77fe225: Verifying Checksum [2023-03-22T08:31:04.615Z] 4872d77fe225: Download complete [2023-03-22T08:31:04.615Z] 5851b861e8e6: Verifying Checksum [2023-03-22T08:31:04.615Z] 5851b861e8e6: Download complete [2023-03-22T08:31:04.615Z] b85a868b505f: Verifying Checksum [2023-03-22T08:31:04.615Z] b85a868b505f: Download complete [2023-03-22T08:31:05.182Z] bab4dde63d76: Verifying Checksum [2023-03-22T08:31:05.182Z] bab4dde63d76: Download complete [2023-03-22T08:31:05.750Z] b85a868b505f: Pull complete [2023-03-22T08:31:06.010Z] e2be974225ed: Pull complete [2023-03-22T08:31:06.581Z] 339a4e72a1f5: Pull complete [2023-03-22T08:31:06.581Z] 988bab9f4d93: Pull complete [2023-03-22T08:31:06.840Z] 1469e6f7b9e6: Pull complete [2023-03-22T08:31:06.840Z] eaf3925da568: Pull complete [2023-03-22T08:31:08.745Z] bab4dde63d76: Pull complete [2023-03-22T08:31:08.745Z] bde34c3a00c8: Pull complete [2023-03-22T08:31:08.745Z] b352a97aabf1: Pull complete [2023-03-22T08:31:08.745Z] 4872d77fe225: Pull complete [2023-03-22T08:31:09.006Z] 5851b861e8e6: Pull complete [2023-03-22T08:31:09.006Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-22T08:31:09.006Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T08:31:09.006Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T08:31:09.234Z] prd-ubuntu20.04-docker-8c-8g-5155 does not seem to be running inside a container [2023-03-22T08:31:09.266Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-22T08:31:13.282Z] $ docker top 700f4fafc34568cf72ec5ea2ab37bcd496f5ae40f113826b720ea614272cd9c6 -eo pid,comm [2023-03-22T08:31:13.335Z] 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-03-22T08:31:13.335Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-22T08:31:13.464Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T08:31:13.464Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T08:31:13.582Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T08:31:13.587Z] $ docker exec 700f4fafc34568cf72ec5ea2ab37bcd496f5ae40f113826b720ea614272cd9c6 ssh-agent [2023-03-22T08:31:13.695Z] SSH_AUTH_SOCK=/tmp/ssh-vnaq3Y0KcKmo/agent.31 [2023-03-22T08:31:13.695Z] SSH_AGENT_PID=37 [2023-03-22T08:31:13.702Z] Running ssh-add (command line suppressed) [2023-03-22T08:31:13.815Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_8522393079573502334.key (/w/workspace/edgex-go/1@tmp/private_key_8522393079573502334.key) [2023-03-22T08:31:13.828Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T08:31:14.158Z] + git tag --points-at HEAD [Pipeline] } [2023-03-22T08:31:14.183Z] $ docker exec --env ******** --env ******** 700f4fafc34568cf72ec5ea2ab37bcd496f5ae40f113826b720ea614272cd9c6 ssh-agent -k [2023-03-22T08:31:14.291Z] unset SSH_AUTH_SOCK; [2023-03-22T08:31:14.292Z] unset SSH_AGENT_PID; [2023-03-22T08:31:14.292Z] echo Agent pid 37 killed; [2023-03-22T08:31:14.299Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-22T08:31:14.376Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T08:31:14.376Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T08:31:14.473Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T08:31:14.478Z] $ docker exec 700f4fafc34568cf72ec5ea2ab37bcd496f5ae40f113826b720ea614272cd9c6 ssh-agent [2023-03-22T08:31:14.577Z] SSH_AUTH_SOCK=/tmp/ssh-6Gi5q20PVOxF/agent.69 [2023-03-22T08:31:14.577Z] SSH_AGENT_PID=75 [2023-03-22T08:31:14.582Z] Running ssh-add (command line suppressed) [2023-03-22T08:31:14.694Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_4670949213594344691.key (/w/workspace/edgex-go/1@tmp/private_key_4670949213594344691.key) [2023-03-22T08:31:14.719Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T08:31:15.051Z] + git semver init [2023-03-22T08:31:15.312Z] 2023-03-22 08:31:15,224 [run_init] DEBUG init version:0.0.0 force:False [2023-03-22T08:31:15.312Z] 2023-03-22 08:31:15,225 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/1/.semver [2023-03-22T08:31:15.312Z] 2023-03-22 08:31:15,225 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/1/.semver [2023-03-22T08:31:15.312Z] 2023-03-22 08:31:15,226 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/edgex-go.git', '/w/workspace/edgex-go/1/.semver'], cwd=/w/workspace/edgex-go/1, universal_newlines=False, shell=None, istream=None) [2023-03-22T08:31:22.251Z] 2023-03-22 08:31:21,901 [append_file] DEBUG append to file:/w/workspace/edgex-go/1/.git/info/exclude [2023-03-22T08:31:22.251Z] 2023-03-22 08:31:21,901 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/1/.semver/PR-4471 with force:False [2023-03-22T08:31:22.251Z] 2023-03-22 08:31:21,901 [write_file] DEBUG write to file:/w/workspace/edgex-go/1/.semver/PR-4471 [2023-03-22T08:31:22.251Z] 2023-03-22 08:31:21,905 [execute] INFO git cat-file --batch-check [2023-03-22T08:31:22.251Z] 2023-03-22 08:31:21,905 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) [2023-03-22T08:31:22.251Z] 2023-03-22 08:31:21,911 [execute] INFO git cat-file --batch [2023-03-22T08:31:22.251Z] 2023-03-22 08:31:21,911 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) [2023-03-22T08:31:22.251Z] 2023-03-22 08:31:21,917 [read_version] DEBUG read version from /w/workspace/edgex-go/1/.semver/PR-4471 [2023-03-22T08:31:22.251Z] 0.0.0 [Pipeline] } [2023-03-22T08:31:22.280Z] $ docker exec --env ******** --env ******** 700f4fafc34568cf72ec5ea2ab37bcd496f5ae40f113826b720ea614272cd9c6 ssh-agent -k [2023-03-22T08:31:22.367Z] unset SSH_AUTH_SOCK; [2023-03-22T08:31:22.368Z] unset SSH_AGENT_PID; [2023-03-22T08:31:22.368Z] echo Agent pid 75 killed; [2023-03-22T08:31:22.374Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-22T08:31:22.787Z] + git semver [Pipeline] } [2023-03-22T08:31:23.072Z] $ docker stop --time=1 700f4fafc34568cf72ec5ea2ab37bcd496f5ae40f113826b720ea614272cd9c6 [2023-03-22T08:31:24.372Z] $ docker rm -f --volumes 700f4fafc34568cf72ec5ea2ab37bcd496f5ae40f113826b720ea614272cd9c6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T08:31:24.765Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-22T08:31:25.039Z] Stashed 1 file(s) [Pipeline] echo [2023-03-22T08:31:25.054Z] [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-03-22T08:31:25.796Z] + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo [2023-03-22T08:31:25.832Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T08:31:25.867Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T08:31:25.893Z] ========================================================= [2023-03-22T08:31:25.893Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-22T08:31:25.893Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2023-03-22T08:31:26.347Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-22T08:31:26.347Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-22T08:31:26.347Z] 63b65145d645: Pulling fs layer [2023-03-22T08:31:26.347Z] a2d21d5440eb: Pulling fs layer [2023-03-22T08:31:26.347Z] 935e6c44a52c: Pulling fs layer [2023-03-22T08:31:26.347Z] 94cc34f8dd06: Pulling fs layer [2023-03-22T08:31:26.347Z] 30dea6a524f1: Pulling fs layer [2023-03-22T08:31:26.347Z] a2aff8979fd8: Pulling fs layer [2023-03-22T08:31:26.347Z] 6808be2612f2: Pulling fs layer [2023-03-22T08:31:26.347Z] f25807f1079a: Pulling fs layer [2023-03-22T08:31:26.347Z] 30dea6a524f1: Waiting [2023-03-22T08:31:26.347Z] 94cc34f8dd06: Waiting [2023-03-22T08:31:26.347Z] a2aff8979fd8: Waiting [2023-03-22T08:31:26.347Z] 6808be2612f2: Waiting [2023-03-22T08:31:26.347Z] f25807f1079a: Waiting [2023-03-22T08:31:26.347Z] a2d21d5440eb: Download complete [2023-03-22T08:31:26.347Z] 94cc34f8dd06: Download complete [2023-03-22T08:31:26.347Z] 30dea6a524f1: Verifying Checksum [2023-03-22T08:31:26.347Z] 30dea6a524f1: Download complete [2023-03-22T08:31:26.347Z] 63b65145d645: Verifying Checksum [2023-03-22T08:31:26.347Z] 63b65145d645: Download complete [2023-03-22T08:31:26.347Z] a2aff8979fd8: Verifying Checksum [2023-03-22T08:31:26.347Z] a2aff8979fd8: Download complete [2023-03-22T08:31:26.614Z] 63b65145d645: Pull complete [2023-03-22T08:31:26.902Z] a2d21d5440eb: Pull complete [2023-03-22T08:31:27.194Z] f25807f1079a: Verifying Checksum [2023-03-22T08:31:27.194Z] f25807f1079a: Download complete [2023-03-22T08:31:27.456Z] 935e6c44a52c: Verifying Checksum [2023-03-22T08:31:27.456Z] 935e6c44a52c: Download complete [2023-03-22T08:31:27.456Z] 6808be2612f2: Verifying Checksum [2023-03-22T08:31:27.456Z] 6808be2612f2: Download complete [2023-03-22T08:31:30.735Z] 935e6c44a52c: Pull complete [2023-03-22T08:31:30.735Z] 94cc34f8dd06: Pull complete [2023-03-22T08:31:30.735Z] 30dea6a524f1: Pull complete [2023-03-22T08:31:30.993Z] a2aff8979fd8: Pull complete [2023-03-22T08:31:33.525Z] 6808be2612f2: Pull complete [2023-03-22T08:31:34.094Z] f25807f1079a: Pull complete [2023-03-22T08:31:34.352Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-22T08:31:34.352Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-22T08:31:34.352Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] fileExists [Pipeline] sh [2023-03-22T08:31:34.695Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-22T08:31:34.695Z] WORKDIR /edgex [2023-03-22T08:31:34.695Z] COPY go.mod . [2023-03-22T08:31:34.695Z] RUN go mod download [2023-03-22T08:31:34.695Z] + docker build -t ci-base-image-x86_64 -f - . [2023-03-22T08:31:35.263Z] Sending build context to Docker daemon 170.5MB [2023-03-22T08:31:35.263Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-22T08:31:35.263Z] ---> 3b553350e43f [2023-03-22T08:31:35.263Z] Step 2/4 : WORKDIR /edgex [2023-03-22T08:31:40.348Z] Still waiting to schedule task [2023-03-22T08:31:40.349Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5157’ is offline [2023-03-22T08:31:43.397Z] ---> Running in 8e6d2ce1d09e [2023-03-22T08:31:43.397Z] Removing intermediate container 8e6d2ce1d09e [2023-03-22T08:31:43.397Z] ---> 6655772dc6f0 [2023-03-22T08:31:43.397Z] Step 3/4 : COPY go.mod . [2023-03-22T08:31:43.397Z] ---> a5e968c109c7 [2023-03-22T08:31:43.397Z] Step 4/4 : RUN go mod download [2023-03-22T08:31:43.397Z] ---> Running in af0d422e8e0e [2023-03-22T08:31:58.269Z] Removing intermediate container af0d422e8e0e [2023-03-22T08:31:58.269Z] ---> 51b5ed232bf3 [2023-03-22T08:31:58.269Z] Successfully built 51b5ed232bf3 [2023-03-22T08:31:58.269Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T08:31:58.656Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-22T08:31:58.656Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T08:31:58.802Z] prd-ubuntu20.04-docker-8c-8g-5155 does not seem to be running inside a container [2023-03-22T08:31:58.828Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 ******** ci-base-image-x86_64 cat [2023-03-22T08:31:59.190Z] $ docker top 3b30588ac7808273995a03ba669477996b16c6d6fb3dae13d24b1b29105038bb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T08:31:59.587Z] + go version [2023-03-22T08:31:59.587Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-22T08:31:59.619Z] $ docker stop --time=1 3b30588ac7808273995a03ba669477996b16c6d6fb3dae13d24b1b29105038bb [2023-03-22T08:32:00.892Z] $ docker rm -f --volumes 3b30588ac7808273995a03ba669477996b16c6d6fb3dae13d24b1b29105038bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T08:32:01.616Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-22T08:32:01.616Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T08:32:01.751Z] prd-ubuntu20.04-docker-8c-8g-5155 does not seem to be running inside a container [2023-03-22T08:32:01.784Z] $ 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/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 ******** ci-base-image-x86_64 cat [2023-03-22T08:32:02.100Z] $ docker top b507d569e0009063346239a5edf315c62fdf5d7743b756b23a11aed0becc7f4e -eo pid,comm [Pipeline] { [Pipeline] echo [2023-03-22T08:32:02.209Z] ========================================================= [2023-03-22T08:32:02.209Z] [edgeXBuildGoParallel] Running Tests and Build... [2023-03-22T08:32:02.209Z] ========================================================= [Pipeline] sh [2023-03-22T08:32:02.598Z] + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-22T08:32:02.970Z] + make test [2023-03-22T08:32:02.970Z] go test -race -coverprofile=coverage.out ./... [2023-03-22T08:32:11.082Z] ? github.com/edgexfoundry/edgex-go [no test files] [2023-03-22T08:32:21.039Z] # github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis [2023-03-22T08:32:21.039Z] internal/pkg/infrastructure/redis/provisionwatcher.go:42:74: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) [2023-03-22T08:32:21.039Z] internal/pkg/infrastructure/redis/provisionwatcher.go:43:74: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) [2023-03-22T08:32:21.039Z] internal/pkg/infrastructure/redis/provisionwatcher.go:69:53: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) [2023-03-22T08:32:21.039Z] internal/pkg/infrastructure/redis/provisionwatcher.go:73:140: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) [2023-03-22T08:32:21.039Z] internal/pkg/infrastructure/redis/provisionwatcher.go:75:54: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) [2023-03-22T08:32:21.039Z] internal/pkg/infrastructure/redis/provisionwatcher.go:79:140: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) [2023-03-22T08:32:21.039Z] internal/pkg/infrastructure/redis/provisionwatcher.go:198:74: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) [2023-03-22T08:32:21.039Z] internal/pkg/infrastructure/redis/provisionwatcher.go:199:74: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) [2023-03-22T08:32:21.039Z] internal/pkg/infrastructure/redis/provisionwatcher.go:219:54: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) [2023-03-22T08:32:21.039Z] internal/pkg/infrastructure/redis/provisionwatcher.go:221:116: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) [2023-03-22T08:32:21.039Z] internal/pkg/infrastructure/redis/provisionwatcher.go:221:116: too many errors [2023-03-22T08:32:23.567Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2023-03-22T08:32:23.567Z] ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] [2023-03-22T08:32:23.567Z] # github.com/edgexfoundry/edgex-go/internal/core/metadata/application [2023-03-22T08:32:23.567Z] internal/core/metadata/application/notify.go:116:21: pw.DiscoveredDevice undefined (type dtos.ProvisionWatcher has no field or method DiscoveredDevice) [2023-03-22T08:32:23.567Z] internal/core/metadata/application/provisionwatcher.go:41:96: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) [2023-03-22T08:32:23.567Z] internal/core/metadata/application/provisionwatcher.go:134:99: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) [2023-03-22T08:32:23.567Z] internal/core/metadata/application/provisionwatcher.go:150:9: dto.DiscoveredDevice undefined (type dtos.UpdateProvisionWatcher has no field or method DiscoveredDevice) [2023-03-22T08:32:23.567Z] internal/core/metadata/application/provisionwatcher.go:150:88: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) [2023-03-22T08:32:23.567Z] internal/core/metadata/application/provisionwatcher.go:151:23: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) [2023-03-22T08:32:23.567Z] internal/core/metadata/application/provisionwatcher.go:166:99: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) [2023-03-22T08:32:24.500Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2023-03-22T08:32:25.436Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2023-03-22T08:32:25.436Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2023-03-22T08:32:25.436Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-auth [no test files] [2023-03-22T08:32:25.695Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2023-03-22T08:32:25.695Z] ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] [2023-03-22T08:32:26.627Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2023-03-22T08:32:26.627Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2023-03-22T08:32:27.559Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2023-03-22T08:32:27.559Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2023-03-22T08:32:27.559Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.061s coverage: 28.7% of statements [2023-03-22T08:32:28.494Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.069s coverage: 98.5% of statements [2023-03-22T08:32:29.869Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] [2023-03-22T08:32:29.869Z] ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] [2023-03-22T08:32:30.802Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2023-03-22T08:32:30.802Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2023-03-22T08:32:32.176Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] [2023-03-22T08:32:32.176Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2023-03-22T08:32:32.176Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2023-03-22T08:32:32.176Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2023-03-22T08:32:32.176Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2023-03-22T08:32:32.176Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2023-03-22T08:32:32.435Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2023-03-22T08:32:32.435Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2023-03-22T08:32:32.435Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] [2023-03-22T08:32:32.692Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 3.088s coverage: 71.3% of statements [2023-03-22T08:32:32.692Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.078s coverage: 54.0% of statements [2023-03-22T08:32:32.692Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2023-03-22T08:32:32.692Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2023-03-22T08:32:32.692Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2023-03-22T08:32:32.692Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2023-03-22T08:32:34.067Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2023-03-22T08:32:34.067Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2023-03-22T08:32:34.067Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2023-03-22T08:32:34.067Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2023-03-22T08:32:34.325Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2023-03-22T08:32:34.900Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 2.839s coverage: 88.5% of statements [2023-03-22T08:32:34.900Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/application [build failed] [2023-03-22T08:32:34.900Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http [build failed] [2023-03-22T08:32:34.900Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.049s coverage: 72.2% of statements [2023-03-22T08:32:34.900Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.049s coverage: 65.9% of statements [2023-03-22T08:32:34.900Z] FAIL github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis [build failed] [2023-03-22T08:32:34.900Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.054s coverage: 29.0% of statements [2023-03-22T08:32:34.900Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.067s coverage: 45.5% of statements [2023-03-22T08:32:34.900Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.065s coverage: 82.9% of statements [2023-03-22T08:32:34.900Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.051s coverage: 94.1% of statements [2023-03-22T08:32:34.900Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.077s coverage: 96.3% of statements [2023-03-22T08:32:35.157Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.049s coverage: 87.5% of statements [2023-03-22T08:32:35.793Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2023-03-22T08:32:35.793Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2023-03-22T08:32:35.793Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2023-03-22T08:32:35.793Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2023-03-22T08:32:35.793Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2023-03-22T08:32:35.793Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] [2023-03-22T08:32:35.793Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] [2023-03-22T08:32:35.793Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] [2023-03-22T08:32:36.829Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2023-03-22T08:32:36.829Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2023-03-22T08:32:36.829Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2023-03-22T08:32:36.829Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2023-03-22T08:32:37.086Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2023-03-22T08:32:37.086Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2023-03-22T08:32:37.345Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2023-03-22T08:32:38.280Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] [2023-03-22T08:32:38.540Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2023-03-22T08:32:39.475Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2023-03-22T08:32:39.475Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2023-03-22T08:32:40.849Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth [no test files] [2023-03-22T08:32:40.849Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] [2023-03-22T08:32:40.849Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] [2023-03-22T08:32:42.227Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2023-03-22T08:32:42.227Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2023-03-22T08:32:42.486Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2023-03-22T08:32:43.421Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] [2023-03-22T08:32:43.421Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] [2023-03-22T08:32:43.421Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] [2023-03-22T08:32:45.335Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2023-03-22T08:32:45.335Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2023-03-22T08:32:45.335Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2023-03-22T08:32:45.335Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2023-03-22T08:32:46.280Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2023-03-22T08:32:46.280Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2023-03-22T08:32:46.280Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2023-03-22T08:32:47.214Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2023-03-22T08:32:47.214Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2023-03-22T08:32:47.214Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.056s coverage: 94.4% of statements [2023-03-22T08:32:48.150Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2023-03-22T08:32:48.150Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2023-03-22T08:33:00.359Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 23.297s coverage: 79.9% of statements [2023-03-22T08:33:00.360Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 23.067s coverage: 92.9% of statements [2023-03-22T08:33:00.360Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.026s coverage: 64.4% of statements [2023-03-22T08:33:00.360Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.051s coverage: 86.9% of statements [2023-03-22T08:33:00.360Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.062s coverage: 87.2% of statements [2023-03-22T08:33:00.360Z] ok github.com/edgexfoundry/edgex-go/internal/security/common 0.050s coverage: 20.0% of statements [2023-03-22T08:33:00.360Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.047s coverage: 100.0% of statements [2023-03-22T08:33:00.360Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.100s coverage: 81.2% of statements [2023-03-22T08:33:00.360Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.082s coverage: 82.1% of statements [2023-03-22T08:33:00.360Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.056s coverage: 86.0% of statements [2023-03-22T08:33:00.360Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.171s coverage: 63.1% of statements [2023-03-22T08:33:00.360Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.046s coverage: 100.0% of statements [2023-03-22T08:33:00.360Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.033s coverage: 89.4% of statements [2023-03-22T08:33:00.360Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.023s coverage: 100.0% of statements [2023-03-22T08:33:00.360Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.030s coverage: 73.7% of statements [2023-03-22T08:33:00.360Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.028s coverage: 100.0% of statements [2023-03-22T08:33:00.360Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.167s coverage: 38.4% of statements [2023-03-22T08:33:00.360Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.059s coverage: 89.5% of statements [2023-03-22T08:33:00.360Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.046s coverage: 84.8% of statements [2023-03-22T08:33:00.360Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.077s coverage: 17.7% of statements [2023-03-22T08:33:00.360Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.126s coverage: 92.3% of statements [2023-03-22T08:33:00.360Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.057s coverage: 61.5% of statements [2023-03-22T08:33:00.360Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.090s coverage: 97.7% of statements [2023-03-22T08:33:00.360Z] FAIL [2023-03-22T08:33:00.360Z] make: *** [Makefile:148: unittest] Error 1 [Pipeline] } [2023-03-22T08:33:00.398Z] $ docker stop --time=1 b507d569e0009063346239a5edf315c62fdf5d7743b756b23a11aed0becc7f4e [2023-03-22T08:33:02.546Z] $ docker rm -f --volumes b507d569e0009063346239a5edf315c62fdf5d7743b756b23a11aed0becc7f4e [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-03-22T08:33:03.624Z] Failed in branch amd64 [2023-03-22T08:34:27.115Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5161 in /w/workspace/edgexfoundry_edgex-go_PR-4471 [Pipeline] { [Pipeline] ws [2023-03-22T08:34:27.171Z] Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout [2023-03-22T08:34:27.243Z] The recommended git tool is: git [2023-03-22T08:34:33.375Z] using credential edgex-jenkins-ssh [2023-03-22T08:34:33.399Z] Cloning the remote Git repository [2023-03-22T08:34:33.462Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2023-03-22T08:34:33.573Z] > git init /w/workspace/edgex-go/1 # timeout=10 [2023-03-22T08:34:33.755Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2023-03-22T08:34:33.757Z] > git --version # timeout=10 [2023-03-22T08:34:33.786Z] > git --version # 'git version 2.25.1' [2023-03-22T08:34:33.789Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T08:34:33.975Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-22T08:34:53.236Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2023-03-22T08:34:53.261Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-22T08:34:55.329Z] Merging remotes/origin/main commit b2859d90283392a0de244e81d63275e3b01924cf into PR head commit 561ffe60b20582d0b8438f99567fb302129053fd [2023-03-22T08:34:55.831Z] Merge succeeded, producing 561ffe60b20582d0b8438f99567fb302129053fd [2023-03-22T08:34:55.832Z] Checking out Revision 561ffe60b20582d0b8438f99567fb302129053fd (PR-4471) [2023-03-22T08:34:54.339Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2023-03-22T08:34:54.396Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2023-03-22T08:34:54.397Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T08:34:54.415Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4471/head:refs/remotes/origin/PR-4471 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-22T08:34:55.353Z] > git config core.sparsecheckout # timeout=10 [2023-03-22T08:34:55.445Z] > git checkout -f 561ffe60b20582d0b8438f99567fb302129053fd # timeout=10 [2023-03-22T08:34:55.703Z] > git remote # timeout=10 [2023-03-22T08:34:55.727Z] > git config --get remote.origin.url # timeout=10 [2023-03-22T08:34:55.759Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T08:34:55.775Z] > git merge b2859d90283392a0de244e81d63275e3b01924cf # timeout=10 [2023-03-22T08:34:55.806Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-22T08:34:55.842Z] > git config core.sparsecheckout # timeout=10 [2023-03-22T08:34:55.860Z] > git checkout -f 561ffe60b20582d0b8438f99567fb302129053fd # timeout=10 [2023-03-22T08:34:59.632Z] Commit message: "feat!: Apply provision watcher model changes" [2023-03-22T08:34:59.698Z] > git --version # timeout=10 [2023-03-22T08:34:59.712Z] > git --version # 'git version 2.25.1' [2023-03-22T08:34:59.731Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T08:35:00.829Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-22T08:35:00.829Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-22T08:35:00.829Z] Dload Upload Total Spent Left Speed [2023-03-22T08:35:00.829Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 188k [Pipeline] sh [2023-03-22T08:35:01.569Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-22T08:35:01.945Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-22T08:35:01.945Z] + sudo tee /etc/docker/daemon.new [2023-03-22T08:35:01.945Z] { [2023-03-22T08:35:01.945Z] "registry-mirrors": [ [2023-03-22T08:35:01.945Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-22T08:35:01.945Z] ], [2023-03-22T08:35:01.945Z] "bip": "10.250.0.254/24", [2023-03-22T08:35:01.945Z] "hosts": [ [2023-03-22T08:35:01.945Z] "tcp://0.0.0.0:5555", [2023-03-22T08:35:01.945Z] "unix:///var/run/docker.sock" [2023-03-22T08:35:01.945Z] ], [2023-03-22T08:35:01.945Z] "mtu": 1458, [2023-03-22T08:35:01.945Z] "selinux-enabled": true, [2023-03-22T08:35:01.945Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-22T08:35:01.945Z] } [Pipeline] sh [2023-03-22T08:35:02.325Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-22T08:35:02.689Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T08:35:21.079Z] provisioning config files... [2023-03-22T08:35:21.110Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config8224879167418238682tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T08:35:21.509Z] ---> docker-login.sh [2023-03-22T08:35:21.509Z] nexus3.edgexfoundry.org:10001 [2023-03-22T08:35:22.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T08:35:22.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T08:35:22.098Z] Configure a credential helper to remove this warning. See [2023-03-22T08:35:22.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T08:35:22.098Z] [2023-03-22T08:35:22.098Z] Login Succeeded [2023-03-22T08:35:22.098Z] nexus3.edgexfoundry.org:10002 [2023-03-22T08:35:22.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T08:35:22.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T08:35:22.638Z] Configure a credential helper to remove this warning. See [2023-03-22T08:35:22.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T08:35:22.638Z] [2023-03-22T08:35:22.638Z] Login Succeeded [2023-03-22T08:35:22.638Z] nexus3.edgexfoundry.org:10003 [2023-03-22T08:35:22.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T08:35:22.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T08:35:22.908Z] Configure a credential helper to remove this warning. See [2023-03-22T08:35:22.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T08:35:22.908Z] [2023-03-22T08:35:22.908Z] Login Succeeded [2023-03-22T08:35:22.908Z] nexus3.edgexfoundry.org:10004 [2023-03-22T08:35:23.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T08:35:23.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T08:35:23.181Z] Configure a credential helper to remove this warning. See [2023-03-22T08:35:23.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T08:35:23.181Z] [2023-03-22T08:35:23.181Z] Login Succeeded [2023-03-22T08:35:23.181Z] docker.io [2023-03-22T08:35:23.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T08:35:23.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T08:35:23.720Z] Configure a credential helper to remove this warning. See [2023-03-22T08:35:23.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T08:35:23.720Z] [2023-03-22T08:35:23.720Z] Login Succeeded [2023-03-22T08:35:23.720Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T08:35:23.746Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh [2023-03-22T08:35:24.469Z] + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo [2023-03-22T08:35:24.504Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T08:35:24.540Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T08:35:24.572Z] ========================================================= [2023-03-22T08:35:24.572Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-22T08:35:24.572Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2023-03-22T08:35:24.950Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-22T08:35:25.228Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-22T08:35:25.228Z] af6eaf76a39c: Pulling fs layer [2023-03-22T08:35:25.228Z] 55522c791124: Pulling fs layer [2023-03-22T08:35:25.228Z] ce5c4a1c91eb: Pulling fs layer [2023-03-22T08:35:25.228Z] 169dfbe0d373: Pulling fs layer [2023-03-22T08:35:25.228Z] e1ff8fa3b103: Pulling fs layer [2023-03-22T08:35:25.228Z] 52ebb69f0ebf: Pulling fs layer [2023-03-22T08:35:25.228Z] 5abe8eddf0d5: Pulling fs layer [2023-03-22T08:35:25.228Z] 52ebb69f0ebf: Waiting [2023-03-22T08:35:25.228Z] 5abe8eddf0d5: Waiting [2023-03-22T08:35:25.228Z] 169dfbe0d373: Waiting [2023-03-22T08:35:25.228Z] e1ff8fa3b103: Waiting [2023-03-22T08:35:25.228Z] 55522c791124: Verifying Checksum [2023-03-22T08:35:25.228Z] 55522c791124: Download complete [2023-03-22T08:35:25.228Z] 169dfbe0d373: Verifying Checksum [2023-03-22T08:35:25.228Z] 169dfbe0d373: Download complete [2023-03-22T08:35:25.228Z] af6eaf76a39c: Verifying Checksum [2023-03-22T08:35:25.228Z] af6eaf76a39c: Download complete [2023-03-22T08:35:25.228Z] e1ff8fa3b103: Verifying Checksum [2023-03-22T08:35:25.228Z] e1ff8fa3b103: Download complete [2023-03-22T08:35:26.216Z] af6eaf76a39c: Pull complete [2023-03-22T08:35:26.216Z] 5abe8eddf0d5: Verifying Checksum [2023-03-22T08:35:26.216Z] 5abe8eddf0d5: Download complete [2023-03-22T08:35:26.811Z] 55522c791124: Pull complete [2023-03-22T08:35:27.802Z] ce5c4a1c91eb: Verifying Checksum [2023-03-22T08:35:27.802Z] ce5c4a1c91eb: Download complete [2023-03-22T08:35:27.802Z] 52ebb69f0ebf: Verifying Checksum [2023-03-22T08:35:27.802Z] 52ebb69f0ebf: Download complete [2023-03-22T08:35:40.160Z] ce5c4a1c91eb: Pull complete [2023-03-22T08:35:40.160Z] 169dfbe0d373: Pull complete [2023-03-22T08:35:40.160Z] e1ff8fa3b103: Pull complete [2023-03-22T08:35:46.849Z] 52ebb69f0ebf: Pull complete [2023-03-22T08:35:48.807Z] 5abe8eddf0d5: Pull complete [2023-03-22T08:35:48.807Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-22T08:35:48.807Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-22T08:35:48.807Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] fileExists [Pipeline] sh [2023-03-22T08:35:49.202Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-22T08:35:49.202Z] WORKDIR /edgex [2023-03-22T08:35:49.202Z] COPY go.mod . [2023-03-22T08:35:49.202Z] RUN go mod download [2023-03-22T08:35:49.202Z] + docker build -t ci-base-image-arm64 -f - . [2023-03-22T08:35:49.788Z] Sending build context to Docker daemon 2.934MB [2023-03-22T08:35:49.788Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-22T08:35:49.788Z] ---> 6cb57ee374ae [2023-03-22T08:35:49.788Z] Step 2/4 : WORKDIR /edgex [2023-03-22T08:35:51.746Z] ---> Running in 9dd891839766 [2023-03-22T08:35:52.016Z] Removing intermediate container 9dd891839766 [2023-03-22T08:35:52.016Z] ---> d3ad26ff1ac8 [2023-03-22T08:35:52.287Z] Step 3/4 : COPY go.mod . [2023-03-22T08:35:52.884Z] ---> 6ab584428795 [2023-03-22T08:35:52.884Z] Step 4/4 : RUN go mod download [2023-03-22T08:35:52.884Z] ---> Running in bdbb2808d788 [2023-03-22T08:36:25.137Z] Removing intermediate container bdbb2808d788 [2023-03-22T08:36:25.137Z] ---> 9c790945d4df [2023-03-22T08:36:25.137Z] Successfully built 9c790945d4df [2023-03-22T08:36:25.137Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T08:36:25.568Z] + docker inspect -f . ci-base-image-arm64 [2023-03-22T08:36:25.568Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T08:36:25.950Z] prd-ubuntu20.04-docker-arm64-4c-16g-5161 does not seem to be running inside a container [2023-03-22T08:36:26.029Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 ******** ci-base-image-arm64 cat [2023-03-22T08:36:27.369Z] $ docker top cb2b3e709cf54ee86a2c834de485b07f2cac6ff957e4fa8bf675772e195b58cf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T08:36:28.274Z] + go version [2023-03-22T08:36:28.274Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-22T08:36:28.310Z] $ docker stop --time=1 cb2b3e709cf54ee86a2c834de485b07f2cac6ff957e4fa8bf675772e195b58cf [2023-03-22T08:36:29.987Z] $ docker rm -f --volumes cb2b3e709cf54ee86a2c834de485b07f2cac6ff957e4fa8bf675772e195b58cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T08:36:30.874Z] + docker inspect -f . ci-base-image-arm64 [2023-03-22T08:36:30.874Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T08:36:31.151Z] prd-ubuntu20.04-docker-arm64-4c-16g-5161 does not seem to be running inside a container [2023-03-22T08:36:31.237Z] $ 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/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 ******** ci-base-image-arm64 cat [2023-03-22T08:36:32.548Z] $ docker top 06c8fa8d2666886ddc6d67f3619fa80c6ebbf81c642fc0749c0a4155b56a073b -eo pid,comm [Pipeline] { [Pipeline] echo [2023-03-22T08:36:32.804Z] ========================================================= [2023-03-22T08:36:32.804Z] [edgeXBuildGoParallel] Running Tests and Build... [2023-03-22T08:36:32.804Z] ========================================================= [Pipeline] sh [2023-03-22T08:36:33.460Z] + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-22T08:36:34.165Z] + make test [2023-03-22T08:36:34.165Z] go test -race -coverprofile=coverage.out ./... [2023-03-22T08:37:31.138Z] ? github.com/edgexfoundry/edgex-go [no test files] [2023-03-22T08:39:53.240Z] # github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis [2023-03-22T08:39:53.240Z] internal/pkg/infrastructure/redis/provisionwatcher.go:42:74: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) [2023-03-22T08:39:53.240Z] internal/pkg/infrastructure/redis/provisionwatcher.go:43:74: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) [2023-03-22T08:39:53.240Z] internal/pkg/infrastructure/redis/provisionwatcher.go:69:53: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) [2023-03-22T08:39:53.240Z] internal/pkg/infrastructure/redis/provisionwatcher.go:73:140: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) [2023-03-22T08:39:53.240Z] internal/pkg/infrastructure/redis/provisionwatcher.go:75:54: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) [2023-03-22T08:39:53.240Z] internal/pkg/infrastructure/redis/provisionwatcher.go:79:140: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) [2023-03-22T08:39:53.240Z] internal/pkg/infrastructure/redis/provisionwatcher.go:198:74: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) [2023-03-22T08:39:53.240Z] internal/pkg/infrastructure/redis/provisionwatcher.go:199:74: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) [2023-03-22T08:39:53.240Z] internal/pkg/infrastructure/redis/provisionwatcher.go:219:54: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) [2023-03-22T08:39:53.240Z] internal/pkg/infrastructure/redis/provisionwatcher.go:221:116: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) [2023-03-22T08:39:53.240Z] internal/pkg/infrastructure/redis/provisionwatcher.go:221:116: too many errors [2023-03-22T08:39:53.240Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2023-03-22T08:39:53.240Z] ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] [2023-03-22T08:39:53.240Z] # github.com/edgexfoundry/edgex-go/internal/core/metadata/application [2023-03-22T08:39:53.240Z] internal/core/metadata/application/notify.go:116:21: pw.DiscoveredDevice undefined (type dtos.ProvisionWatcher has no field or method DiscoveredDevice) [2023-03-22T08:39:53.240Z] internal/core/metadata/application/provisionwatcher.go:41:96: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) [2023-03-22T08:39:53.240Z] internal/core/metadata/application/provisionwatcher.go:134:99: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) [2023-03-22T08:39:53.240Z] internal/core/metadata/application/provisionwatcher.go:150:9: dto.DiscoveredDevice undefined (type dtos.UpdateProvisionWatcher has no field or method DiscoveredDevice) [2023-03-22T08:39:53.240Z] internal/core/metadata/application/provisionwatcher.go:150:88: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) [2023-03-22T08:39:53.240Z] internal/core/metadata/application/provisionwatcher.go:151:23: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) [2023-03-22T08:39:53.240Z] internal/core/metadata/application/provisionwatcher.go:166:99: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) [2023-03-22T08:39:53.240Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2023-03-22T08:39:53.240Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2023-03-22T08:39:53.240Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2023-03-22T08:39:53.240Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-auth [no test files] [2023-03-22T08:39:53.240Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2023-03-22T08:39:53.240Z] ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] [2023-03-22T08:39:55.204Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2023-03-22T08:39:55.204Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2023-03-22T08:40:10.224Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2023-03-22T08:40:10.224Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2023-03-22T08:40:10.224Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.292s coverage: 28.7% of statements [2023-03-22T08:40:22.550Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.335s coverage: 98.5% of statements [2023-03-22T08:40:26.807Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] [2023-03-22T08:40:26.807Z] ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] [2023-03-22T08:40:30.163Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 3.489s coverage: 71.3% of statements [2023-03-22T08:40:34.430Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2023-03-22T08:40:34.430Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2023-03-22T08:40:34.430Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.403s coverage: 54.0% of statements [2023-03-22T08:40:39.790Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] [2023-03-22T08:40:39.790Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2023-03-22T08:40:39.790Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2023-03-22T08:40:39.790Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2023-03-22T08:40:39.790Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2023-03-22T08:40:39.790Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2023-03-22T08:40:41.235Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2023-03-22T08:40:41.235Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2023-03-22T08:40:41.235Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] [2023-03-22T08:40:44.590Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2023-03-22T08:40:44.590Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2023-03-22T08:40:44.590Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2023-03-22T08:40:44.590Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2023-03-22T08:40:52.838Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2023-03-22T08:40:52.838Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2023-03-22T08:40:52.838Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2023-03-22T08:40:52.838Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2023-03-22T08:40:56.217Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2023-03-22T08:41:00.526Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 21.010s coverage: 88.5% of statements [2023-03-22T08:41:00.526Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/application [build failed] [2023-03-22T08:41:00.526Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http [build failed] [2023-03-22T08:41:00.526Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.447s coverage: 72.2% of statements [2023-03-22T08:41:00.526Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.398s coverage: 65.9% of statements [2023-03-22T08:41:00.526Z] FAIL github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis [build failed] [2023-03-22T08:41:00.526Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.362s coverage: 29.0% of statements [2023-03-22T08:41:00.526Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.358s coverage: 45.5% of statements [2023-03-22T08:41:00.526Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.281s coverage: 82.9% of statements [2023-03-22T08:41:00.526Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.260s coverage: 94.1% of statements [2023-03-22T08:41:03.124Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.267s coverage: 96.3% of statements [2023-03-22T08:41:05.090Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.232s coverage: 87.5% of statements [2023-03-22T08:41:08.451Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2023-03-22T08:41:08.451Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2023-03-22T08:41:08.451Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2023-03-22T08:41:08.451Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2023-03-22T08:41:11.049Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2023-03-22T08:41:11.049Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] [2023-03-22T08:41:11.049Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] [2023-03-22T08:41:11.049Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] [2023-03-22T08:41:17.719Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.249s coverage: 94.4% of statements [2023-03-22T08:41:17.719Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2023-03-22T08:41:17.719Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2023-03-22T08:41:17.719Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2023-03-22T08:41:17.719Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2023-03-22T08:41:24.395Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2023-03-22T08:41:24.395Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2023-03-22T08:41:26.351Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2023-03-22T08:41:33.002Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 24.347s coverage: 79.9% of statements [2023-03-22T08:41:33.002Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.279s coverage: 92.9% of statements [2023-03-22T08:41:33.002Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.082s coverage: 64.4% of statements [2023-03-22T08:41:33.002Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.269s coverage: 86.9% of statements [2023-03-22T08:41:33.002Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.235s coverage: 87.2% of statements [2023-03-22T08:41:33.002Z] ok github.com/edgexfoundry/edgex-go/internal/security/common 0.196s coverage: 20.0% of statements [2023-03-22T08:41:33.002Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.208s coverage: 100.0% of statements [2023-03-22T08:41:33.002Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.540s coverage: 81.2% of statements [2023-03-22T08:41:34.955Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] [2023-03-22T08:41:34.955Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2023-03-22T08:41:35.538Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.555s coverage: 82.1% of statements [2023-03-22T08:41:35.538Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.321s coverage: 86.0% of statements [2023-03-22T08:41:42.194Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2023-03-22T08:41:42.194Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2023-03-22T08:41:43.601Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.196s coverage: 63.1% of statements [2023-03-22T08:41:43.601Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.258s coverage: 100.0% of statements [2023-03-22T08:41:45.011Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.122s coverage: 89.4% of statements [2023-03-22T08:41:45.011Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.082s coverage: 100.0% of statements [2023-03-22T08:41:45.011Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.088s coverage: 73.7% of statements [2023-03-22T08:41:45.602Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth [no test files] [2023-03-22T08:41:45.602Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] [2023-03-22T08:41:45.602Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] [2023-03-22T08:41:45.871Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.081s coverage: 100.0% of statements [2023-03-22T08:41:55.208Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2023-03-22T08:41:55.208Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2023-03-22T08:41:55.208Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2023-03-22T08:41:55.478Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 1.134s coverage: 38.4% of statements [2023-03-22T08:41:55.478Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.295s coverage: 89.5% of statements [2023-03-22T08:42:02.142Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] [2023-03-22T08:42:02.142Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] [2023-03-22T08:42:02.142Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] [2023-03-22T08:42:02.142Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.284s coverage: 84.8% of statements [2023-03-22T08:42:08.806Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2023-03-22T08:42:08.806Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2023-03-22T08:42:08.806Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2023-03-22T08:42:08.806Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2023-03-22T08:42:15.471Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.318s coverage: 17.7% of statements [2023-03-22T08:42:16.891Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2023-03-22T08:42:16.891Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2023-03-22T08:42:16.891Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2023-03-22T08:42:17.857Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.714s coverage: 92.3% of statements [2023-03-22T08:42:23.228Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2023-03-22T08:42:23.228Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2023-03-22T08:42:23.229Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.338s coverage: 61.5% of statements [2023-03-22T08:42:25.820Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2023-03-22T08:42:25.820Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2023-03-22T08:42:26.408Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.490s coverage: 97.7% of statements [2023-03-22T08:42:26.408Z] FAIL [2023-03-22T08:42:27.373Z] make: *** [Makefile:148: unittest] Error 1 [Pipeline] } [2023-03-22T08:42:27.415Z] $ docker stop --time=1 06c8fa8d2666886ddc6d67f3619fa80c6ebbf81c642fc0749c0a4155b56a073b [2023-03-22T08:42:29.369Z] $ docker rm -f --volumes 06c8fa8d2666886ddc6d67f3619fa80c6ebbf81c642fc0749c0a4155b56a073b [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-03-22T08:42:31.383Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T08:42:31.383Z] [2023-03-22T08:42:31.383Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T08:42:31.787Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T08:42:32.060Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-22T08:42:32.060Z] 8998bd30e6a1: Pulling fs layer [2023-03-22T08:42:32.060Z] 04944245beec: Pulling fs layer [2023-03-22T08:42:32.060Z] 699f458cf7ca: Pulling fs layer [2023-03-22T08:42:32.060Z] 765212b225bb: Pulling fs layer [2023-03-22T08:42:32.060Z] f23df028b6ca: Pulling fs layer [2023-03-22T08:42:32.060Z] d65c8cfc05b1: Pulling fs layer [2023-03-22T08:42:32.060Z] 2437ff75d9bd: Pulling fs layer [2023-03-22T08:42:32.060Z] 765212b225bb: Waiting [2023-03-22T08:42:32.060Z] f23df028b6ca: Waiting [2023-03-22T08:42:32.060Z] d65c8cfc05b1: Waiting [2023-03-22T08:42:32.060Z] 2437ff75d9bd: Waiting [2023-03-22T08:42:32.060Z] 04944245beec: Verifying Checksum [2023-03-22T08:42:32.060Z] 04944245beec: Download complete [2023-03-22T08:42:32.060Z] 765212b225bb: Verifying Checksum [2023-03-22T08:42:32.060Z] 765212b225bb: Download complete [2023-03-22T08:42:32.060Z] f23df028b6ca: Verifying Checksum [2023-03-22T08:42:32.060Z] f23df028b6ca: Download complete [2023-03-22T08:42:32.060Z] d65c8cfc05b1: Download complete [2023-03-22T08:42:32.332Z] 699f458cf7ca: Verifying Checksum [2023-03-22T08:42:32.332Z] 699f458cf7ca: Download complete [2023-03-22T08:42:32.605Z] 8998bd30e6a1: Verifying Checksum [2023-03-22T08:42:32.605Z] 8998bd30e6a1: Download complete [2023-03-22T08:42:35.201Z] 2437ff75d9bd: Verifying Checksum [2023-03-22T08:42:35.201Z] 2437ff75d9bd: Download complete [2023-03-22T08:42:37.151Z] 8998bd30e6a1: Pull complete [2023-03-22T08:42:37.420Z] 04944245beec: Pull complete [2023-03-22T08:42:38.833Z] 699f458cf7ca: Pull complete [2023-03-22T08:42:39.104Z] 765212b225bb: Pull complete [2023-03-22T08:42:39.692Z] f23df028b6ca: Pull complete [2023-03-22T08:42:39.961Z] d65c8cfc05b1: Pull complete [2023-03-22T08:42:54.983Z] 2437ff75d9bd: Pull complete [2023-03-22T08:42:54.983Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-22T08:42:54.983Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T08:42:54.983Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T08:42:55.330Z] prd-ubuntu20.04-docker-arm64-4c-16g-5161 does not seem to be running inside a container [2023-03-22T08:42:55.399Z] $ 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/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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-lftools-log-publisher:arm64 cat [2023-03-22T08:42:58.318Z] $ docker top 380198ac4ccb0fd52efc2edb86ee14ca1992668d07082a68b8891d2d8593777e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T08:42:59.324Z] ---> job-cost.sh [2023-03-22T08:42:59.324Z] lf-activate-venv: SKIPPING [2023-03-22T08:42:59.324Z] INFO: No Stack... [2023-03-22T08:42:59.924Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-22T08:43:00.901Z] INFO: Archiving Costs [Pipeline] sh [2023-03-22T08:43:01.592Z] + cat /w/workspace/edgex-go/1/archives/cost.csv [2023-03-22T08:43:01.592Z] + cut -d, -f6 [Pipeline] lock [2023-03-22T08:43:01.652Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4471-1-stack-cost] [2023-03-22T08:43:01.657Z] Resource [jenkins-edgexfoundry-edgex-go-PR-4471-1-stack-cost] did not exist. Created. [2023-03-22T08:43:01.657Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4471-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-22T08:43:02.402Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-22T08:43:03.129Z] Stashed 1 file(s) [Pipeline] } [2023-03-22T08:43:03.145Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4471-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-22T08:43:03.221Z] $ docker stop --time=1 380198ac4ccb0fd52efc2edb86ee14ca1992668d07082a68b8891d2d8593777e [2023-03-22T08:43:04.732Z] $ docker rm -f --volumes 380198ac4ccb0fd52efc2edb86ee14ca1992668d07082a68b8891d2d8593777e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-22T08:43:05.435Z] 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-03-22T08:43:07.286Z] + [ -d /w/workspace/edgex-go/1/archives ] [Pipeline] libraryResource [Pipeline] sh [2023-03-22T08:43:07.701Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T08:43:08.591Z] ---> package-listing.sh [2023-03-22T08:43:08.591Z] ++ facter osfamily [2023-03-22T08:43:08.591Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-22T08:43:08.851Z] + OS_FAMILY=debian [2023-03-22T08:43:08.851Z] + workspace=/w/workspace/edgex-go/1 [2023-03-22T08:43:08.851Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-22T08:43:08.851Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-22T08:43:08.851Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-22T08:43:08.851Z] + PACKAGES=/tmp/packages_start.txt [2023-03-22T08:43:08.851Z] + '[' /w/workspace/edgex-go/1 ']' [2023-03-22T08:43:08.851Z] + PACKAGES=/tmp/packages_end.txt [2023-03-22T08:43:08.851Z] + case "${OS_FAMILY}" in [2023-03-22T08:43:08.851Z] + dpkg -l [2023-03-22T08:43:08.851Z] + grep '^ii' [2023-03-22T08:43:08.851Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-22T08:43:08.851Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-22T08:43:08.851Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-22T08:43:08.851Z] + '[' /w/workspace/edgex-go/1 ']' [2023-03-22T08:43:08.851Z] + mkdir -p /w/workspace/edgex-go/1/archives/ [2023-03-22T08:43:08.851Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo [2023-03-22T08:43:08.887Z] 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/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-22T08:43:09.176Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T08:43:09.792Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T08:43:09.792Z] [2023-03-22T08:43:09.792Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T08:43:10.162Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T08:43:10.162Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-22T08:43:10.162Z] 5eb5b503b376: Pulling fs layer [2023-03-22T08:43:10.162Z] 5c69ac0246d0: Pulling fs layer [2023-03-22T08:43:10.162Z] ec43610c2a17: Pulling fs layer [2023-03-22T08:43:10.162Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-22T08:43:10.162Z] 33b1e0a273af: Pulling fs layer [2023-03-22T08:43:10.162Z] 5d3b04190fa2: Pulling fs layer [2023-03-22T08:43:10.162Z] 2f39f015ded8: Pulling fs layer [2023-03-22T08:43:10.162Z] 3a2ae6a8a46f: Waiting [2023-03-22T08:43:10.162Z] 33b1e0a273af: Waiting [2023-03-22T08:43:10.162Z] 5d3b04190fa2: Waiting [2023-03-22T08:43:10.162Z] 2f39f015ded8: Waiting [2023-03-22T08:43:10.162Z] 5c69ac0246d0: Download complete [2023-03-22T08:43:10.162Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-22T08:43:10.162Z] 3a2ae6a8a46f: Download complete [2023-03-22T08:43:10.423Z] ec43610c2a17: Verifying Checksum [2023-03-22T08:43:10.423Z] ec43610c2a17: Download complete [2023-03-22T08:43:10.424Z] 33b1e0a273af: Verifying Checksum [2023-03-22T08:43:10.424Z] 33b1e0a273af: Download complete [2023-03-22T08:43:10.424Z] 5d3b04190fa2: Download complete [2023-03-22T08:43:10.424Z] 5eb5b503b376: Download complete [2023-03-22T08:43:10.991Z] 2f39f015ded8: Download complete [2023-03-22T08:43:11.556Z] 5eb5b503b376: Pull complete [2023-03-22T08:43:11.814Z] 5c69ac0246d0: Pull complete [2023-03-22T08:43:12.073Z] ec43610c2a17: Pull complete [2023-03-22T08:43:12.073Z] 3a2ae6a8a46f: Pull complete [2023-03-22T08:43:12.331Z] 33b1e0a273af: Pull complete [2023-03-22T08:43:12.331Z] 5d3b04190fa2: Pull complete [2023-03-22T08:43:16.513Z] 2f39f015ded8: Pull complete [2023-03-22T08:43:16.513Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-22T08:43:16.513Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T08:43:16.513Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T08:43:16.702Z] prd-ubuntu20.04-docker-8c-8g-5155 does not seem to be running inside a container [2023-03-22T08:43:16.726Z] $ 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/1/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/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-22T08:43:22.299Z] $ docker top b26ef39086fd43674f0be53f84522b5ce111df749a0e887bc74794404890141b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T08:43:22.693Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-22T08:43:23.001Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-22T08:43:23.309Z] + ls /var/log/sa-host [2023-03-22T08:43:23.309Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T08:43:23.429Z] provisioning config files... [2023-03-22T08:43:23.437Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config7432689685653521002tmp [Pipeline] { [Pipeline] echo [2023-03-22T08:43:23.486Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T08:43:23.794Z] ---> create-netrc.sh [Pipeline] } [2023-03-22T08:43:23.819Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-22T08:43:24.199Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-22T08:43:24.232Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T08:43:24.543Z] ---> sudo-logs.sh [2023-03-22T08:43:24.543Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-22T08:43:24.616Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T08:43:24.925Z] ---> job-cost.sh [2023-03-22T08:43:24.925Z] lf-activate-venv: SKIPPING [2023-03-22T08:43:24.925Z] DEBUG: total: 0.10999999940395355 [2023-03-22T08:43:24.925Z] INFO: Retrieving Stack Cost... [2023-03-22T08:43:25.185Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-22T08:43:25.753Z] INFO: Archiving Costs [Pipeline] echo [2023-03-22T08:43:25.790Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T08:43:26.105Z] ---> logs-deploy.sh [2023-03-22T08:43:26.106Z] lf-activate-venv: SKIPPING [2023-03-22T08:43:26.106Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4471/1 [2023-03-22T08:43:26.106Z] INFO: archiving workspace using pattern(s): [2023-03-22T08:43:27.039Z] Archives upload complete. [2023-03-22T08:43:27.039Z] INFO: archiving logs to Nexus