Pull request #157 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 31ef231ecc675167d28894ebadf3407e6648f645+b853b452339653576d911c63fb927b23942ede3d (229368557feb2953a8bc92964507070306506628) 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-ssh11640477641638530627.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-ssh17947673087616940283.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-157/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-157/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6209246363732124316.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-157/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3064804202161383460.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4113952923095988510.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-157/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-157/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17866599875393951542.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 7928b8837ad34b090831a72fcdf53bff9dae4c17 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-34524 in /w/workspace/foundry_app-record-replay_PR-157 [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-157 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b853b452339653576d911c63fb927b23942ede3d into PR head commit 31ef231ecc675167d28894ebadf3407e6648f645 > 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/157/head:refs/remotes/origin/PR-157 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 31ef231ecc675167d28894ebadf3407e6648f645 # timeout=10 Merge succeeded, producing 31ef231ecc675167d28894ebadf3407e6648f645 Checking out Revision 31ef231ecc675167d28894ebadf3407e6648f645 (PR-157) Commit message: "build(deps): Bump github.com/labstack/echo/v4 from 4.12.0 to 4.13.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 7928b8837ad34b090831a72fcdf53bff9dae4c17 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b853b452339653576d911c63fb927b23942ede3d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 31ef231ecc675167d28894ebadf3407e6648f645 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:11:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:11:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:11:45 ========================================================= 03:11:45 EdgeX Global Pipelines Version Info 03:11:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:11:47 ------------------- 03:11:47 stable info: 03:11:47 ------------------- 03:11:47 Commited By: Cherry Wang cherry@iotechsys.com 03:11:47 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 03:11:47 Message: update stable to v1.0.269 03:11:47 ------------------- 03:11:47 experimental info: 03:11:47 ------------------- 03:11:47 Commited By: **** collab-it+edgex@linuxfoundation.org 03:11:47 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 03:11:47 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:11:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 03:11:47 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 03:11:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:11:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:11:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:11:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 03:11:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:11:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:11:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:11:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:11:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:11:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 03:11:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:11:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:11:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:11:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:11:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:11:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:11:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:11:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:11:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:11:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:11:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:11:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:11:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:11:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:11:49 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:11:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-157 [Pipeline] echo 03:11:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-157 [Pipeline] echo 03:11:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-157 [Pipeline] echo 03:11:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 31ef231ecc675167d28894ebadf3407e6648f645 [Pipeline] echo 03:11:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 31ef231 [Pipeline] echo 03:11:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:11:49 provisioning config files... 03:11:49 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-157@tmp/config15883959863111215959tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:11:50 ---> ****-login.sh 03:11:50 nexus3.edgexfoundry.org:10001 03:11:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:11:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:11:50 Configure a credential helper to remove this warning. See 03:11:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:11:50 03:11:50 Login Succeeded 03:11:50 nexus3.edgexfoundry.org:10002 03:11:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:11:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:11:50 Configure a credential helper to remove this warning. See 03:11:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:11:50 03:11:50 Login Succeeded 03:11:50 nexus3.edgexfoundry.org:10003 03:11:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:11:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:11:50 Configure a credential helper to remove this warning. See 03:11:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:11:50 03:11:50 Login Succeeded 03:11:50 nexus3.edgexfoundry.org:10004 03:11:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:11:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:11:50 Configure a credential helper to remove this warning. See 03:11:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:11:50 03:11:50 Login Succeeded 03:11:50 ****.io 03:11:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:11:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:11:51 Configure a credential helper to remove this warning. See 03:11:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:11:51 03:11:51 Login Succeeded 03:11:51 ---> ****-login.sh ends [Pipeline] } 03:11:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:11:51 + git rev-list -1 --merges 31ef231ecc675167d28894ebadf3407e6648f645~1..31ef231ecc675167d28894ebadf3407e6648f645 [Pipeline] echo 03:11:52 -----------> git rev-list -1 --merges 31ef231ecc675167d28894ebadf3407e6648f645~1..31ef231ecc675167d28894ebadf3407e6648f645 31ef231ecc675167d28894ebadf3407e6648f645 [false] [Pipeline] sh 03:11:52 + git log --format=format:%s -1 31ef231ecc675167d28894ebadf3407e6648f645 [Pipeline] echo 03:11:52 ========================================================= 03:11:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:11:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:11:52 + git log --format=format:%s -1 31ef231ecc675167d28894ebadf3407e6648f645 [Pipeline] echo 03:11:52 [semverPrep] GIT_COMMIT: 31ef231ecc675167d28894ebadf3407e6648f645, Commit Message: build(deps): Bump github.com/labstack/echo/v4 from 4.12.0 to 4.13.0 [Pipeline] echo 03:11:52 [semverPrep] This is not a build commit. [Pipeline] sh 03:11:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:11:53 + grep -v github /etc/ssh/ssh_known_hosts 03:11:53 + [ -e /tmp/ssh_known_hosts ] 03:11:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:11:53 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:11:53 sudo tee -a /etc/ssh/ssh_known_hosts 03:11:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:11:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:11:53 03:11:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:11:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:11:54 0.1.4: Pulling from edgex-devops/py-git-semver 03:11:54 b85a868b505f: Pulling fs layer 03:11:54 e2be974225ed: Pulling fs layer 03:11:54 339a4e72a1f5: Pulling fs layer 03:11:54 988bab9f4d93: Pulling fs layer 03:11:54 988bab9f4d93: Waiting 03:11:54 1469e6f7b9e6: Pulling fs layer 03:11:54 eaf3925da568: Pulling fs layer 03:11:54 bab4dde63d76: Pulling fs layer 03:11:54 bde34c3a00c8: Pulling fs layer 03:11:54 1469e6f7b9e6: Waiting 03:11:54 eaf3925da568: Waiting 03:11:54 bab4dde63d76: Waiting 03:11:54 b352a97aabf1: Pulling fs layer 03:11:54 bde34c3a00c8: Waiting 03:11:54 4872d77fe225: Pulling fs layer 03:11:54 5851b861e8e6: Pulling fs layer 03:11:54 b352a97aabf1: Waiting 03:11:54 4872d77fe225: Waiting 03:11:54 5851b861e8e6: Waiting 03:11:54 e2be974225ed: Download complete 03:11:54 988bab9f4d93: Download complete 03:11:54 1469e6f7b9e6: Verifying Checksum 03:11:54 1469e6f7b9e6: Download complete 03:11:54 339a4e72a1f5: Verifying Checksum 03:11:54 339a4e72a1f5: Download complete 03:11:54 eaf3925da568: Download complete 03:11:54 bde34c3a00c8: Download complete 03:11:54 b352a97aabf1: Verifying Checksum 03:11:54 b352a97aabf1: Download complete 03:11:54 4872d77fe225: Verifying Checksum 03:11:54 4872d77fe225: Download complete 03:11:54 5851b861e8e6: Verifying Checksum 03:11:54 5851b861e8e6: Download complete 03:11:54 b85a868b505f: Verifying Checksum 03:11:54 b85a868b505f: Download complete 03:11:54 bab4dde63d76: Verifying Checksum 03:11:54 bab4dde63d76: Download complete 03:11:55 b85a868b505f: Pull complete 03:11:55 e2be974225ed: Pull complete 03:11:56 339a4e72a1f5: Pull complete 03:11:56 988bab9f4d93: Pull complete 03:11:56 1469e6f7b9e6: Pull complete 03:11:56 eaf3925da568: Pull complete 03:11:58 bab4dde63d76: Pull complete 03:11:58 bde34c3a00c8: Pull complete 03:11:58 b352a97aabf1: Pull complete 03:11:58 4872d77fe225: Pull complete 03:11:58 5851b861e8e6: Pull complete 03:11:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:11:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:11:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:11:59 prd-ubuntu20.04-docker-8c-8g-34524 does not seem to be running inside a container 03:11:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_app-record-replay_PR-157 -v /w/workspace/foundry_app-record-replay_PR-157:/w/workspace/foundry_app-record-replay_PR-157:rw,z -v /w/workspace/foundry_app-record-replay_PR-157@tmp:/w/workspace/foundry_app-record-replay_PR-157@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:12:02 $ docker top c6bdddb09a13697477eb0eb665498e805047aef2f708336da226f4515ebf6f0d -eo pid,comm 03:12:02 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). 03:12:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:12:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:12:02 [ssh-agent] Looking for ssh-agent implementation... 03:12:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:12:02 $ docker exec c6bdddb09a13697477eb0eb665498e805047aef2f708336da226f4515ebf6f0d ssh-agent 03:12:02 SSH_AUTH_SOCK=/tmp/ssh-blGUMpn6hMOt/agent.33 03:12:02 SSH_AGENT_PID=39 03:12:02 Running ssh-add (command line suppressed) 03:12:02 Identity added: /w/workspace/foundry_app-record-replay_PR-157@tmp/private_key_8735268915357881387.key (/w/workspace/foundry_app-record-replay_PR-157@tmp/private_key_8735268915357881387.key) 03:12:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:12:03 + git tag --points-at HEAD [Pipeline] } 03:12:03 $ docker exec --env ******** --env ******** c6bdddb09a13697477eb0eb665498e805047aef2f708336da226f4515ebf6f0d ssh-agent -k 03:12:03 unset SSH_AUTH_SOCK; 03:12:03 unset SSH_AGENT_PID; 03:12:03 echo Agent pid 39 killed; 03:12:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:12:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:12:03 [ssh-agent] Looking for ssh-agent implementation... 03:12:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:12:03 $ docker exec c6bdddb09a13697477eb0eb665498e805047aef2f708336da226f4515ebf6f0d ssh-agent 03:12:03 SSH_AUTH_SOCK=/tmp/ssh-C9ZKIW4b5KHY/agent.72 03:12:03 SSH_AGENT_PID=78 03:12:03 Running ssh-add (command line suppressed) 03:12:03 Identity added: /w/workspace/foundry_app-record-replay_PR-157@tmp/private_key_12263038315817802482.key (/w/workspace/foundry_app-record-replay_PR-157@tmp/private_key_12263038315817802482.key) 03:12:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:12:04 + git semver init 03:12:04 2024-12-05 03:12:04,352 [run_init] DEBUG init version:0.0.0 force:False 03:12:04 2024-12-05 03:12:04,353 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_app-record-replay_PR-157/.semver 03:12:04 2024-12-05 03:12:04,353 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/foundry_app-record-replay_PR-157/.semver 03:12:04 2024-12-05 03:12:04,353 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/foundry_app-record-replay_PR-157/.semver'], cwd=/w/workspace/foundry_app-record-replay_PR-157, universal_newlines=False, shell=None, istream=None) 03:12:06 2024-12-05 03:12:06,051 [append_file] DEBUG append to file:/w/workspace/foundry_app-record-replay_PR-157/.git/info/exclude 03:12:06 2024-12-05 03:12:06,052 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_app-record-replay_PR-157/.semver/PR-157 with force:False 03:12:06 2024-12-05 03:12:06,052 [write_file] DEBUG write to file:/w/workspace/foundry_app-record-replay_PR-157/.semver/PR-157 03:12:06 2024-12-05 03:12:06,056 [execute] INFO git cat-file --batch-check 03:12:06 2024-12-05 03:12:06,057 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_app-record-replay_PR-157/.semver, universal_newlines=False, shell=None, istream=) 03:12:06 2024-12-05 03:12:06,062 [execute] INFO git cat-file --batch 03:12:06 2024-12-05 03:12:06,063 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_app-record-replay_PR-157/.semver, universal_newlines=False, shell=None, istream=) 03:12:06 2024-12-05 03:12:06,066 [read_version] DEBUG read version from /w/workspace/foundry_app-record-replay_PR-157/.semver/PR-157 03:12:06 0.0.0 [Pipeline] } 03:12:06 $ docker exec --env ******** --env ******** c6bdddb09a13697477eb0eb665498e805047aef2f708336da226f4515ebf6f0d ssh-agent -k 03:12:06 unset SSH_AUTH_SOCK; 03:12:06 unset SSH_AGENT_PID; 03:12:06 echo Agent pid 78 killed; 03:12:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:12:06 + git semver [Pipeline] } 03:12:07 $ docker stop --time=1 c6bdddb09a13697477eb0eb665498e805047aef2f708336da226f4515ebf6f0d 03:12:08 $ docker rm -f --volumes c6bdddb09a13697477eb0eb665498e805047aef2f708336da226f4515ebf6f0d [Pipeline] // withDockerContainer [Pipeline] sh 03:12:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:12:09 Stashed 1 file(s) [Pipeline] echo 03:12:09 [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 03:12:11 provisioning config files... 03:12:11 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-157@tmp/config2913210415306647192tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 03:12:11 ---> ****-login.sh 03:12:11 nexus3.edgexfoundry.org:10001 03:12:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:12:11 Configure a credential helper to remove this warning. See 03:12:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:12:11 03:12:11 Login Succeeded 03:12:11 nexus3.edgexfoundry.org:10002 03:12:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:12:11 Configure a credential helper to remove this warning. See 03:12:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:12:11 03:12:11 Login Succeeded 03:12:11 nexus3.edgexfoundry.org:10003 03:12:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:12:11 Configure a credential helper to remove this warning. See 03:12:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:12:11 03:12:11 Login Succeeded 03:12:11 nexus3.edgexfoundry.org:10004 03:12:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:12:11 Configure a credential helper to remove this warning. See 03:12:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:12:11 03:12:11 Login Succeeded 03:12:11 ****.io 03:12:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:12:12 Configure a credential helper to remove this warning. See 03:12:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:12:12 03:12:12 Login Succeeded 03:12:12 ---> ****-login.sh ends [Pipeline] } 03:12:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:12:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:12:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:12:12 ========================================================= 03:12:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 03:12:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:12:12 + 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 . 03:12:12 Sending build context to Docker daemon 9.822MB 03:12:12 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 03:12:12 Step 2/12 : FROM ${BASE} AS builder 03:12:12 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 03:12:12 43c4264eed91: Pulling fs layer 03:12:12 4cc291be95ef: Pulling fs layer 03:12:12 2ac1f1163629: Pulling fs layer 03:12:12 5c3c966382ef: Pulling fs layer 03:12:12 4f4fb700ef54: Pulling fs layer 03:12:12 5d5c8e513c77: Pulling fs layer 03:12:12 9f66e0745190: Pulling fs layer 03:12:12 f49a43e4bbc0: Pulling fs layer 03:12:12 561ebcabdf7f: Pulling fs layer 03:12:12 f49a43e4bbc0: Waiting 03:12:12 561ebcabdf7f: Waiting 03:12:12 9f66e0745190: Waiting 03:12:12 4f4fb700ef54: Waiting 03:12:12 5d5c8e513c77: Waiting 03:12:12 5c3c966382ef: Waiting 03:12:12 4cc291be95ef: Verifying Checksum 03:12:12 4cc291be95ef: Download complete 03:12:12 5c3c966382ef: Verifying Checksum 03:12:12 5c3c966382ef: Download complete 03:12:12 4f4fb700ef54: Verifying Checksum 03:12:12 4f4fb700ef54: Download complete 03:12:12 5d5c8e513c77: Verifying Checksum 03:12:12 5d5c8e513c77: Download complete 03:12:13 43c4264eed91: Download complete 03:12:13 9f66e0745190: Verifying Checksum 03:12:13 9f66e0745190: Download complete 03:12:13 43c4264eed91: Pull complete 03:12:13 561ebcabdf7f: Download complete 03:12:13 4cc291be95ef: Pull complete 03:12:13 2ac1f1163629: Verifying Checksum 03:12:13 2ac1f1163629: Download complete 03:12:14 f49a43e4bbc0: Verifying Checksum 03:12:14 f49a43e4bbc0: Download complete 03:12:16 2ac1f1163629: Pull complete 03:12:16 5c3c966382ef: Pull complete 03:12:16 4f4fb700ef54: Pull complete 03:12:16 5d5c8e513c77: Pull complete 03:12:17 9f66e0745190: Pull complete 03:12:19 f49a43e4bbc0: Pull complete 03:12:19 561ebcabdf7f: Pull complete 03:12:19 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 03:12:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 03:12:19 ---> 3a752c3f9dda 03:12:19 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 03:12:23 ---> Running in c18a682ba702 03:12:23 Removing intermediate container c18a682ba702 03:12:23 ---> 99fda1a9f908 03:12:23 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:12:23 ---> Running in aa8317576bbf 03:12:23 Removing intermediate container aa8317576bbf 03:12:23 ---> 82ea012fa8bd 03:12:23 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:12:24 ---> Running in 7c932f70a826 03:12:24 Removing intermediate container 7c932f70a826 03:12:24 ---> 0f7220613f1d 03:12:24 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:12:24 ---> Running in 46a2119f1f09 03:12:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:12:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:12:27 OK: 246 MiB in 54 packages 03:12:27 Removing intermediate container 46a2119f1f09 03:12:27 ---> 51dca9536ecf 03:12:27 Step 7/12 : WORKDIR /app 03:12:27 ---> Running in 5e2dfb21d128 03:12:27 Removing intermediate container 5e2dfb21d128 03:12:27 ---> d21617ec6ef3 03:12:27 Step 8/12 : COPY go.mod vendor* ./ 03:12:27 ---> c0d741c71940 03:12:27 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:12:27 ---> Running in 695eaa28f4e2 03:13:35 Removing intermediate container 695eaa28f4e2 03:13:35 ---> b4bd166ca8c9 03:13:35 Step 10/12 : COPY . . 03:13:35 ---> 8abd8765e517 03:13:35 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:13:35 ---> Running in 94d7380f08eb 03:13:35 Removing intermediate container 94d7380f08eb 03:13:35 ---> f2cc345a0a14 03:13:35 Step 12/12 : RUN $MAKE 03:13:35 ---> Running in 6c31cec22894 03:13:35 noop 03:13:35 Removing intermediate container 6c31cec22894 03:13:35 ---> 0d773b67b26c 03:13:35 Successfully built 0d773b67b26c 03:13:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:13:36 + docker inspect -f . ci-base-image-x86_64 03:13:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:13:36 prd-ubuntu20.04-docker-8c-8g-34524 does not seem to be running inside a container 03:13:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_app-record-replay_PR-157 -v /w/workspace/foundry_app-record-replay_PR-157:/w/workspace/foundry_app-record-replay_PR-157:rw,z -v /w/workspace/foundry_app-record-replay_PR-157@tmp:/w/workspace/foundry_app-record-replay_PR-157@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 ******** ci-base-image-x86_64 cat 03:13:36 $ docker top 8ad564f89793eeb87823a6f636b6059ee98d583c7dad48937b7883a76cab084b -eo pid,comm [Pipeline] { [Pipeline] sh 03:13:37 + go version 03:13:37 go version go1.23.2 linux/amd64 [Pipeline] } 03:13:37 $ docker stop --time=1 8ad564f89793eeb87823a6f636b6059ee98d583c7dad48937b7883a76cab084b 03:13:38 $ docker rm -f --volumes 8ad564f89793eeb87823a6f636b6059ee98d583c7dad48937b7883a76cab084b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:13:39 + docker inspect -f . ci-base-image-x86_64 03:13:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:13:39 prd-ubuntu20.04-docker-8c-8g-34524 does not seem to be running inside a container 03:13:39 $ 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-157 -v /w/workspace/foundry_app-record-replay_PR-157:/w/workspace/foundry_app-record-replay_PR-157:rw,z -v /w/workspace/foundry_app-record-replay_PR-157@tmp:/w/workspace/foundry_app-record-replay_PR-157@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 ******** ci-base-image-x86_64 cat 03:13:39 $ docker top e52952c3716531ba63badf5e96f15712be6bc03f7916e2d62b358c5860d00726 -eo pid,comm [Pipeline] { [Pipeline] sh 03:13:40 + git config --global --add safe.directory /w/workspace/foundry_app-record-replay_PR-157 [Pipeline] fileExists [Pipeline] sh 03:13:40 + make test 03:13:40 go test -race -coverprofile=coverage.out ./... 03:14:27 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 03:14:27 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 03:14:27 github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks coverage: 0.0% of statements 03:14:27 github.com/edgexfoundry/app-record-replay coverage: 0.0% of statements 03:14:27 ok github.com/edgexfoundry/app-record-replay/internal/app 1.025s coverage: 88.0% of statements 03:14:32 ok github.com/edgexfoundry/app-record-replay/internal/application 9.592s coverage: 98.7% of statements 03:14:32 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.085s coverage: 89.7% of statements 03:14:32 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.023s coverage: 100.0% of statements 03:14:32 running golangci-lint 03:14:32 golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z 03:14:32 go version go1.23.2 linux/amd64 03:14:32 level=info msg="golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z" 03:14:32 level=info msg="[config_reader] Used config file .golangci.yml" 03:14:32 level=info msg="[lintersdb] Active 7 linters: [errcheck gosec gosimple govet ineffassign staticcheck unused]" 03:14:54 level=info msg="[loader] Go packages loading at mode 575 (files|imports|compiled_files|exports_file|types_sizes|deps|name) took 20.107303072s" 03:14:54 level=info msg="[runner/filename_unadjuster] Pre-built 0 adjustments in 6.912842ms" 03:15:02 level=info msg="[linters_context/goanalysis] analyzers took 45.705973521s with top 10 stages: buildir: 36.187576884s, inspect: 1.982719347s, fact_deprecated: 1.660897814s, ctrlflow: 1.15866014s, printf: 1.148891443s, fact_purity: 766.406033ms, nilness: 608.477344ms, typedness: 449.244256ms, SA5012: 398.460014ms, tokenfileanalyzer: 318.41781ms" 03:15:02 level=info msg="[runner] Issues before processing: 10, after processing: 0" 03:15:02 level=info msg="[runner] Processors filtering stat (in/out): path_prettifier: 10/10, identifier_marker: 10/10, cgo: 10/10, invalid_issue: 10/10, skip_dirs: 10/10, exclude: 10/10, filename_unadjuster: 10/10, skip_files: 10/10, autogenerated_exclude: 10/10, exclude-rules: 10/0" 03:15:02 level=info msg="[runner] processing took 895.74µs with stages: identifier_marker: 438.215µs, autogenerated_exclude: 188.035µs, exclude-rules: 98.588µs, path_prettifier: 80.796µs, skip_dirs: 59.444µs, cgo: 16.311µs, invalid_issue: 4.09µs, filename_unadjuster: 2.741µs, nolint: 1.23µs, max_same_issues: 1.08µs, uniq_by_line: 800ns, fixer: 650ns, max_from_linter: 540ns, sort_results: 460ns, skip_files: 460ns, exclude: 450ns, severity-rules: 370ns, diff: 330ns, max_per_file_from_linter: 300ns, source_code: 300ns, path_shortener: 290ns, path_prefixer: 260ns" 03:15:02 level=info msg="[runner] linters took 9.137831558s with stages: goanalysis_metalinter: 9.136749013s" 03:15:02 level=info msg="File cache stats: 0 entries of total size 0B" 03:15:02 level=info msg="Memory: 294 samples, avg is 215.2MB, max is 1002.8MB" 03:15:02 level=info msg="Execution took 29.25939522s" 03:15:02 go vet ./... 03:15:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:15:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:15:07 ./bin/test-attribution-txt.sh [Pipeline] echo 03:15:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:15:07 $ docker stop --time=1 e52952c3716531ba63badf5e96f15712be6bc03f7916e2d62b358c5860d00726 03:15:13 $ docker rm -f --volumes e52952c3716531ba63badf5e96f15712be6bc03f7916e2d62b358c5860d00726 [Pipeline] // withDockerContainer [Pipeline] sh 03:15:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:15:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:15:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:15:15 + ls -al . 03:15:15 total 264 03:15:15 drwxrwxr-x 10 jenkins jenkins 4096 Dec 5 03:13 . 03:15:15 drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 03:11 .. 03:15:15 -rw-rw-r-- 1 jenkins jenkins 119 Dec 5 03:11 .dockerignore 03:15:15 drwxrwxr-x 8 jenkins jenkins 4096 Dec 5 03:14 .git 03:15:15 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 03:11 .github 03:15:15 -rw-rw-r-- 1 jenkins jenkins 164 Dec 5 03:11 .gitignore 03:15:15 -rw-rw-r-- 1 jenkins jenkins 41 Dec 5 03:11 .golangci.yml 03:15:15 drwxr-xr-x 3 jenkins jenkins 4096 Dec 5 03:12 .semver 03:15:15 -rw-rw-r-- 1 jenkins jenkins 16870 Dec 5 03:11 Attribution.txt 03:15:15 -rw-rw-r-- 1 jenkins jenkins 458 Dec 5 03:11 CHANGELOG.md 03:15:15 -rw-rw-r-- 1 jenkins jenkins 1726 Dec 5 03:11 Dockerfile 03:15:15 -rw-rw-r-- 1 jenkins jenkins 677 Dec 5 03:11 GOVERNANCE.md 03:15:15 -rw-rw-r-- 1 jenkins jenkins 681 Dec 5 03:11 Jenkinsfile 03:15:15 -rw-rw-r-- 1 jenkins jenkins 10174 Dec 5 03:11 LICENSE 03:15:15 -rw-rw-r-- 1 jenkins jenkins 3851 Dec 5 03:11 Makefile 03:15:15 -rw-rw-r-- 1 jenkins jenkins 611 Dec 5 03:11 OWNERS.md 03:15:15 -rw-rw-r-- 1 jenkins jenkins 4107 Dec 5 03:11 README.md 03:15:15 -rw-rw-r-- 1 jenkins jenkins 7789 Dec 5 03:11 Record and Reply.postman_collection.json 03:15:15 -rw-rw-r-- 1 jenkins jenkins 5 Dec 5 03:12 VERSION 03:15:15 drwxrwxr-x 2 jenkins jenkins 4096 Dec 5 03:11 bin 03:15:15 -rw-r--r-- 1 jenkins jenkins 34247 Dec 5 03:14 coverage.out 03:15:15 -rw-rw-r-- 1 jenkins jenkins 6714 Dec 5 03:11 go.mod 03:15:15 -rw-rw-r-- 1 jenkins jenkins 87864 Dec 5 03:11 go.sum 03:15:15 drwxrwxr-x 7 jenkins jenkins 4096 Dec 5 03:11 internal 03:15:15 -rw-rw-r-- 1 jenkins jenkins 913 Dec 5 03:11 main.go 03:15:15 drwxrwxr-x 2 jenkins jenkins 4096 Dec 5 03:11 openapi 03:15:15 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 03:11 pkg 03:15:15 drwxrwxr-x 2 jenkins jenkins 4096 Dec 5 03:11 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:15 + 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=31ef231ecc675167d28894ebadf3407e6648f645 --label arch=amd64 --label version=0.0.0 . 03:15:15 Sending build context to Docker daemon 9.857MB 03:15:15 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 03:15:15 Step 2/27 : FROM ${BASE} AS builder 03:15:15 ---> 0d773b67b26c 03:15:15 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 03:15:16 ---> Running in 59277ffb2faf 03:15:16 Removing intermediate container 59277ffb2faf 03:15:16 ---> 8c85d7f7ebda 03:15:16 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 03:15:16 ---> Running in 53a1f4b24727 03:15:16 Removing intermediate container 53a1f4b24727 03:15:16 ---> da968084a368 03:15:16 Step 5/27 : ARG ADD_BUILD_TAGS="" 03:15:16 ---> Running in 0b3fd6e1bd56 03:15:16 Removing intermediate container 0b3fd6e1bd56 03:15:16 ---> aec9d92e79f9 03:15:16 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:15:16 ---> Running in 9bfdb409ab5e 03:15:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:15:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:15:17 OK: 246 MiB in 54 packages 03:15:17 Removing intermediate container 9bfdb409ab5e 03:15:17 ---> 0bc583a203c4 03:15:17 Step 7/27 : WORKDIR /app 03:15:17 ---> Running in e804ae4bae8c 03:15:17 Removing intermediate container e804ae4bae8c 03:15:17 ---> 3662ebb0e3e6 03:15:17 Step 8/27 : COPY go.mod vendor* ./ 03:15:17 ---> 031756b4be11 03:15:17 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:15:17 ---> Running in 0949aaf42844 03:15:18 Removing intermediate container 0949aaf42844 03:15:18 ---> 05b1b1dc511d 03:15:18 Step 10/27 : COPY . . 03:15:18 ---> 264f501db43b 03:15:18 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:15:18 ---> Running in 8bcc3526ea88 03:15:18 Removing intermediate container 8bcc3526ea88 03:15:18 ---> f8863e4d4248 03:15:18 Step 12/27 : RUN $MAKE 03:15:18 ---> Running in 698e7fa23c73 03:15:19 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v4/internal.SDKVersion=v4.0.0-dev.10 -X github.com/edgexfoundry/app-functions-sdk-go/v4/internal.ApplicationVersion=0.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o app-record-replay 03:15:51 Removing intermediate container 698e7fa23c73 03:15:51 ---> 14819f3b55f0 03:15:51 Step 13/27 : FROM alpine:3.20 03:15:51 3.20: Pulling from library/alpine 03:15:51 da9db072f522: Pulling fs layer 03:15:51 da9db072f522: Download complete 03:15:51 da9db072f522: Pull complete 03:15:51 Digest: sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 03:15:51 Status: Downloaded newer image for alpine:3.20 03:15:51 ---> 63b790fccc90 03:15:51 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:15:51 ---> Running in 782b3d5ce7f4 03:15:51 Removing intermediate container 782b3d5ce7f4 03:15:51 ---> c9d6d6d6e809 03:15:51 Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} 03:15:51 ---> Running in 794a5c300a80 03:15:51 Removing intermediate container 794a5c300a80 03:15:51 ---> fb111d6b490a 03:15:51 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 03:15:51 ---> Running in f5440c29b3e3 03:15:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:15:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:15:52 (1/2) Installing ca-certificates (20240705-r0) 03:15:52 (2/2) Installing dumb-init (1.2.5-r3) 03:15:52 Executing busybox-1.36.1-r29.trigger 03:15:52 Executing ca-certificates-20240705-r0.trigger 03:15:52 OK: 9 MiB in 16 packages 03:15:52 Removing intermediate container f5440c29b3e3 03:15:52 ---> 8f15a3dff636 03:15:52 Step 17/27 : RUN apk --no-cache upgrade 03:15:52 ---> Running in e75c6695cc45 03:15:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:15:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:15:53 Upgrading critical system libraries and apk-tools: 03:15:53 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 03:15:53 Executing busybox-1.36.1-r29.trigger 03:15:53 Continuing the upgrade transaction with new apk-tools: 03:15:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:15:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:15:53 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 03:15:54 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 03:15:54 Executing ca-certificates-20240705-r0.trigger 03:15:54 OK: 9 MiB in 16 packages 03:15:54 Removing intermediate container e75c6695cc45 03:15:54 ---> 574d64ec2552 03:15:54 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 03:15:54 ---> c64e27395811 03:15:54 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 03:15:54 ---> ecaaa324c368 03:15:54 Step 20/27 : COPY --from=builder /app/res/ /res/ 03:15:54 ---> 25f4948ff253 03:15:54 Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay 03:15:56 ---> 86cb2bdce077 03:15:56 Step 22/27 : EXPOSE 59712 03:15:56 ---> Running in f66ae0a897da 03:15:56 Removing intermediate container f66ae0a897da 03:15:56 ---> d0daea6e6067 03:15:56 Step 23/27 : ENTRYPOINT ["/app-record-replay"] 03:15:56 ---> Running in a56987c4a8c3 03:15:56 Removing intermediate container a56987c4a8c3 03:15:56 ---> bc6a9067eabf 03:15:56 Step 24/27 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 03:15:56 ---> Running in a9af071320a1 03:15:56 Removing intermediate container a9af071320a1 03:15:56 ---> e4821a80893d 03:15:56 Step 25/27 : LABEL arch=amd64 03:15:56 ---> Running in b862c85c2901 03:15:56 Removing intermediate container b862c85c2901 03:15:56 ---> df7fa6ad6b10 03:15:56 Step 26/27 : LABEL git_sha=31ef231ecc675167d28894ebadf3407e6648f645 03:15:56 ---> Running in 2df3f15f2515 03:15:56 Removing intermediate container 2df3f15f2515 03:15:56 ---> c44ae5cbf95e 03:15:56 Step 27/27 : LABEL version=0.0.0 03:15:56 ---> Running in adc77de58aba 03:15:56 Removing intermediate container adc77de58aba 03:15:56 ---> 87b56fdc0210 03:15:56 [Warning] One or more build-args [ARCH] were not consumed 03:15:56 Successfully built 87b56fdc0210 03:15:56 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 03:15:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:15:57 03:15:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:15:58 latest: Pulling from edgex-lftools-log-publisher 03:15:58 5eb5b503b376: Pulling fs layer 03:15:58 5c69ac0246d0: Pulling fs layer 03:15:58 ec43610c2a17: Pulling fs layer 03:15:58 3a2ae6a8a46f: Pulling fs layer 03:15:58 33b1e0a273af: Pulling fs layer 03:15:58 5d3b04190fa2: Pulling fs layer 03:15:58 2f39f015ded8: Pulling fs layer 03:15:58 2f39f015ded8: Waiting 03:15:58 5d3b04190fa2: Waiting 03:15:58 33b1e0a273af: Waiting 03:15:58 5c69ac0246d0: Verifying Checksum 03:15:58 5c69ac0246d0: Download complete 03:15:58 3a2ae6a8a46f: Verifying Checksum 03:15:58 ec43610c2a17: Verifying Checksum 03:15:58 ec43610c2a17: Download complete 03:15:58 33b1e0a273af: Verifying Checksum 03:15:58 33b1e0a273af: Download complete 03:15:58 5d3b04190fa2: Verifying Checksum 03:15:58 5d3b04190fa2: Download complete 03:15:58 5eb5b503b376: Verifying Checksum 03:15:58 5eb5b503b376: Download complete 03:15:58 2f39f015ded8: Download complete 03:15:59 5eb5b503b376: Pull complete 03:15:59 5c69ac0246d0: Pull complete 03:16:00 ec43610c2a17: Pull complete 03:16:00 3a2ae6a8a46f: Pull complete 03:16:00 33b1e0a273af: Pull complete 03:16:00 5d3b04190fa2: Pull complete 03:16:04 2f39f015ded8: Pull complete 03:16:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:16:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:16:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:16:04 prd-ubuntu20.04-docker-8c-8g-34524 does not seem to be running inside a container 03:16:04 $ 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-157 -v /w/workspace/foundry_app-record-replay_PR-157:/w/workspace/foundry_app-record-replay_PR-157:rw,z -v /w/workspace/foundry_app-record-replay_PR-157@tmp:/w/workspace/foundry_app-record-replay_PR-157@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:16:09 $ docker top 81beebbdf1fb86fde5e232ad3127606e714ed3f1a97d6d99653dcaac15de592e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:16:09 ---> job-cost.sh 03:16:09 lf-activate-venv: SKIPPING 03:16:09 INFO: No Stack... 03:16:10 INFO: Retrieving Pricing Info for: v3-standard-8 03:16:10 INFO: Archiving Costs [Pipeline] sh 03:16:10 + cat /w/workspace/foundry_app-record-replay_PR-157/archives/cost.csv 03:16:10 + cut -d, -f6 [Pipeline] lock 03:16:10 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-record-replay-PR-157-1-stack-cost] 03:16:10 Resource [jenkins-edgexfoundry-app-record-replay-PR-157-1-stack-cost] did not exist. Created. 03:16:10 Lock acquired on [Resource: jenkins-edgexfoundry-app-record-replay-PR-157-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:16:11 + echo total: 0.2199999988079071 [Pipeline] stash 03:16:11 Stashed 1 file(s) [Pipeline] } 03:16:11 Lock released on resource [Resource: jenkins-edgexfoundry-app-record-replay-PR-157-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:16:11 $ docker stop --time=1 81beebbdf1fb86fde5e232ad3127606e714ed3f1a97d6d99653dcaac15de592e 03:16:12 $ docker rm -f --volumes 81beebbdf1fb86fde5e232ad3127606e714ed3f1a97d6d99653dcaac15de592e [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 03:16:13 provisioning config files... 03:16:13 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/foundry_app-record-replay_PR-157@tmp/config12709785200530702786tmp [Pipeline] { [Pipeline] sh 03:16:14 + set +x 03:16:14 + curl -s https://codecov.io/bash 03:16:14 + bash -s -- 03:16:14 03:16:14 _____ _ 03:16:14 / ____| | | 03:16:14 | | ___ __| | ___ ___ _____ __ 03:16:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:16:14 | |___| (_) | (_| | __/ (_| (_) \ V / 03:16:14 \_____\___/ \__,_|\___|\___\___/ \_/ 03:16:14 Bash-1.0.6 03:16:14 03:16:14 03:16:14 ==> git version 2.25.1 found 03:16:14 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 03:16:14 Release-Date: 2020-01-08 03:16:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:16:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:16:14 ==> Jenkins CI detected. 03:16:14 current dir:  /w/workspace/foundry_app-record-replay_PR-157 03:16:14 project root: . 03:16:14 --> token set from env 03:16:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:16:14 ==> Running gcov in . (disable via -X gcov) 03:16:14 ==> Python coveragepy not found 03:16:14 ==> Searching for coverage reports in: 03:16:14 + . 03:16:14 -> Found 1 reports 03:16:14 ==> Detecting git/mercurial file structure 03:16:14 ==> Reading reports 03:16:14 + ./coverage.out bytes=34247 03:16:14 ==> Appending adjustments 03:16:14 https://docs.codecov.io/docs/fixing-reports 03:16:14 + Found adjustments 03:16:14 ==> Gzipping contents 03:16:14 8.0K /tmp/codecov.lvirkG.gz 03:16:14 ==> Uploading reports 03:16:14 url: https://codecov.io 03:16:14 query: branch=PR-157&commit=31ef231ecc675167d28894ebadf3407e6648f645&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-157%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=157&job=&cmd_args= 03:16:14 -> Pinging Codecov 03:16:14 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-157&commit=31ef231ecc675167d28894ebadf3407e6648f645&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-157%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=157&job=&cmd_args= 03:16:14 -> Uploading to 03:16:14 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/app-record-replay/31ef231ecc675167d28894ebadf3407e6648f645/98a3b0a3-bc19-4241-92c9-d22c9011cb5c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241205%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241205T031614Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=12a036b4c848d4d96e40f8b82f4feb88bf364b4694ea6791c5851f3496b92f75 03:16:14 % Total % Received % Xferd Average Speed Time Time Time Current 03:16:14 Dload Upload Total Spent Left Speed 03:16:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5395 0 0 100 5395 0 30480 --:--:-- --:--:-- --:--:-- 30480 03:16:14 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-record-replay/commit/31ef231ecc675167d28894ebadf3407e6648f645 [Pipeline] } 03:16:14 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 03:16:17 + [ -d /w/workspace/foundry_app-record-replay_PR-157/archives ] 03:16:17 + ls -al /w/workspace/foundry_app-record-replay_PR-157/archives 03:16:17 total 16 03:16:17 drwxr-xr-x 3 root root 4096 Dec 5 03:16 . 03:16:17 drwxrwxr-x 11 jenkins jenkins 4096 Dec 5 03:16 .. 03:16:17 drwxr-xr-x 2 root root 4096 Dec 5 03:16 cost 03:16:17 -rw-r--r-- 1 root root 89 Dec 5 03:16 cost.csv 03:16:17 + sudo chown -R jenkins:jenkins /w/workspace/foundry_app-record-replay_PR-157/archives 03:16:17 + ls -al /w/workspace/foundry_app-record-replay_PR-157/archives 03:16:17 total 16 03:16:17 drwxr-xr-x 3 jenkins jenkins 4096 Dec 5 03:16 . 03:16:17 drwxrwxr-x 11 jenkins jenkins 4096 Dec 5 03:16 .. 03:16:17 drwxr-xr-x 2 jenkins jenkins 4096 Dec 5 03:16 cost 03:16:17 -rw-r--r-- 1 jenkins jenkins 89 Dec 5 03:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:16:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:16:18 ---> package-listing.sh 03:16:18 ++ facter osfamily 03:16:18 ++ tr '[:upper:]' '[:lower:]' 03:16:18 + OS_FAMILY=debian 03:16:18 + workspace=/w/workspace/foundry_app-record-replay_PR-157 03:16:18 + START_PACKAGES=/tmp/packages_start.txt 03:16:18 + END_PACKAGES=/tmp/packages_end.txt 03:16:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:16:18 + PACKAGES=/tmp/packages_start.txt 03:16:18 + '[' /w/workspace/foundry_app-record-replay_PR-157 ']' 03:16:18 + PACKAGES=/tmp/packages_end.txt 03:16:18 + case "${OS_FAMILY}" in 03:16:18 + dpkg -l 03:16:18 + grep '^ii' 03:16:18 + '[' -f /tmp/packages_start.txt ']' 03:16:18 + '[' -f /tmp/packages_end.txt ']' 03:16:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:16:18 + '[' /w/workspace/foundry_app-record-replay_PR-157 ']' 03:16:18 + mkdir -p /w/workspace/foundry_app-record-replay_PR-157/archives/ 03:16:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_app-record-replay_PR-157/archives/ [Pipeline] echo 03:16:18 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-157/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:16:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:16:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:16:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:16:19 prd-ubuntu20.04-docker-8c-8g-34524 does not seem to be running inside a container 03:16:19 $ 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-157/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-157 -v /w/workspace/foundry_app-record-replay_PR-157:/w/workspace/foundry_app-record-replay_PR-157:rw,z -v /w/workspace/foundry_app-record-replay_PR-157@tmp:/w/workspace/foundry_app-record-replay_PR-157@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:16:21 $ docker top c3dbdebd39f08feda2e353846ca12c9f512d17b2beac01db9fa8f6691f65eb4c -eo pid,comm [Pipeline] { [Pipeline] sh 03:16:21 + touch /tmp/pre-build-complete [Pipeline] sh 03:16:21 + mkdir -p /var/log/sysstat [Pipeline] sh 03:16:22 + ls /var/log/sa-host 03:16:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:16:22 provisioning config files... 03:16:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_app-record-replay_PR-157@tmp/config8870610711984665620tmp [Pipeline] { [Pipeline] echo 03:16:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:16:22 ---> create-netrc.sh [Pipeline] } 03:16:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:16:23 ---> python-tools-install.sh [Pipeline] echo 03:16:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:16:23 ---> sudo-logs.sh 03:16:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:16:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:16:24 ---> job-cost.sh 03:16:24 lf-activate-venv: SKIPPING 03:16:24 DEBUG: total: 0.2199999988079071 03:16:24 INFO: Retrieving Stack Cost... 03:16:24 INFO: Retrieving Pricing Info for: v3-standard-8 03:16:24 INFO: Archiving Costs [Pipeline] echo 03:16:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:16:24 ---> logs-deploy.sh 03:16:24 lf-activate-venv: SKIPPING 03:16:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-157/1 03:16:24 INFO: archiving workspace using pattern(s): 03:16:25 Archives upload complete. 03:16:25 INFO: archiving logs to Nexus