Pull request #173 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jumpingliu for edgexfoundry/app-record-replay Obtained Jenkinsfile from 5c91ef287df32110109523a3192bc0df4cd2d86b+e872dfa1c37aeb3a690af3223cf450be67f27a01 (4883ffdecaaa5f2f8a7bdb41522c428df7041328) 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-ssh334299330401774150.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh10191033221678603213.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-173/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-173/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6688409719066713688.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16876201159324931031.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-173/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-173/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15351801785960028837.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [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 ‘prd-ubuntu20.04-docker-8c-8g-40333’ is offline Running on prd-ubuntu20.04-docker-8c-8g-40335 in /w/workspace/foundry_app-record-replay_PR-173 [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-173 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/173/head:refs/remotes/origin/PR-173 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e872dfa1c37aeb3a690af3223cf450be67f27a01 into PR head commit 5c91ef287df32110109523a3192bc0df4cd2d86b Merge succeeded, producing 5c91ef287df32110109523a3192bc0df4cd2d86b Checking out Revision 5c91ef287df32110109523a3192bc0df4cd2d86b (PR-173) > git config core.sparsecheckout # timeout=10 > git checkout -f 5c91ef287df32110109523a3192bc0df4cd2d86b # 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 e872dfa1c37aeb3a690af3223cf450be67f27a01 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5c91ef287df32110109523a3192bc0df4cd2d86b # timeout=10 Commit message: "docs: Update changelog for 4.0 release" First time build. Skipping changelog. > git rev-list --no-walk 1e3fe687022a989f24c11ed4d914de75e5e94cba # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2025-03-05T12:04:30.812Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2025-03-05T12:04:30.890Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2025-03-05T12:04:30.924Z] ========================================================= [2025-03-05T12:04:30.924Z] EdgeX Global Pipelines Version Info [2025-03-05T12:04:30.924Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2025-03-05T12:04:31.650Z] ------------------- [2025-03-05T12:04:31.650Z] stable info: [2025-03-05T12:04:31.650Z] ------------------- [2025-03-05T12:04:31.650Z] Commited By: Cherry Wang cherry@iotechsys.com [2025-03-05T12:04:31.650Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2025-03-05T12:04:31.650Z] Message: update stable to v1.0.269 [2025-03-05T12:04:32.219Z] ------------------- [2025-03-05T12:04:32.219Z] experimental info: [2025-03-05T12:04:32.219Z] ------------------- [2025-03-05T12:04:32.219Z] Commited By: Ginny Guan ginny@iotechsys.com [2025-03-05T12:04:32.219Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2025-03-05T12:04:32.219Z] Message: update experimental to stable [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2025-03-05T12:04:32.300Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo [2025-03-05T12:04:32.323Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo [2025-03-05T12:04:32.352Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2025-03-05T12:04:32.384Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2025-03-05T12:04:32.413Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2025-03-05T12:04:32.441Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2025-03-05T12:04:32.466Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2025-03-05T12:04:32.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2025-03-05T12:04:32.521Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2025-03-05T12:04:32.548Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2025-03-05T12:04:32.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2025-03-05T12:04:32.589Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo [2025-03-05T12:04:32.615Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2025-03-05T12:04:32.645Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2025-03-05T12:04:32.667Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2025-03-05T12:04:32.688Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2025-03-05T12:04:32.707Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2025-03-05T12:04:32.731Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2025-03-05T12:04:32.750Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2025-03-05T12:04:32.771Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2025-03-05T12:04:32.794Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2025-03-05T12:04:32.823Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2025-03-05T12:04:32.845Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2025-03-05T12:04:32.871Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2025-03-05T12:04:32.899Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2025-03-05T12:04:32.932Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2025-03-05T12:04:32.957Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2025-03-05T12:04:32.982Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-173 [Pipeline] echo [2025-03-05T12:04:33.006Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-173 [Pipeline] echo [2025-03-05T12:04:33.028Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-173 [Pipeline] echo [2025-03-05T12:04:33.052Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5c91ef287df32110109523a3192bc0df4cd2d86b [Pipeline] echo [2025-03-05T12:04:33.077Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5c91ef2 [Pipeline] echo [2025-03-05T12:04:33.100Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-03-05T12:04:33.166Z] provisioning config files... [2025-03-05T12:04:33.180Z] copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-173@tmp/config5330471313249887416tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-03-05T12:04:33.517Z] ---> ****-login.sh [2025-03-05T12:04:33.517Z] nexus3.edgexfoundry.org:10001 [2025-03-05T12:04:33.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-05T12:04:33.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-05T12:04:33.778Z] Configure a credential helper to remove this warning. See [2025-03-05T12:04:33.778Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-05T12:04:33.778Z] [2025-03-05T12:04:33.778Z] Login Succeeded [2025-03-05T12:04:33.778Z] nexus3.edgexfoundry.org:10002 [2025-03-05T12:04:33.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-05T12:04:34.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-05T12:04:34.037Z] Configure a credential helper to remove this warning. See [2025-03-05T12:04:34.037Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-05T12:04:34.037Z] [2025-03-05T12:04:34.037Z] Login Succeeded [2025-03-05T12:04:34.037Z] nexus3.edgexfoundry.org:10003 [2025-03-05T12:04:34.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-05T12:04:34.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-05T12:04:34.037Z] Configure a credential helper to remove this warning. See [2025-03-05T12:04:34.037Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-05T12:04:34.037Z] [2025-03-05T12:04:34.037Z] Login Succeeded [2025-03-05T12:04:34.037Z] nexus3.edgexfoundry.org:10004 [2025-03-05T12:04:34.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-05T12:04:34.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-05T12:04:34.038Z] Configure a credential helper to remove this warning. See [2025-03-05T12:04:34.038Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-05T12:04:34.038Z] [2025-03-05T12:04:34.038Z] Login Succeeded [2025-03-05T12:04:34.038Z] ****.io [2025-03-05T12:04:34.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-05T12:04:34.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-05T12:04:34.297Z] Configure a credential helper to remove this warning. See [2025-03-05T12:04:34.297Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-05T12:04:34.297Z] [2025-03-05T12:04:34.297Z] Login Succeeded [2025-03-05T12:04:34.297Z] ---> ****-login.sh ends [Pipeline] } [2025-03-05T12:04:34.306Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2025-03-05T12:04:34.717Z] + git rev-list -1 --merges 5c91ef287df32110109523a3192bc0df4cd2d86b~1..5c91ef287df32110109523a3192bc0df4cd2d86b [Pipeline] echo [2025-03-05T12:04:34.744Z] -----------> git rev-list -1 --merges 5c91ef287df32110109523a3192bc0df4cd2d86b~1..5c91ef287df32110109523a3192bc0df4cd2d86b 5c91ef287df32110109523a3192bc0df4cd2d86b [false] [Pipeline] sh [2025-03-05T12:04:35.044Z] + git log --format=format:%s -1 5c91ef287df32110109523a3192bc0df4cd2d86b [Pipeline] echo [2025-03-05T12:04:35.058Z] ========================================================= [2025-03-05T12:04:35.058Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2025-03-05T12:04:35.058Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2025-03-05T12:04:35.392Z] + git log --format=format:%s -1 5c91ef287df32110109523a3192bc0df4cd2d86b [Pipeline] echo [2025-03-05T12:04:35.403Z] [semverPrep] GIT_COMMIT: 5c91ef287df32110109523a3192bc0df4cd2d86b, Commit Message: docs: Update changelog for 4.0 release [Pipeline] echo [2025-03-05T12:04:35.415Z] [semverPrep] This is not a build commit. [Pipeline] sh [2025-03-05T12:04:35.815Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2025-03-05T12:04:35.815Z] + grep -v github /etc/ssh/ssh_known_hosts [2025-03-05T12:04:35.815Z] + [ -e /tmp/ssh_known_hosts ] [2025-03-05T12:04:35.815Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2025-03-05T12:04:35.815Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2025-03-05T12:04:35.815Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2025-03-05T12:04:35.815Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-05T12:04:36.176Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-03-05T12:04:36.176Z] [2025-03-05T12:04:36.176Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-05T12:04:36.482Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-03-05T12:04:36.482Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2025-03-05T12:04:36.482Z] b85a868b505f: Pulling fs layer [2025-03-05T12:04:36.482Z] e2be974225ed: Pulling fs layer [2025-03-05T12:04:36.482Z] 339a4e72a1f5: Pulling fs layer [2025-03-05T12:04:36.482Z] 988bab9f4d93: Pulling fs layer [2025-03-05T12:04:36.482Z] 1469e6f7b9e6: Pulling fs layer [2025-03-05T12:04:36.482Z] eaf3925da568: Pulling fs layer [2025-03-05T12:04:36.482Z] bab4dde63d76: Pulling fs layer [2025-03-05T12:04:36.482Z] bde34c3a00c8: Pulling fs layer [2025-03-05T12:04:36.482Z] b352a97aabf1: Pulling fs layer [2025-03-05T12:04:36.482Z] 4872d77fe225: Pulling fs layer [2025-03-05T12:04:36.482Z] 5851b861e8e6: Pulling fs layer [2025-03-05T12:04:36.482Z] bab4dde63d76: Waiting [2025-03-05T12:04:36.482Z] bde34c3a00c8: Waiting [2025-03-05T12:04:36.482Z] b352a97aabf1: Waiting [2025-03-05T12:04:36.482Z] 4872d77fe225: Waiting [2025-03-05T12:04:36.482Z] 1469e6f7b9e6: Waiting [2025-03-05T12:04:36.482Z] 5851b861e8e6: Waiting [2025-03-05T12:04:36.482Z] 988bab9f4d93: Waiting [2025-03-05T12:04:36.482Z] e2be974225ed: Download complete [2025-03-05T12:04:36.482Z] 988bab9f4d93: Download complete [2025-03-05T12:04:36.482Z] 1469e6f7b9e6: Verifying Checksum [2025-03-05T12:04:36.482Z] 1469e6f7b9e6: Download complete [2025-03-05T12:04:36.482Z] eaf3925da568: Download complete [2025-03-05T12:04:36.740Z] 339a4e72a1f5: Verifying Checksum [2025-03-05T12:04:36.740Z] 339a4e72a1f5: Download complete [2025-03-05T12:04:36.740Z] bde34c3a00c8: Verifying Checksum [2025-03-05T12:04:36.740Z] bde34c3a00c8: Download complete [2025-03-05T12:04:36.740Z] b352a97aabf1: Verifying Checksum [2025-03-05T12:04:36.740Z] b352a97aabf1: Download complete [2025-03-05T12:04:36.740Z] 4872d77fe225: Download complete [2025-03-05T12:04:36.741Z] 5851b861e8e6: Verifying Checksum [2025-03-05T12:04:36.741Z] 5851b861e8e6: Download complete [2025-03-05T12:04:36.741Z] b85a868b505f: Verifying Checksum [2025-03-05T12:04:36.741Z] b85a868b505f: Download complete [2025-03-05T12:04:36.999Z] bab4dde63d76: Verifying Checksum [2025-03-05T12:04:36.999Z] bab4dde63d76: Download complete [2025-03-05T12:04:37.940Z] b85a868b505f: Pull complete [2025-03-05T12:04:37.940Z] e2be974225ed: Pull complete [2025-03-05T12:04:38.508Z] 339a4e72a1f5: Pull complete [2025-03-05T12:04:38.508Z] 988bab9f4d93: Pull complete [2025-03-05T12:04:38.767Z] 1469e6f7b9e6: Pull complete [2025-03-05T12:04:38.767Z] eaf3925da568: Pull complete [2025-03-05T12:04:40.670Z] bab4dde63d76: Pull complete [2025-03-05T12:04:40.670Z] bde34c3a00c8: Pull complete [2025-03-05T12:04:40.670Z] b352a97aabf1: Pull complete [2025-03-05T12:04:40.670Z] 4872d77fe225: Pull complete [2025-03-05T12:04:40.670Z] 5851b861e8e6: Pull complete [2025-03-05T12:04:40.670Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2025-03-05T12:04:40.670Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-03-05T12:04:40.670Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-05T12:04:40.824Z] prd-ubuntu20.04-docker-8c-8g-40335 does not seem to be running inside a container [2025-03-05T12:04:40.851Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_app-record-replay_PR-173 -v /w/workspace/foundry_app-record-replay_PR-173:/w/workspace/foundry_app-record-replay_PR-173:rw,z -v /w/workspace/foundry_app-record-replay_PR-173@tmp:/w/workspace/foundry_app-record-replay_PR-173@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2025-03-05T12:04:42.128Z] $ docker top 81baa61037c3091ef7fac203de90dc05b5564fd1e5de650bd1672c2ae5a5a9e3 -eo pid,comm [2025-03-05T12:04:42.191Z] 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). [2025-03-05T12:04:42.191Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2025-03-05T12:04:42.251Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-03-05T12:04:42.252Z] [ssh-agent] Looking for ssh-agent implementation... [2025-03-05T12:04:42.357Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-03-05T12:04:42.353Z] $ docker exec 81baa61037c3091ef7fac203de90dc05b5564fd1e5de650bd1672c2ae5a5a9e3 ssh-agent [2025-03-05T12:04:42.474Z] SSH_AUTH_SOCK=/tmp/ssh-bwpJDJ0cFbiC/agent.32 [2025-03-05T12:04:42.474Z] SSH_AGENT_PID=38 [2025-03-05T12:04:42.481Z] Running ssh-add (command line suppressed) [2025-03-05T12:04:42.578Z] Identity added: /w/workspace/foundry_app-record-replay_PR-173@tmp/private_key_1829983363530130382.key (/w/workspace/foundry_app-record-replay_PR-173@tmp/private_key_1829983363530130382.key) [2025-03-05T12:04:42.600Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-03-05T12:04:42.891Z] + git tag --points-at HEAD [Pipeline] } [2025-03-05T12:04:42.895Z] $ docker exec --env ******** --env ******** 81baa61037c3091ef7fac203de90dc05b5564fd1e5de650bd1672c2ae5a5a9e3 ssh-agent -k [2025-03-05T12:04:42.990Z] unset SSH_AUTH_SOCK; [2025-03-05T12:04:42.990Z] unset SSH_AGENT_PID; [2025-03-05T12:04:42.990Z] echo Agent pid 38 killed; [2025-03-05T12:04:43.005Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2025-03-05T12:04:43.050Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-03-05T12:04:43.050Z] [ssh-agent] Looking for ssh-agent implementation... [2025-03-05T12:04:43.164Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-03-05T12:04:43.159Z] $ docker exec 81baa61037c3091ef7fac203de90dc05b5564fd1e5de650bd1672c2ae5a5a9e3 ssh-agent [2025-03-05T12:04:43.265Z] SSH_AUTH_SOCK=/tmp/ssh-a8gLKUZhcNMI/agent.73 [2025-03-05T12:04:43.265Z] SSH_AGENT_PID=79 [2025-03-05T12:04:43.270Z] Running ssh-add (command line suppressed) [2025-03-05T12:04:43.384Z] Identity added: /w/workspace/foundry_app-record-replay_PR-173@tmp/private_key_17082329079809490243.key (/w/workspace/foundry_app-record-replay_PR-173@tmp/private_key_17082329079809490243.key) [2025-03-05T12:04:43.405Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-03-05T12:04:43.698Z] + git semver init [2025-03-05T12:04:43.958Z] 2025-03-05 12:04:43,884 [run_init] DEBUG init version:0.0.0 force:False [2025-03-05T12:04:43.958Z] 2025-03-05 12:04:43,885 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_app-record-replay_PR-173/.semver [2025-03-05T12:04:43.958Z] 2025-03-05 12:04:43,885 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/foundry_app-record-replay_PR-173/.semver [2025-03-05T12:04:43.958Z] 2025-03-05 12:04:43,886 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/foundry_app-record-replay_PR-173/.semver'], cwd=/w/workspace/foundry_app-record-replay_PR-173, universal_newlines=False, shell=None, istream=None) [2025-03-05T12:04:45.337Z] 2025-03-05 12:04:45,282 [append_file] DEBUG append to file:/w/workspace/foundry_app-record-replay_PR-173/.git/info/exclude [2025-03-05T12:04:45.338Z] 2025-03-05 12:04:45,282 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_app-record-replay_PR-173/.semver/PR-173 with force:False [2025-03-05T12:04:45.338Z] 2025-03-05 12:04:45,282 [write_file] DEBUG write to file:/w/workspace/foundry_app-record-replay_PR-173/.semver/PR-173 [2025-03-05T12:04:45.338Z] 2025-03-05 12:04:45,285 [execute] INFO git cat-file --batch-check [2025-03-05T12:04:45.338Z] 2025-03-05 12:04:45,286 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_app-record-replay_PR-173/.semver, universal_newlines=False, shell=None, istream=) [2025-03-05T12:04:45.338Z] 2025-03-05 12:04:45,292 [execute] INFO git cat-file --batch [2025-03-05T12:04:45.338Z] 2025-03-05 12:04:45,292 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_app-record-replay_PR-173/.semver, universal_newlines=False, shell=None, istream=) [2025-03-05T12:04:45.338Z] 2025-03-05 12:04:45,297 [read_version] DEBUG read version from /w/workspace/foundry_app-record-replay_PR-173/.semver/PR-173 [2025-03-05T12:04:45.338Z] 0.0.0 [Pipeline] } [2025-03-05T12:04:45.340Z] $ docker exec --env ******** --env ******** 81baa61037c3091ef7fac203de90dc05b5564fd1e5de650bd1672c2ae5a5a9e3 ssh-agent -k [2025-03-05T12:04:45.436Z] unset SSH_AUTH_SOCK; [2025-03-05T12:04:45.437Z] unset SSH_AGENT_PID; [2025-03-05T12:04:45.437Z] echo Agent pid 79 killed; [2025-03-05T12:04:45.452Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2025-03-05T12:04:45.779Z] + git semver [Pipeline] } [2025-03-05T12:04:46.046Z] $ docker stop --time=1 81baa61037c3091ef7fac203de90dc05b5564fd1e5de650bd1672c2ae5a5a9e3 [2025-03-05T12:04:47.323Z] $ docker rm -f --volumes 81baa61037c3091ef7fac203de90dc05b5564fd1e5de650bd1672c2ae5a5a9e3 [Pipeline] // withDockerContainer [Pipeline] sh [2025-03-05T12:04:47.688Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2025-03-05T12:04:47.913Z] Stashed 1 file(s) [Pipeline] echo [2025-03-05T12:04:47.918Z] [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) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-03-05T12:04:48.229Z] provisioning config files... [Pipeline] // stage [Pipeline] } [2025-03-05T12:04:48.246Z] copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-173@tmp/config16394628127690577124tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-03-05T12:04:48.584Z] ---> ****-login.sh [2025-03-05T12:04:48.584Z] nexus3.edgexfoundry.org:10001 [2025-03-05T12:04:48.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-05T12:04:48.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-05T12:04:48.584Z] Configure a credential helper to remove this warning. See [2025-03-05T12:04:48.584Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-05T12:04:48.584Z] [2025-03-05T12:04:48.584Z] Login Succeeded [2025-03-05T12:04:48.584Z] nexus3.edgexfoundry.org:10002 [2025-03-05T12:04:48.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-05T12:04:48.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-05T12:04:48.584Z] Configure a credential helper to remove this warning. See [2025-03-05T12:04:48.584Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-05T12:04:48.584Z] [2025-03-05T12:04:48.585Z] Login Succeeded [2025-03-05T12:04:48.585Z] nexus3.edgexfoundry.org:10003 [2025-03-05T12:04:48.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-05T12:04:48.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-05T12:04:48.843Z] Configure a credential helper to remove this warning. See [2025-03-05T12:04:48.843Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-05T12:04:48.843Z] [2025-03-05T12:04:48.843Z] Login Succeeded [2025-03-05T12:04:48.843Z] nexus3.edgexfoundry.org:10004 [2025-03-05T12:04:48.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-05T12:04:48.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-05T12:04:48.843Z] Configure a credential helper to remove this warning. See [2025-03-05T12:04:48.843Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-05T12:04:48.843Z] [2025-03-05T12:04:48.843Z] Login Succeeded [2025-03-05T12:04:48.843Z] ****.io [2025-03-05T12:04:48.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-05T12:04:49.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-05T12:04:49.103Z] Configure a credential helper to remove this warning. See [2025-03-05T12:04:49.103Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-05T12:04:49.103Z] [2025-03-05T12:04:49.103Z] Login Succeeded [2025-03-05T12:04:49.103Z] ---> ****-login.sh ends [Pipeline] } [2025-03-05T12:04:49.110Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2025-03-05T12:04:49.197Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2025-03-05T12:04:49.225Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2025-03-05T12:04:49.241Z] ========================================================= [2025-03-05T12:04:49.241Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2025-03-05T12:04:49.241Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-05T12:04:49.578Z] + 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 . [2025-03-05T12:04:49.578Z] Sending build context to Docker daemon 9.882MB [2025-03-05T12:04:49.578Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2025-03-05T12:04:49.578Z] Step 2/12 : FROM ${BASE} AS builder [2025-03-05T12:04:49.578Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2025-03-05T12:04:49.578Z] da9db072f522: Pulling fs layer [2025-03-05T12:04:49.578Z] 6ef4a4ee8ca5: Pulling fs layer [2025-03-05T12:04:49.578Z] 06f05ace1117: Pulling fs layer [2025-03-05T12:04:49.578Z] 5fe327b54edc: Pulling fs layer [2025-03-05T12:04:49.578Z] 4f4fb700ef54: Pulling fs layer [2025-03-05T12:04:49.578Z] 92a5565b7b96: Pulling fs layer [2025-03-05T12:04:49.578Z] ff9bb7016b71: Pulling fs layer [2025-03-05T12:04:49.578Z] b67dba6c2c7d: Pulling fs layer [2025-03-05T12:04:49.578Z] a813b0c90790: Pulling fs layer [2025-03-05T12:04:49.578Z] b67dba6c2c7d: Waiting [2025-03-05T12:04:49.578Z] 4f4fb700ef54: Waiting [2025-03-05T12:04:49.578Z] a813b0c90790: Waiting [2025-03-05T12:04:49.578Z] 92a5565b7b96: Waiting [2025-03-05T12:04:49.578Z] ff9bb7016b71: Waiting [2025-03-05T12:04:49.578Z] 5fe327b54edc: Waiting [2025-03-05T12:04:49.578Z] 6ef4a4ee8ca5: Verifying Checksum [2025-03-05T12:04:49.578Z] 6ef4a4ee8ca5: Download complete [2025-03-05T12:04:49.578Z] 5fe327b54edc: Download complete [2025-03-05T12:04:49.836Z] 4f4fb700ef54: Verifying Checksum [2025-03-05T12:04:49.836Z] 4f4fb700ef54: Download complete [2025-03-05T12:04:49.836Z] 92a5565b7b96: Download complete [2025-03-05T12:04:49.836Z] da9db072f522: Download complete [2025-03-05T12:04:49.836Z] ff9bb7016b71: Verifying Checksum [2025-03-05T12:04:49.836Z] ff9bb7016b71: Download complete [2025-03-05T12:04:49.836Z] da9db072f522: Pull complete [2025-03-05T12:04:50.094Z] 6ef4a4ee8ca5: Pull complete [2025-03-05T12:04:50.094Z] a813b0c90790: Verifying Checksum [2025-03-05T12:04:50.094Z] a813b0c90790: Download complete [2025-03-05T12:04:50.094Z] 06f05ace1117: Verifying Checksum [2025-03-05T12:04:50.094Z] 06f05ace1117: Download complete [2025-03-05T12:04:50.660Z] b67dba6c2c7d: Verifying Checksum [2025-03-05T12:04:50.661Z] b67dba6c2c7d: Download complete [2025-03-05T12:04:53.191Z] 06f05ace1117: Pull complete [2025-03-05T12:04:53.191Z] 5fe327b54edc: Pull complete [2025-03-05T12:04:53.191Z] 4f4fb700ef54: Pull complete [2025-03-05T12:04:53.191Z] 92a5565b7b96: Pull complete [2025-03-05T12:04:53.450Z] ff9bb7016b71: Pull complete [2025-03-05T12:04:55.979Z] b67dba6c2c7d: Pull complete [2025-03-05T12:04:55.979Z] a813b0c90790: Pull complete [2025-03-05T12:04:55.979Z] Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 [2025-03-05T12:04:56.241Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2025-03-05T12:04:56.241Z] ---> 3ba60ce46760 [2025-03-05T12:04:56.241Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2025-03-05T12:04:58.145Z] ---> Running in 5a5917ec0079 [2025-03-05T12:04:58.145Z] Removing intermediate container 5a5917ec0079 [2025-03-05T12:04:58.145Z] ---> b39aedd917e2 [2025-03-05T12:04:58.145Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2025-03-05T12:04:58.145Z] ---> Running in 1eb6ac0ff68c [2025-03-05T12:04:58.145Z] Removing intermediate container 1eb6ac0ff68c [2025-03-05T12:04:58.145Z] ---> 566097a8ca41 [2025-03-05T12:04:58.145Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2025-03-05T12:04:58.145Z] ---> Running in 04dc53e6b4f1 [2025-03-05T12:04:58.145Z] Removing intermediate container 04dc53e6b4f1 [2025-03-05T12:04:58.145Z] ---> a48a0d0c3ad5 [2025-03-05T12:04:58.145Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2025-03-05T12:04:58.145Z] ---> Running in 1d5f0a9e478f [2025-03-05T12:04:58.404Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2025-03-05T12:04:58.404Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2025-03-05T12:04:58.972Z] OK: 248 MiB in 58 packages [2025-03-05T12:04:59.231Z] Removing intermediate container 1d5f0a9e478f [2025-03-05T12:04:59.231Z] ---> a5895d304d6d [2025-03-05T12:04:59.231Z] Step 7/12 : WORKDIR /app [2025-03-05T12:04:59.231Z] ---> Running in 82289c91305b [2025-03-05T12:04:59.231Z] Removing intermediate container 82289c91305b [2025-03-05T12:04:59.231Z] ---> 49e3d95ac0a9 [2025-03-05T12:04:59.231Z] Step 8/12 : COPY go.mod vendor* ./ [2025-03-05T12:04:59.490Z] ---> 558d1d471b5f [2025-03-05T12:04:59.490Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2025-03-05T12:04:59.490Z] ---> Running in 23ed19eac422 [2025-03-05T12:05:31.579Z] Removing intermediate container 23ed19eac422 [2025-03-05T12:05:31.579Z] ---> 86106dca99d5 [2025-03-05T12:05:31.579Z] Step 10/12 : COPY . . [2025-03-05T12:05:31.579Z] ---> 7f82df3a8073 [2025-03-05T12:05:31.579Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2025-03-05T12:05:31.579Z] ---> Running in acdc0e282b7b [2025-03-05T12:05:31.579Z] Removing intermediate container acdc0e282b7b [2025-03-05T12:05:31.579Z] ---> 09320069f22f [2025-03-05T12:05:31.579Z] Step 12/12 : RUN $MAKE [2025-03-05T12:05:31.579Z] ---> Running in f241e2cf67fb [2025-03-05T12:05:31.579Z] noop [2025-03-05T12:05:31.579Z] Removing intermediate container f241e2cf67fb [2025-03-05T12:05:31.579Z] ---> 405787152fbe [2025-03-05T12:05:31.579Z] Successfully built 405787152fbe [2025-03-05T12:05:31.579Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-05T12:05:31.907Z] + docker inspect -f . ci-base-image-x86_64 [2025-03-05T12:05:31.907Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-05T12:05:32.004Z] prd-ubuntu20.04-docker-8c-8g-40335 does not seem to be running inside a container [2025-03-05T12:05:32.033Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_app-record-replay_PR-173 -v /w/workspace/foundry_app-record-replay_PR-173:/w/workspace/foundry_app-record-replay_PR-173:rw,z -v /w/workspace/foundry_app-record-replay_PR-173@tmp:/w/workspace/foundry_app-record-replay_PR-173@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2025-03-05T12:05:32.367Z] $ docker top 20e58a41eafe6bf4bcaa776b40766c2cfabca3b3cd8d5d82a6ead866e7734b5b -eo pid,comm [Pipeline] { [Pipeline] sh [2025-03-05T12:05:32.710Z] + go version [2025-03-05T12:05:32.710Z] go version go1.23.4 linux/amd64 [Pipeline] } [2025-03-05T12:05:32.717Z] $ docker stop --time=1 20e58a41eafe6bf4bcaa776b40766c2cfabca3b3cd8d5d82a6ead866e7734b5b [2025-03-05T12:05:33.961Z] $ docker rm -f --volumes 20e58a41eafe6bf4bcaa776b40766c2cfabca3b3cd8d5d82a6ead866e7734b5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-05T12:05:34.410Z] + docker inspect -f . ci-base-image-x86_64 [2025-03-05T12:05:34.410Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-05T12:05:34.489Z] prd-ubuntu20.04-docker-8c-8g-40335 does not seem to be running inside a container [2025-03-05T12:05:34.538Z] $ 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-173 -v /w/workspace/foundry_app-record-replay_PR-173:/w/workspace/foundry_app-record-replay_PR-173:rw,z -v /w/workspace/foundry_app-record-replay_PR-173@tmp:/w/workspace/foundry_app-record-replay_PR-173@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2025-03-05T12:05:34.859Z] $ docker top 32778ff87cd02af25c2d7696668494d4ccf3cfbbe8fa0a6397b885d687a4a8cc -eo pid,comm [Pipeline] { [Pipeline] sh [2025-03-05T12:05:35.212Z] + git config --global --add safe.directory /w/workspace/foundry_app-record-replay_PR-173 [Pipeline] fileExists [Pipeline] sh [2025-03-05T12:05:35.510Z] + make test [2025-03-05T12:05:35.510Z] go test -race -coverprofile=coverage.out ./... [2025-03-05T12:06:07.583Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] [2025-03-05T12:06:07.583Z] ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] [2025-03-05T12:06:07.583Z] github.com/edgexfoundry/app-record-replay coverage: 0.0% of statements [2025-03-05T12:06:07.583Z] github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks coverage: 0.0% of statements [2025-03-05T12:06:07.583Z] ok github.com/edgexfoundry/app-record-replay/internal/app 1.027s coverage: 88.0% of statements [2025-03-05T12:06:17.559Z] ok github.com/edgexfoundry/app-record-replay/internal/application 9.589s coverage: 98.7% of statements [2025-03-05T12:06:17.559Z] ok github.com/edgexfoundry/app-record-replay/internal/controller 1.087s coverage: 89.7% of statements [2025-03-05T12:06:17.559Z] ok github.com/edgexfoundry/app-record-replay/internal/utils 1.017s coverage: 100.0% of statements [2025-03-05T12:06:17.559Z] running golangci-lint [2025-03-05T12:06:17.559Z] golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z [2025-03-05T12:06:17.559Z] go version go1.23.4 linux/amd64 [2025-03-05T12:06:17.559Z] level=info msg="golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z" [2025-03-05T12:06:17.559Z] level=info msg="[config_reader] Used config file .golangci.yml" [2025-03-05T12:06:17.559Z] level=info msg="[lintersdb] Active 7 linters: [errcheck gosec gosimple govet ineffassign staticcheck unused]" [2025-03-05T12:06:39.467Z] level=info msg="[loader] Go packages loading at mode 575 (types_sizes|files|imports|name|compiled_files|deps|exports_file) took 20.164142244s" [2025-03-05T12:06:39.467Z] level=info msg="[runner/filename_unadjuster] Pre-built 0 adjustments in 4.344438ms" [2025-03-05T12:06:46.039Z] level=info msg="[linters_context/goanalysis] analyzers took 45.495317245s with top 10 stages: buildir: 36.610053349s, inspect: 1.888438982s, fact_deprecated: 1.859953769s, printf: 1.010708214s, ctrlflow: 900.252784ms, fact_purity: 740.5525ms, nilness: 592.149495ms, typedness: 325.664807ms, SA5012: 280.196551ms, tokenfileanalyzer: 270.68512ms" [2025-03-05T12:06:46.039Z] level=info msg="[runner] Issues before processing: 10, after processing: 0" [2025-03-05T12:06:46.039Z] level=info msg="[runner] Processors filtering stat (in/out): path_prettifier: 10/10, skip_files: 10/10, exclude: 10/10, invalid_issue: 10/10, autogenerated_exclude: 10/10, exclude-rules: 10/0, filename_unadjuster: 10/10, skip_dirs: 10/10, cgo: 10/10, identifier_marker: 10/10" [2025-03-05T12:06:46.039Z] level=info msg="[runner] processing took 889.415µs with stages: identifier_marker: 421.261µs, exclude-rules: 172.615µs, autogenerated_exclude: 162.915µs, path_prettifier: 71.123µs, skip_dirs: 45.871µs, cgo: 2.87µs, invalid_issue: 2.55µs, max_same_issues: 1.6µs, filename_unadjuster: 1.51µs, nolint: 1.51µs, fixer: 1.01µs, exclude: 750ns, uniq_by_line: 740ns, max_from_linter: 580ns, skip_files: 420ns, sort_results: 400ns, diff: 350ns, source_code: 320ns, max_per_file_from_linter: 290ns, path_shortener: 250ns, path_prefixer: 250ns, severity-rules: 230ns" [2025-03-05T12:06:46.039Z] level=info msg="[runner] linters took 8.942824704s with stages: goanalysis_metalinter: 8.941786005s" [2025-03-05T12:06:46.039Z] level=info msg="File cache stats: 0 entries of total size 0B" [2025-03-05T12:06:46.039Z] level=info msg="Memory: 292 samples, avg is 224.0MB, max is 1071.9MB" [2025-03-05T12:06:46.039Z] level=info msg="Execution took 29.117030098s" [2025-03-05T12:06:46.039Z] go vet ./... [2025-03-05T12:06:51.328Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2025-03-05T12:06:51.328Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2025-03-05T12:06:51.328Z] ./bin/test-attribution-txt.sh [2025-03-05T12:06:51.328Z] An attribution for github.com/blang/semver/v4 is missing from Attribution.txt, please add [Pipeline] echo [2025-03-05T12:06:51.604Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2025-03-05T12:06:51.621Z] $ docker stop --time=1 32778ff87cd02af25c2d7696668494d4ccf3cfbbe8fa0a6397b885d687a4a8cc [2025-03-05T12:06:53.846Z] $ docker rm -f --volumes 32778ff87cd02af25c2d7696668494d4ccf3cfbbe8fa0a6397b885d687a4a8cc [Pipeline] // withDockerContainer [Pipeline] sh [2025-03-05T12:06:54.497Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2025-03-05T12:06:54.561Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2025-03-05T12:06:55.085Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2025-03-05T12:06:55.373Z] + ls -al . [2025-03-05T12:06:55.373Z] total 264 [2025-03-05T12:06:55.373Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 5 12:05 . [2025-03-05T12:06:55.373Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 5 12:04 .. [2025-03-05T12:06:55.373Z] -rw-rw-r-- 1 jenkins jenkins 119 Mar 5 12:04 .dockerignore [2025-03-05T12:06:55.373Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 5 12:06 .git [2025-03-05T12:06:55.373Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 12:04 .github [2025-03-05T12:06:55.373Z] -rw-rw-r-- 1 jenkins jenkins 164 Mar 5 12:04 .gitignore [2025-03-05T12:06:55.373Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 5 12:04 .golangci.yml [2025-03-05T12:06:55.373Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 5 12:04 .semver [2025-03-05T12:06:55.373Z] -rw-rw-r-- 1 jenkins jenkins 16870 Mar 5 12:04 Attribution.txt [2025-03-05T12:06:55.373Z] -rw-rw-r-- 1 jenkins jenkins 1552 Mar 5 12:04 CHANGELOG.md [2025-03-05T12:06:55.373Z] -rw-rw-r-- 1 jenkins jenkins 1726 Mar 5 12:04 Dockerfile [2025-03-05T12:06:55.373Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 5 12:04 GOVERNANCE.md [2025-03-05T12:06:55.373Z] -rw-rw-r-- 1 jenkins jenkins 681 Mar 5 12:04 Jenkinsfile [2025-03-05T12:06:55.373Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 5 12:04 LICENSE [2025-03-05T12:06:55.373Z] -rw-rw-r-- 1 jenkins jenkins 3851 Mar 5 12:04 Makefile [2025-03-05T12:06:55.373Z] -rw-rw-r-- 1 jenkins jenkins 611 Mar 5 12:04 OWNERS.md [2025-03-05T12:06:55.373Z] -rw-rw-r-- 1 jenkins jenkins 4107 Mar 5 12:04 README.md [2025-03-05T12:06:55.373Z] -rw-rw-r-- 1 jenkins jenkins 7789 Mar 5 12:04 Record and Reply.postman_collection.json [2025-03-05T12:06:55.373Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 5 12:04 VERSION [2025-03-05T12:06:55.373Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 5 12:04 bin [2025-03-05T12:06:55.373Z] -rw-r--r-- 1 jenkins jenkins 34247 Mar 5 12:06 coverage.out [2025-03-05T12:06:55.373Z] -rw-rw-r-- 1 jenkins jenkins 6721 Mar 5 12:04 go.mod [2025-03-05T12:06:55.373Z] -rw-rw-r-- 1 jenkins jenkins 88240 Mar 5 12:04 go.sum [2025-03-05T12:06:55.373Z] drwxrwxr-x 7 jenkins jenkins 4096 Mar 5 12:04 internal [2025-03-05T12:06:55.373Z] -rw-rw-r-- 1 jenkins jenkins 913 Mar 5 12:04 main.go [2025-03-05T12:06:55.373Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 5 12:04 openapi [2025-03-05T12:06:55.373Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 12:04 pkg [2025-03-05T12:06:55.373Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 5 12:04 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-05T12:06:55.696Z] + 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=5c91ef287df32110109523a3192bc0df4cd2d86b --label arch=amd64 --label version=0.0.0 . [2025-03-05T12:06:55.696Z] Sending build context to Docker daemon 9.917MB [2025-03-05T12:06:55.696Z] Step 1/27 : ARG BASE=golang:1.23-alpine3.20 [2025-03-05T12:06:55.696Z] Step 2/27 : FROM ${BASE} AS builder [2025-03-05T12:06:55.696Z] ---> 405787152fbe [2025-03-05T12:06:55.696Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git" [2025-03-05T12:06:55.696Z] ---> Running in ac930d694f29 [2025-03-05T12:06:55.696Z] Removing intermediate container ac930d694f29 [2025-03-05T12:06:55.696Z] ---> 8fced60f1862 [2025-03-05T12:06:55.696Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2025-03-05T12:06:55.956Z] ---> Running in b22f896d7582 [2025-03-05T12:06:55.956Z] Removing intermediate container b22f896d7582 [2025-03-05T12:06:55.956Z] ---> 5e0912c4cd7d [2025-03-05T12:06:55.956Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2025-03-05T12:06:55.956Z] ---> Running in 6ee8153bde9f [2025-03-05T12:06:55.956Z] Removing intermediate container 6ee8153bde9f [2025-03-05T12:06:55.956Z] ---> 6ea9aec7956f [2025-03-05T12:06:55.956Z] Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2025-03-05T12:06:55.956Z] ---> Running in 41a425b6683c [2025-03-05T12:06:56.215Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2025-03-05T12:06:56.783Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2025-03-05T12:06:57.351Z] OK: 248 MiB in 58 packages [2025-03-05T12:06:57.610Z] Removing intermediate container 41a425b6683c [2025-03-05T12:06:57.610Z] ---> 8bc945009279 [2025-03-05T12:06:57.610Z] Step 7/27 : WORKDIR /app [2025-03-05T12:06:57.610Z] ---> Running in e5f14286bdb2 [2025-03-05T12:06:57.610Z] Removing intermediate container e5f14286bdb2 [2025-03-05T12:06:57.610Z] ---> 2df15f1f7951 [2025-03-05T12:06:57.610Z] Step 8/27 : COPY go.mod vendor* ./ [2025-03-05T12:06:57.887Z] ---> 5d2d3fca9af6 [2025-03-05T12:06:57.887Z] Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2025-03-05T12:06:57.887Z] ---> Running in 53b8a5365cc1 [2025-03-05T12:06:58.462Z] Removing intermediate container 53b8a5365cc1 [2025-03-05T12:06:58.462Z] ---> 0119b1ae9a6e [2025-03-05T12:06:58.462Z] Step 10/27 : COPY . . [2025-03-05T12:06:58.721Z] ---> f03aabe2b942 [2025-03-05T12:06:58.721Z] Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2025-03-05T12:06:58.721Z] ---> Running in bf81aaed8783 [2025-03-05T12:06:58.721Z] Removing intermediate container bf81aaed8783 [2025-03-05T12:06:58.721Z] ---> 9b01e19633ad [2025-03-05T12:06:58.721Z] Step 12/27 : RUN $MAKE [2025-03-05T12:06:58.721Z] ---> Running in de4448c12122 [2025-03-05T12:06:58.980Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v4/internal.SDKVersion=v4.0.0-dev.30 -X github.com/edgexfoundry/app-functions-sdk-go/v4/internal.ApplicationVersion=0.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o app-record-replay [2025-03-05T12:07:25.550Z] Removing intermediate container de4448c12122 [2025-03-05T12:07:25.550Z] ---> 03b39e3f6fcd [2025-03-05T12:07:25.550Z] Step 13/27 : FROM alpine:3.20 [2025-03-05T12:07:25.550Z] 3.20: Pulling from library/alpine [2025-03-05T12:07:25.550Z] 0a9a5dfd008f: Pulling fs layer [2025-03-05T12:07:25.550Z] 0a9a5dfd008f: Verifying Checksum [2025-03-05T12:07:25.550Z] 0a9a5dfd008f: Download complete [2025-03-05T12:07:25.550Z] 0a9a5dfd008f: Pull complete [2025-03-05T12:07:25.550Z] Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f [2025-03-05T12:07:25.550Z] Status: Downloaded newer image for alpine:3.20 [2025-03-05T12:07:25.550Z] ---> ff221270b9fb [2025-03-05T12:07:25.550Z] Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2025-03-05T12:07:25.808Z] ---> Running in 092e24301134 [2025-03-05T12:07:25.808Z] Removing intermediate container 092e24301134 [2025-03-05T12:07:25.808Z] ---> b0e8a9b4a3fe [2025-03-05T12:07:25.808Z] Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} [2025-03-05T12:07:25.808Z] ---> Running in 79fb925623c6 [2025-03-05T12:07:25.808Z] Removing intermediate container 79fb925623c6 [2025-03-05T12:07:25.808Z] ---> df9264dc05d0 [2025-03-05T12:07:25.808Z] Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init [2025-03-05T12:07:25.808Z] ---> Running in 3bbf27515ef0 [2025-03-05T12:07:26.066Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2025-03-05T12:07:26.324Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2025-03-05T12:07:26.582Z] (1/2) Installing ca-certificates (20241121-r1) [2025-03-05T12:07:26.582Z] (2/2) Installing dumb-init (1.2.5-r3) [2025-03-05T12:07:26.582Z] Executing busybox-1.36.1-r29.trigger [2025-03-05T12:07:26.582Z] Executing ca-certificates-20241121-r1.trigger [2025-03-05T12:07:26.582Z] OK: 9 MiB in 16 packages [2025-03-05T12:07:27.147Z] Removing intermediate container 3bbf27515ef0 [2025-03-05T12:07:27.147Z] ---> 802b6094658b [2025-03-05T12:07:27.147Z] Step 17/27 : RUN apk --no-cache upgrade [2025-03-05T12:07:27.147Z] ---> Running in 22645abb74a4 [2025-03-05T12:07:27.405Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2025-03-05T12:07:27.405Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2025-03-05T12:07:27.662Z] OK: 9 MiB in 16 packages [2025-03-05T12:07:28.230Z] Removing intermediate container 22645abb74a4 [2025-03-05T12:07:28.230Z] ---> ed91e9ee8c48 [2025-03-05T12:07:28.230Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2025-03-05T12:07:28.230Z] ---> 1cc2f1096bc2 [2025-03-05T12:07:28.230Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2025-03-05T12:07:28.230Z] ---> 61a1d22e9620 [2025-03-05T12:07:28.230Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2025-03-05T12:07:28.488Z] ---> b560d3efbf6f [2025-03-05T12:07:28.488Z] Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay [2025-03-05T12:07:29.054Z] ---> d1926dcb98ee [2025-03-05T12:07:29.054Z] Step 22/27 : EXPOSE 59712 [2025-03-05T12:07:29.054Z] ---> Running in 70ef364eb6be [2025-03-05T12:07:29.054Z] Removing intermediate container 70ef364eb6be [2025-03-05T12:07:29.054Z] ---> 4c1b2a1af0ee [2025-03-05T12:07:29.054Z] Step 23/27 : ENTRYPOINT ["/app-record-replay"] [2025-03-05T12:07:29.054Z] ---> Running in 5a1eaa26826e [2025-03-05T12:07:29.313Z] Removing intermediate container 5a1eaa26826e [2025-03-05T12:07:29.313Z] ---> f8cfbafe28d3 [2025-03-05T12:07:29.313Z] Step 24/27 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2025-03-05T12:07:29.313Z] ---> Running in 7aa2b6cb26d1 [2025-03-05T12:07:29.313Z] Removing intermediate container 7aa2b6cb26d1 [2025-03-05T12:07:29.313Z] ---> 2001704f344e [2025-03-05T12:07:29.313Z] Step 25/27 : LABEL arch=amd64 [2025-03-05T12:07:29.313Z] ---> Running in 35462d6f0ce1 [2025-03-05T12:07:29.313Z] Removing intermediate container 35462d6f0ce1 [2025-03-05T12:07:29.313Z] ---> 882e74abd636 [2025-03-05T12:07:29.313Z] Step 26/27 : LABEL git_sha=5c91ef287df32110109523a3192bc0df4cd2d86b [2025-03-05T12:07:29.313Z] ---> Running in cf9e1940fe8f [2025-03-05T12:07:29.572Z] Removing intermediate container cf9e1940fe8f [2025-03-05T12:07:29.572Z] ---> 1efbe367272c [2025-03-05T12:07:29.572Z] Step 27/27 : LABEL version=0.0.0 [2025-03-05T12:07:29.572Z] ---> Running in d6825d6406d0 [2025-03-05T12:07:29.572Z] Removing intermediate container d6825d6406d0 [2025-03-05T12:07:29.572Z] ---> a20384bfce30 [2025-03-05T12:07:29.572Z] [Warning] One or more build-args [ARCH] were not consumed [2025-03-05T12:07:29.572Z] Successfully built a20384bfce30 [2025-03-05T12:07:29.572Z] 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 [2025-03-05T12:07:30.049Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-03-05T12:07:30.049Z] [2025-03-05T12:07:30.049Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-05T12:07:30.355Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-03-05T12:07:30.355Z] latest: Pulling from edgex-lftools-log-publisher [2025-03-05T12:07:30.355Z] 5eb5b503b376: Pulling fs layer [2025-03-05T12:07:30.355Z] 5c69ac0246d0: Pulling fs layer [2025-03-05T12:07:30.355Z] ec43610c2a17: Pulling fs layer [2025-03-05T12:07:30.355Z] 3a2ae6a8a46f: Pulling fs layer [2025-03-05T12:07:30.355Z] 33b1e0a273af: Pulling fs layer [2025-03-05T12:07:30.355Z] 5d3b04190fa2: Pulling fs layer [2025-03-05T12:07:30.355Z] 2f39f015ded8: Pulling fs layer [2025-03-05T12:07:30.355Z] 5d3b04190fa2: Waiting [2025-03-05T12:07:30.355Z] 2f39f015ded8: Waiting [2025-03-05T12:07:30.355Z] 33b1e0a273af: Waiting [2025-03-05T12:07:30.355Z] 3a2ae6a8a46f: Waiting [2025-03-05T12:07:30.355Z] 5c69ac0246d0: Verifying Checksum [2025-03-05T12:07:30.355Z] 5c69ac0246d0: Download complete [2025-03-05T12:07:30.355Z] 3a2ae6a8a46f: Verifying Checksum [2025-03-05T12:07:30.355Z] 3a2ae6a8a46f: Download complete [2025-03-05T12:07:30.355Z] ec43610c2a17: Verifying Checksum [2025-03-05T12:07:30.355Z] ec43610c2a17: Download complete [2025-03-05T12:07:30.355Z] 33b1e0a273af: Verifying Checksum [2025-03-05T12:07:30.355Z] 33b1e0a273af: Download complete [2025-03-05T12:07:30.355Z] 5d3b04190fa2: Verifying Checksum [2025-03-05T12:07:30.355Z] 5d3b04190fa2: Download complete [2025-03-05T12:07:30.613Z] 5eb5b503b376: Download complete [2025-03-05T12:07:31.178Z] 2f39f015ded8: Download complete [2025-03-05T12:07:31.745Z] 5eb5b503b376: Pull complete [2025-03-05T12:07:31.745Z] 5c69ac0246d0: Pull complete [2025-03-05T12:07:32.005Z] ec43610c2a17: Pull complete [2025-03-05T12:07:32.263Z] 3a2ae6a8a46f: Pull complete [2025-03-05T12:07:32.263Z] 33b1e0a273af: Pull complete [2025-03-05T12:07:32.521Z] 5d3b04190fa2: Pull complete [2025-03-05T12:07:36.705Z] 2f39f015ded8: Pull complete [2025-03-05T12:07:36.705Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2025-03-05T12:07:36.705Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-03-05T12:07:36.705Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-05T12:07:36.813Z] prd-ubuntu20.04-docker-8c-8g-40335 does not seem to be running inside a container [2025-03-05T12:07:36.853Z] $ 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-173 -v /w/workspace/foundry_app-record-replay_PR-173:/w/workspace/foundry_app-record-replay_PR-173:rw,z -v /w/workspace/foundry_app-record-replay_PR-173@tmp:/w/workspace/foundry_app-record-replay_PR-173@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2025-03-05T12:07:38.086Z] $ docker top ddf000d7e922b0e3693f5dc50cded06f0c4b1ee5c6f1de4ff57a58ecc4248914 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-03-05T12:07:38.476Z] ---> job-cost.sh [2025-03-05T12:07:38.476Z] lf-activate-venv: SKIPPING [2025-03-05T12:07:38.476Z] INFO: No Stack... [2025-03-05T12:07:38.735Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-03-05T12:07:38.993Z] INFO: Archiving Costs [Pipeline] sh [2025-03-05T12:07:39.291Z] + cat /w/workspace/foundry_app-record-replay_PR-173/archives/cost.csv [2025-03-05T12:07:39.291Z] + cut -d, -f6 [Pipeline] lock [2025-03-05T12:07:39.306Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-record-replay-PR-173-5-stack-cost] [2025-03-05T12:07:39.314Z] Resource [jenkins-edgexfoundry-app-record-replay-PR-173-5-stack-cost] did not exist. Created. [2025-03-05T12:07:39.320Z] Lock acquired on [Resource: jenkins-edgexfoundry-app-record-replay-PR-173-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2025-03-05T12:07:39.633Z] + echo total: 0.2199999988079071 [Pipeline] stash [2025-03-05T12:07:39.673Z] Stashed 1 file(s) [Pipeline] } [2025-03-05T12:07:39.680Z] Lock released on resource [Resource: jenkins-edgexfoundry-app-record-replay-PR-173-5-stack-cost] [Pipeline] // lock [Pipeline] } [2025-03-05T12:07:39.710Z] $ docker stop --time=1 ddf000d7e922b0e3693f5dc50cded06f0c4b1ee5c6f1de4ff57a58ecc4248914 [2025-03-05T12:07:40.863Z] $ docker rm -f --volumes ddf000d7e922b0e3693f5dc50cded06f0c4b1ee5c6f1de4ff57a58ecc4248914 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2025-03-05T12:07:41.194Z] provisioning config files... [2025-03-05T12:07:41.201Z] copy managed file [app-record-replay-codecov-token] to file:/w/workspace/foundry_app-record-replay_PR-173@tmp/config10745714736928376101tmp [Pipeline] { [Pipeline] sh [2025-03-05T12:07:41.498Z] + set +x [2025-03-05T12:07:41.498Z] + + curl -s https://codecov.io/bashbash [2025-03-05T12:07:41.498Z] -s -- [2025-03-05T12:07:41.498Z] [2025-03-05T12:07:41.498Z] _____ _ [2025-03-05T12:07:41.498Z] / ____| | | [2025-03-05T12:07:41.498Z] | | ___ __| | ___ ___ _____ __ [2025-03-05T12:07:41.498Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2025-03-05T12:07:41.498Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2025-03-05T12:07:41.498Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2025-03-05T12:07:41.498Z] Bash-1.0.6 [2025-03-05T12:07:41.498Z] [2025-03-05T12:07:41.498Z] [2025-03-05T12:07:41.498Z] ==> git version 2.25.1 found [2025-03-05T12:07:41.498Z] ==> 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 [2025-03-05T12:07:41.498Z] Release-Date: 2020-01-08 [2025-03-05T12:07:41.498Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2025-03-05T12:07:41.498Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2025-03-05T12:07:41.498Z] ==> Jenkins CI detected. [2025-03-05T12:07:41.498Z] current dir:  /w/workspace/foundry_app-record-replay_PR-173 [2025-03-05T12:07:41.498Z] project root: . [2025-03-05T12:07:41.498Z] --> token set from env [2025-03-05T12:07:41.498Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2025-03-05T12:07:41.498Z] ==> Running gcov in . (disable via -X gcov) [2025-03-05T12:07:41.498Z] ==> Python coveragepy not found [2025-03-05T12:07:41.498Z] ==> Searching for coverage reports in: [2025-03-05T12:07:41.498Z] + . [2025-03-05T12:07:41.757Z] -> Found 1 reports [2025-03-05T12:07:41.757Z] ==> Detecting git/mercurial file structure [2025-03-05T12:07:41.757Z] ==> Reading reports [2025-03-05T12:07:41.757Z] + ./coverage.out bytes=34247 [2025-03-05T12:07:41.757Z] ==> Appending adjustments [2025-03-05T12:07:41.757Z] https://docs.codecov.io/docs/fixing-reports [2025-03-05T12:07:41.757Z] + Found adjustments [2025-03-05T12:07:41.757Z] ==> Gzipping contents [2025-03-05T12:07:41.757Z] 8.0K /tmp/codecov.vDuCqp.gz [2025-03-05T12:07:41.757Z] ==> Uploading reports [2025-03-05T12:07:41.757Z] url: https://codecov.io [2025-03-05T12:07:41.757Z] query: branch=PR-173&commit=5c91ef287df32110109523a3192bc0df4cd2d86b&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-173%2F5%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=173&job=&cmd_args= [2025-03-05T12:07:41.757Z] -> Pinging Codecov [2025-03-05T12:07:41.757Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-173&commit=5c91ef287df32110109523a3192bc0df4cd2d86b&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-173%2F5%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=173&job=&cmd_args= [2025-03-05T12:07:42.016Z] -> Uploading to [2025-03-05T12:07:42.016Z] https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/app-record-replay/5c91ef287df32110109523a3192bc0df4cd2d86b/894565fd-e875-4db8-a435-ea837df25438.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250305%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250305T120741Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=f6f6fcc11baa9148e39e9d392c4aa75e7a258fd804f8659a9e0e70beb463f6c3 [2025-03-05T12:07:42.016Z] % Total % Received % Xferd Average Speed Time Time Time Current [2025-03-05T12:07:42.016Z] Dload Upload Total Spent Left Speed [2025-03-05T12:07:42.275Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5393 0 0 100 5393 0 31911 --:--:-- --:--:-- --:--:-- 31911 [2025-03-05T12:07:42.275Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-record-replay/commit/5c91ef287df32110109523a3192bc0df4cd2d86b [Pipeline] } [2025-03-05T12:07:42.282Z] 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 [2025-03-05T12:07:43.138Z] + [ -d /w/workspace/foundry_app-record-replay_PR-173/archives ] [2025-03-05T12:07:43.138Z] + ls -al /w/workspace/foundry_app-record-replay_PR-173/archives [2025-03-05T12:07:43.138Z] total 16 [2025-03-05T12:07:43.138Z] drwxr-xr-x 3 root root 4096 Mar 5 12:07 . [2025-03-05T12:07:43.138Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 5 12:07 .. [2025-03-05T12:07:43.138Z] drwxr-xr-x 2 root root 4096 Mar 5 12:07 cost [2025-03-05T12:07:43.138Z] -rw-r--r-- 1 root root 89 Mar 5 12:07 cost.csv [2025-03-05T12:07:43.138Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_app-record-replay_PR-173/archives [2025-03-05T12:07:43.138Z] + ls -al /w/workspace/foundry_app-record-replay_PR-173/archives [2025-03-05T12:07:43.138Z] total 16 [2025-03-05T12:07:43.138Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 5 12:07 . [2025-03-05T12:07:43.138Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 5 12:07 .. [2025-03-05T12:07:43.138Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 5 12:07 cost [2025-03-05T12:07:43.138Z] -rw-r--r-- 1 jenkins jenkins 89 Mar 5 12:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2025-03-05T12:07:43.428Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-05T12:07:44.287Z] ---> package-listing.sh [2025-03-05T12:07:44.287Z] ++ facter osfamily [2025-03-05T12:07:44.287Z] ++ tr '[:upper:]' '[:lower:]' [2025-03-05T12:07:44.546Z] + OS_FAMILY=debian [2025-03-05T12:07:44.546Z] + workspace=/w/workspace/foundry_app-record-replay_PR-173 [2025-03-05T12:07:44.546Z] + START_PACKAGES=/tmp/packages_start.txt [2025-03-05T12:07:44.546Z] + END_PACKAGES=/tmp/packages_end.txt [2025-03-05T12:07:44.546Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2025-03-05T12:07:44.546Z] + PACKAGES=/tmp/packages_start.txt [2025-03-05T12:07:44.546Z] + '[' /w/workspace/foundry_app-record-replay_PR-173 ']' [2025-03-05T12:07:44.546Z] + PACKAGES=/tmp/packages_end.txt [2025-03-05T12:07:44.546Z] + case "${OS_FAMILY}" in [2025-03-05T12:07:44.546Z] + dpkg -l [2025-03-05T12:07:44.546Z] + grep '^ii' [2025-03-05T12:07:44.546Z] + '[' -f /tmp/packages_start.txt ']' [2025-03-05T12:07:44.546Z] + '[' -f /tmp/packages_end.txt ']' [2025-03-05T12:07:44.546Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2025-03-05T12:07:44.546Z] + '[' /w/workspace/foundry_app-record-replay_PR-173 ']' [2025-03-05T12:07:44.546Z] + mkdir -p /w/workspace/foundry_app-record-replay_PR-173/archives/ [2025-03-05T12:07:44.546Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_app-record-replay_PR-173/archives/ [Pipeline] echo [2025-03-05T12:07:44.560Z] 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-173/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2025-03-05T12:07:44.876Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-05T12:07:45.278Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-03-05T12:07:45.278Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-05T12:07:45.361Z] prd-ubuntu20.04-docker-8c-8g-40335 does not seem to be running inside a container [2025-03-05T12:07:45.389Z] $ 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-173/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-173 -v /w/workspace/foundry_app-record-replay_PR-173:/w/workspace/foundry_app-record-replay_PR-173:rw,z -v /w/workspace/foundry_app-record-replay_PR-173@tmp:/w/workspace/foundry_app-record-replay_PR-173@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2025-03-05T12:07:45.567Z] $ docker top 31b7e75cb2adb6de28f1a17dac163a84c4039bfdf86e95dd01513777096e1ce2 -eo pid,comm [Pipeline] { [Pipeline] sh [2025-03-05T12:07:45.920Z] + touch /tmp/pre-build-complete [Pipeline] sh [2025-03-05T12:07:46.203Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2025-03-05T12:07:46.488Z] + ls /var/log/sa-host [2025-03-05T12:07:46.488Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-03-05T12:07:46.567Z] provisioning config files... [2025-03-05T12:07:46.576Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_app-record-replay_PR-173@tmp/config12429374149330670809tmp [Pipeline] { [Pipeline] echo [2025-03-05T12:07:46.594Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-05T12:07:46.879Z] ---> create-netrc.sh [Pipeline] } [2025-03-05T12:07:46.885Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2025-03-05T12:07:47.221Z] ---> python-tools-install.sh [Pipeline] echo [2025-03-05T12:07:47.229Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-05T12:07:47.520Z] ---> sudo-logs.sh [2025-03-05T12:07:47.520Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2025-03-05T12:07:47.554Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-05T12:07:47.837Z] ---> job-cost.sh [2025-03-05T12:07:47.837Z] lf-activate-venv: SKIPPING [2025-03-05T12:07:47.837Z] DEBUG: total: 0.2199999988079071 [2025-03-05T12:07:47.837Z] INFO: Retrieving Stack Cost... [2025-03-05T12:07:47.837Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-03-05T12:07:48.096Z] INFO: Archiving Costs [Pipeline] echo [2025-03-05T12:07:48.110Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-05T12:07:48.391Z] ---> logs-deploy.sh [2025-03-05T12:07:48.391Z] lf-activate-venv: SKIPPING [2025-03-05T12:07:48.391Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-173/5 [2025-03-05T12:07:48.391Z] INFO: archiving workspace using pattern(s): [2025-03-05T12:07:49.328Z] Archives upload complete. [2025-03-05T12:07:49.328Z] INFO: archiving logs to Nexus