Pull request #4367 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 112896a801dd80c3905a2aae65fa375720603a0a+82043fa65646ece12caed6fa2ee7d1c8f814bef9 (53450ccefd7aa812185bb2e9b072f5ded1351183) 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-ssh16523520235345954773.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-ssh3664203890985068809.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4367/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4367/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9132412915404734133.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4367/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12448916715983393043.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17524606831025133697.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4367/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4367/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12281974676799856900.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3], 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/v3 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-6326 in /w/workspace/edgexfoundry_edgex-go_PR-4367 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/1 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4367/head:refs/remotes/origin/PR-4367 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 82043fa65646ece12caed6fa2ee7d1c8f814bef9 into PR head commit 112896a801dd80c3905a2aae65fa375720603a0a Merge succeeded, producing 112896a801dd80c3905a2aae65fa375720603a0a Checking out Revision 112896a801dd80c3905a2aae65fa375720603a0a (PR-4367) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-16T19:59:10.335Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-16T19:59:10.478Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-16T19:59:10.564Z] ========================================================= [2023-02-16T19:59:10.564Z] EdgeX Global Pipelines Version Info [2023-02-16T19:59:10.564Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-16T19:59:11.302Z] ------------------- [2023-02-16T19:59:11.302Z] stable info: [2023-02-16T19:59:11.302Z] ------------------- [2023-02-16T19:59:11.302Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-16T19:59:11.302Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-16T19:59:11.302Z] Message: update stable to v1.0.244 > git config core.sparsecheckout # timeout=10 > git checkout -f 112896a801dd80c3905a2aae65fa375720603a0a # 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 82043fa65646ece12caed6fa2ee7d1c8f814bef9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 112896a801dd80c3905a2aae65fa375720603a0a # timeout=10 [2023-02-16T19:59:11.872Z] ------------------- [2023-02-16T19:59:11.872Z] experimental info: [2023-02-16T19:59:11.872Z] ------------------- [2023-02-16T19:59:11.872Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-16T19:59:11.872Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-16T19:59:11.872Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-16T19:59:12.159Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2023-02-16T19:59:12.201Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2023-02-16T19:59:12.244Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-16T19:59:12.286Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-16T19:59:12.328Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-16T19:59:12.367Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-16T19:59:12.403Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-16T19:59:12.443Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2023-02-16T19:59:12.478Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2023-02-16T19:59:12.515Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2023-02-16T19:59:12.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-16T19:59:12.585Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-16T19:59:12.621Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-16T19:59:12.657Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-16T19:59:12.692Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-16T19:59:12.729Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-16T19:59:12.766Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-16T19:59:12.805Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-16T19:59:12.849Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-16T19:59:12.894Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-16T19:59:12.931Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-16T19:59:12.968Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-16T19:59:13.004Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-16T19:59:13.041Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4367 [Pipeline] echo [2023-02-16T19:59:13.078Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4367 [Pipeline] echo [2023-02-16T19:59:13.113Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4367 [Pipeline] echo [2023-02-16T19:59:13.149Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 112896a801dd80c3905a2aae65fa375720603a0a [Pipeline] echo [2023-02-16T19:59:13.187Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 112896a [Pipeline] echo [2023-02-16T19:59:13.225Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-16T19:59:13.329Z] provisioning config files... [2023-02-16T19:59:13.344Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config4044223935492806227tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T19:59:13.705Z] ---> docker-login.sh [2023-02-16T19:59:13.705Z] nexus3.edgexfoundry.org:10001 [2023-02-16T19:59:13.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T19:59:13.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T19:59:13.967Z] Configure a credential helper to remove this warning. See [2023-02-16T19:59:13.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T19:59:13.967Z] [2023-02-16T19:59:13.967Z] Login Succeeded [2023-02-16T19:59:13.967Z] nexus3.edgexfoundry.org:10002 [2023-02-16T19:59:14.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T19:59:14.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T19:59:14.230Z] Configure a credential helper to remove this warning. See [2023-02-16T19:59:14.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T19:59:14.230Z] [2023-02-16T19:59:14.230Z] Login Succeeded [2023-02-16T19:59:14.230Z] nexus3.edgexfoundry.org:10003 [2023-02-16T19:59:14.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T19:59:14.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T19:59:14.230Z] Configure a credential helper to remove this warning. See [2023-02-16T19:59:14.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T19:59:14.230Z] [2023-02-16T19:59:14.230Z] Login Succeeded [2023-02-16T19:59:14.230Z] nexus3.edgexfoundry.org:10004 [2023-02-16T19:59:14.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T19:59:14.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T19:59:14.492Z] Configure a credential helper to remove this warning. See [2023-02-16T19:59:14.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T19:59:14.492Z] [2023-02-16T19:59:14.492Z] Login Succeeded [2023-02-16T19:59:14.492Z] docker.io [2023-02-16T19:59:14.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T19:59:14.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T19:59:14.753Z] Configure a credential helper to remove this warning. See [2023-02-16T19:59:14.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T19:59:14.753Z] [2023-02-16T19:59:14.753Z] Login Succeeded [2023-02-16T19:59:14.753Z] ---> docker-login.sh ends [Pipeline] } [2023-02-16T19:59:14.785Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-16T19:59:15.194Z] + ls cmd/core-command/Dockerfile cmd/core-common-config-bootstrapper/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/security-spiffe-token-provider/Dockerfile cmd/security-spire-agent/Dockerfile cmd/security-spire-config/Dockerfile cmd/security-spire-server/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile [2023-02-16T19:59:15.194Z] + + dirname cmd/core-command/Dockerfile [2023-02-16T19:59:15.194Z] cut -d/ -f2 [2023-02-16T19:59:15.194Z] + echo core-command,cmd/core-command/Dockerfile [2023-02-16T19:59:15.194Z] + cut -d/ -f2 [2023-02-16T19:59:15.194Z] + dirname cmd/core-common-config-bootstrapper/Dockerfile [2023-02-16T19:59:15.194Z] + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile [2023-02-16T19:59:15.194Z] + + cutdirname -d/ cmd/core-data/Dockerfile -f2 [2023-02-16T19:59:15.194Z] [2023-02-16T19:59:15.194Z] + echo core-data,cmd/core-data/Dockerfile [2023-02-16T19:59:15.194Z] + dirname cmd/core-metadata/Dockerfile [2023-02-16T19:59:15.194Z] + cut -d/ -f2 [2023-02-16T19:59:15.194Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2023-02-16T19:59:15.194Z] + dirname cmd/security-bootstrapper/Dockerfile [2023-02-16T19:59:15.194Z] + cut -d/ -f2 [2023-02-16T19:59:15.194Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2023-02-16T19:59:15.194Z] + dirname cmd/security-proxy-setup/Dockerfile [2023-02-16T19:59:15.194Z] + cut -d/ -f2 [2023-02-16T19:59:15.194Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2023-02-16T19:59:15.194Z] + dirname cmd/security-secretstore-setup/Dockerfile [2023-02-16T19:59:15.194Z] + cut -d/ -f2 [2023-02-16T19:59:15.194Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2023-02-16T19:59:15.194Z] + + cut -d/ -f2 [2023-02-16T19:59:15.194Z] dirname cmd/security-spiffe-token-provider/Dockerfile [2023-02-16T19:59:15.194Z] + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile [2023-02-16T19:59:15.194Z] + dirname cmd/security-spire-agent/Dockerfile [2023-02-16T19:59:15.194Z] + cut -d/ -f2 [2023-02-16T19:59:15.194Z] + echo security-spire-agent,cmd/security-spire-agent/Dockerfile [2023-02-16T19:59:15.194Z] + dirname cmd/security-spire-config/Dockerfile [2023-02-16T19:59:15.194Z] + cut -d/ -f2 [2023-02-16T19:59:15.194Z] + echo security-spire-config,cmd/security-spire-config/Dockerfile [2023-02-16T19:59:15.194Z] + dirname cmd/security-spire-server/Dockerfile [2023-02-16T19:59:15.194Z] + cut -d/ -f2 [2023-02-16T19:59:15.194Z] + echo security-spire-server,cmd/security-spire-server/Dockerfile [2023-02-16T19:59:15.194Z] + dirname cmd/support-notifications/Dockerfile [2023-02-16T19:59:15.194Z] + cut -d/ -f2 [2023-02-16T19:59:15.194Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2023-02-16T19:59:15.194Z] + dirname cmd/support-scheduler/Dockerfile [2023-02-16T19:59:15.194Z] + cut -d/ -f2 [2023-02-16T19:59:15.194Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo [2023-02-16T19:59:15.267Z] Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/Dockerfile], [image:core-common-config-bootstrapper, dockerfile:cmd/core-common-config-bootstrapper/Dockerfile], [image:core-data, dockerfile:cmd/core-data/Dockerfile], [image:core-metadata, dockerfile:cmd/core-metadata/Dockerfile], [image:security-bootstrapper, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:security-proxy-setup, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:security-secretstore-setup, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:security-spiffe-token-provider, dockerfile:cmd/security-spiffe-token-provider/Dockerfile], [image:security-spire-agent, dockerfile:cmd/security-spire-agent/Dockerfile], [image:security-spire-config, dockerfile:cmd/security-spire-config/Dockerfile], [image:security-spire-server, dockerfile:cmd/security-spire-server/Dockerfile], [image:support-notifications, dockerfile:cmd/support-notifications/Dockerfile], [image:support-scheduler, dockerfile:cmd/support-scheduler/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-16T19:59:15.767Z] + git rev-list -1 --merges 112896a801dd80c3905a2aae65fa375720603a0a~1..112896a801dd80c3905a2aae65fa375720603a0a [Pipeline] echo [2023-02-16T19:59:15.800Z] -----------> git rev-list -1 --merges 112896a801dd80c3905a2aae65fa375720603a0a~1..112896a801dd80c3905a2aae65fa375720603a0a 112896a801dd80c3905a2aae65fa375720603a0a [false] [Pipeline] sh [2023-02-16T19:59:16.152Z] + git log --format=format:%s -1 112896a801dd80c3905a2aae65fa375720603a0a [Pipeline] echo [2023-02-16T19:59:16.183Z] ========================================================= [2023-02-16T19:59:16.183Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-16T19:59:16.183Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-02-16T19:59:16.677Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-16T19:59:16.677Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-16T19:59:16.677Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-16T19:59:16.677Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-16T19:59:16.677Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-16T19:59:16.677Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-16T19:59:16.677Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T19:59:17.193Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-16T19:59:17.193Z] [2023-02-16T19:59:17.193Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T19:59:17.583Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-16T19:59:17.583Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-16T19:59:17.583Z] b85a868b505f: Pulling fs layer [2023-02-16T19:59:17.583Z] e2be974225ed: Pulling fs layer [2023-02-16T19:59:17.583Z] 339a4e72a1f5: Pulling fs layer [2023-02-16T19:59:17.583Z] 988bab9f4d93: Pulling fs layer [2023-02-16T19:59:17.583Z] 1469e6f7b9e6: Pulling fs layer [2023-02-16T19:59:17.583Z] eaf3925da568: Pulling fs layer [2023-02-16T19:59:17.583Z] bab4dde63d76: Pulling fs layer [2023-02-16T19:59:17.583Z] bde34c3a00c8: Pulling fs layer [2023-02-16T19:59:17.583Z] b352a97aabf1: Pulling fs layer [2023-02-16T19:59:17.583Z] 4872d77fe225: Pulling fs layer [2023-02-16T19:59:17.583Z] 5851b861e8e6: Pulling fs layer [2023-02-16T19:59:17.583Z] 1469e6f7b9e6: Waiting [2023-02-16T19:59:17.583Z] eaf3925da568: Waiting [2023-02-16T19:59:17.583Z] 4872d77fe225: Waiting [2023-02-16T19:59:17.583Z] bab4dde63d76: Waiting [2023-02-16T19:59:17.583Z] 5851b861e8e6: Waiting [2023-02-16T19:59:17.583Z] bde34c3a00c8: Waiting [2023-02-16T19:59:17.583Z] b352a97aabf1: Waiting [2023-02-16T19:59:17.583Z] 988bab9f4d93: Waiting [2023-02-16T19:59:17.583Z] e2be974225ed: Verifying Checksum [2023-02-16T19:59:17.583Z] e2be974225ed: Download complete [2023-02-16T19:59:17.583Z] 988bab9f4d93: Verifying Checksum [2023-02-16T19:59:17.583Z] 988bab9f4d93: Download complete [2023-02-16T19:59:17.850Z] 339a4e72a1f5: Verifying Checksum [2023-02-16T19:59:17.850Z] 339a4e72a1f5: Download complete [2023-02-16T19:59:17.850Z] 1469e6f7b9e6: Verifying Checksum [2023-02-16T19:59:17.850Z] 1469e6f7b9e6: Download complete [2023-02-16T19:59:17.850Z] eaf3925da568: Download complete [2023-02-16T19:59:17.850Z] bde34c3a00c8: Download complete [2023-02-16T19:59:17.850Z] b352a97aabf1: Verifying Checksum [2023-02-16T19:59:17.850Z] b352a97aabf1: Download complete [2023-02-16T19:59:18.112Z] 4872d77fe225: Verifying Checksum [2023-02-16T19:59:18.112Z] 4872d77fe225: Download complete [2023-02-16T19:59:18.112Z] 5851b861e8e6: Verifying Checksum [2023-02-16T19:59:18.112Z] 5851b861e8e6: Download complete [2023-02-16T19:59:18.112Z] b85a868b505f: Verifying Checksum [2023-02-16T19:59:18.112Z] b85a868b505f: Download complete [2023-02-16T19:59:18.375Z] bab4dde63d76: Verifying Checksum [2023-02-16T19:59:18.375Z] bab4dde63d76: Download complete [2023-02-16T19:59:19.753Z] b85a868b505f: Pull complete [2023-02-16T19:59:19.753Z] e2be974225ed: Pull complete [2023-02-16T19:59:20.014Z] 339a4e72a1f5: Pull complete [2023-02-16T19:59:20.014Z] 988bab9f4d93: Pull complete [2023-02-16T19:59:20.583Z] 1469e6f7b9e6: Pull complete [2023-02-16T19:59:20.583Z] eaf3925da568: Pull complete [2023-02-16T19:59:22.487Z] bab4dde63d76: Pull complete [2023-02-16T19:59:22.487Z] bde34c3a00c8: Pull complete [2023-02-16T19:59:22.487Z] b352a97aabf1: Pull complete [2023-02-16T19:59:22.487Z] 4872d77fe225: Pull complete [2023-02-16T19:59:22.747Z] 5851b861e8e6: Pull complete [2023-02-16T19:59:22.747Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-16T19:59:22.747Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-16T19:59:22.747Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T19:59:22.968Z] prd-ubuntu20.04-docker-8c-8g-6326 does not seem to be running inside a container [2023-02-16T19:59:22.976Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-16T19:59:25.789Z] $ docker top cd9111d28688eabad209297cfd640039cee5d2a8458a57b6080922bc517d2237 -eo pid,comm [2023-02-16T19:59:25.874Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-16T19:59:25.874Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-16T19:59:25.995Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-16T19:59:25.995Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-16T19:59:26.111Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-16T19:59:26.089Z] $ docker exec cd9111d28688eabad209297cfd640039cee5d2a8458a57b6080922bc517d2237 ssh-agent [2023-02-16T19:59:26.224Z] SSH_AUTH_SOCK=/tmp/ssh-S6yluIm3EwyG/agent.32 [2023-02-16T19:59:26.224Z] SSH_AGENT_PID=39 [2023-02-16T19:59:26.231Z] Running ssh-add (command line suppressed) [2023-02-16T19:59:26.308Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_11460125544944253386.key (/w/workspace/edgex-go/1@tmp/private_key_11460125544944253386.key) [2023-02-16T19:59:26.347Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-16T19:59:26.682Z] + git tag --points-at HEAD [Pipeline] } [2023-02-16T19:59:26.779Z] $ docker exec --env ******** --env ******** cd9111d28688eabad209297cfd640039cee5d2a8458a57b6080922bc517d2237 ssh-agent -k [2023-02-16T19:59:26.896Z] unset SSH_AUTH_SOCK; [2023-02-16T19:59:26.897Z] unset SSH_AGENT_PID; [2023-02-16T19:59:26.897Z] echo Agent pid 39 killed; [2023-02-16T19:59:26.929Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-16T19:59:27.005Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-16T19:59:27.005Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-16T19:59:27.134Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-16T19:59:27.114Z] $ docker exec cd9111d28688eabad209297cfd640039cee5d2a8458a57b6080922bc517d2237 ssh-agent [2023-02-16T19:59:27.236Z] SSH_AUTH_SOCK=/tmp/ssh-EkrUSsnL4QKM/agent.72 [2023-02-16T19:59:27.236Z] SSH_AGENT_PID=78 [2023-02-16T19:59:27.242Z] Running ssh-add (command line suppressed) [2023-02-16T19:59:27.329Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_3046578065060974181.key (/w/workspace/edgex-go/1@tmp/private_key_3046578065060974181.key) [2023-02-16T19:59:27.364Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-16T19:59:27.692Z] + git semver init [2023-02-16T19:59:27.950Z] 2023-02-16 19:59:27,857 [run_init] DEBUG init version:0.0.0 force:False [2023-02-16T19:59:27.951Z] 2023-02-16 19:59:27,858 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/1/.semver [2023-02-16T19:59:27.951Z] 2023-02-16 19:59:27,859 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/1/.semver [2023-02-16T19:59:27.951Z] 2023-02-16 19:59:27,859 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/edgex-go.git', '/w/workspace/edgex-go/1/.semver'], cwd=/w/workspace/edgex-go/1, universal_newlines=False, shell=None, istream=None) [2023-02-16T19:59:36.071Z] 2023-02-16 19:59:35,176 [append_file] DEBUG append to file:/w/workspace/edgex-go/1/.git/info/exclude [2023-02-16T19:59:36.071Z] 2023-02-16 19:59:35,176 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/1/.semver/PR-4367 with force:False [2023-02-16T19:59:36.071Z] 2023-02-16 19:59:35,177 [write_file] DEBUG write to file:/w/workspace/edgex-go/1/.semver/PR-4367 [2023-02-16T19:59:36.071Z] 2023-02-16 19:59:35,181 [execute] INFO git cat-file --batch-check [2023-02-16T19:59:36.071Z] 2023-02-16 19:59:35,182 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) [2023-02-16T19:59:36.071Z] 2023-02-16 19:59:35,189 [execute] INFO git cat-file --batch [2023-02-16T19:59:36.071Z] 2023-02-16 19:59:35,189 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) [2023-02-16T19:59:36.071Z] 2023-02-16 19:59:35,195 [read_version] DEBUG read version from /w/workspace/edgex-go/1/.semver/PR-4367 [2023-02-16T19:59:36.071Z] 0.0.0 [Pipeline] } [2023-02-16T19:59:36.087Z] $ docker exec --env ******** --env ******** cd9111d28688eabad209297cfd640039cee5d2a8458a57b6080922bc517d2237 ssh-agent -k [2023-02-16T19:59:36.192Z] unset SSH_AUTH_SOCK; [2023-02-16T19:59:36.192Z] unset SSH_AGENT_PID; [2023-02-16T19:59:36.192Z] echo Agent pid 78 killed; [2023-02-16T19:59:36.215Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-16T19:59:36.613Z] + git semver [Pipeline] } [2023-02-16T19:59:36.881Z] $ docker stop --time=1 cd9111d28688eabad209297cfd640039cee5d2a8458a57b6080922bc517d2237 [2023-02-16T19:59:38.173Z] $ docker rm -f --volumes cd9111d28688eabad209297cfd640039cee5d2a8458a57b6080922bc517d2237 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-16T19:59:38.583Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-16T19:59:38.855Z] Stashed 1 file(s) [Pipeline] echo [2023-02-16T19:59:38.871Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-16T19:59:39.616Z] + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo [2023-02-16T19:59:39.656Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-16T19:59:39.700Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-16T19:59:39.732Z] ========================================================= [2023-02-16T19:59:39.732Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-16T19:59:39.732Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2023-02-16T19:59:40.082Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-16T19:59:40.082Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-16T19:59:40.082Z] 213ec9aee27d: Pulling fs layer [2023-02-16T19:59:40.082Z] 4583459ba037: Pulling fs layer [2023-02-16T19:59:40.082Z] 93c1e223e6f2: Pulling fs layer [2023-02-16T19:59:40.082Z] 53926ce57604: Pulling fs layer [2023-02-16T19:59:40.082Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-16T19:59:40.082Z] 22ff95d597cd: Pulling fs layer [2023-02-16T19:59:40.082Z] 12d6caf4c0d1: Pulling fs layer [2023-02-16T19:59:40.082Z] 96b7cbca73a9: Pulling fs layer [2023-02-16T19:59:40.082Z] a7acece74701: Pulling fs layer [2023-02-16T19:59:40.082Z] 53926ce57604: Waiting [2023-02-16T19:59:40.082Z] 22ff95d597cd: Waiting [2023-02-16T19:59:40.082Z] 21b2b0c7a3f4: Waiting [2023-02-16T19:59:40.082Z] 12d6caf4c0d1: Waiting [2023-02-16T19:59:40.082Z] 96b7cbca73a9: Waiting [2023-02-16T19:59:40.082Z] a7acece74701: Waiting [2023-02-16T19:59:40.082Z] 93c1e223e6f2: Download complete [2023-02-16T19:59:40.082Z] 4583459ba037: Download complete [2023-02-16T19:59:40.082Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-16T19:59:40.082Z] 21b2b0c7a3f4: Download complete [2023-02-16T19:59:40.082Z] 22ff95d597cd: Verifying Checksum [2023-02-16T19:59:40.082Z] 22ff95d597cd: Download complete [2023-02-16T19:59:40.082Z] 213ec9aee27d: Download complete [2023-02-16T19:59:40.349Z] 12d6caf4c0d1: Verifying Checksum [2023-02-16T19:59:40.349Z] 12d6caf4c0d1: Download complete [2023-02-16T19:59:40.349Z] 213ec9aee27d: Pull complete [2023-02-16T19:59:40.349Z] 4583459ba037: Pull complete [2023-02-16T19:59:40.618Z] 93c1e223e6f2: Pull complete [2023-02-16T19:59:41.238Z] a7acece74701: Verifying Checksum [2023-02-16T19:59:41.238Z] a7acece74701: Download complete [2023-02-16T19:59:41.499Z] 53926ce57604: Verifying Checksum [2023-02-16T19:59:41.499Z] 53926ce57604: Download complete [2023-02-16T19:59:41.499Z] 96b7cbca73a9: Download complete [2023-02-16T19:59:45.687Z] 53926ce57604: Pull complete [2023-02-16T19:59:45.687Z] 21b2b0c7a3f4: Pull complete [2023-02-16T19:59:45.687Z] 22ff95d597cd: Pull complete [2023-02-16T19:59:45.687Z] 12d6caf4c0d1: Pull complete [2023-02-16T19:59:48.222Z] 96b7cbca73a9: Pull complete [2023-02-16T19:59:48.792Z] a7acece74701: Pull complete [2023-02-16T19:59:48.792Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-16T19:59:48.792Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-16T19:59:48.792Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] fileExists [Pipeline] sh [2023-02-16T19:59:49.156Z] + + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-16T19:59:49.156Z] WORKDIR /edgex [2023-02-16T19:59:49.156Z] COPY go.mod . [2023-02-16T19:59:49.156Z] RUN go mod download [2023-02-16T19:59:49.156Z] docker build -t ci-base-image-x86_64 -f - . [2023-02-16T19:59:50.095Z] Sending build context to Docker daemon 170.3MB [2023-02-16T19:59:50.095Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-16T19:59:50.095Z] ---> db6d94c90886 [2023-02-16T19:59:50.095Z] Step 2/4 : WORKDIR /edgex [2023-02-16T19:59:54.174Z] Still waiting to schedule task [2023-02-16T19:59:54.174Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-16T19:59:54.291Z] ---> Running in 80f2d374b5f1 [2023-02-16T19:59:54.291Z] Removing intermediate container 80f2d374b5f1 [2023-02-16T19:59:54.291Z] ---> c1cc295c1150 [2023-02-16T19:59:54.291Z] Step 3/4 : COPY go.mod . [2023-02-16T19:59:54.291Z] ---> 683ba0cb82fc [2023-02-16T19:59:54.291Z] Step 4/4 : RUN go mod download [2023-02-16T19:59:54.291Z] ---> Running in 68c26bb4fbde [2023-02-16T20:00:09.177Z] Removing intermediate container 68c26bb4fbde [2023-02-16T20:00:09.177Z] ---> 140432067608 [2023-02-16T20:00:09.177Z] Successfully built 140432067608 [2023-02-16T20:00:09.177Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T20:00:09.552Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-16T20:00:09.552Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T20:00:09.705Z] prd-ubuntu20.04-docker-8c-8g-6326 does not seem to be running inside a container [2023-02-16T20:00:09.729Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-16T20:00:10.162Z] $ docker top 5f6f66355347d06b74b4042146ca2c23a333379367d3e6ab1b4b4761ca98ed70 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T20:00:10.566Z] + go version [2023-02-16T20:00:10.566Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-16T20:00:10.591Z] $ docker stop --time=1 5f6f66355347d06b74b4042146ca2c23a333379367d3e6ab1b4b4761ca98ed70 [2023-02-16T20:00:11.859Z] $ docker rm -f --volumes 5f6f66355347d06b74b4042146ca2c23a333379367d3e6ab1b4b4761ca98ed70 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T20:00:12.528Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-16T20:00:12.528Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T20:00:12.676Z] prd-ubuntu20.04-docker-8c-8g-6326 does not seem to be running inside a container [2023-02-16T20:00:12.702Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-16T20:00:13.043Z] $ docker top 7305529fa46b8e1b5e97a342726a7882a47c6561254d025127ea9557ae32d4d8 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-02-16T20:00:13.164Z] ========================================================= [2023-02-16T20:00:13.164Z] [edgeXBuildGoParallel] Running Tests and Build... [2023-02-16T20:00:13.164Z] ========================================================= [Pipeline] sh [2023-02-16T20:00:13.453Z] + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-16T20:00:13.808Z] + make test [2023-02-16T20:00:13.808Z] go test -race -coverprofile=coverage.out ./... [2023-02-16T20:00:20.369Z] ? github.com/edgexfoundry/edgex-go [no test files] [2023-02-16T20:00:35.239Z] # github.com/edgexfoundry/edgex-go/internal/pkg/application [2023-02-16T20:00:35.239Z] internal/pkg/application/secret.go:38:36: request.Path undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common".SecretRequest has no field or method Path) [2023-02-16T20:00:35.239Z] # github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/controller/http.test] [2023-02-16T20:00:35.239Z] internal/core/data/controller/http/event_test.go:246:56: undefined: common.ApiEventProfileNameDeviceNameSourceNameRoute [2023-02-16T20:00:35.239Z] internal/core/data/controller/http/event_test.go:333:56: undefined: common.ApiEventProfileNameDeviceNameSourceNameRoute [2023-02-16T20:00:35.496Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.065s coverage: 28.7% of statements [2023-02-16T20:00:35.755Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.080s coverage: 98.5% of statements [2023-02-16T20:00:39.041Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 3.142s coverage: 73.7% of statements [2023-02-16T20:00:39.041Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.086s coverage: 54.0% of statements [2023-02-16T20:00:39.041Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [build failed] [2023-02-16T20:00:39.041Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.105s coverage: 3.9% of statements [2023-02-16T20:00:39.041Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.537s coverage: 95.6% of statements [2023-02-16T20:00:39.041Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.076s coverage: 72.2% of statements [2023-02-16T20:00:39.041Z] FAIL github.com/edgexfoundry/edgex-go/internal/pkg/controller/http [build failed] [2023-02-16T20:00:39.041Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.091s coverage: 0.9% of statements [2023-02-16T20:00:39.041Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.064s coverage: 29.6% of statements [2023-02-16T20:00:39.041Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.062s coverage: 47.1% of statements [2023-02-16T20:00:39.041Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.059s coverage: 82.9% of statements [2023-02-16T20:00:39.041Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.142s coverage: 94.1% of statements [2023-02-16T20:00:39.041Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.096s coverage: 96.3% of statements [2023-02-16T20:00:39.041Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.086s coverage: 87.5% of statements [2023-02-16T20:00:47.149Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.065s coverage: 94.4% of statements [2023-02-16T20:00:47.149Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.057s coverage: 44.8% of statements [2023-02-16T20:01:02.029Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 23.398s coverage: 79.9% of statements [2023-02-16T20:01:02.029Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.088s coverage: 92.9% of statements [2023-02-16T20:01:02.029Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.044s coverage: 64.4% of statements [2023-02-16T20:01:02.029Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.069s coverage: 86.9% of statements [2023-02-16T20:01:02.029Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.070s coverage: 87.2% of statements [2023-02-16T20:01:02.029Z] ok github.com/edgexfoundry/edgex-go/internal/security/common 0.055s coverage: 20.0% of statements [2023-02-16T20:01:02.029Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.054s coverage: 100.0% of statements [2023-02-16T20:01:02.029Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.082s coverage: 77.4% of statements [2023-02-16T20:01:02.029Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.076s coverage: 80.0% of statements [2023-02-16T20:01:02.029Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.066s coverage: 87.2% of statements [2023-02-16T20:01:02.029Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.257s coverage: 91.2% of statements [2023-02-16T20:01:02.029Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.249s coverage: 63.1% of statements [2023-02-16T20:01:02.029Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.064s coverage: 100.0% of statements [2023-02-16T20:01:02.029Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.030s coverage: 89.4% of statements [2023-02-16T20:01:02.029Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.032s coverage: 100.0% of statements [2023-02-16T20:01:02.029Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.029s coverage: 73.7% of statements [2023-02-16T20:01:02.029Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.032s coverage: 100.0% of statements [2023-02-16T20:01:02.029Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.328s coverage: 65.3% of statements [2023-02-16T20:01:02.029Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.168s coverage: 41.0% of statements [2023-02-16T20:01:02.029Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.067s coverage: 89.5% of statements [2023-02-16T20:01:02.029Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.088s coverage: 84.8% of statements [2023-02-16T20:01:02.029Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.084s coverage: 17.7% of statements [2023-02-16T20:01:02.029Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.170s coverage: 92.3% of statements [2023-02-16T20:01:02.029Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.076s coverage: 63.2% of statements [2023-02-16T20:01:02.029Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.120s coverage: 97.7% of statements [2023-02-16T20:01:02.596Z] make: *** [Makefile:143: unittest] Error 2 [Pipeline] } [2023-02-16T20:01:02.632Z] $ docker stop --time=1 7305529fa46b8e1b5e97a342726a7882a47c6561254d025127ea9557ae32d4d8 [2023-02-16T20:01:04.679Z] $ docker rm -f --volumes 7305529fa46b8e1b5e97a342726a7882a47c6561254d025127ea9557ae32d4d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-16T20:01:05.577Z] Failed in branch amd64 [2023-02-16T20:01:16.581Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6327 in /w/workspace/edgexfoundry_edgex-go_PR-4367 [Pipeline] { [Pipeline] ws [2023-02-16T20:01:16.638Z] Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout [2023-02-16T20:01:16.715Z] The recommended git tool is: git [2023-02-16T20:01:21.661Z] using credential edgex-jenkins-ssh [2023-02-16T20:01:21.681Z] Cloning the remote Git repository [2023-02-16T20:01:21.718Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2023-02-16T20:01:21.791Z] > git init /w/workspace/edgex-go/1 # timeout=10 [2023-02-16T20:01:21.931Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2023-02-16T20:01:21.932Z] > git --version # timeout=10 [2023-02-16T20:01:21.953Z] > git --version # 'git version 2.25.1' [2023-02-16T20:01:21.955Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-16T20:01:22.014Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-16T20:01:40.754Z] Merging remotes/origin/main commit 82043fa65646ece12caed6fa2ee7d1c8f814bef9 into PR head commit 112896a801dd80c3905a2aae65fa375720603a0a [2023-02-16T20:01:39.084Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2023-02-16T20:01:39.102Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-16T20:01:39.940Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2023-02-16T20:01:39.979Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2023-02-16T20:01:39.980Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-16T20:01:40.001Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4367/head:refs/remotes/origin/PR-4367 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-16T20:01:40.775Z] > git config core.sparsecheckout # timeout=10 [2023-02-16T20:01:40.793Z] > git checkout -f 112896a801dd80c3905a2aae65fa375720603a0a # timeout=10 [2023-02-16T20:01:41.135Z] Merge succeeded, producing 112896a801dd80c3905a2aae65fa375720603a0a [2023-02-16T20:01:41.136Z] Checking out Revision 112896a801dd80c3905a2aae65fa375720603a0a (PR-4367) [2023-02-16T20:01:41.763Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-02-16T20:01:41.815Z] > git --version # timeout=10 [2023-02-16T20:01:41.827Z] > git --version # 'git version 2.25.1' [2023-02-16T20:01:41.848Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-16T20:01:41.037Z] > git remote # timeout=10 [2023-02-16T20:01:41.056Z] > git config --get remote.origin.url # timeout=10 [2023-02-16T20:01:41.078Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-16T20:01:41.092Z] > git merge 82043fa65646ece12caed6fa2ee7d1c8f814bef9 # timeout=10 [2023-02-16T20:01:41.121Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-16T20:01:41.144Z] > git config core.sparsecheckout # timeout=10 [2023-02-16T20:01:41.165Z] > git checkout -f 112896a801dd80c3905a2aae65fa375720603a0a # timeout=10 [2023-02-16T20:01:43.265Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-16T20:01:43.265Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-16T20:01:43.265Z] Dload Upload Total Spent Left Speed [2023-02-16T20:01:43.265Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 96598 [Pipeline] sh [2023-02-16T20:01:43.891Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-16T20:01:44.233Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2023-02-16T20:01:44.233Z] sudo tee /etc/docker/daemon.new [2023-02-16T20:01:44.233Z] { [2023-02-16T20:01:44.233Z] "registry-mirrors": [ [2023-02-16T20:01:44.233Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-16T20:01:44.233Z] ], [2023-02-16T20:01:44.233Z] "bip": "10.250.0.254/24", [2023-02-16T20:01:44.233Z] "hosts": [ [2023-02-16T20:01:44.233Z] "tcp://0.0.0.0:5555", [2023-02-16T20:01:44.233Z] "unix:///var/run/docker.sock" [2023-02-16T20:01:44.233Z] ], [2023-02-16T20:01:44.233Z] "mtu": 1458, [2023-02-16T20:01:44.233Z] "selinux-enabled": true, [2023-02-16T20:01:44.233Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-16T20:01:44.233Z] } [Pipeline] sh [2023-02-16T20:01:44.580Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-16T20:01:44.926Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-16T20:02:03.239Z] provisioning config files... [2023-02-16T20:02:03.270Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config3217045148392647270tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T20:02:03.663Z] ---> docker-login.sh [2023-02-16T20:02:03.663Z] nexus3.edgexfoundry.org:10001 [2023-02-16T20:02:04.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T20:02:04.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T20:02:04.256Z] Configure a credential helper to remove this warning. See [2023-02-16T20:02:04.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T20:02:04.256Z] [2023-02-16T20:02:04.256Z] Login Succeeded [2023-02-16T20:02:04.256Z] nexus3.edgexfoundry.org:10002 [2023-02-16T20:02:04.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T20:02:04.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T20:02:04.797Z] Configure a credential helper to remove this warning. See [2023-02-16T20:02:04.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T20:02:04.797Z] [2023-02-16T20:02:04.797Z] Login Succeeded [2023-02-16T20:02:04.797Z] nexus3.edgexfoundry.org:10003 [2023-02-16T20:02:05.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T20:02:05.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T20:02:05.070Z] Configure a credential helper to remove this warning. See [2023-02-16T20:02:05.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T20:02:05.070Z] [2023-02-16T20:02:05.070Z] Login Succeeded [2023-02-16T20:02:05.070Z] nexus3.edgexfoundry.org:10004 [2023-02-16T20:02:05.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T20:02:05.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T20:02:05.619Z] Configure a credential helper to remove this warning. See [2023-02-16T20:02:05.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T20:02:05.619Z] [2023-02-16T20:02:05.619Z] Login Succeeded [2023-02-16T20:02:05.619Z] docker.io [2023-02-16T20:02:05.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T20:02:06.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T20:02:06.156Z] Configure a credential helper to remove this warning. See [2023-02-16T20:02:06.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T20:02:06.156Z] [2023-02-16T20:02:06.156Z] Login Succeeded [2023-02-16T20:02:06.156Z] ---> docker-login.sh ends [Pipeline] } [2023-02-16T20:02:06.186Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh [2023-02-16T20:02:06.891Z] + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo [2023-02-16T20:02:06.928Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-16T20:02:06.960Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-16T20:02:06.991Z] ========================================================= [2023-02-16T20:02:06.991Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-16T20:02:06.991Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2023-02-16T20:02:07.491Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-16T20:02:07.772Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-16T20:02:07.772Z] 9b18e9b68314: Pulling fs layer [2023-02-16T20:02:07.772Z] 35d82f9e3411: Pulling fs layer [2023-02-16T20:02:07.772Z] e16973657156: Pulling fs layer [2023-02-16T20:02:07.772Z] fc693d55d65f: Pulling fs layer [2023-02-16T20:02:07.772Z] 7e9fc2657dce: Pulling fs layer [2023-02-16T20:02:07.772Z] dda99020689f: Pulling fs layer [2023-02-16T20:02:07.772Z] db1c61fa0a46: Pulling fs layer [2023-02-16T20:02:07.772Z] 891c053d2c06: Pulling fs layer [2023-02-16T20:02:07.772Z] fc693d55d65f: Waiting [2023-02-16T20:02:07.772Z] 7e9fc2657dce: Waiting [2023-02-16T20:02:07.772Z] dda99020689f: Waiting [2023-02-16T20:02:07.772Z] db1c61fa0a46: Waiting [2023-02-16T20:02:07.772Z] 891c053d2c06: Waiting [2023-02-16T20:02:07.772Z] e16973657156: Verifying Checksum [2023-02-16T20:02:07.772Z] e16973657156: Download complete [2023-02-16T20:02:07.772Z] 35d82f9e3411: Download complete [2023-02-16T20:02:07.772Z] 7e9fc2657dce: Verifying Checksum [2023-02-16T20:02:07.772Z] 7e9fc2657dce: Download complete [2023-02-16T20:02:07.772Z] dda99020689f: Verifying Checksum [2023-02-16T20:02:07.772Z] dda99020689f: Download complete [2023-02-16T20:02:07.772Z] 9b18e9b68314: Verifying Checksum [2023-02-16T20:02:07.772Z] 9b18e9b68314: Download complete [2023-02-16T20:02:08.743Z] 9b18e9b68314: Pull complete [2023-02-16T20:02:08.743Z] 891c053d2c06: Verifying Checksum [2023-02-16T20:02:08.743Z] 891c053d2c06: Download complete [2023-02-16T20:02:09.334Z] 35d82f9e3411: Pull complete [2023-02-16T20:02:09.604Z] e16973657156: Pull complete [2023-02-16T20:02:10.195Z] db1c61fa0a46: Verifying Checksum [2023-02-16T20:02:10.195Z] db1c61fa0a46: Download complete [2023-02-16T20:02:10.781Z] fc693d55d65f: Verifying Checksum [2023-02-16T20:02:10.781Z] fc693d55d65f: Download complete [2023-02-16T20:02:23.218Z] fc693d55d65f: Pull complete [2023-02-16T20:02:23.218Z] 7e9fc2657dce: Pull complete [2023-02-16T20:02:23.218Z] dda99020689f: Pull complete [2023-02-16T20:02:28.583Z] db1c61fa0a46: Pull complete [2023-02-16T20:02:30.536Z] 891c053d2c06: Pull complete [2023-02-16T20:02:30.536Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-16T20:02:30.536Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-16T20:02:30.536Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] fileExists [Pipeline] sh [2023-02-16T20:02:30.925Z] + + dockerecho build FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-16T20:02:30.925Z] WORKDIR /edgex [2023-02-16T20:02:30.925Z] COPY go.mod . [2023-02-16T20:02:30.925Z] RUN go mod download -t [2023-02-16T20:02:30.925Z] ci-base-image-arm64 -f - . [2023-02-16T20:02:31.519Z] Sending build context to Docker daemon 3.092MB [2023-02-16T20:02:31.519Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-16T20:02:31.519Z] ---> f96f9c87975a [2023-02-16T20:02:31.519Z] Step 2/4 : WORKDIR /edgex [2023-02-16T20:02:33.475Z] ---> Running in aa6b29f9621b [2023-02-16T20:02:33.475Z] Removing intermediate container aa6b29f9621b [2023-02-16T20:02:33.475Z] ---> 1be7a59df268 [2023-02-16T20:02:33.475Z] Step 3/4 : COPY go.mod . [2023-02-16T20:02:34.057Z] ---> e682ef82ceba [2023-02-16T20:02:34.057Z] Step 4/4 : RUN go mod download [2023-02-16T20:02:34.057Z] ---> Running in 74edbbaecc30 [2023-02-16T20:03:12.922Z] Removing intermediate container 74edbbaecc30 [2023-02-16T20:03:12.922Z] ---> acee54d5f36e [2023-02-16T20:03:12.922Z] Successfully built acee54d5f36e [2023-02-16T20:03:12.922Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T20:03:13.323Z] + docker inspect -f . ci-base-image-arm64 [2023-02-16T20:03:13.323Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T20:03:13.575Z] prd-ubuntu20.04-docker-arm64-4c-16g-6327 does not seem to be running inside a container [2023-02-16T20:03:13.649Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-16T20:03:14.871Z] $ docker top 907ed0c5664aab8bbf846ec274f978fde3820e47357b48bf9a939370519ea5c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T20:03:15.749Z] + go version [2023-02-16T20:03:15.749Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-16T20:03:15.784Z] $ docker stop --time=1 907ed0c5664aab8bbf846ec274f978fde3820e47357b48bf9a939370519ea5c7 [2023-02-16T20:03:17.414Z] $ docker rm -f --volumes 907ed0c5664aab8bbf846ec274f978fde3820e47357b48bf9a939370519ea5c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T20:03:18.282Z] + docker inspect -f . ci-base-image-arm64 [2023-02-16T20:03:18.282Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T20:03:18.513Z] prd-ubuntu20.04-docker-arm64-4c-16g-6327 does not seem to be running inside a container [2023-02-16T20:03:18.574Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-16T20:03:19.713Z] $ docker top 016ae2c1220760b81714e66b9070ea49d333adcd0c4c45b0e4ac7e9aebf83e3e -eo pid,comm [Pipeline] { [Pipeline] echo [2023-02-16T20:03:19.956Z] ========================================================= [2023-02-16T20:03:19.956Z] [edgeXBuildGoParallel] Running Tests and Build... [2023-02-16T20:03:19.956Z] ========================================================= [Pipeline] sh [2023-02-16T20:03:20.594Z] + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-16T20:03:20.978Z] + make test [2023-02-16T20:03:20.978Z] go test -race -coverprofile=coverage.out ./... [2023-02-16T20:03:53.215Z] ? github.com/edgexfoundry/edgex-go [no test files] [2023-02-16T20:05:29.880Z] # github.com/edgexfoundry/edgex-go/internal/pkg/application [2023-02-16T20:05:29.880Z] internal/pkg/application/secret.go:38:36: request.Path undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common".SecretRequest has no field or method Path) [2023-02-16T20:05:56.573Z] # github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/controller/http.test] [2023-02-16T20:05:56.573Z] internal/core/data/controller/http/event_test.go:246:56: undefined: common.ApiEventProfileNameDeviceNameSourceNameRoute [2023-02-16T20:05:56.573Z] internal/core/data/controller/http/event_test.go:333:56: undefined: common.ApiEventProfileNameDeviceNameSourceNameRoute [2023-02-16T20:05:56.573Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.384s coverage: 28.7% of statements [2023-02-16T20:06:04.830Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.796s coverage: 98.5% of statements [2023-02-16T20:06:09.089Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 3.873s coverage: 73.7% of statements [2023-02-16T20:06:09.089Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.659s coverage: 54.0% of statements [2023-02-16T20:06:09.089Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [build failed] [2023-02-16T20:06:09.089Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.409s coverage: 3.9% of statements [2023-02-16T20:06:21.403Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 2.397s coverage: 95.6% of statements [2023-02-16T20:06:21.403Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.639s coverage: 72.2% of statements [2023-02-16T20:06:21.403Z] FAIL github.com/edgexfoundry/edgex-go/internal/pkg/controller/http [build failed] [2023-02-16T20:06:21.403Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.402s coverage: 0.9% of statements [2023-02-16T20:06:21.403Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.485s coverage: 29.6% of statements [2023-02-16T20:06:21.403Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.299s coverage: 47.1% of statements [2023-02-16T20:06:21.403Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.247s coverage: 82.9% of statements [2023-02-16T20:06:21.403Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.207s coverage: 94.1% of statements [2023-02-16T20:06:21.403Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.254s coverage: 96.3% of statements [2023-02-16T20:06:21.403Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.238s coverage: 87.5% of statements [2023-02-16T20:06:31.478Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.232s coverage: 94.4% of statements [2023-02-16T20:06:31.478Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.217s coverage: 44.8% of statements [2023-02-16T20:06:53.565Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 24.327s coverage: 79.9% of statements [2023-02-16T20:06:53.565Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.286s coverage: 92.9% of statements [2023-02-16T20:06:53.565Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.073s coverage: 64.4% of statements [2023-02-16T20:06:53.565Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.254s coverage: 86.9% of statements [2023-02-16T20:06:53.565Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.217s coverage: 87.2% of statements [2023-02-16T20:06:53.565Z] ok github.com/edgexfoundry/edgex-go/internal/security/common 0.177s coverage: 20.0% of statements [2023-02-16T20:06:53.565Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.194s coverage: 100.0% of statements [2023-02-16T20:06:53.565Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.281s coverage: 77.4% of statements [2023-02-16T20:06:53.565Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.259s coverage: 80.0% of statements [2023-02-16T20:06:53.565Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.221s coverage: 87.2% of statements [2023-02-16T20:06:53.565Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.898s coverage: 91.2% of statements [2023-02-16T20:06:53.565Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.174s coverage: 63.1% of statements [2023-02-16T20:06:53.565Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.279s coverage: 100.0% of statements [2023-02-16T20:06:53.565Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.113s coverage: 89.4% of statements [2023-02-16T20:06:53.565Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.081s coverage: 100.0% of statements [2023-02-16T20:06:53.565Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.081s coverage: 73.7% of statements [2023-02-16T20:06:53.565Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.072s coverage: 100.0% of statements [2023-02-16T20:07:00.208Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.330s coverage: 65.3% of statements [2023-02-16T20:07:01.617Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.727s coverage: 41.0% of statements [2023-02-16T20:07:01.617Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.326s coverage: 89.5% of statements [2023-02-16T20:07:01.617Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.250s coverage: 84.8% of statements [2023-02-16T20:07:09.825Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.369s coverage: 17.7% of statements [2023-02-16T20:07:09.825Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.667s coverage: 92.3% of statements [2023-02-16T20:07:09.825Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.283s coverage: 63.2% of statements [2023-02-16T20:07:09.825Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.440s coverage: 97.7% of statements [2023-02-16T20:07:09.825Z] make: *** [Makefile:143: unittest] Error 2 [Pipeline] } [2023-02-16T20:07:09.868Z] $ docker stop --time=1 016ae2c1220760b81714e66b9070ea49d333adcd0c4c45b0e4ac7e9aebf83e3e [2023-02-16T20:07:11.682Z] $ docker rm -f --volumes 016ae2c1220760b81714e66b9070ea49d333adcd0c4c45b0e4ac7e9aebf83e3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T20:07:13.469Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-16T20:07:13.469Z] [2023-02-16T20:07:13.469Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T20:07:13.871Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-16T20:07:14.139Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-16T20:07:14.139Z] 8998bd30e6a1: Pulling fs layer [2023-02-16T20:07:14.139Z] 04944245beec: Pulling fs layer [2023-02-16T20:07:14.139Z] 699f458cf7ca: Pulling fs layer [2023-02-16T20:07:14.139Z] 765212b225bb: Pulling fs layer [2023-02-16T20:07:14.139Z] f23df028b6ca: Pulling fs layer [2023-02-16T20:07:14.139Z] d65c8cfc05b1: Pulling fs layer [2023-02-16T20:07:14.139Z] 2437ff75d9bd: Pulling fs layer [2023-02-16T20:07:14.139Z] f23df028b6ca: Waiting [2023-02-16T20:07:14.139Z] d65c8cfc05b1: Waiting [2023-02-16T20:07:14.139Z] 2437ff75d9bd: Waiting [2023-02-16T20:07:14.139Z] 765212b225bb: Waiting [2023-02-16T20:07:14.139Z] 04944245beec: Verifying Checksum [2023-02-16T20:07:14.139Z] 04944245beec: Download complete [2023-02-16T20:07:14.139Z] 765212b225bb: Verifying Checksum [2023-02-16T20:07:14.139Z] 765212b225bb: Download complete [2023-02-16T20:07:14.139Z] f23df028b6ca: Verifying Checksum [2023-02-16T20:07:14.139Z] f23df028b6ca: Download complete [2023-02-16T20:07:14.407Z] d65c8cfc05b1: Verifying Checksum [2023-02-16T20:07:14.407Z] d65c8cfc05b1: Download complete [2023-02-16T20:07:14.407Z] 699f458cf7ca: Verifying Checksum [2023-02-16T20:07:14.407Z] 699f458cf7ca: Download complete [2023-02-16T20:07:14.676Z] 8998bd30e6a1: Verifying Checksum [2023-02-16T20:07:14.676Z] 8998bd30e6a1: Download complete [2023-02-16T20:07:17.269Z] 2437ff75d9bd: Verifying Checksum [2023-02-16T20:07:17.269Z] 2437ff75d9bd: Download complete [2023-02-16T20:07:18.678Z] 8998bd30e6a1: Pull complete [2023-02-16T20:07:19.262Z] 04944245beec: Pull complete [2023-02-16T20:07:23.505Z] 699f458cf7ca: Pull complete [2023-02-16T20:07:23.505Z] 765212b225bb: Pull complete [2023-02-16T20:07:23.772Z] f23df028b6ca: Pull complete [2023-02-16T20:07:24.038Z] d65c8cfc05b1: Pull complete [2023-02-16T20:07:39.032Z] 2437ff75d9bd: Pull complete [2023-02-16T20:07:39.033Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-16T20:07:39.033Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-16T20:07:39.033Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T20:07:39.344Z] prd-ubuntu20.04-docker-arm64-4c-16g-6327 does not seem to be running inside a container [2023-02-16T20:07:39.411Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-16T20:07:41.739Z] $ docker top 69a50057e93894a351b86ec85e9500b6ac3f3fe0f1c9c991521d7f801a5fc3c1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T20:07:42.699Z] ---> job-cost.sh [2023-02-16T20:07:42.699Z] lf-activate-venv: SKIPPING [2023-02-16T20:07:42.699Z] INFO: No Stack... [2023-02-16T20:07:43.283Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-16T20:07:44.259Z] INFO: Archiving Costs [Pipeline] sh [2023-02-16T20:07:44.930Z] + cat /w/workspace/edgex-go/1/archives/cost.csv [2023-02-16T20:07:44.930Z] + cut -d, -f6 [Pipeline] lock [2023-02-16T20:07:45.007Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4367-1-stack-cost] [2023-02-16T20:07:45.013Z] Resource [jenkins-edgexfoundry-edgex-go-PR-4367-1-stack-cost] did not exist. Created. [2023-02-16T20:07:45.013Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4367-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-16T20:07:45.419Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-16T20:07:46.008Z] Stashed 1 file(s) [Pipeline] } [2023-02-16T20:07:46.023Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4367-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-16T20:07:46.101Z] $ docker stop --time=1 69a50057e93894a351b86ec85e9500b6ac3f3fe0f1c9c991521d7f801a5fc3c1 [2023-02-16T20:07:47.538Z] $ docker rm -f --volumes 69a50057e93894a351b86ec85e9500b6ac3f3fe0f1c9c991521d7f801a5fc3c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-16T20:07:48.188Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-16T20:07:50.028Z] + [ -d /w/workspace/edgex-go/1/archives ] [Pipeline] libraryResource [Pipeline] sh [2023-02-16T20:07:50.389Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T20:07:51.281Z] ---> package-listing.sh [2023-02-16T20:07:51.281Z] ++ facter osfamily [2023-02-16T20:07:51.281Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-16T20:07:51.541Z] + OS_FAMILY=debian [2023-02-16T20:07:51.541Z] + workspace=/w/workspace/edgex-go/1 [2023-02-16T20:07:51.541Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-16T20:07:51.541Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-16T20:07:51.541Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-16T20:07:51.541Z] + PACKAGES=/tmp/packages_start.txt [2023-02-16T20:07:51.541Z] + '[' /w/workspace/edgex-go/1 ']' [2023-02-16T20:07:51.541Z] + PACKAGES=/tmp/packages_end.txt [2023-02-16T20:07:51.541Z] + case "${OS_FAMILY}" in [2023-02-16T20:07:51.541Z] + dpkg -l [2023-02-16T20:07:51.541Z] + grep '^ii' [2023-02-16T20:07:51.541Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-16T20:07:51.541Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-16T20:07:51.541Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-16T20:07:51.541Z] + '[' /w/workspace/edgex-go/1 ']' [2023-02-16T20:07:51.541Z] + mkdir -p /w/workspace/edgex-go/1/archives/ [2023-02-16T20:07:51.541Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo [2023-02-16T20:07:51.574Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-16T20:07:51.864Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T20:07:52.481Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-16T20:07:52.481Z] [2023-02-16T20:07:52.481Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T20:07:52.852Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-16T20:07:52.852Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-16T20:07:52.852Z] 5eb5b503b376: Pulling fs layer [2023-02-16T20:07:52.852Z] 5c69ac0246d0: Pulling fs layer [2023-02-16T20:07:52.852Z] ec43610c2a17: Pulling fs layer [2023-02-16T20:07:52.853Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-16T20:07:52.853Z] 33b1e0a273af: Pulling fs layer [2023-02-16T20:07:52.853Z] 5d3b04190fa2: Pulling fs layer [2023-02-16T20:07:52.853Z] 2f39f015ded8: Pulling fs layer [2023-02-16T20:07:52.853Z] 33b1e0a273af: Waiting [2023-02-16T20:07:52.853Z] 5c69ac0246d0: Verifying Checksum [2023-02-16T20:07:52.853Z] 5c69ac0246d0: Download complete [2023-02-16T20:07:52.853Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-16T20:07:52.853Z] 3a2ae6a8a46f: Download complete [2023-02-16T20:07:53.118Z] 33b1e0a273af: Verifying Checksum [2023-02-16T20:07:53.118Z] 33b1e0a273af: Download complete [2023-02-16T20:07:53.118Z] 5d3b04190fa2: Verifying Checksum [2023-02-16T20:07:53.118Z] 5d3b04190fa2: Download complete [2023-02-16T20:07:53.118Z] ec43610c2a17: Verifying Checksum [2023-02-16T20:07:53.118Z] ec43610c2a17: Download complete [2023-02-16T20:07:53.377Z] 5eb5b503b376: Verifying Checksum [2023-02-16T20:07:53.377Z] 5eb5b503b376: Download complete [2023-02-16T20:07:53.945Z] 2f39f015ded8: Download complete [2023-02-16T20:07:54.511Z] 5eb5b503b376: Pull complete [2023-02-16T20:07:54.511Z] 5c69ac0246d0: Pull complete [2023-02-16T20:07:55.076Z] ec43610c2a17: Pull complete [2023-02-16T20:07:55.076Z] 3a2ae6a8a46f: Pull complete [2023-02-16T20:07:55.335Z] 33b1e0a273af: Pull complete [2023-02-16T20:07:55.335Z] 5d3b04190fa2: Pull complete [2023-02-16T20:07:59.522Z] 2f39f015ded8: Pull complete [2023-02-16T20:07:59.523Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-16T20:07:59.523Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-16T20:07:59.523Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T20:07:59.717Z] prd-ubuntu20.04-docker-8c-8g-6326 does not seem to be running inside a container [2023-02-16T20:07:59.732Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-16T20:08:02.776Z] $ docker top 62cf5c09624c760cbf08c67660dbf058246d4ea4047c652155718790f35740b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T20:08:03.177Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-16T20:08:03.489Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-16T20:08:03.797Z] + ls /var/log/sa-host [2023-02-16T20:08:03.797Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-16T20:08:04.013Z] provisioning config files... [2023-02-16T20:08:04.021Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config15124759781760642359tmp [Pipeline] { [Pipeline] echo [2023-02-16T20:08:04.068Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T20:08:04.377Z] ---> create-netrc.sh [Pipeline] } [2023-02-16T20:08:04.403Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-16T20:08:04.822Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-16T20:08:04.851Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T20:08:05.161Z] ---> sudo-logs.sh [2023-02-16T20:08:05.161Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-16T20:08:05.238Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T20:08:05.549Z] ---> job-cost.sh [2023-02-16T20:08:05.549Z] lf-activate-venv: SKIPPING [2023-02-16T20:08:05.549Z] DEBUG: total: 0.10999999940395355 [2023-02-16T20:08:05.549Z] INFO: Retrieving Stack Cost... [2023-02-16T20:08:06.118Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-16T20:08:06.377Z] INFO: Archiving Costs [Pipeline] echo [2023-02-16T20:08:06.409Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T20:08:06.715Z] ---> logs-deploy.sh [2023-02-16T20:08:06.715Z] lf-activate-venv: SKIPPING [2023-02-16T20:08:06.715Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4367/1 [2023-02-16T20:08:06.715Z] INFO: archiving workspace using pattern(s): [2023-02-16T20:08:07.653Z] Archives upload complete. [2023-02-16T20:08:07.653Z] INFO: archiving logs to Nexus