Pull request #4258 updated 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 lenny-intel for edgexfoundry/edgex-go Obtained Jenkinsfile from 53274eca0d5334a8b8306031eb95758edf79c34a+c6d570f0b876d979ee81e2acfcf5f7804eec4e0d (7a35d1257c54c7677355a6857cecceb1375f97d5) 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-ssh8975196649267168759.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-ssh8263796543879924386.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-4258/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-4258/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12859157722837805138.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-ssh13057931035000329049.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-4258/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-4258/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14649910455512066871.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2], buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: DOCKER_IMAGE_NAME_SUFFIX: DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-899 in /w/workspace/edgexfoundry_edgex-go_PR-4258 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/2 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit c6d570f0b876d979ee81e2acfcf5f7804eec4e0d into PR head commit 53274eca0d5334a8b8306031eb95758edf79c34a Merge succeeded, producing 53274eca0d5334a8b8306031eb95758edf79c34a Checking out Revision 53274eca0d5334a8b8306031eb95758edf79c34a (PR-4258) > 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/4258/head:refs/remotes/origin/PR-4258 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 53274eca0d5334a8b8306031eb95758edf79c34a # 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 c6d570f0b876d979ee81e2acfcf5f7804eec4e0d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 53274eca0d5334a8b8306031eb95758edf79c34a # timeout=10 Commit message: "build: Update to go-mod-messaging with single broker host info" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:14:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:14:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:14:38 ========================================================= 15:14:38 EdgeX Global Pipelines Version Info 15:14:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk ed5ac631587a4a4b64aa45bde2968d9c924b8fc2 # timeout=10 15:14:39 ------------------- 15:14:39 stable info: 15:14:39 ------------------- 15:14:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:14:39 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:14:39 Message: update stable to v1.0.244 15:14:39 ------------------- 15:14:39 experimental info: 15:14:39 ------------------- 15:14:39 Commited By: **** collab-it+edgex@linuxfoundation.org 15:14:39 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:14:39 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:14:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 15:14:39 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 15:14:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:14:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:14:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:14:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 15:14:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:14:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 15:14:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 15:14:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 15:14:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:14:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:14:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:14:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:14:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:14:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:14:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:14:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:14:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:14:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 15:14:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:14:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:14:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:14:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4258 [Pipeline] echo 15:14:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4258 [Pipeline] echo 15:14:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4258 [Pipeline] echo 15:14:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 53274eca0d5334a8b8306031eb95758edf79c34a [Pipeline] echo 15:14:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 53274ec [Pipeline] echo 15:14:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:14:40 provisioning config files... 15:14:40 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config8659864622896861313tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:14:40 ---> docker-login.sh 15:14:40 nexus3.edgexfoundry.org:10001 15:14:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:14:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:14:40 Configure a credential helper to remove this warning. See 15:14:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:14:40 15:14:40 Login Succeeded 15:14:40 nexus3.edgexfoundry.org:10002 15:14:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:14:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:14:41 Configure a credential helper to remove this warning. See 15:14:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:14:41 15:14:41 Login Succeeded 15:14:41 nexus3.edgexfoundry.org:10003 15:14:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:14:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:14:41 Configure a credential helper to remove this warning. See 15:14:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:14:41 15:14:41 Login Succeeded 15:14:41 nexus3.edgexfoundry.org:10004 15:14:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:14:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:14:41 Configure a credential helper to remove this warning. See 15:14:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:14:41 15:14:41 Login Succeeded 15:14:41 docker.io 15:14:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:14:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:14:41 Configure a credential helper to remove this warning. See 15:14:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:14:41 15:14:41 Login Succeeded 15:14:41 ---> docker-login.sh ends [Pipeline] } 15:14:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:14:41 + ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/security-spiffe-token-provider/Dockerfile cmd/security-spire-agent/Dockerfile cmd/security-spire-config/Dockerfile cmd/security-spire-server/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile 15:14:41 + dirname cmd/core-command/Dockerfile 15:14:41 + cut -d/ -f2 15:14:41 + echo core-command,cmd/core-command/Dockerfile 15:14:41 + dirname cmd/core-data/Dockerfile 15:14:41 + cut -d/ -f2 15:14:41 + echo core-data,cmd/core-data/Dockerfile 15:14:41 + dirname cmd/core-metadata/Dockerfile 15:14:41 + cut -d/ -f2 15:14:41 + echo core-metadata,cmd/core-metadata/Dockerfile 15:14:41 + + cut -d/ -f2 15:14:41 dirname cmd/security-bootstrapper/Dockerfile 15:14:41 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 15:14:41 + dirname cmd/security-proxy-setup/Dockerfile 15:14:41 + cut -d/ -f2 15:14:41 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 15:14:41 + + dirnamecut cmd/security-secretstore-setup/Dockerfile -d/ 15:14:41 -f2 15:14:41 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 15:14:41 + + cut -d/ -f2 15:14:41 dirname cmd/security-spiffe-token-provider/Dockerfile 15:14:41 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 15:14:41 + dirname cmd/security-spire-agent/Dockerfile 15:14:41 + cut -d/ -f2 15:14:41 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 15:14:41 + + cut -d/ -f2 15:14:41 dirname cmd/security-spire-config/Dockerfile 15:14:41 + echo security-spire-config,cmd/security-spire-config/Dockerfile 15:14:41 + dirname cmd/security-spire-server/Dockerfile 15:14:41 + cut -d/ -f2 15:14:41 + echo security-spire-server,cmd/security-spire-server/Dockerfile 15:14:41 + dirname cmd/support-notifications/Dockerfile 15:14:41 + cut -d/ -f2 15:14:41 + echo support-notifications,cmd/support-notifications/Dockerfile 15:14:41 + + dirname cmd/support-scheduler/Dockerfilecut 15:14:41 -d/ -f2 15:14:41 + echo support-scheduler,cmd/support-scheduler/Dockerfile 15:14:41 + cut -d/ -f2 15:14:41 + dirname cmd/sys-mgmt-agent/Dockerfile 15:14:41 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 15:14:41 Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/Dockerfile], [image:core-data, dockerfile:cmd/core-data/Dockerfile], [image:core-metadata, dockerfile:cmd/core-metadata/Dockerfile], [image:security-bootstrapper, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:security-proxy-setup, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:security-secretstore-setup, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:security-spiffe-token-provider, dockerfile:cmd/security-spiffe-token-provider/Dockerfile], [image:security-spire-agent, dockerfile:cmd/security-spire-agent/Dockerfile], [image:security-spire-config, dockerfile:cmd/security-spire-config/Dockerfile], [image:security-spire-server, dockerfile:cmd/security-spire-server/Dockerfile], [image:support-notifications, dockerfile:cmd/support-notifications/Dockerfile], [image:support-scheduler, dockerfile:cmd/support-scheduler/Dockerfile], [image:sys-mgmt-agent, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:14:42 + git rev-list -1 --merges 53274eca0d5334a8b8306031eb95758edf79c34a~1..53274eca0d5334a8b8306031eb95758edf79c34a [Pipeline] echo 15:14:42 -----------> git rev-list -1 --merges 53274eca0d5334a8b8306031eb95758edf79c34a~1..53274eca0d5334a8b8306031eb95758edf79c34a 53274eca0d5334a8b8306031eb95758edf79c34a [false] [Pipeline] sh 15:14:42 + git log --format=format:%s -1 53274eca0d5334a8b8306031eb95758edf79c34a [Pipeline] echo 15:14:42 ========================================================= 15:14:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:14:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 15:14:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:14:43 + grep -v github /etc/ssh/ssh_known_hosts 15:14:43 + [ -e /tmp/ssh_known_hosts ] 15:14:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:14:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:14:43 + sudo tee -a /etc/ssh/ssh_known_hosts 15:14:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:14:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:14:43 15:14:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:14:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:14:43 0.1.4: Pulling from edgex-devops/py-git-semver 15:14:43 b85a868b505f: Pulling fs layer 15:14:43 e2be974225ed: Pulling fs layer 15:14:43 339a4e72a1f5: Pulling fs layer 15:14:43 988bab9f4d93: Pulling fs layer 15:14:43 1469e6f7b9e6: Pulling fs layer 15:14:43 eaf3925da568: Pulling fs layer 15:14:43 bab4dde63d76: Pulling fs layer 15:14:43 bde34c3a00c8: Pulling fs layer 15:14:43 b352a97aabf1: Pulling fs layer 15:14:43 4872d77fe225: Pulling fs layer 15:14:43 5851b861e8e6: Pulling fs layer 15:14:43 988bab9f4d93: Waiting 15:14:43 b352a97aabf1: Waiting 15:14:43 4872d77fe225: Waiting 15:14:43 5851b861e8e6: Waiting 15:14:43 1469e6f7b9e6: Waiting 15:14:43 eaf3925da568: Waiting 15:14:43 bde34c3a00c8: Waiting 15:14:43 bab4dde63d76: Waiting 15:14:43 e2be974225ed: Download complete 15:14:43 988bab9f4d93: Verifying Checksum 15:14:43 988bab9f4d93: Download complete 15:14:44 1469e6f7b9e6: Verifying Checksum 15:14:44 1469e6f7b9e6: Download complete 15:14:44 339a4e72a1f5: Verifying Checksum 15:14:44 339a4e72a1f5: Download complete 15:14:44 eaf3925da568: Verifying Checksum 15:14:44 eaf3925da568: Download complete 15:14:44 bde34c3a00c8: Download complete 15:14:44 b352a97aabf1: Download complete 15:14:44 4872d77fe225: Verifying Checksum 15:14:44 4872d77fe225: Download complete 15:14:44 5851b861e8e6: Download complete 15:14:44 b85a868b505f: Verifying Checksum 15:14:44 b85a868b505f: Download complete 15:14:44 bab4dde63d76: Verifying Checksum 15:14:44 bab4dde63d76: Download complete 15:14:45 b85a868b505f: Pull complete 15:14:45 e2be974225ed: Pull complete 15:14:46 339a4e72a1f5: Pull complete 15:14:46 988bab9f4d93: Pull complete 15:14:47 1469e6f7b9e6: Pull complete 15:14:47 eaf3925da568: Pull complete 15:14:48 bab4dde63d76: Pull complete 15:14:48 bde34c3a00c8: Pull complete 15:14:48 b352a97aabf1: Pull complete 15:14:49 4872d77fe225: Pull complete 15:14:49 5851b861e8e6: Pull complete 15:14:49 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:14:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:14:49 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:14:49 prd-ubuntu20.04-docker-8c-8g-899 does not seem to be running inside a container 15:14:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:14:54 $ docker top 4bd251d0b03d6f97d86545b4c66a078ee961f4d53fa21b0f715368dda753710c -eo pid,comm 15:14:54 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). 15:14:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:14:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:14:54 [ssh-agent] Looking for ssh-agent implementation... 15:14:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:14:54 $ docker exec 4bd251d0b03d6f97d86545b4c66a078ee961f4d53fa21b0f715368dda753710c ssh-agent 15:14:54 SSH_AUTH_SOCK=/tmp/ssh-fsGshdQmdx2a/agent.31 15:14:54 SSH_AGENT_PID=37 15:14:54 Running ssh-add (command line suppressed) 15:14:54 Identity added: /w/workspace/edgex-go/2@tmp/private_key_3988329780298932982.key (/w/workspace/edgex-go/2@tmp/private_key_3988329780298932982.key) 15:14:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:14:55 + git tag --points-at HEAD [Pipeline] } 15:14:55 $ docker exec --env ******** --env ******** 4bd251d0b03d6f97d86545b4c66a078ee961f4d53fa21b0f715368dda753710c ssh-agent -k 15:14:55 unset SSH_AUTH_SOCK; 15:14:55 unset SSH_AGENT_PID; 15:14:55 echo Agent pid 37 killed; 15:14:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:14:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:14:55 [ssh-agent] Looking for ssh-agent implementation... 15:14:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:14:55 $ docker exec 4bd251d0b03d6f97d86545b4c66a078ee961f4d53fa21b0f715368dda753710c ssh-agent 15:14:55 SSH_AUTH_SOCK=/tmp/ssh-Sr3stPyhxT6H/agent.69 15:14:55 SSH_AGENT_PID=75 15:14:55 Running ssh-add (command line suppressed) 15:14:55 Identity added: /w/workspace/edgex-go/2@tmp/private_key_5695445978835236260.key (/w/workspace/edgex-go/2@tmp/private_key_5695445978835236260.key) 15:14:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:14:55 + git semver init 15:14:56 2023-01-03 15:14:56,118 [run_init] DEBUG init version:0.0.0 force:False 15:14:56 2023-01-03 15:14:56,119 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/2/.semver 15:14:56 2023-01-03 15:14:56,120 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/2/.semver 15:14:56 2023-01-03 15:14:56,121 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/edgex-go.git', '/w/workspace/edgex-go/2/.semver'], cwd=/w/workspace/edgex-go/2, universal_newlines=False, shell=None, istream=None) 15:15:04 2023-01-03 15:15:03,426 [append_file] DEBUG append to file:/w/workspace/edgex-go/2/.git/info/exclude 15:15:04 2023-01-03 15:15:03,426 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/2/.semver/PR-4258 with force:False 15:15:04 2023-01-03 15:15:03,426 [write_file] DEBUG write to file:/w/workspace/edgex-go/2/.semver/PR-4258 15:15:04 2023-01-03 15:15:03,431 [execute] INFO git cat-file --batch-check 15:15:04 2023-01-03 15:15:03,431 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/2/.semver, universal_newlines=False, shell=None, istream=) 15:15:04 2023-01-03 15:15:03,436 [execute] INFO git cat-file --batch 15:15:04 2023-01-03 15:15:03,437 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/2/.semver, universal_newlines=False, shell=None, istream=) 15:15:04 2023-01-03 15:15:03,440 [read_version] DEBUG read version from /w/workspace/edgex-go/2/.semver/PR-4258 15:15:04 0.0.0 [Pipeline] } 15:15:04 $ docker exec --env ******** --env ******** 4bd251d0b03d6f97d86545b4c66a078ee961f4d53fa21b0f715368dda753710c ssh-agent -k 15:15:04 unset SSH_AUTH_SOCK; 15:15:04 unset SSH_AGENT_PID; 15:15:04 echo Agent pid 75 killed; 15:15:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:15:04 + git semver [Pipeline] } 15:15:05 $ docker stop --time=1 4bd251d0b03d6f97d86545b4c66a078ee961f4d53fa21b0f715368dda753710c 15:15:07 $ docker rm -f --volumes 4bd251d0b03d6f97d86545b4c66a078ee961f4d53fa21b0f715368dda753710c [Pipeline] // withDockerContainer [Pipeline] sh 15:15:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:15:07 Stashed 1 file(s) [Pipeline] echo 15:15:07 [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 15:15:08 + git config --global --add safe.directory /w/workspace/edgex-go/2 [Pipeline] echo 15:15:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:15:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:15:08 ========================================================= 15:15:08 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 15:15:08 ========================================================= [Pipeline] fileExists [Pipeline] sh 15:15:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:15:08 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 15:15:08 213ec9aee27d: Pulling fs layer 15:15:08 4583459ba037: Pulling fs layer 15:15:08 93c1e223e6f2: Pulling fs layer 15:15:08 53926ce57604: Pulling fs layer 15:15:08 21b2b0c7a3f4: Pulling fs layer 15:15:08 22ff95d597cd: Pulling fs layer 15:15:08 12d6caf4c0d1: Pulling fs layer 15:15:08 96b7cbca73a9: Pulling fs layer 15:15:08 a7acece74701: Pulling fs layer 15:15:08 21b2b0c7a3f4: Waiting 15:15:08 22ff95d597cd: Waiting 15:15:08 12d6caf4c0d1: Waiting 15:15:08 96b7cbca73a9: Waiting 15:15:08 a7acece74701: Waiting 15:15:08 53926ce57604: Waiting 15:15:08 93c1e223e6f2: Verifying Checksum 15:15:08 93c1e223e6f2: Download complete 15:15:08 4583459ba037: Verifying Checksum 15:15:08 4583459ba037: Download complete 15:15:08 21b2b0c7a3f4: Verifying Checksum 15:15:08 21b2b0c7a3f4: Download complete 15:15:08 22ff95d597cd: Verifying Checksum 15:15:08 22ff95d597cd: Download complete 15:15:08 213ec9aee27d: Verifying Checksum 15:15:08 213ec9aee27d: Download complete 15:15:08 12d6caf4c0d1: Download complete 15:15:09 213ec9aee27d: Pull complete 15:15:09 4583459ba037: Pull complete 15:15:09 93c1e223e6f2: Pull complete 15:15:09 a7acece74701: Verifying Checksum 15:15:09 a7acece74701: Download complete 15:15:09 96b7cbca73a9: Download complete 15:15:09 53926ce57604: Verifying Checksum 15:15:09 53926ce57604: Download complete 15:15:14 53926ce57604: Pull complete 15:15:14 21b2b0c7a3f4: Pull complete 15:15:14 22ff95d597cd: Pull complete 15:15:14 12d6caf4c0d1: Pull complete 15:15:17 96b7cbca73a9: Pull complete 15:15:17 a7acece74701: Pull complete 15:15:17 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 15:15:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:15:17 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] fileExists [Pipeline] sh 15:15:18 + echo+ FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:15:18 WORKDIR /edgex 15:15:18 COPY go.mod . 15:15:18 RUN go mod download 15:15:18 docker build -t ci-base-image-x86_64 -f - . 15:15:18 Sending build context to Docker daemon 170.3MB 15:15:18 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:15:18 ---> db6d94c90886 15:15:18 Step 2/4 : WORKDIR /edgex 15:15:22 Still waiting to schedule task 15:15:22 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:15:31 ---> Running in e018b9804660 15:15:31 Removing intermediate container e018b9804660 15:15:31 ---> 1cc9953dd5b4 15:15:31 Step 3/4 : COPY go.mod . 15:15:31 ---> 5fc2885a217b 15:15:31 Step 4/4 : RUN go mod download 15:15:31 ---> Running in c7d0a12681f1 15:15:33 go: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.5 (replaced by ../MODS/go-mod-bootstrap): reading /MODS/go-mod-bootstrap/go.mod: open /MODS/go-mod-bootstrap/go.mod: no such file or directory 15:15:34 The command '/bin/sh -c go mod download' returned a non-zero code: 1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [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] } 15:15:34 Failed in branch amd64 15:16:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-900 in /w/workspace/edgexfoundry_edgex-go_PR-4258 [Pipeline] { [Pipeline] ws 15:16:52 Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] checkout 15:16:52 The recommended git tool is: git 15:16:57 using credential edgex-jenkins-ssh 15:16:57 Cloning the remote Git repository 15:16:57 Cloning repository git@github.com:edgexfoundry/edgex-go.git 15:16:57 > git init /w/workspace/edgex-go/2 # timeout=10 15:16:57 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 15:16:57 > git --version # timeout=10 15:16:57 > git --version # 'git version 2.25.1' 15:16:57 using GIT_SSH to set credentials SSH Credentials for GitHub 15:16:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:17:13 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 15:17:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:17:15 Merging remotes/origin/main commit c6d570f0b876d979ee81e2acfcf5f7804eec4e0d into PR head commit 53274eca0d5334a8b8306031eb95758edf79c34a 15:17:15 Merge succeeded, producing 53274eca0d5334a8b8306031eb95758edf79c34a 15:17:15 Checking out Revision 53274eca0d5334a8b8306031eb95758edf79c34a (PR-4258) 15:17:14 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 15:17:14 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 15:17:14 using GIT_SSH to set credentials SSH Credentials for GitHub 15:17:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4258/head:refs/remotes/origin/PR-4258 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:17:15 > git config core.sparsecheckout # timeout=10 15:17:15 > git checkout -f 53274eca0d5334a8b8306031eb95758edf79c34a # timeout=10 15:17:15 > git remote # timeout=10 15:17:15 > git config --get remote.origin.url # timeout=10 15:17:15 using GIT_SSH to set credentials SSH Credentials for GitHub 15:17:15 > git merge c6d570f0b876d979ee81e2acfcf5f7804eec4e0d # timeout=10 15:17:15 > git rev-parse HEAD^{commit} # timeout=10 15:17:15 > git config core.sparsecheckout # timeout=10 15:17:16 > git checkout -f 53274eca0d5334a8b8306031eb95758edf79c34a # timeout=10 15:17:19 Commit message: "build: Update to go-mod-messaging with single broker host info" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:17:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:17:20 % Total % Received % Xferd Average Speed Time Time Time Current 15:17:20 Dload Upload Total Spent Left Speed 15:17:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83888 0 --:--:-- --:--:-- --:--:-- 83888 [Pipeline] sh 15:17:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:17:22 + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo 15:17:22 tee /etc/docker/daemon.new 15:17:22 { 15:17:22 "registry-mirrors": [ 15:17:22 "https://nexus3.edgexfoundry.org:10001" 15:17:22 ], 15:17:22 "bip": "10.250.0.254/24", 15:17:22 "hosts": [ 15:17:22 "tcp://0.0.0.0:5555", 15:17:22 "unix:///var/run/docker.sock" 15:17:22 ], 15:17:22 "mtu": 1458, 15:17:22 "selinux-enabled": true, 15:17:22 "seccomp-profile": "/etc/docker/seccomp.json" 15:17:22 } [Pipeline] sh 15:17:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:17:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:17:41 provisioning config files... 15:17:41 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config2010445022462319384tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:17:41 ---> docker-login.sh 15:17:41 nexus3.edgexfoundry.org:10001 15:17:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:42 Configure a credential helper to remove this warning. See 15:17:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:42 15:17:42 Login Succeeded 15:17:42 nexus3.edgexfoundry.org:10002 15:17:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:42 Configure a credential helper to remove this warning. See 15:17:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:42 15:17:42 Login Succeeded 15:17:42 nexus3.edgexfoundry.org:10003 15:17:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:43 Configure a credential helper to remove this warning. See 15:17:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:43 15:17:43 Login Succeeded 15:17:43 nexus3.edgexfoundry.org:10004 15:17:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:43 Configure a credential helper to remove this warning. See 15:17:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:43 15:17:43 Login Succeeded 15:17:43 docker.io 15:17:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:43 Configure a credential helper to remove this warning. See 15:17:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:43 15:17:43 Login Succeeded 15:17:43 ---> docker-login.sh ends [Pipeline] } 15:17:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh 15:17:44 + git config --global --add safe.directory /w/workspace/edgex-go/2 [Pipeline] echo 15:17:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:17:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:17:44 ========================================================= 15:17:44 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 15:17:44 ========================================================= [Pipeline] fileExists [Pipeline] sh 15:17:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 15:17:44 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:17:44 9b18e9b68314: Pulling fs layer 15:17:44 35d82f9e3411: Pulling fs layer 15:17:44 e16973657156: Pulling fs layer 15:17:44 fc693d55d65f: Pulling fs layer 15:17:44 7e9fc2657dce: Pulling fs layer 15:17:44 dda99020689f: Pulling fs layer 15:17:44 db1c61fa0a46: Pulling fs layer 15:17:44 891c053d2c06: Pulling fs layer 15:17:44 fc693d55d65f: Waiting 15:17:44 dda99020689f: Waiting 15:17:44 db1c61fa0a46: Waiting 15:17:44 891c053d2c06: Waiting 15:17:44 e16973657156: Verifying Checksum 15:17:44 e16973657156: Download complete 15:17:44 35d82f9e3411: Verifying Checksum 15:17:44 35d82f9e3411: Download complete 15:17:44 7e9fc2657dce: Download complete 15:17:44 dda99020689f: Download complete 15:17:44 9b18e9b68314: Verifying Checksum 15:17:44 9b18e9b68314: Download complete 15:17:45 9b18e9b68314: Pull complete 15:17:45 891c053d2c06: Verifying Checksum 15:17:45 891c053d2c06: Download complete 15:17:46 35d82f9e3411: Pull complete 15:17:46 e16973657156: Pull complete 15:17:47 db1c61fa0a46: Verifying Checksum 15:17:47 db1c61fa0a46: Download complete 15:17:47 fc693d55d65f: Verifying Checksum 15:17:47 fc693d55d65f: Download complete 15:18:00 fc693d55d65f: Pull complete 15:18:00 7e9fc2657dce: Pull complete 15:18:00 dda99020689f: Pull complete 15:18:06 db1c61fa0a46: Pull complete 15:18:08 891c053d2c06: Pull complete 15:18:08 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 15:18:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 15:18:08 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] fileExists [Pipeline] sh 15:18:08 + + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 15:18:08 WORKDIR /edgex 15:18:08 COPY go.mod . 15:18:08 RUN go mod download 15:18:08 docker build -t ci-base-image-arm64 -f - . 15:18:09 Sending build context to Docker daemon 3.265MB 15:18:09 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 15:18:09 ---> f96f9c87975a 15:18:09 Step 2/4 : WORKDIR /edgex 15:18:11 ---> Running in f748c90e28a3 15:18:11 Removing intermediate container f748c90e28a3 15:18:11 ---> ed1bdb992c94 15:18:11 Step 3/4 : COPY go.mod . 15:18:13 ---> 0a39785312dc 15:18:13 Step 4/4 : RUN go mod download 15:18:13 ---> Running in baac50846998 15:18:18 go: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.5 (replaced by ../MODS/go-mod-bootstrap): reading /MODS/go-mod-bootstrap/go.mod: open /MODS/go-mod-bootstrap/go.mod: no such file or directory 15:18:18 The command '/bin/sh -c go mod download' returned a non-zero code: 1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [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 15:18:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:18:18 15:18:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:18:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:18:18 arm64: Pulling from edgex-lftools-log-publisher 15:18:18 8998bd30e6a1: Pulling fs layer 15:18:18 04944245beec: Pulling fs layer 15:18:18 699f458cf7ca: Pulling fs layer 15:18:18 765212b225bb: Pulling fs layer 15:18:18 f23df028b6ca: Pulling fs layer 15:18:18 d65c8cfc05b1: Pulling fs layer 15:18:18 2437ff75d9bd: Pulling fs layer 15:18:18 f23df028b6ca: Waiting 15:18:18 d65c8cfc05b1: Waiting 15:18:18 2437ff75d9bd: Waiting 15:18:19 04944245beec: Verifying Checksum 15:18:19 04944245beec: Download complete 15:18:19 765212b225bb: Verifying Checksum 15:18:19 765212b225bb: Download complete 15:18:19 f23df028b6ca: Verifying Checksum 15:18:19 f23df028b6ca: Download complete 15:18:19 d65c8cfc05b1: Verifying Checksum 15:18:19 d65c8cfc05b1: Download complete 15:18:19 699f458cf7ca: Verifying Checksum 15:18:19 699f458cf7ca: Download complete 15:18:19 8998bd30e6a1: Verifying Checksum 15:18:19 8998bd30e6a1: Download complete 15:18:21 2437ff75d9bd: Verifying Checksum 15:18:21 2437ff75d9bd: Download complete 15:18:23 8998bd30e6a1: Pull complete 15:18:23 04944245beec: Pull complete 15:18:26 699f458cf7ca: Pull complete 15:18:26 765212b225bb: Pull complete 15:18:27 f23df028b6ca: Pull complete 15:18:27 d65c8cfc05b1: Pull complete 15:18:42 2437ff75d9bd: Pull complete 15:18:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:18:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:18:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:18:42 prd-ubuntu20.04-docker-arm64-4c-16g-900 does not seem to be running inside a container 15:18:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:18:45 $ docker top d5b565ca84769f278c1c829c6287d72261e9835efd94c20f7faed94beb6d87c7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:18:45 ---> job-cost.sh 15:18:46 lf-activate-venv: SKIPPING 15:18:46 INFO: No Stack... 15:18:46 INFO: Retrieving Pricing Info for: v3-standard-4 15:18:47 INFO: Archiving Costs [Pipeline] sh 15:18:47 + cat /w/workspace/edgex-go/2/archives/cost.csv 15:18:47 + cut -d, -f6 [Pipeline] lock 15:18:47 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4258-2-stack-cost] 15:18:47 Resource [jenkins-edgexfoundry-edgex-go-PR-4258-2-stack-cost] did not exist. Created. 15:18:47 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4258-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:18:48 + echo total: 0.10999999940395355 [Pipeline] stash 15:18:48 Stashed 1 file(s) [Pipeline] } 15:18:48 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4258-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:18:48 $ docker stop --time=1 d5b565ca84769f278c1c829c6287d72261e9835efd94c20f7faed94beb6d87c7 15:18:50 $ docker rm -f --volumes d5b565ca84769f278c1c829c6287d72261e9835efd94c20f7faed94beb6d87c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:18:50 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 15:18:51 + [ -d /w/workspace/edgex-go/2/archives ] [Pipeline] libraryResource [Pipeline] sh 15:18:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:18:52 ---> package-listing.sh 15:18:52 ++ facter osfamily 15:18:52 ++ tr '[:upper:]' '[:lower:]' 15:18:52 + OS_FAMILY=debian 15:18:52 + workspace=/w/workspace/edgex-go/2 15:18:52 + START_PACKAGES=/tmp/packages_start.txt 15:18:52 + END_PACKAGES=/tmp/packages_end.txt 15:18:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:18:52 + PACKAGES=/tmp/packages_start.txt 15:18:52 + '[' /w/workspace/edgex-go/2 ']' 15:18:52 + PACKAGES=/tmp/packages_end.txt 15:18:52 + case "${OS_FAMILY}" in 15:18:52 + dpkg -l 15:18:52 + grep '^ii' 15:18:52 + '[' -f /tmp/packages_start.txt ']' 15:18:52 + '[' -f /tmp/packages_end.txt ']' 15:18:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:18:52 + '[' /w/workspace/edgex-go/2 ']' 15:18:52 + mkdir -p /w/workspace/edgex-go/2/archives/ 15:18:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo 15:18:52 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:18:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:18:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:18:53 15:18:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:18:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:18:53 latest: Pulling from edgex-lftools-log-publisher 15:18:53 5eb5b503b376: Pulling fs layer 15:18:53 5c69ac0246d0: Pulling fs layer 15:18:53 ec43610c2a17: Pulling fs layer 15:18:53 3a2ae6a8a46f: Pulling fs layer 15:18:53 33b1e0a273af: Pulling fs layer 15:18:53 3a2ae6a8a46f: Waiting 15:18:53 33b1e0a273af: Waiting 15:18:53 5d3b04190fa2: Pulling fs layer 15:18:53 2f39f015ded8: Pulling fs layer 15:18:53 5c69ac0246d0: Download complete 15:18:53 3a2ae6a8a46f: Verifying Checksum 15:18:53 3a2ae6a8a46f: Download complete 15:18:54 33b1e0a273af: Verifying Checksum 15:18:54 33b1e0a273af: Download complete 15:18:54 5d3b04190fa2: Verifying Checksum 15:18:54 5d3b04190fa2: Download complete 15:18:54 ec43610c2a17: Verifying Checksum 15:18:54 ec43610c2a17: Download complete 15:18:54 5eb5b503b376: Download complete 15:18:55 2f39f015ded8: Download complete 15:18:55 5eb5b503b376: Pull complete 15:18:56 5c69ac0246d0: Pull complete 15:18:56 ec43610c2a17: Pull complete 15:18:57 3a2ae6a8a46f: Pull complete 15:18:57 33b1e0a273af: Pull complete 15:18:57 5d3b04190fa2: Pull complete 15:19:12 2f39f015ded8: Pull complete 15:19:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:19:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:19:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:19:12 prd-ubuntu20.04-docker-8c-8g-899 does not seem to be running inside a container 15:19:12 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:19:13 $ docker top ab47c6d25ffc6c183c82b5c59b17be0a30b8f78a28866c32d1d4b426ac1feb4d -eo pid,comm [Pipeline] { [Pipeline] sh 15:19:13 + touch /tmp/pre-build-complete [Pipeline] sh 15:19:13 + mkdir -p /var/log/sysstat [Pipeline] sh 15:19:14 + ls /var/log/sa-host 15:19:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:19:14 provisioning config files... 15:19:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config11673365340119668267tmp [Pipeline] { [Pipeline] echo 15:19:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:19:14 ---> create-netrc.sh [Pipeline] } 15:19:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:19:14 ---> python-tools-install.sh [Pipeline] echo 15:19:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:19:15 ---> sudo-logs.sh 15:19:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:19:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:19:15 ---> job-cost.sh 15:19:15 lf-activate-venv: SKIPPING 15:19:15 DEBUG: total: 0.10999999940395355 15:19:15 INFO: Retrieving Stack Cost... 15:19:15 INFO: Retrieving Pricing Info for: v3-standard-8 15:19:16 INFO: Archiving Costs [Pipeline] echo 15:19:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:19:16 ---> logs-deploy.sh 15:19:16 lf-activate-venv: SKIPPING 15:19:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4258/2 15:19:16 INFO: archiving workspace using pattern(s): 15:19:17 Archives upload complete. 15:19:17 INFO: archiving logs to Nexus