Pull request #150 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 cherrycl for edgexfoundry/app-record-replay Obtained Jenkinsfile from 50deb6c6f5f3708125411fb360b891aff2d2dce5+587b4a59f4c2d83c6f2bc4698198d372e4f88a1e (24ebb9aedbaf66eeb63f0d662371bf181523c006) 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-ssh6155449167684532561.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh17122046430234411393.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-150/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-150/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13759138217077803200.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-150/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17610225444349538235.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh2853867315224263050.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-150/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-150/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12369105934081993324.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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.23 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 on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-23474 in /w/workspace/foundry_app-record-replay_PR-150 [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/foundry_app-record-replay_PR-150 # 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 587b4a59f4c2d83c6f2bc4698198d372e4f88a1e into PR head commit 50deb6c6f5f3708125411fb360b891aff2d2dce5 Merge succeeded, producing 50deb6c6f5f3708125411fb360b891aff2d2dce5 Checking out Revision 50deb6c6f5f3708125411fb360b891aff2d2dce5 (PR-150) > 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/150/head:refs/remotes/origin/PR-150 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 50deb6c6f5f3708125411fb360b891aff2d2dce5 # 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 587b4a59f4c2d83c6f2bc4698198d372e4f88a1e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 50deb6c6f5f3708125411fb360b891aff2d2dce5 # timeout=10 Commit message: "fix: Move API document files from openapi/v3 to openapi" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:11:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:11:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:11:52 ========================================================= 06:11:52 EdgeX Global Pipelines Version Info 06:11:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:11:53 ------------------- 06:11:53 stable info: 06:11:53 ------------------- 06:11:53 Commited By: Ginny Guan ginny@iotechsys.com 06:11:53 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 06:11:53 Message: update stable to v1.0.265 06:11:53 ------------------- 06:11:53 experimental info: 06:11:53 ------------------- 06:11:53 Commited By: Cherry Wang cherry@iotechsys.com 06:11:53 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 06:11:53 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:11:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 06:11:54 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 06:11:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:11:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:11:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:11:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 06:11:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:11:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:11:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:11:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:11:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:11:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 06:11:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:11:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:11:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:11:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:11:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:11:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:11:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:11:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:11:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:11:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:11:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:11:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:11:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:11:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:11:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:11:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-150 [Pipeline] echo 06:11:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-150 [Pipeline] echo 06:11:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-150 [Pipeline] echo 06:11:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 50deb6c6f5f3708125411fb360b891aff2d2dce5 [Pipeline] echo 06:11:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 50deb6c [Pipeline] echo 06:11:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:11:56 provisioning config files... 06:11:56 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-150@tmp/config3936759019237831067tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:11:56 ---> ****-login.sh 06:11:56 nexus3.edgexfoundry.org:10001 06:11:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:11:56 Configure a credential helper to remove this warning. See 06:11:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:11:56 06:11:56 Login Succeeded 06:11:56 nexus3.edgexfoundry.org:10002 06:11:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:11:56 Configure a credential helper to remove this warning. See 06:11:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:11:56 06:11:56 Login Succeeded 06:11:56 nexus3.edgexfoundry.org:10003 06:11:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:11:57 Configure a credential helper to remove this warning. See 06:11:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:11:57 06:11:57 Login Succeeded 06:11:57 nexus3.edgexfoundry.org:10004 06:11:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:11:57 Configure a credential helper to remove this warning. See 06:11:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:11:57 06:11:57 Login Succeeded 06:11:57 ****.io 06:11:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:11:57 Configure a credential helper to remove this warning. See 06:11:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:11:57 06:11:57 Login Succeeded 06:11:57 ---> ****-login.sh ends [Pipeline] } 06:11:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:11:58 + git rev-list -1 --merges 50deb6c6f5f3708125411fb360b891aff2d2dce5~1..50deb6c6f5f3708125411fb360b891aff2d2dce5 [Pipeline] echo 06:11:58 -----------> git rev-list -1 --merges 50deb6c6f5f3708125411fb360b891aff2d2dce5~1..50deb6c6f5f3708125411fb360b891aff2d2dce5 50deb6c6f5f3708125411fb360b891aff2d2dce5 [false] [Pipeline] sh 06:11:58 + git log --format=format:%s -1 50deb6c6f5f3708125411fb360b891aff2d2dce5 [Pipeline] echo 06:11:58 ========================================================= 06:11:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:11:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:11:58 + git log --format=format:%s -1 50deb6c6f5f3708125411fb360b891aff2d2dce5 [Pipeline] echo 06:11:58 [semverPrep] GIT_COMMIT: 50deb6c6f5f3708125411fb360b891aff2d2dce5, Commit Message: fix: Move API document files from openapi/v3 to openapi [Pipeline] echo 06:11:59 [semverPrep] This is not a build commit. [Pipeline] sh 06:11:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:11:59 + grep -v github /etc/ssh/ssh_known_hosts 06:11:59 + [ -e /tmp/ssh_known_hosts ] 06:11:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:11:59 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:11:59 + sudo tee -a /etc/ssh/ssh_known_hosts 06:11:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:11:59 06:11:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:12:00 0.1.4: Pulling from edgex-devops/py-git-semver 06:12:00 b85a868b505f: Pulling fs layer 06:12:00 e2be974225ed: Pulling fs layer 06:12:00 339a4e72a1f5: Pulling fs layer 06:12:00 988bab9f4d93: Pulling fs layer 06:12:00 1469e6f7b9e6: Pulling fs layer 06:12:00 eaf3925da568: Pulling fs layer 06:12:00 bab4dde63d76: Pulling fs layer 06:12:00 bde34c3a00c8: Pulling fs layer 06:12:00 b352a97aabf1: Pulling fs layer 06:12:00 4872d77fe225: Pulling fs layer 06:12:00 5851b861e8e6: Pulling fs layer 06:12:00 bde34c3a00c8: Waiting 06:12:00 b352a97aabf1: Waiting 06:12:00 4872d77fe225: Waiting 06:12:00 eaf3925da568: Waiting 06:12:00 5851b861e8e6: Waiting 06:12:00 bab4dde63d76: Waiting 06:12:00 988bab9f4d93: Waiting 06:12:00 1469e6f7b9e6: Waiting 06:12:00 e2be974225ed: Verifying Checksum 06:12:00 e2be974225ed: Download complete 06:12:00 988bab9f4d93: Download complete 06:12:00 1469e6f7b9e6: Verifying Checksum 06:12:00 1469e6f7b9e6: Download complete 06:12:00 eaf3925da568: Verifying Checksum 06:12:00 eaf3925da568: Download complete 06:12:00 339a4e72a1f5: Verifying Checksum 06:12:00 339a4e72a1f5: Download complete 06:12:00 bde34c3a00c8: Download complete 06:12:00 b352a97aabf1: Verifying Checksum 06:12:00 b352a97aabf1: Download complete 06:12:00 4872d77fe225: Verifying Checksum 06:12:00 4872d77fe225: Download complete 06:12:00 5851b861e8e6: Verifying Checksum 06:12:00 5851b861e8e6: Download complete 06:12:00 b85a868b505f: Verifying Checksum 06:12:00 b85a868b505f: Download complete 06:12:00 bab4dde63d76: Verifying Checksum 06:12:00 bab4dde63d76: Download complete 06:12:01 b85a868b505f: Pull complete 06:12:01 e2be974225ed: Pull complete 06:12:02 339a4e72a1f5: Pull complete 06:12:02 988bab9f4d93: Pull complete 06:12:02 1469e6f7b9e6: Pull complete 06:12:02 eaf3925da568: Pull complete 06:12:04 bab4dde63d76: Pull complete 06:12:04 bde34c3a00c8: Pull complete 06:12:04 b352a97aabf1: Pull complete 06:12:04 4872d77fe225: Pull complete 06:12:04 5851b861e8e6: Pull complete 06:12:04 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:12:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:12:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:12:05 prd-ubuntu20.04-docker-8c-8g-23474 does not seem to be running inside a container 06:12:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_app-record-replay_PR-150 -v /w/workspace/foundry_app-record-replay_PR-150:/w/workspace/foundry_app-record-replay_PR-150:rw,z -v /w/workspace/foundry_app-record-replay_PR-150@tmp:/w/workspace/foundry_app-record-replay_PR-150@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:12:08 $ docker top 8b02192adc44c7fe350ebc68e289deb06e59c55d45653fb3700e8ca003765cc5 -eo pid,comm 06:12:08 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). 06:12:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:12:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:12:08 [ssh-agent] Looking for ssh-agent implementation... 06:12:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:12:08 $ docker exec 8b02192adc44c7fe350ebc68e289deb06e59c55d45653fb3700e8ca003765cc5 ssh-agent 06:12:08 SSH_AUTH_SOCK=/tmp/ssh-sXZdvAGiwxFQ/agent.32 06:12:08 SSH_AGENT_PID=38 06:12:08 Running ssh-add (command line suppressed) 06:12:08 Identity added: /w/workspace/foundry_app-record-replay_PR-150@tmp/private_key_5660575339586042313.key (/w/workspace/foundry_app-record-replay_PR-150@tmp/private_key_5660575339586042313.key) 06:12:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:12:09 + git tag --points-at HEAD [Pipeline] } 06:12:09 $ docker exec --env ******** --env ******** 8b02192adc44c7fe350ebc68e289deb06e59c55d45653fb3700e8ca003765cc5 ssh-agent -k 06:12:09 unset SSH_AUTH_SOCK; 06:12:09 unset SSH_AGENT_PID; 06:12:09 echo Agent pid 38 killed; 06:12:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:12:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:12:09 [ssh-agent] Looking for ssh-agent implementation... 06:12:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:12:09 $ docker exec 8b02192adc44c7fe350ebc68e289deb06e59c55d45653fb3700e8ca003765cc5 ssh-agent 06:12:09 SSH_AUTH_SOCK=/tmp/ssh-ikIiDdWSrUc9/agent.71 06:12:09 SSH_AGENT_PID=77 06:12:09 Running ssh-add (command line suppressed) 06:12:09 Identity added: /w/workspace/foundry_app-record-replay_PR-150@tmp/private_key_15806582972588469478.key (/w/workspace/foundry_app-record-replay_PR-150@tmp/private_key_15806582972588469478.key) 06:12:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:12:09 + git semver init 06:12:10 2024-10-22 06:12:10,105 [run_init] DEBUG init version:0.0.0 force:False 06:12:10 2024-10-22 06:12:10,106 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_app-record-replay_PR-150/.semver 06:12:10 2024-10-22 06:12:10,106 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/foundry_app-record-replay_PR-150/.semver 06:12:10 2024-10-22 06:12:10,106 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/foundry_app-record-replay_PR-150/.semver'], cwd=/w/workspace/foundry_app-record-replay_PR-150, universal_newlines=False, shell=None, istream=None) 06:12:12 2024-10-22 06:12:11,776 [append_file] DEBUG append to file:/w/workspace/foundry_app-record-replay_PR-150/.git/info/exclude 06:12:12 2024-10-22 06:12:11,777 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_app-record-replay_PR-150/.semver/PR-150 with force:False 06:12:12 2024-10-22 06:12:11,777 [write_file] DEBUG write to file:/w/workspace/foundry_app-record-replay_PR-150/.semver/PR-150 06:12:12 2024-10-22 06:12:11,781 [execute] INFO git cat-file --batch-check 06:12:12 2024-10-22 06:12:11,782 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_app-record-replay_PR-150/.semver, universal_newlines=False, shell=None, istream=) 06:12:12 2024-10-22 06:12:11,788 [execute] INFO git cat-file --batch 06:12:12 2024-10-22 06:12:11,789 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_app-record-replay_PR-150/.semver, universal_newlines=False, shell=None, istream=) 06:12:12 2024-10-22 06:12:11,794 [read_version] DEBUG read version from /w/workspace/foundry_app-record-replay_PR-150/.semver/PR-150 06:12:12 0.0.0 [Pipeline] } 06:12:12 $ docker exec --env ******** --env ******** 8b02192adc44c7fe350ebc68e289deb06e59c55d45653fb3700e8ca003765cc5 ssh-agent -k 06:12:12 unset SSH_AUTH_SOCK; 06:12:12 unset SSH_AGENT_PID; 06:12:12 echo Agent pid 77 killed; 06:12:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:12:12 + git semver [Pipeline] } 06:12:13 $ docker stop --time=1 8b02192adc44c7fe350ebc68e289deb06e59c55d45653fb3700e8ca003765cc5 06:12:14 $ docker rm -f --volumes 8b02192adc44c7fe350ebc68e289deb06e59c55d45653fb3700e8ca003765cc5 [Pipeline] // withDockerContainer [Pipeline] sh 06:12:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:12:15 Stashed 1 file(s) [Pipeline] echo 06:12:15 [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 06:12:15 provisioning config files... 06:12:15 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-150@tmp/config15310205747566156282tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:12:16 ---> ****-login.sh 06:12:16 nexus3.edgexfoundry.org:10001 06:12:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:12:16 Configure a credential helper to remove this warning. See 06:12:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:12:16 06:12:16 Login Succeeded 06:12:16 nexus3.edgexfoundry.org:10002 06:12:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:12:16 Configure a credential helper to remove this warning. See 06:12:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:12:16 06:12:16 Login Succeeded 06:12:16 nexus3.edgexfoundry.org:10003 06:12:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:12:16 Configure a credential helper to remove this warning. See 06:12:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:12:16 06:12:16 Login Succeeded 06:12:16 nexus3.edgexfoundry.org:10004 06:12:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:12:16 Configure a credential helper to remove this warning. See 06:12:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:12:16 06:12:16 Login Succeeded 06:12:16 ****.io 06:12:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:12:16 Configure a credential helper to remove this warning. See 06:12:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:12:16 06:12:16 Login Succeeded 06:12:16 ---> ****-login.sh ends [Pipeline] } 06:12:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:12:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:12:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:12:17 ========================================================= 06:12:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 06:12:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:17 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 06:12:17 Sending build context to Docker daemon 9.757MB 06:12:17 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 06:12:17 Step 2/12 : FROM ${BASE} AS builder 06:12:17 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 06:12:17 43c4264eed91: Pulling fs layer 06:12:17 4cc291be95ef: Pulling fs layer 06:12:17 2ac1f1163629: Pulling fs layer 06:12:17 5c3c966382ef: Pulling fs layer 06:12:17 4f4fb700ef54: Pulling fs layer 06:12:17 5d5c8e513c77: Pulling fs layer 06:12:17 9f66e0745190: Pulling fs layer 06:12:17 f49a43e4bbc0: Pulling fs layer 06:12:17 561ebcabdf7f: Pulling fs layer 06:12:17 5c3c966382ef: Waiting 06:12:17 4f4fb700ef54: Waiting 06:12:17 5d5c8e513c77: Waiting 06:12:17 9f66e0745190: Waiting 06:12:17 f49a43e4bbc0: Waiting 06:12:17 4cc291be95ef: Verifying Checksum 06:12:17 4cc291be95ef: Download complete 06:12:17 5c3c966382ef: Download complete 06:12:17 4f4fb700ef54: Verifying Checksum 06:12:17 4f4fb700ef54: Download complete 06:12:17 5d5c8e513c77: Verifying Checksum 06:12:17 5d5c8e513c77: Download complete 06:12:17 43c4264eed91: Download complete 06:12:17 9f66e0745190: Verifying Checksum 06:12:17 9f66e0745190: Download complete 06:12:17 43c4264eed91: Pull complete 06:12:18 4cc291be95ef: Pull complete 06:12:18 561ebcabdf7f: Verifying Checksum 06:12:18 561ebcabdf7f: Download complete 06:12:18 2ac1f1163629: Verifying Checksum 06:12:18 2ac1f1163629: Download complete 06:12:19 f49a43e4bbc0: Verifying Checksum 06:12:19 f49a43e4bbc0: Download complete 06:12:22 2ac1f1163629: Pull complete 06:12:22 5c3c966382ef: Pull complete 06:12:22 4f4fb700ef54: Pull complete 06:12:22 5d5c8e513c77: Pull complete 06:12:22 9f66e0745190: Pull complete 06:12:24 f49a43e4bbc0: Pull complete 06:12:25 561ebcabdf7f: Pull complete 06:12:25 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 06:12:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 06:12:25 ---> 3a752c3f9dda 06:12:25 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 06:12:29 ---> Running in 8e42f6bb3d0f 06:12:29 Removing intermediate container 8e42f6bb3d0f 06:12:29 ---> ffae5613ac67 06:12:29 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 06:12:29 ---> Running in 5006e2b6b5ad 06:12:29 Removing intermediate container 5006e2b6b5ad 06:12:29 ---> 9b05a99caa88 06:12:29 Step 5/12 : ARG ADD_BUILD_TAGS="" 06:12:29 ---> Running in 17fe631dca39 06:12:29 Removing intermediate container 17fe631dca39 06:12:29 ---> e421eae6d658 06:12:29 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:12:29 ---> Running in b059b30919b6 06:12:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:12:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:12:29 OK: 246 MiB in 54 packages 06:12:30 Removing intermediate container b059b30919b6 06:12:30 ---> 33092fe711f3 06:12:30 Step 7/12 : WORKDIR /app 06:12:30 ---> Running in e13e7c0fba1a 06:12:30 Removing intermediate container e13e7c0fba1a 06:12:30 ---> 99e7ffd27d02 06:12:30 Step 8/12 : COPY go.mod vendor* ./ 06:12:30 ---> 7eaf55e87cdf 06:12:30 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:12:30 ---> Running in 734bdd7f47c7 06:12:30 Still waiting to schedule task 06:12:30 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 06:13:21 Removing intermediate container 734bdd7f47c7 06:13:21 ---> 7418a1268b1a 06:13:21 Step 10/12 : COPY . . 06:13:21 ---> 5ba80eeec3e1 06:13:21 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:13:21 ---> Running in e4adf8c3f955 06:13:21 Removing intermediate container e4adf8c3f955 06:13:21 ---> 1c95b61eaaef 06:13:21 Step 12/12 : RUN $MAKE 06:13:21 ---> Running in d65687b30b17 06:13:21 noop 06:13:21 Removing intermediate container d65687b30b17 06:13:21 ---> bb53f35c51de 06:13:21 Successfully built bb53f35c51de 06:13:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:13:21 + docker inspect -f . ci-base-image-x86_64 06:13:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:13:22 prd-ubuntu20.04-docker-8c-8g-23474 does not seem to be running inside a container 06:13:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_app-record-replay_PR-150 -v /w/workspace/foundry_app-record-replay_PR-150:/w/workspace/foundry_app-record-replay_PR-150:rw,z -v /w/workspace/foundry_app-record-replay_PR-150@tmp:/w/workspace/foundry_app-record-replay_PR-150@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 ******** ci-base-image-x86_64 cat 06:13:22 $ docker top d3430d84dc2f295c90728f8aa221118f2010c270847195462e962c5a09ff6f2a -eo pid,comm [Pipeline] { [Pipeline] sh 06:13:22 + go version 06:13:22 go version go1.23.2 linux/amd64 [Pipeline] } 06:13:22 $ docker stop --time=1 d3430d84dc2f295c90728f8aa221118f2010c270847195462e962c5a09ff6f2a 06:13:24 $ docker rm -f --volumes d3430d84dc2f295c90728f8aa221118f2010c270847195462e962c5a09ff6f2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:13:24 + docker inspect -f . ci-base-image-x86_64 06:13:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:13:25 prd-ubuntu20.04-docker-8c-8g-23474 does not seem to be running inside a container 06:13:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_app-record-replay_PR-150 -v /w/workspace/foundry_app-record-replay_PR-150:/w/workspace/foundry_app-record-replay_PR-150:rw,z -v /w/workspace/foundry_app-record-replay_PR-150@tmp:/w/workspace/foundry_app-record-replay_PR-150@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 ******** ci-base-image-x86_64 cat 06:13:25 $ docker top 07a1012029757189f69be82cd492ebba38f9ee883fa85779ed3396a6e0de35a6 -eo pid,comm [Pipeline] { [Pipeline] sh 06:13:25 + git config --global --add safe.directory /w/workspace/foundry_app-record-replay_PR-150 [Pipeline] fileExists [Pipeline] sh 06:13:26 + make test 06:13:26 go test -race -coverprofile=coverage.out ./... 06:13:58 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 06:13:58 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 06:13:58 github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks coverage: 0.0% of statements 06:13:58 github.com/edgexfoundry/app-record-replay coverage: 0.0% of statements 06:13:58 ok github.com/edgexfoundry/app-record-replay/internal/app 1.026s coverage: 88.0% of statements 06:14:08 ok github.com/edgexfoundry/app-record-replay/internal/application 9.584s coverage: 98.7% of statements 06:14:08 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.085s coverage: 89.7% of statements 06:14:08 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.020s coverage: 100.0% of statements 06:14:08 running golangci-lint 06:14:08 golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z 06:14:08 go version go1.23.2 linux/amd64 06:14:08 level=info msg="golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z" 06:14:08 level=info msg="[config_reader] Used config file .golangci.yml" 06:14:08 level=info msg="[lintersdb] Active 7 linters: [errcheck gosec gosimple govet ineffassign staticcheck unused]" 06:14:35 level=info msg="[loader] Go packages loading at mode 575 (exports_file|files|types_sizes|deps|imports|name|compiled_files) took 22.15333531s" 06:14:35 level=info msg="[runner/filename_unadjuster] Pre-built 0 adjustments in 8.711028ms" 06:14:41 level=info msg="[linters_context/goanalysis] analyzers took 47.204034838s with top 10 stages: buildir: 38.0191188s, inspect: 2.002222093s, fact_deprecated: 1.977491367s, printf: 1.32188511s, ctrlflow: 1.118390797s, fact_purity: 766.007171ms, nilness: 675.973527ms, typedness: 452.381423ms, SA5012: 357.920671ms, tokenfileanalyzer: 166.10597ms" 06:14:41 level=info msg="[runner] Issues before processing: 10, after processing: 0" 06:14:41 level=info msg="[runner] Processors filtering stat (in/out): autogenerated_exclude: 10/10, exclude-rules: 10/0, cgo: 10/10, skip_files: 10/10, exclude: 10/10, path_prettifier: 10/10, skip_dirs: 10/10, identifier_marker: 10/10, filename_unadjuster: 10/10, invalid_issue: 10/10" 06:14:41 level=info msg="[runner] processing took 589.389µs with stages: identifier_marker: 285.935µs, autogenerated_exclude: 136.382µs, exclude-rules: 70.731µs, path_prettifier: 51.501µs, skip_dirs: 31µs, invalid_issue: 3.92µs, cgo: 2.57µs, nolint: 1.45µs, filename_unadjuster: 1.01µs, max_same_issues: 980ns, fixer: 480ns, uniq_by_line: 450ns, source_code: 440ns, max_from_linter: 440ns, sort_results: 380ns, exclude: 360ns, skip_files: 340ns, diff: 230ns, max_per_file_from_linter: 210ns, path_shortener: 200ns, path_prefixer: 200ns, severity-rules: 180ns" 06:14:41 level=info msg="[runner] linters took 9.494070805s with stages: goanalysis_metalinter: 9.493369135s" 06:14:41 level=info msg="File cache stats: 0 entries of total size 0B" 06:14:41 level=info msg="Memory: 318 samples, avg is 229.0MB, max is 1125.7MB" 06:14:41 level=info msg="Execution took 31.661516865s" 06:14:41 go vet ./... 06:14:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:14:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:14:46 ./bin/test-attribution-txt.sh [Pipeline] echo 06:14:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:14:46 $ docker stop --time=1 07a1012029757189f69be82cd492ebba38f9ee883fa85779ed3396a6e0de35a6 06:14:50 $ docker rm -f --volumes 07a1012029757189f69be82cd492ebba38f9ee883fa85779ed3396a6e0de35a6 [Pipeline] // withDockerContainer [Pipeline] sh 06:14:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:14:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:14:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:14:52 + ls -al . 06:14:52 total 280 06:14:52 drwxrwxr-x 10 jenkins jenkins 4096 Oct 22 06:13 . 06:14:52 drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 06:11 .. 06:14:52 -rw-rw-r-- 1 jenkins jenkins 119 Oct 22 06:11 .dockerignore 06:14:52 drwxrwxr-x 8 jenkins jenkins 4096 Oct 22 06:14 .git 06:14:52 drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 06:11 .github 06:14:52 -rw-rw-r-- 1 jenkins jenkins 164 Oct 22 06:11 .gitignore 06:14:52 -rw-rw-r-- 1 jenkins jenkins 41 Oct 22 06:11 .golangci.yml 06:14:52 drwxr-xr-x 3 jenkins jenkins 4096 Oct 22 06:12 .semver 06:14:52 -rw-rw-r-- 1 jenkins jenkins 20885 Oct 22 06:11 Attribution.txt 06:14:52 -rw-rw-r-- 1 jenkins jenkins 458 Oct 22 06:11 CHANGELOG.md 06:14:52 -rw-rw-r-- 1 jenkins jenkins 1725 Oct 22 06:11 Dockerfile 06:14:52 -rw-rw-r-- 1 jenkins jenkins 677 Oct 22 06:11 GOVERNANCE.md 06:14:52 -rw-rw-r-- 1 jenkins jenkins 681 Oct 22 06:11 Jenkinsfile 06:14:52 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 22 06:11 LICENSE 06:14:52 -rw-rw-r-- 1 jenkins jenkins 3805 Oct 22 06:11 Makefile 06:14:52 -rw-rw-r-- 1 jenkins jenkins 611 Oct 22 06:11 OWNERS.md 06:14:52 -rw-rw-r-- 1 jenkins jenkins 4107 Oct 22 06:11 README.md 06:14:52 -rw-rw-r-- 1 jenkins jenkins 7789 Oct 22 06:11 Record and Reply.postman_collection.json 06:14:52 -rw-rw-r-- 1 jenkins jenkins 5 Oct 22 06:12 VERSION 06:14:52 drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 06:11 bin 06:14:52 -rw-r--r-- 1 jenkins jenkins 34247 Oct 22 06:14 coverage.out 06:14:52 -rw-rw-r-- 1 jenkins jenkins 7488 Oct 22 06:11 go.mod 06:14:52 -rw-rw-r-- 1 jenkins jenkins 100896 Oct 22 06:11 go.sum 06:14:52 drwxrwxr-x 7 jenkins jenkins 4096 Oct 22 06:11 internal 06:14:52 -rw-rw-r-- 1 jenkins jenkins 913 Oct 22 06:11 main.go 06:14:52 drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 06:11 openapi 06:14:52 drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 06:11 pkg 06:14:52 drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 06:11 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:53 + docker build -t app-record-replay -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=50deb6c6f5f3708125411fb360b891aff2d2dce5 --label arch=amd64 --label version=0.0.0 . 06:14:53 Sending build context to Docker daemon 9.791MB 06:14:53 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 06:14:53 Step 2/27 : FROM ${BASE} AS builder 06:14:53 ---> bb53f35c51de 06:14:53 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 06:14:53 ---> Running in a9741ad5349f 06:14:53 Removing intermediate container a9741ad5349f 06:14:53 ---> 977824ccf1c2 06:14:53 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 06:14:53 ---> Running in 97fe7926861b 06:14:53 Removing intermediate container 97fe7926861b 06:14:53 ---> 920e997ba977 06:14:53 Step 5/27 : ARG ADD_BUILD_TAGS="" 06:14:53 ---> Running in e9938e059896 06:14:53 Removing intermediate container e9938e059896 06:14:53 ---> b4df64d02af3 06:14:53 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:14:53 ---> Running in 4431f0e568e3 06:14:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:14:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:14:54 OK: 246 MiB in 54 packages 06:14:54 Removing intermediate container 4431f0e568e3 06:14:54 ---> 428c932fddb9 06:14:54 Step 7/27 : WORKDIR /app 06:14:54 ---> Running in f143eaff4bc8 06:14:54 Removing intermediate container f143eaff4bc8 06:14:54 ---> d227ded8f453 06:14:54 Step 8/27 : COPY go.mod vendor* ./ 06:14:54 ---> fd1e86d13d6a 06:14:54 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:14:54 ---> Running in b908427990a7 06:14:55 Removing intermediate container b908427990a7 06:14:55 ---> cb879eed87d2 06:14:55 Step 10/27 : COPY . . 06:14:56 ---> 4d12d7f4c9df 06:14:56 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:14:56 ---> Running in d7edf7f1a5d8 06:14:56 Removing intermediate container d7edf7f1a5d8 06:14:56 ---> be4a651a068b 06:14:56 Step 12/27 : RUN $MAKE 06:14:56 ---> Running in fbe5c2b8cd02 06:14:56 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.57 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o app-record-replay 06:15:28 Removing intermediate container fbe5c2b8cd02 06:15:28 ---> 001ed106c8bb 06:15:28 Step 13/27 : FROM alpine:3.20 06:15:28 3.20: Pulling from library/alpine 06:15:28 43c4264eed91: Already exists 06:15:28 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 06:15:28 Status: Downloaded newer image for alpine:3.20 06:15:28 ---> 91ef0af61f39 06:15:28 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:15:28 ---> Running in 2dd1fee5bec4 06:15:28 Removing intermediate container 2dd1fee5bec4 06:15:28 ---> ac09fc74d368 06:15:28 Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} 06:15:28 ---> Running in 302347379dac 06:15:28 Removing intermediate container 302347379dac 06:15:28 ---> 0b29f4764a06 06:15:28 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 06:15:28 ---> Running in fe5008ed8a39 06:15:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:15:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:15:28 (1/2) Installing ca-certificates (20240705-r0) 06:15:28 (2/2) Installing dumb-init (1.2.5-r3) 06:15:28 Executing busybox-1.36.1-r29.trigger 06:15:28 Executing ca-certificates-20240705-r0.trigger 06:15:28 OK: 9 MiB in 16 packages 06:15:29 Removing intermediate container fe5008ed8a39 06:15:29 ---> fec48ec44e74 06:15:29 Step 17/27 : RUN apk --no-cache upgrade 06:15:29 ---> Running in 6f84874e895e 06:15:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:15:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:15:29 Upgrading critical system libraries and apk-tools: 06:15:29 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 06:15:29 Executing busybox-1.36.1-r29.trigger 06:15:29 Continuing the upgrade transaction with new apk-tools: 06:15:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:15:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:15:30 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 06:15:30 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 06:15:30 Executing ca-certificates-20240705-r0.trigger 06:15:30 OK: 9 MiB in 16 packages 06:15:31 Removing intermediate container 6f84874e895e 06:15:31 ---> 9daa29722f94 06:15:31 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 06:15:31 ---> 28b14ea456c0 06:15:31 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 06:15:31 ---> d54d9d3a8a94 06:15:31 Step 20/27 : COPY --from=builder /app/res/ /res/ 06:15:31 ---> cf40c28069ea 06:15:31 Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay 06:15:32 ---> 874faed14926 06:15:32 Step 22/27 : EXPOSE 59712 06:15:32 ---> Running in 89ffaf779636 06:15:32 Removing intermediate container 89ffaf779636 06:15:32 ---> 7bfa99532143 06:15:32 Step 23/27 : ENTRYPOINT ["/app-record-replay"] 06:15:32 ---> Running in 1f51ef7b6d7c 06:15:32 Removing intermediate container 1f51ef7b6d7c 06:15:32 ---> 9dd168d663b9 06:15:32 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 06:15:32 ---> Running in 8edfd43f1b3c 06:15:33 Removing intermediate container 8edfd43f1b3c 06:15:33 ---> b0eb23ad2348 06:15:33 Step 25/27 : LABEL arch=amd64 06:15:33 ---> Running in ec2106525c7a 06:15:33 Removing intermediate container ec2106525c7a 06:15:33 ---> faa440603da0 06:15:33 Step 26/27 : LABEL git_sha=50deb6c6f5f3708125411fb360b891aff2d2dce5 06:15:33 ---> Running in 9929808aae9d 06:15:33 Removing intermediate container 9929808aae9d 06:15:33 ---> 136fa1881d86 06:15:33 Step 27/27 : LABEL version=0.0.0 06:15:33 ---> Running in 0f3ca18a4ff1 06:15:33 Removing intermediate container 0f3ca18a4ff1 06:15:33 ---> 8d5d27e51f85 06:15:33 [Warning] One or more build-args [ARCH] were not consumed 06:15:33 Successfully built 8d5d27e51f85 06:15:33 Successfully tagged app-record-replay:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:15:34 06:15:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:15:34 latest: Pulling from edgex-lftools-log-publisher 06:15:34 5eb5b503b376: Pulling fs layer 06:15:34 5c69ac0246d0: Pulling fs layer 06:15:34 ec43610c2a17: Pulling fs layer 06:15:34 3a2ae6a8a46f: Pulling fs layer 06:15:34 33b1e0a273af: Pulling fs layer 06:15:34 5d3b04190fa2: Pulling fs layer 06:15:34 2f39f015ded8: Pulling fs layer 06:15:34 3a2ae6a8a46f: Waiting 06:15:34 33b1e0a273af: Waiting 06:15:34 2f39f015ded8: Waiting 06:15:34 5c69ac0246d0: Download complete 06:15:34 3a2ae6a8a46f: Verifying Checksum 06:15:34 3a2ae6a8a46f: Download complete 06:15:34 33b1e0a273af: Verifying Checksum 06:15:34 33b1e0a273af: Download complete 06:15:34 ec43610c2a17: Verifying Checksum 06:15:34 ec43610c2a17: Download complete 06:15:34 5d3b04190fa2: Verifying Checksum 06:15:34 5d3b04190fa2: Download complete 06:15:35 5eb5b503b376: Verifying Checksum 06:15:35 5eb5b503b376: Download complete 06:15:35 2f39f015ded8: Download complete 06:15:36 5eb5b503b376: Pull complete 06:15:36 5c69ac0246d0: Pull complete 06:15:36 ec43610c2a17: Pull complete 06:15:36 3a2ae6a8a46f: Pull complete 06:15:37 33b1e0a273af: Pull complete 06:15:37 5d3b04190fa2: Pull complete 06:15:41 2f39f015ded8: Pull complete 06:15:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:15:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:15:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:41 prd-ubuntu20.04-docker-8c-8g-23474 does not seem to be running inside a container 06:15:41 $ 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/foundry_app-record-replay_PR-150 -v /w/workspace/foundry_app-record-replay_PR-150:/w/workspace/foundry_app-record-replay_PR-150:rw,z -v /w/workspace/foundry_app-record-replay_PR-150@tmp:/w/workspace/foundry_app-record-replay_PR-150@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 06:15:45 $ docker top 6ee4c9f7a74b02c239fb5d194134decc0f43ae71135a9c111a94a8696cd5f38c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:15:45 ---> job-cost.sh 06:15:45 lf-activate-venv: SKIPPING 06:15:45 INFO: No Stack... 06:15:46 INFO: Retrieving Pricing Info for: v3-standard-8 06:15:46 INFO: Archiving Costs [Pipeline] sh 06:15:46 + cat /w/workspace/foundry_app-record-replay_PR-150/archives/cost.csv 06:15:46 + cut -d, -f6 [Pipeline] lock 06:15:46 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-record-replay-PR-150-1-stack-cost] 06:15:46 Resource [jenkins-edgexfoundry-app-record-replay-PR-150-1-stack-cost] did not exist. Created. 06:15:46 Lock acquired on [Resource: jenkins-edgexfoundry-app-record-replay-PR-150-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:15:47 + echo total: 0.2199999988079071 [Pipeline] stash 06:15:47 Stashed 1 file(s) [Pipeline] } 06:15:47 Lock released on resource [Resource: jenkins-edgexfoundry-app-record-replay-PR-150-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:15:47 $ docker stop --time=1 6ee4c9f7a74b02c239fb5d194134decc0f43ae71135a9c111a94a8696cd5f38c 06:15:48 $ docker rm -f --volumes 6ee4c9f7a74b02c239fb5d194134decc0f43ae71135a9c111a94a8696cd5f38c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:16:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23475 in /w/workspace/foundry_app-record-replay_PR-150 [Pipeline] { [Pipeline] ws 06:16:30 Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout 06:16:33 Selected Git installation does not exist. Using Default 06:16:33 The recommended git tool is: NONE 06:16:41 using credential edgex-jenkins-ssh 06:16:41 Cloning the remote Git repository 06:16:41 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 06:16:41 > git init /w/workspace/app-record-replay/1 # timeout=10 06:16:41 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 06:16:41 > git --version # timeout=10 06:16:41 > git --version # 'git version 2.25.1' 06:16:41 using GIT_SSH to set credentials SSH Credentials for GitHub 06:16:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:16:44 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 06:16:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:16:45 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 06:16:46 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 06:16:46 using GIT_SSH to set credentials SSH Credentials for GitHub 06:16:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/150/head:refs/remotes/origin/PR-150 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:16:46 Merging remotes/origin/main commit 587b4a59f4c2d83c6f2bc4698198d372e4f88a1e into PR head commit 50deb6c6f5f3708125411fb360b891aff2d2dce5 06:16:47 Merge succeeded, producing 50deb6c6f5f3708125411fb360b891aff2d2dce5 06:16:47 Checking out Revision 50deb6c6f5f3708125411fb360b891aff2d2dce5 (PR-150) 06:16:46 > git config core.sparsecheckout # timeout=10 06:16:46 > git checkout -f 50deb6c6f5f3708125411fb360b891aff2d2dce5 # timeout=10 06:16:46 > git remote # timeout=10 06:16:46 > git config --get remote.origin.url # timeout=10 06:16:46 using GIT_SSH to set credentials SSH Credentials for GitHub 06:16:46 > git merge 587b4a59f4c2d83c6f2bc4698198d372e4f88a1e # timeout=10 06:16:47 > git rev-parse HEAD^{commit} # timeout=10 06:16:47 > git config core.sparsecheckout # timeout=10 06:16:47 > git checkout -f 50deb6c6f5f3708125411fb360b891aff2d2dce5 # timeout=10 06:16:50 Commit message: "fix: Move API document files from openapi/v3 to openapi" 06:16:50 > git --version # timeout=10 06:16:50 > git --version # 'git version 2.25.1' 06:16:50 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:16:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:16:53 % Total % Received % Xferd Average Speed Time Time Time Current 06:16:53 Dload Upload Total Spent Left Speed 06:16:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 98676 0 --:--:-- --:--:-- --:--:-- 98676 [Pipeline] sh 06:16:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:16:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:16:53 + sudo tee /etc/docker/daemon.new 06:16:53 { 06:16:53 "registry-mirrors": [ 06:16:53 "https://nexus3.edgexfoundry.org:10001" 06:16:53 ], 06:16:53 "bip": "10.250.0.254/24", 06:16:53 "hosts": [ 06:16:53 "tcp://0.0.0.0:5555", 06:16:53 "unix:///var/run/docker.sock" 06:16:53 ], 06:16:53 "mtu": 1458, 06:16:53 "selinux-enabled": true, 06:16:53 "seccomp-profile": "/etc/docker/seccomp.json" 06:16:53 } [Pipeline] sh 06:16:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:16:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:17:12 provisioning config files... 06:17:12 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config15451094043653643678tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:17:13 ---> ****-login.sh 06:17:13 nexus3.edgexfoundry.org:10001 06:17:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:17:14 Configure a credential helper to remove this warning. See 06:17:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:17:14 06:17:14 Login Succeeded 06:17:14 nexus3.edgexfoundry.org:10002 06:17:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:17:14 Configure a credential helper to remove this warning. See 06:17:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:17:14 06:17:14 Login Succeeded 06:17:14 nexus3.edgexfoundry.org:10003 06:17:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:17:14 Configure a credential helper to remove this warning. See 06:17:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:17:14 06:17:14 Login Succeeded 06:17:14 nexus3.edgexfoundry.org:10004 06:17:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:17:15 Configure a credential helper to remove this warning. See 06:17:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:17:15 06:17:15 Login Succeeded 06:17:15 ****.io 06:17:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:17:16 Configure a credential helper to remove this warning. See 06:17:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:17:16 06:17:16 Login Succeeded 06:17:16 ---> ****-login.sh ends [Pipeline] } 06:17:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:17:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:17:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:17:16 ========================================================= 06:17:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 06:17:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:17 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 06:17:17 Sending build context to Docker daemon 337.9kB 06:17:17 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 06:17:17 Step 2/12 : FROM ${BASE} AS builder 06:17:17 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:17:17 cf04c63912e1: Pulling fs layer 06:17:17 55b35a11ae5e: Pulling fs layer 06:17:17 a37a00ec5f00: Pulling fs layer 06:17:17 50b3750afda1: Pulling fs layer 06:17:17 4f4fb700ef54: Pulling fs layer 06:17:17 80978eb59214: Pulling fs layer 06:17:17 c9f46d7d2bd2: Pulling fs layer 06:17:17 c5a475d317c9: Pulling fs layer 06:17:17 50b3750afda1: Waiting 06:17:17 4f4fb700ef54: Waiting 06:17:17 c9f46d7d2bd2: Waiting 06:17:17 80978eb59214: Waiting 06:17:17 c5a475d317c9: Waiting 06:17:17 55b35a11ae5e: Verifying Checksum 06:17:17 55b35a11ae5e: Download complete 06:17:17 50b3750afda1: Verifying Checksum 06:17:17 50b3750afda1: Download complete 06:17:17 4f4fb700ef54: Verifying Checksum 06:17:17 4f4fb700ef54: Download complete 06:17:17 80978eb59214: Verifying Checksum 06:17:17 80978eb59214: Download complete 06:17:17 cf04c63912e1: Verifying Checksum 06:17:17 cf04c63912e1: Download complete 06:17:18 c5a475d317c9: Verifying Checksum 06:17:18 c5a475d317c9: Download complete 06:17:19 cf04c63912e1: Pull complete 06:17:19 55b35a11ae5e: Pull complete 06:17:21 a37a00ec5f00: Verifying Checksum 06:17:21 a37a00ec5f00: Download complete 06:17:21 c9f46d7d2bd2: Verifying Checksum 06:17:21 c9f46d7d2bd2: Download complete 06:17:36 a37a00ec5f00: Pull complete 06:17:36 50b3750afda1: Pull complete 06:17:36 4f4fb700ef54: Pull complete 06:17:36 80978eb59214: Pull complete 06:17:43 c9f46d7d2bd2: Pull complete 06:17:45 c5a475d317c9: Pull complete 06:17:45 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 06:17:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 06:17:45 ---> be29e6b0f0d4 06:17:45 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 06:17:48 ---> Running in 009304992f5d 06:17:48 Removing intermediate container 009304992f5d 06:17:48 ---> 01ca04937d2d 06:17:48 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 06:17:48 ---> Running in d72205b128af 06:17:48 Removing intermediate container d72205b128af 06:17:48 ---> 6257d038d5ae 06:17:48 Step 5/12 : ARG ADD_BUILD_TAGS="" 06:17:48 ---> Running in 0facd28c4a42 06:17:48 Removing intermediate container 0facd28c4a42 06:17:48 ---> d85ff0055ea0 06:17:48 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:17:48 ---> Running in 1866d62c5be9 06:17:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:17:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:17:52 OK: 238 MiB in 54 packages 06:17:53 Removing intermediate container 1866d62c5be9 06:17:53 ---> fb7a4e1184db 06:17:53 Step 7/12 : WORKDIR /app 06:17:53 ---> Running in e0efd03f0228 06:17:53 Removing intermediate container e0efd03f0228 06:17:53 ---> d12dc4e5e95d 06:17:53 Step 8/12 : COPY go.mod vendor* ./ 06:17:54 ---> 336822ec0d73 06:17:54 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:17:54 ---> Running in 3266e56ec9d6 06:20:01 Removing intermediate container 3266e56ec9d6 06:20:01 ---> dc7d430eafc2 06:20:01 Step 10/12 : COPY . . 06:20:01 ---> 3cc52093541b 06:20:01 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:20:01 ---> Running in 9daa31dcc06b 06:20:01 Removing intermediate container 9daa31dcc06b 06:20:01 ---> 8c07db9ed721 06:20:01 Step 12/12 : RUN $MAKE 06:20:01 ---> Running in 4d0b057bf1c6 06:20:01 noop 06:20:01 Removing intermediate container 4d0b057bf1c6 06:20:01 ---> 57869a621164 06:20:01 Successfully built 57869a621164 06:20:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:01 + docker inspect -f . ci-base-image-arm64 06:20:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:20:02 prd-ubuntu20.04-docker-arm64-4c-16g-23475 does not seem to be running inside a container 06:20:02 $ 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 ******** ci-base-image-arm64 cat 06:20:03 $ docker top c644d22f18b0e672f33c590a70d403eff454bde5f2578d64912736b26aadfc28 -eo pid,comm [Pipeline] { [Pipeline] sh 06:20:04 + go version 06:20:04 go version go1.23.2 linux/arm64 [Pipeline] } 06:20:04 $ docker stop --time=1 c644d22f18b0e672f33c590a70d403eff454bde5f2578d64912736b26aadfc28 06:20:06 $ docker rm -f --volumes c644d22f18b0e672f33c590a70d403eff454bde5f2578d64912736b26aadfc28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:07 + docker inspect -f . ci-base-image-arm64 06:20:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:20:07 prd-ubuntu20.04-docker-arm64-4c-16g-23475 does not seem to be running inside a container 06:20:07 $ 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 ******** ci-base-image-arm64 cat 06:20:08 $ docker top b856a0be9f2ef478db88a713f68df2ceab95c4e8f83e8c8823f5e4e7eb8c6b02 -eo pid,comm [Pipeline] { [Pipeline] sh 06:20:09 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 06:20:10 + make test 06:20:10 go test -race -coverprofile=coverage.out ./... 06:25:17 github.com/edgexfoundry/app-record-replay coverage: 0.0% of statements 06:25:39 ok github.com/edgexfoundry/app-record-replay/internal/app 1.145s coverage: 88.0% of statements 06:25:43 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 06:25:43 github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks coverage: 0.0% of statements 06:25:47 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 06:25:53 ok github.com/edgexfoundry/app-record-replay/internal/application 9.892s coverage: 98.7% of statements 06:25:53 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.433s coverage: 89.7% of statements 06:25:53 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.084s coverage: 100.0% of statements 06:25:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:25:55 go vet ./... 06:30:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:30:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:30:47 ./bin/test-attribution-txt.sh [Pipeline] echo 06:30:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:30:47 $ docker stop --time=1 b856a0be9f2ef478db88a713f68df2ceab95c4e8f83e8c8823f5e4e7eb8c6b02 06:30:49 $ docker rm -f --volumes b856a0be9f2ef478db88a713f68df2ceab95c4e8f83e8c8823f5e4e7eb8c6b02 [Pipeline] // withDockerContainer [Pipeline] sh 06:30:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:30:52 Warning: overwriting stash ‘coverage-report’ 06:30:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:30:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:30:53 + ls -al . 06:30:53 total 276 06:30:53 drwxrwxr-x 9 jenkins jenkins 4096 Oct 22 06:20 . 06:30:53 drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 06:16 .. 06:30:53 -rw-rw-r-- 1 jenkins jenkins 119 Oct 22 06:16 .dockerignore 06:30:53 drwxrwxr-x 8 jenkins jenkins 4096 Oct 22 06:16 .git 06:30:53 drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 06:16 .github 06:30:53 -rw-rw-r-- 1 jenkins jenkins 164 Oct 22 06:16 .gitignore 06:30:53 -rw-rw-r-- 1 jenkins jenkins 41 Oct 22 06:16 .golangci.yml 06:30:53 -rw-rw-r-- 1 jenkins jenkins 20885 Oct 22 06:16 Attribution.txt 06:30:53 -rw-rw-r-- 1 jenkins jenkins 458 Oct 22 06:16 CHANGELOG.md 06:30:53 -rw-rw-r-- 1 jenkins jenkins 1725 Oct 22 06:16 Dockerfile 06:30:53 -rw-rw-r-- 1 jenkins jenkins 677 Oct 22 06:16 GOVERNANCE.md 06:30:53 -rw-rw-r-- 1 jenkins jenkins 681 Oct 22 06:16 Jenkinsfile 06:30:53 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 22 06:16 LICENSE 06:30:53 -rw-rw-r-- 1 jenkins jenkins 3805 Oct 22 06:16 Makefile 06:30:53 -rw-rw-r-- 1 jenkins jenkins 611 Oct 22 06:16 OWNERS.md 06:30:53 -rw-rw-r-- 1 jenkins jenkins 4107 Oct 22 06:16 README.md 06:30:53 -rw-rw-r-- 1 jenkins jenkins 7789 Oct 22 06:16 Record and Reply.postman_collection.json 06:30:53 -rw-rw-r-- 1 jenkins jenkins 5 Oct 22 06:12 VERSION 06:30:53 drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 06:16 bin 06:30:53 -rw-r--r-- 1 jenkins jenkins 34248 Oct 22 06:25 coverage.out 06:30:53 -rw-rw-r-- 1 jenkins jenkins 7488 Oct 22 06:16 go.mod 06:30:53 -rw-rw-r-- 1 jenkins jenkins 100896 Oct 22 06:16 go.sum 06:30:53 drwxrwxr-x 7 jenkins jenkins 4096 Oct 22 06:16 internal 06:30:53 -rw-rw-r-- 1 jenkins jenkins 913 Oct 22 06:16 main.go 06:30:53 drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 06:16 openapi 06:30:53 drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 06:16 pkg 06:30:53 drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 06:16 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:30:54 + 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=50deb6c6f5f3708125411fb360b891aff2d2dce5 --label arch=arm64 --label version=0.0.0 . 06:30:54 Sending build context to Docker daemon 372.7kB 06:30:54 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 06:30:54 Step 2/27 : FROM ${BASE} AS builder 06:30:54 ---> 57869a621164 06:30:54 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 06:30:54 ---> Running in 3cd8c4678ae4 06:30:55 Removing intermediate container 3cd8c4678ae4 06:30:55 ---> 7bb7b80f0ae7 06:30:55 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 06:30:55 ---> Running in fd46c22571c9 06:30:55 Removing intermediate container fd46c22571c9 06:30:55 ---> ca68e7884e7c 06:30:55 Step 5/27 : ARG ADD_BUILD_TAGS="" 06:30:55 ---> Running in e7ff6389f9ca 06:30:56 Removing intermediate container e7ff6389f9ca 06:30:56 ---> f3a65d2c6a07 06:30:56 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:30:56 ---> Running in 2d0df7534245 06:30:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:30:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:30:59 OK: 238 MiB in 54 packages 06:31:00 Removing intermediate container 2d0df7534245 06:31:00 ---> 1c1bf2787639 06:31:00 Step 7/27 : WORKDIR /app 06:31:00 ---> Running in ddcd5ebc40bd 06:31:00 Removing intermediate container ddcd5ebc40bd 06:31:00 ---> 125ba6ca8ba5 06:31:00 Step 8/27 : COPY go.mod vendor* ./ 06:31:01 ---> 4fd6cb773a54 06:31:01 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:31:01 ---> Running in 987ad54b00a0 06:31:04 Removing intermediate container 987ad54b00a0 06:31:04 ---> 0aed7b2c9043 06:31:04 Step 10/27 : COPY . . 06:31:04 ---> 503ff4b68bf5 06:31:04 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:31:05 ---> Running in ec2f107a817b 06:31:05 Removing intermediate container ec2f107a817b 06:31:05 ---> fd9de8194d79 06:31:05 Step 12/27 : RUN $MAKE 06:31:05 ---> Running in 18a8e3738d1a 06:31:06 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.57 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o app-record-replay 06:35:14 Removing intermediate container 18a8e3738d1a 06:35:14 ---> 213dda4e8559 06:35:14 Step 13/27 : FROM alpine:3.20 06:35:14 3.20: Pulling from library/alpine 06:35:14 cf04c63912e1: Already exists 06:35:14 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 06:35:14 Status: Downloaded newer image for alpine:3.20 06:35:14 ---> c157a85ed455 06:35:14 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:35:14 ---> Running in 60242cedffa6 06:35:15 Removing intermediate container 60242cedffa6 06:35:15 ---> f700c3acf428 06:35:15 Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} 06:35:15 ---> Running in 7f8467ca320d 06:35:15 Removing intermediate container 7f8467ca320d 06:35:15 ---> baaad59517d7 06:35:15 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 06:35:15 ---> Running in 85347c32fff1 06:35:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:35:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:35:18 (1/2) Installing ca-certificates (20240705-r0) 06:35:18 (2/2) Installing dumb-init (1.2.5-r3) 06:35:18 Executing busybox-1.36.1-r29.trigger 06:35:18 Executing ca-certificates-20240705-r0.trigger 06:35:18 OK: 10 MiB in 16 packages 06:35:20 Removing intermediate container 85347c32fff1 06:35:20 ---> 112f784cfa9c 06:35:20 Step 17/27 : RUN apk --no-cache upgrade 06:35:20 ---> Running in cbd25aada009 06:35:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:35:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:35:22 Upgrading critical system libraries and apk-tools: 06:35:22 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 06:35:22 Executing busybox-1.36.1-r29.trigger 06:35:23 Continuing the upgrade transaction with new apk-tools: 06:35:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:35:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:35:24 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 06:35:24 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 06:35:24 Executing ca-certificates-20240705-r0.trigger 06:35:25 OK: 10 MiB in 16 packages 06:35:26 Removing intermediate container cbd25aada009 06:35:26 ---> 11bcae8ec207 06:35:26 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 06:35:26 ---> fc4dc9027d51 06:35:26 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 06:35:27 ---> 96ceb1a5a2f1 06:35:27 Step 20/27 : COPY --from=builder /app/res/ /res/ 06:35:27 ---> ea1aef927cd0 06:35:27 Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay 06:35:31 ---> 43edb4511f60 06:35:31 Step 22/27 : EXPOSE 59712 06:35:31 ---> Running in b77e39a85950 06:35:31 Removing intermediate container b77e39a85950 06:35:31 ---> a92a1c6c35c3 06:35:31 Step 23/27 : ENTRYPOINT ["/app-record-replay"] 06:35:31 ---> Running in 6e28c237b159 06:35:31 Removing intermediate container 6e28c237b159 06:35:31 ---> 3b64aec38519 06:35:31 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 06:35:31 ---> Running in 90292d02c7de 06:35:31 Removing intermediate container 90292d02c7de 06:35:31 ---> f78dc83c022a 06:35:31 Step 25/27 : LABEL arch=arm64 06:35:32 ---> Running in f3f58783ee3e 06:35:32 Removing intermediate container f3f58783ee3e 06:35:32 ---> 6a703d0b03db 06:35:32 Step 26/27 : LABEL git_sha=50deb6c6f5f3708125411fb360b891aff2d2dce5 06:35:32 ---> Running in 9d4ca39c94db 06:35:32 Removing intermediate container 9d4ca39c94db 06:35:32 ---> 98a71a9a71ed 06:35:32 Step 27/27 : LABEL version=0.0.0 06:35:32 ---> Running in 247f30e586d2 06:35:33 Removing intermediate container 247f30e586d2 06:35:33 ---> b6915f96cfd3 06:35:33 [Warning] One or more build-args [ARCH] were not consumed 06:35:33 Successfully built b6915f96cfd3 06:35:33 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:35:34 06:35:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:35:34 arm64: Pulling from edgex-lftools-log-publisher 06:35:34 8998bd30e6a1: Pulling fs layer 06:35:34 04944245beec: Pulling fs layer 06:35:34 699f458cf7ca: Pulling fs layer 06:35:34 765212b225bb: Pulling fs layer 06:35:34 f23df028b6ca: Pulling fs layer 06:35:34 d65c8cfc05b1: Pulling fs layer 06:35:34 2437ff75d9bd: Pulling fs layer 06:35:34 f23df028b6ca: Waiting 06:35:34 d65c8cfc05b1: Waiting 06:35:34 2437ff75d9bd: Waiting 06:35:34 765212b225bb: Waiting 06:35:35 04944245beec: Verifying Checksum 06:35:35 04944245beec: Download complete 06:35:35 765212b225bb: Verifying Checksum 06:35:35 765212b225bb: Download complete 06:35:35 f23df028b6ca: Verifying Checksum 06:35:35 f23df028b6ca: Download complete 06:35:35 d65c8cfc05b1: Download complete 06:35:35 699f458cf7ca: Verifying Checksum 06:35:35 8998bd30e6a1: Verifying Checksum 06:35:35 8998bd30e6a1: Download complete 06:35:38 2437ff75d9bd: Verifying Checksum 06:35:38 2437ff75d9bd: Download complete 06:35:40 8998bd30e6a1: Pull complete 06:35:41 04944245beec: Pull complete 06:35:42 699f458cf7ca: Pull complete 06:35:42 765212b225bb: Pull complete 06:35:43 f23df028b6ca: Pull complete 06:35:44 d65c8cfc05b1: Pull complete 06:36:02 2437ff75d9bd: Pull complete 06:36:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:36:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:36:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:36:02 prd-ubuntu20.04-docker-arm64-4c-16g-23475 does not seem to be running inside a container 06:36:02 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:36:05 $ docker top 038d9663302cebd6f7bbfee418602d1157f947bab7aa85bbc9e21ab0b6ea3fa1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:36:06 ---> job-cost.sh 06:36:06 lf-activate-venv: SKIPPING 06:36:06 INFO: No Stack... 06:36:07 INFO: Retrieving Pricing Info for: v3-standard-4 06:36:08 INFO: Archiving Costs [Pipeline] sh 06:36:08 + cat /w/workspace/app-record-replay/1/archives/cost.csv 06:36:08 + cut -d, -f6 [Pipeline] lock 06:36:09 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-record-replay-PR-150-1-stack-cost] 06:36:09 Resource [jenkins-edgexfoundry-app-record-replay-PR-150-1-stack-cost] did not exist. Created. 06:36:09 Lock acquired on [Resource: jenkins-edgexfoundry-app-record-replay-PR-150-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:36:10 /w/workspace/app-record-replay/1@tmp/durable-340fc6ef/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:36:10 + echo total: 0.10999999940395355 [Pipeline] stash 06:36:10 Warning: overwriting stash ‘stack-cost’ 06:36:10 Stashed 1 file(s) [Pipeline] } 06:36:10 Lock released on resource [Resource: jenkins-edgexfoundry-app-record-replay-PR-150-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:36:10 $ docker stop --time=1 038d9663302cebd6f7bbfee418602d1157f947bab7aa85bbc9e21ab0b6ea3fa1 06:36:12 $ docker rm -f --volumes 038d9663302cebd6f7bbfee418602d1157f947bab7aa85bbc9e21ab0b6ea3fa1 [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) [Pipeline] unstash [Pipeline] configFileProvider 06:36:13 provisioning config files... 06:36:13 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/foundry_app-record-replay_PR-150@tmp/config3480766015388972190tmp [Pipeline] { [Pipeline] sh 06:36:14 + set +x 06:36:14 + curl -s https://codecov.io/bash 06:36:14 + bash -s -- 06:36:14 06:36:14 _____ _ 06:36:14 / ____| | | 06:36:14 | | ___ __| | ___ ___ _____ __ 06:36:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:36:14 | |___| (_) | (_| | __/ (_| (_) \ V / 06:36:14 \_____\___/ \__,_|\___|\___\___/ \_/ 06:36:14 Bash-1.0.6 06:36:14 06:36:14 06:36:14 ==> git version 2.25.1 found 06:36:14 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 06:36:14 Release-Date: 2020-01-08 06:36:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:36:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:36:14 ==> Jenkins CI detected. 06:36:14 current dir:  /w/workspace/foundry_app-record-replay_PR-150 06:36:14 project root: . 06:36:14 --> token set from env 06:36:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:36:14 ==> Running gcov in . (disable via -X gcov) 06:36:14 ==> Python coveragepy not found 06:36:14 ==> Searching for coverage reports in: 06:36:14 + . 06:36:14 -> Found 1 reports 06:36:14 ==> Detecting git/mercurial file structure 06:36:14 ==> Reading reports 06:36:14 + ./coverage.out bytes=34248 06:36:14 ==> Appending adjustments 06:36:14 https://docs.codecov.io/docs/fixing-reports 06:36:14 + Found adjustments 06:36:14 ==> Gzipping contents 06:36:14 8.0K /tmp/codecov.39fbc1.gz 06:36:14 ==> Uploading reports 06:36:14 url: https://codecov.io 06:36:14 query: branch=PR-150&commit=50deb6c6f5f3708125411fb360b891aff2d2dce5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-150%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=150&job=&cmd_args= 06:36:14 -> Pinging Codecov 06:36:14 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-150&commit=50deb6c6f5f3708125411fb360b891aff2d2dce5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-150%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=150&job=&cmd_args= 06:36:20 -> Uploading to 06:36:20 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/app-record-replay/50deb6c6f5f3708125411fb360b891aff2d2dce5/6fcfdbdb-81d0-480e-a492-c5d387ff5111.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241022%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241022T063618Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=7ba4153e336db180b275013a056ca6827856561df578a1136fa0e5ee1c72152e 06:36:20 % Total % Received % Xferd Average Speed Time Time Time Current 06:36:20 Dload Upload Total Spent Left Speed 06:36:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5387 0 0 100 5387 0 26668 --:--:-- --:--:-- --:--:-- 26536 100 5387 0 0 100 5387 0 25652 --:--:-- --:--:-- --:--:-- 25530 06:36:20 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-record-replay/commit/50deb6c6f5f3708125411fb360b891aff2d2dce5 [Pipeline] } 06:36:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:36:24 + [ -d /w/workspace/foundry_app-record-replay_PR-150/archives ] 06:36:24 + ls -al /w/workspace/foundry_app-record-replay_PR-150/archives 06:36:24 total 16 06:36:24 drwxr-xr-x 3 root root 4096 Oct 22 06:15 . 06:36:24 drwxrwxr-x 11 jenkins jenkins 4096 Oct 22 06:15 .. 06:36:24 drwxr-xr-x 2 root root 4096 Oct 22 06:15 cost 06:36:24 -rw-r--r-- 1 root root 89 Oct 22 06:15 cost.csv 06:36:24 + sudo chown -R jenkins:jenkins /w/workspace/foundry_app-record-replay_PR-150/archives 06:36:24 + ls -al /w/workspace/foundry_app-record-replay_PR-150/archives 06:36:24 total 16 06:36:24 drwxr-xr-x 3 jenkins jenkins 4096 Oct 22 06:15 . 06:36:24 drwxrwxr-x 11 jenkins jenkins 4096 Oct 22 06:15 .. 06:36:24 drwxr-xr-x 2 jenkins jenkins 4096 Oct 22 06:15 cost 06:36:24 -rw-r--r-- 1 jenkins jenkins 89 Oct 22 06:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:36:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:36:25 ---> package-listing.sh 06:36:25 ++ facter osfamily 06:36:25 ++ tr '[:upper:]' '[:lower:]' 06:36:26 + OS_FAMILY=debian 06:36:26 + workspace=/w/workspace/foundry_app-record-replay_PR-150 06:36:26 + START_PACKAGES=/tmp/packages_start.txt 06:36:26 + END_PACKAGES=/tmp/packages_end.txt 06:36:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:36:26 + PACKAGES=/tmp/packages_start.txt 06:36:26 + '[' /w/workspace/foundry_app-record-replay_PR-150 ']' 06:36:26 + PACKAGES=/tmp/packages_end.txt 06:36:26 + case "${OS_FAMILY}" in 06:36:26 + dpkg -l 06:36:26 + grep '^ii' 06:36:26 + '[' -f /tmp/packages_start.txt ']' 06:36:26 + '[' -f /tmp/packages_end.txt ']' 06:36:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:36:26 + '[' /w/workspace/foundry_app-record-replay_PR-150 ']' 06:36:26 + mkdir -p /w/workspace/foundry_app-record-replay_PR-150/archives/ 06:36:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_app-record-replay_PR-150/archives/ [Pipeline] echo 06:36:26 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/foundry_app-record-replay_PR-150/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:36:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:36:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:36:27 prd-ubuntu20.04-docker-8c-8g-23474 does not seem to be running inside a container 06:36:27 $ 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/foundry_app-record-replay_PR-150/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_app-record-replay_PR-150 -v /w/workspace/foundry_app-record-replay_PR-150:/w/workspace/foundry_app-record-replay_PR-150:rw,z -v /w/workspace/foundry_app-record-replay_PR-150@tmp:/w/workspace/foundry_app-record-replay_PR-150@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:36:27 $ docker top 8b89689d6a7f8384116d1f0aaab3049c541ee0b61f9d26f29c316f0277642005 -eo pid,comm [Pipeline] { [Pipeline] sh 06:36:28 + touch /tmp/pre-build-complete [Pipeline] sh 06:36:28 + mkdir -p /var/log/sysstat [Pipeline] sh 06:36:28 + ls /var/log/sa-host 06:36:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:36:28 provisioning config files... 06:36:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_app-record-replay_PR-150@tmp/config6975337454971624229tmp [Pipeline] { [Pipeline] echo 06:36:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:36:29 ---> create-netrc.sh [Pipeline] } 06:36:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:36:29 ---> python-tools-install.sh [Pipeline] echo 06:36:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:36:30 ---> sudo-logs.sh 06:36:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:36:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:36:30 ---> job-cost.sh 06:36:30 lf-activate-venv: SKIPPING 06:36:30 DEBUG: total: 0.2199999988079071 06:36:30 INFO: Retrieving Stack Cost... 06:36:30 INFO: Retrieving Pricing Info for: v3-standard-8 06:36:31 INFO: Archiving Costs [Pipeline] echo 06:36:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:36:31 ---> logs-deploy.sh 06:36:31 lf-activate-venv: SKIPPING 06:36:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-150/1 06:36:31 INFO: archiving workspace using pattern(s): 06:36:32 Archives upload complete. 06:36:32 INFO: archiving logs to Nexus