Pull request #4343 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/edgex-go Loading trusted files from base branch main at 81c92a7234808790c4cb0e8fcc6e328e78abdf11 rather than de2c7739a97a3d8d6d7cfcfe36bb878179da86d7 Obtained Jenkinsfile from 81c92a7234808790c4cb0e8fcc6e328e78abdf11 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-ssh16779323712049470676.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-ssh2036779940001088229.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4343/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4343/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12839300309678826304.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4343/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6756402921857021278.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3219317122523338414.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4343/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4343/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2185300679984724612.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2], buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: DOCKER_IMAGE_NAME_SUFFIX: DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-5322 in /w/workspace/edgexfoundry_edgex-go_PR-4343 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/1 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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/4343/head:refs/remotes/origin/PR-4343 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 81c92a7234808790c4cb0e8fcc6e328e78abdf11 into PR head commit de2c7739a97a3d8d6d7cfcfe36bb878179da86d7 Merge succeeded, producing de2c7739a97a3d8d6d7cfcfe36bb878179da86d7 Checking out Revision de2c7739a97a3d8d6d7cfcfe36bb878179da86d7 (PR-4343) > git config core.sparsecheckout # timeout=10 > git checkout -f de2c7739a97a3d8d6d7cfcfe36bb878179da86d7 # 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 81c92a7234808790c4cb0e8fcc6e328e78abdf11 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f de2c7739a97a3d8d6d7cfcfe36bb878179da86d7 # timeout=10 Commit message: "feat: Update Device Profile System Event Owner" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-10T10:37:43.053Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-10T10:37:43.223Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-10T10:37:43.317Z] ========================================================= [2023-02-10T10:37:43.317Z] EdgeX Global Pipelines Version Info [2023-02-10T10:37:43.317Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-10T10:37:44.048Z] ------------------- [2023-02-10T10:37:44.048Z] stable info: [2023-02-10T10:37:44.048Z] ------------------- [2023-02-10T10:37:44.048Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-10T10:37:44.048Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-10T10:37:44.048Z] Message: update stable to v1.0.244 [2023-02-10T10:37:44.621Z] ------------------- [2023-02-10T10:37:44.621Z] experimental info: [2023-02-10T10:37:44.621Z] ------------------- [2023-02-10T10:37:44.621Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-10T10:37:44.621Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-10T10:37:44.621Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-10T10:37:44.922Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2023-02-10T10:37:44.959Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2023-02-10T10:37:44.998Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-10T10:37:45.031Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-10T10:37:45.071Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-10T10:37:45.106Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-10T10:37:45.140Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-10T10:37:45.176Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2023-02-10T10:37:45.214Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2023-02-10T10:37:45.252Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2023-02-10T10:37:45.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-10T10:37:45.325Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-10T10:37:45.362Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-10T10:37:45.398Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-10T10:37:45.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-10T10:37:45.476Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-10T10:37:45.523Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-10T10:37:45.564Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-10T10:37:45.600Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-10T10:37:45.639Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-02-10T10:37:45.677Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-10T10:37:45.714Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-10T10:37:45.752Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-10T10:37:45.792Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4343 [Pipeline] echo [2023-02-10T10:37:45.838Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4343 [Pipeline] echo [2023-02-10T10:37:45.879Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4343 [Pipeline] echo [2023-02-10T10:37:45.914Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = de2c7739a97a3d8d6d7cfcfe36bb878179da86d7 [Pipeline] echo [2023-02-10T10:37:45.954Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = de2c773 [Pipeline] echo [2023-02-10T10:37:45.992Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-10T10:37:46.103Z] provisioning config files... [2023-02-10T10:37:46.118Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config11201447833846324777tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-10T10:37:46.455Z] ---> docker-login.sh [2023-02-10T10:37:46.455Z] nexus3.edgexfoundry.org:10001 [2023-02-10T10:37:46.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T10:37:46.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T10:37:46.981Z] Configure a credential helper to remove this warning. See [2023-02-10T10:37:46.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T10:37:46.981Z] [2023-02-10T10:37:46.981Z] Login Succeeded [2023-02-10T10:37:46.981Z] nexus3.edgexfoundry.org:10002 [2023-02-10T10:37:46.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T10:37:46.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T10:37:46.981Z] Configure a credential helper to remove this warning. See [2023-02-10T10:37:46.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T10:37:46.981Z] [2023-02-10T10:37:46.981Z] Login Succeeded [2023-02-10T10:37:46.981Z] nexus3.edgexfoundry.org:10003 [2023-02-10T10:37:46.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T10:37:47.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T10:37:47.241Z] Configure a credential helper to remove this warning. See [2023-02-10T10:37:47.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T10:37:47.241Z] [2023-02-10T10:37:47.241Z] Login Succeeded [2023-02-10T10:37:47.241Z] nexus3.edgexfoundry.org:10004 [2023-02-10T10:37:47.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T10:37:47.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T10:37:47.241Z] Configure a credential helper to remove this warning. See [2023-02-10T10:37:47.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T10:37:47.241Z] [2023-02-10T10:37:47.241Z] Login Succeeded [2023-02-10T10:37:47.241Z] docker.io [2023-02-10T10:37:47.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T10:37:47.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T10:37:47.501Z] Configure a credential helper to remove this warning. See [2023-02-10T10:37:47.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T10:37:47.501Z] [2023-02-10T10:37:47.501Z] Login Succeeded [2023-02-10T10:37:47.501Z] ---> docker-login.sh ends [Pipeline] } [2023-02-10T10:37:47.525Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-10T10:37:47.935Z] + 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 [2023-02-10T10:37:47.935Z] + dirname cmd/core-command/Dockerfile [2023-02-10T10:37:47.935Z] + cut -d/ -f2 [2023-02-10T10:37:47.935Z] + echo core-command,cmd/core-command/Dockerfile [2023-02-10T10:37:47.935Z] + dirname cmd/core-common-config-bootstrapper/Dockerfile [2023-02-10T10:37:47.935Z] + cut -d/ -f2 [2023-02-10T10:37:47.935Z] + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile [2023-02-10T10:37:47.935Z] + dirname cmd/core-data/Dockerfile [2023-02-10T10:37:47.935Z] + cut -d/ -f2 [2023-02-10T10:37:47.935Z] + echo core-data,cmd/core-data/Dockerfile [2023-02-10T10:37:47.935Z] + + cut -d/ -f2 [2023-02-10T10:37:47.935Z] dirname cmd/core-metadata/Dockerfile [2023-02-10T10:37:47.935Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2023-02-10T10:37:47.935Z] + dirname cmd/security-bootstrapper/Dockerfile [2023-02-10T10:37:47.935Z] + cut -d/ -f2 [2023-02-10T10:37:47.935Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2023-02-10T10:37:47.935Z] + dirname cmd/security-proxy-setup/Dockerfile [2023-02-10T10:37:47.935Z] + cut -d/ -f2 [2023-02-10T10:37:47.935Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2023-02-10T10:37:47.935Z] + dirname cmd/security-secretstore-setup/Dockerfile [2023-02-10T10:37:47.935Z] + cut -d/ -f2 [2023-02-10T10:37:47.935Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2023-02-10T10:37:47.935Z] + dirname cmd/security-spiffe-token-provider/Dockerfile [2023-02-10T10:37:47.935Z] + cut -d/ -f2 [2023-02-10T10:37:47.935Z] + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile [2023-02-10T10:37:47.935Z] + dirname cmd/security-spire-agent/Dockerfile [2023-02-10T10:37:47.935Z] + cut -d/ -f2 [2023-02-10T10:37:47.935Z] + echo security-spire-agent,cmd/security-spire-agent/Dockerfile [2023-02-10T10:37:47.935Z] + dirname cmd/security-spire-config/Dockerfile [2023-02-10T10:37:47.935Z] + cut -d/ -f2 [2023-02-10T10:37:47.935Z] + echo security-spire-config,cmd/security-spire-config/Dockerfile [2023-02-10T10:37:47.935Z] + dirname cmd/security-spire-server/Dockerfile [2023-02-10T10:37:47.935Z] + cut -d/ -f2 [2023-02-10T10:37:47.935Z] + echo security-spire-server,cmd/security-spire-server/Dockerfile [2023-02-10T10:37:47.935Z] + dirname cmd/support-notifications/Dockerfile [2023-02-10T10:37:47.935Z] + cut -d/ -f2 [2023-02-10T10:37:47.935Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2023-02-10T10:37:47.935Z] + dirname cmd/support-scheduler/Dockerfile [2023-02-10T10:37:47.935Z] + cut -d/ -f2 [2023-02-10T10:37:47.935Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo [2023-02-10T10:37:48.002Z] 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 [2023-02-10T10:37:48.489Z] + git rev-list -1 --merges de2c7739a97a3d8d6d7cfcfe36bb878179da86d7~1..de2c7739a97a3d8d6d7cfcfe36bb878179da86d7 [Pipeline] echo [2023-02-10T10:37:48.522Z] -----------> git rev-list -1 --merges de2c7739a97a3d8d6d7cfcfe36bb878179da86d7~1..de2c7739a97a3d8d6d7cfcfe36bb878179da86d7 de2c7739a97a3d8d6d7cfcfe36bb878179da86d7 [false] [Pipeline] sh [2023-02-10T10:37:48.831Z] + git log --format=format:%s -1 de2c7739a97a3d8d6d7cfcfe36bb878179da86d7 [Pipeline] echo [2023-02-10T10:37:48.864Z] ========================================================= [2023-02-10T10:37:48.864Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-10T10:37:48.864Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-02-10T10:37:49.340Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-10T10:37:49.340Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-10T10:37:49.340Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-10T10:37:49.340Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-10T10:37:49.340Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-10T10:37:49.340Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-10T10:37:49.340Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-10T10:37:49.827Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-10T10:37:49.827Z] [2023-02-10T10:37:49.827Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-10T10:37:50.202Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-10T10:37:50.202Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-10T10:37:50.202Z] b85a868b505f: Pulling fs layer [2023-02-10T10:37:50.202Z] e2be974225ed: Pulling fs layer [2023-02-10T10:37:50.202Z] 339a4e72a1f5: Pulling fs layer [2023-02-10T10:37:50.202Z] 988bab9f4d93: Pulling fs layer [2023-02-10T10:37:50.202Z] 1469e6f7b9e6: Pulling fs layer [2023-02-10T10:37:50.202Z] eaf3925da568: Pulling fs layer [2023-02-10T10:37:50.202Z] bab4dde63d76: Pulling fs layer [2023-02-10T10:37:50.202Z] bde34c3a00c8: Pulling fs layer [2023-02-10T10:37:50.202Z] 988bab9f4d93: Waiting [2023-02-10T10:37:50.202Z] eaf3925da568: Waiting [2023-02-10T10:37:50.202Z] 1469e6f7b9e6: Waiting [2023-02-10T10:37:50.202Z] bab4dde63d76: Waiting [2023-02-10T10:37:50.202Z] b352a97aabf1: Pulling fs layer [2023-02-10T10:37:50.202Z] 4872d77fe225: Pulling fs layer [2023-02-10T10:37:50.202Z] 5851b861e8e6: Pulling fs layer [2023-02-10T10:37:50.202Z] bde34c3a00c8: Waiting [2023-02-10T10:37:50.202Z] 5851b861e8e6: Waiting [2023-02-10T10:37:50.202Z] b352a97aabf1: Waiting [2023-02-10T10:37:50.202Z] 4872d77fe225: Waiting [2023-02-10T10:37:50.470Z] 988bab9f4d93: Verifying Checksum [2023-02-10T10:37:50.470Z] 339a4e72a1f5: Verifying Checksum [2023-02-10T10:37:50.470Z] 339a4e72a1f5: Download complete [2023-02-10T10:37:50.736Z] 1469e6f7b9e6: Verifying Checksum [2023-02-10T10:37:50.736Z] 1469e6f7b9e6: Download complete [2023-02-10T10:37:50.736Z] bde34c3a00c8: Verifying Checksum [2023-02-10T10:37:50.736Z] bde34c3a00c8: Download complete [2023-02-10T10:37:50.736Z] b352a97aabf1: Download complete [2023-02-10T10:37:50.736Z] 4872d77fe225: Verifying Checksum [2023-02-10T10:37:50.736Z] 4872d77fe225: Download complete [2023-02-10T10:37:50.736Z] 5851b861e8e6: Download complete [2023-02-10T10:37:50.995Z] b85a868b505f: Verifying Checksum [2023-02-10T10:37:50.995Z] b85a868b505f: Download complete [2023-02-10T10:37:51.254Z] bab4dde63d76: Verifying Checksum [2023-02-10T10:37:51.254Z] bab4dde63d76: Download complete [2023-02-10T10:37:52.189Z] b85a868b505f: Pull complete [2023-02-10T10:37:52.189Z] e2be974225ed: Pull complete [2023-02-10T10:37:52.757Z] 339a4e72a1f5: Pull complete [2023-02-10T10:37:52.757Z] 988bab9f4d93: Pull complete [2023-02-10T10:37:53.016Z] 1469e6f7b9e6: Pull complete [2023-02-10T10:37:53.274Z] eaf3925da568: Pull complete [2023-02-10T10:37:55.174Z] bab4dde63d76: Pull complete [2023-02-10T10:37:55.174Z] bde34c3a00c8: Pull complete [2023-02-10T10:37:55.174Z] b352a97aabf1: Pull complete [2023-02-10T10:37:55.174Z] 4872d77fe225: Pull complete [2023-02-10T10:37:55.174Z] 5851b861e8e6: Pull complete [2023-02-10T10:37:55.435Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-10T10:37:55.435Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-10T10:37:55.435Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-10T10:37:55.644Z] prd-ubuntu20.04-docker-8c-8g-5322 does not seem to be running inside a container [2023-02-10T10:37:55.678Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-10T10:37:57.908Z] $ docker top 1e8fd371bef5b29d0667244d8e73aa95004d2fdafd029848a1c87e00ab6e1efd -eo pid,comm [2023-02-10T10:37:57.971Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-10T10:37:57.971Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-10T10:37:58.093Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-10T10:37:58.093Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-10T10:37:58.207Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-10T10:37:58.211Z] $ docker exec 1e8fd371bef5b29d0667244d8e73aa95004d2fdafd029848a1c87e00ab6e1efd ssh-agent [2023-02-10T10:37:58.322Z] SSH_AUTH_SOCK=/tmp/ssh-xJRtXVdlgyFL/agent.31 [2023-02-10T10:37:58.322Z] SSH_AGENT_PID=37 [2023-02-10T10:37:58.328Z] Running ssh-add (command line suppressed) [2023-02-10T10:37:58.422Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_11021653698588943116.key (/w/workspace/edgex-go/1@tmp/private_key_11021653698588943116.key) [2023-02-10T10:37:58.435Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-10T10:37:58.760Z] + git tag --points-at HEAD [Pipeline] } [2023-02-10T10:37:58.789Z] $ docker exec --env ******** --env ******** 1e8fd371bef5b29d0667244d8e73aa95004d2fdafd029848a1c87e00ab6e1efd ssh-agent -k [2023-02-10T10:37:58.894Z] unset SSH_AUTH_SOCK; [2023-02-10T10:37:58.894Z] unset SSH_AGENT_PID; [2023-02-10T10:37:58.894Z] echo Agent pid 37 killed; [2023-02-10T10:37:58.905Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-10T10:37:58.989Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-10T10:37:58.989Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-10T10:37:59.108Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-10T10:37:59.112Z] $ docker exec 1e8fd371bef5b29d0667244d8e73aa95004d2fdafd029848a1c87e00ab6e1efd ssh-agent [2023-02-10T10:37:59.217Z] SSH_AUTH_SOCK=/tmp/ssh-hzU0pYqUmaWi/agent.69 [2023-02-10T10:37:59.217Z] SSH_AGENT_PID=75 [2023-02-10T10:37:59.222Z] Running ssh-add (command line suppressed) [2023-02-10T10:37:59.325Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_4973598130870651357.key (/w/workspace/edgex-go/1@tmp/private_key_4973598130870651357.key) [2023-02-10T10:37:59.340Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-10T10:37:59.674Z] + git semver init [2023-02-10T10:37:59.935Z] 2023-02-10 10:37:59,870 [run_init] DEBUG init version:0.0.0 force:False [2023-02-10T10:37:59.935Z] 2023-02-10 10:37:59,871 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/1/.semver [2023-02-10T10:37:59.935Z] 2023-02-10 10:37:59,871 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/1/.semver [2023-02-10T10:37:59.935Z] 2023-02-10 10:37:59,871 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/edgex-go.git', '/w/workspace/edgex-go/1/.semver'], cwd=/w/workspace/edgex-go/1, universal_newlines=False, shell=None, istream=None) [2023-02-10T10:38:06.581Z] 2023-02-10 10:38:05,303 [append_file] DEBUG append to file:/w/workspace/edgex-go/1/.git/info/exclude [2023-02-10T10:38:06.581Z] 2023-02-10 10:38:05,304 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/1/.semver/PR-4343 with force:False [2023-02-10T10:38:06.581Z] 2023-02-10 10:38:05,304 [write_file] DEBUG write to file:/w/workspace/edgex-go/1/.semver/PR-4343 [2023-02-10T10:38:06.581Z] 2023-02-10 10:38:05,308 [execute] INFO git cat-file --batch-check [2023-02-10T10:38:06.581Z] 2023-02-10 10:38:05,308 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) [2023-02-10T10:38:06.581Z] 2023-02-10 10:38:05,315 [execute] INFO git cat-file --batch [2023-02-10T10:38:06.581Z] 2023-02-10 10:38:05,316 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) [2023-02-10T10:38:06.581Z] 2023-02-10 10:38:05,322 [read_version] DEBUG read version from /w/workspace/edgex-go/1/.semver/PR-4343 [2023-02-10T10:38:06.581Z] 0.0.0 [Pipeline] } [2023-02-10T10:38:06.608Z] $ docker exec --env ******** --env ******** 1e8fd371bef5b29d0667244d8e73aa95004d2fdafd029848a1c87e00ab6e1efd ssh-agent -k [2023-02-10T10:38:06.726Z] unset SSH_AUTH_SOCK; [2023-02-10T10:38:06.727Z] unset SSH_AGENT_PID; [2023-02-10T10:38:06.727Z] echo Agent pid 75 killed; [2023-02-10T10:38:06.736Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-10T10:38:07.144Z] + git semver [Pipeline] } [2023-02-10T10:38:07.427Z] $ docker stop --time=1 1e8fd371bef5b29d0667244d8e73aa95004d2fdafd029848a1c87e00ab6e1efd [2023-02-10T10:38:08.723Z] $ docker rm -f --volumes 1e8fd371bef5b29d0667244d8e73aa95004d2fdafd029848a1c87e00ab6e1efd [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-10T10:38:09.159Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-10T10:38:09.413Z] Stashed 1 file(s) [Pipeline] echo [2023-02-10T10:38:09.434Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-10T10:38:10.208Z] + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo [2023-02-10T10:38:10.248Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-10T10:38:10.277Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-10T10:38:10.306Z] ========================================================= [2023-02-10T10:38:10.306Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-10T10:38:10.306Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2023-02-10T10:38:10.645Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-10T10:38:10.645Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-10T10:38:10.645Z] 213ec9aee27d: Pulling fs layer [2023-02-10T10:38:10.645Z] 4583459ba037: Pulling fs layer [2023-02-10T10:38:10.645Z] 93c1e223e6f2: Pulling fs layer [2023-02-10T10:38:10.645Z] 53926ce57604: Pulling fs layer [2023-02-10T10:38:10.645Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-10T10:38:10.645Z] 22ff95d597cd: Pulling fs layer [2023-02-10T10:38:10.645Z] 12d6caf4c0d1: Pulling fs layer [2023-02-10T10:38:10.645Z] 96b7cbca73a9: Pulling fs layer [2023-02-10T10:38:10.645Z] a7acece74701: Pulling fs layer [2023-02-10T10:38:10.645Z] 53926ce57604: Waiting [2023-02-10T10:38:10.645Z] 21b2b0c7a3f4: Waiting [2023-02-10T10:38:10.645Z] 22ff95d597cd: Waiting [2023-02-10T10:38:10.645Z] 12d6caf4c0d1: Waiting [2023-02-10T10:38:10.645Z] 96b7cbca73a9: Waiting [2023-02-10T10:38:10.645Z] a7acece74701: Waiting [2023-02-10T10:38:10.645Z] 93c1e223e6f2: Download complete [2023-02-10T10:38:10.645Z] 4583459ba037: Download complete [2023-02-10T10:38:10.645Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-10T10:38:10.645Z] 21b2b0c7a3f4: Download complete [2023-02-10T10:38:10.645Z] 22ff95d597cd: Download complete [2023-02-10T10:38:10.907Z] 213ec9aee27d: Verifying Checksum [2023-02-10T10:38:10.907Z] 213ec9aee27d: Download complete [2023-02-10T10:38:10.907Z] 12d6caf4c0d1: Download complete [2023-02-10T10:38:10.907Z] 213ec9aee27d: Pull complete [2023-02-10T10:38:11.172Z] 4583459ba037: Pull complete [2023-02-10T10:38:11.172Z] 93c1e223e6f2: Pull complete [2023-02-10T10:38:12.170Z] a7acece74701: Verifying Checksum [2023-02-10T10:38:12.170Z] a7acece74701: Download complete [2023-02-10T10:38:12.170Z] 53926ce57604: Verifying Checksum [2023-02-10T10:38:12.170Z] 53926ce57604: Download complete [2023-02-10T10:38:12.429Z] 96b7cbca73a9: Verifying Checksum [2023-02-10T10:38:12.429Z] 96b7cbca73a9: Download complete [2023-02-10T10:38:15.716Z] 53926ce57604: Pull complete [2023-02-10T10:38:15.975Z] 21b2b0c7a3f4: Pull complete [2023-02-10T10:38:15.975Z] 22ff95d597cd: Pull complete [2023-02-10T10:38:15.975Z] 12d6caf4c0d1: Pull complete [2023-02-10T10:38:17.875Z] 96b7cbca73a9: Pull complete [2023-02-10T10:38:18.813Z] a7acece74701: Pull complete [2023-02-10T10:38:18.814Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-10T10:38:18.814Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-10T10:38:18.814Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] fileExists [Pipeline] sh [2023-02-10T10:38:19.177Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-10T10:38:19.177Z] WORKDIR /edgex [2023-02-10T10:38:19.177Z] COPY go.mod . [2023-02-10T10:38:19.177Z] RUN go mod download [2023-02-10T10:38:19.177Z] + docker build -t ci-base-image-x86_64 -f - . [2023-02-10T10:38:19.743Z] Sending build context to Docker daemon 170.2MB [2023-02-10T10:38:19.744Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-10T10:38:19.744Z] ---> db6d94c90886 [2023-02-10T10:38:19.744Z] Step 2/4 : WORKDIR /edgex [2023-02-10T10:38:24.755Z] Still waiting to schedule task [2023-02-10T10:38:24.755Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-10T10:38:25.021Z] ---> Running in f47183d8bb30 [2023-02-10T10:38:25.021Z] Removing intermediate container f47183d8bb30 [2023-02-10T10:38:25.021Z] ---> 37dec55b1f03 [2023-02-10T10:38:25.021Z] Step 3/4 : COPY go.mod . [2023-02-10T10:38:25.021Z] ---> 34ad9537107c [2023-02-10T10:38:25.021Z] Step 4/4 : RUN go mod download [2023-02-10T10:38:25.021Z] ---> Running in 9b47328c555e [2023-02-10T10:38:39.903Z] Removing intermediate container 9b47328c555e [2023-02-10T10:38:39.903Z] ---> a14cce7390be [2023-02-10T10:38:39.903Z] Successfully built a14cce7390be [2023-02-10T10:38:39.903Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-10T10:38:40.279Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-10T10:38:40.279Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-10T10:38:40.429Z] prd-ubuntu20.04-docker-8c-8g-5322 does not seem to be running inside a container [2023-02-10T10:38:40.458Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-10T10:38:40.914Z] $ docker top 07bb32fae01a53e38e73025c061c8e5c418d074a3a11c733858bb719eb157545 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-10T10:38:41.288Z] + go version [2023-02-10T10:38:41.288Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-10T10:38:41.320Z] $ docker stop --time=1 07bb32fae01a53e38e73025c061c8e5c418d074a3a11c733858bb719eb157545 [2023-02-10T10:38:42.584Z] $ docker rm -f --volumes 07bb32fae01a53e38e73025c061c8e5c418d074a3a11c733858bb719eb157545 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-10T10:38:43.272Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-10T10:38:43.272Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-10T10:38:43.415Z] prd-ubuntu20.04-docker-8c-8g-5322 does not seem to be running inside a container [2023-02-10T10:38:43.446Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-10T10:38:43.764Z] $ docker top 4e12c1e90356d16b7d6161d6604fd1952fb73de27fbaee9d3ff2471026c53010 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-02-10T10:38:43.878Z] ========================================================= [2023-02-10T10:38:43.878Z] [edgeXBuildGoParallel] Running Tests and Build... [2023-02-10T10:38:43.878Z] ========================================================= [Pipeline] sh [2023-02-10T10:38:44.197Z] + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-10T10:38:44.553Z] + make test [2023-02-10T10:38:44.553Z] go test -race -coverprofile=coverage.out ./... [2023-02-10T10:38:51.109Z] ? github.com/edgexfoundry/edgex-go [no test files] [2023-02-10T10:39:03.300Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2023-02-10T10:39:03.300Z] ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] [2023-02-10T10:39:03.300Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2023-02-10T10:39:03.300Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2023-02-10T10:39:03.300Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2023-02-10T10:39:03.300Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2023-02-10T10:39:03.300Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2023-02-10T10:39:03.300Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2023-02-10T10:39:03.300Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2023-02-10T10:39:03.300Z] ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] [2023-02-10T10:39:03.300Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2023-02-10T10:39:03.300Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2023-02-10T10:39:03.300Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2023-02-10T10:39:03.300Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2023-02-10T10:39:03.300Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.062s coverage: 28.7% of statements [2023-02-10T10:39:03.300Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2023-02-10T10:39:03.300Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2023-02-10T10:39:03.300Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.084s coverage: 98.5% of statements [2023-02-10T10:39:06.584Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 3.118s coverage: 73.2% of statements [2023-02-10T10:39:06.584Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] [2023-02-10T10:39:06.584Z] ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] [2023-02-10T10:39:06.584Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2023-02-10T10:39:06.584Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.083s coverage: 54.0% of statements [2023-02-10T10:39:06.584Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2023-02-10T10:39:06.584Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2023-02-10T10:39:07.150Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 3.265s coverage: 89.2% of statements [2023-02-10T10:39:07.150Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] [2023-02-10T10:39:07.150Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2023-02-10T10:39:07.150Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2023-02-10T10:39:07.150Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2023-02-10T10:39:07.150Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2023-02-10T10:39:07.150Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.065s coverage: 3.7% of statements [2023-02-10T10:39:07.150Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2023-02-10T10:39:07.150Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2023-02-10T10:39:07.150Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.465s coverage: 95.6% of statements [2023-02-10T10:39:07.150Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2023-02-10T10:39:07.150Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2023-02-10T10:39:07.150Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] [2023-02-10T10:39:07.150Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.075s coverage: 72.2% of statements [2023-02-10T10:39:07.150Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2023-02-10T10:39:07.150Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2023-02-10T10:39:07.150Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2023-02-10T10:39:07.150Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2023-02-10T10:39:07.150Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2023-02-10T10:39:07.150Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.082s coverage: 65.9% of statements [2023-02-10T10:39:07.150Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2023-02-10T10:39:07.150Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2023-02-10T10:39:07.150Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2023-02-10T10:39:07.150Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.051s coverage: 0.9% of statements [2023-02-10T10:39:07.150Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2023-02-10T10:39:07.150Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.073s coverage: 29.6% of statements [2023-02-10T10:39:07.150Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2023-02-10T10:39:07.150Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.060s coverage: 47.1% of statements [2023-02-10T10:39:07.150Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.060s coverage: 82.9% of statements [2023-02-10T10:39:07.151Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.070s coverage: 94.1% of statements [2023-02-10T10:39:07.151Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.075s coverage: 96.3% of statements [2023-02-10T10:39:07.151Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.052s coverage: 87.5% of statements [2023-02-10T10:39:17.139Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.069s coverage: 94.4% of statements [2023-02-10T10:39:17.139Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.076s coverage: 44.8% of statements [2023-02-10T10:39:18.515Z] flag provided but not defined: -invalid [2023-02-10T10:39:18.515Z] Usage of setupRegistryACL: [2023-02-10T10:39:18.515Z] -configDir string [2023-02-10T10:39:18.515Z] [2023-02-10T10:39:18.515Z] --- FAIL: TestExecute (0.00s) [2023-02-10T10:39:18.515Z] --- FAIL: TestExecute/Good:setupRegistryACL_with_ok_response_from_server (1.01s) [2023-02-10T10:39:18.515Z] command_test.go:181: [2023-02-10T10:39:18.515Z] Error Trace: /w/workspace/edgex-go/1/internal/security/bootstrapper/command/setupacl/command_test.go:181 [2023-02-10T10:39:18.515Z] Error: Received unexpected error: [2023-02-10T10:39:18.515Z] failed to configure Consul access: Post "http://127.0.0.1:37681/v1/consul/config/access": EOF [2023-02-10T10:39:18.515Z] Test: TestExecute/Good:setupRegistryACL_with_ok_response_from_server [2023-02-10T10:39:18.515Z] FAIL [2023-02-10T10:39:18.515Z] coverage: 79.9% of statements [2023-02-10T10:39:18.515Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.245s [2023-02-10T10:39:18.515Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2023-02-10T10:39:26.634Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.081s coverage: 92.9% of statements [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2023-02-10T10:39:26.634Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.030s coverage: 64.4% of statements [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] [2023-02-10T10:39:26.634Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.067s coverage: 86.9% of statements [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2023-02-10T10:39:26.634Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.065s coverage: 87.2% of statements [2023-02-10T10:39:26.634Z] ok github.com/edgexfoundry/edgex-go/internal/security/common 0.040s coverage: 20.0% of statements [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2023-02-10T10:39:26.634Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.053s coverage: 100.0% of statements [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2023-02-10T10:39:26.634Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.072s coverage: 77.4% of statements [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2023-02-10T10:39:26.634Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.072s coverage: 80.0% of statements [2023-02-10T10:39:26.634Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.078s coverage: 87.2% of statements [2023-02-10T10:39:26.634Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.257s coverage: 91.2% of statements [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2023-02-10T10:39:26.634Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.201s coverage: 63.1% of statements [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2023-02-10T10:39:26.634Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.054s coverage: 100.0% of statements [2023-02-10T10:39:26.634Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.032s coverage: 89.4% of statements [2023-02-10T10:39:26.634Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.031s coverage: 100.0% of statements [2023-02-10T10:39:26.634Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.032s coverage: 73.7% of statements [2023-02-10T10:39:26.634Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.019s coverage: 100.0% of statements [2023-02-10T10:39:26.634Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.285s coverage: 65.3% of statements [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2023-02-10T10:39:26.634Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.181s coverage: 41.0% of statements [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2023-02-10T10:39:26.634Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.115s coverage: 89.5% of statements [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2023-02-10T10:39:26.634Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.076s coverage: 84.8% of statements [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] [2023-02-10T10:39:26.634Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.078s coverage: 17.7% of statements [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2023-02-10T10:39:26.634Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.137s coverage: 92.3% of statements [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2023-02-10T10:39:26.634Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.054s coverage: 63.2% of statements [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2023-02-10T10:39:26.634Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.105s coverage: 97.7% of statements [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2023-02-10T10:39:26.634Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2023-02-10T10:39:26.634Z] FAIL [2023-02-10T10:39:26.634Z] make: *** [Makefile:143: unittest] Error 1 [Pipeline] } [2023-02-10T10:39:26.678Z] $ docker stop --time=1 4e12c1e90356d16b7d6161d6604fd1952fb73de27fbaee9d3ff2471026c53010 [2023-02-10T10:39:28.153Z] $ docker rm -f --volumes 4e12c1e90356d16b7d6161d6604fd1952fb73de27fbaee9d3ff2471026c53010 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-10T10:39:29.039Z] Failed in branch amd64 [2023-02-10T10:39:55.952Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5323 in /w/workspace/edgexfoundry_edgex-go_PR-4343 [Pipeline] { [Pipeline] ws [2023-02-10T10:39:56.005Z] Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout [2023-02-10T10:39:56.079Z] The recommended git tool is: git [2023-02-10T10:40:00.936Z] using credential edgex-jenkins-ssh [2023-02-10T10:40:00.955Z] Cloning the remote Git repository [2023-02-10T10:40:01.004Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2023-02-10T10:40:01.083Z] > git init /w/workspace/edgex-go/1 # timeout=10 [2023-02-10T10:40:01.277Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2023-02-10T10:40:01.278Z] > git --version # timeout=10 [2023-02-10T10:40:01.301Z] > git --version # 'git version 2.25.1' [2023-02-10T10:40:01.304Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-10T10:40:01.363Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-10T10:40:17.988Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2023-02-10T10:40:18.011Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-10T10:40:19.799Z] Merging remotes/origin/main commit 81c92a7234808790c4cb0e8fcc6e328e78abdf11 into PR head commit de2c7739a97a3d8d6d7cfcfe36bb878179da86d7 [2023-02-10T10:40:20.164Z] Merge succeeded, producing de2c7739a97a3d8d6d7cfcfe36bb878179da86d7 [2023-02-10T10:40:20.165Z] Checking out Revision de2c7739a97a3d8d6d7cfcfe36bb878179da86d7 (PR-4343) [2023-02-10T10:40:18.839Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2023-02-10T10:40:18.877Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2023-02-10T10:40:18.878Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-10T10:40:18.900Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4343/head:refs/remotes/origin/PR-4343 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-10T10:40:19.820Z] > git config core.sparsecheckout # timeout=10 [2023-02-10T10:40:19.842Z] > git checkout -f de2c7739a97a3d8d6d7cfcfe36bb878179da86d7 # timeout=10 [2023-02-10T10:40:20.071Z] > git remote # timeout=10 [2023-02-10T10:40:20.087Z] > git config --get remote.origin.url # timeout=10 [2023-02-10T10:40:20.108Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-10T10:40:20.123Z] > git merge 81c92a7234808790c4cb0e8fcc6e328e78abdf11 # timeout=10 [2023-02-10T10:40:20.148Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-10T10:40:20.173Z] > git config core.sparsecheckout # timeout=10 [2023-02-10T10:40:20.184Z] > git checkout -f de2c7739a97a3d8d6d7cfcfe36bb878179da86d7 # timeout=10 [2023-02-10T10:40:23.698Z] Commit message: "feat: Update Device Profile System Event Owner" [2023-02-10T10:40:23.747Z] > git --version # timeout=10 [2023-02-10T10:40:23.758Z] > git --version # 'git version 2.25.1' [2023-02-10T10:40:23.773Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-10T10:40:25.348Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-10T10:40:25.348Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-10T10:40:25.348Z] Dload Upload Total Spent Left Speed [2023-02-10T10:40:25.348Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 239k 0 --:--:-- --:--:-- --:--:-- 239k [Pipeline] sh [2023-02-10T10:40:26.164Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-10T10:40:26.515Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-10T10:40:26.515Z] + sudo tee /etc/docker/daemon.new [2023-02-10T10:40:26.515Z] { [2023-02-10T10:40:26.515Z] "registry-mirrors": [ [2023-02-10T10:40:26.515Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-10T10:40:26.515Z] ], [2023-02-10T10:40:26.515Z] "bip": "10.250.0.254/24", [2023-02-10T10:40:26.515Z] "hosts": [ [2023-02-10T10:40:26.515Z] "tcp://0.0.0.0:5555", [2023-02-10T10:40:26.515Z] "unix:///var/run/docker.sock" [2023-02-10T10:40:26.515Z] ], [2023-02-10T10:40:26.515Z] "mtu": 1458, [2023-02-10T10:40:26.515Z] "selinux-enabled": true, [2023-02-10T10:40:26.515Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-10T10:40:26.515Z] } [Pipeline] sh [2023-02-10T10:40:26.864Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-10T10:40:27.200Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-10T10:40:45.521Z] provisioning config files... [2023-02-10T10:40:45.546Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config513166907749557998tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-10T10:40:45.924Z] ---> docker-login.sh [2023-02-10T10:40:45.925Z] nexus3.edgexfoundry.org:10001 [2023-02-10T10:40:46.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T10:40:46.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T10:40:46.466Z] Configure a credential helper to remove this warning. See [2023-02-10T10:40:46.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T10:40:46.466Z] [2023-02-10T10:40:46.466Z] Login Succeeded [2023-02-10T10:40:46.466Z] nexus3.edgexfoundry.org:10002 [2023-02-10T10:40:46.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T10:40:46.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T10:40:46.736Z] Configure a credential helper to remove this warning. See [2023-02-10T10:40:46.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T10:40:46.736Z] [2023-02-10T10:40:46.736Z] Login Succeeded [2023-02-10T10:40:47.006Z] nexus3.edgexfoundry.org:10003 [2023-02-10T10:40:47.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T10:40:47.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T10:40:47.277Z] Configure a credential helper to remove this warning. See [2023-02-10T10:40:47.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T10:40:47.277Z] [2023-02-10T10:40:47.277Z] Login Succeeded [2023-02-10T10:40:47.277Z] nexus3.edgexfoundry.org:10004 [2023-02-10T10:40:47.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T10:40:47.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T10:40:47.550Z] Configure a credential helper to remove this warning. See [2023-02-10T10:40:47.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T10:40:47.550Z] [2023-02-10T10:40:47.550Z] Login Succeeded [2023-02-10T10:40:47.550Z] docker.io [2023-02-10T10:40:47.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T10:40:48.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T10:40:48.086Z] Configure a credential helper to remove this warning. See [2023-02-10T10:40:48.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T10:40:48.086Z] [2023-02-10T10:40:48.086Z] Login Succeeded [2023-02-10T10:40:48.086Z] ---> docker-login.sh ends [Pipeline] } [2023-02-10T10:40:48.125Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh [2023-02-10T10:40:48.777Z] + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo [2023-02-10T10:40:48.812Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-10T10:40:48.845Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-10T10:40:48.874Z] ========================================================= [2023-02-10T10:40:48.874Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-10T10:40:48.874Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2023-02-10T10:40:49.237Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-10T10:40:49.237Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-10T10:40:49.237Z] 9b18e9b68314: Pulling fs layer [2023-02-10T10:40:49.237Z] 35d82f9e3411: Pulling fs layer [2023-02-10T10:40:49.237Z] e16973657156: Pulling fs layer [2023-02-10T10:40:49.237Z] fc693d55d65f: Pulling fs layer [2023-02-10T10:40:49.237Z] 7e9fc2657dce: Pulling fs layer [2023-02-10T10:40:49.237Z] dda99020689f: Pulling fs layer [2023-02-10T10:40:49.237Z] db1c61fa0a46: Pulling fs layer [2023-02-10T10:40:49.237Z] 891c053d2c06: Pulling fs layer [2023-02-10T10:40:49.237Z] fc693d55d65f: Waiting [2023-02-10T10:40:49.237Z] 7e9fc2657dce: Waiting [2023-02-10T10:40:49.237Z] dda99020689f: Waiting [2023-02-10T10:40:49.237Z] db1c61fa0a46: Waiting [2023-02-10T10:40:49.237Z] 891c053d2c06: Waiting [2023-02-10T10:40:49.508Z] e16973657156: Verifying Checksum [2023-02-10T10:40:49.508Z] e16973657156: Download complete [2023-02-10T10:40:49.508Z] 35d82f9e3411: Verifying Checksum [2023-02-10T10:40:49.508Z] 35d82f9e3411: Download complete [2023-02-10T10:40:49.508Z] 7e9fc2657dce: Verifying Checksum [2023-02-10T10:40:49.508Z] 7e9fc2657dce: Download complete [2023-02-10T10:40:49.508Z] dda99020689f: Verifying Checksum [2023-02-10T10:40:49.508Z] dda99020689f: Download complete [2023-02-10T10:40:49.508Z] 9b18e9b68314: Verifying Checksum [2023-02-10T10:40:50.485Z] 9b18e9b68314: Pull complete [2023-02-10T10:40:50.485Z] 891c053d2c06: Verifying Checksum [2023-02-10T10:40:50.485Z] 891c053d2c06: Download complete [2023-02-10T10:40:51.071Z] 35d82f9e3411: Pull complete [2023-02-10T10:40:51.344Z] e16973657156: Pull complete [2023-02-10T10:40:51.938Z] db1c61fa0a46: Verifying Checksum [2023-02-10T10:40:51.938Z] db1c61fa0a46: Download complete [2023-02-10T10:40:52.533Z] fc693d55d65f: Download complete [2023-02-10T10:41:04.879Z] fc693d55d65f: Pull complete [2023-02-10T10:41:04.879Z] 7e9fc2657dce: Pull complete [2023-02-10T10:41:04.879Z] dda99020689f: Pull complete [2023-02-10T10:41:11.560Z] db1c61fa0a46: Pull complete [2023-02-10T10:41:12.978Z] 891c053d2c06: Pull complete [2023-02-10T10:41:12.978Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-10T10:41:12.978Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-10T10:41:12.978Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] fileExists [Pipeline] sh [2023-02-10T10:41:13.371Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-10T10:41:13.371Z] WORKDIR /edgex [2023-02-10T10:41:13.371Z] COPY go.mod . [2023-02-10T10:41:13.371Z] RUN go mod download [2023-02-10T10:41:13.371Z] + docker build -t ci-base-image-arm64 -f - . [2023-02-10T10:41:13.960Z] Sending build context to Docker daemon 3.103MB [2023-02-10T10:41:13.960Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-10T10:41:13.960Z] ---> f96f9c87975a [2023-02-10T10:41:13.960Z] Step 2/4 : WORKDIR /edgex [2023-02-10T10:41:15.912Z] ---> Running in 79561b57892f [2023-02-10T10:41:15.912Z] Removing intermediate container 79561b57892f [2023-02-10T10:41:15.912Z] ---> f68778a14072 [2023-02-10T10:41:15.912Z] Step 3/4 : COPY go.mod . [2023-02-10T10:41:16.498Z] ---> 9d4ea25a73df [2023-02-10T10:41:16.498Z] Step 4/4 : RUN go mod download [2023-02-10T10:41:16.498Z] ---> Running in 4a931db5726a [2023-02-10T10:41:48.745Z] Removing intermediate container 4a931db5726a [2023-02-10T10:41:48.745Z] ---> 7c3297d975ce [2023-02-10T10:41:48.745Z] Successfully built 7c3297d975ce [2023-02-10T10:41:48.745Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-10T10:41:49.150Z] + docker inspect -f . ci-base-image-arm64 [2023-02-10T10:41:49.150Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-10T10:41:49.409Z] prd-ubuntu20.04-docker-arm64-4c-16g-5323 does not seem to be running inside a container [2023-02-10T10:41:49.469Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-10T10:41:50.652Z] $ docker top aa935bd56097828cd8e919122894f8a7fa0d34e0d62c7ed2626355de5825b2b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-10T10:41:51.506Z] + go version [2023-02-10T10:41:51.506Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-10T10:41:51.536Z] $ docker stop --time=1 aa935bd56097828cd8e919122894f8a7fa0d34e0d62c7ed2626355de5825b2b5 [2023-02-10T10:41:53.175Z] $ docker rm -f --volumes aa935bd56097828cd8e919122894f8a7fa0d34e0d62c7ed2626355de5825b2b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-10T10:41:54.039Z] + docker inspect -f . ci-base-image-arm64 [2023-02-10T10:41:54.039Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-10T10:41:54.298Z] prd-ubuntu20.04-docker-arm64-4c-16g-5323 does not seem to be running inside a container [2023-02-10T10:41:54.361Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-10T10:41:55.515Z] $ docker top 2c5a67c0b21bbb414770615d05b3b0821a241afe0d99b5dfe7e19c4cc292e484 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-02-10T10:41:55.772Z] ========================================================= [2023-02-10T10:41:55.772Z] [edgeXBuildGoParallel] Running Tests and Build... [2023-02-10T10:41:55.772Z] ========================================================= [Pipeline] sh [2023-02-10T10:41:56.413Z] + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-10T10:41:56.798Z] + make test [2023-02-10T10:41:57.066Z] go test -race -coverprofile=coverage.out ./... [2023-02-10T10:42:29.296Z] ? github.com/edgexfoundry/edgex-go [no test files] [2023-02-10T10:44:05.969Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2023-02-10T10:44:05.969Z] ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] [2023-02-10T10:44:05.969Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2023-02-10T10:44:05.969Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2023-02-10T10:44:05.969Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2023-02-10T10:44:16.039Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2023-02-10T10:44:16.039Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2023-02-10T10:44:16.039Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2023-02-10T10:44:16.040Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2023-02-10T10:44:16.040Z] ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] [2023-02-10T10:44:16.040Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2023-02-10T10:44:16.040Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2023-02-10T10:44:16.040Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2023-02-10T10:44:16.040Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2023-02-10T10:44:28.363Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.471s coverage: 28.7% of statements [2023-02-10T10:44:28.363Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2023-02-10T10:44:28.363Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2023-02-10T10:44:36.584Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.887s coverage: 98.5% of statements [2023-02-10T10:44:44.810Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 4.048s coverage: 73.2% of statements [2023-02-10T10:44:44.810Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] [2023-02-10T10:44:44.810Z] ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] [2023-02-10T10:44:44.810Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2023-02-10T10:44:44.810Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.892s coverage: 54.0% of statements [2023-02-10T10:44:44.810Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2023-02-10T10:44:44.810Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2023-02-10T10:45:03.055Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 22.541s coverage: 89.2% of statements [2023-02-10T10:45:03.055Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] [2023-02-10T10:45:03.055Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2023-02-10T10:45:03.055Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2023-02-10T10:45:03.055Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2023-02-10T10:45:03.055Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2023-02-10T10:45:03.055Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.823s coverage: 3.7% of statements [2023-02-10T10:45:03.055Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2023-02-10T10:45:03.055Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2023-02-10T10:45:03.055Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 3.076s coverage: 95.6% of statements [2023-02-10T10:45:03.055Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2023-02-10T10:45:03.055Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2023-02-10T10:45:03.055Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] [2023-02-10T10:45:03.055Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.467s coverage: 72.2% of statements [2023-02-10T10:45:03.055Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2023-02-10T10:45:03.055Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2023-02-10T10:45:03.055Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2023-02-10T10:45:03.055Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2023-02-10T10:45:03.055Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2023-02-10T10:45:03.055Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.563s coverage: 65.9% of statements [2023-02-10T10:45:03.055Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2023-02-10T10:45:03.055Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2023-02-10T10:45:03.055Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2023-02-10T10:45:03.055Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.713s coverage: 0.9% of statements [2023-02-10T10:45:03.055Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2023-02-10T10:45:03.055Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.467s coverage: 29.6% of statements [2023-02-10T10:45:03.055Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2023-02-10T10:45:03.649Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.368s coverage: 47.1% of statements [2023-02-10T10:45:05.057Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.312s coverage: 82.9% of statements [2023-02-10T10:45:05.057Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.362s coverage: 94.1% of statements [2023-02-10T10:45:06.464Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.327s coverage: 96.3% of statements [2023-02-10T10:45:09.038Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.268s coverage: 87.5% of statements [2023-02-10T10:45:21.366Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.366s coverage: 94.4% of statements [2023-02-10T10:45:21.366Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.227s coverage: 44.8% of statements [2023-02-10T10:45:28.022Z] flag provided but not defined: -invalid [2023-02-10T10:45:28.022Z] Usage of setupRegistryACL: [2023-02-10T10:45:28.022Z] -configDir string [2023-02-10T10:45:28.022Z] [2023-02-10T10:45:28.022Z] --- FAIL: TestExecute (0.00s) [2023-02-10T10:45:28.022Z] --- FAIL: TestExecute/Good:setupRegistryACL_with_ok_response_from_server (1.07s) [2023-02-10T10:45:28.022Z] command_test.go:181: [2023-02-10T10:45:28.022Z] Error Trace: /w/workspace/edgex-go/1/internal/security/bootstrapper/command/setupacl/command_test.go:181 [2023-02-10T10:45:28.022Z] Error: Received unexpected error: [2023-02-10T10:45:28.022Z] failed to configure Consul access: request to Configure Consul Access failed with status: 403 Forbidden [2023-02-10T10:45:28.022Z] Test: TestExecute/Good:setupRegistryACL_with_ok_response_from_server [2023-02-10T10:45:28.022Z] FAIL [2023-02-10T10:45:28.022Z] coverage: 79.9% of statements [2023-02-10T10:45:28.022Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.902s [2023-02-10T10:45:28.022Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2023-02-10T10:45:34.878Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.409s coverage: 92.9% of statements [2023-02-10T10:45:34.878Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2023-02-10T10:45:34.878Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2023-02-10T10:45:34.878Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2023-02-10T10:45:34.878Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.079s coverage: 64.4% of statements [2023-02-10T10:45:34.878Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2023-02-10T10:45:34.878Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] [2023-02-10T10:45:34.878Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] [2023-02-10T10:45:34.878Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] [2023-02-10T10:45:34.878Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.357s coverage: 86.9% of statements [2023-02-10T10:45:34.878Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2023-02-10T10:45:34.878Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2023-02-10T10:45:34.878Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2023-02-10T10:45:34.878Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2023-02-10T10:45:34.878Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.222s coverage: 87.2% of statements [2023-02-10T10:45:34.878Z] ok github.com/edgexfoundry/edgex-go/internal/security/common 0.185s coverage: 20.0% of statements [2023-02-10T10:45:34.878Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2023-02-10T10:45:34.878Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2023-02-10T10:45:34.878Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.175s coverage: 100.0% of statements [2023-02-10T10:45:34.878Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2023-02-10T10:45:34.878Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.303s coverage: 77.4% of statements [2023-02-10T10:45:34.878Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2023-02-10T10:45:34.878Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.268s coverage: 80.0% of statements [2023-02-10T10:45:34.878Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.217s coverage: 87.2% of statements [2023-02-10T10:45:34.878Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.933s coverage: 91.2% of statements [2023-02-10T10:45:34.878Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2023-02-10T10:45:41.544Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.246s coverage: 63.1% of statements [2023-02-10T10:45:41.544Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2023-02-10T10:45:41.544Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2023-02-10T10:45:41.544Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.274s coverage: 100.0% of statements [2023-02-10T10:45:41.544Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.116s coverage: 89.4% of statements [2023-02-10T10:45:41.544Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.058s coverage: 100.0% of statements [2023-02-10T10:45:41.544Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.066s coverage: 73.7% of statements [2023-02-10T10:45:41.544Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.080s coverage: 100.0% of statements [2023-02-10T10:45:45.791Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.320s coverage: 65.3% of statements [2023-02-10T10:45:45.791Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2023-02-10T10:45:45.791Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2023-02-10T10:45:45.791Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2023-02-10T10:45:48.370Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.839s coverage: 41.0% of statements [2023-02-10T10:45:48.370Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2023-02-10T10:45:48.370Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2023-02-10T10:45:48.370Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.343s coverage: 89.5% of statements [2023-02-10T10:45:48.370Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2023-02-10T10:45:48.370Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.271s coverage: 84.8% of statements [2023-02-10T10:45:48.370Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] [2023-02-10T10:45:48.370Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] [2023-02-10T10:45:48.370Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] [2023-02-10T10:45:48.370Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] [2023-02-10T10:45:56.570Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.332s coverage: 17.7% of statements [2023-02-10T10:45:56.570Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2023-02-10T10:45:56.571Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2023-02-10T10:45:56.571Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2023-02-10T10:45:56.571Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2023-02-10T10:45:56.571Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.757s coverage: 92.3% of statements [2023-02-10T10:45:56.571Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2023-02-10T10:45:56.571Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2023-02-10T10:45:56.571Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] [2023-02-10T10:45:56.571Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2023-02-10T10:45:56.571Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.317s coverage: 63.2% of statements [2023-02-10T10:45:56.571Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2023-02-10T10:45:56.571Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2023-02-10T10:45:56.571Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.459s coverage: 97.7% of statements [2023-02-10T10:45:56.571Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2023-02-10T10:45:56.571Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2023-02-10T10:45:56.571Z] FAIL [2023-02-10T10:45:56.837Z] make: *** [Makefile:143: unittest] Error 1 [Pipeline] } [2023-02-10T10:45:56.878Z] $ docker stop --time=1 2c5a67c0b21bbb414770615d05b3b0821a241afe0d99b5dfe7e19c4cc292e484 [2023-02-10T10:45:58.702Z] $ docker rm -f --volumes 2c5a67c0b21bbb414770615d05b3b0821a241afe0d99b5dfe7e19c4cc292e484 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-10T10:46:00.455Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-10T10:46:00.455Z] [2023-02-10T10:46:00.455Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-10T10:46:00.838Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-10T10:46:01.108Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-10T10:46:01.108Z] 8998bd30e6a1: Pulling fs layer [2023-02-10T10:46:01.108Z] 04944245beec: Pulling fs layer [2023-02-10T10:46:01.108Z] 699f458cf7ca: Pulling fs layer [2023-02-10T10:46:01.108Z] 765212b225bb: Pulling fs layer [2023-02-10T10:46:01.108Z] f23df028b6ca: Pulling fs layer [2023-02-10T10:46:01.108Z] d65c8cfc05b1: Pulling fs layer [2023-02-10T10:46:01.108Z] 2437ff75d9bd: Pulling fs layer [2023-02-10T10:46:01.108Z] 765212b225bb: Waiting [2023-02-10T10:46:01.108Z] f23df028b6ca: Waiting [2023-02-10T10:46:01.108Z] d65c8cfc05b1: Waiting [2023-02-10T10:46:01.108Z] 2437ff75d9bd: Waiting [2023-02-10T10:46:01.108Z] 04944245beec: Verifying Checksum [2023-02-10T10:46:01.108Z] 04944245beec: Download complete [2023-02-10T10:46:01.108Z] 765212b225bb: Verifying Checksum [2023-02-10T10:46:01.108Z] 765212b225bb: Download complete [2023-02-10T10:46:01.383Z] f23df028b6ca: Verifying Checksum [2023-02-10T10:46:01.383Z] f23df028b6ca: Download complete [2023-02-10T10:46:01.383Z] d65c8cfc05b1: Verifying Checksum [2023-02-10T10:46:01.383Z] d65c8cfc05b1: Download complete [2023-02-10T10:46:01.383Z] 699f458cf7ca: Verifying Checksum [2023-02-10T10:46:01.383Z] 699f458cf7ca: Download complete [2023-02-10T10:46:01.970Z] 8998bd30e6a1: Verifying Checksum [2023-02-10T10:46:01.970Z] 8998bd30e6a1: Download complete [2023-02-10T10:46:03.920Z] 2437ff75d9bd: Verifying Checksum [2023-02-10T10:46:03.920Z] 2437ff75d9bd: Download complete [2023-02-10T10:46:05.863Z] 8998bd30e6a1: Pull complete [2023-02-10T10:46:06.131Z] 04944245beec: Pull complete [2023-02-10T10:46:07.543Z] 699f458cf7ca: Pull complete [2023-02-10T10:46:07.543Z] 765212b225bb: Pull complete [2023-02-10T10:46:08.504Z] f23df028b6ca: Pull complete [2023-02-10T10:46:08.504Z] d65c8cfc05b1: Pull complete [2023-02-10T10:46:23.507Z] 2437ff75d9bd: Pull complete [2023-02-10T10:46:23.508Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-10T10:46:23.508Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-10T10:46:23.508Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-10T10:46:23.818Z] prd-ubuntu20.04-docker-arm64-4c-16g-5323 does not seem to be running inside a container [2023-02-10T10:46:23.878Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-10T10:46:26.694Z] $ docker top 87153a6e426de2a641d00a77f4b90dee6924e15191bb095b5a0f1b1778d07f62 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-10T10:46:27.638Z] ---> job-cost.sh [2023-02-10T10:46:27.639Z] lf-activate-venv: SKIPPING [2023-02-10T10:46:27.639Z] INFO: No Stack... [2023-02-10T10:46:28.222Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-10T10:46:28.808Z] INFO: Archiving Costs [Pipeline] sh [2023-02-10T10:46:29.467Z] + cat /w/workspace/edgex-go/1/archives/cost.csv [2023-02-10T10:46:29.467Z] + cut -d, -f6 [Pipeline] lock [2023-02-10T10:46:29.553Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4343-1-stack-cost] [2023-02-10T10:46:29.557Z] Resource [jenkins-edgexfoundry-edgex-go-PR-4343-1-stack-cost] did not exist. Created. [2023-02-10T10:46:29.557Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4343-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-10T10:46:29.974Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-10T10:46:30.557Z] Stashed 1 file(s) [Pipeline] } [2023-02-10T10:46:30.573Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4343-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-10T10:46:30.644Z] $ docker stop --time=1 87153a6e426de2a641d00a77f4b90dee6924e15191bb095b5a0f1b1778d07f62 [2023-02-10T10:46:32.152Z] $ docker rm -f --volumes 87153a6e426de2a641d00a77f4b90dee6924e15191bb095b5a0f1b1778d07f62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-10T10:46:32.863Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-10T10:46:34.414Z] + [ -d /w/workspace/edgex-go/1/archives ] [Pipeline] libraryResource [Pipeline] sh [2023-02-10T10:46:34.741Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-10T10:46:35.633Z] ---> package-listing.sh [2023-02-10T10:46:35.633Z] ++ facter osfamily [2023-02-10T10:46:35.633Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-10T10:46:35.893Z] + OS_FAMILY=debian [2023-02-10T10:46:35.893Z] + workspace=/w/workspace/edgex-go/1 [2023-02-10T10:46:35.893Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-10T10:46:35.893Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-10T10:46:35.893Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-10T10:46:35.893Z] + PACKAGES=/tmp/packages_start.txt [2023-02-10T10:46:35.893Z] + '[' /w/workspace/edgex-go/1 ']' [2023-02-10T10:46:35.893Z] + PACKAGES=/tmp/packages_end.txt [2023-02-10T10:46:35.893Z] + case "${OS_FAMILY}" in [2023-02-10T10:46:35.893Z] + dpkg -l [2023-02-10T10:46:35.893Z] + grep '^ii' [2023-02-10T10:46:35.893Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-10T10:46:35.893Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-10T10:46:35.893Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-10T10:46:35.893Z] + '[' /w/workspace/edgex-go/1 ']' [2023-02-10T10:46:35.893Z] + mkdir -p /w/workspace/edgex-go/1/archives/ [2023-02-10T10:46:35.893Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo [2023-02-10T10:46:35.929Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-10T10:46:36.224Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-10T10:46:36.845Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-10T10:46:36.846Z] [2023-02-10T10:46:36.846Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-10T10:46:37.221Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-10T10:46:37.222Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-10T10:46:37.222Z] 5eb5b503b376: Pulling fs layer [2023-02-10T10:46:37.222Z] 5c69ac0246d0: Pulling fs layer [2023-02-10T10:46:37.222Z] ec43610c2a17: Pulling fs layer [2023-02-10T10:46:37.222Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-10T10:46:37.222Z] 33b1e0a273af: Pulling fs layer [2023-02-10T10:46:37.222Z] 5d3b04190fa2: Pulling fs layer [2023-02-10T10:46:37.222Z] 2f39f015ded8: Pulling fs layer [2023-02-10T10:46:37.222Z] 33b1e0a273af: Waiting [2023-02-10T10:46:37.222Z] 5d3b04190fa2: Waiting [2023-02-10T10:46:37.222Z] 2f39f015ded8: Waiting [2023-02-10T10:46:37.222Z] 3a2ae6a8a46f: Waiting [2023-02-10T10:46:37.222Z] 5c69ac0246d0: Verifying Checksum [2023-02-10T10:46:37.222Z] 5c69ac0246d0: Download complete [2023-02-10T10:46:37.222Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-10T10:46:37.222Z] 3a2ae6a8a46f: Download complete [2023-02-10T10:46:37.481Z] 33b1e0a273af: Verifying Checksum [2023-02-10T10:46:37.481Z] 33b1e0a273af: Download complete [2023-02-10T10:46:37.481Z] 5d3b04190fa2: Verifying Checksum [2023-02-10T10:46:37.481Z] 5d3b04190fa2: Download complete [2023-02-10T10:46:37.481Z] ec43610c2a17: Verifying Checksum [2023-02-10T10:46:37.481Z] ec43610c2a17: Download complete [2023-02-10T10:46:37.739Z] 5eb5b503b376: Download complete [2023-02-10T10:46:38.304Z] 2f39f015ded8: Verifying Checksum [2023-02-10T10:46:38.304Z] 2f39f015ded8: Download complete [2023-02-10T10:46:38.873Z] 5eb5b503b376: Pull complete [2023-02-10T10:46:38.873Z] 5c69ac0246d0: Pull complete [2023-02-10T10:46:39.474Z] ec43610c2a17: Pull complete [2023-02-10T10:46:39.474Z] 3a2ae6a8a46f: Pull complete [2023-02-10T10:46:39.732Z] 33b1e0a273af: Pull complete [2023-02-10T10:46:39.732Z] 5d3b04190fa2: Pull complete [2023-02-10T10:46:43.912Z] 2f39f015ded8: Pull complete [2023-02-10T10:46:43.912Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-10T10:46:43.912Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-10T10:46:43.912Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-10T10:46:44.117Z] prd-ubuntu20.04-docker-8c-8g-5322 does not seem to be running inside a container [2023-02-10T10:46:44.142Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-10T10:46:49.238Z] $ docker top ee288c865f798e2d765516c209c7670c2fc7bf0d4fb0175f6e0794a5b17e1091 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-10T10:46:49.619Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-10T10:46:49.933Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-10T10:46:50.243Z] + ls /var/log/sa-host [2023-02-10T10:46:50.243Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-10T10:46:50.461Z] provisioning config files... [2023-02-10T10:46:50.471Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config9001876262711355301tmp [Pipeline] { [Pipeline] echo [2023-02-10T10:46:50.516Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-10T10:46:50.830Z] ---> create-netrc.sh [Pipeline] } [2023-02-10T10:46:50.856Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-10T10:46:51.241Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-10T10:46:51.272Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-10T10:46:51.579Z] ---> sudo-logs.sh [2023-02-10T10:46:51.579Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-10T10:46:51.652Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-10T10:46:51.962Z] ---> job-cost.sh [2023-02-10T10:46:51.962Z] lf-activate-venv: SKIPPING [2023-02-10T10:46:51.962Z] DEBUG: total: 0.10999999940395355 [2023-02-10T10:46:51.962Z] INFO: Retrieving Stack Cost... [2023-02-10T10:46:52.221Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-10T10:46:52.788Z] INFO: Archiving Costs [Pipeline] echo [2023-02-10T10:46:52.821Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-10T10:46:53.135Z] ---> logs-deploy.sh [2023-02-10T10:46:53.135Z] lf-activate-venv: SKIPPING [2023-02-10T10:46:53.135Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4343/1 [2023-02-10T10:46:53.135Z] INFO: archiving workspace using pattern(s): [2023-02-10T10:46:54.070Z] Archives upload complete. [2023-02-10T10:46:54.071Z] INFO: archiving logs to Nexus