Pull request #4 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/app-record-replay Obtained Jenkinsfile from de7724b5d0abf93df3c614d3b7c1f39244054d5d+9e922b9e5c9061430c0bdd5b3bb3138567ecf0ee (79b13eca97ac8655b5011cc3b995f21ad99744a7) 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-ssh8074218624480253123.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh7787220137714915548.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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/app-record-replay/branches/PR-4/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-4/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7595822828356753507.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/app-record-replay/branches/PR-4/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1597612781060633068.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4074420101412810825.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-4/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-4/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16352497295261712819.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 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 ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-record-replay, 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 ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-record-replay-settings PROJECT: app-record-replay USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-record-replay DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-18926 in /w/workspace/exfoundry_app-record-replay_PR-4 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-record-replay.git > git init /w/workspace/exfoundry_app-record-replay_PR-4 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.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/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 9e922b9e5c9061430c0bdd5b3bb3138567ecf0ee into PR head commit de7724b5d0abf93df3c614d3b7c1f39244054d5d Merge succeeded, producing de7724b5d0abf93df3c614d3b7c1f39244054d5d Checking out Revision de7724b5d0abf93df3c614d3b7c1f39244054d5d (PR-4) > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.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/app-record-replay.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/4/head:refs/remotes/origin/PR-4 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f de7724b5d0abf93df3c614d3b7c1f39244054d5d # 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 9e922b9e5c9061430c0bdd5b3bb3138567ecf0ee # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f de7724b5d0abf93df3c614d3b7c1f39244054d5d # timeout=10 Commit message: "feat: Implement dummy main to test Ci pipeline and docker builds" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:39:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:39:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:39:13 ========================================================= 20:39:13 EdgeX Global Pipelines Version Info 20:39:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:39:14 ------------------- 20:39:14 stable info: 20:39:14 ------------------- 20:39:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:39:14 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 20:39:14 Message: update stable to v1.0.250 20:39:15 ------------------- 20:39:15 experimental info: 20:39:15 ------------------- 20:39:15 Commited By: **** collab-it+edgex@linuxfoundation.org 20:39:15 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 20:39:15 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:39:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 20:39:15 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 20:39:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:39:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:39:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:39:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:39:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:39:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:39:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:39:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:39:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:39:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 20:39:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:39:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:39:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:39:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:39:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:39:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:39:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:39:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:39:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:39:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:39:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:39:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:39:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:39:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:39:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:39:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4 [Pipeline] echo 20:39:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4 [Pipeline] echo 20:39:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4 [Pipeline] echo 20:39:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = de7724b5d0abf93df3c614d3b7c1f39244054d5d [Pipeline] echo 20:39:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = de7724b [Pipeline] echo 20:39:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:39:17 provisioning config files... 20:39:17 copy managed file [app-record-replay-settings] to file:/w/workspace/exfoundry_app-record-replay_PR-4@tmp/config778769043490730380tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:39:17 ---> docker-login.sh 20:39:17 nexus3.edgexfoundry.org:10001 20:39:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:17 Configure a credential helper to remove this warning. See 20:39:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:17 20:39:17 Login Succeeded 20:39:17 nexus3.edgexfoundry.org:10002 20:39:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:17 Configure a credential helper to remove this warning. See 20:39:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:17 20:39:17 Login Succeeded 20:39:17 nexus3.edgexfoundry.org:10003 20:39:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:17 Configure a credential helper to remove this warning. See 20:39:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:17 20:39:17 Login Succeeded 20:39:17 nexus3.edgexfoundry.org:10004 20:39:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:18 Configure a credential helper to remove this warning. See 20:39:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:18 20:39:18 Login Succeeded 20:39:18 docker.io 20:39:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:18 Configure a credential helper to remove this warning. See 20:39:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:18 20:39:18 Login Succeeded 20:39:18 ---> docker-login.sh ends [Pipeline] } 20:39:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:39:19 + git rev-list -1 --merges de7724b5d0abf93df3c614d3b7c1f39244054d5d~1..de7724b5d0abf93df3c614d3b7c1f39244054d5d [Pipeline] echo 20:39:19 -----------> git rev-list -1 --merges de7724b5d0abf93df3c614d3b7c1f39244054d5d~1..de7724b5d0abf93df3c614d3b7c1f39244054d5d de7724b5d0abf93df3c614d3b7c1f39244054d5d [false] [Pipeline] sh 20:39:19 + git log --format=format:%s -1 de7724b5d0abf93df3c614d3b7c1f39244054d5d [Pipeline] echo 20:39:19 ========================================================= 20:39:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:39:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:39:20 + git log --format=format:%s -1 de7724b5d0abf93df3c614d3b7c1f39244054d5d [Pipeline] echo 20:39:20 [semverPrep] GIT_COMMIT: de7724b5d0abf93df3c614d3b7c1f39244054d5d, Commit Message: feat: Implement dummy main to test Ci pipeline and docker builds [Pipeline] echo 20:39:20 [semverPrep] This is not a build commit. [Pipeline] sh 20:39:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:39:20 + grep -v github /etc/ssh/ssh_known_hosts 20:39:20 + [ -e /tmp/ssh_known_hosts ] 20:39:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:39:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:39:20 + sudo tee -a /etc/ssh/ssh_known_hosts 20:39:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:39:21 20:39:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:39:21 0.1.4: Pulling from edgex-devops/py-git-semver 20:39:21 b85a868b505f: Pulling fs layer 20:39:21 e2be974225ed: Pulling fs layer 20:39:21 339a4e72a1f5: Pulling fs layer 20:39:21 988bab9f4d93: Pulling fs layer 20:39:21 1469e6f7b9e6: Pulling fs layer 20:39:21 eaf3925da568: Pulling fs layer 20:39:21 bab4dde63d76: Pulling fs layer 20:39:21 bde34c3a00c8: Pulling fs layer 20:39:21 b352a97aabf1: Pulling fs layer 20:39:21 4872d77fe225: Pulling fs layer 20:39:21 5851b861e8e6: Pulling fs layer 20:39:21 bde34c3a00c8: Waiting 20:39:21 b352a97aabf1: Waiting 20:39:21 988bab9f4d93: Waiting 20:39:21 1469e6f7b9e6: Waiting 20:39:21 4872d77fe225: Waiting 20:39:21 5851b861e8e6: Waiting 20:39:21 bab4dde63d76: Waiting 20:39:21 eaf3925da568: Waiting 20:39:21 e2be974225ed: Verifying Checksum 20:39:21 e2be974225ed: Download complete 20:39:21 988bab9f4d93: Verifying Checksum 20:39:21 988bab9f4d93: Download complete 20:39:21 1469e6f7b9e6: Verifying Checksum 20:39:21 1469e6f7b9e6: Download complete 20:39:21 339a4e72a1f5: Verifying Checksum 20:39:21 339a4e72a1f5: Download complete 20:39:21 eaf3925da568: Verifying Checksum 20:39:21 eaf3925da568: Download complete 20:39:21 bde34c3a00c8: Verifying Checksum 20:39:21 bde34c3a00c8: Download complete 20:39:21 b352a97aabf1: Verifying Checksum 20:39:21 b352a97aabf1: Download complete 20:39:21 4872d77fe225: Verifying Checksum 20:39:21 4872d77fe225: Download complete 20:39:21 5851b861e8e6: Download complete 20:39:21 b85a868b505f: Download complete 20:39:21 bab4dde63d76: Verifying Checksum 20:39:21 bab4dde63d76: Download complete 20:39:22 b85a868b505f: Pull complete 20:39:23 e2be974225ed: Pull complete 20:39:23 339a4e72a1f5: Pull complete 20:39:23 988bab9f4d93: Pull complete 20:39:23 1469e6f7b9e6: Pull complete 20:39:23 eaf3925da568: Pull complete 20:39:25 bab4dde63d76: Pull complete 20:39:25 bde34c3a00c8: Pull complete 20:39:25 b352a97aabf1: Pull complete 20:39:25 4872d77fe225: Pull complete 20:39:26 5851b861e8e6: Pull complete 20:39:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:39:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:39:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:39:26 prd-ubuntu20.04-docker-8c-8g-18926 does not seem to be running inside a container 20:39:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_app-record-replay_PR-4 -v /w/workspace/exfoundry_app-record-replay_PR-4:/w/workspace/exfoundry_app-record-replay_PR-4:rw,z -v /w/workspace/exfoundry_app-record-replay_PR-4@tmp:/w/workspace/exfoundry_app-record-replay_PR-4@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:39:28 $ docker top 744e05a2f3d5f644385dc5a19bf2076551711d4e5a6798d2a3c78b933e14eb6e -eo pid,comm 20:39:28 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). 20:39:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:39:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:39:28 [ssh-agent] Looking for ssh-agent implementation... 20:39:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:39:28 $ docker exec 744e05a2f3d5f644385dc5a19bf2076551711d4e5a6798d2a3c78b933e14eb6e ssh-agent 20:39:28 SSH_AUTH_SOCK=/tmp/ssh-S9g2a3MElraa/agent.32 20:39:28 SSH_AGENT_PID=38 20:39:28 Running ssh-add (command line suppressed) 20:39:28 Identity added: /w/workspace/exfoundry_app-record-replay_PR-4@tmp/private_key_10225527569967236213.key (/w/workspace/exfoundry_app-record-replay_PR-4@tmp/private_key_10225527569967236213.key) 20:39:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:39:29 + git tag --points-at HEAD [Pipeline] } 20:39:29 $ docker exec --env ******** --env ******** 744e05a2f3d5f644385dc5a19bf2076551711d4e5a6798d2a3c78b933e14eb6e ssh-agent -k 20:39:29 unset SSH_AUTH_SOCK; 20:39:29 unset SSH_AGENT_PID; 20:39:29 echo Agent pid 38 killed; 20:39:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:39:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:39:29 [ssh-agent] Looking for ssh-agent implementation... 20:39:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:39:29 $ docker exec 744e05a2f3d5f644385dc5a19bf2076551711d4e5a6798d2a3c78b933e14eb6e ssh-agent 20:39:29 SSH_AUTH_SOCK=/tmp/ssh-gTUO3fs0DM1l/agent.70 20:39:29 SSH_AGENT_PID=76 20:39:29 Running ssh-add (command line suppressed) 20:39:29 Identity added: /w/workspace/exfoundry_app-record-replay_PR-4@tmp/private_key_11004616644319891145.key (/w/workspace/exfoundry_app-record-replay_PR-4@tmp/private_key_11004616644319891145.key) 20:39:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:39:29 + git semver init 20:39:30 2023-06-20 20:39:30,142 [run_init] DEBUG init version:0.0.0 force:False 20:39:30 2023-06-20 20:39:30,142 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_app-record-replay_PR-4/.semver 20:39:30 2023-06-20 20:39:30,143 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/exfoundry_app-record-replay_PR-4/.semver 20:39:30 2023-06-20 20:39:30,143 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/exfoundry_app-record-replay_PR-4/.semver'], cwd=/w/workspace/exfoundry_app-record-replay_PR-4, universal_newlines=False, shell=None, istream=None) 20:39:30 2023-06-20 20:39:30,716 [append_file] DEBUG append to file:/w/workspace/exfoundry_app-record-replay_PR-4/.git/info/exclude 20:39:30 2023-06-20 20:39:30,717 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_app-record-replay_PR-4/.semver/PR-4 with force:False 20:39:30 2023-06-20 20:39:30,717 [write_file] DEBUG write to file:/w/workspace/exfoundry_app-record-replay_PR-4/.semver/PR-4 20:39:30 2023-06-20 20:39:30,721 [execute] INFO git cat-file --batch-check 20:39:30 2023-06-20 20:39:30,722 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_app-record-replay_PR-4/.semver, universal_newlines=False, shell=None, istream=) 20:39:30 2023-06-20 20:39:30,727 [execute] INFO git cat-file --batch 20:39:30 2023-06-20 20:39:30,727 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_app-record-replay_PR-4/.semver, universal_newlines=False, shell=None, istream=) 20:39:30 2023-06-20 20:39:30,730 [read_version] DEBUG read version from /w/workspace/exfoundry_app-record-replay_PR-4/.semver/PR-4 20:39:30 0.0.0 [Pipeline] } 20:39:30 $ docker exec --env ******** --env ******** 744e05a2f3d5f644385dc5a19bf2076551711d4e5a6798d2a3c78b933e14eb6e ssh-agent -k 20:39:30 unset SSH_AUTH_SOCK; 20:39:30 unset SSH_AGENT_PID; 20:39:30 echo Agent pid 76 killed; 20:39:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:39:31 + git semver [Pipeline] } 20:39:31 $ docker stop --time=1 744e05a2f3d5f644385dc5a19bf2076551711d4e5a6798d2a3c78b933e14eb6e 20:39:33 $ docker rm -f --volumes 744e05a2f3d5f644385dc5a19bf2076551711d4e5a6798d2a3c78b933e14eb6e [Pipeline] // withDockerContainer [Pipeline] sh 20:39:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:39:33 Stashed 1 file(s) [Pipeline] echo 20:39:33 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:39:34 provisioning config files... 20:39:34 copy managed file [app-record-replay-settings] to file:/w/workspace/exfoundry_app-record-replay_PR-4@tmp/config14823387797552405256tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:39:34 ---> docker-login.sh 20:39:34 nexus3.edgexfoundry.org:10001 20:39:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:34 Configure a credential helper to remove this warning. See 20:39:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:34 20:39:34 Login Succeeded 20:39:34 nexus3.edgexfoundry.org:10002 20:39:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:34 Configure a credential helper to remove this warning. See 20:39:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:34 20:39:34 Login Succeeded 20:39:34 nexus3.edgexfoundry.org:10003 20:39:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:35 Configure a credential helper to remove this warning. See 20:39:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:35 20:39:35 Login Succeeded 20:39:35 nexus3.edgexfoundry.org:10004 20:39:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:35 Configure a credential helper to remove this warning. See 20:39:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:35 20:39:35 Login Succeeded 20:39:35 docker.io 20:39:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:35 Configure a credential helper to remove this warning. See 20:39:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:35 20:39:35 Login Succeeded 20:39:35 ---> docker-login.sh ends [Pipeline] } 20:39:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:39:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:39:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:39:35 ========================================================= 20:39:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:39:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:36 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:39:36 Sending build context to Docker daemon 177.2kB 20:39:36 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:39:36 Step 2/12 : FROM ${BASE} AS builder 20:39:36 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:39:36 f56be85fc22e: Pulling fs layer 20:39:36 85791d961cd3: Pulling fs layer 20:39:36 d694b5ae8c79: Pulling fs layer 20:39:36 9f32a84ed3da: Pulling fs layer 20:39:36 4d19c01a9841: Pulling fs layer 20:39:36 9325e15d5711: Pulling fs layer 20:39:36 556b6ee489ea: Pulling fs layer 20:39:36 c5a4b2cf53e6: Pulling fs layer 20:39:36 c5a4b2cf53e6: Waiting 20:39:36 556b6ee489ea: Waiting 20:39:36 4d19c01a9841: Waiting 20:39:36 85791d961cd3: Download complete 20:39:36 9f32a84ed3da: Download complete 20:39:36 4d19c01a9841: Verifying Checksum 20:39:36 4d19c01a9841: Download complete 20:39:36 f56be85fc22e: Verifying Checksum 20:39:36 f56be85fc22e: Download complete 20:39:36 9325e15d5711: Verifying Checksum 20:39:36 9325e15d5711: Download complete 20:39:36 f56be85fc22e: Pull complete 20:39:36 85791d961cd3: Pull complete 20:39:36 c5a4b2cf53e6: Verifying Checksum 20:39:36 c5a4b2cf53e6: Download complete 20:39:37 d694b5ae8c79: Download complete 20:39:37 556b6ee489ea: Verifying Checksum 20:39:37 556b6ee489ea: Download complete 20:39:40 d694b5ae8c79: Pull complete 20:39:40 9f32a84ed3da: Pull complete 20:39:40 4d19c01a9841: Pull complete 20:39:40 9325e15d5711: Pull complete 20:39:43 556b6ee489ea: Pull complete 20:39:44 c5a4b2cf53e6: Pull complete 20:39:44 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 20:39:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:39:44 ---> c4be618373d6 20:39:44 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 20:39:48 ---> Running in 2d701a926886 20:39:48 Removing intermediate container 2d701a926886 20:39:48 ---> 2ccdc2e9e231 20:39:48 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:39:48 ---> Running in c891debf7e56 20:39:48 Removing intermediate container c891debf7e56 20:39:48 ---> 4d20b4b03df4 20:39:48 Step 5/12 : ARG ADD_BUILD_TAGS="" 20:39:48 ---> Running in 6154c0476a11 20:39:48 Removing intermediate container 6154c0476a11 20:39:48 ---> 8ba2023c9e6a 20:39:48 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:39:48 ---> Running in 2a92380d0c33 20:39:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:39:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:39:49 OK: 265 MiB in 53 packages 20:39:49 Still waiting to schedule task 20:39:49 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:39:50 Removing intermediate container 2a92380d0c33 20:39:50 ---> a9ce3141de6a 20:39:50 Step 7/12 : WORKDIR /app 20:39:50 ---> Running in a4cd3571a2d9 20:39:50 Removing intermediate container a4cd3571a2d9 20:39:50 ---> ec4dd182714b 20:39:50 Step 8/12 : COPY go.mod vendor* ./ 20:39:50 ---> 212bb001df6f 20:39:50 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:39:50 ---> Running in ebddf3b1a170 20:40:17 Removing intermediate container ebddf3b1a170 20:40:17 ---> 661fec670569 20:40:17 Step 10/12 : COPY . . 20:40:17 ---> fb8f4a2292a7 20:40:17 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:40:17 ---> Running in a72a899ed03c 20:40:17 Removing intermediate container a72a899ed03c 20:40:17 ---> 3d72610e8d36 20:40:17 Step 12/12 : RUN $MAKE 20:40:17 ---> Running in c8d38aa2b701 20:40:17 noop 20:40:17 Removing intermediate container c8d38aa2b701 20:40:17 ---> 2760f39b07c2 20:40:17 Successfully built 2760f39b07c2 20:40:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:18 + docker inspect -f . ci-base-image-x86_64 20:40:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:40:18 prd-ubuntu20.04-docker-8c-8g-18926 does not seem to be running inside a container 20:40:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_app-record-replay_PR-4 -v /w/workspace/exfoundry_app-record-replay_PR-4:/w/workspace/exfoundry_app-record-replay_PR-4:rw,z -v /w/workspace/exfoundry_app-record-replay_PR-4@tmp:/w/workspace/exfoundry_app-record-replay_PR-4@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:40:18 $ docker top dc8daf20c3849f631616daa641c82e85aa92ed103f608da7ae8bf391a160c76f -eo pid,comm [Pipeline] { [Pipeline] sh 20:40:19 + go version 20:40:19 go version go1.20.2 linux/amd64 [Pipeline] } 20:40:19 $ docker stop --time=1 dc8daf20c3849f631616daa641c82e85aa92ed103f608da7ae8bf391a160c76f 20:40:20 $ docker rm -f --volumes dc8daf20c3849f631616daa641c82e85aa92ed103f608da7ae8bf391a160c76f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:21 + docker inspect -f . ci-base-image-x86_64 20:40:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:40:21 prd-ubuntu20.04-docker-8c-8g-18926 does not seem to be running inside a container 20:40:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_app-record-replay_PR-4 -v /w/workspace/exfoundry_app-record-replay_PR-4:/w/workspace/exfoundry_app-record-replay_PR-4:rw,z -v /w/workspace/exfoundry_app-record-replay_PR-4@tmp:/w/workspace/exfoundry_app-record-replay_PR-4@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:40:21 $ docker top 562f4f93461a76a1cbc75130864e81355c162a693516bbeef74bf442f45b341d -eo pid,comm [Pipeline] { [Pipeline] sh 20:40:22 + git config --global --add safe.directory /w/workspace/exfoundry_app-record-replay_PR-4 [Pipeline] fileExists [Pipeline] sh 20:40:22 + make test 20:40:22 go test -race -coverprofile=coverage.out ./... 20:40:30 ? github.com/edgexfoundry/app-service-configurable [no test files] 20:40:34 go vet ./... 20:40:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:40:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:40:35 ./bin/test-attribution-txt.sh 20:40:35 make: ./bin/test-attribution-txt.sh: No such file or directory 20:40:35 make: *** [makefile:59: test] Error 127 [Pipeline] } 20:40:35 $ docker stop --time=1 562f4f93461a76a1cbc75130864e81355c162a693516bbeef74bf442f45b341d 20:40:37 $ docker rm -f --volumes 562f4f93461a76a1cbc75130864e81355c162a693516bbeef74bf442f45b341d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:40:39 20:40:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:40:39 latest: Pulling from edgex-lftools-log-publisher 20:40:39 5eb5b503b376: Pulling fs layer 20:40:39 5c69ac0246d0: Pulling fs layer 20:40:39 ec43610c2a17: Pulling fs layer 20:40:39 3a2ae6a8a46f: Pulling fs layer 20:40:39 33b1e0a273af: Pulling fs layer 20:40:39 5d3b04190fa2: Pulling fs layer 20:40:39 2f39f015ded8: Pulling fs layer 20:40:39 3a2ae6a8a46f: Waiting 20:40:39 33b1e0a273af: Waiting 20:40:39 5d3b04190fa2: Waiting 20:40:39 2f39f015ded8: Waiting 20:40:39 5c69ac0246d0: Download complete 20:40:39 3a2ae6a8a46f: Verifying Checksum 20:40:39 3a2ae6a8a46f: Download complete 20:40:39 33b1e0a273af: Verifying Checksum 20:40:39 33b1e0a273af: Download complete 20:40:39 ec43610c2a17: Verifying Checksum 20:40:39 ec43610c2a17: Download complete 20:40:39 5d3b04190fa2: Verifying Checksum 20:40:39 5d3b04190fa2: Download complete 20:40:39 5eb5b503b376: Verifying Checksum 20:40:39 5eb5b503b376: Download complete 20:40:41 5eb5b503b376: Pull complete 20:40:41 5c69ac0246d0: Pull complete 20:40:41 ec43610c2a17: Pull complete 20:40:42 3a2ae6a8a46f: Pull complete 20:40:42 33b1e0a273af: Pull complete 20:40:42 5d3b04190fa2: Pull complete 20:40:46 2f39f015ded8: Pull complete 20:40:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:40:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:40:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:40:46 prd-ubuntu20.04-docker-8c-8g-18926 does not seem to be running inside a container 20:40:46 $ 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/exfoundry_app-record-replay_PR-4 -v /w/workspace/exfoundry_app-record-replay_PR-4:/w/workspace/exfoundry_app-record-replay_PR-4:rw,z -v /w/workspace/exfoundry_app-record-replay_PR-4@tmp:/w/workspace/exfoundry_app-record-replay_PR-4@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:40:52 $ docker top 5923d7c389314e896c24ba9c4230e78b98d8eb47e0060f4b722f467bd770f54a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:40:52 ---> job-cost.sh 20:40:52 lf-activate-venv: SKIPPING 20:40:52 INFO: No Stack... 20:40:53 INFO: Retrieving Pricing Info for: v3-standard-8 20:40:53 INFO: Archiving Costs [Pipeline] sh 20:40:53 + + cut -d,cat -f6 /w/workspace/exfoundry_app-record-replay_PR-4/archives/cost.csv 20:40:53 [Pipeline] lock 20:40:54 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-4-1-stack-cost] 20:40:54 Resource [jenkins-edgexfoundry-app-record-replay-PR-4-1-stack-cost] did not exist. Created. 20:40:54 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-4-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:40:54 + echo total: 0.2199999988079071 [Pipeline] stash 20:40:54 Stashed 1 file(s) [Pipeline] } 20:40:54 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-4-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:40:54 $ docker stop --time=1 5923d7c389314e896c24ba9c4230e78b98d8eb47e0060f4b722f467bd770f54a 20:40:55 $ docker rm -f --volumes 5923d7c389314e896c24ba9c4230e78b98d8eb47e0060f4b722f467bd770f54a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:40:56 Failed in branch amd64 20:41:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-18927 in /w/workspace/exfoundry_app-record-replay_PR-4 [Pipeline] { [Pipeline] ws 20:41:16 Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout 20:41:16 The recommended git tool is: NONE 20:41:21 using credential edgex-jenkins-ssh 20:41:21 Cloning the remote Git repository 20:41:21 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 20:41:21 > git init /w/workspace/app-record-replay/1 # timeout=10 20:41:21 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 20:41:21 > git --version # timeout=10 20:41:21 > git --version # 'git version 2.25.1' 20:41:21 using GIT_SSH to set credentials SSH Credentials for GitHub 20:41:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:41:22 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 20:41:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:41:23 Merging remotes/origin/main commit 9e922b9e5c9061430c0bdd5b3bb3138567ecf0ee into PR head commit de7724b5d0abf93df3c614d3b7c1f39244054d5d 20:41:23 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 20:41:23 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 20:41:23 using GIT_SSH to set credentials SSH Credentials for GitHub 20:41:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/4/head:refs/remotes/origin/PR-4 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:41:23 > git config core.sparsecheckout # timeout=10 20:41:23 > git checkout -f de7724b5d0abf93df3c614d3b7c1f39244054d5d # timeout=10 20:41:24 > git remote # timeout=10 20:41:24 Merge succeeded, producing de7724b5d0abf93df3c614d3b7c1f39244054d5d 20:41:24 Checking out Revision de7724b5d0abf93df3c614d3b7c1f39244054d5d (PR-4) 20:41:24 > git config --get remote.origin.url # timeout=10 20:41:24 using GIT_SSH to set credentials SSH Credentials for GitHub 20:41:24 > git merge 9e922b9e5c9061430c0bdd5b3bb3138567ecf0ee # timeout=10 20:41:24 > git rev-parse HEAD^{commit} # timeout=10 20:41:24 > git config core.sparsecheckout # timeout=10 20:41:24 > git checkout -f de7724b5d0abf93df3c614d3b7c1f39244054d5d # timeout=10 20:41:27 Commit message: "feat: Implement dummy main to test Ci pipeline and docker builds" 20:41:27 > git --version # timeout=10 20:41:27 > git --version # 'git version 2.25.1' 20:41:27 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:41:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:41:28 % Total % Received % Xferd Average Speed Time Time Time Current 20:41:28 Dload Upload Total Spent Left Speed 20:41:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 99617 [Pipeline] sh 20:41:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:41:29 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:41:29 + sudo tee /etc/docker/daemon.new 20:41:29 { 20:41:29 "registry-mirrors": [ 20:41:29 "https://nexus3.edgexfoundry.org:10001" 20:41:29 ], 20:41:29 "bip": "10.250.0.254/24", 20:41:29 "hosts": [ 20:41:29 "tcp://0.0.0.0:5555", 20:41:29 "unix:///var/run/docker.sock" 20:41:29 ], 20:41:29 "mtu": 1458, 20:41:29 "selinux-enabled": true, 20:41:29 "seccomp-profile": "/etc/docker/seccomp.json" 20:41:29 } [Pipeline] sh 20:41:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:41:30 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:41:48 provisioning config files... 20:41:48 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config2741406041096523246tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:41:48 ---> docker-login.sh 20:41:48 nexus3.edgexfoundry.org:10001 20:41:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:49 Configure a credential helper to remove this warning. See 20:41:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:49 20:41:49 Login Succeeded 20:41:49 nexus3.edgexfoundry.org:10002 20:41:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:49 Configure a credential helper to remove this warning. See 20:41:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:49 20:41:49 Login Succeeded 20:41:49 nexus3.edgexfoundry.org:10003 20:41:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:49 Configure a credential helper to remove this warning. See 20:41:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:49 20:41:49 Login Succeeded 20:41:49 nexus3.edgexfoundry.org:10004 20:41:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:50 Configure a credential helper to remove this warning. See 20:41:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:50 20:41:50 Login Succeeded 20:41:50 docker.io 20:41:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:50 Configure a credential helper to remove this warning. See 20:41:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:50 20:41:50 Login Succeeded 20:41:50 ---> docker-login.sh ends [Pipeline] } 20:41:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:41:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:41:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:41:51 ========================================================= 20:41:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:41:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:51 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:41:51 Sending build context to Docker daemon 83.97kB 20:41:55 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:41:55 Step 2/12 : FROM ${BASE} AS builder 20:41:55 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:41:55 c41833b44d91: Pulling fs layer 20:41:55 ed15518f5707: Pulling fs layer 20:41:55 feae8fd75edb: Pulling fs layer 20:41:55 242c74f7c9fa: Pulling fs layer 20:41:55 3cdef696dda3: Pulling fs layer 20:41:55 2ced38df9373: Pulling fs layer 20:41:55 58f1dce35555: Pulling fs layer 20:41:55 3cdef696dda3: Waiting 20:41:55 2ced38df9373: Waiting 20:41:55 58f1dce35555: Waiting 20:41:55 242c74f7c9fa: Waiting 20:41:55 ed15518f5707: Download complete 20:41:55 242c74f7c9fa: Verifying Checksum 20:41:55 242c74f7c9fa: Download complete 20:41:55 3cdef696dda3: Download complete 20:41:55 c41833b44d91: Verifying Checksum 20:41:55 c41833b44d91: Download complete 20:41:57 c41833b44d91: Pull complete 20:41:57 58f1dce35555: Verifying Checksum 20:41:57 58f1dce35555: Download complete 20:41:57 ed15518f5707: Pull complete 20:41:58 feae8fd75edb: Verifying Checksum 20:41:58 feae8fd75edb: Download complete 20:41:58 2ced38df9373: Verifying Checksum 20:41:58 2ced38df9373: Download complete 20:42:10 feae8fd75edb: Pull complete 20:42:10 242c74f7c9fa: Pull complete 20:42:10 3cdef696dda3: Pull complete 20:42:15 2ced38df9373: Pull complete 20:42:18 58f1dce35555: Pull complete 20:42:18 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 20:42:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:42:18 ---> fadd8f120f05 20:42:18 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 20:42:19 ---> Running in 3a70f43c68b0 20:42:20 Removing intermediate container 3a70f43c68b0 20:42:20 ---> 5c92d70503fa 20:42:20 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:42:20 ---> Running in 7c9d34e27c91 20:42:20 Removing intermediate container 7c9d34e27c91 20:42:20 ---> 4d4785d9f4e0 20:42:20 Step 5/12 : ARG ADD_BUILD_TAGS="" 20:42:20 ---> Running in 3eb0afe6ad12 20:42:21 Removing intermediate container 3eb0afe6ad12 20:42:21 ---> 80fdf57c087f 20:42:21 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:42:21 ---> Running in 32b2a34d34fd 20:42:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:42:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:42:23 OK: 263 MiB in 53 packages 20:42:24 Removing intermediate container 32b2a34d34fd 20:42:24 ---> ca210b014ef6 20:42:24 Step 7/12 : WORKDIR /app 20:42:24 ---> Running in b6c7dca94d7f 20:42:24 Removing intermediate container b6c7dca94d7f 20:42:24 ---> ebe269f4512f 20:42:24 Step 8/12 : COPY go.mod vendor* ./ 20:42:25 ---> 30c532a6e496 20:42:25 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:42:25 ---> Running in 6f7756236285 20:43:33 Removing intermediate container 6f7756236285 20:43:33 ---> bd657c06eb49 20:43:33 Step 10/12 : COPY . . 20:43:33 ---> a4fe7ccfa7aa 20:43:33 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:43:33 ---> Running in af1a30a5a30a 20:43:33 Removing intermediate container af1a30a5a30a 20:43:33 ---> d5fb4a36c9d1 20:43:33 Step 12/12 : RUN $MAKE 20:43:33 ---> Running in decee20023db 20:43:33 noop 20:43:33 Removing intermediate container decee20023db 20:43:33 ---> 2ef0c94b6175 20:43:33 Successfully built 2ef0c94b6175 20:43:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:33 + docker inspect -f . ci-base-image-arm64 20:43:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:43:34 prd-ubuntu20.04-docker-arm64-4c-16g-18927 does not seem to be running inside a container 20:43:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:43:35 $ docker top fca35fa1afba0a74bc95e91985cc257139a438eeeaec66146d9edda6698711cb -eo pid,comm [Pipeline] { [Pipeline] sh 20:43:36 + go version 20:43:36 go version go1.20.2 linux/arm64 [Pipeline] } 20:43:36 $ docker stop --time=1 fca35fa1afba0a74bc95e91985cc257139a438eeeaec66146d9edda6698711cb 20:43:37 $ docker rm -f --volumes fca35fa1afba0a74bc95e91985cc257139a438eeeaec66146d9edda6698711cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:38 + docker inspect -f . ci-base-image-arm64 20:43:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:43:39 prd-ubuntu20.04-docker-arm64-4c-16g-18927 does not seem to be running inside a container 20:43:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:43:40 $ docker top beb5e566bec13340d430082bf25cdf997aaccbce93c3977ec5fc2736ee1fb0df -eo pid,comm [Pipeline] { [Pipeline] sh 20:43:40 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 20:43:41 + make test 20:43:41 go test -race -coverprofile=coverage.out ./... 20:44:20 ? github.com/edgexfoundry/app-service-configurable [no test files] 20:44:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:44:20 go vet ./... 20:44:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:44:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:44:47 ./bin/test-attribution-txt.sh 20:44:47 make: ./bin/test-attribution-txt.sh: No such file or directory 20:44:47 make: *** [makefile:59: test] Error 127 [Pipeline] } 20:44:47 $ docker stop --time=1 beb5e566bec13340d430082bf25cdf997aaccbce93c3977ec5fc2736ee1fb0df 20:44:51 $ docker rm -f --volumes beb5e566bec13340d430082bf25cdf997aaccbce93c3977ec5fc2736ee1fb0df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "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 20:44:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:44:52 20:44:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:44:53 arm64: Pulling from edgex-lftools-log-publisher 20:44:53 8998bd30e6a1: Pulling fs layer 20:44:53 04944245beec: Pulling fs layer 20:44:53 699f458cf7ca: Pulling fs layer 20:44:53 765212b225bb: Pulling fs layer 20:44:53 f23df028b6ca: Pulling fs layer 20:44:53 d65c8cfc05b1: Pulling fs layer 20:44:53 2437ff75d9bd: Pulling fs layer 20:44:53 765212b225bb: Waiting 20:44:53 f23df028b6ca: Waiting 20:44:53 d65c8cfc05b1: Waiting 20:44:53 2437ff75d9bd: Waiting 20:44:53 04944245beec: Verifying Checksum 20:44:53 04944245beec: Download complete 20:44:53 765212b225bb: Download complete 20:44:53 f23df028b6ca: Verifying Checksum 20:44:53 f23df028b6ca: Download complete 20:44:53 d65c8cfc05b1: Verifying Checksum 20:44:53 d65c8cfc05b1: Download complete 20:44:53 699f458cf7ca: Verifying Checksum 20:44:53 699f458cf7ca: Download complete 20:44:53 8998bd30e6a1: Verifying Checksum 20:44:53 8998bd30e6a1: Download complete 20:44:56 2437ff75d9bd: Verifying Checksum 20:44:56 2437ff75d9bd: Download complete 20:44:57 8998bd30e6a1: Pull complete 20:44:57 04944245beec: Pull complete 20:44:59 699f458cf7ca: Pull complete 20:44:59 765212b225bb: Pull complete 20:45:00 f23df028b6ca: Pull complete 20:45:00 d65c8cfc05b1: Pull complete 20:45:15 2437ff75d9bd: Pull complete 20:45:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:45:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:45:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:45:15 prd-ubuntu20.04-docker-arm64-4c-16g-18927 does not seem to be running inside a container 20:45:15 $ 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/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:45:18 $ docker top db8ff38f3e73b7e0140d782f1e875c31f6d4cf9edc5a34ea517a2cdb1e206dff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:45:18 ---> job-cost.sh 20:45:19 lf-activate-venv: SKIPPING 20:45:19 INFO: No Stack... 20:45:19 INFO: Retrieving Pricing Info for: v3-standard-4 20:45:20 INFO: Archiving Costs [Pipeline] sh 20:45:20 + cut+ -d, -f6 20:45:20 cat /w/workspace/app-record-replay/1/archives/cost.csv [Pipeline] lock 20:45:20 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-4-1-stack-cost] 20:45:20 Resource [jenkins-edgexfoundry-app-record-replay-PR-4-1-stack-cost] did not exist. Created. 20:45:20 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-4-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:45:21 /w/workspace/app-record-replay/1@tmp/durable-93aa1b16/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:45:21 + echo total: 0.10999999940395355 [Pipeline] stash 20:45:21 Warning: overwriting stash ‘stack-cost’ 20:45:22 Stashed 1 file(s) [Pipeline] } 20:45:22 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-4-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:45:22 $ docker stop --time=1 db8ff38f3e73b7e0140d782f1e875c31f6d4cf9edc5a34ea517a2cdb1e206dff 20:45:23 $ docker rm -f --volumes db8ff38f3e73b7e0140d782f1e875c31f6d4cf9edc5a34ea517a2cdb1e206dff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:45:24 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 Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" 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] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) 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 20:45:26 + [ -d /w/workspace/exfoundry_app-record-replay_PR-4/archives ] 20:45:26 + ls -al /w/workspace/exfoundry_app-record-replay_PR-4/archives 20:45:26 total 16 20:45:26 drwxr-xr-x 3 root root 4096 Jun 20 20:40 . 20:45:26 drwxrwxr-x 7 jenkins jenkins 4096 Jun 20 20:40 .. 20:45:26 drwxr-xr-x 2 root root 4096 Jun 20 20:40 cost 20:45:26 -rw-r--r-- 1 root root 87 Jun 20 20:40 cost.csv 20:45:26 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_app-record-replay_PR-4/archives 20:45:26 + ls -al /w/workspace/exfoundry_app-record-replay_PR-4/archives 20:45:26 total 16 20:45:26 drwxr-xr-x 3 jenkins jenkins 4096 Jun 20 20:40 . 20:45:26 drwxrwxr-x 7 jenkins jenkins 4096 Jun 20 20:40 .. 20:45:26 drwxr-xr-x 2 jenkins jenkins 4096 Jun 20 20:40 cost 20:45:26 -rw-r--r-- 1 jenkins jenkins 87 Jun 20 20:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:45:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:45:27 ---> package-listing.sh 20:45:27 ++ facter osfamily 20:45:27 ++ tr '[:upper:]' '[:lower:]' 20:45:27 + OS_FAMILY=debian 20:45:27 + workspace=/w/workspace/exfoundry_app-record-replay_PR-4 20:45:27 + START_PACKAGES=/tmp/packages_start.txt 20:45:27 + END_PACKAGES=/tmp/packages_end.txt 20:45:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:45:27 + PACKAGES=/tmp/packages_start.txt 20:45:27 + '[' /w/workspace/exfoundry_app-record-replay_PR-4 ']' 20:45:27 + PACKAGES=/tmp/packages_end.txt 20:45:27 + case "${OS_FAMILY}" in 20:45:27 + dpkg -l 20:45:27 + grep '^ii' 20:45:27 + '[' -f /tmp/packages_start.txt ']' 20:45:27 + '[' -f /tmp/packages_end.txt ']' 20:45:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:45:27 + '[' /w/workspace/exfoundry_app-record-replay_PR-4 ']' 20:45:27 + mkdir -p /w/workspace/exfoundry_app-record-replay_PR-4/archives/ 20:45:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_app-record-replay_PR-4/archives/ [Pipeline] echo 20:45:27 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/exfoundry_app-record-replay_PR-4/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:45:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:45:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:45:28 prd-ubuntu20.04-docker-8c-8g-18926 does not seem to be running inside a container 20:45:28 $ 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/exfoundry_app-record-replay_PR-4/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_app-record-replay_PR-4 -v /w/workspace/exfoundry_app-record-replay_PR-4:/w/workspace/exfoundry_app-record-replay_PR-4:rw,z -v /w/workspace/exfoundry_app-record-replay_PR-4@tmp:/w/workspace/exfoundry_app-record-replay_PR-4@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:45:29 $ docker top df878fae258ca4f4e5002a054effd3e238779178656c8eb247642145abfa4460 -eo pid,comm [Pipeline] { [Pipeline] sh 20:45:29 + touch /tmp/pre-build-complete [Pipeline] sh 20:45:29 + mkdir -p /var/log/sysstat [Pipeline] sh 20:45:30 + ls /var/log/sa-host 20:45:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:45:30 provisioning config files... 20:45:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_app-record-replay_PR-4@tmp/config18137642067801712087tmp [Pipeline] { [Pipeline] echo 20:45:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:45:30 ---> create-netrc.sh [Pipeline] } 20:45:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:45:31 ---> python-tools-install.sh [Pipeline] echo 20:45:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:45:31 ---> sudo-logs.sh 20:45:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:45:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:45:31 ---> job-cost.sh 20:45:31 lf-activate-venv: SKIPPING 20:45:31 DEBUG: total: 0.2199999988079071 20:45:31 INFO: Retrieving Stack Cost... 20:45:32 INFO: Retrieving Pricing Info for: v3-standard-8 20:45:32 INFO: Archiving Costs [Pipeline] echo 20:45:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:45:32 ---> logs-deploy.sh 20:45:32 lf-activate-venv: SKIPPING 20:45:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-4/1 20:45:32 INFO: archiving workspace using pattern(s): 20:45:33 Archives upload complete. 20:45:33 INFO: archiving logs to Nexus