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 08:30:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:30:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:30:57 ========================================================= 08:30:57 EdgeX Global Pipelines Version Info 08:30:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:30:58 ------------------- 08:30:58 stable info: 08:30:58 ------------------- 08:30:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:30:58 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 08:30:58 Message: update stable to v1.0.245 08:30:58 ------------------- 08:30:58 experimental info: 08:30:58 ------------------- 08:30:58 Commited By: **** collab-it+edgex@linuxfoundation.org 08:30:58 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 08:30:58 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:30:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 08:30:58 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 08:30:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:30:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:30:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:30:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 08:30:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:30:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 08:30:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 08:30:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 08:30:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:30:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:30:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:30:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:30:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:30:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:30:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:30:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:30:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:30:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 08:30:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:30:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:30:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:30:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4471 [Pipeline] echo 08:30:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4471 [Pipeline] echo 08:30:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4471 [Pipeline] echo 08:30:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 561ffe60b20582d0b8438f99567fb302129053fd [Pipeline] echo 08:30:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 561ffe6 [Pipeline] echo 08:30:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:31:00 provisioning config files... 08:31:00 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config3224557991892911188tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:31:00 ---> docker-login.sh 08:31:00 nexus3.edgexfoundry.org:10001 08:31:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:00 Configure a credential helper to remove this warning. See 08:31:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:00 08:31:00 Login Succeeded 08:31:00 nexus3.edgexfoundry.org:10002 08:31:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:01 Configure a credential helper to remove this warning. See 08:31:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:01 08:31:01 Login Succeeded 08:31:01 nexus3.edgexfoundry.org:10003 08:31:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:01 Configure a credential helper to remove this warning. See 08:31:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:01 08:31:01 Login Succeeded 08:31:01 nexus3.edgexfoundry.org:10004 08:31:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:01 Configure a credential helper to remove this warning. See 08:31:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:01 08:31:01 Login Succeeded 08:31:01 docker.io 08:31:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:01 Configure a credential helper to remove this warning. See 08:31:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:01 08:31:01 Login Succeeded 08:31:01 ---> docker-login.sh ends [Pipeline] } 08:31:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:31:02 + 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 08:31:02 + cut -d/ -f2 08:31:02 + dirname cmd/core-command/Dockerfile 08:31:02 + echo core-command,cmd/core-command/Dockerfile 08:31:02 + + cut -d/dirname -f2 cmd/core-common-config-bootstrapper/Dockerfile 08:31:02 08:31:02 + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile 08:31:02 + + cutdirname -d/ cmd/core-data/Dockerfile -f2 08:31:02 08:31:02 + echo core-data,cmd/core-data/Dockerfile 08:31:02 + dirname cmd/core-metadata/Dockerfile 08:31:02 + cut -d/ -f2 08:31:02 + echo core-metadata,cmd/core-metadata/Dockerfile 08:31:02 + dirname cmd/security-bootstrapper/Dockerfile 08:31:02 + cut -d/ -f2 08:31:02 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 08:31:02 + + dirname cmd/security-proxy-auth/Dockerfilecut 08:31:02 -d/ -f2 08:31:02 + echo security-proxy-auth,cmd/security-proxy-auth/Dockerfile 08:31:02 + dirname cmd/security-proxy-setup/Dockerfile+ 08:31:02 cut -d/ -f2 08:31:02 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 08:31:02 + dirname cmd/security-secretstore-setup/Dockerfile 08:31:02 + cut -d/ -f2 08:31:02 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 08:31:02 + dirname+ cmd/security-spiffe-token-provider/Dockerfile 08:31:02 cut -d/ -f2 08:31:02 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 08:31:02 + + cut -d/dirname -f2 cmd/security-spire-agent/Dockerfile 08:31:02 08:31:02 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 08:31:02 + + dirname cmd/security-spire-config/Dockerfile 08:31:02 cut -d/ -f2 08:31:02 + echo security-spire-config,cmd/security-spire-config/Dockerfile 08:31:02 + dirname cmd/security-spire-server/Dockerfile 08:31:02 + cut -d/ -f2 08:31:02 + echo security-spire-server,cmd/security-spire-server/Dockerfile 08:31:02 + dirname cmd/support-notifications/Dockerfile 08:31:02 + cut -d/ -f2 08:31:02 + echo support-notifications,cmd/support-notifications/Dockerfile 08:31:02 + dirname cmd/support-scheduler/Dockerfile 08:31:02 + cut -d/ -f2 08:31:02 + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo 08:31:02 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 08:31:02 + git rev-list -1 --merges 561ffe60b20582d0b8438f99567fb302129053fd~1..561ffe60b20582d0b8438f99567fb302129053fd [Pipeline] echo 08:31:02 -----------> git rev-list -1 --merges 561ffe60b20582d0b8438f99567fb302129053fd~1..561ffe60b20582d0b8438f99567fb302129053fd 561ffe60b20582d0b8438f99567fb302129053fd [false] [Pipeline] sh 08:31:03 + git log --format=format:%s -1 561ffe60b20582d0b8438f99567fb302129053fd [Pipeline] echo 08:31:03 ========================================================= 08:31:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:31:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 08:31:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:31:03 + grep -v github /etc/ssh/ssh_known_hosts 08:31:03 + [ -e /tmp/ssh_known_hosts ] 08:31:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:31:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:31:03 + sudo tee -a /etc/ssh/ssh_known_hosts 08:31:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:31:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:31:03 08:31:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:31:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:31:04 0.1.4: Pulling from edgex-devops/py-git-semver 08:31:04 b85a868b505f: Pulling fs layer 08:31:04 e2be974225ed: Pulling fs layer 08:31:04 339a4e72a1f5: Pulling fs layer 08:31:04 988bab9f4d93: Pulling fs layer 08:31:04 1469e6f7b9e6: Pulling fs layer 08:31:04 eaf3925da568: Pulling fs layer 08:31:04 bab4dde63d76: Pulling fs layer 08:31:04 bde34c3a00c8: Pulling fs layer 08:31:04 b352a97aabf1: Pulling fs layer 08:31:04 4872d77fe225: Pulling fs layer 08:31:04 5851b861e8e6: Pulling fs layer 08:31:04 bab4dde63d76: Waiting 08:31:04 bde34c3a00c8: Waiting 08:31:04 b352a97aabf1: Waiting 08:31:04 4872d77fe225: Waiting 08:31:04 5851b861e8e6: Waiting 08:31:04 1469e6f7b9e6: Waiting 08:31:04 eaf3925da568: Waiting 08:31:04 988bab9f4d93: Waiting 08:31:04 e2be974225ed: Verifying Checksum 08:31:04 e2be974225ed: Download complete 08:31:04 988bab9f4d93: Download complete 08:31:04 339a4e72a1f5: Verifying Checksum 08:31:04 339a4e72a1f5: Download complete 08:31:04 1469e6f7b9e6: Verifying Checksum 08:31:04 1469e6f7b9e6: Download complete 08:31:04 eaf3925da568: Verifying Checksum 08:31:04 eaf3925da568: Download complete 08:31:04 bde34c3a00c8: Verifying Checksum 08:31:04 bde34c3a00c8: Download complete 08:31:04 b352a97aabf1: Verifying Checksum 08:31:04 b352a97aabf1: Download complete 08:31:04 4872d77fe225: Verifying Checksum 08:31:04 4872d77fe225: Download complete 08:31:04 5851b861e8e6: Verifying Checksum 08:31:04 5851b861e8e6: Download complete 08:31:04 b85a868b505f: Verifying Checksum 08:31:04 b85a868b505f: Download complete 08:31:05 bab4dde63d76: Verifying Checksum 08:31:05 bab4dde63d76: Download complete 08:31:05 b85a868b505f: Pull complete 08:31:06 e2be974225ed: Pull complete 08:31:06 339a4e72a1f5: Pull complete 08:31:06 988bab9f4d93: Pull complete 08:31:06 1469e6f7b9e6: Pull complete 08:31:06 eaf3925da568: Pull complete 08:31:08 bab4dde63d76: Pull complete 08:31:08 bde34c3a00c8: Pull complete 08:31:08 b352a97aabf1: Pull complete 08:31:08 4872d77fe225: Pull complete 08:31:09 5851b861e8e6: Pull complete 08:31:09 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:31:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:31:09 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:31:09 prd-ubuntu20.04-docker-8c-8g-5155 does not seem to be running inside a container 08:31:09 $ 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 08:31:13 $ docker top 700f4fafc34568cf72ec5ea2ab37bcd496f5ae40f113826b720ea614272cd9c6 -eo pid,comm 08:31:13 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). 08:31:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:31:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:31:13 [ssh-agent] Looking for ssh-agent implementation... 08:31:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:31:13 $ docker exec 700f4fafc34568cf72ec5ea2ab37bcd496f5ae40f113826b720ea614272cd9c6 ssh-agent 08:31:13 SSH_AUTH_SOCK=/tmp/ssh-vnaq3Y0KcKmo/agent.31 08:31:13 SSH_AGENT_PID=37 08:31:13 Running ssh-add (command line suppressed) 08:31:13 Identity added: /w/workspace/edgex-go/1@tmp/private_key_8522393079573502334.key (/w/workspace/edgex-go/1@tmp/private_key_8522393079573502334.key) 08:31:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:31:14 + git tag --points-at HEAD [Pipeline] } 08:31:14 $ docker exec --env ******** --env ******** 700f4fafc34568cf72ec5ea2ab37bcd496f5ae40f113826b720ea614272cd9c6 ssh-agent -k 08:31:14 unset SSH_AUTH_SOCK; 08:31:14 unset SSH_AGENT_PID; 08:31:14 echo Agent pid 37 killed; 08:31:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:31:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:31:14 [ssh-agent] Looking for ssh-agent implementation... 08:31:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:31:14 $ docker exec 700f4fafc34568cf72ec5ea2ab37bcd496f5ae40f113826b720ea614272cd9c6 ssh-agent 08:31:14 SSH_AUTH_SOCK=/tmp/ssh-6Gi5q20PVOxF/agent.69 08:31:14 SSH_AGENT_PID=75 08:31:14 Running ssh-add (command line suppressed) 08:31:14 Identity added: /w/workspace/edgex-go/1@tmp/private_key_4670949213594344691.key (/w/workspace/edgex-go/1@tmp/private_key_4670949213594344691.key) 08:31:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:31:15 + git semver init 08:31:15 2023-03-22 08:31:15,224 [run_init] DEBUG init version:0.0.0 force:False 08:31:15 2023-03-22 08:31:15,225 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/1/.semver 08:31:15 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 08:31:15 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) 08:31:22 2023-03-22 08:31:21,901 [append_file] DEBUG append to file:/w/workspace/edgex-go/1/.git/info/exclude 08:31:22 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 08:31:22 2023-03-22 08:31:21,901 [write_file] DEBUG write to file:/w/workspace/edgex-go/1/.semver/PR-4471 08:31:22 2023-03-22 08:31:21,905 [execute] INFO git cat-file --batch-check 08:31:22 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=) 08:31:22 2023-03-22 08:31:21,911 [execute] INFO git cat-file --batch 08:31:22 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=) 08:31:22 2023-03-22 08:31:21,917 [read_version] DEBUG read version from /w/workspace/edgex-go/1/.semver/PR-4471 08:31:22 0.0.0 [Pipeline] } 08:31:22 $ docker exec --env ******** --env ******** 700f4fafc34568cf72ec5ea2ab37bcd496f5ae40f113826b720ea614272cd9c6 ssh-agent -k 08:31:22 unset SSH_AUTH_SOCK; 08:31:22 unset SSH_AGENT_PID; 08:31:22 echo Agent pid 75 killed; 08:31:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:31:22 + git semver [Pipeline] } 08:31:23 $ docker stop --time=1 700f4fafc34568cf72ec5ea2ab37bcd496f5ae40f113826b720ea614272cd9c6 08:31:24 $ docker rm -f --volumes 700f4fafc34568cf72ec5ea2ab37bcd496f5ae40f113826b720ea614272cd9c6 [Pipeline] // withDockerContainer [Pipeline] sh 08:31:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:31:25 Stashed 1 file(s) [Pipeline] echo 08:31:25 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:31:25 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo 08:31:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:31:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:31:25 ========================================================= 08:31:25 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 08:31:25 ========================================================= [Pipeline] fileExists [Pipeline] sh 08:31:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 08:31:26 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 08:31:26 63b65145d645: Pulling fs layer 08:31:26 a2d21d5440eb: Pulling fs layer 08:31:26 935e6c44a52c: Pulling fs layer 08:31:26 94cc34f8dd06: Pulling fs layer 08:31:26 30dea6a524f1: Pulling fs layer 08:31:26 a2aff8979fd8: Pulling fs layer 08:31:26 6808be2612f2: Pulling fs layer 08:31:26 f25807f1079a: Pulling fs layer 08:31:26 30dea6a524f1: Waiting 08:31:26 94cc34f8dd06: Waiting 08:31:26 a2aff8979fd8: Waiting 08:31:26 6808be2612f2: Waiting 08:31:26 f25807f1079a: Waiting 08:31:26 a2d21d5440eb: Download complete 08:31:26 94cc34f8dd06: Download complete 08:31:26 30dea6a524f1: Verifying Checksum 08:31:26 30dea6a524f1: Download complete 08:31:26 63b65145d645: Verifying Checksum 08:31:26 63b65145d645: Download complete 08:31:26 a2aff8979fd8: Verifying Checksum 08:31:26 a2aff8979fd8: Download complete 08:31:26 63b65145d645: Pull complete 08:31:26 a2d21d5440eb: Pull complete 08:31:27 f25807f1079a: Verifying Checksum 08:31:27 f25807f1079a: Download complete 08:31:27 935e6c44a52c: Verifying Checksum 08:31:27 935e6c44a52c: Download complete 08:31:27 6808be2612f2: Verifying Checksum 08:31:27 6808be2612f2: Download complete 08:31:30 935e6c44a52c: Pull complete 08:31:30 94cc34f8dd06: Pull complete 08:31:30 30dea6a524f1: Pull complete 08:31:30 a2aff8979fd8: Pull complete 08:31:33 6808be2612f2: Pull complete 08:31:34 f25807f1079a: Pull complete 08:31:34 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 08:31:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 08:31:34 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] fileExists [Pipeline] sh 08:31:34 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 08:31:34 WORKDIR /edgex 08:31:34 COPY go.mod . 08:31:34 RUN go mod download 08:31:34 + docker build -t ci-base-image-x86_64 -f - . 08:31:35 Sending build context to Docker daemon 170.5MB 08:31:35 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 08:31:35 ---> 3b553350e43f 08:31:35 Step 2/4 : WORKDIR /edgex 08:31:40 Still waiting to schedule task 08:31:40 ‘prd-ubuntu20.04-docker-arm64-4c-16g-5157’ is offline 08:31:43 ---> Running in 8e6d2ce1d09e 08:31:43 Removing intermediate container 8e6d2ce1d09e 08:31:43 ---> 6655772dc6f0 08:31:43 Step 3/4 : COPY go.mod . 08:31:43 ---> a5e968c109c7 08:31:43 Step 4/4 : RUN go mod download 08:31:43 ---> Running in af0d422e8e0e 08:31:58 Removing intermediate container af0d422e8e0e 08:31:58 ---> 51b5ed232bf3 08:31:58 Successfully built 51b5ed232bf3 08:31:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:31:58 + docker inspect -f . ci-base-image-x86_64 08:31:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:31:58 prd-ubuntu20.04-docker-8c-8g-5155 does not seem to be running inside a container 08:31:58 $ 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 08:31:59 $ docker top 3b30588ac7808273995a03ba669477996b16c6d6fb3dae13d24b1b29105038bb -eo pid,comm [Pipeline] { [Pipeline] sh 08:31:59 + go version 08:31:59 go version go1.20.2 linux/amd64 [Pipeline] } 08:31:59 $ docker stop --time=1 3b30588ac7808273995a03ba669477996b16c6d6fb3dae13d24b1b29105038bb 08:32:00 $ 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 08:32:01 + docker inspect -f . ci-base-image-x86_64 08:32:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:32:01 prd-ubuntu20.04-docker-8c-8g-5155 does not seem to be running inside a container 08:32:01 $ 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 08:32:02 $ docker top b507d569e0009063346239a5edf315c62fdf5d7743b756b23a11aed0becc7f4e -eo pid,comm [Pipeline] { [Pipeline] echo 08:32:02 ========================================================= 08:32:02 [edgeXBuildGoParallel] Running Tests and Build... 08:32:02 ========================================================= [Pipeline] sh 08:32:02 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh 08:32:02 + make test 08:32:02 go test -race -coverprofile=coverage.out ./... 08:32:11 ? github.com/edgexfoundry/edgex-go [no test files] 08:32:21 # github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 08:32:21 internal/pkg/infrastructure/redis/provisionwatcher.go:42:74: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:32:21 internal/pkg/infrastructure/redis/provisionwatcher.go:43:74: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:32:21 internal/pkg/infrastructure/redis/provisionwatcher.go:69:53: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:32:21 internal/pkg/infrastructure/redis/provisionwatcher.go:73:140: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:32:21 internal/pkg/infrastructure/redis/provisionwatcher.go:75:54: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:32:21 internal/pkg/infrastructure/redis/provisionwatcher.go:79:140: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:32:21 internal/pkg/infrastructure/redis/provisionwatcher.go:198:74: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:32:21 internal/pkg/infrastructure/redis/provisionwatcher.go:199:74: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:32:21 internal/pkg/infrastructure/redis/provisionwatcher.go:219:54: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:32:21 internal/pkg/infrastructure/redis/provisionwatcher.go:221:116: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:32:21 internal/pkg/infrastructure/redis/provisionwatcher.go:221:116: too many errors 08:32:23 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 08:32:23 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 08:32:23 # github.com/edgexfoundry/edgex-go/internal/core/metadata/application 08:32:23 internal/core/metadata/application/notify.go:116:21: pw.DiscoveredDevice undefined (type dtos.ProvisionWatcher has no field or method DiscoveredDevice) 08:32:23 internal/core/metadata/application/provisionwatcher.go:41:96: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:32:23 internal/core/metadata/application/provisionwatcher.go:134:99: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:32:23 internal/core/metadata/application/provisionwatcher.go:150:9: dto.DiscoveredDevice undefined (type dtos.UpdateProvisionWatcher has no field or method DiscoveredDevice) 08:32:23 internal/core/metadata/application/provisionwatcher.go:150:88: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:32:23 internal/core/metadata/application/provisionwatcher.go:151:23: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:32:23 internal/core/metadata/application/provisionwatcher.go:166:99: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:32:24 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 08:32:25 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 08:32:25 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 08:32:25 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-auth [no test files] 08:32:25 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 08:32:25 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 08:32:26 ? github.com/edgexfoundry/edgex-go/internal [no test files] 08:32:26 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 08:32:27 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 08:32:27 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 08:32:27 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.061s coverage: 28.7% of statements 08:32:28 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.069s coverage: 98.5% of statements 08:32:29 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 08:32:29 ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] 08:32:30 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 08:32:30 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 08:32:32 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 08:32:32 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 08:32:32 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 08:32:32 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 08:32:32 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 08:32:32 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 08:32:32 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 08:32:32 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 08:32:32 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 08:32:32 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 3.088s coverage: 71.3% of statements 08:32:32 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.078s coverage: 54.0% of statements 08:32:32 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 08:32:32 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 08:32:32 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 08:32:32 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 08:32:34 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 08:32:34 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 08:32:34 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 08:32:34 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 08:32:34 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 08:32:34 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 2.839s coverage: 88.5% of statements 08:32:34 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/application [build failed] 08:32:34 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http [build failed] 08:32:34 ok github.com/edgexfoundry/edgex-go/internal/io 0.049s coverage: 72.2% of statements 08:32:34 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.049s coverage: 65.9% of statements 08:32:34 FAIL github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis [build failed] 08:32:34 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.054s coverage: 29.0% of statements 08:32:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.067s coverage: 45.5% of statements 08:32:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.065s coverage: 82.9% of statements 08:32:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.051s coverage: 94.1% of statements 08:32:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.077s coverage: 96.3% of statements 08:32:35 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.049s coverage: 87.5% of statements 08:32:35 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 08:32:35 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 08:32:35 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 08:32:35 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 08:32:35 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 08:32:35 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 08:32:35 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 08:32:35 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 08:32:36 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 08:32:36 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 08:32:36 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 08:32:36 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 08:32:37 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 08:32:37 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 08:32:37 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 08:32:38 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] 08:32:38 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 08:32:39 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 08:32:39 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 08:32:40 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth [no test files] 08:32:40 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] 08:32:40 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] 08:32:42 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 08:32:42 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 08:32:42 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 08:32:43 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 08:32:43 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 08:32:43 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 08:32:45 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 08:32:45 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 08:32:45 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 08:32:45 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 08:32:46 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 08:32:46 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 08:32:46 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 08:32:47 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 08:32:47 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 08:32:47 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.056s coverage: 94.4% of statements 08:32:48 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 08:32:48 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 08:33:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 23.297s coverage: 79.9% of statements 08:33:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 23.067s coverage: 92.9% of statements 08:33:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.026s coverage: 64.4% of statements 08:33:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.051s coverage: 86.9% of statements 08:33:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.062s coverage: 87.2% of statements 08:33:00 ok github.com/edgexfoundry/edgex-go/internal/security/common 0.050s coverage: 20.0% of statements 08:33:00 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.047s coverage: 100.0% of statements 08:33:00 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.100s coverage: 81.2% of statements 08:33:00 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.082s coverage: 82.1% of statements 08:33:00 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.056s coverage: 86.0% of statements 08:33:00 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.171s coverage: 63.1% of statements 08:33:00 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.046s coverage: 100.0% of statements 08:33:00 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.033s coverage: 89.4% of statements 08:33:00 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.023s coverage: 100.0% of statements 08:33:00 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.030s coverage: 73.7% of statements 08:33:00 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.028s coverage: 100.0% of statements 08:33:00 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.167s coverage: 38.4% of statements 08:33:00 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.059s coverage: 89.5% of statements 08:33:00 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.046s coverage: 84.8% of statements 08:33:00 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.077s coverage: 17.7% of statements 08:33:00 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.126s coverage: 92.3% of statements 08:33:00 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.057s coverage: 61.5% of statements 08:33:00 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.090s coverage: 97.7% of statements 08:33:00 FAIL 08:33:00 make: *** [Makefile:148: unittest] Error 1 [Pipeline] } 08:33:00 $ docker stop --time=1 b507d569e0009063346239a5edf315c62fdf5d7743b756b23a11aed0becc7f4e 08:33:02 $ 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] } 08:33:03 Failed in branch amd64 08:34:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5161 in /w/workspace/edgexfoundry_edgex-go_PR-4471 [Pipeline] { [Pipeline] ws 08:34:27 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout 08:34:27 The recommended git tool is: git 08:34:33 using credential edgex-jenkins-ssh 08:34:33 Cloning the remote Git repository 08:34:33 Cloning repository git@github.com:edgexfoundry/edgex-go.git 08:34:33 > git init /w/workspace/edgex-go/1 # timeout=10 08:34:33 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 08:34:33 > git --version # timeout=10 08:34:33 > git --version # 'git version 2.25.1' 08:34:33 using GIT_SSH to set credentials SSH Credentials for GitHub 08:34:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:34:53 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 08:34:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:34:55 Merging remotes/origin/main commit b2859d90283392a0de244e81d63275e3b01924cf into PR head commit 561ffe60b20582d0b8438f99567fb302129053fd 08:34:55 Merge succeeded, producing 561ffe60b20582d0b8438f99567fb302129053fd 08:34:55 Checking out Revision 561ffe60b20582d0b8438f99567fb302129053fd (PR-4471) 08:34:54 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 08:34:54 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 08:34:54 using GIT_SSH to set credentials SSH Credentials for GitHub 08:34:54 > 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 08:34:55 > git config core.sparsecheckout # timeout=10 08:34:55 > git checkout -f 561ffe60b20582d0b8438f99567fb302129053fd # timeout=10 08:34:55 > git remote # timeout=10 08:34:55 > git config --get remote.origin.url # timeout=10 08:34:55 using GIT_SSH to set credentials SSH Credentials for GitHub 08:34:55 > git merge b2859d90283392a0de244e81d63275e3b01924cf # timeout=10 08:34:55 > git rev-parse HEAD^{commit} # timeout=10 08:34:55 > git config core.sparsecheckout # timeout=10 08:34:55 > git checkout -f 561ffe60b20582d0b8438f99567fb302129053fd # timeout=10 08:34:59 Commit message: "feat!: Apply provision watcher model changes" 08:34:59 > git --version # timeout=10 08:34:59 > git --version # 'git version 2.25.1' 08:34:59 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:35:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:35:00 % Total % Received % Xferd Average Speed Time Time Time Current 08:35:00 Dload Upload Total Spent Left Speed 08:35:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 188k [Pipeline] sh 08:35:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:35:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:35:01 + sudo tee /etc/docker/daemon.new 08:35:01 { 08:35:01 "registry-mirrors": [ 08:35:01 "https://nexus3.edgexfoundry.org:10001" 08:35:01 ], 08:35:01 "bip": "10.250.0.254/24", 08:35:01 "hosts": [ 08:35:01 "tcp://0.0.0.0:5555", 08:35:01 "unix:///var/run/docker.sock" 08:35:01 ], 08:35:01 "mtu": 1458, 08:35:01 "selinux-enabled": true, 08:35:01 "seccomp-profile": "/etc/docker/seccomp.json" 08:35:01 } [Pipeline] sh 08:35:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:35:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:35:21 provisioning config files... 08:35:21 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config8224879167418238682tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:35:21 ---> docker-login.sh 08:35:21 nexus3.edgexfoundry.org:10001 08:35:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:35:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:35:22 Configure a credential helper to remove this warning. See 08:35:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:35:22 08:35:22 Login Succeeded 08:35:22 nexus3.edgexfoundry.org:10002 08:35:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:35:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:35:22 Configure a credential helper to remove this warning. See 08:35:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:35:22 08:35:22 Login Succeeded 08:35:22 nexus3.edgexfoundry.org:10003 08:35:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:35:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:35:22 Configure a credential helper to remove this warning. See 08:35:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:35:22 08:35:22 Login Succeeded 08:35:22 nexus3.edgexfoundry.org:10004 08:35:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:35:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:35:23 Configure a credential helper to remove this warning. See 08:35:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:35:23 08:35:23 Login Succeeded 08:35:23 docker.io 08:35:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:35:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:35:23 Configure a credential helper to remove this warning. See 08:35:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:35:23 08:35:23 Login Succeeded 08:35:23 ---> docker-login.sh ends [Pipeline] } 08:35:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh 08:35:24 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo 08:35:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:35:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:35:24 ========================================================= 08:35:24 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 08:35:24 ========================================================= [Pipeline] fileExists [Pipeline] sh 08:35:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 08:35:25 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:35:25 af6eaf76a39c: Pulling fs layer 08:35:25 55522c791124: Pulling fs layer 08:35:25 ce5c4a1c91eb: Pulling fs layer 08:35:25 169dfbe0d373: Pulling fs layer 08:35:25 e1ff8fa3b103: Pulling fs layer 08:35:25 52ebb69f0ebf: Pulling fs layer 08:35:25 5abe8eddf0d5: Pulling fs layer 08:35:25 52ebb69f0ebf: Waiting 08:35:25 5abe8eddf0d5: Waiting 08:35:25 169dfbe0d373: Waiting 08:35:25 e1ff8fa3b103: Waiting 08:35:25 55522c791124: Verifying Checksum 08:35:25 55522c791124: Download complete 08:35:25 169dfbe0d373: Verifying Checksum 08:35:25 169dfbe0d373: Download complete 08:35:25 af6eaf76a39c: Verifying Checksum 08:35:25 af6eaf76a39c: Download complete 08:35:25 e1ff8fa3b103: Verifying Checksum 08:35:25 e1ff8fa3b103: Download complete 08:35:26 af6eaf76a39c: Pull complete 08:35:26 5abe8eddf0d5: Verifying Checksum 08:35:26 5abe8eddf0d5: Download complete 08:35:26 55522c791124: Pull complete 08:35:27 ce5c4a1c91eb: Verifying Checksum 08:35:27 ce5c4a1c91eb: Download complete 08:35:27 52ebb69f0ebf: Verifying Checksum 08:35:27 52ebb69f0ebf: Download complete 08:35:40 ce5c4a1c91eb: Pull complete 08:35:40 169dfbe0d373: Pull complete 08:35:40 e1ff8fa3b103: Pull complete 08:35:46 52ebb69f0ebf: Pull complete 08:35:48 5abe8eddf0d5: Pull complete 08:35:48 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 08:35:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 08:35:48 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] fileExists [Pipeline] sh 08:35:49 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 08:35:49 WORKDIR /edgex 08:35:49 COPY go.mod . 08:35:49 RUN go mod download 08:35:49 + docker build -t ci-base-image-arm64 -f - . 08:35:49 Sending build context to Docker daemon 2.934MB 08:35:49 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 08:35:49 ---> 6cb57ee374ae 08:35:49 Step 2/4 : WORKDIR /edgex 08:35:51 ---> Running in 9dd891839766 08:35:52 Removing intermediate container 9dd891839766 08:35:52 ---> d3ad26ff1ac8 08:35:52 Step 3/4 : COPY go.mod . 08:35:52 ---> 6ab584428795 08:35:52 Step 4/4 : RUN go mod download 08:35:52 ---> Running in bdbb2808d788 08:36:25 Removing intermediate container bdbb2808d788 08:36:25 ---> 9c790945d4df 08:36:25 Successfully built 9c790945d4df 08:36:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:25 + docker inspect -f . ci-base-image-arm64 08:36:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:36:25 prd-ubuntu20.04-docker-arm64-4c-16g-5161 does not seem to be running inside a container 08:36:26 $ 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 08:36:27 $ docker top cb2b3e709cf54ee86a2c834de485b07f2cac6ff957e4fa8bf675772e195b58cf -eo pid,comm [Pipeline] { [Pipeline] sh 08:36:28 + go version 08:36:28 go version go1.20.2 linux/arm64 [Pipeline] } 08:36:28 $ docker stop --time=1 cb2b3e709cf54ee86a2c834de485b07f2cac6ff957e4fa8bf675772e195b58cf 08:36:29 $ 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 08:36:30 + docker inspect -f . ci-base-image-arm64 08:36:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:36:31 prd-ubuntu20.04-docker-arm64-4c-16g-5161 does not seem to be running inside a container 08:36:31 $ 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 08:36:32 $ docker top 06c8fa8d2666886ddc6d67f3619fa80c6ebbf81c642fc0749c0a4155b56a073b -eo pid,comm [Pipeline] { [Pipeline] echo 08:36:32 ========================================================= 08:36:32 [edgeXBuildGoParallel] Running Tests and Build... 08:36:32 ========================================================= [Pipeline] sh 08:36:33 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh 08:36:34 + make test 08:36:34 go test -race -coverprofile=coverage.out ./... 08:37:31 ? github.com/edgexfoundry/edgex-go [no test files] 08:39:53 # github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 08:39:53 internal/pkg/infrastructure/redis/provisionwatcher.go:42:74: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:39:53 internal/pkg/infrastructure/redis/provisionwatcher.go:43:74: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:39:53 internal/pkg/infrastructure/redis/provisionwatcher.go:69:53: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:39:53 internal/pkg/infrastructure/redis/provisionwatcher.go:73:140: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:39:53 internal/pkg/infrastructure/redis/provisionwatcher.go:75:54: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:39:53 internal/pkg/infrastructure/redis/provisionwatcher.go:79:140: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:39:53 internal/pkg/infrastructure/redis/provisionwatcher.go:198:74: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:39:53 internal/pkg/infrastructure/redis/provisionwatcher.go:199:74: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:39:53 internal/pkg/infrastructure/redis/provisionwatcher.go:219:54: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:39:53 internal/pkg/infrastructure/redis/provisionwatcher.go:221:116: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:39:53 internal/pkg/infrastructure/redis/provisionwatcher.go:221:116: too many errors 08:39:53 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 08:39:53 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 08:39:53 # github.com/edgexfoundry/edgex-go/internal/core/metadata/application 08:39:53 internal/core/metadata/application/notify.go:116:21: pw.DiscoveredDevice undefined (type dtos.ProvisionWatcher has no field or method DiscoveredDevice) 08:39:53 internal/core/metadata/application/provisionwatcher.go:41:96: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:39:53 internal/core/metadata/application/provisionwatcher.go:134:99: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:39:53 internal/core/metadata/application/provisionwatcher.go:150:9: dto.DiscoveredDevice undefined (type dtos.UpdateProvisionWatcher has no field or method DiscoveredDevice) 08:39:53 internal/core/metadata/application/provisionwatcher.go:150:88: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:39:53 internal/core/metadata/application/provisionwatcher.go:151:23: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:39:53 internal/core/metadata/application/provisionwatcher.go:166:99: pw.DiscoveredDevice undefined (type models.ProvisionWatcher has no field or method DiscoveredDevice) 08:39:53 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 08:39:53 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 08:39:53 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 08:39:53 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-auth [no test files] 08:39:53 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 08:39:53 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 08:39:55 ? github.com/edgexfoundry/edgex-go/internal [no test files] 08:39:55 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 08:40:10 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 08:40:10 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 08:40:10 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.292s coverage: 28.7% of statements 08:40:22 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.335s coverage: 98.5% of statements 08:40:26 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 08:40:26 ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] 08:40:30 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 3.489s coverage: 71.3% of statements 08:40:34 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 08:40:34 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 08:40:34 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.403s coverage: 54.0% of statements 08:40:39 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 08:40:39 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 08:40:39 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 08:40:39 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 08:40:39 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 08:40:39 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 08:40:41 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 08:40:41 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 08:40:41 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 08:40:44 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 08:40:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 08:40:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 08:40:44 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 08:40:52 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 08:40:52 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 08:40:52 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 08:40:52 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 08:40:56 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 08:41:00 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 21.010s coverage: 88.5% of statements 08:41:00 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/application [build failed] 08:41:00 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http [build failed] 08:41:00 ok github.com/edgexfoundry/edgex-go/internal/io 0.447s coverage: 72.2% of statements 08:41:00 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.398s coverage: 65.9% of statements 08:41:00 FAIL github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis [build failed] 08:41:00 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.362s coverage: 29.0% of statements 08:41:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.358s coverage: 45.5% of statements 08:41:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.281s coverage: 82.9% of statements 08:41:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.260s coverage: 94.1% of statements 08:41:03 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.267s coverage: 96.3% of statements 08:41:05 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.232s coverage: 87.5% of statements 08:41:08 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 08:41:08 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 08:41:08 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 08:41:08 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 08:41:11 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 08:41:11 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 08:41:11 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 08:41:11 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 08:41:17 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.249s coverage: 94.4% of statements 08:41:17 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 08:41:17 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 08:41:17 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 08:41:17 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 08:41:24 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 08:41:24 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 08:41:26 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 08:41:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 24.347s coverage: 79.9% of statements 08:41:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.279s coverage: 92.9% of statements 08:41:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.082s coverage: 64.4% of statements 08:41:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.269s coverage: 86.9% of statements 08:41:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.235s coverage: 87.2% of statements 08:41:33 ok github.com/edgexfoundry/edgex-go/internal/security/common 0.196s coverage: 20.0% of statements 08:41:33 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.208s coverage: 100.0% of statements 08:41:33 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.540s coverage: 81.2% of statements 08:41:34 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] 08:41:34 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 08:41:35 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.555s coverage: 82.1% of statements 08:41:35 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.321s coverage: 86.0% of statements 08:41:42 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 08:41:42 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 08:41:43 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.196s coverage: 63.1% of statements 08:41:43 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.258s coverage: 100.0% of statements 08:41:45 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.122s coverage: 89.4% of statements 08:41:45 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.082s coverage: 100.0% of statements 08:41:45 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.088s coverage: 73.7% of statements 08:41:45 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth [no test files] 08:41:45 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] 08:41:45 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] 08:41:45 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.081s coverage: 100.0% of statements 08:41:55 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 08:41:55 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 08:41:55 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 08:41:55 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 1.134s coverage: 38.4% of statements 08:41:55 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.295s coverage: 89.5% of statements 08:42:02 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 08:42:02 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 08:42:02 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 08:42:02 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.284s coverage: 84.8% of statements 08:42:08 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 08:42:08 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 08:42:08 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 08:42:08 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 08:42:15 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.318s coverage: 17.7% of statements 08:42:16 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 08:42:16 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 08:42:16 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 08:42:17 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.714s coverage: 92.3% of statements 08:42:23 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 08:42:23 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 08:42:23 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.338s coverage: 61.5% of statements 08:42:25 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 08:42:25 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 08:42:26 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.490s coverage: 97.7% of statements 08:42:26 FAIL 08:42:27 make: *** [Makefile:148: unittest] Error 1 [Pipeline] } 08:42:27 $ docker stop --time=1 06c8fa8d2666886ddc6d67f3619fa80c6ebbf81c642fc0749c0a4155b56a073b 08:42:29 $ 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 08:42:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:42:31 08:42:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:42:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:42:32 arm64: Pulling from edgex-lftools-log-publisher 08:42:32 8998bd30e6a1: Pulling fs layer 08:42:32 04944245beec: Pulling fs layer 08:42:32 699f458cf7ca: Pulling fs layer 08:42:32 765212b225bb: Pulling fs layer 08:42:32 f23df028b6ca: Pulling fs layer 08:42:32 d65c8cfc05b1: Pulling fs layer 08:42:32 2437ff75d9bd: Pulling fs layer 08:42:32 765212b225bb: Waiting 08:42:32 f23df028b6ca: Waiting 08:42:32 d65c8cfc05b1: Waiting 08:42:32 2437ff75d9bd: Waiting 08:42:32 04944245beec: Verifying Checksum 08:42:32 04944245beec: Download complete 08:42:32 765212b225bb: Verifying Checksum 08:42:32 765212b225bb: Download complete 08:42:32 f23df028b6ca: Verifying Checksum 08:42:32 f23df028b6ca: Download complete 08:42:32 d65c8cfc05b1: Download complete 08:42:32 699f458cf7ca: Verifying Checksum 08:42:32 699f458cf7ca: Download complete 08:42:32 8998bd30e6a1: Verifying Checksum 08:42:32 8998bd30e6a1: Download complete 08:42:35 2437ff75d9bd: Verifying Checksum 08:42:35 2437ff75d9bd: Download complete 08:42:37 8998bd30e6a1: Pull complete 08:42:37 04944245beec: Pull complete 08:42:38 699f458cf7ca: Pull complete 08:42:39 765212b225bb: Pull complete 08:42:39 f23df028b6ca: Pull complete 08:42:39 d65c8cfc05b1: Pull complete 08:42:54 2437ff75d9bd: Pull complete 08:42:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:42:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:42:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:42:55 prd-ubuntu20.04-docker-arm64-4c-16g-5161 does not seem to be running inside a container 08:42:55 $ 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 08:42:58 $ docker top 380198ac4ccb0fd52efc2edb86ee14ca1992668d07082a68b8891d2d8593777e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:42:59 ---> job-cost.sh 08:42:59 lf-activate-venv: SKIPPING 08:42:59 INFO: No Stack... 08:42:59 INFO: Retrieving Pricing Info for: v3-standard-4 08:43:00 INFO: Archiving Costs [Pipeline] sh 08:43:01 + cat /w/workspace/edgex-go/1/archives/cost.csv 08:43:01 + cut -d, -f6 [Pipeline] lock 08:43:01 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4471-1-stack-cost] 08:43:01 Resource [jenkins-edgexfoundry-edgex-go-PR-4471-1-stack-cost] did not exist. Created. 08:43:01 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4471-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:43:02 + echo total: 0.10999999940395355 [Pipeline] stash 08:43:03 Stashed 1 file(s) [Pipeline] } 08:43:03 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4471-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:43:03 $ docker stop --time=1 380198ac4ccb0fd52efc2edb86ee14ca1992668d07082a68b8891d2d8593777e 08:43:04 $ 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] } 08:43:05 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 08:43:07 + [ -d /w/workspace/edgex-go/1/archives ] [Pipeline] libraryResource [Pipeline] sh 08:43:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:43:08 ---> package-listing.sh 08:43:08 ++ facter osfamily 08:43:08 ++ tr '[:upper:]' '[:lower:]' 08:43:08 + OS_FAMILY=debian 08:43:08 + workspace=/w/workspace/edgex-go/1 08:43:08 + START_PACKAGES=/tmp/packages_start.txt 08:43:08 + END_PACKAGES=/tmp/packages_end.txt 08:43:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:43:08 + PACKAGES=/tmp/packages_start.txt 08:43:08 + '[' /w/workspace/edgex-go/1 ']' 08:43:08 + PACKAGES=/tmp/packages_end.txt 08:43:08 + case "${OS_FAMILY}" in 08:43:08 + dpkg -l 08:43:08 + grep '^ii' 08:43:08 + '[' -f /tmp/packages_start.txt ']' 08:43:08 + '[' -f /tmp/packages_end.txt ']' 08:43:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:43:08 + '[' /w/workspace/edgex-go/1 ']' 08:43:08 + mkdir -p /w/workspace/edgex-go/1/archives/ 08:43:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 08:43:08 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 08:43:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:43:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:43:09 08:43:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:43:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:43:10 latest: Pulling from edgex-lftools-log-publisher 08:43:10 5eb5b503b376: Pulling fs layer 08:43:10 5c69ac0246d0: Pulling fs layer 08:43:10 ec43610c2a17: Pulling fs layer 08:43:10 3a2ae6a8a46f: Pulling fs layer 08:43:10 33b1e0a273af: Pulling fs layer 08:43:10 5d3b04190fa2: Pulling fs layer 08:43:10 2f39f015ded8: Pulling fs layer 08:43:10 3a2ae6a8a46f: Waiting 08:43:10 33b1e0a273af: Waiting 08:43:10 5d3b04190fa2: Waiting 08:43:10 2f39f015ded8: Waiting 08:43:10 5c69ac0246d0: Download complete 08:43:10 3a2ae6a8a46f: Verifying Checksum 08:43:10 3a2ae6a8a46f: Download complete 08:43:10 ec43610c2a17: Verifying Checksum 08:43:10 ec43610c2a17: Download complete 08:43:10 33b1e0a273af: Verifying Checksum 08:43:10 33b1e0a273af: Download complete 08:43:10 5d3b04190fa2: Download complete 08:43:10 5eb5b503b376: Download complete 08:43:10 2f39f015ded8: Download complete 08:43:11 5eb5b503b376: Pull complete 08:43:11 5c69ac0246d0: Pull complete 08:43:12 ec43610c2a17: Pull complete 08:43:12 3a2ae6a8a46f: Pull complete 08:43:12 33b1e0a273af: Pull complete 08:43:12 5d3b04190fa2: Pull complete 08:43:16 2f39f015ded8: Pull complete 08:43:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:43:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:43:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:43:16 prd-ubuntu20.04-docker-8c-8g-5155 does not seem to be running inside a container 08:43:16 $ 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 08:43:22 $ docker top b26ef39086fd43674f0be53f84522b5ce111df749a0e887bc74794404890141b -eo pid,comm [Pipeline] { [Pipeline] sh 08:43:22 + touch /tmp/pre-build-complete [Pipeline] sh 08:43:23 + mkdir -p /var/log/sysstat [Pipeline] sh 08:43:23 + ls /var/log/sa-host 08:43:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:43:23 provisioning config files... 08:43:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config7432689685653521002tmp [Pipeline] { [Pipeline] echo 08:43:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:43:23 ---> create-netrc.sh [Pipeline] } 08:43:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:43:24 ---> python-tools-install.sh [Pipeline] echo 08:43:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:43:24 ---> sudo-logs.sh 08:43:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:43:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:43:24 ---> job-cost.sh 08:43:24 lf-activate-venv: SKIPPING 08:43:24 DEBUG: total: 0.10999999940395355 08:43:24 INFO: Retrieving Stack Cost... 08:43:25 INFO: Retrieving Pricing Info for: v3-standard-8 08:43:25 INFO: Archiving Costs [Pipeline] echo 08:43:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:43:26 ---> logs-deploy.sh 08:43:26 lf-activate-venv: SKIPPING 08:43:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4471/1 08:43:26 INFO: archiving workspace using pattern(s): 08:43:27 Archives upload complete. 08:43:27 INFO: archiving logs to Nexus