Pull request #4429 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5db34d0b6603a0a9814992f4ac4419f8bffed330+97ead1fc80aa095b46845053832efa05950d1120 (9d81859db0eb533be1600e4677ddec2c70846147) 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-ssh14448299607616307728.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-ssh12185559377347732881.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4429/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4429/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12371605363747367984.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2502426406976024012.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4429/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4429/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8814532821237015041.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9551 in /w/workspace/edgexfoundry_edgex-go_PR-4429 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/3 [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/3 # 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 Merging remotes/origin/main commit 97ead1fc80aa095b46845053832efa05950d1120 into PR head commit 5db34d0b6603a0a9814992f4ac4419f8bffed330 Merge succeeded, producing 5db34d0b6603a0a9814992f4ac4419f8bffed330 Checking out Revision 5db34d0b6603a0a9814992f4ac4419f8bffed330 (PR-4429) > 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/4429/head:refs/remotes/origin/PR-4429 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5db34d0b6603a0a9814992f4ac4419f8bffed330 # 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 97ead1fc80aa095b46845053832efa05950d1120 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5db34d0b6603a0a9814992f4ac4419f8bffed330 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:49:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:49:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:49:09 ========================================================= 00:49:09 EdgeX Global Pipelines Version Info 00:49:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:49:09 ------------------- 00:49:09 stable info: 00:49:09 ------------------- 00:49:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:49:09 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 00:49:09 Message: update stable to v1.0.244 > git rev-list --no-walk e6b93cfb635b22a1e2f6f3c6a059d29c9bf25fc3 # timeout=10 00:49:10 ------------------- 00:49:10 experimental info: 00:49:10 ------------------- 00:49:10 Commited By: **** collab-it+edgex@linuxfoundation.org 00:49:10 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 00:49:10 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:49:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 00:49:10 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 00:49:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:49:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:49:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:49:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 00:49:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:49:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 00:49:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 00:49:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 00:49:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:49:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:49:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:49:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:49:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:49:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:49:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:49:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:49:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:49:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 00:49:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:49:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:49:10 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:49:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4429 [Pipeline] echo 00:49:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4429 [Pipeline] echo 00:49:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4429 [Pipeline] echo 00:49:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5db34d0b6603a0a9814992f4ac4419f8bffed330 [Pipeline] echo 00:49:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5db34d0 [Pipeline] echo 00:49:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:49:11 provisioning config files... 00:49:11 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/3@tmp/config5282967685436948419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:49:11 ---> docker-login.sh 00:49:11 nexus3.edgexfoundry.org:10001 00:49:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:49:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:49:11 Configure a credential helper to remove this warning. See 00:49:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:49:11 00:49:11 Login Succeeded 00:49:11 nexus3.edgexfoundry.org:10002 00:49:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:49:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:49:11 Configure a credential helper to remove this warning. See 00:49:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:49:11 00:49:11 Login Succeeded 00:49:11 nexus3.edgexfoundry.org:10003 00:49:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:49:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:49:11 Configure a credential helper to remove this warning. See 00:49:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:49:11 00:49:11 Login Succeeded 00:49:11 nexus3.edgexfoundry.org:10004 00:49:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:49:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:49:12 Configure a credential helper to remove this warning. See 00:49:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:49:12 00:49:12 Login Succeeded 00:49:12 docker.io 00:49:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:49:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:49:12 Configure a credential helper to remove this warning. See 00:49:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:49:12 00:49:12 Login Succeeded 00:49:12 ---> docker-login.sh ends [Pipeline] } 00:49:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:49:12 + 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-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-notifications/Dockerfile cmd/support-scheduler/Dockerfile 00:49:12 + dirname cmd/core-command/Dockerfile 00:49:12 + cut -d/ -f2 00:49:12 + echo core-command,cmd/core-command/Dockerfile 00:49:12 + dirname cmd/core-common-config-bootstrapper/Dockerfile 00:49:12 + cut -d/ -f2 00:49:12 + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile 00:49:12 + dirname cmd/core-data/Dockerfile 00:49:12 + cut -d/ -f2 00:49:12 + echo core-data,cmd/core-data/Dockerfile 00:49:12 + dirname cmd/core-metadata/Dockerfile 00:49:12 + cut -d/ -f2 00:49:12 + echo core-metadata,cmd/core-metadata/Dockerfile 00:49:12 + dirname cmd/security-bootstrapper/Dockerfile 00:49:12 + cut -d/ -f2 00:49:12 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 00:49:12 + dirname cmd/security-proxy-auth/Dockerfile 00:49:12 + cut -d/ -f2 00:49:12 + echo security-proxy-auth,cmd/security-proxy-auth/Dockerfile 00:49:12 + dirname cmd/security-proxy-setup/Dockerfile 00:49:12 + cut -d/ -f2 00:49:12 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 00:49:12 + dirname cmd/security-secretstore-setup/Dockerfile 00:49:12 + cut -d/ -f2 00:49:12 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 00:49:12 + dirname cmd/security-spiffe-token-provider/Dockerfile 00:49:12 + cut -d/ -f2 00:49:12 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 00:49:12 + dirname cmd/security-spire-agent/Dockerfile 00:49:12 + cut -d/ -f2 00:49:12 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 00:49:12 + dirname cmd/security-spire-config/Dockerfile 00:49:12 + cut -d/ -f2 00:49:12 + echo security-spire-config,cmd/security-spire-config/Dockerfile 00:49:12 + dirname cmd/security-spire-server/Dockerfile 00:49:12 + cut -d/ -f2 00:49:12 + echo security-spire-server,cmd/security-spire-server/Dockerfile 00:49:12 + dirname cmd/support-notifications/Dockerfile 00:49:12 + cut -d/ -f2 00:49:12 + echo support-notifications,cmd/support-notifications/Dockerfile 00:49:12 + dirname cmd/support-scheduler/Dockerfile 00:49:12 + cut -d/ -f2 00:49:12 + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo 00:49:12 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-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-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 00:49:13 + git rev-list -1 --merges 5db34d0b6603a0a9814992f4ac4419f8bffed330~1..5db34d0b6603a0a9814992f4ac4419f8bffed330 [Pipeline] echo 00:49:13 -----------> git rev-list -1 --merges 5db34d0b6603a0a9814992f4ac4419f8bffed330~1..5db34d0b6603a0a9814992f4ac4419f8bffed330 5db34d0b6603a0a9814992f4ac4419f8bffed330 [false] [Pipeline] sh 00:49:13 + git log --format=format:%s -1 5db34d0b6603a0a9814992f4ac4419f8bffed330 [Pipeline] echo 00:49:13 ========================================================= 00:49:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:49:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 00:49:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:49:13 + grep -v github /etc/ssh/ssh_known_hosts 00:49:13 + [ -e /tmp/ssh_known_hosts ] 00:49:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:49:13 + + sudo tee -a /etc/ssh/ssh_known_hosts 00:49:13 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:49:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:49:14 00:49:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:49:14 0.1.4: Pulling from edgex-devops/py-git-semver 00:49:14 b85a868b505f: Pulling fs layer 00:49:14 e2be974225ed: Pulling fs layer 00:49:14 339a4e72a1f5: Pulling fs layer 00:49:14 988bab9f4d93: Pulling fs layer 00:49:14 1469e6f7b9e6: Pulling fs layer 00:49:14 988bab9f4d93: Waiting 00:49:14 eaf3925da568: Pulling fs layer 00:49:14 bab4dde63d76: Pulling fs layer 00:49:14 1469e6f7b9e6: Waiting 00:49:14 bde34c3a00c8: Pulling fs layer 00:49:14 eaf3925da568: Waiting 00:49:14 bab4dde63d76: Waiting 00:49:14 b352a97aabf1: Pulling fs layer 00:49:14 4872d77fe225: Pulling fs layer 00:49:14 5851b861e8e6: Pulling fs layer 00:49:14 b352a97aabf1: Waiting 00:49:14 4872d77fe225: Waiting 00:49:14 5851b861e8e6: Waiting 00:49:14 e2be974225ed: Verifying Checksum 00:49:14 e2be974225ed: Download complete 00:49:14 988bab9f4d93: Verifying Checksum 00:49:14 988bab9f4d93: Download complete 00:49:14 1469e6f7b9e6: Verifying Checksum 00:49:14 1469e6f7b9e6: Download complete 00:49:14 339a4e72a1f5: Verifying Checksum 00:49:14 339a4e72a1f5: Download complete 00:49:14 eaf3925da568: Verifying Checksum 00:49:14 eaf3925da568: Download complete 00:49:14 bde34c3a00c8: Download complete 00:49:14 b352a97aabf1: Download complete 00:49:14 4872d77fe225: Verifying Checksum 00:49:14 4872d77fe225: Download complete 00:49:14 5851b861e8e6: Verifying Checksum 00:49:14 5851b861e8e6: Download complete 00:49:15 bab4dde63d76: Verifying Checksum 00:49:15 bab4dde63d76: Download complete 00:49:15 b85a868b505f: Verifying Checksum 00:49:15 b85a868b505f: Download complete 00:49:16 b85a868b505f: Pull complete 00:49:16 e2be974225ed: Pull complete 00:49:16 339a4e72a1f5: Pull complete 00:49:16 988bab9f4d93: Pull complete 00:49:16 1469e6f7b9e6: Pull complete 00:49:17 eaf3925da568: Pull complete 00:49:18 bab4dde63d76: Pull complete 00:49:18 bde34c3a00c8: Pull complete 00:49:18 b352a97aabf1: Pull complete 00:49:18 4872d77fe225: Pull complete 00:49:18 5851b861e8e6: Pull complete 00:49:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:49:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:49:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:49:19 prd-ubuntu20.04-docker-8c-8g-9551 does not seem to be running inside a container 00:49:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/3 -v /w/workspace/edgex-go/3:/w/workspace/edgex-go/3:rw,z -v /w/workspace/edgex-go/3@tmp:/w/workspace/edgex-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:49:20 $ docker top 326389e96c89f72fa68726914172f63080c3e9f4d123c42a571198d846d6f73e -eo pid,comm 00:49:20 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). 00:49:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:49:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:49:20 [ssh-agent] Looking for ssh-agent implementation... 00:49:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:49:21 $ docker exec 326389e96c89f72fa68726914172f63080c3e9f4d123c42a571198d846d6f73e ssh-agent 00:49:21 SSH_AUTH_SOCK=/tmp/ssh-lEWiSIG1QHKh/agent.31 00:49:21 SSH_AGENT_PID=37 00:49:21 Running ssh-add (command line suppressed) 00:49:21 Identity added: /w/workspace/edgex-go/3@tmp/private_key_1428286314700135954.key (/w/workspace/edgex-go/3@tmp/private_key_1428286314700135954.key) 00:49:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:49:21 + git tag --points-at HEAD [Pipeline] } 00:49:21 $ docker exec --env ******** --env ******** 326389e96c89f72fa68726914172f63080c3e9f4d123c42a571198d846d6f73e ssh-agent -k 00:49:21 unset SSH_AUTH_SOCK; 00:49:21 unset SSH_AGENT_PID; 00:49:21 echo Agent pid 37 killed; 00:49:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:49:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:49:21 [ssh-agent] Looking for ssh-agent implementation... 00:49:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:49:21 $ docker exec 326389e96c89f72fa68726914172f63080c3e9f4d123c42a571198d846d6f73e ssh-agent 00:49:21 SSH_AUTH_SOCK=/tmp/ssh-I3FZ20lfk3Wg/agent.70 00:49:21 SSH_AGENT_PID=76 00:49:21 Running ssh-add (command line suppressed) 00:49:22 Identity added: /w/workspace/edgex-go/3@tmp/private_key_9255289431229993328.key (/w/workspace/edgex-go/3@tmp/private_key_9255289431229993328.key) 00:49:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:49:22 + git semver init 00:49:22 2023-03-10 00:49:22,544 [run_init] DEBUG init version:0.0.0 force:False 00:49:22 2023-03-10 00:49:22,545 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/3/.semver 00:49:22 2023-03-10 00:49:22,545 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/3/.semver 00:49:22 2023-03-10 00:49:22,545 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/edgex-go.git', '/w/workspace/edgex-go/3/.semver'], cwd=/w/workspace/edgex-go/3, universal_newlines=False, shell=None, istream=None) 00:49:26 2023-03-10 00:49:26,367 [append_file] DEBUG append to file:/w/workspace/edgex-go/3/.git/info/exclude 00:49:26 2023-03-10 00:49:26,367 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/3/.semver/PR-4429 with force:False 00:49:26 2023-03-10 00:49:26,367 [write_file] DEBUG write to file:/w/workspace/edgex-go/3/.semver/PR-4429 00:49:26 2023-03-10 00:49:26,372 [execute] INFO git cat-file --batch-check 00:49:26 2023-03-10 00:49:26,372 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/3/.semver, universal_newlines=False, shell=None, istream=) 00:49:26 2023-03-10 00:49:26,378 [execute] INFO git cat-file --batch 00:49:26 2023-03-10 00:49:26,378 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/3/.semver, universal_newlines=False, shell=None, istream=) 00:49:26 2023-03-10 00:49:26,383 [read_version] DEBUG read version from /w/workspace/edgex-go/3/.semver/PR-4429 00:49:26 0.0.0 [Pipeline] } 00:49:26 $ docker exec --env ******** --env ******** 326389e96c89f72fa68726914172f63080c3e9f4d123c42a571198d846d6f73e ssh-agent -k 00:49:26 unset SSH_AUTH_SOCK; 00:49:26 unset SSH_AGENT_PID; 00:49:26 echo Agent pid 76 killed; 00:49:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:49:27 + git semver [Pipeline] } 00:49:27 $ docker stop --time=1 326389e96c89f72fa68726914172f63080c3e9f4d123c42a571198d846d6f73e 00:49:28 $ docker rm -f --volumes 326389e96c89f72fa68726914172f63080c3e9f4d123c42a571198d846d6f73e [Pipeline] // withDockerContainer [Pipeline] sh 00:49:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:49:29 Stashed 1 file(s) [Pipeline] echo 00:49:29 [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 00:49:29 + git config --global --add safe.directory /w/workspace/edgex-go/3 [Pipeline] echo 00:49:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:49:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:49:29 ========================================================= 00:49:29 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 00:49:29 ========================================================= [Pipeline] fileExists [Pipeline] sh 00:49:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:49:30 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 00:49:30 213ec9aee27d: Pulling fs layer 00:49:30 4583459ba037: Pulling fs layer 00:49:30 93c1e223e6f2: Pulling fs layer 00:49:30 53926ce57604: Pulling fs layer 00:49:30 21b2b0c7a3f4: Pulling fs layer 00:49:30 22ff95d597cd: Pulling fs layer 00:49:30 12d6caf4c0d1: Pulling fs layer 00:49:30 96b7cbca73a9: Pulling fs layer 00:49:30 53926ce57604: Waiting 00:49:30 12d6caf4c0d1: Waiting 00:49:30 96b7cbca73a9: Waiting 00:49:30 22ff95d597cd: Waiting 00:49:30 a7acece74701: Pulling fs layer 00:49:30 21b2b0c7a3f4: Waiting 00:49:30 a7acece74701: Waiting 00:49:30 93c1e223e6f2: Verifying Checksum 00:49:30 93c1e223e6f2: Download complete 00:49:30 4583459ba037: Verifying Checksum 00:49:30 4583459ba037: Download complete 00:49:30 21b2b0c7a3f4: Verifying Checksum 00:49:30 21b2b0c7a3f4: Download complete 00:49:30 22ff95d597cd: Verifying Checksum 00:49:30 22ff95d597cd: Download complete 00:49:30 213ec9aee27d: Verifying Checksum 00:49:30 213ec9aee27d: Download complete 00:49:30 12d6caf4c0d1: Verifying Checksum 00:49:30 12d6caf4c0d1: Download complete 00:49:30 213ec9aee27d: Pull complete 00:49:30 4583459ba037: Pull complete 00:49:30 93c1e223e6f2: Pull complete 00:49:30 a7acece74701: Verifying Checksum 00:49:30 a7acece74701: Download complete 00:49:30 53926ce57604: Verifying Checksum 00:49:30 53926ce57604: Download complete 00:49:30 96b7cbca73a9: Verifying Checksum 00:49:30 96b7cbca73a9: Download complete 00:49:34 53926ce57604: Pull complete 00:49:34 21b2b0c7a3f4: Pull complete 00:49:34 22ff95d597cd: Pull complete 00:49:34 12d6caf4c0d1: Pull complete 00:49:36 96b7cbca73a9: Pull complete 00:49:37 a7acece74701: Pull complete 00:49:37 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 00:49:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:49:37 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] fileExists [Pipeline] sh 00:49:37 + + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:49:37 WORKDIR /edgex 00:49:37 COPY go.mod . 00:49:37 RUN go mod download 00:49:37 docker build -t ci-base-image-x86_64 -f - . 00:49:38 Sending build context to Docker daemon 170.4MB 00:49:38 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:49:38 ---> db6d94c90886 00:49:38 Step 2/4 : WORKDIR /edgex 00:49:40 ---> Running in a5f364657ac3 00:49:40 Removing intermediate container a5f364657ac3 00:49:40 ---> f19c65e3e19b 00:49:40 Step 3/4 : COPY go.mod . 00:49:40 ---> 789942d7cd0a 00:49:40 Step 4/4 : RUN go mod download 00:49:40 ---> Running in dfd5512dbe27 00:49:44 Still waiting to schedule task 00:49:44 ‘prd-centos7-blackbox-4c-2g-8233’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:49:44 ‘prd-centos7-blackbox-4c-2g-8234’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:49:44 ‘prd-ubuntu18.04-docker-8c-8g-9496’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:49:44 ‘prd-ubuntu20.04-docker-8c-8g-9548’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:49:44 ‘prd-ubuntu20.04-docker-8c-8g-9549’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:49:44 ‘prd-ubuntu20.04-docker-arm64-4c-16g-9542’ is offline 00:49:44 ‘prd-ubuntu20.04-docker-arm64-4c-16g-9552’ is offline 00:49:52 Removing intermediate container dfd5512dbe27 00:49:52 ---> 0c2109328b7c 00:49:52 Successfully built 0c2109328b7c 00:49:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:53 + docker inspect -f . ci-base-image-x86_64 00:49:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:49:53 prd-ubuntu20.04-docker-8c-8g-9551 does not seem to be running inside a container 00:49:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/3 -v /w/workspace/edgex-go/3:/w/workspace/edgex-go/3:rw,z -v /w/workspace/edgex-go/3@tmp:/w/workspace/edgex-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:49:53 $ docker top 6781cb474680e6c34144d16ddecd83eaa9716a0e4cf89769fde2b61b18f43918 -eo pid,comm [Pipeline] { [Pipeline] sh 00:49:53 + go version 00:49:53 go version go1.18.7 linux/amd64 [Pipeline] } 00:49:53 $ docker stop --time=1 6781cb474680e6c34144d16ddecd83eaa9716a0e4cf89769fde2b61b18f43918 00:49:55 $ docker rm -f --volumes 6781cb474680e6c34144d16ddecd83eaa9716a0e4cf89769fde2b61b18f43918 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:55 + docker inspect -f . ci-base-image-x86_64 00:49:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:49:55 prd-ubuntu20.04-docker-8c-8g-9551 does not seem to be running inside a container 00:49:55 $ 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/3 -v /w/workspace/edgex-go/3:/w/workspace/edgex-go/3:rw,z -v /w/workspace/edgex-go/3@tmp:/w/workspace/edgex-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:49:56 $ docker top 1c6c97ac37c1208fe9162e0e36b4bd92bece5d15b5a31398ee9e62dbf0306a70 -eo pid,comm [Pipeline] { [Pipeline] echo 00:49:56 ========================================================= 00:49:56 [edgeXBuildGoParallel] Running Tests and Build... 00:49:56 ========================================================= [Pipeline] sh 00:49:56 + git config --global --add safe.directory /w/workspace/edgex-go/3 [Pipeline] fileExists [Pipeline] sh 00:49:56 + make test 00:49:56 go test -race -coverprofile=coverage.out ./... 00:50:03 ? github.com/edgexfoundry/edgex-go [no test files] 00:50:15 # github.com/edgexfoundry/edgex-go/internal/security/secretstore 00:50:15 internal/security/secretstore/main.go:75:3: cannot use configuration (variable of type *"github.com/edgexfoundry/edgex-go/internal/security/secretstore/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration in argument to bootstrap.RunAndReturnWaitGroup: 00:50:15 *"github.com/edgexfoundry/edgex-go/internal/security/secretstore/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) 00:50:15 # github.com/edgexfoundry/edgex-go/internal/core/command 00:50:15 internal/core/command/main.go:72:3: cannot use configuration (variable of type *"github.com/edgexfoundry/edgex-go/internal/core/command/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration in argument to bootstrap.Run: 00:50:15 *"github.com/edgexfoundry/edgex-go/internal/core/command/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) 00:50:15 # github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis 00:50:15 internal/security/bootstrapper/redis/configure.go:61:3: cannot use configuration (variable of type *"github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config".ConfigurationStruct) as type interfaces.Configuration in argument to bootstrap.RunAndReturnWaitGroup: 00:50:15 *"github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config".ConfigurationStruct does not implement interfaces.Configuration (missing GetWritablePtr method) 00:50:15 # github.com/edgexfoundry/edgex-go/internal/core/data 00:50:15 internal/core/data/main.go:68:3: cannot use configuration (variable of type *"github.com/edgexfoundry/edgex-go/internal/core/data/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration in argument to bootstrap.Run: 00:50:15 *"github.com/edgexfoundry/edgex-go/internal/core/data/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) 00:50:15 # github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto 00:50:15 internal/security/bootstrapper/mosquitto/configure.go:60:3: cannot use configuration (variable of type *"github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config".ConfigurationStruct) as type interfaces.Configuration in argument to bootstrap.RunAndReturnWaitGroup: 00:50:15 *"github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config".ConfigurationStruct does not implement interfaces.Configuration (missing GetWritablePtr method) 00:50:15 # github.com/edgexfoundry/edgex-go/internal/security/proxyauth 00:50:15 internal/security/proxyauth/main.go:70:3: cannot use configuration (variable of type *"github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration in argument to bootstrap.Run: 00:50:15 *"github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) 00:50:15 # github.com/edgexfoundry/edgex-go/internal/core/metadata 00:50:15 internal/core/metadata/main.go:69:3: cannot use configuration (variable of type *"github.com/edgexfoundry/edgex-go/internal/core/metadata/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration in argument to bootstrap.Run: 00:50:15 *"github.com/edgexfoundry/edgex-go/internal/core/metadata/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) 00:50:15 # github.com/edgexfoundry/edgex-go/internal/support/scheduler 00:50:15 internal/support/scheduler/main.go:67:3: cannot use configuration (variable of type *"github.com/edgexfoundry/edgex-go/internal/support/scheduler/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration in argument to bootstrap.Run: 00:50:15 *"github.com/edgexfoundry/edgex-go/internal/support/scheduler/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) 00:50:16 # github.com/edgexfoundry/edgex-go/internal/support/notifications 00:50:16 internal/support/notifications/main.go:73:3: cannot use configuration (variable of type *"github.com/edgexfoundry/edgex-go/internal/support/notifications/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration in argument to bootstrap.Run: 00:50:16 *"github.com/edgexfoundry/edgex-go/internal/support/notifications/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) 00:50:16 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.053s coverage: 28.7% of statements 00:50:16 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.087s coverage: 98.5% of statements 00:50:20 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 3.132s coverage: 71.2% of statements 00:50:20 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.086s coverage: 54.0% of statements 00:50:21 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 4.550s coverage: 88.5% of statements 00:50:21 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.074s coverage: 3.9% of statements 00:50:21 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.518s coverage: 95.6% of statements 00:50:21 ok github.com/edgexfoundry/edgex-go/internal/io 0.070s coverage: 72.2% of statements 00:50:21 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.060s coverage: 65.9% of statements 00:50:21 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.074s coverage: 0.9% of statements 00:50:21 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.078s coverage: 29.0% of statements 00:50:21 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.067s coverage: 45.5% of statements 00:50:21 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.082s coverage: 82.9% of statements 00:50:21 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.057s coverage: 94.1% of statements 00:50:21 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.121s coverage: 96.3% of statements 00:50:21 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.060s coverage: 87.5% of statements 00:50:26 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.063s coverage: 94.4% of statements 00:50:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 23.347s coverage: 79.9% of statements 00:50:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.079s coverage: 92.9% of statements 00:50:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.026s coverage: 64.4% of statements 00:50:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.094s coverage: 86.9% of statements 00:50:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.077s coverage: 87.2% of statements 00:50:45 ok github.com/edgexfoundry/edgex-go/internal/security/common 0.054s coverage: 20.0% of statements 00:50:45 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.053s coverage: 100.0% of statements 00:50:45 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser [build failed] 00:50:45 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser [build failed] 00:50:45 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.052s coverage: 84.8% of statements 00:50:45 FAIL github.com/edgexfoundry/edgex-go/internal/security/fileprovider [build failed] 00:50:45 FAIL github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks [build failed] 00:50:45 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.043s coverage: 89.4% of statements 00:50:45 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.035s coverage: 100.0% of statements 00:50:45 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.033s coverage: 73.7% of statements 00:50:45 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.032s coverage: 100.0% of statements 00:50:45 FAIL github.com/edgexfoundry/edgex-go/internal/security/secretstore [build failed] 00:50:45 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.054s coverage: 89.5% of statements 00:50:45 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.052s coverage: 84.8% of statements 00:50:45 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.081s coverage: 17.7% of statements 00:50:45 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.142s coverage: 92.3% of statements 00:50:45 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.063s coverage: 61.5% of statements 00:50:45 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.098s coverage: 97.7% of statements 00:50:45 make: *** [Makefile:148: unittest] Error 2 [Pipeline] } 00:50:45 $ docker stop --time=1 1c6c97ac37c1208fe9162e0e36b4bd92bece5d15b5a31398ee9e62dbf0306a70 00:50:46 $ docker rm -f --volumes 1c6c97ac37c1208fe9162e0e36b4bd92bece5d15b5a31398ee9e62dbf0306a70 [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] } 00:50:47 Failed in branch amd64 00:53:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9553 in /w/workspace/edgexfoundry_edgex-go_PR-4429 [Pipeline] { [Pipeline] ws 00:53:47 Running in /w/workspace/edgex-go/3 [Pipeline] { [Pipeline] checkout 00:53:47 The recommended git tool is: git 00:53:54 using credential edgex-jenkins-ssh 00:53:54 Cloning the remote Git repository 00:53:54 Cloning repository git@github.com:edgexfoundry/edgex-go.git 00:53:54 > git init /w/workspace/edgex-go/3 # timeout=10 00:53:54 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 00:53:54 > git --version # timeout=10 00:53:54 > git --version # 'git version 2.25.1' 00:53:54 using GIT_SSH to set credentials SSH Credentials for GitHub 00:53:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:54:16 Merging remotes/origin/main commit 97ead1fc80aa095b46845053832efa05950d1120 into PR head commit 5db34d0b6603a0a9814992f4ac4419f8bffed330 00:54:14 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 00:54:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:54:15 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 00:54:15 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 00:54:15 using GIT_SSH to set credentials SSH Credentials for GitHub 00:54:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4429/head:refs/remotes/origin/PR-4429 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:54:16 > git config core.sparsecheckout # timeout=10 00:54:16 > git checkout -f 5db34d0b6603a0a9814992f4ac4419f8bffed330 # timeout=10 00:54:16 Merge succeeded, producing 5db34d0b6603a0a9814992f4ac4419f8bffed330 00:54:16 Checking out Revision 5db34d0b6603a0a9814992f4ac4419f8bffed330 (PR-4429) 00:54:17 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:54:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:54:18 % Total % Received % Xferd Average Speed Time Time Time Current 00:54:18 Dload Upload Total Spent Left Speed 00:54:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 183k 0 --:--:-- --:--:-- --:--:-- 183k 00:54:16 > git remote # timeout=10 00:54:16 > git config --get remote.origin.url # timeout=10 00:54:16 using GIT_SSH to set credentials SSH Credentials for GitHub 00:54:16 > git merge 97ead1fc80aa095b46845053832efa05950d1120 # timeout=10 00:54:16 > git rev-parse HEAD^{commit} # timeout=10 00:54:16 > git config core.sparsecheckout # timeout=10 00:54:16 > git checkout -f 5db34d0b6603a0a9814992f4ac4419f8bffed330 # timeout=10 [Pipeline] sh 00:54:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:54:19 + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo 00:54:19 tee /etc/docker/daemon.new 00:54:19 { 00:54:19 "registry-mirrors": [ 00:54:19 "https://nexus3.edgexfoundry.org:10001" 00:54:19 ], 00:54:19 "bip": "10.250.0.254/24", 00:54:19 "hosts": [ 00:54:19 "tcp://0.0.0.0:5555", 00:54:19 "unix:///var/run/docker.sock" 00:54:19 ], 00:54:19 "mtu": 1458, 00:54:19 "selinux-enabled": true, 00:54:19 "seccomp-profile": "/etc/docker/seccomp.json" 00:54:19 } [Pipeline] sh 00:54:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:54:20 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:54:38 provisioning config files... 00:54:38 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/3@tmp/config7732316950060578801tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:54:38 ---> docker-login.sh 00:54:38 nexus3.edgexfoundry.org:10001 00:54:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:39 Configure a credential helper to remove this warning. See 00:54:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:39 00:54:39 Login Succeeded 00:54:39 nexus3.edgexfoundry.org:10002 00:54:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:40 Configure a credential helper to remove this warning. See 00:54:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:40 00:54:40 Login Succeeded 00:54:40 nexus3.edgexfoundry.org:10003 00:54:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:40 Configure a credential helper to remove this warning. See 00:54:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:40 00:54:40 Login Succeeded 00:54:40 nexus3.edgexfoundry.org:10004 00:54:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:40 Configure a credential helper to remove this warning. See 00:54:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:40 00:54:40 Login Succeeded 00:54:40 docker.io 00:54:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:41 Configure a credential helper to remove this warning. See 00:54:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:41 00:54:41 Login Succeeded 00:54:41 ---> docker-login.sh ends [Pipeline] } 00:54:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh 00:54:42 + git config --global --add safe.directory /w/workspace/edgex-go/3 [Pipeline] echo 00:54:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:54:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:54:42 ========================================================= 00:54:42 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 00:54:42 ========================================================= [Pipeline] fileExists [Pipeline] sh 00:54:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:54:42 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:54:42 9b18e9b68314: Pulling fs layer 00:54:42 35d82f9e3411: Pulling fs layer 00:54:42 e16973657156: Pulling fs layer 00:54:42 fc693d55d65f: Pulling fs layer 00:54:42 7e9fc2657dce: Pulling fs layer 00:54:42 dda99020689f: Pulling fs layer 00:54:42 db1c61fa0a46: Pulling fs layer 00:54:42 891c053d2c06: Pulling fs layer 00:54:42 fc693d55d65f: Waiting 00:54:42 dda99020689f: Waiting 00:54:42 7e9fc2657dce: Waiting 00:54:42 db1c61fa0a46: Waiting 00:54:42 891c053d2c06: Waiting 00:54:42 e16973657156: Verifying Checksum 00:54:42 e16973657156: Download complete 00:54:42 35d82f9e3411: Verifying Checksum 00:54:42 35d82f9e3411: Download complete 00:54:42 7e9fc2657dce: Verifying Checksum 00:54:42 7e9fc2657dce: Download complete 00:54:42 dda99020689f: Verifying Checksum 00:54:42 dda99020689f: Download complete 00:54:42 9b18e9b68314: Verifying Checksum 00:54:43 9b18e9b68314: Pull complete 00:54:44 891c053d2c06: Verifying Checksum 00:54:44 891c053d2c06: Download complete 00:54:44 35d82f9e3411: Pull complete 00:54:44 e16973657156: Pull complete 00:54:45 db1c61fa0a46: Download complete 00:54:46 fc693d55d65f: Verifying Checksum 00:54:46 fc693d55d65f: Download complete 00:54:58 fc693d55d65f: Pull complete 00:54:58 7e9fc2657dce: Pull complete 00:54:58 dda99020689f: Pull complete 00:55:05 db1c61fa0a46: Pull complete 00:55:07 891c053d2c06: Pull complete 00:55:07 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 00:55:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:55:07 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] fileExists [Pipeline] sh 00:55:08 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:55:08 WORKDIR /edgex 00:55:08 COPY go.mod . 00:55:08 RUN go mod download 00:55:08 + docker build -t ci-base-image-arm64 -f - . 00:55:08 Sending build context to Docker daemon 2.95MB 00:55:08 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:55:08 ---> f96f9c87975a 00:55:08 Step 2/4 : WORKDIR /edgex 00:55:09 ---> Running in 2c495923fba1 00:55:09 Removing intermediate container 2c495923fba1 00:55:09 ---> d3e758da461a 00:55:09 Step 3/4 : COPY go.mod . 00:55:10 ---> 6e7f36f41e5d 00:55:10 Step 4/4 : RUN go mod download 00:55:10 ---> Running in b595e69e4860 00:55:42 Removing intermediate container b595e69e4860 00:55:42 ---> 4381718276ed 00:55:43 Successfully built 4381718276ed 00:55:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:43 + docker inspect -f . ci-base-image-arm64 00:55:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:55:43 prd-ubuntu20.04-docker-arm64-4c-16g-9553 does not seem to be running inside a container 00:55:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/3 -v /w/workspace/edgex-go/3:/w/workspace/edgex-go/3:rw,z -v /w/workspace/edgex-go/3@tmp:/w/workspace/edgex-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:55:45 $ docker top 3469cef0a334c48989ece6db808cf96c85a267f57a038d7bec636faf1eb1a91c -eo pid,comm [Pipeline] { [Pipeline] sh 00:55:45 + go version 00:55:45 go version go1.18.7 linux/arm64 [Pipeline] } 00:55:45 $ docker stop --time=1 3469cef0a334c48989ece6db808cf96c85a267f57a038d7bec636faf1eb1a91c 00:55:47 $ docker rm -f --volumes 3469cef0a334c48989ece6db808cf96c85a267f57a038d7bec636faf1eb1a91c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:48 + docker inspect -f . ci-base-image-arm64 00:55:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:55:48 prd-ubuntu20.04-docker-arm64-4c-16g-9553 does not seem to be running inside a container 00:55:48 $ 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/3 -v /w/workspace/edgex-go/3:/w/workspace/edgex-go/3:rw,z -v /w/workspace/edgex-go/3@tmp:/w/workspace/edgex-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:55:49 $ docker top 7f4d2f6fb59658d7544fc094cb4616b951d587acb0ebbea3fd8efa23eb078bf0 -eo pid,comm [Pipeline] { [Pipeline] echo 00:55:50 ========================================================= 00:55:50 [edgeXBuildGoParallel] Running Tests and Build... 00:55:50 ========================================================= [Pipeline] sh 00:55:50 + git config --global --add safe.directory /w/workspace/edgex-go/3 [Pipeline] fileExists [Pipeline] sh 00:55:51 + make test 00:55:51 go test -race -coverprofile=coverage.out ./... 00:56:30 ? github.com/edgexfoundry/edgex-go [no test files] 00:58:36 # github.com/edgexfoundry/edgex-go/internal/core/command 00:58:36 internal/core/command/main.go:72:3: cannot use configuration (variable of type *"github.com/edgexfoundry/edgex-go/internal/core/command/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration in argument to bootstrap.Run: 00:58:36 *"github.com/edgexfoundry/edgex-go/internal/core/command/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) 00:58:36 # github.com/edgexfoundry/edgex-go/internal/security/secretstore 00:58:36 internal/security/secretstore/main.go:75:3: cannot use configuration (variable of type *"github.com/edgexfoundry/edgex-go/internal/security/secretstore/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration in argument to bootstrap.RunAndReturnWaitGroup: 00:58:36 *"github.com/edgexfoundry/edgex-go/internal/security/secretstore/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) 00:58:36 # github.com/edgexfoundry/edgex-go/internal/core/data 00:58:36 internal/core/data/main.go:68:3: cannot use configuration (variable of type *"github.com/edgexfoundry/edgex-go/internal/core/data/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration in argument to bootstrap.Run: 00:58:36 *"github.com/edgexfoundry/edgex-go/internal/core/data/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) 00:58:36 # github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto 00:58:36 internal/security/bootstrapper/mosquitto/configure.go:60:3: cannot use configuration (variable of type *"github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config".ConfigurationStruct) as type interfaces.Configuration in argument to bootstrap.RunAndReturnWaitGroup: 00:58:36 *"github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config".ConfigurationStruct does not implement interfaces.Configuration (missing GetWritablePtr method) 00:58:36 # github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis 00:58:36 internal/security/bootstrapper/redis/configure.go:61:3: cannot use configuration (variable of type *"github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config".ConfigurationStruct) as type interfaces.Configuration in argument to bootstrap.RunAndReturnWaitGroup: 00:58:36 *"github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config".ConfigurationStruct does not implement interfaces.Configuration (missing GetWritablePtr method) 00:58:36 # github.com/edgexfoundry/edgex-go/internal/security/proxyauth 00:58:36 internal/security/proxyauth/main.go:70:3: cannot use configuration (variable of type *"github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration in argument to bootstrap.Run: 00:58:36 *"github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) 00:58:36 # github.com/edgexfoundry/edgex-go/internal/core/metadata 00:58:36 internal/core/metadata/main.go:69:3: cannot use configuration (variable of type *"github.com/edgexfoundry/edgex-go/internal/core/metadata/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration in argument to bootstrap.Run: 00:58:36 *"github.com/edgexfoundry/edgex-go/internal/core/metadata/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) 00:58:36 # github.com/edgexfoundry/edgex-go/internal/support/scheduler 00:58:36 internal/support/scheduler/main.go:67:3: cannot use configuration (variable of type *"github.com/edgexfoundry/edgex-go/internal/support/scheduler/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration in argument to bootstrap.Run: 00:58:36 *"github.com/edgexfoundry/edgex-go/internal/support/scheduler/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) 00:58:37 # github.com/edgexfoundry/edgex-go/internal/support/notifications 00:58:37 internal/support/notifications/main.go:73:3: cannot use configuration (variable of type *"github.com/edgexfoundry/edgex-go/internal/support/notifications/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration in argument to bootstrap.Run: 00:58:37 *"github.com/edgexfoundry/edgex-go/internal/support/notifications/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) 00:58:55 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.255s coverage: 28.7% of statements 00:59:05 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.562s coverage: 98.5% of statements 00:59:17 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 3.894s coverage: 71.2% of statements 00:59:17 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.678s coverage: 54.0% of statements 00:59:30 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 23.826s coverage: 88.5% of statements 00:59:30 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.845s coverage: 3.9% of statements 00:59:34 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 2.682s coverage: 95.6% of statements 00:59:34 ok github.com/edgexfoundry/edgex-go/internal/io 0.642s coverage: 72.2% of statements 00:59:34 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.716s coverage: 65.9% of statements 00:59:34 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.413s coverage: 0.9% of statements 00:59:34 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.281s coverage: 29.0% of statements 00:59:36 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.321s coverage: 45.5% of statements 00:59:36 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.269s coverage: 82.9% of statements 00:59:36 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.295s coverage: 94.1% of statements 00:59:37 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.272s coverage: 96.3% of statements 00:59:40 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.312s coverage: 87.5% of statements 00:59:50 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.279s coverage: 94.4% of statements 01:00:08 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 24.445s coverage: 79.9% of statements 01:00:08 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.325s coverage: 92.9% of statements 01:00:08 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.071s coverage: 64.4% of statements 01:00:08 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.265s coverage: 86.9% of statements 01:00:08 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.233s coverage: 87.2% of statements 01:00:08 ok github.com/edgexfoundry/edgex-go/internal/security/common 0.207s coverage: 20.0% of statements 01:00:08 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.206s coverage: 100.0% of statements 01:00:08 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser [build failed] 01:00:08 FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser [build failed] 01:00:08 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.230s coverage: 84.8% of statements 01:00:08 FAIL github.com/edgexfoundry/edgex-go/internal/security/fileprovider [build failed] 01:00:08 FAIL github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks [build failed] 01:00:08 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.099s coverage: 89.4% of statements 01:00:08 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.094s coverage: 100.0% of statements 01:00:08 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.075s coverage: 73.7% of statements 01:00:08 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.066s coverage: 100.0% of statements 01:00:08 FAIL github.com/edgexfoundry/edgex-go/internal/security/secretstore [build failed] 01:00:08 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.329s coverage: 89.5% of statements 01:00:08 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.286s coverage: 84.8% of statements 01:00:21 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.325s coverage: 17.7% of statements 01:00:21 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.649s coverage: 92.3% of statements 01:00:21 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.301s coverage: 61.5% of statements 01:00:21 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.447s coverage: 97.7% of statements 01:00:21 make: *** [Makefile:148: unittest] Error 2 [Pipeline] } 01:00:21 $ docker stop --time=1 7f4d2f6fb59658d7544fc094cb4616b951d587acb0ebbea3fd8efa23eb078bf0 01:00:23 $ docker rm -f --volumes 7f4d2f6fb59658d7544fc094cb4616b951d587acb0ebbea3fd8efa23eb078bf0 [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 01:00:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:00:24 01:00:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:00:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:00:25 arm64: Pulling from edgex-lftools-log-publisher 01:00:25 8998bd30e6a1: Pulling fs layer 01:00:25 04944245beec: Pulling fs layer 01:00:25 699f458cf7ca: Pulling fs layer 01:00:25 765212b225bb: Pulling fs layer 01:00:25 f23df028b6ca: Pulling fs layer 01:00:25 d65c8cfc05b1: Pulling fs layer 01:00:25 2437ff75d9bd: Pulling fs layer 01:00:25 f23df028b6ca: Waiting 01:00:25 765212b225bb: Waiting 01:00:25 d65c8cfc05b1: Waiting 01:00:25 2437ff75d9bd: Waiting 01:00:25 04944245beec: Verifying Checksum 01:00:25 04944245beec: Download complete 01:00:25 765212b225bb: Verifying Checksum 01:00:25 765212b225bb: Download complete 01:00:25 f23df028b6ca: Verifying Checksum 01:00:25 f23df028b6ca: Download complete 01:00:25 d65c8cfc05b1: Verifying Checksum 01:00:25 d65c8cfc05b1: Download complete 01:00:25 699f458cf7ca: Verifying Checksum 01:00:25 699f458cf7ca: Download complete 01:00:26 8998bd30e6a1: Verifying Checksum 01:00:26 8998bd30e6a1: Download complete 01:00:28 2437ff75d9bd: Verifying Checksum 01:00:28 2437ff75d9bd: Download complete 01:00:30 8998bd30e6a1: Pull complete 01:00:30 04944245beec: Pull complete 01:00:32 699f458cf7ca: Pull complete 01:00:32 765212b225bb: Pull complete 01:00:32 f23df028b6ca: Pull complete 01:00:32 d65c8cfc05b1: Pull complete 01:00:45 2437ff75d9bd: Pull complete 01:00:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:00:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:00:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:00:45 prd-ubuntu20.04-docker-arm64-4c-16g-9553 does not seem to be running inside a container 01:00:45 $ 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/3 -v /w/workspace/edgex-go/3:/w/workspace/edgex-go/3:rw,z -v /w/workspace/edgex-go/3@tmp:/w/workspace/edgex-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:00:48 $ docker top dbaabbb046b4ccd1530efe0c7b175693de4bbce416963703e1ad88da1d22e4fe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:00:49 ---> job-cost.sh 01:00:49 lf-activate-venv: SKIPPING 01:00:49 INFO: No Stack... 01:00:50 INFO: Retrieving Pricing Info for: v3-standard-4 01:00:50 INFO: Archiving Costs [Pipeline] sh 01:00:51 + cat /w/workspace/edgex-go/3/archives/cost.csv 01:00:51 + cut -d, -f6 [Pipeline] lock 01:00:51 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4429-3-stack-cost] 01:00:51 Resource [jenkins-edgexfoundry-edgex-go-PR-4429-3-stack-cost] did not exist. Created. 01:00:51 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4429-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:00:52 + echo total: 0.10999999940395355 [Pipeline] stash 01:00:52 Stashed 1 file(s) [Pipeline] } 01:00:52 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4429-3-stack-cost] [Pipeline] // lock [Pipeline] } 01:00:52 $ docker stop --time=1 dbaabbb046b4ccd1530efe0c7b175693de4bbce416963703e1ad88da1d22e4fe 01:00:54 $ docker rm -f --volumes dbaabbb046b4ccd1530efe0c7b175693de4bbce416963703e1ad88da1d22e4fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 01:00:54 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 01:00:55 + [ -d /w/workspace/edgex-go/3/archives ] [Pipeline] libraryResource [Pipeline] sh 01:00:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:00:56 ---> package-listing.sh 01:00:56 ++ facter osfamily 01:00:56 ++ tr '[:upper:]' '[:lower:]' 01:00:56 + OS_FAMILY=debian 01:00:56 + workspace=/w/workspace/edgex-go/3 01:00:56 + START_PACKAGES=/tmp/packages_start.txt 01:00:56 + END_PACKAGES=/tmp/packages_end.txt 01:00:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:00:56 + PACKAGES=/tmp/packages_start.txt 01:00:56 + '[' /w/workspace/edgex-go/3 ']' 01:00:56 + PACKAGES=/tmp/packages_end.txt 01:00:56 + case "${OS_FAMILY}" in 01:00:56 + grep '^ii' 01:00:56 + dpkg -l 01:00:56 + '[' -f /tmp/packages_start.txt ']' 01:00:56 + '[' -f /tmp/packages_end.txt ']' 01:00:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:00:56 + '[' /w/workspace/edgex-go/3 ']' 01:00:56 + mkdir -p /w/workspace/edgex-go/3/archives/ 01:00:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/3/archives/ [Pipeline] echo 01:00:56 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/3/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:00:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:00:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:00:57 01:00:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:00:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:00:57 latest: Pulling from edgex-lftools-log-publisher 01:00:57 5eb5b503b376: Pulling fs layer 01:00:57 5c69ac0246d0: Pulling fs layer 01:00:57 ec43610c2a17: Pulling fs layer 01:00:57 3a2ae6a8a46f: Pulling fs layer 01:00:57 33b1e0a273af: Pulling fs layer 01:00:57 5d3b04190fa2: Pulling fs layer 01:00:57 2f39f015ded8: Pulling fs layer 01:00:57 3a2ae6a8a46f: Waiting 01:00:57 33b1e0a273af: Waiting 01:00:57 5d3b04190fa2: Waiting 01:00:57 5c69ac0246d0: Verifying Checksum 01:00:57 5c69ac0246d0: Download complete 01:00:57 3a2ae6a8a46f: Verifying Checksum 01:00:57 3a2ae6a8a46f: Download complete 01:00:57 33b1e0a273af: Verifying Checksum 01:00:57 33b1e0a273af: Download complete 01:00:57 5d3b04190fa2: Download complete 01:00:57 ec43610c2a17: Verifying Checksum 01:00:57 ec43610c2a17: Download complete 01:00:58 5eb5b503b376: Verifying Checksum 01:00:58 5eb5b503b376: Download complete 01:00:58 2f39f015ded8: Download complete 01:00:59 5eb5b503b376: Pull complete 01:00:59 5c69ac0246d0: Pull complete 01:00:59 ec43610c2a17: Pull complete 01:00:59 3a2ae6a8a46f: Pull complete 01:00:59 33b1e0a273af: Pull complete 01:00:59 5d3b04190fa2: Pull complete 01:01:04 2f39f015ded8: Pull complete 01:01:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:01:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:01:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:01:04 prd-ubuntu20.04-docker-8c-8g-9551 does not seem to be running inside a container 01:01:04 $ 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/3/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/3 -v /w/workspace/edgex-go/3:/w/workspace/edgex-go/3:rw,z -v /w/workspace/edgex-go/3@tmp:/w/workspace/edgex-go/3@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:01:05 $ docker top 0f023a62255162dd60a9653a509fe0588f24bcf8e87c0635a83a0be553cbd5d1 -eo pid,comm [Pipeline] { [Pipeline] sh 01:01:05 + touch /tmp/pre-build-complete [Pipeline] sh 01:01:06 + mkdir -p /var/log/sysstat [Pipeline] sh 01:01:06 + ls /var/log/sa-host 01:01:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:01:06 provisioning config files... 01:01:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/3@tmp/config4460718446089874226tmp [Pipeline] { [Pipeline] echo 01:01:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:01:06 ---> create-netrc.sh [Pipeline] } 01:01:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:01:07 ---> python-tools-install.sh [Pipeline] echo 01:01:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:01:07 ---> sudo-logs.sh 01:01:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:01:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:01:07 ---> job-cost.sh 01:01:07 lf-activate-venv: SKIPPING 01:01:07 DEBUG: total: 0.10999999940395355 01:01:07 INFO: Retrieving Stack Cost... 01:01:08 INFO: Retrieving Pricing Info for: v3-standard-8 01:01:08 INFO: Archiving Costs [Pipeline] echo 01:01:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:01:08 ---> logs-deploy.sh 01:01:08 lf-activate-venv: SKIPPING 01:01:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4429/3 01:01:08 INFO: archiving workspace using pattern(s): 01:01:09 Archives upload complete. 01:01:09 INFO: archiving logs to Nexus