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 d154c64426a68880a8f44b57bc1e88a29ef1958b+e872dfa1c37aeb3a690af3223cf450be67f27a01 (06fee5cf3ef9a23f3f30d95e024aef31337937c1) 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-ssh11207290966966987605.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-ssh5597995344590442880.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-ssh3532899651977809538.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-ssh9352454334253653385.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-ssh3686581724075545254.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-40311 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 d154c64426a68880a8f44b57bc1e88a29ef1958b Merge succeeded, producing 20924568fb564b9d31245ca9b03206ecd374c980 Checking out Revision 20924568fb564b9d31245ca9b03206ecd374c980 (PR-173) > git config core.sparsecheckout # timeout=10 > git checkout -f d154c64426a68880a8f44b57bc1e88a29ef1958b # 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 20924568fb564b9d31245ca9b03206ecd374c980 # timeout=10 Commit message: "Merge commit 'e872dfa1c37aeb3a690af3223cf450be67f27a01' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk b842a506ef64060299590911d50299b32ad7cc4f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:27:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:27:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:27:13 ========================================================= 10:27:13 EdgeX Global Pipelines Version Info 10:27:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:27:13 ------------------- 10:27:13 stable info: 10:27:13 ------------------- 10:27:13 Commited By: Cherry Wang cherry@iotechsys.com 10:27:13 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 10:27:13 Message: update stable to v1.0.269 10:27:14 ------------------- 10:27:14 experimental info: 10:27:14 ------------------- 10:27:14 Commited By: Ginny Guan ginny@iotechsys.com 10:27:14 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 10:27:14 Message: update experimental to stable [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:27:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 10:27:14 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 10:27:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:27:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:27:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:27:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 10:27:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:27:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:27:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:27:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:27:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:27:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 10:27:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:27:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:27:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:27:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:27:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:27:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:27:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:27:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:27:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:27:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:27:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:27:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:27:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:27:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:27:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:27:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-173 [Pipeline] echo 10:27:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-173 [Pipeline] echo 10:27:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-173 [Pipeline] echo 10:27:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 20924568fb564b9d31245ca9b03206ecd374c980 [Pipeline] echo 10:27:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2092456 [Pipeline] echo 10:27:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:27:15 provisioning config files... 10:27:15 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-173@tmp/config1361596758549537532tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:27:15 ---> ****-login.sh 10:27:15 nexus3.edgexfoundry.org:10001 10:27:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:27:16 Configure a credential helper to remove this warning. See 10:27:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:27:16 10:27:16 Login Succeeded 10:27:16 nexus3.edgexfoundry.org:10002 10:27:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:27:16 Configure a credential helper to remove this warning. See 10:27:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:27:16 10:27:16 Login Succeeded 10:27:16 nexus3.edgexfoundry.org:10003 10:27:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:27:16 Configure a credential helper to remove this warning. See 10:27:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:27:16 10:27:16 Login Succeeded 10:27:16 nexus3.edgexfoundry.org:10004 10:27:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:27:16 Configure a credential helper to remove this warning. See 10:27:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:27:16 10:27:16 Login Succeeded 10:27:16 ****.io 10:27:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:27:16 Configure a credential helper to remove this warning. See 10:27:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:27:16 10:27:16 Login Succeeded 10:27:16 ---> ****-login.sh ends [Pipeline] } 10:27:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:27:17 + git rev-list -1 --merges 20924568fb564b9d31245ca9b03206ecd374c980~1..20924568fb564b9d31245ca9b03206ecd374c980 [Pipeline] echo 10:27:17 -----------> git rev-list -1 --merges 20924568fb564b9d31245ca9b03206ecd374c980~1..20924568fb564b9d31245ca9b03206ecd374c980 20924568fb564b9d31245ca9b03206ecd374c980 10:27:17 20924568fb564b9d31245ca9b03206ecd374c980 [false] [Pipeline] sh 10:27:17 + git log --format=format:%s -1 20924568fb564b9d31245ca9b03206ecd374c980 [Pipeline] echo 10:27:17 ========================================================= 10:27:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:27:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:27:17 + git log --format=format:%s -1 20924568fb564b9d31245ca9b03206ecd374c980 [Pipeline] echo 10:27:17 [semverPrep] GIT_COMMIT: 20924568fb564b9d31245ca9b03206ecd374c980, Commit Message: Merge commit 'e872dfa1c37aeb3a690af3223cf450be67f27a01' into HEAD [Pipeline] echo 10:27:17 [semverPrep] This is not a build commit. [Pipeline] sh 10:27:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:27:18 + grep -v github /etc/ssh/ssh_known_hosts 10:27:18 + [ -e /tmp/ssh_known_hosts ] 10:27:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:27:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:27:18 + sudo tee -a /etc/ssh/ssh_known_hosts 10:27:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:27:18 10:27:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:27:18 0.1.4: Pulling from edgex-devops/py-git-semver 10:27:18 b85a868b505f: Pulling fs layer 10:27:18 e2be974225ed: Pulling fs layer 10:27:18 339a4e72a1f5: Pulling fs layer 10:27:18 988bab9f4d93: Pulling fs layer 10:27:18 1469e6f7b9e6: Pulling fs layer 10:27:18 eaf3925da568: Pulling fs layer 10:27:18 bab4dde63d76: Pulling fs layer 10:27:18 bde34c3a00c8: Pulling fs layer 10:27:18 b352a97aabf1: Pulling fs layer 10:27:18 4872d77fe225: Pulling fs layer 10:27:18 5851b861e8e6: Pulling fs layer 10:27:18 988bab9f4d93: Waiting 10:27:18 1469e6f7b9e6: Waiting 10:27:18 eaf3925da568: Waiting 10:27:18 4872d77fe225: Waiting 10:27:18 bab4dde63d76: Waiting 10:27:18 5851b861e8e6: Waiting 10:27:18 b352a97aabf1: Waiting 10:27:18 bde34c3a00c8: Waiting 10:27:18 e2be974225ed: Verifying Checksum 10:27:18 e2be974225ed: Download complete 10:27:18 988bab9f4d93: Verifying Checksum 10:27:19 339a4e72a1f5: Verifying Checksum 10:27:19 339a4e72a1f5: Download complete 10:27:19 1469e6f7b9e6: Verifying Checksum 10:27:19 1469e6f7b9e6: Download complete 10:27:19 eaf3925da568: Verifying Checksum 10:27:19 eaf3925da568: Download complete 10:27:19 bde34c3a00c8: Download complete 10:27:19 b352a97aabf1: Verifying Checksum 10:27:19 b352a97aabf1: Download complete 10:27:19 4872d77fe225: Verifying Checksum 10:27:19 4872d77fe225: Download complete 10:27:19 5851b861e8e6: Download complete 10:27:19 b85a868b505f: Verifying Checksum 10:27:19 b85a868b505f: Download complete 10:27:19 bab4dde63d76: Verifying Checksum 10:27:19 bab4dde63d76: Download complete 10:27:20 b85a868b505f: Pull complete 10:27:20 e2be974225ed: Pull complete 10:27:21 339a4e72a1f5: Pull complete 10:27:21 988bab9f4d93: Pull complete 10:27:21 1469e6f7b9e6: Pull complete 10:27:21 eaf3925da568: Pull complete 10:27:23 bab4dde63d76: Pull complete 10:27:23 bde34c3a00c8: Pull complete 10:27:23 b352a97aabf1: Pull complete 10:27:23 4872d77fe225: Pull complete 10:27:23 5851b861e8e6: Pull complete 10:27:23 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:27:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:27:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:27:23 prd-ubuntu20.04-docker-8c-8g-40311 does not seem to be running inside a container 10:27:23 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:27:25 $ docker top c46b6248e9feb44f84ad2cddb8d42aa0cf5e72ab8debd426c8403a5c4a984bb2 -eo pid,comm 10:27:25 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). 10:27:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:27:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:27:25 [ssh-agent] Looking for ssh-agent implementation... 10:27:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:27:25 $ docker exec c46b6248e9feb44f84ad2cddb8d42aa0cf5e72ab8debd426c8403a5c4a984bb2 ssh-agent 10:27:25 SSH_AUTH_SOCK=/tmp/ssh-BgWKvP76CBYh/agent.32 10:27:25 SSH_AGENT_PID=38 10:27:25 Running ssh-add (command line suppressed) 10:27:25 Identity added: /w/workspace/foundry_app-record-replay_PR-173@tmp/private_key_3705968361178207968.key (/w/workspace/foundry_app-record-replay_PR-173@tmp/private_key_3705968361178207968.key) 10:27:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:27:25 + git tag --points-at HEAD [Pipeline] } 10:27:25 $ docker exec --env ******** --env ******** c46b6248e9feb44f84ad2cddb8d42aa0cf5e72ab8debd426c8403a5c4a984bb2 ssh-agent -k 10:27:25 unset SSH_AUTH_SOCK; 10:27:25 unset SSH_AGENT_PID; 10:27:25 echo Agent pid 38 killed; 10:27:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:27:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:27:26 [ssh-agent] Looking for ssh-agent implementation... 10:27:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:27:26 $ docker exec c46b6248e9feb44f84ad2cddb8d42aa0cf5e72ab8debd426c8403a5c4a984bb2 ssh-agent 10:27:26 SSH_AUTH_SOCK=/tmp/ssh-oahRt13O4ZOx/agent.71 10:27:26 SSH_AGENT_PID=77 10:27:26 Running ssh-add (command line suppressed) 10:27:26 Identity added: /w/workspace/foundry_app-record-replay_PR-173@tmp/private_key_5148997487333389418.key (/w/workspace/foundry_app-record-replay_PR-173@tmp/private_key_5148997487333389418.key) 10:27:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:27:26 + git semver init 10:27:26 2025-03-05 10:27:26,863 [run_init] DEBUG init version:0.0.0 force:False 10:27:26 2025-03-05 10:27:26,864 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_app-record-replay_PR-173/.semver 10:27:26 2025-03-05 10:27:26,864 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/foundry_app-record-replay_PR-173/.semver 10:27:26 2025-03-05 10:27:26,865 [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) 10:27:28 2025-03-05 10:27:28,352 [append_file] DEBUG append to file:/w/workspace/foundry_app-record-replay_PR-173/.git/info/exclude 10:27:28 2025-03-05 10:27:28,353 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_app-record-replay_PR-173/.semver/PR-173 with force:False 10:27:28 2025-03-05 10:27:28,353 [write_file] DEBUG write to file:/w/workspace/foundry_app-record-replay_PR-173/.semver/PR-173 10:27:28 2025-03-05 10:27:28,356 [execute] INFO git cat-file --batch-check 10:27:28 2025-03-05 10:27:28,357 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_app-record-replay_PR-173/.semver, universal_newlines=False, shell=None, istream=) 10:27:28 2025-03-05 10:27:28,363 [execute] INFO git cat-file --batch 10:27:28 2025-03-05 10:27:28,363 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_app-record-replay_PR-173/.semver, universal_newlines=False, shell=None, istream=) 10:27:28 2025-03-05 10:27:28,368 [read_version] DEBUG read version from /w/workspace/foundry_app-record-replay_PR-173/.semver/PR-173 10:27:28 0.0.0 [Pipeline] } 10:27:28 $ docker exec --env ******** --env ******** c46b6248e9feb44f84ad2cddb8d42aa0cf5e72ab8debd426c8403a5c4a984bb2 ssh-agent -k 10:27:28 unset SSH_AUTH_SOCK; 10:27:28 unset SSH_AGENT_PID; 10:27:28 echo Agent pid 77 killed; 10:27:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:27:29 + git semver [Pipeline] } 10:27:29 $ docker stop --time=1 c46b6248e9feb44f84ad2cddb8d42aa0cf5e72ab8debd426c8403a5c4a984bb2 10:27:30 $ docker rm -f --volumes c46b6248e9feb44f84ad2cddb8d42aa0cf5e72ab8debd426c8403a5c4a984bb2 [Pipeline] // withDockerContainer [Pipeline] sh 10:27:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:27:31 Stashed 1 file(s) [Pipeline] echo 10:27:31 [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 10:27:31 provisioning config files... 10:27:31 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-173@tmp/config10849484736381885143tmp [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 10:27:32 ---> ****-login.sh 10:27:32 nexus3.edgexfoundry.org:10001 10:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:27:32 Configure a credential helper to remove this warning. See 10:27:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:27:32 10:27:32 Login Succeeded 10:27:32 nexus3.edgexfoundry.org:10002 10:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:27:32 Configure a credential helper to remove this warning. See 10:27:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:27:32 10:27:32 Login Succeeded 10:27:32 nexus3.edgexfoundry.org:10003 10:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:27:32 Configure a credential helper to remove this warning. See 10:27:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:27:32 10:27:32 Login Succeeded 10:27:32 nexus3.edgexfoundry.org:10004 10:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:27:32 Configure a credential helper to remove this warning. See 10:27:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:27:32 10:27:32 Login Succeeded 10:27:32 ****.io 10:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:27:32 Configure a credential helper to remove this warning. See 10:27:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:27:32 10:27:32 Login Succeeded 10:27:32 ---> ****-login.sh ends [Pipeline] } 10:27:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:27:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:27:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:27:32 ========================================================= 10:27:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 10:27:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:33 + 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 . 10:27:33 Sending build context to Docker daemon 9.881MB 10:27:33 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 10:27:33 Step 2/12 : FROM ${BASE} AS builder 10:27:33 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 10:27:33 da9db072f522: Pulling fs layer 10:27:33 6ef4a4ee8ca5: Pulling fs layer 10:27:33 06f05ace1117: Pulling fs layer 10:27:33 5fe327b54edc: Pulling fs layer 10:27:33 4f4fb700ef54: Pulling fs layer 10:27:33 92a5565b7b96: Pulling fs layer 10:27:33 ff9bb7016b71: Pulling fs layer 10:27:33 b67dba6c2c7d: Pulling fs layer 10:27:33 a813b0c90790: Pulling fs layer 10:27:33 4f4fb700ef54: Waiting 10:27:33 ff9bb7016b71: Waiting 10:27:33 92a5565b7b96: Waiting 10:27:33 a813b0c90790: Waiting 10:27:33 b67dba6c2c7d: Waiting 10:27:33 5fe327b54edc: Waiting 10:27:33 6ef4a4ee8ca5: Download complete 10:27:33 5fe327b54edc: Verifying Checksum 10:27:33 5fe327b54edc: Download complete 10:27:33 4f4fb700ef54: Download complete 10:27:33 da9db072f522: Download complete 10:27:33 92a5565b7b96: Verifying Checksum 10:27:33 92a5565b7b96: Download complete 10:27:33 ff9bb7016b71: Verifying Checksum 10:27:33 ff9bb7016b71: Download complete 10:27:33 da9db072f522: Pull complete 10:27:33 6ef4a4ee8ca5: Pull complete 10:27:33 a813b0c90790: Verifying Checksum 10:27:33 a813b0c90790: Download complete 10:27:33 06f05ace1117: Verifying Checksum 10:27:33 06f05ace1117: Download complete 10:27:34 b67dba6c2c7d: Verifying Checksum 10:27:34 b67dba6c2c7d: Download complete 10:27:37 06f05ace1117: Pull complete 10:27:37 5fe327b54edc: Pull complete 10:27:37 4f4fb700ef54: Pull complete 10:27:37 92a5565b7b96: Pull complete 10:27:37 ff9bb7016b71: Pull complete 10:27:40 b67dba6c2c7d: Pull complete 10:27:40 a813b0c90790: Pull complete 10:27:40 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 10:27:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 10:27:40 ---> 3ba60ce46760 10:27:40 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 10:27:42 ---> Running in 0743aa988c41 10:27:42 Removing intermediate container 0743aa988c41 10:27:42 ---> c83a99c56967 10:27:42 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 10:27:42 ---> Running in f5787f2bf46b 10:27:42 Removing intermediate container f5787f2bf46b 10:27:42 ---> b906a6fb23b3 10:27:42 Step 5/12 : ARG ADD_BUILD_TAGS="" 10:27:42 ---> Running in 92594b81f612 10:27:43 Removing intermediate container 92594b81f612 10:27:43 ---> 95b3121a8dac 10:27:43 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:27:43 ---> Running in 8ac591343f3d 10:27:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:27:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:27:43 OK: 248 MiB in 58 packages 10:27:44 Removing intermediate container 8ac591343f3d 10:27:44 ---> baafa1be0422 10:27:44 Step 7/12 : WORKDIR /app 10:27:44 ---> Running in 19050e7e39c7 10:27:44 Removing intermediate container 19050e7e39c7 10:27:44 ---> b8baf5046a91 10:27:44 Step 8/12 : COPY go.mod vendor* ./ 10:27:44 ---> 3d4d23606ff7 10:27:44 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:27:44 ---> Running in 9067a22f53ee 10:28:16 Removing intermediate container 9067a22f53ee 10:28:16 ---> 1a4eb2008b79 10:28:16 Step 10/12 : COPY . . 10:28:16 ---> 86ae7cd1291e 10:28:16 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:28:16 ---> Running in 2d58278695dc 10:28:16 Removing intermediate container 2d58278695dc 10:28:16 ---> 44260e0de424 10:28:16 Step 12/12 : RUN $MAKE 10:28:16 ---> Running in d6cd4e62cf3c 10:28:16 noop 10:28:16 Removing intermediate container d6cd4e62cf3c 10:28:16 ---> 8c03f4aae329 10:28:16 Successfully built 8c03f4aae329 10:28:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:28:16 + docker inspect -f . ci-base-image-x86_64 10:28:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:28:16 prd-ubuntu20.04-docker-8c-8g-40311 does not seem to be running inside a container 10:28:16 $ 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 ******** ci-base-image-x86_64 cat 10:28:16 $ docker top 4ca508660153af1eadce618f4716efbb83229e6ccb7041e813b62bceada5dc50 -eo pid,comm [Pipeline] { [Pipeline] sh 10:28:17 + go version 10:28:17 go version go1.23.4 linux/amd64 [Pipeline] } 10:28:17 $ docker stop --time=1 4ca508660153af1eadce618f4716efbb83229e6ccb7041e813b62bceada5dc50 10:28:18 $ docker rm -f --volumes 4ca508660153af1eadce618f4716efbb83229e6ccb7041e813b62bceada5dc50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:28:19 + docker inspect -f . ci-base-image-x86_64 10:28:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:28:19 prd-ubuntu20.04-docker-8c-8g-40311 does not seem to be running inside a container 10:28:19 $ 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 ******** ci-base-image-x86_64 cat 10:28:19 $ docker top 2c6f39edc6087c0623742162849bf99226167cde07d6ca3899bff4ba50dd5fe1 -eo pid,comm [Pipeline] { [Pipeline] sh 10:28:19 + git config --global --add safe.directory /w/workspace/foundry_app-record-replay_PR-173 [Pipeline] fileExists [Pipeline] sh 10:28:20 + make test 10:28:20 go test -race -coverprofile=coverage.out ./... 10:28:58 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 10:28:58 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 10:28:58 github.com/edgexfoundry/app-record-replay coverage: 0.0% of statements 10:28:58 github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks coverage: 0.0% of statements 10:28:58 ok github.com/edgexfoundry/app-record-replay/internal/app 1.027s coverage: 88.0% of statements 10:29:04 ok github.com/edgexfoundry/app-record-replay/internal/application 9.624s coverage: 98.7% of statements 10:29:04 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.102s coverage: 89.7% of statements 10:29:04 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.023s coverage: 100.0% of statements 10:29:04 running golangci-lint 10:29:04 golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z 10:29:04 go version go1.23.4 linux/amd64 10:29:04 level=info msg="golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z" 10:29:04 level=info msg="[config_reader] Used config file .golangci.yml" 10:29:04 level=info msg="[lintersdb] Active 7 linters: [errcheck gosec gosimple govet ineffassign staticcheck unused]" 10:29:31 level=info msg="[loader] Go packages loading at mode 575 (exports_file|files|imports|types_sizes|compiled_files|deps|name) took 23.863492847s" 10:29:31 level=info msg="[runner/filename_unadjuster] Pre-built 0 adjustments in 7.214828ms" 10:29:41 level=info msg="[linters_context/goanalysis] analyzers took 1m2.194631409s with top 10 stages: buildir: 50.458588216s, inspect: 2.304374634s, fact_deprecated: 1.785428338s, printf: 1.503923685s, fact_purity: 1.248480346s, ctrlflow: 1.087244773s, nilness: 990.347537ms, typedness: 739.608889ms, SA5012: 652.835975ms, tokenfileanalyzer: 235.191323ms" 10:29:41 level=info msg="[runner] Issues before processing: 10, after processing: 0" 10:29:41 level=info msg="[runner] Processors filtering stat (in/out): filename_unadjuster: 10/10, invalid_issue: 10/10, skip_files: 10/10, cgo: 10/10, autogenerated_exclude: 10/10, identifier_marker: 10/10, exclude-rules: 10/0, path_prettifier: 10/10, skip_dirs: 10/10, exclude: 10/10" 10:29:41 level=info msg="[runner] processing took 861.677µs with stages: identifier_marker: 409.567µs, autogenerated_exclude: 188.643µs, exclude-rules: 106.153µs, path_prettifier: 77.282µs, skip_dirs: 61.641µs, invalid_issue: 4.86µs, cgo: 3.861µs, nolint: 1.53µs, max_same_issues: 1.24µs, filename_unadjuster: 1.19µs, uniq_by_line: 1.04µs, fixer: 730ns, max_from_linter: 620ns, sort_results: 570ns, skip_files: 540ns, diff: 470ns, exclude: 420ns, source_code: 310ns, path_shortener: 280ns, max_per_file_from_linter: 270ns, path_prefixer: 240ns, severity-rules: 220ns" 10:29:41 level=info msg="[runner] linters took 12.324014667s with stages: goanalysis_metalinter: 12.322997188s" 10:29:41 level=info msg="File cache stats: 0 entries of total size 0B" 10:29:41 level=info msg="Memory: 360 samples, avg is 231.7MB, max is 1002.3MB" 10:29:41 level=info msg="Execution took 36.203963191s" 10:29:41 go vet ./... 10:29:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:29:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:29:47 ./bin/test-attribution-txt.sh 10:29:47 An attribution for github.com/blang/semver/v4 is missing from Attribution.txt, please add [Pipeline] echo 10:29:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 10:29:47 $ docker stop --time=1 2c6f39edc6087c0623742162849bf99226167cde07d6ca3899bff4ba50dd5fe1 10:29:49 $ docker rm -f --volumes 2c6f39edc6087c0623742162849bf99226167cde07d6ca3899bff4ba50dd5fe1 [Pipeline] // withDockerContainer [Pipeline] sh 10:29:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:29:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:29:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:29:51 + ls -al . 10:29:51 total 264 10:29:51 drwxrwxr-x 10 jenkins jenkins 4096 Mar 5 10:28 . 10:29:51 drwxrwxr-x 4 jenkins jenkins 4096 Mar 5 10:27 .. 10:29:51 -rw-rw-r-- 1 jenkins jenkins 119 Mar 5 10:27 .dockerignore 10:29:51 drwxrwxr-x 8 jenkins jenkins 4096 Mar 5 10:29 .git 10:29:51 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 10:27 .github 10:29:51 -rw-rw-r-- 1 jenkins jenkins 164 Mar 5 10:27 .gitignore 10:29:51 -rw-rw-r-- 1 jenkins jenkins 41 Mar 5 10:27 .golangci.yml 10:29:51 drwxr-xr-x 3 jenkins jenkins 4096 Mar 5 10:27 .semver 10:29:51 -rw-rw-r-- 1 jenkins jenkins 16870 Mar 5 10:27 Attribution.txt 10:29:51 -rw-rw-r-- 1 jenkins jenkins 1522 Mar 5 10:27 CHANGELOG.md 10:29:51 -rw-rw-r-- 1 jenkins jenkins 1726 Mar 5 10:27 Dockerfile 10:29:51 -rw-rw-r-- 1 jenkins jenkins 677 Mar 5 10:27 GOVERNANCE.md 10:29:51 -rw-rw-r-- 1 jenkins jenkins 681 Mar 5 10:27 Jenkinsfile 10:29:51 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 5 10:27 LICENSE 10:29:51 -rw-rw-r-- 1 jenkins jenkins 3851 Mar 5 10:27 Makefile 10:29:51 -rw-rw-r-- 1 jenkins jenkins 611 Mar 5 10:27 OWNERS.md 10:29:51 -rw-rw-r-- 1 jenkins jenkins 4107 Mar 5 10:27 README.md 10:29:51 -rw-rw-r-- 1 jenkins jenkins 7789 Mar 5 10:27 Record and Reply.postman_collection.json 10:29:51 -rw-rw-r-- 1 jenkins jenkins 5 Mar 5 10:27 VERSION 10:29:51 drwxrwxr-x 2 jenkins jenkins 4096 Mar 5 10:27 bin 10:29:51 -rw-r--r-- 1 jenkins jenkins 34247 Mar 5 10:29 coverage.out 10:29:51 -rw-rw-r-- 1 jenkins jenkins 6721 Mar 5 10:27 go.mod 10:29:51 -rw-rw-r-- 1 jenkins jenkins 88240 Mar 5 10:27 go.sum 10:29:51 drwxrwxr-x 7 jenkins jenkins 4096 Mar 5 10:27 internal 10:29:51 -rw-rw-r-- 1 jenkins jenkins 913 Mar 5 10:27 main.go 10:29:51 drwxrwxr-x 2 jenkins jenkins 4096 Mar 5 10:27 openapi 10:29:51 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 10:27 pkg 10:29:51 drwxrwxr-x 2 jenkins jenkins 4096 Mar 5 10:27 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:29:51 + 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=20924568fb564b9d31245ca9b03206ecd374c980 --label arch=amd64 --label version=0.0.0 . 10:29:51 Sending build context to Docker daemon 9.916MB 10:29:51 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 10:29:51 Step 2/27 : FROM ${BASE} AS builder 10:29:51 ---> 8c03f4aae329 10:29:51 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 10:29:51 ---> Running in b051f68ccd78 10:29:52 Removing intermediate container b051f68ccd78 10:29:52 ---> f0405a47d116 10:29:52 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 10:29:52 ---> Running in 6cae06f5ab32 10:29:52 Removing intermediate container 6cae06f5ab32 10:29:52 ---> 9de03380d8d7 10:29:52 Step 5/27 : ARG ADD_BUILD_TAGS="" 10:29:52 ---> Running in f22320ccbb7c 10:29:52 Removing intermediate container f22320ccbb7c 10:29:52 ---> 0347edc70830 10:29:52 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:29:52 ---> Running in 5d49c098fc8d 10:29:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:29:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:29:52 OK: 248 MiB in 58 packages 10:29:53 Removing intermediate container 5d49c098fc8d 10:29:53 ---> 9faadcc2fef5 10:29:53 Step 7/27 : WORKDIR /app 10:29:53 ---> Running in 73642a4e0f00 10:29:53 Removing intermediate container 73642a4e0f00 10:29:53 ---> 38c34ba7f437 10:29:53 Step 8/27 : COPY go.mod vendor* ./ 10:29:53 ---> daf3598de13a 10:29:53 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:29:53 ---> Running in 0ff3a29fc4dd 10:29:54 Removing intermediate container 0ff3a29fc4dd 10:29:54 ---> 67fb0819ac50 10:29:54 Step 10/27 : COPY . . 10:29:54 ---> 186ef4188fbb 10:29:54 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:29:54 ---> Running in 13879a42a02b 10:29:54 Removing intermediate container 13879a42a02b 10:29:54 ---> 0284977d9b86 10:29:54 Step 12/27 : RUN $MAKE 10:29:54 ---> Running in d2a7c4ad0365 10:29:55 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 10:30:27 Removing intermediate container d2a7c4ad0365 10:30:27 ---> aaa6aafb3952 10:30:27 Step 13/27 : FROM alpine:3.20 10:30:27 3.20: Pulling from library/alpine 10:30:27 0a9a5dfd008f: Pulling fs layer 10:30:27 0a9a5dfd008f: Verifying Checksum 10:30:27 0a9a5dfd008f: Download complete 10:30:27 0a9a5dfd008f: Pull complete 10:30:27 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 10:30:27 Status: Downloaded newer image for alpine:3.20 10:30:27 ---> ff221270b9fb 10:30:27 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:30:27 ---> Running in 50ea058065fa 10:30:27 Removing intermediate container 50ea058065fa 10:30:27 ---> 42b996da418a 10:30:27 Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} 10:30:27 ---> Running in 1554bcc2e0b1 10:30:27 Removing intermediate container 1554bcc2e0b1 10:30:27 ---> 363fd768e9bd 10:30:27 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 10:30:27 ---> Running in b7ded03a62f3 10:30:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:30:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:30:27 (1/2) Installing ca-certificates (20241121-r1) 10:30:27 (2/2) Installing dumb-init (1.2.5-r3) 10:30:27 Executing busybox-1.36.1-r29.trigger 10:30:27 Executing ca-certificates-20241121-r1.trigger 10:30:27 OK: 9 MiB in 16 packages 10:30:27 Removing intermediate container b7ded03a62f3 10:30:27 ---> 6acb8a362adc 10:30:27 Step 17/27 : RUN apk --no-cache upgrade 10:30:27 ---> Running in d7842278ac55 10:30:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:30:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:30:28 OK: 9 MiB in 16 packages 10:30:28 Removing intermediate container d7842278ac55 10:30:28 ---> cb2f4b0d9e01 10:30:28 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 10:30:28 ---> b83ee0b2702a 10:30:28 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 10:30:28 ---> fa25b55f33c1 10:30:28 Step 20/27 : COPY --from=builder /app/res/ /res/ 10:30:28 ---> 3ddd92bba62e 10:30:28 Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay 10:30:29 ---> 0d9e3ad304aa 10:30:29 Step 22/27 : EXPOSE 59712 10:30:29 ---> Running in dd811aca7b84 10:30:29 Removing intermediate container dd811aca7b84 10:30:29 ---> 19e0cf1000b9 10:30:29 Step 23/27 : ENTRYPOINT ["/app-record-replay"] 10:30:29 ---> Running in b8b22d6b44c5 10:30:29 Removing intermediate container b8b22d6b44c5 10:30:29 ---> 3bb958c46630 10:30:29 Step 24/27 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 10:30:29 ---> Running in 65a527ca0939 10:30:29 Removing intermediate container 65a527ca0939 10:30:29 ---> 152d7013d5a6 10:30:29 Step 25/27 : LABEL arch=amd64 10:30:29 ---> Running in 23c76d74b211 10:30:30 Removing intermediate container 23c76d74b211 10:30:30 ---> 8f1f640805c9 10:30:30 Step 26/27 : LABEL git_sha=20924568fb564b9d31245ca9b03206ecd374c980 10:30:30 ---> Running in 648ee4b3ff92 10:30:30 Removing intermediate container 648ee4b3ff92 10:30:30 ---> eafb49d4cbb4 10:30:30 Step 27/27 : LABEL version=0.0.0 10:30:30 ---> Running in 67c231e4b09b 10:30:30 Removing intermediate container 67c231e4b09b 10:30:30 ---> 5e30b23973a3 10:30:30 [Warning] One or more build-args [ARCH] were not consumed 10:30:30 Successfully built 5e30b23973a3 10:30:30 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 10:30:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:30:30 10:30:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:30:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:30:31 latest: Pulling from edgex-lftools-log-publisher 10:30:31 5eb5b503b376: Pulling fs layer 10:30:31 5c69ac0246d0: Pulling fs layer 10:30:31 ec43610c2a17: Pulling fs layer 10:30:31 3a2ae6a8a46f: Pulling fs layer 10:30:31 33b1e0a273af: Pulling fs layer 10:30:31 3a2ae6a8a46f: Waiting 10:30:31 33b1e0a273af: Waiting 10:30:31 5d3b04190fa2: Pulling fs layer 10:30:31 2f39f015ded8: Pulling fs layer 10:30:31 5d3b04190fa2: Waiting 10:30:31 2f39f015ded8: Waiting 10:30:31 5c69ac0246d0: Download complete 10:30:31 3a2ae6a8a46f: Verifying Checksum 10:30:31 3a2ae6a8a46f: Download complete 10:30:31 33b1e0a273af: Download complete 10:30:31 5d3b04190fa2: Verifying Checksum 10:30:31 5d3b04190fa2: Download complete 10:30:31 ec43610c2a17: Verifying Checksum 10:30:31 ec43610c2a17: Download complete 10:30:31 5eb5b503b376: Verifying Checksum 10:30:31 5eb5b503b376: Download complete 10:30:32 2f39f015ded8: Verifying Checksum 10:30:32 2f39f015ded8: Download complete 10:30:32 5eb5b503b376: Pull complete 10:30:32 5c69ac0246d0: Pull complete 10:30:33 ec43610c2a17: Pull complete 10:30:33 3a2ae6a8a46f: Pull complete 10:30:33 33b1e0a273af: Pull complete 10:30:33 5d3b04190fa2: Pull complete 10:30:38 2f39f015ded8: Pull complete 10:30:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:30:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:30:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:30:38 prd-ubuntu20.04-docker-8c-8g-40311 does not seem to be running inside a container 10:30:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 10:30:40 $ docker top 200fa773056bce523d5f232604685e86e0828567420eb0952cfd5addc611c30f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:30:40 ---> job-cost.sh 10:30:40 lf-activate-venv: SKIPPING 10:30:40 INFO: No Stack... 10:30:41 INFO: Retrieving Pricing Info for: v3-standard-8 10:30:41 INFO: Archiving Costs [Pipeline] sh 10:30:41 + cat /w/workspace/foundry_app-record-replay_PR-173/archives/cost.csv 10:30:41 + cut -d, -f6 [Pipeline] lock 10:30:41 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-record-replay-PR-173-3-stack-cost] 10:30:41 Resource [jenkins-edgexfoundry-app-record-replay-PR-173-3-stack-cost] did not exist. Created. 10:30:41 Lock acquired on [Resource: jenkins-edgexfoundry-app-record-replay-PR-173-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:30:41 + echo total: 0.2199999988079071 [Pipeline] stash 10:30:41 Stashed 1 file(s) [Pipeline] } 10:30:42 Lock released on resource [Resource: jenkins-edgexfoundry-app-record-replay-PR-173-3-stack-cost] [Pipeline] // lock [Pipeline] } 10:30:42 $ docker stop --time=1 200fa773056bce523d5f232604685e86e0828567420eb0952cfd5addc611c30f 10:30:43 $ docker rm -f --volumes 200fa773056bce523d5f232604685e86e0828567420eb0952cfd5addc611c30f [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 10:30:43 provisioning config files... 10:30:43 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/foundry_app-record-replay_PR-173@tmp/config3066357206890118840tmp [Pipeline] { [Pipeline] sh 10:30:43 + set +x 10:30:43 + curl -s https://codecov.io/bash 10:30:43 + bash -s -- 10:30:43 10:30:43 _____ _ 10:30:43 / ____| | | 10:30:43 | | ___ __| | ___ ___ _____ __ 10:30:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:30:43 | |___| (_) | (_| | __/ (_| (_) \ V / 10:30:43 \_____\___/ \__,_|\___|\___\___/ \_/ 10:30:43 Bash-1.0.6 10:30:43 10:30:43 10:30:43 ==> git version 2.25.1 found 10:30:43 ==> 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 10:30:43 Release-Date: 2020-01-08 10:30:43 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:30:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:30:43 ==> Jenkins CI detected. 10:30:43 current dir:  /w/workspace/foundry_app-record-replay_PR-173 10:30:43 project root: . 10:30:43 --> token set from env 10:30:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:30:43 ==> Running gcov in . (disable via -X gcov) 10:30:43 ==> Python coveragepy not found 10:30:43 ==> Searching for coverage reports in: 10:30:43 + . 10:30:43 -> Found 1 reports 10:30:43 ==> Detecting git/mercurial file structure 10:30:43 ==> Reading reports 10:30:43 + ./coverage.out bytes=34247 10:30:43 ==> Appending adjustments 10:30:43 https://docs.codecov.io/docs/fixing-reports 10:30:44 + Found adjustments 10:30:44 ==> Gzipping contents 10:30:44 8.0K /tmp/codecov.ZiYRB0.gz 10:30:44 ==> Uploading reports 10:30:44 url: https://codecov.io 10:30:44 query: branch=PR-173&commit=20924568fb564b9d31245ca9b03206ecd374c980&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-173%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=173&job=&cmd_args= 10:30:44 -> Pinging Codecov 10:30:44 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-173&commit=20924568fb564b9d31245ca9b03206ecd374c980&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-173%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=173&job=&cmd_args= 10:30:44 -> Uploading to 10:30:44 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/app-record-replay/20924568fb564b9d31245ca9b03206ecd374c980/1999e182-48b9-4a4b-a23f-e68c40c5a80c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250305%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250305T103044Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=236c56e122f83022588cb51eb555b5cd5fc68ae438a1e2cc3629492c965d8658 10:30:44 % Total % Received % Xferd Average Speed Time Time Time Current 10:30:44 Dload Upload Total Spent Left Speed 10:30:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5391 0 0 100 5391 0 16742 --:--:-- --:--:-- --:--:-- 16742 10:30:44 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-record-replay/commit/20924568fb564b9d31245ca9b03206ecd374c980 [Pipeline] } 10:30:44 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 10:30:45 + [ -d /w/workspace/foundry_app-record-replay_PR-173/archives ] 10:30:45 + ls -al /w/workspace/foundry_app-record-replay_PR-173/archives 10:30:45 total 16 10:30:45 drwxr-xr-x 3 root root 4096 Mar 5 10:30 . 10:30:45 drwxrwxr-x 11 jenkins jenkins 4096 Mar 5 10:30 .. 10:30:45 drwxr-xr-x 2 root root 4096 Mar 5 10:30 cost 10:30:45 -rw-r--r-- 1 root root 89 Mar 5 10:30 cost.csv 10:30:45 + sudo chown -R jenkins:jenkins /w/workspace/foundry_app-record-replay_PR-173/archives 10:30:45 + ls -al /w/workspace/foundry_app-record-replay_PR-173/archives 10:30:45 total 16 10:30:45 drwxr-xr-x 3 jenkins jenkins 4096 Mar 5 10:30 . 10:30:45 drwxrwxr-x 11 jenkins jenkins 4096 Mar 5 10:30 .. 10:30:45 drwxr-xr-x 2 jenkins jenkins 4096 Mar 5 10:30 cost 10:30:45 -rw-r--r-- 1 jenkins jenkins 89 Mar 5 10:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:30:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:30:46 ---> package-listing.sh 10:30:46 ++ facter osfamily 10:30:46 ++ tr '[:upper:]' '[:lower:]' 10:30:46 + OS_FAMILY=debian 10:30:46 + workspace=/w/workspace/foundry_app-record-replay_PR-173 10:30:46 + START_PACKAGES=/tmp/packages_start.txt 10:30:46 + END_PACKAGES=/tmp/packages_end.txt 10:30:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:30:46 + PACKAGES=/tmp/packages_start.txt 10:30:46 + '[' /w/workspace/foundry_app-record-replay_PR-173 ']' 10:30:46 + PACKAGES=/tmp/packages_end.txt 10:30:46 + case "${OS_FAMILY}" in 10:30:46 + dpkg -l 10:30:46 + grep '^ii' 10:30:46 + '[' -f /tmp/packages_start.txt ']' 10:30:46 + '[' -f /tmp/packages_end.txt ']' 10:30:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:30:46 + '[' /w/workspace/foundry_app-record-replay_PR-173 ']' 10:30:46 + mkdir -p /w/workspace/foundry_app-record-replay_PR-173/archives/ 10:30:46 + 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 10:30:46 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 10:30:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:30:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:30:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:30:47 prd-ubuntu20.04-docker-8c-8g-40311 does not seem to be running inside a container 10:30:47 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:30:48 $ docker top fa12c4a794eeeb7cf6ba9c4cec24293894704e69f5cac3b4ef53b6a434d2b045 -eo pid,comm [Pipeline] { [Pipeline] sh 10:30:48 + touch /tmp/pre-build-complete [Pipeline] sh 10:30:48 + mkdir -p /var/log/sysstat [Pipeline] sh 10:30:49 + ls /var/log/sa-host 10:30:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:30:49 provisioning config files... 10:30:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_app-record-replay_PR-173@tmp/config2287927584793859195tmp [Pipeline] { [Pipeline] echo 10:30:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:30:49 ---> create-netrc.sh [Pipeline] } 10:30:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:30:49 ---> python-tools-install.sh [Pipeline] echo 10:30:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:30:50 ---> sudo-logs.sh 10:30:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:30:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:30:50 ---> job-cost.sh 10:30:50 lf-activate-venv: SKIPPING 10:30:50 DEBUG: total: 0.2199999988079071 10:30:50 INFO: Retrieving Stack Cost... 10:30:50 INFO: Retrieving Pricing Info for: v3-standard-8 10:30:51 INFO: Archiving Costs [Pipeline] echo 10:30:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:30:51 ---> logs-deploy.sh 10:30:51 lf-activate-venv: SKIPPING 10:30:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-173/3 10:30:51 INFO: archiving workspace using pattern(s): 10:30:52 Archives upload complete. 10:30:52 INFO: archiving logs to Nexus