Pull request #4974 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/edgex-go Obtained Jenkinsfile from d26cb89b66a3b173e1c21f7453cf1e03733c1ef3+0f2c1aa65e1f19339a388a0f771fbaa268164f8e (9a2b024d442db4901a7f9c3eedb743e5b4579a6c) 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-ssh16850544606556819189.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh15240630383024948137.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-4974/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-4974/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12830123613750560873.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-4974/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17646671080171245276.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh8145833108805717093.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-4974/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-4974/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5956663070331358034.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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]] ========================================================= [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.23 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-22918 in /w/workspace/edgexfoundry_edgex-go_PR-4974 [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/4974/head:refs/remotes/origin/PR-4974 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0f2c1aa65e1f19339a388a0f771fbaa268164f8e into PR head commit d26cb89b66a3b173e1c21f7453cf1e03733c1ef3 Merge succeeded, producing 0c1a59a535f35b19fe2ec8dea929dee161ba754c Checking out Revision 0c1a59a535f35b19fe2ec8dea929dee161ba754c (PR-4974) > git config core.sparsecheckout # timeout=10 > git checkout -f d26cb89b66a3b173e1c21f7453cf1e03733c1ef3 # 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 0f2c1aa65e1f19339a388a0f771fbaa268164f8e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0c1a59a535f35b19fe2ec8dea929dee161ba754c # timeout=10 Commit message: "Merge commit '0f2c1aa65e1f19339a388a0f771fbaa268164f8e' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:29:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:29:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:29:14 ========================================================= 08:29:14 EdgeX Global Pipelines Version Info 08:29:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:29:15 ------------------- 08:29:15 stable info: 08:29:15 ------------------- 08:29:15 Commited By: Ginny Guan ginny@iotechsys.com 08:29:15 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 08:29:15 Message: update stable to v1.0.265 08:29:16 ------------------- 08:29:16 experimental info: 08:29:16 ------------------- 08:29:16 Commited By: Cherry Wang cherry@iotechsys.com 08:29:16 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 08:29:16 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:29:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 08:29:16 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 08:29:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:29:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:29:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:29:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 08:29:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:29:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 08:29:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 08:29:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 08:29:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:29:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:29:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:29:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:29:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:29:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:29:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:29:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:29:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:29:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 08:29:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:29:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:29:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:29:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4974 [Pipeline] echo 08:29:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4974 [Pipeline] echo 08:29:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4974 [Pipeline] echo 08:29:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0c1a59a535f35b19fe2ec8dea929dee161ba754c [Pipeline] echo 08:29:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0c1a59a [Pipeline] echo 08:29:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:29:18 provisioning config files... 08:29:18 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config3709140401434563536tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:29:18 ---> ****-login.sh 08:29:18 nexus3.edgexfoundry.org:10001 08:29:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:29:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:29:18 Configure a credential helper to remove this warning. See 08:29:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:29:18 08:29:18 Login Succeeded 08:29:18 nexus3.edgexfoundry.org:10002 08:29:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:29:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:29:19 Configure a credential helper to remove this warning. See 08:29:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:29:19 08:29:19 Login Succeeded 08:29:19 nexus3.edgexfoundry.org:10003 08:29:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:29:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:29:19 Configure a credential helper to remove this warning. See 08:29:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:29:19 08:29:19 Login Succeeded 08:29:19 nexus3.edgexfoundry.org:10004 08:29:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:29:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:29:19 Configure a credential helper to remove this warning. See 08:29:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:29:19 08:29:19 Login Succeeded 08:29:19 ****.io 08:29:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:29:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:29:19 Configure a credential helper to remove this warning. See 08:29:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:29:19 08:29:19 Login Succeeded 08:29:19 ---> ****-login.sh ends [Pipeline] } 08:29:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:29:20 + ls cmd/core-command/Dockerfile cmd/core-common-config-bootstrapper/Dockerfile cmd/core-data/Dockerfile cmd/core-keeper/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-auth/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-cron-scheduler/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile 08:29:20 + cut -d/ -f2 08:29:20 + dirname cmd/core-command/Dockerfile 08:29:20 + echo core-command,cmd/core-command/Dockerfile 08:29:20 + dirname cmd/core-common-config-bootstrapper/Dockerfile 08:29:20 + cut -d/ -f2 08:29:20 + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile 08:29:20 + dirname cmd/core-data/Dockerfile 08:29:20 + cut -d/ -f2 08:29:20 + echo core-data,cmd/core-data/Dockerfile 08:29:20 + + cut -d/dirname -f2 cmd/core-keeper/Dockerfile 08:29:20 08:29:20 + echo core-keeper,cmd/core-keeper/Dockerfile 08:29:20 + dirname cmd/core-metadata/Dockerfile 08:29:20 + cut -d/ -f2 08:29:20 + echo core-metadata,cmd/core-metadata/Dockerfile 08:29:20 + dirname cmd/security-bootstrapper/Dockerfile 08:29:20 + cut -d/ -f2 08:29:20 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 08:29:20 + dirname cmd/security-proxy-auth/Dockerfile 08:29:20 + cut -d/ -f2 08:29:20 + echo security-proxy-auth,cmd/security-proxy-auth/Dockerfile 08:29:20 + dirname cmd/security-proxy-setup/Dockerfile 08:29:20 + cut -d/ -f2 08:29:20 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 08:29:20 + dirname cmd/security-secretstore-setup/Dockerfile 08:29:20 + cut -d/ -f2 08:29:20 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 08:29:20 + dirname cmd/security-spiffe-token-provider/Dockerfile 08:29:20 + cut -d/ -f2 08:29:20 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 08:29:20 + dirname cmd/security-spire-agent/Dockerfile 08:29:20 + cut -d/ -f2 08:29:20 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 08:29:20 + dirname cmd/security-spire-config/Dockerfile 08:29:20 + cut -d/ -f2 08:29:20 + echo security-spire-config,cmd/security-spire-config/Dockerfile 08:29:20 + dirname cmd/security-spire-server/Dockerfile 08:29:20 + cut -d/ -f2 08:29:20 + echo security-spire-server,cmd/security-spire-server/Dockerfile 08:29:20 + dirname cmd/support-cron-scheduler/Dockerfile 08:29:20 + cut -d/ -f2 08:29:20 + echo support-cron-scheduler,cmd/support-cron-scheduler/Dockerfile 08:29:20 + dirname cmd/support-notifications/Dockerfile 08:29:20 + cut -d/ -f2 08:29:20 + echo support-notifications,cmd/support-notifications/Dockerfile 08:29:20 + dirname cmd/support-scheduler/Dockerfile 08:29:20 + cut -d/ -f2 08:29:20 + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo 08:29:20 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-keeper, dockerfile:cmd/core-keeper/Dockerfile], [image:core-metadata, dockerfile:cmd/core-metadata/Dockerfile], [image:security-bootstrapper, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:security-proxy-auth, dockerfile:cmd/security-proxy-auth/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-cron-scheduler, dockerfile:cmd/support-cron-scheduler/Dockerfile], [image:support-notifications, dockerfile:cmd/support-notifications/Dockerfile], [image:support-scheduler, dockerfile:cmd/support-scheduler/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:29:20 + git rev-list -1 --merges 0c1a59a535f35b19fe2ec8dea929dee161ba754c~1..0c1a59a535f35b19fe2ec8dea929dee161ba754c [Pipeline] echo 08:29:20 -----------> git rev-list -1 --merges 0c1a59a535f35b19fe2ec8dea929dee161ba754c~1..0c1a59a535f35b19fe2ec8dea929dee161ba754c 0c1a59a535f35b19fe2ec8dea929dee161ba754c 08:29:20 0c1a59a535f35b19fe2ec8dea929dee161ba754c [false] [Pipeline] sh 08:29:21 + git log --format=format:%s -1 0c1a59a535f35b19fe2ec8dea929dee161ba754c [Pipeline] echo 08:29:21 ========================================================= 08:29:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:29:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 08:29:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:29:21 + grep -v github /etc/ssh/ssh_known_hosts 08:29:21 + [ -e /tmp/ssh_known_hosts ] 08:29:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:29:21 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 08:29:21 -a /etc/ssh/ssh_known_hosts 08:29:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:29:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:29:22 08:29:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:29:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:29:22 0.1.4: Pulling from edgex-devops/py-git-semver 08:29:22 b85a868b505f: Pulling fs layer 08:29:22 e2be974225ed: Pulling fs layer 08:29:22 339a4e72a1f5: Pulling fs layer 08:29:22 988bab9f4d93: Pulling fs layer 08:29:22 1469e6f7b9e6: Pulling fs layer 08:29:22 eaf3925da568: Pulling fs layer 08:29:22 bab4dde63d76: Pulling fs layer 08:29:22 bde34c3a00c8: Pulling fs layer 08:29:22 b352a97aabf1: Pulling fs layer 08:29:22 4872d77fe225: Pulling fs layer 08:29:22 5851b861e8e6: Pulling fs layer 08:29:22 bab4dde63d76: Waiting 08:29:22 bde34c3a00c8: Waiting 08:29:22 b352a97aabf1: Waiting 08:29:22 4872d77fe225: Waiting 08:29:22 1469e6f7b9e6: Waiting 08:29:22 eaf3925da568: Waiting 08:29:22 5851b861e8e6: Waiting 08:29:22 988bab9f4d93: Waiting 08:29:22 e2be974225ed: Download complete 08:29:22 988bab9f4d93: Download complete 08:29:22 1469e6f7b9e6: Verifying Checksum 08:29:22 1469e6f7b9e6: Download complete 08:29:22 339a4e72a1f5: Verifying Checksum 08:29:22 339a4e72a1f5: Download complete 08:29:22 eaf3925da568: Verifying Checksum 08:29:22 eaf3925da568: Download complete 08:29:23 bde34c3a00c8: Verifying Checksum 08:29:23 bde34c3a00c8: Download complete 08:29:23 b352a97aabf1: Download complete 08:29:23 4872d77fe225: Verifying Checksum 08:29:23 4872d77fe225: Download complete 08:29:23 5851b861e8e6: Verifying Checksum 08:29:23 5851b861e8e6: Download complete 08:29:23 b85a868b505f: Verifying Checksum 08:29:23 b85a868b505f: Download complete 08:29:23 bab4dde63d76: Verifying Checksum 08:29:23 bab4dde63d76: Download complete 08:29:24 b85a868b505f: Pull complete 08:29:24 e2be974225ed: Pull complete 08:29:24 339a4e72a1f5: Pull complete 08:29:24 988bab9f4d93: Pull complete 08:29:25 1469e6f7b9e6: Pull complete 08:29:25 eaf3925da568: Pull complete 08:29:26 bab4dde63d76: Pull complete 08:29:26 bde34c3a00c8: Pull complete 08:29:26 b352a97aabf1: Pull complete 08:29:26 4872d77fe225: Pull complete 08:29:26 5851b861e8e6: Pull complete 08:29:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:29:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:29:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:29:27 prd-ubuntu20.04-docker-8c-8g-22918 does not seem to be running inside a container 08:29:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:29:30 $ docker top db57b96ed60e22bf0b47b4e9ce8e3ec2b1fb0e8d966333fca17afe8b93de0974 -eo pid,comm 08:29:30 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 08:29:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:29:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:29:30 [ssh-agent] Looking for ssh-agent implementation... 08:29:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:29:30 $ docker exec db57b96ed60e22bf0b47b4e9ce8e3ec2b1fb0e8d966333fca17afe8b93de0974 ssh-agent 08:29:30 SSH_AUTH_SOCK=/tmp/ssh-cG4N2hzhOscM/agent.33 08:29:30 SSH_AGENT_PID=39 08:29:30 Running ssh-add (command line suppressed) 08:29:30 Identity added: /w/workspace/edgex-go/1@tmp/private_key_9150348274633845832.key (/w/workspace/edgex-go/1@tmp/private_key_9150348274633845832.key) 08:29:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:29:30 + git tag --points-at HEAD [Pipeline] } 08:29:30 $ docker exec --env ******** --env ******** db57b96ed60e22bf0b47b4e9ce8e3ec2b1fb0e8d966333fca17afe8b93de0974 ssh-agent -k 08:29:31 unset SSH_AUTH_SOCK; 08:29:31 unset SSH_AGENT_PID; 08:29:31 echo Agent pid 39 killed; 08:29:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:29:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:29:31 [ssh-agent] Looking for ssh-agent implementation... 08:29:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:29:31 $ docker exec db57b96ed60e22bf0b47b4e9ce8e3ec2b1fb0e8d966333fca17afe8b93de0974 ssh-agent 08:29:31 SSH_AUTH_SOCK=/tmp/ssh-jtLwED3knIvh/agent.72 08:29:31 SSH_AGENT_PID=78 08:29:31 Running ssh-add (command line suppressed) 08:29:31 Identity added: /w/workspace/edgex-go/1@tmp/private_key_12359724245196813952.key (/w/workspace/edgex-go/1@tmp/private_key_12359724245196813952.key) 08:29:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:29:31 + git semver init 08:29:32 2024-10-16 08:29:32,041 [run_init] DEBUG init version:0.0.0 force:False 08:29:32 2024-10-16 08:29:32,042 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/1/.semver 08:29:32 2024-10-16 08:29:32,043 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/1/.semver 08:29:32 2024-10-16 08:29:32,043 [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) 08:29:38 2024-10-16 08:29:38,041 [append_file] DEBUG append to file:/w/workspace/edgex-go/1/.git/info/exclude 08:29:38 2024-10-16 08:29:38,042 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/1/.semver/PR-4974 with force:False 08:29:38 2024-10-16 08:29:38,042 [write_file] DEBUG write to file:/w/workspace/edgex-go/1/.semver/PR-4974 08:29:38 2024-10-16 08:29:38,044 [execute] INFO git cat-file --batch-check 08:29:38 2024-10-16 08:29:38,044 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 08:29:38 2024-10-16 08:29:38,048 [execute] INFO git cat-file --batch 08:29:38 2024-10-16 08:29:38,048 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 08:29:38 2024-10-16 08:29:38,053 [read_version] DEBUG read version from /w/workspace/edgex-go/1/.semver/PR-4974 08:29:38 0.0.0 [Pipeline] } 08:29:38 $ docker exec --env ******** --env ******** db57b96ed60e22bf0b47b4e9ce8e3ec2b1fb0e8d966333fca17afe8b93de0974 ssh-agent -k 08:29:38 unset SSH_AUTH_SOCK; 08:29:38 unset SSH_AGENT_PID; 08:29:38 echo Agent pid 78 killed; 08:29:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:29:39 + git semver [Pipeline] } 08:29:39 $ docker stop --time=1 db57b96ed60e22bf0b47b4e9ce8e3ec2b1fb0e8d966333fca17afe8b93de0974 08:29:40 $ docker rm -f --volumes db57b96ed60e22bf0b47b4e9ce8e3ec2b1fb0e8d966333fca17afe8b93de0974 [Pipeline] // withDockerContainer [Pipeline] sh 08:29:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:29:41 Stashed 1 file(s) [Pipeline] echo 08:29:41 [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) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] stage [Pipeline] { (Prep) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] // stage [Pipeline] } 08:29:43 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo 08:29:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:29:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:29:43 ========================================================= 08:29:43 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 08:29:43 ========================================================= [Pipeline] fileExists [Pipeline] sh 08:29:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 08:29:43 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 08:29:43 43c4264eed91: Pulling fs layer 08:29:43 4cc291be95ef: Pulling fs layer 08:29:43 2ac1f1163629: Pulling fs layer 08:29:43 5c3c966382ef: Pulling fs layer 08:29:43 4f4fb700ef54: Pulling fs layer 08:29:43 5d5c8e513c77: Pulling fs layer 08:29:43 9f66e0745190: Pulling fs layer 08:29:43 f49a43e4bbc0: Pulling fs layer 08:29:43 561ebcabdf7f: Pulling fs layer 08:29:43 9f66e0745190: Waiting 08:29:43 5c3c966382ef: Waiting 08:29:43 5d5c8e513c77: Waiting 08:29:43 561ebcabdf7f: Waiting 08:29:43 4f4fb700ef54: Waiting 08:29:43 4cc291be95ef: Verifying Checksum 08:29:43 4cc291be95ef: Download complete 08:29:43 5c3c966382ef: Verifying Checksum 08:29:43 5c3c966382ef: Download complete 08:29:43 4f4fb700ef54: Verifying Checksum 08:29:43 4f4fb700ef54: Download complete 08:29:43 5d5c8e513c77: Verifying Checksum 08:29:43 5d5c8e513c77: Download complete 08:29:43 43c4264eed91: Verifying Checksum 08:29:43 43c4264eed91: Download complete 08:29:43 9f66e0745190: Verifying Checksum 08:29:43 9f66e0745190: Download complete 08:29:43 43c4264eed91: Pull complete 08:29:43 561ebcabdf7f: Verifying Checksum 08:29:43 561ebcabdf7f: Download complete 08:29:43 4cc291be95ef: Pull complete 08:29:44 2ac1f1163629: Verifying Checksum 08:29:44 2ac1f1163629: Download complete 08:29:44 f49a43e4bbc0: Download complete 08:29:47 2ac1f1163629: Pull complete 08:29:47 5c3c966382ef: Pull complete 08:29:47 4f4fb700ef54: Pull complete 08:29:47 5d5c8e513c77: Pull complete 08:29:47 9f66e0745190: Pull complete 08:29:50 f49a43e4bbc0: Pull complete 08:29:50 561ebcabdf7f: Pull complete 08:29:50 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 08:29:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 08:29:50 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [Pipeline] fileExists [Pipeline] sh 08:29:51 + echo+ FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 08:29:51 WORKDIR /edgex 08:29:51 COPY go.mod . 08:29:51 RUN go mod download 08:29:51 docker build -t ci-base-image-x86_64 -f - . 08:29:51 Sending build context to Docker daemon 179.7MB 08:29:51 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 08:29:51 ---> 3a752c3f9dda 08:29:51 Step 2/4 : WORKDIR /edgex 08:29:56 ---> Running in 698e8e80ffb4 08:29:56 Removing intermediate container 698e8e80ffb4 08:29:56 ---> 1f19ca8b48c3 08:29:56 Step 3/4 : COPY go.mod . 08:29:57 ---> 635cfbca810f 08:29:57 Step 4/4 : RUN go mod download 08:29:57 ---> Running in 7b79be9f1aeb 08:30:23 Removing intermediate container 7b79be9f1aeb 08:30:23 ---> 5dcd7de2c1d2 08:30:23 Successfully built 5dcd7de2c1d2 08:30:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:30:24 + docker inspect -f . ci-base-image-x86_64 08:30:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:30:24 prd-ubuntu20.04-docker-8c-8g-22918 does not seem to be running inside a container 08:30:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:30:24 $ docker top 1b9719346b32cff1254ae5170a851a53ee2bc3deb313f9ac8033380a34209381 -eo pid,comm [Pipeline] { [Pipeline] sh 08:30:25 + go version 08:30:25 go version go1.23.2 linux/amd64 [Pipeline] } 08:30:25 $ docker stop --time=1 1b9719346b32cff1254ae5170a851a53ee2bc3deb313f9ac8033380a34209381 08:30:26 $ docker rm -f --volumes 1b9719346b32cff1254ae5170a851a53ee2bc3deb313f9ac8033380a34209381 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:30:27 + docker inspect -f . ci-base-image-x86_64 08:30:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:30:27 prd-ubuntu20.04-docker-8c-8g-22918 does not seem to be running inside a container 08:30:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:30:27 $ docker top c3c6ed23d7e9569df4d3ac9a0a05123474e7f2c52704e7a4ee24256b9bdab1b3 -eo pid,comm [Pipeline] { [Pipeline] echo 08:30:27 ========================================================= 08:30:27 [edgeXBuildGoParallel] Running Tests and Build... 08:30:27 ========================================================= [Pipeline] sh 08:30:28 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh 08:30:28 + make test 08:30:28 go test -race -coverprofile=coverage.out ./... 08:30:36 ? github.com/edgexfoundry/edgex-go [no test files] 08:30:54 # github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 08:30:54 internal/pkg/infrastructure/redis/reading.go:124:14: undefined: models.NullReading 08:30:54 internal/pkg/infrastructure/redis/reading.go:296:27: undefined: models.NullReading 08:31:05 github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper coverage: 0.0% of statements 08:31:05 github.com/edgexfoundry/edgex-go/cmd/core-command coverage: 0.0% of statements 08:31:06 # github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/postgres 08:31:06 internal/pkg/infrastructure/postgres/reading.go:261:18: cannot use *readingDBModel.Value (variable of type string) as *string value in struct literal 08:31:06 internal/pkg/infrastructure/postgres/reading.go:354:50: cannot use &contractReadingModel.Value (value of type **string) as *string value in struct literal 08:31:06 FAIL github.com/edgexfoundry/edgex-go/cmd/core-data [build failed] 08:31:06 FAIL github.com/edgexfoundry/edgex-go/cmd/core-keeper [build failed] 08:31:06 FAIL github.com/edgexfoundry/edgex-go/cmd/core-metadata [build failed] 08:31:06 github.com/edgexfoundry/edgex-go/cmd/security-proxy-auth coverage: 0.0% of statements 08:31:06 github.com/edgexfoundry/edgex-go/cmd/secrets-config coverage: 0.0% of statements 08:31:06 github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper coverage: 0.0% of statements 08:31:06 github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider coverage: 0.0% of statements 08:31:06 github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup coverage: 0.0% of statements 08:31:06 github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider coverage: 0.0% of statements 08:31:07 FAIL github.com/edgexfoundry/edgex-go/cmd/support-cron-scheduler [build failed] 08:31:07 FAIL github.com/edgexfoundry/edgex-go/cmd/support-notifications [build failed] 08:31:07 FAIL github.com/edgexfoundry/edgex-go/cmd/support-scheduler [build failed] 08:31:07 ? github.com/edgexfoundry/edgex-go/internal [no test files] 08:31:07 github.com/edgexfoundry/edgex-go/internal/core/command coverage: 0.0% of statements 08:31:09 github.com/edgexfoundry/edgex-go/internal/core/command/container coverage: 0.0% of statements 08:31:09 github.com/edgexfoundry/edgex-go/internal/core/command/config coverage: 0.0% of statements 08:31:10 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 1.059s coverage: 28.7% of statements 08:31:10 # github.com/edgexfoundry/edgex-go/internal/core/data/application [github.com/edgexfoundry/edgex-go/internal/core/data/application.test] 08:31:10 internal/core/data/application/event_test.go:60:10: cannot use "45" (untyped string constant) as *string value in struct literal 08:31:10 internal/core/data/application/event_test.go:84:10: cannot use "33" (untyped string constant) as *string value in struct literal 08:31:10 internal/core/data/application/event_test.go:96:10: cannot use "44" (untyped string constant) as *string value in struct literal 08:31:10 internal/core/data/application/event_test.go:108:10: cannot use "55" (untyped string constant) as *string value in struct literal 08:31:11 FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] 08:31:11 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/application [build failed] 08:31:11 github.com/edgexfoundry/edgex-go/internal/core/common_config coverage: 0.0% of statements 08:31:11 github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks coverage: 0.0% of statements 08:31:11 github.com/edgexfoundry/edgex-go/internal/core/data/container coverage: 0.0% of statements 08:31:11 github.com/edgexfoundry/edgex-go/internal/core/data/config coverage: 0.0% of statements 08:31:11 # github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/controller/http.test] 08:31:11 internal/core/data/controller/http/event_test.go:48:10: cannot use "45" (untyped string constant) as *string value in struct literal 08:31:11 internal/core/data/controller/http/event_test.go:77:9: cannot use TestReadingValue (untyped string constant "45") as *string value in struct literal 08:31:11 internal/core/data/controller/http/event_test.go:165:42: cannot use "" (untyped string constant) as *string value in assignment 08:31:11 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [build failed] 08:31:11 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 08:31:11 FAIL github.com/edgexfoundry/edgex-go/internal/core/keeper [build failed] 08:31:11 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/constants [no test files] 08:31:11 github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging coverage: 0.0% of statements 08:31:11 github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks coverage: 0.0% of statements 08:31:11 github.com/edgexfoundry/edgex-go/internal/core/data/mocks coverage: 0.0% of statements 08:31:11 github.com/edgexfoundry/edgex-go/internal/core/keeper/application coverage: 0.0% of statements 08:31:11 github.com/edgexfoundry/edgex-go/internal/core/keeper/config coverage: 0.0% of statements 08:31:11 github.com/edgexfoundry/edgex-go/internal/core/keeper/container coverage: 0.0% of statements 08:31:11 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 1.062s coverage: 97.0% of statements 08:31:12 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/infrastructure/interfaces [no test files] 08:31:12 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] 08:31:12 github.com/edgexfoundry/edgex-go/internal/core/keeper/infrastructure/interfaces/mocks coverage: 0.0% of statements 08:31:12 github.com/edgexfoundry/edgex-go/internal/core/keeper/registry coverage: 0.0% of statements 08:31:12 github.com/edgexfoundry/edgex-go/internal/core/keeper/utils coverage: 0.0% of statements 08:31:12 github.com/edgexfoundry/edgex-go/internal/core/metadata/container coverage: 0.0% of statements 08:31:12 github.com/edgexfoundry/edgex-go/internal/core/metadata/config coverage: 0.0% of statements 08:31:15 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 4.065s coverage: 69.2% of statements 08:31:15 ok github.com/edgexfoundry/edgex-go/internal/core/keeper/controller/http 1.052s coverage: 91.7% of statements 08:31:15 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 1.056s coverage: 10.0% of statements 08:31:15 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 08:31:15 FAIL github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [build failed] 08:31:15 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 08:31:15 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 08:31:15 github.com/edgexfoundry/edgex-go/internal/core/metadata/uom coverage: 0.0% of statements 08:31:15 github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks coverage: 0.0% of statements 08:31:15 github.com/edgexfoundry/edgex-go/internal/pkg/common coverage: 0.0% of statements 08:31:15 github.com/edgexfoundry/edgex-go/internal/pkg coverage: 0.0% of statements 08:31:15 github.com/edgexfoundry/edgex-go/internal/pkg/db/postgres coverage: 0.0% of statements 08:31:15 github.com/edgexfoundry/edgex-go/internal/pkg/correlation coverage: 0.0% of statements 08:31:15 FAIL github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/postgres [build failed] 08:31:15 FAIL github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis [build failed] 08:31:15 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 08:31:15 github.com/edgexfoundry/edgex-go/internal/pkg/db/redis coverage: 0.0% of statements 08:31:15 github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/postgres/models coverage: 0.0% of statements 08:31:16 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper coverage: 0.0% of statements 08:31:16 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.394s coverage: 95.8% of statements 08:31:16 ok github.com/edgexfoundry/edgex-go/internal/io 1.029s coverage: 72.2% of statements 08:31:17 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 1.025s coverage: 42.5% of statements 08:31:17 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 1.025s coverage: 41.7% of statements 08:31:17 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.023s coverage: 77.8% of statements 08:31:17 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 1.021s coverage: 94.1% of statements 08:31:17 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 1.028s coverage: 96.3% of statements 08:31:18 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 08:31:18 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 1.025s coverage: 87.5% of statements 08:31:18 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers coverage: 0.0% of statements 08:31:18 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container coverage: 0.0% of statements 08:31:18 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config coverage: 0.0% of statements 08:31:18 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 08:31:18 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config coverage: 0.0% of statements 08:31:18 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container coverage: 0.0% of statements 08:31:18 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto coverage: 0.0% of statements 08:31:20 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/postgres coverage: 0.0% of statements 08:31:20 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/postgres/container coverage: 0.0% of statements 08:31:20 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/postgres/config coverage: 0.0% of statements 08:31:21 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis coverage: 0.0% of statements 08:31:21 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container coverage: 0.0% of statements 08:31:21 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config coverage: 0.0% of statements 08:31:21 github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers coverage: 0.0% of statements 08:31:21 github.com/edgexfoundry/edgex-go/internal/security/config coverage: 0.0% of statements 08:31:21 github.com/edgexfoundry/edgex-go/internal/security/config/command coverage: 0.0% of statements 08:31:22 github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy coverage: 0.0% of statements 08:31:23 github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared coverage: 0.0% of statements 08:31:24 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 08:31:26 github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container coverage: 0.0% of statements 08:31:26 github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config coverage: 0.0% of statements 08:31:28 github.com/edgexfoundry/edgex-go/internal/security/proxyauth coverage: 0.0% of statements 08:31:28 github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config coverage: 0.0% of statements 08:31:28 github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container coverage: 0.0% of statements 08:31:30 github.com/edgexfoundry/edgex-go/internal/security/secretstore/container coverage: 0.0% of statements 08:31:30 github.com/edgexfoundry/edgex-go/internal/security/secretstore/config coverage: 0.0% of statements 08:31:30 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 13.031s coverage: 94.4% of statements 08:31:30 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 08:31:30 github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider coverage: 0.0% of statements 08:31:30 github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config coverage: 0.0% of statements 08:31:30 FAIL github.com/edgexfoundry/edgex-go/internal/support/cronscheduler [build failed] 08:31:30 github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container coverage: 0.0% of statements 08:31:32 github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/application/action coverage: 0.0% of statements 08:31:32 github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/container coverage: 0.0% of statements 08:31:32 github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/config coverage: 0.0% of statements 08:31:33 ? github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/infrastructure/interfaces [no test files] 08:31:33 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] 08:31:33 github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/infrastructure/interfaces/mocks coverage: 0.0% of statements 08:31:34 github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks coverage: 0.0% of statements 08:31:34 github.com/edgexfoundry/edgex-go/internal/support/notifications/container coverage: 0.0% of statements 08:31:34 github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel coverage: 0.0% of statements 08:31:34 github.com/edgexfoundry/edgex-go/internal/support/notifications/config coverage: 0.0% of statements 08:31:36 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 08:31:36 FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] 08:31:36 github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks coverage: 0.0% of statements 08:31:36 github.com/edgexfoundry/edgex-go/internal/support/scheduler/application coverage: 0.0% of statements 08:31:37 github.com/edgexfoundry/edgex-go/internal/support/scheduler/config coverage: 0.0% of statements 08:31:37 github.com/edgexfoundry/edgex-go/internal/support/scheduler/container coverage: 0.0% of statements 08:31:37 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 08:31:37 github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks coverage: 0.0% of statements 08:31:42 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 24.279s coverage: 79.9% of statements 08:31:42 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.048s coverage: 92.9% of statements 08:31:42 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 1.049s coverage: 66.7% of statements 08:31:42 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 7.031s coverage: 62.3% of statements 08:31:42 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/postgres/handlers 1.025s coverage: 75.0% of statements 08:31:42 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 12.036s coverage: 87.2% of statements 08:31:42 ok github.com/edgexfoundry/edgex-go/internal/security/common 1.020s coverage: 20.0% of statements 08:31:42 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 1.021s coverage: 100.0% of statements 08:31:42 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 1.065s coverage: 81.8% of statements 08:31:42 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 1.063s coverage: 82.1% of statements 08:31:42 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 1.024s coverage: 86.0% of statements 08:31:42 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.291s coverage: 63.1% of statements 08:31:42 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 1.028s coverage: 100.0% of statements 08:31:42 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 1.022s coverage: 89.4% of statements 08:31:42 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 1.018s coverage: 100.0% of statements 08:31:42 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 1.024s coverage: 73.7% of statements 08:31:42 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 1.018s coverage: 100.0% of statements 08:31:42 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 1.136s coverage: 36.5% of statements 08:31:42 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 1.026s coverage: 89.5% of statements 08:31:42 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 1.042s coverage: 84.8% of statements 08:31:42 ok github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/application 1.030s coverage: 9.9% of statements 08:31:42 ok github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/controller/http 1.064s coverage: 97.1% of statements 08:31:42 ok github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/infrastructure 1.028s coverage: 45.8% of statements 08:31:42 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 7.053s coverage: 19.6% of statements 08:31:42 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 1.133s coverage: 95.7% of statements 08:31:42 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 1.029s coverage: 61.8% of statements 08:31:42 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 1.070s coverage: 98.9% of statements 08:31:42 FAIL 08:31:42 make: *** [Makefile:174: unittest] Error 1 [Pipeline] } 08:31:43 $ docker stop --time=1 c3c6ed23d7e9569df4d3ac9a0a05123474e7f2c52704e7a4ee24256b9bdab1b3 08:31:44 $ docker rm -f --volumes c3c6ed23d7e9569df4d3ac9a0a05123474e7f2c52704e7a4ee24256b9bdab1b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:31:46 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 08:31:48 + [ -d /w/workspace/edgex-go/1/archives ] [Pipeline] libraryResource [Pipeline] sh 08:31:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:31:49 ---> package-listing.sh 08:31:49 ++ facter osfamily 08:31:49 ++ tr '[:upper:]' '[:lower:]' 08:31:49 + OS_FAMILY=debian 08:31:49 + workspace=/w/workspace/edgex-go/1 08:31:49 + START_PACKAGES=/tmp/packages_start.txt 08:31:49 + END_PACKAGES=/tmp/packages_end.txt 08:31:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:31:49 + PACKAGES=/tmp/packages_start.txt 08:31:49 + '[' /w/workspace/edgex-go/1 ']' 08:31:49 + PACKAGES=/tmp/packages_end.txt 08:31:49 + case "${OS_FAMILY}" in 08:31:49 + dpkg -l 08:31:49 + grep '^ii' 08:31:49 + '[' -f /tmp/packages_start.txt ']' 08:31:49 + '[' -f /tmp/packages_end.txt ']' 08:31:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:31:49 + '[' /w/workspace/edgex-go/1 ']' 08:31:49 + mkdir -p /w/workspace/edgex-go/1/archives/ 08:31:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 08:31:49 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 08:31:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:31:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:31:50 08:31:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:31:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:31:50 latest: Pulling from edgex-lftools-log-publisher 08:31:50 5eb5b503b376: Pulling fs layer 08:31:50 5c69ac0246d0: Pulling fs layer 08:31:50 ec43610c2a17: Pulling fs layer 08:31:50 3a2ae6a8a46f: Pulling fs layer 08:31:50 33b1e0a273af: Pulling fs layer 08:31:50 5d3b04190fa2: Pulling fs layer 08:31:50 2f39f015ded8: Pulling fs layer 08:31:50 3a2ae6a8a46f: Waiting 08:31:50 5d3b04190fa2: Waiting 08:31:50 2f39f015ded8: Waiting 08:31:50 5c69ac0246d0: Verifying Checksum 08:31:50 5c69ac0246d0: Download complete 08:31:50 3a2ae6a8a46f: Verifying Checksum 08:31:50 3a2ae6a8a46f: Download complete 08:31:50 33b1e0a273af: Verifying Checksum 08:31:50 33b1e0a273af: Download complete 08:31:50 ec43610c2a17: Verifying Checksum 08:31:50 ec43610c2a17: Download complete 08:31:50 5d3b04190fa2: Download complete 08:31:51 5eb5b503b376: Download complete 08:31:51 2f39f015ded8: Download complete 08:31:52 5eb5b503b376: Pull complete 08:31:52 5c69ac0246d0: Pull complete 08:31:52 ec43610c2a17: Pull complete 08:31:52 3a2ae6a8a46f: Pull complete 08:31:53 33b1e0a273af: Pull complete 08:31:53 5d3b04190fa2: Pull complete 08:31:57 2f39f015ded8: Pull complete 08:31:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:31:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:31:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:31:57 prd-ubuntu20.04-docker-8c-8g-22918 does not seem to be running inside a container 08:31:57 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:32:02 $ docker top 9aa5d934a2130c8c10c8fd02f3d07ca789cbb05ef03a5001dc1b3709860985cc -eo pid,comm [Pipeline] { [Pipeline] sh 08:32:02 + touch /tmp/pre-build-complete [Pipeline] sh 08:32:02 + mkdir -p /var/log/sysstat [Pipeline] sh 08:32:03 + ls /var/log/sa-host 08:32:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:32:03 provisioning config files... 08:32:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config17565275202587946288tmp [Pipeline] { [Pipeline] echo 08:32:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:32:03 ---> create-netrc.sh [Pipeline] } 08:32:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:32:04 ---> python-tools-install.sh [Pipeline] echo 08:32:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:32:04 ---> sudo-logs.sh 08:32:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:32:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:32:04 ---> job-cost.sh 08:32:04 lf-activate-venv: SKIPPING 08:32:04 INFO: No Stack... 08:32:05 INFO: Retrieving Pricing Info for: v3-standard-8 08:32:05 INFO: Archiving Costs [Pipeline] echo 08:32:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:32:05 ---> logs-deploy.sh 08:32:05 lf-activate-venv: SKIPPING 08:32:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4974/1 08:32:05 INFO: archiving workspace using pattern(s): 08:32:06 Archives upload complete. 08:32:06 INFO: archiving logs to Nexus