Pull request #4288 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b89b575e9bdbd509186d6f067cb28fb13e9111ef+81801e3d83727a95447f456a5df1a63b0188c95d (9b447de5e8004d08f969c2defb4d18686214362b) 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-ssh2953321034288041461.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17866790225771583274.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4288/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4288/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8393889860801763867.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1692564390170982988.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4288/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4288/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8010793434622904616.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2], buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: DOCKER_IMAGE_NAME_SUFFIX: DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2790 in /w/workspace/edgexfoundry_edgex-go_PR-4288 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/2 [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/2 # 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/4288/head:refs/remotes/origin/PR-4288 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 81801e3d83727a95447f456a5df1a63b0188c95d into PR head commit b89b575e9bdbd509186d6f067cb28fb13e9111ef Merge succeeded, producing b89b575e9bdbd509186d6f067cb28fb13e9111ef Checking out Revision b89b575e9bdbd509186d6f067cb28fb13e9111ef (PR-4288) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-17T20:23:47.962Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-17T20:23:48.023Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-17T20:23:48.040Z] ========================================================= [2023-01-17T20:23:48.040Z] EdgeX Global Pipelines Version Info [2023-01-17T20:23:48.040Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f b89b575e9bdbd509186d6f067cb28fb13e9111ef # 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 81801e3d83727a95447f456a5df1a63b0188c95d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b89b575e9bdbd509186d6f067cb28fb13e9111ef # timeout=10 > git rev-list --no-walk 63c6c579a056e82bb065b18f0b1fca090102e591 # timeout=10 [2023-01-17T20:23:48.753Z] ------------------- [2023-01-17T20:23:48.753Z] stable info: [2023-01-17T20:23:48.753Z] ------------------- [2023-01-17T20:23:48.753Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-17T20:23:48.753Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-17T20:23:48.753Z] Message: update stable to v1.0.244 [2023-01-17T20:23:49.321Z] ------------------- [2023-01-17T20:23:49.321Z] experimental info: [2023-01-17T20:23:49.321Z] ------------------- [2023-01-17T20:23:49.322Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-17T20:23:49.322Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-17T20:23:49.322Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-17T20:23:49.502Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2023-01-17T20:23:49.514Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2023-01-17T20:23:49.526Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-17T20:23:49.544Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-17T20:23:49.560Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-17T20:23:49.570Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-17T20:23:49.581Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-17T20:23:49.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2023-01-17T20:23:49.607Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2023-01-17T20:23:49.624Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2023-01-17T20:23:49.636Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-17T20:23:49.647Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-17T20:23:49.659Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-17T20:23:49.668Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-17T20:23:49.676Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-17T20:23:49.685Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-17T20:23:49.703Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-17T20:23:49.715Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-17T20:23:49.725Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-17T20:23:49.736Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-01-17T20:23:49.748Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-17T20:23:49.761Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-17T20:23:49.775Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-17T20:23:49.786Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4288 [Pipeline] echo [2023-01-17T20:23:49.800Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4288 [Pipeline] echo [2023-01-17T20:23:49.814Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4288 [Pipeline] echo [2023-01-17T20:23:49.828Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b89b575e9bdbd509186d6f067cb28fb13e9111ef [Pipeline] echo [2023-01-17T20:23:49.838Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b89b575 [Pipeline] echo [2023-01-17T20:23:49.852Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-17T20:23:49.902Z] provisioning config files... [2023-01-17T20:23:49.915Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config11480009784709429477tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T20:23:50.218Z] ---> docker-login.sh [2023-01-17T20:23:50.218Z] nexus3.edgexfoundry.org:10001 [2023-01-17T20:23:51.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T20:23:51.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T20:23:51.422Z] Configure a credential helper to remove this warning. See [2023-01-17T20:23:51.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T20:23:51.422Z] [2023-01-17T20:23:51.422Z] Login Succeeded [2023-01-17T20:23:51.422Z] nexus3.edgexfoundry.org:10002 [2023-01-17T20:23:51.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T20:23:51.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T20:23:51.422Z] Configure a credential helper to remove this warning. See [2023-01-17T20:23:51.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T20:23:51.422Z] [2023-01-17T20:23:51.422Z] Login Succeeded [2023-01-17T20:23:51.423Z] nexus3.edgexfoundry.org:10003 [2023-01-17T20:23:51.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T20:23:51.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T20:23:51.683Z] Configure a credential helper to remove this warning. See [2023-01-17T20:23:51.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T20:23:51.683Z] [2023-01-17T20:23:51.683Z] Login Succeeded [2023-01-17T20:23:51.683Z] nexus3.edgexfoundry.org:10004 [2023-01-17T20:23:51.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T20:23:51.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T20:23:51.683Z] Configure a credential helper to remove this warning. See [2023-01-17T20:23:51.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T20:23:51.683Z] [2023-01-17T20:23:51.683Z] Login Succeeded [2023-01-17T20:23:51.683Z] docker.io [2023-01-17T20:23:51.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T20:23:51.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T20:23:51.943Z] Configure a credential helper to remove this warning. See [2023-01-17T20:23:51.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T20:23:51.943Z] [2023-01-17T20:23:51.943Z] Login Succeeded [2023-01-17T20:23:51.943Z] ---> docker-login.sh ends [Pipeline] } [2023-01-17T20:23:51.951Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-17T20:23:52.263Z] + 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 [2023-01-17T20:23:52.264Z] + dirname cmd/core-command/Dockerfile [2023-01-17T20:23:52.264Z] + cut -d/ -f2 [2023-01-17T20:23:52.264Z] + echo core-command,cmd/core-command/Dockerfile [2023-01-17T20:23:52.264Z] + + cut -d/ -f2 [2023-01-17T20:23:52.264Z] dirname cmd/core-data/Dockerfile [2023-01-17T20:23:52.264Z] + echo core-data,cmd/core-data/Dockerfile [2023-01-17T20:23:52.264Z] + dirname cmd/core-metadata/Dockerfile [2023-01-17T20:23:52.264Z] + cut -d/ -f2 [2023-01-17T20:23:52.264Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2023-01-17T20:23:52.264Z] + dirname cmd/security-bootstrapper/Dockerfile [2023-01-17T20:23:52.264Z] + cut -d/ -f2 [2023-01-17T20:23:52.264Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2023-01-17T20:23:52.264Z] + dirname cmd/security-proxy-setup/Dockerfile [2023-01-17T20:23:52.264Z] + cut -d/ -f2 [2023-01-17T20:23:52.264Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2023-01-17T20:23:52.264Z] + + cut -d/ -f2 [2023-01-17T20:23:52.264Z] dirname cmd/security-secretstore-setup/Dockerfile [2023-01-17T20:23:52.264Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2023-01-17T20:23:52.264Z] + dirname cmd/security-spiffe-token-provider/Dockerfile [2023-01-17T20:23:52.264Z] + cut -d/ -f2 [2023-01-17T20:23:52.264Z] + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile [2023-01-17T20:23:52.264Z] + dirname cmd/security-spire-agent/Dockerfile [2023-01-17T20:23:52.264Z] + cut -d/ -f2 [2023-01-17T20:23:52.264Z] + echo security-spire-agent,cmd/security-spire-agent/Dockerfile [2023-01-17T20:23:52.264Z] + dirname cmd/security-spire-config/Dockerfile [2023-01-17T20:23:52.264Z] + cut -d/ -f2 [2023-01-17T20:23:52.264Z] + echo security-spire-config,cmd/security-spire-config/Dockerfile [2023-01-17T20:23:52.264Z] + dirname cmd/security-spire-server/Dockerfile [2023-01-17T20:23:52.264Z] + cut -d/ -f2 [2023-01-17T20:23:52.264Z] + echo security-spire-server,cmd/security-spire-server/Dockerfile [2023-01-17T20:23:52.264Z] + dirname cmd/support-notifications/Dockerfile [2023-01-17T20:23:52.264Z] + cut -d/ -f2 [2023-01-17T20:23:52.264Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2023-01-17T20:23:52.264Z] + dirname cmd/support-scheduler/Dockerfile [2023-01-17T20:23:52.264Z] + cut -d/ -f2 [2023-01-17T20:23:52.264Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo [2023-01-17T20:23:52.321Z] 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]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-17T20:23:52.670Z] + git rev-list -1 --merges b89b575e9bdbd509186d6f067cb28fb13e9111ef~1..b89b575e9bdbd509186d6f067cb28fb13e9111ef [Pipeline] echo [2023-01-17T20:23:52.687Z] -----------> git rev-list -1 --merges b89b575e9bdbd509186d6f067cb28fb13e9111ef~1..b89b575e9bdbd509186d6f067cb28fb13e9111ef b89b575e9bdbd509186d6f067cb28fb13e9111ef [false] [Pipeline] sh [2023-01-17T20:23:52.975Z] + git log --format=format:%s -1 b89b575e9bdbd509186d6f067cb28fb13e9111ef [Pipeline] echo [2023-01-17T20:23:52.990Z] ========================================================= [2023-01-17T20:23:52.990Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-17T20:23:52.990Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-01-17T20:23:53.379Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-17T20:23:53.379Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-17T20:23:53.379Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-17T20:23:53.379Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-17T20:23:53.379Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-17T20:23:53.379Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-17T20:23:53.379Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T20:23:53.738Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T20:23:53.738Z] [2023-01-17T20:23:53.738Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T20:23:54.038Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T20:23:54.038Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-17T20:23:54.038Z] b85a868b505f: Pulling fs layer [2023-01-17T20:23:54.038Z] e2be974225ed: Pulling fs layer [2023-01-17T20:23:54.038Z] 339a4e72a1f5: Pulling fs layer [2023-01-17T20:23:54.038Z] 988bab9f4d93: Pulling fs layer [2023-01-17T20:23:54.038Z] 1469e6f7b9e6: Pulling fs layer [2023-01-17T20:23:54.038Z] eaf3925da568: Pulling fs layer [2023-01-17T20:23:54.038Z] bab4dde63d76: Pulling fs layer [2023-01-17T20:23:54.038Z] bde34c3a00c8: Pulling fs layer [2023-01-17T20:23:54.038Z] b352a97aabf1: Pulling fs layer [2023-01-17T20:23:54.038Z] 4872d77fe225: Pulling fs layer [2023-01-17T20:23:54.038Z] 5851b861e8e6: Pulling fs layer [2023-01-17T20:23:54.038Z] 988bab9f4d93: Waiting [2023-01-17T20:23:54.038Z] bab4dde63d76: Waiting [2023-01-17T20:23:54.038Z] b352a97aabf1: Waiting [2023-01-17T20:23:54.038Z] 1469e6f7b9e6: Waiting [2023-01-17T20:23:54.038Z] 4872d77fe225: Waiting [2023-01-17T20:23:54.038Z] 5851b861e8e6: Waiting [2023-01-17T20:23:54.038Z] eaf3925da568: Waiting [2023-01-17T20:23:54.038Z] bde34c3a00c8: Waiting [2023-01-17T20:23:54.038Z] e2be974225ed: Verifying Checksum [2023-01-17T20:23:54.038Z] e2be974225ed: Download complete [2023-01-17T20:23:54.038Z] 988bab9f4d93: Verifying Checksum [2023-01-17T20:23:54.038Z] 988bab9f4d93: Download complete [2023-01-17T20:23:54.307Z] 1469e6f7b9e6: Verifying Checksum [2023-01-17T20:23:54.307Z] 1469e6f7b9e6: Download complete [2023-01-17T20:23:54.307Z] 339a4e72a1f5: Verifying Checksum [2023-01-17T20:23:54.307Z] 339a4e72a1f5: Download complete [2023-01-17T20:23:54.307Z] bde34c3a00c8: Verifying Checksum [2023-01-17T20:23:54.307Z] bde34c3a00c8: Download complete [2023-01-17T20:23:54.574Z] b352a97aabf1: Verifying Checksum [2023-01-17T20:23:54.574Z] b352a97aabf1: Download complete [2023-01-17T20:23:54.574Z] 4872d77fe225: Verifying Checksum [2023-01-17T20:23:54.574Z] 4872d77fe225: Download complete [2023-01-17T20:23:54.574Z] 5851b861e8e6: Verifying Checksum [2023-01-17T20:23:54.574Z] 5851b861e8e6: Download complete [2023-01-17T20:23:54.574Z] b85a868b505f: Download complete [2023-01-17T20:23:54.837Z] bab4dde63d76: Verifying Checksum [2023-01-17T20:23:54.837Z] bab4dde63d76: Download complete [2023-01-17T20:23:55.780Z] b85a868b505f: Pull complete [2023-01-17T20:23:56.039Z] e2be974225ed: Pull complete [2023-01-17T20:23:56.605Z] 339a4e72a1f5: Pull complete [2023-01-17T20:23:56.605Z] 988bab9f4d93: Pull complete [2023-01-17T20:23:56.864Z] 1469e6f7b9e6: Pull complete [2023-01-17T20:23:56.864Z] eaf3925da568: Pull complete [2023-01-17T20:23:58.764Z] bab4dde63d76: Pull complete [2023-01-17T20:23:58.764Z] bde34c3a00c8: Pull complete [2023-01-17T20:23:59.023Z] b352a97aabf1: Pull complete [2023-01-17T20:23:59.023Z] 4872d77fe225: Pull complete [2023-01-17T20:23:59.023Z] 5851b861e8e6: Pull complete [2023-01-17T20:23:59.283Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-17T20:23:59.283Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T20:23:59.283Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T20:23:59.375Z] prd-ubuntu20.04-docker-8c-8g-2790 does not seem to be running inside a container [2023-01-17T20:23:59.410Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-17T20:24:00.644Z] $ docker top 754045a6767e9aa567a712a876b3459247e7b5c7c4fd0d8f553aec281fde60a9 -eo pid,comm [2023-01-17T20:24:00.702Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-17T20:24:00.702Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-17T20:24:00.732Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-17T20:24:00.732Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-17T20:24:00.864Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-17T20:24:00.871Z] $ docker exec 754045a6767e9aa567a712a876b3459247e7b5c7c4fd0d8f553aec281fde60a9 ssh-agent [2023-01-17T20:24:00.988Z] SSH_AUTH_SOCK=/tmp/ssh-2b65LmuKhvzG/agent.31 [2023-01-17T20:24:00.988Z] SSH_AGENT_PID=37 [2023-01-17T20:24:00.995Z] Running ssh-add (command line suppressed) [2023-01-17T20:24:01.106Z] Identity added: /w/workspace/edgex-go/2@tmp/private_key_16605520365955902536.key (/w/workspace/edgex-go/2@tmp/private_key_16605520365955902536.key) [2023-01-17T20:24:01.117Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-17T20:24:01.404Z] + git tag --points-at HEAD [Pipeline] } [2023-01-17T20:24:01.418Z] $ docker exec --env ******** --env ******** 754045a6767e9aa567a712a876b3459247e7b5c7c4fd0d8f553aec281fde60a9 ssh-agent -k [2023-01-17T20:24:01.525Z] unset SSH_AUTH_SOCK; [2023-01-17T20:24:01.526Z] unset SSH_AGENT_PID; [2023-01-17T20:24:01.526Z] echo Agent pid 37 killed; [2023-01-17T20:24:01.538Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-17T20:24:01.558Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-17T20:24:01.558Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-17T20:24:01.671Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-17T20:24:01.677Z] $ docker exec 754045a6767e9aa567a712a876b3459247e7b5c7c4fd0d8f553aec281fde60a9 ssh-agent [2023-01-17T20:24:01.781Z] SSH_AUTH_SOCK=/tmp/ssh-nCfrUvmVnB22/agent.70 [2023-01-17T20:24:01.781Z] SSH_AGENT_PID=76 [2023-01-17T20:24:01.786Z] Running ssh-add (command line suppressed) [2023-01-17T20:24:01.905Z] Identity added: /w/workspace/edgex-go/2@tmp/private_key_8250466403344087323.key (/w/workspace/edgex-go/2@tmp/private_key_8250466403344087323.key) [2023-01-17T20:24:01.916Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-17T20:24:02.201Z] + git semver init [2023-01-17T20:24:02.460Z] 2023-01-17 20:24:02,405 [run_init] DEBUG init version:0.0.0 force:False [2023-01-17T20:24:02.460Z] 2023-01-17 20:24:02,405 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/2/.semver [2023-01-17T20:24:02.460Z] 2023-01-17 20:24:02,406 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/2/.semver [2023-01-17T20:24:02.460Z] 2023-01-17 20:24:02,406 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/edgex-go.git', '/w/workspace/edgex-go/2/.semver'], cwd=/w/workspace/edgex-go/2, universal_newlines=False, shell=None, istream=None) [2023-01-17T20:24:07.757Z] 2023-01-17 20:24:07,069 [append_file] DEBUG append to file:/w/workspace/edgex-go/2/.git/info/exclude [2023-01-17T20:24:07.757Z] 2023-01-17 20:24:07,070 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/2/.semver/PR-4288 with force:False [2023-01-17T20:24:07.757Z] 2023-01-17 20:24:07,070 [write_file] DEBUG write to file:/w/workspace/edgex-go/2/.semver/PR-4288 [2023-01-17T20:24:07.757Z] 2023-01-17 20:24:07,074 [execute] INFO git cat-file --batch-check [2023-01-17T20:24:07.757Z] 2023-01-17 20:24:07,075 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/2/.semver, universal_newlines=False, shell=None, istream=) [2023-01-17T20:24:07.758Z] 2023-01-17 20:24:07,081 [execute] INFO git cat-file --batch [2023-01-17T20:24:07.758Z] 2023-01-17 20:24:07,082 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/2/.semver, universal_newlines=False, shell=None, istream=) [2023-01-17T20:24:07.758Z] 2023-01-17 20:24:07,087 [read_version] DEBUG read version from /w/workspace/edgex-go/2/.semver/PR-4288 [2023-01-17T20:24:07.758Z] 0.0.0 [Pipeline] } [2023-01-17T20:24:07.771Z] $ docker exec --env ******** --env ******** 754045a6767e9aa567a712a876b3459247e7b5c7c4fd0d8f553aec281fde60a9 ssh-agent -k [2023-01-17T20:24:07.875Z] unset SSH_AUTH_SOCK; [2023-01-17T20:24:07.875Z] unset SSH_AGENT_PID; [2023-01-17T20:24:07.875Z] echo Agent pid 76 killed; [2023-01-17T20:24:07.881Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-17T20:24:08.184Z] + git semver [Pipeline] } [2023-01-17T20:24:08.459Z] $ docker stop --time=1 754045a6767e9aa567a712a876b3459247e7b5c7c4fd0d8f553aec281fde60a9 [2023-01-17T20:24:09.751Z] $ docker rm -f --volumes 754045a6767e9aa567a712a876b3459247e7b5c7c4fd0d8f553aec281fde60a9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-17T20:24:10.084Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-17T20:24:10.293Z] Stashed 1 file(s) [Pipeline] echo [2023-01-17T20:24:10.296Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-17T20:24:10.659Z] + git config --global --add safe.directory /w/workspace/edgex-go/2 [Pipeline] echo [2023-01-17T20:24:10.677Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T20:24:10.695Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T20:24:10.705Z] ========================================================= [2023-01-17T20:24:10.706Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-17T20:24:10.706Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2023-01-17T20:24:10.996Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-17T20:24:10.996Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-17T20:24:10.996Z] 213ec9aee27d: Pulling fs layer [2023-01-17T20:24:10.996Z] 4583459ba037: Pulling fs layer [2023-01-17T20:24:10.996Z] 93c1e223e6f2: Pulling fs layer [2023-01-17T20:24:10.996Z] 53926ce57604: Pulling fs layer [2023-01-17T20:24:10.996Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-17T20:24:10.996Z] 22ff95d597cd: Pulling fs layer [2023-01-17T20:24:10.996Z] 12d6caf4c0d1: Pulling fs layer [2023-01-17T20:24:10.996Z] 21b2b0c7a3f4: Waiting [2023-01-17T20:24:10.996Z] 96b7cbca73a9: Pulling fs layer [2023-01-17T20:24:10.996Z] a7acece74701: Pulling fs layer [2023-01-17T20:24:10.996Z] 12d6caf4c0d1: Waiting [2023-01-17T20:24:10.996Z] a7acece74701: Waiting [2023-01-17T20:24:10.996Z] 96b7cbca73a9: Waiting [2023-01-17T20:24:10.996Z] 22ff95d597cd: Waiting [2023-01-17T20:24:10.996Z] 93c1e223e6f2: Verifying Checksum [2023-01-17T20:24:10.996Z] 93c1e223e6f2: Download complete [2023-01-17T20:24:10.996Z] 4583459ba037: Verifying Checksum [2023-01-17T20:24:10.996Z] 4583459ba037: Download complete [2023-01-17T20:24:10.996Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-17T20:24:10.996Z] 21b2b0c7a3f4: Download complete [2023-01-17T20:24:10.996Z] 22ff95d597cd: Download complete [2023-01-17T20:24:10.996Z] 213ec9aee27d: Verifying Checksum [2023-01-17T20:24:10.996Z] 213ec9aee27d: Download complete [2023-01-17T20:24:11.265Z] 12d6caf4c0d1: Verifying Checksum [2023-01-17T20:24:11.265Z] 12d6caf4c0d1: Download complete [2023-01-17T20:24:11.265Z] 213ec9aee27d: Pull complete [2023-01-17T20:24:11.265Z] 4583459ba037: Pull complete [2023-01-17T20:24:11.542Z] 93c1e223e6f2: Pull complete [2023-01-17T20:24:12.559Z] 96b7cbca73a9: Verifying Checksum [2023-01-17T20:24:12.559Z] 96b7cbca73a9: Download complete [2023-01-17T20:24:12.559Z] a7acece74701: Verifying Checksum [2023-01-17T20:24:12.559Z] a7acece74701: Download complete [2023-01-17T20:24:12.817Z] 53926ce57604: Verifying Checksum [2023-01-17T20:24:12.817Z] 53926ce57604: Download complete [2023-01-17T20:24:17.003Z] 53926ce57604: Pull complete [2023-01-17T20:24:17.004Z] 21b2b0c7a3f4: Pull complete [2023-01-17T20:24:17.004Z] 22ff95d597cd: Pull complete [2023-01-17T20:24:17.262Z] 12d6caf4c0d1: Pull complete [2023-01-17T20:24:19.795Z] 96b7cbca73a9: Pull complete [2023-01-17T20:24:20.364Z] a7acece74701: Pull complete [2023-01-17T20:24:20.364Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-17T20:24:20.364Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-17T20:24:20.364Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] fileExists [Pipeline] sh [2023-01-17T20:24:20.671Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-17T20:24:20.671Z] WORKDIR /edgex [2023-01-17T20:24:20.671Z] COPY go.mod . [2023-01-17T20:24:20.671Z] RUN go mod download [2023-01-17T20:24:20.671Z] + docker build -t ci-base-image-x86_64 -f - . [2023-01-17T20:24:21.607Z] Sending build context to Docker daemon 170MB [2023-01-17T20:24:21.607Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-17T20:24:21.607Z] ---> db6d94c90886 [2023-01-17T20:24:21.607Z] Step 2/4 : WORKDIR /edgex [2023-01-17T20:24:22.984Z] ---> Running in 0225ca3faaec [2023-01-17T20:24:22.984Z] Removing intermediate container 0225ca3faaec [2023-01-17T20:24:22.984Z] ---> 8d2bd3e86d70 [2023-01-17T20:24:22.984Z] Step 3/4 : COPY go.mod . [2023-01-17T20:24:22.984Z] ---> 9c6ed86f3607 [2023-01-17T20:24:22.984Z] Step 4/4 : RUN go mod download [2023-01-17T20:24:23.243Z] ---> Running in e10d50c53062 [2023-01-17T20:24:25.354Z] Still waiting to schedule task [2023-01-17T20:24:25.354Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-17T20:24:35.488Z] Removing intermediate container e10d50c53062 [2023-01-17T20:24:35.488Z] ---> 74be94dab112 [2023-01-17T20:24:35.488Z] Successfully built 74be94dab112 [2023-01-17T20:24:35.488Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T20:24:35.784Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-17T20:24:35.784Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T20:24:35.851Z] prd-ubuntu20.04-docker-8c-8g-2790 does not seem to be running inside a container [2023-01-17T20:24:35.880Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-17T20:24:36.313Z] $ docker top 0f0cebab5ba3fefac2b842dd8e9020fd72b13617b23bbac8585374064f02631b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-17T20:24:36.654Z] + go version [2023-01-17T20:24:36.654Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-17T20:24:36.667Z] $ docker stop --time=1 0f0cebab5ba3fefac2b842dd8e9020fd72b13617b23bbac8585374064f02631b [2023-01-17T20:24:38.008Z] $ docker rm -f --volumes 0f0cebab5ba3fefac2b842dd8e9020fd72b13617b23bbac8585374064f02631b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T20:24:38.386Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-17T20:24:38.386Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T20:24:38.456Z] prd-ubuntu20.04-docker-8c-8g-2790 does not seem to be running inside a container [2023-01-17T20:24:38.487Z] $ 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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-17T20:24:38.847Z] $ docker top 94862cdb9ffbf941c74877c828573f16ba3d3563bdd3b8f9473744261c4a0ec3 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-01-17T20:24:38.922Z] ========================================================= [2023-01-17T20:24:38.922Z] [edgeXBuildGoParallel] Running Tests and Build... [2023-01-17T20:24:38.922Z] ========================================================= [Pipeline] sh [2023-01-17T20:24:39.198Z] + git config --global --add safe.directory /w/workspace/edgex-go/2 [Pipeline] fileExists [Pipeline] sh [2023-01-17T20:24:39.488Z] + make test [2023-01-17T20:24:39.488Z] go test -race -coverprofile=coverage.out ./... [2023-01-17T20:24:47.610Z] ? github.com/edgexfoundry/edgex-go [no test files] [2023-01-17T20:24:55.711Z] # github.com/edgexfoundry/edgex-go/internal/core/command/config [2023-01-17T20:24:55.711Z] internal/core/command/config/config.go:84:3: unknown field 'SecretStore' in struct literal of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".BootstrapConfiguration [2023-01-17T20:24:56.275Z] # github.com/edgexfoundry/edgex-go/internal/core/data/config [2023-01-17T20:24:56.275Z] internal/core/data/config/config.go:79:3: unknown field 'SecretStore' in struct literal of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".BootstrapConfiguration [2023-01-17T20:24:56.532Z] # github.com/edgexfoundry/edgex-go/internal/core/metadata/config [2023-01-17T20:24:56.532Z] internal/core/metadata/config/config.go:105:3: unknown field 'SecretStore' in struct literal of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".BootstrapConfiguration [2023-01-17T20:24:56.532Z] # github.com/edgexfoundry/edgex-go/internal/security/proxy/config [2023-01-17T20:24:56.532Z] internal/security/proxy/config/config.go:107:3: unknown field 'SecretStore' in struct literal of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".BootstrapConfiguration [2023-01-17T20:24:56.790Z] # github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [2023-01-17T20:24:56.790Z] internal/security/bootstrapper/mosquitto/config/config.go:65:3: unknown field 'SecretStore' in struct literal of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".BootstrapConfiguration [2023-01-17T20:24:56.790Z] # github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [2023-01-17T20:24:56.790Z] internal/security/bootstrapper/redis/config/config.go:66:3: unknown field 'SecretStore' in struct literal of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".BootstrapConfiguration [2023-01-17T20:24:57.048Z] # github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [2023-01-17T20:24:57.048Z] internal/security/spiffetokenprovider/config/config.go:87:3: unknown field 'SecretStore' in struct literal of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".BootstrapConfiguration [2023-01-17T20:24:57.048Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/config [2023-01-17T20:24:57.048Z] internal/support/notifications/config/config.go:108:3: unknown field 'SecretStore' in struct literal of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".BootstrapConfiguration [2023-01-17T20:24:57.048Z] # github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [2023-01-17T20:24:57.048Z] internal/support/scheduler/config/config.go:132:3: unknown field 'SecretStore' in struct literal of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".BootstrapConfiguration [2023-01-17T20:25:01.234Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/application [build failed] [2023-01-17T20:25:01.234Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/controller/http [build failed] [2023-01-17T20:25:01.234Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging [build failed] [2023-01-17T20:25:01.234Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/application [build failed] [2023-01-17T20:25:01.234Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [build failed] [2023-01-17T20:25:01.234Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/application [build failed] [2023-01-17T20:25:01.234Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http [build failed] [2023-01-17T20:25:01.234Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.108s coverage: 72.2% of statements [2023-01-17T20:25:01.234Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.070s coverage: 60.0% of statements [2023-01-17T20:25:01.234Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.108s coverage: 0.9% of statements [2023-01-17T20:25:01.234Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.071s coverage: 58.8% of statements [2023-01-17T20:25:01.234Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.076s coverage: 29.6% of statements [2023-01-17T20:25:01.234Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.054s coverage: 47.1% of statements [2023-01-17T20:25:01.234Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.071s coverage: 79.5% of statements [2023-01-17T20:25:01.234Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.068s coverage: 94.1% of statements [2023-01-17T20:25:01.234Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.076s coverage: 96.3% of statements [2023-01-17T20:25:01.234Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.095s coverage: 87.5% of statements [2023-01-17T20:25:13.443Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.097s coverage: 94.4% of statements [2023-01-17T20:25:13.443Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.060s coverage: 44.8% of statements [2023-01-17T20:25:13.443Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.225s coverage: 79.9% of statements [2023-01-17T20:25:23.426Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.093s coverage: 92.9% of statements [2023-01-17T20:25:23.426Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.035s coverage: 65.1% of statements [2023-01-17T20:25:23.426Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers [build failed] [2023-01-17T20:25:23.426Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.062s coverage: 87.2% of statements [2023-01-17T20:25:23.426Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/help [build failed] [2023-01-17T20:25:23.426Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser [build failed] [2023-01-17T20:25:23.426Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser [build failed] [2023-01-17T20:25:23.426Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt [build failed] [2023-01-17T20:25:23.426Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls [build failed] [2023-01-17T20:25:23.426Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.204s coverage: 64.7% of statements [2023-01-17T20:25:23.426Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.058s coverage: 100.0% of statements [2023-01-17T20:25:23.426Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.032s coverage: 89.4% of statements [2023-01-17T20:25:23.426Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.022s coverage: 100.0% of statements [2023-01-17T20:25:23.426Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.051s coverage: 73.7% of statements [2023-01-17T20:25:23.426Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.027s coverage: 100.0% of statements [2023-01-17T20:25:23.426Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/proxy [build failed] [2023-01-17T20:25:23.426Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.169s coverage: 41.8% of statements [2023-01-17T20:25:23.426Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.074s coverage: 89.5% of statements [2023-01-17T20:25:23.426Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.063s coverage: 84.8% of statements [2023-01-17T20:25:23.426Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/application [build failed] [2023-01-17T20:25:23.426Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http [build failed] [2023-01-17T20:25:23.426Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler [build failed] [2023-01-17T20:25:23.426Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http [build failed] [2023-01-17T20:25:23.426Z] make: *** [Makefile:137: unittest] Error 2 [Pipeline] } [2023-01-17T20:25:23.444Z] $ docker stop --time=1 94862cdb9ffbf941c74877c828573f16ba3d3563bdd3b8f9473744261c4a0ec3 [2023-01-17T20:25:25.424Z] $ docker rm -f --volumes 94862cdb9ffbf941c74877c828573f16ba3d3563bdd3b8f9473744261c4a0ec3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-17T20:25:25.681Z] Failed in branch amd64 [2023-01-17T20:26:29.819Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2795 in /w/workspace/edgexfoundry_edgex-go_PR-4288 [Pipeline] { [Pipeline] ws [2023-01-17T20:26:29.830Z] Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] checkout [2023-01-17T20:26:29.863Z] The recommended git tool is: git [2023-01-17T20:26:36.025Z] using credential edgex-jenkins-ssh [2023-01-17T20:26:36.047Z] Cloning the remote Git repository [2023-01-17T20:26:36.105Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2023-01-17T20:26:36.197Z] > git init /w/workspace/edgex-go/2 # timeout=10 [2023-01-17T20:26:36.382Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2023-01-17T20:26:36.384Z] > git --version # timeout=10 [2023-01-17T20:26:36.410Z] > git --version # 'git version 2.25.1' [2023-01-17T20:26:36.413Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-17T20:26:36.476Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-17T20:26:53.901Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2023-01-17T20:26:53.923Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-17T20:26:55.662Z] Merging remotes/origin/main commit 81801e3d83727a95447f456a5df1a63b0188c95d into PR head commit b89b575e9bdbd509186d6f067cb28fb13e9111ef [2023-01-17T20:26:56.056Z] Merge succeeded, producing b89b575e9bdbd509186d6f067cb28fb13e9111ef [2023-01-17T20:26:56.056Z] Checking out Revision b89b575e9bdbd509186d6f067cb28fb13e9111ef (PR-4288) [2023-01-17T20:26:54.912Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2023-01-17T20:26:54.970Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2023-01-17T20:26:54.971Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-17T20:26:54.992Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4288/head:refs/remotes/origin/PR-4288 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-17T20:26:55.685Z] > git config core.sparsecheckout # timeout=10 [2023-01-17T20:26:55.707Z] > git checkout -f b89b575e9bdbd509186d6f067cb28fb13e9111ef # timeout=10 [2023-01-17T20:26:55.962Z] > git remote # timeout=10 [2023-01-17T20:26:55.982Z] > git config --get remote.origin.url # timeout=10 [2023-01-17T20:26:56.002Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-17T20:26:56.017Z] > git merge 81801e3d83727a95447f456a5df1a63b0188c95d # timeout=10 [2023-01-17T20:26:56.041Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-17T20:26:56.064Z] > git config core.sparsecheckout # timeout=10 [2023-01-17T20:26:56.086Z] > git checkout -f b89b575e9bdbd509186d6f067cb28fb13e9111ef # timeout=10 [2023-01-17T20:26:56.757Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-17T20:26:57.620Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-17T20:26:57.620Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-17T20:26:57.620Z] Dload Upload Total Spent Left Speed [2023-01-17T20:26:57.620Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 185k 0 --:--:-- --:--:-- --:--:-- 185k [Pipeline] sh [2023-01-17T20:26:58.256Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-17T20:26:58.619Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-17T20:26:58.619Z] + sudo tee /etc/docker/daemon.new [2023-01-17T20:26:58.891Z] { [2023-01-17T20:26:58.891Z] "registry-mirrors": [ [2023-01-17T20:26:58.891Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-17T20:26:58.891Z] ], [2023-01-17T20:26:58.891Z] "bip": "10.250.0.254/24", [2023-01-17T20:26:58.891Z] "hosts": [ [2023-01-17T20:26:58.891Z] "tcp://0.0.0.0:5555", [2023-01-17T20:26:58.891Z] "unix:///var/run/docker.sock" [2023-01-17T20:26:58.891Z] ], [2023-01-17T20:26:58.891Z] "mtu": 1458, [2023-01-17T20:26:58.891Z] "selinux-enabled": true, [2023-01-17T20:26:58.891Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-17T20:26:58.891Z] } [Pipeline] sh [2023-01-17T20:26:59.231Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-17T20:26:59.575Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-17T20:27:17.890Z] provisioning config files... [2023-01-17T20:27:17.918Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config5378076942973940931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T20:27:18.284Z] ---> docker-login.sh [2023-01-17T20:27:18.284Z] nexus3.edgexfoundry.org:10001 [2023-01-17T20:27:18.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T20:27:18.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T20:27:18.875Z] Configure a credential helper to remove this warning. See [2023-01-17T20:27:18.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T20:27:18.875Z] [2023-01-17T20:27:18.875Z] Login Succeeded [2023-01-17T20:27:18.875Z] nexus3.edgexfoundry.org:10002 [2023-01-17T20:27:19.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T20:27:19.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T20:27:19.414Z] Configure a credential helper to remove this warning. See [2023-01-17T20:27:19.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T20:27:19.414Z] [2023-01-17T20:27:19.414Z] Login Succeeded [2023-01-17T20:27:19.414Z] nexus3.edgexfoundry.org:10003 [2023-01-17T20:27:19.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T20:27:19.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T20:27:19.684Z] Configure a credential helper to remove this warning. See [2023-01-17T20:27:19.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T20:27:19.684Z] [2023-01-17T20:27:19.684Z] Login Succeeded [2023-01-17T20:27:19.684Z] nexus3.edgexfoundry.org:10004 [2023-01-17T20:27:19.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T20:27:20.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T20:27:20.230Z] Configure a credential helper to remove this warning. See [2023-01-17T20:27:20.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T20:27:20.230Z] [2023-01-17T20:27:20.230Z] Login Succeeded [2023-01-17T20:27:20.230Z] docker.io [2023-01-17T20:27:20.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T20:27:20.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T20:27:20.783Z] Configure a credential helper to remove this warning. See [2023-01-17T20:27:20.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T20:27:20.783Z] [2023-01-17T20:27:20.783Z] Login Succeeded [2023-01-17T20:27:20.783Z] ---> docker-login.sh ends [Pipeline] } [2023-01-17T20:27:20.800Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh [2023-01-17T20:27:21.423Z] + git config --global --add safe.directory /w/workspace/edgex-go/2 [Pipeline] echo [2023-01-17T20:27:21.445Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T20:27:21.464Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T20:27:21.476Z] ========================================================= [2023-01-17T20:27:21.476Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-17T20:27:21.476Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2023-01-17T20:27:21.809Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-17T20:27:22.082Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-17T20:27:22.082Z] 9b18e9b68314: Pulling fs layer [2023-01-17T20:27:22.082Z] 35d82f9e3411: Pulling fs layer [2023-01-17T20:27:22.082Z] e16973657156: Pulling fs layer [2023-01-17T20:27:22.082Z] fc693d55d65f: Pulling fs layer [2023-01-17T20:27:22.082Z] 7e9fc2657dce: Pulling fs layer [2023-01-17T20:27:22.082Z] dda99020689f: Pulling fs layer [2023-01-17T20:27:22.082Z] db1c61fa0a46: Pulling fs layer [2023-01-17T20:27:22.082Z] 891c053d2c06: Pulling fs layer [2023-01-17T20:27:22.082Z] dda99020689f: Waiting [2023-01-17T20:27:22.082Z] db1c61fa0a46: Waiting [2023-01-17T20:27:22.082Z] fc693d55d65f: Waiting [2023-01-17T20:27:22.082Z] 891c053d2c06: Waiting [2023-01-17T20:27:22.082Z] 7e9fc2657dce: Waiting [2023-01-17T20:27:22.082Z] e16973657156: Verifying Checksum [2023-01-17T20:27:22.082Z] e16973657156: Download complete [2023-01-17T20:27:22.083Z] 35d82f9e3411: Download complete [2023-01-17T20:27:22.083Z] 7e9fc2657dce: Download complete [2023-01-17T20:27:22.083Z] dda99020689f: Verifying Checksum [2023-01-17T20:27:22.083Z] dda99020689f: Download complete [2023-01-17T20:27:22.083Z] 9b18e9b68314: Verifying Checksum [2023-01-17T20:27:22.083Z] 9b18e9b68314: Download complete [2023-01-17T20:27:23.062Z] 9b18e9b68314: Pull complete [2023-01-17T20:27:23.333Z] 891c053d2c06: Verifying Checksum [2023-01-17T20:27:23.333Z] 891c053d2c06: Download complete [2023-01-17T20:27:24.432Z] 35d82f9e3411: Pull complete [2023-01-17T20:27:24.714Z] e16973657156: Pull complete [2023-01-17T20:27:24.714Z] db1c61fa0a46: Download complete [2023-01-17T20:27:25.306Z] fc693d55d65f: Verifying Checksum [2023-01-17T20:27:25.306Z] fc693d55d65f: Download complete [2023-01-17T20:27:40.342Z] fc693d55d65f: Pull complete [2023-01-17T20:27:40.342Z] 7e9fc2657dce: Pull complete [2023-01-17T20:27:40.342Z] dda99020689f: Pull complete [2023-01-17T20:27:45.763Z] db1c61fa0a46: Pull complete [2023-01-17T20:27:47.204Z] 891c053d2c06: Pull complete [2023-01-17T20:27:47.204Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-17T20:27:47.204Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-17T20:27:47.204Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] fileExists [Pipeline] sh [2023-01-17T20:27:47.570Z] + + echodocker FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-17T20:27:47.570Z] WORKDIR /edgex [2023-01-17T20:27:47.570Z] COPY go.mod . [2023-01-17T20:27:47.570Z] RUN go mod download build [2023-01-17T20:27:47.570Z] -t ci-base-image-arm64 -f - . [2023-01-17T20:27:48.170Z] Sending build context to Docker daemon 3.112MB [2023-01-17T20:27:48.170Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-17T20:27:48.170Z] ---> f96f9c87975a [2023-01-17T20:27:48.170Z] Step 2/4 : WORKDIR /edgex [2023-01-17T20:27:49.153Z] ---> Running in 9242587fe6d9 [2023-01-17T20:27:49.433Z] Removing intermediate container 9242587fe6d9 [2023-01-17T20:27:49.433Z] ---> 7e63657627ec [2023-01-17T20:27:49.433Z] Step 3/4 : COPY go.mod . [2023-01-17T20:27:50.027Z] ---> 2796f2981379 [2023-01-17T20:27:50.027Z] Step 4/4 : RUN go mod download [2023-01-17T20:27:50.027Z] ---> Running in b4b96e3d1fe4 [2023-01-17T20:28:29.040Z] Removing intermediate container b4b96e3d1fe4 [2023-01-17T20:28:29.040Z] ---> 3ab68090c71e [2023-01-17T20:28:29.040Z] Successfully built 3ab68090c71e [2023-01-17T20:28:29.040Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T20:28:29.379Z] + docker inspect -f . ci-base-image-arm64 [2023-01-17T20:28:29.379Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T20:28:29.580Z] prd-ubuntu20.04-docker-arm64-4c-16g-2795 does not seem to be running inside a container [2023-01-17T20:28:29.669Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-17T20:28:30.941Z] $ docker top c48e5b9328e4f3f64f5755c9c409d2b66d6da9f43978edabebf6fda8ac176e88 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-17T20:28:31.789Z] + go version [2023-01-17T20:28:31.789Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-17T20:28:31.816Z] $ docker stop --time=1 c48e5b9328e4f3f64f5755c9c409d2b66d6da9f43978edabebf6fda8ac176e88 [2023-01-17T20:28:33.516Z] $ docker rm -f --volumes c48e5b9328e4f3f64f5755c9c409d2b66d6da9f43978edabebf6fda8ac176e88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T20:28:34.078Z] + docker inspect -f . ci-base-image-arm64 [2023-01-17T20:28:34.078Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T20:28:34.277Z] prd-ubuntu20.04-docker-arm64-4c-16g-2795 does not seem to be running inside a container [2023-01-17T20:28:34.360Z] $ 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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-17T20:28:35.624Z] $ docker top c45974ce269312ec1387f014b446f5fad4e04af4a21677bd896f646c85b8bb03 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-01-17T20:28:35.846Z] ========================================================= [2023-01-17T20:28:35.846Z] [edgeXBuildGoParallel] Running Tests and Build... [2023-01-17T20:28:35.846Z] ========================================================= [Pipeline] sh [2023-01-17T20:28:36.470Z] + git config --global --add safe.directory /w/workspace/edgex-go/2 [Pipeline] fileExists [Pipeline] sh [2023-01-17T20:28:37.119Z] + make test [2023-01-17T20:28:37.119Z] go test -race -coverprofile=coverage.out ./... [2023-01-17T20:29:25.355Z] ? github.com/edgexfoundry/edgex-go [no test files] [2023-01-17T20:30:12.296Z] # github.com/edgexfoundry/edgex-go/internal/core/command/config [2023-01-17T20:30:12.296Z] internal/core/command/config/config.go:84:3: unknown field 'SecretStore' in struct literal of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".BootstrapConfiguration [2023-01-17T20:30:39.015Z] # github.com/edgexfoundry/edgex-go/internal/core/data/config [2023-01-17T20:30:39.015Z] internal/core/data/config/config.go:79:3: unknown field 'SecretStore' in struct literal of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".BootstrapConfiguration [2023-01-17T20:31:17.967Z] # github.com/edgexfoundry/edgex-go/internal/core/metadata/config [2023-01-17T20:31:17.967Z] internal/core/metadata/config/config.go:105:3: unknown field 'SecretStore' in struct literal of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".BootstrapConfiguration [2023-01-17T20:31:17.967Z] # github.com/edgexfoundry/edgex-go/internal/security/proxy/config [2023-01-17T20:31:17.967Z] internal/security/proxy/config/config.go:107:3: unknown field 'SecretStore' in struct literal of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".BootstrapConfiguration [2023-01-17T20:31:33.014Z] # github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [2023-01-17T20:31:33.014Z] internal/security/bootstrapper/mosquitto/config/config.go:65:3: unknown field 'SecretStore' in struct literal of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".BootstrapConfiguration [2023-01-17T20:31:33.014Z] # github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [2023-01-17T20:31:33.014Z] internal/security/bootstrapper/redis/config/config.go:66:3: unknown field 'SecretStore' in struct literal of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".BootstrapConfiguration [2023-01-17T20:31:33.605Z] # github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [2023-01-17T20:31:33.605Z] internal/security/spiffetokenprovider/config/config.go:87:3: unknown field 'SecretStore' in struct literal of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".BootstrapConfiguration [2023-01-17T20:31:33.876Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/config [2023-01-17T20:31:33.876Z] internal/support/notifications/config/config.go:108:3: unknown field 'SecretStore' in struct literal of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".BootstrapConfiguration [2023-01-17T20:31:34.145Z] # github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [2023-01-17T20:31:34.145Z] internal/support/scheduler/config/config.go:132:3: unknown field 'SecretStore' in struct literal of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".BootstrapConfiguration [2023-01-17T20:31:52.415Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/application [build failed] [2023-01-17T20:32:00.648Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/controller/http [build failed] [2023-01-17T20:32:00.648Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging [build failed] [2023-01-17T20:32:00.648Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/application [build failed] [2023-01-17T20:32:00.648Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [build failed] [2023-01-17T20:32:00.648Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/application [build failed] [2023-01-17T20:32:00.648Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http [build failed] [2023-01-17T20:32:00.648Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.499s coverage: 72.2% of statements [2023-01-17T20:32:03.255Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.416s coverage: 60.0% of statements [2023-01-17T20:32:08.629Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.427s coverage: 0.9% of statements [2023-01-17T20:32:08.629Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.377s coverage: 58.8% of statements [2023-01-17T20:32:08.629Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.302s coverage: 29.6% of statements [2023-01-17T20:32:08.629Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.291s coverage: 47.1% of statements [2023-01-17T20:32:08.629Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.432s coverage: 79.5% of statements [2023-01-17T20:32:08.629Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.293s coverage: 94.1% of statements [2023-01-17T20:32:09.604Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.276s coverage: 96.3% of statements [2023-01-17T20:32:10.195Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.307s coverage: 87.5% of statements [2023-01-17T20:32:22.532Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.309s coverage: 94.4% of statements [2023-01-17T20:32:22.532Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.236s coverage: 44.8% of statements [2023-01-17T20:32:29.191Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.955s coverage: 79.9% of statements [2023-01-17T20:32:37.402Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.317s coverage: 92.9% of statements [2023-01-17T20:32:37.402Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.093s coverage: 65.1% of statements [2023-01-17T20:32:37.402Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers [build failed] [2023-01-17T20:32:37.402Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.256s coverage: 87.2% of statements [2023-01-17T20:32:37.402Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/help [build failed] [2023-01-17T20:32:37.402Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser [build failed] [2023-01-17T20:32:37.402Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser [build failed] [2023-01-17T20:32:37.402Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt [build failed] [2023-01-17T20:32:37.402Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls [build failed] [2023-01-17T20:32:37.402Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.000s coverage: 64.7% of statements [2023-01-17T20:32:37.402Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.271s coverage: 100.0% of statements [2023-01-17T20:32:37.402Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.110s coverage: 89.4% of statements [2023-01-17T20:32:37.402Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.080s coverage: 100.0% of statements [2023-01-17T20:32:37.402Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.110s coverage: 73.7% of statements [2023-01-17T20:32:37.402Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.068s coverage: 100.0% of statements [2023-01-17T20:32:37.402Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/proxy [build failed] [2023-01-17T20:32:42.755Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.805s coverage: 41.8% of statements [2023-01-17T20:32:42.755Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.388s coverage: 89.5% of statements [2023-01-17T20:32:42.755Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.291s coverage: 84.8% of statements [2023-01-17T20:32:42.755Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/application [build failed] [2023-01-17T20:32:42.755Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http [build failed] [2023-01-17T20:32:42.755Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler [build failed] [2023-01-17T20:32:42.755Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http [build failed] [2023-01-17T20:32:43.338Z] make: *** [Makefile:137: unittest] Error 2 [Pipeline] } [2023-01-17T20:32:43.364Z] $ docker stop --time=1 c45974ce269312ec1387f014b446f5fad4e04af4a21677bd896f646c85b8bb03 [2023-01-17T20:32:45.245Z] $ docker rm -f --volumes c45974ce269312ec1387f014b446f5fad4e04af4a21677bd896f646c85b8bb03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T20:32:46.554Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-17T20:32:46.554Z] [2023-01-17T20:32:46.554Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T20:32:46.894Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-17T20:32:47.169Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-17T20:32:47.169Z] 8998bd30e6a1: Pulling fs layer [2023-01-17T20:32:47.169Z] 04944245beec: Pulling fs layer [2023-01-17T20:32:47.169Z] 699f458cf7ca: Pulling fs layer [2023-01-17T20:32:47.169Z] 765212b225bb: Pulling fs layer [2023-01-17T20:32:47.169Z] f23df028b6ca: Pulling fs layer [2023-01-17T20:32:47.169Z] d65c8cfc05b1: Pulling fs layer [2023-01-17T20:32:47.169Z] 2437ff75d9bd: Pulling fs layer [2023-01-17T20:32:47.169Z] f23df028b6ca: Waiting [2023-01-17T20:32:47.169Z] d65c8cfc05b1: Waiting [2023-01-17T20:32:47.169Z] 2437ff75d9bd: Waiting [2023-01-17T20:32:47.169Z] 04944245beec: Verifying Checksum [2023-01-17T20:32:47.169Z] 04944245beec: Download complete [2023-01-17T20:32:47.169Z] 765212b225bb: Download complete [2023-01-17T20:32:47.442Z] f23df028b6ca: Verifying Checksum [2023-01-17T20:32:47.442Z] f23df028b6ca: Download complete [2023-01-17T20:32:47.442Z] d65c8cfc05b1: Verifying Checksum [2023-01-17T20:32:47.442Z] d65c8cfc05b1: Download complete [2023-01-17T20:32:47.442Z] 699f458cf7ca: Verifying Checksum [2023-01-17T20:32:47.442Z] 699f458cf7ca: Download complete [2023-01-17T20:32:47.714Z] 8998bd30e6a1: Verifying Checksum [2023-01-17T20:32:47.714Z] 8998bd30e6a1: Download complete [2023-01-17T20:32:50.308Z] 2437ff75d9bd: Verifying Checksum [2023-01-17T20:32:50.308Z] 2437ff75d9bd: Download complete [2023-01-17T20:32:52.260Z] 8998bd30e6a1: Pull complete [2023-01-17T20:32:52.529Z] 04944245beec: Pull complete [2023-01-17T20:32:53.948Z] 699f458cf7ca: Pull complete [2023-01-17T20:32:54.216Z] 765212b225bb: Pull complete [2023-01-17T20:32:55.179Z] f23df028b6ca: Pull complete [2023-01-17T20:32:55.446Z] d65c8cfc05b1: Pull complete [2023-01-17T20:33:10.636Z] 2437ff75d9bd: Pull complete [2023-01-17T20:33:10.636Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-17T20:33:10.636Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-17T20:33:10.636Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T20:33:10.878Z] prd-ubuntu20.04-docker-arm64-4c-16g-2795 does not seem to be running inside a container [2023-01-17T20:33:10.972Z] $ 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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-17T20:33:13.872Z] $ docker top 9931c55c40a5cfb4515d6a5567c92d318d30b82cef07b41f17d47dfb0332462f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T20:33:14.811Z] ---> job-cost.sh [2023-01-17T20:33:14.811Z] lf-activate-venv: SKIPPING [2023-01-17T20:33:14.811Z] INFO: No Stack... [2023-01-17T20:33:15.398Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-17T20:33:16.363Z] INFO: Archiving Costs [Pipeline] sh [2023-01-17T20:33:17.002Z] + cat /w/workspace/edgex-go/2/archives/cost.csv [2023-01-17T20:33:17.002Z] + cut -d, -f6 [Pipeline] lock [2023-01-17T20:33:17.076Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4288-2-stack-cost] [2023-01-17T20:33:17.087Z] Resource [jenkins-edgexfoundry-edgex-go-PR-4288-2-stack-cost] did not exist. Created. [2023-01-17T20:33:17.087Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4288-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-17T20:33:17.744Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-17T20:33:18.440Z] Stashed 1 file(s) [Pipeline] } [2023-01-17T20:33:18.454Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4288-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-17T20:33:18.482Z] $ docker stop --time=1 9931c55c40a5cfb4515d6a5567c92d318d30b82cef07b41f17d47dfb0332462f [2023-01-17T20:33:20.085Z] $ docker rm -f --volumes 9931c55c40a5cfb4515d6a5567c92d318d30b82cef07b41f17d47dfb0332462f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-17T20:33:20.335Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-01-17T20:33:20.918Z] + [ -d /w/workspace/edgex-go/2/archives ] [Pipeline] libraryResource [Pipeline] sh [2023-01-17T20:33:21.210Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T20:33:22.084Z] ---> package-listing.sh [2023-01-17T20:33:22.084Z] ++ facter osfamily [2023-01-17T20:33:22.084Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-17T20:33:22.343Z] + OS_FAMILY=debian [2023-01-17T20:33:22.343Z] + workspace=/w/workspace/edgex-go/2 [2023-01-17T20:33:22.343Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-17T20:33:22.343Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-17T20:33:22.343Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-17T20:33:22.343Z] + PACKAGES=/tmp/packages_start.txt [2023-01-17T20:33:22.343Z] + '[' /w/workspace/edgex-go/2 ']' [2023-01-17T20:33:22.343Z] + PACKAGES=/tmp/packages_end.txt [2023-01-17T20:33:22.343Z] + case "${OS_FAMILY}" in [2023-01-17T20:33:22.343Z] + dpkg -l [2023-01-17T20:33:22.343Z] + grep '^ii' [2023-01-17T20:33:22.343Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-17T20:33:22.343Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-17T20:33:22.343Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-17T20:33:22.343Z] + '[' /w/workspace/edgex-go/2 ']' [2023-01-17T20:33:22.343Z] + mkdir -p /w/workspace/edgex-go/2/archives/ [2023-01-17T20:33:22.343Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo [2023-01-17T20:33:22.356Z] 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/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-17T20:33:22.635Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T20:33:23.194Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-17T20:33:23.194Z] [2023-01-17T20:33:23.194Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T20:33:23.501Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-17T20:33:23.501Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-17T20:33:23.501Z] 5eb5b503b376: Pulling fs layer [2023-01-17T20:33:23.501Z] 5c69ac0246d0: Pulling fs layer [2023-01-17T20:33:23.501Z] ec43610c2a17: Pulling fs layer [2023-01-17T20:33:23.501Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-17T20:33:23.501Z] 33b1e0a273af: Pulling fs layer [2023-01-17T20:33:23.501Z] 5d3b04190fa2: Pulling fs layer [2023-01-17T20:33:23.501Z] 2f39f015ded8: Pulling fs layer [2023-01-17T20:33:23.501Z] 33b1e0a273af: Waiting [2023-01-17T20:33:23.501Z] 5d3b04190fa2: Waiting [2023-01-17T20:33:23.501Z] 2f39f015ded8: Waiting [2023-01-17T20:33:23.501Z] 3a2ae6a8a46f: Waiting [2023-01-17T20:33:23.501Z] 5c69ac0246d0: Verifying Checksum [2023-01-17T20:33:23.501Z] 5c69ac0246d0: Download complete [2023-01-17T20:33:23.501Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-17T20:33:23.501Z] 3a2ae6a8a46f: Download complete [2023-01-17T20:33:23.767Z] 33b1e0a273af: Verifying Checksum [2023-01-17T20:33:23.767Z] 33b1e0a273af: Download complete [2023-01-17T20:33:23.767Z] 5d3b04190fa2: Download complete [2023-01-17T20:33:23.767Z] ec43610c2a17: Verifying Checksum [2023-01-17T20:33:23.767Z] ec43610c2a17: Download complete [2023-01-17T20:33:24.028Z] 5eb5b503b376: Verifying Checksum [2023-01-17T20:33:24.028Z] 5eb5b503b376: Download complete [2023-01-17T20:33:24.596Z] 2f39f015ded8: Verifying Checksum [2023-01-17T20:33:24.596Z] 2f39f015ded8: Download complete [2023-01-17T20:33:25.162Z] 5eb5b503b376: Pull complete [2023-01-17T20:33:25.420Z] 5c69ac0246d0: Pull complete [2023-01-17T20:33:25.988Z] ec43610c2a17: Pull complete [2023-01-17T20:33:25.988Z] 3a2ae6a8a46f: Pull complete [2023-01-17T20:33:26.246Z] 33b1e0a273af: Pull complete [2023-01-17T20:33:26.246Z] 5d3b04190fa2: Pull complete [2023-01-17T20:33:30.429Z] 2f39f015ded8: Pull complete [2023-01-17T20:33:30.429Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-17T20:33:30.429Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-17T20:33:30.429Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T20:33:30.508Z] prd-ubuntu20.04-docker-8c-8g-2790 does not seem to be running inside a container [2023-01-17T20:33:30.531Z] $ 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/2/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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-17T20:33:32.192Z] $ docker top 67ab92067bbb3bf6c2ad3504d1a3071b084cd07ffb729418cf33ae8cf33a04c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-17T20:33:32.551Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-17T20:33:32.840Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-17T20:33:33.125Z] + ls /var/log/sa-host [2023-01-17T20:33:33.125Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-17T20:33:33.188Z] provisioning config files... [2023-01-17T20:33:33.200Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config2309723008180720733tmp [Pipeline] { [Pipeline] echo [2023-01-17T20:33:33.214Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T20:33:33.500Z] ---> create-netrc.sh [Pipeline] } [2023-01-17T20:33:33.507Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-17T20:33:33.823Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-17T20:33:33.833Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T20:33:34.120Z] ---> sudo-logs.sh [2023-01-17T20:33:34.120Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-17T20:33:34.163Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T20:33:34.450Z] ---> job-cost.sh [2023-01-17T20:33:34.450Z] lf-activate-venv: SKIPPING [2023-01-17T20:33:34.450Z] DEBUG: total: 0.10999999940395355 [2023-01-17T20:33:34.450Z] INFO: Retrieving Stack Cost... [2023-01-17T20:33:35.018Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-17T20:33:35.277Z] INFO: Archiving Costs [Pipeline] echo [2023-01-17T20:33:35.293Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T20:33:35.577Z] ---> logs-deploy.sh [2023-01-17T20:33:35.577Z] lf-activate-venv: SKIPPING [2023-01-17T20:33:35.577Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4288/2 [2023-01-17T20:33:35.577Z] INFO: archiving workspace using pattern(s): [2023-01-17T20:33:36.510Z] Archives upload complete. [2023-01-17T20:33:36.510Z] INFO: archiving logs to Nexus