Pull request #4340 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 672b8e560a6ce2bfa0c6c69df3d3f9bcd93b44bb+966ddbcdfe08adc100c05000828e7ee1aafc1855 (383295cd67b564f8020a7df70852286b407bffcd) 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-ssh17613850811380519072.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh15160612943678192313.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh 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-4340/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-4340/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8124587003266333792.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-4340/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17413627126368053049.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh5704102237418388036.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-4340/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-4340/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9662654681174961065.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2], buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: DOCKER_IMAGE_NAME_SUFFIX: DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5246 in /w/workspace/edgexfoundry_edgex-go_PR-4340 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/1 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 966ddbcdfe08adc100c05000828e7ee1aafc1855 into PR head commit 672b8e560a6ce2bfa0c6c69df3d3f9bcd93b44bb Merge succeeded, producing 672b8e560a6ce2bfa0c6c69df3d3f9bcd93b44bb Checking out Revision 672b8e560a6ce2bfa0c6c69df3d3f9bcd93b44bb (PR-4340) Commit message: "build(deps): Bump golang.org/x/crypto from 0.5.0 to 0.6.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:01:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:01:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:01:18 ========================================================= 20:01:18 EdgeX Global Pipelines Version Info 20:01:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4340/head:refs/remotes/origin/PR-4340 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 672b8e560a6ce2bfa0c6c69df3d3f9bcd93b44bb # 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 966ddbcdfe08adc100c05000828e7ee1aafc1855 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 672b8e560a6ce2bfa0c6c69df3d3f9bcd93b44bb # timeout=10 20:01:19 ------------------- 20:01:19 stable info: 20:01:19 ------------------- 20:01:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:01:19 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 20:01:19 Message: update stable to v1.0.244 20:01:19 ------------------- 20:01:19 experimental info: 20:01:19 ------------------- 20:01:19 Commited By: **** collab-it+edgex@linuxfoundation.org 20:01:19 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 20:01:19 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:01:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 20:01:20 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 20:01:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:01:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:01:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:01:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:01:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:01:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 20:01:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 20:01:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 20:01:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:01:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:01:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:01:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:01:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:01:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:01:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:01:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:01:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:01:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 20:01:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:01:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:01:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:01:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4340 [Pipeline] echo 20:01:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4340 [Pipeline] echo 20:01:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4340 [Pipeline] echo 20:01:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 672b8e560a6ce2bfa0c6c69df3d3f9bcd93b44bb [Pipeline] echo 20:01:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 672b8e5 [Pipeline] echo 20:01:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:01:21 provisioning config files... 20:01:21 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config14360320319727235193tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:01:21 ---> docker-login.sh 20:01:21 nexus3.edgexfoundry.org:10001 20:01:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:01:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:01:22 Configure a credential helper to remove this warning. See 20:01:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:01:22 20:01:22 Login Succeeded 20:01:22 nexus3.edgexfoundry.org:10002 20:01:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:01:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:01:22 Configure a credential helper to remove this warning. See 20:01:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:01:22 20:01:22 Login Succeeded 20:01:22 nexus3.edgexfoundry.org:10003 20:01:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:01:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:01:22 Configure a credential helper to remove this warning. See 20:01:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:01:22 20:01:22 Login Succeeded 20:01:22 nexus3.edgexfoundry.org:10004 20:01:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:01:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:01:22 Configure a credential helper to remove this warning. See 20:01:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:01:22 20:01:22 Login Succeeded 20:01:22 docker.io 20:01:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:01:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:01:22 Configure a credential helper to remove this warning. See 20:01:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:01:22 20:01:22 Login Succeeded 20:01:22 ---> docker-login.sh ends [Pipeline] } 20:01:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:01:23 + ls cmd/core-command/Dockerfile cmd/core-common-config-bootstrapper/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/security-spiffe-token-provider/Dockerfile cmd/security-spire-agent/Dockerfile cmd/security-spire-config/Dockerfile cmd/security-spire-server/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile 20:01:23 + dirname cmd/core-command/Dockerfile 20:01:23 + cut -d/ -f2 20:01:23 + echo core-command,cmd/core-command/Dockerfile 20:01:23 + + dirname cmd/core-common-config-bootstrapper/Dockerfile 20:01:23 cut -d/ -f2 20:01:23 + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile 20:01:23 + dirname cmd/core-data/Dockerfile 20:01:23 + cut -d/ -f2 20:01:23 + echo core-data,cmd/core-data/Dockerfile 20:01:23 + dirname cmd/core-metadata/Dockerfile 20:01:23 + cut -d/ -f2 20:01:23 + echo core-metadata,cmd/core-metadata/Dockerfile 20:01:23 + dirname cmd/security-bootstrapper/Dockerfile 20:01:23 + cut -d/ -f2 20:01:23 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 20:01:23 + dirname cmd/security-proxy-setup/Dockerfile 20:01:23 + cut -d/ -f2 20:01:23 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 20:01:23 + + dirname cmd/security-secretstore-setup/Dockerfile 20:01:23 cut -d/ -f2 20:01:23 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 20:01:23 + dirname cmd/security-spiffe-token-provider/Dockerfile 20:01:23 + cut -d/ -f2 20:01:23 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 20:01:23 + + dirname cmd/security-spire-agent/Dockerfile 20:01:23 cut -d/ -f2 20:01:23 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 20:01:23 + + dirnamecut cmd/security-spire-config/Dockerfile -d/ 20:01:23 -f2 20:01:23 + echo security-spire-config,cmd/security-spire-config/Dockerfile 20:01:23 + cut -d/ -f2 20:01:23 + dirname cmd/security-spire-server/Dockerfile 20:01:23 + echo security-spire-server,cmd/security-spire-server/Dockerfile 20:01:23 + dirname cmd/support-notifications/Dockerfile 20:01:23 + cut -d/ -f2 20:01:23 + echo support-notifications,cmd/support-notifications/Dockerfile 20:01:23 + + dirname cmd/support-scheduler/Dockerfile 20:01:23 cut -d/ -f2 20:01:23 + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo 20:01:23 Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/Dockerfile], [image:core-common-config-bootstrapper, dockerfile:cmd/core-common-config-bootstrapper/Dockerfile], [image:core-data, dockerfile:cmd/core-data/Dockerfile], [image:core-metadata, dockerfile:cmd/core-metadata/Dockerfile], [image:security-bootstrapper, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:security-proxy-setup, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:security-secretstore-setup, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:security-spiffe-token-provider, dockerfile:cmd/security-spiffe-token-provider/Dockerfile], [image:security-spire-agent, dockerfile:cmd/security-spire-agent/Dockerfile], [image:security-spire-config, dockerfile:cmd/security-spire-config/Dockerfile], [image:security-spire-server, dockerfile:cmd/security-spire-server/Dockerfile], [image:support-notifications, dockerfile:cmd/support-notifications/Dockerfile], [image:support-scheduler, dockerfile:cmd/support-scheduler/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:01:23 + git rev-list -1 --merges 672b8e560a6ce2bfa0c6c69df3d3f9bcd93b44bb~1..672b8e560a6ce2bfa0c6c69df3d3f9bcd93b44bb [Pipeline] echo 20:01:23 -----------> git rev-list -1 --merges 672b8e560a6ce2bfa0c6c69df3d3f9bcd93b44bb~1..672b8e560a6ce2bfa0c6c69df3d3f9bcd93b44bb 672b8e560a6ce2bfa0c6c69df3d3f9bcd93b44bb [false] [Pipeline] sh 20:01:24 + git log --format=format:%s -1 672b8e560a6ce2bfa0c6c69df3d3f9bcd93b44bb [Pipeline] echo 20:01:24 ========================================================= 20:01:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:01:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 20:01:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:01:24 + grep -v github /etc/ssh/ssh_known_hosts 20:01:24 + [ -e /tmp/ssh_known_hosts ] 20:01:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:01:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:01:24 + sudo tee -a /etc/ssh/ssh_known_hosts 20:01:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:01:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:01:25 20:01:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:01:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:01:25 0.1.4: Pulling from edgex-devops/py-git-semver 20:01:25 b85a868b505f: Pulling fs layer 20:01:25 e2be974225ed: Pulling fs layer 20:01:25 339a4e72a1f5: Pulling fs layer 20:01:25 988bab9f4d93: Pulling fs layer 20:01:25 1469e6f7b9e6: Pulling fs layer 20:01:25 eaf3925da568: Pulling fs layer 20:01:25 bab4dde63d76: Pulling fs layer 20:01:25 bde34c3a00c8: Pulling fs layer 20:01:25 b352a97aabf1: Pulling fs layer 20:01:25 4872d77fe225: Pulling fs layer 20:01:25 5851b861e8e6: Pulling fs layer 20:01:25 bab4dde63d76: Waiting 20:01:25 bde34c3a00c8: Waiting 20:01:25 b352a97aabf1: Waiting 20:01:25 4872d77fe225: Waiting 20:01:25 5851b861e8e6: Waiting 20:01:25 1469e6f7b9e6: Waiting 20:01:25 988bab9f4d93: Waiting 20:01:25 eaf3925da568: Waiting 20:01:25 e2be974225ed: Verifying Checksum 20:01:25 e2be974225ed: Download complete 20:01:25 988bab9f4d93: Download complete 20:01:25 1469e6f7b9e6: Verifying Checksum 20:01:25 1469e6f7b9e6: Download complete 20:01:25 eaf3925da568: Verifying Checksum 20:01:25 eaf3925da568: Download complete 20:01:26 339a4e72a1f5: Verifying Checksum 20:01:26 339a4e72a1f5: Download complete 20:01:26 bde34c3a00c8: Verifying Checksum 20:01:26 bde34c3a00c8: Download complete 20:01:26 b352a97aabf1: Download complete 20:01:26 b85a868b505f: Verifying Checksum 20:01:26 b85a868b505f: Download complete 20:01:26 4872d77fe225: Download complete 20:01:26 5851b861e8e6: Verifying Checksum 20:01:26 5851b861e8e6: Download complete 20:01:26 bab4dde63d76: Verifying Checksum 20:01:26 bab4dde63d76: Download complete 20:01:27 b85a868b505f: Pull complete 20:01:27 e2be974225ed: Pull complete 20:01:28 339a4e72a1f5: Pull complete 20:01:28 988bab9f4d93: Pull complete 20:01:28 1469e6f7b9e6: Pull complete 20:01:28 eaf3925da568: Pull complete 20:01:30 bab4dde63d76: Pull complete 20:01:30 bde34c3a00c8: Pull complete 20:01:30 b352a97aabf1: Pull complete 20:01:30 4872d77fe225: Pull complete 20:01:30 5851b861e8e6: Pull complete 20:01:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:01:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:01:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:01:31 prd-ubuntu20.04-docker-8c-8g-5246 does not seem to be running inside a container 20:01:31 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:01:32 $ docker top cf7ab9c4d21665366b86bf7c9f9defd4eef99db016fdcc2e2fe6c57f12ac28c0 -eo pid,comm 20:01:32 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). 20:01:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:01:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:01:32 [ssh-agent] Looking for ssh-agent implementation... 20:01:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:01:32 $ docker exec cf7ab9c4d21665366b86bf7c9f9defd4eef99db016fdcc2e2fe6c57f12ac28c0 ssh-agent 20:01:32 SSH_AUTH_SOCK=/tmp/ssh-zsGBY8btwIk7/agent.32 20:01:32 SSH_AGENT_PID=38 20:01:32 Running ssh-add (command line suppressed) 20:01:32 Identity added: /w/workspace/edgex-go/1@tmp/private_key_15711061503039837291.key (/w/workspace/edgex-go/1@tmp/private_key_15711061503039837291.key) 20:01:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:01:33 + git tag --points-at HEAD [Pipeline] } 20:01:33 $ docker exec --env ******** --env ******** cf7ab9c4d21665366b86bf7c9f9defd4eef99db016fdcc2e2fe6c57f12ac28c0 ssh-agent -k 20:01:33 unset SSH_AUTH_SOCK; 20:01:33 unset SSH_AGENT_PID; 20:01:33 echo Agent pid 38 killed; 20:01:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:01:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:01:33 [ssh-agent] Looking for ssh-agent implementation... 20:01:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:01:33 $ docker exec cf7ab9c4d21665366b86bf7c9f9defd4eef99db016fdcc2e2fe6c57f12ac28c0 ssh-agent 20:01:33 SSH_AUTH_SOCK=/tmp/ssh-R1MlxcaREmkH/agent.71 20:01:33 SSH_AGENT_PID=78 20:01:33 Running ssh-add (command line suppressed) 20:01:33 Identity added: /w/workspace/edgex-go/1@tmp/private_key_11852867222083360076.key (/w/workspace/edgex-go/1@tmp/private_key_11852867222083360076.key) 20:01:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:01:34 + git semver init 20:01:34 2023-02-09 20:01:34,370 [run_init] DEBUG init version:0.0.0 force:False 20:01:34 2023-02-09 20:01:34,371 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/1/.semver 20:01:34 2023-02-09 20:01:34,372 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/1/.semver 20:01:34 2023-02-09 20:01:34,372 [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:02:30 2023-02-09 20:02:22,973 [append_file] DEBUG append to file:/w/workspace/edgex-go/1/.git/info/exclude 20:02:30 2023-02-09 20:02:22,974 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/1/.semver/PR-4340 with force:False 20:02:30 2023-02-09 20:02:22,974 [write_file] DEBUG write to file:/w/workspace/edgex-go/1/.semver/PR-4340 20:02:30 2023-02-09 20:02:22,978 [execute] INFO git cat-file --batch-check 20:02:30 2023-02-09 20:02:22,979 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 20:02:30 2023-02-09 20:02:22,985 [execute] INFO git cat-file --batch 20:02:30 2023-02-09 20:02:22,985 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 20:02:30 2023-02-09 20:02:22,991 [read_version] DEBUG read version from /w/workspace/edgex-go/1/.semver/PR-4340 20:02:30 0.0.0 [Pipeline] } 20:02:30 $ docker exec --env ******** --env ******** cf7ab9c4d21665366b86bf7c9f9defd4eef99db016fdcc2e2fe6c57f12ac28c0 ssh-agent -k 20:02:30 unset SSH_AUTH_SOCK; 20:02:30 unset SSH_AGENT_PID; 20:02:30 echo Agent pid 78 killed; 20:02:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:02:31 + git semver [Pipeline] } 20:02:31 $ docker stop --time=1 cf7ab9c4d21665366b86bf7c9f9defd4eef99db016fdcc2e2fe6c57f12ac28c0 20:02:32 $ docker rm -f --volumes cf7ab9c4d21665366b86bf7c9f9defd4eef99db016fdcc2e2fe6c57f12ac28c0 [Pipeline] // withDockerContainer [Pipeline] sh 20:02:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:02:33 Stashed 1 file(s) [Pipeline] echo 20:02:33 [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:02:34 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo 20:02:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:02:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:02:34 ========================================================= 20:02:34 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:02:34 ========================================================= [Pipeline] fileExists [Pipeline] sh 20:02:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:02:34 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:02:34 213ec9aee27d: Pulling fs layer 20:02:34 4583459ba037: Pulling fs layer 20:02:34 93c1e223e6f2: Pulling fs layer 20:02:34 53926ce57604: Pulling fs layer 20:02:34 21b2b0c7a3f4: Pulling fs layer 20:02:34 22ff95d597cd: Pulling fs layer 20:02:34 12d6caf4c0d1: Pulling fs layer 20:02:34 53926ce57604: Waiting 20:02:34 96b7cbca73a9: Pulling fs layer 20:02:34 a7acece74701: Pulling fs layer 20:02:34 22ff95d597cd: Waiting 20:02:34 a7acece74701: Waiting 20:02:34 12d6caf4c0d1: Waiting 20:02:34 21b2b0c7a3f4: Waiting 20:02:34 96b7cbca73a9: Waiting 20:02:34 93c1e223e6f2: Verifying Checksum 20:02:34 93c1e223e6f2: Download complete 20:02:34 4583459ba037: Verifying Checksum 20:02:34 4583459ba037: Download complete 20:02:34 21b2b0c7a3f4: Verifying Checksum 20:02:34 21b2b0c7a3f4: Download complete 20:02:34 22ff95d597cd: Verifying Checksum 20:02:34 22ff95d597cd: Download complete 20:02:34 213ec9aee27d: Verifying Checksum 20:02:34 213ec9aee27d: Download complete 20:02:34 12d6caf4c0d1: Download complete 20:02:34 213ec9aee27d: Pull complete 20:02:34 4583459ba037: Pull complete 20:02:35 93c1e223e6f2: Pull complete 20:02:36 a7acece74701: Verifying Checksum 20:02:36 a7acece74701: Download complete 20:02:36 53926ce57604: Verifying Checksum 20:02:36 53926ce57604: Download complete 20:02:36 96b7cbca73a9: Verifying Checksum 20:02:36 96b7cbca73a9: Download complete 20:02:40 53926ce57604: Pull complete 20:02:40 21b2b0c7a3f4: Pull complete 20:02:40 22ff95d597cd: Pull complete 20:02:41 12d6caf4c0d1: Pull complete 20:02:42 96b7cbca73a9: Pull complete 20:02:43 a7acece74701: Pull complete 20:02:43 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 20:02:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:02:43 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] fileExists [Pipeline] sh 20:02:44 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:02:44 WORKDIR /edgex 20:02:44 COPY go.mod . 20:02:44 RUN go mod download 20:02:44 + docker build -t ci-base-image-x86_64 -f - . 20:02:44 Sending build context to Docker daemon 170.2MB 20:02:44 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:02:44 ---> db6d94c90886 20:02:44 Step 2/4 : WORKDIR /edgex 20:02:48 ---> Running in c735e1fb2c5a 20:02:48 Removing intermediate container c735e1fb2c5a 20:02:48 ---> 6ac467c8e42f 20:02:48 Step 3/4 : COPY go.mod . 20:02:48 ---> f78ce4370e3a 20:02:48 Step 4/4 : RUN go mod download 20:02:48 ---> Running in 36b764c8b1b0 20:02:48 Still waiting to schedule task 20:02:48 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:03:03 Removing intermediate container 36b764c8b1b0 20:03:03 ---> 0fdec5902586 20:03:03 Successfully built 0fdec5902586 20:03:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:03:03 + docker inspect -f . ci-base-image-x86_64 20:03:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:03:03 prd-ubuntu20.04-docker-8c-8g-5246 does not seem to be running inside a container 20:03:03 $ 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-x86_64 cat 20:03:04 $ docker top 609ea8cc7412ec2492f9a45a179da527d76fbfee668c4846bd1509804f5ee5a5 -eo pid,comm [Pipeline] { [Pipeline] sh 20:03:04 + go version 20:03:04 go version go1.18.7 linux/amd64 [Pipeline] } 20:03:04 $ docker stop --time=1 609ea8cc7412ec2492f9a45a179da527d76fbfee668c4846bd1509804f5ee5a5 20:03:05 $ docker rm -f --volumes 609ea8cc7412ec2492f9a45a179da527d76fbfee668c4846bd1509804f5ee5a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:03:06 + docker inspect -f . ci-base-image-x86_64 20:03:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:03:06 prd-ubuntu20.04-docker-8c-8g-5246 does not seem to be running inside a container 20:03:06 $ 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-x86_64 cat 20:03:07 $ docker top c4ce93326fae4d34e84d9bf89c3544d087b906bfb00d5f69bf33f64b82a42da6 -eo pid,comm [Pipeline] { [Pipeline] echo 20:03:07 ========================================================= 20:03:07 [edgeXBuildGoParallel] Running Tests and Build... 20:03:07 ========================================================= [Pipeline] sh 20:03:07 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh 20:03:07 + make test 20:03:07 go test -race -coverprofile=coverage.out ./... 20:03:14 ? github.com/edgexfoundry/edgex-go [no test files] 20:03:32 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 20:03:32 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 20:03:32 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 20:03:32 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 20:03:32 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 20:03:32 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 20:03:32 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 20:03:32 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 20:03:32 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 20:03:32 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 20:03:32 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 20:03:32 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 20:03:32 ? github.com/edgexfoundry/edgex-go/internal [no test files] 20:03:32 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 20:03:32 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.059s coverage: 28.7% of statements 20:03:32 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 20:03:32 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 20:03:32 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.147s coverage: 98.5% of statements 20:03:34 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 3.134s coverage: 73.2% of statements 20:03:34 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 20:03:34 ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] 20:03:34 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 20:03:34 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.096s coverage: 54.0% of statements 20:03:34 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 20:03:34 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 20:03:36 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 4.417s coverage: 89.2% of statements 20:03:36 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 20:03:36 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 20:03:36 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 20:03:36 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 20:03:36 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 20:03:36 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.122s coverage: 3.8% of statements 20:03:36 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 20:03:36 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 20:03:36 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.674s coverage: 95.6% of statements 20:03:36 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 20:03:36 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 20:03:36 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 20:03:36 ok github.com/edgexfoundry/edgex-go/internal/io 0.065s coverage: 72.2% of statements 20:03:36 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 20:03:36 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 20:03:36 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 20:03:36 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 20:03:36 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 20:03:36 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.085s coverage: 65.9% of statements 20:03:36 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 20:03:36 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 20:03:36 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 20:03:36 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.086s coverage: 0.9% of statements 20:03:36 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 20:03:36 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.065s coverage: 29.6% of statements 20:03:36 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 20:03:36 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.069s coverage: 47.1% of statements 20:03:36 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.080s coverage: 82.9% of statements 20:03:36 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.094s coverage: 94.1% of statements 20:03:36 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.061s coverage: 96.3% of statements 20:03:36 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.069s coverage: 87.5% of statements 20:03:44 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.083s coverage: 94.4% of statements 20:03:44 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.063s coverage: 44.8% of statements 20:03:46 flag provided but not defined: -invalid 20:03:46 Usage of setupRegistryACL: 20:03:46 -configDir string 20:03:46 20:03:46 --- FAIL: TestExecute (0.00s) 20:03:46 --- FAIL: TestExecute/Good:setupRegistryACL_with_ok_response_from_server (1.03s) 20:03:46 command_test.go:181: 20:03:46 Error Trace: /w/workspace/edgex-go/1/internal/security/bootstrapper/command/setupacl/command_test.go:181 20:03:46 Error: Received unexpected error: 20:03:46 failed to configure Consul access: Post "http://127.0.0.1:45041/v1/consul/config/access": dial tcp 127.0.0.1:45041: connect: connection refused 20:03:46 Test: TestExecute/Good:setupRegistryACL_with_ok_response_from_server 20:03:46 FAIL 20:03:46 coverage: 79.9% of statements 20:03:46 FAIL github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.358s 20:03:46 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 20:03:55 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 23.121s coverage: 92.9% of statements 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 20:03:55 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.033s coverage: 64.4% of statements 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 20:03:55 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.075s coverage: 86.9% of statements 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 20:03:55 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.064s coverage: 87.2% of statements 20:03:55 ok github.com/edgexfoundry/edgex-go/internal/security/common 0.116s coverage: 20.0% of statements 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 20:03:55 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.053s coverage: 100.0% of statements 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 20:03:55 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.082s coverage: 77.4% of statements 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 20:03:55 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.073s coverage: 80.0% of statements 20:03:55 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.051s coverage: 87.2% of statements 20:03:55 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.261s coverage: 91.2% of statements 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 20:03:55 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.251s coverage: 63.1% of statements 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 20:03:55 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.055s coverage: 100.0% of statements 20:03:55 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.040s coverage: 89.4% of statements 20:03:55 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.031s coverage: 100.0% of statements 20:03:55 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.033s coverage: 73.7% of statements 20:03:55 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.032s coverage: 100.0% of statements 20:03:55 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.406s coverage: 65.3% of statements 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 20:03:55 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.214s coverage: 41.0% of statements 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 20:03:55 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.064s coverage: 89.5% of statements 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 20:03:55 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.068s coverage: 84.8% of statements 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 20:03:55 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.082s coverage: 17.7% of statements 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 20:03:55 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.194s coverage: 92.3% of statements 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 20:03:55 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.079s coverage: 63.2% of statements 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 20:03:55 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.118s coverage: 97.7% of statements 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 20:03:55 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 20:03:55 FAIL 20:03:55 make: *** [Makefile:143: unittest] Error 1 [Pipeline] } 20:03:55 $ docker stop --time=1 c4ce93326fae4d34e84d9bf89c3544d087b906bfb00d5f69bf33f64b82a42da6 20:03:57 $ docker rm -f --volumes c4ce93326fae4d34e84d9bf89c3544d087b906bfb00d5f69bf33f64b82a42da6 [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:03:58 Failed in branch amd64 20:04:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5248 in /w/workspace/edgexfoundry_edgex-go_PR-4340 [Pipeline] { [Pipeline] ws 20:04:21 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout 20:04:21 The recommended git tool is: git 20:04:26 using credential edgex-jenkins-ssh 20:04:26 Cloning the remote Git repository 20:04:26 Cloning repository git@github.com:edgexfoundry/edgex-go.git 20:04:26 > git init /w/workspace/edgex-go/1 # timeout=10 20:04:26 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 20:04:26 > git --version # timeout=10 20:04:26 > git --version # 'git version 2.25.1' 20:04:26 using GIT_SSH to set credentials SSH Credentials for GitHub 20:04:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:05:08 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 20:05:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:05:09 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 20:05:09 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 20:05:09 using GIT_SSH to set credentials SSH Credentials for GitHub 20:05:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4340/head:refs/remotes/origin/PR-4340 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:05:10 Merging remotes/origin/main commit 966ddbcdfe08adc100c05000828e7ee1aafc1855 into PR head commit 672b8e560a6ce2bfa0c6c69df3d3f9bcd93b44bb 20:05:10 Merge succeeded, producing 672b8e560a6ce2bfa0c6c69df3d3f9bcd93b44bb 20:05:10 Checking out Revision 672b8e560a6ce2bfa0c6c69df3d3f9bcd93b44bb (PR-4340) 20:05:11 Commit message: "build(deps): Bump golang.org/x/crypto from 0.5.0 to 0.6.0" 20:05:11 > git --version # timeout=10 20:05:11 > git --version # 'git version 2.25.1' 20:05:11 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:05:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:05:12 % Total % Received % Xferd Average Speed Time Time Time Current 20:05:12 Dload Upload Total Spent Left Speed 20:05:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 98084 [Pipeline] sh 20:05:10 > git config core.sparsecheckout # timeout=10 20:05:10 > git checkout -f 672b8e560a6ce2bfa0c6c69df3d3f9bcd93b44bb # timeout=10 20:05:10 > git remote # timeout=10 20:05:10 > git config --get remote.origin.url # timeout=10 20:05:10 using GIT_SSH to set credentials SSH Credentials for GitHub 20:05:10 > git merge 966ddbcdfe08adc100c05000828e7ee1aafc1855 # timeout=10 20:05:10 > git rev-parse HEAD^{commit} # timeout=10 20:05:10 > git config core.sparsecheckout # timeout=10 20:05:10 > git checkout -f 672b8e560a6ce2bfa0c6c69df3d3f9bcd93b44bb # timeout=10 20:05:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:05:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:05:13 + sudo tee /etc/docker/daemon.new 20:05:13 { 20:05:13 "registry-mirrors": [ 20:05:13 "https://nexus3.edgexfoundry.org:10001" 20:05:13 ], 20:05:13 "bip": "10.250.0.254/24", 20:05:13 "hosts": [ 20:05:13 "tcp://0.0.0.0:5555", 20:05:13 "unix:///var/run/docker.sock" 20:05:13 ], 20:05:13 "mtu": 1458, 20:05:13 "selinux-enabled": true, 20:05:13 "seccomp-profile": "/etc/docker/seccomp.json" 20:05:13 } [Pipeline] sh 20:05:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:05:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:05:32 provisioning config files... 20:05:32 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config2701305706858087540tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:05:32 ---> docker-login.sh 20:05:32 nexus3.edgexfoundry.org:10001 20:05:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:33 Configure a credential helper to remove this warning. See 20:05:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:33 20:05:33 Login Succeeded 20:05:33 nexus3.edgexfoundry.org:10002 20:05:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:34 Configure a credential helper to remove this warning. See 20:05:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:34 20:05:34 Login Succeeded 20:05:34 nexus3.edgexfoundry.org:10003 20:05:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:34 Configure a credential helper to remove this warning. See 20:05:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:34 20:05:34 Login Succeeded 20:05:34 nexus3.edgexfoundry.org:10004 20:05:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:34 Configure a credential helper to remove this warning. See 20:05:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:34 20:05:34 Login Succeeded 20:05:34 docker.io 20:05:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:35 Configure a credential helper to remove this warning. See 20:05:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:35 20:05:35 Login Succeeded 20:05:35 ---> docker-login.sh ends [Pipeline] } 20:05:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh 20:05:35 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo 20:05:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:05:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:05:36 ========================================================= 20:05:36 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:05:36 ========================================================= [Pipeline] fileExists [Pipeline] sh 20:05:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:05:36 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:05:36 9b18e9b68314: Pulling fs layer 20:05:36 35d82f9e3411: Pulling fs layer 20:05:36 e16973657156: Pulling fs layer 20:05:36 fc693d55d65f: Pulling fs layer 20:05:36 7e9fc2657dce: Pulling fs layer 20:05:36 dda99020689f: Pulling fs layer 20:05:36 db1c61fa0a46: Pulling fs layer 20:05:36 891c053d2c06: Pulling fs layer 20:05:36 fc693d55d65f: Waiting 20:05:36 7e9fc2657dce: Waiting 20:05:36 dda99020689f: Waiting 20:05:36 db1c61fa0a46: Waiting 20:05:36 891c053d2c06: Waiting 20:05:36 e16973657156: Download complete 20:05:36 35d82f9e3411: Verifying Checksum 20:05:36 35d82f9e3411: Download complete 20:05:36 7e9fc2657dce: Download complete 20:05:36 dda99020689f: Verifying Checksum 20:05:36 dda99020689f: Download complete 20:05:36 9b18e9b68314: Verifying Checksum 20:05:36 9b18e9b68314: Download complete 20:05:37 9b18e9b68314: Pull complete 20:05:38 891c053d2c06: Verifying Checksum 20:05:38 891c053d2c06: Download complete 20:05:38 35d82f9e3411: Pull complete 20:05:38 e16973657156: Pull complete 20:05:39 db1c61fa0a46: Verifying Checksum 20:05:39 db1c61fa0a46: Download complete 20:05:39 fc693d55d65f: Verifying Checksum 20:05:39 fc693d55d65f: Download complete 20:05:52 fc693d55d65f: Pull complete 20:05:52 7e9fc2657dce: Pull complete 20:05:52 dda99020689f: Pull complete 20:05:59 db1c61fa0a46: Pull complete 20:06:03 891c053d2c06: Pull complete 20:06:03 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 20:06:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:06:03 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] fileExists [Pipeline] sh 20:06:03 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:06:03 WORKDIR /edgex 20:06:03 COPY go.mod . 20:06:03 RUN go mod download 20:06:03 + docker build -t ci-base-image-arm64 -f - . 20:06:04 Sending build context to Docker daemon 3.11MB 20:06:04 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:06:04 ---> f96f9c87975a 20:06:04 Step 2/4 : WORKDIR /edgex 20:06:06 ---> Running in 0f7a76a36b88 20:06:06 Removing intermediate container 0f7a76a36b88 20:06:06 ---> a788646bce98 20:06:06 Step 3/4 : COPY go.mod . 20:06:07 ---> f9f7bcfc7902 20:06:07 Step 4/4 : RUN go mod download 20:06:07 ---> Running in 0c3ebb0ffb76 20:06:39 Removing intermediate container 0c3ebb0ffb76 20:06:39 ---> 514b44626f2e 20:06:39 Successfully built 514b44626f2e 20:06:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:40 + docker inspect -f . ci-base-image-arm64 20:06:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:06:40 prd-ubuntu20.04-docker-arm64-4c-16g-5248 does not seem to be running inside a container 20:06:40 $ 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-arm64 cat 20:06:41 $ docker top fc46d21ddc560e9d71e6090deba9d899115eff5793e701f319121f8c2636a5f1 -eo pid,comm [Pipeline] { [Pipeline] sh 20:06:42 + go version 20:06:42 go version go1.18.7 linux/arm64 [Pipeline] } 20:06:42 $ docker stop --time=1 fc46d21ddc560e9d71e6090deba9d899115eff5793e701f319121f8c2636a5f1 20:06:44 $ docker rm -f --volumes fc46d21ddc560e9d71e6090deba9d899115eff5793e701f319121f8c2636a5f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:45 + docker inspect -f . ci-base-image-arm64 20:06:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:06:45 prd-ubuntu20.04-docker-arm64-4c-16g-5248 does not seem to be running inside a container 20:06:45 $ 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-arm64 cat 20:06:46 $ docker top 0aa6ecb9b362d90f3b957e094aa64a476c2f4abebd0a88bcb4edb1735d6f298b -eo pid,comm [Pipeline] { [Pipeline] echo 20:06:46 ========================================================= 20:06:46 [edgeXBuildGoParallel] Running Tests and Build... 20:06:46 ========================================================= [Pipeline] sh 20:06:47 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh 20:06:48 + make test 20:06:48 go test -race -coverprofile=coverage.out ./... 20:07:27 ? github.com/edgexfoundry/edgex-go [no test files] 20:09:18 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 20:09:18 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 20:09:18 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 20:09:21 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 20:09:21 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 20:09:39 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 20:09:39 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 20:09:39 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 20:09:39 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 20:09:39 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 20:09:39 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 20:09:39 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 20:09:39 ? github.com/edgexfoundry/edgex-go/internal [no test files] 20:09:39 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 20:09:54 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.382s coverage: 28.7% of statements 20:09:54 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 20:09:54 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 20:10:04 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.488s coverage: 98.5% of statements 20:10:10 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 3.847s coverage: 73.2% of statements 20:10:10 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 20:10:10 ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] 20:10:10 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 20:10:10 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.585s coverage: 54.0% of statements 20:10:10 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 20:10:10 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 20:10:22 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 17.580s coverage: 89.2% of statements 20:10:22 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 20:10:22 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 20:10:22 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 20:10:22 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 20:10:22 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 20:10:22 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.679s coverage: 3.8% of statements 20:10:22 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 20:10:22 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 20:10:25 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 2.497s coverage: 95.6% of statements 20:10:25 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 20:10:25 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 20:10:25 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 20:10:25 ok github.com/edgexfoundry/edgex-go/internal/io 0.407s coverage: 72.2% of statements 20:10:25 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 20:10:25 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 20:10:25 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 20:10:25 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 20:10:25 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 20:10:25 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.425s coverage: 65.9% of statements 20:10:25 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 20:10:25 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 20:10:25 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 20:10:25 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.417s coverage: 0.9% of statements 20:10:25 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 20:10:25 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.403s coverage: 29.6% of statements 20:10:25 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 20:10:26 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.277s coverage: 47.1% of statements 20:10:26 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.250s coverage: 82.9% of statements 20:10:26 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.261s coverage: 94.1% of statements 20:10:27 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.306s coverage: 96.3% of statements 20:10:29 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.255s coverage: 87.5% of statements 20:10:41 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.270s coverage: 94.4% of statements 20:10:41 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.219s coverage: 44.8% of statements 20:10:47 flag provided but not defined: -invalid 20:10:47 Usage of setupRegistryACL: 20:10:47 -configDir string 20:10:47 20:10:47 --- FAIL: TestExecute (0.00s) 20:10:47 --- FAIL: TestExecute/Good:setupRegistryACL_with_ok_response_from_server (1.04s) 20:10:47 command_test.go:181: 20:10:47 Error Trace: /w/workspace/edgex-go/1/internal/security/bootstrapper/command/setupacl/command_test.go:181 20:10:47 Error: Received unexpected error: 20:10:47 failed to configure Consul access: request to Configure Consul Access failed with status: 403 Forbidden 20:10:47 Test: TestExecute/Good:setupRegistryACL_with_ok_response_from_server 20:10:47 FAIL 20:10:47 coverage: 79.9% of statements 20:10:47 FAIL github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.891s 20:10:47 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 20:10:55 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.321s coverage: 92.9% of statements 20:10:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 20:10:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 20:10:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 20:10:55 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.075s coverage: 64.4% of statements 20:10:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 20:10:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 20:10:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 20:10:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 20:10:55 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.259s coverage: 86.9% of statements 20:10:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 20:10:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 20:10:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 20:10:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 20:10:55 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.256s coverage: 87.2% of statements 20:10:55 ok github.com/edgexfoundry/edgex-go/internal/security/common 0.211s coverage: 20.0% of statements 20:10:55 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 20:10:55 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 20:10:55 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.199s coverage: 100.0% of statements 20:10:55 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 20:10:55 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.310s coverage: 77.4% of statements 20:10:55 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 20:10:55 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.320s coverage: 80.0% of statements 20:10:55 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.283s coverage: 87.2% of statements 20:10:55 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.989s coverage: 91.2% of statements 20:10:55 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 20:11:02 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.452s coverage: 63.1% of statements 20:11:02 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 20:11:02 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 20:11:02 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.313s coverage: 100.0% of statements 20:11:02 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.149s coverage: 89.4% of statements 20:11:02 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.096s coverage: 100.0% of statements 20:11:02 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.102s coverage: 73.7% of statements 20:11:02 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.088s coverage: 100.0% of statements 20:11:09 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.525s coverage: 65.3% of statements 20:11:09 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 20:11:09 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 20:11:09 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 20:11:11 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.882s coverage: 41.0% of statements 20:11:11 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 20:11:11 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 20:11:11 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.338s coverage: 89.5% of statements 20:11:11 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 20:11:11 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.490s coverage: 84.8% of statements 20:11:11 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 20:11:11 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 20:11:11 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 20:11:11 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 20:11:19 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.392s coverage: 17.7% of statements 20:11:19 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 20:11:19 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 20:11:19 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 20:11:19 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 20:11:19 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.767s coverage: 92.3% of statements 20:11:19 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 20:11:19 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 20:11:19 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 20:11:19 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 20:11:19 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.335s coverage: 63.2% of statements 20:11:19 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 20:11:19 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 20:11:19 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.522s coverage: 97.7% of statements 20:11:19 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 20:11:19 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 20:11:19 FAIL 20:11:20 make: *** [Makefile:143: unittest] Error 1 [Pipeline] } 20:11:20 $ docker stop --time=1 0aa6ecb9b362d90f3b957e094aa64a476c2f4abebd0a88bcb4edb1735d6f298b 20:11:22 $ docker rm -f --volumes 0aa6ecb9b362d90f3b957e094aa64a476c2f4abebd0a88bcb4edb1735d6f298b [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:11:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:11:24 20:11:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:11:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:11:25 arm64: Pulling from edgex-lftools-log-publisher 20:11:25 8998bd30e6a1: Pulling fs layer 20:11:25 04944245beec: Pulling fs layer 20:11:25 699f458cf7ca: Pulling fs layer 20:11:25 765212b225bb: Pulling fs layer 20:11:25 f23df028b6ca: Pulling fs layer 20:11:25 d65c8cfc05b1: Pulling fs layer 20:11:25 2437ff75d9bd: Pulling fs layer 20:11:25 f23df028b6ca: Waiting 20:11:25 d65c8cfc05b1: Waiting 20:11:25 765212b225bb: Waiting 20:11:25 04944245beec: Verifying Checksum 20:11:25 04944245beec: Download complete 20:11:25 765212b225bb: Verifying Checksum 20:11:25 765212b225bb: Download complete 20:11:25 f23df028b6ca: Verifying Checksum 20:11:25 f23df028b6ca: Download complete 20:11:25 d65c8cfc05b1: Verifying Checksum 20:11:25 d65c8cfc05b1: Download complete 20:11:25 699f458cf7ca: Verifying Checksum 20:11:25 699f458cf7ca: Download complete 20:11:26 8998bd30e6a1: Verifying Checksum 20:11:26 8998bd30e6a1: Download complete 20:11:27 2437ff75d9bd: Verifying Checksum 20:11:27 2437ff75d9bd: Download complete 20:11:29 8998bd30e6a1: Pull complete 20:11:30 04944245beec: Pull complete 20:11:31 699f458cf7ca: Pull complete 20:11:32 765212b225bb: Pull complete 20:11:33 f23df028b6ca: Pull complete 20:11:33 d65c8cfc05b1: Pull complete 20:11:48 2437ff75d9bd: Pull complete 20:11:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:11:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:11:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:11:49 prd-ubuntu20.04-docker-arm64-4c-16g-5248 does not seem to be running inside a container 20:11:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:11:52 $ docker top 7877eb169721354969735883ea78989c02f5a011a2a8d10d9aa5b21e6aa1d4a3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:11:53 ---> job-cost.sh 20:11:53 lf-activate-venv: SKIPPING 20:11:53 INFO: No Stack... 20:11:53 INFO: Retrieving Pricing Info for: v3-standard-4 20:11:54 INFO: Archiving Costs [Pipeline] sh 20:11:55 + cut -d, -f6 20:11:55 + cat /w/workspace/edgex-go/1/archives/cost.csv [Pipeline] lock 20:11:55 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4340-1-stack-cost] 20:11:55 Resource [jenkins-edgexfoundry-edgex-go-PR-4340-1-stack-cost] did not exist. Created. 20:11:55 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4340-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:11:56 + echo total: 0.10999999940395355 [Pipeline] stash 20:11:57 Stashed 1 file(s) [Pipeline] } 20:11:57 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4340-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:11:57 $ docker stop --time=1 7877eb169721354969735883ea78989c02f5a011a2a8d10d9aa5b21e6aa1d4a3 20:12:00 $ docker rm -f --volumes 7877eb169721354969735883ea78989c02f5a011a2a8d10d9aa5b21e6aa1d4a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:12:01 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:12:02 + [ -d /w/workspace/edgex-go/1/archives ] [Pipeline] libraryResource [Pipeline] sh 20:12:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:12:04 ---> package-listing.sh 20:12:04 ++ facter osfamily 20:12:04 ++ tr '[:upper:]' '[:lower:]' 20:12:04 + OS_FAMILY=debian 20:12:04 + workspace=/w/workspace/edgex-go/1 20:12:04 + START_PACKAGES=/tmp/packages_start.txt 20:12:04 + END_PACKAGES=/tmp/packages_end.txt 20:12:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:12:04 + PACKAGES=/tmp/packages_start.txt 20:12:04 + '[' /w/workspace/edgex-go/1 ']' 20:12:04 + PACKAGES=/tmp/packages_end.txt 20:12:04 + case "${OS_FAMILY}" in 20:12:04 + dpkg -l 20:12:04 + grep '^ii' 20:12:04 + '[' -f /tmp/packages_start.txt ']' 20:12:04 + '[' -f /tmp/packages_end.txt ']' 20:12:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:12:04 + '[' /w/workspace/edgex-go/1 ']' 20:12:04 + mkdir -p /w/workspace/edgex-go/1/archives/ 20:12:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 20:12:04 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:12:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:12:05 20:12:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:12:05 latest: Pulling from edgex-lftools-log-publisher 20:12:05 5eb5b503b376: Pulling fs layer 20:12:05 5c69ac0246d0: Pulling fs layer 20:12:05 ec43610c2a17: Pulling fs layer 20:12:05 3a2ae6a8a46f: Pulling fs layer 20:12:05 33b1e0a273af: Pulling fs layer 20:12:05 5d3b04190fa2: Pulling fs layer 20:12:05 2f39f015ded8: Pulling fs layer 20:12:05 33b1e0a273af: Waiting 20:12:05 5d3b04190fa2: Waiting 20:12:05 2f39f015ded8: Waiting 20:12:05 3a2ae6a8a46f: Waiting 20:12:05 5c69ac0246d0: Download complete 20:12:05 3a2ae6a8a46f: Verifying Checksum 20:12:05 3a2ae6a8a46f: Download complete 20:12:05 33b1e0a273af: Verifying Checksum 20:12:05 33b1e0a273af: Download complete 20:12:05 5d3b04190fa2: Verifying Checksum 20:12:05 5d3b04190fa2: Download complete 20:12:06 ec43610c2a17: Verifying Checksum 20:12:06 5eb5b503b376: Verifying Checksum 20:12:06 5eb5b503b376: Download complete 20:12:07 2f39f015ded8: Download complete 20:12:07 5eb5b503b376: Pull complete 20:12:07 5c69ac0246d0: Pull complete 20:12:08 ec43610c2a17: Pull complete 20:12:08 3a2ae6a8a46f: Pull complete 20:12:08 33b1e0a273af: Pull complete 20:12:08 5d3b04190fa2: Pull complete 20:12:13 2f39f015ded8: Pull complete 20:12:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:12:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:12:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:12:14 prd-ubuntu20.04-docker-8c-8g-5246 does not seem to be running inside a container 20:12:14 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:12:16 $ docker top 37862516b3e7ae577107d136e58f6a92f33b29cf23230e28c6686b13e4c5b244 -eo pid,comm [Pipeline] { [Pipeline] sh 20:12:16 + touch /tmp/pre-build-complete [Pipeline] sh 20:12:16 + mkdir -p /var/log/sysstat [Pipeline] sh 20:12:17 + ls /var/log/sa-host 20:12:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:12:17 provisioning config files... 20:12:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config357466442118338347tmp [Pipeline] { [Pipeline] echo 20:12:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:12:17 ---> create-netrc.sh [Pipeline] } 20:12:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:12:18 ---> python-tools-install.sh [Pipeline] echo 20:12:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:12:18 ---> sudo-logs.sh 20:12:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:12:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:12:19 ---> job-cost.sh 20:12:19 lf-activate-venv: SKIPPING 20:12:19 DEBUG: total: 0.10999999940395355 20:12:19 INFO: Retrieving Stack Cost... 20:12:19 INFO: Retrieving Pricing Info for: v3-standard-8 20:12:20 INFO: Archiving Costs [Pipeline] echo 20:12:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:12:20 ---> logs-deploy.sh 20:12:20 lf-activate-venv: SKIPPING 20:12:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4340/1 20:12:20 INFO: archiving workspace using pattern(s): 20:12:21 Archives upload complete. 20:12:21 INFO: archiving logs to Nexus