Pull request #146 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jackchenjc for edgexfoundry/app-record-replay Obtained Jenkinsfile from c510f15927f62f99bdd37ed4cd52a8e0d034abc9+2069e4878ba40974eb08f4e1638304e603144a5a (512639150d4db91ad89eb08a7d8d98d27523b380) 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-ssh7304971086408094428.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh18334985042608272740.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-146/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-146/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8609944805086397389.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-146/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8897231781510814106.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8299000613512970809.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-146/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-146/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18325974121650166133.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-record-replay, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-record-replay-settings PROJECT: app-record-replay USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-record-replay DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-22713 in /w/workspace/foundry_app-record-replay_PR-146 [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-146 # 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 2069e4878ba40974eb08f4e1638304e603144a5a into PR head commit c510f15927f62f99bdd37ed4cd52a8e0d034abc9 Merge succeeded, producing c510f15927f62f99bdd37ed4cd52a8e0d034abc9 Checking out Revision c510f15927f62f99bdd37ed4cd52a8e0d034abc9 (PR-146) > 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/146/head:refs/remotes/origin/PR-146 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c510f15927f62f99bdd37ed4cd52a8e0d034abc9 # 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 2069e4878ba40974eb08f4e1638304e603144a5a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c510f15927f62f99bdd37ed4cd52a8e0d034abc9 # timeout=10 Commit message: "feat: Enable PIE support for ASLR and full RELRO" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:15:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:15:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:15:05 ========================================================= 08:15:05 EdgeX Global Pipelines Version Info 08:15:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:15:06 ------------------- 08:15:06 stable info: 08:15:06 ------------------- 08:15:06 Commited By: Ginny Guan ginny@iotechsys.com 08:15:06 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 08:15:06 Message: update stable to v1.0.265 08:15:06 ------------------- 08:15:06 experimental info: 08:15:06 ------------------- 08:15:06 Commited By: Cherry Wang cherry@iotechsys.com 08:15:06 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 08:15:06 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:15:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 08:15:07 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 08:15:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:15:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:15:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:15:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 08:15:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:15:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:15:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:15:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:15:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:15:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 08:15:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:15:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:15:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:15:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:15:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:15:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:15:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:15:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:15:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:15:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:15:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:15:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:15:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:15:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:15:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:15:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-146 [Pipeline] echo 08:15:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-146 [Pipeline] echo 08:15:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-146 [Pipeline] echo 08:15:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c510f15927f62f99bdd37ed4cd52a8e0d034abc9 [Pipeline] echo 08:15:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c510f15 [Pipeline] echo 08:15:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:15:09 provisioning config files... 08:15:09 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-146@tmp/config8781043536440111895tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:15:09 ---> ****-login.sh 08:15:09 nexus3.edgexfoundry.org:10001 08:15:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:15:09 Configure a credential helper to remove this warning. See 08:15:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:15:09 08:15:09 Login Succeeded 08:15:09 nexus3.edgexfoundry.org:10002 08:15:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:15:09 Configure a credential helper to remove this warning. See 08:15:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:15:09 08:15:09 Login Succeeded 08:15:09 nexus3.edgexfoundry.org:10003 08:15:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:15:09 Configure a credential helper to remove this warning. See 08:15:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:15:09 08:15:09 Login Succeeded 08:15:09 nexus3.edgexfoundry.org:10004 08:15:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:15:10 Configure a credential helper to remove this warning. See 08:15:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:15:10 08:15:10 Login Succeeded 08:15:10 ****.io 08:15:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:15:10 Configure a credential helper to remove this warning. See 08:15:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:15:10 08:15:10 Login Succeeded 08:15:10 ---> ****-login.sh ends [Pipeline] } 08:15:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:15:11 + git rev-list -1 --merges c510f15927f62f99bdd37ed4cd52a8e0d034abc9~1..c510f15927f62f99bdd37ed4cd52a8e0d034abc9 [Pipeline] echo 08:15:11 -----------> git rev-list -1 --merges c510f15927f62f99bdd37ed4cd52a8e0d034abc9~1..c510f15927f62f99bdd37ed4cd52a8e0d034abc9 c510f15927f62f99bdd37ed4cd52a8e0d034abc9 [false] [Pipeline] sh 08:15:11 + git log --format=format:%s -1 c510f15927f62f99bdd37ed4cd52a8e0d034abc9 [Pipeline] echo 08:15:11 ========================================================= 08:15:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:15:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:15:12 + git log --format=format:%s -1 c510f15927f62f99bdd37ed4cd52a8e0d034abc9 [Pipeline] echo 08:15:12 [semverPrep] GIT_COMMIT: c510f15927f62f99bdd37ed4cd52a8e0d034abc9, Commit Message: feat: Enable PIE support for ASLR and full RELRO [Pipeline] echo 08:15:12 [semverPrep] This is not a build commit. [Pipeline] sh 08:15:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:15:12 + grep -v github /etc/ssh/ssh_known_hosts 08:15:12 + [ -e /tmp/ssh_known_hosts ] 08:15:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:15:12 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 08:15:12 tee -a /etc/ssh/ssh_known_hosts 08:15:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:15:13 08:15:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:15:13 0.1.4: Pulling from edgex-devops/py-git-semver 08:15:13 b85a868b505f: Pulling fs layer 08:15:13 e2be974225ed: Pulling fs layer 08:15:13 339a4e72a1f5: Pulling fs layer 08:15:13 988bab9f4d93: Pulling fs layer 08:15:13 1469e6f7b9e6: Pulling fs layer 08:15:13 eaf3925da568: Pulling fs layer 08:15:13 bab4dde63d76: Pulling fs layer 08:15:13 bde34c3a00c8: Pulling fs layer 08:15:13 b352a97aabf1: Pulling fs layer 08:15:13 4872d77fe225: Pulling fs layer 08:15:13 5851b861e8e6: Pulling fs layer 08:15:13 988bab9f4d93: Waiting 08:15:13 1469e6f7b9e6: Waiting 08:15:13 bde34c3a00c8: Waiting 08:15:13 b352a97aabf1: Waiting 08:15:13 eaf3925da568: Waiting 08:15:13 bab4dde63d76: Waiting 08:15:13 4872d77fe225: Waiting 08:15:13 e2be974225ed: Verifying Checksum 08:15:13 e2be974225ed: Download complete 08:15:13 988bab9f4d93: Verifying Checksum 08:15:13 988bab9f4d93: Download complete 08:15:13 1469e6f7b9e6: Verifying Checksum 08:15:13 1469e6f7b9e6: Download complete 08:15:13 339a4e72a1f5: Verifying Checksum 08:15:13 339a4e72a1f5: Download complete 08:15:13 eaf3925da568: Verifying Checksum 08:15:13 eaf3925da568: Download complete 08:15:13 b352a97aabf1: Verifying Checksum 08:15:13 b352a97aabf1: Download complete 08:15:13 4872d77fe225: Verifying Checksum 08:15:13 4872d77fe225: Download complete 08:15:13 5851b861e8e6: Verifying Checksum 08:15:13 5851b861e8e6: Download complete 08:15:13 b85a868b505f: Verifying Checksum 08:15:13 b85a868b505f: Download complete 08:15:14 bab4dde63d76: Verifying Checksum 08:15:14 bab4dde63d76: Download complete 08:15:15 b85a868b505f: Pull complete 08:15:15 e2be974225ed: Pull complete 08:15:15 339a4e72a1f5: Pull complete 08:15:15 988bab9f4d93: Pull complete 08:15:15 1469e6f7b9e6: Pull complete 08:15:15 eaf3925da568: Pull complete 08:15:17 bab4dde63d76: Pull complete 08:15:17 bde34c3a00c8: Pull complete 08:15:17 b352a97aabf1: Pull complete 08:15:17 4872d77fe225: Pull complete 08:15:17 5851b861e8e6: Pull complete 08:15:17 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:15:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:15:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:15:18 prd-ubuntu20.04-docker-8c-8g-22713 does not seem to be running inside a container 08:15:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_app-record-replay_PR-146 -v /w/workspace/foundry_app-record-replay_PR-146:/w/workspace/foundry_app-record-replay_PR-146:rw,z -v /w/workspace/foundry_app-record-replay_PR-146@tmp:/w/workspace/foundry_app-record-replay_PR-146@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:15:21 $ docker top 1fbc4c106a130a61b0f4173764e9380900df345dd59c07e4cdcb38da05a3f886 -eo pid,comm 08:15:21 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). 08:15:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:15:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:15:21 [ssh-agent] Looking for ssh-agent implementation... 08:15:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:15:21 $ docker exec 1fbc4c106a130a61b0f4173764e9380900df345dd59c07e4cdcb38da05a3f886 ssh-agent 08:15:21 SSH_AUTH_SOCK=/tmp/ssh-OtPeasI66gf3/agent.34 08:15:21 SSH_AGENT_PID=40 08:15:21 Running ssh-add (command line suppressed) 08:15:21 Identity added: /w/workspace/foundry_app-record-replay_PR-146@tmp/private_key_9185887394067081564.key (/w/workspace/foundry_app-record-replay_PR-146@tmp/private_key_9185887394067081564.key) 08:15:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:15:22 + git tag --points-at HEAD [Pipeline] } 08:15:22 $ docker exec --env ******** --env ******** 1fbc4c106a130a61b0f4173764e9380900df345dd59c07e4cdcb38da05a3f886 ssh-agent -k 08:15:22 unset SSH_AUTH_SOCK; 08:15:22 unset SSH_AGENT_PID; 08:15:22 echo Agent pid 40 killed; 08:15:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:15:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:15:22 [ssh-agent] Looking for ssh-agent implementation... 08:15:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:15:22 $ docker exec 1fbc4c106a130a61b0f4173764e9380900df345dd59c07e4cdcb38da05a3f886 ssh-agent 08:15:22 SSH_AUTH_SOCK=/tmp/ssh-4SoIl0RFV5p8/agent.73 08:15:22 SSH_AGENT_PID=79 08:15:22 Running ssh-add (command line suppressed) 08:15:22 Identity added: /w/workspace/foundry_app-record-replay_PR-146@tmp/private_key_18425280659060805317.key (/w/workspace/foundry_app-record-replay_PR-146@tmp/private_key_18425280659060805317.key) 08:15:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:15:23 + git semver init 08:15:23 2024-10-14 08:15:23,214 [run_init] DEBUG init version:0.0.0 force:False 08:15:23 2024-10-14 08:15:23,214 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_app-record-replay_PR-146/.semver 08:15:23 2024-10-14 08:15:23,215 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/foundry_app-record-replay_PR-146/.semver 08:15:23 2024-10-14 08:15:23,215 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/foundry_app-record-replay_PR-146/.semver'], cwd=/w/workspace/foundry_app-record-replay_PR-146, universal_newlines=False, shell=None, istream=None) 08:15:25 2024-10-14 08:15:24,945 [append_file] DEBUG append to file:/w/workspace/foundry_app-record-replay_PR-146/.git/info/exclude 08:15:25 2024-10-14 08:15:24,946 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_app-record-replay_PR-146/.semver/PR-146 with force:False 08:15:25 2024-10-14 08:15:24,946 [write_file] DEBUG write to file:/w/workspace/foundry_app-record-replay_PR-146/.semver/PR-146 08:15:25 2024-10-14 08:15:24,951 [execute] INFO git cat-file --batch-check 08:15:25 2024-10-14 08:15:24,952 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_app-record-replay_PR-146/.semver, universal_newlines=False, shell=None, istream=) 08:15:25 2024-10-14 08:15:24,958 [execute] INFO git cat-file --batch 08:15:25 2024-10-14 08:15:24,958 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_app-record-replay_PR-146/.semver, universal_newlines=False, shell=None, istream=) 08:15:25 2024-10-14 08:15:24,962 [read_version] DEBUG read version from /w/workspace/foundry_app-record-replay_PR-146/.semver/PR-146 08:15:25 0.0.0 [Pipeline] } 08:15:25 $ docker exec --env ******** --env ******** 1fbc4c106a130a61b0f4173764e9380900df345dd59c07e4cdcb38da05a3f886 ssh-agent -k 08:15:25 unset SSH_AUTH_SOCK; 08:15:25 unset SSH_AGENT_PID; 08:15:25 echo Agent pid 79 killed; 08:15:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:15:25 + git semver [Pipeline] } 08:15:26 $ docker stop --time=1 1fbc4c106a130a61b0f4173764e9380900df345dd59c07e4cdcb38da05a3f886 08:15:27 $ docker rm -f --volumes 1fbc4c106a130a61b0f4173764e9380900df345dd59c07e4cdcb38da05a3f886 [Pipeline] // withDockerContainer [Pipeline] sh 08:15:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:15:28 Stashed 1 file(s) [Pipeline] echo 08:15:28 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:15:28 provisioning config files... 08:15:28 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-146@tmp/config7333826883266527225tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:15:29 ---> ****-login.sh 08:15:29 nexus3.edgexfoundry.org:10001 08:15:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:15:29 Configure a credential helper to remove this warning. See 08:15:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:15:29 08:15:29 Login Succeeded 08:15:29 nexus3.edgexfoundry.org:10002 08:15:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:15:29 Configure a credential helper to remove this warning. See 08:15:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:15:29 08:15:29 Login Succeeded 08:15:29 nexus3.edgexfoundry.org:10003 08:15:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:15:29 Configure a credential helper to remove this warning. See 08:15:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:15:29 08:15:29 Login Succeeded 08:15:29 nexus3.edgexfoundry.org:10004 08:15:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:15:29 Configure a credential helper to remove this warning. See 08:15:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:15:29 08:15:29 Login Succeeded 08:15:29 ****.io 08:15:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:15:30 Configure a credential helper to remove this warning. See 08:15:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:15:30 08:15:30 Login Succeeded 08:15:30 ---> ****-login.sh ends [Pipeline] } 08:15:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:15:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:15:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:15:31 ========================================================= 08:15:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 08:15:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:31 + 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 . 08:15:31 Sending build context to Docker daemon 9.75MB 08:15:31 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 08:15:31 Step 2/12 : FROM ${BASE} AS builder 08:15:31 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 08:15:31 43c4264eed91: Pulling fs layer 08:15:31 4cc291be95ef: Pulling fs layer 08:15:31 2ac1f1163629: Pulling fs layer 08:15:31 5c3c966382ef: Pulling fs layer 08:15:31 4f4fb700ef54: Pulling fs layer 08:15:31 5d5c8e513c77: Pulling fs layer 08:15:31 9f66e0745190: Pulling fs layer 08:15:31 f49a43e4bbc0: Pulling fs layer 08:15:31 561ebcabdf7f: Pulling fs layer 08:15:31 4f4fb700ef54: Waiting 08:15:31 5d5c8e513c77: Waiting 08:15:31 9f66e0745190: Waiting 08:15:31 f49a43e4bbc0: Waiting 08:15:31 561ebcabdf7f: Waiting 08:15:31 5c3c966382ef: Waiting 08:15:31 4cc291be95ef: Verifying Checksum 08:15:31 4cc291be95ef: Download complete 08:15:31 5c3c966382ef: Verifying Checksum 08:15:31 5c3c966382ef: Download complete 08:15:31 4f4fb700ef54: Download complete 08:15:31 5d5c8e513c77: Verifying Checksum 08:15:31 5d5c8e513c77: Download complete 08:15:31 43c4264eed91: Download complete 08:15:31 9f66e0745190: Verifying Checksum 08:15:31 9f66e0745190: Download complete 08:15:31 43c4264eed91: Pull complete 08:15:32 561ebcabdf7f: Download complete 08:15:32 4cc291be95ef: Pull complete 08:15:32 2ac1f1163629: Verifying Checksum 08:15:32 2ac1f1163629: Download complete 08:15:32 f49a43e4bbc0: Verifying Checksum 08:15:32 f49a43e4bbc0: Download complete 08:15:36 2ac1f1163629: Pull complete 08:15:36 5c3c966382ef: Pull complete 08:15:36 4f4fb700ef54: Pull complete 08:15:36 5d5c8e513c77: Pull complete 08:15:36 9f66e0745190: Pull complete 08:15:37 f49a43e4bbc0: Pull complete 08:15:38 561ebcabdf7f: Pull complete 08:15:38 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 08:15:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 08:15:38 ---> 3a752c3f9dda 08:15:38 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 08:15:43 Still waiting to schedule task 08:15:43 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 08:15:43 ---> Running in 124be81ee611 08:15:43 Removing intermediate container 124be81ee611 08:15:43 ---> b8425401c1a1 08:15:43 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:15:43 ---> Running in 411185c7bb24 08:15:43 Removing intermediate container 411185c7bb24 08:15:43 ---> 81d4e49537f3 08:15:43 Step 5/12 : ARG ADD_BUILD_TAGS="" 08:15:43 ---> Running in 29165127085d 08:15:43 Removing intermediate container 29165127085d 08:15:43 ---> 912df37095b8 08:15:43 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:15:43 ---> Running in 3265799e3f5a 08:15:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:15:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:15:44 OK: 246 MiB in 54 packages 08:15:44 Removing intermediate container 3265799e3f5a 08:15:44 ---> 05923ebbfa5d 08:15:44 Step 7/12 : WORKDIR /app 08:15:44 ---> Running in 6602dcaad68d 08:15:44 Removing intermediate container 6602dcaad68d 08:15:44 ---> 94a13de88066 08:15:44 Step 8/12 : COPY go.mod vendor* ./ 08:15:44 ---> 31b2b9d27af3 08:15:44 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:15:44 ---> Running in 2151701e08e7 08:16:40 Removing intermediate container 2151701e08e7 08:16:40 ---> 2d749baf40f7 08:16:40 Step 10/12 : COPY . . 08:16:40 ---> c6954d824771 08:16:40 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:16:40 ---> Running in fd0260c62f2f 08:16:40 Removing intermediate container fd0260c62f2f 08:16:40 ---> a3858b73994f 08:16:40 Step 12/12 : RUN $MAKE 08:16:40 ---> Running in 4a870c81379f 08:16:40 noop 08:16:40 Removing intermediate container 4a870c81379f 08:16:40 ---> 5e8317c01ee6 08:16:40 Successfully built 5e8317c01ee6 08:16:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:16:41 + docker inspect -f . ci-base-image-x86_64 08:16:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:16:41 prd-ubuntu20.04-docker-8c-8g-22713 does not seem to be running inside a container 08:16:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_app-record-replay_PR-146 -v /w/workspace/foundry_app-record-replay_PR-146:/w/workspace/foundry_app-record-replay_PR-146:rw,z -v /w/workspace/foundry_app-record-replay_PR-146@tmp:/w/workspace/foundry_app-record-replay_PR-146@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:16:41 $ docker top 0d5040b6810af6142207fbd4402789d896490f934d228df7eb269e82e8e3bae8 -eo pid,comm [Pipeline] { [Pipeline] sh 08:16:42 + go version 08:16:42 go version go1.23.2 linux/amd64 [Pipeline] } 08:16:42 $ docker stop --time=1 0d5040b6810af6142207fbd4402789d896490f934d228df7eb269e82e8e3bae8 08:16:43 $ docker rm -f --volumes 0d5040b6810af6142207fbd4402789d896490f934d228df7eb269e82e8e3bae8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:16:44 + docker inspect -f . ci-base-image-x86_64 08:16:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:16:44 prd-ubuntu20.04-docker-8c-8g-22713 does not seem to be running inside a container 08:16:44 $ 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-146 -v /w/workspace/foundry_app-record-replay_PR-146:/w/workspace/foundry_app-record-replay_PR-146:rw,z -v /w/workspace/foundry_app-record-replay_PR-146@tmp:/w/workspace/foundry_app-record-replay_PR-146@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:16:44 $ docker top 1cc2ad5b1c3636cecb4a64e7c24ff6f6c8089997d83b6ea6ed7dcddd524d0384 -eo pid,comm [Pipeline] { [Pipeline] sh 08:16:45 + git config --global --add safe.directory /w/workspace/foundry_app-record-replay_PR-146 [Pipeline] fileExists [Pipeline] sh 08:16:45 + make test 08:16:45 go test -race -coverprofile=coverage.out ./... 08:17:17 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 08:17:17 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 08:17:17 github.com/edgexfoundry/app-record-replay coverage: 0.0% of statements 08:17:17 github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks coverage: 0.0% of statements 08:17:17 ok github.com/edgexfoundry/app-record-replay/internal/app 1.025s coverage: 88.0% of statements 08:17:25 ok github.com/edgexfoundry/app-record-replay/internal/application 9.583s coverage: 98.7% of statements 08:17:25 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.084s coverage: 89.7% of statements 08:17:25 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.018s coverage: 100.0% of statements 08:17:25 running golangci-lint 08:17:25 golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z 08:17:25 go version go1.23.2 linux/amd64 08:17:25 level=info msg="golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z" 08:17:25 level=info msg="[config_reader] Used config file .golangci.yml" 08:17:25 level=info msg="[lintersdb] Active 7 linters: [errcheck gosec gosimple govet ineffassign staticcheck unused]" 08:17:52 level=info msg="[loader] Go packages loading at mode 575 (files|types_sizes|compiled_files|deps|exports_file|imports|name) took 22.412277254s" 08:17:52 level=info msg="[runner/filename_unadjuster] Pre-built 0 adjustments in 6.578008ms" 08:17:57 level=info msg="[linters_context/goanalysis] analyzers took 47.289247426s with top 10 stages: buildir: 37.856794769s, inspect: 2.364394841s, fact_deprecated: 2.045223309s, printf: 1.068262925s, ctrlflow: 1.011869213s, fact_purity: 782.845354ms, nilness: 639.873338ms, typedness: 425.377387ms, SA5012: 379.752631ms, tokenfileanalyzer: 226.279219ms" 08:17:57 level=info msg="[runner] Issues before processing: 10, after processing: 0" 08:17:57 level=info msg="[runner] Processors filtering stat (in/out): cgo: 10/10, path_prettifier: 10/10, autogenerated_exclude: 10/10, skip_dirs: 10/10, identifier_marker: 10/10, filename_unadjuster: 10/10, invalid_issue: 10/10, skip_files: 10/10, exclude: 10/10, exclude-rules: 10/0" 08:17:57 level=info msg="[runner] processing took 755.95µs with stages: identifier_marker: 403.296µs, autogenerated_exclude: 122.211µs, exclude-rules: 93.371µs, path_prettifier: 75.421µs, skip_dirs: 47.791µs, invalid_issue: 2.79µs, cgo: 2.75µs, nolint: 1.32µs, filename_unadjuster: 1.31µs, max_same_issues: 970ns, uniq_by_line: 630ns, fixer: 600ns, max_from_linter: 520ns, exclude: 450ns, sort_results: 420ns, skip_files: 400ns, path_shortener: 340ns, diff: 300ns, max_per_file_from_linter: 290ns, source_code: 290ns, path_prefixer: 250ns, severity-rules: 230ns" 08:17:57 level=info msg="[runner] linters took 9.262371716s with stages: goanalysis_metalinter: 9.261463823s" 08:17:57 level=info msg="File cache stats: 0 entries of total size 0B" 08:17:57 level=info msg="Memory: 318 samples, avg is 212.5MB, max is 1015.2MB" 08:17:57 level=info msg="Execution took 31.688004666s" 08:17:57 go vet ./... 08:18:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:18:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:18:04 ./bin/test-attribution-txt.sh 08:18:04 An attribution for github.com/barkimedes/go-deepcopy is missing from Attribution.txt, please add 08:18:04 An attribution for github.com/jackc/pgerrcode is missing from Attribution.txt, please add 08:18:04 An attribution for github.com/jackc/pgpassfile is missing from Attribution.txt, please add 08:18:04 An attribution for github.com/jackc/pgservicefile is missing from Attribution.txt, please add 08:18:04 An attribution for github.com/jackc/pgx/v5 is missing from Attribution.txt, please add 08:18:04 An attribution for github.com/jackc/puddle/v2 is missing from Attribution.txt, please add [Pipeline] echo 08:18:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 08:18:04 $ docker stop --time=1 1cc2ad5b1c3636cecb4a64e7c24ff6f6c8089997d83b6ea6ed7dcddd524d0384 08:18:09 $ docker rm -f --volumes 1cc2ad5b1c3636cecb4a64e7c24ff6f6c8089997d83b6ea6ed7dcddd524d0384 [Pipeline] // withDockerContainer [Pipeline] sh 08:18:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:18:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:18:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:18:11 + ls -al . 08:18:11 total 276 08:18:11 drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 08:16 . 08:18:11 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 08:14 .. 08:18:11 -rw-rw-r-- 1 jenkins jenkins 119 Oct 14 08:15 .dockerignore 08:18:11 drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 08:17 .git 08:18:11 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 08:15 .github 08:18:11 -rw-rw-r-- 1 jenkins jenkins 164 Oct 14 08:15 .gitignore 08:18:11 -rw-rw-r-- 1 jenkins jenkins 41 Oct 14 08:15 .golangci.yml 08:18:11 drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 08:15 .semver 08:18:11 -rw-rw-r-- 1 jenkins jenkins 20126 Oct 14 08:15 Attribution.txt 08:18:11 -rw-rw-r-- 1 jenkins jenkins 458 Oct 14 08:15 CHANGELOG.md 08:18:11 -rw-rw-r-- 1 jenkins jenkins 1725 Oct 14 08:15 Dockerfile 08:18:11 -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 08:15 GOVERNANCE.md 08:18:11 -rw-rw-r-- 1 jenkins jenkins 681 Oct 14 08:15 Jenkinsfile 08:18:11 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 14 08:15 LICENSE 08:18:11 -rw-rw-r-- 1 jenkins jenkins 3805 Oct 14 08:15 Makefile 08:18:11 -rw-rw-r-- 1 jenkins jenkins 611 Oct 14 08:15 OWNERS.md 08:18:11 -rw-rw-r-- 1 jenkins jenkins 4107 Oct 14 08:15 README.md 08:18:11 -rw-rw-r-- 1 jenkins jenkins 7789 Oct 14 08:15 Record and Reply.postman_collection.json 08:18:11 -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 08:15 VERSION 08:18:11 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 08:15 bin 08:18:11 -rw-r--r-- 1 jenkins jenkins 34247 Oct 14 08:17 coverage.out 08:18:11 -rw-rw-r-- 1 jenkins jenkins 7488 Oct 14 08:15 go.mod 08:18:11 -rw-rw-r-- 1 jenkins jenkins 100896 Oct 14 08:15 go.sum 08:18:11 drwxrwxr-x 7 jenkins jenkins 4096 Oct 14 08:15 internal 08:18:11 -rw-rw-r-- 1 jenkins jenkins 913 Oct 14 08:15 main.go 08:18:11 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 08:15 openapi 08:18:11 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 08:15 pkg 08:18:11 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 08:15 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:18:12 + 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=c510f15927f62f99bdd37ed4cd52a8e0d034abc9 --label arch=amd64 --label version=0.0.0 . 08:18:12 Sending build context to Docker daemon 9.785MB 08:18:12 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 08:18:12 Step 2/27 : FROM ${BASE} AS builder 08:18:12 ---> 5e8317c01ee6 08:18:12 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 08:18:12 ---> Running in 076d52f04a25 08:18:12 Removing intermediate container 076d52f04a25 08:18:12 ---> 3dac7288f62a 08:18:12 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 08:18:12 ---> Running in 80259d139699 08:18:12 Removing intermediate container 80259d139699 08:18:12 ---> ac3338e531e9 08:18:12 Step 5/27 : ARG ADD_BUILD_TAGS="" 08:18:12 ---> Running in d2874654160d 08:18:12 Removing intermediate container d2874654160d 08:18:12 ---> 58fae71ff334 08:18:12 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:18:12 ---> Running in 30b6193848fa 08:18:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:18:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:18:13 OK: 246 MiB in 54 packages 08:18:13 Removing intermediate container 30b6193848fa 08:18:13 ---> a593b532ab07 08:18:13 Step 7/27 : WORKDIR /app 08:18:13 ---> Running in a723c2aeabb4 08:18:13 Removing intermediate container a723c2aeabb4 08:18:13 ---> 2d0566445b8a 08:18:13 Step 8/27 : COPY go.mod vendor* ./ 08:18:13 ---> 97d054f541b1 08:18:13 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:18:14 ---> Running in 979ac6d276c9 08:18:14 Removing intermediate container 979ac6d276c9 08:18:14 ---> bb739e3c13b2 08:18:14 Step 10/27 : COPY . . 08:18:15 ---> edff0aedb96e 08:18:15 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:18:15 ---> Running in d1a5db83f360 08:18:15 Removing intermediate container d1a5db83f360 08:18:15 ---> cabb17a93202 08:18:15 Step 12/27 : RUN $MAKE 08:18:15 ---> Running in df0f92c117b2 08:18:15 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.55 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o app-record-replay 08:18:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22715 in /w/workspace/foundry_app-record-replay_PR-146 [Pipeline] { [Pipeline] ws 08:18:53 Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout 08:18:53 Selected Git installation does not exist. Using Default 08:18:53 The recommended git tool is: NONE 08:18:54 Removing intermediate container df0f92c117b2 08:18:54 ---> 54b510420475 08:18:54 Step 13/27 : FROM alpine:3.20 08:18:54 3.20: Pulling from library/alpine 08:18:54 43c4264eed91: Already exists 08:18:54 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 08:18:54 Status: Downloaded newer image for alpine:3.20 08:18:54 ---> 91ef0af61f39 08:18:54 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:18:54 ---> Running in 074d090da172 08:18:54 Removing intermediate container 074d090da172 08:18:54 ---> e5ef50dfc8e6 08:18:54 Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} 08:18:54 ---> Running in 0c90e274e369 08:18:54 Removing intermediate container 0c90e274e369 08:18:54 ---> 0a58c416c7d6 08:18:54 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 08:18:54 ---> Running in 50fa76b4ad15 08:18:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:18:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:18:54 (1/2) Installing ca-certificates (20240705-r0) 08:18:54 (2/2) Installing dumb-init (1.2.5-r3) 08:18:54 Executing busybox-1.36.1-r29.trigger 08:18:54 Executing ca-certificates-20240705-r0.trigger 08:18:54 OK: 9 MiB in 16 packages 08:18:54 Removing intermediate container 50fa76b4ad15 08:18:54 ---> fc6233b168fe 08:18:54 Step 17/27 : RUN apk --no-cache upgrade 08:18:54 ---> Running in 34020c307e87 08:18:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:18:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:18:54 Upgrading critical system libraries and apk-tools: 08:18:54 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 08:18:54 Executing busybox-1.36.1-r29.trigger 08:18:54 Continuing the upgrade transaction with new apk-tools: 08:18:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:18:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:18:54 OK: 9 MiB in 16 packages 08:18:54 Removing intermediate container 34020c307e87 08:18:54 ---> e9aa5eaa2a3c 08:18:54 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 08:18:54 ---> 91cd39919953 08:18:54 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 08:18:54 ---> 28c7f930d06b 08:18:54 Step 20/27 : COPY --from=builder /app/res/ /res/ 08:18:54 ---> 1a96316fa723 08:18:54 Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay 08:18:55 ---> d100f81428ad 08:18:55 Step 22/27 : EXPOSE 59712 08:18:55 ---> Running in 0bba182c637d 08:18:55 Removing intermediate container 0bba182c637d 08:18:55 ---> 3820e996332c 08:18:55 Step 23/27 : ENTRYPOINT ["/app-record-replay"] 08:18:55 ---> Running in 948a000c733f 08:18:55 Removing intermediate container 948a000c733f 08:18:55 ---> 845fabc159db 08:18:55 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 08:18:55 ---> Running in 1d44e055f98e 08:18:55 Removing intermediate container 1d44e055f98e 08:18:55 ---> f5b290bdb3e9 08:18:55 Step 25/27 : LABEL arch=amd64 08:18:55 ---> Running in e5e64766436d 08:18:55 Removing intermediate container e5e64766436d 08:18:55 ---> 71bf78a93af7 08:18:55 Step 26/27 : LABEL git_sha=c510f15927f62f99bdd37ed4cd52a8e0d034abc9 08:18:55 ---> Running in 2ceb68b815ba 08:18:55 Removing intermediate container 2ceb68b815ba 08:18:55 ---> 701a807aff4c 08:18:55 Step 27/27 : LABEL version=0.0.0 08:18:55 ---> Running in bcbb19570c02 08:18:55 Removing intermediate container bcbb19570c02 08:18:55 ---> 083b0504fde4 08:18:55 [Warning] One or more build-args [ARCH] were not consumed 08:18:55 Successfully built 083b0504fde4 08:18:55 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 08:18:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:18:56 08:18:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:18:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:18:57 latest: Pulling from edgex-lftools-log-publisher 08:18:57 5eb5b503b376: Pulling fs layer 08:18:57 5c69ac0246d0: Pulling fs layer 08:18:57 ec43610c2a17: Pulling fs layer 08:18:57 3a2ae6a8a46f: Pulling fs layer 08:18:57 33b1e0a273af: Pulling fs layer 08:18:57 5d3b04190fa2: Pulling fs layer 08:18:57 33b1e0a273af: Waiting 08:18:57 3a2ae6a8a46f: Waiting 08:18:57 5d3b04190fa2: Waiting 08:18:57 2f39f015ded8: Pulling fs layer 08:18:57 2f39f015ded8: Waiting 08:18:57 5c69ac0246d0: Download complete 08:18:57 3a2ae6a8a46f: Verifying Checksum 08:18:57 3a2ae6a8a46f: Download complete 08:18:57 ec43610c2a17: Verifying Checksum 08:18:57 ec43610c2a17: Download complete 08:18:57 33b1e0a273af: Verifying Checksum 08:18:57 33b1e0a273af: Download complete 08:18:57 5d3b04190fa2: Verifying Checksum 08:18:57 5d3b04190fa2: Download complete 08:18:57 5eb5b503b376: Verifying Checksum 08:18:57 5eb5b503b376: Download complete 08:18:57 2f39f015ded8: Verifying Checksum 08:18:57 2f39f015ded8: Download complete 08:18:58 5eb5b503b376: Pull complete 08:18:58 5c69ac0246d0: Pull complete 08:18:58 using credential edgex-jenkins-ssh 08:18:59 Cloning the remote Git repository 08:18:59 ec43610c2a17: Pull complete 08:18:59 3a2ae6a8a46f: Pull complete 08:18:59 33b1e0a273af: Pull complete 08:18:59 5d3b04190fa2: Pull complete 08:18:59 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 08:18:59 > git init /w/workspace/app-record-replay/1 # timeout=10 08:18:59 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 08:18:59 > git --version # timeout=10 08:18:59 > git --version # 'git version 2.25.1' 08:18:59 using GIT_SSH to set credentials SSH Credentials for GitHub 08:18:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:19:03 2f39f015ded8: Pull complete 08:19:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:19:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:19:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:19:02 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 08:19:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:19:03 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 08:19:03 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 08:19:03 using GIT_SSH to set credentials SSH Credentials for GitHub 08:19:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/146/head:refs/remotes/origin/PR-146 +refs/heads/main:refs/remotes/origin/main # timeout=10 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:19:03 prd-ubuntu20.04-docker-8c-8g-22713 does not seem to be running inside a container 08:19:03 $ 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-146 -v /w/workspace/foundry_app-record-replay_PR-146:/w/workspace/foundry_app-record-replay_PR-146:rw,z -v /w/workspace/foundry_app-record-replay_PR-146@tmp:/w/workspace/foundry_app-record-replay_PR-146@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:19:03 Merging remotes/origin/main commit 2069e4878ba40974eb08f4e1638304e603144a5a into PR head commit c510f15927f62f99bdd37ed4cd52a8e0d034abc9 08:19:04 Merge succeeded, producing c510f15927f62f99bdd37ed4cd52a8e0d034abc9 08:19:04 Checking out Revision c510f15927f62f99bdd37ed4cd52a8e0d034abc9 (PR-146) 08:19:03 > git config core.sparsecheckout # timeout=10 08:19:03 > git checkout -f c510f15927f62f99bdd37ed4cd52a8e0d034abc9 # timeout=10 08:19:04 > git remote # timeout=10 08:19:04 > git config --get remote.origin.url # timeout=10 08:19:04 using GIT_SSH to set credentials SSH Credentials for GitHub 08:19:04 > git merge 2069e4878ba40974eb08f4e1638304e603144a5a # timeout=10 08:19:04 > git rev-parse HEAD^{commit} # timeout=10 08:19:04 > git config core.sparsecheckout # timeout=10 08:19:04 > git checkout -f c510f15927f62f99bdd37ed4cd52a8e0d034abc9 # timeout=10 08:19:07 Commit message: "feat: Enable PIE support for ASLR and full RELRO" 08:19:07 > git --version # timeout=10 08:19:07 > git --version # 'git version 2.25.1' 08:19:07 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac 08:19:09 08:19:09 GitHub has been notified of this commit’s build result 08:19:09 08:19:09 $ docker top a6250fd45bdf7a3a2a570e1137d01fdf511628895f112cc6305defa6daaf00d1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 08:19:10 ---> job-cost.sh 08:19:10 lf-activate-venv: SKIPPING 08:19:10 INFO: No Stack... [Pipeline] sh 08:19:10 INFO: Retrieving Pricing Info for: v3-standard-8 08:19:10 INFO: Archiving Costs [Pipeline] sh 08:19:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:19:10 % Total % Received % Xferd Average Speed Time Time Time Current 08:19:10 Dload Upload Total Spent Left Speed 08:19:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 97923 0 --:--:-- --:--:-- --:--:-- 98676 [Pipeline] sh 08:19:11 + cat /w/workspace/foundry_app-record-replay_PR-146/archives/cost.csv 08:19:11 + cut -d, -f6 [Pipeline] lock 08:19:11 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-record-replay-PR-146-1-stack-cost] 08:19:11 Resource [jenkins-edgexfoundry-app-record-replay-PR-146-1-stack-cost] did not exist. Created. 08:19:11 Lock acquired on [Resource: jenkins-edgexfoundry-app-record-replay-PR-146-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:19:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:19:11 + echo total: 0.2199999988079071 [Pipeline] stash 08:19:11 Stashed 1 file(s) [Pipeline] } 08:19:11 Lock released on resource [Resource: jenkins-edgexfoundry-app-record-replay-PR-146-1-stack-cost] 08:19:11 + sudo tee /etc/docker/daemon.new 08:19:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:19:11 { 08:19:11 "registry-mirrors": [ 08:19:11 "https://nexus3.edgexfoundry.org:10001" 08:19:11 ], 08:19:11 "bip": "10.250.0.254/24", 08:19:11 "hosts": [ 08:19:11 "tcp://0.0.0.0:5555", 08:19:11 "unix:///var/run/docker.sock" 08:19:11 ], 08:19:11 "mtu": 1458, 08:19:11 "selinux-enabled": true, 08:19:11 "seccomp-profile": "/etc/docker/seccomp.json" 08:19:11 } [Pipeline] // lock [Pipeline] } 08:19:11 $ docker stop --time=1 a6250fd45bdf7a3a2a570e1137d01fdf511628895f112cc6305defa6daaf00d1 08:19:12 $ docker rm -f --volumes a6250fd45bdf7a3a2a570e1137d01fdf511628895f112cc6305defa6daaf00d1 [Pipeline] sh [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv 08:19:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] sh 08:19:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:19:32 provisioning config files... 08:19:32 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config877540319338530053tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:19:32 ---> ****-login.sh 08:19:32 nexus3.edgexfoundry.org:10001 08:19:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:19:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:19:33 Configure a credential helper to remove this warning. See 08:19:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:19:33 08:19:33 Login Succeeded 08:19:33 nexus3.edgexfoundry.org:10002 08:19:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:19:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:19:33 Configure a credential helper to remove this warning. See 08:19:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:19:33 08:19:33 Login Succeeded 08:19:33 nexus3.edgexfoundry.org:10003 08:19:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:19:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:19:34 Configure a credential helper to remove this warning. See 08:19:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:19:34 08:19:34 Login Succeeded 08:19:34 nexus3.edgexfoundry.org:10004 08:19:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:19:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:19:34 Configure a credential helper to remove this warning. See 08:19:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:19:34 08:19:34 Login Succeeded 08:19:34 ****.io 08:19:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:19:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:19:35 Configure a credential helper to remove this warning. See 08:19:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:19:35 08:19:35 Login Succeeded 08:19:35 ---> ****-login.sh ends [Pipeline] } 08:19:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:19:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:19:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:19:35 ========================================================= 08:19:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 08:19:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:19:36 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 08:19:36 Sending build context to Docker daemon 338.4kB 08:19:36 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 08:19:36 Step 2/12 : FROM ${BASE} AS builder 08:19:37 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:19:37 cf04c63912e1: Pulling fs layer 08:19:37 55b35a11ae5e: Pulling fs layer 08:19:37 a37a00ec5f00: Pulling fs layer 08:19:37 50b3750afda1: Pulling fs layer 08:19:37 4f4fb700ef54: Pulling fs layer 08:19:37 80978eb59214: Pulling fs layer 08:19:37 c9f46d7d2bd2: Pulling fs layer 08:19:37 c5a475d317c9: Pulling fs layer 08:19:37 4f4fb700ef54: Waiting 08:19:37 80978eb59214: Waiting 08:19:37 c9f46d7d2bd2: Waiting 08:19:37 c5a475d317c9: Waiting 08:19:37 55b35a11ae5e: Download complete 08:19:37 50b3750afda1: Verifying Checksum 08:19:37 50b3750afda1: Download complete 08:19:37 4f4fb700ef54: Verifying Checksum 08:19:37 4f4fb700ef54: Download complete 08:19:37 80978eb59214: Verifying Checksum 08:19:37 80978eb59214: Download complete 08:19:37 cf04c63912e1: Verifying Checksum 08:19:37 cf04c63912e1: Download complete 08:19:38 c5a475d317c9: Verifying Checksum 08:19:38 c5a475d317c9: Download complete 08:19:38 cf04c63912e1: Pull complete 08:19:39 55b35a11ae5e: Pull complete 08:19:39 a37a00ec5f00: Verifying Checksum 08:19:39 a37a00ec5f00: Download complete 08:19:40 c9f46d7d2bd2: Download complete 08:19:55 a37a00ec5f00: Pull complete 08:19:55 50b3750afda1: Pull complete 08:19:55 4f4fb700ef54: Pull complete 08:19:55 80978eb59214: Pull complete 08:20:03 c9f46d7d2bd2: Pull complete 08:20:04 c5a475d317c9: Pull complete 08:20:04 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 08:20:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 08:20:04 ---> be29e6b0f0d4 08:20:04 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 08:20:06 ---> Running in 2d1fbc9f9bba 08:20:06 Removing intermediate container 2d1fbc9f9bba 08:20:06 ---> 1eb364cb43da 08:20:06 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:20:06 ---> Running in 90ab7b078766 08:20:06 Removing intermediate container 90ab7b078766 08:20:06 ---> d6a7fa3ed293 08:20:06 Step 5/12 : ARG ADD_BUILD_TAGS="" 08:20:06 ---> Running in 6daa1e403824 08:20:06 Removing intermediate container 6daa1e403824 08:20:06 ---> e0eee18b6ebb 08:20:06 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:20:06 ---> Running in 2365e875b663 08:20:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:20:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:20:09 OK: 238 MiB in 54 packages 08:20:10 Removing intermediate container 2365e875b663 08:20:10 ---> 220a6f103b25 08:20:10 Step 7/12 : WORKDIR /app 08:20:10 ---> Running in 8f98bc3ae3e8 08:20:11 Removing intermediate container 8f98bc3ae3e8 08:20:11 ---> ba2951a7f1a9 08:20:11 Step 8/12 : COPY go.mod vendor* ./ 08:20:11 ---> edb2e417a4cb 08:20:11 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:20:11 ---> Running in 5644deb6ab28 08:22:18 Removing intermediate container 5644deb6ab28 08:22:18 ---> 6af619bc2520 08:22:18 Step 10/12 : COPY . . 08:22:18 ---> f3a3eea2fb73 08:22:18 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:22:18 ---> Running in e03f72b79b9e 08:22:18 Removing intermediate container e03f72b79b9e 08:22:18 ---> 4fc1ce7845ba 08:22:18 Step 12/12 : RUN $MAKE 08:22:18 ---> Running in 2b7ce5c9afbe 08:22:18 noop 08:22:18 Removing intermediate container 2b7ce5c9afbe 08:22:18 ---> d9b1d03f1e55 08:22:18 Successfully built d9b1d03f1e55 08:22:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:22:18 + docker inspect -f . ci-base-image-arm64 08:22:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:22:19 prd-ubuntu20.04-docker-arm64-4c-16g-22715 does not seem to be running inside a container 08:22:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:22:20 $ docker top 5b3e523e06f06f87d05d61da7cfa8ae73d14b35fd968d542487ec010e5864b6d -eo pid,comm [Pipeline] { [Pipeline] sh 08:22:21 + go version 08:22:21 go version go1.23.2 linux/arm64 [Pipeline] } 08:22:21 $ docker stop --time=1 5b3e523e06f06f87d05d61da7cfa8ae73d14b35fd968d542487ec010e5864b6d 08:22:23 $ docker rm -f --volumes 5b3e523e06f06f87d05d61da7cfa8ae73d14b35fd968d542487ec010e5864b6d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:22:24 + docker inspect -f . ci-base-image-arm64 08:22:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:22:24 prd-ubuntu20.04-docker-arm64-4c-16g-22715 does not seem to be running inside a container 08:22:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:22:26 $ docker top 5e1d65caf51d344ea3561bcb814512143a51e515252d3f8761e019a13c198de5 -eo pid,comm [Pipeline] { [Pipeline] sh 08:22:27 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 08:22:28 + make test 08:22:28 go test -race -coverprofile=coverage.out ./... 08:27:35 github.com/edgexfoundry/app-record-replay coverage: 0.0% of statements 08:27:43 ok github.com/edgexfoundry/app-record-replay/internal/app 1.135s coverage: 88.0% of statements 08:27:50 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 08:27:50 github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks coverage: 0.0% of statements 08:27:51 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 08:27:55 ok github.com/edgexfoundry/app-record-replay/internal/application 9.829s coverage: 98.7% of statements 08:27:55 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.492s coverage: 89.7% of statements 08:27:55 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.081s coverage: 100.0% of statements 08:27:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:27:56 go vet ./... 08:32:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:32:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:32:34 ./bin/test-attribution-txt.sh 08:32:34 An attribution for github.com/barkimedes/go-deepcopy is missing from Attribution.txt, please add 08:32:34 An attribution for github.com/jackc/pgerrcode is missing from Attribution.txt, please add 08:32:34 An attribution for github.com/jackc/pgpassfile is missing from Attribution.txt, please add 08:32:34 An attribution for github.com/jackc/pgservicefile is missing from Attribution.txt, please add 08:32:34 An attribution for github.com/jackc/pgx/v5 is missing from Attribution.txt, please add 08:32:34 An attribution for github.com/jackc/puddle/v2 is missing from Attribution.txt, please add [Pipeline] echo 08:32:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 08:32:34 $ docker stop --time=1 5e1d65caf51d344ea3561bcb814512143a51e515252d3f8761e019a13c198de5 08:32:36 $ docker rm -f --volumes 5e1d65caf51d344ea3561bcb814512143a51e515252d3f8761e019a13c198de5 [Pipeline] // withDockerContainer [Pipeline] sh 08:32:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:32:39 Warning: overwriting stash ‘coverage-report’ 08:32:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:32:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:32:40 + ls -al . 08:32:40 total 272 08:32:40 drwxrwxr-x 9 jenkins jenkins 4096 Oct 14 08:22 . 08:32:40 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 08:18 .. 08:32:40 -rw-rw-r-- 1 jenkins jenkins 119 Oct 14 08:19 .dockerignore 08:32:40 drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 08:19 .git 08:32:40 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 08:19 .github 08:32:40 -rw-rw-r-- 1 jenkins jenkins 164 Oct 14 08:19 .gitignore 08:32:40 -rw-rw-r-- 1 jenkins jenkins 41 Oct 14 08:19 .golangci.yml 08:32:40 -rw-rw-r-- 1 jenkins jenkins 20126 Oct 14 08:19 Attribution.txt 08:32:40 -rw-rw-r-- 1 jenkins jenkins 458 Oct 14 08:19 CHANGELOG.md 08:32:40 -rw-rw-r-- 1 jenkins jenkins 1725 Oct 14 08:19 Dockerfile 08:32:40 -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 08:19 GOVERNANCE.md 08:32:40 -rw-rw-r-- 1 jenkins jenkins 681 Oct 14 08:19 Jenkinsfile 08:32:40 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 14 08:19 LICENSE 08:32:40 -rw-rw-r-- 1 jenkins jenkins 3805 Oct 14 08:19 Makefile 08:32:40 -rw-rw-r-- 1 jenkins jenkins 611 Oct 14 08:19 OWNERS.md 08:32:40 -rw-rw-r-- 1 jenkins jenkins 4107 Oct 14 08:19 README.md 08:32:40 -rw-rw-r-- 1 jenkins jenkins 7789 Oct 14 08:19 Record and Reply.postman_collection.json 08:32:40 -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 08:15 VERSION 08:32:40 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 08:19 bin 08:32:40 -rw-r--r-- 1 jenkins jenkins 34247 Oct 14 08:27 coverage.out 08:32:40 -rw-rw-r-- 1 jenkins jenkins 7488 Oct 14 08:19 go.mod 08:32:40 -rw-rw-r-- 1 jenkins jenkins 100896 Oct 14 08:19 go.sum 08:32:40 drwxrwxr-x 7 jenkins jenkins 4096 Oct 14 08:19 internal 08:32:40 -rw-rw-r-- 1 jenkins jenkins 913 Oct 14 08:19 main.go 08:32:40 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 08:19 openapi 08:32:40 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 08:19 pkg 08:32:40 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 08:19 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:41 + docker build -t app-record-replay-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=c510f15927f62f99bdd37ed4cd52a8e0d034abc9 --label arch=arm64 --label version=0.0.0 . 08:32:41 Sending build context to Docker daemon 373.2kB 08:32:41 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 08:32:41 Step 2/27 : FROM ${BASE} AS builder 08:32:41 ---> d9b1d03f1e55 08:32:41 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 08:32:41 ---> Running in 04a80e5948ca 08:32:42 Removing intermediate container 04a80e5948ca 08:32:42 ---> 5d52115b8b54 08:32:42 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 08:32:42 ---> Running in c86dcc0ea4fa 08:32:42 Removing intermediate container c86dcc0ea4fa 08:32:42 ---> 85fedec9b18c 08:32:42 Step 5/27 : ARG ADD_BUILD_TAGS="" 08:32:42 ---> Running in 5d06be9656ee 08:32:42 Removing intermediate container 5d06be9656ee 08:32:42 ---> 5d7c7201b503 08:32:42 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:32:42 ---> Running in 43a48181a7d6 08:32:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:32:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:32:45 OK: 238 MiB in 54 packages 08:32:46 Removing intermediate container 43a48181a7d6 08:32:46 ---> e0cf99d7a39e 08:32:46 Step 7/27 : WORKDIR /app 08:32:46 ---> Running in de7eff684d9c 08:32:47 Removing intermediate container de7eff684d9c 08:32:47 ---> b453b263e95b 08:32:47 Step 8/27 : COPY go.mod vendor* ./ 08:32:47 ---> f675d7a66e54 08:32:47 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:32:48 ---> Running in 3fa11498b451 08:32:50 Removing intermediate container 3fa11498b451 08:32:50 ---> a87add0e5ce2 08:32:50 Step 10/27 : COPY . . 08:32:50 ---> 19048adf28c1 08:32:50 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:32:51 ---> Running in 1792f832862f 08:32:51 Removing intermediate container 1792f832862f 08:32:51 ---> 31638f1ab62d 08:32:51 Step 12/27 : RUN $MAKE 08:32:51 ---> Running in e98330b98d5b 08:32:52 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.55 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o app-record-replay 08:37:14 Removing intermediate container e98330b98d5b 08:37:14 ---> 9074ccc17c3c 08:37:14 Step 13/27 : FROM alpine:3.20 08:37:14 3.20: Pulling from library/alpine 08:37:14 cf04c63912e1: Already exists 08:37:14 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 08:37:14 Status: Downloaded newer image for alpine:3.20 08:37:14 ---> c157a85ed455 08:37:14 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:37:14 ---> Running in e52407b9ebf0 08:37:14 Removing intermediate container e52407b9ebf0 08:37:14 ---> 4ee4475b5d2f 08:37:14 Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} 08:37:14 ---> Running in d8d74e9a7e94 08:37:14 Removing intermediate container d8d74e9a7e94 08:37:14 ---> 05b4620aef04 08:37:14 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 08:37:14 ---> Running in 171c2db8b1ab 08:37:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:37:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:37:14 (1/2) Installing ca-certificates (20240705-r0) 08:37:14 (2/2) Installing dumb-init (1.2.5-r3) 08:37:14 Executing busybox-1.36.1-r29.trigger 08:37:14 Executing ca-certificates-20240705-r0.trigger 08:37:15 OK: 10 MiB in 16 packages 08:37:16 Removing intermediate container 171c2db8b1ab 08:37:16 ---> ed84df4ce1e0 08:37:16 Step 17/27 : RUN apk --no-cache upgrade 08:37:16 ---> Running in 4180efa2182e 08:37:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:37:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:37:20 Upgrading critical system libraries and apk-tools: 08:37:20 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 08:37:20 Executing busybox-1.36.1-r29.trigger 08:37:20 Continuing the upgrade transaction with new apk-tools: 08:37:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:37:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:37:22 OK: 10 MiB in 16 packages 08:37:23 Removing intermediate container 4180efa2182e 08:37:23 ---> 04346b2a9789 08:37:23 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 08:37:24 ---> cea5e7fb6ddf 08:37:24 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 08:37:25 ---> 419263721868 08:37:25 Step 20/27 : COPY --from=builder /app/res/ /res/ 08:37:26 ---> 6d4cf752a8cb 08:37:26 Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay 08:37:28 ---> 8a857d27ed1a 08:37:28 Step 22/27 : EXPOSE 59712 08:37:28 ---> Running in 72746283ee44 08:37:29 Removing intermediate container 72746283ee44 08:37:29 ---> 2797eb828a83 08:37:29 Step 23/27 : ENTRYPOINT ["/app-record-replay"] 08:37:29 ---> Running in 650b40d5acc2 08:37:29 Removing intermediate container 650b40d5acc2 08:37:29 ---> b79713887dcc 08:37:29 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 08:37:29 ---> Running in 041a86849b3f 08:37:30 Removing intermediate container 041a86849b3f 08:37:30 ---> 011f56fb0768 08:37:30 Step 25/27 : LABEL arch=arm64 08:37:30 ---> Running in a56cd611e786 08:37:30 Removing intermediate container a56cd611e786 08:37:30 ---> 9a81b8ed0aa2 08:37:30 Step 26/27 : LABEL git_sha=c510f15927f62f99bdd37ed4cd52a8e0d034abc9 08:37:30 ---> Running in d12b9c9ee2a9 08:37:30 Removing intermediate container d12b9c9ee2a9 08:37:30 ---> 75754e4ec7ec 08:37:30 Step 27/27 : LABEL version=0.0.0 08:37:30 ---> Running in 689237e8b426 08:37:31 Removing intermediate container 689237e8b426 08:37:31 ---> 10c2e850a712 08:37:31 [Warning] One or more build-args [ARCH] were not consumed 08:37:31 Successfully built 10c2e850a712 08:37:31 Successfully tagged app-record-replay-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:37:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:37:32 08:37:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:37:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:37:32 arm64: Pulling from edgex-lftools-log-publisher 08:37:32 8998bd30e6a1: Pulling fs layer 08:37:32 04944245beec: Pulling fs layer 08:37:32 699f458cf7ca: Pulling fs layer 08:37:32 765212b225bb: Pulling fs layer 08:37:32 f23df028b6ca: Pulling fs layer 08:37:32 d65c8cfc05b1: Pulling fs layer 08:37:32 2437ff75d9bd: Pulling fs layer 08:37:32 f23df028b6ca: Waiting 08:37:32 765212b225bb: Waiting 08:37:32 d65c8cfc05b1: Waiting 08:37:32 2437ff75d9bd: Waiting 08:37:32 04944245beec: Verifying Checksum 08:37:32 04944245beec: Download complete 08:37:32 765212b225bb: Verifying Checksum 08:37:32 765212b225bb: Download complete 08:37:32 f23df028b6ca: Verifying Checksum 08:37:32 f23df028b6ca: Download complete 08:37:32 d65c8cfc05b1: Verifying Checksum 08:37:32 d65c8cfc05b1: Download complete 08:37:33 699f458cf7ca: Verifying Checksum 08:37:33 699f458cf7ca: Download complete 08:37:33 8998bd30e6a1: Verifying Checksum 08:37:33 8998bd30e6a1: Download complete 08:37:36 2437ff75d9bd: Verifying Checksum 08:37:36 2437ff75d9bd: Download complete 08:37:38 8998bd30e6a1: Pull complete 08:37:39 04944245beec: Pull complete 08:37:41 699f458cf7ca: Pull complete 08:37:41 765212b225bb: Pull complete 08:37:42 f23df028b6ca: Pull complete 08:37:42 d65c8cfc05b1: Pull complete 08:38:00 2437ff75d9bd: Pull complete 08:38:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:38:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:38:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:38:01 prd-ubuntu20.04-docker-arm64-4c-16g-22715 does not seem to be running inside a container 08:38:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:38:04 $ docker top d8aac59a562bbcb7ae10ef5dbc1330be95989ade6b6dbce8bed19c1c514d9821 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:38:05 ---> job-cost.sh 08:38:05 lf-activate-venv: SKIPPING 08:38:05 INFO: No Stack... 08:38:06 INFO: Retrieving Pricing Info for: v3-standard-4 08:38:07 INFO: Archiving Costs [Pipeline] sh 08:38:07 + + cutcat -d, /w/workspace/app-record-replay/1/archives/cost.csv -f6 08:38:07 [Pipeline] lock 08:38:08 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-record-replay-PR-146-1-stack-cost] 08:38:08 Resource [jenkins-edgexfoundry-app-record-replay-PR-146-1-stack-cost] did not exist. Created. 08:38:08 Lock acquired on [Resource: jenkins-edgexfoundry-app-record-replay-PR-146-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:38:08 /w/workspace/app-record-replay/1@tmp/durable-e49fa9e5/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:38:09 + echo total: 0.10999999940395355 [Pipeline] stash 08:38:09 Warning: overwriting stash ‘stack-cost’ 08:38:09 Stashed 1 file(s) [Pipeline] } 08:38:09 Lock released on resource [Resource: jenkins-edgexfoundry-app-record-replay-PR-146-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:38:09 $ docker stop --time=1 d8aac59a562bbcb7ae10ef5dbc1330be95989ade6b6dbce8bed19c1c514d9821 08:38:11 $ docker rm -f --volumes d8aac59a562bbcb7ae10ef5dbc1330be95989ade6b6dbce8bed19c1c514d9821 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 08:38:12 provisioning config files... 08:38:12 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/foundry_app-record-replay_PR-146@tmp/config4789936985023193155tmp [Pipeline] { [Pipeline] sh 08:38:12 + set +x 08:38:12 + + curl -s https://codecov.io/bash 08:38:12 bash -s -- 08:38:12 08:38:12 _____ _ 08:38:12 / ____| | | 08:38:12 | | ___ __| | ___ ___ _____ __ 08:38:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:38:12 | |___| (_) | (_| | __/ (_| (_) \ V / 08:38:12 \_____\___/ \__,_|\___|\___\___/ \_/ 08:38:12 Bash-1.0.6 08:38:12 08:38:12 08:38:12 ==> git version 2.25.1 found 08:38:12 ==> 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 08:38:12 Release-Date: 2020-01-08 08:38:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:38:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:38:12 ==> Jenkins CI detected. 08:38:12 current dir:  /w/workspace/foundry_app-record-replay_PR-146 08:38:12 project root: . 08:38:12 --> token set from env 08:38:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:38:13 ==> Running gcov in . (disable via -X gcov) 08:38:13 ==> Python coveragepy not found 08:38:13 ==> Searching for coverage reports in: 08:38:13 + . 08:38:13 -> Found 1 reports 08:38:13 ==> Detecting git/mercurial file structure 08:38:13 ==> Reading reports 08:38:13 + ./coverage.out bytes=34247 08:38:13 ==> Appending adjustments 08:38:13 https://docs.codecov.io/docs/fixing-reports 08:38:13 + Found adjustments 08:38:13 ==> Gzipping contents 08:38:13 8.0K /tmp/codecov.nE950S.gz 08:38:13 ==> Uploading reports 08:38:13 url: https://codecov.io 08:38:13 query: branch=PR-146&commit=c510f15927f62f99bdd37ed4cd52a8e0d034abc9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-146%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=146&job=&cmd_args= 08:38:13 -> Pinging Codecov 08:38:13 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-146&commit=c510f15927f62f99bdd37ed4cd52a8e0d034abc9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-146%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=146&job=&cmd_args= 08:38:13 -> Uploading to 08:38:13 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/app-record-replay/c510f15927f62f99bdd37ed4cd52a8e0d034abc9/a5d8a70a-c4b2-414a-80e4-cdc913105250.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241014%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241014T083813Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=f87ca7c7314931339700198bd68ccc9dfe8f29226cca69bc20fed9e2b9524107 08:38:13 % Total % Received % Xferd Average Speed Time Time Time Current 08:38:13 Dload Upload Total Spent Left Speed 08:38:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5389 0 0 100 5389 0 26546 --:--:-- --:--:-- --:--:-- 26416 100 5389 0 0 100 5389 0 24949 --:--:-- --:--:-- --:--:-- 24834 08:38:13 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-record-replay/commit/c510f15927f62f99bdd37ed4cd52a8e0d034abc9 [Pipeline] } 08:38:13 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 08:38:15 + [ -d /w/workspace/foundry_app-record-replay_PR-146/archives ] 08:38:15 + ls -al /w/workspace/foundry_app-record-replay_PR-146/archives 08:38:15 total 16 08:38:15 drwxr-xr-x 3 root root 4096 Oct 14 08:19 . 08:38:15 drwxrwxr-x 11 jenkins jenkins 4096 Oct 14 08:19 .. 08:38:15 drwxr-xr-x 2 root root 4096 Oct 14 08:19 cost 08:38:15 -rw-r--r-- 1 root root 89 Oct 14 08:19 cost.csv 08:38:15 + sudo chown -R jenkins:jenkins /w/workspace/foundry_app-record-replay_PR-146/archives 08:38:15 + ls -al /w/workspace/foundry_app-record-replay_PR-146/archives 08:38:15 total 16 08:38:15 drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 08:19 . 08:38:15 drwxrwxr-x 11 jenkins jenkins 4096 Oct 14 08:19 .. 08:38:15 drwxr-xr-x 2 jenkins jenkins 4096 Oct 14 08:19 cost 08:38:15 -rw-r--r-- 1 jenkins jenkins 89 Oct 14 08:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:38:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:38:17 ---> package-listing.sh 08:38:17 ++ facter osfamily 08:38:17 ++ tr '[:upper:]' '[:lower:]' 08:38:17 + OS_FAMILY=debian 08:38:17 + workspace=/w/workspace/foundry_app-record-replay_PR-146 08:38:17 + START_PACKAGES=/tmp/packages_start.txt 08:38:17 + END_PACKAGES=/tmp/packages_end.txt 08:38:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:38:17 + PACKAGES=/tmp/packages_start.txt 08:38:17 + '[' /w/workspace/foundry_app-record-replay_PR-146 ']' 08:38:17 + PACKAGES=/tmp/packages_end.txt 08:38:17 + case "${OS_FAMILY}" in 08:38:17 + dpkg -l 08:38:17 + grep '^ii' 08:38:17 + '[' -f /tmp/packages_start.txt ']' 08:38:17 + '[' -f /tmp/packages_end.txt ']' 08:38:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:38:17 + '[' /w/workspace/foundry_app-record-replay_PR-146 ']' 08:38:17 + mkdir -p /w/workspace/foundry_app-record-replay_PR-146/archives/ 08:38:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_app-record-replay_PR-146/archives/ [Pipeline] echo 08:38:17 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-146/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:38:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:38:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:38:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:38:18 prd-ubuntu20.04-docker-8c-8g-22713 does not seem to be running inside a container 08:38:18 $ 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-146/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-146 -v /w/workspace/foundry_app-record-replay_PR-146:/w/workspace/foundry_app-record-replay_PR-146:rw,z -v /w/workspace/foundry_app-record-replay_PR-146@tmp:/w/workspace/foundry_app-record-replay_PR-146@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:38:18 $ docker top c976f9efe4b53c38c421bfb2f156f9f3445ed889628bbdaad27e86cd30b2ecca -eo pid,comm [Pipeline] { [Pipeline] sh 08:38:19 + touch /tmp/pre-build-complete [Pipeline] sh 08:38:19 + mkdir -p /var/log/sysstat [Pipeline] sh 08:38:19 + ls /var/log/sa-host 08:38:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:38:19 provisioning config files... 08:38:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_app-record-replay_PR-146@tmp/config11491547915138209521tmp [Pipeline] { [Pipeline] echo 08:38:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:38:20 ---> create-netrc.sh [Pipeline] } 08:38:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:38:20 ---> python-tools-install.sh [Pipeline] echo 08:38:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:38:21 ---> sudo-logs.sh 08:38:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:38:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:38:21 ---> job-cost.sh 08:38:21 lf-activate-venv: SKIPPING 08:38:21 DEBUG: total: 0.2199999988079071 08:38:21 INFO: Retrieving Stack Cost... 08:38:21 INFO: Retrieving Pricing Info for: v3-standard-8 08:38:22 INFO: Archiving Costs [Pipeline] echo 08:38:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:38:22 ---> logs-deploy.sh 08:38:22 lf-activate-venv: SKIPPING 08:38:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-146/1 08:38:22 INFO: archiving workspace using pattern(s): 08:38:23 Archives upload complete. 08:38:23 INFO: archiving logs to Nexus