Pull request #4056 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c392857627e2c0a38cab93f7c109ba4cafaecb4e+18107d571668bc071dc3670312a164098c2940fe (e0b6df0875f74d7d3ac6ef951c12c946c871f31a) 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-ssh6430939753076569978.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh8539845638505143219.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-4056/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-4056/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9201554501987640132.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-4056/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6797006446020097328.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh16653052498039277531.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-4056/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-4056/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5496375642861264936.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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.17 USE_ALPINE: true DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: DOCKER_IMAGE_NAME_SUFFIX: DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-15176 in /w/workspace/edgexfoundry_edgex-go_PR-4056 [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/4056/head:refs/remotes/origin/PR-4056 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 18107d571668bc071dc3670312a164098c2940fe into PR head commit c392857627e2c0a38cab93f7c109ba4cafaecb4e Merge succeeded, producing c392857627e2c0a38cab93f7c109ba4cafaecb4e Checking out Revision c392857627e2c0a38cab93f7c109ba4cafaecb4e (PR-4056) > git config core.sparsecheckout # timeout=10 > git checkout -f c392857627e2c0a38cab93f7c109ba4cafaecb4e # 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 18107d571668bc071dc3670312a164098c2940fe # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c392857627e2c0a38cab93f7c109ba4cafaecb4e # timeout=10 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.7.2 to 1.7.3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-20T19:09:23.629Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-20T19:09:23.796Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-20T19:09:23.898Z] ========================================================= [2022-06-20T19:09:23.898Z] EdgeX Global Pipelines Version Info [2022-06-20T19:09:23.898Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-20T19:09:24.693Z] ------------------- [2022-06-20T19:09:24.693Z] stable info: [2022-06-20T19:09:24.693Z] ------------------- [2022-06-20T19:09:24.693Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-20T19:09:24.693Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-20T19:09:24.693Z] Message: update stable to v1.0.234 [2022-06-20T19:09:25.267Z] ------------------- [2022-06-20T19:09:25.267Z] experimental info: [2022-06-20T19:09:25.267Z] ------------------- [2022-06-20T19:09:25.267Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-20T19:09:25.267Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-20T19:09:25.267Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-20T19:09:25.662Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2022-06-20T19:09:25.699Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2022-06-20T19:09:25.738Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-20T19:09:25.774Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-20T19:09:25.811Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-20T19:09:25.847Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-20T19:09:25.892Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-20T19:09:25.931Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2022-06-20T19:09:25.969Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2022-06-20T19:09:26.004Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2022-06-20T19:09:26.042Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-20T19:09:26.077Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-20T19:09:26.113Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-20T19:09:26.148Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-20T19:09:26.183Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-20T19:09:26.221Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-20T19:09:26.259Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-20T19:09:26.297Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-20T19:09:26.335Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-06-20T19:09:26.374Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-06-20T19:09:26.409Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-20T19:09:26.448Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-20T19:09:26.489Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-20T19:09:26.531Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4056 [Pipeline] echo [2022-06-20T19:09:26.568Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4056 [Pipeline] echo [2022-06-20T19:09:26.600Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4056 [Pipeline] echo [2022-06-20T19:09:26.634Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c392857627e2c0a38cab93f7c109ba4cafaecb4e [Pipeline] echo [2022-06-20T19:09:26.666Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c392857 [Pipeline] echo [2022-06-20T19:09:26.703Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-20T19:09:26.810Z] provisioning config files... [2022-06-20T19:09:26.826Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config4135436135946607779tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-20T19:09:27.165Z] ---> docker-login.sh [2022-06-20T19:09:27.165Z] nexus3.edgexfoundry.org:10001 [2022-06-20T19:09:27.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T19:09:27.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T19:09:27.429Z] Configure a credential helper to remove this warning. See [2022-06-20T19:09:27.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T19:09:27.429Z] [2022-06-20T19:09:27.429Z] Login Succeeded [2022-06-20T19:09:27.429Z] nexus3.edgexfoundry.org:10002 [2022-06-20T19:09:27.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T19:09:27.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T19:09:27.696Z] Configure a credential helper to remove this warning. See [2022-06-20T19:09:27.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T19:09:27.696Z] [2022-06-20T19:09:27.696Z] Login Succeeded [2022-06-20T19:09:27.696Z] nexus3.edgexfoundry.org:10003 [2022-06-20T19:09:27.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T19:09:27.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T19:09:27.696Z] Configure a credential helper to remove this warning. See [2022-06-20T19:09:27.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T19:09:27.696Z] [2022-06-20T19:09:27.696Z] Login Succeeded [2022-06-20T19:09:27.696Z] nexus3.edgexfoundry.org:10004 [2022-06-20T19:09:27.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T19:09:27.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T19:09:27.959Z] Configure a credential helper to remove this warning. See [2022-06-20T19:09:27.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T19:09:27.959Z] [2022-06-20T19:09:27.959Z] Login Succeeded [2022-06-20T19:09:27.959Z] docker.io [2022-06-20T19:09:27.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T19:09:28.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T19:09:28.534Z] Configure a credential helper to remove this warning. See [2022-06-20T19:09:28.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T19:09:28.534Z] [2022-06-20T19:09:28.534Z] Login Succeeded [2022-06-20T19:09:28.534Z] ---> docker-login.sh ends [Pipeline] } [2022-06-20T19:09:28.562Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-20T19:09:28.957Z] + ls cmd/core-command/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 cmd/sys-mgmt-agent/Dockerfile [2022-06-20T19:09:28.957Z] + dirname cmd/core-command/Dockerfile [2022-06-20T19:09:28.957Z] + cut -d/ -f2 [2022-06-20T19:09:28.957Z] + echo core-command,cmd/core-command/Dockerfile [2022-06-20T19:09:28.957Z] + dirname cmd/core-data/Dockerfile [2022-06-20T19:09:28.957Z] + cut -d/ -f2 [2022-06-20T19:09:28.957Z] + echo core-data,cmd/core-data/Dockerfile [2022-06-20T19:09:28.957Z] + dirname cmd/core-metadata/Dockerfile [2022-06-20T19:09:28.957Z] + cut -d/ -f2 [2022-06-20T19:09:28.957Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2022-06-20T19:09:28.957Z] + dirname cmd/security-bootstrapper/Dockerfile [2022-06-20T19:09:28.957Z] + cut -d/ -f2 [2022-06-20T19:09:28.957Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2022-06-20T19:09:28.957Z] + dirname cmd/security-proxy-setup/Dockerfile [2022-06-20T19:09:28.957Z] + cut -d/ -f2 [2022-06-20T19:09:28.957Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2022-06-20T19:09:28.957Z] + + dirname cmd/security-secretstore-setup/Dockerfilecut [2022-06-20T19:09:28.957Z] -d/ -f2 [2022-06-20T19:09:28.957Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2022-06-20T19:09:28.957Z] + dirname cmd/security-spiffe-token-provider/Dockerfile [2022-06-20T19:09:28.957Z] + cut -d/ -f2 [2022-06-20T19:09:28.957Z] + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile [2022-06-20T19:09:28.957Z] + dirname+ cmd/security-spire-agent/Dockerfile [2022-06-20T19:09:28.957Z] cut -d/ -f2 [2022-06-20T19:09:28.957Z] + echo security-spire-agent,cmd/security-spire-agent/Dockerfile [2022-06-20T19:09:28.957Z] + dirname cmd/security-spire-config/Dockerfile [2022-06-20T19:09:28.957Z] + cut -d/ -f2 [2022-06-20T19:09:28.957Z] + echo security-spire-config,cmd/security-spire-config/Dockerfile [2022-06-20T19:09:28.957Z] + dirname cmd/security-spire-server/Dockerfile [2022-06-20T19:09:28.957Z] + cut -d/ -f2 [2022-06-20T19:09:28.957Z] + echo security-spire-server,cmd/security-spire-server/Dockerfile [2022-06-20T19:09:28.957Z] + dirname cmd/support-notifications/Dockerfile [2022-06-20T19:09:28.957Z] + cut -d/ -f2 [2022-06-20T19:09:28.957Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2022-06-20T19:09:28.957Z] + dirname cmd/support-scheduler/Dockerfile [2022-06-20T19:09:28.957Z] + cut -d/ -f2 [2022-06-20T19:09:28.957Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2022-06-20T19:09:28.957Z] + dirname cmd/sys-mgmt-agent/Dockerfile [2022-06-20T19:09:28.957Z] + cut -d/ -f2 [2022-06-20T19:09:28.957Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2022-06-20T19:09:29.014Z] Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/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], [image:sys-mgmt-agent, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-20T19:09:29.518Z] + git rev-list -1 --merges c392857627e2c0a38cab93f7c109ba4cafaecb4e~1..c392857627e2c0a38cab93f7c109ba4cafaecb4e [Pipeline] echo [2022-06-20T19:09:29.549Z] -----------> git rev-list -1 --merges c392857627e2c0a38cab93f7c109ba4cafaecb4e~1..c392857627e2c0a38cab93f7c109ba4cafaecb4e c392857627e2c0a38cab93f7c109ba4cafaecb4e [false] [Pipeline] sh [2022-06-20T19:09:29.860Z] + git log --format=format:%s -1 c392857627e2c0a38cab93f7c109ba4cafaecb4e [Pipeline] echo [2022-06-20T19:09:29.894Z] ========================================================= [2022-06-20T19:09:29.894Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-20T19:09:29.894Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-06-20T19:09:30.386Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-20T19:09:30.386Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-20T19:09:30.386Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-20T19:09:30.386Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-20T19:09:30.386Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-20T19:09:30.386Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-20T19:09:30.386Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T19:09:30.869Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-20T19:09:30.869Z] [2022-06-20T19:09:30.869Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T19:09:31.246Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-20T19:09:31.247Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-20T19:09:31.247Z] 42c077c10790: Pulling fs layer [2022-06-20T19:09:31.247Z] f63e77b7563a: Pulling fs layer [2022-06-20T19:09:31.247Z] bd5fdadae976: Pulling fs layer [2022-06-20T19:09:31.247Z] 205491f53016: Pulling fs layer [2022-06-20T19:09:31.247Z] df18705c85c3: Pulling fs layer [2022-06-20T19:09:31.247Z] bdb3f477010e: Pulling fs layer [2022-06-20T19:09:31.247Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-20T19:09:31.247Z] 2c6e9b1d212d: Pulling fs layer [2022-06-20T19:09:31.247Z] bdb8f0575790: Pulling fs layer [2022-06-20T19:09:31.247Z] 386e3cb2ff24: Pulling fs layer [2022-06-20T19:09:31.247Z] 2343380bae48: Pulling fs layer [2022-06-20T19:09:31.247Z] bdb8f0575790: Waiting [2022-06-20T19:09:31.247Z] c8a8fc8e1c8f: Waiting [2022-06-20T19:09:31.247Z] 2c6e9b1d212d: Waiting [2022-06-20T19:09:31.247Z] 205491f53016: Waiting [2022-06-20T19:09:31.247Z] 386e3cb2ff24: Waiting [2022-06-20T19:09:31.247Z] df18705c85c3: Waiting [2022-06-20T19:09:31.247Z] 2343380bae48: Waiting [2022-06-20T19:09:31.247Z] bdb3f477010e: Waiting [2022-06-20T19:09:31.247Z] f63e77b7563a: Download complete [2022-06-20T19:09:31.247Z] 205491f53016: Verifying Checksum [2022-06-20T19:09:31.247Z] 205491f53016: Download complete [2022-06-20T19:09:31.513Z] df18705c85c3: Verifying Checksum [2022-06-20T19:09:31.513Z] df18705c85c3: Download complete [2022-06-20T19:09:31.513Z] bdb3f477010e: Download complete [2022-06-20T19:09:31.513Z] bd5fdadae976: Verifying Checksum [2022-06-20T19:09:31.513Z] bd5fdadae976: Download complete [2022-06-20T19:09:31.513Z] 2c6e9b1d212d: Verifying Checksum [2022-06-20T19:09:31.513Z] 2c6e9b1d212d: Download complete [2022-06-20T19:09:31.513Z] bdb8f0575790: Download complete [2022-06-20T19:09:31.513Z] 386e3cb2ff24: Verifying Checksum [2022-06-20T19:09:31.513Z] 386e3cb2ff24: Download complete [2022-06-20T19:09:31.513Z] 2343380bae48: Verifying Checksum [2022-06-20T19:09:31.513Z] 2343380bae48: Download complete [2022-06-20T19:09:31.513Z] 42c077c10790: Download complete [2022-06-20T19:09:32.085Z] c8a8fc8e1c8f: Download complete [2022-06-20T19:09:33.027Z] 42c077c10790: Pull complete [2022-06-20T19:09:33.027Z] f63e77b7563a: Pull complete [2022-06-20T19:09:33.596Z] bd5fdadae976: Pull complete [2022-06-20T19:09:33.596Z] 205491f53016: Pull complete [2022-06-20T19:09:33.854Z] df18705c85c3: Pull complete [2022-06-20T19:09:34.115Z] bdb3f477010e: Pull complete [2022-06-20T19:09:36.022Z] c8a8fc8e1c8f: Pull complete [2022-06-20T19:09:36.022Z] 2c6e9b1d212d: Pull complete [2022-06-20T19:09:36.287Z] bdb8f0575790: Pull complete [2022-06-20T19:09:36.287Z] 386e3cb2ff24: Pull complete [2022-06-20T19:09:36.548Z] 2343380bae48: Pull complete [2022-06-20T19:09:36.548Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-20T19:09:36.548Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-20T19:09:36.548Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T19:09:36.787Z] prd-ubuntu20.04-docker-8c-8g-15176 does not seem to be running inside a container [2022-06-20T19:09:36.820Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-20T19:09:38.211Z] $ docker top 3984d0fe9db26f27398846b2462e4ae2cde7df629e16c0b58e5aa091f2e9dfb3 -eo pid,comm [2022-06-20T19:09:38.288Z] 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). [2022-06-20T19:09:38.288Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-20T19:09:38.409Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-20T19:09:38.409Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-20T19:09:38.547Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-20T19:09:38.550Z] $ docker exec 3984d0fe9db26f27398846b2462e4ae2cde7df629e16c0b58e5aa091f2e9dfb3 ssh-agent [2022-06-20T19:09:38.685Z] SSH_AUTH_SOCK=/tmp/ssh-SMzdgxqW3Vxb/agent.33 [2022-06-20T19:09:38.685Z] SSH_AGENT_PID=39 [2022-06-20T19:09:38.691Z] Running ssh-add (command line suppressed) [2022-06-20T19:09:38.832Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_467809815199786565.key (/w/workspace/edgex-go/1@tmp/private_key_467809815199786565.key) [2022-06-20T19:09:38.851Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-20T19:09:39.189Z] + git tag --points-at HEAD [Pipeline] } [2022-06-20T19:09:39.216Z] $ docker exec --env ******** --env ******** 3984d0fe9db26f27398846b2462e4ae2cde7df629e16c0b58e5aa091f2e9dfb3 ssh-agent -k [2022-06-20T19:09:39.331Z] unset SSH_AUTH_SOCK; [2022-06-20T19:09:39.332Z] unset SSH_AGENT_PID; [2022-06-20T19:09:39.332Z] echo Agent pid 39 killed; [2022-06-20T19:09:39.344Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-20T19:09:39.434Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-20T19:09:39.434Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-20T19:09:39.571Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-20T19:09:39.575Z] $ docker exec 3984d0fe9db26f27398846b2462e4ae2cde7df629e16c0b58e5aa091f2e9dfb3 ssh-agent [2022-06-20T19:09:39.700Z] SSH_AUTH_SOCK=/tmp/ssh-Sw3iFt346dIM/agent.72 [2022-06-20T19:09:39.700Z] SSH_AGENT_PID=78 [2022-06-20T19:09:39.706Z] Running ssh-add (command line suppressed) [2022-06-20T19:09:39.825Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_8943508281940759374.key (/w/workspace/edgex-go/1@tmp/private_key_8943508281940759374.key) [2022-06-20T19:09:39.842Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-20T19:09:40.181Z] + git semver init [2022-06-20T19:09:40.444Z] 2022-06-20 19:09:40,364 [run_init] DEBUG init version:0.0.0 force:False [2022-06-20T19:09:40.444Z] 2022-06-20 19:09:40,365 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/1/.semver [2022-06-20T19:09:40.444Z] 2022-06-20 19:09:40,365 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/1/.semver [2022-06-20T19:09:40.444Z] 2022-06-20 19:09:40,365 [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) [2022-06-20T19:09:44.683Z] 2022-06-20 19:09:44,151 [append_file] DEBUG append to file:/w/workspace/edgex-go/1/.git/info/exclude [2022-06-20T19:09:44.683Z] 2022-06-20 19:09:44,152 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/1/.semver/PR-4056 with force:False [2022-06-20T19:09:44.683Z] 2022-06-20 19:09:44,152 [write_file] DEBUG write to file:/w/workspace/edgex-go/1/.semver/PR-4056 [2022-06-20T19:09:44.683Z] 2022-06-20 19:09:44,156 [execute] INFO git cat-file --batch-check [2022-06-20T19:09:44.683Z] 2022-06-20 19:09:44,157 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) [2022-06-20T19:09:44.683Z] 2022-06-20 19:09:44,163 [execute] INFO git cat-file --batch [2022-06-20T19:09:44.683Z] 2022-06-20 19:09:44,163 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) [2022-06-20T19:09:44.683Z] 2022-06-20 19:09:44,168 [read_version] DEBUG read version from /w/workspace/edgex-go/1/.semver/PR-4056 [2022-06-20T19:09:44.683Z] 0.0.0 [Pipeline] } [2022-06-20T19:09:44.714Z] $ docker exec --env ******** --env ******** 3984d0fe9db26f27398846b2462e4ae2cde7df629e16c0b58e5aa091f2e9dfb3 ssh-agent -k [2022-06-20T19:09:44.840Z] unset SSH_AUTH_SOCK; [2022-06-20T19:09:44.841Z] unset SSH_AGENT_PID; [2022-06-20T19:09:44.841Z] echo Agent pid 78 killed; [2022-06-20T19:09:44.851Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-20T19:09:45.274Z] + git semver [Pipeline] } [2022-06-20T19:09:45.565Z] $ docker stop --time=1 3984d0fe9db26f27398846b2462e4ae2cde7df629e16c0b58e5aa091f2e9dfb3 [2022-06-20T19:09:46.906Z] $ docker rm -f 3984d0fe9db26f27398846b2462e4ae2cde7df629e16c0b58e5aa091f2e9dfb3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-20T19:09:47.333Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-20T19:09:47.638Z] Stashed 1 file(s) [Pipeline] echo [2022-06-20T19:09:47.656Z] [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] echo [2022-06-20T19:09:48.169Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-20T19:09:48.200Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-20T19:09:48.228Z] ========================================================= [2022-06-20T19:09:48.229Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-20T19:09:48.229Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-06-20T19:09:48.572Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-20T19:09:48.572Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-20T19:09:48.572Z] 59bf1c3509f3: Pulling fs layer [2022-06-20T19:09:48.572Z] 666ba61612fd: Pulling fs layer [2022-06-20T19:09:48.572Z] 8ed8ca486205: Pulling fs layer [2022-06-20T19:09:48.572Z] cc1cd167ecdc: Pulling fs layer [2022-06-20T19:09:48.572Z] c516ae0d96e1: Pulling fs layer [2022-06-20T19:09:48.572Z] 684cea983483: Pulling fs layer [2022-06-20T19:09:48.572Z] cc1cd167ecdc: Waiting [2022-06-20T19:09:48.572Z] c516ae0d96e1: Waiting [2022-06-20T19:09:48.572Z] dd3240ac7de5: Pulling fs layer [2022-06-20T19:09:48.572Z] 684cea983483: Waiting [2022-06-20T19:09:48.572Z] dd3240ac7de5: Waiting [2022-06-20T19:09:48.572Z] b1e948a4e11c: Pulling fs layer [2022-06-20T19:09:48.572Z] a8fd76ee1af6: Pulling fs layer [2022-06-20T19:09:48.572Z] 646ad004c059: Pulling fs layer [2022-06-20T19:09:48.572Z] a8fd76ee1af6: Waiting [2022-06-20T19:09:48.572Z] 646ad004c059: Waiting [2022-06-20T19:09:48.572Z] 8ed8ca486205: Verifying Checksum [2022-06-20T19:09:48.572Z] 8ed8ca486205: Download complete [2022-06-20T19:09:48.572Z] 666ba61612fd: Download complete [2022-06-20T19:09:48.572Z] c516ae0d96e1: Verifying Checksum [2022-06-20T19:09:48.572Z] c516ae0d96e1: Download complete [2022-06-20T19:09:48.572Z] 684cea983483: Verifying Checksum [2022-06-20T19:09:48.572Z] 684cea983483: Download complete [2022-06-20T19:09:48.572Z] dd3240ac7de5: Verifying Checksum [2022-06-20T19:09:48.572Z] dd3240ac7de5: Download complete [2022-06-20T19:09:48.572Z] 59bf1c3509f3: Verifying Checksum [2022-06-20T19:09:48.837Z] b1e948a4e11c: Verifying Checksum [2022-06-20T19:09:48.837Z] b1e948a4e11c: Download complete [2022-06-20T19:09:48.837Z] 59bf1c3509f3: Pull complete [2022-06-20T19:09:49.106Z] 666ba61612fd: Pull complete [2022-06-20T19:09:49.106Z] 8ed8ca486205: Pull complete [2022-06-20T19:09:49.367Z] 646ad004c059: Verifying Checksum [2022-06-20T19:09:49.367Z] 646ad004c059: Download complete [2022-06-20T19:09:49.367Z] a8fd76ee1af6: Verifying Checksum [2022-06-20T19:09:49.367Z] a8fd76ee1af6: Download complete [2022-06-20T19:09:49.367Z] cc1cd167ecdc: Verifying Checksum [2022-06-20T19:09:49.367Z] cc1cd167ecdc: Download complete [2022-06-20T19:09:53.566Z] cc1cd167ecdc: Pull complete [2022-06-20T19:09:53.566Z] c516ae0d96e1: Pull complete [2022-06-20T19:09:53.566Z] 684cea983483: Pull complete [2022-06-20T19:09:53.566Z] dd3240ac7de5: Pull complete [2022-06-20T19:09:53.566Z] b1e948a4e11c: Pull complete [2022-06-20T19:09:56.103Z] a8fd76ee1af6: Pull complete [2022-06-20T19:09:56.671Z] 646ad004c059: Pull complete [2022-06-20T19:09:56.671Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-20T19:09:56.671Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-20T19:09:56.671Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] fileExists [Pipeline] sh [2022-06-20T19:09:57.033Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-20T19:09:57.033Z] WORKDIR /edgex [2022-06-20T19:09:57.033Z] COPY go.mod . [2022-06-20T19:09:57.033Z] RUN go mod download [2022-06-20T19:09:57.033Z] + docker build -t ci-base-image-x86_64 -f - . [2022-06-20T19:09:58.420Z] Sending build context to Docker daemon 335.1MB [2022-06-20T19:09:58.420Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-20T19:09:58.420Z] ---> 8f69c11f6b0c [2022-06-20T19:09:58.420Z] Step 2/4 : WORKDIR /edgex [2022-06-20T19:10:00.335Z] ---> Running in 1e4aff09b0af [2022-06-20T19:10:00.335Z] Removing intermediate container 1e4aff09b0af [2022-06-20T19:10:00.335Z] ---> dbcb36afe1dc [2022-06-20T19:10:00.335Z] Step 3/4 : COPY go.mod . [2022-06-20T19:10:00.335Z] ---> e7062cdd88cb [2022-06-20T19:10:00.335Z] Step 4/4 : RUN go mod download [2022-06-20T19:10:00.335Z] ---> Running in 4db289c7b795 [2022-06-20T19:10:02.992Z] Still waiting to schedule task [2022-06-20T19:10:02.993Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-20T19:10:15.236Z] Removing intermediate container 4db289c7b795 [2022-06-20T19:10:15.236Z] ---> b177bc7ab31d [2022-06-20T19:10:15.236Z] Successfully built b177bc7ab31d [2022-06-20T19:10:15.236Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T19:10:15.611Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-20T19:10:15.611Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T19:10:15.772Z] prd-ubuntu20.04-docker-8c-8g-15176 does not seem to be running inside a container [2022-06-20T19:10:15.814Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-20T19:10:16.198Z] $ docker top 76960b9af1e025f9fc1235af67b042ee1b263edc64928e1ff89d97145cbadbe9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-20T19:10:16.606Z] + go version [2022-06-20T19:10:16.606Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-20T19:10:16.646Z] $ docker stop --time=1 76960b9af1e025f9fc1235af67b042ee1b263edc64928e1ff89d97145cbadbe9 [2022-06-20T19:10:17.934Z] $ docker rm -f 76960b9af1e025f9fc1235af67b042ee1b263edc64928e1ff89d97145cbadbe9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T19:10:18.636Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-20T19:10:18.636Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T19:10:18.794Z] prd-ubuntu20.04-docker-8c-8g-15176 does not seem to be running inside a container [2022-06-20T19:10:18.839Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-20T19:10:19.216Z] $ docker top 4c52d2a9be24a35d21a413330d5105ece36769a49e3389e911fc99e898f306a1 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-06-20T19:10:19.342Z] ========================================================= [2022-06-20T19:10:19.342Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-06-20T19:10:19.342Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-06-20T19:10:19.736Z] + make test [2022-06-20T19:10:19.737Z] go mod tidy -compat=1.17 [2022-06-20T19:10:19.737Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-06-20T19:10:26.324Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-06-20T19:10:38.531Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-06-20T19:10:38.531Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-06-20T19:10:38.531Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-06-20T19:10:38.531Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-06-20T19:10:38.531Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-06-20T19:10:38.531Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-06-20T19:10:38.531Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-06-20T19:10:38.531Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-06-20T19:10:38.531Z] ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] [2022-06-20T19:10:38.531Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2022-06-20T19:10:38.531Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2022-06-20T19:10:38.531Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2022-06-20T19:10:38.531Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2022-06-20T19:10:38.531Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2022-06-20T19:10:38.531Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2022-06-20T19:10:39.098Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.086s coverage: 28.7% of statements [2022-06-20T19:10:39.098Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2022-06-20T19:10:39.098Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2022-06-20T19:10:39.667Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.077s coverage: 98.5% of statements [2022-06-20T19:10:39.667Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2022-06-20T19:10:39.667Z] --- FAIL: TestAddEvent (0.00s) [2022-06-20T19:10:39.667Z] --- FAIL: TestAddEvent/Valid_-_Add_Event_without_persistence (0.00s) [2022-06-20T19:10:39.667Z] panic: runtime error: invalid memory address or nil pointer dereference [recovered] [2022-06-20T19:10:39.667Z] panic: runtime error: invalid memory address or nil pointer dereference [2022-06-20T19:10:39.667Z] [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x48d22a] [2022-06-20T19:10:39.667Z] [2022-06-20T19:10:39.667Z] goroutine 16 [running]: [2022-06-20T19:10:39.667Z] testing.tRunner.func1.2({0xe8c0e0, 0x154ddd0}) [2022-06-20T19:10:39.667Z] /usr/local/go/src/testing/testing.go:1209 +0x36c [2022-06-20T19:10:39.667Z] testing.tRunner.func1() [2022-06-20T19:10:39.667Z] /usr/local/go/src/testing/testing.go:1212 +0x3b6 [2022-06-20T19:10:39.667Z] panic({0xe8c0e0, 0x154ddd0}) [2022-06-20T19:10:39.667Z] /usr/local/go/src/runtime/panic.go:1047 +0x266 [2022-06-20T19:10:39.667Z] sync.(*Mutex).Lock(0x0) [2022-06-20T19:10:39.667Z] /usr/local/go/src/sync/mutex.go:74 +0x2a [2022-06-20T19:10:39.667Z] github.com/stretchr/testify/mock.(*Mock).AssertExpectations(0xc0003e3720, {0x107bce0, 0xc00048a000}) [2022-06-20T19:10:39.667Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.3/mock/mock.go:511 +0xa9 [2022-06-20T19:10:39.667Z] github.com/edgexfoundry/edgex-go/internal/core/data/application.TestAddEvent.func1(0x0) [2022-06-20T19:10:39.667Z] /w/workspace/edgex-go/1/internal/core/data/application/event_test.go:232 +0x491 [2022-06-20T19:10:39.667Z] testing.tRunner(0xc00048a000, 0xc000363300) [2022-06-20T19:10:39.667Z] /usr/local/go/src/testing/testing.go:1259 +0x230 [2022-06-20T19:10:39.667Z] created by testing.(*T).Run [2022-06-20T19:10:39.667Z] /usr/local/go/src/testing/testing.go:1306 +0x727 [2022-06-20T19:10:39.667Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/application 0.052s [2022-06-20T19:10:39.667Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2022-06-20T19:10:39.667Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2022-06-20T19:10:43.862Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 3.250s coverage: 89.2% of statements [2022-06-20T19:10:43.862Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] [2022-06-20T19:10:43.862Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2022-06-20T19:10:43.862Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2022-06-20T19:10:43.862Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.071s coverage: 83.8% of statements [2022-06-20T19:10:43.862Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2022-06-20T19:10:43.862Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2022-06-20T19:10:43.862Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] [2022-06-20T19:10:43.862Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2022-06-20T19:10:43.862Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2022-06-20T19:10:43.862Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.511s coverage: 95.6% of statements [2022-06-20T19:10:43.862Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2022-06-20T19:10:43.862Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2022-06-20T19:10:43.862Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.094s coverage: 72.2% of statements [2022-06-20T19:10:43.862Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2022-06-20T19:10:43.862Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2022-06-20T19:10:43.862Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2022-06-20T19:10:43.862Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2022-06-20T19:10:43.862Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2022-06-20T19:10:43.862Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.077s coverage: 60.0% of statements [2022-06-20T19:10:43.862Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2022-06-20T19:10:43.862Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2022-06-20T19:10:43.862Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2022-06-20T19:10:43.862Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.081s coverage: 0.9% of statements [2022-06-20T19:10:43.862Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2022-06-20T19:10:43.862Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.065s coverage: 58.8% of statements [2022-06-20T19:10:43.862Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.078s coverage: 29.6% of statements [2022-06-20T19:10:43.862Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2022-06-20T19:10:43.862Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.059s coverage: 47.1% of statements [2022-06-20T19:10:43.862Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.075s coverage: 79.5% of statements [2022-06-20T19:10:43.862Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.097s coverage: 94.1% of statements [2022-06-20T19:10:43.862Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.086s coverage: 96.3% of statements [2022-06-20T19:10:43.862Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.059s coverage: 87.5% of statements [2022-06-20T19:10:53.868Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.067s coverage: 94.4% of statements [2022-06-20T19:10:53.868Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.061s coverage: 44.8% of statements [2022-06-20T19:10:54.440Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.178s coverage: 82.5% of statements [2022-06-20T19:10:54.440Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2022-06-20T19:11:04.461Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.101s coverage: 92.9% of statements [2022-06-20T19:11:04.461Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2022-06-20T19:11:04.461Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2022-06-20T19:11:04.461Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2022-06-20T19:11:04.461Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.042s coverage: 65.1% of statements [2022-06-20T19:11:04.461Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2022-06-20T19:11:04.461Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2022-06-20T19:11:04.461Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2022-06-20T19:11:04.461Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2022-06-20T19:11:04.461Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2022-06-20T19:11:04.461Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.066s coverage: 87.2% of statements [2022-06-20T19:11:04.461Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2022-06-20T19:11:04.461Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2022-06-20T19:11:04.461Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.041s coverage: 100.0% of statements [2022-06-20T19:11:04.461Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2022-06-20T19:11:04.461Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.066s coverage: 58.8% of statements [2022-06-20T19:11:04.461Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2022-06-20T19:11:04.461Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.088s coverage: 80.0% of statements [2022-06-20T19:11:04.461Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.041s coverage: 87.2% of statements [2022-06-20T19:11:04.461Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.068s coverage: 85.4% of statements [2022-06-20T19:11:04.461Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.179s coverage: 91.2% of statements [2022-06-20T19:11:04.461Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2022-06-20T19:11:04.461Z] --- FAIL: TestErrorLoading1 (0.00s) [2022-06-20T19:11:04.461Z] panic: runtime error: invalid memory address or nil pointer dereference [recovered] [2022-06-20T19:11:04.461Z] panic: runtime error: invalid memory address or nil pointer dereference [2022-06-20T19:11:04.461Z] [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x48d20a] [2022-06-20T19:11:04.461Z] [2022-06-20T19:11:04.461Z] goroutine 35 [running]: [2022-06-20T19:11:04.461Z] testing.tRunner.func1.2({0xc7ae80, 0x11e7ca0}) [2022-06-20T19:11:04.461Z] /usr/local/go/src/testing/testing.go:1209 +0x36c [2022-06-20T19:11:04.461Z] testing.tRunner.func1() [2022-06-20T19:11:04.461Z] /usr/local/go/src/testing/testing.go:1212 +0x3b6 [2022-06-20T19:11:04.461Z] panic({0xc7ae80, 0x11e7ca0}) [2022-06-20T19:11:04.461Z] /usr/local/go/src/runtime/panic.go:1047 +0x266 [2022-06-20T19:11:04.461Z] sync.(*Mutex).Lock(0x0) [2022-06-20T19:11:04.461Z] /usr/local/go/src/sync/mutex.go:74 +0x2a [2022-06-20T19:11:04.461Z] github.com/stretchr/testify/mock.(*Mock).AssertExpectations(0xc0004d2500, {0xe22a20, 0xc000483040}) [2022-06-20T19:11:04.461Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.3/mock/mock.go:511 +0xa9 [2022-06-20T19:11:04.462Z] github.com/edgexfoundry/edgex-go/internal/security/fileprovider.TestErrorLoading1(0x0) [2022-06-20T19:11:04.462Z] /w/workspace/edgex-go/1/internal/security/fileprovider/provider_test.go:335 +0x490 [2022-06-20T19:11:04.462Z] testing.tRunner(0xc000483040, 0xd56690) [2022-06-20T19:11:04.462Z] /usr/local/go/src/testing/testing.go:1259 +0x230 [2022-06-20T19:11:04.462Z] created by testing.(*T).Run [2022-06-20T19:11:04.462Z] /usr/local/go/src/testing/testing.go:1306 +0x727 [2022-06-20T19:11:04.462Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.151s [2022-06-20T19:11:04.462Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2022-06-20T19:11:04.462Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2022-06-20T19:11:04.462Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.063s coverage: 100.0% of statements [2022-06-20T19:11:04.462Z] --- FAIL: TestFailedStat (0.00s) [2022-06-20T19:11:04.462Z] panic: runtime error: invalid memory address or nil pointer dereference [recovered] [2022-06-20T19:11:04.462Z] panic: runtime error: invalid memory address or nil pointer dereference [2022-06-20T19:11:04.462Z] [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x4a528a] [2022-06-20T19:11:04.462Z] [2022-06-20T19:11:04.462Z] goroutine 23 [running]: [2022-06-20T19:11:04.462Z] testing.tRunner.func1.2({0x67ea60, 0x8587d0}) [2022-06-20T19:11:04.462Z] /usr/local/go/src/testing/testing.go:1209 +0x36c [2022-06-20T19:11:04.462Z] testing.tRunner.func1() [2022-06-20T19:11:04.462Z] /usr/local/go/src/testing/testing.go:1212 +0x3b6 [2022-06-20T19:11:04.462Z] panic({0x67ea60, 0x8587d0}) [2022-06-20T19:11:04.462Z] /usr/local/go/src/runtime/panic.go:1047 +0x266 [2022-06-20T19:11:04.462Z] sync.(*Mutex).Lock(0x0) [2022-06-20T19:11:04.462Z] /usr/local/go/src/sync/mutex.go:74 +0x2a [2022-06-20T19:11:04.462Z] github.com/stretchr/testify/mock.(*Mock).AssertExpectations(0xc0000948c0, {0x702c08, 0xc0001244e0}) [2022-06-20T19:11:04.462Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.3/mock/mock.go:511 +0xa9 [2022-06-20T19:11:04.462Z] github.com/edgexfoundry/edgex-go/internal/security/kdf.TestFailedStat(0x0) [2022-06-20T19:11:04.462Z] /w/workspace/edgex-go/1/internal/security/kdf/methods_test.go:88 +0x34e [2022-06-20T19:11:04.462Z] testing.tRunner(0xc0001244e0, 0x6c4ad8) [2022-06-20T19:11:04.462Z] /usr/local/go/src/testing/testing.go:1259 +0x230 [2022-06-20T19:11:04.462Z] created by testing.(*T).Run [2022-06-20T19:11:04.462Z] /usr/local/go/src/testing/testing.go:1306 +0x727 [2022-06-20T19:11:04.462Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/kdf 0.019s [2022-06-20T19:11:04.462Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.034s coverage: 100.0% of statements [2022-06-20T19:11:04.462Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.030s coverage: 73.7% of statements [2022-06-20T19:11:04.462Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.026s coverage: 100.0% of statements [2022-06-20T19:11:04.462Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.346s coverage: 65.4% of statements [2022-06-20T19:11:04.462Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2022-06-20T19:11:04.462Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2022-06-20T19:11:04.462Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2022-06-20T19:11:04.462Z] --- FAIL: TestPasswordConfigNotInitialized (0.00s) [2022-06-20T19:11:04.462Z] panic: runtime error: invalid memory address or nil pointer dereference [recovered] [2022-06-20T19:11:04.462Z] panic: runtime error: invalid memory address or nil pointer dereference [2022-06-20T19:11:04.462Z] [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x48d6aa] [2022-06-20T19:11:04.462Z] [2022-06-20T19:11:04.462Z] goroutine 78 [running]: [2022-06-20T19:11:04.462Z] testing.tRunner.func1.2({0xdeca80, 0x1427de0}) [2022-06-20T19:11:04.462Z] /usr/local/go/src/testing/testing.go:1209 +0x36c [2022-06-20T19:11:04.462Z] testing.tRunner.func1() [2022-06-20T19:11:04.462Z] /usr/local/go/src/testing/testing.go:1212 +0x3b6 [2022-06-20T19:11:04.462Z] panic({0xdeca80, 0x1427de0}) [2022-06-20T19:11:04.462Z] /usr/local/go/src/runtime/panic.go:1047 +0x266 [2022-06-20T19:11:04.462Z] sync.(*Mutex).Lock(0x0) [2022-06-20T19:11:04.462Z] /usr/local/go/src/sync/mutex.go:74 +0x2a [2022-06-20T19:11:04.462Z] github.com/stretchr/testify/mock.(*Mock).AssertExpectations(0xc0003aa1e0, {0xfd7080, 0xc00010ab60}) [2022-06-20T19:11:04.462Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.3/mock/mock.go:511 +0xa9 [2022-06-20T19:11:04.462Z] github.com/edgexfoundry/edgex-go/internal/security/secretstore.TestPasswordConfigNotInitialized(0x0) [2022-06-20T19:11:04.462Z] /w/workspace/edgex-go/1/internal/security/secretstore/passwordprovider_test.go:46 +0x1c5 [2022-06-20T19:11:04.462Z] testing.tRunner(0xc00010ab60, 0xee8af8) [2022-06-20T19:11:04.462Z] /usr/local/go/src/testing/testing.go:1259 +0x230 [2022-06-20T19:11:04.462Z] created by testing.(*T).Run [2022-06-20T19:11:04.462Z] /usr/local/go/src/testing/testing.go:1306 +0x727 [2022-06-20T19:11:04.462Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.122s [2022-06-20T19:11:04.462Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2022-06-20T19:11:04.462Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2022-06-20T19:11:04.462Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.071s coverage: 89.5% of statements [2022-06-20T19:11:04.462Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2022-06-20T19:11:04.462Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.050s coverage: 84.8% of statements [2022-06-20T19:11:04.462Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] [2022-06-20T19:11:04.462Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] [2022-06-20T19:11:04.462Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] [2022-06-20T19:11:04.462Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] [2022-06-20T19:11:04.462Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.080s coverage: 17.7% of statements [2022-06-20T19:11:04.462Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2022-06-20T19:11:04.462Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2022-06-20T19:11:04.462Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2022-06-20T19:11:04.462Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2022-06-20T19:11:04.462Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.164s coverage: 92.3% of statements [2022-06-20T19:11:04.462Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2022-06-20T19:11:04.462Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2022-06-20T19:11:04.462Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] [2022-06-20T19:11:04.462Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2022-06-20T19:11:04.462Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.057s coverage: 63.2% of statements [2022-06-20T19:11:04.462Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2022-06-20T19:11:04.462Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2022-06-20T19:11:04.462Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.101s coverage: 97.7% of statements [2022-06-20T19:11:04.462Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2022-06-20T19:11:04.462Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2022-06-20T19:11:04.462Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2022-06-20T19:11:04.462Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] [2022-06-20T19:11:04.462Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.057s coverage: 28.9% of statements [2022-06-20T19:11:04.462Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] [2022-06-20T19:11:04.462Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] [2022-06-20T19:11:04.462Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2022-06-20T19:11:04.462Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2022-06-20T19:11:04.462Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] [2022-06-20T19:11:04.462Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2022-06-20T19:11:04.462Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.052s coverage: 100.0% of statements [2022-06-20T19:11:04.462Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.035s coverage: 96.9% of statements [2022-06-20T19:11:04.462Z] FAIL [2022-06-20T19:11:04.462Z] make: *** [Makefile:132: unittest] Error 1 [Pipeline] } [2022-06-20T19:11:04.520Z] $ docker stop --time=1 4c52d2a9be24a35d21a413330d5105ece36769a49e3389e911fc99e898f306a1 [2022-06-20T19:11:06.396Z] $ docker rm -f 4c52d2a9be24a35d21a413330d5105ece36769a49e3389e911fc99e898f306a1 [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] } [2022-06-20T19:11:07.271Z] Failed in branch amd64 [2022-06-20T19:11:37.926Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15177 in /w/workspace/edgexfoundry_edgex-go_PR-4056 [Pipeline] { [Pipeline] ws [2022-06-20T19:11:37.966Z] Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout [2022-06-20T19:11:38.047Z] The recommended git tool is: git [2022-06-20T19:11:44.158Z] using credential edgex-jenkins-ssh [2022-06-20T19:11:44.178Z] Cloning the remote Git repository [2022-06-20T19:11:44.284Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2022-06-20T19:11:44.383Z] > git init /w/workspace/edgex-go/1 # timeout=10 [2022-06-20T19:11:44.559Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-06-20T19:11:44.560Z] > git --version # timeout=10 [2022-06-20T19:11:44.584Z] > git --version # 'git version 2.25.1' [2022-06-20T19:11:44.586Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-20T19:11:44.665Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-20T19:12:00.328Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-06-20T19:12:00.356Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-20T19:12:00.384Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-06-20T19:12:00.419Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-06-20T19:12:00.420Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-20T19:12:00.432Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4056/head:refs/remotes/origin/PR-4056 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-20T19:12:01.025Z] Merging remotes/origin/main commit 18107d571668bc071dc3670312a164098c2940fe into PR head commit c392857627e2c0a38cab93f7c109ba4cafaecb4e [2022-06-20T19:12:01.384Z] Merge succeeded, producing c392857627e2c0a38cab93f7c109ba4cafaecb4e [2022-06-20T19:12:01.385Z] Checking out Revision c392857627e2c0a38cab93f7c109ba4cafaecb4e (PR-4056) [2022-06-20T19:12:01.043Z] > git config core.sparsecheckout # timeout=10 [2022-06-20T19:12:01.056Z] > git checkout -f c392857627e2c0a38cab93f7c109ba4cafaecb4e # timeout=10 [2022-06-20T19:12:01.289Z] > git remote # timeout=10 [2022-06-20T19:12:01.306Z] > git config --get remote.origin.url # timeout=10 [2022-06-20T19:12:01.330Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-20T19:12:01.340Z] > git merge 18107d571668bc071dc3670312a164098c2940fe # timeout=10 [2022-06-20T19:12:01.367Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-20T19:12:01.393Z] > git config core.sparsecheckout # timeout=10 [2022-06-20T19:12:01.404Z] > git checkout -f c392857627e2c0a38cab93f7c109ba4cafaecb4e # timeout=10 [2022-06-20T19:12:05.683Z] Commit message: "build(deps): Bump github.com/stretchr/testify from 1.7.2 to 1.7.3" [2022-06-20T19:12:05.742Z] > git --version # timeout=10 [2022-06-20T19:12:05.754Z] > git --version # 'git version 2.25.1' [2022-06-20T19:12:05.770Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-20T19:12:06.947Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-20T19:12:06.947Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-20T19:12:06.947Z] Dload Upload Total Spent Left Speed [2022-06-20T19:12:06.947Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 64151 0 --:--:-- --:--:-- --:--:-- 64151 [Pipeline] sh [2022-06-20T19:12:07.939Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-20T19:12:08.288Z] + sudo tee /etc/docker/daemon.new [2022-06-20T19:12:08.288Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-20T19:12:08.288Z] { [2022-06-20T19:12:08.288Z] "registry-mirrors": [ [2022-06-20T19:12:08.288Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-20T19:12:08.288Z] ], [2022-06-20T19:12:08.288Z] "bip": "10.250.0.254/24", [2022-06-20T19:12:08.288Z] "hosts": [ [2022-06-20T19:12:08.288Z] "tcp://0.0.0.0:5555", [2022-06-20T19:12:08.288Z] "unix:///var/run/docker.sock" [2022-06-20T19:12:08.288Z] ], [2022-06-20T19:12:08.288Z] "mtu": 1458, [2022-06-20T19:12:08.288Z] "selinux-enabled": true, [2022-06-20T19:12:08.288Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-20T19:12:08.288Z] } [Pipeline] sh [2022-06-20T19:12:08.634Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-20T19:12:08.984Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-20T19:12:27.374Z] provisioning config files... [2022-06-20T19:12:27.397Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config7286941799543063043tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-20T19:12:27.789Z] ---> docker-login.sh [2022-06-20T19:12:27.790Z] nexus3.edgexfoundry.org:10001 [2022-06-20T19:12:28.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T19:12:28.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T19:12:28.668Z] Configure a credential helper to remove this warning. See [2022-06-20T19:12:28.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T19:12:28.668Z] [2022-06-20T19:12:28.668Z] Login Succeeded [2022-06-20T19:12:28.668Z] nexus3.edgexfoundry.org:10002 [2022-06-20T19:12:28.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T19:12:28.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T19:12:28.942Z] Configure a credential helper to remove this warning. See [2022-06-20T19:12:28.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T19:12:28.942Z] [2022-06-20T19:12:28.942Z] Login Succeeded [2022-06-20T19:12:28.942Z] nexus3.edgexfoundry.org:10003 [2022-06-20T19:12:29.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T19:12:29.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T19:12:29.540Z] Configure a credential helper to remove this warning. See [2022-06-20T19:12:29.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T19:12:29.540Z] [2022-06-20T19:12:29.540Z] Login Succeeded [2022-06-20T19:12:29.540Z] nexus3.edgexfoundry.org:10004 [2022-06-20T19:12:29.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T19:12:30.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T19:12:30.094Z] Configure a credential helper to remove this warning. See [2022-06-20T19:12:30.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T19:12:30.094Z] [2022-06-20T19:12:30.094Z] Login Succeeded [2022-06-20T19:12:30.094Z] docker.io [2022-06-20T19:12:30.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T19:12:30.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T19:12:30.642Z] Configure a credential helper to remove this warning. See [2022-06-20T19:12:30.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T19:12:30.642Z] [2022-06-20T19:12:30.642Z] Login Succeeded [2022-06-20T19:12:30.642Z] ---> docker-login.sh ends [Pipeline] } [2022-06-20T19:12:30.672Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-20T19:12:31.053Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-20T19:12:31.085Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-20T19:12:31.114Z] ========================================================= [2022-06-20T19:12:31.114Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-20T19:12:31.114Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-06-20T19:12:31.486Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-20T19:12:31.762Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-20T19:12:31.762Z] 9b3977197b4f: Pulling fs layer [2022-06-20T19:12:31.762Z] 1a89e8eeedd5: Pulling fs layer [2022-06-20T19:12:31.762Z] 94645a83ff95: Pulling fs layer [2022-06-20T19:12:31.762Z] e6fb740bc735: Pulling fs layer [2022-06-20T19:12:31.762Z] 3a77bd46dcc9: Pulling fs layer [2022-06-20T19:12:31.762Z] 355e64cbe906: Pulling fs layer [2022-06-20T19:12:31.762Z] 63ab81a10011: Pulling fs layer [2022-06-20T19:12:31.762Z] 555d1d1c4555: Pulling fs layer [2022-06-20T19:12:31.762Z] 7d9057610161: Pulling fs layer [2022-06-20T19:12:31.762Z] 355e64cbe906: Waiting [2022-06-20T19:12:31.762Z] e6fb740bc735: Waiting [2022-06-20T19:12:31.762Z] 63ab81a10011: Waiting [2022-06-20T19:12:31.762Z] 3a77bd46dcc9: Waiting [2022-06-20T19:12:31.762Z] 555d1d1c4555: Waiting [2022-06-20T19:12:31.762Z] 7d9057610161: Waiting [2022-06-20T19:12:31.762Z] 94645a83ff95: Verifying Checksum [2022-06-20T19:12:31.762Z] 94645a83ff95: Download complete [2022-06-20T19:12:31.762Z] 1a89e8eeedd5: Verifying Checksum [2022-06-20T19:12:31.762Z] 1a89e8eeedd5: Download complete [2022-06-20T19:12:31.762Z] 3a77bd46dcc9: Verifying Checksum [2022-06-20T19:12:31.762Z] 3a77bd46dcc9: Download complete [2022-06-20T19:12:31.762Z] 355e64cbe906: Download complete [2022-06-20T19:12:31.762Z] 9b3977197b4f: Verifying Checksum [2022-06-20T19:12:31.762Z] 9b3977197b4f: Download complete [2022-06-20T19:12:31.762Z] 63ab81a10011: Verifying Checksum [2022-06-20T19:12:31.762Z] 63ab81a10011: Download complete [2022-06-20T19:12:32.752Z] 9b3977197b4f: Pull complete [2022-06-20T19:12:32.752Z] 7d9057610161: Verifying Checksum [2022-06-20T19:12:32.752Z] 7d9057610161: Download complete [2022-06-20T19:12:33.373Z] 1a89e8eeedd5: Pull complete [2022-06-20T19:12:33.663Z] 94645a83ff95: Pull complete [2022-06-20T19:12:33.938Z] 555d1d1c4555: Verifying Checksum [2022-06-20T19:12:34.533Z] e6fb740bc735: Verifying Checksum [2022-06-20T19:12:34.533Z] e6fb740bc735: Download complete [2022-06-20T19:12:46.948Z] e6fb740bc735: Pull complete [2022-06-20T19:12:47.226Z] 3a77bd46dcc9: Pull complete [2022-06-20T19:12:47.502Z] 355e64cbe906: Pull complete [2022-06-20T19:12:47.777Z] 63ab81a10011: Pull complete [2022-06-20T19:12:54.514Z] 555d1d1c4555: Pull complete [2022-06-20T19:12:55.953Z] 7d9057610161: Pull complete [2022-06-20T19:12:55.953Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-20T19:12:55.953Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-20T19:12:55.953Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] fileExists [Pipeline] sh [2022-06-20T19:12:56.353Z] + docker build -t ci-base-image-arm64 -f - . [2022-06-20T19:12:56.353Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-20T19:12:56.353Z] WORKDIR /edgex [2022-06-20T19:12:56.353Z] COPY go.mod . [2022-06-20T19:12:56.353Z] RUN go mod download [2022-06-20T19:12:58.998Z] Sending build context to Docker daemon 169.1MB [2022-06-20T19:12:58.998Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-20T19:12:58.998Z] ---> 819e984ddca1 [2022-06-20T19:12:58.998Z] Step 2/4 : WORKDIR /edgex [2022-06-20T19:13:00.985Z] ---> Running in 1e46edd05127 [2022-06-20T19:13:00.985Z] Removing intermediate container 1e46edd05127 [2022-06-20T19:13:00.985Z] ---> f0f603292cb6 [2022-06-20T19:13:00.985Z] Step 3/4 : COPY go.mod . [2022-06-20T19:13:01.590Z] ---> 0e9d798f65a3 [2022-06-20T19:13:01.590Z] Step 4/4 : RUN go mod download [2022-06-20T19:13:01.590Z] ---> Running in 3c26ce6eec5f [2022-06-20T19:13:48.563Z] Removing intermediate container 3c26ce6eec5f [2022-06-20T19:13:48.563Z] ---> e8efef409ce4 [2022-06-20T19:13:48.563Z] Successfully built e8efef409ce4 [2022-06-20T19:13:48.563Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T19:13:48.977Z] + docker inspect -f . ci-base-image-arm64 [2022-06-20T19:13:48.977Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T19:13:49.299Z] prd-ubuntu20.04-docker-arm64-4c-16g-15177 does not seem to be running inside a container [2022-06-20T19:13:49.389Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-20T19:13:50.717Z] $ docker top ed7919fd21a165cb77ea110c3bdcd287a2c8bbb713984f8035ccfd0a53c5f630 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-20T19:13:51.683Z] + go version [2022-06-20T19:13:51.683Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-20T19:13:51.720Z] $ docker stop --time=1 ed7919fd21a165cb77ea110c3bdcd287a2c8bbb713984f8035ccfd0a53c5f630 [2022-06-20T19:13:53.332Z] $ docker rm -f ed7919fd21a165cb77ea110c3bdcd287a2c8bbb713984f8035ccfd0a53c5f630 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T19:13:54.280Z] + docker inspect -f . ci-base-image-arm64 [2022-06-20T19:13:54.280Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T19:13:54.590Z] prd-ubuntu20.04-docker-arm64-4c-16g-15177 does not seem to be running inside a container [2022-06-20T19:13:54.677Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-20T19:13:55.970Z] $ docker top 06b5de49065f83715a08a27d0e0dc5ecfcdefb73b6b658473286144346b112e3 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-06-20T19:13:56.287Z] ========================================================= [2022-06-20T19:13:56.287Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-06-20T19:13:56.287Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-06-20T19:13:56.997Z] + make test [2022-06-20T19:13:56.997Z] go mod tidy -compat=1.17 [2022-06-20T19:13:57.987Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-06-20T19:14:30.366Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-06-20T19:16:07.246Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-06-20T19:16:07.246Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-06-20T19:16:07.246Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-06-20T19:16:07.246Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-06-20T19:16:07.246Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-06-20T19:16:07.246Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-06-20T19:16:07.246Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-06-20T19:16:07.246Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-06-20T19:16:07.246Z] ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] [2022-06-20T19:16:08.241Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2022-06-20T19:16:08.241Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2022-06-20T19:16:08.519Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2022-06-20T19:16:08.519Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2022-06-20T19:16:08.519Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2022-06-20T19:16:08.519Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2022-06-20T19:16:20.977Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.277s coverage: 28.7% of statements [2022-06-20T19:16:20.977Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2022-06-20T19:16:20.977Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2022-06-20T19:16:26.419Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.522s coverage: 98.5% of statements [2022-06-20T19:16:26.419Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2022-06-20T19:16:26.419Z] --- FAIL: TestAddEvent (0.01s) [2022-06-20T19:16:26.419Z] --- FAIL: TestAddEvent/Valid_-_Add_Event_without_persistence (0.00s) [2022-06-20T19:16:26.419Z] panic: runtime error: invalid memory address or nil pointer dereference [recovered] [2022-06-20T19:16:26.419Z] panic: runtime error: invalid memory address or nil pointer dereference [2022-06-20T19:16:26.419Z] [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x48f19c] [2022-06-20T19:16:26.419Z] [2022-06-20T19:16:26.419Z] goroutine 22 [running]: [2022-06-20T19:16:26.419Z] testing.tRunner.func1.2({0xd977c0, 0x1448dc0}) [2022-06-20T19:16:26.419Z] /usr/local/go/src/testing/testing.go:1209 +0x348 [2022-06-20T19:16:26.419Z] testing.tRunner.func1(0xc000404340) [2022-06-20T19:16:26.419Z] /usr/local/go/src/testing/testing.go:1212 +0x2ec [2022-06-20T19:16:26.419Z] panic({0xd977c0, 0x1448dc0}) [2022-06-20T19:16:26.419Z] /usr/local/go/src/runtime/panic.go:1052 +0x2b4 [2022-06-20T19:16:26.419Z] sync.(*Mutex).Lock(0x0) [2022-06-20T19:16:26.419Z] /usr/local/go/src/sync/mutex.go:74 +0x2c [2022-06-20T19:16:26.419Z] github.com/stretchr/testify/mock.(*Mock).AssertExpectations(0xc000396e60, {0xf882a8, 0xc000404340}) [2022-06-20T19:16:26.419Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.3/mock/mock.go:511 +0x94 [2022-06-20T19:16:26.419Z] github.com/edgexfoundry/edgex-go/internal/core/data/application.TestAddEvent.func1(0xc000404340) [2022-06-20T19:16:26.419Z] /w/workspace/edgex-go/1/internal/core/data/application/event_test.go:232 +0x478 [2022-06-20T19:16:26.419Z] testing.tRunner(0xc000404340, 0xc0003a0b00) [2022-06-20T19:16:26.419Z] /usr/local/go/src/testing/testing.go:1259 +0x19c [2022-06-20T19:16:26.419Z] created by testing.(*T).Run [2022-06-20T19:16:26.419Z] /usr/local/go/src/testing/testing.go:1306 +0x5c4 [2022-06-20T19:16:26.419Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/application 0.274s [2022-06-20T19:16:26.420Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2022-06-20T19:16:26.420Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2022-06-20T19:16:48.758Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 19.170s coverage: 89.2% of statements [2022-06-20T19:16:48.758Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] [2022-06-20T19:16:48.758Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2022-06-20T19:16:48.758Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2022-06-20T19:16:48.758Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.343s coverage: 83.8% of statements [2022-06-20T19:16:48.758Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2022-06-20T19:16:48.758Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2022-06-20T19:16:48.758Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] [2022-06-20T19:16:48.758Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2022-06-20T19:16:48.758Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2022-06-20T19:16:49.937Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 2.363s coverage: 95.6% of statements [2022-06-20T19:16:49.937Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2022-06-20T19:16:49.937Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2022-06-20T19:16:49.937Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.295s coverage: 72.2% of statements [2022-06-20T19:16:49.937Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2022-06-20T19:16:49.937Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2022-06-20T19:16:49.937Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2022-06-20T19:16:49.937Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2022-06-20T19:16:49.937Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2022-06-20T19:16:49.937Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.515s coverage: 60.0% of statements [2022-06-20T19:16:49.937Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2022-06-20T19:16:49.937Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2022-06-20T19:16:49.937Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2022-06-20T19:16:49.937Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.471s coverage: 0.9% of statements [2022-06-20T19:16:49.937Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2022-06-20T19:16:49.937Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.412s coverage: 58.8% of statements [2022-06-20T19:16:49.937Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.382s coverage: 29.6% of statements [2022-06-20T19:16:49.937Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2022-06-20T19:16:49.937Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.248s coverage: 47.1% of statements [2022-06-20T19:16:49.937Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.293s coverage: 79.5% of statements [2022-06-20T19:16:49.937Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.461s coverage: 94.1% of statements [2022-06-20T19:16:52.051Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.367s coverage: 96.3% of statements [2022-06-20T19:16:52.653Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.247s coverage: 87.5% of statements [2022-06-20T19:17:05.065Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.260s coverage: 94.4% of statements [2022-06-20T19:17:05.065Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.186s coverage: 44.8% of statements [2022-06-20T19:17:11.772Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.658s coverage: 82.5% of statements [2022-06-20T19:17:11.772Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2022-06-20T19:17:18.512Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.267s coverage: 92.9% of statements [2022-06-20T19:17:18.512Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2022-06-20T19:17:18.512Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2022-06-20T19:17:18.512Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2022-06-20T19:17:18.512Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.060s coverage: 65.1% of statements [2022-06-20T19:17:18.512Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2022-06-20T19:17:18.512Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2022-06-20T19:17:18.512Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2022-06-20T19:17:18.512Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2022-06-20T19:17:18.512Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2022-06-20T19:17:18.512Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.207s coverage: 87.2% of statements [2022-06-20T19:17:18.512Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2022-06-20T19:17:18.512Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2022-06-20T19:17:18.512Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.176s coverage: 100.0% of statements [2022-06-20T19:17:18.512Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2022-06-20T19:17:18.512Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.295s coverage: 58.8% of statements [2022-06-20T19:17:18.512Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2022-06-20T19:17:18.512Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.277s coverage: 80.0% of statements [2022-06-20T19:17:18.512Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.221s coverage: 87.2% of statements [2022-06-20T19:17:18.512Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.315s coverage: 85.4% of statements [2022-06-20T19:17:18.513Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.956s coverage: 91.2% of statements [2022-06-20T19:17:18.513Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2022-06-20T19:17:21.930Z] --- FAIL: TestErrorLoading1 (0.00s) [2022-06-20T19:17:21.930Z] panic: runtime error: invalid memory address or nil pointer dereference [recovered] [2022-06-20T19:17:21.930Z] panic: runtime error: invalid memory address or nil pointer dereference [2022-06-20T19:17:21.930Z] [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x48f17c] [2022-06-20T19:17:21.930Z] [2022-06-20T19:17:21.930Z] goroutine 51 [running]: [2022-06-20T19:17:21.930Z] testing.tRunner.func1.2({0xbd7f00, 0x113dca0}) [2022-06-20T19:17:21.930Z] /usr/local/go/src/testing/testing.go:1209 +0x348 [2022-06-20T19:17:21.930Z] testing.tRunner.func1(0xc000408680) [2022-06-20T19:17:21.930Z] /usr/local/go/src/testing/testing.go:1212 +0x2ec [2022-06-20T19:17:21.930Z] panic({0xbd7f00, 0x113dca0}) [2022-06-20T19:17:21.930Z] /usr/local/go/src/runtime/panic.go:1052 +0x2b4 [2022-06-20T19:17:21.930Z] sync.(*Mutex).Lock(0x0) [2022-06-20T19:17:21.930Z] /usr/local/go/src/sync/mutex.go:74 +0x2c [2022-06-20T19:17:21.930Z] github.com/stretchr/testify/mock.(*Mock).AssertExpectations(0xc00036a2d0, {0xd81668, 0xc000408680}) [2022-06-20T19:17:21.930Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.3/mock/mock.go:511 +0x94 [2022-06-20T19:17:21.930Z] github.com/edgexfoundry/edgex-go/internal/security/fileprovider.TestErrorLoading1(0xc000408680) [2022-06-20T19:17:21.930Z] /w/workspace/edgex-go/1/internal/security/fileprovider/provider_test.go:335 +0x4a4 [2022-06-20T19:17:21.930Z] testing.tRunner(0xc000408680, 0xcb0e78) [2022-06-20T19:17:21.930Z] /usr/local/go/src/testing/testing.go:1259 +0x19c [2022-06-20T19:17:21.930Z] created by testing.(*T).Run [2022-06-20T19:17:21.930Z] /usr/local/go/src/testing/testing.go:1306 +0x5c4 [2022-06-20T19:17:21.930Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.780s [2022-06-20T19:17:21.930Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2022-06-20T19:17:21.930Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2022-06-20T19:17:21.930Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.368s coverage: 100.0% of statements [2022-06-20T19:17:21.930Z] --- FAIL: TestFailedStat (0.00s) [2022-06-20T19:17:21.930Z] panic: runtime error: invalid memory address or nil pointer dereference [recovered] [2022-06-20T19:17:21.930Z] panic: runtime error: invalid memory address or nil pointer dereference [2022-06-20T19:17:21.930Z] [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xb2afc] [2022-06-20T19:17:21.930Z] [2022-06-20T19:17:21.930Z] goroutine 8 [running]: [2022-06-20T19:17:21.930Z] testing.tRunner.func1.2({0x25f400, 0x4357d0}) [2022-06-20T19:17:21.930Z] /usr/local/go/src/testing/testing.go:1209 +0x348 [2022-06-20T19:17:21.930Z] testing.tRunner.func1(0xc00008b860) [2022-06-20T19:17:21.930Z] /usr/local/go/src/testing/testing.go:1212 +0x2ec [2022-06-20T19:17:21.930Z] panic({0x25f400, 0x4357d0}) [2022-06-20T19:17:21.930Z] /usr/local/go/src/runtime/panic.go:1052 +0x2b4 [2022-06-20T19:17:21.930Z] sync.(*Mutex).Lock(0x0) [2022-06-20T19:17:21.930Z] /usr/local/go/src/sync/mutex.go:74 +0x2c [2022-06-20T19:17:21.930Z] github.com/stretchr/testify/mock.(*Mock).AssertExpectations(0xc00006e8c0, {0x2e41a0, 0xc00008b860}) [2022-06-20T19:17:21.930Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.3/mock/mock.go:511 +0x94 [2022-06-20T19:17:21.930Z] github.com/edgexfoundry/edgex-go/internal/security/kdf.TestFailedStat(0xc00008b860) [2022-06-20T19:17:21.930Z] /w/workspace/edgex-go/1/internal/security/kdf/methods_test.go:88 +0x324 [2022-06-20T19:17:21.930Z] testing.tRunner(0xc00008b860, 0x2a43f8) [2022-06-20T19:17:21.930Z] /usr/local/go/src/testing/testing.go:1259 +0x19c [2022-06-20T19:17:21.930Z] created by testing.(*T).Run [2022-06-20T19:17:21.930Z] /usr/local/go/src/testing/testing.go:1306 +0x5c4 [2022-06-20T19:17:21.930Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/kdf 0.056s [2022-06-20T19:17:21.931Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.054s coverage: 100.0% of statements [2022-06-20T19:17:21.931Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.074s coverage: 73.7% of statements [2022-06-20T19:17:21.931Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.072s coverage: 100.0% of statements [2022-06-20T19:17:30.271Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.424s coverage: 65.4% of statements [2022-06-20T19:17:30.271Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2022-06-20T19:17:30.271Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2022-06-20T19:17:30.271Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2022-06-20T19:17:32.914Z] --- FAIL: TestPasswordConfigNotInitialized (0.00s) [2022-06-20T19:17:32.914Z] panic: runtime error: invalid memory address or nil pointer dereference [recovered] [2022-06-20T19:17:32.914Z] panic: runtime error: invalid memory address or nil pointer dereference [2022-06-20T19:17:32.914Z] [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x48f54c] [2022-06-20T19:17:32.914Z] [2022-06-20T19:17:32.914Z] goroutine 73 [running]: [2022-06-20T19:17:32.914Z] testing.tRunner.func1.2({0xd17f40, 0x1342dd0}) [2022-06-20T19:17:32.914Z] /usr/local/go/src/testing/testing.go:1209 +0x348 [2022-06-20T19:17:32.914Z] testing.tRunner.func1(0xc00052b6c0) [2022-06-20T19:17:32.914Z] /usr/local/go/src/testing/testing.go:1212 +0x2ec [2022-06-20T19:17:32.914Z] panic({0xd17f40, 0x1342dd0}) [2022-06-20T19:17:32.914Z] /usr/local/go/src/runtime/panic.go:1052 +0x2b4 [2022-06-20T19:17:32.914Z] sync.(*Mutex).Lock(0x0) [2022-06-20T19:17:32.914Z] /usr/local/go/src/sync/mutex.go:74 +0x2c [2022-06-20T19:17:32.914Z] github.com/stretchr/testify/mock.(*Mock).AssertExpectations(0xc0003e2410, {0xf036e8, 0xc00052b6c0}) [2022-06-20T19:17:32.914Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.3/mock/mock.go:511 +0x94 [2022-06-20T19:17:32.914Z] github.com/edgexfoundry/edgex-go/internal/security/secretstore.TestPasswordConfigNotInitialized(0xc00052b6c0) [2022-06-20T19:17:32.914Z] /w/workspace/edgex-go/1/internal/security/secretstore/passwordprovider_test.go:46 +0x1c8 [2022-06-20T19:17:32.914Z] testing.tRunner(0xc00052b6c0, 0xe0ffd0) [2022-06-20T19:17:32.914Z] /usr/local/go/src/testing/testing.go:1259 +0x19c [2022-06-20T19:17:32.914Z] created by testing.(*T).Run [2022-06-20T19:17:32.914Z] /usr/local/go/src/testing/testing.go:1306 +0x5c4 [2022-06-20T19:17:32.914Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.661s [2022-06-20T19:17:32.914Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2022-06-20T19:17:32.914Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2022-06-20T19:17:32.914Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.247s coverage: 89.5% of statements [2022-06-20T19:17:32.914Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2022-06-20T19:17:32.914Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.236s coverage: 84.8% of statements [2022-06-20T19:17:32.914Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] [2022-06-20T19:17:32.915Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] [2022-06-20T19:17:32.915Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] [2022-06-20T19:17:32.915Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] [2022-06-20T19:17:41.234Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.354s coverage: 17.7% of statements [2022-06-20T19:17:41.234Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2022-06-20T19:17:41.234Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2022-06-20T19:17:41.234Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2022-06-20T19:17:41.234Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2022-06-20T19:17:41.234Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.746s coverage: 92.3% of statements [2022-06-20T19:17:41.234Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2022-06-20T19:17:41.234Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2022-06-20T19:17:41.234Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] [2022-06-20T19:17:41.234Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2022-06-20T19:17:41.234Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.266s coverage: 63.2% of statements [2022-06-20T19:17:41.234Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2022-06-20T19:17:41.234Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2022-06-20T19:17:41.506Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.404s coverage: 97.7% of statements [2022-06-20T19:17:41.506Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2022-06-20T19:17:41.506Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2022-06-20T19:17:41.506Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2022-06-20T19:17:41.506Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] [2022-06-20T19:17:41.506Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.208s coverage: 28.9% of statements [2022-06-20T19:17:41.506Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] [2022-06-20T19:17:41.506Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] [2022-06-20T19:17:41.506Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2022-06-20T19:17:41.506Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2022-06-20T19:17:41.506Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] [2022-06-20T19:17:41.506Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2022-06-20T19:17:41.506Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.222s coverage: 100.0% of statements [2022-06-20T19:17:41.506Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.082s coverage: 96.9% of statements [2022-06-20T19:17:41.506Z] FAIL [2022-06-20T19:17:42.481Z] make: *** [Makefile:132: unittest] Error 1 [Pipeline] } [2022-06-20T19:17:42.522Z] $ docker stop --time=1 06b5de49065f83715a08a27d0e0dc5ecfcdefb73b6b658473286144346b112e3 [2022-06-20T19:17:44.352Z] $ docker rm -f 06b5de49065f83715a08a27d0e0dc5ecfcdefb73b6b658473286144346b112e3 [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 [2022-06-20T19:17:46.116Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-20T19:17:46.116Z] [2022-06-20T19:17:46.116Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T19:17:46.520Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-20T19:17:46.797Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-20T19:17:46.797Z] 8998bd30e6a1: Pulling fs layer [2022-06-20T19:17:46.797Z] 04944245beec: Pulling fs layer [2022-06-20T19:17:46.797Z] 699f458cf7ca: Pulling fs layer [2022-06-20T19:17:46.797Z] 765212b225bb: Pulling fs layer [2022-06-20T19:17:46.797Z] f23df028b6ca: Pulling fs layer [2022-06-20T19:17:46.797Z] d65c8cfc05b1: Pulling fs layer [2022-06-20T19:17:46.797Z] 2437ff75d9bd: Pulling fs layer [2022-06-20T19:17:46.797Z] 765212b225bb: Waiting [2022-06-20T19:17:46.797Z] f23df028b6ca: Waiting [2022-06-20T19:17:46.797Z] d65c8cfc05b1: Waiting [2022-06-20T19:17:46.797Z] 2437ff75d9bd: Waiting [2022-06-20T19:17:46.797Z] 04944245beec: Verifying Checksum [2022-06-20T19:17:46.797Z] 04944245beec: Download complete [2022-06-20T19:17:46.797Z] 765212b225bb: Verifying Checksum [2022-06-20T19:17:46.797Z] 765212b225bb: Download complete [2022-06-20T19:17:46.797Z] f23df028b6ca: Download complete [2022-06-20T19:17:47.078Z] d65c8cfc05b1: Verifying Checksum [2022-06-20T19:17:47.078Z] d65c8cfc05b1: Download complete [2022-06-20T19:17:47.078Z] 699f458cf7ca: Verifying Checksum [2022-06-20T19:17:47.078Z] 699f458cf7ca: Download complete [2022-06-20T19:17:47.352Z] 8998bd30e6a1: Verifying Checksum [2022-06-20T19:17:47.352Z] 8998bd30e6a1: Download complete [2022-06-20T19:17:49.978Z] 2437ff75d9bd: Verifying Checksum [2022-06-20T19:17:49.978Z] 2437ff75d9bd: Download complete [2022-06-20T19:17:51.956Z] 8998bd30e6a1: Pull complete [2022-06-20T19:17:52.230Z] 04944245beec: Pull complete [2022-06-20T19:17:53.668Z] 699f458cf7ca: Pull complete [2022-06-20T19:17:53.943Z] 765212b225bb: Pull complete [2022-06-20T19:17:54.933Z] f23df028b6ca: Pull complete [2022-06-20T19:17:54.933Z] d65c8cfc05b1: Pull complete [2022-06-20T19:18:10.020Z] 2437ff75d9bd: Pull complete [2022-06-20T19:18:10.020Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-20T19:18:10.020Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-20T19:18:10.020Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T19:18:10.532Z] prd-ubuntu20.04-docker-arm64-4c-16g-15177 does not seem to be running inside a container [2022-06-20T19:18:10.617Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-20T19:18:13.039Z] $ docker top 8968968f72f64f691efe421c7e15aab65e9abb3ee59a6cc261889ccadccdff03 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-20T19:18:14.055Z] ---> job-cost.sh [2022-06-20T19:18:14.055Z] lf-activate-venv: SKIPPING [2022-06-20T19:18:14.055Z] INFO: No Stack... [2022-06-20T19:18:14.327Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-20T19:18:15.305Z] INFO: Archiving Costs [Pipeline] sh [2022-06-20T19:18:15.985Z] + cat /w/workspace/edgex-go/1/archives/cost.csv [2022-06-20T19:18:15.985Z] + cut -d, -f6 [Pipeline] lock [2022-06-20T19:18:16.108Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4056-1-stack-cost] [2022-06-20T19:18:16.113Z] Resource [jenkins-edgexfoundry-edgex-go-PR-4056-1-stack-cost] did not exist. Created. [2022-06-20T19:18:16.113Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4056-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-20T19:18:16.914Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-20T19:18:17.604Z] Stashed 1 file(s) [Pipeline] } [2022-06-20T19:18:17.622Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4056-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-20T19:18:17.698Z] $ docker stop --time=1 8968968f72f64f691efe421c7e15aab65e9abb3ee59a6cc261889ccadccdff03 [2022-06-20T19:18:19.163Z] $ docker rm -f 8968968f72f64f691efe421c7e15aab65e9abb3ee59a6cc261889ccadccdff03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-20T19:18:19.868Z] 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 [2022-06-20T19:18:21.304Z] + [ -d /w/workspace/edgex-go/1/archives ] [Pipeline] libraryResource [Pipeline] sh [2022-06-20T19:18:21.634Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T19:18:22.529Z] ---> package-listing.sh [2022-06-20T19:18:22.529Z] ++ facter osfamily [2022-06-20T19:18:22.529Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-20T19:18:22.789Z] + OS_FAMILY=debian [2022-06-20T19:18:22.789Z] + workspace=/w/workspace/edgex-go/1 [2022-06-20T19:18:22.789Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-20T19:18:22.789Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-20T19:18:22.789Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-20T19:18:22.789Z] + PACKAGES=/tmp/packages_start.txt [2022-06-20T19:18:22.789Z] + '[' /w/workspace/edgex-go/1 ']' [2022-06-20T19:18:22.789Z] + PACKAGES=/tmp/packages_end.txt [2022-06-20T19:18:22.789Z] + case "${OS_FAMILY}" in [2022-06-20T19:18:22.789Z] + dpkg -l [2022-06-20T19:18:22.789Z] + grep '^ii' [2022-06-20T19:18:22.789Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-20T19:18:22.789Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-20T19:18:22.789Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-20T19:18:22.789Z] + '[' /w/workspace/edgex-go/1 ']' [2022-06-20T19:18:22.789Z] + mkdir -p /w/workspace/edgex-go/1/archives/ [2022-06-20T19:18:22.789Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo [2022-06-20T19:18:22.825Z] 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 [2022-06-20T19:18:23.116Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T19:18:23.496Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-20T19:18:23.496Z] [2022-06-20T19:18:23.496Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T19:18:23.875Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-20T19:18:23.875Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-20T19:18:23.875Z] 5eb5b503b376: Pulling fs layer [2022-06-20T19:18:23.875Z] 5c69ac0246d0: Pulling fs layer [2022-06-20T19:18:23.875Z] ec43610c2a17: Pulling fs layer [2022-06-20T19:18:23.875Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-20T19:18:23.875Z] 33b1e0a273af: Pulling fs layer [2022-06-20T19:18:23.875Z] 5d3b04190fa2: Pulling fs layer [2022-06-20T19:18:23.875Z] 2f39f015ded8: Pulling fs layer [2022-06-20T19:18:23.875Z] 33b1e0a273af: Waiting [2022-06-20T19:18:23.875Z] 5d3b04190fa2: Waiting [2022-06-20T19:18:23.875Z] 2f39f015ded8: Waiting [2022-06-20T19:18:23.875Z] 3a2ae6a8a46f: Waiting [2022-06-20T19:18:23.875Z] 5c69ac0246d0: Verifying Checksum [2022-06-20T19:18:23.875Z] 5c69ac0246d0: Download complete [2022-06-20T19:18:23.875Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-20T19:18:23.875Z] 3a2ae6a8a46f: Download complete [2022-06-20T19:18:24.137Z] 33b1e0a273af: Verifying Checksum [2022-06-20T19:18:24.137Z] 33b1e0a273af: Download complete [2022-06-20T19:18:24.137Z] 5d3b04190fa2: Verifying Checksum [2022-06-20T19:18:24.137Z] 5d3b04190fa2: Download complete [2022-06-20T19:18:24.137Z] ec43610c2a17: Verifying Checksum [2022-06-20T19:18:24.137Z] ec43610c2a17: Download complete [2022-06-20T19:18:24.137Z] 5eb5b503b376: Verifying Checksum [2022-06-20T19:18:24.137Z] 5eb5b503b376: Download complete [2022-06-20T19:18:24.709Z] 2f39f015ded8: Download complete [2022-06-20T19:18:25.647Z] 5eb5b503b376: Pull complete [2022-06-20T19:18:25.647Z] 5c69ac0246d0: Pull complete [2022-06-20T19:18:25.907Z] ec43610c2a17: Pull complete [2022-06-20T19:18:26.167Z] 3a2ae6a8a46f: Pull complete [2022-06-20T19:18:26.167Z] 33b1e0a273af: Pull complete [2022-06-20T19:18:26.427Z] 5d3b04190fa2: Pull complete [2022-06-20T19:18:30.621Z] 2f39f015ded8: Pull complete [2022-06-20T19:18:30.621Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-20T19:18:30.621Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-20T19:18:30.621Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T19:18:30.832Z] prd-ubuntu20.04-docker-8c-8g-15176 does not seem to be running inside a container [2022-06-20T19:18:30.878Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-20T19:18:32.486Z] $ docker top 4feae35b164f17c3d0af444637667bdb797c224192f83428ef05dfe824fc4662 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-20T19:18:32.878Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-20T19:18:33.188Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-20T19:18:33.512Z] + ls /var/log/sa-host [2022-06-20T19:18:33.513Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-20T19:18:33.731Z] provisioning config files... [2022-06-20T19:18:33.743Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config9175048745836163361tmp [Pipeline] { [Pipeline] echo [2022-06-20T19:18:33.785Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T19:18:34.102Z] ---> create-netrc.sh [Pipeline] } [2022-06-20T19:18:34.138Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-20T19:18:34.554Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-20T19:18:34.583Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T19:18:34.891Z] ---> sudo-logs.sh [2022-06-20T19:18:34.891Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-20T19:18:35.030Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T19:18:35.388Z] ---> job-cost.sh [2022-06-20T19:18:35.388Z] lf-activate-venv: SKIPPING [2022-06-20T19:18:35.388Z] DEBUG: total: 0.10999999940395355 [2022-06-20T19:18:35.388Z] INFO: Retrieving Stack Cost... [2022-06-20T19:18:35.647Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-20T19:18:36.218Z] INFO: Archiving Costs [Pipeline] echo [2022-06-20T19:18:36.253Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T19:18:36.569Z] ---> logs-deploy.sh [2022-06-20T19:18:36.569Z] lf-activate-venv: SKIPPING [2022-06-20T19:18:36.569Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4056/1 [2022-06-20T19:18:36.569Z] INFO: archiving workspace using pattern(s): [2022-06-20T19:18:37.508Z] Archives upload complete. [2022-06-20T19:18:37.508Z] INFO: archiving logs to Nexus