Pull request #50 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 064fa5a74bb5a679404765c0fe6309ded3aada87+c67d61a7c566b572b3baccd8d55fde2bd55fa4d8 (a6539ebe2c7349acdbdba7b63db5563dc4c73968) 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-ssh13927273694838811122.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-ssh4152818295069866628.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-50/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-50/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5764706935183904897.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-50/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8731511745699372540.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-ssh6332369733528553105.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-50/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-50/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10990469220257140774.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2290 in /w/workspace/xfoundry_app-record-replay_PR-50 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default 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/xfoundry_app-record-replay_PR-50 # 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 > 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/50/head:refs/remotes/origin/PR-50 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c67d61a7c566b572b3baccd8d55fde2bd55fa4d8 into PR head commit 064fa5a74bb5a679404765c0fe6309ded3aada87 Merge succeeded, producing 064fa5a74bb5a679404765c0fe6309ded3aada87 Checking out Revision 064fa5a74bb5a679404765c0fe6309ded3aada87 (PR-50) > git config core.sparsecheckout # timeout=10 > git checkout -f 064fa5a74bb5a679404765c0fe6309ded3aada87 # 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 c67d61a7c566b572b3baccd8d55fde2bd55fa4d8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 064fa5a74bb5a679404765c0fe6309ded3aada87 # timeout=10 Commit message: "feat: Implement app layer Record Status" 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 22:11:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:11:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:11:30 ========================================================= 22:11:30 EdgeX Global Pipelines Version Info 22:11:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:11:30 ------------------- 22:11:30 stable info: 22:11:30 ------------------- 22:11:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:11:30 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 22:11:30 Message: update stable to v1.0.250 22:11:31 ------------------- 22:11:31 experimental info: 22:11:31 ------------------- 22:11:31 Commited By: **** collab-it+edgex@linuxfoundation.org 22:11:31 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 22:11:31 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:11:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 22:11:31 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 22:11:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:11:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:11:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:11:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:11:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:11:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:11:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-50 [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-50 [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-50 [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 064fa5a74bb5a679404765c0fe6309ded3aada87 [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 064fa5a [Pipeline] echo 22:11:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:11:33 provisioning config files... 22:11:33 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-50@tmp/config1846932507333344952tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:11:41 ---> docker-login.sh 22:11:41 nexus3.edgexfoundry.org:10001 22:11:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:41 Configure a credential helper to remove this warning. See 22:11:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:41 22:11:41 Login Succeeded 22:11:41 nexus3.edgexfoundry.org:10002 22:11:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:41 Configure a credential helper to remove this warning. See 22:11:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:41 22:11:41 Login Succeeded 22:11:41 nexus3.edgexfoundry.org:10003 22:11:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:41 Configure a credential helper to remove this warning. See 22:11:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:41 22:11:41 Login Succeeded 22:11:41 nexus3.edgexfoundry.org:10004 22:11:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:41 Configure a credential helper to remove this warning. See 22:11:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:41 22:11:41 Login Succeeded 22:11:41 docker.io 22:11:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:42 Configure a credential helper to remove this warning. See 22:11:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:42 22:11:42 Login Succeeded 22:11:42 ---> docker-login.sh ends [Pipeline] } 22:11:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:11:42 + git rev-list -1 --merges 064fa5a74bb5a679404765c0fe6309ded3aada87~1..064fa5a74bb5a679404765c0fe6309ded3aada87 [Pipeline] echo 22:11:42 -----------> git rev-list -1 --merges 064fa5a74bb5a679404765c0fe6309ded3aada87~1..064fa5a74bb5a679404765c0fe6309ded3aada87 064fa5a74bb5a679404765c0fe6309ded3aada87 [false] [Pipeline] sh 22:11:44 + git log --format=format:%s -1 064fa5a74bb5a679404765c0fe6309ded3aada87 [Pipeline] echo 22:11:44 ========================================================= 22:11:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:11:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:11:46 + git log --format=format:%s -1 064fa5a74bb5a679404765c0fe6309ded3aada87 [Pipeline] echo 22:11:46 [semverPrep] GIT_COMMIT: 064fa5a74bb5a679404765c0fe6309ded3aada87, Commit Message: feat: Implement app layer Record Status [Pipeline] echo 22:11:46 [semverPrep] This is not a build commit. [Pipeline] sh 22:11:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:11:46 + grep -v github /etc/ssh/ssh_known_hosts 22:11:46 + [ -e /tmp/ssh_known_hosts ] 22:11:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:11:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:11:46 + sudo tee -a /etc/ssh/ssh_known_hosts 22:11:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:47 22:11:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:47 0.1.4: Pulling from edgex-devops/py-git-semver 22:11:47 b85a868b505f: Pulling fs layer 22:11:47 e2be974225ed: Pulling fs layer 22:11:47 339a4e72a1f5: Pulling fs layer 22:11:47 988bab9f4d93: Pulling fs layer 22:11:47 1469e6f7b9e6: Pulling fs layer 22:11:47 eaf3925da568: Pulling fs layer 22:11:47 bab4dde63d76: Pulling fs layer 22:11:47 bde34c3a00c8: Pulling fs layer 22:11:47 b352a97aabf1: Pulling fs layer 22:11:47 4872d77fe225: Pulling fs layer 22:11:47 5851b861e8e6: Pulling fs layer 22:11:47 eaf3925da568: Waiting 22:11:47 bab4dde63d76: Waiting 22:11:47 bde34c3a00c8: Waiting 22:11:47 b352a97aabf1: Waiting 22:11:47 4872d77fe225: Waiting 22:11:47 5851b861e8e6: Waiting 22:11:47 988bab9f4d93: Waiting 22:11:47 1469e6f7b9e6: Waiting 22:11:47 e2be974225ed: Download complete 22:11:47 988bab9f4d93: Download complete 22:11:47 1469e6f7b9e6: Verifying Checksum 22:11:47 1469e6f7b9e6: Download complete 22:11:47 339a4e72a1f5: Verifying Checksum 22:11:47 339a4e72a1f5: Download complete 22:11:47 eaf3925da568: Download complete 22:11:47 bde34c3a00c8: Download complete 22:11:47 b352a97aabf1: Verifying Checksum 22:11:47 b352a97aabf1: Download complete 22:11:47 4872d77fe225: Verifying Checksum 22:11:47 4872d77fe225: Download complete 22:11:47 5851b861e8e6: Verifying Checksum 22:11:47 5851b861e8e6: Download complete 22:11:47 b85a868b505f: Verifying Checksum 22:11:47 b85a868b505f: Download complete 22:11:48 bab4dde63d76: Verifying Checksum 22:11:48 bab4dde63d76: Download complete 22:11:48 b85a868b505f: Pull complete 22:11:48 e2be974225ed: Pull complete 22:11:49 339a4e72a1f5: Pull complete 22:11:49 988bab9f4d93: Pull complete 22:11:49 1469e6f7b9e6: Pull complete 22:11:49 eaf3925da568: Pull complete 22:11:51 bab4dde63d76: Pull complete 22:11:51 bde34c3a00c8: Pull complete 22:11:51 b352a97aabf1: Pull complete 22:11:51 4872d77fe225: Pull complete 22:11:51 5851b861e8e6: Pull complete 22:11:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:11:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:51 prd-ubuntu20.04-docker-8c-8g-2290 does not seem to be running inside a container 22:11:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-50 -v /w/workspace/xfoundry_app-record-replay_PR-50:/w/workspace/xfoundry_app-record-replay_PR-50:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-50@tmp:/w/workspace/xfoundry_app-record-replay_PR-50@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 22:11:53 $ docker top 727e2b93f89b6cdb4a7e885c32579027221583c551ab6b7521befc0b84b40e0a -eo pid,comm 22:11:53 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). 22:11:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:11:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:11:53 [ssh-agent] Looking for ssh-agent implementation... 22:11:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:11:53 $ docker exec 727e2b93f89b6cdb4a7e885c32579027221583c551ab6b7521befc0b84b40e0a ssh-agent 22:11:53 SSH_AUTH_SOCK=/tmp/ssh-d6YFsZMyzJht/agent.33 22:11:53 SSH_AGENT_PID=39 22:11:53 Running ssh-add (command line suppressed) 22:11:53 Identity added: /w/workspace/xfoundry_app-record-replay_PR-50@tmp/private_key_10938691165742018652.key (/w/workspace/xfoundry_app-record-replay_PR-50@tmp/private_key_10938691165742018652.key) 22:11:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:11:53 + git tag --points-at HEAD [Pipeline] } 22:11:54 $ docker exec --env ******** --env ******** 727e2b93f89b6cdb4a7e885c32579027221583c551ab6b7521befc0b84b40e0a ssh-agent -k 22:11:54 unset SSH_AUTH_SOCK; 22:11:54 unset SSH_AGENT_PID; 22:11:54 echo Agent pid 39 killed; 22:11:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:11:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:11:54 [ssh-agent] Looking for ssh-agent implementation... 22:11:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:11:54 $ docker exec 727e2b93f89b6cdb4a7e885c32579027221583c551ab6b7521befc0b84b40e0a ssh-agent 22:11:54 SSH_AUTH_SOCK=/tmp/ssh-vohsd1yj7UJo/agent.71 22:11:54 SSH_AGENT_PID=77 22:11:54 Running ssh-add (command line suppressed) 22:11:54 Identity added: /w/workspace/xfoundry_app-record-replay_PR-50@tmp/private_key_5759815191172280367.key (/w/workspace/xfoundry_app-record-replay_PR-50@tmp/private_key_5759815191172280367.key) 22:11:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:11:54 + git semver init 22:11:55 2023-07-26 22:11:55,114 [run_init] DEBUG init version:0.0.0 force:False 22:11:55 2023-07-26 22:11:55,115 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-50/.semver 22:11:55 2023-07-26 22:11:55,115 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-50/.semver 22:11:55 2023-07-26 22:11:55,116 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-50/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-50, universal_newlines=False, shell=None, istream=None) 22:11:56 2023-07-26 22:11:55,790 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-50/.git/info/exclude 22:11:56 2023-07-26 22:11:55,791 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-50/.semver/PR-50 with force:False 22:11:56 2023-07-26 22:11:55,791 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-50/.semver/PR-50 22:11:56 2023-07-26 22:11:55,795 [execute] INFO git cat-file --batch-check 22:11:56 2023-07-26 22:11:55,796 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-50/.semver, universal_newlines=False, shell=None, istream=) 22:11:56 2023-07-26 22:11:55,801 [execute] INFO git cat-file --batch 22:11:56 2023-07-26 22:11:55,801 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-50/.semver, universal_newlines=False, shell=None, istream=) 22:11:56 2023-07-26 22:11:55,805 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-50/.semver/PR-50 22:11:56 0.0.0 [Pipeline] } 22:11:56 $ docker exec --env ******** --env ******** 727e2b93f89b6cdb4a7e885c32579027221583c551ab6b7521befc0b84b40e0a ssh-agent -k 22:11:56 unset SSH_AUTH_SOCK; 22:11:56 unset SSH_AGENT_PID; 22:11:56 echo Agent pid 77 killed; 22:11:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:11:56 + git semver [Pipeline] } 22:11:56 $ docker stop --time=1 727e2b93f89b6cdb4a7e885c32579027221583c551ab6b7521befc0b84b40e0a 22:11:58 $ docker rm -f --volumes 727e2b93f89b6cdb4a7e885c32579027221583c551ab6b7521befc0b84b40e0a [Pipeline] // withDockerContainer [Pipeline] sh 22:11:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:11:58 Stashed 1 file(s) [Pipeline] echo 22:11:58 [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 22:11:59 provisioning config files... 22:11:59 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-50@tmp/config5502493255180868775tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:11:59 ---> docker-login.sh 22:11:59 nexus3.edgexfoundry.org:10001 22:11:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:59 Configure a credential helper to remove this warning. See 22:11:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:59 22:11:59 Login Succeeded 22:11:59 nexus3.edgexfoundry.org:10002 22:11:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:59 Configure a credential helper to remove this warning. See 22:11:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:59 22:11:59 Login Succeeded 22:11:59 nexus3.edgexfoundry.org:10003 22:12:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:00 Configure a credential helper to remove this warning. See 22:12:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:00 22:12:00 Login Succeeded 22:12:00 nexus3.edgexfoundry.org:10004 22:12:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:00 Configure a credential helper to remove this warning. See 22:12:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:00 22:12:00 Login Succeeded 22:12:00 docker.io 22:12:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:00 Configure a credential helper to remove this warning. See 22:12:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:00 22:12:00 Login Succeeded 22:12:00 ---> docker-login.sh ends [Pipeline] } 22:12:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:12:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:12:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:12:00 ========================================================= 22:12:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:12:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:01 + 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 . 22:12:01 Sending build context to Docker daemon 388.1kB 22:12:01 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 22:12:01 Step 2/12 : FROM ${BASE} AS builder 22:12:01 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:12:01 4db1b89c0bd1: Pulling fs layer 22:12:01 6911f1a30b25: Pulling fs layer 22:12:01 e194b8c5c2a9: Pulling fs layer 22:12:01 6863d3e3a2b1: Pulling fs layer 22:12:01 ec0bb842ea78: Pulling fs layer 22:12:01 40a00589a448: Pulling fs layer 22:12:01 6c08303d61cc: Pulling fs layer 22:12:01 798269fcf238: Pulling fs layer 22:12:01 ec0bb842ea78: Waiting 22:12:01 6c08303d61cc: Waiting 22:12:01 798269fcf238: Waiting 22:12:01 40a00589a448: Waiting 22:12:01 6863d3e3a2b1: Waiting 22:12:01 6911f1a30b25: Verifying Checksum 22:12:01 6911f1a30b25: Download complete 22:12:01 6863d3e3a2b1: Verifying Checksum 22:12:01 6863d3e3a2b1: Download complete 22:12:01 ec0bb842ea78: Verifying Checksum 22:12:01 ec0bb842ea78: Download complete 22:12:01 4db1b89c0bd1: Verifying Checksum 22:12:01 4db1b89c0bd1: Download complete 22:12:01 40a00589a448: Verifying Checksum 22:12:01 40a00589a448: Download complete 22:12:01 4db1b89c0bd1: Pull complete 22:12:01 6911f1a30b25: Pull complete 22:12:01 798269fcf238: Verifying Checksum 22:12:01 798269fcf238: Download complete 22:12:01 e194b8c5c2a9: Verifying Checksum 22:12:01 e194b8c5c2a9: Download complete 22:12:01 6c08303d61cc: Verifying Checksum 22:12:01 6c08303d61cc: Download complete 22:12:05 e194b8c5c2a9: Pull complete 22:12:05 6863d3e3a2b1: Pull complete 22:12:05 ec0bb842ea78: Pull complete 22:12:05 40a00589a448: Pull complete 22:12:07 6c08303d61cc: Pull complete 22:12:07 798269fcf238: Pull complete 22:12:07 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 22:12:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:12:07 ---> ec979cd7f677 22:12:07 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 22:12:09 ---> Running in 65284484c954 22:12:09 Removing intermediate container 65284484c954 22:12:09 ---> 89ce7f77dfec 22:12:09 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:12:09 ---> Running in a22e5b0136eb 22:12:09 Removing intermediate container a22e5b0136eb 22:12:09 ---> eddf1e4d9c4e 22:12:09 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:12:09 ---> Running in 3edc8d6a98fa 22:12:09 Removing intermediate container 3edc8d6a98fa 22:12:09 ---> ad51a5a313a0 22:12:09 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:12:09 ---> Running in f3992821e01d 22:12:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:12:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:12:10 OK: 265 MiB in 53 packages 22:12:10 Removing intermediate container f3992821e01d 22:12:10 ---> eb28ea1c0e56 22:12:10 Step 7/12 : WORKDIR /app 22:12:10 ---> Running in 7a0b3efeac36 22:12:10 Removing intermediate container 7a0b3efeac36 22:12:10 ---> 9dcfbf151550 22:12:10 Step 8/12 : COPY go.mod vendor* ./ 22:12:10 ---> ed6bdf5ea91e 22:12:10 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:12:10 ---> Running in b8e6c80ab2f3 22:12:14 Still waiting to schedule task 22:12:14 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:12:57 Removing intermediate container b8e6c80ab2f3 22:12:57 ---> 85a5263360a4 22:12:57 Step 10/12 : COPY . . 22:12:57 ---> 3ad64e4d4fa2 22:12:57 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:12:57 ---> Running in 8425241390d8 22:12:57 Removing intermediate container 8425241390d8 22:12:57 ---> 07b5f5e29d14 22:12:57 Step 12/12 : RUN $MAKE 22:12:57 ---> Running in 7b2fedaf0eae 22:12:57 noop 22:12:57 Removing intermediate container 7b2fedaf0eae 22:12:57 ---> 9d5519db866b 22:12:57 Successfully built 9d5519db866b 22:12:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:58 + docker inspect -f . ci-base-image-x86_64 22:12:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:12:58 prd-ubuntu20.04-docker-8c-8g-2290 does not seem to be running inside a container 22:12:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-50 -v /w/workspace/xfoundry_app-record-replay_PR-50:/w/workspace/xfoundry_app-record-replay_PR-50:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-50@tmp:/w/workspace/xfoundry_app-record-replay_PR-50@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 22:12:58 $ docker top a44beeca3772505d38dd3c2fa6be8f1a6653fbe01b11e0f856d7ea0d188bcd84 -eo pid,comm [Pipeline] { [Pipeline] sh 22:12:58 + go version 22:12:58 go version go1.20.6 linux/amd64 [Pipeline] } 22:12:58 $ docker stop --time=1 a44beeca3772505d38dd3c2fa6be8f1a6653fbe01b11e0f856d7ea0d188bcd84 22:13:00 $ docker rm -f --volumes a44beeca3772505d38dd3c2fa6be8f1a6653fbe01b11e0f856d7ea0d188bcd84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:00 + docker inspect -f . ci-base-image-x86_64 22:13:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:01 prd-ubuntu20.04-docker-8c-8g-2290 does not seem to be running inside a container 22:13:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_app-record-replay_PR-50 -v /w/workspace/xfoundry_app-record-replay_PR-50:/w/workspace/xfoundry_app-record-replay_PR-50:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-50@tmp:/w/workspace/xfoundry_app-record-replay_PR-50@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 22:13:01 $ docker top 657477e8cc578bf62e9759f5702dfaf97b8fb85cdff26383692f97163bb15f04 -eo pid,comm [Pipeline] { [Pipeline] sh 22:13:01 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-50 [Pipeline] fileExists [Pipeline] sh 22:13:02 + make test 22:13:02 go test -race -coverprofile=coverage.out ./... 22:13:24 ? github.com/edgexfoundry/app-record-replay [no test files] 22:13:24 ok github.com/edgexfoundry/app-record-replay/internal/app 0.078s coverage: 87.5% of statements 22:13:24 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 22:13:24 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 22:13:24 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 22:13:24 ok github.com/edgexfoundry/app-record-replay/internal/application 0.063s coverage: 95.3% of statements 22:13:24 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.105s coverage: 85.6% of statements 22:13:42 internal/application/manager_test.go:253:11: SA9003: empty branch (staticcheck) 22:13:42 } else { 22:13:42 ^ 22:13:42 make: *** [Makefile:63: lint] Error 1 [Pipeline] } 22:13:42 $ docker stop --time=1 657477e8cc578bf62e9759f5702dfaf97b8fb85cdff26383692f97163bb15f04 22:13:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2291 in /w/workspace/xfoundry_app-record-replay_PR-50 22:13:44 $ docker rm -f --volumes 657477e8cc578bf62e9759f5702dfaf97b8fb85cdff26383692f97163bb15f04 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] ws 22:13:44 Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] checkout 22:13:44 Selected Git installation does not exist. Using Default 22:13:44 The recommended git tool is: NONE 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 22:13:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:45 22:13:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:46 latest: Pulling from edgex-lftools-log-publisher 22:13:46 5eb5b503b376: Pulling fs layer 22:13:46 5c69ac0246d0: Pulling fs layer 22:13:46 ec43610c2a17: Pulling fs layer 22:13:46 3a2ae6a8a46f: Pulling fs layer 22:13:46 33b1e0a273af: Pulling fs layer 22:13:46 5d3b04190fa2: Pulling fs layer 22:13:46 2f39f015ded8: Pulling fs layer 22:13:46 3a2ae6a8a46f: Waiting 22:13:46 33b1e0a273af: Waiting 22:13:46 5d3b04190fa2: Waiting 22:13:46 2f39f015ded8: Waiting 22:13:46 5c69ac0246d0: Verifying Checksum 22:13:46 5c69ac0246d0: Download complete 22:13:46 3a2ae6a8a46f: Verifying Checksum 22:13:46 3a2ae6a8a46f: Download complete 22:13:46 33b1e0a273af: Verifying Checksum 22:13:46 33b1e0a273af: Download complete 22:13:46 ec43610c2a17: Verifying Checksum 22:13:46 ec43610c2a17: Download complete 22:13:46 5d3b04190fa2: Download complete 22:13:46 5eb5b503b376: Verifying Checksum 22:13:46 5eb5b503b376: Download complete 22:13:46 2f39f015ded8: Download complete 22:13:47 5eb5b503b376: Pull complete 22:13:47 5c69ac0246d0: Pull complete 22:13:48 ec43610c2a17: Pull complete 22:13:48 3a2ae6a8a46f: Pull complete 22:13:48 33b1e0a273af: Pull complete 22:13:48 5d3b04190fa2: Pull complete 22:13:49 using credential edgex-jenkins-ssh 22:13:49 Cloning the remote Git repository 22:13:49 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 22:13:49 > git init /w/workspace/app-record-replay/1 # timeout=10 22:13:49 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 22:13:49 > git --version # timeout=10 22:13:49 > git --version # 'git version 2.25.1' 22:13:49 using GIT_SSH to set credentials SSH Credentials for GitHub 22:13:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:13:50 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 22:13:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:13:52 Merging remotes/origin/main commit c67d61a7c566b572b3baccd8d55fde2bd55fa4d8 into PR head commit 064fa5a74bb5a679404765c0fe6309ded3aada87 22:13:51 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 22:13:51 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 22:13:51 using GIT_SSH to set credentials SSH Credentials for GitHub 22:13:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/50/head:refs/remotes/origin/PR-50 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:13:52 > git config core.sparsecheckout # timeout=10 22:13:52 Merge succeeded, producing 064fa5a74bb5a679404765c0fe6309ded3aada87 22:13:52 Checking out Revision 064fa5a74bb5a679404765c0fe6309ded3aada87 (PR-50) 22:13:52 2f39f015ded8: Pull complete 22:13:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:13:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:52 prd-ubuntu20.04-docker-8c-8g-2290 does not seem to be running inside a container 22:13:52 $ 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/xfoundry_app-record-replay_PR-50 -v /w/workspace/xfoundry_app-record-replay_PR-50:/w/workspace/xfoundry_app-record-replay_PR-50:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-50@tmp:/w/workspace/xfoundry_app-record-replay_PR-50@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 22:13:52 > git checkout -f 064fa5a74bb5a679404765c0fe6309ded3aada87 # timeout=10 22:13:52 > git remote # timeout=10 22:13:52 > git config --get remote.origin.url # timeout=10 22:13:52 using GIT_SSH to set credentials SSH Credentials for GitHub 22:13:52 > git merge c67d61a7c566b572b3baccd8d55fde2bd55fa4d8 # timeout=10 22:13:52 > git rev-parse HEAD^{commit} # timeout=10 22:13:52 > git config core.sparsecheckout # timeout=10 22:13:52 > git checkout -f 064fa5a74bb5a679404765c0fe6309ded3aada87 # timeout=10 22:13:53 $ docker top 79399173223d6423cb99c1a8ecb08829e0c80f5e2a3138c283d5ffea6c5cf7c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:13:54 ---> job-cost.sh 22:13:54 lf-activate-venv: SKIPPING 22:13:54 INFO: No Stack... 22:13:54 INFO: Retrieving Pricing Info for: v3-standard-8 22:13:54 INFO: Archiving Costs [Pipeline] sh 22:13:55 + cat /w/workspace/xfoundry_app-record-replay_PR-50/archives/cost.csv 22:13:55 + cut -d, -f6 [Pipeline] lock 22:13:55 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-50-1-stack-cost] 22:13:55 Resource [jenkins-edgexfoundry-app-record-replay-PR-50-1-stack-cost] did not exist. Created. 22:13:55 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-50-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:13:55 + echo total: 0.2199999988079071 [Pipeline] stash 22:13:55 Stashed 1 file(s) [Pipeline] } 22:13:55 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-50-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:13:55 $ docker stop --time=1 79399173223d6423cb99c1a8ecb08829e0c80f5e2a3138c283d5ffea6c5cf7c2 22:13:56 Commit message: "feat: Implement app layer Record Status" 22:13:56 > git --version # timeout=10 22:13:56 > git --version # 'git version 2.25.1' 22:13:56 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 22:13:56 22:13:56 GitHub has been notified of this commit’s build result 22:13:56 22:13:56 $ docker rm -f --volumes 79399173223d6423cb99c1a8ecb08829e0c80f5e2a3138c283d5ffea6c5cf7c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:13:57 Failed in branch amd64 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:13:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:13:57 % Total % Received % Xferd Average Speed Time Time Time Current 22:13:57 Dload Upload Total Spent Left Speed 22:13:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 94451 100 12751 100 12751 0 0 93757 0 --:--:-- --:--:-- --:--:-- 93072 [Pipeline] sh 22:13:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:13:58 + sudo tee /etc/docker/daemon.new 22:13:58 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:13:58 { 22:13:58 "registry-mirrors": [ 22:13:58 "https://nexus3.edgexfoundry.org:10001" 22:13:58 ], 22:13:58 "bip": "10.250.0.254/24", 22:13:58 "hosts": [ 22:13:58 "tcp://0.0.0.0:5555", 22:13:58 "unix:///var/run/docker.sock" 22:13:58 ], 22:13:58 "mtu": 1458, 22:13:58 "selinux-enabled": true, 22:13:58 "seccomp-profile": "/etc/docker/seccomp.json" 22:13:58 } [Pipeline] sh 22:13:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:13:59 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:14:17 provisioning config files... 22:14:17 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config9234027769732346030tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:14:18 ---> docker-login.sh 22:14:18 nexus3.edgexfoundry.org:10001 22:14:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:18 Configure a credential helper to remove this warning. See 22:14:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:18 22:14:18 Login Succeeded 22:14:18 nexus3.edgexfoundry.org:10002 22:14:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:18 Configure a credential helper to remove this warning. See 22:14:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:18 22:14:18 Login Succeeded 22:14:18 nexus3.edgexfoundry.org:10003 22:14:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:19 Configure a credential helper to remove this warning. See 22:14:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:19 22:14:19 Login Succeeded 22:14:19 nexus3.edgexfoundry.org:10004 22:14:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:19 Configure a credential helper to remove this warning. See 22:14:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:19 22:14:19 Login Succeeded 22:14:19 docker.io 22:14:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:20 Configure a credential helper to remove this warning. See 22:14:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:20 22:14:20 Login Succeeded 22:14:20 ---> docker-login.sh ends [Pipeline] } 22:14:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:14:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:14:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:14:20 ========================================================= 22:14:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:14:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:21 + 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 . 22:14:21 Sending build context to Docker daemon 178.7kB 22:14:21 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 22:14:21 Step 2/12 : FROM ${BASE} AS builder 22:14:22 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:14:22 edb6bdbacee9: Pulling fs layer 22:14:22 5f9638ab2659: Pulling fs layer 22:14:22 8d51d6327a98: Pulling fs layer 22:14:22 8b374f2dd631: Pulling fs layer 22:14:22 ec14aa9079de: Pulling fs layer 22:14:22 8b374f2dd631: Waiting 22:14:22 2f466654f4bb: Pulling fs layer 22:14:22 ec14aa9079de: Waiting 22:14:22 2f466654f4bb: Waiting 22:14:22 554e91adad29: Pulling fs layer 22:14:22 554e91adad29: Waiting 22:14:22 5f9638ab2659: Verifying Checksum 22:14:22 5f9638ab2659: Download complete 22:14:22 8b374f2dd631: Verifying Checksum 22:14:22 8b374f2dd631: Download complete 22:14:22 ec14aa9079de: Verifying Checksum 22:14:22 ec14aa9079de: Download complete 22:14:22 edb6bdbacee9: Verifying Checksum 22:14:23 edb6bdbacee9: Pull complete 22:14:23 554e91adad29: Verifying Checksum 22:14:23 554e91adad29: Download complete 22:14:23 5f9638ab2659: Pull complete 22:14:24 8d51d6327a98: Verifying Checksum 22:14:24 8d51d6327a98: Download complete 22:14:24 2f466654f4bb: Verifying Checksum 22:14:24 2f466654f4bb: Download complete 22:14:36 8d51d6327a98: Pull complete 22:14:36 8b374f2dd631: Pull complete 22:14:36 ec14aa9079de: Pull complete 22:14:42 2f466654f4bb: Pull complete 22:14:44 554e91adad29: Pull complete 22:14:44 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 22:14:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:14:44 ---> 1e15ea492957 22:14:44 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 22:14:46 ---> Running in 1307f1bdad65 22:14:46 Removing intermediate container 1307f1bdad65 22:14:46 ---> 4d467a65724c 22:14:46 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:14:46 ---> Running in b44237add9a1 22:14:47 Removing intermediate container b44237add9a1 22:14:47 ---> f9bbb8a39fd5 22:14:47 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:14:47 ---> Running in 1b51518348e2 22:14:47 Removing intermediate container 1b51518348e2 22:14:47 ---> c74d32a65de5 22:14:47 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:14:47 ---> Running in 323d7cd9c3b3 22:14:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:14:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:14:50 OK: 263 MiB in 53 packages 22:14:50 Removing intermediate container 323d7cd9c3b3 22:14:50 ---> a7b8573101b8 22:14:50 Step 7/12 : WORKDIR /app 22:14:50 ---> Running in fb6a6029dc6b 22:14:51 Removing intermediate container fb6a6029dc6b 22:14:51 ---> 2912d750b35c 22:14:51 Step 8/12 : COPY go.mod vendor* ./ 22:14:51 ---> 14e44676a109 22:14:51 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:14:51 ---> Running in 5d503b9336be 22:15:59 Removing intermediate container 5d503b9336be 22:15:59 ---> 3117cc21d7fa 22:15:59 Step 10/12 : COPY . . 22:15:59 ---> 38f6c07676b4 22:15:59 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:15:59 ---> Running in 6f9de6dde51b 22:15:59 Removing intermediate container 6f9de6dde51b 22:15:59 ---> 4ee9107f51b2 22:15:59 Step 12/12 : RUN $MAKE 22:15:59 ---> Running in 271925e712c6 22:15:59 noop 22:15:59 Removing intermediate container 271925e712c6 22:15:59 ---> ab5312f8364e 22:15:59 Successfully built ab5312f8364e 22:15:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:00 + docker inspect -f . ci-base-image-arm64 22:16:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:16:00 prd-ubuntu20.04-docker-arm64-4c-16g-2291 does not seem to be running inside a container 22:16:00 $ 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 22:16:01 $ docker top a534f02418248b1392a799f455bfc02fd14cb1f191379361ee156213e668f7b3 -eo pid,comm [Pipeline] { [Pipeline] sh 22:16:02 + go version 22:16:02 go version go1.20.6 linux/arm64 [Pipeline] } 22:16:02 $ docker stop --time=1 a534f02418248b1392a799f455bfc02fd14cb1f191379361ee156213e668f7b3 22:16:04 $ docker rm -f --volumes a534f02418248b1392a799f455bfc02fd14cb1f191379361ee156213e668f7b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:04 + docker inspect -f . ci-base-image-arm64 22:16:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:16:05 prd-ubuntu20.04-docker-arm64-4c-16g-2291 does not seem to be running inside a container 22:16:05 $ 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 22:16:07 $ docker top df4d60677d9e879452564b355376b9db87a149c70570e046fb374424592f8172 -eo pid,comm [Pipeline] { [Pipeline] sh 22:16:08 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 22:16:09 + make test 22:16:09 go test -race -coverprofile=coverage.out ./... 22:19:00 ? github.com/edgexfoundry/app-record-replay [no test files] 22:19:00 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 22:19:00 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 22:19:00 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 22:19:00 ok github.com/edgexfoundry/app-record-replay/internal/app 0.287s coverage: 87.5% of statements 22:19:00 ok github.com/edgexfoundry/app-record-replay/internal/application 0.350s coverage: 95.3% of statements 22:19:00 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.432s coverage: 85.6% of statements 22:19:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:19:00 go vet ./... 22:21:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:21:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:21:22 ./bin/test-attribution-txt.sh [Pipeline] echo 22:21:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:21:22 $ docker stop --time=1 df4d60677d9e879452564b355376b9db87a149c70570e046fb374424592f8172 22:21:24 $ docker rm -f --volumes df4d60677d9e879452564b355376b9db87a149c70570e046fb374424592f8172 [Pipeline] // withDockerContainer [Pipeline] sh 22:21:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:21:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:21:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:21:27 + ls -al . 22:21:27 total 164 22:21:27 drwxrwxr-x 8 jenkins jenkins 4096 Jul 26 22:16 . 22:21:27 drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 22:13 .. 22:21:27 -rw-rw-r-- 1 jenkins jenkins 119 Jul 26 22:13 .dockerignore 22:21:27 drwxrwxr-x 8 jenkins jenkins 4096 Jul 26 22:13 .git 22:21:27 drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 22:13 .github 22:21:27 -rw-rw-r-- 1 jenkins jenkins 164 Jul 26 22:13 .gitignore 22:21:27 -rw-rw-r-- 1 jenkins jenkins 41 Jul 26 22:13 .golangci.yml 22:21:27 -rw-rw-r-- 1 jenkins jenkins 10642 Jul 26 22:13 Attribution.txt 22:21:27 -rw-rw-r-- 1 jenkins jenkins 258 Jul 26 22:13 CHANGELOG.md 22:21:27 -rw-rw-r-- 1 jenkins jenkins 1616 Jul 26 22:13 Dockerfile 22:21:27 -rw-rw-r-- 1 jenkins jenkins 677 Jul 26 22:13 GOVERNANCE.md 22:21:27 -rw-rw-r-- 1 jenkins jenkins 681 Jul 26 22:13 Jenkinsfile 22:21:27 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 26 22:13 LICENSE 22:21:27 -rw-rw-r-- 1 jenkins jenkins 3139 Jul 26 22:13 Makefile 22:21:27 -rw-rw-r-- 1 jenkins jenkins 611 Jul 26 22:13 OWNERS.md 22:21:27 -rw-rw-r-- 1 jenkins jenkins 2363 Jul 26 22:13 README.md 22:21:27 -rw-rw-r-- 1 jenkins jenkins 4285 Jul 26 22:13 Record and Reply.postman_collection.json 22:21:27 -rw-rw-r-- 1 jenkins jenkins 5 Jul 26 22:11 VERSION 22:21:27 drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 22:13 bin 22:21:27 -rw-r--r-- 1 jenkins jenkins 11988 Jul 26 22:18 coverage.out 22:21:27 -rw-rw-r-- 1 jenkins jenkins 3680 Jul 26 22:13 go.mod 22:21:27 -rw-rw-r-- 1 jenkins jenkins 32847 Jul 26 22:13 go.sum 22:21:27 drwxrwxr-x 6 jenkins jenkins 4096 Jul 26 22:13 internal 22:21:27 -rw-rw-r-- 1 jenkins jenkins 913 Jul 26 22:13 main.go 22:21:27 drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 22:13 pkg 22:21:27 drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 22:13 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:28 + docker build -t app-record-replay-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=064fa5a74bb5a679404765c0fe6309ded3aada87 --label arch=arm64 --label version=0.0.0 . 22:21:28 Sending build context to Docker daemon 191.5kB 22:21:28 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:21:28 Step 2/26 : FROM ${BASE} AS builder 22:21:28 ---> ab5312f8364e 22:21:28 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 22:21:29 ---> Running in b06e87acf730 22:21:29 Removing intermediate container b06e87acf730 22:21:29 ---> f70d2c1a9d3a 22:21:29 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 22:21:29 ---> Running in 0c3fe73e067c 22:21:30 Removing intermediate container 0c3fe73e067c 22:21:30 ---> 323fc70510c4 22:21:30 Step 5/26 : ARG ADD_BUILD_TAGS="" 22:21:30 ---> Running in ddd8cd568c59 22:21:30 Removing intermediate container ddd8cd568c59 22:21:30 ---> 88e8e76beb69 22:21:30 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:21:30 ---> Running in 97644f4caae8 22:21:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:21:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:21:32 OK: 263 MiB in 53 packages 22:21:33 Removing intermediate container 97644f4caae8 22:21:33 ---> 69d8e4fa1fc7 22:21:33 Step 7/26 : WORKDIR /app 22:21:33 ---> Running in ecf6e8ab60dc 22:21:34 Removing intermediate container ecf6e8ab60dc 22:21:34 ---> afb8539cd604 22:21:34 Step 8/26 : COPY go.mod vendor* ./ 22:21:34 ---> 519ced77c2a5 22:21:34 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:21:34 ---> Running in 0c72028c9923 22:21:37 Removing intermediate container 0c72028c9923 22:21:37 ---> 2642811f13f8 22:21:37 Step 10/26 : COPY . . 22:21:37 ---> 1b781023fa95 22:21:37 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:21:37 ---> Running in 68f415094ade 22:21:37 Removing intermediate container 68f415094ade 22:21:37 ---> c2bb1f442c5e 22:21:37 Step 12/26 : RUN $MAKE 22:21:37 ---> Running in 1d8c0b2a9dd8 22:21:38 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.12 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 22:24:00 Removing intermediate container 1d8c0b2a9dd8 22:24:00 ---> ae5d6946be67 22:24:00 Step 13/26 : FROM alpine:3.17 22:24:00 3.17: Pulling from library/alpine 22:24:00 edb6bdbacee9: Already exists 22:24:00 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 22:24:00 Status: Downloaded newer image for alpine:3.17 22:24:00 ---> 779605e5fbc0 22:24:00 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:24:00 ---> Running in bcbefbe91cc3 22:24:00 Removing intermediate container bcbefbe91cc3 22:24:00 ---> 234b2b7ef6e0 22:24:00 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 22:24:00 ---> Running in 9c0afe8868da 22:24:00 Removing intermediate container 9c0afe8868da 22:24:00 ---> b3e5169c0f31 22:24:00 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 22:24:00 ---> Running in eefe73e4606a 22:24:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:24:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:24:00 (1/2) Installing ca-certificates (20230506-r0) 22:24:00 (2/2) Installing dumb-init (1.2.5-r2) 22:24:00 Executing busybox-1.35.0-r29.trigger 22:24:00 Executing ca-certificates-20230506-r0.trigger 22:24:00 OK: 8 MiB in 17 packages 22:24:00 Removing intermediate container eefe73e4606a 22:24:00 ---> c70c33551f76 22:24:00 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:24:00 ---> 28044d791d56 22:24:00 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 22:24:00 ---> c26b74779b75 22:24:00 Step 19/26 : COPY --from=builder /app/res/ /res/ 22:24:00 ---> d9485fce2e8e 22:24:00 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 22:24:00 ---> 0bbe1a192088 22:24:00 Step 21/26 : EXPOSE 59712 22:24:00 ---> Running in 4ef5504aaee2 22:24:00 Removing intermediate container 4ef5504aaee2 22:24:00 ---> e8859cd28160 22:24:00 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 22:24:00 ---> Running in 2f9b39597f2e 22:24:00 Removing intermediate container 2f9b39597f2e 22:24:00 ---> cb8c68288229 22:24:00 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 22:24:00 ---> Running in 3ac5b6383213 22:24:00 Removing intermediate container 3ac5b6383213 22:24:00 ---> dc64add8dccb 22:24:00 Step 24/26 : LABEL arch=arm64 22:24:00 ---> Running in 3dfd443a0392 22:24:00 Removing intermediate container 3dfd443a0392 22:24:00 ---> 7474da45fce3 22:24:00 Step 25/26 : LABEL git_sha=064fa5a74bb5a679404765c0fe6309ded3aada87 22:24:00 ---> Running in e18d6c2a62fb 22:24:00 Removing intermediate container e18d6c2a62fb 22:24:00 ---> 5ee7548191f7 22:24:00 Step 26/26 : LABEL version=0.0.0 22:24:00 ---> Running in 9938b631b44b 22:24:00 Removing intermediate container 9938b631b44b 22:24:00 ---> c0f23bff6a72 22:24:00 [Warning] One or more build-args [ARCH] were not consumed 22:24:00 Successfully built c0f23bff6a72 22:24:00 Successfully tagged app-record-replay-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:24:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:24:01 22:24:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:24:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:24:01 arm64: Pulling from edgex-lftools-log-publisher 22:24:01 8998bd30e6a1: Pulling fs layer 22:24:01 04944245beec: Pulling fs layer 22:24:01 699f458cf7ca: Pulling fs layer 22:24:01 765212b225bb: Pulling fs layer 22:24:01 f23df028b6ca: Pulling fs layer 22:24:01 d65c8cfc05b1: Pulling fs layer 22:24:01 2437ff75d9bd: Pulling fs layer 22:24:01 765212b225bb: Waiting 22:24:01 f23df028b6ca: Waiting 22:24:01 d65c8cfc05b1: Waiting 22:24:01 2437ff75d9bd: Waiting 22:24:01 04944245beec: Verifying Checksum 22:24:01 04944245beec: Download complete 22:24:01 765212b225bb: Download complete 22:24:01 f23df028b6ca: Verifying Checksum 22:24:01 f23df028b6ca: Download complete 22:24:01 d65c8cfc05b1: Verifying Checksum 22:24:01 d65c8cfc05b1: Download complete 22:24:02 699f458cf7ca: Verifying Checksum 22:24:02 699f458cf7ca: Download complete 22:24:02 8998bd30e6a1: Verifying Checksum 22:24:02 8998bd30e6a1: Download complete 22:24:05 2437ff75d9bd: Verifying Checksum 22:24:05 2437ff75d9bd: Download complete 22:24:06 8998bd30e6a1: Pull complete 22:24:06 04944245beec: Pull complete 22:24:08 699f458cf7ca: Pull complete 22:24:08 765212b225bb: Pull complete 22:24:09 f23df028b6ca: Pull complete 22:24:09 d65c8cfc05b1: Pull complete 22:24:24 2437ff75d9bd: Pull complete 22:24:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:24:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:24:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:24:24 prd-ubuntu20.04-docker-arm64-4c-16g-2291 does not seem to be running inside a container 22:24:24 $ 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 22:24:27 $ docker top 7f549971d5308679b6c8d8c2ab3f26c0defe0cdddab91f8af99d4045ce7525a5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:24:28 ---> job-cost.sh 22:24:28 lf-activate-venv: SKIPPING 22:24:28 INFO: No Stack... 22:24:28 INFO: Retrieving Pricing Info for: v3-standard-4 22:24:29 INFO: Archiving Costs [Pipeline] sh 22:24:29 + cat /w/workspace/app-record-replay/1/archives/cost.csv 22:24:29 + cut -d, -f6 [Pipeline] lock 22:24:30 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-50-1-stack-cost] 22:24:30 Resource [jenkins-edgexfoundry-app-record-replay-PR-50-1-stack-cost] did not exist. Created. 22:24:30 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-50-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:24:30 /w/workspace/app-record-replay/1@tmp/durable-22ddbb0a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:24:31 + echo total: 0.10999999940395355 [Pipeline] stash 22:24:31 Warning: overwriting stash ‘stack-cost’ 22:24:31 Stashed 1 file(s) [Pipeline] } 22:24:31 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-50-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:24:31 $ docker stop --time=1 7f549971d5308679b6c8d8c2ab3f26c0defe0cdddab91f8af99d4045ce7525a5 22:24:33 $ docker rm -f --volumes 7f549971d5308679b6c8d8c2ab3f26c0defe0cdddab91f8af99d4045ce7525a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [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 22:24:35 + [ -d /w/workspace/xfoundry_app-record-replay_PR-50/archives ] 22:24:35 + ls -al /w/workspace/xfoundry_app-record-replay_PR-50/archives 22:24:35 total 16 22:24:35 drwxr-xr-x 3 root root 4096 Jul 26 22:13 . 22:24:35 drwxrwxr-x 10 jenkins jenkins 4096 Jul 26 22:13 .. 22:24:35 drwxr-xr-x 2 root root 4096 Jul 26 22:13 cost 22:24:35 -rw-r--r-- 1 root root 88 Jul 26 22:13 cost.csv 22:24:35 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-50/archives 22:24:35 + ls -al /w/workspace/xfoundry_app-record-replay_PR-50/archives 22:24:35 total 16 22:24:35 drwxr-xr-x 3 jenkins jenkins 4096 Jul 26 22:13 . 22:24:35 drwxrwxr-x 10 jenkins jenkins 4096 Jul 26 22:13 .. 22:24:35 drwxr-xr-x 2 jenkins jenkins 4096 Jul 26 22:13 cost 22:24:35 -rw-r--r-- 1 jenkins jenkins 88 Jul 26 22:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:24:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:24:36 ---> package-listing.sh 22:24:36 ++ facter osfamily 22:24:36 ++ tr '[:upper:]' '[:lower:]' 22:24:37 + OS_FAMILY=debian 22:24:37 + workspace=/w/workspace/xfoundry_app-record-replay_PR-50 22:24:37 + START_PACKAGES=/tmp/packages_start.txt 22:24:37 + END_PACKAGES=/tmp/packages_end.txt 22:24:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:24:37 + PACKAGES=/tmp/packages_start.txt 22:24:37 + '[' /w/workspace/xfoundry_app-record-replay_PR-50 ']' 22:24:37 + PACKAGES=/tmp/packages_end.txt 22:24:37 + case "${OS_FAMILY}" in 22:24:37 + dpkg -l 22:24:37 + grep '^ii' 22:24:37 + '[' -f /tmp/packages_start.txt ']' 22:24:37 + '[' -f /tmp/packages_end.txt ']' 22:24:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:24:37 + '[' /w/workspace/xfoundry_app-record-replay_PR-50 ']' 22:24:37 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-50/archives/ 22:24:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-50/archives/ [Pipeline] echo 22:24:37 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/xfoundry_app-record-replay_PR-50/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:24:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:24:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:24:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:24:38 prd-ubuntu20.04-docker-8c-8g-2290 does not seem to be running inside a container 22:24:38 $ 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/xfoundry_app-record-replay_PR-50/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_app-record-replay_PR-50 -v /w/workspace/xfoundry_app-record-replay_PR-50:/w/workspace/xfoundry_app-record-replay_PR-50:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-50@tmp:/w/workspace/xfoundry_app-record-replay_PR-50@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 22:24:38 $ docker top 1b4375e4fb3bebf8d7fd485207879f5a43b8b1e55b8f9cddee5af3aa45b71235 -eo pid,comm [Pipeline] { [Pipeline] sh 22:24:38 + touch /tmp/pre-build-complete [Pipeline] sh 22:24:39 + mkdir -p /var/log/sysstat [Pipeline] sh 22:24:39 + ls /var/log/sa-host 22:24:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:24:39 provisioning config files... 22:24:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-50@tmp/config13461853654960819195tmp [Pipeline] { [Pipeline] echo 22:24:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:24:40 ---> create-netrc.sh [Pipeline] } 22:24:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:24:40 ---> python-tools-install.sh [Pipeline] echo 22:24:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:24:40 ---> sudo-logs.sh 22:24:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:24:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:24:41 ---> job-cost.sh 22:24:41 lf-activate-venv: SKIPPING 22:24:41 DEBUG: total: 0.2199999988079071 22:24:41 INFO: Retrieving Stack Cost... 22:24:41 INFO: Retrieving Pricing Info for: v3-standard-8 22:24:42 INFO: Archiving Costs [Pipeline] echo 22:24:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:24:42 ---> logs-deploy.sh 22:24:42 lf-activate-venv: SKIPPING 22:24:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-50/1 22:24:42 INFO: archiving workspace using pattern(s): 22:24:43 Archives upload complete. 22:24:43 INFO: archiving logs to Nexus