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 12:04:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:04:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:04:30 ========================================================= 12:04:30 EdgeX Global Pipelines Version Info 12:04:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:04:31 ------------------- 12:04:31 stable info: 12:04:31 ------------------- 12:04:31 Commited By: Cherry Wang cherry@iotechsys.com 12:04:31 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 12:04:31 Message: update stable to v1.0.269 12:04:32 ------------------- 12:04:32 experimental info: 12:04:32 ------------------- 12:04:32 Commited By: Ginny Guan ginny@iotechsys.com 12:04:32 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 12:04:32 Message: update experimental to stable [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:04:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 12:04:32 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 12:04:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:04:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:04:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:04:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 12:04:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:04:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:04:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:04:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:04:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:04:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 12:04:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:04:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:04:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:04:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:04:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:04:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:04:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:04:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:04:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:04:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:04:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:04:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:04:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:04:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:04:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:04:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-173 [Pipeline] echo 12:04:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-173 [Pipeline] echo 12:04:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-173 [Pipeline] echo 12:04:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5c91ef287df32110109523a3192bc0df4cd2d86b [Pipeline] echo 12:04:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5c91ef2 [Pipeline] echo 12:04:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:04:33 provisioning config files... 12:04:33 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-173@tmp/config5330471313249887416tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:04:33 ---> ****-login.sh 12:04:33 nexus3.edgexfoundry.org:10001 12:04:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:04:33 Configure a credential helper to remove this warning. See 12:04:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:04:33 12:04:33 Login Succeeded 12:04:33 nexus3.edgexfoundry.org:10002 12:04:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:04:34 Configure a credential helper to remove this warning. See 12:04:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:04:34 12:04:34 Login Succeeded 12:04:34 nexus3.edgexfoundry.org:10003 12:04:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:04:34 Configure a credential helper to remove this warning. See 12:04:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:04:34 12:04:34 Login Succeeded 12:04:34 nexus3.edgexfoundry.org:10004 12:04:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:04:34 Configure a credential helper to remove this warning. See 12:04:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:04:34 12:04:34 Login Succeeded 12:04:34 ****.io 12:04:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:04:34 Configure a credential helper to remove this warning. See 12:04:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:04:34 12:04:34 Login Succeeded 12:04:34 ---> ****-login.sh ends [Pipeline] } 12:04:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:04:34 + git rev-list -1 --merges 5c91ef287df32110109523a3192bc0df4cd2d86b~1..5c91ef287df32110109523a3192bc0df4cd2d86b [Pipeline] echo 12:04:34 -----------> git rev-list -1 --merges 5c91ef287df32110109523a3192bc0df4cd2d86b~1..5c91ef287df32110109523a3192bc0df4cd2d86b 5c91ef287df32110109523a3192bc0df4cd2d86b [false] [Pipeline] sh 12:04:35 + git log --format=format:%s -1 5c91ef287df32110109523a3192bc0df4cd2d86b [Pipeline] echo 12:04:35 ========================================================= 12:04:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:04:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:04:35 + git log --format=format:%s -1 5c91ef287df32110109523a3192bc0df4cd2d86b [Pipeline] echo 12:04:35 [semverPrep] GIT_COMMIT: 5c91ef287df32110109523a3192bc0df4cd2d86b, Commit Message: docs: Update changelog for 4.0 release [Pipeline] echo 12:04:35 [semverPrep] This is not a build commit. [Pipeline] sh 12:04:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:04:35 + grep -v github /etc/ssh/ssh_known_hosts 12:04:35 + [ -e /tmp/ssh_known_hosts ] 12:04:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:04:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:04:35 + sudo tee -a /etc/ssh/ssh_known_hosts 12:04:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:04:36 12:04:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:04:36 0.1.4: Pulling from edgex-devops/py-git-semver 12:04:36 b85a868b505f: Pulling fs layer 12:04:36 e2be974225ed: Pulling fs layer 12:04:36 339a4e72a1f5: Pulling fs layer 12:04:36 988bab9f4d93: Pulling fs layer 12:04:36 1469e6f7b9e6: Pulling fs layer 12:04:36 eaf3925da568: Pulling fs layer 12:04:36 bab4dde63d76: Pulling fs layer 12:04:36 bde34c3a00c8: Pulling fs layer 12:04:36 b352a97aabf1: Pulling fs layer 12:04:36 4872d77fe225: Pulling fs layer 12:04:36 5851b861e8e6: Pulling fs layer 12:04:36 bab4dde63d76: Waiting 12:04:36 bde34c3a00c8: Waiting 12:04:36 b352a97aabf1: Waiting 12:04:36 4872d77fe225: Waiting 12:04:36 1469e6f7b9e6: Waiting 12:04:36 5851b861e8e6: Waiting 12:04:36 988bab9f4d93: Waiting 12:04:36 e2be974225ed: Download complete 12:04:36 988bab9f4d93: Download complete 12:04:36 1469e6f7b9e6: Verifying Checksum 12:04:36 1469e6f7b9e6: Download complete 12:04:36 eaf3925da568: Download complete 12:04:36 339a4e72a1f5: Verifying Checksum 12:04:36 339a4e72a1f5: Download complete 12:04:36 bde34c3a00c8: Verifying Checksum 12:04:36 bde34c3a00c8: Download complete 12:04:36 b352a97aabf1: Verifying Checksum 12:04:36 b352a97aabf1: Download complete 12:04:36 4872d77fe225: Download complete 12:04:36 5851b861e8e6: Verifying Checksum 12:04:36 5851b861e8e6: Download complete 12:04:36 b85a868b505f: Verifying Checksum 12:04:36 b85a868b505f: Download complete 12:04:36 bab4dde63d76: Verifying Checksum 12:04:36 bab4dde63d76: Download complete 12:04:37 b85a868b505f: Pull complete 12:04:37 e2be974225ed: Pull complete 12:04:38 339a4e72a1f5: Pull complete 12:04:38 988bab9f4d93: Pull complete 12:04:38 1469e6f7b9e6: Pull complete 12:04:38 eaf3925da568: Pull complete 12:04:40 bab4dde63d76: Pull complete 12:04:40 bde34c3a00c8: Pull complete 12:04:40 b352a97aabf1: Pull complete 12:04:40 4872d77fe225: Pull complete 12:04:40 5851b861e8e6: Pull complete 12:04:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:04:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:04:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:04:40 prd-ubuntu20.04-docker-8c-8g-40335 does not seem to be running inside a container 12:04:40 $ 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 12:04:42 $ docker top 81baa61037c3091ef7fac203de90dc05b5564fd1e5de650bd1672c2ae5a5a9e3 -eo pid,comm 12:04:42 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). 12:04:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:04:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:04:42 [ssh-agent] Looking for ssh-agent implementation... 12:04:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:04:42 $ docker exec 81baa61037c3091ef7fac203de90dc05b5564fd1e5de650bd1672c2ae5a5a9e3 ssh-agent 12:04:42 SSH_AUTH_SOCK=/tmp/ssh-bwpJDJ0cFbiC/agent.32 12:04:42 SSH_AGENT_PID=38 12:04:42 Running ssh-add (command line suppressed) 12:04:42 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) 12:04:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:04:42 + git tag --points-at HEAD [Pipeline] } 12:04:42 $ docker exec --env ******** --env ******** 81baa61037c3091ef7fac203de90dc05b5564fd1e5de650bd1672c2ae5a5a9e3 ssh-agent -k 12:04:42 unset SSH_AUTH_SOCK; 12:04:42 unset SSH_AGENT_PID; 12:04:42 echo Agent pid 38 killed; 12:04:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:04:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:04:43 [ssh-agent] Looking for ssh-agent implementation... 12:04:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:04:43 $ docker exec 81baa61037c3091ef7fac203de90dc05b5564fd1e5de650bd1672c2ae5a5a9e3 ssh-agent 12:04:43 SSH_AUTH_SOCK=/tmp/ssh-a8gLKUZhcNMI/agent.73 12:04:43 SSH_AGENT_PID=79 12:04:43 Running ssh-add (command line suppressed) 12:04:43 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) 12:04:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:04:43 + git semver init 12:04:43 2025-03-05 12:04:43,884 [run_init] DEBUG init version:0.0.0 force:False 12:04:43 2025-03-05 12:04:43,885 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_app-record-replay_PR-173/.semver 12:04:43 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 12:04:43 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) 12:04:45 2025-03-05 12:04:45,282 [append_file] DEBUG append to file:/w/workspace/foundry_app-record-replay_PR-173/.git/info/exclude 12:04:45 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 12:04:45 2025-03-05 12:04:45,282 [write_file] DEBUG write to file:/w/workspace/foundry_app-record-replay_PR-173/.semver/PR-173 12:04:45 2025-03-05 12:04:45,285 [execute] INFO git cat-file --batch-check 12:04:45 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=) 12:04:45 2025-03-05 12:04:45,292 [execute] INFO git cat-file --batch 12:04:45 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=) 12:04:45 2025-03-05 12:04:45,297 [read_version] DEBUG read version from /w/workspace/foundry_app-record-replay_PR-173/.semver/PR-173 12:04:45 0.0.0 [Pipeline] } 12:04:45 $ docker exec --env ******** --env ******** 81baa61037c3091ef7fac203de90dc05b5564fd1e5de650bd1672c2ae5a5a9e3 ssh-agent -k 12:04:45 unset SSH_AUTH_SOCK; 12:04:45 unset SSH_AGENT_PID; 12:04:45 echo Agent pid 79 killed; 12:04:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:04:45 + git semver [Pipeline] } 12:04:46 $ docker stop --time=1 81baa61037c3091ef7fac203de90dc05b5564fd1e5de650bd1672c2ae5a5a9e3 12:04:47 $ docker rm -f --volumes 81baa61037c3091ef7fac203de90dc05b5564fd1e5de650bd1672c2ae5a5a9e3 [Pipeline] // withDockerContainer [Pipeline] sh 12:04:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:04:47 Stashed 1 file(s) [Pipeline] echo 12:04:47 [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 12:04:48 provisioning config files... [Pipeline] // stage [Pipeline] } 12:04:48 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 12:04:48 ---> ****-login.sh 12:04:48 nexus3.edgexfoundry.org:10001 12:04:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:04:48 Configure a credential helper to remove this warning. See 12:04:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:04:48 12:04:48 Login Succeeded 12:04:48 nexus3.edgexfoundry.org:10002 12:04:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:04:48 Configure a credential helper to remove this warning. See 12:04:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:04:48 12:04:48 Login Succeeded 12:04:48 nexus3.edgexfoundry.org:10003 12:04:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:04:48 Configure a credential helper to remove this warning. See 12:04:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:04:48 12:04:48 Login Succeeded 12:04:48 nexus3.edgexfoundry.org:10004 12:04:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:04:48 Configure a credential helper to remove this warning. See 12:04:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:04:48 12:04:48 Login Succeeded 12:04:48 ****.io 12:04:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:04:49 Configure a credential helper to remove this warning. See 12:04:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:04:49 12:04:49 Login Succeeded 12:04:49 ---> ****-login.sh ends [Pipeline] } 12:04:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:04:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:04:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:04:49 ========================================================= 12:04:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 12:04:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:49 + 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 . 12:04:49 Sending build context to Docker daemon 9.882MB 12:04:49 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 12:04:49 Step 2/12 : FROM ${BASE} AS builder 12:04:49 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 12:04:49 da9db072f522: Pulling fs layer 12:04:49 6ef4a4ee8ca5: Pulling fs layer 12:04:49 06f05ace1117: Pulling fs layer 12:04:49 5fe327b54edc: Pulling fs layer 12:04:49 4f4fb700ef54: Pulling fs layer 12:04:49 92a5565b7b96: Pulling fs layer 12:04:49 ff9bb7016b71: Pulling fs layer 12:04:49 b67dba6c2c7d: Pulling fs layer 12:04:49 a813b0c90790: Pulling fs layer 12:04:49 b67dba6c2c7d: Waiting 12:04:49 4f4fb700ef54: Waiting 12:04:49 a813b0c90790: Waiting 12:04:49 92a5565b7b96: Waiting 12:04:49 ff9bb7016b71: Waiting 12:04:49 5fe327b54edc: Waiting 12:04:49 6ef4a4ee8ca5: Verifying Checksum 12:04:49 6ef4a4ee8ca5: Download complete 12:04:49 5fe327b54edc: Download complete 12:04:49 4f4fb700ef54: Verifying Checksum 12:04:49 4f4fb700ef54: Download complete 12:04:49 92a5565b7b96: Download complete 12:04:49 da9db072f522: Download complete 12:04:49 ff9bb7016b71: Verifying Checksum 12:04:49 ff9bb7016b71: Download complete 12:04:49 da9db072f522: Pull complete 12:04:50 6ef4a4ee8ca5: Pull complete 12:04:50 a813b0c90790: Verifying Checksum 12:04:50 a813b0c90790: Download complete 12:04:50 06f05ace1117: Verifying Checksum 12:04:50 06f05ace1117: Download complete 12:04:50 b67dba6c2c7d: Verifying Checksum 12:04:50 b67dba6c2c7d: Download complete 12:04:53 06f05ace1117: Pull complete 12:04:53 5fe327b54edc: Pull complete 12:04:53 4f4fb700ef54: Pull complete 12:04:53 92a5565b7b96: Pull complete 12:04:53 ff9bb7016b71: Pull complete 12:04:55 b67dba6c2c7d: Pull complete 12:04:55 a813b0c90790: Pull complete 12:04:55 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 12:04:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 12:04:56 ---> 3ba60ce46760 12:04:56 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:04:58 ---> Running in 5a5917ec0079 12:04:58 Removing intermediate container 5a5917ec0079 12:04:58 ---> b39aedd917e2 12:04:58 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:04:58 ---> Running in 1eb6ac0ff68c 12:04:58 Removing intermediate container 1eb6ac0ff68c 12:04:58 ---> 566097a8ca41 12:04:58 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:04:58 ---> Running in 04dc53e6b4f1 12:04:58 Removing intermediate container 04dc53e6b4f1 12:04:58 ---> a48a0d0c3ad5 12:04:58 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:04:58 ---> Running in 1d5f0a9e478f 12:04:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 12:04:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 12:04:58 OK: 248 MiB in 58 packages 12:04:59 Removing intermediate container 1d5f0a9e478f 12:04:59 ---> a5895d304d6d 12:04:59 Step 7/12 : WORKDIR /app 12:04:59 ---> Running in 82289c91305b 12:04:59 Removing intermediate container 82289c91305b 12:04:59 ---> 49e3d95ac0a9 12:04:59 Step 8/12 : COPY go.mod vendor* ./ 12:04:59 ---> 558d1d471b5f 12:04:59 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:04:59 ---> Running in 23ed19eac422 12:05:31 Removing intermediate container 23ed19eac422 12:05:31 ---> 86106dca99d5 12:05:31 Step 10/12 : COPY . . 12:05:31 ---> 7f82df3a8073 12:05:31 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:05:31 ---> Running in acdc0e282b7b 12:05:31 Removing intermediate container acdc0e282b7b 12:05:31 ---> 09320069f22f 12:05:31 Step 12/12 : RUN $MAKE 12:05:31 ---> Running in f241e2cf67fb 12:05:31 noop 12:05:31 Removing intermediate container f241e2cf67fb 12:05:31 ---> 405787152fbe 12:05:31 Successfully built 405787152fbe 12:05:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:05:31 + docker inspect -f . ci-base-image-x86_64 12:05:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:05:32 prd-ubuntu20.04-docker-8c-8g-40335 does not seem to be running inside a container 12:05:32 $ 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 12:05:32 $ docker top 20e58a41eafe6bf4bcaa776b40766c2cfabca3b3cd8d5d82a6ead866e7734b5b -eo pid,comm [Pipeline] { [Pipeline] sh 12:05:32 + go version 12:05:32 go version go1.23.4 linux/amd64 [Pipeline] } 12:05:32 $ docker stop --time=1 20e58a41eafe6bf4bcaa776b40766c2cfabca3b3cd8d5d82a6ead866e7734b5b 12:05:33 $ 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 12:05:34 + docker inspect -f . ci-base-image-x86_64 12:05:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:05:34 prd-ubuntu20.04-docker-8c-8g-40335 does not seem to be running inside a container 12:05:34 $ 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 12:05:34 $ docker top 32778ff87cd02af25c2d7696668494d4ccf3cfbbe8fa0a6397b885d687a4a8cc -eo pid,comm [Pipeline] { [Pipeline] sh 12:05:35 + git config --global --add safe.directory /w/workspace/foundry_app-record-replay_PR-173 [Pipeline] fileExists [Pipeline] sh 12:05:35 + make test 12:05:35 go test -race -coverprofile=coverage.out ./... 12:06:07 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 12:06:07 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 12:06:07 github.com/edgexfoundry/app-record-replay coverage: 0.0% of statements 12:06:07 github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks coverage: 0.0% of statements 12:06:07 ok github.com/edgexfoundry/app-record-replay/internal/app 1.027s coverage: 88.0% of statements 12:06:17 ok github.com/edgexfoundry/app-record-replay/internal/application 9.589s coverage: 98.7% of statements 12:06:17 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.087s coverage: 89.7% of statements 12:06:17 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.017s coverage: 100.0% of statements 12:06:17 running golangci-lint 12:06:17 golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z 12:06:17 go version go1.23.4 linux/amd64 12:06:17 level=info msg="golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z" 12:06:17 level=info msg="[config_reader] Used config file .golangci.yml" 12:06:17 level=info msg="[lintersdb] Active 7 linters: [errcheck gosec gosimple govet ineffassign staticcheck unused]" 12:06:39 level=info msg="[loader] Go packages loading at mode 575 (types_sizes|files|imports|name|compiled_files|deps|exports_file) took 20.164142244s" 12:06:39 level=info msg="[runner/filename_unadjuster] Pre-built 0 adjustments in 4.344438ms" 12:06:46 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" 12:06:46 level=info msg="[runner] Issues before processing: 10, after processing: 0" 12:06:46 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" 12:06:46 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" 12:06:46 level=info msg="[runner] linters took 8.942824704s with stages: goanalysis_metalinter: 8.941786005s" 12:06:46 level=info msg="File cache stats: 0 entries of total size 0B" 12:06:46 level=info msg="Memory: 292 samples, avg is 224.0MB, max is 1071.9MB" 12:06:46 level=info msg="Execution took 29.117030098s" 12:06:46 go vet ./... 12:06:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:06:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:06:51 ./bin/test-attribution-txt.sh 12:06:51 An attribution for github.com/blang/semver/v4 is missing from Attribution.txt, please add [Pipeline] echo 12:06:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 12:06:51 $ docker stop --time=1 32778ff87cd02af25c2d7696668494d4ccf3cfbbe8fa0a6397b885d687a4a8cc 12:06:53 $ docker rm -f --volumes 32778ff87cd02af25c2d7696668494d4ccf3cfbbe8fa0a6397b885d687a4a8cc [Pipeline] // withDockerContainer [Pipeline] sh 12:06:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:06:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:06:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:06:55 + ls -al . 12:06:55 total 264 12:06:55 drwxrwxr-x 10 jenkins jenkins 4096 Mar 5 12:05 . 12:06:55 drwxrwxr-x 4 jenkins jenkins 4096 Mar 5 12:04 .. 12:06:55 -rw-rw-r-- 1 jenkins jenkins 119 Mar 5 12:04 .dockerignore 12:06:55 drwxrwxr-x 8 jenkins jenkins 4096 Mar 5 12:06 .git 12:06:55 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 12:04 .github 12:06:55 -rw-rw-r-- 1 jenkins jenkins 164 Mar 5 12:04 .gitignore 12:06:55 -rw-rw-r-- 1 jenkins jenkins 41 Mar 5 12:04 .golangci.yml 12:06:55 drwxr-xr-x 3 jenkins jenkins 4096 Mar 5 12:04 .semver 12:06:55 -rw-rw-r-- 1 jenkins jenkins 16870 Mar 5 12:04 Attribution.txt 12:06:55 -rw-rw-r-- 1 jenkins jenkins 1552 Mar 5 12:04 CHANGELOG.md 12:06:55 -rw-rw-r-- 1 jenkins jenkins 1726 Mar 5 12:04 Dockerfile 12:06:55 -rw-rw-r-- 1 jenkins jenkins 677 Mar 5 12:04 GOVERNANCE.md 12:06:55 -rw-rw-r-- 1 jenkins jenkins 681 Mar 5 12:04 Jenkinsfile 12:06:55 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 5 12:04 LICENSE 12:06:55 -rw-rw-r-- 1 jenkins jenkins 3851 Mar 5 12:04 Makefile 12:06:55 -rw-rw-r-- 1 jenkins jenkins 611 Mar 5 12:04 OWNERS.md 12:06:55 -rw-rw-r-- 1 jenkins jenkins 4107 Mar 5 12:04 README.md 12:06:55 -rw-rw-r-- 1 jenkins jenkins 7789 Mar 5 12:04 Record and Reply.postman_collection.json 12:06:55 -rw-rw-r-- 1 jenkins jenkins 5 Mar 5 12:04 VERSION 12:06:55 drwxrwxr-x 2 jenkins jenkins 4096 Mar 5 12:04 bin 12:06:55 -rw-r--r-- 1 jenkins jenkins 34247 Mar 5 12:06 coverage.out 12:06:55 -rw-rw-r-- 1 jenkins jenkins 6721 Mar 5 12:04 go.mod 12:06:55 -rw-rw-r-- 1 jenkins jenkins 88240 Mar 5 12:04 go.sum 12:06:55 drwxrwxr-x 7 jenkins jenkins 4096 Mar 5 12:04 internal 12:06:55 -rw-rw-r-- 1 jenkins jenkins 913 Mar 5 12:04 main.go 12:06:55 drwxrwxr-x 2 jenkins jenkins 4096 Mar 5 12:04 openapi 12:06:55 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 12:04 pkg 12:06:55 drwxrwxr-x 2 jenkins jenkins 4096 Mar 5 12:04 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:06:55 + 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 . 12:06:55 Sending build context to Docker daemon 9.917MB 12:06:55 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 12:06:55 Step 2/27 : FROM ${BASE} AS builder 12:06:55 ---> 405787152fbe 12:06:55 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 12:06:55 ---> Running in ac930d694f29 12:06:55 Removing intermediate container ac930d694f29 12:06:55 ---> 8fced60f1862 12:06:55 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:06:55 ---> Running in b22f896d7582 12:06:55 Removing intermediate container b22f896d7582 12:06:55 ---> 5e0912c4cd7d 12:06:55 Step 5/27 : ARG ADD_BUILD_TAGS="" 12:06:55 ---> Running in 6ee8153bde9f 12:06:55 Removing intermediate container 6ee8153bde9f 12:06:55 ---> 6ea9aec7956f 12:06:55 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:06:55 ---> Running in 41a425b6683c 12:06:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 12:06:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 12:06:57 OK: 248 MiB in 58 packages 12:06:57 Removing intermediate container 41a425b6683c 12:06:57 ---> 8bc945009279 12:06:57 Step 7/27 : WORKDIR /app 12:06:57 ---> Running in e5f14286bdb2 12:06:57 Removing intermediate container e5f14286bdb2 12:06:57 ---> 2df15f1f7951 12:06:57 Step 8/27 : COPY go.mod vendor* ./ 12:06:57 ---> 5d2d3fca9af6 12:06:57 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:06:57 ---> Running in 53b8a5365cc1 12:06:58 Removing intermediate container 53b8a5365cc1 12:06:58 ---> 0119b1ae9a6e 12:06:58 Step 10/27 : COPY . . 12:06:58 ---> f03aabe2b942 12:06:58 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:06:58 ---> Running in bf81aaed8783 12:06:58 Removing intermediate container bf81aaed8783 12:06:58 ---> 9b01e19633ad 12:06:58 Step 12/27 : RUN $MAKE 12:06:58 ---> Running in de4448c12122 12:06:58 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 12:07:25 Removing intermediate container de4448c12122 12:07:25 ---> 03b39e3f6fcd 12:07:25 Step 13/27 : FROM alpine:3.20 12:07:25 3.20: Pulling from library/alpine 12:07:25 0a9a5dfd008f: Pulling fs layer 12:07:25 0a9a5dfd008f: Verifying Checksum 12:07:25 0a9a5dfd008f: Download complete 12:07:25 0a9a5dfd008f: Pull complete 12:07:25 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 12:07:25 Status: Downloaded newer image for alpine:3.20 12:07:25 ---> ff221270b9fb 12:07:25 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:07:25 ---> Running in 092e24301134 12:07:25 Removing intermediate container 092e24301134 12:07:25 ---> b0e8a9b4a3fe 12:07:25 Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} 12:07:25 ---> Running in 79fb925623c6 12:07:25 Removing intermediate container 79fb925623c6 12:07:25 ---> df9264dc05d0 12:07:25 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 12:07:25 ---> Running in 3bbf27515ef0 12:07:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 12:07:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 12:07:26 (1/2) Installing ca-certificates (20241121-r1) 12:07:26 (2/2) Installing dumb-init (1.2.5-r3) 12:07:26 Executing busybox-1.36.1-r29.trigger 12:07:26 Executing ca-certificates-20241121-r1.trigger 12:07:26 OK: 9 MiB in 16 packages 12:07:27 Removing intermediate container 3bbf27515ef0 12:07:27 ---> 802b6094658b 12:07:27 Step 17/27 : RUN apk --no-cache upgrade 12:07:27 ---> Running in 22645abb74a4 12:07:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 12:07:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 12:07:27 OK: 9 MiB in 16 packages 12:07:28 Removing intermediate container 22645abb74a4 12:07:28 ---> ed91e9ee8c48 12:07:28 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:07:28 ---> 1cc2f1096bc2 12:07:28 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:07:28 ---> 61a1d22e9620 12:07:28 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:07:28 ---> b560d3efbf6f 12:07:28 Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay 12:07:29 ---> d1926dcb98ee 12:07:29 Step 22/27 : EXPOSE 59712 12:07:29 ---> Running in 70ef364eb6be 12:07:29 Removing intermediate container 70ef364eb6be 12:07:29 ---> 4c1b2a1af0ee 12:07:29 Step 23/27 : ENTRYPOINT ["/app-record-replay"] 12:07:29 ---> Running in 5a1eaa26826e 12:07:29 Removing intermediate container 5a1eaa26826e 12:07:29 ---> f8cfbafe28d3 12:07:29 Step 24/27 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 12:07:29 ---> Running in 7aa2b6cb26d1 12:07:29 Removing intermediate container 7aa2b6cb26d1 12:07:29 ---> 2001704f344e 12:07:29 Step 25/27 : LABEL arch=amd64 12:07:29 ---> Running in 35462d6f0ce1 12:07:29 Removing intermediate container 35462d6f0ce1 12:07:29 ---> 882e74abd636 12:07:29 Step 26/27 : LABEL git_sha=5c91ef287df32110109523a3192bc0df4cd2d86b 12:07:29 ---> Running in cf9e1940fe8f 12:07:29 Removing intermediate container cf9e1940fe8f 12:07:29 ---> 1efbe367272c 12:07:29 Step 27/27 : LABEL version=0.0.0 12:07:29 ---> Running in d6825d6406d0 12:07:29 Removing intermediate container d6825d6406d0 12:07:29 ---> a20384bfce30 12:07:29 [Warning] One or more build-args [ARCH] were not consumed 12:07:29 Successfully built a20384bfce30 12:07:29 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 12:07:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:07:30 12:07:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:07:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:07:30 latest: Pulling from edgex-lftools-log-publisher 12:07:30 5eb5b503b376: Pulling fs layer 12:07:30 5c69ac0246d0: Pulling fs layer 12:07:30 ec43610c2a17: Pulling fs layer 12:07:30 3a2ae6a8a46f: Pulling fs layer 12:07:30 33b1e0a273af: Pulling fs layer 12:07:30 5d3b04190fa2: Pulling fs layer 12:07:30 2f39f015ded8: Pulling fs layer 12:07:30 5d3b04190fa2: Waiting 12:07:30 2f39f015ded8: Waiting 12:07:30 33b1e0a273af: Waiting 12:07:30 3a2ae6a8a46f: Waiting 12:07:30 5c69ac0246d0: Verifying Checksum 12:07:30 5c69ac0246d0: Download complete 12:07:30 3a2ae6a8a46f: Verifying Checksum 12:07:30 3a2ae6a8a46f: Download complete 12:07:30 ec43610c2a17: Verifying Checksum 12:07:30 ec43610c2a17: Download complete 12:07:30 33b1e0a273af: Verifying Checksum 12:07:30 33b1e0a273af: Download complete 12:07:30 5d3b04190fa2: Verifying Checksum 12:07:30 5d3b04190fa2: Download complete 12:07:30 5eb5b503b376: Download complete 12:07:31 2f39f015ded8: Download complete 12:07:31 5eb5b503b376: Pull complete 12:07:31 5c69ac0246d0: Pull complete 12:07:32 ec43610c2a17: Pull complete 12:07:32 3a2ae6a8a46f: Pull complete 12:07:32 33b1e0a273af: Pull complete 12:07:32 5d3b04190fa2: Pull complete 12:07:36 2f39f015ded8: Pull complete 12:07:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:07:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:07:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:07:36 prd-ubuntu20.04-docker-8c-8g-40335 does not seem to be running inside a container 12:07:36 $ 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 12:07:38 $ docker top ddf000d7e922b0e3693f5dc50cded06f0c4b1ee5c6f1de4ff57a58ecc4248914 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:07:38 ---> job-cost.sh 12:07:38 lf-activate-venv: SKIPPING 12:07:38 INFO: No Stack... 12:07:38 INFO: Retrieving Pricing Info for: v3-standard-8 12:07:38 INFO: Archiving Costs [Pipeline] sh 12:07:39 + cat /w/workspace/foundry_app-record-replay_PR-173/archives/cost.csv 12:07:39 + cut -d, -f6 [Pipeline] lock 12:07:39 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-record-replay-PR-173-5-stack-cost] 12:07:39 Resource [jenkins-edgexfoundry-app-record-replay-PR-173-5-stack-cost] did not exist. Created. 12:07:39 Lock acquired on [Resource: jenkins-edgexfoundry-app-record-replay-PR-173-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:07:39 + echo total: 0.2199999988079071 [Pipeline] stash 12:07:39 Stashed 1 file(s) [Pipeline] } 12:07:39 Lock released on resource [Resource: jenkins-edgexfoundry-app-record-replay-PR-173-5-stack-cost] [Pipeline] // lock [Pipeline] } 12:07:39 $ docker stop --time=1 ddf000d7e922b0e3693f5dc50cded06f0c4b1ee5c6f1de4ff57a58ecc4248914 12:07:40 $ 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 12:07:41 provisioning config files... 12:07:41 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/foundry_app-record-replay_PR-173@tmp/config10745714736928376101tmp [Pipeline] { [Pipeline] sh 12:07:41 + set +x 12:07:41 + + curl -s https://codecov.io/bashbash 12:07:41 -s -- 12:07:41 12:07:41 _____ _ 12:07:41 / ____| | | 12:07:41 | | ___ __| | ___ ___ _____ __ 12:07:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:07:41 | |___| (_) | (_| | __/ (_| (_) \ V / 12:07:41 \_____\___/ \__,_|\___|\___\___/ \_/ 12:07:41 Bash-1.0.6 12:07:41 12:07:41 12:07:41 ==> git version 2.25.1 found 12:07:41 ==> 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 12:07:41 Release-Date: 2020-01-08 12:07:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:07:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:07:41 ==> Jenkins CI detected. 12:07:41 current dir:  /w/workspace/foundry_app-record-replay_PR-173 12:07:41 project root: . 12:07:41 --> token set from env 12:07:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:07:41 ==> Running gcov in . (disable via -X gcov) 12:07:41 ==> Python coveragepy not found 12:07:41 ==> Searching for coverage reports in: 12:07:41 + . 12:07:41 -> Found 1 reports 12:07:41 ==> Detecting git/mercurial file structure 12:07:41 ==> Reading reports 12:07:41 + ./coverage.out bytes=34247 12:07:41 ==> Appending adjustments 12:07:41 https://docs.codecov.io/docs/fixing-reports 12:07:41 + Found adjustments 12:07:41 ==> Gzipping contents 12:07:41 8.0K /tmp/codecov.vDuCqp.gz 12:07:41 ==> Uploading reports 12:07:41 url: https://codecov.io 12:07:41 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= 12:07:41 -> Pinging Codecov 12:07:41 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= 12:07:42 -> Uploading to 12:07:42 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 12:07:42 % Total % Received % Xferd Average Speed Time Time Time Current 12:07:42 Dload Upload Total Spent Left Speed 12:07:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5393 0 0 100 5393 0 31911 --:--:-- --:--:-- --:--:-- 31911 12:07:42 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-record-replay/commit/5c91ef287df32110109523a3192bc0df4cd2d86b [Pipeline] } 12:07:42 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 12:07:43 + [ -d /w/workspace/foundry_app-record-replay_PR-173/archives ] 12:07:43 + ls -al /w/workspace/foundry_app-record-replay_PR-173/archives 12:07:43 total 16 12:07:43 drwxr-xr-x 3 root root 4096 Mar 5 12:07 . 12:07:43 drwxrwxr-x 11 jenkins jenkins 4096 Mar 5 12:07 .. 12:07:43 drwxr-xr-x 2 root root 4096 Mar 5 12:07 cost 12:07:43 -rw-r--r-- 1 root root 89 Mar 5 12:07 cost.csv 12:07:43 + sudo chown -R jenkins:jenkins /w/workspace/foundry_app-record-replay_PR-173/archives 12:07:43 + ls -al /w/workspace/foundry_app-record-replay_PR-173/archives 12:07:43 total 16 12:07:43 drwxr-xr-x 3 jenkins jenkins 4096 Mar 5 12:07 . 12:07:43 drwxrwxr-x 11 jenkins jenkins 4096 Mar 5 12:07 .. 12:07:43 drwxr-xr-x 2 jenkins jenkins 4096 Mar 5 12:07 cost 12:07:43 -rw-r--r-- 1 jenkins jenkins 89 Mar 5 12:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:07:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:07:44 ---> package-listing.sh 12:07:44 ++ facter osfamily 12:07:44 ++ tr '[:upper:]' '[:lower:]' 12:07:44 + OS_FAMILY=debian 12:07:44 + workspace=/w/workspace/foundry_app-record-replay_PR-173 12:07:44 + START_PACKAGES=/tmp/packages_start.txt 12:07:44 + END_PACKAGES=/tmp/packages_end.txt 12:07:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:07:44 + PACKAGES=/tmp/packages_start.txt 12:07:44 + '[' /w/workspace/foundry_app-record-replay_PR-173 ']' 12:07:44 + PACKAGES=/tmp/packages_end.txt 12:07:44 + case "${OS_FAMILY}" in 12:07:44 + dpkg -l 12:07:44 + grep '^ii' 12:07:44 + '[' -f /tmp/packages_start.txt ']' 12:07:44 + '[' -f /tmp/packages_end.txt ']' 12:07:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:07:44 + '[' /w/workspace/foundry_app-record-replay_PR-173 ']' 12:07:44 + mkdir -p /w/workspace/foundry_app-record-replay_PR-173/archives/ 12:07:44 + 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 12:07:44 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 12:07:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:07:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:07:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:07:45 prd-ubuntu20.04-docker-8c-8g-40335 does not seem to be running inside a container 12:07:45 $ 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 12:07:45 $ docker top 31b7e75cb2adb6de28f1a17dac163a84c4039bfdf86e95dd01513777096e1ce2 -eo pid,comm [Pipeline] { [Pipeline] sh 12:07:45 + touch /tmp/pre-build-complete [Pipeline] sh 12:07:46 + mkdir -p /var/log/sysstat [Pipeline] sh 12:07:46 + ls /var/log/sa-host 12:07:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:07:46 provisioning config files... 12:07:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_app-record-replay_PR-173@tmp/config12429374149330670809tmp [Pipeline] { [Pipeline] echo 12:07:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:07:46 ---> create-netrc.sh [Pipeline] } 12:07:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:07:47 ---> python-tools-install.sh [Pipeline] echo 12:07:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:07:47 ---> sudo-logs.sh 12:07:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:07:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:07:47 ---> job-cost.sh 12:07:47 lf-activate-venv: SKIPPING 12:07:47 DEBUG: total: 0.2199999988079071 12:07:47 INFO: Retrieving Stack Cost... 12:07:47 INFO: Retrieving Pricing Info for: v3-standard-8 12:07:48 INFO: Archiving Costs [Pipeline] echo 12:07:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:07:48 ---> logs-deploy.sh 12:07:48 lf-activate-venv: SKIPPING 12:07:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-173/5 12:07:48 INFO: archiving workspace using pattern(s): 12:07:49 Archives upload complete. 12:07:49 INFO: archiving logs to Nexus