Pull request #3922 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/edgex-go Obtained Jenkinsfile from c4ac1c46e80ff7b5e8422ab6f9b3e0c4e035a41d+6c659a0ac7e4b075f733eda5a0e0ff4b7d22267d (0c50b5d6d7cee71983a20bbd53a73015f8103eb0) 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-ssh14573455906537282325.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh17011698394231008925.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 c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3922/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3922/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12199573651776563305.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3922/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2255741157499496557.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared 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-ssh3291854006225999210.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3922/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3922/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12086973007335406593.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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:true] ========================================================= [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.17 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: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-8663 in /w/workspace/edgexfoundry_edgex-go_PR-3922 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/1 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3922/head:refs/remotes/origin/PR-3922 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6c659a0ac7e4b075f733eda5a0e0ff4b7d22267d into PR head commit c4ac1c46e80ff7b5e8422ab6f9b3e0c4e035a41d Merge succeeded, producing 5204587a99dd9a8f2591ceda39ba99a1b4fc6775 Checking out Revision 5204587a99dd9a8f2591ceda39ba99a1b4fc6775 (PR-3922) > git config core.sparsecheckout # timeout=10 > git checkout -f c4ac1c46e80ff7b5e8422ab6f9b3e0c4e035a41d # 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 6c659a0ac7e4b075f733eda5a0e0ff4b7d22267d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5204587a99dd9a8f2591ceda39ba99a1b4fc6775 # timeout=10 Commit message: "Merge commit '6c659a0ac7e4b075f733eda5a0e0ff4b7d22267d' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:22:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:22:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:22:12 ========================================================= 16:22:12 EdgeX Global Pipelines Version Info 16:22:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:22:13 ------------------- 16:22:13 stable info: 16:22:13 ------------------- 16:22:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:22:13 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 16:22:13 Message: update stable to v1.0.221 16:22:13 ------------------- 16:22:13 experimental info: 16:22:13 ------------------- 16:22:13 Commited By: **** collab-it+edgex@linuxfoundation.org 16:22:13 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 16:22:13 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:22:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 16:22:14 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 16:22:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:22:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:22:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:22:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 16:22:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:22:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 16:22:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 16:22:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 16:22:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:22:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:22:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:22:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:22:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:22:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:22:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:22:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:22:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:22:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 16:22:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 16:22:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:22:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3922 [Pipeline] echo 16:22:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3922 [Pipeline] echo 16:22:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3922 [Pipeline] echo 16:22:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5204587a99dd9a8f2591ceda39ba99a1b4fc6775 [Pipeline] echo 16:22:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5204587 [Pipeline] echo 16:22:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:22:15 provisioning config files... 16:22:15 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config2576317489926549877tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:22:15 ---> docker-login.sh 16:22:15 nexus3.edgexfoundry.org:10001 16:22:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:22:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:22:16 Configure a credential helper to remove this warning. See 16:22:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:22:16 16:22:16 Login Succeeded 16:22:16 nexus3.edgexfoundry.org:10002 16:22:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:22:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:22:16 Configure a credential helper to remove this warning. See 16:22:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:22:16 16:22:16 Login Succeeded 16:22:16 nexus3.edgexfoundry.org:10003 16:22:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:22:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:22:16 Configure a credential helper to remove this warning. See 16:22:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:22:16 16:22:16 Login Succeeded 16:22:16 nexus3.edgexfoundry.org:10004 16:22:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:22:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:22:16 Configure a credential helper to remove this warning. See 16:22:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:22:16 16:22:16 Login Succeeded 16:22:16 docker.io 16:22:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:22:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:22:16 Configure a credential helper to remove this warning. See 16:22:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:22:16 16:22:16 Login Succeeded 16:22:16 ---> docker-login.sh ends [Pipeline] } 16:22:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:22:17 + 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/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile 16:22:17 + dirname cmd/core-command/Dockerfile 16:22:17 + cut -d/ -f2 16:22:17 + echo core-command,cmd/core-command/Dockerfile 16:22:17 + dirname cmd/core-data/Dockerfile 16:22:17 + cut -d/ -f2 16:22:17 + echo core-data,cmd/core-data/Dockerfile 16:22:17 + dirname cmd/core-metadata/Dockerfile 16:22:17 + cut -d/ -f2 16:22:17 + echo core-metadata,cmd/core-metadata/Dockerfile 16:22:17 + dirname cmd/security-bootstrapper/Dockerfile 16:22:17 + cut -d/ -f2 16:22:17 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 16:22:17 + dirname cmd/security-proxy-setup/Dockerfile 16:22:17 + cut -d/ -f2 16:22:17 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 16:22:17 + dirname cmd/security-secretstore-setup/Dockerfile 16:22:17 + cut -d/ -f2 16:22:17 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 16:22:17 + dirname cmd/support-notifications/Dockerfile 16:22:17 + cut -d/ -f2 16:22:17 + echo support-notifications,cmd/support-notifications/Dockerfile 16:22:17 + dirname cmd/support-scheduler/Dockerfile 16:22:17 + cut -d/ -f2 16:22:17 + echo support-scheduler,cmd/support-scheduler/Dockerfile 16:22:17 + dirname cmd/sys-mgmt-agent/Dockerfile 16:22:17 + cut -d/ -f2 16:22:17 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 16:22:17 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: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 16:22:17 + git rev-list -1 --merges 5204587a99dd9a8f2591ceda39ba99a1b4fc6775~1..5204587a99dd9a8f2591ceda39ba99a1b4fc6775 [Pipeline] echo 16:22:17 -----------> git rev-list -1 --merges 5204587a99dd9a8f2591ceda39ba99a1b4fc6775~1..5204587a99dd9a8f2591ceda39ba99a1b4fc6775 5204587a99dd9a8f2591ceda39ba99a1b4fc6775 16:22:17 5204587a99dd9a8f2591ceda39ba99a1b4fc6775 [false] [Pipeline] sh 16:22:18 + git log --format=format:%s -1 5204587a99dd9a8f2591ceda39ba99a1b4fc6775 [Pipeline] echo 16:22:18 ========================================================= 16:22:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:22:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 16:22:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:22:18 + grep -v github /etc/ssh/ssh_known_hosts 16:22:18 + [ -e /tmp/ssh_known_hosts ] 16:22:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:22:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:22:18 + sudo tee -a /etc/ssh/ssh_known_hosts 16:22:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 16:22:19 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:22:19 16:22:19 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:22:19 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:22:19 latest: Pulling from edgex-devops/git-semver 16:22:19 a0d0a0d46f8b: Pulling fs layer 16:22:19 3e5f54012d9b: Pulling fs layer 16:22:19 4c7163046ea9: Pulling fs layer 16:22:19 0c2d73faf560: Pulling fs layer 16:22:19 0c2d73faf560: Waiting 16:22:19 3e5f54012d9b: Verifying Checksum 16:22:19 3e5f54012d9b: Download complete 16:22:19 a0d0a0d46f8b: Verifying Checksum 16:22:19 a0d0a0d46f8b: Download complete 16:22:19 0c2d73faf560: Verifying Checksum 16:22:19 0c2d73faf560: Download complete 16:22:20 4c7163046ea9: Verifying Checksum 16:22:20 4c7163046ea9: Download complete 16:22:20 a0d0a0d46f8b: Pull complete 16:22:20 3e5f54012d9b: Pull complete 16:22:20 4c7163046ea9: Pull complete 16:22:20 0c2d73faf560: Pull complete 16:22:20 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 16:22:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:22:20 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:22:20 prd-ubuntu20.04-docker-8c-8g-8663 does not seem to be running inside a container 16:22:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:22:21 $ docker top fed539b4712ffb0ea13d8e0465ea19318c4507025b942ed04685ac93a30438b9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:22:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:22:21 [ssh-agent] Looking for ssh-agent implementation... 16:22:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:22:21 $ docker exec fed539b4712ffb0ea13d8e0465ea19318c4507025b942ed04685ac93a30438b9 ssh-agent 16:22:22 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIDEoGG/agent.14 16:22:22 SSH_AGENT_PID=20 16:22:22 Running ssh-add (command line suppressed) 16:22:22 Identity added: /w/workspace/edgex-go/1@tmp/private_key_3015224488186138687.key (/w/workspace/edgex-go/1@tmp/private_key_3015224488186138687.key) 16:22:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:22:22 + git tag --points-at HEAD [Pipeline] } 16:22:22 $ docker exec --env ******** --env ******** fed539b4712ffb0ea13d8e0465ea19318c4507025b942ed04685ac93a30438b9 ssh-agent -k 16:22:22 unset SSH_AUTH_SOCK; 16:22:22 unset SSH_AGENT_PID; 16:22:22 echo Agent pid 20 killed; 16:22:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:22:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:22:22 [ssh-agent] Looking for ssh-agent implementation... 16:22:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:22:22 $ docker exec fed539b4712ffb0ea13d8e0465ea19318c4507025b942ed04685ac93a30438b9 ssh-agent 16:22:23 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCFKkpl/agent.53 16:22:23 SSH_AGENT_PID=59 16:22:23 Running ssh-add (command line suppressed) 16:22:23 Identity added: /w/workspace/edgex-go/1@tmp/private_key_6265871626240830977.key (/w/workspace/edgex-go/1@tmp/private_key_6265871626240830977.key) 16:22:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:22:23 + git semver init 16:22:23 # -> Open(): unable to determine branch for HEAD 16:22:23 # $GIT_DIR = /w/workspace/edgex-go/1/.git 16:22:23 # $GIT_WORK_TREE = /w/workspace/edgex-go/1 16:22:23 # $SEMVER_REMOTE_NAME = origin 16:22:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:22:23 # $SEMVER_USER_NAME = edgex-jenkins 16:22:23 # $SEMVER_BRANCH = PR-3922 16:22:23 # $SEMVER_TEMP = /tmp/semver-063750788 16:22:23 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 16:22:38 # '/tmp/semver-063750788' -> '/w/workspace/edgex-go/1/.semver' 16:22:38 # -> Force: false 16:22:38 # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } 16:22:38 $ docker exec --env ******** --env ******** fed539b4712ffb0ea13d8e0465ea19318c4507025b942ed04685ac93a30438b9 ssh-agent -k 16:22:38 unset SSH_AUTH_SOCK; 16:22:38 unset SSH_AGENT_PID; 16:22:38 echo Agent pid 59 killed; 16:22:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:22:39 + git semver [Pipeline] } 16:22:39 $ docker stop --time=1 fed539b4712ffb0ea13d8e0465ea19318c4507025b942ed04685ac93a30438b9 16:22:40 $ docker rm -f fed539b4712ffb0ea13d8e0465ea19318c4507025b942ed04685ac93a30438b9 [Pipeline] // withDockerContainer [Pipeline] sh 16:22:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:22:41 Stashed 1 file(s) [Pipeline] echo 16:22:41 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] echo 16:22:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:22:42 ========================================================= 16:22:42 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 16:22:42 ========================================================= [Pipeline] fileExists [Pipeline] sh 16:22:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:22:42 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 16:22:42 59bf1c3509f3: Pulling fs layer 16:22:42 666ba61612fd: Pulling fs layer 16:22:42 8ed8ca486205: Pulling fs layer 16:22:42 4fe6c5a15a65: Pulling fs layer 16:22:42 22a0e8bec74d: Pulling fs layer 16:22:42 640e595b4fbd: Pulling fs layer 16:22:42 763cafe07f6e: Pulling fs layer 16:22:42 0c0b528cf693: Pulling fs layer 16:22:42 10935f4eaf8b: Pulling fs layer 16:22:42 22a0e8bec74d: Waiting 16:22:42 4fe6c5a15a65: Waiting 16:22:42 640e595b4fbd: Waiting 16:22:42 0c0b528cf693: Waiting 16:22:42 10935f4eaf8b: Waiting 16:22:42 763cafe07f6e: Waiting 16:22:42 8ed8ca486205: Verifying Checksum 16:22:42 8ed8ca486205: Download complete 16:22:42 666ba61612fd: Verifying Checksum 16:22:42 666ba61612fd: Download complete 16:22:42 22a0e8bec74d: Download complete 16:22:42 640e595b4fbd: Download complete 16:22:42 763cafe07f6e: Download complete 16:22:42 59bf1c3509f3: Verifying Checksum 16:22:42 59bf1c3509f3: Download complete 16:22:43 0c0b528cf693: Verifying Checksum 16:22:43 0c0b528cf693: Download complete 16:22:43 59bf1c3509f3: Pull complete 16:22:43 666ba61612fd: Pull complete 16:22:43 8ed8ca486205: Pull complete 16:22:43 10935f4eaf8b: Verifying Checksum 16:22:43 10935f4eaf8b: Download complete 16:22:43 4fe6c5a15a65: Verifying Checksum 16:22:43 4fe6c5a15a65: Download complete 16:22:47 4fe6c5a15a65: Pull complete 16:22:47 22a0e8bec74d: Pull complete 16:22:47 640e595b4fbd: Pull complete 16:22:47 763cafe07f6e: Pull complete 16:22:48 0c0b528cf693: Pull complete 16:22:50 10935f4eaf8b: Pull complete 16:22:50 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 16:22:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:22:50 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] fileExists [Pipeline] sh 16:22:50 + docker build -t ci-base-image-x86_64 -f - . 16:22:50 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:22:50 WORKDIR /edgex 16:22:50 COPY go.mod . 16:22:50 RUN go mod download 16:22:52 Sending build context to Docker daemon 334.4MB 16:22:52 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:22:52 ---> 99d49a6021b9 16:22:52 Step 2/4 : WORKDIR /edgex 16:22:54 ---> Running in 5f0374edebf3 16:22:54 Removing intermediate container 5f0374edebf3 16:22:54 ---> a57fb6264e8b 16:22:54 Step 3/4 : COPY go.mod . 16:22:54 ---> 78f2fb4dff42 16:22:54 Step 4/4 : RUN go mod download 16:22:54 ---> Running in f1d860df62d8 16:22:57 Still waiting to schedule task 16:22:57 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 16:22:58 go mod download: github.com/edgexfoundry/go-mod-bootstrap/v2@v2.2.0-dev.6 (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 16:22:59 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] } 16:23:00 Failed in branch amd64 16:24:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8665 in /w/workspace/edgexfoundry_edgex-go_PR-3922 [Pipeline] { [Pipeline] ws 16:24:37 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout 16:24:38 The recommended git tool is: git 16:24:45 using credential edgex-jenkins-ssh 16:24:45 Cloning the remote Git repository 16:24:45 Cloning repository git@github.com:edgexfoundry/edgex-go.git 16:24:45 > git init /w/workspace/edgex-go/1 # timeout=10 16:24:46 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 16:24:46 > git --version # timeout=10 16:24:46 > git --version # 'git version 2.25.1' 16:24:46 using GIT_SSH to set credentials SSH Credentials for GitHub 16:24:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:25:03 Merging remotes/origin/main commit 6c659a0ac7e4b075f733eda5a0e0ff4b7d22267d into PR head commit c4ac1c46e80ff7b5e8422ab6f9b3e0c4e035a41d 16:25:04 Merge succeeded, producing 23c94e83f8292e004c8cdb50c6fe7525e9977292 16:25:04 Checking out Revision 23c94e83f8292e004c8cdb50c6fe7525e9977292 (PR-3922) 16:25:02 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 16:25:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:25:02 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 16:25:02 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 16:25:02 using GIT_SSH to set credentials SSH Credentials for GitHub 16:25:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3922/head:refs/remotes/origin/PR-3922 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:25:03 > git config core.sparsecheckout # timeout=10 16:25:03 > git checkout -f c4ac1c46e80ff7b5e8422ab6f9b3e0c4e035a41d # timeout=10 16:25:04 > git remote # timeout=10 16:25:04 > git config --get remote.origin.url # timeout=10 16:25:04 using GIT_SSH to set credentials SSH Credentials for GitHub 16:25:04 > git merge 6c659a0ac7e4b075f733eda5a0e0ff4b7d22267d # timeout=10 16:25:04 > git rev-parse HEAD^{commit} # timeout=10 16:25:04 > git config core.sparsecheckout # timeout=10 16:25:04 > git checkout -f 23c94e83f8292e004c8cdb50c6fe7525e9977292 # timeout=10 16:25:08 Commit message: "Merge commit '6c659a0ac7e4b075f733eda5a0e0ff4b7d22267d' into HEAD" 16:25:08 First time build. Skipping changelog. 16:25:08 > git --version # timeout=10 16:25:08 > git --version # 'git version 2.25.1' 16:25:08 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:25:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:25:09 % Total % Received % Xferd Average Speed Time Time Time Current 16:25:09 Dload Upload Total Spent Left Speed 16:25:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 38702 0 --:--:-- --:--:-- --:--:-- 38702 [Pipeline] sh 16:25:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:25:11 + sudo tee /etc/docker/daemon.new 16:25:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:25:11 { 16:25:11 "registry-mirrors": [ 16:25:11 "https://nexus3.edgexfoundry.org:10001" 16:25:11 ], 16:25:11 "bip": "10.250.0.254/24", 16:25:11 "hosts": [ 16:25:11 "tcp://0.0.0.0:5555", 16:25:11 "unix:///var/run/docker.sock" 16:25:11 ], 16:25:11 "mtu": 1458, 16:25:11 "selinux-enabled": true, 16:25:11 "seccomp-profile": "/etc/docker/seccomp.json" 16:25:11 } [Pipeline] sh 16:25:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:25:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:25:30 provisioning config files... 16:25:30 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config7184631482083457592tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:25:31 ---> docker-login.sh 16:25:31 nexus3.edgexfoundry.org:10001 16:25:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:31 Configure a credential helper to remove this warning. See 16:25:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:31 16:25:31 Login Succeeded 16:25:31 nexus3.edgexfoundry.org:10002 16:25:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:32 Configure a credential helper to remove this warning. See 16:25:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:32 16:25:32 Login Succeeded 16:25:32 nexus3.edgexfoundry.org:10003 16:25:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:33 Configure a credential helper to remove this warning. See 16:25:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:33 16:25:33 Login Succeeded 16:25:33 nexus3.edgexfoundry.org:10004 16:25:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:33 Configure a credential helper to remove this warning. See 16:25:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:33 16:25:33 Login Succeeded 16:25:33 docker.io 16:25:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:34 Configure a credential helper to remove this warning. See 16:25:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:34 16:25:34 Login Succeeded 16:25:34 ---> docker-login.sh ends [Pipeline] } 16:25:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:25:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:25:34 ========================================================= 16:25:34 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 16:25:34 ========================================================= [Pipeline] fileExists [Pipeline] sh 16:25:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:25:35 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:25:35 9b3977197b4f: Pulling fs layer 16:25:35 1a89e8eeedd5: Pulling fs layer 16:25:35 94645a83ff95: Pulling fs layer 16:25:35 3f3a8bcf1eab: Pulling fs layer 16:25:35 0c92f367c5e7: Pulling fs layer 16:25:35 f7c0051592d6: Pulling fs layer 16:25:35 a227ed2f7395: Pulling fs layer 16:25:35 7b1c46037f91: Pulling fs layer 16:25:35 3f3a8bcf1eab: Waiting 16:25:35 0c92f367c5e7: Waiting 16:25:35 f7c0051592d6: Waiting 16:25:35 a227ed2f7395: Waiting 16:25:35 7b1c46037f91: Waiting 16:25:35 94645a83ff95: Verifying Checksum 16:25:35 94645a83ff95: Download complete 16:25:35 1a89e8eeedd5: Verifying Checksum 16:25:35 1a89e8eeedd5: Download complete 16:25:35 0c92f367c5e7: Download complete 16:25:35 f7c0051592d6: Verifying Checksum 16:25:35 f7c0051592d6: Download complete 16:25:35 9b3977197b4f: Verifying Checksum 16:25:35 9b3977197b4f: Download complete 16:25:35 a227ed2f7395: Verifying Checksum 16:25:35 a227ed2f7395: Download complete 16:25:35 9b3977197b4f: Pull complete 16:25:36 1a89e8eeedd5: Pull complete 16:25:37 94645a83ff95: Pull complete 16:25:37 7b1c46037f91: Verifying Checksum 16:25:37 7b1c46037f91: Download complete 16:25:38 3f3a8bcf1eab: Verifying Checksum 16:25:38 3f3a8bcf1eab: Download complete 16:25:50 3f3a8bcf1eab: Pull complete 16:25:50 0c92f367c5e7: Pull complete 16:25:50 f7c0051592d6: Pull complete 16:25:50 a227ed2f7395: Pull complete 16:25:58 7b1c46037f91: Pull complete 16:25:58 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 16:25:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:25:58 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] fileExists [Pipeline] sh 16:25:59 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:25:59 WORKDIR /edgex 16:25:59 COPY go.mod . 16:25:59 RUN go mod download 16:25:59 + docker build -t ci-base-image-arm64 -f - . 16:26:01 Sending build context to Docker daemon 168.9MB 16:26:01 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:26:01 ---> f79e39bc4007 16:26:01 Step 2/4 : WORKDIR /edgex 16:26:02 ---> Running in 5dd9d62f0c2b 16:26:02 Removing intermediate container 5dd9d62f0c2b 16:26:02 ---> 6aa987d7bd8f 16:26:02 Step 3/4 : COPY go.mod . 16:26:03 ---> 40fff74390a7 16:26:03 Step 4/4 : RUN go mod download 16:26:03 ---> Running in 24643a4ddedc 16:26:13 go mod download: github.com/edgexfoundry/go-mod-bootstrap/v2@v2.2.0-dev.6 (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 16:26:13 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] sh 16:26:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:26:14 16:26:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 16:26:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:26:15 arm64: Pulling from edgex-lftools-log-publisher 16:26:15 8998bd30e6a1: Pulling fs layer 16:26:15 04944245beec: Pulling fs layer 16:26:15 699f458cf7ca: Pulling fs layer 16:26:15 765212b225bb: Pulling fs layer 16:26:15 f23df028b6ca: Pulling fs layer 16:26:15 d65c8cfc05b1: Pulling fs layer 16:26:15 2437ff75d9bd: Pulling fs layer 16:26:15 d65c8cfc05b1: Waiting 16:26:15 765212b225bb: Waiting 16:26:15 f23df028b6ca: Waiting 16:26:15 2437ff75d9bd: Waiting 16:26:15 04944245beec: Verifying Checksum 16:26:15 04944245beec: Download complete 16:26:15 765212b225bb: Verifying Checksum 16:26:15 765212b225bb: Download complete 16:26:15 f23df028b6ca: Verifying Checksum 16:26:15 f23df028b6ca: Download complete 16:26:15 d65c8cfc05b1: Verifying Checksum 16:26:15 d65c8cfc05b1: Download complete 16:26:15 699f458cf7ca: Verifying Checksum 16:26:15 699f458cf7ca: Download complete 16:26:15 8998bd30e6a1: Verifying Checksum 16:26:15 8998bd30e6a1: Download complete 16:26:18 2437ff75d9bd: Verifying Checksum 16:26:18 2437ff75d9bd: Download complete 16:26:20 8998bd30e6a1: Pull complete 16:26:20 04944245beec: Pull complete 16:26:22 699f458cf7ca: Pull complete 16:26:22 765212b225bb: Pull complete 16:26:23 f23df028b6ca: Pull complete 16:26:23 d65c8cfc05b1: Pull complete 16:26:38 2437ff75d9bd: Pull complete 16:26:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:26:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:26:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 16:26:39 prd-ubuntu20.04-docker-arm64-4c-16g-8665 does not seem to be running inside a container 16:26:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:26:41 $ docker top 6fe9716c80fa7ab715dcc5062a205b5f3afe108283333c64b07b41cc6ede0f66 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:26:42 ---> job-cost.sh 16:26:42 lf-activate-venv: SKIPPING 16:26:42 INFO: No Stack... 16:26:43 INFO: Retrieving Pricing Info for: v3-standard-4 16:26:44 INFO: Archiving Costs [Pipeline] sh 16:26:44 + cat /w/workspace/edgex-go/1/archives/cost.csv 16:26:44 + cut -d, -f6 [Pipeline] lock 16:26:44 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3922-1-stack-cost] 16:26:44 Resource [jenkins-edgexfoundry-edgex-go-PR-3922-1-stack-cost] did not exist. Created. 16:26:44 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3922-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:26:45 + echo total: 0.10999999940395355 [Pipeline] stash 16:26:46 Stashed 1 file(s) [Pipeline] } 16:26:46 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3922-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:26:46 $ docker stop --time=1 6fe9716c80fa7ab715dcc5062a205b5f3afe108283333c64b07b41cc6ede0f66 16:26:47 $ docker rm -f 6fe9716c80fa7ab715dcc5062a205b5f3afe108283333c64b07b41cc6ede0f66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:26:48 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 16:26:50 + [ -d /w/workspace/edgex-go/1/archives ] [Pipeline] libraryResource [Pipeline] sh 16:26:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:26:51 ---> package-listing.sh 16:26:51 ++ facter osfamily 16:26:51 ++ tr '[:upper:]' '[:lower:]' 16:26:51 + OS_FAMILY=debian 16:26:51 + workspace=/w/workspace/edgex-go/1 16:26:51 + START_PACKAGES=/tmp/packages_start.txt 16:26:51 + END_PACKAGES=/tmp/packages_end.txt 16:26:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:26:51 + PACKAGES=/tmp/packages_start.txt 16:26:51 + '[' /w/workspace/edgex-go/1 ']' 16:26:51 + PACKAGES=/tmp/packages_end.txt 16:26:51 + case "${OS_FAMILY}" in 16:26:51 + dpkg -l 16:26:51 + grep '^ii' 16:26:51 + '[' -f /tmp/packages_start.txt ']' 16:26:51 + '[' -f /tmp/packages_end.txt ']' 16:26:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:26:51 + '[' /w/workspace/edgex-go/1 ']' 16:26:51 + mkdir -p /w/workspace/edgex-go/1/archives/ 16:26:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 16:26:51 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:26:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:26:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:26:52 16:26:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:26:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:26:53 latest: Pulling from edgex-lftools-log-publisher 16:26:53 5eb5b503b376: Pulling fs layer 16:26:53 5c69ac0246d0: Pulling fs layer 16:26:53 ec43610c2a17: Pulling fs layer 16:26:53 3a2ae6a8a46f: Pulling fs layer 16:26:53 33b1e0a273af: Pulling fs layer 16:26:53 5d3b04190fa2: Pulling fs layer 16:26:53 2f39f015ded8: Pulling fs layer 16:26:53 3a2ae6a8a46f: Waiting 16:26:53 33b1e0a273af: Waiting 16:26:53 5d3b04190fa2: Waiting 16:26:53 2f39f015ded8: Waiting 16:26:53 5c69ac0246d0: Verifying Checksum 16:26:53 5c69ac0246d0: Download complete 16:26:53 3a2ae6a8a46f: Download complete 16:26:53 33b1e0a273af: Verifying Checksum 16:26:53 33b1e0a273af: Download complete 16:26:53 5d3b04190fa2: Verifying Checksum 16:26:53 5d3b04190fa2: Download complete 16:26:53 ec43610c2a17: Verifying Checksum 16:26:53 ec43610c2a17: Download complete 16:26:53 5eb5b503b376: Verifying Checksum 16:26:53 5eb5b503b376: Download complete 16:26:53 2f39f015ded8: Download complete 16:26:54 5eb5b503b376: Pull complete 16:26:54 5c69ac0246d0: Pull complete 16:26:55 ec43610c2a17: Pull complete 16:26:55 3a2ae6a8a46f: Pull complete 16:26:55 33b1e0a273af: Pull complete 16:26:55 5d3b04190fa2: Pull complete 16:27:01 2f39f015ded8: Pull complete 16:27:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:27:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:27:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:27:01 prd-ubuntu20.04-docker-8c-8g-8663 does not seem to be running inside a container 16:27:01 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:27:02 $ docker top aa0f26b2f041038e60590fefc1b59911b824318c8af5a10470f2a38e6094d06d -eo pid,comm [Pipeline] { [Pipeline] sh 16:27:02 + touch /tmp/pre-build-complete [Pipeline] sh 16:27:03 + mkdir -p /var/log/sysstat [Pipeline] sh 16:27:03 + ls /var/log/sa-host 16:27:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:27:03 provisioning config files... 16:27:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config3916799971220582787tmp [Pipeline] { [Pipeline] echo 16:27:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:27:04 ---> create-netrc.sh [Pipeline] } 16:27:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:27:04 ---> python-tools-install.sh [Pipeline] echo 16:27:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:27:04 ---> sudo-logs.sh 16:27:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:27:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:27:05 ---> job-cost.sh 16:27:05 lf-activate-venv: SKIPPING 16:27:05 DEBUG: total: 0.10999999940395355 16:27:05 INFO: Retrieving Stack Cost... 16:27:05 INFO: Retrieving Pricing Info for: v3-standard-8 16:27:06 INFO: Archiving Costs [Pipeline] echo 16:27:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:27:06 ---> logs-deploy.sh 16:27:06 lf-activate-venv: SKIPPING 16:27:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3922/1 16:27:06 INFO: archiving workspace using pattern(s): 16:27:07 Archives upload complete. 16:27:07 INFO: archiving logs to Nexus