Pull request #4562 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 031fd595800b20ddb7f689dcf40632e3090f265f+079d219be26533084879877c2803b7bbbdfcd758 (86f5f62667399ffc2b94209da2858255f7b535fd) 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-ssh16181166234978249218.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh920124134574979229.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-4562/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-4562/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5656102529390669077.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-4562/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2960621428350437034.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh11330577696282661814.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-4562/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-4562/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16479172396948467712.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-14749’ Running on prd-ubuntu20.04-docker-8c-8g-14751 in /w/workspace/edgexfoundry_edgex-go_PR-4562 [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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 079d219be26533084879877c2803b7bbbdfcd758 into PR head commit 031fd595800b20ddb7f689dcf40632e3090f265f Merge succeeded, producing 031fd595800b20ddb7f689dcf40632e3090f265f Checking out Revision 031fd595800b20ddb7f689dcf40632e3090f265f (PR-4562) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:59:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > 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/4562/head:refs/remotes/origin/PR-4562 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 031fd595800b20ddb7f689dcf40632e3090f265f # 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 079d219be26533084879877c2803b7bbbdfcd758 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 031fd595800b20ddb7f689dcf40632e3090f265f # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:59:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:59:30 ========================================================= 19:59:30 EdgeX Global Pipelines Version Info 19:59:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:59:31 ------------------- 19:59:31 stable info: 19:59:31 ------------------- 19:59:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:59:31 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 19:59:31 Message: update stable to v1.0.249 19:59:32 ------------------- 19:59:32 experimental info: 19:59:32 ------------------- 19:59:32 Commited By: **** collab-it+edgex@linuxfoundation.org 19:59:32 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 19:59:32 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:59:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 19:59:32 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 19:59:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:59:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:59:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:59:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 19:59:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:59:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 19:59:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 19:59:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 19:59:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:59:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:59:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:59:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:59:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:59:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:59:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:59:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:59:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 19:59:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 19:59:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:59:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:59:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:59:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4562 [Pipeline] echo 19:59:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4562 [Pipeline] echo 19:59:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4562 [Pipeline] echo 19:59:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 031fd595800b20ddb7f689dcf40632e3090f265f [Pipeline] echo 19:59:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 031fd59 [Pipeline] echo 19:59:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:59:33 provisioning config files... 19:59:33 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config6247544357749730073tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:59:34 ---> docker-login.sh 19:59:34 nexus3.edgexfoundry.org:10001 19:59:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:35 Configure a credential helper to remove this warning. See 19:59:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:35 19:59:35 Login Succeeded 19:59:35 nexus3.edgexfoundry.org:10002 19:59:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:35 Configure a credential helper to remove this warning. See 19:59:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:35 19:59:35 Login Succeeded 19:59:35 nexus3.edgexfoundry.org:10003 19:59:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:35 Configure a credential helper to remove this warning. See 19:59:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:35 19:59:35 Login Succeeded 19:59:35 nexus3.edgexfoundry.org:10004 19:59:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:35 Configure a credential helper to remove this warning. See 19:59:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:35 19:59:35 Login Succeeded 19:59:35 docker.io 19:59:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:36 Configure a credential helper to remove this warning. See 19:59:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:36 19:59:36 Login Succeeded 19:59:36 ---> docker-login.sh ends [Pipeline] } 19:59:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:59:36 + 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 19:59:36 + dirname cmd/core-command/Dockerfile 19:59:36 + cut -d/ -f2 19:59:36 + echo core-command,cmd/core-command/Dockerfile 19:59:36 + dirname cmd/core-common-config-bootstrapper/Dockerfile 19:59:36 + cut -d/ -f2 19:59:36 + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile 19:59:36 + dirname cmd/core-data/Dockerfile 19:59:36 + cut -d/ -f2 19:59:36 + echo core-data,cmd/core-data/Dockerfile 19:59:36 + dirname cmd/core-metadata/Dockerfile 19:59:36 + cut -d/ -f2 19:59:36 + echo core-metadata,cmd/core-metadata/Dockerfile 19:59:36 + dirname cmd/security-bootstrapper/Dockerfile 19:59:36 + cut -d/ -f2 19:59:36 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 19:59:36 + dirname cmd/security-proxy-auth/Dockerfile 19:59:36 + cut -d/ -f2 19:59:36 + echo security-proxy-auth,cmd/security-proxy-auth/Dockerfile 19:59:36 + dirname cmd/security-proxy-setup/Dockerfile 19:59:36 + cut -d/ -f2 19:59:36 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 19:59:36 + cut -d/ -f2 19:59:36 + dirname cmd/security-secretstore-setup/Dockerfile 19:59:36 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 19:59:36 + dirname cmd/security-spiffe-token-provider/Dockerfile 19:59:36 + cut -d/ -f2 19:59:36 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 19:59:36 + dirname cmd/security-spire-agent/Dockerfile 19:59:36 + cut -d/ -f2 19:59:36 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 19:59:36 + dirname cmd/security-spire-config/Dockerfile 19:59:36 + cut -d/ -f2 19:59:36 + echo security-spire-config,cmd/security-spire-config/Dockerfile 19:59:36 + cut -d/ -f2 19:59:36 + dirname cmd/security-spire-server/Dockerfile 19:59:36 + echo security-spire-server,cmd/security-spire-server/Dockerfile 19:59:36 + dirname cmd/support-notifications/Dockerfile 19:59:36 + cut -d/ -f2 19:59:36 + echo support-notifications,cmd/support-notifications/Dockerfile 19:59:36 + dirname cmd/support-scheduler/Dockerfile 19:59:36 + cut -d/ -f2 19:59:36 + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo 19:59:36 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 19:59:37 + git rev-list -1 --merges 031fd595800b20ddb7f689dcf40632e3090f265f~1..031fd595800b20ddb7f689dcf40632e3090f265f [Pipeline] echo 19:59:37 -----------> git rev-list -1 --merges 031fd595800b20ddb7f689dcf40632e3090f265f~1..031fd595800b20ddb7f689dcf40632e3090f265f 031fd595800b20ddb7f689dcf40632e3090f265f [false] [Pipeline] sh 19:59:37 + git log --format=format:%s -1 031fd595800b20ddb7f689dcf40632e3090f265f [Pipeline] echo 19:59:37 ========================================================= 19:59:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:59:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 19:59:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:59:38 + grep -v github /etc/ssh/ssh_known_hosts 19:59:38 + [ -e /tmp/ssh_known_hosts ] 19:59:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:59:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:59:38 + sudo tee -a /etc/ssh/ssh_known_hosts 19:59:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:59:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:59:38 19:59:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:59:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:59:39 0.1.4: Pulling from edgex-devops/py-git-semver 19:59:39 b85a868b505f: Pulling fs layer 19:59:39 e2be974225ed: Pulling fs layer 19:59:39 339a4e72a1f5: Pulling fs layer 19:59:39 988bab9f4d93: Pulling fs layer 19:59:39 1469e6f7b9e6: Pulling fs layer 19:59:39 eaf3925da568: Pulling fs layer 19:59:39 bab4dde63d76: Pulling fs layer 19:59:39 bde34c3a00c8: Pulling fs layer 19:59:39 b352a97aabf1: Pulling fs layer 19:59:39 4872d77fe225: Pulling fs layer 19:59:39 5851b861e8e6: Pulling fs layer 19:59:39 988bab9f4d93: Waiting 19:59:39 1469e6f7b9e6: Waiting 19:59:39 eaf3925da568: Waiting 19:59:39 bab4dde63d76: Waiting 19:59:39 bde34c3a00c8: Waiting 19:59:39 b352a97aabf1: Waiting 19:59:39 4872d77fe225: Waiting 19:59:39 e2be974225ed: Verifying Checksum 19:59:39 e2be974225ed: Download complete 19:59:39 988bab9f4d93: Verifying Checksum 19:59:39 988bab9f4d93: Download complete 19:59:39 1469e6f7b9e6: Verifying Checksum 19:59:39 1469e6f7b9e6: Download complete 19:59:39 339a4e72a1f5: Verifying Checksum 19:59:39 339a4e72a1f5: Download complete 19:59:39 eaf3925da568: Download complete 19:59:39 bde34c3a00c8: Verifying Checksum 19:59:39 bde34c3a00c8: Download complete 19:59:39 b352a97aabf1: Download complete 19:59:39 4872d77fe225: Verifying Checksum 19:59:39 4872d77fe225: Download complete 19:59:39 5851b861e8e6: Verifying Checksum 19:59:39 5851b861e8e6: Download complete 19:59:39 b85a868b505f: Verifying Checksum 19:59:39 b85a868b505f: Download complete 19:59:39 bab4dde63d76: Verifying Checksum 19:59:41 b85a868b505f: Pull complete 19:59:41 e2be974225ed: Pull complete 19:59:42 339a4e72a1f5: Pull complete 19:59:42 988bab9f4d93: Pull complete 19:59:42 1469e6f7b9e6: Pull complete 19:59:43 eaf3925da568: Pull complete 19:59:45 bab4dde63d76: Pull complete 19:59:45 bde34c3a00c8: Pull complete 19:59:45 b352a97aabf1: Pull complete 19:59:45 4872d77fe225: Pull complete 19:59:45 5851b861e8e6: Pull complete 19:59:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:59:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:59:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:59:46 prd-ubuntu20.04-docker-8c-8g-14751 does not seem to be running inside a container 19:59:46 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:59:54 $ docker top 02f18c62b3ed5c37ef634a9c8282aadc93c1507825d7c99ccd7a2fcb55a6b1f5 -eo pid,comm 19:59:54 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). 19:59:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:59:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:59:54 [ssh-agent] Looking for ssh-agent implementation... 19:59:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:59:55 $ docker exec 02f18c62b3ed5c37ef634a9c8282aadc93c1507825d7c99ccd7a2fcb55a6b1f5 ssh-agent 19:59:55 SSH_AUTH_SOCK=/tmp/ssh-ZbKUEblByOod/agent.14 19:59:55 SSH_AGENT_PID=20 19:59:55 Running ssh-add (command line suppressed) 19:59:55 Identity added: /w/workspace/edgex-go/1@tmp/private_key_15839767922000672932.key (/w/workspace/edgex-go/1@tmp/private_key_15839767922000672932.key) 19:59:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:59:55 + git tag --points-at HEAD [Pipeline] } 19:59:55 $ docker exec --env ******** --env ******** 02f18c62b3ed5c37ef634a9c8282aadc93c1507825d7c99ccd7a2fcb55a6b1f5 ssh-agent -k 19:59:55 unset SSH_AUTH_SOCK; 19:59:55 unset SSH_AGENT_PID; 19:59:55 echo Agent pid 20 killed; 19:59:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:59:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:59:55 [ssh-agent] Looking for ssh-agent implementation... 19:59:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:59:55 $ docker exec 02f18c62b3ed5c37ef634a9c8282aadc93c1507825d7c99ccd7a2fcb55a6b1f5 ssh-agent 19:59:56 SSH_AUTH_SOCK=/tmp/ssh-AlP5W7JJpbl6/agent.71 19:59:56 SSH_AGENT_PID=77 19:59:56 Running ssh-add (command line suppressed) 19:59:56 Identity added: /w/workspace/edgex-go/1@tmp/private_key_8595628816386605623.key (/w/workspace/edgex-go/1@tmp/private_key_8595628816386605623.key) 19:59:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:59:56 + git semver init 19:59:56 2023-05-09 19:59:56,734 [run_init] DEBUG init version:0.0.0 force:False 19:59:56 2023-05-09 19:59:56,735 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/1/.semver 19:59:56 2023-05-09 19:59:56,736 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/1/.semver 19:59:56 2023-05-09 19:59:56,736 [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) 20:00:04 2023-05-09 20:00:03,806 [append_file] DEBUG append to file:/w/workspace/edgex-go/1/.git/info/exclude 20:00:04 2023-05-09 20:00:03,807 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/1/.semver/PR-4562 with force:False 20:00:04 2023-05-09 20:00:03,807 [write_file] DEBUG write to file:/w/workspace/edgex-go/1/.semver/PR-4562 20:00:04 2023-05-09 20:00:03,812 [execute] INFO git cat-file --batch-check 20:00:04 2023-05-09 20:00:03,812 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 20:00:04 2023-05-09 20:00:03,818 [execute] INFO git cat-file --batch 20:00:04 2023-05-09 20:00:03,818 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 20:00:04 2023-05-09 20:00:03,823 [read_version] DEBUG read version from /w/workspace/edgex-go/1/.semver/PR-4562 20:00:04 0.0.0 [Pipeline] } 20:00:04 $ docker exec --env ******** --env ******** 02f18c62b3ed5c37ef634a9c8282aadc93c1507825d7c99ccd7a2fcb55a6b1f5 ssh-agent -k 20:00:05 unset SSH_AUTH_SOCK; 20:00:05 unset SSH_AGENT_PID; 20:00:05 echo Agent pid 77 killed; 20:00:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:00:05 + git semver [Pipeline] } 20:00:05 $ docker stop --time=1 02f18c62b3ed5c37ef634a9c8282aadc93c1507825d7c99ccd7a2fcb55a6b1f5 20:00:07 $ docker rm -f --volumes 02f18c62b3ed5c37ef634a9c8282aadc93c1507825d7c99ccd7a2fcb55a6b1f5 [Pipeline] // withDockerContainer [Pipeline] sh 20:00:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:00:08 Stashed 1 file(s) [Pipeline] echo 20:00:08 [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 20:00:09 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo 20:00:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:00:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:00:09 ========================================================= 20:00:09 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:00:09 ========================================================= [Pipeline] fileExists [Pipeline] sh 20:00:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:00:10 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:00:10 f56be85fc22e: Pulling fs layer 20:00:10 85791d961cd3: Pulling fs layer 20:00:10 d694b5ae8c79: Pulling fs layer 20:00:10 9f32a84ed3da: Pulling fs layer 20:00:10 4d19c01a9841: Pulling fs layer 20:00:10 9325e15d5711: Pulling fs layer 20:00:10 556b6ee489ea: Pulling fs layer 20:00:10 c5a4b2cf53e6: Pulling fs layer 20:00:10 4d19c01a9841: Waiting 20:00:10 9325e15d5711: Waiting 20:00:10 c5a4b2cf53e6: Waiting 20:00:10 556b6ee489ea: Waiting 20:00:10 85791d961cd3: Verifying Checksum 20:00:10 85791d961cd3: Download complete 20:00:10 9f32a84ed3da: Verifying Checksum 20:00:10 9f32a84ed3da: Download complete 20:00:10 4d19c01a9841: Verifying Checksum 20:00:10 4d19c01a9841: Download complete 20:00:10 f56be85fc22e: Verifying Checksum 20:00:10 f56be85fc22e: Download complete 20:00:10 9325e15d5711: Verifying Checksum 20:00:10 9325e15d5711: Download complete 20:00:10 f56be85fc22e: Pull complete 20:00:10 d694b5ae8c79: Verifying Checksum 20:00:10 d694b5ae8c79: Download complete 20:00:10 c5a4b2cf53e6: Verifying Checksum 20:00:10 c5a4b2cf53e6: Download complete 20:00:11 556b6ee489ea: Verifying Checksum 20:00:11 556b6ee489ea: Download complete 20:00:11 85791d961cd3: Pull complete 20:00:15 d694b5ae8c79: Pull complete 20:00:15 9f32a84ed3da: Pull complete 20:00:15 4d19c01a9841: Pull complete 20:00:15 9325e15d5711: Pull complete 20:00:18 556b6ee489ea: Pull complete 20:00:19 c5a4b2cf53e6: Pull complete 20:00:19 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 20:00:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:00:19 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] fileExists [Pipeline] sh 20:00:20 + + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:00:20 WORKDIR /edgex 20:00:20 COPY go.mod . 20:00:20 RUN go mod download 20:00:20 docker build -t ci-base-image-x86_64 -f - . 20:00:20 Sending build context to Docker daemon 170.8MB 20:00:20 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:00:20 ---> c4be618373d6 20:00:20 Step 2/4 : WORKDIR /edgex 20:00:23 Still waiting to schedule task 20:00:23 ‘prd-ubuntu20.04-docker-arm64-4c-16g-14750’ is offline 20:00:32 ---> Running in e3ee1e473f2c 20:00:32 Removing intermediate container e3ee1e473f2c 20:00:32 ---> a97597dc7b5c 20:00:32 Step 3/4 : COPY go.mod . 20:00:32 ---> 0ecc0ee119d2 20:00:32 Step 4/4 : RUN go mod download 20:00:33 ---> Running in 13cdb1dfb003 20:00:55 Removing intermediate container 13cdb1dfb003 20:00:55 ---> 0c5bc9e372f7 20:00:55 Successfully built 0c5bc9e372f7 20:00:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:00:55 + docker inspect -f . ci-base-image-x86_64 20:00:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:00:55 prd-ubuntu20.04-docker-8c-8g-14751 does not seem to be running inside a container 20:00:55 $ 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 ******** ci-base-image-x86_64 cat 20:00:56 $ docker top e2db0cf9cbfc7d56b8f7af4e50a757467efb467f42ecfc2b9d6e10938823b205 -eo pid,comm [Pipeline] { [Pipeline] sh 20:00:56 + go version 20:00:56 go version go1.20.2 linux/amd64 [Pipeline] } 20:00:56 $ docker stop --time=1 e2db0cf9cbfc7d56b8f7af4e50a757467efb467f42ecfc2b9d6e10938823b205 20:00:58 $ docker rm -f --volumes e2db0cf9cbfc7d56b8f7af4e50a757467efb467f42ecfc2b9d6e10938823b205 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:00:59 + docker inspect -f . ci-base-image-x86_64 20:00:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:00:59 prd-ubuntu20.04-docker-8c-8g-14751 does not seem to be running inside a container 20:00:59 $ 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 ******** ci-base-image-x86_64 cat 20:01:00 $ docker top 68932ae568f2f9d0979cd078decf7a665a926f52f17259d40e0e653e4c47a795 -eo pid,comm [Pipeline] { [Pipeline] echo 20:01:00 ========================================================= 20:01:00 [edgeXBuildGoParallel] Running Tests and Build... 20:01:00 ========================================================= [Pipeline] sh 20:01:00 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh 20:01:00 + make test 20:01:00 go test -race -coverprofile=coverage.out ./... 20:01:07 ? github.com/edgexfoundry/edgex-go [no test files] 20:01:17 # github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 20:01:17 internal/pkg/infrastructure/redis/provisionwatcher.go:42:91: pw.DiscoveredDevice.ServiceName undefined (type models.DiscoveredDevice has no field or method ServiceName) 20:01:17 internal/pkg/infrastructure/redis/provisionwatcher.go:194:91: pw.DiscoveredDevice.ServiceName undefined (type models.DiscoveredDevice has no field or method ServiceName) 20:01:20 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 20:01:20 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 20:01:21 # github.com/edgexfoundry/edgex-go/internal/core/metadata/application 20:01:21 internal/core/metadata/application/provisionwatcher.go:41:113: pw.DiscoveredDevice.ServiceName undefined (type models.DiscoveredDevice has no field or method ServiceName) 20:01:21 internal/core/metadata/application/provisionwatcher.go:134:116: pw.DiscoveredDevice.ServiceName undefined (type models.DiscoveredDevice has no field or method ServiceName) 20:01:21 internal/core/metadata/application/provisionwatcher.go:150:26: dto.DiscoveredDevice.ServiceName undefined (type dtos.UpdateDiscoveredDevice has no field or method ServiceName) 20:01:21 internal/core/metadata/application/provisionwatcher.go:150:105: pw.DiscoveredDevice.ServiceName undefined (type models.DiscoveredDevice has no field or method ServiceName) 20:01:21 internal/core/metadata/application/provisionwatcher.go:151:40: pw.DiscoveredDevice.ServiceName undefined (type models.DiscoveredDevice has no field or method ServiceName) 20:01:21 internal/core/metadata/application/provisionwatcher.go:166:116: pw.DiscoveredDevice.ServiceName undefined (type models.DiscoveredDevice has no field or method ServiceName) 20:01:22 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 20:01:22 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 20:01:23 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 20:01:23 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-auth [no test files] 20:01:23 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 20:01:23 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 20:01:24 ? github.com/edgexfoundry/edgex-go/internal [no test files] 20:01:24 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 20:01:24 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 20:01:24 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 20:01:24 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.050s coverage: 28.7% of statements 20:01:26 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.072s coverage: 98.5% of statements 20:01:27 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 20:01:27 ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] 20:01:28 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 20:01:28 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 20:01:30 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 20:01:30 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 20:01:30 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 20:01:30 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 20:01:30 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 20:01:30 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 20:01:30 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 20:01:30 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 20:01:30 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 20:01:30 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 3.105s coverage: 71.5% of statements 20:01:30 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.068s coverage: 54.0% of statements 20:01:30 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 20:01:30 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 20:01:30 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 20:01:30 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 20:01:32 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 20:01:32 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 20:01:32 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 20:01:32 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 20:01:32 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 2.317s coverage: 88.5% of statements 20:01:32 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/application [build failed] 20:01:32 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http [build failed] 20:01:32 ok github.com/edgexfoundry/edgex-go/internal/io 0.048s coverage: 72.2% of statements 20:01:32 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.054s coverage: 65.9% of statements 20:01:32 FAIL github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis [build failed] 20:01:32 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 20:01:32 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.075s coverage: 29.0% of statements 20:01:32 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.076s coverage: 42.9% of statements 20:01:33 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 20:01:33 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 20:01:33 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 20:01:33 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 20:01:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.091s coverage: 82.9% of statements 20:01:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.095s coverage: 94.1% of statements 20:01:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.096s coverage: 96.3% of statements 20:01:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.056s coverage: 87.5% of statements 20:01:34 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 20:01:34 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 20:01:34 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 20:01:34 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 20:01:35 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 20:01:35 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 20:01:35 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 20:01:35 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 20:01:35 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 20:01:35 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 20:01:36 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 20:01:37 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] 20:01:37 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 20:01:38 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 20:01:38 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 20:01:39 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth [no test files] 20:01:39 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] 20:01:39 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] 20:01:41 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 20:01:41 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 20:01:41 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 20:01:42 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 20:01:42 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 20:01:42 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 20:01:43 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 20:01:43 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 20:01:43 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 20:01:43 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 20:01:45 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 20:01:45 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 20:01:45 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 20:01:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.062s coverage: 94.4% of statements 20:01:45 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 20:01:45 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 20:01:46 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 20:01:46 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 20:01:58 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 23.289s coverage: 79.9% of statements 20:01:58 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.069s coverage: 92.9% of statements 20:01:58 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.024s coverage: 64.4% of statements 20:01:58 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.065s coverage: 62.3% of statements 20:01:58 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.067s coverage: 87.2% of statements 20:01:58 ok github.com/edgexfoundry/edgex-go/internal/security/common 0.053s coverage: 20.0% of statements 20:01:58 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.046s coverage: 100.0% of statements 20:01:58 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.100s coverage: 81.8% of statements 20:01:58 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.107s coverage: 82.1% of statements 20:01:58 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.077s coverage: 86.0% of statements 20:01:58 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.181s coverage: 63.1% of statements 20:01:58 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.060s coverage: 100.0% of statements 20:01:58 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.037s coverage: 89.4% of statements 20:01:58 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.032s coverage: 100.0% of statements 20:01:58 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.026s coverage: 73.7% of statements 20:01:58 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.033s coverage: 100.0% of statements 20:01:58 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.196s coverage: 38.4% of statements 20:01:58 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.058s coverage: 89.5% of statements 20:01:58 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.048s coverage: 84.8% of statements 20:01:58 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.069s coverage: 17.7% of statements 20:01:58 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.122s coverage: 92.3% of statements 20:01:58 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.059s coverage: 61.5% of statements 20:01:58 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.091s coverage: 97.7% of statements 20:01:58 FAIL 20:01:58 make: *** [Makefile:148: unittest] Error 1 [Pipeline] } 20:01:58 $ docker stop --time=1 68932ae568f2f9d0979cd078decf7a665a926f52f17259d40e0e653e4c47a795 20:02:00 $ docker rm -f --volumes 68932ae568f2f9d0979cd078decf7a665a926f52f17259d40e0e653e4c47a795 [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] } 20:02:01 Failed in branch amd64 20:02:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14754 in /w/workspace/edgexfoundry_edgex-go_PR-4562 [Pipeline] { [Pipeline] ws 20:02:04 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout 20:02:04 The recommended git tool is: git 20:02:10 using credential edgex-jenkins-ssh 20:02:10 Cloning the remote Git repository 20:02:10 Cloning repository git@github.com:edgexfoundry/edgex-go.git 20:02:10 > git init /w/workspace/edgex-go/1 # timeout=10 20:02:10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 20:02:10 > git --version # timeout=10 20:02:10 > git --version # 'git version 2.25.1' 20:02:10 using GIT_SSH to set credentials SSH Credentials for GitHub 20:02:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:02:27 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 20:02:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:02:29 Merging remotes/origin/main commit 079d219be26533084879877c2803b7bbbdfcd758 into PR head commit 031fd595800b20ddb7f689dcf40632e3090f265f 20:02:29 Merge succeeded, producing 031fd595800b20ddb7f689dcf40632e3090f265f 20:02:29 Checking out Revision 031fd595800b20ddb7f689dcf40632e3090f265f (PR-4562) 20:02:30 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" 20:02:30 > git --version # timeout=10 20:02:30 > git --version # 'git version 2.25.1' 20:02:30 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 20:02:28 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 20:02:28 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 20:02:28 using GIT_SSH to set credentials SSH Credentials for GitHub 20:02:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4562/head:refs/remotes/origin/PR-4562 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:02:29 > git config core.sparsecheckout # timeout=10 20:02:29 > git checkout -f 031fd595800b20ddb7f689dcf40632e3090f265f # timeout=10 20:02:29 > git remote # timeout=10 20:02:29 > git config --get remote.origin.url # timeout=10 20:02:29 using GIT_SSH to set credentials SSH Credentials for GitHub 20:02:29 > git merge 079d219be26533084879877c2803b7bbbdfcd758 # timeout=10 20:02:29 > git rev-parse HEAD^{commit} # timeout=10 20:02:29 > git config core.sparsecheckout # timeout=10 20:02:29 > git checkout -f 031fd595800b20ddb7f689dcf40632e3090f265f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:02:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:02:31 % Total % Received % Xferd Average Speed Time Time Time Current 20:02:31 Dload Upload Total Spent Left Speed 20:02:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 97335 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 96598 [Pipeline] sh 20:02:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:02:32 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 20:02:32 20:02:32 { 20:02:32 "registry-mirrors": [ 20:02:32 "https://nexus3.edgexfoundry.org:10001" 20:02:32 ], 20:02:32 "bip": "10.250.0.254/24", 20:02:32 "hosts": [ 20:02:32 "tcp://0.0.0.0:5555", 20:02:32 "unix:///var/run/docker.sock" 20:02:32 ], 20:02:32 "mtu": 1458, 20:02:32 "selinux-enabled": true, 20:02:32 "seccomp-profile": "/etc/docker/seccomp.json" 20:02:32 } [Pipeline] sh 20:02:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:02:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:02:51 provisioning config files... 20:02:51 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config10938594834798106710tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:02:52 ---> docker-login.sh 20:02:52 nexus3.edgexfoundry.org:10001 20:02:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:52 Configure a credential helper to remove this warning. See 20:02:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:52 20:02:52 Login Succeeded 20:02:52 nexus3.edgexfoundry.org:10002 20:02:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:53 Configure a credential helper to remove this warning. See 20:02:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:53 20:02:53 Login Succeeded 20:02:53 nexus3.edgexfoundry.org:10003 20:02:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:53 Configure a credential helper to remove this warning. See 20:02:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:53 20:02:53 Login Succeeded 20:02:53 nexus3.edgexfoundry.org:10004 20:02:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:54 Configure a credential helper to remove this warning. See 20:02:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:54 20:02:54 Login Succeeded 20:02:54 docker.io 20:02:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:54 Configure a credential helper to remove this warning. See 20:02:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:54 20:02:54 Login Succeeded 20:02:54 ---> docker-login.sh ends [Pipeline] } 20:02:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh 20:02:55 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo 20:02:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:02:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:02:55 ========================================================= 20:02:55 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:02:55 ========================================================= [Pipeline] fileExists [Pipeline] sh 20:02:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:02:56 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:02:56 c41833b44d91: Pulling fs layer 20:02:56 ed15518f5707: Pulling fs layer 20:02:56 feae8fd75edb: Pulling fs layer 20:02:56 242c74f7c9fa: Pulling fs layer 20:02:56 3cdef696dda3: Pulling fs layer 20:02:56 2ced38df9373: Pulling fs layer 20:02:56 58f1dce35555: Pulling fs layer 20:02:56 3cdef696dda3: Waiting 20:02:56 2ced38df9373: Waiting 20:02:56 58f1dce35555: Waiting 20:02:56 242c74f7c9fa: Waiting 20:02:56 ed15518f5707: Verifying Checksum 20:02:56 ed15518f5707: Download complete 20:02:56 242c74f7c9fa: Verifying Checksum 20:02:56 242c74f7c9fa: Download complete 20:02:56 3cdef696dda3: Verifying Checksum 20:02:56 3cdef696dda3: Download complete 20:02:56 c41833b44d91: Verifying Checksum 20:02:56 c41833b44d91: Download complete 20:02:57 c41833b44d91: Pull complete 20:02:57 58f1dce35555: Verifying Checksum 20:02:57 58f1dce35555: Download complete 20:02:57 ed15518f5707: Pull complete 20:02:58 feae8fd75edb: Verifying Checksum 20:02:58 feae8fd75edb: Download complete 20:02:59 2ced38df9373: Verifying Checksum 20:02:59 2ced38df9373: Download complete 20:03:11 feae8fd75edb: Pull complete 20:03:11 242c74f7c9fa: Pull complete 20:03:11 3cdef696dda3: Pull complete 20:03:16 2ced38df9373: Pull complete 20:03:19 58f1dce35555: Pull complete 20:03:19 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 20:03:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:03:19 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] fileExists [Pipeline] sh 20:03:19 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:03:19 WORKDIR /edgex 20:03:19 COPY go.mod . 20:03:19 RUN go mod download 20:03:19 + docker build -t ci-base-image-arm64 -f - . 20:03:20 Sending build context to Docker daemon 2.931MB 20:03:20 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:03:20 ---> fadd8f120f05 20:03:20 Step 2/4 : WORKDIR /edgex 20:03:22 ---> Running in cebe7a6ce9d4 20:03:22 Removing intermediate container cebe7a6ce9d4 20:03:22 ---> b2942502cc74 20:03:22 Step 3/4 : COPY go.mod . 20:03:23 ---> f93f1e0041b7 20:03:23 Step 4/4 : RUN go mod download 20:03:23 ---> Running in 8277309edd88 20:03:55 Removing intermediate container 8277309edd88 20:03:55 ---> 989e6327cdbd 20:03:55 Successfully built 989e6327cdbd 20:03:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:03:56 + docker inspect -f . ci-base-image-arm64 20:03:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:03:56 prd-ubuntu20.04-docker-arm64-4c-16g-14754 does not seem to be running inside a container 20:03:56 $ 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 ******** ci-base-image-arm64 cat 20:04:00 $ docker top 690f66fba47550bf7a734ce05f6afcd799ddedd498adcda34a2cba98b54244f6 -eo pid,comm [Pipeline] { [Pipeline] sh 20:04:01 + go version 20:04:01 go version go1.20.2 linux/arm64 [Pipeline] } 20:04:01 $ docker stop --time=1 690f66fba47550bf7a734ce05f6afcd799ddedd498adcda34a2cba98b54244f6 20:04:03 $ docker rm -f --volumes 690f66fba47550bf7a734ce05f6afcd799ddedd498adcda34a2cba98b54244f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:04 + docker inspect -f . ci-base-image-arm64 20:04:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:04:04 prd-ubuntu20.04-docker-arm64-4c-16g-14754 does not seem to be running inside a container 20:04:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/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 ******** ci-base-image-arm64 cat 20:04:05 $ docker top 367672a3da7749b50985a1ae453e4441f3246526bacd86bd25a4615ad05554e6 -eo pid,comm [Pipeline] { [Pipeline] echo 20:04:06 ========================================================= 20:04:06 [edgeXBuildGoParallel] Running Tests and Build... 20:04:06 ========================================================= [Pipeline] sh 20:04:06 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh 20:04:07 + make test 20:04:07 go test -race -coverprofile=coverage.out ./... 20:04:54 ? github.com/edgexfoundry/edgex-go [no test files] 20:06:46 # github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 20:06:46 internal/pkg/infrastructure/redis/provisionwatcher.go:42:91: pw.DiscoveredDevice.ServiceName undefined (type models.DiscoveredDevice has no field or method ServiceName) 20:06:46 internal/pkg/infrastructure/redis/provisionwatcher.go:194:91: pw.DiscoveredDevice.ServiceName undefined (type models.DiscoveredDevice has no field or method ServiceName) 20:06:46 # github.com/edgexfoundry/edgex-go/internal/core/metadata/application 20:06:46 internal/core/metadata/application/provisionwatcher.go:41:113: pw.DiscoveredDevice.ServiceName undefined (type models.DiscoveredDevice has no field or method ServiceName) 20:06:46 internal/core/metadata/application/provisionwatcher.go:134:116: pw.DiscoveredDevice.ServiceName undefined (type models.DiscoveredDevice has no field or method ServiceName) 20:06:46 internal/core/metadata/application/provisionwatcher.go:150:26: dto.DiscoveredDevice.ServiceName undefined (type dtos.UpdateDiscoveredDevice has no field or method ServiceName) 20:06:46 internal/core/metadata/application/provisionwatcher.go:150:105: pw.DiscoveredDevice.ServiceName undefined (type models.DiscoveredDevice has no field or method ServiceName) 20:06:46 internal/core/metadata/application/provisionwatcher.go:151:40: pw.DiscoveredDevice.ServiceName undefined (type models.DiscoveredDevice has no field or method ServiceName) 20:06:46 internal/core/metadata/application/provisionwatcher.go:166:116: pw.DiscoveredDevice.ServiceName undefined (type models.DiscoveredDevice has no field or method ServiceName) 20:06:48 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 20:06:48 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 20:06:53 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 20:06:55 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 20:06:55 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 20:06:55 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-auth [no test files] 20:06:55 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 20:06:57 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 20:06:58 ? github.com/edgexfoundry/edgex-go/internal [no test files] 20:06:58 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 20:07:13 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 20:07:13 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 20:07:13 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.572s coverage: 28.7% of statements 20:07:23 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.326s coverage: 98.5% of statements 20:07:30 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 20:07:30 ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] 20:07:34 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 3.852s coverage: 71.5% of statements 20:07:38 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 20:07:38 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 20:07:38 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.411s coverage: 54.0% of statements 20:07:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 20:07:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 20:07:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 20:07:42 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 20:07:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 20:07:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 20:07:45 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 20:07:45 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 20:07:45 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 20:07:47 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 20:07:47 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 20:07:47 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 20:07:47 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 20:07:56 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 20:07:56 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 20:07:56 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 20:07:56 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 20:07:57 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 14.458s coverage: 88.5% of statements 20:07:57 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/application [build failed] 20:07:57 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http [build failed] 20:07:57 ok github.com/edgexfoundry/edgex-go/internal/io 0.227s coverage: 72.2% of statements 20:07:57 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.384s coverage: 65.9% of statements 20:07:57 FAIL github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis [build failed] 20:07:59 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 20:07:59 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.302s coverage: 29.0% of statements 20:08:01 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.454s coverage: 42.9% of statements 20:08:01 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.349s coverage: 82.9% of statements 20:08:02 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.241s coverage: 94.1% of statements 20:08:02 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.288s coverage: 96.3% of statements 20:08:06 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.251s coverage: 87.5% of statements 20:08:09 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 20:08:09 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 20:08:09 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 20:08:09 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 20:08:12 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 20:08:12 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 20:08:12 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 20:08:12 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 20:08:18 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.261s coverage: 94.4% of statements 20:08:18 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 20:08:18 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 20:08:18 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 20:08:18 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 20:08:24 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 20:08:24 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 20:08:26 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 20:08:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 24.084s coverage: 79.9% of statements 20:08:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.297s coverage: 92.9% of statements 20:08:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.081s coverage: 64.4% of statements 20:08:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.213s coverage: 62.3% of statements 20:08:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.207s coverage: 87.2% of statements 20:08:34 ok github.com/edgexfoundry/edgex-go/internal/security/common 0.175s coverage: 20.0% of statements 20:08:34 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.185s coverage: 100.0% of statements 20:08:34 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.464s coverage: 81.8% of statements 20:08:35 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] 20:08:35 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 20:08:35 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.520s coverage: 82.1% of statements 20:08:35 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.280s coverage: 86.0% of statements 20:08:42 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 20:08:42 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 20:08:43 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.845s coverage: 63.1% of statements 20:08:43 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.375s coverage: 100.0% of statements 20:08:45 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.143s coverage: 89.4% of statements 20:08:45 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.095s coverage: 100.0% of statements 20:08:45 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.101s coverage: 73.7% of statements 20:08:46 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth [no test files] 20:08:46 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] 20:08:46 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] 20:08:46 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.078s coverage: 100.0% of statements 20:08:56 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 20:08:56 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 20:08:56 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 20:08:56 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 1.154s coverage: 38.4% of statements 20:08:56 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.299s coverage: 89.5% of statements 20:09:03 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 20:09:03 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 20:09:03 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 20:09:03 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.256s coverage: 84.8% of statements 20:09:09 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 20:09:09 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 20:09:09 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 20:09:09 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 20:09:16 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.300s coverage: 17.7% of statements 20:09:16 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 20:09:16 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 20:09:16 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 20:09:17 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.614s coverage: 92.3% of statements 20:09:21 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 20:09:21 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 20:09:21 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.289s coverage: 61.5% of statements 20:09:23 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 20:09:23 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 20:09:24 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.404s coverage: 97.7% of statements 20:09:24 FAIL 20:09:25 make: *** [Makefile:148: unittest] Error 1 [Pipeline] } 20:09:25 $ docker stop --time=1 367672a3da7749b50985a1ae453e4441f3246526bacd86bd25a4615ad05554e6 20:09:27 $ docker rm -f --volumes 367672a3da7749b50985a1ae453e4441f3246526bacd86bd25a4615ad05554e6 [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 20:09:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:09:29 20:09:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:09:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:09:29 arm64: Pulling from edgex-lftools-log-publisher 20:09:29 8998bd30e6a1: Pulling fs layer 20:09:29 04944245beec: Pulling fs layer 20:09:29 699f458cf7ca: Pulling fs layer 20:09:29 765212b225bb: Pulling fs layer 20:09:29 f23df028b6ca: Pulling fs layer 20:09:29 d65c8cfc05b1: Pulling fs layer 20:09:29 2437ff75d9bd: Pulling fs layer 20:09:29 765212b225bb: Waiting 20:09:29 2437ff75d9bd: Waiting 20:09:29 f23df028b6ca: Waiting 20:09:29 d65c8cfc05b1: Waiting 20:09:29 04944245beec: Verifying Checksum 20:09:29 04944245beec: Download complete 20:09:29 765212b225bb: Verifying Checksum 20:09:29 765212b225bb: Download complete 20:09:30 f23df028b6ca: Verifying Checksum 20:09:30 f23df028b6ca: Download complete 20:09:30 d65c8cfc05b1: Verifying Checksum 20:09:30 d65c8cfc05b1: Download complete 20:09:30 699f458cf7ca: Verifying Checksum 20:09:30 699f458cf7ca: Download complete 20:09:30 8998bd30e6a1: Verifying Checksum 20:09:30 8998bd30e6a1: Download complete 20:09:32 2437ff75d9bd: Verifying Checksum 20:09:32 2437ff75d9bd: Download complete 20:09:34 8998bd30e6a1: Pull complete 20:09:35 04944245beec: Pull complete 20:09:36 699f458cf7ca: Pull complete 20:09:36 765212b225bb: Pull complete 20:09:37 f23df028b6ca: Pull complete 20:09:37 d65c8cfc05b1: Pull complete 20:09:52 2437ff75d9bd: Pull complete 20:09:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:09:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:09:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:09:52 prd-ubuntu20.04-docker-arm64-4c-16g-14754 does not seem to be running inside a container 20:09:52 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:09:55 $ docker top 1b5fd874082fee0b74cefecac6aa0ec3d17f65d9afaaef893c0c7569d3868e38 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:09:56 ---> job-cost.sh 20:09:56 lf-activate-venv: SKIPPING 20:09:56 INFO: No Stack... 20:09:56 INFO: Retrieving Pricing Info for: v3-standard-4 20:09:57 INFO: Archiving Costs [Pipeline] sh 20:09:58 + cat+ /w/workspace/edgex-go/1/archives/cost.csv 20:09:58 cut -d, -f6 [Pipeline] lock 20:09:58 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4562-1-stack-cost] 20:09:58 Resource [jenkins-edgexfoundry-edgex-go-PR-4562-1-stack-cost] did not exist. Created. 20:09:58 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4562-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:09:59 + echo total: 0.10999999940395355 [Pipeline] stash 20:09:59 Stashed 1 file(s) [Pipeline] } 20:09:59 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4562-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:10:00 $ docker stop --time=1 1b5fd874082fee0b74cefecac6aa0ec3d17f65d9afaaef893c0c7569d3868e38 20:10:01 $ docker rm -f --volumes 1b5fd874082fee0b74cefecac6aa0ec3d17f65d9afaaef893c0c7569d3868e38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:10:02 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 20:10:04 + [ -d /w/workspace/edgex-go/1/archives ] [Pipeline] libraryResource [Pipeline] sh 20:10:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:10:05 ---> package-listing.sh 20:10:05 ++ facter osfamily 20:10:05 ++ tr '[:upper:]' '[:lower:]' 20:10:05 + OS_FAMILY=debian 20:10:05 + workspace=/w/workspace/edgex-go/1 20:10:05 + START_PACKAGES=/tmp/packages_start.txt 20:10:05 + END_PACKAGES=/tmp/packages_end.txt 20:10:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:10:05 + PACKAGES=/tmp/packages_start.txt 20:10:05 + '[' /w/workspace/edgex-go/1 ']' 20:10:05 + PACKAGES=/tmp/packages_end.txt 20:10:05 + case "${OS_FAMILY}" in 20:10:05 + dpkg -l 20:10:05 + grep '^ii' 20:10:05 + '[' -f /tmp/packages_start.txt ']' 20:10:05 + '[' -f /tmp/packages_end.txt ']' 20:10:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:10:05 + '[' /w/workspace/edgex-go/1 ']' 20:10:05 + mkdir -p /w/workspace/edgex-go/1/archives/ 20:10:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 20:10:05 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 20:10:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:10:06 20:10:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:10:06 latest: Pulling from edgex-lftools-log-publisher 20:10:06 5eb5b503b376: Pulling fs layer 20:10:06 5c69ac0246d0: Pulling fs layer 20:10:06 ec43610c2a17: Pulling fs layer 20:10:06 3a2ae6a8a46f: Pulling fs layer 20:10:06 33b1e0a273af: Pulling fs layer 20:10:06 5d3b04190fa2: Pulling fs layer 20:10:06 2f39f015ded8: Pulling fs layer 20:10:06 33b1e0a273af: Waiting 20:10:06 5d3b04190fa2: Waiting 20:10:06 2f39f015ded8: Waiting 20:10:06 3a2ae6a8a46f: Waiting 20:10:06 5c69ac0246d0: Verifying Checksum 20:10:06 5c69ac0246d0: Download complete 20:10:06 3a2ae6a8a46f: Verifying Checksum 20:10:06 3a2ae6a8a46f: Download complete 20:10:06 33b1e0a273af: Verifying Checksum 20:10:06 33b1e0a273af: Download complete 20:10:06 ec43610c2a17: Verifying Checksum 20:10:06 ec43610c2a17: Download complete 20:10:06 5d3b04190fa2: Verifying Checksum 20:10:06 5d3b04190fa2: Download complete 20:10:07 5eb5b503b376: Verifying Checksum 20:10:07 5eb5b503b376: Download complete 20:10:07 2f39f015ded8: Download complete 20:10:08 5eb5b503b376: Pull complete 20:10:08 5c69ac0246d0: Pull complete 20:10:08 ec43610c2a17: Pull complete 20:10:09 3a2ae6a8a46f: Pull complete 20:10:09 33b1e0a273af: Pull complete 20:10:09 5d3b04190fa2: Pull complete 20:10:13 2f39f015ded8: Pull complete 20:10:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:10:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:10:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:10:13 prd-ubuntu20.04-docker-8c-8g-14751 does not seem to be running inside a container 20:10:13 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:10:18 $ docker top 526a260dfa8d92f91f1fbc3cc32b0c198588fafec3a3bbba158686ce1a106f51 -eo pid,comm [Pipeline] { [Pipeline] sh 20:10:18 + touch /tmp/pre-build-complete [Pipeline] sh 20:10:18 + mkdir -p /var/log/sysstat [Pipeline] sh 20:10:19 + ls /var/log/sa-host 20:10:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:10:19 provisioning config files... 20:10:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config975358417867829975tmp [Pipeline] { [Pipeline] echo 20:10:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:10:19 ---> create-netrc.sh [Pipeline] } 20:10:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:10:20 ---> python-tools-install.sh [Pipeline] echo 20:10:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:10:20 ---> sudo-logs.sh 20:10:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:10:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:10:20 ---> job-cost.sh 20:10:20 lf-activate-venv: SKIPPING 20:10:20 DEBUG: total: 0.10999999940395355 20:10:20 INFO: Retrieving Stack Cost... 20:10:21 INFO: Retrieving Pricing Info for: v3-standard-8 20:10:21 INFO: Archiving Costs [Pipeline] echo 20:10:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:10:22 ---> logs-deploy.sh 20:10:22 lf-activate-venv: SKIPPING 20:10:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4562/1 20:10:22 INFO: archiving workspace using pattern(s): 20:10:23 Archives upload complete. 20:10:23 INFO: archiving logs to Nexus 20:10:24 ---> uname -a: 20:10:24 Linux prd-ubuntu20-04-docker-8c-8g-14751 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 20:10:24 20:10:24