Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/edgex-go Obtained Jenkinsfile from 71851e490a04d7c8798035f89a5959a124b14733+0884a144fb493a631a0908641cc58311c6d2a231 (608fccb0756133750238c1b6577a2b333f1e4df0) 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-ssh14996848102127187238.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-ssh2505384275531379518.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4306/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4306/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13434629817269064630.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15841895986739659953.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4306/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4306/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13623515401335083327.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2], buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: DOCKER_IMAGE_NAME_SUFFIX: DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-3652 in /w/workspace/edgexfoundry_edgex-go_PR-4306 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/5 [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/5 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 0884a144fb493a631a0908641cc58311c6d2a231 into PR head commit 71851e490a04d7c8798035f89a5959a124b14733 Merge succeeded, producing 1111687139ee1e613071b1b8ab500f013751c175 Checking out Revision 1111687139ee1e613071b1b8ab500f013751c175 (PR-4306) > 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/4306/head:refs/remotes/origin/PR-4306 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 71851e490a04d7c8798035f89a5959a124b14733 # 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 0884a144fb493a631a0908641cc58311c6d2a231 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1111687139ee1e613071b1b8ab500f013751c175 # timeout=10 Commit message: "Merge commit '0884a144fb493a631a0908641cc58311c6d2a231' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:29:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:29:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:29:52 ========================================================= 08:29:52 EdgeX Global Pipelines Version Info 08:29:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 76102cdbbdcd8f844ca83f8c888533a06ee5fe41 # timeout=10 08:29:53 ------------------- 08:29:53 stable info: 08:29:53 ------------------- 08:29:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:29:53 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 08:29:53 Message: update stable to v1.0.244 08:29:54 ------------------- 08:29:54 experimental info: 08:29:54 ------------------- 08:29:54 Commited By: **** collab-it+edgex@linuxfoundation.org 08:29:54 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 08:29:54 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:29:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 08:29:54 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 08:29:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:29:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:29:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:29:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 08:29:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:29:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 08:29:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 08:29:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 08:29:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:29:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:29:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:29:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:29:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:29:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:29:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:29:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:29:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:29:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 08:29:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:29:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:29:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:29:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4306 [Pipeline] echo 08:29:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4306 [Pipeline] echo 08:29:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4306 [Pipeline] echo 08:29:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1111687139ee1e613071b1b8ab500f013751c175 [Pipeline] echo 08:29:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1111687 [Pipeline] echo 08:29:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:29:54 provisioning config files... 08:29:54 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/5@tmp/config9939570553390604630tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:29:54 ---> docker-login.sh 08:29:54 nexus3.edgexfoundry.org:10001 08:29:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:29:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:29:55 Configure a credential helper to remove this warning. See 08:29:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:29:55 08:29:55 Login Succeeded 08:29:55 nexus3.edgexfoundry.org:10002 08:29:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:29:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:29:56 Configure a credential helper to remove this warning. See 08:29:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:29:56 08:29:56 Login Succeeded 08:29:56 nexus3.edgexfoundry.org:10003 08:29:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:29:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:29:56 Configure a credential helper to remove this warning. See 08:29:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:29:56 08:29:56 Login Succeeded 08:29:56 nexus3.edgexfoundry.org:10004 08:29:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:29:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:29:56 Configure a credential helper to remove this warning. See 08:29:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:29:56 08:29:56 Login Succeeded 08:29:56 docker.io 08:29:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:29:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:29:56 Configure a credential helper to remove this warning. See 08:29:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:29:56 08:29:56 Login Succeeded 08:29:56 ---> docker-login.sh ends [Pipeline] } 08:29:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:29:56 + 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 08:29:56 + dirname cmd/core-command/Dockerfile 08:29:56 + cut -d/ -f2 08:29:56 + echo core-command,cmd/core-command/Dockerfile 08:29:56 + dirname cmd/core-common-config-bootstrapper/Dockerfile 08:29:56 + cut -d/ -f2 08:29:56 + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile 08:29:56 + + dirname cmd/core-data/Dockerfile 08:29:56 cut -d/ -f2 08:29:56 + echo core-data,cmd/core-data/Dockerfile 08:29:56 + dirname cmd/core-metadata/Dockerfile 08:29:56 + cut -d/ -f2 08:29:56 + echo core-metadata,cmd/core-metadata/Dockerfile 08:29:56 + cut -d/ -f2 08:29:56 + dirname cmd/security-bootstrapper/Dockerfile 08:29:56 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 08:29:56 + + cut -d/dirname -f2 cmd/security-proxy-setup/Dockerfile 08:29:56 08:29:56 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 08:29:56 + dirname cmd/security-secretstore-setup/Dockerfile 08:29:56 + cut -d/ -f2 08:29:56 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 08:29:56 + dirname cmd/security-spiffe-token-provider/Dockerfile 08:29:56 + cut -d/ -f2 08:29:56 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 08:29:56 + dirname cmd/security-spire-agent/Dockerfile 08:29:56 + cut -d/ -f2 08:29:56 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 08:29:56 + dirname cmd/security-spire-config/Dockerfile 08:29:56 + cut -d/ -f2 08:29:56 + echo security-spire-config,cmd/security-spire-config/Dockerfile 08:29:56 + + dirname cmd/security-spire-server/Dockerfile 08:29:56 cut -d/ -f2 08:29:56 + echo security-spire-server,cmd/security-spire-server/Dockerfile 08:29:56 + dirname cmd/support-notifications/Dockerfile 08:29:56 + cut -d/ -f2 08:29:56 + echo support-notifications,cmd/support-notifications/Dockerfile 08:29:56 + dirname cmd/support-scheduler/Dockerfile 08:29:56 + cut -d/ -f2 08:29:56 + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo 08:29:56 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 08:29:57 + git rev-list -1 --merges 1111687139ee1e613071b1b8ab500f013751c175~1..1111687139ee1e613071b1b8ab500f013751c175 [Pipeline] echo 08:29:57 -----------> git rev-list -1 --merges 1111687139ee1e613071b1b8ab500f013751c175~1..1111687139ee1e613071b1b8ab500f013751c175 1111687139ee1e613071b1b8ab500f013751c175 08:29:57 1111687139ee1e613071b1b8ab500f013751c175 [false] [Pipeline] sh 08:29:57 + git log --format=format:%s -1 1111687139ee1e613071b1b8ab500f013751c175 [Pipeline] echo 08:29:57 ========================================================= 08:29:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:29:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 08:29:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:29:58 + grep -v github /etc/ssh/ssh_known_hosts 08:29:58 + [ -e /tmp/ssh_known_hosts ] 08:29:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:29:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:29:58 + sudo tee -a /etc/ssh/ssh_known_hosts 08:29:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:29:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:29:58 08:29:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:29:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:29:59 0.1.4: Pulling from edgex-devops/py-git-semver 08:29:59 b85a868b505f: Pulling fs layer 08:29:59 e2be974225ed: Pulling fs layer 08:29:59 339a4e72a1f5: Pulling fs layer 08:29:59 988bab9f4d93: Pulling fs layer 08:29:59 1469e6f7b9e6: Pulling fs layer 08:29:59 eaf3925da568: Pulling fs layer 08:29:59 bab4dde63d76: Pulling fs layer 08:29:59 bde34c3a00c8: Pulling fs layer 08:29:59 b352a97aabf1: Pulling fs layer 08:29:59 4872d77fe225: Pulling fs layer 08:29:59 5851b861e8e6: Pulling fs layer 08:29:59 eaf3925da568: Waiting 08:29:59 1469e6f7b9e6: Waiting 08:29:59 bab4dde63d76: Waiting 08:29:59 b352a97aabf1: Waiting 08:29:59 4872d77fe225: Waiting 08:29:59 988bab9f4d93: Waiting 08:29:59 5851b861e8e6: Waiting 08:29:59 e2be974225ed: Download complete 08:29:59 988bab9f4d93: Verifying Checksum 08:29:59 988bab9f4d93: Download complete 08:29:59 339a4e72a1f5: Verifying Checksum 08:29:59 339a4e72a1f5: Download complete 08:29:59 eaf3925da568: Download complete 08:29:59 1469e6f7b9e6: Verifying Checksum 08:29:59 1469e6f7b9e6: Download complete 08:29:59 bde34c3a00c8: Download complete 08:29:59 b352a97aabf1: Download complete 08:29:59 4872d77fe225: Download complete 08:29:59 5851b861e8e6: Verifying Checksum 08:29:59 5851b861e8e6: Download complete 08:29:59 b85a868b505f: Verifying Checksum 08:29:59 b85a868b505f: Download complete 08:29:59 bab4dde63d76: Verifying Checksum 08:29:59 bab4dde63d76: Download complete 08:30:01 b85a868b505f: Pull complete 08:30:01 e2be974225ed: Pull complete 08:30:02 339a4e72a1f5: Pull complete 08:30:02 988bab9f4d93: Pull complete 08:30:02 1469e6f7b9e6: Pull complete 08:30:03 eaf3925da568: Pull complete 08:30:05 bab4dde63d76: Pull complete 08:30:05 bde34c3a00c8: Pull complete 08:30:05 b352a97aabf1: Pull complete 08:30:06 4872d77fe225: Pull complete 08:30:06 5851b861e8e6: Pull complete 08:30:06 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:30:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:30:06 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:30:06 prd-ubuntu20.04-docker-8c-8g-3652 does not seem to be running inside a container 08:30:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:30:17 $ docker top 3b464886362efad5009ccc7124875f4479c0cb0cc75f7a459b979ef6568c5f74 -eo pid,comm 08:30:17 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 08:30:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:30:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:30:17 [ssh-agent] Looking for ssh-agent implementation... 08:30:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:30:17 $ docker exec 3b464886362efad5009ccc7124875f4479c0cb0cc75f7a459b979ef6568c5f74 ssh-agent 08:30:17 SSH_AUTH_SOCK=/tmp/ssh-C6q4khnficmY/agent.14 08:30:17 SSH_AGENT_PID=20 08:30:17 Running ssh-add (command line suppressed) 08:30:17 Identity added: /w/workspace/edgex-go/5@tmp/private_key_1084881543902888488.key (/w/workspace/edgex-go/5@tmp/private_key_1084881543902888488.key) 08:30:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:30:18 + git tag --points-at HEAD [Pipeline] } 08:30:18 $ docker exec --env ******** --env ******** 3b464886362efad5009ccc7124875f4479c0cb0cc75f7a459b979ef6568c5f74 ssh-agent -k 08:30:18 unset SSH_AUTH_SOCK; 08:30:18 unset SSH_AGENT_PID; 08:30:18 echo Agent pid 20 killed; 08:30:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:30:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:30:18 [ssh-agent] Looking for ssh-agent implementation... 08:30:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:30:18 $ docker exec 3b464886362efad5009ccc7124875f4479c0cb0cc75f7a459b979ef6568c5f74 ssh-agent 08:30:18 SSH_AUTH_SOCK=/tmp/ssh-Zx6VOvbxHApR/agent.69 08:30:18 SSH_AGENT_PID=75 08:30:18 Running ssh-add (command line suppressed) 08:30:18 Identity added: /w/workspace/edgex-go/5@tmp/private_key_13391757827290992468.key (/w/workspace/edgex-go/5@tmp/private_key_13391757827290992468.key) 08:30:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:30:18 + git semver init 08:30:19 2023-01-25 08:30:19,099 [run_init] DEBUG init version:0.0.0 force:False 08:30:19 2023-01-25 08:30:19,101 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/5/.semver 08:30:19 2023-01-25 08:30:19,102 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/5/.semver 08:30:19 2023-01-25 08:30:19,102 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/edgex-go.git', '/w/workspace/edgex-go/5/.semver'], cwd=/w/workspace/edgex-go/5, universal_newlines=False, shell=None, istream=None) 08:30:29 2023-01-25 08:30:28,296 [append_file] DEBUG append to file:/w/workspace/edgex-go/5/.git/info/exclude 08:30:29 2023-01-25 08:30:28,297 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/5/.semver/PR-4306 with force:False 08:30:29 2023-01-25 08:30:28,297 [write_file] DEBUG write to file:/w/workspace/edgex-go/5/.semver/PR-4306 08:30:29 2023-01-25 08:30:28,300 [execute] INFO git cat-file --batch-check 08:30:29 2023-01-25 08:30:28,301 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/5/.semver, universal_newlines=False, shell=None, istream=) 08:30:29 2023-01-25 08:30:28,307 [execute] INFO git cat-file --batch 08:30:29 2023-01-25 08:30:28,307 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/5/.semver, universal_newlines=False, shell=None, istream=) 08:30:29 2023-01-25 08:30:28,312 [read_version] DEBUG read version from /w/workspace/edgex-go/5/.semver/PR-4306 08:30:29 0.0.0 [Pipeline] } 08:30:29 $ docker exec --env ******** --env ******** 3b464886362efad5009ccc7124875f4479c0cb0cc75f7a459b979ef6568c5f74 ssh-agent -k 08:30:29 unset SSH_AUTH_SOCK; 08:30:29 unset SSH_AGENT_PID; 08:30:29 echo Agent pid 75 killed; 08:30:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:30:30 + git semver [Pipeline] } 08:30:30 $ docker stop --time=1 3b464886362efad5009ccc7124875f4479c0cb0cc75f7a459b979ef6568c5f74 08:30:31 $ docker rm -f --volumes 3b464886362efad5009ccc7124875f4479c0cb0cc75f7a459b979ef6568c5f74 [Pipeline] // withDockerContainer [Pipeline] sh 08:30:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:30:32 Stashed 1 file(s) [Pipeline] echo 08:30:32 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:30:32 + git config --global --add safe.directory /w/workspace/edgex-go/5 [Pipeline] echo 08:30:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:30:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:30:32 ========================================================= 08:30:32 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 08:30:32 ========================================================= [Pipeline] fileExists [Pipeline] sh 08:30:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 08:30:33 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 08:30:33 213ec9aee27d: Pulling fs layer 08:30:33 4583459ba037: Pulling fs layer 08:30:33 93c1e223e6f2: Pulling fs layer 08:30:33 53926ce57604: Pulling fs layer 08:30:33 21b2b0c7a3f4: Pulling fs layer 08:30:33 22ff95d597cd: Pulling fs layer 08:30:33 12d6caf4c0d1: Pulling fs layer 08:30:33 96b7cbca73a9: Pulling fs layer 08:30:33 a7acece74701: Pulling fs layer 08:30:33 96b7cbca73a9: Waiting 08:30:33 22ff95d597cd: Waiting 08:30:33 12d6caf4c0d1: Waiting 08:30:33 53926ce57604: Waiting 08:30:33 21b2b0c7a3f4: Waiting 08:30:33 93c1e223e6f2: Verifying Checksum 08:30:33 93c1e223e6f2: Download complete 08:30:33 4583459ba037: Verifying Checksum 08:30:33 4583459ba037: Download complete 08:30:33 21b2b0c7a3f4: Verifying Checksum 08:30:33 21b2b0c7a3f4: Download complete 08:30:33 22ff95d597cd: Verifying Checksum 08:30:33 22ff95d597cd: Download complete 08:30:33 213ec9aee27d: Verifying Checksum 08:30:33 12d6caf4c0d1: Verifying Checksum 08:30:33 12d6caf4c0d1: Download complete 08:30:33 213ec9aee27d: Pull complete 08:30:34 4583459ba037: Pull complete 08:30:34 93c1e223e6f2: Pull complete 08:30:34 a7acece74701: Verifying Checksum 08:30:34 a7acece74701: Download complete 08:30:35 53926ce57604: Verifying Checksum 08:30:35 53926ce57604: Download complete 08:30:35 96b7cbca73a9: Verifying Checksum 08:30:35 96b7cbca73a9: Download complete 08:30:39 53926ce57604: Pull complete 08:30:39 21b2b0c7a3f4: Pull complete 08:30:39 22ff95d597cd: Pull complete 08:30:40 12d6caf4c0d1: Pull complete 08:30:42 96b7cbca73a9: Pull complete 08:30:43 a7acece74701: Pull complete 08:30:43 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 08:30:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 08:30:43 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] fileExists [Pipeline] sh 08:30:43 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 08:30:43 WORKDIR /edgex 08:30:43 COPY go.mod . 08:30:43 RUN go mod download 08:30:43 + docker build -t ci-base-image-x86_64 -f - . 08:30:44 Sending build context to Docker daemon 170.1MB 08:30:44 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 08:30:44 ---> db6d94c90886 08:30:44 Step 2/4 : WORKDIR /edgex 08:30:47 Still waiting to schedule task 08:30:47 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:31:02 ---> Running in 42abe7e22490 08:31:02 Removing intermediate container 42abe7e22490 08:31:02 ---> 720d715b0a9e 08:31:02 Step 3/4 : COPY go.mod . 08:31:02 ---> 2bce6047ceaf 08:31:02 Step 4/4 : RUN go mod download 08:31:02 ---> Running in bcf7abdf5cca 08:31:24 Removing intermediate container bcf7abdf5cca 08:31:24 ---> 15c7fc9913cd 08:31:24 Successfully built 15c7fc9913cd 08:31:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:31:25 + docker inspect -f . ci-base-image-x86_64 08:31:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:31:25 prd-ubuntu20.04-docker-8c-8g-3652 does not seem to be running inside a container 08:31:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:31:25 $ docker top b9726467283c7ba7dd60a9fbb80e09822d2380ad9d9d5ceda865c45ceb2d5ebf -eo pid,comm [Pipeline] { [Pipeline] sh 08:31:26 + go version 08:31:26 go version go1.18.7 linux/amd64 [Pipeline] } 08:31:26 $ docker stop --time=1 b9726467283c7ba7dd60a9fbb80e09822d2380ad9d9d5ceda865c45ceb2d5ebf 08:31:27 $ docker rm -f --volumes b9726467283c7ba7dd60a9fbb80e09822d2380ad9d9d5ceda865c45ceb2d5ebf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:31:28 + docker inspect -f . ci-base-image-x86_64 08:31:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:31:28 prd-ubuntu20.04-docker-8c-8g-3652 does not seem to be running inside a container 08:31:28 $ 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/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:31:29 $ docker top 229dfd1953b6601f5cf17faba00831eca39fb5eb4096b1a796666f02c9f4815f -eo pid,comm [Pipeline] { [Pipeline] echo 08:31:29 ========================================================= 08:31:29 [edgeXBuildGoParallel] Running Tests and Build... 08:31:29 ========================================================= [Pipeline] sh 08:31:29 + git config --global --add safe.directory /w/workspace/edgex-go/5 [Pipeline] fileExists [Pipeline] sh 08:31:30 + make test 08:31:30 go test -race -coverprofile=coverage.out ./... 08:31:36 ? github.com/edgexfoundry/edgex-go [no test files] 08:31:51 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 08:31:51 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 08:31:51 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 08:31:51 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 08:31:51 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 08:31:51 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 08:31:51 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 08:31:51 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 08:31:51 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 08:31:51 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 08:31:51 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 08:31:51 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 08:31:51 ? github.com/edgexfoundry/edgex-go/internal [no test files] 08:31:51 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 08:31:51 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.067s coverage: 28.7% of statements 08:31:51 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 08:31:51 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 08:31:52 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.081s coverage: 98.5% of statements 08:31:52 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 0.118s coverage: 43.1% of statements 08:31:52 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 08:31:52 ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] 08:31:52 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 08:31:52 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.075s coverage: 54.0% of statements 08:31:52 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 08:31:52 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 08:31:56 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 3.717s coverage: 89.2% of statements 08:31:56 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 08:31:56 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 08:31:56 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 08:31:56 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 08:31:56 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 08:31:56 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.092s coverage: 2.4% of statements 08:31:56 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 08:31:56 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 08:31:56 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.491s coverage: 95.6% of statements 08:31:56 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 08:31:56 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 08:31:56 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 08:31:56 ok github.com/edgexfoundry/edgex-go/internal/io 0.083s coverage: 72.2% of statements 08:31:56 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 08:31:56 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 08:31:56 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 08:31:56 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 08:31:56 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 08:31:56 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.084s coverage: 60.0% of statements 08:31:56 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 08:31:56 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 08:31:56 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 08:31:56 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.075s coverage: 0.9% of statements 08:31:56 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 08:31:56 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.053s coverage: 58.8% of statements 08:31:56 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.077s coverage: 29.6% of statements 08:31:56 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 08:31:56 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.080s coverage: 47.1% of statements 08:31:56 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.097s coverage: 79.5% of statements 08:31:56 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.059s coverage: 94.1% of statements 08:31:56 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.067s coverage: 96.3% of statements 08:31:56 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.068s coverage: 87.5% of statements 08:32:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.074s coverage: 94.4% of statements 08:32:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.067s coverage: 44.8% of statements 08:32:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.277s coverage: 79.9% of statements 08:32:07 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 08:32:12 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.097s coverage: 92.9% of statements 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 08:32:12 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.034s coverage: 65.1% of statements 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 08:32:12 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.108s coverage: 86.9% of statements 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 08:32:12 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.073s coverage: 87.2% of statements 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 08:32:12 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.056s coverage: 100.0% of statements 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 08:32:12 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.098s coverage: 77.4% of statements 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 08:32:12 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.072s coverage: 80.0% of statements 08:32:12 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.068s coverage: 87.2% of statements 08:32:12 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.231s coverage: 91.2% of statements 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 08:32:12 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.192s coverage: 64.7% of statements 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 08:32:12 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.057s coverage: 100.0% of statements 08:32:12 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.031s coverage: 89.4% of statements 08:32:12 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.032s coverage: 100.0% of statements 08:32:12 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.026s coverage: 73.7% of statements 08:32:12 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.033s coverage: 100.0% of statements 08:32:12 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.389s coverage: 65.3% of statements 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 08:32:12 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.176s coverage: 41.8% of statements 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 08:32:12 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.067s coverage: 89.5% of statements 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 08:32:12 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.062s coverage: 84.8% of statements 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 08:32:12 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.084s coverage: 17.7% of statements 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 08:32:12 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.166s coverage: 92.3% of statements 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 08:32:12 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.071s coverage: 63.2% of statements 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 08:32:12 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.109s coverage: 97.7% of statements 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 08:32:12 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 08:32:18 if which hadolint > /dev/null ; then hadolint --config .hadolint.yml `find * -type f -name 'Dockerfile*' -print` ; elif test "x86_64" = "x86_64" && which docker > /dev/null ; then docker run --rm -v `pwd`:/host:ro,z --entrypoint /bin/hadolint hadolint/hadolint:latest --config /host/.hadolint.yml `find * -type f -name 'Dockerfile*' | xargs -i echo '/host/{}'` ; fi 08:32:40 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 08:32:40 internal/core/common_config/main.go:77:2: S1021: should merge variable declaration with assignment on next line (gosimple) 08:32:40 var getAccessToken types.GetAccessTokenCallback 08:32:40 ^ 08:32:40 internal/core/common_config/main.go:198:10: S1025: the argument is already a string, there's no need to use fmt.Sprintf (gosimple) 08:32:40 key = fmt.Sprintf("%s", k) 08:32:40 ^ 08:32:40 make: *** [Makefile:150: lint] Error 1 [Pipeline] } 08:32:40 $ docker stop --time=1 229dfd1953b6601f5cf17faba00831eca39fb5eb4096b1a796666f02c9f4815f 08:32:47 $ docker rm -f --volumes 229dfd1953b6601f5cf17faba00831eca39fb5eb4096b1a796666f02c9f4815f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:32:48 Failed in branch amd64 08:33:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3658 in /w/workspace/edgexfoundry_edgex-go_PR-4306 [Pipeline] { [Pipeline] ws 08:33:09 Running in /w/workspace/edgex-go/5 [Pipeline] { [Pipeline] checkout 08:33:09 The recommended git tool is: git 08:33:16 using credential edgex-jenkins-ssh 08:33:16 Cloning the remote Git repository 08:33:16 Cloning repository git@github.com:edgexfoundry/edgex-go.git 08:33:16 > git init /w/workspace/edgex-go/5 # timeout=10 08:33:17 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 08:33:17 > git --version # timeout=10 08:33:17 > git --version # 'git version 2.25.1' 08:33:17 using GIT_SSH to set credentials SSH Credentials for GitHub 08:33:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:33:37 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 08:33:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:33:38 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 08:33:38 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 08:33:38 using GIT_SSH to set credentials SSH Credentials for GitHub 08:33:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4306/head:refs/remotes/origin/PR-4306 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:33:39 Merging remotes/origin/main commit 0884a144fb493a631a0908641cc58311c6d2a231 into PR head commit 71851e490a04d7c8798035f89a5959a124b14733 08:33:39 Merge succeeded, producing ab454b92750774e0cb76b1457f6a9d59efcd8cc7 08:33:39 Checking out Revision ab454b92750774e0cb76b1457f6a9d59efcd8cc7 (PR-4306) 08:33:39 > git config core.sparsecheckout # timeout=10 08:33:39 > git checkout -f 71851e490a04d7c8798035f89a5959a124b14733 # timeout=10 08:33:39 > git remote # timeout=10 08:33:39 > git config --get remote.origin.url # timeout=10 08:33:39 using GIT_SSH to set credentials SSH Credentials for GitHub 08:33:39 > git merge 0884a144fb493a631a0908641cc58311c6d2a231 # timeout=10 08:33:39 > git rev-parse HEAD^{commit} # timeout=10 08:33:39 > git config core.sparsecheckout # timeout=10 08:33:39 > git checkout -f ab454b92750774e0cb76b1457f6a9d59efcd8cc7 # timeout=10 08:33:43 Commit message: "Merge commit '0884a144fb493a631a0908641cc58311c6d2a231' into HEAD" 08:33:43 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:33:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:33:44 % Total % Received % Xferd Average Speed Time Time Time Current 08:33:44 Dload Upload Total Spent Left Speed 08:33:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 175k 0 --:--:-- --:--:-- --:--:-- 177k [Pipeline] sh 08:33:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:33:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:33:45 + sudo tee /etc/docker/daemon.new 08:33:45 { 08:33:45 "registry-mirrors": [ 08:33:45 "https://nexus3.edgexfoundry.org:10001" 08:33:45 ], 08:33:45 "bip": "10.250.0.254/24", 08:33:45 "hosts": [ 08:33:45 "tcp://0.0.0.0:5555", 08:33:45 "unix:///var/run/docker.sock" 08:33:45 ], 08:33:45 "mtu": 1458, 08:33:45 "selinux-enabled": true, 08:33:45 "seccomp-profile": "/etc/docker/seccomp.json" 08:33:45 } [Pipeline] sh 08:33:43 > git rev-list --no-walk 76102cdbbdcd8f844ca83f8c888533a06ee5fe41 # timeout=10 08:33:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:33:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:34:04 provisioning config files... 08:34:04 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/5@tmp/config1124705367970734951tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:34:05 ---> docker-login.sh 08:34:05 nexus3.edgexfoundry.org:10001 08:34:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:05 Configure a credential helper to remove this warning. See 08:34:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:05 08:34:05 Login Succeeded 08:34:05 nexus3.edgexfoundry.org:10002 08:34:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:06 Configure a credential helper to remove this warning. See 08:34:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:06 08:34:06 Login Succeeded 08:34:06 nexus3.edgexfoundry.org:10003 08:34:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:06 Configure a credential helper to remove this warning. See 08:34:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:06 08:34:06 Login Succeeded 08:34:06 nexus3.edgexfoundry.org:10004 08:34:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:07 Configure a credential helper to remove this warning. See 08:34:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:07 08:34:07 Login Succeeded 08:34:07 docker.io 08:34:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:07 Configure a credential helper to remove this warning. See 08:34:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:07 08:34:07 Login Succeeded 08:34:07 ---> docker-login.sh ends [Pipeline] } 08:34:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh 08:34:08 + git config --global --add safe.directory /w/workspace/edgex-go/5 [Pipeline] echo 08:34:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:34:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:34:08 ========================================================= 08:34:08 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 08:34:08 ========================================================= [Pipeline] fileExists [Pipeline] sh 08:34:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 08:34:09 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:34:09 9b18e9b68314: Pulling fs layer 08:34:09 35d82f9e3411: Pulling fs layer 08:34:09 e16973657156: Pulling fs layer 08:34:09 fc693d55d65f: Pulling fs layer 08:34:09 7e9fc2657dce: Pulling fs layer 08:34:09 dda99020689f: Pulling fs layer 08:34:09 db1c61fa0a46: Pulling fs layer 08:34:09 891c053d2c06: Pulling fs layer 08:34:09 fc693d55d65f: Waiting 08:34:09 7e9fc2657dce: Waiting 08:34:09 dda99020689f: Waiting 08:34:09 db1c61fa0a46: Waiting 08:34:09 891c053d2c06: Waiting 08:34:09 e16973657156: Verifying Checksum 08:34:09 35d82f9e3411: Verifying Checksum 08:34:09 35d82f9e3411: Download complete 08:34:09 7e9fc2657dce: Verifying Checksum 08:34:09 7e9fc2657dce: Download complete 08:34:09 9b18e9b68314: Verifying Checksum 08:34:09 9b18e9b68314: Download complete 08:34:09 dda99020689f: Verifying Checksum 08:34:09 dda99020689f: Download complete 08:34:09 9b18e9b68314: Pull complete 08:34:10 35d82f9e3411: Pull complete 08:34:10 e16973657156: Pull complete 08:34:10 891c053d2c06: Verifying Checksum 08:34:10 891c053d2c06: Download complete 08:34:12 db1c61fa0a46: Verifying Checksum 08:34:12 db1c61fa0a46: Download complete 08:34:12 fc693d55d65f: Verifying Checksum 08:34:12 fc693d55d65f: Download complete 08:34:24 fc693d55d65f: Pull complete 08:34:25 7e9fc2657dce: Pull complete 08:34:25 dda99020689f: Pull complete 08:34:32 db1c61fa0a46: Pull complete 08:34:34 891c053d2c06: Pull complete 08:34:34 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 08:34:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 08:34:34 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] fileExists [Pipeline] sh 08:34:34 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 08:34:34 WORKDIR /edgex 08:34:34 COPY go.mod . 08:34:34 RUN go mod download 08:34:34 + docker build -t ci-base-image-arm64 -f - . 08:34:35 Sending build context to Docker daemon 3.127MB 08:34:35 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 08:34:35 ---> f96f9c87975a 08:34:35 Step 2/4 : WORKDIR /edgex 08:34:37 ---> Running in 7d9b7fd73048 08:34:37 Removing intermediate container 7d9b7fd73048 08:34:37 ---> 83e063fcc76d 08:34:37 Step 3/4 : COPY go.mod . 08:34:38 ---> 0e0be5668c81 08:34:38 Step 4/4 : RUN go mod download 08:34:38 ---> Running in 30e7a728fcee 08:35:10 Removing intermediate container 30e7a728fcee 08:35:10 ---> 938058594c24 08:35:10 Successfully built 938058594c24 08:35:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:35:10 + docker inspect -f . ci-base-image-arm64 08:35:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:35:11 prd-ubuntu20.04-docker-arm64-4c-16g-3658 does not seem to be running inside a container 08:35:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:35:12 $ docker top 2d762e1120a55732ebd6d823bf3fa84ba05b44555f0d9f6f79bd3a36445f30e2 -eo pid,comm [Pipeline] { [Pipeline] sh 08:35:13 + go version 08:35:13 go version go1.18.7 linux/arm64 [Pipeline] } 08:35:13 $ docker stop --time=1 2d762e1120a55732ebd6d823bf3fa84ba05b44555f0d9f6f79bd3a36445f30e2 08:35:15 $ docker rm -f --volumes 2d762e1120a55732ebd6d823bf3fa84ba05b44555f0d9f6f79bd3a36445f30e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:35:15 + docker inspect -f . ci-base-image-arm64 08:35:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:35:15 prd-ubuntu20.04-docker-arm64-4c-16g-3658 does not seem to be running inside a container 08:35:15 $ 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/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:35:17 $ docker top 4581cc59396d1b3226b45ee7b472e4020066a23b4dca8ee715e04168b84d694a -eo pid,comm [Pipeline] { [Pipeline] echo 08:35:17 ========================================================= 08:35:17 [edgeXBuildGoParallel] Running Tests and Build... 08:35:17 ========================================================= [Pipeline] sh 08:35:18 + git config --global --add safe.directory /w/workspace/edgex-go/5 [Pipeline] fileExists [Pipeline] sh 08:35:18 + make test 08:35:18 go test -race -coverprofile=coverage.out ./... 08:35:57 ? github.com/edgexfoundry/edgex-go [no test files] 08:38:19 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 08:38:19 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 08:38:19 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 08:38:19 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 08:38:19 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 08:38:22 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 08:38:24 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 08:38:24 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 08:38:24 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 08:38:24 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 08:38:29 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 08:38:29 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 08:38:29 ? github.com/edgexfoundry/edgex-go/internal [no test files] 08:38:29 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 08:38:51 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.255s coverage: 28.7% of statements 08:38:51 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 08:38:51 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 08:38:56 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.544s coverage: 98.5% of statements 08:38:58 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 0.625s coverage: 43.1% of statements 08:38:58 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 08:38:58 ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] 08:38:58 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 08:38:58 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.533s coverage: 54.0% of statements 08:38:58 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 08:38:58 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 08:39:20 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 19.634s coverage: 89.2% of statements 08:39:20 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 08:39:20 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 08:39:20 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 08:39:20 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 08:39:20 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 08:39:20 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.774s coverage: 2.4% of statements 08:39:20 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 08:39:20 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 08:39:22 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 3.057s coverage: 95.6% of statements 08:39:22 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 08:39:22 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 08:39:22 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 08:39:22 ok github.com/edgexfoundry/edgex-go/internal/io 0.400s coverage: 72.2% of statements 08:39:22 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 08:39:22 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 08:39:22 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 08:39:22 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 08:39:22 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 08:39:22 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.456s coverage: 60.0% of statements 08:39:22 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 08:39:22 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 08:39:22 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 08:39:22 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.432s coverage: 0.9% of statements 08:39:22 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 08:39:22 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.295s coverage: 58.8% of statements 08:39:22 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.368s coverage: 29.6% of statements 08:39:22 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 08:39:24 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.493s coverage: 47.1% of statements 08:39:24 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.305s coverage: 79.5% of statements 08:39:24 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.274s coverage: 94.1% of statements 08:39:25 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.315s coverage: 96.3% of statements 08:39:28 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.339s coverage: 87.5% of statements 08:39:41 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.287s coverage: 94.4% of statements 08:39:41 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.249s coverage: 44.8% of statements 08:39:49 flag provided but not defined: -invalid 08:39:49 Usage of setupRegistryACL: 08:39:49 -configDir string 08:39:49 08:39:49 --- FAIL: TestExecute (0.00s) 08:39:49 --- FAIL: TestExecute/Good:setupRegistryACL_with_ok_response_from_server (1.05s) 08:39:49 command_test.go:181: 08:39:49 Error Trace: /w/workspace/edgex-go/5/internal/security/bootstrapper/command/setupacl/command_test.go:181 08:39:49 Error: Received unexpected error: 08:39:49 failed to configure Consul access: Post "http://127.0.0.1:36159/v1/consul/config/access": EOF 08:39:49 Test: TestExecute/Good:setupRegistryACL_with_ok_response_from_server 08:39:49 FAIL 08:39:49 coverage: 79.9% of statements 08:39:49 FAIL github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 15.141s 08:39:49 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 08:39:53 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.395s coverage: 92.9% of statements 08:39:53 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 08:39:53 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 08:39:53 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 08:39:53 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.076s coverage: 65.1% of statements 08:39:53 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 08:39:53 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 08:39:53 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 08:39:53 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 08:39:53 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.307s coverage: 86.9% of statements 08:39:53 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 08:39:53 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 08:39:53 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 08:39:53 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 08:39:53 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.269s coverage: 87.2% of statements 08:39:53 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 08:39:53 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 08:39:53 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.219s coverage: 100.0% of statements 08:39:53 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 08:39:53 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.324s coverage: 77.4% of statements 08:39:53 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 08:39:53 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.364s coverage: 80.0% of statements 08:39:53 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.315s coverage: 87.2% of statements 08:39:55 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 1.220s coverage: 91.2% of statements 08:39:55 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 08:40:02 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.184s coverage: 64.7% of statements 08:40:02 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 08:40:02 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 08:40:02 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.340s coverage: 100.0% of statements 08:40:02 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.253s coverage: 89.4% of statements 08:40:02 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.068s coverage: 100.0% of statements 08:40:02 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.095s coverage: 73.7% of statements 08:40:02 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.123s coverage: 100.0% of statements 08:40:09 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.575s coverage: 65.3% of statements 08:40:09 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 08:40:09 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 08:40:09 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 08:40:11 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.879s coverage: 41.8% of statements 08:40:11 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 08:40:11 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 08:40:11 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.332s coverage: 89.5% of statements 08:40:11 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 08:40:11 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.311s coverage: 84.8% of statements 08:40:11 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 08:40:11 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 08:40:11 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 08:40:11 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 08:40:20 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.402s coverage: 17.7% of statements 08:40:20 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 08:40:20 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 08:40:20 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 08:40:20 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 08:40:20 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.822s coverage: 92.3% of statements 08:40:20 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 08:40:20 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 08:40:20 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 08:40:20 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 08:40:20 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.368s coverage: 63.2% of statements 08:40:20 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 08:40:20 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 08:40:20 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.541s coverage: 97.7% of statements 08:40:20 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 08:40:20 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 08:40:20 FAIL 08:40:21 make: *** [Makefile:143: unittest] Error 1 [Pipeline] } 08:40:21 $ docker stop --time=1 4581cc59396d1b3226b45ee7b472e4020066a23b4dca8ee715e04168b84d694a 08:40:23 $ docker rm -f --volumes 4581cc59396d1b3226b45ee7b472e4020066a23b4dca8ee715e04168b84d694a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:40:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:40:24 08:40:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:40:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:40:25 arm64: Pulling from edgex-lftools-log-publisher 08:40:25 8998bd30e6a1: Pulling fs layer 08:40:25 04944245beec: Pulling fs layer 08:40:25 699f458cf7ca: Pulling fs layer 08:40:25 765212b225bb: Pulling fs layer 08:40:25 f23df028b6ca: Pulling fs layer 08:40:25 d65c8cfc05b1: Pulling fs layer 08:40:25 2437ff75d9bd: Pulling fs layer 08:40:25 f23df028b6ca: Waiting 08:40:25 d65c8cfc05b1: Waiting 08:40:25 2437ff75d9bd: Waiting 08:40:25 765212b225bb: Waiting 08:40:25 04944245beec: Verifying Checksum 08:40:25 04944245beec: Download complete 08:40:25 765212b225bb: Verifying Checksum 08:40:25 765212b225bb: Download complete 08:40:25 f23df028b6ca: Verifying Checksum 08:40:25 f23df028b6ca: Download complete 08:40:25 d65c8cfc05b1: Verifying Checksum 08:40:25 d65c8cfc05b1: Download complete 08:40:25 699f458cf7ca: Verifying Checksum 08:40:25 699f458cf7ca: Download complete 08:40:26 8998bd30e6a1: Verifying Checksum 08:40:26 8998bd30e6a1: Download complete 08:40:28 2437ff75d9bd: Verifying Checksum 08:40:28 2437ff75d9bd: Download complete 08:40:30 8998bd30e6a1: Pull complete 08:40:30 04944245beec: Pull complete 08:40:32 699f458cf7ca: Pull complete 08:40:32 765212b225bb: Pull complete 08:40:33 f23df028b6ca: Pull complete 08:40:33 d65c8cfc05b1: Pull complete 08:40:48 2437ff75d9bd: Pull complete 08:40:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:40:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:40:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:40:49 prd-ubuntu20.04-docker-arm64-4c-16g-3658 does not seem to be running inside a container 08:40: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/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:40:52 $ docker top c42a983ede04966580e69eb21672a3730c5acdcb966a13ef84a124c6eeb03c23 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:40:53 ---> job-cost.sh 08:40:53 lf-activate-venv: SKIPPING 08:40:53 INFO: No Stack... 08:40:53 INFO: Retrieving Pricing Info for: v3-standard-4 08:40:54 INFO: Archiving Costs [Pipeline] sh 08:40:54 + cat /w/workspace/edgex-go/5/archives/cost.csv+ 08:40:54 cut -d, -f6 [Pipeline] lock 08:40:55 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4306-5-stack-cost] 08:40:55 Resource [jenkins-edgexfoundry-edgex-go-PR-4306-5-stack-cost] did not exist. Created. 08:40:55 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4306-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:40:55 + echo total: 0.10999999940395355 [Pipeline] stash 08:40:56 Stashed 1 file(s) [Pipeline] } 08:40:56 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4306-5-stack-cost] [Pipeline] // lock [Pipeline] } 08:40:56 $ docker stop --time=1 c42a983ede04966580e69eb21672a3730c5acdcb966a13ef84a124c6eeb03c23 08:40:58 $ docker rm -f --volumes c42a983ede04966580e69eb21672a3730c5acdcb966a13ef84a124c6eeb03c23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:40:58 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 08:40:58 + [ -d /w/workspace/edgex-go/5/archives ] [Pipeline] libraryResource [Pipeline] sh 08:40:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:41:00 ---> package-listing.sh 08:41:00 ++ tr '[:upper:]' '[:lower:]' 08:41:00 ++ facter osfamily 08:41:00 + OS_FAMILY=debian 08:41:00 + workspace=/w/workspace/edgex-go/5 08:41:00 + START_PACKAGES=/tmp/packages_start.txt 08:41:00 + END_PACKAGES=/tmp/packages_end.txt 08:41:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:41:00 + PACKAGES=/tmp/packages_start.txt 08:41:00 + '[' /w/workspace/edgex-go/5 ']' 08:41:00 + PACKAGES=/tmp/packages_end.txt 08:41:00 + case "${OS_FAMILY}" in 08:41:00 + dpkg -l 08:41:00 + grep '^ii' 08:41:00 + '[' -f /tmp/packages_start.txt ']' 08:41:00 + '[' -f /tmp/packages_end.txt ']' 08:41:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:41:00 + '[' /w/workspace/edgex-go/5 ']' 08:41:00 + mkdir -p /w/workspace/edgex-go/5/archives/ 08:41:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/5/archives/ [Pipeline] echo 08:41:00 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/5/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:41:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:41:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:41:01 08:41:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:41:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:41:01 latest: Pulling from edgex-lftools-log-publisher 08:41:01 5eb5b503b376: Pulling fs layer 08:41:01 5c69ac0246d0: Pulling fs layer 08:41:01 ec43610c2a17: Pulling fs layer 08:41:01 3a2ae6a8a46f: Pulling fs layer 08:41:01 33b1e0a273af: Pulling fs layer 08:41:01 5d3b04190fa2: Pulling fs layer 08:41:01 2f39f015ded8: Pulling fs layer 08:41:01 3a2ae6a8a46f: Waiting 08:41:01 33b1e0a273af: Waiting 08:41:01 5d3b04190fa2: Waiting 08:41:01 2f39f015ded8: Waiting 08:41:01 5c69ac0246d0: Verifying Checksum 08:41:01 5c69ac0246d0: Download complete 08:41:01 3a2ae6a8a46f: Verifying Checksum 08:41:01 3a2ae6a8a46f: Download complete 08:41:01 33b1e0a273af: Verifying Checksum 08:41:01 33b1e0a273af: Download complete 08:41:01 5d3b04190fa2: Download complete 08:41:01 ec43610c2a17: Verifying Checksum 08:41:01 ec43610c2a17: Download complete 08:41:01 5eb5b503b376: Download complete 08:41:02 2f39f015ded8: Verifying Checksum 08:41:02 2f39f015ded8: Download complete 08:41:03 5eb5b503b376: Pull complete 08:41:03 5c69ac0246d0: Pull complete 08:41:04 ec43610c2a17: Pull complete 08:41:04 3a2ae6a8a46f: Pull complete 08:41:04 33b1e0a273af: Pull complete 08:41:04 5d3b04190fa2: Pull complete 08:41:09 2f39f015ded8: Pull complete 08:41:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:41:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:41:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:41:09 prd-ubuntu20.04-docker-8c-8g-3652 does not seem to be running inside a container 08:41:09 $ 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/5/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/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:41:16 $ docker top 419571b928ff41d2fc859f75915352ea9476cceb6f032d6de72c632ffbf70684 -eo pid,comm [Pipeline] { [Pipeline] sh 08:41:17 + touch /tmp/pre-build-complete [Pipeline] sh 08:41:17 + mkdir -p /var/log/sysstat [Pipeline] sh 08:41:17 + ls /var/log/sa-host 08:41:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:41:17 provisioning config files... 08:41:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/5@tmp/config6600714287052838781tmp [Pipeline] { [Pipeline] echo 08:41:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:41:18 ---> create-netrc.sh [Pipeline] } 08:41:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:41:18 ---> python-tools-install.sh [Pipeline] echo 08:41:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:41:18 ---> sudo-logs.sh 08:41:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:41:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:41:19 ---> job-cost.sh 08:41:19 lf-activate-venv: SKIPPING 08:41:19 DEBUG: total: 0.10999999940395355 08:41:19 INFO: Retrieving Stack Cost... 08:41:19 INFO: Retrieving Pricing Info for: v3-standard-8 08:41:20 INFO: Archiving Costs [Pipeline] echo 08:41:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:41:20 ---> logs-deploy.sh 08:41:20 lf-activate-venv: SKIPPING 08:41:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4306/5 08:41:20 INFO: archiving workspace using pattern(s): 08:41:21 Archives upload complete. 08:41:21 INFO: archiving logs to Nexus 08:41:22 ---> uname -a: 08:41:22 Linux prd-ubuntu20-04-docker-8c-8g-3652 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 08:41:22 08:41:22